@cloudtower/eagle 0.27.35 → 0.27.37-dry-1

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/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, Tag as Tag$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';
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, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
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;
@@ -2586,7 +2583,7 @@ var __objRest$u = (source, exclude) => {
2586
2583
  }
2587
2584
  return target;
2588
2585
  };
2589
- const _exp$5 = () => InputNumber$1;
2586
+ const _exp$6 = () => InputNumber$1;
2590
2587
  const _exp2$2 = () => props => props.controls ? "initial" : "none";
2591
2588
  const _exp3$1 = () => props => `"${props.suffix ? props.suffix : ""}"`;
2592
2589
  const _exp4$1 = () => ({
@@ -2596,7 +2593,7 @@ const _exp5$1 = () => props => `"${props.prefix ? props.prefix : ""}"`;
2596
2593
  const _exp6$1 = () => ({
2597
2594
  prefix
2598
2595
  }) => prefix ? "flex" : "none";
2599
- const AntdInputNumberStyled = /*#__PURE__*/styled(_exp$5())({
2596
+ const AntdInputNumberStyled = /*#__PURE__*/styled(_exp$6())({
2600
2597
  name: "AntdInputNumberStyled",
2601
2598
  class: "a6dbbkm",
2602
2599
  propsAsIs: true,
@@ -2853,7 +2850,7 @@ var __objRest$q = (source, exclude) => {
2853
2850
  }
2854
2851
  return target;
2855
2852
  };
2856
- const _exp$4 = () => InputNumber$1;
2853
+ const _exp$5 = () => InputNumber$1;
2857
2854
  const _exp2$1 = () => props => props.controls ? "initial" : "none";
2858
2855
  const _exp3 = () => props => `"${props.suffix ? props.suffix : ""}"`;
2859
2856
  const _exp4 = () => ({
@@ -2863,7 +2860,7 @@ const _exp5 = () => props => `"${props.prefix ? props.prefix : ""}"`;
2863
2860
  const _exp6 = () => ({
2864
2861
  prefix
2865
2862
  }) => prefix ? "flex" : "none";
2866
- const AntdIntStyled = /*#__PURE__*/styled(_exp$4())({
2863
+ const AntdIntStyled = /*#__PURE__*/styled(_exp$5())({
2867
2864
  name: "AntdIntStyled",
2868
2865
  class: "at4ovwe",
2869
2866
  propsAsIs: true,
@@ -5323,8 +5320,8 @@ const ChartTooltipRow = /*#__PURE__*/styled('div')({
5323
5320
  class: "c14wcxf0",
5324
5321
  propsAsIs: false
5325
5322
  });
5326
- const _exp$3 = () => ChartTooltipRow;
5327
- const ChartTooltipTitle = /*#__PURE__*/styled(_exp$3())({
5323
+ const _exp$4 = () => ChartTooltipRow;
5324
+ const ChartTooltipTitle = /*#__PURE__*/styled(_exp$4())({
5328
5325
  name: "ChartTooltipTitle",
5329
5326
  class: "coy29mj",
5330
5327
  propsAsIs: true
@@ -5685,13 +5682,13 @@ const TableRow = /*#__PURE__*/styled('div')({
5685
5682
  class: "t93e4cf",
5686
5683
  propsAsIs: false
5687
5684
  });
5688
- const _exp$2 = () => props => props.width;
5685
+ const _exp$3 = () => props => props.width;
5689
5686
  const RowLabel = /*#__PURE__*/styled('label')({
5690
5687
  name: "RowLabel",
5691
5688
  class: "rhz2uv5",
5692
5689
  propsAsIs: false,
5693
5690
  vars: {
5694
- "rhz2uv5-0": [_exp$2()]
5691
+ "rhz2uv5-0": [_exp$3()]
5695
5692
  }
5696
5693
  });
5697
5694
  const SummaryTableRow = props => {
@@ -6148,8 +6145,8 @@ const Wrapper = forwardRef(props => {
6148
6145
  }, className)
6149
6146
  }, otherProps), children);
6150
6147
  });
6151
- const _exp$1 = () => Wrapper;
6152
- const CardWrapper = /*#__PURE__*/styled(_exp$1())({
6148
+ const _exp$2 = () => Wrapper;
6149
+ const CardWrapper = /*#__PURE__*/styled(_exp$2())({
6153
6150
  name: "CardWrapper",
6154
6151
  class: "cav4gt6",
6155
6152
  propsAsIs: true
@@ -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, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
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$s.call(b, prop))
6257
- __defNormalProp$r(a, prop, b[prop]);
6258
- if (__getOwnPropSymbols$s)
6259
- for (var prop of __getOwnPropSymbols$s(b)) {
6260
- if (__propIsEnum$s.call(b, prop))
6261
- __defNormalProp$r(a, prop, b[prop]);
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$b = (source, exclude) => {
6382
+ var __objRest$9 = (source, exclude) => {
6266
6383
  var target = {};
6267
6384
  for (var prop in source)
6268
- if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
6385
+ if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
6269
6386
  target[prop] = source[prop];
6270
- if (source != null && __getOwnPropSymbols$s)
6271
- for (var prop of __getOwnPropSymbols$s(source)) {
6272
- if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
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$b(_a, ["onChange", "debounceWait"]);
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$r({
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$q = Object.defineProperty;
6291
- var __defProps$m = Object.defineProperties;
6292
- var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
6293
- var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
6294
- var __hasOwnProp$r = Object.prototype.hasOwnProperty;
6295
- var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
6296
- var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6297
- var __spreadValues$q = (a, b) => {
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$r.call(b, prop))
6300
- __defNormalProp$q(a, prop, b[prop]);
6301
- if (__getOwnPropSymbols$r)
6302
- for (var prop of __getOwnPropSymbols$r(b)) {
6303
- if (__propIsEnum$r.call(b, prop))
6304
- __defNormalProp$q(a, prop, b[prop]);
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$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
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$1();
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$m(__spreadValues$q({}, searchProps), {
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$1, { size: "small", onClick }, selectedAll ? t("components.unselect_all") : t("components.select_all"))));
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$q({}, presetHeaderProps)), menus, footer);
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$1, __spreadValues$q({ size: "medium", color: "blue", key: props.value }, props), props.label);
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$p = Object.defineProperty;
6343
- var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
6344
- var __hasOwnProp$q = Object.prototype.hasOwnProperty;
6345
- var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
6346
- var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6347
- var __spreadValues$p = (a, b) => {
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$q.call(b, prop))
6350
- __defNormalProp$p(a, prop, b[prop]);
6351
- if (__getOwnPropSymbols$q)
6352
- for (var prop of __getOwnPropSymbols$q(b)) {
6353
- if (__propIsEnum$q.call(b, prop))
6354
- __defNormalProp$p(a, prop, b[prop]);
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$a = (source, exclude) => {
6475
+ var __objRest$8 = (source, exclude) => {
6359
6476
  var target = {};
6360
6477
  for (var prop in source)
6361
- if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
6478
+ if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
6362
6479
  target[prop] = source[prop];
6363
- if (source != null && __getOwnPropSymbols$q)
6364
- for (var prop of __getOwnPropSymbols$q(source)) {
6365
- if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
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$a(_a, [
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$p({
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$p({ menus }, presetCascaderRenderProps)),
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$o = Object.defineProperty;
6478
- var __defProps$l = Object.defineProperties;
6479
- var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
6480
- var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
6481
- var __hasOwnProp$p = Object.prototype.hasOwnProperty;
6482
- var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
6483
- var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, {
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$o = (a, b) => {
6490
- for (var prop in b || (b = {})) if (__hasOwnProp$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
6491
- if (__getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(b)) {
6492
- if (__propIsEnum$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
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$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
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$l(__spreadValues$o({}, props), {
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$n = Object.defineProperty;
6511
- var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
6512
- var __hasOwnProp$o = Object.prototype.hasOwnProperty;
6513
- var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
6514
- var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6515
- var __spreadValues$n = (a, b) => {
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$o.call(b, prop))
6518
- __defNormalProp$n(a, prop, b[prop]);
6519
- if (__getOwnPropSymbols$o)
6520
- for (var prop of __getOwnPropSymbols$o(b)) {
6521
- if (__propIsEnum$o.call(b, prop))
6522
- __defNormalProp$n(a, prop, b[prop]);
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$n({ i18n }, props));
6645
+ return /* @__PURE__ */ React__default.createElement(Trans, __spreadValues$l({ i18n }, props));
6529
6646
  };
6530
6647
 
6531
- const PresetColors$3 = [
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$1 = {
6657
+ const Size = {
6541
6658
  small: "sut42l0",
6542
6659
  medium: "mfsz1jz"
6543
6660
  };
6544
6661
  const TagStyle$1 = "tnd6h4m";
6545
- const IconStyle$1 = "i1qw4clm";
6662
+ const IconStyle = "i1qw4clm";
6546
6663
  const NameTagStyle = "n1r5ku5l";
6547
6664
 
6548
- var __defProp$m = Object.defineProperty;
6549
- var __defProps$k = Object.defineProperties;
6550
- var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
6551
- var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
6552
- var __hasOwnProp$n = Object.prototype.hasOwnProperty;
6553
- var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
6554
- var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
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$m = (a, b) => {
6561
- for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
6562
- if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
6563
- if (__propIsEnum$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
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$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
6568
- var __objRest$9 = (source, exclude) => {
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$n.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6571
- if (source != null && __getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(source)) {
6572
- if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop)) target[prop] = source[prop];
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$9(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
6588
- return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$k(__spreadValues$m({}, props), {
6589
- className: cs(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
6590
- [`ant-tag-${color}`]: PresetColors$3.includes(color)
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$1[size], TagStyle$1, Typo.Label.l4_regular, {
6594
- [`ant-tag-${color}`]: PresetColors$3.includes(color)
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$1)
6714
+ className: cs("ui-kit-tag-icon", IconStyle)
6598
6715
  }, icon), primaryContent), secondaryContent);
6599
6716
  };
6600
6717
 
6601
- var __defProp$l = Object.defineProperty;
6602
- var __defProps$j = Object.defineProperties;
6603
- var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
6604
- var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
6605
- var __hasOwnProp$m = Object.prototype.hasOwnProperty;
6606
- var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
6607
- var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6608
- var __spreadValues$l = (a, b) => {
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$m.call(b, prop))
6611
- __defNormalProp$l(a, prop, b[prop]);
6612
- if (__getOwnPropSymbols$m)
6613
- for (var prop of __getOwnPropSymbols$m(b)) {
6614
- if (__propIsEnum$m.call(b, prop))
6615
- __defNormalProp$l(a, prop, b[prop]);
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$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
6620
- var __objRest$8 = (source, exclude) => {
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$m.call(source, prop) && exclude.indexOf(prop) < 0)
6740
+ if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
6624
6741
  target[prop] = source[prop];
6625
- if (source != null && __getOwnPropSymbols$m)
6626
- for (var prop of __getOwnPropSymbols$m(source)) {
6627
- if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
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$2 = [
6633
- ...PresetColors$3,
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$8(_b, [
6769
+ } = _b, props = __objRest$6(_b, [
6653
6770
  "size",
6654
6771
  "color",
6655
6772
  "className",
@@ -6660,33 +6777,33 @@ const Tag = (_a) => {
6660
6777
  const computedColor = AntdColorMap[color] || color;
6661
6778
  return /* @__PURE__ */ React__default.createElement(
6662
6779
  Tag$1,
6663
- __spreadProps$j(__spreadValues$l({}, props), {
6664
- className: cs(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
6665
- [`ant-tag-${computedColor}`]: PresetColors$2.includes(computedColor),
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$1 }, icon),
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$8(_d, ["className"]);
6677
- return /* @__PURE__ */ React__default.createElement(Tag, __spreadValues$l({ className: cs(NameTagStyle, className) }, props));
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$l = Object.getOwnPropertySymbols;
6683
- var __hasOwnProp$l = Object.prototype.hasOwnProperty;
6684
- var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
6685
- var __objRest$7 = (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) => {
6686
6803
  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];
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];
6690
6807
  }
6691
6808
  return target;
6692
6809
  };
@@ -6697,7 +6814,7 @@ const I18nNameTag = props => {
6697
6814
  name,
6698
6815
  i18nKey
6699
6816
  } = _a,
6700
- otherOption = __objRest$7(_a, ["name", "i18nKey"]);
6817
+ otherOption = __objRest$5(_a, ["name", "i18nKey"]);
6701
6818
  return /* @__PURE__ */React__default.createElement(ParrotTrans, {
6702
6819
  i18nKey,
6703
6820
  tOptions: otherOption
@@ -6708,80 +6825,32 @@ const I18nNameTag = props => {
6708
6825
  }));
6709
6826
  };
6710
6827
 
6711
- const _exp = () => Input$1.Group;
6712
- const InputGroup = /*#__PURE__*/styled(_exp())({
6828
+ const _exp$1 = () => Input$1.Group;
6829
+ const InputGroup = /*#__PURE__*/styled(_exp$1())({
6713
6830
  name: "InputGroup",
6714
6831
  class: "iiqau4c",
6715
6832
  propsAsIs: true
6716
6833
  });
6717
6834
 
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) => {
6739
- var target = {};
6740
- for (var prop in source) if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6741
- if (source != null && __getOwnPropSymbols$k) for (var prop of __getOwnPropSymbols$k(source)) {
6742
- if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop)) target[prop] = source[prop];
6743
- }
6744
- return target;
6745
- };
6746
- const LinkStyle = "lujuy3j";
6747
- const Link = React__default.forwardRef((_a, ref) => {
6748
- var _b = _a,
6749
- {
6750
- className,
6751
- disabled,
6752
- type
6753
- } = _b,
6754
- props = __objRest$6(_b, ["className", "disabled", "type"]);
6755
- return /* @__PURE__ */React__default.createElement(Button, __spreadProps$i(__spreadValues$k({}, props), {
6756
- ref,
6757
- disabled,
6758
- className: cs(LinkStyle, className, {
6759
- "ui-kit-link-disabled": disabled,
6760
- "ui-kit-link-subtle": type === "subtle"
6761
- }),
6762
- type: "link"
6763
- }));
6764
- });
6765
-
6766
- var __defProp$j = Object.defineProperty;
6767
- var __defProps$h = Object.defineProperties;
6768
- var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
6769
- var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
6770
- var __hasOwnProp$j = Object.prototype.hasOwnProperty;
6771
- var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
6772
- var __defNormalProp$j = (obj, key2, value) => key2 in obj ? __defProp$j(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
6773
- var __spreadValues$j = (a, b) => {
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$j.call(b, prop))
6776
- __defNormalProp$j(a, prop, b[prop]);
6777
- if (__getOwnPropSymbols$j)
6778
- for (var prop of __getOwnPropSymbols$j(b)) {
6779
- if (__propIsEnum$j.call(b, prop))
6780
- __defNormalProp$j(a, prop, b[prop]);
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$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
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$h(__spreadValues$j({}, args), { key: target, onClose: callback }), prefixCls)
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$h(__spreadValues$j({}, content), { type }));
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$i = Object.defineProperty;
6935
- var __defProps$g = Object.defineProperties;
6936
- var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
6937
- var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
6938
- var __hasOwnProp$i = Object.prototype.hasOwnProperty;
6939
- var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
6940
- var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6941
- var __spreadValues$i = (a, b) => {
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$i.call(b, prop))
6944
- __defNormalProp$i(a, prop, b[prop]);
6945
- if (__getOwnPropSymbols$i)
6946
- for (var prop of __getOwnPropSymbols$i(b)) {
6947
- if (__propIsEnum$i.call(b, prop))
6948
- __defNormalProp$i(a, prop, b[prop]);
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$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
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$g(__spreadValues$i({}, state), {
6963
- pointers: __spreadProps$g(__spreadValues$i({}, state.pointers), {
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$g(__spreadValues$i({}, state), {
6976
- resourceData: __spreadProps$g(__spreadValues$i({}, state.resourceData), {
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$g(__spreadValues$i({}, state), {
6984
- averageData: __spreadProps$g(__spreadValues$i({}, state.averageData), {
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$h = Object.defineProperty;
6996
- var __defProps$f = Object.defineProperties;
6997
- var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
6998
- var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
6999
- var __hasOwnProp$h = Object.prototype.hasOwnProperty;
7000
- var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
7001
- var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7002
- var __spreadValues$h = (a, b) => {
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$h.call(b, prop))
7005
- __defNormalProp$h(a, prop, b[prop]);
7006
- if (__getOwnPropSymbols$h)
7007
- for (var prop of __getOwnPropSymbols$h(b)) {
7008
- if (__propIsEnum$h.call(b, prop))
7009
- __defNormalProp$h(a, prop, b[prop]);
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$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
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$f(__spreadValues$h({}, state), {
7035
- stack: state.stack.concat(__spreadProps$f(__spreadValues$h({}, action.payload), {
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$f(__spreadValues$h({}, state), {
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$f(__spreadValues$h({}, state), {
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$f(__spreadValues$h({}, state), {
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$g = Object.defineProperty;
7107
- var __defProps$e = Object.defineProperties;
7108
- var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
7109
- var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
7110
- var __hasOwnProp$g = Object.prototype.hasOwnProperty;
7111
- var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
7112
- var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7113
- var __spreadValues$g = (a, b) => {
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$g.call(b, prop))
7116
- __defNormalProp$g(a, prop, b[prop]);
7117
- if (__getOwnPropSymbols$g)
7118
- for (var prop of __getOwnPropSymbols$g(b)) {
7119
- if (__propIsEnum$g.call(b, prop))
7120
- __defNormalProp$g(a, prop, b[prop]);
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$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
7125
- var __objRest$5 = (source, exclude) => {
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$g.call(source, prop) && exclude.indexOf(prop) < 0)
7197
+ if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
7129
7198
  target[prop] = source[prop];
7130
- if (source != null && __getOwnPropSymbols$g)
7131
- for (var prop of __getOwnPropSymbols$g(source)) {
7132
- if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
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$e(__spreadValues$g({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__default.createElement(
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$5(_a, [
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$e(__spreadValues$g({}, stepsProps), {
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$e(__spreadValues$g({
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$f = Object.defineProperty;
7222
- var __defProps$d = Object.defineProperties;
7223
- var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
7224
- var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
7225
- var __hasOwnProp$f = Object.prototype.hasOwnProperty;
7226
- var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
7227
- var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7228
- var __spreadValues$f = (a, b) => {
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$f.call(b, prop))
7231
- __defNormalProp$f(a, prop, b[prop]);
7232
- if (__getOwnPropSymbols$f)
7233
- for (var prop of __getOwnPropSymbols$f(b)) {
7234
- if (__propIsEnum$f.call(b, prop))
7235
- __defNormalProp$f(a, prop, b[prop]);
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$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
7240
- var __objRest$4 = (source, exclude) => {
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$f.call(source, prop) && exclude.indexOf(prop) < 0)
7312
+ if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
7244
7313
  target[prop] = source[prop];
7245
- if (source != null && __getOwnPropSymbols$f)
7246
- for (var prop of __getOwnPropSymbols$f(source)) {
7247
- if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
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$4(_a, [
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$d(__spreadValues$f({
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$f({
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$f({
7447
+ __spreadValues$e({
7379
7448
  onClick: (e) => {
7380
7449
  var _a2, _b2;
7381
7450
  onOk == null ? void 0 : onOk(e);
@@ -7417,38 +7486,50 @@ const Modal = (props) => {
7417
7486
  );
7418
7487
  };
7419
7488
 
7420
- var __defProp$e = Object.defineProperty;
7421
- var __defProps$c = Object.defineProperties;
7422
- var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
7423
- var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
7424
- var __hasOwnProp$e = Object.prototype.hasOwnProperty;
7425
- var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
7426
- var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, {
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$e = (a, b) => {
7433
- for (var prop in b || (b = {})) if (__hasOwnProp$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
7434
- if (__getOwnPropSymbols$e) for (var prop of __getOwnPropSymbols$e(b)) {
7435
- if (__propIsEnum$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
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$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
7508
+ var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
7440
7509
  const OverflowText = "o8ocss1";
7441
- const NoWrap = "n17syc35";
7510
+ const SingleLineStyle = "s17syc35";
7511
+ const _exp = () => ({
7512
+ lineClamp = 2
7513
+ }) => lineClamp;
7514
+ const MultipleLine = /*#__PURE__*/styled('div')({
7515
+ name: "MultipleLine",
7516
+ class: "m1rk4s1l",
7517
+ propsAsIs: false,
7518
+ vars: {
7519
+ "m1rk4s1l-0": [_exp()]
7520
+ }
7521
+ });
7442
7522
  const OverflowTooltip = props => {
7443
7523
  const {
7444
7524
  content,
7445
7525
  className,
7446
7526
  onClick,
7447
- isMultiLine
7527
+ multiLines
7448
7528
  } = props;
7449
7529
  const tooltip = props.tooltip || content;
7450
7530
  const [ellipsis, setEllipsis] = useState(false);
7451
7531
  const textRef = useRef(null);
7532
+ const isMultiLine = multiLines && multiLines > 1;
7452
7533
  useEffect(() => {
7453
7534
  const ele = textRef.current;
7454
7535
  let observer;
@@ -7467,13 +7548,20 @@ const OverflowTooltip = props => {
7467
7548
  observer == null ? void 0 : observer.disconnect();
7468
7549
  };
7469
7550
  });
7470
- return /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$c(__spreadValues$e({}, !ellipsis && {
7551
+ return /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$b(__spreadValues$d({}, !ellipsis && {
7471
7552
  visible: false
7472
7553
  }), {
7473
7554
  title: tooltip
7474
- }), /* @__PURE__ */React__default.createElement("div", {
7555
+ }), isMultiLine ? /* @__PURE__ */React__default.createElement(MultipleLine, {
7475
7556
  ref: textRef,
7476
- className: cx(OverflowText, !isMultiLine && NoWrap, className),
7557
+ className: cx(OverflowText, className),
7558
+ lineClamp: multiLines,
7559
+ onClick: () => {
7560
+ onClick && onClick();
7561
+ }
7562
+ }, /* @__PURE__ */React__default.createElement("span", null, content)) : /* @__PURE__ */React__default.createElement("div", {
7563
+ ref: textRef,
7564
+ className: cx(OverflowText, SingleLineStyle, className),
7477
7565
  onClick: () => {
7478
7566
  onClick && onClick();
7479
7567
  }
@@ -7585,46 +7673,46 @@ const Pagination = props => {
7585
7673
  }))));
7586
7674
  };
7587
7675
 
7588
- var __defProp$d = Object.defineProperty;
7589
- var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
7590
- var __hasOwnProp$d = Object.prototype.hasOwnProperty;
7591
- var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
7592
- var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7593
- var __spreadValues$d = (a, b) => {
7676
+ var __defProp$c = Object.defineProperty;
7677
+ var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
7678
+ var __hasOwnProp$c = Object.prototype.hasOwnProperty;
7679
+ var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
7680
+ var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7681
+ var __spreadValues$c = (a, b) => {
7594
7682
  for (var prop in b || (b = {}))
7595
- if (__hasOwnProp$d.call(b, prop))
7596
- __defNormalProp$d(a, prop, b[prop]);
7597
- if (__getOwnPropSymbols$d)
7598
- for (var prop of __getOwnPropSymbols$d(b)) {
7599
- if (__propIsEnum$d.call(b, prop))
7600
- __defNormalProp$d(a, prop, b[prop]);
7683
+ if (__hasOwnProp$c.call(b, prop))
7684
+ __defNormalProp$c(a, prop, b[prop]);
7685
+ if (__getOwnPropSymbols$c)
7686
+ for (var prop of __getOwnPropSymbols$c(b)) {
7687
+ if (__propIsEnum$c.call(b, prop))
7688
+ __defNormalProp$c(a, prop, b[prop]);
7601
7689
  }
7602
7690
  return a;
7603
7691
  };
7604
- const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$d({}, props));
7692
+ const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$c({}, props));
7605
7693
 
7606
- var __defProp$c = Object.defineProperty;
7607
- var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
7608
- var __hasOwnProp$c = Object.prototype.hasOwnProperty;
7609
- var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
7610
- var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, {
7694
+ var __defProp$b = Object.defineProperty;
7695
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
7696
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
7697
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
7698
+ var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
7611
7699
  enumerable: true,
7612
7700
  configurable: true,
7613
7701
  writable: true,
7614
7702
  value
7615
7703
  }) : obj[key] = value;
7616
- var __spreadValues$c = (a, b) => {
7617
- for (var prop in b || (b = {})) if (__hasOwnProp$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
7618
- if (__getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(b)) {
7619
- if (__propIsEnum$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
7704
+ var __spreadValues$b = (a, b) => {
7705
+ for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7706
+ if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
7707
+ if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7620
7708
  }
7621
7709
  return a;
7622
7710
  };
7623
- var __objRest$3 = (source, exclude) => {
7711
+ var __objRest$2 = (source, exclude) => {
7624
7712
  var target = {};
7625
- for (var prop in source) if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7626
- if (source != null && __getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(source)) {
7627
- if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop)) target[prop] = source[prop];
7713
+ for (var prop in source) if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7714
+ if (source != null && __getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(source)) {
7715
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop)) target[prop] = source[prop];
7628
7716
  }
7629
7717
  return target;
7630
7718
  };
@@ -7640,7 +7728,7 @@ const Radio = _a => {
7640
7728
  checked,
7641
7729
  compact = false
7642
7730
  } = _b,
7643
- props = __objRest$3(_b, ["children", "className", "checked", "compact"]);
7731
+ props = __objRest$2(_b, ["children", "className", "checked", "compact"]);
7644
7732
  const {
7645
7733
  description
7646
7734
  } = props;
@@ -7650,7 +7738,7 @@ const Radio = _a => {
7650
7738
  className: cx("radio-description", Typo.Label.l4_regular)
7651
7739
  }, description));
7652
7740
  }
7653
- return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$c({
7741
+ return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$b({
7654
7742
  className: cx(className, RadioStyle, compact && "compact"),
7655
7743
  checked: checked || false,
7656
7744
  "data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
@@ -7662,13 +7750,13 @@ const RadioGroup = _c => {
7662
7750
  children,
7663
7751
  className
7664
7752
  } = _d,
7665
- props = __objRest$3(_d, ["children", "className"]);
7753
+ props = __objRest$2(_d, ["children", "className"]);
7666
7754
  return /* @__PURE__ */React__default.createElement(KitRadioGroupContext.Provider, {
7667
7755
  value: {
7668
7756
  disabled: props.disabled,
7669
7757
  name: props.name
7670
7758
  }
7671
- }, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$c({
7759
+ }, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$b({
7672
7760
  className: cx(className, RadioGroupStyle)
7673
7761
  }, props), children ? children : null));
7674
7762
  };
@@ -7678,7 +7766,7 @@ const RadioButton = _e => {
7678
7766
  children,
7679
7767
  className
7680
7768
  } = _f,
7681
- props = __objRest$3(_f, ["children", "className"]);
7769
+ props = __objRest$2(_f, ["children", "className"]);
7682
7770
  const {
7683
7771
  type,
7684
7772
  placeholder = "Label",
@@ -7724,7 +7812,7 @@ const RadioButton = _e => {
7724
7812
  className: "ant-radio-button-input-label"
7725
7813
  }, typeof children === "string" ? children : ""));
7726
7814
  };
7727
- return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$c({
7815
+ return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$b({
7728
7816
  className: cx(className, RadioButtonStyle),
7729
7817
  value: radioButtonValue
7730
7818
  }, props), renderChildren());
@@ -7806,35 +7894,35 @@ const SimplePagination = props => {
7806
7894
  })));
7807
7895
  };
7808
7896
 
7809
- var __defProp$b = Object.defineProperty;
7810
- var __defProps$b = Object.defineProperties;
7811
- var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
7812
- var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
7813
- var __hasOwnProp$b = Object.prototype.hasOwnProperty;
7814
- var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
7815
- var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
7897
+ var __defProp$a = Object.defineProperty;
7898
+ var __defProps$a = Object.defineProperties;
7899
+ var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
7900
+ var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
7901
+ var __hasOwnProp$a = Object.prototype.hasOwnProperty;
7902
+ var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
7903
+ var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, {
7816
7904
  enumerable: true,
7817
7905
  configurable: true,
7818
7906
  writable: true,
7819
7907
  value
7820
7908
  }) : obj[key] = value;
7821
- var __spreadValues$b = (a, b) => {
7822
- for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7823
- if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
7824
- if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7909
+ var __spreadValues$a = (a, b) => {
7910
+ for (var prop in b || (b = {})) if (__hasOwnProp$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
7911
+ if (__getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(b)) {
7912
+ if (__propIsEnum$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
7825
7913
  }
7826
7914
  return a;
7827
7915
  };
7828
- var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
7829
- var __objRest$2 = (source, exclude) => {
7916
+ var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
7917
+ var __objRest$1 = (source, exclude) => {
7830
7918
  var target = {};
7831
- for (var prop in source) if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7832
- if (source != null && __getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(source)) {
7833
- if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop)) target[prop] = source[prop];
7919
+ for (var prop in source) if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7920
+ if (source != null && __getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(source)) {
7921
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop)) target[prop] = source[prop];
7834
7922
  }
7835
7923
  return target;
7836
7924
  };
7837
- const PresetColors$1 = ["blue", "red", "yellow", "green", "gray"];
7925
+ const PresetColors = ["blue", "red", "yellow", "green", "gray"];
7838
7926
  const StatusCapsuleStyle = "s14dk8r1";
7839
7927
  const StatusCode = /*#__PURE__*/styled('i')({
7840
7928
  name: "StatusCode",
@@ -7873,11 +7961,11 @@ const StatusCapsule = _a => {
7873
7961
  offWhiteMode,
7874
7962
  number
7875
7963
  } = _b,
7876
- props = __objRest$2(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
7964
+ props = __objRest$1(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
7877
7965
  const computedColor = ColorMap[color] || color;
7878
- return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$b(__spreadValues$b({}, props), {
7966
+ return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$a(__spreadValues$a({}, props), {
7879
7967
  className: cs(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
7880
- [`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
7968
+ [`ant-tag-${computedColor}`]: PresetColors.includes(computedColor),
7881
7969
  "tag-hover": hoverable,
7882
7970
  "off-white": offWhiteMode
7883
7971
  }),
@@ -7968,26 +8056,26 @@ const ColumnTitle = props => {
7968
8056
  }));
7969
8057
  };
7970
8058
 
7971
- var __defProp$a = Object.defineProperty;
7972
- var __defProps$a = Object.defineProperties;
7973
- var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
7974
- var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
7975
- var __hasOwnProp$a = Object.prototype.hasOwnProperty;
7976
- var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
7977
- var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, {
8059
+ var __defProp$9 = Object.defineProperty;
8060
+ var __defProps$9 = Object.defineProperties;
8061
+ var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
8062
+ var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
8063
+ var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
8064
+ var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
8065
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, {
7978
8066
  enumerable: true,
7979
8067
  configurable: true,
7980
8068
  writable: true,
7981
8069
  value
7982
8070
  }) : obj[key] = value;
7983
- var __spreadValues$a = (a, b) => {
7984
- for (var prop in b || (b = {})) if (__hasOwnProp$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
7985
- if (__getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(b)) {
7986
- if (__propIsEnum$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
8071
+ var __spreadValues$9 = (a, b) => {
8072
+ for (var prop in b || (b = {})) if (__hasOwnProp$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
8073
+ if (__getOwnPropSymbols$9) for (var prop of __getOwnPropSymbols$9(b)) {
8074
+ if (__propIsEnum$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
7987
8075
  }
7988
8076
  return a;
7989
8077
  };
7990
- var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
8078
+ var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
7991
8079
  const TableContainerStyle = "t1upn1sz";
7992
8080
  const tableStyleCover = "tta5kd2";
7993
8081
  const Table = props => {
@@ -8014,7 +8102,7 @@ const Table = props => {
8014
8102
  const orderRef = useRef(null);
8015
8103
  const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
8016
8104
  const _columns = useMemo(() => columns.map(column => {
8017
- const _column = __spreadValues$a({}, column);
8105
+ const _column = __spreadValues$9({}, column);
8018
8106
  if (_column.sorter && typeof _column.title !== "function") {
8019
8107
  _column.title = /* @__PURE__ */React__default.createElement(ColumnTitle, {
8020
8108
  title: column.title,
@@ -8051,12 +8139,12 @@ const Table = props => {
8051
8139
  onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
8052
8140
  }
8053
8141
  },
8054
- onRow: (record, index) => __spreadValues$a({
8142
+ onRow: (record, index) => __spreadValues$9({
8055
8143
  onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
8056
8144
  }, onRow == null ? void 0 : onRow(record, index)),
8057
8145
  rowClassName,
8058
8146
  scroll,
8059
- rowSelection: rowSelection && __spreadProps$a(__spreadValues$a({}, rowSelection), {
8147
+ rowSelection: rowSelection && __spreadProps$9(__spreadValues$9({}, rowSelection), {
8060
8148
  columnWidth: 32
8061
8149
  }),
8062
8150
  showSorterTooltip: false
@@ -8118,33 +8206,33 @@ const moveItemInArray = (array, fromIndex, toIndex) => {
8118
8206
  return sortArr;
8119
8207
  };
8120
8208
 
8121
- var __defProp$9 = Object.defineProperty;
8122
- var __defProps$9 = Object.defineProperties;
8123
- var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
8124
- var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
8125
- var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
8126
- var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
8127
- var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8128
- var __spreadValues$9 = (a, b) => {
8209
+ var __defProp$8 = Object.defineProperty;
8210
+ var __defProps$8 = Object.defineProperties;
8211
+ var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
8212
+ var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
8213
+ var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
8214
+ var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
8215
+ var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8216
+ var __spreadValues$8 = (a, b) => {
8129
8217
  for (var prop in b || (b = {}))
8130
- if (__hasOwnProp$9.call(b, prop))
8131
- __defNormalProp$9(a, prop, b[prop]);
8132
- if (__getOwnPropSymbols$9)
8133
- for (var prop of __getOwnPropSymbols$9(b)) {
8134
- if (__propIsEnum$9.call(b, prop))
8135
- __defNormalProp$9(a, prop, b[prop]);
8218
+ if (__hasOwnProp$8.call(b, prop))
8219
+ __defNormalProp$8(a, prop, b[prop]);
8220
+ if (__getOwnPropSymbols$8)
8221
+ for (var prop of __getOwnPropSymbols$8(b)) {
8222
+ if (__propIsEnum$8.call(b, prop))
8223
+ __defNormalProp$8(a, prop, b[prop]);
8136
8224
  }
8137
8225
  return a;
8138
8226
  };
8139
- var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
8140
- var __objRest$1 = (source, exclude) => {
8227
+ var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
8228
+ var __objRest = (source, exclude) => {
8141
8229
  var target = {};
8142
8230
  for (var prop in source)
8143
- if (__hasOwnProp$9.call(source, prop) && exclude.indexOf(prop) < 0)
8231
+ if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)
8144
8232
  target[prop] = source[prop];
8145
- if (source != null && __getOwnPropSymbols$9)
8146
- for (var prop of __getOwnPropSymbols$9(source)) {
8147
- if (exclude.indexOf(prop) < 0 && __propIsEnum$9.call(source, prop))
8233
+ if (source != null && __getOwnPropSymbols$8)
8234
+ for (var prop of __getOwnPropSymbols$8(source)) {
8235
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))
8148
8236
  target[prop] = source[prop];
8149
8237
  }
8150
8238
  return target;
@@ -8160,7 +8248,7 @@ const AddRowButton = (props) => {
8160
8248
  const _a = buttonProps || {}, {
8161
8249
  disabled: disabledFromProp,
8162
8250
  onClick
8163
- } = _a, restButtonProps = __objRest$1(_a, [
8251
+ } = _a, restButtonProps = __objRest(_a, [
8164
8252
  "disabled",
8165
8253
  "onClick"
8166
8254
  ]);
@@ -8185,9 +8273,9 @@ const AddRowButton = (props) => {
8185
8273
  if (!columns.length) {
8186
8274
  return null;
8187
8275
  }
8188
- return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues$9({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__default.createElement(
8276
+ return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues$8({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__default.createElement(
8189
8277
  Button,
8190
- __spreadProps$9(__spreadValues$9({}, restButtonProps), {
8278
+ __spreadProps$8(__spreadValues$8({}, restButtonProps), {
8191
8279
  type: restButtonProps.type || "ordinary",
8192
8280
  size: restButtonProps.size || "small",
8193
8281
  prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__default.createElement(PlusAddCreateNew16SecondaryIcon, null),
@@ -8282,25 +8370,25 @@ const CheckboxColumnBodyCell = ({ data, column, index, onChange }) => {
8282
8370
  );
8283
8371
  };
8284
8372
 
8285
- var __defProp$8 = Object.defineProperty;
8286
- var __defProps$8 = Object.defineProperties;
8287
- var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
8288
- var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
8289
- var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
8290
- var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
8291
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8292
- var __spreadValues$8 = (a, b) => {
8373
+ var __defProp$7 = Object.defineProperty;
8374
+ var __defProps$7 = Object.defineProperties;
8375
+ var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
8376
+ var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
8377
+ var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
8378
+ var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
8379
+ var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8380
+ var __spreadValues$7 = (a, b) => {
8293
8381
  for (var prop in b || (b = {}))
8294
- if (__hasOwnProp$8.call(b, prop))
8295
- __defNormalProp$8(a, prop, b[prop]);
8296
- if (__getOwnPropSymbols$8)
8297
- for (var prop of __getOwnPropSymbols$8(b)) {
8298
- if (__propIsEnum$8.call(b, prop))
8299
- __defNormalProp$8(a, prop, b[prop]);
8382
+ if (__hasOwnProp$7.call(b, prop))
8383
+ __defNormalProp$7(a, prop, b[prop]);
8384
+ if (__getOwnPropSymbols$7)
8385
+ for (var prop of __getOwnPropSymbols$7(b)) {
8386
+ if (__propIsEnum$7.call(b, prop))
8387
+ __defNormalProp$7(a, prop, b[prop]);
8300
8388
  }
8301
8389
  return a;
8302
8390
  };
8303
- var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
8391
+ var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
8304
8392
  const InputPassword = (props) => {
8305
8393
  const [showPassword, setShowPassword] = useState(false);
8306
8394
  useEffect(() => {
@@ -8316,7 +8404,7 @@ const InputPassword = (props) => {
8316
8404
  const inputType = showPassword ? "text" : "password";
8317
8405
  return /* @__PURE__ */ React__default.createElement(
8318
8406
  Input,
8319
- __spreadProps$8(__spreadValues$8({}, props), {
8407
+ __spreadProps$7(__spreadValues$7({}, props), {
8320
8408
  type: inputType,
8321
8409
  suffix: showPassword ? /* @__PURE__ */ React__default.createElement(
8322
8410
  EyeOutlined,
@@ -8336,9 +8424,9 @@ const InputPassword = (props) => {
8336
8424
  };
8337
8425
  const CustomInput = (props) => {
8338
8426
  if (props.type === "password") {
8339
- return /* @__PURE__ */ React__default.createElement(InputPassword, __spreadValues$8({}, props));
8427
+ return /* @__PURE__ */ React__default.createElement(InputPassword, __spreadValues$7({}, props));
8340
8428
  }
8341
- return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$8({}, props));
8429
+ return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$7({}, props));
8342
8430
  };
8343
8431
  const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
8344
8432
  const _onChange = (e) => {
@@ -8462,25 +8550,25 @@ var ValidateTriggerType = /* @__PURE__ */ ((ValidateTriggerType2) => {
8462
8550
  return ValidateTriggerType2;
8463
8551
  })(ValidateTriggerType || {});
8464
8552
 
8465
- var __defProp$7 = Object.defineProperty;
8466
- var __defProps$7 = Object.defineProperties;
8467
- var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
8468
- var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
8469
- var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
8470
- var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
8471
- var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8472
- var __spreadValues$7 = (a, b) => {
8553
+ var __defProp$6 = Object.defineProperty;
8554
+ var __defProps$6 = Object.defineProperties;
8555
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
8556
+ var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
8557
+ var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
8558
+ var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
8559
+ var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8560
+ var __spreadValues$6 = (a, b) => {
8473
8561
  for (var prop in b || (b = {}))
8474
- if (__hasOwnProp$7.call(b, prop))
8475
- __defNormalProp$7(a, prop, b[prop]);
8476
- if (__getOwnPropSymbols$7)
8477
- for (var prop of __getOwnPropSymbols$7(b)) {
8478
- if (__propIsEnum$7.call(b, prop))
8479
- __defNormalProp$7(a, prop, b[prop]);
8562
+ if (__hasOwnProp$6.call(b, prop))
8563
+ __defNormalProp$6(a, prop, b[prop]);
8564
+ if (__getOwnPropSymbols$6)
8565
+ for (var prop of __getOwnPropSymbols$6(b)) {
8566
+ if (__propIsEnum$6.call(b, prop))
8567
+ __defNormalProp$6(a, prop, b[prop]);
8480
8568
  }
8481
8569
  return a;
8482
8570
  };
8483
- var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
8571
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
8484
8572
  const TableFormBodyCell = (props) => {
8485
8573
  const {
8486
8574
  column,
@@ -8513,7 +8601,7 @@ const TableFormBodyCell = (props) => {
8513
8601
  (currentValue) => {
8514
8602
  var _a;
8515
8603
  const value = currentValue != null ? currentValue : data[rowIndex][column.key];
8516
- const rowData = __spreadProps$7(__spreadValues$7({}, data[rowIndex]), { [column.key]: value });
8604
+ const rowData = __spreadProps$6(__spreadValues$6({}, data[rowIndex]), { [column.key]: value });
8517
8605
  const rowValidateRes = getRowValidateResult(rowData);
8518
8606
  if (rowValidateRes) {
8519
8607
  return;
@@ -8539,7 +8627,7 @@ const TableFormBodyCell = (props) => {
8539
8627
  }, [validateAll, triggerValidate, setIsTouched]);
8540
8628
  const _onChange = (value, data2) => {
8541
8629
  const newData = data2.map(
8542
- (row, i) => i === rowIndex ? __spreadProps$7(__spreadValues$7({}, row), { [column.key]: value }) : row
8630
+ (row, i) => i === rowIndex ? __spreadProps$6(__spreadValues$6({}, row), { [column.key]: value }) : row
8543
8631
  );
8544
8632
  onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
8545
8633
  if (validateTriggerType === ValidateTriggerType.Normal && isTouched || validateTriggerType === ValidateTriggerType.Aggressive) {
@@ -8617,25 +8705,25 @@ const TableFormBodyCell = (props) => {
8617
8705
  );
8618
8706
  };
8619
8707
 
8620
- var __defProp$6 = Object.defineProperty;
8621
- var __defProps$6 = Object.defineProperties;
8622
- var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
8623
- var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
8624
- var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
8625
- var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
8626
- var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8627
- var __spreadValues$6 = (a, b) => {
8708
+ var __defProp$5 = Object.defineProperty;
8709
+ var __defProps$5 = Object.defineProperties;
8710
+ var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
8711
+ var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
8712
+ var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
8713
+ var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
8714
+ var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8715
+ var __spreadValues$5 = (a, b) => {
8628
8716
  for (var prop in b || (b = {}))
8629
- if (__hasOwnProp$6.call(b, prop))
8630
- __defNormalProp$6(a, prop, b[prop]);
8631
- if (__getOwnPropSymbols$6)
8632
- for (var prop of __getOwnPropSymbols$6(b)) {
8633
- if (__propIsEnum$6.call(b, prop))
8634
- __defNormalProp$6(a, prop, b[prop]);
8717
+ if (__hasOwnProp$5.call(b, prop))
8718
+ __defNormalProp$5(a, prop, b[prop]);
8719
+ if (__getOwnPropSymbols$5)
8720
+ for (var prop of __getOwnPropSymbols$5(b)) {
8721
+ if (__propIsEnum$5.call(b, prop))
8722
+ __defNormalProp$5(a, prop, b[prop]);
8635
8723
  }
8636
8724
  return a;
8637
8725
  };
8638
- var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
8726
+ var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
8639
8727
  const TableFormRowDeleteAction = (props) => {
8640
8728
  var _a, _b, _c, _d;
8641
8729
  const { deleteConfig, row, updateData, rowIndex, data } = props;
@@ -8728,7 +8816,7 @@ const TableFormRow = (props) => {
8728
8816
  );
8729
8817
  });
8730
8818
  const DraggableHandle = useMemo(
8731
- () => draggable && provided ? /* @__PURE__ */ React__default.createElement(DraggableHandleWrapper, __spreadValues$6({}, provided.dragHandleProps), /* @__PURE__ */ React__default.createElement(
8819
+ () => draggable && provided ? /* @__PURE__ */ React__default.createElement(DraggableHandleWrapper, __spreadValues$5({}, provided.dragHandleProps), /* @__PURE__ */ React__default.createElement(
8732
8820
  Icon,
8733
8821
  {
8734
8822
  src: HandlePoint816SecondaryIcon,
@@ -8790,7 +8878,7 @@ const TableFormBodyRows = memo((props) => {
8790
8878
  );
8791
8879
  return draggable ? /* @__PURE__ */ React__default.createElement(DragDropContext, { onDragEnd }, /* @__PURE__ */ React__default.createElement(Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__default.createElement(
8792
8880
  "div",
8793
- __spreadValues$6({
8881
+ __spreadValues$5({
8794
8882
  className: "draggable-container",
8795
8883
  ref: provided.innerRef
8796
8884
  }, provided.droppableProps),
@@ -8801,9 +8889,9 @@ const TableFormBodyRows = memo((props) => {
8801
8889
  key: `draggable-id-${i}`,
8802
8890
  index: i
8803
8891
  },
8804
- (provided2, snapshot) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$6({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__default.createElement(
8892
+ (provided2, snapshot) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$5({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__default.createElement(
8805
8893
  TableFormRow,
8806
- __spreadProps$6(__spreadValues$6({}, props), {
8894
+ __spreadProps$5(__spreadValues$5({}, props), {
8807
8895
  rowIndex: i,
8808
8896
  provided: provided2,
8809
8897
  snapshot
@@ -8811,28 +8899,28 @@ const TableFormBodyRows = memo((props) => {
8811
8899
  ))
8812
8900
  )),
8813
8901
  provided.placeholder
8814
- ))) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__default.createElement(TableFormRow, __spreadProps$6(__spreadValues$6({}, props), { rowIndex: i, key: `table-row-${i}` }))));
8902
+ ))) : /* @__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
8903
  });
8816
8904
 
8817
- var __defProp$5 = Object.defineProperty;
8818
- var __defProps$5 = Object.defineProperties;
8819
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
8820
- var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
8821
- var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
8822
- var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
8823
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8824
- var __spreadValues$5 = (a, b) => {
8905
+ var __defProp$4 = Object.defineProperty;
8906
+ var __defProps$4 = Object.defineProperties;
8907
+ var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
8908
+ var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
8909
+ var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
8910
+ var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
8911
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8912
+ var __spreadValues$4 = (a, b) => {
8825
8913
  for (var prop in b || (b = {}))
8826
- if (__hasOwnProp$5.call(b, prop))
8827
- __defNormalProp$5(a, prop, b[prop]);
8828
- if (__getOwnPropSymbols$5)
8829
- for (var prop of __getOwnPropSymbols$5(b)) {
8830
- if (__propIsEnum$5.call(b, prop))
8831
- __defNormalProp$5(a, prop, b[prop]);
8914
+ if (__hasOwnProp$4.call(b, prop))
8915
+ __defNormalProp$4(a, prop, b[prop]);
8916
+ if (__getOwnPropSymbols$4)
8917
+ for (var prop of __getOwnPropSymbols$4(b)) {
8918
+ if (__propIsEnum$4.call(b, prop))
8919
+ __defNormalProp$4(a, prop, b[prop]);
8832
8920
  }
8833
8921
  return a;
8834
8922
  };
8835
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
8923
+ var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
8836
8924
  const BatchInputListHeaderCell = (props) => {
8837
8925
  const { column, disabled, data, disableBatchFilling, onBlur, onChange } = props;
8838
8926
  const [errMsg, setErrMsg] = useState();
@@ -8844,7 +8932,7 @@ const BatchInputListHeaderCell = (props) => {
8844
8932
  setErrMsg(err || void 0);
8845
8933
  const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
8846
8934
  const newData = data.map((cell, rowIndex) => {
8847
- return __spreadProps$5(__spreadValues$5({}, cell), {
8935
+ return __spreadProps$4(__spreadValues$4({}, cell), {
8848
8936
  [column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
8849
8937
  });
8850
8938
  });
@@ -8861,7 +8949,7 @@ const BatchInputListHeaderCell = (props) => {
8861
8949
  const CellComponent = ColumnHeaderImpls[column.type];
8862
8950
  return /* @__PURE__ */ React__default.createElement(
8863
8951
  CellComponent,
8864
- __spreadProps$5(__spreadValues$5({}, props), {
8952
+ __spreadProps$4(__spreadValues$4({}, props), {
8865
8953
  column,
8866
8954
  onChange: headerOnChange,
8867
8955
  onBlur: _onBlur
@@ -8896,25 +8984,25 @@ const BatchInputListHeaderCell = (props) => {
8896
8984
  );
8897
8985
  };
8898
8986
 
8899
- var __defProp$4 = Object.defineProperty;
8900
- var __defProps$4 = Object.defineProperties;
8901
- var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
8902
- var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
8903
- var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
8904
- var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
8905
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8906
- var __spreadValues$4 = (a, b) => {
8987
+ var __defProp$3 = Object.defineProperty;
8988
+ var __defProps$3 = Object.defineProperties;
8989
+ var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
8990
+ var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
8991
+ var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
8992
+ var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
8993
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8994
+ var __spreadValues$3 = (a, b) => {
8907
8995
  for (var prop in b || (b = {}))
8908
- if (__hasOwnProp$4.call(b, prop))
8909
- __defNormalProp$4(a, prop, b[prop]);
8910
- if (__getOwnPropSymbols$4)
8911
- for (var prop of __getOwnPropSymbols$4(b)) {
8912
- if (__propIsEnum$4.call(b, prop))
8913
- __defNormalProp$4(a, prop, b[prop]);
8996
+ if (__hasOwnProp$3.call(b, prop))
8997
+ __defNormalProp$3(a, prop, b[prop]);
8998
+ if (__getOwnPropSymbols$3)
8999
+ for (var prop of __getOwnPropSymbols$3(b)) {
9000
+ if (__propIsEnum$3.call(b, prop))
9001
+ __defNormalProp$3(a, prop, b[prop]);
8914
9002
  }
8915
9003
  return a;
8916
9004
  };
8917
- var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
9005
+ var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
8918
9006
  const DEFAULT_ROW_COUNT = 3;
8919
9007
  const TableForm = React__default.forwardRef(
8920
9008
  (props, ref) => {
@@ -8976,7 +9064,7 @@ const TableForm = React__default.forwardRef(
8976
9064
  (key, error) => {
8977
9065
  if (error) {
8978
9066
  const newData = latestData.map((cell) => {
8979
- return __spreadProps$4(__spreadValues$4({}, cell), {
9067
+ return __spreadProps$3(__spreadValues$3({}, cell), {
8980
9068
  [key]: ""
8981
9069
  });
8982
9070
  });
@@ -9244,78 +9332,6 @@ const TimeZoneOption = ({
9244
9332
  })));
9245
9333
  };
9246
9334
 
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
9335
  const Inline = "i1e4sgug";
9320
9336
  const Truncate = props => {
9321
9337
  const {