@cloudtower/eagle 0.27.35 → 0.27.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/umd/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('@linaria/core'), require('@cloudtower/parrot'), require('react-i18next'), require('antd'), require('@cloudtower/icons-react'), require('@linaria/react'), require('classnames'), require('lodash'), require('react-svg-unique-id'), require('react-transition-group'), require('antd5'), require('dayjs'), require('dayjs/plugin/utc'), require('dayjs/plugin/customParseFormat'), require('moment'), require('react-dom'), require('react-is'), require('@ant-design/icons'), require('react-highlight-words'), require('recharts'), require('react-beautiful-dnd'), require('@src/utils/constants'), require('@src/components/Link'), require('@src/hooks/useParrotTranslation'), require('@src/components/Token'), require('@ant-design/icons/CheckCircleFilled'), require('@ant-design/icons/CloseCircleFilled'), require('@ant-design/icons/ExclamationCircleFilled'), require('@ant-design/icons/InfoCircleFilled'), require('@ant-design/icons/LoadingOutlined'), require('@cloudtower/rc-notification'), require('redux'), require('react-redux'), require('timezones.json'), require('antd/lib/locale/en_US'), require('antd/lib/locale/zh_CN')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'react', '@linaria/core', '@cloudtower/parrot', 'react-i18next', 'antd', '@cloudtower/icons-react', '@linaria/react', 'classnames', 'lodash', 'react-svg-unique-id', 'react-transition-group', 'antd5', 'dayjs', 'dayjs/plugin/utc', 'dayjs/plugin/customParseFormat', 'moment', 'react-dom', 'react-is', '@ant-design/icons', 'react-highlight-words', 'recharts', 'react-beautiful-dnd', '@src/utils/constants', '@src/components/Link', '@src/hooks/useParrotTranslation', '@src/components/Token', '@ant-design/icons/CheckCircleFilled', '@ant-design/icons/CloseCircleFilled', '@ant-design/icons/ExclamationCircleFilled', '@ant-design/icons/InfoCircleFilled', '@ant-design/icons/LoadingOutlined', '@cloudtower/rc-notification', 'redux', 'react-redux', 'timezones.json', 'antd/lib/locale/en_US', 'antd/lib/locale/zh_CN'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.React, global.core, global.parrot, global.reactI18next, global.antd, global.iconsReact, global.react, global.cs, global._, global.reactSvgUniqueId, global.reactTransitionGroup, global.antd5, global.dayjs, global.UTC, global.customParseFormat, global.moment, global.reactDom, global.reactIs, global.icons, global.Highlighter, global.recharts, global.reactBeautifulDnd, global.constants, global.Link$1, global.useParrotTranslation$1, global.Token$1, global.CheckCircleFilled, global.CloseCircleFilled, global.ExclamationCircleFilled, global.InfoCircleFilled, global.LoadingOutlined, global.RCNotification, global.redux, global.reactRedux, global.TimeZones, global.enUS, global.zhCN));
5
- })(this, (function (exports, React, core, parrot, reactI18next, antd, iconsReact, react, cs, _, reactSvgUniqueId, reactTransitionGroup, antd5, dayjs, UTC, customParseFormat, moment, reactDom, reactIs, icons, Highlighter, recharts, reactBeautifulDnd, constants, Link$1, useParrotTranslation$1, Token$1, CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled, LoadingOutlined, RCNotification, redux, reactRedux, TimeZones, enUS, zhCN) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('@linaria/core'), require('@cloudtower/parrot'), require('react-i18next'), require('antd'), require('@cloudtower/icons-react'), require('@linaria/react'), require('classnames'), require('lodash'), require('react-svg-unique-id'), require('react-transition-group'), require('antd5'), require('dayjs'), require('dayjs/plugin/utc'), require('dayjs/plugin/customParseFormat'), require('moment'), require('react-dom'), require('react-is'), require('@ant-design/icons'), require('react-highlight-words'), require('recharts'), require('react-beautiful-dnd'), require('@ant-design/icons/CheckCircleFilled'), require('@ant-design/icons/CloseCircleFilled'), require('@ant-design/icons/ExclamationCircleFilled'), require('@ant-design/icons/InfoCircleFilled'), require('@ant-design/icons/LoadingOutlined'), require('@cloudtower/rc-notification'), require('redux'), require('react-redux'), require('timezones.json'), require('antd/lib/locale/en_US'), require('antd/lib/locale/zh_CN')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'react', '@linaria/core', '@cloudtower/parrot', 'react-i18next', 'antd', '@cloudtower/icons-react', '@linaria/react', 'classnames', 'lodash', 'react-svg-unique-id', 'react-transition-group', 'antd5', 'dayjs', 'dayjs/plugin/utc', 'dayjs/plugin/customParseFormat', 'moment', 'react-dom', 'react-is', '@ant-design/icons', 'react-highlight-words', 'recharts', 'react-beautiful-dnd', '@ant-design/icons/CheckCircleFilled', '@ant-design/icons/CloseCircleFilled', '@ant-design/icons/ExclamationCircleFilled', '@ant-design/icons/InfoCircleFilled', '@ant-design/icons/LoadingOutlined', '@cloudtower/rc-notification', 'redux', 'react-redux', 'timezones.json', 'antd/lib/locale/en_US', 'antd/lib/locale/zh_CN'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.React, global.core, global.parrot, global.reactI18next, global.antd, global.iconsReact, global.react, global.cs, global._, global.reactSvgUniqueId, global.reactTransitionGroup, global.antd5, global.dayjs, global.UTC, global.customParseFormat, global.moment, global.reactDom, global.reactIs, global.icons, global.Highlighter, global.recharts, global.reactBeautifulDnd, global.CheckCircleFilled, global.CloseCircleFilled, global.ExclamationCircleFilled, global.InfoCircleFilled, global.LoadingOutlined, global.RCNotification, global.redux, global.reactRedux, global.TimeZones, global.enUS, global.zhCN));
5
+ })(this, (function (exports, React, core, parrot, reactI18next, antd, iconsReact, react, cs, _, reactSvgUniqueId, reactTransitionGroup, antd5, dayjs, UTC, customParseFormat, moment, reactDom, reactIs, icons, Highlighter, recharts, reactBeautifulDnd, CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled, LoadingOutlined, RCNotification, redux, reactRedux, TimeZones, enUS, zhCN) { 'use strict';
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
8
 
@@ -32,9 +32,6 @@
32
32
  var customParseFormat__default = /*#__PURE__*/_interopDefault(customParseFormat);
33
33
  var moment__default = /*#__PURE__*/_interopDefault(moment);
34
34
  var Highlighter__default = /*#__PURE__*/_interopDefault(Highlighter);
35
- var Link__default = /*#__PURE__*/_interopDefault(Link$1);
36
- var useParrotTranslation__default = /*#__PURE__*/_interopDefault(useParrotTranslation$1);
37
- var Token__default = /*#__PURE__*/_interopDefault(Token$1);
38
35
  var CheckCircleFilled__default = /*#__PURE__*/_interopDefault(CheckCircleFilled);
39
36
  var CloseCircleFilled__default = /*#__PURE__*/_interopDefault(CloseCircleFilled);
40
37
  var ExclamationCircleFilled__default = /*#__PURE__*/_interopDefault(ExclamationCircleFilled);
@@ -1335,6 +1332,7 @@
1335
1332
 
1336
1333
  const EMPTY_FUNCTION = () => {
1337
1334
  };
1335
+ const Antd5PrefixCls = "antd5";
1338
1336
 
1339
1337
  var __defProp$W = Object.defineProperty;
1340
1338
  var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -6253,39 +6251,159 @@
6253
6251
  const CascaderLargeDropdown = "c1i4zk1";
6254
6252
 
6255
6253
  var __defProp$r = Object.defineProperty;
6254
+ var __defProps$m = Object.defineProperties;
6255
+ var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
6256
6256
  var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
6257
6257
  var __hasOwnProp$s = Object.prototype.hasOwnProperty;
6258
6258
  var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
6259
- var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6259
+ var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
6260
+ enumerable: true,
6261
+ configurable: true,
6262
+ writable: true,
6263
+ value
6264
+ }) : obj[key] = value;
6260
6265
  var __spreadValues$r = (a, b) => {
6266
+ for (var prop in b || (b = {})) if (__hasOwnProp$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
6267
+ if (__getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(b)) {
6268
+ if (__propIsEnum$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
6269
+ }
6270
+ return a;
6271
+ };
6272
+ var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
6273
+ var __objRest$b = (source, exclude) => {
6274
+ var target = {};
6275
+ for (var prop in source) if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6276
+ if (source != null && __getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(source)) {
6277
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop)) target[prop] = source[prop];
6278
+ }
6279
+ return target;
6280
+ };
6281
+ const LinkStyle = "lujuy3j";
6282
+ const Link = React__namespace.default.forwardRef((_a, ref) => {
6283
+ var _b = _a,
6284
+ {
6285
+ className,
6286
+ disabled,
6287
+ type
6288
+ } = _b,
6289
+ props = __objRest$b(_b, ["className", "disabled", "type"]);
6290
+ return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$m(__spreadValues$r({}, props), {
6291
+ ref,
6292
+ disabled,
6293
+ className: cs__default.default(LinkStyle, className, {
6294
+ "ui-kit-link-disabled": disabled,
6295
+ "ui-kit-link-subtle": type === "subtle"
6296
+ }),
6297
+ type: "link"
6298
+ }));
6299
+ });
6300
+
6301
+ const IconStyle$1 = "iwsze0q";
6302
+
6303
+ var __defProp$q = Object.defineProperty;
6304
+ var __defProps$l = Object.defineProperties;
6305
+ var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
6306
+ var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
6307
+ var __hasOwnProp$r = Object.prototype.hasOwnProperty;
6308
+ var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
6309
+ var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, {
6310
+ enumerable: true,
6311
+ configurable: true,
6312
+ writable: true,
6313
+ value
6314
+ }) : obj[key] = value;
6315
+ var __spreadValues$q = (a, b) => {
6316
+ for (var prop in b || (b = {})) if (__hasOwnProp$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
6317
+ if (__getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(b)) {
6318
+ if (__propIsEnum$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
6319
+ }
6320
+ return a;
6321
+ };
6322
+ var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
6323
+ var __objRest$a = (source, exclude) => {
6324
+ var target = {};
6325
+ for (var prop in source) if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6326
+ if (source != null && __getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(source)) {
6327
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop)) target[prop] = source[prop];
6328
+ }
6329
+ return target;
6330
+ };
6331
+ const PresetColors$3 = ["blue", "red", "yellow", "green", "gray", "purple"];
6332
+ const Size$1 = {
6333
+ small: "s1uupxds",
6334
+ medium: "m10sqwut",
6335
+ large: "l1d492wb"
6336
+ };
6337
+ const TokenStyle = "t1lzavmu";
6338
+ const Token = React__namespace.default.forwardRef((_a, ref) => {
6339
+ var _b = _a,
6340
+ {
6341
+ size = "small",
6342
+ color = "gray",
6343
+ className,
6344
+ icon,
6345
+ checked,
6346
+ children,
6347
+ tooltipConfig
6348
+ } = _b,
6349
+ props = __objRest$a(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
6350
+ return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$l(__spreadValues$q({}, props), {
6351
+ ref,
6352
+ className: cs__default.default(className, Size$1[size], TokenStyle, {
6353
+ [Typo.Label.l4_regular]: size === "small" || size === "medium",
6354
+ [Typo.Label.l3_regular]: size === "large",
6355
+ [`ant-tag-${color}`]: PresetColors$3.includes(color)
6356
+ }, "ui-kit-token", checked && "ui-kit-token-checked"),
6357
+ closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$q({
6358
+ title: tooltipConfig == null ? void 0 : tooltipConfig.title
6359
+ }, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
6360
+ visible: false
6361
+ }), /* @__PURE__ */React__namespace.default.createElement(Icon, {
6362
+ className: "selected-icon",
6363
+ src: iconsReact.XmarkRemoveSmall16RegularInheritIcon,
6364
+ iconHeight: 16,
6365
+ iconWidth: 16
6366
+ })),
6367
+ color: color === "gray" ? void 0 : color
6368
+ }), icon && /* @__PURE__ */React__namespace.default.createElement("span", {
6369
+ className: cs__default.default("ui-kit-tag-icon", IconStyle$1)
6370
+ }, icon), children);
6371
+ });
6372
+
6373
+ var __defProp$p = Object.defineProperty;
6374
+ var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
6375
+ var __hasOwnProp$q = Object.prototype.hasOwnProperty;
6376
+ var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
6377
+ var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6378
+ var __spreadValues$p = (a, b) => {
6261
6379
  for (var prop in b || (b = {}))
6262
- if (__hasOwnProp$s.call(b, prop))
6263
- __defNormalProp$r(a, prop, b[prop]);
6264
- if (__getOwnPropSymbols$s)
6265
- for (var prop of __getOwnPropSymbols$s(b)) {
6266
- if (__propIsEnum$s.call(b, prop))
6267
- __defNormalProp$r(a, prop, b[prop]);
6380
+ if (__hasOwnProp$q.call(b, prop))
6381
+ __defNormalProp$p(a, prop, b[prop]);
6382
+ if (__getOwnPropSymbols$q)
6383
+ for (var prop of __getOwnPropSymbols$q(b)) {
6384
+ if (__propIsEnum$q.call(b, prop))
6385
+ __defNormalProp$p(a, prop, b[prop]);
6268
6386
  }
6269
6387
  return a;
6270
6388
  };
6271
- var __objRest$b = (source, exclude) => {
6389
+ var __objRest$9 = (source, exclude) => {
6272
6390
  var target = {};
6273
6391
  for (var prop in source)
6274
- if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
6392
+ if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
6275
6393
  target[prop] = source[prop];
6276
- if (source != null && __getOwnPropSymbols$s)
6277
- for (var prop of __getOwnPropSymbols$s(source)) {
6278
- if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
6394
+ if (source != null && __getOwnPropSymbols$q)
6395
+ for (var prop of __getOwnPropSymbols$q(source)) {
6396
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
6279
6397
  target[prop] = source[prop];
6280
6398
  }
6281
6399
  return target;
6282
6400
  };
6283
6401
  const SearchInput = (props) => {
6284
- const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$b(_a, ["onChange", "debounceWait"]);
6402
+ const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$9(_a, ["onChange", "debounceWait"]);
6285
6403
  const onSearch = ___default.default.debounce(onChange, debounceWait);
6286
6404
  return /* @__PURE__ */ React__namespace.default.createElement(
6287
6405
  Input,
6288
- __spreadValues$r({
6406
+ __spreadValues$p({
6289
6407
  style: { width: 276 },
6290
6408
  prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
6291
6409
  onChange: (e) => onSearch(e.target.value)
@@ -6293,30 +6411,30 @@
6293
6411
  );
6294
6412
  };
6295
6413
 
6296
- var __defProp$q = Object.defineProperty;
6297
- var __defProps$m = Object.defineProperties;
6298
- var __getOwnPropDescs$m = 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, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6303
- var __spreadValues$q = (a, b) => {
6414
+ var __defProp$o = Object.defineProperty;
6415
+ var __defProps$k = Object.defineProperties;
6416
+ var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
6417
+ var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
6418
+ var __hasOwnProp$p = Object.prototype.hasOwnProperty;
6419
+ var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
6420
+ var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6421
+ var __spreadValues$o = (a, b) => {
6304
6422
  for (var prop in b || (b = {}))
6305
- if (__hasOwnProp$r.call(b, prop))
6306
- __defNormalProp$q(a, prop, b[prop]);
6307
- if (__getOwnPropSymbols$r)
6308
- for (var prop of __getOwnPropSymbols$r(b)) {
6309
- if (__propIsEnum$r.call(b, prop))
6310
- __defNormalProp$q(a, prop, b[prop]);
6423
+ if (__hasOwnProp$p.call(b, prop))
6424
+ __defNormalProp$o(a, prop, b[prop]);
6425
+ if (__getOwnPropSymbols$p)
6426
+ for (var prop of __getOwnPropSymbols$p(b)) {
6427
+ if (__propIsEnum$p.call(b, prop))
6428
+ __defNormalProp$o(a, prop, b[prop]);
6311
6429
  }
6312
6430
  return a;
6313
6431
  };
6314
- var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
6432
+ var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
6315
6433
  const NotDataContent = ({ content }) => {
6316
6434
  return /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(CascaderNotData) }, content);
6317
6435
  };
6318
6436
  const PresetCascaderHeader = ({ defaultContent, searchProps }) => {
6319
- const { t } = useParrotTranslation__default.default();
6437
+ const { t } = useParrotTranslation();
6320
6438
  const [selectedAll, setSelectedAll] = React.useState(false);
6321
6439
  const onClick = (e) => {
6322
6440
  var _a;
@@ -6325,13 +6443,13 @@
6325
6443
  };
6326
6444
  return /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { vertical: true, className: CascaderDefaultHeaderContainer }, searchProps ? /* @__PURE__ */ React__namespace.default.createElement(
6327
6445
  SearchInput,
6328
- __spreadProps$m(__spreadValues$q({}, searchProps), {
6446
+ __spreadProps$k(__spreadValues$o({}, searchProps), {
6329
6447
  className: cs__default.default(searchProps.className, CascaderDefaultHeaderSearch),
6330
6448
  style: {
6331
6449
  width: "unset"
6332
6450
  }
6333
6451
  })
6334
- ) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null), (defaultContent == null ? void 0 : defaultContent.hide) ? /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null) : /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(CascaderDefaultHeader) }, defaultContent == null ? void 0 : defaultContent.label, /* @__PURE__ */ React__namespace.default.createElement(Link__default.default, { size: "small", onClick }, selectedAll ? t("components.unselect_all") : t("components.select_all"))));
6452
+ ) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null), (defaultContent == null ? void 0 : defaultContent.hide) ? /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null) : /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(CascaderDefaultHeader) }, defaultContent == null ? void 0 : defaultContent.label, /* @__PURE__ */ React__namespace.default.createElement(Link, { size: "small", onClick }, selectedAll ? t("components.unselect_all") : t("components.select_all"))));
6335
6453
  };
