@cloudtower/eagle 0.25.5 → 0.25.7
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 +3 -0
- package/dist/components.css +496 -449
- package/dist/esm/index.js +756 -714
- package/dist/esm/stats1.html +1 -1
- package/dist/style.css +416 -369
- package/dist/umd/index.js +758 -717
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
package/dist/umd/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('antd'), require('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('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', '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.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, redux, reactRedux, iconsReact, reactBeautifulDnd, TimeZones, dayjs, recharts, enUS, zhCN) { 'use strict';
|
|
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('antd/lib/form/FormItem'), 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', 'redux', 'react-redux', '@cloudtower/icons-react', 'react-beautiful-dnd', 'timezones.json', 'antd/lib/form/FormItem', '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.redux, global.reactRedux, global.iconsReact, global.reactBeautifulDnd, global.TimeZones, global.AntdFormItem, global.dayjs, null, global.enUS, global.zhCN));
|
|
5
|
+
})(this, (function (exports, antd, React, cs, _, reactSvgUniqueId, parrot, reactI18next, core, react, moment, reactDom, reactIs, icons, redux, reactRedux, iconsReact, reactBeautifulDnd, TimeZones, AntdFormItem, dayjs, recharts, enUS, zhCN) { 'use strict';
|
|
6
6
|
|
|
7
7
|
const EMPTY_FUNCTION = () => {
|
|
8
8
|
};
|
|
@@ -221,30 +221,30 @@
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
var __defProp$
|
|
225
|
-
var __getOwnPropSymbols$
|
|
226
|
-
var __hasOwnProp$
|
|
227
|
-
var __propIsEnum$
|
|
228
|
-
var __defNormalProp$
|
|
229
|
-
var __spreadValues$
|
|
224
|
+
var __defProp$F = Object.defineProperty;
|
|
225
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
226
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
227
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
228
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
229
|
+
var __spreadValues$F = (a, b) => {
|
|
230
230
|
for (var prop in b || (b = {}))
|
|
231
|
-
if (__hasOwnProp$
|
|
232
|
-
__defNormalProp$
|
|
233
|
-
if (__getOwnPropSymbols$
|
|
234
|
-
for (var prop of __getOwnPropSymbols$
|
|
235
|
-
if (__propIsEnum$
|
|
236
|
-
__defNormalProp$
|
|
231
|
+
if (__hasOwnProp$G.call(b, prop))
|
|
232
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
233
|
+
if (__getOwnPropSymbols$G)
|
|
234
|
+
for (var prop of __getOwnPropSymbols$G(b)) {
|
|
235
|
+
if (__propIsEnum$G.call(b, prop))
|
|
236
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
237
237
|
}
|
|
238
238
|
return a;
|
|
239
239
|
};
|
|
240
240
|
var __objRest$s = (source, exclude) => {
|
|
241
241
|
var target = {};
|
|
242
242
|
for (var prop in source)
|
|
243
|
-
if (__hasOwnProp$
|
|
243
|
+
if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
244
244
|
target[prop] = source[prop];
|
|
245
|
-
if (source != null && __getOwnPropSymbols$
|
|
246
|
-
for (var prop of __getOwnPropSymbols$
|
|
247
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
245
|
+
if (source != null && __getOwnPropSymbols$G)
|
|
246
|
+
for (var prop of __getOwnPropSymbols$G(source)) {
|
|
247
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
|
|
248
248
|
target[prop] = source[prop];
|
|
249
249
|
}
|
|
250
250
|
return target;
|
|
@@ -276,10 +276,10 @@
|
|
|
276
276
|
]);
|
|
277
277
|
return /* @__PURE__ */ React.createElement(
|
|
278
278
|
"span",
|
|
279
|
-
__spreadValues$
|
|
279
|
+
__spreadValues$F({
|
|
280
280
|
ref,
|
|
281
281
|
className,
|
|
282
|
-
style: _.pickBy(__spreadValues$
|
|
282
|
+
style: _.pickBy(__spreadValues$F({ cursor }, style))
|
|
283
283
|
}, HTMLSpanElementProps),
|
|
284
284
|
prefixNode,
|
|
285
285
|
/* @__PURE__ */ React.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React.createElement(reactSvgUniqueId.SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -289,31 +289,31 @@
|
|
|
289
289
|
}
|
|
290
290
|
);
|
|
291
291
|
|
|
292
|
-
var __defProp$
|
|
293
|
-
var __defProps$
|
|
294
|
-
var __getOwnPropDescs$
|
|
295
|
-
var __getOwnPropSymbols$
|
|
296
|
-
var __hasOwnProp$
|
|
297
|
-
var __propIsEnum$
|
|
298
|
-
var __defNormalProp$
|
|
292
|
+
var __defProp$E = Object.defineProperty;
|
|
293
|
+
var __defProps$w = Object.defineProperties;
|
|
294
|
+
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
295
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
296
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
297
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
298
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, {
|
|
299
299
|
enumerable: true,
|
|
300
300
|
configurable: true,
|
|
301
301
|
writable: true,
|
|
302
302
|
value
|
|
303
303
|
}) : obj[key] = value;
|
|
304
|
-
var __spreadValues$
|
|
305
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
306
|
-
if (__getOwnPropSymbols$
|
|
307
|
-
if (__propIsEnum$
|
|
304
|
+
var __spreadValues$E = (a, b) => {
|
|
305
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$F.call(b, prop)) __defNormalProp$E(a, prop, b[prop]);
|
|
306
|
+
if (__getOwnPropSymbols$F) for (var prop of __getOwnPropSymbols$F(b)) {
|
|
307
|
+
if (__propIsEnum$F.call(b, prop)) __defNormalProp$E(a, prop, b[prop]);
|
|
308
308
|
}
|
|
309
309
|
return a;
|
|
310
310
|
};
|
|
311
|
-
var __spreadProps$
|
|
311
|
+
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
312
312
|
var __objRest$r = (source, exclude) => {
|
|
313
313
|
var target = {};
|
|
314
|
-
for (var prop in source) if (__hasOwnProp$
|
|
315
|
-
if (source != null && __getOwnPropSymbols$
|
|
316
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
314
|
+
for (var prop in source) if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
315
|
+
if (source != null && __getOwnPropSymbols$F) for (var prop of __getOwnPropSymbols$F(source)) {
|
|
316
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop)) target[prop] = source[prop];
|
|
317
317
|
}
|
|
318
318
|
return target;
|
|
319
319
|
};
|
|
@@ -365,14 +365,14 @@
|
|
|
365
365
|
}
|
|
366
366
|
return src2;
|
|
367
367
|
}, [active, hover, suffix]);
|
|
368
|
-
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$
|
|
368
|
+
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$w(__spreadValues$E({
|
|
369
369
|
src: _src,
|
|
370
370
|
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
371
371
|
suffixIconSrc,
|
|
372
372
|
height: iconHeight,
|
|
373
373
|
width: iconWidth,
|
|
374
374
|
prefixNode: prefix,
|
|
375
|
-
style: _.pickBy(__spreadValues$
|
|
375
|
+
style: _.pickBy(__spreadValues$E({
|
|
376
376
|
cursor
|
|
377
377
|
}, style))
|
|
378
378
|
}, restProps), {
|
|
@@ -397,33 +397,33 @@
|
|
|
397
397
|
}));
|
|
398
398
|
});
|
|
399
399
|
|
|
400
|
-
var __defProp$
|
|
401
|
-
var __defProps$
|
|
402
|
-
var __getOwnPropDescs$
|
|
403
|
-
var __getOwnPropSymbols$
|
|
404
|
-
var __hasOwnProp$
|
|
405
|
-
var __propIsEnum$
|
|
406
|
-
var __defNormalProp$
|
|
407
|
-
var __spreadValues$
|
|
400
|
+
var __defProp$D = Object.defineProperty;
|
|
401
|
+
var __defProps$v = Object.defineProperties;
|
|
402
|
+
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
403
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
404
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
405
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
406
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
407
|
+
var __spreadValues$D = (a, b) => {
|
|
408
408
|
for (var prop in b || (b = {}))
|
|
409
|
-
if (__hasOwnProp$
|
|
410
|
-
__defNormalProp$
|
|
411
|
-
if (__getOwnPropSymbols$
|
|
412
|
-
for (var prop of __getOwnPropSymbols$
|
|
413
|
-
if (__propIsEnum$
|
|
414
|
-
__defNormalProp$
|
|
409
|
+
if (__hasOwnProp$E.call(b, prop))
|
|
410
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
411
|
+
if (__getOwnPropSymbols$E)
|
|
412
|
+
for (var prop of __getOwnPropSymbols$E(b)) {
|
|
413
|
+
if (__propIsEnum$E.call(b, prop))
|
|
414
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
415
415
|
}
|
|
416
416
|
return a;
|
|
417
417
|
};
|
|
418
|
-
var __spreadProps$
|
|
418
|
+
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
419
419
|
var __objRest$q = (source, exclude) => {
|
|
420
420
|
var target = {};
|
|
421
421
|
for (var prop in source)
|
|
422
|
-
if (__hasOwnProp$
|
|
422
|
+
if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
423
423
|
target[prop] = source[prop];
|
|
424
|
-
if (source != null && __getOwnPropSymbols$
|
|
425
|
-
for (var prop of __getOwnPropSymbols$
|
|
426
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
424
|
+
if (source != null && __getOwnPropSymbols$E)
|
|
425
|
+
for (var prop of __getOwnPropSymbols$E(source)) {
|
|
426
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
|
|
427
427
|
target[prop] = source[prop];
|
|
428
428
|
}
|
|
429
429
|
return target;
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
const _type = type === "normal" ? "info" : type;
|
|
449
449
|
return /* @__PURE__ */ React.createElement(
|
|
450
450
|
antd.Alert,
|
|
451
|
-
__spreadProps$
|
|
451
|
+
__spreadProps$v(__spreadValues$D({}, props), {
|
|
452
452
|
className: cs(type ? `alert-${type}` : "", className),
|
|
453
453
|
type: _type,
|
|
454
454
|
icon: icon || _icon,
|
|
@@ -476,33 +476,33 @@
|
|
|
476
476
|
return /* @__PURE__ */ React.createElement("span", null, text);
|
|
477
477
|
};
|
|
478
478
|
|
|
479
|
-
var __defProp$
|
|
480
|
-
var __defProps$
|
|
481
|
-
var __getOwnPropDescs$
|
|
482
|
-
var __getOwnPropSymbols$
|
|
483
|
-
var __hasOwnProp$
|
|
484
|
-
var __propIsEnum$
|
|
485
|
-
var __defNormalProp$
|
|
486
|
-
var __spreadValues$
|
|
479
|
+
var __defProp$C = Object.defineProperty;
|
|
480
|
+
var __defProps$u = Object.defineProperties;
|
|
481
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
482
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
483
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
484
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
485
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
486
|
+
var __spreadValues$C = (a, b) => {
|
|
487
487
|
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$
|
|
488
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
489
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
490
|
+
if (__getOwnPropSymbols$D)
|
|
491
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
492
|
+
if (__propIsEnum$D.call(b, prop))
|
|
493
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
494
494
|
}
|
|
495
495
|
return a;
|
|
496
496
|
};
|
|
497
|
-
var __spreadProps$
|
|
497
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
498
498
|
var __objRest$p = (source, exclude) => {
|
|
499
499
|
var target = {};
|
|
500
500
|
for (var prop in source)
|
|
501
|
-
if (__hasOwnProp$
|
|
501
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
502
502
|
target[prop] = source[prop];
|
|
503
|
-
if (source != null && __getOwnPropSymbols$
|
|
504
|
-
for (var prop of __getOwnPropSymbols$
|
|
505
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
503
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
504
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
505
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
506
506
|
target[prop] = source[prop];
|
|
507
507
|
}
|
|
508
508
|
return target;
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
var _b = _a, { type = "error", className } = _b, props = __objRest$p(_b, ["type", "className"]);
|
|
512
512
|
return /* @__PURE__ */ React.createElement(
|
|
513
513
|
antd.Badge,
|
|
514
|
-
__spreadProps$
|
|
514
|
+
__spreadProps$u(__spreadValues$C({
|
|
515
515
|
className: core.cx(`badge-${type}`, className)
|
|
516
516
|
}, props), {
|
|
517
517
|
showZero: false
|
|
@@ -692,28 +692,28 @@
|
|
|
692
692
|
return icon != null ? React.cloneElement(icon, { className }) : null;
|
|
693
693
|
};
|
|
694
694
|
|
|
695
|
-
var __defProp$
|
|
696
|
-
var __getOwnPropSymbols$
|
|
697
|
-
var __hasOwnProp$
|
|
698
|
-
var __propIsEnum$
|
|
699
|
-
var __defNormalProp$
|
|
695
|
+
var __defProp$B = Object.defineProperty;
|
|
696
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
697
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
698
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
699
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, {
|
|
700
700
|
enumerable: true,
|
|
701
701
|
configurable: true,
|
|
702
702
|
writable: true,
|
|
703
703
|
value
|
|
704
704
|
}) : obj[key] = value;
|
|
705
|
-
var __spreadValues$
|
|
706
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
707
|
-
if (__getOwnPropSymbols$
|
|
708
|
-
if (__propIsEnum$
|
|
705
|
+
var __spreadValues$B = (a, b) => {
|
|
706
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$C.call(b, prop)) __defNormalProp$B(a, prop, b[prop]);
|
|
707
|
+
if (__getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(b)) {
|
|
708
|
+
if (__propIsEnum$C.call(b, prop)) __defNormalProp$B(a, prop, b[prop]);
|
|
709
709
|
}
|
|
710
710
|
return a;
|
|
711
711
|
};
|
|
712
712
|
var __objRest$o = (source, exclude) => {
|
|
713
713
|
var target = {};
|
|
714
|
-
for (var prop in source) if (__hasOwnProp$
|
|
715
|
-
if (source != null && __getOwnPropSymbols$
|
|
716
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
714
|
+
for (var prop in source) if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
715
|
+
if (source != null && __getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(source)) {
|
|
716
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop)) target[prop] = source[prop];
|
|
717
717
|
}
|
|
718
718
|
return target;
|
|
719
719
|
};
|
|
@@ -740,7 +740,7 @@
|
|
|
740
740
|
const [status, setStatus] = React.useState("normal");
|
|
741
741
|
const hasIcon = prefixIcon || suffixIcon;
|
|
742
742
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
743
|
-
return /* @__PURE__ */React.createElement(antd.Button, __spreadValues$
|
|
743
|
+
return /* @__PURE__ */React.createElement(antd.Button, __spreadValues$B({
|
|
744
744
|
ref,
|
|
745
745
|
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
746
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -770,33 +770,33 @@
|
|
|
770
770
|
}));
|
|
771
771
|
});
|
|
772
772
|
|
|
773
|
-
var __defProp$
|
|
774
|
-
var __defProps$
|
|
775
|
-
var __getOwnPropDescs$
|
|
776
|
-
var __getOwnPropSymbols$
|
|
777
|
-
var __hasOwnProp$
|
|
778
|
-
var __propIsEnum$
|
|
779
|
-
var __defNormalProp$
|
|
780
|
-
var __spreadValues$
|
|
773
|
+
var __defProp$A = Object.defineProperty;
|
|
774
|
+
var __defProps$t = Object.defineProperties;
|
|
775
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
776
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
777
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
778
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
779
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
780
|
+
var __spreadValues$A = (a, b) => {
|
|
781
781
|
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$
|
|
782
|
+
if (__hasOwnProp$B.call(b, prop))
|
|
783
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
784
|
+
if (__getOwnPropSymbols$B)
|
|
785
|
+
for (var prop of __getOwnPropSymbols$B(b)) {
|
|
786
|
+
if (__propIsEnum$B.call(b, prop))
|
|
787
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
788
788
|
}
|
|
789
789
|
return a;
|
|
790
790
|
};
|
|
791
|
-
var __spreadProps$
|
|
791
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
792
792
|
var __objRest$n = (source, exclude) => {
|
|
793
793
|
var target = {};
|
|
794
794
|
for (var prop in source)
|
|
795
|
-
if (__hasOwnProp$
|
|
795
|
+
if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
796
796
|
target[prop] = source[prop];
|
|
797
|
-
if (source != null && __getOwnPropSymbols$
|
|
798
|
-
for (var prop of __getOwnPropSymbols$
|
|
799
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
797
|
+
if (source != null && __getOwnPropSymbols$B)
|
|
798
|
+
for (var prop of __getOwnPropSymbols$B(source)) {
|
|
799
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop))
|
|
800
800
|
target[prop] = source[prop];
|
|
801
801
|
}
|
|
802
802
|
return target;
|
|
@@ -850,10 +850,10 @@
|
|
|
850
850
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
851
851
|
return /* @__PURE__ */ React.createElement(
|
|
852
852
|
antd.Tooltip,
|
|
853
|
-
__spreadProps$
|
|
853
|
+
__spreadProps$t(__spreadValues$A({}, restProps), {
|
|
854
854
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
855
855
|
children: _children,
|
|
856
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
856
|
+
overlayStyle: followMouse ? __spreadValues$A({
|
|
857
857
|
transform: "translate(-50%, -100%)",
|
|
858
858
|
pointerEvents: "none"
|
|
859
859
|
}, overlayStyle) : overlayStyle
|
|
@@ -861,28 +861,28 @@
|
|
|
861
861
|
);
|
|
862
862
|
};
|
|
863
863
|
|
|
864
|
-
var __defProp$
|
|
865
|
-
var __getOwnPropSymbols$
|
|
866
|
-
var __hasOwnProp$
|
|
867
|
-
var __propIsEnum$
|
|
868
|
-
var __defNormalProp$
|
|
864
|
+
var __defProp$z = Object.defineProperty;
|
|
865
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
866
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
867
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
868
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, {
|
|
869
869
|
enumerable: true,
|
|
870
870
|
configurable: true,
|
|
871
871
|
writable: true,
|
|
872
872
|
value
|
|
873
873
|
}) : obj[key] = value;
|
|
874
|
-
var __spreadValues$
|
|
875
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
876
|
-
if (__getOwnPropSymbols$
|
|
877
|
-
if (__propIsEnum$
|
|
874
|
+
var __spreadValues$z = (a, b) => {
|
|
875
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
876
|
+
if (__getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(b)) {
|
|
877
|
+
if (__propIsEnum$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
878
878
|
}
|
|
879
879
|
return a;
|
|
880
880
|
};
|
|
881
881
|
var __objRest$m = (source, exclude) => {
|
|
882
882
|
var target = {};
|
|
883
|
-
for (var prop in source) if (__hasOwnProp$
|
|
884
|
-
if (source != null && __getOwnPropSymbols$
|
|
885
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
883
|
+
for (var prop in source) if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
884
|
+
if (source != null && __getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(source)) {
|
|
885
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop)) target[prop] = source[prop];
|
|
886
886
|
}
|
|
887
887
|
return target;
|
|
888
888
|
};
|
|
@@ -926,7 +926,7 @@
|
|
|
926
926
|
style: {
|
|
927
927
|
cursor: "not-allowed"
|
|
928
928
|
}
|
|
929
|
-
}, /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
929
|
+
}, /* @__PURE__ */React.createElement(Button, __spreadValues$z({
|
|
930
930
|
style: {
|
|
931
931
|
pointerEvents: "none"
|
|
932
932
|
},
|
|
@@ -936,7 +936,7 @@
|
|
|
936
936
|
ghost,
|
|
937
937
|
className: core.cx(ButtonStyle, className2),
|
|
938
938
|
prefixIcon: icon
|
|
939
|
-
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
939
|
+
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$z({
|
|
940
940
|
type,
|
|
941
941
|
size,
|
|
942
942
|
danger,
|
|
@@ -945,7 +945,7 @@
|
|
|
945
945
|
prefixIcon: icon
|
|
946
946
|
}, buttonPropArgs)));
|
|
947
947
|
}
|
|
948
|
-
return /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
948
|
+
return /* @__PURE__ */React.createElement(Button, __spreadValues$z({
|
|
949
949
|
key: key || index,
|
|
950
950
|
type,
|
|
951
951
|
size,
|
|
@@ -980,31 +980,31 @@
|
|
|
980
980
|
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
981
|
};
|
|
982
982
|
|
|
983
|
-
var __defProp$
|
|
984
|
-
var __defProps$
|
|
985
|
-
var __getOwnPropDescs$
|
|
986
|
-
var __getOwnPropSymbols$
|
|
987
|
-
var __hasOwnProp$
|
|
988
|
-
var __propIsEnum$
|
|
989
|
-
var __defNormalProp$
|
|
983
|
+
var __defProp$y = Object.defineProperty;
|
|
984
|
+
var __defProps$s = Object.defineProperties;
|
|
985
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
986
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
987
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
988
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
989
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, {
|
|
990
990
|
enumerable: true,
|
|
991
991
|
configurable: true,
|
|
992
992
|
writable: true,
|
|
993
993
|
value
|
|
994
994
|
}) : obj[key] = value;
|
|
995
|
-
var __spreadValues$
|
|
996
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
997
|
-
if (__getOwnPropSymbols$
|
|
998
|
-
if (__propIsEnum$
|
|
995
|
+
var __spreadValues$y = (a, b) => {
|
|
996
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$z.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
997
|
+
if (__getOwnPropSymbols$z) for (var prop of __getOwnPropSymbols$z(b)) {
|
|
998
|
+
if (__propIsEnum$z.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
999
999
|
}
|
|
1000
1000
|
return a;
|
|
1001
1001
|
};
|
|
1002
|
-
var __spreadProps$
|
|
1002
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
1003
1003
|
var __objRest$l = (source, exclude) => {
|
|
1004
1004
|
var target = {};
|
|
1005
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1006
|
-
if (source != null && __getOwnPropSymbols$
|
|
1007
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1005
|
+
for (var prop in source) if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1006
|
+
if (source != null && __getOwnPropSymbols$z) for (var prop of __getOwnPropSymbols$z(source)) {
|
|
1007
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop)) target[prop] = source[prop];
|
|
1008
1008
|
}
|
|
1009
1009
|
return target;
|
|
1010
1010
|
};
|
|
@@ -1018,7 +1018,7 @@
|
|
|
1018
1018
|
compact
|
|
1019
1019
|
} = _b,
|
|
1020
1020
|
props = __objRest$l(_b, ["className", "children", "description", "compact"]);
|
|
1021
|
-
return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$
|
|
1021
|
+
return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$s(__spreadValues$y({}, props), {
|
|
1022
1022
|
"data-test": props["data-test"] || props.value,
|
|
1023
1023
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
1024
1024
|
}), children ? /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement("div", {
|
|
@@ -1028,30 +1028,30 @@
|
|
|
1028
1028
|
}, description) : null) : null);
|
|
1029
1029
|
};
|
|
1030
1030
|
|
|
1031
|
-
var __defProp$
|
|
1032
|
-
var __getOwnPropSymbols$
|
|
1033
|
-
var __hasOwnProp$
|
|
1034
|
-
var __propIsEnum$
|
|
1035
|
-
var __defNormalProp$
|
|
1036
|
-
var __spreadValues$
|
|
1031
|
+
var __defProp$x = Object.defineProperty;
|
|
1032
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
1033
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
1034
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
1035
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1036
|
+
var __spreadValues$x = (a, b) => {
|
|
1037
1037
|
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$
|
|
1038
|
+
if (__hasOwnProp$y.call(b, prop))
|
|
1039
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
1040
|
+
if (__getOwnPropSymbols$y)
|
|
1041
|
+
for (var prop of __getOwnPropSymbols$y(b)) {
|
|
1042
|
+
if (__propIsEnum$y.call(b, prop))
|
|
1043
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
1044
1044
|
}
|
|
1045
1045
|
return a;
|
|
1046
1046
|
};
|
|
1047
1047
|
var __objRest$k = (source, exclude) => {
|
|
1048
1048
|
var target = {};
|
|
1049
1049
|
for (var prop in source)
|
|
1050
|
-
if (__hasOwnProp$
|
|
1050
|
+
if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1051
1051
|
target[prop] = source[prop];
|
|
1052
|
-
if (source != null && __getOwnPropSymbols$
|
|
1053
|
-
for (var prop of __getOwnPropSymbols$
|
|
1054
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1052
|
+
if (source != null && __getOwnPropSymbols$y)
|
|
1053
|
+
for (var prop of __getOwnPropSymbols$y(source)) {
|
|
1054
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop))
|
|
1055
1055
|
target[prop] = source[prop];
|
|
1056
1056
|
}
|
|
1057
1057
|
return target;
|
|
@@ -1060,7 +1060,7 @@
|
|
|
1060
1060
|
var _b = _a, { input, children } = _b, props = __objRest$k(_b, ["input", "children"]);
|
|
1061
1061
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1062
1062
|
Checkbox,
|
|
1063
|
-
__spreadValues$
|
|
1063
|
+
__spreadValues$x({
|
|
1064
1064
|
checked: Boolean(input.value),
|
|
1065
1065
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1066
1066
|
}, props),
|
|
@@ -1085,17 +1085,17 @@
|
|
|
1085
1085
|
}
|
|
1086
1086
|
));
|
|
1087
1087
|
|
|
1088
|
-
var __getOwnPropSymbols$
|
|
1089
|
-
var __hasOwnProp$
|
|
1090
|
-
var __propIsEnum$
|
|
1088
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
1089
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
1090
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
1091
1091
|
var __objRest$j = (source, exclude) => {
|
|
1092
1092
|
var target = {};
|
|
1093
1093
|
for (var prop in source)
|
|
1094
|
-
if (__hasOwnProp$
|
|
1094
|
+
if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1095
1095
|
target[prop] = source[prop];
|
|
1096
|
-
if (source != null && __getOwnPropSymbols$
|
|
1097
|
-
for (var prop of __getOwnPropSymbols$
|
|
1098
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1096
|
+
if (source != null && __getOwnPropSymbols$x)
|
|
1097
|
+
for (var prop of __getOwnPropSymbols$x(source)) {
|
|
1098
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop))
|
|
1099
1099
|
target[prop] = source[prop];
|
|
1100
1100
|
}
|
|
1101
1101
|
return target;
|
|
@@ -1140,53 +1140,53 @@
|
|
|
1140
1140
|
const InputStyle = "ipd9bk";
|
|
1141
1141
|
const KitInputStyle = "kypn5o5";
|
|
1142
1142
|
|
|
1143
|
-
var __defProp$
|
|
1144
|
-
var __getOwnPropSymbols$
|
|
1145
|
-
var __hasOwnProp$
|
|
1146
|
-
var __propIsEnum$
|
|
1147
|
-
var __defNormalProp$
|
|
1148
|
-
var __spreadValues$
|
|
1143
|
+
var __defProp$w = Object.defineProperty;
|
|
1144
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
1145
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
1146
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
1147
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1148
|
+
var __spreadValues$w = (a, b) => {
|
|
1149
1149
|
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$
|
|
1150
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
1151
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
1152
|
+
if (__getOwnPropSymbols$w)
|
|
1153
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
1154
|
+
if (__propIsEnum$w.call(b, prop))
|
|
1155
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
1156
1156
|
}
|
|
1157
1157
|
return a;
|
|
1158
1158
|
};
|
|
1159
1159
|
const Loading = ({ fullView = true }) => {
|
|
1160
1160
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1161
1161
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1162
|
-
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$
|
|
1162
|
+
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$w({}, 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
1163
|
};
|
|
1164
1164
|
|
|
1165
|
-
var __defProp$
|
|
1166
|
-
var __defProps$
|
|
1167
|
-
var __getOwnPropDescs$
|
|
1168
|
-
var __getOwnPropSymbols$
|
|
1169
|
-
var __hasOwnProp$
|
|
1170
|
-
var __propIsEnum$
|
|
1171
|
-
var __defNormalProp$
|
|
1165
|
+
var __defProp$v = Object.defineProperty;
|
|
1166
|
+
var __defProps$r = Object.defineProperties;
|
|
1167
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
1168
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
1169
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
1170
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
1171
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, {
|
|
1172
1172
|
enumerable: true,
|
|
1173
1173
|
configurable: true,
|
|
1174
1174
|
writable: true,
|
|
1175
1175
|
value
|
|
1176
1176
|
}) : obj[key] = value;
|
|
1177
|
-
var __spreadValues$
|
|
1178
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1179
|
-
if (__getOwnPropSymbols$
|
|
1180
|
-
if (__propIsEnum$
|
|
1177
|
+
var __spreadValues$v = (a, b) => {
|
|
1178
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$v.call(b, prop)) __defNormalProp$v(a, prop, b[prop]);
|
|
1179
|
+
if (__getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(b)) {
|
|
1180
|
+
if (__propIsEnum$v.call(b, prop)) __defNormalProp$v(a, prop, b[prop]);
|
|
1181
1181
|
}
|
|
1182
1182
|
return a;
|
|
1183
1183
|
};
|
|
1184
|
-
var __spreadProps$
|
|
1184
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
1185
1185
|
var __objRest$i = (source, exclude) => {
|
|
1186
1186
|
var target = {};
|
|
1187
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1188
|
-
if (source != null && __getOwnPropSymbols$
|
|
1189
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1187
|
+
for (var prop in source) if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1188
|
+
if (source != null && __getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(source)) {
|
|
1189
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop)) target[prop] = source[prop];
|
|
1190
1190
|
}
|
|
1191
1191
|
return target;
|
|
1192
1192
|
};
|
|
@@ -1240,7 +1240,7 @@
|
|
|
1240
1240
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1241
1241
|
}
|
|
1242
1242
|
}, [selectRef, placeholder]);
|
|
1243
|
-
return /* @__PURE__ */React.createElement(antd.Select, __spreadValues$
|
|
1243
|
+
return /* @__PURE__ */React.createElement(antd.Select, __spreadValues$v(__spreadProps$r(__spreadValues$v({}, input), {
|
|
1244
1244
|
ref: selectRef,
|
|
1245
1245
|
size,
|
|
1246
1246
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1280,38 +1280,38 @@
|
|
|
1280
1280
|
loading,
|
|
1281
1281
|
placeholder
|
|
1282
1282
|
}), restProps), React.Children.map(children, child => {
|
|
1283
|
-
return reactIs.isElement(child) ? __spreadProps$
|
|
1284
|
-
props: __spreadProps$
|
|
1283
|
+
return reactIs.isElement(child) ? __spreadProps$r(__spreadValues$v({}, child), {
|
|
1284
|
+
props: __spreadProps$r(__spreadValues$v({}, child.props), {
|
|
1285
1285
|
"data-test": child.props.value
|
|
1286
1286
|
})
|
|
1287
1287
|
}) : child;
|
|
1288
1288
|
}));
|
|
1289
1289
|
};
|
|
1290
1290
|
|
|
1291
|
-
var __defProp$
|
|
1292
|
-
var __getOwnPropSymbols$
|
|
1293
|
-
var __hasOwnProp$
|
|
1294
|
-
var __propIsEnum$
|
|
1295
|
-
var __defNormalProp$
|
|
1296
|
-
var __spreadValues$
|
|
1291
|
+
var __defProp$u = Object.defineProperty;
|
|
1292
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
1293
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
1294
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
1295
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1296
|
+
var __spreadValues$u = (a, b) => {
|
|
1297
1297
|
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$
|
|
1298
|
+
if (__hasOwnProp$u.call(b, prop))
|
|
1299
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
1300
|
+
if (__getOwnPropSymbols$u)
|
|
1301
|
+
for (var prop of __getOwnPropSymbols$u(b)) {
|
|
1302
|
+
if (__propIsEnum$u.call(b, prop))
|
|
1303
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
1304
1304
|
}
|
|
1305
1305
|
return a;
|
|
1306
1306
|
};
|
|
1307
1307
|
var __objRest$h = (source, exclude) => {
|
|
1308
1308
|
var target = {};
|
|
1309
1309
|
for (var prop in source)
|
|
1310
|
-
if (__hasOwnProp$
|
|
1310
|
+
if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1311
1311
|
target[prop] = source[prop];
|
|
1312
|
-
if (source != null && __getOwnPropSymbols$
|
|
1313
|
-
for (var prop of __getOwnPropSymbols$
|
|
1314
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1312
|
+
if (source != null && __getOwnPropSymbols$u)
|
|
1313
|
+
for (var prop of __getOwnPropSymbols$u(source)) {
|
|
1314
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop))
|
|
1315
1315
|
target[prop] = source[prop];
|
|
1316
1316
|
}
|
|
1317
1317
|
return target;
|
|
@@ -1326,7 +1326,7 @@
|
|
|
1326
1326
|
"enumValues",
|
|
1327
1327
|
"emptyLabel"
|
|
1328
1328
|
]);
|
|
1329
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$
|
|
1329
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$u({}, restProps), emptyLabel && /* @__PURE__ */ React.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1330
1330
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1331
1331
|
return /* @__PURE__ */ React.createElement(
|
|
1332
1332
|
antd.Select.Option,
|
|
@@ -1340,31 +1340,31 @@
|
|
|
1340
1340
|
})));
|
|
1341
1341
|
};
|
|
1342
1342
|
|
|
1343
|
-
var __defProp$
|
|
1344
|
-
var __defProps$
|
|
1345
|
-
var __getOwnPropDescs$
|
|
1346
|
-
var __getOwnPropSymbols$
|
|
1347
|
-
var __hasOwnProp$
|
|
1348
|
-
var __propIsEnum$
|
|
1349
|
-
var __defNormalProp$
|
|
1343
|
+
var __defProp$t = Object.defineProperty;
|
|
1344
|
+
var __defProps$q = Object.defineProperties;
|
|
1345
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
1346
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
1347
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
1348
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
1349
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, {
|
|
1350
1350
|
enumerable: true,
|
|
1351
1351
|
configurable: true,
|
|
1352
1352
|
writable: true,
|
|
1353
1353
|
value
|
|
1354
1354
|
}) : obj[key] = value;
|
|
1355
|
-
var __spreadValues$
|
|
1356
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1357
|
-
if (__getOwnPropSymbols$
|
|
1358
|
-
if (__propIsEnum$
|
|
1355
|
+
var __spreadValues$t = (a, b) => {
|
|
1356
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$t.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
1357
|
+
if (__getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(b)) {
|
|
1358
|
+
if (__propIsEnum$t.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
1359
1359
|
}
|
|
1360
1360
|
return a;
|
|
1361
1361
|
};
|
|
1362
|
-
var __spreadProps$
|
|
1362
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
1363
1363
|
var __objRest$g = (source, exclude) => {
|
|
1364
1364
|
var target = {};
|
|
1365
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1366
|
-
if (source != null && __getOwnPropSymbols$
|
|
1367
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1365
|
+
for (var prop in source) if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1366
|
+
if (source != null && __getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(source)) {
|
|
1367
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop)) target[prop] = source[prop];
|
|
1368
1368
|
}
|
|
1369
1369
|
return target;
|
|
1370
1370
|
};
|
|
@@ -1406,7 +1406,7 @@
|
|
|
1406
1406
|
middle: Typo.Label.l3_regular,
|
|
1407
1407
|
small: Typo.Label.l4_regular
|
|
1408
1408
|
}[size];
|
|
1409
|
-
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$
|
|
1409
|
+
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$q(__spreadValues$t({}, props), {
|
|
1410
1410
|
size,
|
|
1411
1411
|
controls,
|
|
1412
1412
|
"data-test": props.name,
|
|
@@ -1416,33 +1416,33 @@
|
|
|
1416
1416
|
}));
|
|
1417
1417
|
};
|
|
1418
1418
|
|
|
1419
|
-
var __defProp$
|
|
1420
|
-
var __defProps$
|
|
1421
|
-
var __getOwnPropDescs$
|
|
1422
|
-
var __getOwnPropSymbols$
|
|
1423
|
-
var __hasOwnProp$
|
|
1424
|
-
var __propIsEnum$
|
|
1425
|
-
var __defNormalProp$
|
|
1426
|
-
var __spreadValues$
|
|
1419
|
+
var __defProp$s = Object.defineProperty;
|
|
1420
|
+
var __defProps$p = Object.defineProperties;
|
|
1421
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
1422
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
1423
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
1424
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
1425
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1426
|
+
var __spreadValues$s = (a, b) => {
|
|
1427
1427
|
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$
|
|
1428
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
1429
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
1430
|
+
if (__getOwnPropSymbols$s)
|
|
1431
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
1432
|
+
if (__propIsEnum$s.call(b, prop))
|
|
1433
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
1434
1434
|
}
|
|
1435
1435
|
return a;
|
|
1436
1436
|
};
|
|
1437
|
-
var __spreadProps$
|
|
1437
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
1438
1438
|
var __objRest$f = (source, exclude) => {
|
|
1439
1439
|
var target = {};
|
|
1440
1440
|
for (var prop in source)
|
|
1441
|
-
if (__hasOwnProp$
|
|
1441
|
+
if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1442
1442
|
target[prop] = source[prop];
|
|
1443
|
-
if (source != null && __getOwnPropSymbols$
|
|
1444
|
-
for (var prop of __getOwnPropSymbols$
|
|
1445
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1443
|
+
if (source != null && __getOwnPropSymbols$s)
|
|
1444
|
+
for (var prop of __getOwnPropSymbols$s(source)) {
|
|
1445
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
|
|
1446
1446
|
target[prop] = source[prop];
|
|
1447
1447
|
}
|
|
1448
1448
|
return target;
|
|
@@ -1461,7 +1461,7 @@
|
|
|
1461
1461
|
]);
|
|
1462
1462
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1463
1463
|
InputNumber,
|
|
1464
|
-
__spreadValues$
|
|
1464
|
+
__spreadValues$s(__spreadProps$p(__spreadValues$s({}, input), {
|
|
1465
1465
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1466
1466
|
autoComplete,
|
|
1467
1467
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1469,33 +1469,33 @@
|
|
|
1469
1469
|
));
|
|
1470
1470
|
};
|
|
1471
1471
|
|
|
1472
|
-
var __defProp$
|
|
1473
|
-
var __defProps$
|
|
1474
|
-
var __getOwnPropDescs$
|
|
1475
|
-
var __getOwnPropSymbols$
|
|
1476
|
-
var __hasOwnProp$
|
|
1477
|
-
var __propIsEnum$
|
|
1478
|
-
var __defNormalProp$
|
|
1479
|
-
var __spreadValues$
|
|
1480
|
-
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$
|
|
1472
|
+
var __defProp$r = Object.defineProperty;
|
|
1473
|
+
var __defProps$o = Object.defineProperties;
|
|
1474
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
1475
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
1476
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
1477
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
1478
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1479
|
+
var __spreadValues$r = (a, b) => {
|
|
1480
|
+
for (var prop in b || (b = {}))
|
|
1481
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
1482
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
1483
|
+
if (__getOwnPropSymbols$r)
|
|
1484
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
1485
|
+
if (__propIsEnum$r.call(b, prop))
|
|
1486
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
1487
1487
|
}
|
|
1488
1488
|
return a;
|
|
1489
1489
|
};
|
|
1490
|
-
var __spreadProps$
|
|
1490
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
1491
1491
|
var __objRest$e = (source, exclude) => {
|
|
1492
1492
|
var target = {};
|
|
1493
1493
|
for (var prop in source)
|
|
1494
|
-
if (__hasOwnProp$
|
|
1494
|
+
if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1495
1495
|
target[prop] = source[prop];
|
|
1496
|
-
if (source != null && __getOwnPropSymbols$
|
|
1497
|
-
for (var prop of __getOwnPropSymbols$
|
|
1498
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1496
|
+
if (source != null && __getOwnPropSymbols$r)
|
|
1497
|
+
for (var prop of __getOwnPropSymbols$r(source)) {
|
|
1498
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
|
|
1499
1499
|
target[prop] = source[prop];
|
|
1500
1500
|
}
|
|
1501
1501
|
return target;
|
|
@@ -1517,7 +1517,7 @@
|
|
|
1517
1517
|
}[size];
|
|
1518
1518
|
return /* @__PURE__ */ React.createElement(
|
|
1519
1519
|
antd.Input,
|
|
1520
|
-
__spreadProps$
|
|
1520
|
+
__spreadProps$o(__spreadValues$r({}, props), {
|
|
1521
1521
|
size,
|
|
1522
1522
|
"data-test": props.name,
|
|
1523
1523
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1525,33 +1525,33 @@
|
|
|
1525
1525
|
);
|
|
1526
1526
|
};
|
|
1527
1527
|
|
|
1528
|
-
var __defProp$
|
|
1529
|
-
var __defProps$
|
|
1530
|
-
var __getOwnPropDescs$
|
|
1531
|
-
var __getOwnPropSymbols$
|
|
1532
|
-
var __hasOwnProp$
|
|
1533
|
-
var __propIsEnum$
|
|
1534
|
-
var __defNormalProp$
|
|
1535
|
-
var __spreadValues$
|
|
1528
|
+
var __defProp$q = Object.defineProperty;
|
|
1529
|
+
var __defProps$n = Object.defineProperties;
|
|
1530
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
1531
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
1532
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
1533
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
1534
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1535
|
+
var __spreadValues$q = (a, b) => {
|
|
1536
1536
|
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$
|
|
1537
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
1538
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
1539
|
+
if (__getOwnPropSymbols$q)
|
|
1540
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
1541
|
+
if (__propIsEnum$q.call(b, prop))
|
|
1542
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
1543
1543
|
}
|
|
1544
1544
|
return a;
|
|
1545
1545
|
};
|
|
1546
|
-
var __spreadProps$
|
|
1546
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
1547
1547
|
var __objRest$d = (source, exclude) => {
|
|
1548
1548
|
var target = {};
|
|
1549
1549
|
for (var prop in source)
|
|
1550
|
-
if (__hasOwnProp$
|
|
1550
|
+
if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1551
1551
|
target[prop] = source[prop];
|
|
1552
|
-
if (source != null && __getOwnPropSymbols$
|
|
1553
|
-
for (var prop of __getOwnPropSymbols$
|
|
1554
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1552
|
+
if (source != null && __getOwnPropSymbols$q)
|
|
1553
|
+
for (var prop of __getOwnPropSymbols$q(source)) {
|
|
1554
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
|
|
1555
1555
|
target[prop] = source[prop];
|
|
1556
1556
|
}
|
|
1557
1557
|
return target;
|
|
@@ -1572,7 +1572,7 @@
|
|
|
1572
1572
|
]);
|
|
1573
1573
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1574
1574
|
Input,
|
|
1575
|
-
__spreadValues$
|
|
1575
|
+
__spreadValues$q(__spreadProps$n(__spreadValues$q({}, input), {
|
|
1576
1576
|
onChange: (e) => {
|
|
1577
1577
|
const value = e.currentTarget.value;
|
|
1578
1578
|
if (supportNegativeValue) {
|
|
@@ -1607,31 +1607,31 @@
|
|
|
1607
1607
|
}
|
|
1608
1608
|
};
|
|
1609
1609
|
|
|
1610
|
-
var __defProp$
|
|
1611
|
-
var __defProps$
|
|
1612
|
-
var __getOwnPropDescs$
|
|
1613
|
-
var __getOwnPropSymbols$
|
|
1614
|
-
var __hasOwnProp$
|
|
1615
|
-
var __propIsEnum$
|
|
1616
|
-
var __defNormalProp$
|
|
1610
|
+
var __defProp$p = Object.defineProperty;
|
|
1611
|
+
var __defProps$m = Object.defineProperties;
|
|
1612
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
1613
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
1614
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
1615
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
1616
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, {
|
|
1617
1617
|
enumerable: true,
|
|
1618
1618
|
configurable: true,
|
|
1619
1619
|
writable: true,
|
|
1620
1620
|
value
|
|
1621
1621
|
}) : obj[key] = value;
|
|
1622
|
-
var __spreadValues$
|
|
1623
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1624
|
-
if (__getOwnPropSymbols$
|
|
1625
|
-
if (__propIsEnum$
|
|
1622
|
+
var __spreadValues$p = (a, b) => {
|
|
1623
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$p.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
1624
|
+
if (__getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(b)) {
|
|
1625
|
+
if (__propIsEnum$p.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
1626
1626
|
}
|
|
1627
1627
|
return a;
|
|
1628
1628
|
};
|
|
1629
|
-
var __spreadProps$
|
|
1629
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
1630
1630
|
var __objRest$c = (source, exclude) => {
|
|
1631
1631
|
var target = {};
|
|
1632
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1633
|
-
if (source != null && __getOwnPropSymbols$
|
|
1634
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1632
|
+
for (var prop in source) if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1633
|
+
if (source != null && __getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(source)) {
|
|
1634
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop)) target[prop] = source[prop];
|
|
1635
1635
|
}
|
|
1636
1636
|
return target;
|
|
1637
1637
|
};
|
|
@@ -1675,7 +1675,7 @@
|
|
|
1675
1675
|
middle: Typo.Label.l3_regular,
|
|
1676
1676
|
small: Typo.Label.l4_regular
|
|
1677
1677
|
}[size];
|
|
1678
|
-
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$
|
|
1678
|
+
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$m(__spreadValues$p({}, props), {
|
|
1679
1679
|
size,
|
|
1680
1680
|
formatter: formatterInteger,
|
|
1681
1681
|
parser: formatterInteger,
|
|
@@ -1689,33 +1689,33 @@
|
|
|
1689
1689
|
}));
|
|
1690
1690
|
};
|
|
1691
1691
|
|
|
1692
|
-
var __defProp$
|
|
1693
|
-
var __defProps$
|
|
1694
|
-
var __getOwnPropDescs$
|
|
1695
|
-
var __getOwnPropSymbols$
|
|
1696
|
-
var __hasOwnProp$
|
|
1697
|
-
var __propIsEnum$
|
|
1698
|
-
var __defNormalProp$
|
|
1699
|
-
var __spreadValues$
|
|
1692
|
+
var __defProp$o = Object.defineProperty;
|
|
1693
|
+
var __defProps$l = Object.defineProperties;
|
|
1694
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
1695
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
1696
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
1697
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
1698
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1699
|
+
var __spreadValues$o = (a, b) => {
|
|
1700
1700
|
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$
|
|
1701
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
1702
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
1703
|
+
if (__getOwnPropSymbols$o)
|
|
1704
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
1705
|
+
if (__propIsEnum$o.call(b, prop))
|
|
1706
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
1707
1707
|
}
|
|
1708
1708
|
return a;
|
|
1709
1709
|
};
|
|
1710
|
-
var __spreadProps$
|
|
1710
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
1711
1711
|
var __objRest$b = (source, exclude) => {
|
|
1712
1712
|
var target = {};
|
|
1713
1713
|
for (var prop in source)
|
|
1714
|
-
if (__hasOwnProp$
|
|
1714
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1715
1715
|
target[prop] = source[prop];
|
|
1716
|
-
if (source != null && __getOwnPropSymbols$
|
|
1717
|
-
for (var prop of __getOwnPropSymbols$
|
|
1718
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1716
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
1717
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
1718
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
1719
1719
|
target[prop] = source[prop];
|
|
1720
1720
|
}
|
|
1721
1721
|
return target;
|
|
@@ -1732,7 +1732,7 @@
|
|
|
1732
1732
|
]);
|
|
1733
1733
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1734
1734
|
InputInteger,
|
|
1735
|
-
__spreadProps$
|
|
1735
|
+
__spreadProps$l(__spreadValues$o(__spreadValues$o({}, props), input), {
|
|
1736
1736
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1737
1737
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
1738
1738
|
})
|
|
@@ -1896,33 +1896,33 @@
|
|
|
1896
1896
|
}, children), showOverflow && /* @__PURE__ */React.createElement("span", null, overflow));
|
|
1897
1897
|
};
|
|
1898
1898
|
|
|
1899
|
-
var __defProp$
|
|
1900
|
-
var __defProps$
|
|
1901
|
-
var __getOwnPropDescs$
|
|
1902
|
-
var __getOwnPropSymbols$
|
|
1903
|
-
var __hasOwnProp$
|
|
1904
|
-
var __propIsEnum$
|
|
1905
|
-
var __defNormalProp$
|
|
1906
|
-
var __spreadValues$
|
|
1899
|
+
var __defProp$n = Object.defineProperty;
|
|
1900
|
+
var __defProps$k = Object.defineProperties;
|
|
1901
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
1902
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
1903
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
1904
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
1905
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1906
|
+
var __spreadValues$n = (a, b) => {
|
|
1907
1907
|
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$
|
|
1908
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
1909
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
1910
|
+
if (__getOwnPropSymbols$n)
|
|
1911
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
1912
|
+
if (__propIsEnum$n.call(b, prop))
|
|
1913
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
1914
1914
|
}
|
|
1915
1915
|
return a;
|
|
1916
1916
|
};
|
|
1917
|
-
var __spreadProps$
|
|
1917
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
1918
1918
|
var __objRest$a = (source, exclude) => {
|
|
1919
1919
|
var target = {};
|
|
1920
1920
|
for (var prop in source)
|
|
1921
|
-
if (__hasOwnProp$
|
|
1921
|
+
if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1922
1922
|
target[prop] = source[prop];
|
|
1923
|
-
if (source != null && __getOwnPropSymbols$
|
|
1924
|
-
for (var prop of __getOwnPropSymbols$
|
|
1925
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1923
|
+
if (source != null && __getOwnPropSymbols$n)
|
|
1924
|
+
for (var prop of __getOwnPropSymbols$n(source)) {
|
|
1925
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
|
|
1926
1926
|
target[prop] = source[prop];
|
|
1927
1927
|
}
|
|
1928
1928
|
return target;
|
|
@@ -1973,7 +1973,7 @@
|
|
|
1973
1973
|
}
|
|
1974
1974
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1975
1975
|
Input,
|
|
1976
|
-
__spreadProps$
|
|
1976
|
+
__spreadProps$k(__spreadValues$n(__spreadProps$k(__spreadValues$n({
|
|
1977
1977
|
className: cs(
|
|
1978
1978
|
className,
|
|
1979
1979
|
KitInputStyle,
|
|
@@ -1998,33 +1998,33 @@
|
|
|
1998
1998
|
));
|
|
1999
1999
|
};
|
|
2000
2000
|
|
|
2001
|
-
var __defProp$
|
|
2002
|
-
var __defProps$
|
|
2003
|
-
var __getOwnPropDescs$
|
|
2004
|
-
var __getOwnPropSymbols$
|
|
2005
|
-
var __hasOwnProp$
|
|
2006
|
-
var __propIsEnum$
|
|
2007
|
-
var __defNormalProp$
|
|
2008
|
-
var __spreadValues$
|
|
2001
|
+
var __defProp$m = Object.defineProperty;
|
|
2002
|
+
var __defProps$j = Object.defineProperties;
|
|
2003
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
2004
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
2005
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
2006
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
2007
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2008
|
+
var __spreadValues$m = (a, b) => {
|
|
2009
2009
|
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$
|
|
2010
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
2011
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2012
|
+
if (__getOwnPropSymbols$m)
|
|
2013
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
2014
|
+
if (__propIsEnum$m.call(b, prop))
|
|
2015
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2016
2016
|
}
|
|
2017
2017
|
return a;
|
|
2018
2018
|
};
|
|
2019
|
-
var __spreadProps$
|
|
2019
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
2020
2020
|
var __objRest$9 = (source, exclude) => {
|
|
2021
2021
|
var target = {};
|
|
2022
2022
|
for (var prop in source)
|
|
2023
|
-
if (__hasOwnProp$
|
|
2023
|
+
if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2024
2024
|
target[prop] = source[prop];
|
|
2025
|
-
if (source != null && __getOwnPropSymbols$
|
|
2026
|
-
for (var prop of __getOwnPropSymbols$
|
|
2027
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2025
|
+
if (source != null && __getOwnPropSymbols$m)
|
|
2026
|
+
for (var prop of __getOwnPropSymbols$m(source)) {
|
|
2027
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
|
|
2028
2028
|
target[prop] = source[prop];
|
|
2029
2029
|
}
|
|
2030
2030
|
return target;
|
|
@@ -2046,7 +2046,7 @@
|
|
|
2046
2046
|
}[size];
|
|
2047
2047
|
return /* @__PURE__ */ React.createElement(
|
|
2048
2048
|
antd.Input.TextArea,
|
|
2049
|
-
__spreadProps$
|
|
2049
|
+
__spreadProps$j(__spreadValues$m({}, props), {
|
|
2050
2050
|
className: cs(
|
|
2051
2051
|
className,
|
|
2052
2052
|
InputStyle,
|
|
@@ -2060,33 +2060,33 @@
|
|
|
2060
2060
|
);
|
|
2061
2061
|
};
|
|
2062
2062
|
|
|
2063
|
-
var __defProp$
|
|
2064
|
-
var __defProps$
|
|
2065
|
-
var __getOwnPropDescs$
|
|
2066
|
-
var __getOwnPropSymbols$
|
|
2067
|
-
var __hasOwnProp$
|
|
2068
|
-
var __propIsEnum$
|
|
2069
|
-
var __defNormalProp$
|
|
2070
|
-
var __spreadValues$
|
|
2063
|
+
var __defProp$l = Object.defineProperty;
|
|
2064
|
+
var __defProps$i = Object.defineProperties;
|
|
2065
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
2066
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
2067
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
2068
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
2069
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2070
|
+
var __spreadValues$l = (a, b) => {
|
|
2071
2071
|
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$
|
|
2072
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
2073
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
2074
|
+
if (__getOwnPropSymbols$l)
|
|
2075
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
2076
|
+
if (__propIsEnum$l.call(b, prop))
|
|
2077
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
2078
2078
|
}
|
|
2079
2079
|
return a;
|
|
2080
2080
|
};
|
|
2081
|
-
var __spreadProps$
|
|
2081
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
2082
2082
|
var __objRest$8 = (source, exclude) => {
|
|
2083
2083
|
var target = {};
|
|
2084
2084
|
for (var prop in source)
|
|
2085
|
-
if (__hasOwnProp$
|
|
2085
|
+
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2086
2086
|
target[prop] = source[prop];
|
|
2087
|
-
if (source != null && __getOwnPropSymbols$
|
|
2088
|
-
for (var prop of __getOwnPropSymbols$
|
|
2089
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2087
|
+
if (source != null && __getOwnPropSymbols$l)
|
|
2088
|
+
for (var prop of __getOwnPropSymbols$l(source)) {
|
|
2089
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
|
|
2090
2090
|
target[prop] = source[prop];
|
|
2091
2091
|
}
|
|
2092
2092
|
return target;
|
|
@@ -2103,7 +2103,7 @@
|
|
|
2103
2103
|
]);
|
|
2104
2104
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2105
2105
|
TextArea,
|
|
2106
|
-
__spreadProps$
|
|
2106
|
+
__spreadProps$i(__spreadValues$l(__spreadValues$l({}, input), props), {
|
|
2107
2107
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2108
2108
|
onFocus: (e) => {
|
|
2109
2109
|
input.onFocus(e);
|
|
@@ -2117,33 +2117,33 @@
|
|
|
2117
2117
|
));
|
|
2118
2118
|
};
|
|
2119
2119
|
|
|
2120
|
-
var __defProp$
|
|
2121
|
-
var __defProps$
|
|
2122
|
-
var __getOwnPropDescs$
|
|
2123
|
-
var __getOwnPropSymbols$
|
|
2124
|
-
var __hasOwnProp$
|
|
2125
|
-
var __propIsEnum$
|
|
2126
|
-
var __defNormalProp$
|
|
2127
|
-
var __spreadValues$
|
|
2120
|
+
var __defProp$k = Object.defineProperty;
|
|
2121
|
+
var __defProps$h = Object.defineProperties;
|
|
2122
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
2123
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
2124
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
2125
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
2126
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2127
|
+
var __spreadValues$k = (a, b) => {
|
|
2128
2128
|
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$
|
|
2129
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
2130
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
2131
|
+
if (__getOwnPropSymbols$k)
|
|
2132
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
2133
|
+
if (__propIsEnum$k.call(b, prop))
|
|
2134
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
2135
2135
|
}
|
|
2136
2136
|
return a;
|
|
2137
2137
|
};
|
|
2138
|
-
var __spreadProps$
|
|
2138
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
2139
2139
|
var __objRest$7 = (source, exclude) => {
|
|
2140
2140
|
var target = {};
|
|
2141
2141
|
for (var prop in source)
|
|
2142
|
-
if (__hasOwnProp$
|
|
2142
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2143
2143
|
target[prop] = source[prop];
|
|
2144
|
-
if (source != null && __getOwnPropSymbols$
|
|
2145
|
-
for (var prop of __getOwnPropSymbols$
|
|
2146
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2144
|
+
if (source != null && __getOwnPropSymbols$k)
|
|
2145
|
+
for (var prop of __getOwnPropSymbols$k(source)) {
|
|
2146
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
|
|
2147
2147
|
target[prop] = source[prop];
|
|
2148
2148
|
}
|
|
2149
2149
|
return target;
|
|
@@ -2165,7 +2165,7 @@
|
|
|
2165
2165
|
}[size];
|
|
2166
2166
|
return /* @__PURE__ */ React.createElement(
|
|
2167
2167
|
antd.TimePicker,
|
|
2168
|
-
__spreadProps$
|
|
2168
|
+
__spreadProps$h(__spreadValues$k({}, props), {
|
|
2169
2169
|
size,
|
|
2170
2170
|
"data-test": props.name,
|
|
2171
2171
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2173,33 +2173,33 @@
|
|
|
2173
2173
|
);
|
|
2174
2174
|
};
|
|
2175
2175
|
|
|
2176
|
-
var __defProp$
|
|
2177
|
-
var __defProps$
|
|
2178
|
-
var __getOwnPropDescs$
|
|
2179
|
-
var __getOwnPropSymbols$
|
|
2180
|
-
var __hasOwnProp$
|
|
2181
|
-
var __propIsEnum$
|
|
2182
|
-
var __defNormalProp$
|
|
2183
|
-
var __spreadValues$
|
|
2176
|
+
var __defProp$j = Object.defineProperty;
|
|
2177
|
+
var __defProps$g = Object.defineProperties;
|
|
2178
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
2179
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
2180
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
2181
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
2182
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2183
|
+
var __spreadValues$j = (a, b) => {
|
|
2184
2184
|
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$
|
|
2185
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
2186
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
2187
|
+
if (__getOwnPropSymbols$j)
|
|
2188
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
2189
|
+
if (__propIsEnum$j.call(b, prop))
|
|
2190
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
2191
2191
|
}
|
|
2192
2192
|
return a;
|
|
2193
2193
|
};
|
|
2194
|
-
var __spreadProps$
|
|
2194
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
2195
2195
|
var __objRest$6 = (source, exclude) => {
|
|
2196
2196
|
var target = {};
|
|
2197
2197
|
for (var prop in source)
|
|
2198
|
-
if (__hasOwnProp$
|
|
2198
|
+
if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2199
2199
|
target[prop] = source[prop];
|
|
2200
|
-
if (source != null && __getOwnPropSymbols$
|
|
2201
|
-
for (var prop of __getOwnPropSymbols$
|
|
2202
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2200
|
+
if (source != null && __getOwnPropSymbols$j)
|
|
2201
|
+
for (var prop of __getOwnPropSymbols$j(source)) {
|
|
2202
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
|
|
2203
2203
|
target[prop] = source[prop];
|
|
2204
2204
|
}
|
|
2205
2205
|
return target;
|
|
@@ -2214,7 +2214,7 @@
|
|
|
2214
2214
|
]);
|
|
2215
2215
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2216
2216
|
TimePicker,
|
|
2217
|
-
__spreadValues$
|
|
2217
|
+
__spreadValues$j(__spreadProps$g(__spreadValues$j({}, input), {
|
|
2218
2218
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2219
2219
|
}), props)
|
|
2220
2220
|
));
|
|
@@ -2253,25 +2253,25 @@
|
|
|
2253
2253
|
propsAsIs: true
|
|
2254
2254
|
});
|
|
2255
2255
|
|
|
2256
|
-
var __defProp$
|
|
2257
|
-
var __defProps$
|
|
2258
|
-
var __getOwnPropDescs$
|
|
2259
|
-
var __getOwnPropSymbols$
|
|
2260
|
-
var __hasOwnProp$
|
|
2261
|
-
var __propIsEnum$
|
|
2262
|
-
var __defNormalProp$
|
|
2263
|
-
var __spreadValues$
|
|
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, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2263
|
+
var __spreadValues$i = (a, b) => {
|
|
2264
2264
|
for (var prop in b || (b = {}))
|
|
2265
|
-
if (__hasOwnProp$
|
|
2266
|
-
__defNormalProp$
|
|
2267
|
-
if (__getOwnPropSymbols$
|
|
2268
|
-
for (var prop of __getOwnPropSymbols$
|
|
2269
|
-
if (__propIsEnum$
|
|
2270
|
-
__defNormalProp$
|
|
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
2271
|
}
|
|
2272
2272
|
return a;
|
|
2273
2273
|
};
|
|
2274
|
-
var __spreadProps$
|
|
2274
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
2275
2275
|
function makeUUID(length = 25) {
|
|
2276
2276
|
let result = "";
|
|
2277
2277
|
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
@@ -2371,7 +2371,7 @@
|
|
|
2371
2371
|
_message[method] = function(...args) {
|
|
2372
2372
|
const key = makeUUID();
|
|
2373
2373
|
const content = normalizeContent(args, method);
|
|
2374
|
-
batcher.addMessage(__spreadProps$
|
|
2374
|
+
batcher.addMessage(__spreadProps$f(__spreadValues$i({}, content), { key }));
|
|
2375
2375
|
return () => {
|
|
2376
2376
|
};
|
|
2377
2377
|
};
|
|
@@ -2390,25 +2390,25 @@
|
|
|
2390
2390
|
};
|
|
2391
2391
|
}
|
|
2392
2392
|
|
|
2393
|
-
var __defProp$
|
|
2394
|
-
var __defProps$
|
|
2395
|
-
var __getOwnPropDescs$
|
|
2396
|
-
var __getOwnPropSymbols$
|
|
2397
|
-
var __hasOwnProp$
|
|
2398
|
-
var __propIsEnum$
|
|
2399
|
-
var __defNormalProp$
|
|
2400
|
-
var __spreadValues$
|
|
2393
|
+
var __defProp$h = Object.defineProperty;
|
|
2394
|
+
var __defProps$e = Object.defineProperties;
|
|
2395
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
2396
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
2397
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
2398
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
2399
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2400
|
+
var __spreadValues$h = (a, b) => {
|
|
2401
2401
|
for (var prop in b || (b = {}))
|
|
2402
|
-
if (__hasOwnProp$
|
|
2403
|
-
__defNormalProp$
|
|
2404
|
-
if (__getOwnPropSymbols$
|
|
2405
|
-
for (var prop of __getOwnPropSymbols$
|
|
2406
|
-
if (__propIsEnum$
|
|
2407
|
-
__defNormalProp$
|
|
2402
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
2403
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
2404
|
+
if (__getOwnPropSymbols$h)
|
|
2405
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
2406
|
+
if (__propIsEnum$h.call(b, prop))
|
|
2407
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
2408
2408
|
}
|
|
2409
2409
|
return a;
|
|
2410
2410
|
};
|
|
2411
|
-
var __spreadProps$
|
|
2411
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
2412
2412
|
const initialChartState = {
|
|
2413
2413
|
pointers: {},
|
|
2414
2414
|
resourceData: {},
|
|
@@ -2418,8 +2418,8 @@
|
|
|
2418
2418
|
switch (action.type) {
|
|
2419
2419
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
2420
2420
|
const { uuid, left, text, visible, value } = action.payload;
|
|
2421
|
-
return __spreadProps$
|
|
2422
|
-
pointers: __spreadProps$
|
|
2421
|
+
return __spreadProps$e(__spreadValues$h({}, state), {
|
|
2422
|
+
pointers: __spreadProps$e(__spreadValues$h({}, state.pointers), {
|
|
2423
2423
|
[uuid]: {
|
|
2424
2424
|
left,
|
|
2425
2425
|
text,
|
|
@@ -2431,16 +2431,16 @@
|
|
|
2431
2431
|
}
|
|
2432
2432
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2433
2433
|
const { uuid, data } = action.payload;
|
|
2434
|
-
return __spreadProps$
|
|
2435
|
-
resourceData: __spreadProps$
|
|
2434
|
+
return __spreadProps$e(__spreadValues$h({}, state), {
|
|
2435
|
+
resourceData: __spreadProps$e(__spreadValues$h({}, state.resourceData), {
|
|
2436
2436
|
[uuid]: data
|
|
2437
2437
|
})
|
|
2438
2438
|
});
|
|
2439
2439
|
}
|
|
2440
2440
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
2441
2441
|
const { uuid, average } = action.payload;
|
|
2442
|
-
return __spreadProps$
|
|
2443
|
-
averageData: __spreadProps$
|
|
2442
|
+
return __spreadProps$e(__spreadValues$h({}, state), {
|
|
2443
|
+
averageData: __spreadProps$e(__spreadValues$h({}, state.averageData), {
|
|
2444
2444
|
[uuid]: average
|
|
2445
2445
|
})
|
|
2446
2446
|
});
|
|
@@ -2451,25 +2451,25 @@
|
|
|
2451
2451
|
}
|
|
2452
2452
|
};
|
|
2453
2453
|
|
|
2454
|
-
var __defProp$
|
|
2455
|
-
var __defProps$
|
|
2456
|
-
var __getOwnPropDescs$
|
|
2457
|
-
var __getOwnPropSymbols$
|
|
2458
|
-
var __hasOwnProp$
|
|
2459
|
-
var __propIsEnum$
|
|
2460
|
-
var __defNormalProp$
|
|
2461
|
-
var __spreadValues$
|
|
2454
|
+
var __defProp$g = Object.defineProperty;
|
|
2455
|
+
var __defProps$d = Object.defineProperties;
|
|
2456
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
2457
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
2458
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
2459
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
2460
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2461
|
+
var __spreadValues$g = (a, b) => {
|
|
2462
2462
|
for (var prop in b || (b = {}))
|
|
2463
|
-
if (__hasOwnProp$
|
|
2464
|
-
__defNormalProp$
|
|
2465
|
-
if (__getOwnPropSymbols$
|
|
2466
|
-
for (var prop of __getOwnPropSymbols$
|
|
2467
|
-
if (__propIsEnum$
|
|
2468
|
-
__defNormalProp$
|
|
2463
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
2464
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
2465
|
+
if (__getOwnPropSymbols$g)
|
|
2466
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
2467
|
+
if (__propIsEnum$g.call(b, prop))
|
|
2468
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
2469
2469
|
}
|
|
2470
2470
|
return a;
|
|
2471
2471
|
};
|
|
2472
|
-
var __spreadProps$
|
|
2472
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
2473
2473
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
2474
2474
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
2475
2475
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -2490,22 +2490,22 @@
|
|
|
2490
2490
|
)) {
|
|
2491
2491
|
return state;
|
|
2492
2492
|
}
|
|
2493
|
-
return __spreadProps$
|
|
2494
|
-
stack: state.stack.concat(__spreadProps$
|
|
2493
|
+
return __spreadProps$d(__spreadValues$g({}, state), {
|
|
2494
|
+
stack: state.stack.concat(__spreadProps$d(__spreadValues$g({}, action.payload), {
|
|
2495
2495
|
id: MODAL_ID++
|
|
2496
2496
|
}))
|
|
2497
2497
|
});
|
|
2498
2498
|
case "POP_MODAL" /* POP_MODAL */:
|
|
2499
|
-
return __spreadProps$
|
|
2499
|
+
return __spreadProps$d(__spreadValues$g({}, state), {
|
|
2500
2500
|
stack: state.stack.slice(0, -1)
|
|
2501
2501
|
});
|
|
2502
2502
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
2503
|
-
return __spreadProps$
|
|
2503
|
+
return __spreadProps$d(__spreadValues$g({}, state), {
|
|
2504
2504
|
closeId: 0,
|
|
2505
2505
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
2506
2506
|
});
|
|
2507
2507
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
2508
|
-
return __spreadProps$
|
|
2508
|
+
return __spreadProps$d(__spreadValues$g({}, state), {
|
|
2509
2509
|
closeId: action.id
|
|
2510
2510
|
});
|
|
2511
2511
|
default:
|
|
@@ -2556,33 +2556,33 @@
|
|
|
2556
2556
|
const useKitDispatch = reactRedux.createDispatchHook(ctx);
|
|
2557
2557
|
const useKitSelector = reactRedux.createSelectorHook(ctx);
|
|
2558
2558
|
|
|
2559
|
-
var __defProp$
|
|
2560
|
-
var __defProps$
|
|
2561
|
-
var __getOwnPropDescs$
|
|
2562
|
-
var __getOwnPropSymbols$
|
|
2563
|
-
var __hasOwnProp$
|
|
2564
|
-
var __propIsEnum$
|
|
2565
|
-
var __defNormalProp$
|
|
2566
|
-
var __spreadValues$
|
|
2559
|
+
var __defProp$f = Object.defineProperty;
|
|
2560
|
+
var __defProps$c = Object.defineProperties;
|
|
2561
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
2562
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
2563
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
2564
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
2565
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2566
|
+
var __spreadValues$f = (a, b) => {
|
|
2567
2567
|
for (var prop in b || (b = {}))
|
|
2568
|
-
if (__hasOwnProp$
|
|
2569
|
-
__defNormalProp$
|
|
2570
|
-
if (__getOwnPropSymbols$
|
|
2571
|
-
for (var prop of __getOwnPropSymbols$
|
|
2572
|
-
if (__propIsEnum$
|
|
2573
|
-
__defNormalProp$
|
|
2568
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
2569
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
2570
|
+
if (__getOwnPropSymbols$f)
|
|
2571
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
2572
|
+
if (__propIsEnum$f.call(b, prop))
|
|
2573
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
2574
2574
|
}
|
|
2575
2575
|
return a;
|
|
2576
2576
|
};
|
|
2577
|
-
var __spreadProps$
|
|
2577
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
2578
2578
|
var __objRest$5 = (source, exclude) => {
|
|
2579
2579
|
var target = {};
|
|
2580
2580
|
for (var prop in source)
|
|
2581
|
-
if (__hasOwnProp$
|
|
2581
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2582
2582
|
target[prop] = source[prop];
|
|
2583
|
-
if (source != null && __getOwnPropSymbols$
|
|
2584
|
-
for (var prop of __getOwnPropSymbols$
|
|
2585
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2583
|
+
if (source != null && __getOwnPropSymbols$f)
|
|
2584
|
+
for (var prop of __getOwnPropSymbols$f(source)) {
|
|
2585
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
|
|
2586
2586
|
target[prop] = source[prop];
|
|
2587
2587
|
}
|
|
2588
2588
|
return target;
|
|
@@ -2664,7 +2664,7 @@
|
|
|
2664
2664
|
}
|
|
2665
2665
|
return /* @__PURE__ */ React.createElement(
|
|
2666
2666
|
antd.Modal,
|
|
2667
|
-
__spreadProps$
|
|
2667
|
+
__spreadProps$c(__spreadValues$f({
|
|
2668
2668
|
maskClosable,
|
|
2669
2669
|
className: cs(
|
|
2670
2670
|
className,
|
|
@@ -2699,7 +2699,7 @@
|
|
|
2699
2699
|
prevText
|
|
2700
2700
|
), error && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React.createElement(
|
|
2701
2701
|
Button,
|
|
2702
|
-
__spreadValues$
|
|
2702
|
+
__spreadValues$f({
|
|
2703
2703
|
type: "quiet",
|
|
2704
2704
|
onMouseDown: (e) => {
|
|
2705
2705
|
e.preventDefault();
|
|
@@ -2713,7 +2713,7 @@
|
|
|
2713
2713
|
cancelText
|
|
2714
2714
|
), showOk && /* @__PURE__ */ React.createElement(
|
|
2715
2715
|
Button,
|
|
2716
|
-
__spreadValues$
|
|
2716
|
+
__spreadValues$f({
|
|
2717
2717
|
onClick: (e) => {
|
|
2718
2718
|
var _a2, _b2;
|
|
2719
2719
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -2878,46 +2878,46 @@
|
|
|
2878
2878
|
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));
|
|
2879
2879
|
};
|
|
2880
2880
|
|
|
2881
|
-
var __defProp$
|
|
2882
|
-
var __getOwnPropSymbols$
|
|
2883
|
-
var __hasOwnProp$
|
|
2884
|
-
var __propIsEnum$
|
|
2885
|
-
var __defNormalProp$
|
|
2886
|
-
var __spreadValues$
|
|
2881
|
+
var __defProp$e = Object.defineProperty;
|
|
2882
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
2883
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
2884
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
2885
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2886
|
+
var __spreadValues$e = (a, b) => {
|
|
2887
2887
|
for (var prop in b || (b = {}))
|
|
2888
|
-
if (__hasOwnProp$
|
|
2889
|
-
__defNormalProp$
|
|
2890
|
-
if (__getOwnPropSymbols$
|
|
2891
|
-
for (var prop of __getOwnPropSymbols$
|
|
2892
|
-
if (__propIsEnum$
|
|
2893
|
-
__defNormalProp$
|
|
2888
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
2889
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
2890
|
+
if (__getOwnPropSymbols$e)
|
|
2891
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
2892
|
+
if (__propIsEnum$e.call(b, prop))
|
|
2893
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
2894
2894
|
}
|
|
2895
2895
|
return a;
|
|
2896
2896
|
};
|
|
2897
|
-
const Progress = (props) => /* @__PURE__ */ React.createElement(antd.Progress, __spreadValues$
|
|
2897
|
+
const Progress = (props) => /* @__PURE__ */ React.createElement(antd.Progress, __spreadValues$e({}, props));
|
|
2898
2898
|
|
|
2899
|
-
var __defProp$
|
|
2900
|
-
var __getOwnPropSymbols$
|
|
2901
|
-
var __hasOwnProp$
|
|
2902
|
-
var __propIsEnum$
|
|
2903
|
-
var __defNormalProp$
|
|
2899
|
+
var __defProp$d = Object.defineProperty;
|
|
2900
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
2901
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
2902
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
2903
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, {
|
|
2904
2904
|
enumerable: true,
|
|
2905
2905
|
configurable: true,
|
|
2906
2906
|
writable: true,
|
|
2907
2907
|
value
|
|
2908
2908
|
}) : obj[key] = value;
|
|
2909
|
-
var __spreadValues$
|
|
2910
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2911
|
-
if (__getOwnPropSymbols$
|
|
2912
|
-
if (__propIsEnum$
|
|
2909
|
+
var __spreadValues$d = (a, b) => {
|
|
2910
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
|
|
2911
|
+
if (__getOwnPropSymbols$d) for (var prop of __getOwnPropSymbols$d(b)) {
|
|
2912
|
+
if (__propIsEnum$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
|
|
2913
2913
|
}
|
|
2914
2914
|
return a;
|
|
2915
2915
|
};
|
|
2916
2916
|
var __objRest$4 = (source, exclude) => {
|
|
2917
2917
|
var target = {};
|
|
2918
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2919
|
-
if (source != null && __getOwnPropSymbols$
|
|
2920
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2918
|
+
for (var prop in source) if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2919
|
+
if (source != null && __getOwnPropSymbols$d) for (var prop of __getOwnPropSymbols$d(source)) {
|
|
2920
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop)) target[prop] = source[prop];
|
|
2921
2921
|
}
|
|
2922
2922
|
return target;
|
|
2923
2923
|
};
|
|
@@ -2943,7 +2943,7 @@
|
|
|
2943
2943
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
2944
2944
|
}, description));
|
|
2945
2945
|
}
|
|
2946
|
-
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Radio, __spreadValues$
|
|
2946
|
+
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Radio, __spreadValues$d({
|
|
2947
2947
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
2948
2948
|
checked: checked || false,
|
|
2949
2949
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -2961,7 +2961,7 @@
|
|
|
2961
2961
|
disabled: props.disabled,
|
|
2962
2962
|
name: props.name
|
|
2963
2963
|
}
|
|
2964
|
-
}, /* @__PURE__ */React.createElement(antd.Radio.Group, __spreadValues$
|
|
2964
|
+
}, /* @__PURE__ */React.createElement(antd.Radio.Group, __spreadValues$d({
|
|
2965
2965
|
className: core.cx(className, RadioGroupStyle)
|
|
2966
2966
|
}, props), children ? children : null));
|
|
2967
2967
|
};
|
|
@@ -3017,36 +3017,36 @@
|
|
|
3017
3017
|
className: "ant-radio-button-input-label"
|
|
3018
3018
|
}, typeof children === "string" ? children : ""));
|
|
3019
3019
|
};
|
|
3020
|
-
return /* @__PURE__ */React.createElement(antd.Radio.Button, __spreadValues$
|
|
3020
|
+
return /* @__PURE__ */React.createElement(antd.Radio.Button, __spreadValues$d({
|
|
3021
3021
|
className: core.cx(className, RadioButtonStyle),
|
|
3022
3022
|
value: radioButtonValue
|
|
3023
3023
|
}, props), renderChildren());
|
|
3024
3024
|
};
|
|
3025
3025
|
|
|
3026
|
-
var __defProp$
|
|
3027
|
-
var __getOwnPropSymbols$
|
|
3028
|
-
var __hasOwnProp$
|
|
3029
|
-
var __propIsEnum$
|
|
3030
|
-
var __defNormalProp$
|
|
3031
|
-
var __spreadValues$
|
|
3026
|
+
var __defProp$c = Object.defineProperty;
|
|
3027
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
3028
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
3029
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
3030
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3031
|
+
var __spreadValues$c = (a, b) => {
|
|
3032
3032
|
for (var prop in b || (b = {}))
|
|
3033
|
-
if (__hasOwnProp$
|
|
3034
|
-
__defNormalProp$
|
|
3035
|
-
if (__getOwnPropSymbols$
|
|
3036
|
-
for (var prop of __getOwnPropSymbols$
|
|
3037
|
-
if (__propIsEnum$
|
|
3038
|
-
__defNormalProp$
|
|
3033
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
3034
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
3035
|
+
if (__getOwnPropSymbols$c)
|
|
3036
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
3037
|
+
if (__propIsEnum$c.call(b, prop))
|
|
3038
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
3039
3039
|
}
|
|
3040
3040
|
return a;
|
|
3041
3041
|
};
|
|
3042
3042
|
var __objRest$3 = (source, exclude) => {
|
|
3043
3043
|
var target = {};
|
|
3044
3044
|
for (var prop in source)
|
|
3045
|
-
if (__hasOwnProp$
|
|
3045
|
+
if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3046
3046
|
target[prop] = source[prop];
|
|
3047
|
-
if (source != null && __getOwnPropSymbols$
|
|
3048
|
-
for (var prop of __getOwnPropSymbols$
|
|
3049
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3047
|
+
if (source != null && __getOwnPropSymbols$c)
|
|
3048
|
+
for (var prop of __getOwnPropSymbols$c(source)) {
|
|
3049
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop))
|
|
3050
3050
|
target[prop] = source[prop];
|
|
3051
3051
|
}
|
|
3052
3052
|
return target;
|
|
@@ -3056,7 +3056,7 @@
|
|
|
3056
3056
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
3057
3057
|
return /* @__PURE__ */ React.createElement(
|
|
3058
3058
|
Input,
|
|
3059
|
-
__spreadValues$
|
|
3059
|
+
__spreadValues$c({
|
|
3060
3060
|
style: { width: 276 },
|
|
3061
3061
|
prefix: /* @__PURE__ */ React.createElement(icons.SearchOutlined, null),
|
|
3062
3062
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3168,31 +3168,31 @@
|
|
|
3168
3168
|
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}`));
|
|
3169
3169
|
};
|
|
3170
3170
|
|
|
3171
|
-
var __defProp$
|
|
3172
|
-
var __defProps$
|
|
3173
|
-
var __getOwnPropDescs$
|
|
3174
|
-
var __getOwnPropSymbols$
|
|
3175
|
-
var __hasOwnProp$
|
|
3176
|
-
var __propIsEnum$
|
|
3177
|
-
var __defNormalProp$
|
|
3171
|
+
var __defProp$b = Object.defineProperty;
|
|
3172
|
+
var __defProps$b = Object.defineProperties;
|
|
3173
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
3174
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
3175
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
3176
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
3177
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
|
|
3178
3178
|
enumerable: true,
|
|
3179
3179
|
configurable: true,
|
|
3180
3180
|
writable: true,
|
|
3181
3181
|
value
|
|
3182
3182
|
}) : obj[key] = value;
|
|
3183
|
-
var __spreadValues$
|
|
3184
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3185
|
-
if (__getOwnPropSymbols$
|
|
3186
|
-
if (__propIsEnum$
|
|
3183
|
+
var __spreadValues$b = (a, b) => {
|
|
3184
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
3185
|
+
if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
|
|
3186
|
+
if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
3187
3187
|
}
|
|
3188
3188
|
return a;
|
|
3189
3189
|
};
|
|
3190
|
-
var __spreadProps$
|
|
3190
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
3191
3191
|
var __objRest$2 = (source, exclude) => {
|
|
3192
3192
|
var target = {};
|
|
3193
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3194
|
-
if (source != null && __getOwnPropSymbols$
|
|
3195
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3193
|
+
for (var prop in source) if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3194
|
+
if (source != null && __getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(source)) {
|
|
3195
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop)) target[prop] = source[prop];
|
|
3196
3196
|
}
|
|
3197
3197
|
return target;
|
|
3198
3198
|
};
|
|
@@ -3214,40 +3214,40 @@
|
|
|
3214
3214
|
}, count) : null, _step.title);
|
|
3215
3215
|
return /* @__PURE__ */React.createElement(StepsContainer, {
|
|
3216
3216
|
className: containerClassname
|
|
3217
|
-
}, /* @__PURE__ */React.createElement(antd.Steps, __spreadProps$
|
|
3217
|
+
}, /* @__PURE__ */React.createElement(antd.Steps, __spreadProps$b(__spreadValues$b({}, stepsProps), {
|
|
3218
3218
|
type: "default"
|
|
3219
|
-
}), (stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */React.createElement(antd.Steps.Step, __spreadProps$
|
|
3219
|
+
}), (stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */React.createElement(antd.Steps.Step, __spreadProps$b(__spreadValues$b({
|
|
3220
3220
|
key: index
|
|
3221
3221
|
}, step), {
|
|
3222
3222
|
title: titleWithCount(step, index + 1)
|
|
3223
3223
|
}))) : props.children));
|
|
3224
3224
|
};
|
|
3225
3225
|
|
|
3226
|
-
var __defProp$
|
|
3227
|
-
var __defProps$
|
|
3228
|
-
var __getOwnPropDescs$
|
|
3229
|
-
var __getOwnPropSymbols$
|
|
3230
|
-
var __hasOwnProp$
|
|
3231
|
-
var __propIsEnum$
|
|
3232
|
-
var __defNormalProp$
|
|
3226
|
+
var __defProp$a = Object.defineProperty;
|
|
3227
|
+
var __defProps$a = Object.defineProperties;
|
|
3228
|
+
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
3229
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
3230
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
3231
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
3232
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, {
|
|
3233
3233
|
enumerable: true,
|
|
3234
3234
|
configurable: true,
|
|
3235
3235
|
writable: true,
|
|
3236
3236
|
value
|
|
3237
3237
|
}) : obj[key] = value;
|
|
3238
|
-
var __spreadValues$
|
|
3239
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3240
|
-
if (__getOwnPropSymbols$
|
|
3241
|
-
if (__propIsEnum$
|
|
3238
|
+
var __spreadValues$a = (a, b) => {
|
|
3239
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
|
|
3240
|
+
if (__getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(b)) {
|
|
3241
|
+
if (__propIsEnum$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
|
|
3242
3242
|
}
|
|
3243
3243
|
return a;
|
|
3244
3244
|
};
|
|
3245
|
-
var __spreadProps$
|
|
3245
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
3246
3246
|
var __objRest$1 = (source, exclude) => {
|
|
3247
3247
|
var target = {};
|
|
3248
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3249
|
-
if (source != null && __getOwnPropSymbols$
|
|
3250
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3248
|
+
for (var prop in source) if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3249
|
+
if (source != null && __getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(source)) {
|
|
3250
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop)) target[prop] = source[prop];
|
|
3251
3251
|
}
|
|
3252
3252
|
return target;
|
|
3253
3253
|
};
|
|
@@ -3267,7 +3267,7 @@
|
|
|
3267
3267
|
});
|
|
3268
3268
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3269
3269
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3270
|
-
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Switch, __spreadProps$
|
|
3270
|
+
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Switch, __spreadProps$a(__spreadValues$a({
|
|
3271
3271
|
className: core.cx(...classNames),
|
|
3272
3272
|
checked: checked || false
|
|
3273
3273
|
}, props), {
|
|
@@ -3353,26 +3353,26 @@
|
|
|
3353
3353
|
}));
|
|
3354
3354
|
};
|
|
3355
3355
|
|
|
3356
|
-
var __defProp$
|
|
3357
|
-
var __defProps$
|
|
3358
|
-
var __getOwnPropDescs$
|
|
3359
|
-
var __getOwnPropSymbols$
|
|
3360
|
-
var __hasOwnProp$
|
|
3361
|
-
var __propIsEnum$
|
|
3362
|
-
var __defNormalProp$
|
|
3356
|
+
var __defProp$9 = Object.defineProperty;
|
|
3357
|
+
var __defProps$9 = Object.defineProperties;
|
|
3358
|
+
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
3359
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
3360
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
3361
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
3362
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, {
|
|
3363
3363
|
enumerable: true,
|
|
3364
3364
|
configurable: true,
|
|
3365
3365
|
writable: true,
|
|
3366
3366
|
value
|
|
3367
3367
|
}) : obj[key] = value;
|
|
3368
|
-
var __spreadValues$
|
|
3369
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3370
|
-
if (__getOwnPropSymbols$
|
|
3371
|
-
if (__propIsEnum$
|
|
3368
|
+
var __spreadValues$9 = (a, b) => {
|
|
3369
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
|
|
3370
|
+
if (__getOwnPropSymbols$9) for (var prop of __getOwnPropSymbols$9(b)) {
|
|
3371
|
+
if (__propIsEnum$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
|
|
3372
3372
|
}
|
|
3373
3373
|
return a;
|
|
3374
3374
|
};
|
|
3375
|
-
var __spreadProps$
|
|
3375
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
3376
3376
|
const TableContainerStyle = "t1upn1sz";
|
|
3377
3377
|
const tableStyleCover = "tta5kd2";
|
|
3378
3378
|
const Table = props => {
|
|
@@ -3398,7 +3398,7 @@
|
|
|
3398
3398
|
const orderRef = React.useRef(null);
|
|
3399
3399
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
3400
3400
|
const _columns = React.useMemo(() => columns.map(column => {
|
|
3401
|
-
const _column = __spreadValues$
|
|
3401
|
+
const _column = __spreadValues$9({}, column);
|
|
3402
3402
|
if (_column.sorter) {
|
|
3403
3403
|
_column.title = /* @__PURE__ */React.createElement(ColumnTitle, {
|
|
3404
3404
|
title: column.title,
|
|
@@ -3440,7 +3440,7 @@
|
|
|
3440
3440
|
}),
|
|
3441
3441
|
rowClassName,
|
|
3442
3442
|
scroll,
|
|
3443
|
-
rowSelection: rowSelection && __spreadProps$
|
|
3443
|
+
rowSelection: rowSelection && __spreadProps$9(__spreadValues$9({}, rowSelection), {
|
|
3444
3444
|
columnWidth: 32
|
|
3445
3445
|
}),
|
|
3446
3446
|
showSorterTooltip: false
|
|
@@ -3502,33 +3502,33 @@
|
|
|
3502
3502
|
return sortArr;
|
|
3503
3503
|
};
|
|
3504
3504
|
|
|
3505
|
-
var __defProp$
|
|
3506
|
-
var __defProps$
|
|
3507
|
-
var __getOwnPropDescs$
|
|
3508
|
-
var __getOwnPropSymbols$
|
|
3509
|
-
var __hasOwnProp$
|
|
3510
|
-
var __propIsEnum$
|
|
3511
|
-
var __defNormalProp$
|
|
3512
|
-
var __spreadValues$
|
|
3505
|
+
var __defProp$8 = Object.defineProperty;
|
|
3506
|
+
var __defProps$8 = Object.defineProperties;
|
|
3507
|
+
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
3508
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
3509
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
3510
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
3511
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3512
|
+
var __spreadValues$8 = (a, b) => {
|
|
3513
3513
|
for (var prop in b || (b = {}))
|
|
3514
|
-
if (__hasOwnProp$
|
|
3515
|
-
__defNormalProp$
|
|
3516
|
-
if (__getOwnPropSymbols$
|
|
3517
|
-
for (var prop of __getOwnPropSymbols$
|
|
3518
|
-
if (__propIsEnum$
|
|
3519
|
-
__defNormalProp$
|
|
3514
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
3515
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
3516
|
+
if (__getOwnPropSymbols$8)
|
|
3517
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
3518
|
+
if (__propIsEnum$8.call(b, prop))
|
|
3519
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
3520
3520
|
}
|
|
3521
3521
|
return a;
|
|
3522
3522
|
};
|
|
3523
|
-
var __spreadProps$
|
|
3523
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
3524
3524
|
var __objRest = (source, exclude) => {
|
|
3525
3525
|
var target = {};
|
|
3526
3526
|
for (var prop in source)
|
|
3527
|
-
if (__hasOwnProp$
|
|
3527
|
+
if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3528
3528
|
target[prop] = source[prop];
|
|
3529
|
-
if (source != null && __getOwnPropSymbols$
|
|
3530
|
-
for (var prop of __getOwnPropSymbols$
|
|
3531
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3529
|
+
if (source != null && __getOwnPropSymbols$8)
|
|
3530
|
+
for (var prop of __getOwnPropSymbols$8(source)) {
|
|
3531
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))
|
|
3532
3532
|
target[prop] = source[prop];
|
|
3533
3533
|
}
|
|
3534
3534
|
return target;
|
|
@@ -3569,9 +3569,9 @@
|
|
|
3569
3569
|
if (!columns.length) {
|
|
3570
3570
|
return null;
|
|
3571
3571
|
}
|
|
3572
|
-
return CustomizedButton ? /* @__PURE__ */ React.createElement(CustomizedButton, __spreadValues$
|
|
3572
|
+
return CustomizedButton ? /* @__PURE__ */ React.createElement(CustomizedButton, __spreadValues$8({}, props)) : /* @__PURE__ */ React.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React.createElement(
|
|
3573
3573
|
Button,
|
|
3574
|
-
__spreadProps$
|
|
3574
|
+
__spreadProps$8(__spreadValues$8({}, restButtonProps), {
|
|
3575
3575
|
type: restButtonProps.type || "ordinary",
|
|
3576
3576
|
size: restButtonProps.size || "small",
|
|
3577
3577
|
icon: restButtonProps.icon || /* @__PURE__ */ React.createElement(icons.PlusOutlined, null),
|
|
@@ -3666,25 +3666,25 @@
|
|
|
3666
3666
|
);
|
|
3667
3667
|
};
|
|
3668
3668
|
|
|
3669
|
-
var __defProp$
|
|
3670
|
-
var __defProps$
|
|
3671
|
-
var __getOwnPropDescs$
|
|
3672
|
-
var __getOwnPropSymbols$
|
|
3673
|
-
var __hasOwnProp$
|
|
3674
|
-
var __propIsEnum$
|
|
3675
|
-
var __defNormalProp$
|
|
3676
|
-
var __spreadValues$
|
|
3669
|
+
var __defProp$7 = Object.defineProperty;
|
|
3670
|
+
var __defProps$7 = Object.defineProperties;
|
|
3671
|
+
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
3672
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
3673
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
3674
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
3675
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3676
|
+
var __spreadValues$7 = (a, b) => {
|
|
3677
3677
|
for (var prop in b || (b = {}))
|
|
3678
|
-
if (__hasOwnProp$
|
|
3679
|
-
__defNormalProp$
|
|
3680
|
-
if (__getOwnPropSymbols$
|
|
3681
|
-
for (var prop of __getOwnPropSymbols$
|
|
3682
|
-
if (__propIsEnum$
|
|
3683
|
-
__defNormalProp$
|
|
3678
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
3679
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
3680
|
+
if (__getOwnPropSymbols$7)
|
|
3681
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
3682
|
+
if (__propIsEnum$7.call(b, prop))
|
|
3683
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
3684
3684
|
}
|
|
3685
3685
|
return a;
|
|
3686
3686
|
};
|
|
3687
|
-
var __spreadProps$
|
|
3687
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
3688
3688
|
const InputPassword = (props) => {
|
|
3689
3689
|
const [showPassword, setShowPassword] = React.useState(false);
|
|
3690
3690
|
React.useEffect(() => {
|
|
@@ -3700,7 +3700,7 @@
|
|
|
3700
3700
|
const inputType = showPassword ? "text" : "password";
|
|
3701
3701
|
return /* @__PURE__ */ React.createElement(
|
|
3702
3702
|
antd.Input,
|
|
3703
|
-
__spreadProps$
|
|
3703
|
+
__spreadProps$7(__spreadValues$7({}, props), {
|
|
3704
3704
|
type: inputType,
|
|
3705
3705
|
suffix: showPassword ? /* @__PURE__ */ React.createElement(
|
|
3706
3706
|
icons.EyeOutlined,
|
|
@@ -3720,9 +3720,9 @@
|
|
|
3720
3720
|
};
|
|
3721
3721
|
const CustomInput = (props) => {
|
|
3722
3722
|
if (props.type === "password") {
|
|
3723
|
-
return /* @__PURE__ */ React.createElement(InputPassword, __spreadValues$
|
|
3723
|
+
return /* @__PURE__ */ React.createElement(InputPassword, __spreadValues$7({}, props));
|
|
3724
3724
|
}
|
|
3725
|
-
return /* @__PURE__ */ React.createElement(antd.Input, __spreadValues$
|
|
3725
|
+
return /* @__PURE__ */ React.createElement(antd.Input, __spreadValues$7({}, props));
|
|
3726
3726
|
};
|
|
3727
3727
|
const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
|
|
3728
3728
|
const _onChange = (e) => {
|
|
@@ -3823,15 +3823,15 @@
|
|
|
3823
3823
|
checkbox: CheckboxColumnBodyCell
|
|
3824
3824
|
};
|
|
3825
3825
|
|
|
3826
|
-
const FormItemStyle = "feau332";
|
|
3827
|
-
const FormItem = props => {
|
|
3826
|
+
const FormItemStyle$1 = "feau332";
|
|
3827
|
+
const FormItem$1 = props => {
|
|
3828
3828
|
const {
|
|
3829
3829
|
validateStatus,
|
|
3830
3830
|
message,
|
|
3831
3831
|
children
|
|
3832
3832
|
} = props;
|
|
3833
3833
|
return /* @__PURE__ */React.createElement(antd.Form.Item, {
|
|
3834
|
-
className: FormItemStyle,
|
|
3834
|
+
className: FormItemStyle$1,
|
|
3835
3835
|
validateStatus,
|
|
3836
3836
|
help: validateStatus && message ? message : void 0
|
|
3837
3837
|
}, children);
|
|
@@ -3844,25 +3844,25 @@
|
|
|
3844
3844
|
return ValidateTriggerType2;
|
|
3845
3845
|
})(ValidateTriggerType || {});
|
|
3846
3846
|
|
|
3847
|
-
var __defProp$
|
|
3848
|
-
var __defProps$
|
|
3849
|
-
var __getOwnPropDescs$
|
|
3850
|
-
var __getOwnPropSymbols$
|
|
3851
|
-
var __hasOwnProp$
|
|
3852
|
-
var __propIsEnum$
|
|
3853
|
-
var __defNormalProp$
|
|
3854
|
-
var __spreadValues$
|
|
3847
|
+
var __defProp$6 = Object.defineProperty;
|
|
3848
|
+
var __defProps$6 = Object.defineProperties;
|
|
3849
|
+
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
3850
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
3851
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
3852
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
3853
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3854
|
+
var __spreadValues$6 = (a, b) => {
|
|
3855
3855
|
for (var prop in b || (b = {}))
|
|
3856
|
-
if (__hasOwnProp$
|
|
3857
|
-
__defNormalProp$
|
|
3858
|
-
if (__getOwnPropSymbols$
|
|
3859
|
-
for (var prop of __getOwnPropSymbols$
|
|
3860
|
-
if (__propIsEnum$
|
|
3861
|
-
__defNormalProp$
|
|
3856
|
+
if (__hasOwnProp$6.call(b, prop))
|
|
3857
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
3858
|
+
if (__getOwnPropSymbols$6)
|
|
3859
|
+
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
3860
|
+
if (__propIsEnum$6.call(b, prop))
|
|
3861
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
3862
3862
|
}
|
|
3863
3863
|
return a;
|
|
3864
3864
|
};
|
|
3865
|
-
var __spreadProps$
|
|
3865
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
3866
3866
|
const TableFormBodyCell = (props) => {
|
|
3867
3867
|
const {
|
|
3868
3868
|
column,
|
|
@@ -3884,7 +3884,7 @@
|
|
|
3884
3884
|
(currentValue) => {
|
|
3885
3885
|
var _a;
|
|
3886
3886
|
const value = currentValue || data[rowIndex][column.key];
|
|
3887
|
-
const rowData = __spreadProps$
|
|
3887
|
+
const rowData = __spreadProps$6(__spreadValues$6({}, data[rowIndex]), { [column.key]: value });
|
|
3888
3888
|
const rowValidateRes = getRowValidateResult(rowData);
|
|
3889
3889
|
if (rowValidateRes) {
|
|
3890
3890
|
return;
|
|
@@ -3907,7 +3907,7 @@
|
|
|
3907
3907
|
}, [validateAll, triggerValidate]);
|
|
3908
3908
|
const _onChange = (value, data2) => {
|
|
3909
3909
|
const newData = data2.map(
|
|
3910
|
-
(row, i) => i === rowIndex ? __spreadProps$
|
|
3910
|
+
(row, i) => i === rowIndex ? __spreadProps$6(__spreadValues$6({}, row), { [column.key]: value }) : row
|
|
3911
3911
|
);
|
|
3912
3912
|
onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
|
|
3913
3913
|
if (validateTriggerType === ValidateTriggerType.Normal && isTouched.current || validateTriggerType === ValidateTriggerType.Aggressive) {
|
|
@@ -3973,7 +3973,7 @@
|
|
|
3973
3973
|
}
|
|
3974
3974
|
},
|
|
3975
3975
|
/* @__PURE__ */ React.createElement(
|
|
3976
|
-
FormItem,
|
|
3976
|
+
FormItem$1,
|
|
3977
3977
|
{
|
|
3978
3978
|
validateStatus: isRowError || (validateResult == null ? void 0 : validateResult.isError) ? "error" : "",
|
|
3979
3979
|
message: isRowError ? "" : validateResult == null ? void 0 : validateResult.msg
|
|
@@ -3984,25 +3984,25 @@
|
|
|
3984
3984
|
);
|
|
3985
3985
|
};
|
|
3986
3986
|
|
|
3987
|
-
var __defProp$
|
|
3988
|
-
var __defProps$
|
|
3989
|
-
var __getOwnPropDescs$
|
|
3990
|
-
var __getOwnPropSymbols$
|
|
3991
|
-
var __hasOwnProp$
|
|
3992
|
-
var __propIsEnum$
|
|
3993
|
-
var __defNormalProp$
|
|
3994
|
-
var __spreadValues$
|
|
3987
|
+
var __defProp$5 = Object.defineProperty;
|
|
3988
|
+
var __defProps$5 = Object.defineProperties;
|
|
3989
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
3990
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
3991
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
3992
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
3993
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3994
|
+
var __spreadValues$5 = (a, b) => {
|
|
3995
3995
|
for (var prop in b || (b = {}))
|
|
3996
|
-
if (__hasOwnProp$
|
|
3997
|
-
__defNormalProp$
|
|
3998
|
-
if (__getOwnPropSymbols$
|
|
3999
|
-
for (var prop of __getOwnPropSymbols$
|
|
4000
|
-
if (__propIsEnum$
|
|
4001
|
-
__defNormalProp$
|
|
3996
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
3997
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
3998
|
+
if (__getOwnPropSymbols$5)
|
|
3999
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
4000
|
+
if (__propIsEnum$5.call(b, prop))
|
|
4001
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
4002
4002
|
}
|
|
4003
4003
|
return a;
|
|
4004
4004
|
};
|
|
4005
|
-
var __spreadProps$
|
|
4005
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
4006
4006
|
const TableFormRow = (props) => {
|
|
4007
4007
|
const {
|
|
4008
4008
|
data,
|
|
@@ -4085,7 +4085,7 @@
|
|
|
4085
4085
|
);
|
|
4086
4086
|
});
|
|
4087
4087
|
const DraggableHandle = React.useMemo(
|
|
4088
|
-
() => draggable && provided ? /* @__PURE__ */ React.createElement(DraggableHandleWrapper, __spreadValues$
|
|
4088
|
+
() => draggable && provided ? /* @__PURE__ */ React.createElement(DraggableHandleWrapper, __spreadValues$5({}, provided.dragHandleProps), /* @__PURE__ */ React.createElement(
|
|
4089
4089
|
Icon,
|
|
4090
4090
|
{
|
|
4091
4091
|
src: iconsReact.HandlePoint816SecondaryIcon,
|
|
@@ -4134,7 +4134,7 @@
|
|
|
4134
4134
|
);
|
|
4135
4135
|
return draggable ? /* @__PURE__ */ React.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd }, /* @__PURE__ */ React.createElement(reactBeautifulDnd.Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React.createElement(
|
|
4136
4136
|
"div",
|
|
4137
|
-
__spreadValues$
|
|
4137
|
+
__spreadValues$5({
|
|
4138
4138
|
className: "draggable-container",
|
|
4139
4139
|
ref: provided.innerRef
|
|
4140
4140
|
}, provided.droppableProps),
|
|
@@ -4145,9 +4145,9 @@
|
|
|
4145
4145
|
key: `draggable-id-${i}`,
|
|
4146
4146
|
index: i
|
|
4147
4147
|
},
|
|
4148
|
-
(provided2, snapshot) => /* @__PURE__ */ React.createElement("div", __spreadValues$
|
|
4148
|
+
(provided2, snapshot) => /* @__PURE__ */ React.createElement("div", __spreadValues$5({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React.createElement(
|
|
4149
4149
|
TableFormRow,
|
|
4150
|
-
__spreadProps$
|
|
4150
|
+
__spreadProps$5(__spreadValues$5({}, props), {
|
|
4151
4151
|
rowIndex: i,
|
|
4152
4152
|
provided: provided2,
|
|
4153
4153
|
snapshot
|
|
@@ -4155,28 +4155,28 @@
|
|
|
4155
4155
|
))
|
|
4156
4156
|
)),
|
|
4157
4157
|
provided.placeholder
|
|
4158
|
-
))) : /* @__PURE__ */ React.createElement(React.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React.createElement(TableFormRow, __spreadProps$
|
|
4158
|
+
))) : /* @__PURE__ */ React.createElement(React.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React.createElement(TableFormRow, __spreadProps$5(__spreadValues$5({}, props), { rowIndex: i, key: `table-row-${i}` }))));
|
|
4159
4159
|
});
|
|
4160
4160
|
|
|
4161
|
-
var __defProp$
|
|
4162
|
-
var __defProps$
|
|
4163
|
-
var __getOwnPropDescs$
|
|
4164
|
-
var __getOwnPropSymbols$
|
|
4165
|
-
var __hasOwnProp$
|
|
4166
|
-
var __propIsEnum$
|
|
4167
|
-
var __defNormalProp$
|
|
4168
|
-
var __spreadValues$
|
|
4161
|
+
var __defProp$4 = Object.defineProperty;
|
|
4162
|
+
var __defProps$4 = Object.defineProperties;
|
|
4163
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
4164
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
4165
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
4166
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
4167
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4168
|
+
var __spreadValues$4 = (a, b) => {
|
|
4169
4169
|
for (var prop in b || (b = {}))
|
|
4170
|
-
if (__hasOwnProp$
|
|
4171
|
-
__defNormalProp$
|
|
4172
|
-
if (__getOwnPropSymbols$
|
|
4173
|
-
for (var prop of __getOwnPropSymbols$
|
|
4174
|
-
if (__propIsEnum$
|
|
4175
|
-
__defNormalProp$
|
|
4170
|
+
if (__hasOwnProp$4.call(b, prop))
|
|
4171
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
4172
|
+
if (__getOwnPropSymbols$4)
|
|
4173
|
+
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
4174
|
+
if (__propIsEnum$4.call(b, prop))
|
|
4175
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
4176
4176
|
}
|
|
4177
4177
|
return a;
|
|
4178
4178
|
};
|
|
4179
|
-
var __spreadProps$
|
|
4179
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
4180
4180
|
const BatchInputListHeaderCell = (props) => {
|
|
4181
4181
|
const { column, disabled, data, disableBatchFilling, onBlur, onChange } = props;
|
|
4182
4182
|
const [errMsg, setErrMsg] = React.useState();
|
|
@@ -4188,7 +4188,7 @@
|
|
|
4188
4188
|
setErrMsg(err || void 0);
|
|
4189
4189
|
const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
|
|
4190
4190
|
const newData = data.map((cell, rowIndex) => {
|
|
4191
|
-
return __spreadProps$
|
|
4191
|
+
return __spreadProps$4(__spreadValues$4({}, cell), {
|
|
4192
4192
|
[column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
|
|
4193
4193
|
});
|
|
4194
4194
|
});
|
|
@@ -4205,7 +4205,7 @@
|
|
|
4205
4205
|
const CellComponent = ColumnHeaderImpls[column.type];
|
|
4206
4206
|
return /* @__PURE__ */ React.createElement(
|
|
4207
4207
|
CellComponent,
|
|
4208
|
-
__spreadProps$
|
|
4208
|
+
__spreadProps$4(__spreadValues$4({}, props), {
|
|
4209
4209
|
column,
|
|
4210
4210
|
onChange: headerOnChange,
|
|
4211
4211
|
onBlur: _onBlur
|
|
@@ -4230,7 +4230,7 @@
|
|
|
4230
4230
|
},
|
|
4231
4231
|
/* @__PURE__ */ React.createElement("p", { className: core.cx(Typo.Label.l3_bold_title, TitleStyle) }, column.title),
|
|
4232
4232
|
disableBatchFilling ? null : /* @__PURE__ */ React.createElement(
|
|
4233
|
-
FormItem,
|
|
4233
|
+
FormItem$1,
|
|
4234
4234
|
{
|
|
4235
4235
|
validateStatus: typeof errMsg === "string" && errMsg ? "error" : "",
|
|
4236
4236
|
message: errMsg || void 0
|
|
@@ -4240,25 +4240,25 @@
|
|
|
4240
4240
|
);
|
|
4241
4241
|
};
|
|
4242
4242
|
|
|
4243
|
-
var __defProp$
|
|
4244
|
-
var __defProps$
|
|
4245
|
-
var __getOwnPropDescs$
|
|
4246
|
-
var __getOwnPropSymbols$
|
|
4247
|
-
var __hasOwnProp$
|
|
4248
|
-
var __propIsEnum$
|
|
4249
|
-
var __defNormalProp$
|
|
4250
|
-
var __spreadValues$
|
|
4243
|
+
var __defProp$3 = Object.defineProperty;
|
|
4244
|
+
var __defProps$3 = Object.defineProperties;
|
|
4245
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
4246
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
4247
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
4248
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
4249
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4250
|
+
var __spreadValues$3 = (a, b) => {
|
|
4251
4251
|
for (var prop in b || (b = {}))
|
|
4252
|
-
if (__hasOwnProp$
|
|
4253
|
-
__defNormalProp$
|
|
4254
|
-
if (__getOwnPropSymbols$
|
|
4255
|
-
for (var prop of __getOwnPropSymbols$
|
|
4256
|
-
if (__propIsEnum$
|
|
4257
|
-
__defNormalProp$
|
|
4252
|
+
if (__hasOwnProp$3.call(b, prop))
|
|
4253
|
+
__defNormalProp$3(a, prop, b[prop]);
|
|
4254
|
+
if (__getOwnPropSymbols$3)
|
|
4255
|
+
for (var prop of __getOwnPropSymbols$3(b)) {
|
|
4256
|
+
if (__propIsEnum$3.call(b, prop))
|
|
4257
|
+
__defNormalProp$3(a, prop, b[prop]);
|
|
4258
4258
|
}
|
|
4259
4259
|
return a;
|
|
4260
4260
|
};
|
|
4261
|
-
var __spreadProps$
|
|
4261
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
4262
4262
|
const DEFAULT_ROW_COUNT = 3;
|
|
4263
4263
|
const TableForm = React.forwardRef(
|
|
4264
4264
|
({
|
|
@@ -4315,7 +4315,7 @@
|
|
|
4315
4315
|
(key, error) => {
|
|
4316
4316
|
if (error) {
|
|
4317
4317
|
const newData = latestData.map((cell) => {
|
|
4318
|
-
return __spreadProps$
|
|
4318
|
+
return __spreadProps$3(__spreadValues$3({}, cell), {
|
|
4319
4319
|
[key]: ""
|
|
4320
4320
|
});
|
|
4321
4321
|
});
|
|
@@ -4549,6 +4549,36 @@
|
|
|
4549
4549
|
})));
|
|
4550
4550
|
};
|
|
4551
4551
|
|
|
4552
|
+
var __defProp$2 = Object.defineProperty;
|
|
4553
|
+
var __defProps$2 = Object.defineProperties;
|
|
4554
|
+
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
4555
|
+
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
4556
|
+
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
4557
|
+
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
4558
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
|
|
4559
|
+
enumerable: true,
|
|
4560
|
+
configurable: true,
|
|
4561
|
+
writable: true,
|
|
4562
|
+
value
|
|
4563
|
+
}) : obj[key] = value;
|
|
4564
|
+
var __spreadValues$2 = (a, b) => {
|
|
4565
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
4566
|
+
if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
|
|
4567
|
+
if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
4568
|
+
}
|
|
4569
|
+
return a;
|
|
4570
|
+
};
|
|
4571
|
+
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
4572
|
+
const FormItemStyle = "f1p9ti6d";
|
|
4573
|
+
const FormItem = props => {
|
|
4574
|
+
return /* @__PURE__ */React.createElement(AntdFormItem, __spreadProps$2(__spreadValues$2({}, props), {
|
|
4575
|
+
className: cs(FormItemStyle, props.className)
|
|
4576
|
+
}));
|
|
4577
|
+
};
|
|
4578
|
+
|
|
4579
|
+
const Form = antd.Form;
|
|
4580
|
+
Form.Item = FormItem;
|
|
4581
|
+
|
|
4552
4582
|
function getAntdKit() {
|
|
4553
4583
|
const kit = {
|
|
4554
4584
|
loading: Loading,
|
|
@@ -4605,7 +4635,7 @@
|
|
|
4605
4635
|
arch: Arch,
|
|
4606
4636
|
buttonGroup: ButtonGroup,
|
|
4607
4637
|
steps: Steps,
|
|
4608
|
-
form:
|
|
4638
|
+
form: Form,
|
|
4609
4639
|
simplePagination: SimplePagination,
|
|
4610
4640
|
space: antd.Space,
|
|
4611
4641
|
timeZoneSelect: TimeZoneSelect,
|
|
@@ -4773,12 +4803,23 @@
|
|
|
4773
4803
|
getPopupContainer
|
|
4774
4804
|
} = props;
|
|
4775
4805
|
const _kit = React.useMemo(() => {
|
|
4806
|
+
var _a, _b;
|
|
4776
4807
|
if ((message == null ? void 0 : message.batch) != null) {
|
|
4777
4808
|
return __spreadProps(__spreadValues({}, kit), {
|
|
4778
|
-
message: createBatchMessageMethods(message.batch)
|
|
4809
|
+
message: __spreadProps(__spreadValues({}, createBatchMessageMethods(message.batch)), {
|
|
4810
|
+
config: {
|
|
4811
|
+
maxCount: (_a = message == null ? void 0 : message.config) == null ? void 0 : _a.maxCount
|
|
4812
|
+
}
|
|
4813
|
+
})
|
|
4779
4814
|
});
|
|
4780
4815
|
}
|
|
4781
|
-
return kit
|
|
4816
|
+
return __spreadProps(__spreadValues({}, kit), {
|
|
4817
|
+
message: __spreadProps(__spreadValues({}, createBatchMessageMethods()), {
|
|
4818
|
+
config: {
|
|
4819
|
+
maxCount: (_b = message == null ? void 0 : message.config) == null ? void 0 : _b.maxCount
|
|
4820
|
+
}
|
|
4821
|
+
})
|
|
4822
|
+
});
|
|
4782
4823
|
}, [kit, message == null ? void 0 : message.batch]);
|
|
4783
4824
|
React.useEffect(() => {
|
|
4784
4825
|
if (parrot.parrotI18n.language !== lng) {
|