@cloudtower/eagle 0.27.35 → 0.27.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.css +2391 -2391
- package/dist/esm/index.js +583 -586
- package/dist/esm/stats1.html +1 -1
- package/dist/style.css +2200 -2200
- package/dist/umd/index.js +586 -588
- package/dist/umd/stats1.html +1 -1
- package/package.json +7 -5
package/dist/esm/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import { cx } from '@linaria/core';
|
|
|
4
4
|
import { parrotI18n, ParrotLngs } from '@cloudtower/parrot';
|
|
5
5
|
export * from '@cloudtower/parrot';
|
|
6
6
|
import { useTranslation, Trans, withTranslation } from 'react-i18next';
|
|
7
|
-
import { Tooltip as Tooltip$1, Menu, Dropdown, Button as Button$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, Switch as Switch$1, Popover, Calendar as Calendar$2, Alert as Alert$1, Badge as Badge$1, Card as Card$2, Collapse, Form as Form$1,
|
|
7
|
+
import { Tooltip as Tooltip$1, Menu, Dropdown, Button as Button$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, Switch as Switch$1, Popover, Calendar as Calendar$2, Alert as Alert$1, Badge as Badge$1, Tag as Tag$1, Card as Card$2, Collapse, Form as Form$1, Steps as Steps$1, Modal as Modal$1, Progress as Progress$1, Radio as Radio$1, Table as Table$2, Space, List, Row, Col, Tree, Divider, Skeleton, Layout, AutoComplete, Timeline, Typography, Upload, Tabs, message, Empty as Empty$1, TreeSelect, Drawer, ConfigProvider } from 'antd';
|
|
8
8
|
export { Col, Row } from 'antd';
|
|
9
|
-
import { XmarkRemove24SecondaryIcon, InfoICircleFill16SecondaryIcon, XmarkFailedSeriousWarningFill16RedIcon, NoticeAttention16YellowIcon, InfoICircleFill16BlueIcon, CheckmarkDoneSuccessCircleFill16GreenIcon, ArrowChevronDown16SecondaryIcon, MoreEllipsis316BoldBlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16BlueIcon, FocusIndicator16BlueIcon, ClockIcon, CloseIcon, ArrowChevronDown16BlueIcon, ArrowChevronDown16BoldBlueIcon, ArrowChevronDownSmall16BlueIcon, ArrowChevronDownSmall16BoldBlueIcon, ArrowChevronUp16BoldBlueIcon, CalendarClockDateTime24GradientGrayIcon, CalendarClockDateTime24GradientBlueIcon, CalendarTimeRecord16Icon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeft16BoldBlueIcon, ArrowRightGrayIcon, HierarchyTriangleRight16PrimaryIcon, ArrowChevronUp16SecondaryIcon, CheckmarkDoneSuccessCorrect16SecondaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ArrowChevronDownSmall16SecondaryIcon, Loading8GradientBlueIcon, ArrowChevronUp16BoldSecondaryIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon
|
|
9
|
+
import { XmarkRemove24SecondaryIcon, InfoICircleFill16SecondaryIcon, XmarkFailedSeriousWarningFill16RedIcon, NoticeAttention16YellowIcon, InfoICircleFill16BlueIcon, CheckmarkDoneSuccessCircleFill16GreenIcon, ArrowChevronDown16SecondaryIcon, MoreEllipsis316BoldBlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16BlueIcon, FocusIndicator16BlueIcon, ClockIcon, CloseIcon, ArrowChevronDown16BlueIcon, ArrowChevronDown16BoldBlueIcon, ArrowChevronDownSmall16BlueIcon, ArrowChevronDownSmall16BoldBlueIcon, ArrowChevronUp16BoldBlueIcon, CalendarClockDateTime24GradientGrayIcon, CalendarClockDateTime24GradientBlueIcon, CalendarTimeRecord16Icon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeft16BoldBlueIcon, ArrowRightGrayIcon, XmarkRemoveSmall16RegularInheritIcon, HierarchyTriangleRight16PrimaryIcon, ArrowChevronUp16SecondaryIcon, CheckmarkDoneSuccessCorrect16SecondaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ArrowChevronDownSmall16SecondaryIcon, Loading8GradientBlueIcon, ArrowChevronUp16BoldSecondaryIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon } from '@cloudtower/icons-react';
|
|
10
10
|
import { styled } from '@linaria/react';
|
|
11
11
|
import cs from 'classnames';
|
|
12
12
|
import _, { isEqual, debounce, uniqBy, groupBy, sortBy, toPairs } from 'lodash';
|
|
@@ -23,10 +23,6 @@ import { CloseCircleFilled, LeftOutlined, RightOutlined, FormOutlined, SearchOut
|
|
|
23
23
|
import Highlighter from 'react-highlight-words';
|
|
24
24
|
import { RadialBarChart, PolarAngleAxis, RadialBar } from 'recharts';
|
|
25
25
|
import { Draggable, DragDropContext, Droppable } from 'react-beautiful-dnd';
|
|
26
|
-
import { Antd5PrefixCls } from '@src/utils/constants';
|
|
27
|
-
import Link$1 from '@src/components/Link';
|
|
28
|
-
import useParrotTranslation$1 from '@src/hooks/useParrotTranslation';
|
|
29
|
-
import Token$1 from '@src/components/Token';
|
|
30
26
|
import CheckCircleFilled from '@ant-design/icons/CheckCircleFilled';
|
|
31
27
|
import CloseCircleFilled$1 from '@ant-design/icons/CloseCircleFilled';
|
|
32
28
|
import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled';
|
|
@@ -1329,6 +1325,7 @@ const useElementResize = (klass, cb, depend) => {
|
|
|
1329
1325
|
|
|
1330
1326
|
const EMPTY_FUNCTION = () => {
|
|
1331
1327
|
};
|
|
1328
|
+
const Antd5PrefixCls = "antd5";
|
|
1332
1329
|
|
|
1333
1330
|
var __defProp$W = Object.defineProperty;
|
|
1334
1331
|
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -6247,39 +6244,159 @@ const CascaderSmallDropdown = "csp3had";
|
|
|
6247
6244
|
const CascaderLargeDropdown = "c1i4zk1";
|
|
6248
6245
|
|
|
6249
6246
|
var __defProp$r = Object.defineProperty;
|
|
6247
|
+
var __defProps$m = Object.defineProperties;
|
|
6248
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
6250
6249
|
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
6251
6250
|
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
6252
6251
|
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
6253
|
-
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
|
|
6252
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
|
|
6253
|
+
enumerable: true,
|
|
6254
|
+
configurable: true,
|
|
6255
|
+
writable: true,
|
|
6256
|
+
value
|
|
6257
|
+
}) : obj[key] = value;
|
|
6254
6258
|
var __spreadValues$r = (a, b) => {
|
|
6259
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
6260
|
+
if (__getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(b)) {
|
|
6261
|
+
if (__propIsEnum$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
6262
|
+
}
|
|
6263
|
+
return a;
|
|
6264
|
+
};
|
|
6265
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
6266
|
+
var __objRest$b = (source, exclude) => {
|
|
6267
|
+
var target = {};
|
|
6268
|
+
for (var prop in source) if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6269
|
+
if (source != null && __getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(source)) {
|
|
6270
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop)) target[prop] = source[prop];
|
|
6271
|
+
}
|
|
6272
|
+
return target;
|
|
6273
|
+
};
|
|
6274
|
+
const LinkStyle = "lujuy3j";
|
|
6275
|
+
const Link = React__default.forwardRef((_a, ref) => {
|
|
6276
|
+
var _b = _a,
|
|
6277
|
+
{
|
|
6278
|
+
className,
|
|
6279
|
+
disabled,
|
|
6280
|
+
type
|
|
6281
|
+
} = _b,
|
|
6282
|
+
props = __objRest$b(_b, ["className", "disabled", "type"]);
|
|
6283
|
+
return /* @__PURE__ */React__default.createElement(Button, __spreadProps$m(__spreadValues$r({}, props), {
|
|
6284
|
+
ref,
|
|
6285
|
+
disabled,
|
|
6286
|
+
className: cs(LinkStyle, className, {
|
|
6287
|
+
"ui-kit-link-disabled": disabled,
|
|
6288
|
+
"ui-kit-link-subtle": type === "subtle"
|
|
6289
|
+
}),
|
|
6290
|
+
type: "link"
|
|
6291
|
+
}));
|
|
6292
|
+
});
|
|
6293
|
+
|
|
6294
|
+
const IconStyle$1 = "iwsze0q";
|
|
6295
|
+
|
|
6296
|
+
var __defProp$q = Object.defineProperty;
|
|
6297
|
+
var __defProps$l = Object.defineProperties;
|
|
6298
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
6299
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
6300
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
6301
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
6302
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, {
|
|
6303
|
+
enumerable: true,
|
|
6304
|
+
configurable: true,
|
|
6305
|
+
writable: true,
|
|
6306
|
+
value
|
|
6307
|
+
}) : obj[key] = value;
|
|
6308
|
+
var __spreadValues$q = (a, b) => {
|
|
6309
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
6310
|
+
if (__getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(b)) {
|
|
6311
|
+
if (__propIsEnum$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
6312
|
+
}
|
|
6313
|
+
return a;
|
|
6314
|
+
};
|
|
6315
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
6316
|
+
var __objRest$a = (source, exclude) => {
|
|
6317
|
+
var target = {};
|
|
6318
|
+
for (var prop in source) if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6319
|
+
if (source != null && __getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(source)) {
|
|
6320
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop)) target[prop] = source[prop];
|
|
6321
|
+
}
|
|
6322
|
+
return target;
|
|
6323
|
+
};
|
|
6324
|
+
const PresetColors$3 = ["blue", "red", "yellow", "green", "gray", "purple"];
|
|
6325
|
+
const Size$1 = {
|
|
6326
|
+
small: "s1uupxds",
|
|
6327
|
+
medium: "m10sqwut",
|
|
6328
|
+
large: "l1d492wb"
|
|
6329
|
+
};
|
|
6330
|
+
const TokenStyle = "t1lzavmu";
|
|
6331
|
+
const Token = React__default.forwardRef((_a, ref) => {
|
|
6332
|
+
var _b = _a,
|
|
6333
|
+
{
|
|
6334
|
+
size = "small",
|
|
6335
|
+
color = "gray",
|
|
6336
|
+
className,
|
|
6337
|
+
icon,
|
|
6338
|
+
checked,
|
|
6339
|
+
children,
|
|
6340
|
+
tooltipConfig
|
|
6341
|
+
} = _b,
|
|
6342
|
+
props = __objRest$a(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
|
|
6343
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$l(__spreadValues$q({}, props), {
|
|
6344
|
+
ref,
|
|
6345
|
+
className: cs(className, Size$1[size], TokenStyle, {
|
|
6346
|
+
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
6347
|
+
[Typo.Label.l3_regular]: size === "large",
|
|
6348
|
+
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
6349
|
+
}, "ui-kit-token", checked && "ui-kit-token-checked"),
|
|
6350
|
+
closeIcon: /* @__PURE__ */React__default.createElement(Tooltip, __spreadValues$q({
|
|
6351
|
+
title: tooltipConfig == null ? void 0 : tooltipConfig.title
|
|
6352
|
+
}, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
|
|
6353
|
+
visible: false
|
|
6354
|
+
}), /* @__PURE__ */React__default.createElement(Icon, {
|
|
6355
|
+
className: "selected-icon",
|
|
6356
|
+
src: XmarkRemoveSmall16RegularInheritIcon,
|
|
6357
|
+
iconHeight: 16,
|
|
6358
|
+
iconWidth: 16
|
|
6359
|
+
})),
|
|
6360
|
+
color: color === "gray" ? void 0 : color
|
|
6361
|
+
}), icon && /* @__PURE__ */React__default.createElement("span", {
|
|
6362
|
+
className: cs("ui-kit-tag-icon", IconStyle$1)
|
|
6363
|
+
}, icon), children);
|
|
6364
|
+
});
|
|
6365
|
+
|
|
6366
|
+
var __defProp$p = Object.defineProperty;
|
|
6367
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
6368
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
6369
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
6370
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6371
|
+
var __spreadValues$p = (a, b) => {
|
|
6255
6372
|
for (var prop in b || (b = {}))
|
|
6256
|
-
if (__hasOwnProp$
|
|
6257
|
-
__defNormalProp$
|
|
6258
|
-
if (__getOwnPropSymbols$
|
|
6259
|
-
for (var prop of __getOwnPropSymbols$
|
|
6260
|
-
if (__propIsEnum$
|
|
6261
|
-
__defNormalProp$
|
|
6373
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
6374
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
6375
|
+
if (__getOwnPropSymbols$q)
|
|
6376
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
6377
|
+
if (__propIsEnum$q.call(b, prop))
|
|
6378
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
6262
6379
|
}
|
|
6263
6380
|
return a;
|
|
6264
6381
|
};
|
|
6265
|
-
var __objRest$
|
|
6382
|
+
var __objRest$9 = (source, exclude) => {
|
|
6266
6383
|
var target = {};
|
|
6267
6384
|
for (var prop in source)
|
|
6268
|
-
if (__hasOwnProp$
|
|
6385
|
+
if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6269
6386
|
target[prop] = source[prop];
|
|
6270
|
-
if (source != null && __getOwnPropSymbols$
|
|
6271
|
-
for (var prop of __getOwnPropSymbols$
|
|
6272
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6387
|
+
if (source != null && __getOwnPropSymbols$q)
|
|
6388
|
+
for (var prop of __getOwnPropSymbols$q(source)) {
|
|
6389
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
|
|
6273
6390
|
target[prop] = source[prop];
|
|
6274
6391
|
}
|
|
6275
6392
|
return target;
|
|
6276
6393
|
};
|
|
6277
6394
|
const SearchInput = (props) => {
|
|
6278
|
-
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$
|
|
6395
|
+
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$9(_a, ["onChange", "debounceWait"]);
|
|
6279
6396
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
6280
6397
|
return /* @__PURE__ */ React__default.createElement(
|
|
6281
6398
|
Input,
|
|
6282
|
-
__spreadValues$
|
|
6399
|
+
__spreadValues$p({
|
|
6283
6400
|
style: { width: 276 },
|
|
6284
6401
|
prefix: /* @__PURE__ */ React__default.createElement(SearchOutlined, null),
|
|
6285
6402
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -6287,30 +6404,30 @@ const SearchInput = (props) => {
|
|
|
6287
6404
|
);
|
|
6288
6405
|
};
|
|
6289
6406
|
|
|
6290
|
-
var __defProp$
|
|
6291
|
-
var __defProps$
|
|
6292
|
-
var __getOwnPropDescs$
|
|
6293
|
-
var __getOwnPropSymbols$
|
|
6294
|
-
var __hasOwnProp$
|
|
6295
|
-
var __propIsEnum$
|
|
6296
|
-
var __defNormalProp$
|
|
6297
|
-
var __spreadValues$
|
|
6407
|
+
var __defProp$o = Object.defineProperty;
|
|
6408
|
+
var __defProps$k = Object.defineProperties;
|
|
6409
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
6410
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
6411
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
6412
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
6413
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6414
|
+
var __spreadValues$o = (a, b) => {
|
|
6298
6415
|
for (var prop in b || (b = {}))
|
|
6299
|
-
if (__hasOwnProp$
|
|
6300
|
-
__defNormalProp$
|
|
6301
|
-
if (__getOwnPropSymbols$
|
|
6302
|
-
for (var prop of __getOwnPropSymbols$
|
|
6303
|
-
if (__propIsEnum$
|
|
6304
|
-
__defNormalProp$
|
|
6416
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
6417
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
6418
|
+
if (__getOwnPropSymbols$p)
|
|
6419
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
6420
|
+
if (__propIsEnum$p.call(b, prop))
|
|
6421
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
6305
6422
|
}
|
|
6306
6423
|
return a;
|
|
6307
6424
|
};
|
|
6308
|
-
var __spreadProps$
|
|
6425
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
6309
6426
|
const NotDataContent = ({ content }) => {
|
|
6310
6427
|
return /* @__PURE__ */ React__default.createElement("div", { className: cs(CascaderNotData) }, content);
|
|
6311
6428
|
};
|
|
6312
6429
|
const PresetCascaderHeader = ({ defaultContent, searchProps }) => {
|
|
6313
|
-
const { t } = useParrotTranslation
|
|
6430
|
+
const { t } = useParrotTranslation();
|
|
6314
6431
|
const [selectedAll, setSelectedAll] = useState(false);
|
|
6315
6432
|
const onClick = (e) => {
|
|
6316
6433
|
var _a;
|
|
@@ -6319,13 +6436,13 @@ const PresetCascaderHeader = ({ defaultContent, searchProps }) => {
|
|
|
6319
6436
|
};
|
|
6320
6437
|
return /* @__PURE__ */ React__default.createElement(Flex, { vertical: true, className: CascaderDefaultHeaderContainer }, searchProps ? /* @__PURE__ */ React__default.createElement(
|
|
6321
6438
|
SearchInput,
|
|
6322
|
-
__spreadProps$
|
|
6439
|
+
__spreadProps$k(__spreadValues$o({}, searchProps), {
|
|
6323
6440
|
className: cs(searchProps.className, CascaderDefaultHeaderSearch),
|
|
6324
6441
|
style: {
|
|
6325
6442
|
width: "unset"
|
|
6326
6443
|
}
|
|
6327
6444
|
})
|
|
6328
|
-
) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null), (defaultContent == null ? void 0 : defaultContent.hide) ? /* @__PURE__ */ React__default.createElement(React__default.Fragment, null) : /* @__PURE__ */ React__default.createElement("div", { className: cs(CascaderDefaultHeader) }, defaultContent == null ? void 0 : defaultContent.label, /* @__PURE__ */ React__default.createElement(Link
|
|
6445
|
+
) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null), (defaultContent == null ? void 0 : defaultContent.hide) ? /* @__PURE__ */ React__default.createElement(React__default.Fragment, null) : /* @__PURE__ */ React__default.createElement("div", { className: cs(CascaderDefaultHeader) }, defaultContent == null ? void 0 : defaultContent.label, /* @__PURE__ */ React__default.createElement(Link, { size: "small", onClick }, selectedAll ? t("components.unselect_all") : t("components.select_all"))));
|
|
6329
6446
|
};
|
|
6330
6447
|
const PresetCascaderRender = ({
|
|
6331
6448
|
menus,
|
|
@@ -6333,36 +6450,36 @@ const PresetCascaderRender = ({
|
|
|
6333
6450
|
footer,
|
|
6334
6451
|
presetHeaderProps
|
|
6335
6452
|
}) => {
|
|
6336
|
-
return /* @__PURE__ */ React__default.createElement("div", null, header ? header : /* @__PURE__ */ React__default.createElement(PresetCascaderHeader, __spreadValues$
|
|
6453
|
+
return /* @__PURE__ */ React__default.createElement("div", null, header ? header : /* @__PURE__ */ React__default.createElement(PresetCascaderHeader, __spreadValues$o({}, presetHeaderProps)), menus, footer);
|
|
6337
6454
|
};
|
|
6338
6455
|
const defaultTagRender = (props) => {
|
|
6339
|
-
return /* @__PURE__ */ React__default.createElement(Token
|
|
6456
|
+
return /* @__PURE__ */ React__default.createElement(Token, __spreadValues$o({ size: "medium", color: "blue", key: props.value }, props), props.label);
|
|
6340
6457
|
};
|
|
6341
6458
|
|
|
6342
|
-
var __defProp$
|
|
6343
|
-
var __getOwnPropSymbols$
|
|
6344
|
-
var __hasOwnProp$
|
|
6345
|
-
var __propIsEnum$
|
|
6346
|
-
var __defNormalProp$
|
|
6347
|
-
var __spreadValues$
|
|
6459
|
+
var __defProp$n = Object.defineProperty;
|
|
6460
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
6461
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
6462
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
6463
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6464
|
+
var __spreadValues$n = (a, b) => {
|
|
6348
6465
|
for (var prop in b || (b = {}))
|
|
6349
|
-
if (__hasOwnProp$
|
|
6350
|
-
__defNormalProp$
|
|
6351
|
-
if (__getOwnPropSymbols$
|
|
6352
|
-
for (var prop of __getOwnPropSymbols$
|
|
6353
|
-
if (__propIsEnum$
|
|
6354
|
-
__defNormalProp$
|
|
6466
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
6467
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
6468
|
+
if (__getOwnPropSymbols$o)
|
|
6469
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
6470
|
+
if (__propIsEnum$o.call(b, prop))
|
|
6471
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
6355
6472
|
}
|
|
6356
6473
|
return a;
|
|
6357
6474
|
};
|
|
6358
|
-
var __objRest$
|
|
6475
|
+
var __objRest$8 = (source, exclude) => {
|
|
6359
6476
|
var target = {};
|
|
6360
6477
|
for (var prop in source)
|
|
6361
|
-
if (__hasOwnProp$
|
|
6478
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6362
6479
|
target[prop] = source[prop];
|
|
6363
|
-
if (source != null && __getOwnPropSymbols$
|
|
6364
|
-
for (var prop of __getOwnPropSymbols$
|
|
6365
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6480
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
6481
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
6482
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
6366
6483
|
target[prop] = source[prop];
|
|
6367
6484
|
}
|
|
6368
6485
|
return target;
|
|
@@ -6373,7 +6490,7 @@ const Cascader = (props) => {
|
|
|
6373
6490
|
NotData = "No Data",
|
|
6374
6491
|
dropdownClassName,
|
|
6375
6492
|
presetCascaderRenderProps
|
|
6376
|
-
} = _a, restProps = __objRest$
|
|
6493
|
+
} = _a, restProps = __objRest$8(_a, [
|
|
6377
6494
|
"size",
|
|
6378
6495
|
"NotData",
|
|
6379
6496
|
"dropdownClassName",
|
|
@@ -6381,7 +6498,7 @@ const Cascader = (props) => {
|
|
|
6381
6498
|
]);
|
|
6382
6499
|
return /* @__PURE__ */ React__default.createElement(
|
|
6383
6500
|
Cascader$1,
|
|
6384
|
-
__spreadValues$
|
|
6501
|
+
__spreadValues$n({
|
|
6385
6502
|
size,
|
|
6386
6503
|
prefixCls: Antd5PrefixCls,
|
|
6387
6504
|
expandIcon: /* @__PURE__ */ React__default.createElement(Icon, { src: HierarchyTriangleRight16PrimaryIcon }),
|
|
@@ -6393,7 +6510,7 @@ const Cascader = (props) => {
|
|
|
6393
6510
|
dropdownClassName,
|
|
6394
6511
|
CascaderDropdown
|
|
6395
6512
|
),
|
|
6396
|
-
dropdownRender: (menus) => /* @__PURE__ */ React__default.createElement(PresetCascaderRender, __spreadValues$
|
|
6513
|
+
dropdownRender: (menus) => /* @__PURE__ */ React__default.createElement(PresetCascaderRender, __spreadValues$n({ menus }, presetCascaderRenderProps)),
|
|
6397
6514
|
notFoundContent: /* @__PURE__ */ React__default.createElement(NotDataContent, { content: NotData }),
|
|
6398
6515
|
tagRender: defaultTagRender,
|
|
6399
6516
|
rootClassName: CascaderInputStyle
|
|
@@ -6474,32 +6591,32 @@ const ExpandableItem = props => {
|
|
|
6474
6591
|
}, children));
|
|
6475
6592
|
};
|
|
6476
6593
|
|
|
6477
|
-
var __defProp$
|
|
6478
|
-
var __defProps$
|
|
6479
|
-
var __getOwnPropDescs$
|
|
6480
|
-
var __getOwnPropSymbols$
|
|
6481
|
-
var __hasOwnProp$
|
|
6482
|
-
var __propIsEnum$
|
|
6483
|
-
var __defNormalProp$
|
|
6594
|
+
var __defProp$m = Object.defineProperty;
|
|
6595
|
+
var __defProps$j = Object.defineProperties;
|
|
6596
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
6597
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
6598
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
6599
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
6600
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
|
|
6484
6601
|
enumerable: true,
|
|
6485
6602
|
configurable: true,
|
|
6486
6603
|
writable: true,
|
|
6487
6604
|
value
|
|
6488
6605
|
}) : obj[key] = value;
|
|
6489
|
-
var __spreadValues$
|
|
6490
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6491
|
-
if (__getOwnPropSymbols$
|
|
6492
|
-
if (__propIsEnum$
|
|
6606
|
+
var __spreadValues$m = (a, b) => {
|
|
6607
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
6608
|
+
if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
|
|
6609
|
+
if (__propIsEnum$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
6493
6610
|
}
|
|
6494
6611
|
return a;
|
|
6495
6612
|
};
|
|
6496
|
-
var __spreadProps$
|
|
6613
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
6497
6614
|
const {
|
|
6498
6615
|
Item: AntdFormItem
|
|
6499
6616
|
} = Form$1;
|
|
6500
6617
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
6501
6618
|
const FormItem$1 = props => {
|
|
6502
|
-
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$
|
|
6619
|
+
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$j(__spreadValues$m({}, props), {
|
|
6503
6620
|
className: cs(FormItemStyle$1, props.className)
|
|
6504
6621
|
}));
|
|
6505
6622
|
};
|
|
@@ -6507,28 +6624,28 @@ const FormItem$1 = props => {
|
|
|
6507
6624
|
const Form = Form$1;
|
|
6508
6625
|
Form.Item = FormItem$1;
|
|
6509
6626
|
|
|
6510
|
-
var __defProp$
|
|
6511
|
-
var __getOwnPropSymbols$
|
|
6512
|
-
var __hasOwnProp$
|
|
6513
|
-
var __propIsEnum$
|
|
6514
|
-
var __defNormalProp$
|
|
6515
|
-
var __spreadValues$
|
|
6627
|
+
var __defProp$l = Object.defineProperty;
|
|
6628
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
6629
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
6630
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
6631
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6632
|
+
var __spreadValues$l = (a, b) => {
|
|
6516
6633
|
for (var prop in b || (b = {}))
|
|
6517
|
-
if (__hasOwnProp$
|
|
6518
|
-
__defNormalProp$
|
|
6519
|
-
if (__getOwnPropSymbols$
|
|
6520
|
-
for (var prop of __getOwnPropSymbols$
|
|
6521
|
-
if (__propIsEnum$
|
|
6522
|
-
__defNormalProp$
|
|
6634
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
6635
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
6636
|
+
if (__getOwnPropSymbols$m)
|
|
6637
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
6638
|
+
if (__propIsEnum$m.call(b, prop))
|
|
6639
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
6523
6640
|
}
|
|
6524
6641
|
return a;
|
|
6525
6642
|
};
|
|
6526
6643
|
const ParrotTrans = (props) => {
|
|
6527
6644
|
const { i18n } = useParrotTranslation();
|
|
6528
|
-
return /* @__PURE__ */ React__default.createElement(Trans, __spreadValues$
|
|
6645
|
+
return /* @__PURE__ */ React__default.createElement(Trans, __spreadValues$l({ i18n }, props));
|
|
6529
6646
|
};
|
|
6530
6647
|
|
|
6531
|
-
const PresetColors$
|
|
6648
|
+
const PresetColors$2 = [
|
|
6532
6649
|
"blue",
|
|
6533
6650
|
"red",
|
|
6534
6651
|
"yellow",
|
|
@@ -6537,39 +6654,39 @@ const PresetColors$3 = [
|
|
|
6537
6654
|
"purple"
|
|
6538
6655
|
];
|
|
6539
6656
|
|
|
6540
|
-
const Size
|
|
6657
|
+
const Size = {
|
|
6541
6658
|
small: "sut42l0",
|
|
6542
6659
|
medium: "mfsz1jz"
|
|
6543
6660
|
};
|
|
6544
6661
|
const TagStyle$1 = "tnd6h4m";
|
|
6545
|
-
const IconStyle
|
|
6662
|
+
const IconStyle = "i1qw4clm";
|
|
6546
6663
|
const NameTagStyle = "n1r5ku5l";
|
|
6547
6664
|
|
|
6548
|
-
var __defProp$
|
|
6549
|
-
var __defProps$
|
|
6550
|
-
var __getOwnPropDescs$
|
|
6551
|
-
var __getOwnPropSymbols$
|
|
6552
|
-
var __hasOwnProp$
|
|
6553
|
-
var __propIsEnum$
|
|
6554
|
-
var __defNormalProp$
|
|
6665
|
+
var __defProp$k = Object.defineProperty;
|
|
6666
|
+
var __defProps$i = Object.defineProperties;
|
|
6667
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
6668
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
6669
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
6670
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
6671
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, {
|
|
6555
6672
|
enumerable: true,
|
|
6556
6673
|
configurable: true,
|
|
6557
6674
|
writable: true,
|
|
6558
6675
|
value
|
|
6559
6676
|
}) : obj[key] = value;
|
|
6560
|
-
var __spreadValues$
|
|
6561
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6562
|
-
if (__getOwnPropSymbols$
|
|
6563
|
-
if (__propIsEnum$
|
|
6677
|
+
var __spreadValues$k = (a, b) => {
|
|
6678
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$l.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
|
|
6679
|
+
if (__getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(b)) {
|
|
6680
|
+
if (__propIsEnum$l.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
|
|
6564
6681
|
}
|
|
6565
6682
|
return a;
|
|
6566
6683
|
};
|
|
6567
|
-
var __spreadProps$
|
|
6568
|
-
var __objRest$
|
|
6684
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
6685
|
+
var __objRest$7 = (source, exclude) => {
|
|
6569
6686
|
var target = {};
|
|
6570
|
-
for (var prop in source) if (__hasOwnProp$
|
|
6571
|
-
if (source != null && __getOwnPropSymbols$
|
|
6572
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6687
|
+
for (var prop in source) if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6688
|
+
if (source != null && __getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(source)) {
|
|
6689
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop)) target[prop] = source[prop];
|
|
6573
6690
|
}
|
|
6574
6691
|
return target;
|
|
6575
6692
|
};
|
|
@@ -6584,53 +6701,53 @@ const SplitTag = _a => {
|
|
|
6584
6701
|
secondaryContent,
|
|
6585
6702
|
icon
|
|
6586
6703
|
} = _b,
|
|
6587
|
-
props = __objRest$
|
|
6588
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$
|
|
6589
|
-
className: cs(className, TagStyle$1, Size
|
|
6590
|
-
[`ant-tag-${color}`]: PresetColors$
|
|
6704
|
+
props = __objRest$7(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
6705
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$i(__spreadValues$k({}, props), {
|
|
6706
|
+
className: cs(className, TagStyle$1, Size[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
6707
|
+
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
6591
6708
|
}, "outside-tag")
|
|
6592
6709
|
}), /* @__PURE__ */React__default.createElement(Tag$1, {
|
|
6593
|
-
className: cs(Size
|
|
6594
|
-
[`ant-tag-${color}`]: PresetColors$
|
|
6710
|
+
className: cs(Size[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
6711
|
+
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
6595
6712
|
}, "inside-tag")
|
|
6596
6713
|
}, icon && /* @__PURE__ */React__default.createElement("span", {
|
|
6597
|
-
className: cs("ui-kit-tag-icon", IconStyle
|
|
6714
|
+
className: cs("ui-kit-tag-icon", IconStyle)
|
|
6598
6715
|
}, icon), primaryContent), secondaryContent);
|
|
6599
6716
|
};
|
|
6600
6717
|
|
|
6601
|
-
var __defProp$
|
|
6602
|
-
var __defProps$
|
|
6603
|
-
var __getOwnPropDescs$
|
|
6604
|
-
var __getOwnPropSymbols$
|
|
6605
|
-
var __hasOwnProp$
|
|
6606
|
-
var __propIsEnum$
|
|
6607
|
-
var __defNormalProp$
|
|
6608
|
-
var __spreadValues$
|
|
6718
|
+
var __defProp$j = Object.defineProperty;
|
|
6719
|
+
var __defProps$h = Object.defineProperties;
|
|
6720
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
6721
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
6722
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
6723
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
6724
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6725
|
+
var __spreadValues$j = (a, b) => {
|
|
6609
6726
|
for (var prop in b || (b = {}))
|
|
6610
|
-
if (__hasOwnProp$
|
|
6611
|
-
__defNormalProp$
|
|
6612
|
-
if (__getOwnPropSymbols$
|
|
6613
|
-
for (var prop of __getOwnPropSymbols$
|
|
6614
|
-
if (__propIsEnum$
|
|
6615
|
-
__defNormalProp$
|
|
6727
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
6728
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
6729
|
+
if (__getOwnPropSymbols$k)
|
|
6730
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
6731
|
+
if (__propIsEnum$k.call(b, prop))
|
|
6732
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
6616
6733
|
}
|
|
6617
6734
|
return a;
|
|
6618
6735
|
};
|
|
6619
|
-
var __spreadProps$
|
|
6620
|
-
var __objRest$
|
|
6736
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
6737
|
+
var __objRest$6 = (source, exclude) => {
|
|
6621
6738
|
var target = {};
|
|
6622
6739
|
for (var prop in source)
|
|
6623
|
-
if (__hasOwnProp$
|
|
6740
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6624
6741
|
target[prop] = source[prop];
|
|
6625
|
-
if (source != null && __getOwnPropSymbols$
|
|
6626
|
-
for (var prop of __getOwnPropSymbols$
|
|
6627
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6742
|
+
if (source != null && __getOwnPropSymbols$k)
|
|
6743
|
+
for (var prop of __getOwnPropSymbols$k(source)) {
|
|
6744
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
|
|
6628
6745
|
target[prop] = source[prop];
|
|
6629
6746
|
}
|
|
6630
6747
|
return target;
|
|
6631
6748
|
};
|
|
6632
|
-
const PresetColors$
|
|
6633
|
-
...PresetColors$
|
|
6749
|
+
const PresetColors$1 = [
|
|
6750
|
+
...PresetColors$2,
|
|
6634
6751
|
"red-ontint",
|
|
6635
6752
|
"green-ontint"
|
|
6636
6753
|
];
|
|
@@ -6649,7 +6766,7 @@ const Tag = (_a) => {
|
|
|
6649
6766
|
hoverable = false,
|
|
6650
6767
|
icon,
|
|
6651
6768
|
children
|
|
6652
|
-
} = _b, props = __objRest$
|
|
6769
|
+
} = _b, props = __objRest$6(_b, [
|
|
6653
6770
|
"size",
|
|
6654
6771
|
"color",
|
|
6655
6772
|
"className",
|
|
@@ -6660,128 +6777,80 @@ const Tag = (_a) => {
|
|
|
6660
6777
|
const computedColor = AntdColorMap[color] || color;
|
|
6661
6778
|
return /* @__PURE__ */ React__default.createElement(
|
|
6662
6779
|
Tag$1,
|
|
6663
|
-
__spreadProps$
|
|
6664
|
-
className: cs(className, Size
|
|
6665
|
-
[`ant-tag-${computedColor}`]: PresetColors$
|
|
6780
|
+
__spreadProps$h(__spreadValues$j({}, props), {
|
|
6781
|
+
className: cs(className, Size[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
6782
|
+
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
6666
6783
|
"tag-hover": hoverable
|
|
6667
6784
|
}),
|
|
6668
6785
|
closable: false,
|
|
6669
6786
|
color: computedColor === "gray" ? void 0 : computedColor
|
|
6670
6787
|
}),
|
|
6671
|
-
icon && /* @__PURE__ */ React__default.createElement("span", { className: IconStyle
|
|
6788
|
+
icon && /* @__PURE__ */ React__default.createElement("span", { className: IconStyle }, icon),
|
|
6672
6789
|
children
|
|
6673
6790
|
);
|
|
6674
6791
|
};
|
|
6675
6792
|
const NameTag = (_c) => {
|
|
6676
|
-
var _d = _c, { className } = _d, props = __objRest$
|
|
6677
|
-
return /* @__PURE__ */ React__default.createElement(Tag, __spreadValues$
|
|
6793
|
+
var _d = _c, { className } = _d, props = __objRest$6(_d, ["className"]);
|
|
6794
|
+
return /* @__PURE__ */ React__default.createElement(Tag, __spreadValues$j({ className: cs(NameTagStyle, className) }, props));
|
|
6678
6795
|
};
|
|
6679
6796
|
Tag.SplitTag = SplitTag;
|
|
6680
6797
|
Tag.NameTag = NameTag;
|
|
6681
6798
|
|
|
6682
|
-
var __getOwnPropSymbols$
|
|
6683
|
-
var __hasOwnProp$
|
|
6684
|
-
var __propIsEnum$
|
|
6685
|
-
var __objRest$
|
|
6686
|
-
var target = {};
|
|
6687
|
-
for (var prop in source) if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6688
|
-
if (source != null && __getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(source)) {
|
|
6689
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop)) target[prop] = source[prop];
|
|
6690
|
-
}
|
|
6691
|
-
return target;
|
|
6692
|
-
};
|
|
6693
|
-
const tagStyle = "t3qomhu";
|
|
6694
|
-
const I18nNameTag = props => {
|
|
6695
|
-
const _a = props,
|
|
6696
|
-
{
|
|
6697
|
-
name,
|
|
6698
|
-
i18nKey
|
|
6699
|
-
} = _a,
|
|
6700
|
-
otherOption = __objRest$7(_a, ["name", "i18nKey"]);
|
|
6701
|
-
return /* @__PURE__ */React__default.createElement(ParrotTrans, {
|
|
6702
|
-
i18nKey,
|
|
6703
|
-
tOptions: otherOption
|
|
6704
|
-
}, "h", /* @__PURE__ */React__default.createElement(Tag.NameTag, {
|
|
6705
|
-
className: tagStyle
|
|
6706
|
-
}, {
|
|
6707
|
-
name
|
|
6708
|
-
}));
|
|
6709
|
-
};
|
|
6710
|
-
|
|
6711
|
-
const _exp = () => Input$1.Group;
|
|
6712
|
-
const InputGroup = /*#__PURE__*/styled(_exp())({
|
|
6713
|
-
name: "InputGroup",
|
|
6714
|
-
class: "iiqau4c",
|
|
6715
|
-
propsAsIs: true
|
|
6716
|
-
});
|
|
6717
|
-
|
|
6718
|
-
var __defProp$k = Object.defineProperty;
|
|
6719
|
-
var __defProps$i = Object.defineProperties;
|
|
6720
|
-
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
6721
|
-
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
6722
|
-
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
6723
|
-
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
6724
|
-
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, {
|
|
6725
|
-
enumerable: true,
|
|
6726
|
-
configurable: true,
|
|
6727
|
-
writable: true,
|
|
6728
|
-
value
|
|
6729
|
-
}) : obj[key] = value;
|
|
6730
|
-
var __spreadValues$k = (a, b) => {
|
|
6731
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$k.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
|
|
6732
|
-
if (__getOwnPropSymbols$k) for (var prop of __getOwnPropSymbols$k(b)) {
|
|
6733
|
-
if (__propIsEnum$k.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
|
|
6734
|
-
}
|
|
6735
|
-
return a;
|
|
6736
|
-
};
|
|
6737
|
-
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
6738
|
-
var __objRest$6 = (source, exclude) => {
|
|
6799
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
6800
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
6801
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
6802
|
+
var __objRest$5 = (source, exclude) => {
|
|
6739
6803
|
var target = {};
|
|
6740
|
-
for (var prop in source) if (__hasOwnProp$
|
|
6741
|
-
if (source != null && __getOwnPropSymbols$
|
|
6742
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6804
|
+
for (var prop in source) if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6805
|
+
if (source != null && __getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(source)) {
|
|
6806
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop)) target[prop] = source[prop];
|
|
6743
6807
|
}
|
|
6744
6808
|
return target;
|
|
6745
6809
|
};
|
|
6746
|
-
const
|
|
6747
|
-
const
|
|
6748
|
-
|
|
6810
|
+
const tagStyle = "t3qomhu";
|
|
6811
|
+
const I18nNameTag = props => {
|
|
6812
|
+
const _a = props,
|
|
6749
6813
|
{
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
className:
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
}),
|
|
6762
|
-
type: "link"
|
|
6814
|
+
name,
|
|
6815
|
+
i18nKey
|
|
6816
|
+
} = _a,
|
|
6817
|
+
otherOption = __objRest$5(_a, ["name", "i18nKey"]);
|
|
6818
|
+
return /* @__PURE__ */React__default.createElement(ParrotTrans, {
|
|
6819
|
+
i18nKey,
|
|
6820
|
+
tOptions: otherOption
|
|
6821
|
+
}, "h", /* @__PURE__ */React__default.createElement(Tag.NameTag, {
|
|
6822
|
+
className: tagStyle
|
|
6823
|
+
}, {
|
|
6824
|
+
name
|
|
6763
6825
|
}));
|
|
6826
|
+
};
|
|
6827
|
+
|
|
6828
|
+
const _exp = () => Input$1.Group;
|
|
6829
|
+
const InputGroup = /*#__PURE__*/styled(_exp())({
|
|
6830
|
+
name: "InputGroup",
|
|
6831
|
+
class: "iiqau4c",
|
|
6832
|
+
propsAsIs: true
|
|
6764
6833
|
});
|
|
6765
6834
|
|
|
6766
|
-
var __defProp$
|
|
6767
|
-
var __defProps$
|
|
6768
|
-
var __getOwnPropDescs$
|
|
6769
|
-
var __getOwnPropSymbols$
|
|
6770
|
-
var __hasOwnProp$
|
|
6771
|
-
var __propIsEnum$
|
|
6772
|
-
var __defNormalProp$
|
|
6773
|
-
var __spreadValues$
|
|
6835
|
+
var __defProp$i = Object.defineProperty;
|
|
6836
|
+
var __defProps$g = Object.defineProperties;
|
|
6837
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
6838
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
6839
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
6840
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
6841
|
+
var __defNormalProp$i = (obj, key2, value) => key2 in obj ? __defProp$i(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
6842
|
+
var __spreadValues$i = (a, b) => {
|
|
6774
6843
|
for (var prop in b || (b = {}))
|
|
6775
|
-
if (__hasOwnProp$
|
|
6776
|
-
__defNormalProp$
|
|
6777
|
-
if (__getOwnPropSymbols$
|
|
6778
|
-
for (var prop of __getOwnPropSymbols$
|
|
6779
|
-
if (__propIsEnum$
|
|
6780
|
-
__defNormalProp$
|
|
6844
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
6845
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
6846
|
+
if (__getOwnPropSymbols$i)
|
|
6847
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
6848
|
+
if (__propIsEnum$i.call(b, prop))
|
|
6849
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
6781
6850
|
}
|
|
6782
6851
|
return a;
|
|
6783
6852
|
};
|
|
6784
|
-
var __spreadProps$
|
|
6853
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
6785
6854
|
let messageInstance;
|
|
6786
6855
|
let defaultDuration = 3;
|
|
6787
6856
|
let defaultTop;
|
|
@@ -6888,7 +6957,7 @@ function notice(args) {
|
|
|
6888
6957
|
}
|
|
6889
6958
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
6890
6959
|
instance.notice(
|
|
6891
|
-
getRCNoticeProps(__spreadProps$
|
|
6960
|
+
getRCNoticeProps(__spreadProps$g(__spreadValues$i({}, args), { key: target, onClose: callback }), prefixCls)
|
|
6892
6961
|
);
|
|
6893
6962
|
});
|
|
6894
6963
|
});
|
|
@@ -6917,7 +6986,7 @@ const api = {
|
|
|
6917
6986
|
function attachTypeApi(originalApi, type) {
|
|
6918
6987
|
originalApi[type] = (content, duration, onClose) => {
|
|
6919
6988
|
if (isArgsProps(content)) {
|
|
6920
|
-
return originalApi.open(__spreadProps$
|
|
6989
|
+
return originalApi.open(__spreadProps$g(__spreadValues$i({}, content), { type }));
|
|
6921
6990
|
}
|
|
6922
6991
|
if (typeof duration === "function") {
|
|
6923
6992
|
onClose = duration;
|
|
@@ -6931,25 +7000,25 @@ function attachTypeApi(originalApi, type) {
|
|
|
6931
7000
|
);
|
|
6932
7001
|
api.warn = api.warning;
|
|
6933
7002
|
|
|
6934
|
-
var __defProp$
|
|
6935
|
-
var __defProps$
|
|
6936
|
-
var __getOwnPropDescs$
|
|
6937
|
-
var __getOwnPropSymbols$
|
|
6938
|
-
var __hasOwnProp$
|
|
6939
|
-
var __propIsEnum$
|
|
6940
|
-
var __defNormalProp$
|
|
6941
|
-
var __spreadValues$
|
|
7003
|
+
var __defProp$h = Object.defineProperty;
|
|
7004
|
+
var __defProps$f = Object.defineProperties;
|
|
7005
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
7006
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
7007
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
7008
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
7009
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7010
|
+
var __spreadValues$h = (a, b) => {
|
|
6942
7011
|
for (var prop in b || (b = {}))
|
|
6943
|
-
if (__hasOwnProp$
|
|
6944
|
-
__defNormalProp$
|
|
6945
|
-
if (__getOwnPropSymbols$
|
|
6946
|
-
for (var prop of __getOwnPropSymbols$
|
|
6947
|
-
if (__propIsEnum$
|
|
6948
|
-
__defNormalProp$
|
|
7012
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
7013
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
7014
|
+
if (__getOwnPropSymbols$h)
|
|
7015
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
7016
|
+
if (__propIsEnum$h.call(b, prop))
|
|
7017
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
6949
7018
|
}
|
|
6950
7019
|
return a;
|
|
6951
7020
|
};
|
|
6952
|
-
var __spreadProps$
|
|
7021
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
6953
7022
|
const initialChartState = {
|
|
6954
7023
|
pointers: {},
|
|
6955
7024
|
resourceData: {},
|
|
@@ -6959,8 +7028,8 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
6959
7028
|
switch (action.type) {
|
|
6960
7029
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
6961
7030
|
const { uuid, left, text, visible, value } = action.payload;
|
|
6962
|
-
return __spreadProps$
|
|
6963
|
-
pointers: __spreadProps$
|
|
7031
|
+
return __spreadProps$f(__spreadValues$h({}, state), {
|
|
7032
|
+
pointers: __spreadProps$f(__spreadValues$h({}, state.pointers), {
|
|
6964
7033
|
[uuid]: {
|
|
6965
7034
|
left,
|
|
6966
7035
|
text,
|
|
@@ -6972,16 +7041,16 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
6972
7041
|
}
|
|
6973
7042
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
6974
7043
|
const { uuid, data } = action.payload;
|
|
6975
|
-
return __spreadProps$
|
|
6976
|
-
resourceData: __spreadProps$
|
|
7044
|
+
return __spreadProps$f(__spreadValues$h({}, state), {
|
|
7045
|
+
resourceData: __spreadProps$f(__spreadValues$h({}, state.resourceData), {
|
|
6977
7046
|
[uuid]: data
|
|
6978
7047
|
})
|
|
6979
7048
|
});
|
|
6980
7049
|
}
|
|
6981
7050
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
6982
7051
|
const { uuid, average } = action.payload;
|
|
6983
|
-
return __spreadProps$
|
|
6984
|
-
averageData: __spreadProps$
|
|
7052
|
+
return __spreadProps$f(__spreadValues$h({}, state), {
|
|
7053
|
+
averageData: __spreadProps$f(__spreadValues$h({}, state.averageData), {
|
|
6985
7054
|
[uuid]: average
|
|
6986
7055
|
})
|
|
6987
7056
|
});
|
|
@@ -6992,25 +7061,25 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
6992
7061
|
}
|
|
6993
7062
|
};
|
|
6994
7063
|
|
|
6995
|
-
var __defProp$
|
|
6996
|
-
var __defProps$
|
|
6997
|
-
var __getOwnPropDescs$
|
|
6998
|
-
var __getOwnPropSymbols$
|
|
6999
|
-
var __hasOwnProp$
|
|
7000
|
-
var __propIsEnum$
|
|
7001
|
-
var __defNormalProp$
|
|
7002
|
-
var __spreadValues$
|
|
7064
|
+
var __defProp$g = Object.defineProperty;
|
|
7065
|
+
var __defProps$e = Object.defineProperties;
|
|
7066
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
7067
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
7068
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
7069
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
7070
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7071
|
+
var __spreadValues$g = (a, b) => {
|
|
7003
7072
|
for (var prop in b || (b = {}))
|
|
7004
|
-
if (__hasOwnProp$
|
|
7005
|
-
__defNormalProp$
|
|
7006
|
-
if (__getOwnPropSymbols$
|
|
7007
|
-
for (var prop of __getOwnPropSymbols$
|
|
7008
|
-
if (__propIsEnum$
|
|
7009
|
-
__defNormalProp$
|
|
7073
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
7074
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
7075
|
+
if (__getOwnPropSymbols$g)
|
|
7076
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
7077
|
+
if (__propIsEnum$g.call(b, prop))
|
|
7078
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
7010
7079
|
}
|
|
7011
7080
|
return a;
|
|
7012
7081
|
};
|
|
7013
|
-
var __spreadProps$
|
|
7082
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
7014
7083
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
7015
7084
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
7016
7085
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -7031,22 +7100,22 @@ const modalReducer = (state = initialModalState, action) => {
|
|
|
7031
7100
|
)) {
|
|
7032
7101
|
return state;
|
|
7033
7102
|
}
|
|
7034
|
-
return __spreadProps$
|
|
7035
|
-
stack: state.stack.concat(__spreadProps$
|
|
7103
|
+
return __spreadProps$e(__spreadValues$g({}, state), {
|
|
7104
|
+
stack: state.stack.concat(__spreadProps$e(__spreadValues$g({}, action.payload), {
|
|
7036
7105
|
id: MODAL_ID++
|
|
7037
7106
|
}))
|
|
7038
7107
|
});
|
|
7039
7108
|
case "POP_MODAL" /* POP_MODAL */:
|
|
7040
|
-
return __spreadProps$
|
|
7109
|
+
return __spreadProps$e(__spreadValues$g({}, state), {
|
|
7041
7110
|
stack: state.stack.slice(0, -1)
|
|
7042
7111
|
});
|
|
7043
7112
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
7044
|
-
return __spreadProps$
|
|
7113
|
+
return __spreadProps$e(__spreadValues$g({}, state), {
|
|
7045
7114
|
closeId: 0,
|
|
7046
7115
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
7047
7116
|
});
|
|
7048
7117
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
7049
|
-
return __spreadProps$
|
|
7118
|
+
return __spreadProps$e(__spreadValues$g({}, state), {
|
|
7050
7119
|
closeId: action.id
|
|
7051
7120
|
});
|
|
7052
7121
|
default:
|
|
@@ -7103,33 +7172,33 @@ const VerticalStyle = "v1p8siwu";
|
|
|
7103
7172
|
const HorizontalStepContentStyle = "h1xo7yjb";
|
|
7104
7173
|
const VerticalStepContentStyle = "v1f2f7cy";
|
|
7105
7174
|
|
|
7106
|
-
var __defProp$
|
|
7107
|
-
var __defProps$
|
|
7108
|
-
var __getOwnPropDescs$
|
|
7109
|
-
var __getOwnPropSymbols$
|
|
7110
|
-
var __hasOwnProp$
|
|
7111
|
-
var __propIsEnum$
|
|
7112
|
-
var __defNormalProp$
|
|
7113
|
-
var __spreadValues$
|
|
7175
|
+
var __defProp$f = Object.defineProperty;
|
|
7176
|
+
var __defProps$d = Object.defineProperties;
|
|
7177
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
7178
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
7179
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
7180
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
7181
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7182
|
+
var __spreadValues$f = (a, b) => {
|
|
7114
7183
|
for (var prop in b || (b = {}))
|
|
7115
|
-
if (__hasOwnProp$
|
|
7116
|
-
__defNormalProp$
|
|
7117
|
-
if (__getOwnPropSymbols$
|
|
7118
|
-
for (var prop of __getOwnPropSymbols$
|
|
7119
|
-
if (__propIsEnum$
|
|
7120
|
-
__defNormalProp$
|
|
7184
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
7185
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
7186
|
+
if (__getOwnPropSymbols$f)
|
|
7187
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
7188
|
+
if (__propIsEnum$f.call(b, prop))
|
|
7189
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
7121
7190
|
}
|
|
7122
7191
|
return a;
|
|
7123
7192
|
};
|
|
7124
|
-
var __spreadProps$
|
|
7125
|
-
var __objRest$
|
|
7193
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
7194
|
+
var __objRest$4 = (source, exclude) => {
|
|
7126
7195
|
var target = {};
|
|
7127
7196
|
for (var prop in source)
|
|
7128
|
-
if (__hasOwnProp$
|
|
7197
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
7129
7198
|
target[prop] = source[prop];
|
|
7130
|
-
if (source != null && __getOwnPropSymbols$
|
|
7131
|
-
for (var prop of __getOwnPropSymbols$
|
|
7132
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7199
|
+
if (source != null && __getOwnPropSymbols$f)
|
|
7200
|
+
for (var prop of __getOwnPropSymbols$f(source)) {
|
|
7201
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
|
|
7133
7202
|
target[prop] = source[prop];
|
|
7134
7203
|
}
|
|
7135
7204
|
return target;
|
|
@@ -7146,7 +7215,7 @@ const StepTitle = (props) => {
|
|
|
7146
7215
|
setTooltipEnable({});
|
|
7147
7216
|
}
|
|
7148
7217
|
}, [textRef]);
|
|
7149
|
-
return /* @__PURE__ */ React__default.createElement(Tooltip, __spreadProps$
|
|
7218
|
+
return /* @__PURE__ */ React__default.createElement(Tooltip, __spreadProps$d(__spreadValues$f({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__default.createElement(
|
|
7150
7219
|
"div",
|
|
7151
7220
|
{
|
|
7152
7221
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
@@ -7163,7 +7232,7 @@ const Steps = (props) => {
|
|
|
7163
7232
|
current = 0,
|
|
7164
7233
|
disabled,
|
|
7165
7234
|
preview = false
|
|
7166
|
-
} = _a, stepsProps = __objRest$
|
|
7235
|
+
} = _a, stepsProps = __objRest$4(_a, [
|
|
7167
7236
|
"stepsConfig",
|
|
7168
7237
|
"direction",
|
|
7169
7238
|
"containerClassname",
|
|
@@ -7184,7 +7253,7 @@ const Steps = (props) => {
|
|
|
7184
7253
|
},
|
|
7185
7254
|
/* @__PURE__ */ React__default.createElement(
|
|
7186
7255
|
Steps$1,
|
|
7187
|
-
__spreadProps$
|
|
7256
|
+
__spreadProps$d(__spreadValues$f({}, stepsProps), {
|
|
7188
7257
|
direction,
|
|
7189
7258
|
current,
|
|
7190
7259
|
type: "default"
|
|
@@ -7193,7 +7262,7 @@ const Steps = (props) => {
|
|
|
7193
7262
|
var _a2;
|
|
7194
7263
|
return /* @__PURE__ */ React__default.createElement(
|
|
7195
7264
|
Steps$1.Step,
|
|
7196
|
-
__spreadProps$
|
|
7265
|
+
__spreadProps$d(__spreadValues$f({
|
|
7197
7266
|
key: index
|
|
7198
7267
|
}, step), {
|
|
7199
7268
|
disabled: isPreviewMode ? false : (_a2 = disabled != null ? disabled : step == null ? void 0 : step.disabled) != null ? _a2 : index > current,
|
|
@@ -7218,33 +7287,33 @@ const Steps = (props) => {
|
|
|
7218
7287
|
);
|
|
7219
7288
|
};
|
|
7220
7289
|
|
|
7221
|
-
var __defProp$
|
|
7222
|
-
var __defProps$
|
|
7223
|
-
var __getOwnPropDescs$
|
|
7224
|
-
var __getOwnPropSymbols$
|
|
7225
|
-
var __hasOwnProp$
|
|
7226
|
-
var __propIsEnum$
|
|
7227
|
-
var __defNormalProp$
|
|
7228
|
-
var __spreadValues$
|
|
7290
|
+
var __defProp$e = Object.defineProperty;
|
|
7291
|
+
var __defProps$c = Object.defineProperties;
|
|
7292
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
7293
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
7294
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
7295
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
7296
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7297
|
+
var __spreadValues$e = (a, b) => {
|
|
7229
7298
|
for (var prop in b || (b = {}))
|
|
7230
|
-
if (__hasOwnProp$
|
|
7231
|
-
__defNormalProp$
|
|
7232
|
-
if (__getOwnPropSymbols$
|
|
7233
|
-
for (var prop of __getOwnPropSymbols$
|
|
7234
|
-
if (__propIsEnum$
|
|
7235
|
-
__defNormalProp$
|
|
7299
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
7300
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
7301
|
+
if (__getOwnPropSymbols$e)
|
|
7302
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
7303
|
+
if (__propIsEnum$e.call(b, prop))
|
|
7304
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
7236
7305
|
}
|
|
7237
7306
|
return a;
|
|
7238
7307
|
};
|
|
7239
|
-
var __spreadProps$
|
|
7240
|
-
var __objRest$
|
|
7308
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
7309
|
+
var __objRest$3 = (source, exclude) => {
|
|
7241
7310
|
var target = {};
|
|
7242
7311
|
for (var prop in source)
|
|
7243
|
-
if (__hasOwnProp$
|
|
7312
|
+
if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
7244
7313
|
target[prop] = source[prop];
|
|
7245
|
-
if (source != null && __getOwnPropSymbols$
|
|
7246
|
-
for (var prop of __getOwnPropSymbols$
|
|
7247
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7314
|
+
if (source != null && __getOwnPropSymbols$e)
|
|
7315
|
+
for (var prop of __getOwnPropSymbols$e(source)) {
|
|
7316
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
|
|
7248
7317
|
target[prop] = source[prop];
|
|
7249
7318
|
}
|
|
7250
7319
|
return target;
|
|
@@ -7271,7 +7340,7 @@ const Modal = (props) => {
|
|
|
7271
7340
|
showCancel = true,
|
|
7272
7341
|
showOk = true,
|
|
7273
7342
|
afterClose
|
|
7274
|
-
} = _a, restProps = __objRest$
|
|
7343
|
+
} = _a, restProps = __objRest$3(_a, [
|
|
7275
7344
|
"error",
|
|
7276
7345
|
"okText",
|
|
7277
7346
|
"cancelText",
|
|
@@ -7326,7 +7395,7 @@ const Modal = (props) => {
|
|
|
7326
7395
|
}
|
|
7327
7396
|
return /* @__PURE__ */ React__default.createElement(
|
|
7328
7397
|
Modal$1,
|
|
7329
|
-
__spreadProps$
|
|
7398
|
+
__spreadProps$c(__spreadValues$e({
|
|
7330
7399
|
maskClosable,
|
|
7331
7400
|
className: cs(
|
|
7332
7401
|
className,
|
|
@@ -7361,7 +7430,7 @@ const Modal = (props) => {
|
|
|
7361
7430
|
prevText
|
|
7362
7431
|
), error && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React__default.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React__default.createElement(
|
|
7363
7432
|
Button,
|
|
7364
|
-
__spreadValues$
|
|
7433
|
+
__spreadValues$e({
|
|
7365
7434
|
type: "quiet",
|
|
7366
7435
|
onMouseDown: (e) => {
|
|
7367
7436
|
e.preventDefault();
|
|
@@ -7375,7 +7444,7 @@ const Modal = (props) => {
|
|
|
7375
7444
|
cancelText
|
|
7376
7445
|
), showOk && /* @__PURE__ */ React__default.createElement(
|
|
7377
7446
|
Button,
|
|
7378
|
-
__spreadValues$
|
|
7447
|
+
__spreadValues$e({
|
|
7379
7448
|
onClick: (e) => {
|
|
7380
7449
|
var _a2, _b2;
|
|
7381
7450
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -7417,26 +7486,26 @@ const Modal = (props) => {
|
|
|
7417
7486
|
);
|
|
7418
7487
|
};
|
|
7419
7488
|
|
|
7420
|
-
var __defProp$
|
|
7421
|
-
var __defProps$
|
|
7422
|
-
var __getOwnPropDescs$
|
|
7423
|
-
var __getOwnPropSymbols$
|
|
7424
|
-
var __hasOwnProp$
|
|
7425
|
-
var __propIsEnum$
|
|
7426
|
-
var __defNormalProp$
|
|
7489
|
+
var __defProp$d = Object.defineProperty;
|
|
7490
|
+
var __defProps$b = Object.defineProperties;
|
|
7491
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
7492
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
7493
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
7494
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
7495
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, {
|
|
7427
7496
|
enumerable: true,
|
|
7428
7497
|
configurable: true,
|
|
7429
7498
|
writable: true,
|
|
7430
7499
|
value
|
|
7431
7500
|
}) : obj[key] = value;
|
|
7432
|
-
var __spreadValues$
|
|
7433
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
7434
|
-
if (__getOwnPropSymbols$
|
|
7435
|
-
if (__propIsEnum$
|
|
7501
|
+
var __spreadValues$d = (a, b) => {
|
|
7502
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
|
|
7503
|
+
if (__getOwnPropSymbols$d) for (var prop of __getOwnPropSymbols$d(b)) {
|
|
7504
|
+
if (__propIsEnum$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
|
|
7436
7505
|
}
|
|
7437
7506
|
return a;
|
|
7438
7507
|
};
|
|
7439
|
-
var __spreadProps$
|
|
7508
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
7440
7509
|
const OverflowText = "o8ocss1";
|
|
7441
7510
|
const NoWrap = "n17syc35";
|
|
7442
7511
|
const OverflowTooltip = props => {
|
|
@@ -7467,7 +7536,7 @@ const OverflowTooltip = props => {
|
|
|
7467
7536
|
observer == null ? void 0 : observer.disconnect();
|
|
7468
7537
|
};
|
|
7469
7538
|
});
|
|
7470
|
-
return /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$
|
|
7539
|
+
return /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$b(__spreadValues$d({}, !ellipsis && {
|
|
7471
7540
|
visible: false
|
|
7472
7541
|
}), {
|
|
7473
7542
|
title: tooltip
|
|
@@ -7585,46 +7654,46 @@ const Pagination = props => {
|
|
|
7585
7654
|
}))));
|
|
7586
7655
|
};
|
|
7587
7656
|
|
|
7588
|
-
var __defProp$
|
|
7589
|
-
var __getOwnPropSymbols$
|
|
7590
|
-
var __hasOwnProp$
|
|
7591
|
-
var __propIsEnum$
|
|
7592
|
-
var __defNormalProp$
|
|
7593
|
-
var __spreadValues$
|
|
7657
|
+
var __defProp$c = Object.defineProperty;
|
|
7658
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
7659
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
7660
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
7661
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7662
|
+
var __spreadValues$c = (a, b) => {
|
|
7594
7663
|
for (var prop in b || (b = {}))
|
|
7595
|
-
if (__hasOwnProp$
|
|
7596
|
-
__defNormalProp$
|
|
7597
|
-
if (__getOwnPropSymbols$
|
|
7598
|
-
for (var prop of __getOwnPropSymbols$
|
|
7599
|
-
if (__propIsEnum$
|
|
7600
|
-
__defNormalProp$
|
|
7664
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
7665
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
7666
|
+
if (__getOwnPropSymbols$c)
|
|
7667
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
7668
|
+
if (__propIsEnum$c.call(b, prop))
|
|
7669
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
7601
7670
|
}
|
|
7602
7671
|
return a;
|
|
7603
7672
|
};
|
|
7604
|
-
const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$
|
|
7673
|
+
const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$c({}, props));
|
|
7605
7674
|
|
|
7606
|
-
var __defProp$
|
|
7607
|
-
var __getOwnPropSymbols$
|
|
7608
|
-
var __hasOwnProp$
|
|
7609
|
-
var __propIsEnum$
|
|
7610
|
-
var __defNormalProp$
|
|
7675
|
+
var __defProp$b = Object.defineProperty;
|
|
7676
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
7677
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
7678
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
7679
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
|
|
7611
7680
|
enumerable: true,
|
|
7612
7681
|
configurable: true,
|
|
7613
7682
|
writable: true,
|
|
7614
7683
|
value
|
|
7615
7684
|
}) : obj[key] = value;
|
|
7616
|
-
var __spreadValues$
|
|
7617
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
7618
|
-
if (__getOwnPropSymbols$
|
|
7619
|
-
if (__propIsEnum$
|
|
7685
|
+
var __spreadValues$b = (a, b) => {
|
|
7686
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
7687
|
+
if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
|
|
7688
|
+
if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
7620
7689
|
}
|
|
7621
7690
|
return a;
|
|
7622
7691
|
};
|
|
7623
|
-
var __objRest$
|
|
7692
|
+
var __objRest$2 = (source, exclude) => {
|
|
7624
7693
|
var target = {};
|
|
7625
|
-
for (var prop in source) if (__hasOwnProp$
|
|
7626
|
-
if (source != null && __getOwnPropSymbols$
|
|
7627
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7694
|
+
for (var prop in source) if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
7695
|
+
if (source != null && __getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(source)) {
|
|
7696
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop)) target[prop] = source[prop];
|
|
7628
7697
|
}
|
|
7629
7698
|
return target;
|
|
7630
7699
|
};
|
|
@@ -7640,7 +7709,7 @@ const Radio = _a => {
|
|
|
7640
7709
|
checked,
|
|
7641
7710
|
compact = false
|
|
7642
7711
|
} = _b,
|
|
7643
|
-
props = __objRest$
|
|
7712
|
+
props = __objRest$2(_b, ["children", "className", "checked", "compact"]);
|
|
7644
7713
|
const {
|
|
7645
7714
|
description
|
|
7646
7715
|
} = props;
|
|
@@ -7650,7 +7719,7 @@ const Radio = _a => {
|
|
|
7650
7719
|
className: cx("radio-description", Typo.Label.l4_regular)
|
|
7651
7720
|
}, description));
|
|
7652
7721
|
}
|
|
7653
|
-
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$
|
|
7722
|
+
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$b({
|
|
7654
7723
|
className: cx(className, RadioStyle, compact && "compact"),
|
|
7655
7724
|
checked: checked || false,
|
|
7656
7725
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -7662,13 +7731,13 @@ const RadioGroup = _c => {
|
|
|
7662
7731
|
children,
|
|
7663
7732
|
className
|
|
7664
7733
|
} = _d,
|
|
7665
|
-
props = __objRest$
|
|
7734
|
+
props = __objRest$2(_d, ["children", "className"]);
|
|
7666
7735
|
return /* @__PURE__ */React__default.createElement(KitRadioGroupContext.Provider, {
|
|
7667
7736
|
value: {
|
|
7668
7737
|
disabled: props.disabled,
|
|
7669
7738
|
name: props.name
|
|
7670
7739
|
}
|
|
7671
|
-
}, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$
|
|
7740
|
+
}, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$b({
|
|
7672
7741
|
className: cx(className, RadioGroupStyle)
|
|
7673
7742
|
}, props), children ? children : null));
|
|
7674
7743
|
};
|
|
@@ -7678,7 +7747,7 @@ const RadioButton = _e => {
|
|
|
7678
7747
|
children,
|
|
7679
7748
|
className
|
|
7680
7749
|
} = _f,
|
|
7681
|
-
props = __objRest$
|
|
7750
|
+
props = __objRest$2(_f, ["children", "className"]);
|
|
7682
7751
|
const {
|
|
7683
7752
|
type,
|
|
7684
7753
|
placeholder = "Label",
|
|
@@ -7724,7 +7793,7 @@ const RadioButton = _e => {
|
|
|
7724
7793
|
className: "ant-radio-button-input-label"
|
|
7725
7794
|
}, typeof children === "string" ? children : ""));
|
|
7726
7795
|
};
|
|
7727
|
-
return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$
|
|
7796
|
+
return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$b({
|
|
7728
7797
|
className: cx(className, RadioButtonStyle),
|
|
7729
7798
|
value: radioButtonValue
|
|
7730
7799
|
}, props), renderChildren());
|
|
@@ -7806,35 +7875,35 @@ const SimplePagination = props => {
|
|
|
7806
7875
|
})));
|
|
7807
7876
|
};
|
|
7808
7877
|
|
|
7809
|
-
var __defProp$
|
|
7810
|
-
var __defProps$
|
|
7811
|
-
var __getOwnPropDescs$
|
|
7812
|
-
var __getOwnPropSymbols$
|
|
7813
|
-
var __hasOwnProp$
|
|
7814
|
-
var __propIsEnum$
|
|
7815
|
-
var __defNormalProp$
|
|
7878
|
+
var __defProp$a = Object.defineProperty;
|
|
7879
|
+
var __defProps$a = Object.defineProperties;
|
|
7880
|
+
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
7881
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
7882
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
7883
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
7884
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, {
|
|
7816
7885
|
enumerable: true,
|
|
7817
7886
|
configurable: true,
|
|
7818
7887
|
writable: true,
|
|
7819
7888
|
value
|
|
7820
7889
|
}) : obj[key] = value;
|
|
7821
|
-
var __spreadValues$
|
|
7822
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
7823
|
-
if (__getOwnPropSymbols$
|
|
7824
|
-
if (__propIsEnum$
|
|
7890
|
+
var __spreadValues$a = (a, b) => {
|
|
7891
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
|
|
7892
|
+
if (__getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(b)) {
|
|
7893
|
+
if (__propIsEnum$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
|
|
7825
7894
|
}
|
|
7826
7895
|
return a;
|
|
7827
7896
|
};
|
|
7828
|
-
var __spreadProps$
|
|
7829
|
-
var __objRest$
|
|
7897
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
7898
|
+
var __objRest$1 = (source, exclude) => {
|
|
7830
7899
|
var target = {};
|
|
7831
|
-
for (var prop in source) if (__hasOwnProp$
|
|
7832
|
-
if (source != null && __getOwnPropSymbols$
|
|
7833
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7900
|
+
for (var prop in source) if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
7901
|
+
if (source != null && __getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(source)) {
|
|
7902
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop)) target[prop] = source[prop];
|
|
7834
7903
|
}
|
|
7835
7904
|
return target;
|
|
7836
7905
|
};
|
|
7837
|
-
const PresetColors
|
|
7906
|
+
const PresetColors = ["blue", "red", "yellow", "green", "gray"];
|
|
7838
7907
|
const StatusCapsuleStyle = "s14dk8r1";
|
|
7839
7908
|
const StatusCode = /*#__PURE__*/styled('i')({
|
|
7840
7909
|
name: "StatusCode",
|
|
@@ -7873,11 +7942,11 @@ const StatusCapsule = _a => {
|
|
|
7873
7942
|
offWhiteMode,
|
|
7874
7943
|
number
|
|
7875
7944
|
} = _b,
|
|
7876
|
-
props = __objRest$
|
|
7945
|
+
props = __objRest$1(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
7877
7946
|
const computedColor = ColorMap[color] || color;
|
|
7878
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$
|
|
7947
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$a(__spreadValues$a({}, props), {
|
|
7879
7948
|
className: cs(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
7880
|
-
[`ant-tag-${computedColor}`]: PresetColors
|
|
7949
|
+
[`ant-tag-${computedColor}`]: PresetColors.includes(computedColor),
|
|
7881
7950
|
"tag-hover": hoverable,
|
|
7882
7951
|
"off-white": offWhiteMode
|
|
7883
7952
|
}),
|
|
@@ -7968,26 +8037,26 @@ const ColumnTitle = props => {
|
|
|
7968
8037
|
}));
|
|
7969
8038
|
};
|
|
7970
8039
|
|
|
7971
|
-
var __defProp$
|
|
7972
|
-
var __defProps$
|
|
7973
|
-
var __getOwnPropDescs$
|
|
7974
|
-
var __getOwnPropSymbols$
|
|
7975
|
-
var __hasOwnProp$
|
|
7976
|
-
var __propIsEnum$
|
|
7977
|
-
var __defNormalProp$
|
|
8040
|
+
var __defProp$9 = Object.defineProperty;
|
|
8041
|
+
var __defProps$9 = Object.defineProperties;
|
|
8042
|
+
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
8043
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
8044
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
8045
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
8046
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, {
|
|
7978
8047
|
enumerable: true,
|
|
7979
8048
|
configurable: true,
|
|
7980
8049
|
writable: true,
|
|
7981
8050
|
value
|
|
7982
8051
|
}) : obj[key] = value;
|
|
7983
|
-
var __spreadValues$
|
|
7984
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
7985
|
-
if (__getOwnPropSymbols$
|
|
7986
|
-
if (__propIsEnum$
|
|
8052
|
+
var __spreadValues$9 = (a, b) => {
|
|
8053
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
|
|
8054
|
+
if (__getOwnPropSymbols$9) for (var prop of __getOwnPropSymbols$9(b)) {
|
|
8055
|
+
if (__propIsEnum$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
|
|
7987
8056
|
}
|
|
7988
8057
|
return a;
|
|
7989
8058
|
};
|
|
7990
|
-
var __spreadProps$
|
|
8059
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
7991
8060
|
const TableContainerStyle = "t1upn1sz";
|
|
7992
8061
|
const tableStyleCover = "tta5kd2";
|
|
7993
8062
|
const Table = props => {
|
|
@@ -8014,7 +8083,7 @@ const Table = props => {
|
|
|
8014
8083
|
const orderRef = useRef(null);
|
|
8015
8084
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
8016
8085
|
const _columns = useMemo(() => columns.map(column => {
|
|
8017
|
-
const _column = __spreadValues$
|
|
8086
|
+
const _column = __spreadValues$9({}, column);
|
|
8018
8087
|
if (_column.sorter && typeof _column.title !== "function") {
|
|
8019
8088
|
_column.title = /* @__PURE__ */React__default.createElement(ColumnTitle, {
|
|
8020
8089
|
title: column.title,
|
|
@@ -8051,12 +8120,12 @@ const Table = props => {
|
|
|
8051
8120
|
onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
|
|
8052
8121
|
}
|
|
8053
8122
|
},
|
|
8054
|
-
onRow: (record, index) => __spreadValues$
|
|
8123
|
+
onRow: (record, index) => __spreadValues$9({
|
|
8055
8124
|
onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
|
|
8056
8125
|
}, onRow == null ? void 0 : onRow(record, index)),
|
|
8057
8126
|
rowClassName,
|
|
8058
8127
|
scroll,
|
|
8059
|
-
rowSelection: rowSelection && __spreadProps$
|
|
8128
|
+
rowSelection: rowSelection && __spreadProps$9(__spreadValues$9({}, rowSelection), {
|
|
8060
8129
|
columnWidth: 32
|
|
8061
8130
|
}),
|
|
8062
8131
|
showSorterTooltip: false
|
|
@@ -8118,33 +8187,33 @@ const moveItemInArray = (array, fromIndex, toIndex) => {
|
|
|
8118
8187
|
return sortArr;
|
|
8119
8188
|
};
|
|
8120
8189
|
|
|
8121
|
-
var __defProp$
|
|
8122
|
-
var __defProps$
|
|
8123
|
-
var __getOwnPropDescs$
|
|
8124
|
-
var __getOwnPropSymbols$
|
|
8125
|
-
var __hasOwnProp$
|
|
8126
|
-
var __propIsEnum$
|
|
8127
|
-
var __defNormalProp$
|
|
8128
|
-
var __spreadValues$
|
|
8190
|
+
var __defProp$8 = Object.defineProperty;
|
|
8191
|
+
var __defProps$8 = Object.defineProperties;
|
|
8192
|
+
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
8193
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
8194
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
8195
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
8196
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8197
|
+
var __spreadValues$8 = (a, b) => {
|
|
8129
8198
|
for (var prop in b || (b = {}))
|
|
8130
|
-
if (__hasOwnProp$
|
|
8131
|
-
__defNormalProp$
|
|
8132
|
-
if (__getOwnPropSymbols$
|
|
8133
|
-
for (var prop of __getOwnPropSymbols$
|
|
8134
|
-
if (__propIsEnum$
|
|
8135
|
-
__defNormalProp$
|
|
8199
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
8200
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
8201
|
+
if (__getOwnPropSymbols$8)
|
|
8202
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
8203
|
+
if (__propIsEnum$8.call(b, prop))
|
|
8204
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
8136
8205
|
}
|
|
8137
8206
|
return a;
|
|
8138
8207
|
};
|
|
8139
|
-
var __spreadProps$
|
|
8140
|
-
var __objRest
|
|
8208
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
8209
|
+
var __objRest = (source, exclude) => {
|
|
8141
8210
|
var target = {};
|
|
8142
8211
|
for (var prop in source)
|
|
8143
|
-
if (__hasOwnProp$
|
|
8212
|
+
if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
8144
8213
|
target[prop] = source[prop];
|
|
8145
|
-
if (source != null && __getOwnPropSymbols$
|
|
8146
|
-
for (var prop of __getOwnPropSymbols$
|
|
8147
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
8214
|
+
if (source != null && __getOwnPropSymbols$8)
|
|
8215
|
+
for (var prop of __getOwnPropSymbols$8(source)) {
|
|
8216
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))
|
|
8148
8217
|
target[prop] = source[prop];
|
|
8149
8218
|
}
|
|
8150
8219
|
return target;
|
|
@@ -8160,7 +8229,7 @@ const AddRowButton = (props) => {
|
|
|
8160
8229
|
const _a = buttonProps || {}, {
|
|
8161
8230
|
disabled: disabledFromProp,
|
|
8162
8231
|
onClick
|
|
8163
|
-
} = _a, restButtonProps = __objRest
|
|
8232
|
+
} = _a, restButtonProps = __objRest(_a, [
|
|
8164
8233
|
"disabled",
|
|
8165
8234
|
"onClick"
|
|
8166
8235
|
]);
|
|
@@ -8185,9 +8254,9 @@ const AddRowButton = (props) => {
|
|
|
8185
8254
|
if (!columns.length) {
|
|
8186
8255
|
return null;
|
|
8187
8256
|
}
|
|
8188
|
-
return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues$
|
|
8257
|
+
return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues$8({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__default.createElement(
|
|
8189
8258
|
Button,
|
|
8190
|
-
__spreadProps$
|
|
8259
|
+
__spreadProps$8(__spreadValues$8({}, restButtonProps), {
|
|
8191
8260
|
type: restButtonProps.type || "ordinary",
|
|
8192
8261
|
size: restButtonProps.size || "small",
|
|
8193
8262
|
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__default.createElement(PlusAddCreateNew16SecondaryIcon, null),
|
|
@@ -8282,25 +8351,25 @@ const CheckboxColumnBodyCell = ({ data, column, index, onChange }) => {
|
|
|
8282
8351
|
);
|
|
8283
8352
|
};
|
|
8284
8353
|
|
|
8285
|
-
var __defProp$
|
|
8286
|
-
var __defProps$
|
|
8287
|
-
var __getOwnPropDescs$
|
|
8288
|
-
var __getOwnPropSymbols$
|
|
8289
|
-
var __hasOwnProp$
|
|
8290
|
-
var __propIsEnum$
|
|
8291
|
-
var __defNormalProp$
|
|
8292
|
-
var __spreadValues$
|
|
8354
|
+
var __defProp$7 = Object.defineProperty;
|
|
8355
|
+
var __defProps$7 = Object.defineProperties;
|
|
8356
|
+
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
8357
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
8358
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
8359
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
8360
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8361
|
+
var __spreadValues$7 = (a, b) => {
|
|
8293
8362
|
for (var prop in b || (b = {}))
|
|
8294
|
-
if (__hasOwnProp$
|
|
8295
|
-
__defNormalProp$
|
|
8296
|
-
if (__getOwnPropSymbols$
|
|
8297
|
-
for (var prop of __getOwnPropSymbols$
|
|
8298
|
-
if (__propIsEnum$
|
|
8299
|
-
__defNormalProp$
|
|
8363
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
8364
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
8365
|
+
if (__getOwnPropSymbols$7)
|
|
8366
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
8367
|
+
if (__propIsEnum$7.call(b, prop))
|
|
8368
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
8300
8369
|
}
|
|
8301
8370
|
return a;
|
|
8302
8371
|
};
|
|
8303
|
-
var __spreadProps$
|
|
8372
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
8304
8373
|
const InputPassword = (props) => {
|
|
8305
8374
|
const [showPassword, setShowPassword] = useState(false);
|
|
8306
8375
|
useEffect(() => {
|
|
@@ -8316,7 +8385,7 @@ const InputPassword = (props) => {
|
|
|
8316
8385
|
const inputType = showPassword ? "text" : "password";
|
|
8317
8386
|
return /* @__PURE__ */ React__default.createElement(
|
|
8318
8387
|
Input,
|
|
8319
|
-
__spreadProps$
|
|
8388
|
+
__spreadProps$7(__spreadValues$7({}, props), {
|
|
8320
8389
|
type: inputType,
|
|
8321
8390
|
suffix: showPassword ? /* @__PURE__ */ React__default.createElement(
|
|
8322
8391
|
EyeOutlined,
|
|
@@ -8336,9 +8405,9 @@ const InputPassword = (props) => {
|
|
|
8336
8405
|
};
|
|
8337
8406
|
const CustomInput = (props) => {
|
|
8338
8407
|
if (props.type === "password") {
|
|
8339
|
-
return /* @__PURE__ */ React__default.createElement(InputPassword, __spreadValues$
|
|
8408
|
+
return /* @__PURE__ */ React__default.createElement(InputPassword, __spreadValues$7({}, props));
|
|
8340
8409
|
}
|
|
8341
|
-
return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$
|
|
8410
|
+
return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$7({}, props));
|
|
8342
8411
|
};
|
|
8343
8412
|
const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
|
|
8344
8413
|
const _onChange = (e) => {
|
|
@@ -8462,25 +8531,25 @@ var ValidateTriggerType = /* @__PURE__ */ ((ValidateTriggerType2) => {
|
|
|
8462
8531
|
return ValidateTriggerType2;
|
|
8463
8532
|
})(ValidateTriggerType || {});
|
|
8464
8533
|
|
|
8465
|
-
var __defProp$
|
|
8466
|
-
var __defProps$
|
|
8467
|
-
var __getOwnPropDescs$
|
|
8468
|
-
var __getOwnPropSymbols$
|
|
8469
|
-
var __hasOwnProp$
|
|
8470
|
-
var __propIsEnum$
|
|
8471
|
-
var __defNormalProp$
|
|
8472
|
-
var __spreadValues$
|
|
8534
|
+
var __defProp$6 = Object.defineProperty;
|
|
8535
|
+
var __defProps$6 = Object.defineProperties;
|
|
8536
|
+
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
8537
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
8538
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
8539
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
8540
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8541
|
+
var __spreadValues$6 = (a, b) => {
|
|
8473
8542
|
for (var prop in b || (b = {}))
|
|
8474
|
-
if (__hasOwnProp$
|
|
8475
|
-
__defNormalProp$
|
|
8476
|
-
if (__getOwnPropSymbols$
|
|
8477
|
-
for (var prop of __getOwnPropSymbols$
|
|
8478
|
-
if (__propIsEnum$
|
|
8479
|
-
__defNormalProp$
|
|
8543
|
+
if (__hasOwnProp$6.call(b, prop))
|
|
8544
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
8545
|
+
if (__getOwnPropSymbols$6)
|
|
8546
|
+
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
8547
|
+
if (__propIsEnum$6.call(b, prop))
|
|
8548
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
8480
8549
|
}
|
|
8481
8550
|
return a;
|
|
8482
8551
|
};
|
|
8483
|
-
var __spreadProps$
|
|
8552
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
8484
8553
|
const TableFormBodyCell = (props) => {
|
|
8485
8554
|
const {
|
|
8486
8555
|
column,
|
|
@@ -8513,7 +8582,7 @@ const TableFormBodyCell = (props) => {
|
|
|
8513
8582
|
(currentValue) => {
|
|
8514
8583
|
var _a;
|
|
8515
8584
|
const value = currentValue != null ? currentValue : data[rowIndex][column.key];
|
|
8516
|
-
const rowData = __spreadProps$
|
|
8585
|
+
const rowData = __spreadProps$6(__spreadValues$6({}, data[rowIndex]), { [column.key]: value });
|
|
8517
8586
|
const rowValidateRes = getRowValidateResult(rowData);
|
|
8518
8587
|
if (rowValidateRes) {
|
|
8519
8588
|
return;
|
|
@@ -8539,7 +8608,7 @@ const TableFormBodyCell = (props) => {
|
|
|
8539
8608
|
}, [validateAll, triggerValidate, setIsTouched]);
|
|
8540
8609
|
const _onChange = (value, data2) => {
|
|
8541
8610
|
const newData = data2.map(
|
|
8542
|
-
(row, i) => i === rowIndex ? __spreadProps$
|
|
8611
|
+
(row, i) => i === rowIndex ? __spreadProps$6(__spreadValues$6({}, row), { [column.key]: value }) : row
|
|
8543
8612
|
);
|
|
8544
8613
|
onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
|
|
8545
8614
|
if (validateTriggerType === ValidateTriggerType.Normal && isTouched || validateTriggerType === ValidateTriggerType.Aggressive) {
|
|
@@ -8617,25 +8686,25 @@ const TableFormBodyCell = (props) => {
|
|
|
8617
8686
|
);
|
|
8618
8687
|
};
|
|
8619
8688
|
|
|
8620
|
-
var __defProp$
|
|
8621
|
-
var __defProps$
|
|
8622
|
-
var __getOwnPropDescs$
|
|
8623
|
-
var __getOwnPropSymbols$
|
|
8624
|
-
var __hasOwnProp$
|
|
8625
|
-
var __propIsEnum$
|
|
8626
|
-
var __defNormalProp$
|
|
8627
|
-
var __spreadValues$
|
|
8689
|
+
var __defProp$5 = Object.defineProperty;
|
|
8690
|
+
var __defProps$5 = Object.defineProperties;
|
|
8691
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
8692
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
8693
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
8694
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
8695
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8696
|
+
var __spreadValues$5 = (a, b) => {
|
|
8628
8697
|
for (var prop in b || (b = {}))
|
|
8629
|
-
if (__hasOwnProp$
|
|
8630
|
-
__defNormalProp$
|
|
8631
|
-
if (__getOwnPropSymbols$
|
|
8632
|
-
for (var prop of __getOwnPropSymbols$
|
|
8633
|
-
if (__propIsEnum$
|
|
8634
|
-
__defNormalProp$
|
|
8698
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
8699
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
8700
|
+
if (__getOwnPropSymbols$5)
|
|
8701
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
8702
|
+
if (__propIsEnum$5.call(b, prop))
|
|
8703
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
8635
8704
|
}
|
|
8636
8705
|
return a;
|
|
8637
8706
|
};
|
|
8638
|
-
var __spreadProps$
|
|
8707
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
8639
8708
|
const TableFormRowDeleteAction = (props) => {
|
|
8640
8709
|
var _a, _b, _c, _d;
|
|
8641
8710
|
const { deleteConfig, row, updateData, rowIndex, data } = props;
|
|
@@ -8728,7 +8797,7 @@ const TableFormRow = (props) => {
|
|
|
8728
8797
|
);
|
|
8729
8798
|
});
|
|
8730
8799
|
const DraggableHandle = useMemo(
|
|
8731
|
-
() => draggable && provided ? /* @__PURE__ */ React__default.createElement(DraggableHandleWrapper, __spreadValues$
|
|
8800
|
+
() => draggable && provided ? /* @__PURE__ */ React__default.createElement(DraggableHandleWrapper, __spreadValues$5({}, provided.dragHandleProps), /* @__PURE__ */ React__default.createElement(
|
|
8732
8801
|
Icon,
|
|
8733
8802
|
{
|
|
8734
8803
|
src: HandlePoint816SecondaryIcon,
|
|
@@ -8790,7 +8859,7 @@ const TableFormBodyRows = memo((props) => {
|
|
|
8790
8859
|
);
|
|
8791
8860
|
return draggable ? /* @__PURE__ */ React__default.createElement(DragDropContext, { onDragEnd }, /* @__PURE__ */ React__default.createElement(Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__default.createElement(
|
|
8792
8861
|
"div",
|
|
8793
|
-
__spreadValues$
|
|
8862
|
+
__spreadValues$5({
|
|
8794
8863
|
className: "draggable-container",
|
|
8795
8864
|
ref: provided.innerRef
|
|
8796
8865
|
}, provided.droppableProps),
|
|
@@ -8801,9 +8870,9 @@ const TableFormBodyRows = memo((props) => {
|
|
|
8801
8870
|
key: `draggable-id-${i}`,
|
|
8802
8871
|
index: i
|
|
8803
8872
|
},
|
|
8804
|
-
(provided2, snapshot) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$
|
|
8873
|
+
(provided2, snapshot) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$5({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__default.createElement(
|
|
8805
8874
|
TableFormRow,
|
|
8806
|
-
__spreadProps$
|
|
8875
|
+
__spreadProps$5(__spreadValues$5({}, props), {
|
|
8807
8876
|
rowIndex: i,
|
|
8808
8877
|
provided: provided2,
|
|
8809
8878
|
snapshot
|
|
@@ -8811,28 +8880,28 @@ const TableFormBodyRows = memo((props) => {
|
|
|
8811
8880
|
))
|
|
8812
8881
|
)),
|
|
8813
8882
|
provided.placeholder
|
|
8814
|
-
))) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__default.createElement(TableFormRow, __spreadProps$
|
|
8883
|
+
))) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__default.createElement(TableFormRow, __spreadProps$5(__spreadValues$5({}, props), { rowIndex: i, key: `table-row-${i}` }))));
|
|
8815
8884
|
});
|
|
8816
8885
|
|
|
8817
|
-
var __defProp$
|
|
8818
|
-
var __defProps$
|
|
8819
|
-
var __getOwnPropDescs$
|
|
8820
|
-
var __getOwnPropSymbols$
|
|
8821
|
-
var __hasOwnProp$
|
|
8822
|
-
var __propIsEnum$
|
|
8823
|
-
var __defNormalProp$
|
|
8824
|
-
var __spreadValues$
|
|
8886
|
+
var __defProp$4 = Object.defineProperty;
|
|
8887
|
+
var __defProps$4 = Object.defineProperties;
|
|
8888
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
8889
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
8890
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
8891
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
8892
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8893
|
+
var __spreadValues$4 = (a, b) => {
|
|
8825
8894
|
for (var prop in b || (b = {}))
|
|
8826
|
-
if (__hasOwnProp$
|
|
8827
|
-
__defNormalProp$
|
|
8828
|
-
if (__getOwnPropSymbols$
|
|
8829
|
-
for (var prop of __getOwnPropSymbols$
|
|
8830
|
-
if (__propIsEnum$
|
|
8831
|
-
__defNormalProp$
|
|
8895
|
+
if (__hasOwnProp$4.call(b, prop))
|
|
8896
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
8897
|
+
if (__getOwnPropSymbols$4)
|
|
8898
|
+
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
8899
|
+
if (__propIsEnum$4.call(b, prop))
|
|
8900
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
8832
8901
|
}
|
|
8833
8902
|
return a;
|
|
8834
8903
|
};
|
|
8835
|
-
var __spreadProps$
|
|
8904
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
8836
8905
|
const BatchInputListHeaderCell = (props) => {
|
|
8837
8906
|
const { column, disabled, data, disableBatchFilling, onBlur, onChange } = props;
|
|
8838
8907
|
const [errMsg, setErrMsg] = useState();
|
|
@@ -8844,7 +8913,7 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
8844
8913
|
setErrMsg(err || void 0);
|
|
8845
8914
|
const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
|
|
8846
8915
|
const newData = data.map((cell, rowIndex) => {
|
|
8847
|
-
return __spreadProps$
|
|
8916
|
+
return __spreadProps$4(__spreadValues$4({}, cell), {
|
|
8848
8917
|
[column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
|
|
8849
8918
|
});
|
|
8850
8919
|
});
|
|
@@ -8861,7 +8930,7 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
8861
8930
|
const CellComponent = ColumnHeaderImpls[column.type];
|
|
8862
8931
|
return /* @__PURE__ */ React__default.createElement(
|
|
8863
8932
|
CellComponent,
|
|
8864
|
-
__spreadProps$
|
|
8933
|
+
__spreadProps$4(__spreadValues$4({}, props), {
|
|
8865
8934
|
column,
|
|
8866
8935
|
onChange: headerOnChange,
|
|
8867
8936
|
onBlur: _onBlur
|
|
@@ -8896,25 +8965,25 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
8896
8965
|
);
|
|
8897
8966
|
};
|
|
8898
8967
|
|
|
8899
|
-
var __defProp$
|
|
8900
|
-
var __defProps$
|
|
8901
|
-
var __getOwnPropDescs$
|
|
8902
|
-
var __getOwnPropSymbols$
|
|
8903
|
-
var __hasOwnProp$
|
|
8904
|
-
var __propIsEnum$
|
|
8905
|
-
var __defNormalProp$
|
|
8906
|
-
var __spreadValues$
|
|
8968
|
+
var __defProp$3 = Object.defineProperty;
|
|
8969
|
+
var __defProps$3 = Object.defineProperties;
|
|
8970
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
8971
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
8972
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
8973
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
8974
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8975
|
+
var __spreadValues$3 = (a, b) => {
|
|
8907
8976
|
for (var prop in b || (b = {}))
|
|
8908
|
-
if (__hasOwnProp$
|
|
8909
|
-
__defNormalProp$
|
|
8910
|
-
if (__getOwnPropSymbols$
|
|
8911
|
-
for (var prop of __getOwnPropSymbols$
|
|
8912
|
-
if (__propIsEnum$
|
|
8913
|
-
__defNormalProp$
|
|
8977
|
+
if (__hasOwnProp$3.call(b, prop))
|
|
8978
|
+
__defNormalProp$3(a, prop, b[prop]);
|
|
8979
|
+
if (__getOwnPropSymbols$3)
|
|
8980
|
+
for (var prop of __getOwnPropSymbols$3(b)) {
|
|
8981
|
+
if (__propIsEnum$3.call(b, prop))
|
|
8982
|
+
__defNormalProp$3(a, prop, b[prop]);
|
|
8914
8983
|
}
|
|
8915
8984
|
return a;
|
|
8916
8985
|
};
|
|
8917
|
-
var __spreadProps$
|
|
8986
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
8918
8987
|
const DEFAULT_ROW_COUNT = 3;
|
|
8919
8988
|
const TableForm = React__default.forwardRef(
|
|
8920
8989
|
(props, ref) => {
|
|
@@ -8976,7 +9045,7 @@ const TableForm = React__default.forwardRef(
|
|
|
8976
9045
|
(key, error) => {
|
|
8977
9046
|
if (error) {
|
|
8978
9047
|
const newData = latestData.map((cell) => {
|
|
8979
|
-
return __spreadProps$
|
|
9048
|
+
return __spreadProps$3(__spreadValues$3({}, cell), {
|
|
8980
9049
|
[key]: ""
|
|
8981
9050
|
});
|
|
8982
9051
|
});
|
|
@@ -9244,78 +9313,6 @@ const TimeZoneOption = ({
|
|
|
9244
9313
|
})));
|
|
9245
9314
|
};
|
|
9246
9315
|
|
|
9247
|
-
const IconStyle = "iwsze0q";
|
|
9248
|
-
|
|
9249
|
-
var __defProp$3 = Object.defineProperty;
|
|
9250
|
-
var __defProps$3 = Object.defineProperties;
|
|
9251
|
-
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
9252
|
-
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
9253
|
-
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
9254
|
-
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
9255
|
-
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
|
|
9256
|
-
enumerable: true,
|
|
9257
|
-
configurable: true,
|
|
9258
|
-
writable: true,
|
|
9259
|
-
value
|
|
9260
|
-
}) : obj[key] = value;
|
|
9261
|
-
var __spreadValues$3 = (a, b) => {
|
|
9262
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
9263
|
-
if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
|
|
9264
|
-
if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
9265
|
-
}
|
|
9266
|
-
return a;
|
|
9267
|
-
};
|
|
9268
|
-
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
9269
|
-
var __objRest = (source, exclude) => {
|
|
9270
|
-
var target = {};
|
|
9271
|
-
for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
9272
|
-
if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
|
|
9273
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
|
|
9274
|
-
}
|
|
9275
|
-
return target;
|
|
9276
|
-
};
|
|
9277
|
-
const PresetColors = ["blue", "red", "yellow", "green", "gray", "purple"];
|
|
9278
|
-
const Size = {
|
|
9279
|
-
small: "s1uupxds",
|
|
9280
|
-
medium: "m10sqwut",
|
|
9281
|
-
large: "l1d492wb"
|
|
9282
|
-
};
|
|
9283
|
-
const TokenStyle = "t1lzavmu";
|
|
9284
|
-
const Token = React__default.forwardRef((_a, ref) => {
|
|
9285
|
-
var _b = _a,
|
|
9286
|
-
{
|
|
9287
|
-
size = "small",
|
|
9288
|
-
color = "gray",
|
|
9289
|
-
className,
|
|
9290
|
-
icon,
|
|
9291
|
-
checked,
|
|
9292
|
-
children,
|
|
9293
|
-
tooltipConfig
|
|
9294
|
-
} = _b,
|
|
9295
|
-
props = __objRest(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
|
|
9296
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$3(__spreadValues$3({}, props), {
|
|
9297
|
-
ref,
|
|
9298
|
-
className: cs(className, Size[size], TokenStyle, {
|
|
9299
|
-
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
9300
|
-
[Typo.Label.l3_regular]: size === "large",
|
|
9301
|
-
[`ant-tag-${color}`]: PresetColors.includes(color)
|
|
9302
|
-
}, "ui-kit-token", checked && "ui-kit-token-checked"),
|
|
9303
|
-
closeIcon: /* @__PURE__ */React__default.createElement(Tooltip, __spreadValues$3({
|
|
9304
|
-
title: tooltipConfig == null ? void 0 : tooltipConfig.title
|
|
9305
|
-
}, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
|
|
9306
|
-
visible: false
|
|
9307
|
-
}), /* @__PURE__ */React__default.createElement(Icon, {
|
|
9308
|
-
className: "selected-icon",
|
|
9309
|
-
src: XmarkRemoveSmall16RegularInheritIcon,
|
|
9310
|
-
iconHeight: 16,
|
|
9311
|
-
iconWidth: 16
|
|
9312
|
-
})),
|
|
9313
|
-
color: color === "gray" ? void 0 : color
|
|
9314
|
-
}), icon && /* @__PURE__ */React__default.createElement("span", {
|
|
9315
|
-
className: cs("ui-kit-tag-icon", IconStyle)
|
|
9316
|
-
}, icon), children);
|
|
9317
|
-
});
|
|
9318
|
-
|
|
9319
9316
|
const Inline = "i1e4sgug";
|
|
9320
9317
|
const Truncate = props => {
|
|
9321
9318
|
const {
|