6336
6454
  const PresetCascaderRender = ({
6337
6455
  menus,
@@ -6339,36 +6457,36 @@
6339
6457
  footer,
6340
6458
  presetHeaderProps
6341
6459
  }) => {
6342
- return /* @__PURE__ */ React__namespace.default.createElement("div", null, header ? header : /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderHeader, __spreadValues$q({}, presetHeaderProps)), menus, footer);
6460
+ return /* @__PURE__ */ React__namespace.default.createElement("div", null, header ? header : /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderHeader, __spreadValues$o({}, presetHeaderProps)), menus, footer);
6343
6461
  };
6344
6462
  const defaultTagRender = (props) => {
6345
- return /* @__PURE__ */ React__namespace.default.createElement(Token__default.default, __spreadValues$q({ size: "medium", color: "blue", key: props.value }, props), props.label);
6463
+ return /* @__PURE__ */ React__namespace.default.createElement(Token, __spreadValues$o({ size: "medium", color: "blue", key: props.value }, props), props.label);
6346
6464
  };
6347
6465
 
6348
- var __defProp$p = Object.defineProperty;
6349
- var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
6350
- var __hasOwnProp$q = Object.prototype.hasOwnProperty;
6351
- var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
6352
- var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6353
- var __spreadValues$p = (a, b) => {
6466
+ var __defProp$n = Object.defineProperty;
6467
+ var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
6468
+ var __hasOwnProp$o = Object.prototype.hasOwnProperty;
6469
+ var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
6470
+ var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6471
+ var __spreadValues$n = (a, b) => {
6354
6472
  for (var prop in b || (b = {}))
6355
- if (__hasOwnProp$q.call(b, prop))
6356
- __defNormalProp$p(a, prop, b[prop]);
6357
- if (__getOwnPropSymbols$q)
6358
- for (var prop of __getOwnPropSymbols$q(b)) {
6359
- if (__propIsEnum$q.call(b, prop))
6360
- __defNormalProp$p(a, prop, b[prop]);
6473
+ if (__hasOwnProp$o.call(b, prop))
6474
+ __defNormalProp$n(a, prop, b[prop]);
6475
+ if (__getOwnPropSymbols$o)
6476
+ for (var prop of __getOwnPropSymbols$o(b)) {
6477
+ if (__propIsEnum$o.call(b, prop))
6478
+ __defNormalProp$n(a, prop, b[prop]);
6361
6479
  }
6362
6480
  return a;
6363
6481
  };
6364
- var __objRest$a = (source, exclude) => {
6482
+ var __objRest$8 = (source, exclude) => {
6365
6483
  var target = {};
6366
6484
  for (var prop in source)
6367
- if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
6485
+ if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
6368
6486
  target[prop] = source[prop];
6369
- if (source != null && __getOwnPropSymbols$q)
6370
- for (var prop of __getOwnPropSymbols$q(source)) {
6371
- if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
6487
+ if (source != null && __getOwnPropSymbols$o)
6488
+ for (var prop of __getOwnPropSymbols$o(source)) {
6489
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
6372
6490
  target[prop] = source[prop];
6373
6491
  }
6374
6492
  return target;
@@ -6379,7 +6497,7 @@
6379
6497
  NotData = "No Data",
6380
6498
  dropdownClassName,
6381
6499
  presetCascaderRenderProps
6382
- } = _a, restProps = __objRest$a(_a, [
6500
+ } = _a, restProps = __objRest$8(_a, [
6383
6501
  "size",
6384
6502
  "NotData",
6385
6503
  "dropdownClassName",
@@ -6387,9 +6505,9 @@
6387
6505
  ]);
6388
6506
  return /* @__PURE__ */ React__namespace.default.createElement(
6389
6507
  antd5.Cascader,
6390
- __spreadValues$p({
6508
+ __spreadValues$n({
6391
6509
  size,
6392
- prefixCls: constants.Antd5PrefixCls,
6510
+ prefixCls: Antd5PrefixCls,
6393
6511
  expandIcon: /* @__PURE__ */ React__namespace.default.createElement(Icon, { src: iconsReact.HierarchyTriangleRight16PrimaryIcon }),
6394
6512
  popupClassName: cs__default.default(
6395
6513
  {
@@ -6399,7 +6517,7 @@
6399
6517
  dropdownClassName,
6400
6518
  CascaderDropdown
6401
6519
  ),
6402
- dropdownRender: (menus) => /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderRender, __spreadValues$p({ menus }, presetCascaderRenderProps)),
6520
+ dropdownRender: (menus) => /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderRender, __spreadValues$n({ menus }, presetCascaderRenderProps)),
6403
6521
  notFoundContent: /* @__PURE__ */ React__namespace.default.createElement(NotDataContent, { content: NotData }),
6404
6522
  tagRender: defaultTagRender,
6405
6523
  rootClassName: CascaderInputStyle
@@ -6480,32 +6598,32 @@
6480
6598
  }, children));
6481
6599
  };
6482
6600
 
6483
- var __defProp$o = Object.defineProperty;
6484
- var __defProps$l = Object.defineProperties;
6485
- var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
6486
- var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
6487
- var __hasOwnProp$p = Object.prototype.hasOwnProperty;
6488
- var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
6489
- var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, {
6601
+ var __defProp$m = Object.defineProperty;
6602
+ var __defProps$j = Object.defineProperties;
6603
+ var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
6604
+ var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
6605
+ var __hasOwnProp$n = Object.prototype.hasOwnProperty;
6606
+ var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
6607
+ var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
6490
6608
  enumerable: true,
6491
6609
  configurable: true,
6492
6610
  writable: true,
6493
6611
  value
6494
6612
  }) : obj[key] = value;
6495
- var __spreadValues$o = (a, b) => {
6496
- for (var prop in b || (b = {})) if (__hasOwnProp$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
6497
- if (__getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(b)) {
6498
- if (__propIsEnum$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
6613
+ var __spreadValues$m = (a, b) => {
6614
+ for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
6615
+ if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
6616
+ if (__propIsEnum$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
6499
6617
  }
6500
6618
  return a;
6501
6619
  };
6502
- var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
6620
+ var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
6503
6621
  const {
6504
6622
  Item: AntdFormItem
6505
6623
  } = antd.Form;
6506
6624
  const FormItemStyle$1 = "f1p9ti6d";
6507
6625
  const FormItem$1 = props => {
6508
- return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$o({}, props), {
6626
+ return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$j(__spreadValues$m({}, props), {
6509
6627
  className: cs__default.default(FormItemStyle$1, props.className)
6510
6628
  }));
6511
6629
  };
@@ -6513,28 +6631,28 @@
6513
6631
  const Form = antd.Form;
6514
6632
  Form.Item = FormItem$1;
6515
6633
 
6516
- var __defProp$n = Object.defineProperty;
6517
- var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
6518
- var __hasOwnProp$o = Object.prototype.hasOwnProperty;
6519
- var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
6520
- var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6521
- var __spreadValues$n = (a, b) => {
6634
+ var __defProp$l = Object.defineProperty;
6635
+ var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
6636
+ var __hasOwnProp$m = Object.prototype.hasOwnProperty;
6637
+ var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
6638
+ var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6639
+ var __spreadValues$l = (a, b) => {
6522
6640
  for (var prop in b || (b = {}))
6523
- if (__hasOwnProp$o.call(b, prop))
6524
- __defNormalProp$n(a, prop, b[prop]);
6525
- if (__getOwnPropSymbols$o)
6526
- for (var prop of __getOwnPropSymbols$o(b)) {
6527
- if (__propIsEnum$o.call(b, prop))
6528
- __defNormalProp$n(a, prop, b[prop]);
6641
+ if (__hasOwnProp$m.call(b, prop))
6642
+ __defNormalProp$l(a, prop, b[prop]);
6643
+ if (__getOwnPropSymbols$m)
6644
+ for (var prop of __getOwnPropSymbols$m(b)) {
6645
+ if (__propIsEnum$m.call(b, prop))
6646
+ __defNormalProp$l(a, prop, b[prop]);
6529
6647
  }
6530
6648
  return a;
6531
6649
  };
6532
6650
  const ParrotTrans = (props) => {
6533
6651
  const { i18n } = useParrotTranslation();
6534
- return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$n({ i18n }, props));
6652
+ return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$l({ i18n }, props));
6535
6653
  };
6536
6654
 
6537
- const PresetColors$3 = [
6655
+ const PresetColors$2 = [
6538
6656
  "blue",
6539
6657
  "red",
6540
6658
  "yellow",
@@ -6543,39 +6661,39 @@
6543
6661
  "purple"
6544
6662
  ];
6545
6663
 
6546
- const Size$1 = {
6664
+ const Size = {
6547
6665
  small: "sut42l0",
6548
6666
  medium: "mfsz1jz"
6549
6667
  };
6550
6668
  const TagStyle$1 = "tnd6h4m";
6551
- const IconStyle$1 = "i1qw4clm";
6669
+ const IconStyle = "i1qw4clm";
6552
6670
  const NameTagStyle = "n1r5ku5l";
6553
6671
 
6554
- var __defProp$m = Object.defineProperty;
6555
- var __defProps$k = Object.defineProperties;
6556
- var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
6557
- var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
6558
- var __hasOwnProp$n = Object.prototype.hasOwnProperty;
6559
- var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
6560
- var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
6672
+ var __defProp$k = Object.defineProperty;
6673
+ var __defProps$i = Object.defineProperties;
6674
+ var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
6675
+ var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
6676
+ var __hasOwnProp$l = Object.prototype.hasOwnProperty;
6677
+ var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
6678
+ var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, {
6561
6679
  enumerable: true,
6562
6680
  configurable: true,
6563
6681
  writable: true,
6564
6682
  value
6565
6683
  }) : obj[key] = value;
6566
- var __spreadValues$m = (a, b) => {
6567
- for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
6568
- if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
6569
- if (__propIsEnum$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
6684
+ var __spreadValues$k = (a, b) => {
6685
+ for (var prop in b || (b = {})) if (__hasOwnProp$l.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
6686
+ if (__getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(b)) {
6687
+ if (__propIsEnum$l.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
6570
6688
  }
6571
6689
  return a;
6572
6690
  };
6573
- var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
6574
- var __objRest$9 = (source, exclude) => {
6691
+ var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
6692
+ var __objRest$7 = (source, exclude) => {
6575
6693
  var target = {};
6576
- for (var prop in source) if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6577
- if (source != null && __getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(source)) {
6578
- if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop)) target[prop] = source[prop];
6694
+ for (var prop in source) if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6695
+ if (source != null && __getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(source)) {
6696
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop)) target[prop] = source[prop];
6579
6697
  }
6580
6698
  return target;
6581
6699
  };
@@ -6590,53 +6708,53 @@
6590
6708
  secondaryContent,
6591
6709
  icon
6592
6710
  } = _b,
6593
- props = __objRest$9(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
6594
- return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$k(__spreadValues$m({}, props), {
6595
- className: cs__default.default(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
6596
- [`ant-tag-${color}`]: PresetColors$3.includes(color)
6711
+ props = __objRest$7(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
6712
+ return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$i(__spreadValues$k({}, props), {
6713
+ className: cs__default.default(className, TagStyle$1, Size[size], WrapperStyle, Typo.Label.l4_regular, {
6714
+ [`ant-tag-${color}`]: PresetColors$2.includes(color)
6597
6715
  }, "outside-tag")
6598
6716
  }), /* @__PURE__ */React__namespace.default.createElement(antd.Tag, {
6599
- className: cs__default.default(Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
6600
- [`ant-tag-${color}`]: PresetColors$3.includes(color)
6717
+ className: cs__default.default(Size[size], TagStyle$1, Typo.Label.l4_regular, {
6718
+ [`ant-tag-${color}`]: PresetColors$2.includes(color)
6601
6719
  }, "inside-tag")
6602
6720
  }, icon && /* @__PURE__ */React__namespace.default.createElement("span", {
6603
- className: cs__default.default("ui-kit-tag-icon", IconStyle$1)
6721
+ className: cs__default.default("ui-kit-tag-icon", IconStyle)
6604
6722
  }, icon), primaryContent), secondaryContent);
6605
6723
  };
6606
6724
 
6607
- var __defProp$l = Object.defineProperty;
6608
- var __defProps$j = Object.defineProperties;
6609
- var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
6610
- var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
6611
- var __hasOwnProp$m = Object.prototype.hasOwnProperty;
6612
- var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
6613
- var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6614
- var __spreadValues$l = (a, b) => {
6725
+ var __defProp$j = Object.defineProperty;
6726
+ var __defProps$h = Object.defineProperties;
6727
+ var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
6728
+ var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
6729
+ var __hasOwnProp$k = Object.prototype.hasOwnProperty;
6730
+ var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
6731
+ var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6732
+ var __spreadValues$j = (a, b) => {
6615
6733
  for (var prop in b || (b = {}))
6616
- if (__hasOwnProp$m.call(b, prop))
6617
- __defNormalProp$l(a, prop, b[prop]);
6618
- if (__getOwnPropSymbols$m)
6619
- for (var prop of __getOwnPropSymbols$m(b)) {
6620
- if (__propIsEnum$m.call(b, prop))
6621
- __defNormalProp$l(a, prop, b[prop]);
6734
+ if (__hasOwnProp$k.call(b, prop))
6735
+ __defNormalProp$j(a, prop, b[prop]);
6736
+ if (__getOwnPropSymbols$k)
6737
+ for (var prop of __getOwnPropSymbols$k(b)) {
6738
+ if (__propIsEnum$k.call(b, prop))
6739
+ __defNormalProp$j(a, prop, b[prop]);
6622
6740
  }
6623
6741
  return a;
6624
6742
  };
6625
- var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
6626
- var __objRest$8 = (source, exclude) => {
6743
+ var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
6744
+ var __objRest$6 = (source, exclude) => {
6627
6745
  var target = {};
6628
6746
  for (var prop in source)
6629
- if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0)
6747
+ if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
6630
6748
  target[prop] = source[prop];
6631
- if (source != null && __getOwnPropSymbols$m)
6632
- for (var prop of __getOwnPropSymbols$m(source)) {
6633
- if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
6749
+ if (source != null && __getOwnPropSymbols$k)
6750
+ for (var prop of __getOwnPropSymbols$k(source)) {
6751
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
6634
6752
  target[prop] = source[prop];
6635
6753
  }
6636
6754
  return target;
6637
6755
  };
6638
- const PresetColors$2 = [
6639
- ...PresetColors$3,
6756
+ const PresetColors$1 = [
6757
+ ...PresetColors$2,
6640
6758
  "red-ontint",
6641
6759
  "green-ontint"
6642
6760
  ];
@@ -6655,7 +6773,7 @@
6655
6773
  hoverable = false,
6656
6774
  icon,
6657
6775
  children
6658
- } = _b, props = __objRest$8(_b, [
6776
+ } = _b, props = __objRest$6(_b, [
6659
6777
  "size",
6660
6778
  "color",
6661
6779
  "className",
@@ -6666,128 +6784,80 @@
6666
6784
  const computedColor = AntdColorMap[color] || color;
6667
6785
  return /* @__PURE__ */ React__namespace.default.createElement(
6668
6786
  antd.Tag,
6669
- __spreadProps$j(__spreadValues$l({}, props), {
6670
- className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
6671
- [`ant-tag-${computedColor}`]: PresetColors$2.includes(computedColor),
6787
+ __spreadProps$h(__spreadValues$j({}, props), {
6788
+ className: cs__default.default(className, Size[size], TagStyle$1, Typo.Label.l4_regular, {
6789
+ [`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
6672
6790
  "tag-hover": hoverable
6673
6791
  }),
6674
6792
  closable: false,
6675
6793
  color: computedColor === "gray" ? void 0 : computedColor
6676
6794
  }),
6677
- icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className: IconStyle$1 }, icon),
6795
+ icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className: IconStyle }, icon),
6678
6796
  children
6679
6797
  );
6680
6798
  };
6681
6799
  const NameTag = (_c) => {
6682
- var _d = _c, { className } = _d, props = __objRest$8(_d, ["className"]);
6683
- return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$l({ className: cs__default.default(NameTagStyle, className) }, props));
6800
+ var _d = _c, { className } = _d, props = __objRest$6(_d, ["className"]);
6801
+ return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$j({ className: cs__default.default(NameTagStyle, className) }, props));
6684
6802
  };
6685
6803
  Tag.SplitTag = SplitTag;
6686
6804
  Tag.NameTag = NameTag;
6687
6805
 
6688
- var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
6689
- var __hasOwnProp$l = Object.prototype.hasOwnProperty;
6690
- var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
6691
- var __objRest$7 = (source, exclude) => {
6692
- var target = {};
6693
- for (var prop in source) if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6694
- if (source != null && __getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(source)) {
6695
- if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop)) target[prop] = source[prop];
6696
- }
6697
- return target;
6698
- };
6699
- const tagStyle = "t3qomhu";
6700
- const I18nNameTag = props => {
6701
- const _a = props,
6702
- {
6703
- name,
6704
- i18nKey
6705
- } = _a,
6706
- otherOption = __objRest$7(_a, ["name", "i18nKey"]);
6707
- return /* @__PURE__ */React__namespace.default.createElement(ParrotTrans, {
6708
- i18nKey,
6709
- tOptions: otherOption
6710
- }, "h", /* @__PURE__ */React__namespace.default.createElement(Tag.NameTag, {
6711
- className: tagStyle
6712
- }, {
6713
- name
6714
- }));
6715
- };
6716
-
6717
- const _exp = () => antd.Input.Group;
6718
- const InputGroup = /*#__PURE__*/react.styled(_exp())({
6719
- name: "InputGroup",
6720
- class: "iiqau4c",
6721
- propsAsIs: true
6722
- });
6723
-
6724
- var __defProp$k = Object.defineProperty;
6725
- var __defProps$i = Object.defineProperties;
6726
- var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
6727
- var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
6728
- var __hasOwnProp$k = Object.prototype.hasOwnProperty;
6729
- var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
6730
- var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, {
6731
- enumerable: true,
6732
- configurable: true,
6733
- writable: true,
6734
- value
6735
- }) : obj[key] = value;
6736
- var __spreadValues$k = (a, b) => {
6737
- for (var prop in b || (b = {})) if (__hasOwnProp$k.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
6738
- if (__getOwnPropSymbols$k) for (var prop of __getOwnPropSymbols$k(b)) {
6739
- if (__propIsEnum$k.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
6740
- }
6741
- return a;
6742
- };
6743
- var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
6744
- var __objRest$6 = (source, exclude) => {
6806
+ var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
6807
+ var __hasOwnProp$j = Object.prototype.hasOwnProperty;
6808
+ var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
6809
+ var __objRest$5 = (source, exclude) => {
6745
6810
  var target = {};
6746
- for (var prop in source) if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6747
- if (source != null && __getOwnPropSymbols$k) for (var prop of __getOwnPropSymbols$k(source)) {
6748
- if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop)) target[prop] = source[prop];
6811
+ for (var prop in source) if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6812
+ if (source != null && __getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(source)) {
6813
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop)) target[prop] = source[prop];
6749
6814
  }
6750
6815
  return target;
6751
6816
  };
6752
- const LinkStyle = "lujuy3j";
6753
- const Link = React__namespace.default.forwardRef((_a, ref) => {
6754
- var _b = _a,
6817
+ const tagStyle = "t3qomhu";
6818
+ const I18nNameTag = props => {
6819
+ const _a = props,
6755
6820
  {
6756
- className,
6757
- disabled,
6758
- type
6759
- } = _b,
6760
- props = __objRest$6(_b, ["className", "disabled", "type"]);
6761
- return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$i(__spreadValues$k({}, props), {
6762
- ref,
6763
- disabled,
6764
- className: cs__default.default(LinkStyle, className, {
6765
- "ui-kit-link-disabled": disabled,
6766
- "ui-kit-link-subtle": type === "subtle"
6767
- }),
6768
- type: "link"
6821
+ name,
6822
+ i18nKey
6823
+ } = _a,
6824
+ otherOption = __objRest$5(_a, ["name", "i18nKey"]);
6825
+ return /* @__PURE__ */React__namespace.default.createElement(ParrotTrans, {
6826
+ i18nKey,
6827
+ tOptions: otherOption
6828
+ }, "h", /* @__PURE__ */React__namespace.default.createElement(Tag.NameTag, {
6829
+ className: tagStyle
6830
+ }, {
6831
+ name
6769
6832
  }));
6833
+ };
6834
+
6835
+ const _exp = () => antd.Input.Group;
6836
+ const InputGroup = /*#__PURE__*/react.styled(_exp())({
6837
+ name: "InputGroup",
6838
+ class: "iiqau4c",
6839
+ propsAsIs: true
6770
6840
  });
6771
6841
 
6772
- var __defProp$j = Object.defineProperty;
6773
- var __defProps$h = Object.defineProperties;
6774
- var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
6775
- var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
6776
- var __hasOwnProp$j = Object.prototype.hasOwnProperty;
6777
- var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
6778
- var __defNormalProp$j = (obj, key2, value) => key2 in obj ? __defProp$j(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
6779
- var __spreadValues$j = (a, b) => {
6842
+ var __defProp$i = Object.defineProperty;
6843
+ var __defProps$g = Object.defineProperties;
6844
+ var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
6845
+ var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
6846
+ var __hasOwnProp$i = Object.prototype.hasOwnProperty;
6847
+ var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
6848
+ var __defNormalProp$i = (obj, key2, value) => key2 in obj ? __defProp$i(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
6849
+ var __spreadValues$i = (a, b) => {
6780
6850
  for (var prop in b || (b = {}))
6781
- if (__hasOwnProp$j.call(b, prop))
6782
- __defNormalProp$j(a, prop, b[prop]);
6783
- if (__getOwnPropSymbols$j)
6784
- for (var prop of __getOwnPropSymbols$j(b)) {
6785
- if (__propIsEnum$j.call(b, prop))
6786
- __defNormalProp$j(a, prop, b[prop]);
6851
+ if (__hasOwnProp$i.call(b, prop))
6852
+ __defNormalProp$i(a, prop, b[prop]);
6853
+ if (__getOwnPropSymbols$i)
6854
+ for (var prop of __getOwnPropSymbols$i(b)) {
6855
+ if (__propIsEnum$i.call(b, prop))
6856
+ __defNormalProp$i(a, prop, b[prop]);
6787
6857
  }
6788
6858
  return a;
6789
6859
  };
6790
- var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
6860
+ var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
6791
6861
  let messageInstance;
6792
6862
  let defaultDuration = 3;
6793
6863
  let defaultTop;
@@ -6894,7 +6964,7 @@
6894
6964
  }
6895
6965
  getRCNotificationInstance(args, ({ prefixCls, instance }) => {
6896
6966
  instance.notice(
6897
- getRCNoticeProps(__spreadProps$h(__spreadValues$j({}, args), { key: target, onClose: callback }), prefixCls)
6967
+ getRCNoticeProps(__spreadProps$g(__spreadValues$i({}, args), { key: target, onClose: callback }), prefixCls)
6898
6968
  );
6899
6969
  });
6900
6970
  });
@@ -6923,7 +6993,7 @@
6923
6993
  function attachTypeApi(originalApi, type) {
6924
6994
  originalApi[type] = (content, duration, onClose) => {
6925
6995
  if (isArgsProps(content)) {
6926
- return originalApi.open(__spreadProps$h(__spreadValues$j({}, content), { type }));
6996
+ return originalApi.open(__spreadProps$g(__spreadValues$i({}, content), { type }));
6927
6997
  }
6928
6998
  if (typeof duration === "function") {
6929
6999
  onClose = duration;
@@ -6937,25 +7007,25 @@
6937
7007
  );
6938
7008
  api.warn = api.warning;
6939
7009
 
6940
- var __defProp$i = Object.defineProperty;
6941
- var __defProps$g = Object.defineProperties;
6942
- var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
6943
- var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
6944
- var __hasOwnProp$i = Object.prototype.hasOwnProperty;
6945
- var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
6946
- var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6947
- var __spreadValues$i = (a, b) => {
7010
+ var __defProp$h = Object.defineProperty;
7011
+ var __defProps$f = Object.defineProperties;
7012
+ var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
7013
+ var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
7014
+ var __hasOwnProp$h = Object.prototype.hasOwnProperty;
7015
+ var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
7016
+ var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7017
+ var __spreadValues$h = (a, b) => {
6948
7018
  for (var prop in b || (b = {}))
6949
- if (__hasOwnProp$i.call(b, prop))
6950
- __defNormalProp$i(a, prop, b[prop]);
6951
- if (__getOwnPropSymbols$i)
6952
- for (var prop of __getOwnPropSymbols$i(b)) {
6953
- if (__propIsEnum$i.call(b, prop))
6954
- __defNormalProp$i(a, prop, b[prop]);
7019
+ if (__hasOwnProp$h.call(b, prop))
7020
+ __defNormalProp$h(a, prop, b[prop]);
7021
+ if (__getOwnPropSymbols$h)
7022
+ for (var prop of __getOwnPropSymbols$h(b)) {
7023
+ if (__propIsEnum$h.call(b, prop))
7024
+ __defNormalProp$h(a, prop, b[prop]);
6955
7025
  }
6956
7026
  return a;
6957
7027
  };
6958
- var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
7028
+ var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
6959
7029
  const initialChartState = {
6960
7030
  pointers: {},
6961
7031
  resourceData: {},
@@ -6965,8 +7035,8 @@
6965
7035
  switch (action.type) {
6966
7036
  case "SET_POINTER" /* SET_POINTER */: {
6967
7037
  const { uuid, left, text, visible, value } = action.payload;
6968
- return __spreadProps$g(__spreadValues$i({}, state), {
6969
- pointers: __spreadProps$g(__spreadValues$i({}, state.pointers), {
7038
+ return __spreadProps$f(__spreadValues$h({}, state), {
7039
+ pointers: __spreadProps$f(__spreadValues$h({}, state.pointers), {
6970
7040
  [uuid]: {
6971
7041
  left,
6972
7042
  text,
@@ -6978,16 +7048,16 @@
6978
7048
  }
6979
7049
  case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
6980
7050
  const { uuid, data } = action.payload;
6981
- return __spreadProps$g(__spreadValues$i({}, state), {
6982
- resourceData: __spreadProps$g(__spreadValues$i({}, state.resourceData), {
7051
+ return __spreadProps$f(__spreadValues$h({}, state), {
7052
+ resourceData: __spreadProps$f(__spreadValues$h({}, state.resourceData), {
6983
7053
  [uuid]: data
6984
7054
  })
6985
7055
  });
6986
7056
  }
6987
7057
  case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
6988
7058
  const { uuid, average } = action.payload;
6989
- return __spreadProps$g(__spreadValues$i({}, state), {
6990
- averageData: __spreadProps$g(__spreadValues$i({}, state.averageData), {
7059
+ return __spreadProps$f(__spreadValues$h({}, state), {
7060
+ averageData: __spreadProps$f(__spreadValues$h({}, state.averageData), {
6991
7061
  [uuid]: average
6992
7062
  })
6993
7063
  });
@@ -6998,25 +7068,25 @@
6998
7068
  }
6999
7069
  };
7000
7070
 
7001
- var __defProp$h = Object.defineProperty;
7002
- var __defProps$f = Object.defineProperties;
7003
- var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
7004
- var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
7005
- var __hasOwnProp$h = Object.prototype.hasOwnProperty;
7006
- var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
7007
- var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7008
- var __spreadValues$h = (a, b) => {
7071
+ var __defProp$g = Object.defineProperty;
7072
+ var __defProps$e = Object.defineProperties;
7073
+ var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
7074
+ var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
7075
+ var __hasOwnProp$g = Object.prototype.hasOwnProperty;
7076
+ var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
7077
+ var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7078
+ var __spreadValues$g = (a, b) => {
7009
7079
  for (var prop in b || (b = {}))
7010
- if (__hasOwnProp$h.call(b, prop))
7011
- __defNormalProp$h(a, prop, b[prop]);
7012
- if (__getOwnPropSymbols$h)
7013
- for (var prop of __getOwnPropSymbols$h(b)) {
7014
- if (__propIsEnum$h.call(b, prop))
7015
- __defNormalProp$h(a, prop, b[prop]);
7080
+ if (__hasOwnProp$g.call(b, prop))
7081
+ __defNormalProp$g(a, prop, b[prop]);
7082
+ if (__getOwnPropSymbols$g)
7083
+ for (var prop of __getOwnPropSymbols$g(b)) {
7084
+ if (__propIsEnum$g.call(b, prop))
7085
+ __defNormalProp$g(a, prop, b[prop]);
7016
7086
  }
7017
7087
  return a;
7018
7088
  };
7019
- var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
7089
+ var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
7020
7090
  var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
7021
7091
  ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
7022
7092
  ModalActions2["POP_MODAL"] = "POP_MODAL";
@@ -7037,22 +7107,22 @@
7037
7107
  )) {
7038
7108
  return state;
7039
7109
  }
7040
- return __spreadProps$f(__spreadValues$h({}, state), {
7041
- stack: state.stack.concat(__spreadProps$f(__spreadValues$h({}, action.payload), {
7110
+ return __spreadProps$e(__spreadValues$g({}, state), {
7111
+ stack: state.stack.concat(__spreadProps$e(__spreadValues$g({}, action.payload), {
7042
7112
  id: MODAL_ID++
7043
7113
  }))
7044
7114
  });
7045
7115
  case "POP_MODAL" /* POP_MODAL */:
7046
- return __spreadProps$f(__spreadValues$h({}, state), {
7116
+ return __spreadProps$e(__spreadValues$g({}, state), {
7047
7117
  stack: state.stack.slice(0, -1)
7048
7118
  });
7049
7119
  case "REMOVE_MODAL" /* REMOVE_MODAL */:
7050
- return __spreadProps$f(__spreadValues$h({}, state), {
7120
+ return __spreadProps$e(__spreadValues$g({}, state), {
7051
7121
  closeId: 0,
7052
7122
  stack: state.stack.filter((m) => m.id !== action.id)
7053
7123
  });
7054
7124
  case "CLOSE_MODAL" /* CLOSE_MODAL */:
7055
- return __spreadProps$f(__spreadValues$h({}, state), {
7125
+ return __spreadProps$e(__spreadValues$g({}, state), {
7056
7126
  closeId: action.id
7057
7127
  });
7058
7128
  default:
@@ -7109,33 +7179,33 @@
7109
7179
  const HorizontalStepContentStyle = "h1xo7yjb";
7110
7180
  const VerticalStepContentStyle = "v1f2f7cy";
7111
7181
 
7112
- var __defProp$g = Object.defineProperty;
7113
- var __defProps$e = Object.defineProperties;
7114
- var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
7115
- var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
7116
- var __hasOwnProp$g = Object.prototype.hasOwnProperty;
7117
- var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
7118
- var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7119
- var __spreadValues$g = (a, b) => {
7182
+ var __defProp$f = Object.defineProperty;
7183
+ var __defProps$d = Object.defineProperties;
7184
+ var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
7185
+ var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
7186
+ var __hasOwnProp$f = Object.prototype.hasOwnProperty;
7187
+ var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
7188
+ var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7189
+ var __spreadValues$f = (a, b) => {
7120
7190
  for (var prop in b || (b = {}))
7121
- if (__hasOwnProp$g.call(b, prop))
7122
- __defNormalProp$g(a, prop, b[prop]);
7123
- if (__getOwnPropSymbols$g)
7124
- for (var prop of __getOwnPropSymbols$g(b)) {
7125
- if (__propIsEnum$g.call(b, prop))
7126
- __defNormalProp$g(a, prop, b[prop]);
7191
+ if (__hasOwnProp$f.call(b, prop))
7192
+ __defNormalProp$f(a, prop, b[prop]);
7193
+ if (__getOwnPropSymbols$f)
7194
+ for (var prop of __getOwnPropSymbols$f(b)) {
7195
+ if (__propIsEnum$f.call(b, prop))
7196
+ __defNormalProp$f(a, prop, b[prop]);
7127
7197
  }
7128
7198
  return a;
7129
7199
  };
7130
- var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
7131
- var __objRest$5 = (source, exclude) => {
7200
+ var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
7201
+ var __objRest$4 = (source, exclude) => {
7132
7202
  var target = {};
7133
7203
  for (var prop in source)
7134
- if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
7204
+ if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
7135
7205
  target[prop] = source[prop];
7136
- if (source != null && __getOwnPropSymbols$g)
7137
- for (var prop of __getOwnPropSymbols$g(source)) {
7138
- if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
7206
+ if (source != null && __getOwnPropSymbols$f)
7207
+ for (var prop of __getOwnPropSymbols$f(source)) {
7208
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
7139
7209
  target[prop] = source[prop];
7140
7210
  }
7141
7211
  return target;
@@ -7152,7 +7222,7 @@
7152
7222
  setTooltipEnable({});
7153
7223
  }
7154
7224
  }, [textRef]);
7155
- return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$e(__spreadValues$g({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
7225
+ return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$d(__spreadValues$f({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
7156
7226
  "div",
7157
7227
  {
7158
7228
  className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
@@ -7169,7 +7239,7 @@
7169
7239
  current = 0,
7170
7240
  disabled,
7171
7241
  preview = false
7172
- } = _a, stepsProps = __objRest$5(_a, [
7242
+ } = _a, stepsProps = __objRest$4(_a, [
7173
7243
  "stepsConfig",
7174
7244
  "direction",
7175
7245
  "containerClassname",
@@ -7190,7 +7260,7 @@
7190
7260
  },
7191
7261
  /* @__PURE__ */ React__namespace.default.createElement(
7192
7262
  antd.Steps,
7193
- __spreadProps$e(__spreadValues$g({}, stepsProps), {
7263
+ __spreadProps$d(__spreadValues$f({}, stepsProps), {
7194
7264
  direction,
7195
7265
  current,
7196
7266
  type: "default"
@@ -7199,7 +7269,7 @@
7199
7269
  var _a2;
7200
7270
  return /* @__PURE__ */ React__namespace.default.createElement(
7201
7271
  antd.Steps.Step,
7202
- __spreadProps$e(__spreadValues$g({
7272
+ __spreadProps$d(__spreadValues$f({
7203
7273
  key: index
7204
7274
  }, step), {
7205
7275
  disabled: isPreviewMode ? false : (_a2 = disabled != null ? disabled : step == null ? void 0 : step.disabled) != null ? _a2 : index > current,
@@ -7224,33 +7294,33 @@
7224
7294
  );
7225
7295
  };
7226
7296
 
7227
- var __defProp$f = Object.defineProperty;
7228
- var __defProps$d = Object.defineProperties;
7229
- var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
7230
- var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
7231
- var __hasOwnProp$f = Object.prototype.hasOwnProperty;
7232
- var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
7233
- var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7234
- var __spreadValues$f = (a, b) => {
7297
+ var __defProp$e = Object.defineProperty;
7298
+ var __defProps$c = Object.defineProperties;
7299
+ var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
7300
+ var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
7301
+ var __hasOwnProp$e = Object.prototype.hasOwnProperty;
7302
+ var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
7303
+ var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7304
+ var __spreadValues$e = (a, b) => {
7235
7305
  for (var prop in b || (b = {}))
7236
- if (__hasOwnProp$f.call(b, prop))
7237
- __defNormalProp$f(a, prop, b[prop]);
7238
- if (__getOwnPropSymbols$f)
7239
- for (var prop of __getOwnPropSymbols$f(b)) {
7240
- if (__propIsEnum$f.call(b, prop))
7241
- __defNormalProp$f(a, prop, b[prop]);
7306
+ if (__hasOwnProp$e.call(b, prop))
7307
+ __defNormalProp$e(a, prop, b[prop]);
7308
+ if (__getOwnPropSymbols$e)
7309
+ for (var prop of __getOwnPropSymbols$e(b)) {
7310
+ if (__propIsEnum$e.call(b, prop))
7311
+ __defNormalProp$e(a, prop, b[prop]);
7242
7312
  }
7243
7313
  return a;
7244
7314
  };
7245
- var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
7246
- var __objRest$4 = (source, exclude) => {
7315
+ var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
7316
+ var __objRest$3 = (source, exclude) => {
7247
7317
  var target = {};
7248
7318
  for (var prop in source)
7249
- if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
7319
+ if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
7250
7320
  target[prop] = source[prop];
7251
- if (source != null && __getOwnPropSymbols$f)
7252
- for (var prop of __getOwnPropSymbols$f(source)) {
7253
- if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
7321
+ if (source != null && __getOwnPropSymbols$e)
7322
+ for (var prop of __getOwnPropSymbols$e(source)) {
7323
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
7254
7324
  target[prop] = source[prop];
7255
7325
  }
7256
7326
  return target;
@@ -7277,7 +7347,7 @@
7277
7347
  showCancel = true,
7278
7348
  showOk = true,
7279
7349
  afterClose
7280
- } = _a, restProps = __objRest$4(_a, [
7350
+ } = _a, restProps = __objRest$3(_a, [
7281
7351
  "error",
7282
7352
  "okText",
7283
7353
  "cancelText",
@@ -7332,7 +7402,7 @@
7332
7402
  }
7333
7403
  return /* @__PURE__ */ React__namespace.default.createElement(
7334
7404
  antd.Modal,
7335
- __spreadProps$d(__spreadValues$f({
7405
+ __spreadProps$c(__spreadValues$e({
7336
7406
  maskClosable,
7337
7407
  className: cs__default.default(
7338
7408
  className,
@@ -7367,7 +7437,7 @@
7367
7437
  prevText
7368
7438
  ), error && /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React__namespace.default.createElement(
7369
7439
  Button,
7370
- __spreadValues$f({
7440
+ __spreadValues$e({
7371
7441
  type: "quiet",
7372
7442
  onMouseDown: (e) => {
7373
7443
  e.preventDefault();
@@ -7381,7 +7451,7 @@
7381
7451
  cancelText
7382
7452
  ), showOk && /* @__PURE__ */ React__namespace.default.createElement(
7383
7453
  Button,
7384
- __spreadValues$f({
7454
+ __spreadValues$e({
7385
7455
  onClick: (e) => {
7386
7456
  var _a2, _b2;
7387
7457
  onOk == null ? void 0 : onOk(e);
@@ -7423,26 +7493,26 @@
7423
7493
  );
7424
7494
  };
7425
7495
 
7426
- var __defProp$e = Object.defineProperty;
7427
- var __defProps$c = Object.defineProperties;
7428
- var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
7429
- var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
7430
- var __hasOwnProp$e = Object.prototype.hasOwnProperty;
7431
- var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
7432
- var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, {
7496
+ var __defProp$d = Object.defineProperty;
7497
+ var __defProps$b = Object.defineProperties;
7498
+ var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
7499
+ var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
7500
+ var __hasOwnProp$d = Object.prototype.hasOwnProperty;
7501
+ var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
7502
+ var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, {
7433
7503
  enumerable: true,
7434
7504
  configurable: true,
7435
7505
  writable: true,
7436
7506
  value
7437
7507
  }) : obj[key] = value;
7438
- var __spreadValues$e = (a, b) => {
7439
- for (var prop in b || (b = {})) if (__hasOwnProp$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
7440
- if (__getOwnPropSymbols$e) for (var prop of __getOwnPropSymbols$e(b)) {
7441
- if (__propIsEnum$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
7508
+ var __spreadValues$d = (a, b) => {
7509
+ for (var prop in b || (b = {})) if (__hasOwnProp$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
7510
+ if (__getOwnPropSymbols$d) for (var prop of __getOwnPropSymbols$d(b)) {
7511
+ if (__propIsEnum$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
7442
7512
  }
7443
7513
  return a;
7444
7514
  };
7445
- var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
7515
+ var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
7446
7516
  const OverflowText = "o8ocss1";
7447
7517
  const NoWrap = "n17syc35";
7448
7518
  const OverflowTooltip = props => {
@@ -7473,7 +7543,7 @@
7473
7543
  observer == null ? void 0 : observer.disconnect();
7474
7544
  };
7475
7545
  });
7476
- return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$c(__spreadValues$e({}, !ellipsis && {
7546
+ return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$b(__spreadValues$d({}, !ellipsis && {
7477
7547
  visible: false
7478
7548
  }), {
7479
7549
  title: tooltip
@@ -7591,46 +7661,46 @@
7591
7661
  }))));
7592
7662
  };
7593
7663
 
7594
- var __defProp$d = Object.defineProperty;
7595
- var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
7596
- var __hasOwnProp$d = Object.prototype.hasOwnProperty;
7597
- var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
7598
- var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7599
- var __spreadValues$d = (a, b) => {
7664
+ var __defProp$c = Object.defineProperty;
7665
+ var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
7666
+ var __hasOwnProp$c = Object.prototype.hasOwnProperty;
7667
+ var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
7668
+ var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7669
+ var __spreadValues$c = (a, b) => {
7600
7670
  for (var prop in b || (b = {}))
7601
- if (__hasOwnProp$d.call(b, prop))
7602
- __defNormalProp$d(a, prop, b[prop]);
7603
- if (__getOwnPropSymbols$d)
7604
- for (var prop of __getOwnPropSymbols$d(b)) {
7605
- if (__propIsEnum$d.call(b, prop))
7606
- __defNormalProp$d(a, prop, b[prop]);
7671
+ if (__hasOwnProp$c.call(b, prop))
7672
+ __defNormalProp$c(a, prop, b[prop]);
7673
+ if (__getOwnPropSymbols$c)
7674
+ for (var prop of __getOwnPropSymbols$c(b)) {
7675
+ if (__propIsEnum$c.call(b, prop))
7676
+ __defNormalProp$c(a, prop, b[prop]);
7607
7677
  }
7608
7678
  return a;
7609
7679
  };
7610
- const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$d({}, props));
7680
+ const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$c({}, props));
7611
7681
 
7612
- var __defProp$c = Object.defineProperty;
7613
- var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
7614
- var __hasOwnProp$c = Object.prototype.hasOwnProperty;
7615
- var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
7616
- var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, {
7682
+ var __defProp$b = Object.defineProperty;
7683
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
7684
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
7685
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
7686
+ var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
7617
7687
  enumerable: true,
7618
7688
  configurable: true,
7619
7689
  writable: true,
7620
7690
  value
7621
7691
  }) : obj[key] = value;
7622
- var __spreadValues$c = (a, b) => {
7623
- for (var prop in b || (b = {})) if (__hasOwnProp$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
7624
- if (__getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(b)) {
7625
- if (__propIsEnum$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
7692
+ var __spreadValues$b = (a, b) => {
7693
+ for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7694
+ if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
7695
+ if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7626
7696
  }
7627
7697
  return a;
7628
7698
  };
7629
- var __objRest$3 = (source, exclude) => {
7699
+ var __objRest$2 = (source, exclude) => {
7630
7700
  var target = {};
7631
- for (var prop in source) if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7632
- if (source != null && __getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(source)) {
7633
- if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop)) target[prop] = source[prop];
7701
+ for (var prop in source) if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7702
+ if (source != null && __getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(source)) {
7703
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop)) target[prop] = source[prop];
7634
7704
  }
7635
7705
  return target;
7636
7706
  };
@@ -7646,7 +7716,7 @@
7646
7716
  checked,
7647
7717
  compact = false
7648
7718
  } = _b,
7649
- props = __objRest$3(_b, ["children", "className", "checked", "compact"]);
7719
+ props = __objRest$2(_b, ["children", "className", "checked", "compact"]);
7650
7720
  const {
7651
7721
  description
7652
7722
  } = props;
@@ -7656,7 +7726,7 @@
7656
7726
  className: core.cx("radio-description", Typo.Label.l4_regular)
7657
7727
  }, description));
7658
7728
  }
7659
- return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$c({
7729
+ return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$b({
7660
7730
  className: core.cx(className, RadioStyle, compact && "compact"),
7661
7731
  checked: checked || false,
7662
7732
  "data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
@@ -7668,13 +7738,13 @@
7668
7738
  children,
7669
7739
  className
7670
7740
  } = _d,
7671
- props = __objRest$3(_d, ["children", "className"]);
7741
+ props = __objRest$2(_d, ["children", "className"]);
7672
7742
  return /* @__PURE__ */React__namespace.default.createElement(KitRadioGroupContext.Provider, {
7673
7743
  value: {
7674
7744
  disabled: props.disabled,
7675
7745
  name: props.name
7676
7746
  }
7677
- }, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$c({
7747
+ }, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$b({
7678
7748
  className: core.cx(className, RadioGroupStyle)
7679
7749
  }, props), children ? children : null));
7680
7750
  };
@@ -7684,7 +7754,7 @@
7684
7754
  children,
7685
7755
  className
7686
7756
  } = _f,
7687
- props = __objRest$3(_f, ["children", "className"]);
7757
+ props = __objRest$2(_f, ["children", "className"]);
7688
7758
  const {
7689
7759
  type,
7690
7760
  placeholder = "Label",
@@ -7730,7 +7800,7 @@
7730
7800
  className: "ant-radio-button-input-label"
7731
7801
  }, typeof children === "string" ? children : ""));
7732
7802
  };
7733
- return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$c({
7803
+ return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$b({
7734
7804
  className: core.cx(className, RadioButtonStyle),
7735
7805
  value: radioButtonValue
7736
7806
  }, props), renderChildren());
@@ -7812,35 +7882,35 @@
7812
7882
  })));
7813
7883
  };
7814
7884
 
7815
- var __defProp$b = Object.defineProperty;
7816
- var __defProps$b = Object.defineProperties;
7817
- var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
7818
- var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
7819
- var __hasOwnProp$b = Object.prototype.hasOwnProperty;
7820
- var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
7821
- var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
7885
+ var __defProp$a = Object.defineProperty;
7886
+ var __defProps$a = Object.defineProperties;
7887
+ var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
7888
+ var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
7889
+ var __hasOwnProp$a = Object.prototype.hasOwnProperty;
7890
+ var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
7891
+ var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, {
7822
7892
  enumerable: true,
7823
7893
  configurable: true,
7824
7894
  writable: true,
7825
7895
  value
7826
7896
  }) : obj[key] = value;
7827
- var __spreadValues$b = (a, b) => {
7828
- for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7829
- if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
7830
- if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7897
+ var __spreadValues$a = (a, b) => {
7898
+ for (var prop in b || (b = {})) if (__hasOwnProp$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
7899
+ if (__getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(b)) {
7900
+ if (__propIsEnum$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
7831
7901
  }
7832
7902
  return a;
7833
7903
  };
7834
- var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
7835
- var __objRest$2 = (source, exclude) => {
7904
+ var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
7905
+ var __objRest$1 = (source, exclude) => {
7836
7906
  var target = {};
7837
- for (var prop in source) if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7838
- if (source != null && __getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(source)) {
7839
- if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop)) target[prop] = source[prop];
7907
+ for (var prop in source) if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7908
+ if (source != null && __getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(source)) {
7909
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop)) target[prop] = source[prop];
7840
7910
  }
7841
7911
  return target;
7842
7912
  };
7843
- const PresetColors$1 = ["blue", "red", "yellow", "green", "gray"];
7913
+ const PresetColors = ["blue", "red", "yellow", "green", "gray"];
7844
7914
  const StatusCapsuleStyle = "s14dk8r1";
7845
7915
  const StatusCode = /*#__PURE__*/react.styled('i')({
7846
7916
  name: "StatusCode",
@@ -7879,11 +7949,11 @@
7879
7949
  offWhiteMode,
7880
7950
  number
7881
7951
  } = _b,
7882
- props = __objRest$2(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
7952
+ props = __objRest$1(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
7883
7953
  const computedColor = ColorMap[color] || color;
7884
- return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$b(__spreadValues$b({}, props), {
7954
+ return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$a(__spreadValues$a({}, props), {
7885
7955
  className: cs__default.default(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
7886
- [`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
7956
+ [`ant-tag-${computedColor}`]: PresetColors.includes(computedColor),
7887
7957
  "tag-hover": hoverable,
7888
7958
  "off-white": offWhiteMode
7889
7959
  }),
@@ -7974,26 +8044,26 @@
7974
8044
  }));
7975
8045
  };
7976
8046
 
7977
- var __defProp$a = Object.defineProperty;
7978
- var __defProps$a = Object.defineProperties;
7979
- var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
7980
- var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
7981
- var __hasOwnProp$a = Object.prototype.hasOwnProperty;
7982
- var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
7983
- var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, {
8047
+ var __defProp$9 = Object.defineProperty;
8048
+ var __defProps$9 = Object.defineProperties;
8049
+ var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
8050
+ var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
8051
+ var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
8052
+ var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
8053
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, {
7984
8054
  enumerable: true,
7985
8055
  configurable: true,
7986
8056
  writable: true,
7987
8057
  value
7988
8058
  }) : obj[key] = value;
7989
- var __spreadValues$a = (a, b) => {
7990
- for (var prop in b || (b = {})) if (__hasOwnProp$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
7991
- if (__getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(b)) {
7992
- if (__propIsEnum$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
8059
+ var __spreadValues$9 = (a, b) => {
8060
+ for (var prop in b || (b = {})) if (__hasOwnProp$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
8061
+ if (__getOwnPropSymbols$9) for (var prop of __getOwnPropSymbols$9(b)) {
8062
+ if (__propIsEnum$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
7993
8063
  }
7994
8064
  return a;
7995
8065
  };
7996
- var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
8066
+ var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
7997
8067
  const TableContainerStyle = "t1upn1sz";
7998
8068
  const tableStyleCover = "tta5kd2";
7999
8069
  const Table = props => {
@@ -8020,7 +8090,7 @@
8020
8090
  const orderRef = React.useRef(null);
8021
8091
  const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
8022
8092
  const _columns = React.useMemo(() => columns.map(column => {
8023
- const _column = __spreadValues$a({}, column);
8093
+ const _column = __spreadValues$9({}, column);
8024
8094
  if (_column.sorter && typeof _column.title !== "function") {
8025
8095
  _column.title = /* @__PURE__ */React__namespace.default.createElement(ColumnTitle, {
8026
8096
  title: column.title,
@@ -8057,12 +8127,12 @@
8057
8127
  onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
8058
8128
  }
8059
8129
  },
8060
- onRow: (record, index) => __spreadValues$a({
8130
+ onRow: (record, index) => __spreadValues$9({
8061
8131
  onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
8062
8132
  }, onRow == null ? void 0 : onRow(record, index)),
8063
8133
  rowClassName,
8064
8134
  scroll,
8065
- rowSelection: rowSelection && __spreadProps$a(__spreadValues$a({}, rowSelection), {
8135
+ rowSelection: rowSelection && __spreadProps$9(__spreadValues$9({}, rowSelection), {
8066
8136
  columnWidth: 32
8067
8137
  }),
8068
8138
  showSorterTooltip: false
@@ -8124,33 +8194,33 @@
8124
8194
  return sortArr;
8125
8195
  };
8126
8196
 
8127
- var __defProp$9 = Object.defineProperty;
8128
- var __defProps$9 = Object.defineProperties;
8129
- var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
8130
- var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
8131
- var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
8132
- var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
8133
- var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8134
- var __spreadValues$9 = (a, b) => {
8197
+ var __defProp$8 = Object.defineProperty;
8198
+ var __defProps$8 = Object.defineProperties;
8199
+ var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
8200
+ var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
8201
+ var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
8202
+ var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
8203
+ var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8204
+ var __spreadValues$8 = (a, b) => {
8135
8205
  for (var prop in b || (b = {}))
8136
- if (__hasOwnProp$9.call(b, prop))
8137
- __defNormalProp$9(a, prop, b[prop]);
8138
- if (__getOwnPropSymbols$9)
8139
- for (var prop of __getOwnPropSymbols$9(b)) {
8140
- if (__propIsEnum$9.call(b, prop))
8141
- __defNormalProp$9(a, prop, b[prop]);
8206
+ if (__hasOwnProp$8.call(b, prop))
8207
+ __defNormalProp$8(a, prop, b[prop]);
8208
+ if (__getOwnPropSymbols$8)
8209
+ for (var prop of __getOwnPropSymbols$8(b)) {
8210
+ if (__propIsEnum$8.call(b, prop))
8211
+ __defNormalProp$8(a, prop, b[prop]);
8142
8212
  }
8143
8213
  return a;
8144
8214
  };
8145
- var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
8146
- var __objRest$1 = (source, exclude) => {
8215
+ var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
8216
+ var __objRest = (source, exclude) => {
8147
8217
  var target = {};
8148
8218
  for (var prop in source)
8149
- if (__hasOwnProp$9.call(source, prop) && exclude.indexOf(prop) < 0)
8219
+ if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)
8150
8220
  target[prop] = source[prop];
8151
- if (source != null && __getOwnPropSymbols$9)
8152
- for (var prop of __getOwnPropSymbols$9(source)) {
8153
- if (exclude.indexOf(prop) < 0 && __propIsEnum$9.call(source, prop))
8221
+ if (source != null && __getOwnPropSymbols$8)
8222
+ for (var prop of __getOwnPropSymbols$8(source)) {
8223
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))
8154
8224
  target[prop] = source[prop];
8155
8225
  }
8156
8226
  return target;
@@ -8166,7 +8236,7 @@
8166
8236
  const _a = buttonProps || {}, {
8167
8237
  disabled: disabledFromProp,
8168
8238
  onClick
8169
- } = _a, restButtonProps = __objRest$1(_a, [
8239
+ } = _a, restButtonProps = __objRest(_a, [
8170
8240
  "disabled",
8171
8241
  "onClick"
8172
8242
  ]);
@@ -8191,9 +8261,9 @@
8191
8261
  if (!columns.length) {
8192
8262
  return null;
8193
8263
  }
8194
- return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$9({}, props)) : /* @__PURE__ */ React__namespace.default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__namespace.default.createElement(
8264
+ return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$8({}, props)) : /* @__PURE__ */ React__namespace.default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__namespace.default.createElement(
8195
8265
  Button,
8196
- __spreadProps$9(__spreadValues$9({}, restButtonProps), {
8266
+ __spreadProps$8(__spreadValues$8({}, restButtonProps), {
8197
8267
  type: restButtonProps.type || "ordinary",
8198
8268
  size: restButtonProps.size || "small",
8199
8269
  prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__namespace.default.createElement(iconsReact.PlusAddCreateNew16SecondaryIcon, null),
@@ -8288,25 +8358,25 @@
8288
8358
  );
8289
8359
  };
8290
8360
 
8291
- var __defProp$8 = Object.defineProperty;
8292
- var __defProps$8 = Object.defineProperties;
8293
- var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
8294
- var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
8295
- var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
8296
- var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
8297
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8298
- var __spreadValues$8 = (a, b) => {
8361
+ var __defProp$7 = Object.defineProperty;
8362
+ var __defProps$7 = Object.defineProperties;
8363
+ var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
8364
+ var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
8365
+ var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
8366
+ var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
8367
+ var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8368
+ var __spreadValues$7 = (a, b) => {
8299
8369
  for (var prop in b || (b = {}))
8300
- if (__hasOwnProp$8.call(b, prop))
8301
- __defNormalProp$8(a, prop, b[prop]);
8302
- if (__getOwnPropSymbols$8)
8303
- for (var prop of __getOwnPropSymbols$8(b)) {
8304
- if (__propIsEnum$8.call(b, prop))
8305
- __defNormalProp$8(a, prop, b[prop]);
8370
+ if (__hasOwnProp$7.call(b, prop))
8371
+ __defNormalProp$7(a, prop, b[prop]);
8372
+ if (__getOwnPropSymbols$7)
8373
+ for (var prop of __getOwnPropSymbols$7(b)) {
8374
+ if (__propIsEnum$7.call(b, prop))
8375
+ __defNormalProp$7(a, prop, b[prop]);
8306
8376
  }
8307
8377
  return a;
8308
8378
  };
8309
- var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
8379
+ var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
8310
8380
  const InputPassword = (props) => {
8311
8381
  const [showPassword, setShowPassword] = React.useState(false);
8312
8382
  React.useEffect(() => {
@@ -8322,7 +8392,7 @@
8322
8392
  const inputType = showPassword ? "text" : "password";
8323
8393
  return /* @__PURE__ */ React__namespace.default.createElement(
8324
8394
  Input,
8325
- __spreadProps$8(__spreadValues$8({}, props), {
8395
+ __spreadProps$7(__spreadValues$7({}, props), {
8326
8396
  type: inputType,
8327
8397
  suffix: showPassword ? /* @__PURE__ */ React__namespace.default.createElement(
8328
8398
  icons.EyeOutlined,
@@ -8342,9 +8412,9 @@
8342
8412
  };
8343
8413
  const CustomInput = (props) => {
8344
8414
  if (props.type === "password") {
8345
- return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$8({}, props));
8415
+ return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$7({}, props));
8346
8416
  }
8347
- return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$8({}, props));
8417
+ return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$7({}, props));
8348
8418
  };
8349
8419
  const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
8350
8420
  const _onChange = (e) => {
@@ -8468,25 +8538,25 @@
8468
8538
  return ValidateTriggerType2;
8469
8539
  })(ValidateTriggerType || {});
8470
8540
 
8471
- var __defProp$7 = Object.defineProperty;
8472
- var __defProps$7 = Object.defineProperties;
8473
- var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
8474
- var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
8475
- var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
8476
- var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
8477
- var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8478
- var __spreadValues$7 = (a, b) => {
8541
+ var __defProp$6 = Object.defineProperty;
8542
+ var __defProps$6 = Object.defineProperties;
8543
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
8544
+ var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
8545
+ var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
8546
+ var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
8547
+ var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8548
+ var __spreadValues$6 = (a, b) => {
8479
8549
  for (var prop in b || (b = {}))
8480
- if (__hasOwnProp$7.call(b, prop))
8481
- __defNormalProp$7(a, prop, b[prop]);
8482
- if (__getOwnPropSymbols$7)
8483
- for (var prop of __getOwnPropSymbols$7(b)) {
8484
- if (__propIsEnum$7.call(b, prop))
8485
- __defNormalProp$7(a, prop, b[prop]);
8550
+ if (__hasOwnProp$6.call(b, prop))
8551
+ __defNormalProp$6(a, prop, b[prop]);
8552
+ if (__getOwnPropSymbols$6)
8553
+ for (var prop of __getOwnPropSymbols$6(b)) {
8554
+ if (__propIsEnum$6.call(b, prop))
8555
+ __defNormalProp$6(a, prop, b[prop]);
8486
8556
  }
8487
8557
  return a;
8488
8558
  };
8489
- var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
8559
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
8490
8560
  const TableFormBodyCell = (props) => {
8491
8561
  const {
8492
8562
  column,
@@ -8519,7 +8589,7 @@
8519
8589
  (currentValue) => {
8520
8590
  var _a;
8521
8591
  const value = currentValue != null ? currentValue : data[rowIndex][column.key];
8522
- const rowData = __spreadProps$7(__spreadValues$7({}, data[rowIndex]), { [column.key]: value });
8592
+ const rowData = __spreadProps$6(__spreadValues$6({}, data[rowIndex]), { [column.key]: value });
8523
8593
  const rowValidateRes = getRowValidateResult(rowData);
8524
8594
  if (rowValidateRes) {
8525
8595
  return;
@@ -8545,7 +8615,7 @@
8545
8615
  }, [validateAll, triggerValidate, setIsTouched]);
8546
8616
  const _onChange = (value, data2) => {
8547
8617
  const newData = data2.map(
8548
- (row, i) => i === rowIndex ? __spreadProps$7(__spreadValues$7({}, row), { [column.key]: value }) : row
8618
+ (row, i) => i === rowIndex ? __spreadProps$6(__spreadValues$6({}, row), { [column.key]: value }) : row
8549
8619
  );
8550
8620
  onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
8551
8621
  if (validateTriggerType === ValidateTriggerType.Normal && isTouched || validateTriggerType === ValidateTriggerType.Aggressive) {
@@ -8623,25 +8693,25 @@
8623
8693
  );
8624
8694
  };
8625
8695
 
8626
- var __defProp$6 = Object.defineProperty;
8627
- var __defProps$6 = Object.defineProperties;
8628
- var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
8629
- var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
8630
- var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
8631
- var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
8632
- var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8633
- var __spreadValues$6 = (a, b) => {
8696
+ var __defProp$5 = Object.defineProperty;
8697
+ var __defProps$5 = Object.defineProperties;
8698
+ var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
8699
+ var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
8700
+ var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
8701
+ var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
8702
+ var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8703
+ var __spreadValues$5 = (a, b) => {
8634
8704
  for (var prop in b || (b = {}))
8635
- if (__hasOwnProp$6.call(b, prop))
8636
- __defNormalProp$6(a, prop, b[prop]);
8637
- if (__getOwnPropSymbols$6)
8638
- for (var prop of __getOwnPropSymbols$6(b)) {
8639
- if (__propIsEnum$6.call(b, prop))
8640
- __defNormalProp$6(a, prop, b[prop]);
8705
+ if (__hasOwnProp$5.call(b, prop))
8706
+ __defNormalProp$5(a, prop, b[prop]);
8707
+ if (__getOwnPropSymbols$5)
8708
+ for (var prop of __getOwnPropSymbols$5(b)) {
8709
+ if (__propIsEnum$5.call(b, prop))
8710
+ __defNormalProp$5(a, prop, b[prop]);
8641
8711
  }
8642
8712
  return a;
8643
8713
  };
8644
- var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
8714
+ var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
8645
8715
  const TableFormRowDeleteAction = (props) => {
8646
8716
  var _a, _b, _c, _d;
8647
8717
  const { deleteConfig, row, updateData, rowIndex, data } = props;
@@ -8734,7 +8804,7 @@
8734
8804
  );
8735
8805
  });
8736
8806
  const DraggableHandle = React.useMemo(
8737
- () => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$6({}, provided.dragHandleProps), /* @__PURE__ */ React__namespace.default.createElement(
8807
+ () => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$5({}, provided.dragHandleProps), /* @__PURE__ */ React__namespace.default.createElement(
8738
8808
  Icon,
8739
8809
  {
8740
8810
  src: iconsReact.HandlePoint816SecondaryIcon,
@@ -8796,7 +8866,7 @@
8796
8866
  );
8797
8867
  return draggable ? /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd }, /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__namespace.default.createElement(
8798
8868
  "div",
8799
- __spreadValues$6({
8869
+ __spreadValues$5({
8800
8870
  className: "draggable-container",
8801
8871
  ref: provided.innerRef
8802
8872
  }, provided.droppableProps),
@@ -8807,9 +8877,9 @@
8807
8877
  key: `draggable-id-${i}`,
8808
8878
  index: i
8809
8879
  },
8810
- (provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$6({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__namespace.default.createElement(
8880
+ (provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$5({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__namespace.default.createElement(
8811
8881
  TableFormRow,
8812
- __spreadProps$6(__spreadValues$6({}, props), {
8882
+ __spreadProps$5(__spreadValues$5({}, props), {
8813
8883
  rowIndex: i,
8814
8884
  provided: provided2,
8815
8885
  snapshot
@@ -8817,28 +8887,28 @@
8817
8887
  ))
8818
8888
  )),
8819
8889
  provided.placeholder
8820
- ))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$6(__spreadValues$6({}, props), { rowIndex: i, key: `table-row-${i}` }))));
8890
+ ))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$5(__spreadValues$5({}, props), { rowIndex: i, key: `table-row-${i}` }))));
8821
8891
  });
8822
8892
 
8823
- var __defProp$5 = Object.defineProperty;
8824
- var __defProps$5 = Object.defineProperties;
8825
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
8826
- var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
8827
- var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
8828
- var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
8829
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8830
- var __spreadValues$5 = (a, b) => {
8893
+ var __defProp$4 = Object.defineProperty;
8894
+ var __defProps$4 = Object.defineProperties;
8895
+ var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
8896
+ var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
8897
+ var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
8898
+ var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
8899
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8900
+ var __spreadValues$4 = (a, b) => {
8831
8901
  for (var prop in b || (b = {}))
8832
- if (__hasOwnProp$5.call(b, prop))
8833
- __defNormalProp$5(a, prop, b[prop]);
8834
- if (__getOwnPropSymbols$5)
8835
- for (var prop of __getOwnPropSymbols$5(b)) {
8836
- if (__propIsEnum$5.call(b, prop))
8837
- __defNormalProp$5(a, prop, b[prop]);
8902
+ if (__hasOwnProp$4.call(b, prop))
8903
+ __defNormalProp$4(a, prop, b[prop]);
8904
+ if (__getOwnPropSymbols$4)
8905
+ for (var prop of __getOwnPropSymbols$4(b)) {
8906
+ if (__propIsEnum$4.call(b, prop))
8907
+ __defNormalProp$4(a, prop, b[prop]);
8838
8908
  }
8839
8909
  return a;
8840
8910
  };
8841
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
8911
+ var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
8842
8912
  const BatchInputListHeaderCell = (props) => {
8843
8913
  const { column, disabled, data, disableBatchFilling, onBlur, onChange } = props;
8844
8914
  const [errMsg, setErrMsg] = React.useState();
@@ -8850,7 +8920,7 @@
8850
8920
  setErrMsg(err || void 0);
8851
8921
  const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
8852
8922
  const newData = data.map((cell, rowIndex) => {
8853
- return __spreadProps$5(__spreadValues$5({}, cell), {
8923
+ return __spreadProps$4(__spreadValues$4({}, cell), {
8854
8924
  [column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
8855
8925
  });
8856
8926
  });
@@ -8867,7 +8937,7 @@
8867
8937
  const CellComponent = ColumnHeaderImpls[column.type];
8868
8938
  return /* @__PURE__ */ React__namespace.default.createElement(
8869
8939
  CellComponent,
8870
- __spreadProps$5(__spreadValues$5({}, props), {
8940
+ __spreadProps$4(__spreadValues$4({}, props), {
8871
8941
  column,
8872
8942
  onChange: headerOnChange,
8873
8943
  onBlur: _onBlur
@@ -8902,25 +8972,25 @@
8902
8972
  );
8903
8973
  };
8904
8974
 
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) => {
8975
+ var __defProp$3 = Object.defineProperty;
8976
+ var __defProps$3 = Object.defineProperties;
8977
+ var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
8978
+ var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
8979
+ var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
8980
+ var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
8981
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8982
+ var __spreadValues$3 = (a, b) => {
8913
8983
  for (var prop in b || (b = {}))
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]);
8984
+ if (__hasOwnProp$3.call(b, prop))
8985
+ __defNormalProp$3(a, prop, b[prop]);
8986
+ if (__getOwnPropSymbols$3)
8987
+ for (var prop of __getOwnPropSymbols$3(b)) {
8988
+ if (__propIsEnum$3.call(b, prop))
8989
+ __defNormalProp$3(a, prop, b[prop]);
8920
8990
  }
8921
8991
  return a;
8922
8992
  };
8923
- var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
8993
+ var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
8924
8994
  const DEFAULT_ROW_COUNT = 3;
8925
8995
  const TableForm = React__namespace.default.forwardRef(
8926
8996
  (props, ref) => {
@@ -8982,7 +9052,7 @@
8982
9052
  (key, error) => {
8983
9053
  if (error) {
8984
9054
  const newData = latestData.map((cell) => {
8985
- return __spreadProps$4(__spreadValues$4({}, cell), {
9055
+ return __spreadProps$3(__spreadValues$3({}, cell), {
8986
9056
  [key]: ""
8987
9057
  });
8988
9058
  });
@@ -9250,78 +9320,6 @@
9250
9320
  })));
9251
9321
  };
9252
9322
 
9253
- const IconStyle = "iwsze0q";
9254
-
9255
- var __defProp$3 = Object.defineProperty;
9256
- var __defProps$3 = Object.defineProperties;
9257
- var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
9258
- var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
9259
- var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
9260
- var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
9261
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
9262
- enumerable: true,
9263
- configurable: true,
9264
- writable: true,
9265
- value
9266
- }) : obj[key] = value;
9267
- var __spreadValues$3 = (a, b) => {
9268
- for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
9269
- if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
9270
- if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
9271
- }
9272
- return a;
9273
- };
9274
- var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
9275
- var __objRest = (source, exclude) => {
9276
- var target = {};
9277
- for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
9278
- if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
9279
- if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
9280
- }
9281
- return target;
9282
- };
9283
- const PresetColors = ["blue", "red", "yellow", "green", "gray", "purple"];
9284
- const Size = {
9285
- small: "s1uupxds",
9286
- medium: "m10sqwut",
9287
- large: "l1d492wb"
9288
- };
9289
- const TokenStyle = "t1lzavmu";
9290
- const Token = React__namespace.default.forwardRef((_a, ref) => {
9291
- var _b = _a,
9292
- {
9293
- size = "small",
9294
- color = "gray",
9295
- className,
9296
- icon,
9297
- checked,
9298
- children,
9299
- tooltipConfig
9300
- } = _b,
9301
- props = __objRest(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
9302
- return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$3(__spreadValues$3({}, props), {
9303
- ref,
9304
- className: cs__default.default(className, Size[size], TokenStyle, {
9305
- [Typo.Label.l4_regular]: size === "small" || size === "medium",
9306
- [Typo.Label.l3_regular]: size === "large",
9307
- [`ant-tag-${color}`]: PresetColors.includes(color)
9308
- }, "ui-kit-token", checked && "ui-kit-token-checked"),
9309
- closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$3({
9310
- title: tooltipConfig == null ? void 0 : tooltipConfig.title
9311
- }, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
9312
- visible: false
9313
- }), /* @__PURE__ */React__namespace.default.createElement(Icon, {
9314
- className: "selected-icon",
9315
- src: iconsReact.XmarkRemoveSmall16RegularInheritIcon,
9316
- iconHeight: 16,
9317
- iconWidth: 16
9318
- })),
9319
- color: color === "gray" ? void 0 : color
9320
- }), icon && /* @__PURE__ */React__namespace.default.createElement("span", {
9321
- className: cs__default.default("ui-kit-tag-icon", IconStyle)
9322
- }, icon), children);
9323
- });
9324
-
9325
9323
  const Inline = "i1e4sgug";
9326
9324
  const Truncate = props => {
9327
9325
  const {