@cloudtower/eagle 0.25.9 → 0.25.10
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 +1 -3
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/TableForm/Columns/index.d.ts +7 -7
- package/dist/components/message/__tests__/index.test.d.ts +1 -0
- package/dist/components/message/index.d.ts +52 -0
- package/dist/components/message/style/index.d.ts +2 -0
- package/dist/components/message-group/index.d.ts +8 -4
- package/dist/components.css +317 -317
- package/dist/esm/index.js +959 -797
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +2 -2
- package/dist/style.css +1009 -1009
- package/dist/umd/index.js +780 -606
- package/dist/umd/stats1.html +1 -1
- package/package.json +6 -5
package/dist/umd/index.js
CHANGED
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('antd'), require('react'), require('classnames'), require('lodash'), require('react-svg-unique-id'), require('@cloudtower/parrot'), require('react-i18next'), require('@linaria/core'), require('@linaria/react'), require('moment'), require('react-dom'), require('react-is'), require('@ant-design/icons'), require('redux'), require('react-redux'), require('@cloudtower/icons-react'), require('react-beautiful-dnd'), require('timezones.json'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'antd', 'react', 'classnames', 'lodash', 'react-svg-unique-id', '@cloudtower/parrot', 'react-i18next', '@linaria/core', '@linaria/react', 'moment', 'react-dom', 'react-is', '@ant-design/icons', 'redux', 'react-redux', '@cloudtower/icons-react', 'react-beautiful-dnd', 'timezones.json', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.antd, global.React, global.cs, global._, global.reactSvgUniqueId, global.parrot, global.reactI18next, global.core, global.react, global.moment, global.reactDom, global.reactIs, global.icons, global.redux, global.reactRedux, global.iconsReact, global.reactBeautifulDnd, global.TimeZones, global.
|
|
5
|
-
})(this, (function (exports, antd, React, cs, _, reactSvgUniqueId, parrot, reactI18next, core, react, moment, reactDom, reactIs, icons, redux, reactRedux, iconsReact, reactBeautifulDnd, TimeZones,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('antd'), require('react'), require('classnames'), require('lodash'), require('react-svg-unique-id'), require('@cloudtower/parrot'), require('react-i18next'), require('@linaria/core'), require('@linaria/react'), require('moment'), require('react-dom'), require('react-is'), require('@ant-design/icons'), require('antd/lib/form/FormItem'), require('@ant-design/icons/CheckCircleFilled'), require('@ant-design/icons/CloseCircleFilled'), require('@ant-design/icons/ExclamationCircleFilled'), require('@ant-design/icons/InfoCircleFilled'), require('@ant-design/icons/LoadingOutlined'), require('@cloudtower/rc-notification'), require('redux'), require('react-redux'), require('@cloudtower/icons-react'), require('react-beautiful-dnd'), require('timezones.json'), require('dayjs'), require('recharts'), require('antd/lib/locale/en_US'), require('antd/lib/locale/zh_CN')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'antd', 'react', 'classnames', 'lodash', 'react-svg-unique-id', '@cloudtower/parrot', 'react-i18next', '@linaria/core', '@linaria/react', 'moment', 'react-dom', 'react-is', '@ant-design/icons', 'antd/lib/form/FormItem', '@ant-design/icons/CheckCircleFilled', '@ant-design/icons/CloseCircleFilled', '@ant-design/icons/ExclamationCircleFilled', '@ant-design/icons/InfoCircleFilled', '@ant-design/icons/LoadingOutlined', '@cloudtower/rc-notification', 'redux', 'react-redux', '@cloudtower/icons-react', 'react-beautiful-dnd', 'timezones.json', 'dayjs', 'recharts', 'antd/lib/locale/en_US', 'antd/lib/locale/zh_CN'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.antd, global.React, global.cs, global._, global.reactSvgUniqueId, global.parrot, global.reactI18next, global.core, global.react, global.moment, global.reactDom, global.reactIs, global.icons, global.AntdFormItem, global.CheckCircleFilled, global.CloseCircleFilled, global.ExclamationCircleFilled, global.InfoCircleFilled, global.LoadingOutlined, global.RCNotification, global.redux, global.reactRedux, global.iconsReact, global.reactBeautifulDnd, global.TimeZones, global.dayjs, null, global.enUS, global.zhCN));
|
|
5
|
+
})(this, (function (exports, antd, React, cs, _, reactSvgUniqueId, parrot, reactI18next, core, react, moment, reactDom, reactIs, icons, AntdFormItem, CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled, LoadingOutlined, RCNotification, redux, reactRedux, iconsReact, reactBeautifulDnd, TimeZones, dayjs, recharts, enUS, zhCN) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
var n = Object.create(null);
|
|
9
|
+
if (e) {
|
|
10
|
+
Object.keys(e).forEach(function (k) {
|
|
11
|
+
if (k !== 'default') {
|
|
12
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return e[k]; }
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
6
25
|
|
|
7
26
|
const EMPTY_FUNCTION = () => {
|
|
8
27
|
};
|
|
@@ -221,30 +240,30 @@
|
|
|
221
240
|
}
|
|
222
241
|
}
|
|
223
242
|
|
|
224
|
-
var __defProp$
|
|
225
|
-
var __getOwnPropSymbols$
|
|
226
|
-
var __hasOwnProp$
|
|
227
|
-
var __propIsEnum$
|
|
228
|
-
var __defNormalProp$
|
|
229
|
-
var __spreadValues$
|
|
243
|
+
var __defProp$G = Object.defineProperty;
|
|
244
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
245
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
246
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
247
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
248
|
+
var __spreadValues$G = (a, b) => {
|
|
230
249
|
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$
|
|
250
|
+
if (__hasOwnProp$H.call(b, prop))
|
|
251
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
252
|
+
if (__getOwnPropSymbols$H)
|
|
253
|
+
for (var prop of __getOwnPropSymbols$H(b)) {
|
|
254
|
+
if (__propIsEnum$H.call(b, prop))
|
|
255
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
237
256
|
}
|
|
238
257
|
return a;
|
|
239
258
|
};
|
|
240
259
|
var __objRest$s = (source, exclude) => {
|
|
241
260
|
var target = {};
|
|
242
261
|
for (var prop in source)
|
|
243
|
-
if (__hasOwnProp$
|
|
262
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
244
263
|
target[prop] = source[prop];
|
|
245
|
-
if (source != null && __getOwnPropSymbols$
|
|
246
|
-
for (var prop of __getOwnPropSymbols$
|
|
247
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
264
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
265
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
266
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
248
267
|
target[prop] = source[prop];
|
|
249
268
|
}
|
|
250
269
|
return target;
|
|
@@ -276,10 +295,10 @@
|
|
|
276
295
|
]);
|
|
277
296
|
return /* @__PURE__ */ React.createElement(
|
|
278
297
|
"span",
|
|
279
|
-
__spreadValues$
|
|
298
|
+
__spreadValues$G({
|
|
280
299
|
ref,
|
|
281
300
|
className,
|
|
282
|
-
style: _.pickBy(__spreadValues$
|
|
301
|
+
style: _.pickBy(__spreadValues$G({ cursor }, style))
|
|
283
302
|
}, HTMLSpanElementProps),
|
|
284
303
|
prefixNode,
|
|
285
304
|
/* @__PURE__ */ React.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React.createElement(reactSvgUniqueId.SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -289,31 +308,31 @@
|
|
|
289
308
|
}
|
|
290
309
|
);
|
|
291
310
|
|
|
292
|
-
var __defProp$
|
|
293
|
-
var __defProps$
|
|
294
|
-
var __getOwnPropDescs$
|
|
295
|
-
var __getOwnPropSymbols$
|
|
296
|
-
var __hasOwnProp$
|
|
297
|
-
var __propIsEnum$
|
|
298
|
-
var __defNormalProp$
|
|
311
|
+
var __defProp$F = Object.defineProperty;
|
|
312
|
+
var __defProps$x = Object.defineProperties;
|
|
313
|
+
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
314
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
315
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
316
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
317
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, {
|
|
299
318
|
enumerable: true,
|
|
300
319
|
configurable: true,
|
|
301
320
|
writable: true,
|
|
302
321
|
value
|
|
303
322
|
}) : obj[key] = value;
|
|
304
|
-
var __spreadValues$
|
|
305
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
306
|
-
if (__getOwnPropSymbols$
|
|
307
|
-
if (__propIsEnum$
|
|
323
|
+
var __spreadValues$F = (a, b) => {
|
|
324
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$G.call(b, prop)) __defNormalProp$F(a, prop, b[prop]);
|
|
325
|
+
if (__getOwnPropSymbols$G) for (var prop of __getOwnPropSymbols$G(b)) {
|
|
326
|
+
if (__propIsEnum$G.call(b, prop)) __defNormalProp$F(a, prop, b[prop]);
|
|
308
327
|
}
|
|
309
328
|
return a;
|
|
310
329
|
};
|
|
311
|
-
var __spreadProps$
|
|
330
|
+
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
312
331
|
var __objRest$r = (source, exclude) => {
|
|
313
332
|
var target = {};
|
|
314
|
-
for (var prop in source) if (__hasOwnProp$
|
|
315
|
-
if (source != null && __getOwnPropSymbols$
|
|
316
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
333
|
+
for (var prop in source) if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
334
|
+
if (source != null && __getOwnPropSymbols$G) for (var prop of __getOwnPropSymbols$G(source)) {
|
|
335
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop)) target[prop] = source[prop];
|
|
317
336
|
}
|
|
318
337
|
return target;
|
|
319
338
|
};
|
|
@@ -365,14 +384,14 @@
|
|
|
365
384
|
}
|
|
366
385
|
return src2;
|
|
367
386
|
}, [active, hover, suffix]);
|
|
368
|
-
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$
|
|
387
|
+
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$x(__spreadValues$F({
|
|
369
388
|
src: _src,
|
|
370
389
|
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
371
390
|
suffixIconSrc,
|
|
372
391
|
height: iconHeight,
|
|
373
392
|
width: iconWidth,
|
|
374
393
|
prefixNode: prefix,
|
|
375
|
-
style: _.pickBy(__spreadValues$
|
|
394
|
+
style: _.pickBy(__spreadValues$F({
|
|
376
395
|
cursor
|
|
377
396
|
}, style))
|
|
378
397
|
}, restProps), {
|
|
@@ -397,33 +416,33 @@
|
|
|
397
416
|
}));
|
|
398
417
|
});
|
|
399
418
|
|
|
400
|
-
var __defProp$
|
|
401
|
-
var __defProps$
|
|
402
|
-
var __getOwnPropDescs$
|
|
403
|
-
var __getOwnPropSymbols$
|
|
404
|
-
var __hasOwnProp$
|
|
405
|
-
var __propIsEnum$
|
|
406
|
-
var __defNormalProp$
|
|
407
|
-
var __spreadValues$
|
|
419
|
+
var __defProp$E = Object.defineProperty;
|
|
420
|
+
var __defProps$w = Object.defineProperties;
|
|
421
|
+
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
422
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
423
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
424
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
425
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
426
|
+
var __spreadValues$E = (a, b) => {
|
|
408
427
|
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$
|
|
428
|
+
if (__hasOwnProp$F.call(b, prop))
|
|
429
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
430
|
+
if (__getOwnPropSymbols$F)
|
|
431
|
+
for (var prop of __getOwnPropSymbols$F(b)) {
|
|
432
|
+
if (__propIsEnum$F.call(b, prop))
|
|
433
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
415
434
|
}
|
|
416
435
|
return a;
|
|
417
436
|
};
|
|
418
|
-
var __spreadProps$
|
|
437
|
+
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
419
438
|
var __objRest$q = (source, exclude) => {
|
|
420
439
|
var target = {};
|
|
421
440
|
for (var prop in source)
|
|
422
|
-
if (__hasOwnProp$
|
|
441
|
+
if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
423
442
|
target[prop] = source[prop];
|
|
424
|
-
if (source != null && __getOwnPropSymbols$
|
|
425
|
-
for (var prop of __getOwnPropSymbols$
|
|
426
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
443
|
+
if (source != null && __getOwnPropSymbols$F)
|
|
444
|
+
for (var prop of __getOwnPropSymbols$F(source)) {
|
|
445
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop))
|
|
427
446
|
target[prop] = source[prop];
|
|
428
447
|
}
|
|
429
448
|
return target;
|
|
@@ -448,7 +467,7 @@
|
|
|
448
467
|
const _type = type === "normal" ? "info" : type;
|
|
449
468
|
return /* @__PURE__ */ React.createElement(
|
|
450
469
|
antd.Alert,
|
|
451
|
-
__spreadProps$
|
|
470
|
+
__spreadProps$w(__spreadValues$E({}, props), {
|
|
452
471
|
className: cs(type ? `alert-${type}` : "", className),
|
|
453
472
|
type: _type,
|
|
454
473
|
icon: icon || _icon,
|
|
@@ -476,33 +495,33 @@
|
|
|
476
495
|
return /* @__PURE__ */ React.createElement("span", null, text);
|
|
477
496
|
};
|
|
478
497
|
|
|
479
|
-
var __defProp$
|
|
480
|
-
var __defProps$
|
|
481
|
-
var __getOwnPropDescs$
|
|
482
|
-
var __getOwnPropSymbols$
|
|
483
|
-
var __hasOwnProp$
|
|
484
|
-
var __propIsEnum$
|
|
485
|
-
var __defNormalProp$
|
|
486
|
-
var __spreadValues$
|
|
498
|
+
var __defProp$D = Object.defineProperty;
|
|
499
|
+
var __defProps$v = Object.defineProperties;
|
|
500
|
+
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
501
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
502
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
503
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
504
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
505
|
+
var __spreadValues$D = (a, b) => {
|
|
487
506
|
for (var prop in b || (b = {}))
|
|
488
|
-
if (__hasOwnProp$
|
|
489
|
-
__defNormalProp$
|
|
490
|
-
if (__getOwnPropSymbols$
|
|
491
|
-
for (var prop of __getOwnPropSymbols$
|
|
492
|
-
if (__propIsEnum$
|
|
493
|
-
__defNormalProp$
|
|
507
|
+
if (__hasOwnProp$E.call(b, prop))
|
|
508
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
509
|
+
if (__getOwnPropSymbols$E)
|
|
510
|
+
for (var prop of __getOwnPropSymbols$E(b)) {
|
|
511
|
+
if (__propIsEnum$E.call(b, prop))
|
|
512
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
494
513
|
}
|
|
495
514
|
return a;
|
|
496
515
|
};
|
|
497
|
-
var __spreadProps$
|
|
516
|
+
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
498
517
|
var __objRest$p = (source, exclude) => {
|
|
499
518
|
var target = {};
|
|
500
519
|
for (var prop in source)
|
|
501
|
-
if (__hasOwnProp$
|
|
520
|
+
if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
502
521
|
target[prop] = source[prop];
|
|
503
|
-
if (source != null && __getOwnPropSymbols$
|
|
504
|
-
for (var prop of __getOwnPropSymbols$
|
|
505
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
522
|
+
if (source != null && __getOwnPropSymbols$E)
|
|
523
|
+
for (var prop of __getOwnPropSymbols$E(source)) {
|
|
524
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
|
|
506
525
|
target[prop] = source[prop];
|
|
507
526
|
}
|
|
508
527
|
return target;
|
|
@@ -511,7 +530,7 @@
|
|
|
511
530
|
var _b = _a, { type = "error", className } = _b, props = __objRest$p(_b, ["type", "className"]);
|
|
512
531
|
return /* @__PURE__ */ React.createElement(
|
|
513
532
|
antd.Badge,
|
|
514
|
-
__spreadProps$
|
|
533
|
+
__spreadProps$v(__spreadValues$D({
|
|
515
534
|
className: core.cx(`badge-${type}`, className)
|
|
516
535
|
}, props), {
|
|
517
536
|
showZero: false
|
|
@@ -692,28 +711,28 @@
|
|
|
692
711
|
return icon != null ? React.cloneElement(icon, { className }) : null;
|
|
693
712
|
};
|
|
694
713
|
|
|
695
|
-
var __defProp$
|
|
696
|
-
var __getOwnPropSymbols$
|
|
697
|
-
var __hasOwnProp$
|
|
698
|
-
var __propIsEnum$
|
|
699
|
-
var __defNormalProp$
|
|
714
|
+
var __defProp$C = Object.defineProperty;
|
|
715
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
716
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
717
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
718
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, {
|
|
700
719
|
enumerable: true,
|
|
701
720
|
configurable: true,
|
|
702
721
|
writable: true,
|
|
703
722
|
value
|
|
704
723
|
}) : obj[key] = value;
|
|
705
|
-
var __spreadValues$
|
|
706
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
707
|
-
if (__getOwnPropSymbols$
|
|
708
|
-
if (__propIsEnum$
|
|
724
|
+
var __spreadValues$C = (a, b) => {
|
|
725
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$D.call(b, prop)) __defNormalProp$C(a, prop, b[prop]);
|
|
726
|
+
if (__getOwnPropSymbols$D) for (var prop of __getOwnPropSymbols$D(b)) {
|
|
727
|
+
if (__propIsEnum$D.call(b, prop)) __defNormalProp$C(a, prop, b[prop]);
|
|
709
728
|
}
|
|
710
729
|
return a;
|
|
711
730
|
};
|
|
712
731
|
var __objRest$o = (source, exclude) => {
|
|
713
732
|
var target = {};
|
|
714
|
-
for (var prop in source) if (__hasOwnProp$
|
|
715
|
-
if (source != null && __getOwnPropSymbols$
|
|
716
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
733
|
+
for (var prop in source) if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
734
|
+
if (source != null && __getOwnPropSymbols$D) for (var prop of __getOwnPropSymbols$D(source)) {
|
|
735
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop)) target[prop] = source[prop];
|
|
717
736
|
}
|
|
718
737
|
return target;
|
|
719
738
|
};
|
|
@@ -740,7 +759,7 @@
|
|
|
740
759
|
const [status, setStatus] = React.useState("normal");
|
|
741
760
|
const hasIcon = prefixIcon || suffixIcon;
|
|
742
761
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
743
|
-
return /* @__PURE__ */React.createElement(antd.Button, __spreadValues$
|
|
762
|
+
return /* @__PURE__ */React.createElement(antd.Button, __spreadValues$C({
|
|
744
763
|
ref,
|
|
745
764
|
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"),
|
|
746
765
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -770,33 +789,33 @@
|
|
|
770
789
|
}));
|
|
771
790
|
});
|
|
772
791
|
|
|
773
|
-
var __defProp$
|
|
774
|
-
var __defProps$
|
|
775
|
-
var __getOwnPropDescs$
|
|
776
|
-
var __getOwnPropSymbols$
|
|
777
|
-
var __hasOwnProp$
|
|
778
|
-
var __propIsEnum$
|
|
779
|
-
var __defNormalProp$
|
|
780
|
-
var __spreadValues$
|
|
792
|
+
var __defProp$B = Object.defineProperty;
|
|
793
|
+
var __defProps$u = Object.defineProperties;
|
|
794
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
795
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
796
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
797
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
798
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
799
|
+
var __spreadValues$B = (a, b) => {
|
|
781
800
|
for (var prop in b || (b = {}))
|
|
782
|
-
if (__hasOwnProp$
|
|
783
|
-
__defNormalProp$
|
|
784
|
-
if (__getOwnPropSymbols$
|
|
785
|
-
for (var prop of __getOwnPropSymbols$
|
|
786
|
-
if (__propIsEnum$
|
|
787
|
-
__defNormalProp$
|
|
801
|
+
if (__hasOwnProp$C.call(b, prop))
|
|
802
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
803
|
+
if (__getOwnPropSymbols$C)
|
|
804
|
+
for (var prop of __getOwnPropSymbols$C(b)) {
|
|
805
|
+
if (__propIsEnum$C.call(b, prop))
|
|
806
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
788
807
|
}
|
|
789
808
|
return a;
|
|
790
809
|
};
|
|
791
|
-
var __spreadProps$
|
|
810
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
792
811
|
var __objRest$n = (source, exclude) => {
|
|
793
812
|
var target = {};
|
|
794
813
|
for (var prop in source)
|
|
795
|
-
if (__hasOwnProp$
|
|
814
|
+
if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
796
815
|
target[prop] = source[prop];
|
|
797
|
-
if (source != null && __getOwnPropSymbols$
|
|
798
|
-
for (var prop of __getOwnPropSymbols$
|
|
799
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
816
|
+
if (source != null && __getOwnPropSymbols$C)
|
|
817
|
+
for (var prop of __getOwnPropSymbols$C(source)) {
|
|
818
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
|
|
800
819
|
target[prop] = source[prop];
|
|
801
820
|
}
|
|
802
821
|
return target;
|
|
@@ -850,10 +869,10 @@
|
|
|
850
869
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
851
870
|
return /* @__PURE__ */ React.createElement(
|
|
852
871
|
antd.Tooltip,
|
|
853
|
-
__spreadProps$
|
|
872
|
+
__spreadProps$u(__spreadValues$B({}, restProps), {
|
|
854
873
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
855
874
|
children: _children,
|
|
856
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
875
|
+
overlayStyle: followMouse ? __spreadValues$B({
|
|
857
876
|
transform: "translate(-50%, -100%)",
|
|
858
877
|
pointerEvents: "none"
|
|
859
878
|
}, overlayStyle) : overlayStyle
|
|
@@ -861,28 +880,28 @@
|
|
|
861
880
|
);
|
|
862
881
|
};
|
|
863
882
|
|
|
864
|
-
var __defProp$
|
|
865
|
-
var __getOwnPropSymbols$
|
|
866
|
-
var __hasOwnProp$
|
|
867
|
-
var __propIsEnum$
|
|
868
|
-
var __defNormalProp$
|
|
883
|
+
var __defProp$A = Object.defineProperty;
|
|
884
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
885
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
886
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
887
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, {
|
|
869
888
|
enumerable: true,
|
|
870
889
|
configurable: true,
|
|
871
890
|
writable: true,
|
|
872
891
|
value
|
|
873
892
|
}) : obj[key] = value;
|
|
874
|
-
var __spreadValues$
|
|
875
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
876
|
-
if (__getOwnPropSymbols$
|
|
877
|
-
if (__propIsEnum$
|
|
893
|
+
var __spreadValues$A = (a, b) => {
|
|
894
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
895
|
+
if (__getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(b)) {
|
|
896
|
+
if (__propIsEnum$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
878
897
|
}
|
|
879
898
|
return a;
|
|
880
899
|
};
|
|
881
900
|
var __objRest$m = (source, exclude) => {
|
|
882
901
|
var target = {};
|
|
883
|
-
for (var prop in source) if (__hasOwnProp$
|
|
884
|
-
if (source != null && __getOwnPropSymbols$
|
|
885
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
902
|
+
for (var prop in source) if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
903
|
+
if (source != null && __getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(source)) {
|
|
904
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop)) target[prop] = source[prop];
|
|
886
905
|
}
|
|
887
906
|
return target;
|
|
888
907
|
};
|
|
@@ -926,7 +945,7 @@
|
|
|
926
945
|
style: {
|
|
927
946
|
cursor: "not-allowed"
|
|
928
947
|
}
|
|
929
|
-
}, /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
948
|
+
}, /* @__PURE__ */React.createElement(Button, __spreadValues$A({
|
|
930
949
|
style: {
|
|
931
950
|
pointerEvents: "none"
|
|
932
951
|
},
|
|
@@ -936,7 +955,7 @@
|
|
|
936
955
|
ghost,
|
|
937
956
|
className: core.cx(ButtonStyle, className2),
|
|
938
957
|
prefixIcon: icon
|
|
939
|
-
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
958
|
+
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$A({
|
|
940
959
|
type,
|
|
941
960
|
size,
|
|
942
961
|
danger,
|
|
@@ -945,7 +964,7 @@
|
|
|
945
964
|
prefixIcon: icon
|
|
946
965
|
}, buttonPropArgs)));
|
|
947
966
|
}
|
|
948
|
-
return /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
967
|
+
return /* @__PURE__ */React.createElement(Button, __spreadValues$A({
|
|
949
968
|
key: key || index,
|
|
950
969
|
type,
|
|
951
970
|
size,
|
|
@@ -980,31 +999,31 @@
|
|
|
980
999
|
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}`));
|
|
981
1000
|
};
|
|
982
1001
|
|
|
983
|
-
var __defProp$
|
|
984
|
-
var __defProps$
|
|
985
|
-
var __getOwnPropDescs$
|
|
986
|
-
var __getOwnPropSymbols$
|
|
987
|
-
var __hasOwnProp$
|
|
988
|
-
var __propIsEnum$
|
|
989
|
-
var __defNormalProp$
|
|
1002
|
+
var __defProp$z = Object.defineProperty;
|
|
1003
|
+
var __defProps$t = Object.defineProperties;
|
|
1004
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
1005
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
1006
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
1007
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
1008
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, {
|
|
990
1009
|
enumerable: true,
|
|
991
1010
|
configurable: true,
|
|
992
1011
|
writable: true,
|
|
993
1012
|
value
|
|
994
1013
|
}) : obj[key] = value;
|
|
995
|
-
var __spreadValues$
|
|
996
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
997
|
-
if (__getOwnPropSymbols$
|
|
998
|
-
if (__propIsEnum$
|
|
1014
|
+
var __spreadValues$z = (a, b) => {
|
|
1015
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
1016
|
+
if (__getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(b)) {
|
|
1017
|
+
if (__propIsEnum$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
999
1018
|
}
|
|
1000
1019
|
return a;
|
|
1001
1020
|
};
|
|
1002
|
-
var __spreadProps$
|
|
1021
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
1003
1022
|
var __objRest$l = (source, exclude) => {
|
|
1004
1023
|
var target = {};
|
|
1005
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1006
|
-
if (source != null && __getOwnPropSymbols$
|
|
1007
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1024
|
+
for (var prop in source) if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1025
|
+
if (source != null && __getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(source)) {
|
|
1026
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop)) target[prop] = source[prop];
|
|
1008
1027
|
}
|
|
1009
1028
|
return target;
|
|
1010
1029
|
};
|
|
@@ -1018,7 +1037,7 @@
|
|
|
1018
1037
|
compact
|
|
1019
1038
|
} = _b,
|
|
1020
1039
|
props = __objRest$l(_b, ["className", "children", "description", "compact"]);
|
|
1021
|
-
return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$
|
|
1040
|
+
return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$t(__spreadValues$z({}, props), {
|
|
1022
1041
|
"data-test": props["data-test"] || props.value,
|
|
1023
1042
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
1024
1043
|
}), children ? /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement("div", {
|
|
@@ -1028,30 +1047,30 @@
|
|
|
1028
1047
|
}, description) : null) : null);
|
|
1029
1048
|
};
|
|
1030
1049
|
|
|
1031
|
-
var __defProp$
|
|
1032
|
-
var __getOwnPropSymbols$
|
|
1033
|
-
var __hasOwnProp$
|
|
1034
|
-
var __propIsEnum$
|
|
1035
|
-
var __defNormalProp$
|
|
1036
|
-
var __spreadValues$
|
|
1050
|
+
var __defProp$y = Object.defineProperty;
|
|
1051
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
1052
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
1053
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
1054
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1055
|
+
var __spreadValues$y = (a, b) => {
|
|
1037
1056
|
for (var prop in b || (b = {}))
|
|
1038
|
-
if (__hasOwnProp$
|
|
1039
|
-
__defNormalProp$
|
|
1040
|
-
if (__getOwnPropSymbols$
|
|
1041
|
-
for (var prop of __getOwnPropSymbols$
|
|
1042
|
-
if (__propIsEnum$
|
|
1043
|
-
__defNormalProp$
|
|
1057
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
1058
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
1059
|
+
if (__getOwnPropSymbols$z)
|
|
1060
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
1061
|
+
if (__propIsEnum$z.call(b, prop))
|
|
1062
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
1044
1063
|
}
|
|
1045
1064
|
return a;
|
|
1046
1065
|
};
|
|
1047
1066
|
var __objRest$k = (source, exclude) => {
|
|
1048
1067
|
var target = {};
|
|
1049
1068
|
for (var prop in source)
|
|
1050
|
-
if (__hasOwnProp$
|
|
1069
|
+
if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1051
1070
|
target[prop] = source[prop];
|
|
1052
|
-
if (source != null && __getOwnPropSymbols$
|
|
1053
|
-
for (var prop of __getOwnPropSymbols$
|
|
1054
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1071
|
+
if (source != null && __getOwnPropSymbols$z)
|
|
1072
|
+
for (var prop of __getOwnPropSymbols$z(source)) {
|
|
1073
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
|
|
1055
1074
|
target[prop] = source[prop];
|
|
1056
1075
|
}
|
|
1057
1076
|
return target;
|
|
@@ -1060,7 +1079,7 @@
|
|
|
1060
1079
|
var _b = _a, { input, children } = _b, props = __objRest$k(_b, ["input", "children"]);
|
|
1061
1080
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1062
1081
|
Checkbox,
|
|
1063
|
-
__spreadValues$
|
|
1082
|
+
__spreadValues$y({
|
|
1064
1083
|
checked: Boolean(input.value),
|
|
1065
1084
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1066
1085
|
}, props),
|
|
@@ -1085,17 +1104,17 @@
|
|
|
1085
1104
|
}
|
|
1086
1105
|
));
|
|
1087
1106
|
|
|
1088
|
-
var __getOwnPropSymbols$
|
|
1089
|
-
var __hasOwnProp$
|
|
1090
|
-
var __propIsEnum$
|
|
1107
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
1108
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
1109
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
1091
1110
|
var __objRest$j = (source, exclude) => {
|
|
1092
1111
|
var target = {};
|
|
1093
1112
|
for (var prop in source)
|
|
1094
|
-
if (__hasOwnProp$
|
|
1113
|
+
if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1095
1114
|
target[prop] = source[prop];
|
|
1096
|
-
if (source != null && __getOwnPropSymbols$
|
|
1097
|
-
for (var prop of __getOwnPropSymbols$
|
|
1098
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1115
|
+
if (source != null && __getOwnPropSymbols$y)
|
|
1116
|
+
for (var prop of __getOwnPropSymbols$y(source)) {
|
|
1117
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop))
|
|
1099
1118
|
target[prop] = source[prop];
|
|
1100
1119
|
}
|
|
1101
1120
|
return target;
|
|
@@ -1140,53 +1159,53 @@
|
|
|
1140
1159
|
const InputStyle = "ipd9bk";
|
|
1141
1160
|
const KitInputStyle = "kypn5o5";
|
|
1142
1161
|
|
|
1143
|
-
var __defProp$
|
|
1144
|
-
var __getOwnPropSymbols$
|
|
1145
|
-
var __hasOwnProp$
|
|
1146
|
-
var __propIsEnum$
|
|
1147
|
-
var __defNormalProp$
|
|
1148
|
-
var __spreadValues$
|
|
1162
|
+
var __defProp$x = Object.defineProperty;
|
|
1163
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
1164
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
1165
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
1166
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1167
|
+
var __spreadValues$x = (a, b) => {
|
|
1149
1168
|
for (var prop in b || (b = {}))
|
|
1150
|
-
if (__hasOwnProp$
|
|
1151
|
-
__defNormalProp$
|
|
1152
|
-
if (__getOwnPropSymbols$
|
|
1153
|
-
for (var prop of __getOwnPropSymbols$
|
|
1154
|
-
if (__propIsEnum$
|
|
1155
|
-
__defNormalProp$
|
|
1169
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
1170
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
1171
|
+
if (__getOwnPropSymbols$x)
|
|
1172
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
1173
|
+
if (__propIsEnum$x.call(b, prop))
|
|
1174
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
1156
1175
|
}
|
|
1157
1176
|
return a;
|
|
1158
1177
|
};
|
|
1159
1178
|
const Loading = ({ fullView = true }) => {
|
|
1160
1179
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1161
1180
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1162
|
-
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$
|
|
1181
|
+
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$x({}, 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" })));
|
|
1163
1182
|
};
|
|
1164
1183
|
|
|
1165
|
-
var __defProp$
|
|
1166
|
-
var __defProps$
|
|
1167
|
-
var __getOwnPropDescs$
|
|
1168
|
-
var __getOwnPropSymbols$
|
|
1169
|
-
var __hasOwnProp$
|
|
1170
|
-
var __propIsEnum$
|
|
1171
|
-
var __defNormalProp$
|
|
1184
|
+
var __defProp$w = Object.defineProperty;
|
|
1185
|
+
var __defProps$s = Object.defineProperties;
|
|
1186
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
1187
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
1188
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
1189
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
1190
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, {
|
|
1172
1191
|
enumerable: true,
|
|
1173
1192
|
configurable: true,
|
|
1174
1193
|
writable: true,
|
|
1175
1194
|
value
|
|
1176
1195
|
}) : obj[key] = value;
|
|
1177
|
-
var __spreadValues$
|
|
1178
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1179
|
-
if (__getOwnPropSymbols$
|
|
1180
|
-
if (__propIsEnum$
|
|
1196
|
+
var __spreadValues$w = (a, b) => {
|
|
1197
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$w.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
1198
|
+
if (__getOwnPropSymbols$w) for (var prop of __getOwnPropSymbols$w(b)) {
|
|
1199
|
+
if (__propIsEnum$w.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
1181
1200
|
}
|
|
1182
1201
|
return a;
|
|
1183
1202
|
};
|
|
1184
|
-
var __spreadProps$
|
|
1203
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
1185
1204
|
var __objRest$i = (source, exclude) => {
|
|
1186
1205
|
var target = {};
|
|
1187
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1188
|
-
if (source != null && __getOwnPropSymbols$
|
|
1189
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1206
|
+
for (var prop in source) if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1207
|
+
if (source != null && __getOwnPropSymbols$w) for (var prop of __getOwnPropSymbols$w(source)) {
|
|
1208
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop)) target[prop] = source[prop];
|
|
1190
1209
|
}
|
|
1191
1210
|
return target;
|
|
1192
1211
|
};
|
|
@@ -1240,7 +1259,7 @@
|
|
|
1240
1259
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1241
1260
|
}
|
|
1242
1261
|
}, [selectRef, placeholder]);
|
|
1243
|
-
return /* @__PURE__ */React.createElement(antd.Select, __spreadValues$
|
|
1262
|
+
return /* @__PURE__ */React.createElement(antd.Select, __spreadValues$w(__spreadProps$s(__spreadValues$w({}, input), {
|
|
1244
1263
|
ref: selectRef,
|
|
1245
1264
|
size,
|
|
1246
1265
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1280,38 +1299,38 @@
|
|
|
1280
1299
|
loading,
|
|
1281
1300
|
placeholder
|
|
1282
1301
|
}), restProps), React.Children.map(children, child => {
|
|
1283
|
-
return reactIs.isElement(child) ? __spreadProps$
|
|
1284
|
-
props: __spreadProps$
|
|
1302
|
+
return reactIs.isElement(child) ? __spreadProps$s(__spreadValues$w({}, child), {
|
|
1303
|
+
props: __spreadProps$s(__spreadValues$w({}, child.props), {
|
|
1285
1304
|
"data-test": child.props.value
|
|
1286
1305
|
})
|
|
1287
1306
|
}) : child;
|
|
1288
1307
|
}));
|
|
1289
1308
|
};
|
|
1290
1309
|
|
|
1291
|
-
var __defProp$
|
|
1292
|
-
var __getOwnPropSymbols$
|
|
1293
|
-
var __hasOwnProp$
|
|
1294
|
-
var __propIsEnum$
|
|
1295
|
-
var __defNormalProp$
|
|
1296
|
-
var __spreadValues$
|
|
1310
|
+
var __defProp$v = Object.defineProperty;
|
|
1311
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
1312
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
1313
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
1314
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1315
|
+
var __spreadValues$v = (a, b) => {
|
|
1297
1316
|
for (var prop in b || (b = {}))
|
|
1298
|
-
if (__hasOwnProp$
|
|
1299
|
-
__defNormalProp$
|
|
1300
|
-
if (__getOwnPropSymbols$
|
|
1301
|
-
for (var prop of __getOwnPropSymbols$
|
|
1302
|
-
if (__propIsEnum$
|
|
1303
|
-
__defNormalProp$
|
|
1317
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
1318
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
1319
|
+
if (__getOwnPropSymbols$v)
|
|
1320
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
1321
|
+
if (__propIsEnum$v.call(b, prop))
|
|
1322
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
1304
1323
|
}
|
|
1305
1324
|
return a;
|
|
1306
1325
|
};
|
|
1307
1326
|
var __objRest$h = (source, exclude) => {
|
|
1308
1327
|
var target = {};
|
|
1309
1328
|
for (var prop in source)
|
|
1310
|
-
if (__hasOwnProp$
|
|
1329
|
+
if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1311
1330
|
target[prop] = source[prop];
|
|
1312
|
-
if (source != null && __getOwnPropSymbols$
|
|
1313
|
-
for (var prop of __getOwnPropSymbols$
|
|
1314
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1331
|
+
if (source != null && __getOwnPropSymbols$v)
|
|
1332
|
+
for (var prop of __getOwnPropSymbols$v(source)) {
|
|
1333
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
|
|
1315
1334
|
target[prop] = source[prop];
|
|
1316
1335
|
}
|
|
1317
1336
|
return target;
|
|
@@ -1326,7 +1345,7 @@
|
|
|
1326
1345
|
"enumValues",
|
|
1327
1346
|
"emptyLabel"
|
|
1328
1347
|
]);
|
|
1329
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$
|
|
1348
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$v({}, restProps), emptyLabel && /* @__PURE__ */ React.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1330
1349
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1331
1350
|
return /* @__PURE__ */ React.createElement(
|
|
1332
1351
|
antd.Select.Option,
|
|
@@ -1340,31 +1359,31 @@
|
|
|
1340
1359
|
})));
|
|
1341
1360
|
};
|
|
1342
1361
|
|
|
1343
|
-
var __defProp$
|
|
1344
|
-
var __defProps$
|
|
1345
|
-
var __getOwnPropDescs$
|
|
1346
|
-
var __getOwnPropSymbols$
|
|
1347
|
-
var __hasOwnProp$
|
|
1348
|
-
var __propIsEnum$
|
|
1349
|
-
var __defNormalProp$
|
|
1362
|
+
var __defProp$u = Object.defineProperty;
|
|
1363
|
+
var __defProps$r = Object.defineProperties;
|
|
1364
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
1365
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
1366
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
1367
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
1368
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, {
|
|
1350
1369
|
enumerable: true,
|
|
1351
1370
|
configurable: true,
|
|
1352
1371
|
writable: true,
|
|
1353
1372
|
value
|
|
1354
1373
|
}) : obj[key] = value;
|
|
1355
|
-
var __spreadValues$
|
|
1356
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1357
|
-
if (__getOwnPropSymbols$
|
|
1358
|
-
if (__propIsEnum$
|
|
1374
|
+
var __spreadValues$u = (a, b) => {
|
|
1375
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$u.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
1376
|
+
if (__getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(b)) {
|
|
1377
|
+
if (__propIsEnum$u.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
1359
1378
|
}
|
|
1360
1379
|
return a;
|
|
1361
1380
|
};
|
|
1362
|
-
var __spreadProps$
|
|
1381
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
1363
1382
|
var __objRest$g = (source, exclude) => {
|
|
1364
1383
|
var target = {};
|
|
1365
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1366
|
-
if (source != null && __getOwnPropSymbols$
|
|
1367
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1384
|
+
for (var prop in source) if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1385
|
+
if (source != null && __getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(source)) {
|
|
1386
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop)) target[prop] = source[prop];
|
|
1368
1387
|
}
|
|
1369
1388
|
return target;
|
|
1370
1389
|
};
|
|
@@ -1406,7 +1425,7 @@
|
|
|
1406
1425
|
middle: Typo.Label.l3_regular,
|
|
1407
1426
|
small: Typo.Label.l4_regular
|
|
1408
1427
|
}[size];
|
|
1409
|
-
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$
|
|
1428
|
+
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$r(__spreadValues$u({}, props), {
|
|
1410
1429
|
size,
|
|
1411
1430
|
controls,
|
|
1412
1431
|
"data-test": props.name,
|
|
@@ -1416,33 +1435,33 @@
|
|
|
1416
1435
|
}));
|
|
1417
1436
|
};
|
|
1418
1437
|
|
|
1419
|
-
var __defProp$
|
|
1420
|
-
var __defProps$
|
|
1421
|
-
var __getOwnPropDescs$
|
|
1422
|
-
var __getOwnPropSymbols$
|
|
1423
|
-
var __hasOwnProp$
|
|
1424
|
-
var __propIsEnum$
|
|
1425
|
-
var __defNormalProp$
|
|
1426
|
-
var __spreadValues$
|
|
1438
|
+
var __defProp$t = Object.defineProperty;
|
|
1439
|
+
var __defProps$q = Object.defineProperties;
|
|
1440
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
1441
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
1442
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
1443
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
1444
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1445
|
+
var __spreadValues$t = (a, b) => {
|
|
1427
1446
|
for (var prop in b || (b = {}))
|
|
1428
|
-
if (__hasOwnProp$
|
|
1429
|
-
__defNormalProp$
|
|
1430
|
-
if (__getOwnPropSymbols$
|
|
1431
|
-
for (var prop of __getOwnPropSymbols$
|
|
1432
|
-
if (__propIsEnum$
|
|
1433
|
-
__defNormalProp$
|
|
1447
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
1448
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
1449
|
+
if (__getOwnPropSymbols$t)
|
|
1450
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
1451
|
+
if (__propIsEnum$t.call(b, prop))
|
|
1452
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
1434
1453
|
}
|
|
1435
1454
|
return a;
|
|
1436
1455
|
};
|
|
1437
|
-
var __spreadProps$
|
|
1456
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
1438
1457
|
var __objRest$f = (source, exclude) => {
|
|
1439
1458
|
var target = {};
|
|
1440
1459
|
for (var prop in source)
|
|
1441
|
-
if (__hasOwnProp$
|
|
1460
|
+
if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1442
1461
|
target[prop] = source[prop];
|
|
1443
|
-
if (source != null && __getOwnPropSymbols$
|
|
1444
|
-
for (var prop of __getOwnPropSymbols$
|
|
1445
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1462
|
+
if (source != null && __getOwnPropSymbols$t)
|
|
1463
|
+
for (var prop of __getOwnPropSymbols$t(source)) {
|
|
1464
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
|
|
1446
1465
|
target[prop] = source[prop];
|
|
1447
1466
|
}
|
|
1448
1467
|
return target;
|
|
@@ -1461,7 +1480,7 @@
|
|
|
1461
1480
|
]);
|
|
1462
1481
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1463
1482
|
InputNumber,
|
|
1464
|
-
__spreadValues$
|
|
1483
|
+
__spreadValues$t(__spreadProps$q(__spreadValues$t({}, input), {
|
|
1465
1484
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1466
1485
|
autoComplete,
|
|
1467
1486
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1469,33 +1488,33 @@
|
|
|
1469
1488
|
));
|
|
1470
1489
|
};
|
|
1471
1490
|
|
|
1472
|
-
var __defProp$
|
|
1473
|
-
var __defProps$
|
|
1474
|
-
var __getOwnPropDescs$
|
|
1475
|
-
var __getOwnPropSymbols$
|
|
1476
|
-
var __hasOwnProp$
|
|
1477
|
-
var __propIsEnum$
|
|
1478
|
-
var __defNormalProp$
|
|
1479
|
-
var __spreadValues$
|
|
1491
|
+
var __defProp$s = Object.defineProperty;
|
|
1492
|
+
var __defProps$p = Object.defineProperties;
|
|
1493
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
1494
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
1495
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
1496
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
1497
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1498
|
+
var __spreadValues$s = (a, b) => {
|
|
1480
1499
|
for (var prop in b || (b = {}))
|
|
1481
|
-
if (__hasOwnProp$
|
|
1482
|
-
__defNormalProp$
|
|
1483
|
-
if (__getOwnPropSymbols$
|
|
1484
|
-
for (var prop of __getOwnPropSymbols$
|
|
1485
|
-
if (__propIsEnum$
|
|
1486
|
-
__defNormalProp$
|
|
1500
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
1501
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
1502
|
+
if (__getOwnPropSymbols$s)
|
|
1503
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
1504
|
+
if (__propIsEnum$s.call(b, prop))
|
|
1505
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
1487
1506
|
}
|
|
1488
1507
|
return a;
|
|
1489
1508
|
};
|
|
1490
|
-
var __spreadProps$
|
|
1509
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
1491
1510
|
var __objRest$e = (source, exclude) => {
|
|
1492
1511
|
var target = {};
|
|
1493
1512
|
for (var prop in source)
|
|
1494
|
-
if (__hasOwnProp$
|
|
1513
|
+
if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1495
1514
|
target[prop] = source[prop];
|
|
1496
|
-
if (source != null && __getOwnPropSymbols$
|
|
1497
|
-
for (var prop of __getOwnPropSymbols$
|
|
1498
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1515
|
+
if (source != null && __getOwnPropSymbols$s)
|
|
1516
|
+
for (var prop of __getOwnPropSymbols$s(source)) {
|
|
1517
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
|
|
1499
1518
|
target[prop] = source[prop];
|
|
1500
1519
|
}
|
|
1501
1520
|
return target;
|
|
@@ -1517,7 +1536,7 @@
|
|
|
1517
1536
|
}[size];
|
|
1518
1537
|
return /* @__PURE__ */ React.createElement(
|
|
1519
1538
|
antd.Input,
|
|
1520
|
-
__spreadProps$
|
|
1539
|
+
__spreadProps$p(__spreadValues$s({}, props), {
|
|
1521
1540
|
size,
|
|
1522
1541
|
"data-test": props.name,
|
|
1523
1542
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1525,33 +1544,33 @@
|
|
|
1525
1544
|
);
|
|
1526
1545
|
};
|
|
1527
1546
|
|
|
1528
|
-
var __defProp$
|
|
1529
|
-
var __defProps$
|
|
1530
|
-
var __getOwnPropDescs$
|
|
1531
|
-
var __getOwnPropSymbols$
|
|
1532
|
-
var __hasOwnProp$
|
|
1533
|
-
var __propIsEnum$
|
|
1534
|
-
var __defNormalProp$
|
|
1535
|
-
var __spreadValues$
|
|
1547
|
+
var __defProp$r = Object.defineProperty;
|
|
1548
|
+
var __defProps$o = Object.defineProperties;
|
|
1549
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
1550
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
1551
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
1552
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
1553
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1554
|
+
var __spreadValues$r = (a, b) => {
|
|
1536
1555
|
for (var prop in b || (b = {}))
|
|
1537
|
-
if (__hasOwnProp$
|
|
1538
|
-
__defNormalProp$
|
|
1539
|
-
if (__getOwnPropSymbols$
|
|
1540
|
-
for (var prop of __getOwnPropSymbols$
|
|
1541
|
-
if (__propIsEnum$
|
|
1542
|
-
__defNormalProp$
|
|
1556
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
1557
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
1558
|
+
if (__getOwnPropSymbols$r)
|
|
1559
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
1560
|
+
if (__propIsEnum$r.call(b, prop))
|
|
1561
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
1543
1562
|
}
|
|
1544
1563
|
return a;
|
|
1545
1564
|
};
|
|
1546
|
-
var __spreadProps$
|
|
1565
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
1547
1566
|
var __objRest$d = (source, exclude) => {
|
|
1548
1567
|
var target = {};
|
|
1549
1568
|
for (var prop in source)
|
|
1550
|
-
if (__hasOwnProp$
|
|
1569
|
+
if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1551
1570
|
target[prop] = source[prop];
|
|
1552
|
-
if (source != null && __getOwnPropSymbols$
|
|
1553
|
-
for (var prop of __getOwnPropSymbols$
|
|
1554
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1571
|
+
if (source != null && __getOwnPropSymbols$r)
|
|
1572
|
+
for (var prop of __getOwnPropSymbols$r(source)) {
|
|
1573
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
|
|
1555
1574
|
target[prop] = source[prop];
|
|
1556
1575
|
}
|
|
1557
1576
|
return target;
|
|
@@ -1572,7 +1591,7 @@
|
|
|
1572
1591
|
]);
|
|
1573
1592
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1574
1593
|
Input,
|
|
1575
|
-
__spreadValues$
|
|
1594
|
+
__spreadValues$r(__spreadProps$o(__spreadValues$r({}, input), {
|
|
1576
1595
|
onChange: (e) => {
|
|
1577
1596
|
const value = e.currentTarget.value;
|
|
1578
1597
|
if (supportNegativeValue) {
|
|
@@ -1607,31 +1626,31 @@
|
|
|
1607
1626
|
}
|
|
1608
1627
|
};
|
|
1609
1628
|
|
|
1610
|
-
var __defProp$
|
|
1611
|
-
var __defProps$
|
|
1612
|
-
var __getOwnPropDescs$
|
|
1613
|
-
var __getOwnPropSymbols$
|
|
1614
|
-
var __hasOwnProp$
|
|
1615
|
-
var __propIsEnum$
|
|
1616
|
-
var __defNormalProp$
|
|
1629
|
+
var __defProp$q = Object.defineProperty;
|
|
1630
|
+
var __defProps$n = Object.defineProperties;
|
|
1631
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
1632
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
1633
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
1634
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
1635
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, {
|
|
1617
1636
|
enumerable: true,
|
|
1618
1637
|
configurable: true,
|
|
1619
1638
|
writable: true,
|
|
1620
1639
|
value
|
|
1621
1640
|
}) : obj[key] = value;
|
|
1622
|
-
var __spreadValues$
|
|
1623
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1624
|
-
if (__getOwnPropSymbols$
|
|
1625
|
-
if (__propIsEnum$
|
|
1641
|
+
var __spreadValues$q = (a, b) => {
|
|
1642
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$q.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
1643
|
+
if (__getOwnPropSymbols$q) for (var prop of __getOwnPropSymbols$q(b)) {
|
|
1644
|
+
if (__propIsEnum$q.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
1626
1645
|
}
|
|
1627
1646
|
return a;
|
|
1628
1647
|
};
|
|
1629
|
-
var __spreadProps$
|
|
1648
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
1630
1649
|
var __objRest$c = (source, exclude) => {
|
|
1631
1650
|
var target = {};
|
|
1632
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1633
|
-
if (source != null && __getOwnPropSymbols$
|
|
1634
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1651
|
+
for (var prop in source) if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1652
|
+
if (source != null && __getOwnPropSymbols$q) for (var prop of __getOwnPropSymbols$q(source)) {
|
|
1653
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop)) target[prop] = source[prop];
|
|
1635
1654
|
}
|
|
1636
1655
|
return target;
|
|
1637
1656
|
};
|
|
@@ -1675,7 +1694,7 @@
|
|
|
1675
1694
|
middle: Typo.Label.l3_regular,
|
|
1676
1695
|
small: Typo.Label.l4_regular
|
|
1677
1696
|
}[size];
|
|
1678
|
-
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$
|
|
1697
|
+
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$n(__spreadValues$q({}, props), {
|
|
1679
1698
|
size,
|
|
1680
1699
|
formatter: formatterInteger,
|
|
1681
1700
|
parser: formatterInteger,
|
|
@@ -1689,33 +1708,33 @@
|
|
|
1689
1708
|
}));
|
|
1690
1709
|
};
|
|
1691
1710
|
|
|
1692
|
-
var __defProp$
|
|
1693
|
-
var __defProps$
|
|
1694
|
-
var __getOwnPropDescs$
|
|
1695
|
-
var __getOwnPropSymbols$
|
|
1696
|
-
var __hasOwnProp$
|
|
1697
|
-
var __propIsEnum$
|
|
1698
|
-
var __defNormalProp$
|
|
1699
|
-
var __spreadValues$
|
|
1711
|
+
var __defProp$p = Object.defineProperty;
|
|
1712
|
+
var __defProps$m = Object.defineProperties;
|
|
1713
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
1714
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
1715
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
1716
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
1717
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1718
|
+
var __spreadValues$p = (a, b) => {
|
|
1700
1719
|
for (var prop in b || (b = {}))
|
|
1701
|
-
if (__hasOwnProp$
|
|
1702
|
-
__defNormalProp$
|
|
1703
|
-
if (__getOwnPropSymbols$
|
|
1704
|
-
for (var prop of __getOwnPropSymbols$
|
|
1705
|
-
if (__propIsEnum$
|
|
1706
|
-
__defNormalProp$
|
|
1720
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
1721
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
1722
|
+
if (__getOwnPropSymbols$p)
|
|
1723
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
1724
|
+
if (__propIsEnum$p.call(b, prop))
|
|
1725
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
1707
1726
|
}
|
|
1708
1727
|
return a;
|
|
1709
1728
|
};
|
|
1710
|
-
var __spreadProps$
|
|
1729
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
1711
1730
|
var __objRest$b = (source, exclude) => {
|
|
1712
1731
|
var target = {};
|
|
1713
1732
|
for (var prop in source)
|
|
1714
|
-
if (__hasOwnProp$
|
|
1733
|
+
if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1715
1734
|
target[prop] = source[prop];
|
|
1716
|
-
if (source != null && __getOwnPropSymbols$
|
|
1717
|
-
for (var prop of __getOwnPropSymbols$
|
|
1718
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1735
|
+
if (source != null && __getOwnPropSymbols$p)
|
|
1736
|
+
for (var prop of __getOwnPropSymbols$p(source)) {
|
|
1737
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop))
|
|
1719
1738
|
target[prop] = source[prop];
|
|
1720
1739
|
}
|
|
1721
1740
|
return target;
|
|
@@ -1732,7 +1751,7 @@
|
|
|
1732
1751
|
]);
|
|
1733
1752
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1734
1753
|
InputInteger,
|
|
1735
|
-
__spreadProps$
|
|
1754
|
+
__spreadProps$m(__spreadValues$p(__spreadValues$p({}, props), input), {
|
|
1736
1755
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1737
1756
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
1738
1757
|
})
|
|
@@ -1896,33 +1915,33 @@
|
|
|
1896
1915
|
}, children), showOverflow && /* @__PURE__ */React.createElement("span", null, overflow));
|
|
1897
1916
|
};
|
|
1898
1917
|
|
|
1899
|
-
var __defProp$
|
|
1900
|
-
var __defProps$
|
|
1901
|
-
var __getOwnPropDescs$
|
|
1902
|
-
var __getOwnPropSymbols$
|
|
1903
|
-
var __hasOwnProp$
|
|
1904
|
-
var __propIsEnum$
|
|
1905
|
-
var __defNormalProp$
|
|
1906
|
-
var __spreadValues$
|
|
1918
|
+
var __defProp$o = Object.defineProperty;
|
|
1919
|
+
var __defProps$l = Object.defineProperties;
|
|
1920
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
1921
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
1922
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
1923
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
1924
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1925
|
+
var __spreadValues$o = (a, b) => {
|
|
1907
1926
|
for (var prop in b || (b = {}))
|
|
1908
|
-
if (__hasOwnProp$
|
|
1909
|
-
__defNormalProp$
|
|
1910
|
-
if (__getOwnPropSymbols$
|
|
1911
|
-
for (var prop of __getOwnPropSymbols$
|
|
1912
|
-
if (__propIsEnum$
|
|
1913
|
-
__defNormalProp$
|
|
1927
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
1928
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
1929
|
+
if (__getOwnPropSymbols$o)
|
|
1930
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
1931
|
+
if (__propIsEnum$o.call(b, prop))
|
|
1932
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
1914
1933
|
}
|
|
1915
1934
|
return a;
|
|
1916
1935
|
};
|
|
1917
|
-
var __spreadProps$
|
|
1936
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
1918
1937
|
var __objRest$a = (source, exclude) => {
|
|
1919
1938
|
var target = {};
|
|
1920
1939
|
for (var prop in source)
|
|
1921
|
-
if (__hasOwnProp$
|
|
1940
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1922
1941
|
target[prop] = source[prop];
|
|
1923
|
-
if (source != null && __getOwnPropSymbols$
|
|
1924
|
-
for (var prop of __getOwnPropSymbols$
|
|
1925
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1942
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
1943
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
1944
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
1926
1945
|
target[prop] = source[prop];
|
|
1927
1946
|
}
|
|
1928
1947
|
return target;
|
|
@@ -1973,7 +1992,7 @@
|
|
|
1973
1992
|
}
|
|
1974
1993
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1975
1994
|
Input,
|
|
1976
|
-
__spreadProps$
|
|
1995
|
+
__spreadProps$l(__spreadValues$o(__spreadProps$l(__spreadValues$o({
|
|
1977
1996
|
className: cs(
|
|
1978
1997
|
className,
|
|
1979
1998
|
KitInputStyle,
|
|
@@ -1998,33 +2017,33 @@
|
|
|
1998
2017
|
));
|
|
1999
2018
|
};
|
|
2000
2019
|
|
|
2001
|
-
var __defProp$
|
|
2002
|
-
var __defProps$
|
|
2003
|
-
var __getOwnPropDescs$
|
|
2004
|
-
var __getOwnPropSymbols$
|
|
2005
|
-
var __hasOwnProp$
|
|
2006
|
-
var __propIsEnum$
|
|
2007
|
-
var __defNormalProp$
|
|
2008
|
-
var __spreadValues$
|
|
2020
|
+
var __defProp$n = Object.defineProperty;
|
|
2021
|
+
var __defProps$k = Object.defineProperties;
|
|
2022
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
2023
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
2024
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
2025
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
2026
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2027
|
+
var __spreadValues$n = (a, b) => {
|
|
2009
2028
|
for (var prop in b || (b = {}))
|
|
2010
|
-
if (__hasOwnProp$
|
|
2011
|
-
__defNormalProp$
|
|
2012
|
-
if (__getOwnPropSymbols$
|
|
2013
|
-
for (var prop of __getOwnPropSymbols$
|
|
2014
|
-
if (__propIsEnum$
|
|
2015
|
-
__defNormalProp$
|
|
2029
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
2030
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
2031
|
+
if (__getOwnPropSymbols$n)
|
|
2032
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
2033
|
+
if (__propIsEnum$n.call(b, prop))
|
|
2034
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
2016
2035
|
}
|
|
2017
2036
|
return a;
|
|
2018
2037
|
};
|
|
2019
|
-
var __spreadProps$
|
|
2038
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
2020
2039
|
var __objRest$9 = (source, exclude) => {
|
|
2021
2040
|
var target = {};
|
|
2022
2041
|
for (var prop in source)
|
|
2023
|
-
if (__hasOwnProp$
|
|
2042
|
+
if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2024
2043
|
target[prop] = source[prop];
|
|
2025
|
-
if (source != null && __getOwnPropSymbols$
|
|
2026
|
-
for (var prop of __getOwnPropSymbols$
|
|
2027
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2044
|
+
if (source != null && __getOwnPropSymbols$n)
|
|
2045
|
+
for (var prop of __getOwnPropSymbols$n(source)) {
|
|
2046
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
|
|
2028
2047
|
target[prop] = source[prop];
|
|
2029
2048
|
}
|
|
2030
2049
|
return target;
|
|
@@ -2046,7 +2065,7 @@
|
|
|
2046
2065
|
}[size];
|
|
2047
2066
|
return /* @__PURE__ */ React.createElement(
|
|
2048
2067
|
antd.Input.TextArea,
|
|
2049
|
-
__spreadProps$
|
|
2068
|
+
__spreadProps$k(__spreadValues$n({}, props), {
|
|
2050
2069
|
className: cs(
|
|
2051
2070
|
className,
|
|
2052
2071
|
InputStyle,
|
|
@@ -2060,33 +2079,33 @@
|
|
|
2060
2079
|
);
|
|
2061
2080
|
};
|
|
2062
2081
|
|
|
2063
|
-
var __defProp$
|
|
2064
|
-
var __defProps$
|
|
2065
|
-
var __getOwnPropDescs$
|
|
2066
|
-
var __getOwnPropSymbols$
|
|
2067
|
-
var __hasOwnProp$
|
|
2068
|
-
var __propIsEnum$
|
|
2069
|
-
var __defNormalProp$
|
|
2070
|
-
var __spreadValues$
|
|
2082
|
+
var __defProp$m = Object.defineProperty;
|
|
2083
|
+
var __defProps$j = Object.defineProperties;
|
|
2084
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
2085
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
2086
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
2087
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
2088
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2089
|
+
var __spreadValues$m = (a, b) => {
|
|
2071
2090
|
for (var prop in b || (b = {}))
|
|
2072
|
-
if (__hasOwnProp$
|
|
2073
|
-
__defNormalProp$
|
|
2074
|
-
if (__getOwnPropSymbols$
|
|
2075
|
-
for (var prop of __getOwnPropSymbols$
|
|
2076
|
-
if (__propIsEnum$
|
|
2077
|
-
__defNormalProp$
|
|
2091
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
2092
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2093
|
+
if (__getOwnPropSymbols$m)
|
|
2094
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
2095
|
+
if (__propIsEnum$m.call(b, prop))
|
|
2096
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2078
2097
|
}
|
|
2079
2098
|
return a;
|
|
2080
2099
|
};
|
|
2081
|
-
var __spreadProps$
|
|
2100
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
2082
2101
|
var __objRest$8 = (source, exclude) => {
|
|
2083
2102
|
var target = {};
|
|
2084
2103
|
for (var prop in source)
|
|
2085
|
-
if (__hasOwnProp$
|
|
2104
|
+
if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2086
2105
|
target[prop] = source[prop];
|
|
2087
|
-
if (source != null && __getOwnPropSymbols$
|
|
2088
|
-
for (var prop of __getOwnPropSymbols$
|
|
2089
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2106
|
+
if (source != null && __getOwnPropSymbols$m)
|
|
2107
|
+
for (var prop of __getOwnPropSymbols$m(source)) {
|
|
2108
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
|
|
2090
2109
|
target[prop] = source[prop];
|
|
2091
2110
|
}
|
|
2092
2111
|
return target;
|
|
@@ -2103,7 +2122,7 @@
|
|
|
2103
2122
|
]);
|
|
2104
2123
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2105
2124
|
TextArea,
|
|
2106
|
-
__spreadProps$
|
|
2125
|
+
__spreadProps$j(__spreadValues$m(__spreadValues$m({}, input), props), {
|
|
2107
2126
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2108
2127
|
onFocus: (e) => {
|
|
2109
2128
|
input.onFocus(e);
|
|
@@ -2117,33 +2136,33 @@
|
|
|
2117
2136
|
));
|
|
2118
2137
|
};
|
|
2119
2138
|
|
|
2120
|
-
var __defProp$
|
|
2121
|
-
var __defProps$
|
|
2122
|
-
var __getOwnPropDescs$
|
|
2123
|
-
var __getOwnPropSymbols$
|
|
2124
|
-
var __hasOwnProp$
|
|
2125
|
-
var __propIsEnum$
|
|
2126
|
-
var __defNormalProp$
|
|
2127
|
-
var __spreadValues$
|
|
2139
|
+
var __defProp$l = Object.defineProperty;
|
|
2140
|
+
var __defProps$i = Object.defineProperties;
|
|
2141
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
2142
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
2143
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
2144
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
2145
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2146
|
+
var __spreadValues$l = (a, b) => {
|
|
2128
2147
|
for (var prop in b || (b = {}))
|
|
2129
|
-
if (__hasOwnProp$
|
|
2130
|
-
__defNormalProp$
|
|
2131
|
-
if (__getOwnPropSymbols$
|
|
2132
|
-
for (var prop of __getOwnPropSymbols$
|
|
2133
|
-
if (__propIsEnum$
|
|
2134
|
-
__defNormalProp$
|
|
2148
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
2149
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
2150
|
+
if (__getOwnPropSymbols$l)
|
|
2151
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
2152
|
+
if (__propIsEnum$l.call(b, prop))
|
|
2153
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
2135
2154
|
}
|
|
2136
2155
|
return a;
|
|
2137
2156
|
};
|
|
2138
|
-
var __spreadProps$
|
|
2157
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
2139
2158
|
var __objRest$7 = (source, exclude) => {
|
|
2140
2159
|
var target = {};
|
|
2141
2160
|
for (var prop in source)
|
|
2142
|
-
if (__hasOwnProp$
|
|
2161
|
+
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2143
2162
|
target[prop] = source[prop];
|
|
2144
|
-
if (source != null && __getOwnPropSymbols$
|
|
2145
|
-
for (var prop of __getOwnPropSymbols$
|
|
2146
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2163
|
+
if (source != null && __getOwnPropSymbols$l)
|
|
2164
|
+
for (var prop of __getOwnPropSymbols$l(source)) {
|
|
2165
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
|
|
2147
2166
|
target[prop] = source[prop];
|
|
2148
2167
|
}
|
|
2149
2168
|
return target;
|
|
@@ -2165,7 +2184,7 @@
|
|
|
2165
2184
|
}[size];
|
|
2166
2185
|
return /* @__PURE__ */ React.createElement(
|
|
2167
2186
|
antd.TimePicker,
|
|
2168
|
-
__spreadProps$
|
|
2187
|
+
__spreadProps$i(__spreadValues$l({}, props), {
|
|
2169
2188
|
size,
|
|
2170
2189
|
"data-test": props.name,
|
|
2171
2190
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2173,33 +2192,33 @@
|
|
|
2173
2192
|
);
|
|
2174
2193
|
};
|
|
2175
2194
|
|
|
2176
|
-
var __defProp$
|
|
2177
|
-
var __defProps$
|
|
2178
|
-
var __getOwnPropDescs$
|
|
2179
|
-
var __getOwnPropSymbols$
|
|
2180
|
-
var __hasOwnProp$
|
|
2181
|
-
var __propIsEnum$
|
|
2182
|
-
var __defNormalProp$
|
|
2183
|
-
var __spreadValues$
|
|
2195
|
+
var __defProp$k = Object.defineProperty;
|
|
2196
|
+
var __defProps$h = Object.defineProperties;
|
|
2197
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
2198
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
2199
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
2200
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
2201
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2202
|
+
var __spreadValues$k = (a, b) => {
|
|
2184
2203
|
for (var prop in b || (b = {}))
|
|
2185
|
-
if (__hasOwnProp$
|
|
2186
|
-
__defNormalProp$
|
|
2187
|
-
if (__getOwnPropSymbols$
|
|
2188
|
-
for (var prop of __getOwnPropSymbols$
|
|
2189
|
-
if (__propIsEnum$
|
|
2190
|
-
__defNormalProp$
|
|
2204
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
2205
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
2206
|
+
if (__getOwnPropSymbols$k)
|
|
2207
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
2208
|
+
if (__propIsEnum$k.call(b, prop))
|
|
2209
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
2191
2210
|
}
|
|
2192
2211
|
return a;
|
|
2193
2212
|
};
|
|
2194
|
-
var __spreadProps$
|
|
2213
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
2195
2214
|
var __objRest$6 = (source, exclude) => {
|
|
2196
2215
|
var target = {};
|
|
2197
2216
|
for (var prop in source)
|
|
2198
|
-
if (__hasOwnProp$
|
|
2217
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2199
2218
|
target[prop] = source[prop];
|
|
2200
|
-
if (source != null && __getOwnPropSymbols$
|
|
2201
|
-
for (var prop of __getOwnPropSymbols$
|
|
2202
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2219
|
+
if (source != null && __getOwnPropSymbols$k)
|
|
2220
|
+
for (var prop of __getOwnPropSymbols$k(source)) {
|
|
2221
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
|
|
2203
2222
|
target[prop] = source[prop];
|
|
2204
2223
|
}
|
|
2205
2224
|
return target;
|
|
@@ -2214,7 +2233,7 @@
|
|
|
2214
2233
|
]);
|
|
2215
2234
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2216
2235
|
TimePicker,
|
|
2217
|
-
__spreadValues$
|
|
2236
|
+
__spreadValues$k(__spreadProps$h(__spreadValues$k({}, input), {
|
|
2218
2237
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2219
2238
|
}), props)
|
|
2220
2239
|
));
|
|
@@ -2233,6 +2252,36 @@
|
|
|
2233
2252
|
DateTimeRange: FieldsDateTimeRange
|
|
2234
2253
|
};
|
|
2235
2254
|
|
|
2255
|
+
var __defProp$j = Object.defineProperty;
|
|
2256
|
+
var __defProps$g = Object.defineProperties;
|
|
2257
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
2258
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
2259
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
2260
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
2261
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, {
|
|
2262
|
+
enumerable: true,
|
|
2263
|
+
configurable: true,
|
|
2264
|
+
writable: true,
|
|
2265
|
+
value
|
|
2266
|
+
}) : obj[key] = value;
|
|
2267
|
+
var __spreadValues$j = (a, b) => {
|
|
2268
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
2269
|
+
if (__getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(b)) {
|
|
2270
|
+
if (__propIsEnum$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
2271
|
+
}
|
|
2272
|
+
return a;
|
|
2273
|
+
};
|
|
2274
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
2275
|
+
const FormItemStyle$1 = "f1p9ti6d";
|
|
2276
|
+
const FormItem$1 = props => {
|
|
2277
|
+
return /* @__PURE__ */React.createElement(AntdFormItem, __spreadProps$g(__spreadValues$j({}, props), {
|
|
2278
|
+
className: cs(FormItemStyle$1, props.className)
|
|
2279
|
+
}));
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
const Form = antd.Form;
|
|
2283
|
+
Form.Item = FormItem$1;
|
|
2284
|
+
|
|
2236
2285
|
const Frequency = ({
|
|
2237
2286
|
rawValue,
|
|
2238
2287
|
decimals,
|
|
@@ -2250,145 +2299,172 @@
|
|
|
2250
2299
|
const InputGroup = /*#__PURE__*/react.styled(_exp())({
|
|
2251
2300
|
name: "InputGroup",
|
|
2252
2301
|
class: "iiqau4c",
|
|
2253
|
-
propsAsIs: true
|
|
2254
|
-
});
|
|
2255
|
-
|
|
2256
|
-
var __defProp$i = Object.defineProperty;
|
|
2257
|
-
var __defProps$f = Object.defineProperties;
|
|
2258
|
-
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
2259
|
-
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
2260
|
-
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
2261
|
-
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
2262
|
-
var __defNormalProp$i = (obj,
|
|
2263
|
-
var __spreadValues$i = (a, b) => {
|
|
2264
|
-
for (var prop in b || (b = {}))
|
|
2265
|
-
if (__hasOwnProp$i.call(b, prop))
|
|
2266
|
-
__defNormalProp$i(a, prop, b[prop]);
|
|
2267
|
-
if (__getOwnPropSymbols$i)
|
|
2268
|
-
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
2269
|
-
if (__propIsEnum$i.call(b, prop))
|
|
2270
|
-
__defNormalProp$i(a, prop, b[prop]);
|
|
2271
|
-
}
|
|
2272
|
-
return a;
|
|
2273
|
-
};
|
|
2274
|
-
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
2275
|
-
function makeUUID(length = 25) {
|
|
2276
|
-
let result = "";
|
|
2277
|
-
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2278
|
-
const charactersLength = characters.length;
|
|
2279
|
-
for (let i = 0; i < length; i++) {
|
|
2280
|
-
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
2281
|
-
}
|
|
2282
|
-
return result;
|
|
2283
|
-
}
|
|
2284
|
-
class Batcher {
|
|
2285
|
-
constructor(originalMethod, batchHelper) {
|
|
2286
|
-
this.batchSize = 2;
|
|
2287
|
-
this.batchTime = 200;
|
|
2288
|
-
this.scheduler = {};
|
|
2289
|
-
this.originalMethod = originalMethod;
|
|
2290
|
-
this.batchHelper = batchHelper;
|
|
2291
|
-
}
|
|
2292
|
-
addMessage(originContent) {
|
|
2293
|
-
const batchKey = this.batchHelper.getBatchKey(originContent.content);
|
|
2294
|
-
if (batchKey == null) {
|
|
2295
|
-
this.originalMethod(originContent);
|
|
2296
|
-
return;
|
|
2297
|
-
}
|
|
2298
|
-
if (!this.scheduler[batchKey]) {
|
|
2299
|
-
this.scheduler[batchKey] = {
|
|
2300
|
-
firedHandlers: {},
|
|
2301
|
-
pendingMessages: {}
|
|
2302
|
-
};
|
|
2303
|
-
}
|
|
2304
|
-
const messageStore = this.scheduler[batchKey];
|
|
2305
|
-
const { firedHandlers, pendingMessages, groupedCtx } = messageStore;
|
|
2306
|
-
if (groupedCtx) {
|
|
2307
|
-
groupedCtx.count++;
|
|
2308
|
-
this.applyContent(batchKey, originContent, messageStore);
|
|
2309
|
-
return;
|
|
2310
|
-
}
|
|
2311
|
-
const messageCount = Object.keys(firedHandlers).length + Object.keys(pendingMessages).length;
|
|
2312
|
-
if (messageCount + 1 > this.batchSize) {
|
|
2313
|
-
for (const k in firedHandlers) {
|
|
2314
|
-
try {
|
|
2315
|
-
firedHandlers[k]();
|
|
2316
|
-
} catch (e) {
|
|
2317
|
-
}
|
|
2318
|
-
delete firedHandlers[k];
|
|
2319
|
-
}
|
|
2320
|
-
for (const k in pendingMessages) {
|
|
2321
|
-
delete pendingMessages[k];
|
|
2322
|
-
}
|
|
2323
|
-
messageStore.groupedCtx = {
|
|
2324
|
-
key: originContent.key,
|
|
2325
|
-
count: messageCount + 1
|
|
2326
|
-
};
|
|
2327
|
-
this.applyContent(batchKey, originContent, messageStore);
|
|
2328
|
-
return;
|
|
2302
|
+
propsAsIs: true
|
|
2303
|
+
});
|
|
2304
|
+
|
|
2305
|
+
var __defProp$i = Object.defineProperty;
|
|
2306
|
+
var __defProps$f = Object.defineProperties;
|
|
2307
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
2308
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
2309
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
2310
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
2311
|
+
var __defNormalProp$i = (obj, key2, value) => key2 in obj ? __defProp$i(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
2312
|
+
var __spreadValues$i = (a, b) => {
|
|
2313
|
+
for (var prop in b || (b = {}))
|
|
2314
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
2315
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
2316
|
+
if (__getOwnPropSymbols$i)
|
|
2317
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
2318
|
+
if (__propIsEnum$i.call(b, prop))
|
|
2319
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
2329
2320
|
}
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2321
|
+
return a;
|
|
2322
|
+
};
|
|
2323
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
2324
|
+
let messageInstance;
|
|
2325
|
+
let defaultDuration = 3;
|
|
2326
|
+
let defaultTop;
|
|
2327
|
+
let key = 1;
|
|
2328
|
+
let localPrefixCls = "ant-message";
|
|
2329
|
+
let transitionName = "move-up";
|
|
2330
|
+
let getContainer;
|
|
2331
|
+
let maxCount;
|
|
2332
|
+
let rtl = false;
|
|
2333
|
+
function setMessageConfig(options) {
|
|
2334
|
+
if (options.top !== void 0) {
|
|
2335
|
+
defaultTop = options.top;
|
|
2336
|
+
messageInstance = null;
|
|
2342
2337
|
}
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
batchKey,
|
|
2346
|
-
store.groupedCtx.count
|
|
2347
|
-
);
|
|
2348
|
-
content.key = store.groupedCtx.key;
|
|
2349
|
-
content.onClose = () => {
|
|
2350
|
-
delete store.groupedCtx;
|
|
2351
|
-
};
|
|
2352
|
-
this.originalMethod(content);
|
|
2338
|
+
if (options.duration !== void 0) {
|
|
2339
|
+
defaultDuration = options.duration;
|
|
2353
2340
|
}
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
if (batchHelper == null) {
|
|
2357
|
-
return antd.message;
|
|
2341
|
+
if (options.prefixCls !== void 0) {
|
|
2342
|
+
localPrefixCls = options.prefixCls;
|
|
2358
2343
|
}
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
const key = makeUUID();
|
|
2373
|
-
const content = normalizeContent(args, method);
|
|
2374
|
-
batcher.addMessage(__spreadProps$f(__spreadValues$i({}, content), { key }));
|
|
2375
|
-
return () => {
|
|
2376
|
-
};
|
|
2377
|
-
};
|
|
2344
|
+
if (options.getContainer !== void 0) {
|
|
2345
|
+
getContainer = options.getContainer;
|
|
2346
|
+
}
|
|
2347
|
+
if (options.transitionName !== void 0) {
|
|
2348
|
+
transitionName = options.transitionName;
|
|
2349
|
+
messageInstance = null;
|
|
2350
|
+
}
|
|
2351
|
+
if (options.maxCount !== void 0) {
|
|
2352
|
+
maxCount = options.maxCount;
|
|
2353
|
+
messageInstance = null;
|
|
2354
|
+
}
|
|
2355
|
+
if (options.rtl !== void 0) {
|
|
2356
|
+
rtl = options.rtl;
|
|
2378
2357
|
}
|
|
2379
|
-
return _message;
|
|
2380
2358
|
}
|
|
2381
|
-
function
|
|
2382
|
-
const
|
|
2383
|
-
if (
|
|
2384
|
-
|
|
2359
|
+
function getRCNotificationInstance(args, callback) {
|
|
2360
|
+
const prefixCls = args.prefixCls || localPrefixCls;
|
|
2361
|
+
if (messageInstance) {
|
|
2362
|
+
callback({
|
|
2363
|
+
prefixCls,
|
|
2364
|
+
instance: messageInstance
|
|
2365
|
+
});
|
|
2366
|
+
return;
|
|
2385
2367
|
}
|
|
2368
|
+
RCNotification.newInstance(
|
|
2369
|
+
{
|
|
2370
|
+
prefixCls,
|
|
2371
|
+
transitionName,
|
|
2372
|
+
style: { top: defaultTop },
|
|
2373
|
+
getContainer,
|
|
2374
|
+
maxCount
|
|
2375
|
+
},
|
|
2376
|
+
(instance) => {
|
|
2377
|
+
if (messageInstance) {
|
|
2378
|
+
callback({
|
|
2379
|
+
prefixCls,
|
|
2380
|
+
instance: messageInstance
|
|
2381
|
+
});
|
|
2382
|
+
return;
|
|
2383
|
+
}
|
|
2384
|
+
messageInstance = instance;
|
|
2385
|
+
callback({
|
|
2386
|
+
prefixCls,
|
|
2387
|
+
instance
|
|
2388
|
+
});
|
|
2389
|
+
}
|
|
2390
|
+
);
|
|
2391
|
+
}
|
|
2392
|
+
const typeToIcon = {
|
|
2393
|
+
info: InfoCircleFilled,
|
|
2394
|
+
success: CheckCircleFilled,
|
|
2395
|
+
error: CloseCircleFilled,
|
|
2396
|
+
warning: ExclamationCircleFilled,
|
|
2397
|
+
loading: LoadingOutlined
|
|
2398
|
+
};
|
|
2399
|
+
function getRCNoticeProps(args, prefixCls) {
|
|
2400
|
+
const duration = args.duration !== void 0 ? args.duration : defaultDuration;
|
|
2401
|
+
const IconComponent = args.type != null ? typeToIcon[args.type] : void 0;
|
|
2402
|
+
const messageClass = cs(`${prefixCls}-custom-content`, {
|
|
2403
|
+
[`${prefixCls}-${args.type}`]: args.type,
|
|
2404
|
+
[`${prefixCls}-rtl`]: rtl === true
|
|
2405
|
+
});
|
|
2386
2406
|
return {
|
|
2387
|
-
|
|
2388
|
-
duration
|
|
2389
|
-
|
|
2407
|
+
key: args.key,
|
|
2408
|
+
duration,
|
|
2409
|
+
style: args.style || {},
|
|
2410
|
+
className: args.className,
|
|
2411
|
+
content: /* @__PURE__ */ React__namespace.createElement("div", { className: messageClass }, args.icon || IconComponent && /* @__PURE__ */ React__namespace.createElement(IconComponent, null), /* @__PURE__ */ React__namespace.createElement("span", null, args.content)),
|
|
2412
|
+
onClose: args.onClose
|
|
2413
|
+
};
|
|
2414
|
+
}
|
|
2415
|
+
function notice(args) {
|
|
2416
|
+
const target = args.key || key++;
|
|
2417
|
+
const closePromise = new Promise((resolve) => {
|
|
2418
|
+
const callback = () => {
|
|
2419
|
+
if (typeof args.onClose === "function") {
|
|
2420
|
+
args.onClose();
|
|
2421
|
+
}
|
|
2422
|
+
return resolve(true);
|
|
2423
|
+
};
|
|
2424
|
+
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
2425
|
+
instance.notice(
|
|
2426
|
+
getRCNoticeProps(__spreadProps$f(__spreadValues$i({}, args), { key: target, onClose: callback }), prefixCls)
|
|
2427
|
+
);
|
|
2428
|
+
});
|
|
2429
|
+
});
|
|
2430
|
+
const result = () => {
|
|
2431
|
+
if (messageInstance) {
|
|
2432
|
+
messageInstance.removeNotice(target);
|
|
2433
|
+
}
|
|
2434
|
+
};
|
|
2435
|
+
result.then = (filled, rejected) => closePromise.then(filled, rejected);
|
|
2436
|
+
result.promise = closePromise;
|
|
2437
|
+
return result;
|
|
2438
|
+
}
|
|
2439
|
+
function isArgsProps(content) {
|
|
2440
|
+
return Object.prototype.toString.call(content) === "[object Object]" && !!content.content;
|
|
2441
|
+
}
|
|
2442
|
+
const api = {
|
|
2443
|
+
open: notice,
|
|
2444
|
+
config: setMessageConfig,
|
|
2445
|
+
destroy() {
|
|
2446
|
+
if (messageInstance) {
|
|
2447
|
+
messageInstance.destroy();
|
|
2448
|
+
messageInstance = null;
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
};
|
|
2452
|
+
function attachTypeApi(originalApi, type) {
|
|
2453
|
+
originalApi[type] = (content, duration, onClose) => {
|
|
2454
|
+
if (isArgsProps(content)) {
|
|
2455
|
+
return originalApi.open(__spreadProps$f(__spreadValues$i({}, content), { type }));
|
|
2456
|
+
}
|
|
2457
|
+
if (typeof duration === "function") {
|
|
2458
|
+
onClose = duration;
|
|
2459
|
+
duration = void 0;
|
|
2460
|
+
}
|
|
2461
|
+
return originalApi.open({ content, duration, type, onClose });
|
|
2390
2462
|
};
|
|
2391
2463
|
}
|
|
2464
|
+
["success", "info", "warning", "error", "loading"].forEach(
|
|
2465
|
+
(type) => attachTypeApi(api, type)
|
|
2466
|
+
);
|
|
2467
|
+
api.warn = api.warning;
|
|
2392
2468
|
|
|
2393
2469
|
var __defProp$h = Object.defineProperty;
|
|
2394
2470
|
var __defProps$e = Object.defineProperties;
|
|
@@ -3823,15 +3899,15 @@
|
|
|
3823
3899
|
checkbox: CheckboxColumnBodyCell
|
|
3824
3900
|
};
|
|
3825
3901
|
|
|
3826
|
-
const FormItemStyle
|
|
3827
|
-
const FormItem
|
|
3902
|
+
const FormItemStyle = "feau332";
|
|
3903
|
+
const FormItem = props => {
|
|
3828
3904
|
const {
|
|
3829
3905
|
validateStatus,
|
|
3830
3906
|
message,
|
|
3831
3907
|
children
|
|
3832
3908
|
} = props;
|
|
3833
3909
|
return /* @__PURE__ */React.createElement(antd.Form.Item, {
|
|
3834
|
-
className: FormItemStyle
|
|
3910
|
+
className: FormItemStyle,
|
|
3835
3911
|
validateStatus,
|
|
3836
3912
|
help: validateStatus && message ? message : void 0
|
|
3837
3913
|
}, children);
|
|
@@ -3973,7 +4049,7 @@
|
|
|
3973
4049
|
}
|
|
3974
4050
|
},
|
|
3975
4051
|
/* @__PURE__ */ React.createElement(
|
|
3976
|
-
FormItem
|
|
4052
|
+
FormItem,
|
|
3977
4053
|
{
|
|
3978
4054
|
validateStatus: isRowError || (validateResult == null ? void 0 : validateResult.isError) ? "error" : "",
|
|
3979
4055
|
message: isRowError ? "" : validateResult == null ? void 0 : validateResult.msg
|
|
@@ -4230,7 +4306,7 @@
|
|
|
4230
4306
|
},
|
|
4231
4307
|
/* @__PURE__ */ React.createElement("p", { className: core.cx(Typo.Label.l3_bold_title, TitleStyle) }, column.title),
|
|
4232
4308
|
disableBatchFilling ? null : /* @__PURE__ */ React.createElement(
|
|
4233
|
-
FormItem
|
|
4309
|
+
FormItem,
|
|
4234
4310
|
{
|
|
4235
4311
|
validateStatus: typeof errMsg === "string" && errMsg ? "error" : "",
|
|
4236
4312
|
message: errMsg || void 0
|
|
@@ -4559,36 +4635,6 @@
|
|
|
4559
4635
|
})));
|
|
4560
4636
|
};
|
|
4561
4637
|
|
|
4562
|
-
var __defProp$2 = Object.defineProperty;
|
|
4563
|
-
var __defProps$2 = Object.defineProperties;
|
|
4564
|
-
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
4565
|
-
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
4566
|
-
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
4567
|
-
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
4568
|
-
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
|
|
4569
|
-
enumerable: true,
|
|
4570
|
-
configurable: true,
|
|
4571
|
-
writable: true,
|
|
4572
|
-
value
|
|
4573
|
-
}) : obj[key] = value;
|
|
4574
|
-
var __spreadValues$2 = (a, b) => {
|
|
4575
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
4576
|
-
if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
|
|
4577
|
-
if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
4578
|
-
}
|
|
4579
|
-
return a;
|
|
4580
|
-
};
|
|
4581
|
-
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
4582
|
-
const FormItemStyle = "f1p9ti6d";
|
|
4583
|
-
const FormItem = props => {
|
|
4584
|
-
return /* @__PURE__ */React.createElement(AntdFormItem, __spreadProps$2(__spreadValues$2({}, props), {
|
|
4585
|
-
className: cs(FormItemStyle, props.className)
|
|
4586
|
-
}));
|
|
4587
|
-
};
|
|
4588
|
-
|
|
4589
|
-
const Form = antd.Form;
|
|
4590
|
-
Form.Item = FormItem;
|
|
4591
|
-
|
|
4592
4638
|
function getAntdKit() {
|
|
4593
4639
|
const kit = {
|
|
4594
4640
|
loading: Loading,
|
|
@@ -4639,7 +4685,7 @@
|
|
|
4639
4685
|
menuItemGroup: antd.Menu.ItemGroup,
|
|
4640
4686
|
layout: antd.Layout,
|
|
4641
4687
|
autoComplete: antd.AutoComplete,
|
|
4642
|
-
message:
|
|
4688
|
+
message: api,
|
|
4643
4689
|
tag: antd.Tag,
|
|
4644
4690
|
popover: antd.Popover,
|
|
4645
4691
|
arch: Arch,
|
|
@@ -4724,6 +4770,140 @@
|
|
|
4724
4770
|
}, refetchText || t("common.retry")));
|
|
4725
4771
|
};
|
|
4726
4772
|
|
|
4773
|
+
var __defProp$2 = Object.defineProperty;
|
|
4774
|
+
var __defProps$2 = Object.defineProperties;
|
|
4775
|
+
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
4776
|
+
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
4777
|
+
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
4778
|
+
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
4779
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4780
|
+
var __spreadValues$2 = (a, b) => {
|
|
4781
|
+
for (var prop in b || (b = {}))
|
|
4782
|
+
if (__hasOwnProp$2.call(b, prop))
|
|
4783
|
+
__defNormalProp$2(a, prop, b[prop]);
|
|
4784
|
+
if (__getOwnPropSymbols$2)
|
|
4785
|
+
for (var prop of __getOwnPropSymbols$2(b)) {
|
|
4786
|
+
if (__propIsEnum$2.call(b, prop))
|
|
4787
|
+
__defNormalProp$2(a, prop, b[prop]);
|
|
4788
|
+
}
|
|
4789
|
+
return a;
|
|
4790
|
+
};
|
|
4791
|
+
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
4792
|
+
function makeUUID(length = 25) {
|
|
4793
|
+
let result = "";
|
|
4794
|
+
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
4795
|
+
const charactersLength = characters.length;
|
|
4796
|
+
for (let i = 0; i < length; i++) {
|
|
4797
|
+
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
4798
|
+
}
|
|
4799
|
+
return result;
|
|
4800
|
+
}
|
|
4801
|
+
class Batcher {
|
|
4802
|
+
constructor(originalMethod, batchHelper) {
|
|
4803
|
+
this.batchSize = 2;
|
|
4804
|
+
this.batchTime = 200;
|
|
4805
|
+
this.scheduler = {};
|
|
4806
|
+
this.originalMethod = originalMethod;
|
|
4807
|
+
this.batchHelper = batchHelper;
|
|
4808
|
+
}
|
|
4809
|
+
addMessage(originContent) {
|
|
4810
|
+
const batchKey = this.batchHelper.getBatchKey(originContent.content);
|
|
4811
|
+
if (batchKey == null) {
|
|
4812
|
+
this.originalMethod(originContent);
|
|
4813
|
+
return;
|
|
4814
|
+
}
|
|
4815
|
+
if (!this.scheduler[batchKey]) {
|
|
4816
|
+
this.scheduler[batchKey] = {
|
|
4817
|
+
firedHandlers: {},
|
|
4818
|
+
pendingMessages: {}
|
|
4819
|
+
};
|
|
4820
|
+
}
|
|
4821
|
+
const messageStore = this.scheduler[batchKey];
|
|
4822
|
+
const { firedHandlers, pendingMessages, groupedCtx } = messageStore;
|
|
4823
|
+
if (groupedCtx) {
|
|
4824
|
+
groupedCtx.count++;
|
|
4825
|
+
this.applyContent(batchKey, originContent, messageStore);
|
|
4826
|
+
return;
|
|
4827
|
+
}
|
|
4828
|
+
const messageCount = Object.keys(firedHandlers).length + Object.keys(pendingMessages).length;
|
|
4829
|
+
if (messageCount + 1 > this.batchSize) {
|
|
4830
|
+
for (const k in firedHandlers) {
|
|
4831
|
+
try {
|
|
4832
|
+
firedHandlers[k]();
|
|
4833
|
+
} catch (e) {
|
|
4834
|
+
}
|
|
4835
|
+
delete firedHandlers[k];
|
|
4836
|
+
}
|
|
4837
|
+
for (const k in pendingMessages) {
|
|
4838
|
+
delete pendingMessages[k];
|
|
4839
|
+
}
|
|
4840
|
+
messageStore.groupedCtx = {
|
|
4841
|
+
key: originContent.key,
|
|
4842
|
+
count: messageCount + 1
|
|
4843
|
+
};
|
|
4844
|
+
this.applyContent(batchKey, originContent, messageStore);
|
|
4845
|
+
return;
|
|
4846
|
+
}
|
|
4847
|
+
pendingMessages[originContent.key] = originContent;
|
|
4848
|
+
setTimeout(() => {
|
|
4849
|
+
if (originContent.key in pendingMessages) {
|
|
4850
|
+
delete pendingMessages[originContent.key];
|
|
4851
|
+
originContent.onClose = () => {
|
|
4852
|
+
delete firedHandlers[originContent.key];
|
|
4853
|
+
delete messageStore.groupedCtx;
|
|
4854
|
+
};
|
|
4855
|
+
const handler = this.originalMethod(originContent);
|
|
4856
|
+
firedHandlers[originContent.key] = handler;
|
|
4857
|
+
}
|
|
4858
|
+
}, this.batchTime);
|
|
4859
|
+
}
|
|
4860
|
+
applyContent(batchKey, content, store) {
|
|
4861
|
+
content.content = this.batchHelper.getBatchContent(
|
|
4862
|
+
batchKey,
|
|
4863
|
+
store.groupedCtx.count
|
|
4864
|
+
);
|
|
4865
|
+
content.key = store.groupedCtx.key;
|
|
4866
|
+
content.onClose = () => {
|
|
4867
|
+
delete store.groupedCtx;
|
|
4868
|
+
};
|
|
4869
|
+
this.originalMethod(content);
|
|
4870
|
+
}
|
|
4871
|
+
}
|
|
4872
|
+
function createBatchMessageMethods(message, batchHelper) {
|
|
4873
|
+
let _message = __spreadValues$2({}, message);
|
|
4874
|
+
const methods = [
|
|
4875
|
+
"success",
|
|
4876
|
+
"error",
|
|
4877
|
+
"info",
|
|
4878
|
+
"warning",
|
|
4879
|
+
"warn",
|
|
4880
|
+
"loading"
|
|
4881
|
+
];
|
|
4882
|
+
for (const method of methods) {
|
|
4883
|
+
const originalMethod = _message[method];
|
|
4884
|
+
const batcher = new Batcher(originalMethod, batchHelper);
|
|
4885
|
+
_message[method] = function(...args) {
|
|
4886
|
+
const key = makeUUID();
|
|
4887
|
+
const content = normalizeContent(args, method);
|
|
4888
|
+
batcher.addMessage(__spreadProps$2(__spreadValues$2({}, content), { key }));
|
|
4889
|
+
return () => {
|
|
4890
|
+
};
|
|
4891
|
+
};
|
|
4892
|
+
}
|
|
4893
|
+
return _message;
|
|
4894
|
+
}
|
|
4895
|
+
function normalizeContent(args, type) {
|
|
4896
|
+
const c = args[0];
|
|
4897
|
+
if (c && typeof c === "object" && "content" in c) {
|
|
4898
|
+
return c;
|
|
4899
|
+
}
|
|
4900
|
+
return {
|
|
4901
|
+
content: c,
|
|
4902
|
+
duration: typeof args[1] === "number" ? args[1] : 6,
|
|
4903
|
+
type: type === "warn" ? "warning" : type
|
|
4904
|
+
};
|
|
4905
|
+
}
|
|
4906
|
+
|
|
4727
4907
|
function getRangeTimestamp(dateRange) {
|
|
4728
4908
|
const [startDate, endDate] = dateRange;
|
|
4729
4909
|
return endDate.valueOf() - startDate.valueOf();
|
|
@@ -4813,24 +4993,18 @@
|
|
|
4813
4993
|
getPopupContainer
|
|
4814
4994
|
} = props;
|
|
4815
4995
|
const _kit = React.useMemo(() => {
|
|
4816
|
-
var _a, _b;
|
|
4817
4996
|
if ((message == null ? void 0 : message.batch) != null) {
|
|
4818
4997
|
return __spreadProps(__spreadValues({}, kit), {
|
|
4819
|
-
message:
|
|
4820
|
-
config: {
|
|
4821
|
-
maxCount: (_a = message == null ? void 0 : message.config) == null ? void 0 : _a.maxCount
|
|
4822
|
-
}
|
|
4823
|
-
})
|
|
4998
|
+
message: createBatchMessageMethods(api, message.batch)
|
|
4824
4999
|
});
|
|
4825
5000
|
}
|
|
4826
|
-
return
|
|
4827
|
-
message: __spreadProps(__spreadValues({}, createBatchMessageMethods()), {
|
|
4828
|
-
config: {
|
|
4829
|
-
maxCount: (_b = message == null ? void 0 : message.config) == null ? void 0 : _b.maxCount
|
|
4830
|
-
}
|
|
4831
|
-
})
|
|
4832
|
-
});
|
|
5001
|
+
return kit;
|
|
4833
5002
|
}, [kit, message == null ? void 0 : message.batch]);
|
|
5003
|
+
React.useEffect(() => {
|
|
5004
|
+
api.config({
|
|
5005
|
+
maxCount: message == null ? void 0 : message.maxCount
|
|
5006
|
+
});
|
|
5007
|
+
}, [message == null ? void 0 : message.maxCount]);
|
|
4834
5008
|
React.useEffect(() => {
|
|
4835
5009
|
if (parrot.parrotI18n.language !== lng) {
|
|
4836
5010
|
parrot.parrotI18n.changeLanguage(lng);
|