@cloudtower/eagle 0.27.52 → 0.27.53

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
@@ -6933,307 +6933,6 @@
6933
6933
  }
6934
6934
  );
6935
6935
 
6936
- const DoubleRowOptionStyleWrapper = "drhfj7c";
6937
- const CascaderDefaultOptionLabel = "ct9qoak";
6938
- const CascaderNotData = "crhnxq5";
6939
- const CascaderDefaultHeaderSearch = "c1iq43vd";
6940
- const CascaderInputStyle = "c1h2v0a8";
6941
- const CascaderDefaultHeaderContainer = "cgzzd7y";
6942
- const CascaderDefaultHeader = "c1ec3mnt";
6943
- const CascaderDropdown = "c1iye0zj";
6944
- const CascaderSmallDropdown = "ckhyuyx";
6945
- const CascaderLargeDropdown = "c1fmq9lv";
6946
-
6947
- var __defProp$n = Object.defineProperty;
6948
- var __defProps$j = Object.defineProperties;
6949
- var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
6950
- var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
6951
- var __hasOwnProp$n = Object.prototype.hasOwnProperty;
6952
- var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
6953
- var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, {
6954
- enumerable: true,
6955
- configurable: true,
6956
- writable: true,
6957
- value
6958
- }) : obj[key] = value;
6959
- var __spreadValues$n = (a, b) => {
6960
- for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
6961
- if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
6962
- if (__propIsEnum$n.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
6963
- }
6964
- return a;
6965
- };
6966
- var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
6967
- var __objRest$8 = (source, exclude) => {
6968
- var target = {};
6969
- for (var prop in source) if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
6970
- if (source != null && __getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(source)) {
6971
- if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop)) target[prop] = source[prop];
6972
- }
6973
- return target;
6974
- };
6975
- const LinkStyle = "l48ei06";
6976
- const Link = React__namespace.default.forwardRef((_a, ref) => {
6977
- var _b = _a,
6978
- {
6979
- className,
6980
- disabled,
6981
- type
6982
- } = _b,
6983
- props = __objRest$8(_b, ["className", "disabled", "type"]);
6984
- return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$j(__spreadValues$n({}, props), {
6985
- ref,
6986
- disabled,
6987
- className: cs__default.default(LinkStyle, className, {
6988
- "ui-kit-link-disabled": disabled,
6989
- "ui-kit-link-subtle": type === "subtle"
6990
- }),
6991
- type: "link"
6992
- }));
6993
- });
6994
-
6995
- const IconStyle = "i1g85yz3";
6996
-
6997
- var __defProp$m = Object.defineProperty;
6998
- var __defProps$i = Object.defineProperties;
6999
- var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
7000
- var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
7001
- var __hasOwnProp$m = Object.prototype.hasOwnProperty;
7002
- var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
7003
- var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
7004
- enumerable: true,
7005
- configurable: true,
7006
- writable: true,
7007
- value
7008
- }) : obj[key] = value;
7009
- var __spreadValues$m = (a, b) => {
7010
- for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
7011
- if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
7012
- if (__propIsEnum$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
7013
- }
7014
- return a;
7015
- };
7016
- var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
7017
- var __objRest$7 = (source, exclude) => {
7018
- var target = {};
7019
- for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7020
- if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
7021
- if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
7022
- }
7023
- return target;
7024
- };
7025
- const PresetColors$1 = ["blue", "red", "yellow", "green", "gray", "purple"];
7026
- const Size = {
7027
- small: "s1sck0th",
7028
- medium: "m855nr1",
7029
- large: "l1270xpg"
7030
- };
7031
- const TokenStyle = "t14rextb";
7032
- const Token = React__namespace.default.forwardRef((_a, ref) => {
7033
- var _b = _a,
7034
- {
7035
- size = "small",
7036
- color = "gray",
7037
- className,
7038
- icon,
7039
- checked,
7040
- children,
7041
- tooltipConfig
7042
- } = _b,
7043
- props = __objRest$7(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
7044
- return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$i(__spreadValues$m({}, props), {
7045
- ref,
7046
- className: cs__default.default(className, Size[size], TokenStyle, {
7047
- [Typo.Label.l4_regular]: size === "small" || size === "medium",
7048
- [Typo.Label.l3_regular]: size === "large",
7049
- [`ant-tag-${color}`]: PresetColors$1.includes(color)
7050
- }, "ui-kit-token", checked && "ui-kit-token-checked"),
7051
- closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$m({
7052
- title: tooltipConfig == null ? void 0 : tooltipConfig.title
7053
- }, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
7054
- visible: false
7055
- }), /* @__PURE__ */React__namespace.default.createElement(Icon, {
7056
- className: "selected-icon",
7057
- src: iconsReact.XmarkRemoveSmall16RegularInheritIcon,
7058
- iconHeight: 16,
7059
- iconWidth: 16
7060
- })),
7061
- color: color === "gray" ? void 0 : color
7062
- }), icon && /* @__PURE__ */React__namespace.default.createElement("span", {
7063
- className: cs__default.default("ui-kit-tag-icon", IconStyle)
7064
- }, icon), children);
7065
- });
7066
-
7067
- var __defProp$l = Object.defineProperty;
7068
- var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
7069
- var __hasOwnProp$l = Object.prototype.hasOwnProperty;
7070
- var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
7071
- var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7072
- var __spreadValues$l = (a, b) => {
7073
- for (var prop in b || (b = {}))
7074
- if (__hasOwnProp$l.call(b, prop))
7075
- __defNormalProp$l(a, prop, b[prop]);
7076
- if (__getOwnPropSymbols$l)
7077
- for (var prop of __getOwnPropSymbols$l(b)) {
7078
- if (__propIsEnum$l.call(b, prop))
7079
- __defNormalProp$l(a, prop, b[prop]);
7080
- }
7081
- return a;
7082
- };
7083
- var __objRest$6 = (source, exclude) => {
7084
- var target = {};
7085
- for (var prop in source)
7086
- if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
7087
- target[prop] = source[prop];
7088
- if (source != null && __getOwnPropSymbols$l)
7089
- for (var prop of __getOwnPropSymbols$l(source)) {
7090
- if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
7091
- target[prop] = source[prop];
7092
- }
7093
- return target;
7094
- };
7095
- const SearchInput = (props) => {
7096
- const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$6(_a, ["onChange", "debounceWait"]);
7097
- const onSearch = ___default.default.debounce(onChange, debounceWait);
7098
- return /* @__PURE__ */ React__namespace.default.createElement(
7099
- Input,
7100
- __spreadValues$l({
7101
- style: { width: 276 },
7102
- prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
7103
- onChange: (e) => onSearch(e.target.value)
7104
- }, restProps)
7105
- );
7106
- };
7107
-
7108
- var __defProp$k = Object.defineProperty;
7109
- var __defProps$h = Object.defineProperties;
7110
- var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
7111
- var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
7112
- var __hasOwnProp$k = Object.prototype.hasOwnProperty;
7113
- var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
7114
- var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7115
- var __spreadValues$k = (a, b) => {
7116
- for (var prop in b || (b = {}))
7117
- if (__hasOwnProp$k.call(b, prop))
7118
- __defNormalProp$k(a, prop, b[prop]);
7119
- if (__getOwnPropSymbols$k)
7120
- for (var prop of __getOwnPropSymbols$k(b)) {
7121
- if (__propIsEnum$k.call(b, prop))
7122
- __defNormalProp$k(a, prop, b[prop]);
7123
- }
7124
- return a;
7125
- };
7126
- var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
7127
- const NotDataContent = ({ content }) => {
7128
- return /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(CascaderNotData) }, content);
7129
- };
7130
- const PresetCascaderHeader = ({ defaultContent, searchProps }) => {
7131
- const { t } = useParrotTranslation();
7132
- const [selectedAll, setSelectedAll] = React.useState(false);
7133
- const onClick = (e) => {
7134
- var _a;
7135
- setSelectedAll(!selectedAll);
7136
- (_a = defaultContent == null ? void 0 : defaultContent.onClickAll) == null ? void 0 : _a.call(defaultContent, selectedAll);
7137
- };
7138
- return /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { vertical: true, className: CascaderDefaultHeaderContainer }, searchProps ? /* @__PURE__ */ React__namespace.default.createElement(
7139
- SearchInput,
7140
- __spreadProps$h(__spreadValues$k({}, searchProps), {
7141
- className: cs__default.default(searchProps.className, CascaderDefaultHeaderSearch),
7142
- style: {
7143
- width: "unset"
7144
- }
7145
- })
7146
- ) : /* @__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"))));
7147
- };
7148
- const PresetCascaderRender = ({
7149
- menus,
7150
- header,
7151
- footer,
7152
- presetHeaderProps
7153
- }) => {
7154
- return /* @__PURE__ */ React__namespace.default.createElement("div", null, header ? header : /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderHeader, __spreadValues$k({}, presetHeaderProps)), menus, footer);
7155
- };
7156
- const CascaderDoubleRowOption = ({ leftTop, leftBottom, rightTop, rightBottom, rootClassName }) => {
7157
- return /* @__PURE__ */ React__namespace.default.createElement(
7158
- antd5.Flex,
7159
- {
7160
- vertical: true,
7161
- className: core.cx(DoubleRowOptionStyleWrapper, rootClassName),
7162
- gap: 6
7163
- },
7164
- /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { justify: "space-between" }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: Typo.Label.l2_medium }, leftTop), /* @__PURE__ */ React__namespace.default.createElement("div", null, rightTop)),
7165
- /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { justify: "space-between", className: Typo.Label.l4_regular }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(Typo.Label.l4_regular, "bottom", "left") }, leftBottom), /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(Typo.Label.l4_regular, "bottom") }, rightBottom))
7166
- );
7167
- };
7168
- const CascaderOptionWithCount = ({ label, count }) => {
7169
- return /* @__PURE__ */ React__namespace.default.createElement("div", { className: CascaderDefaultOptionLabel }, label, count ? /* @__PURE__ */ React__namespace.default.createElement("span", { className: "label" }, count.selected, "/", count.total) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null));
7170
- };
7171
- const defaultTagRender = (props) => {
7172
- return /* @__PURE__ */ React__namespace.default.createElement(Token, __spreadValues$k({ size: "medium", color: "blue", key: props.value }, props), props.label);
7173
- };
7174
-
7175
- var __defProp$j = Object.defineProperty;
7176
- var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
7177
- var __hasOwnProp$j = Object.prototype.hasOwnProperty;
7178
- var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
7179
- var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7180
- var __spreadValues$j = (a, b) => {
7181
- for (var prop in b || (b = {}))
7182
- if (__hasOwnProp$j.call(b, prop))
7183
- __defNormalProp$j(a, prop, b[prop]);
7184
- if (__getOwnPropSymbols$j)
7185
- for (var prop of __getOwnPropSymbols$j(b)) {
7186
- if (__propIsEnum$j.call(b, prop))
7187
- __defNormalProp$j(a, prop, b[prop]);
7188
- }
7189
- return a;
7190
- };
7191
- var __objRest$5 = (source, exclude) => {
7192
- var target = {};
7193
- for (var prop in source)
7194
- if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
7195
- target[prop] = source[prop];
7196
- if (source != null && __getOwnPropSymbols$j)
7197
- for (var prop of __getOwnPropSymbols$j(source)) {
7198
- if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
7199
- target[prop] = source[prop];
7200
- }
7201
- return target;
7202
- };
7203
- const Cascader = (props) => {
7204
- const _a = props, {
7205
- size = "middle",
7206
- NotData = "No Data",
7207
- dropdownClassName,
7208
- presetCascaderRenderProps
7209
- } = _a, restProps = __objRest$5(_a, [
7210
- "size",
7211
- "NotData",
7212
- "dropdownClassName",
7213
- "presetCascaderRenderProps"
7214
- ]);
7215
- return /* @__PURE__ */ React__namespace.default.createElement(
7216
- antd5.Cascader,
7217
- __spreadValues$j({
7218
- size,
7219
- prefixCls: Antd5PrefixCls,
7220
- expandIcon: /* @__PURE__ */ React__namespace.default.createElement(Icon, { src: iconsReact.HierarchyTriangleRight16PrimaryIcon }),
7221
- popupClassName: cs__default.default(
7222
- {
7223
- [CascaderLargeDropdown]: size === "large",
7224
- [CascaderSmallDropdown]: size === "small"
7225
- },
7226
- dropdownClassName,
7227
- CascaderDropdown
7228
- ),
7229
- dropdownRender: (menus) => /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderRender, __spreadValues$j({ menus }, presetCascaderRenderProps)),
7230
- notFoundContent: /* @__PURE__ */ React__namespace.default.createElement(NotDataContent, { content: NotData }),
7231
- tagRender: defaultTagRender,
7232
- rootClassName: CascaderInputStyle
7233
- }, restProps)
7234
- );
7235
- };
7236
-
7237
6936
  const card = "c1yyuluq";
7238
6937
  const ExpandableContainer = props => {
7239
6938
  const {
@@ -7307,32 +7006,32 @@
7307
7006
  }, children));
7308
7007
  };
7309
7008
 
7310
- var __defProp$i = Object.defineProperty;
7311
- var __defProps$g = Object.defineProperties;
7312
- var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
7313
- var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
7314
- var __hasOwnProp$i = Object.prototype.hasOwnProperty;
7315
- var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
7316
- var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, {
7009
+ var __defProp$n = Object.defineProperty;
7010
+ var __defProps$j = Object.defineProperties;
7011
+ var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
7012
+ var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
7013
+ var __hasOwnProp$n = Object.prototype.hasOwnProperty;
7014
+ var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
7015
+ var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, {
7317
7016
  enumerable: true,
7318
7017
  configurable: true,
7319
7018
  writable: true,
7320
7019
  value
7321
7020
  }) : obj[key] = value;
7322
- var __spreadValues$i = (a, b) => {
7323
- for (var prop in b || (b = {})) if (__hasOwnProp$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
7324
- if (__getOwnPropSymbols$i) for (var prop of __getOwnPropSymbols$i(b)) {
7325
- if (__propIsEnum$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
7021
+ var __spreadValues$n = (a, b) => {
7022
+ for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
7023
+ if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
7024
+ if (__propIsEnum$n.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
7326
7025
  }
7327
7026
  return a;
7328
7027
  };
7329
- var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
7028
+ var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
7330
7029
  const {
7331
7030
  Item: AntdFormItem
7332
7031
  } = antd.Form;
7333
7032
  const FormItemStyle$1 = "f7pxqmh";
7334
7033
  const FormItem$1 = props => {
7335
- return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$g(__spreadValues$i({}, props), {
7034
+ return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$j(__spreadValues$n({}, props), {
7336
7035
  className: cs__default.default(FormItemStyle$1, props.className)
7337
7036
  }));
7338
7037
  };
@@ -7347,25 +7046,73 @@
7347
7046
  propsAsIs: true
7348
7047
  });
7349
7048
 
7350
- var __defProp$h = Object.defineProperty;
7351
- var __defProps$f = Object.defineProperties;
7352
- var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
7353
- var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
7354
- var __hasOwnProp$h = Object.prototype.hasOwnProperty;
7355
- var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
7356
- var __defNormalProp$h = (obj, key2, value) => key2 in obj ? __defProp$h(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
7357
- var __spreadValues$h = (a, b) => {
7049
+ var __defProp$m = Object.defineProperty;
7050
+ var __defProps$i = Object.defineProperties;
7051
+ var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
7052
+ var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
7053
+ var __hasOwnProp$m = Object.prototype.hasOwnProperty;
7054
+ var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
7055
+ var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
7056
+ enumerable: true,
7057
+ configurable: true,
7058
+ writable: true,
7059
+ value
7060
+ }) : obj[key] = value;
7061
+ var __spreadValues$m = (a, b) => {
7062
+ for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
7063
+ if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
7064
+ if (__propIsEnum$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
7065
+ }
7066
+ return a;
7067
+ };
7068
+ var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
7069
+ var __objRest$8 = (source, exclude) => {
7070
+ var target = {};
7071
+ for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7072
+ if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
7073
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
7074
+ }
7075
+ return target;
7076
+ };
7077
+ const LinkStyle = "l48ei06";
7078
+ const Link = React__namespace.default.forwardRef((_a, ref) => {
7079
+ var _b = _a,
7080
+ {
7081
+ className,
7082
+ disabled,
7083
+ type
7084
+ } = _b,
7085
+ props = __objRest$8(_b, ["className", "disabled", "type"]);
7086
+ return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$i(__spreadValues$m({}, props), {
7087
+ ref,
7088
+ disabled,
7089
+ className: cs__default.default(LinkStyle, className, {
7090
+ "ui-kit-link-disabled": disabled,
7091
+ "ui-kit-link-subtle": type === "subtle"
7092
+ }),
7093
+ type: "link"
7094
+ }));
7095
+ });
7096
+
7097
+ var __defProp$l = Object.defineProperty;
7098
+ var __defProps$h = Object.defineProperties;
7099
+ var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
7100
+ var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
7101
+ var __hasOwnProp$l = Object.prototype.hasOwnProperty;
7102
+ var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
7103
+ var __defNormalProp$l = (obj, key2, value) => key2 in obj ? __defProp$l(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
7104
+ var __spreadValues$l = (a, b) => {
7358
7105
  for (var prop in b || (b = {}))
7359
- if (__hasOwnProp$h.call(b, prop))
7360
- __defNormalProp$h(a, prop, b[prop]);
7361
- if (__getOwnPropSymbols$h)
7362
- for (var prop of __getOwnPropSymbols$h(b)) {
7363
- if (__propIsEnum$h.call(b, prop))
7364
- __defNormalProp$h(a, prop, b[prop]);
7106
+ if (__hasOwnProp$l.call(b, prop))
7107
+ __defNormalProp$l(a, prop, b[prop]);
7108
+ if (__getOwnPropSymbols$l)
7109
+ for (var prop of __getOwnPropSymbols$l(b)) {
7110
+ if (__propIsEnum$l.call(b, prop))
7111
+ __defNormalProp$l(a, prop, b[prop]);
7365
7112
  }
7366
7113
  return a;
7367
7114
  };
7368
- var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
7115
+ var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
7369
7116
  let messageInstance;
7370
7117
  let defaultDuration = 3;
7371
7118
  let defaultTop;
@@ -7472,7 +7219,7 @@
7472
7219
  }
7473
7220
  getRCNotificationInstance(args, ({ prefixCls, instance }) => {
7474
7221
  instance.notice(
7475
- getRCNoticeProps(__spreadProps$f(__spreadValues$h({}, args), { key: target, onClose: callback }), prefixCls)
7222
+ getRCNoticeProps(__spreadProps$h(__spreadValues$l({}, args), { key: target, onClose: callback }), prefixCls)
7476
7223
  );
7477
7224
  });
7478
7225
  });
@@ -7501,7 +7248,7 @@
7501
7248
  function attachTypeApi(originalApi, type) {
7502
7249
  originalApi[type] = (content, duration, onClose) => {
7503
7250
  if (isArgsProps(content)) {
7504
- return originalApi.open(__spreadProps$f(__spreadValues$h({}, content), { type }));
7251
+ return originalApi.open(__spreadProps$h(__spreadValues$l({}, content), { type }));
7505
7252
  }
7506
7253
  if (typeof duration === "function") {
7507
7254
  onClose = duration;
@@ -7515,25 +7262,25 @@
7515
7262
  );
7516
7263
  api.warn = api.warning;
7517
7264
 
7518
- var __defProp$g = Object.defineProperty;
7519
- var __defProps$e = Object.defineProperties;
7520
- var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
7521
- var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
7522
- var __hasOwnProp$g = Object.prototype.hasOwnProperty;
7523
- var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
7524
- var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7525
- var __spreadValues$g = (a, b) => {
7265
+ var __defProp$k = Object.defineProperty;
7266
+ var __defProps$g = Object.defineProperties;
7267
+ var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
7268
+ var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
7269
+ var __hasOwnProp$k = Object.prototype.hasOwnProperty;
7270
+ var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
7271
+ var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7272
+ var __spreadValues$k = (a, b) => {
7526
7273
  for (var prop in b || (b = {}))
7527
- if (__hasOwnProp$g.call(b, prop))
7528
- __defNormalProp$g(a, prop, b[prop]);
7529
- if (__getOwnPropSymbols$g)
7530
- for (var prop of __getOwnPropSymbols$g(b)) {
7531
- if (__propIsEnum$g.call(b, prop))
7532
- __defNormalProp$g(a, prop, b[prop]);
7274
+ if (__hasOwnProp$k.call(b, prop))
7275
+ __defNormalProp$k(a, prop, b[prop]);
7276
+ if (__getOwnPropSymbols$k)
7277
+ for (var prop of __getOwnPropSymbols$k(b)) {
7278
+ if (__propIsEnum$k.call(b, prop))
7279
+ __defNormalProp$k(a, prop, b[prop]);
7533
7280
  }
7534
7281
  return a;
7535
7282
  };
7536
- var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
7283
+ var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
7537
7284
  const initialChartState = {
7538
7285
  pointers: {},
7539
7286
  resourceData: {},
@@ -7543,8 +7290,8 @@
7543
7290
  switch (action.type) {
7544
7291
  case "SET_POINTER" /* SET_POINTER */: {
7545
7292
  const { uuid, left, text, visible, value } = action.payload;
7546
- return __spreadProps$e(__spreadValues$g({}, state), {
7547
- pointers: __spreadProps$e(__spreadValues$g({}, state.pointers), {
7293
+ return __spreadProps$g(__spreadValues$k({}, state), {
7294
+ pointers: __spreadProps$g(__spreadValues$k({}, state.pointers), {
7548
7295
  [uuid]: {
7549
7296
  left,
7550
7297
  text,
@@ -7556,16 +7303,16 @@
7556
7303
  }
7557
7304
  case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
7558
7305
  const { uuid, data } = action.payload;
7559
- return __spreadProps$e(__spreadValues$g({}, state), {
7560
- resourceData: __spreadProps$e(__spreadValues$g({}, state.resourceData), {
7306
+ return __spreadProps$g(__spreadValues$k({}, state), {
7307
+ resourceData: __spreadProps$g(__spreadValues$k({}, state.resourceData), {
7561
7308
  [uuid]: data
7562
7309
  })
7563
7310
  });
7564
7311
  }
7565
7312
  case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
7566
7313
  const { uuid, average } = action.payload;
7567
- return __spreadProps$e(__spreadValues$g({}, state), {
7568
- averageData: __spreadProps$e(__spreadValues$g({}, state.averageData), {
7314
+ return __spreadProps$g(__spreadValues$k({}, state), {
7315
+ averageData: __spreadProps$g(__spreadValues$k({}, state.averageData), {
7569
7316
  [uuid]: average
7570
7317
  })
7571
7318
  });
@@ -7576,25 +7323,25 @@
7576
7323
  }
7577
7324
  };
7578
7325
 
7579
- var __defProp$f = Object.defineProperty;
7580
- var __defProps$d = Object.defineProperties;
7581
- var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
7582
- var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
7583
- var __hasOwnProp$f = Object.prototype.hasOwnProperty;
7584
- var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
7585
- var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7586
- var __spreadValues$f = (a, b) => {
7326
+ var __defProp$j = Object.defineProperty;
7327
+ var __defProps$f = Object.defineProperties;
7328
+ var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
7329
+ var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
7330
+ var __hasOwnProp$j = Object.prototype.hasOwnProperty;
7331
+ var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
7332
+ var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7333
+ var __spreadValues$j = (a, b) => {
7587
7334
  for (var prop in b || (b = {}))
7588
- if (__hasOwnProp$f.call(b, prop))
7589
- __defNormalProp$f(a, prop, b[prop]);
7590
- if (__getOwnPropSymbols$f)
7591
- for (var prop of __getOwnPropSymbols$f(b)) {
7592
- if (__propIsEnum$f.call(b, prop))
7593
- __defNormalProp$f(a, prop, b[prop]);
7335
+ if (__hasOwnProp$j.call(b, prop))
7336
+ __defNormalProp$j(a, prop, b[prop]);
7337
+ if (__getOwnPropSymbols$j)
7338
+ for (var prop of __getOwnPropSymbols$j(b)) {
7339
+ if (__propIsEnum$j.call(b, prop))
7340
+ __defNormalProp$j(a, prop, b[prop]);
7594
7341
  }
7595
7342
  return a;
7596
7343
  };
7597
- var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
7344
+ var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
7598
7345
  var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
7599
7346
  ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
7600
7347
  ModalActions2["POP_MODAL"] = "POP_MODAL";
@@ -7615,22 +7362,22 @@
7615
7362
  )) {
7616
7363
  return state;
7617
7364
  }
7618
- return __spreadProps$d(__spreadValues$f({}, state), {
7619
- stack: state.stack.concat(__spreadProps$d(__spreadValues$f({}, action.payload), {
7365
+ return __spreadProps$f(__spreadValues$j({}, state), {
7366
+ stack: state.stack.concat(__spreadProps$f(__spreadValues$j({}, action.payload), {
7620
7367
  id: MODAL_ID++
7621
7368
  }))
7622
7369
  });
7623
7370
  case "POP_MODAL" /* POP_MODAL */:
7624
- return __spreadProps$d(__spreadValues$f({}, state), {
7371
+ return __spreadProps$f(__spreadValues$j({}, state), {
7625
7372
  stack: state.stack.slice(0, -1)
7626
7373
  });
7627
7374
  case "REMOVE_MODAL" /* REMOVE_MODAL */:
7628
- return __spreadProps$d(__spreadValues$f({}, state), {
7375
+ return __spreadProps$f(__spreadValues$j({}, state), {
7629
7376
  closeId: 0,
7630
7377
  stack: state.stack.filter((m) => m.id !== action.id)
7631
7378
  });
7632
7379
  case "CLOSE_MODAL" /* CLOSE_MODAL */:
7633
- return __spreadProps$d(__spreadValues$f({}, state), {
7380
+ return __spreadProps$f(__spreadValues$j({}, state), {
7634
7381
  closeId: action.id
7635
7382
  });
7636
7383
  default:
@@ -7687,33 +7434,33 @@
7687
7434
  const HorizontalStepContentStyle = "h6l1tj4";
7688
7435
  const VerticalStepContentStyle = "v18frne8";
7689
7436
 
7690
- var __defProp$e = Object.defineProperty;
7691
- var __defProps$c = Object.defineProperties;
7692
- var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
7693
- var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
7694
- var __hasOwnProp$e = Object.prototype.hasOwnProperty;
7695
- var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
7696
- var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7697
- var __spreadValues$e = (a, b) => {
7437
+ var __defProp$i = Object.defineProperty;
7438
+ var __defProps$e = Object.defineProperties;
7439
+ var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
7440
+ var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
7441
+ var __hasOwnProp$i = Object.prototype.hasOwnProperty;
7442
+ var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
7443
+ var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7444
+ var __spreadValues$i = (a, b) => {
7698
7445
  for (var prop in b || (b = {}))
7699
- if (__hasOwnProp$e.call(b, prop))
7700
- __defNormalProp$e(a, prop, b[prop]);
7701
- if (__getOwnPropSymbols$e)
7702
- for (var prop of __getOwnPropSymbols$e(b)) {
7703
- if (__propIsEnum$e.call(b, prop))
7704
- __defNormalProp$e(a, prop, b[prop]);
7446
+ if (__hasOwnProp$i.call(b, prop))
7447
+ __defNormalProp$i(a, prop, b[prop]);
7448
+ if (__getOwnPropSymbols$i)
7449
+ for (var prop of __getOwnPropSymbols$i(b)) {
7450
+ if (__propIsEnum$i.call(b, prop))
7451
+ __defNormalProp$i(a, prop, b[prop]);
7705
7452
  }
7706
7453
  return a;
7707
7454
  };
7708
- var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
7709
- var __objRest$4 = (source, exclude) => {
7455
+ var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
7456
+ var __objRest$7 = (source, exclude) => {
7710
7457
  var target = {};
7711
7458
  for (var prop in source)
7712
- if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
7459
+ if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
7713
7460
  target[prop] = source[prop];
7714
- if (source != null && __getOwnPropSymbols$e)
7715
- for (var prop of __getOwnPropSymbols$e(source)) {
7716
- if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
7461
+ if (source != null && __getOwnPropSymbols$i)
7462
+ for (var prop of __getOwnPropSymbols$i(source)) {
7463
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
7717
7464
  target[prop] = source[prop];
7718
7465
  }
7719
7466
  return target;
@@ -7730,7 +7477,7 @@
7730
7477
  setTooltipEnable({});
7731
7478
  }
7732
7479
  }, [textRef]);
7733
- return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$c(__spreadValues$e({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
7480
+ return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$e(__spreadValues$i({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
7734
7481
  "div",
7735
7482
  {
7736
7483
  className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
@@ -7747,7 +7494,7 @@
7747
7494
  current = 0,
7748
7495
  disabled,
7749
7496
  preview = false
7750
- } = _a, stepsProps = __objRest$4(_a, [
7497
+ } = _a, stepsProps = __objRest$7(_a, [
7751
7498
  "stepsConfig",
7752
7499
  "direction",
7753
7500
  "containerClassname",
@@ -7768,7 +7515,7 @@
7768
7515
  },
7769
7516
  /* @__PURE__ */ React__namespace.default.createElement(
7770
7517
  antd.Steps,
7771
- __spreadProps$c(__spreadValues$e({}, stepsProps), {
7518
+ __spreadProps$e(__spreadValues$i({}, stepsProps), {
7772
7519
  direction,
7773
7520
  current,
7774
7521
  type: "default"
@@ -7777,7 +7524,7 @@
7777
7524
  var _a2;
7778
7525
  return /* @__PURE__ */ React__namespace.default.createElement(
7779
7526
  antd.Steps.Step,
7780
- __spreadProps$c(__spreadValues$e({
7527
+ __spreadProps$e(__spreadValues$i({
7781
7528
  key: index
7782
7529
  }, step), {
7783
7530
  disabled: isPreviewMode ? false : (_a2 = disabled != null ? disabled : step == null ? void 0 : step.disabled) != null ? _a2 : index > current,
@@ -7802,33 +7549,33 @@
7802
7549
  );
7803
7550
  };
7804
7551
 
7805
- var __defProp$d = Object.defineProperty;
7806
- var __defProps$b = Object.defineProperties;
7807
- var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
7808
- var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
7809
- var __hasOwnProp$d = Object.prototype.hasOwnProperty;
7810
- var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
7811
- var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7812
- var __spreadValues$d = (a, b) => {
7552
+ var __defProp$h = Object.defineProperty;
7553
+ var __defProps$d = Object.defineProperties;
7554
+ var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
7555
+ var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
7556
+ var __hasOwnProp$h = Object.prototype.hasOwnProperty;
7557
+ var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
7558
+ var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7559
+ var __spreadValues$h = (a, b) => {
7813
7560
  for (var prop in b || (b = {}))
7814
- if (__hasOwnProp$d.call(b, prop))
7815
- __defNormalProp$d(a, prop, b[prop]);
7816
- if (__getOwnPropSymbols$d)
7817
- for (var prop of __getOwnPropSymbols$d(b)) {
7818
- if (__propIsEnum$d.call(b, prop))
7819
- __defNormalProp$d(a, prop, b[prop]);
7561
+ if (__hasOwnProp$h.call(b, prop))
7562
+ __defNormalProp$h(a, prop, b[prop]);
7563
+ if (__getOwnPropSymbols$h)
7564
+ for (var prop of __getOwnPropSymbols$h(b)) {
7565
+ if (__propIsEnum$h.call(b, prop))
7566
+ __defNormalProp$h(a, prop, b[prop]);
7820
7567
  }
7821
7568
  return a;
7822
7569
  };
7823
- var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
7824
- var __objRest$3 = (source, exclude) => {
7570
+ var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
7571
+ var __objRest$6 = (source, exclude) => {
7825
7572
  var target = {};
7826
7573
  for (var prop in source)
7827
- if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
7574
+ if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
7828
7575
  target[prop] = source[prop];
7829
- if (source != null && __getOwnPropSymbols$d)
7830
- for (var prop of __getOwnPropSymbols$d(source)) {
7831
- if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
7576
+ if (source != null && __getOwnPropSymbols$h)
7577
+ for (var prop of __getOwnPropSymbols$h(source)) {
7578
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop))
7832
7579
  target[prop] = source[prop];
7833
7580
  }
7834
7581
  return target;
@@ -7855,7 +7602,7 @@
7855
7602
  showCancel = true,
7856
7603
  showOk = true,
7857
7604
  afterClose
7858
- } = _a, restProps = __objRest$3(_a, [
7605
+ } = _a, restProps = __objRest$6(_a, [
7859
7606
  "error",
7860
7607
  "okText",
7861
7608
  "cancelText",
@@ -7910,7 +7657,7 @@
7910
7657
  }
7911
7658
  return /* @__PURE__ */ React__namespace.default.createElement(
7912
7659
  antd.Modal,
7913
- __spreadProps$b(__spreadValues$d({
7660
+ __spreadProps$d(__spreadValues$h({
7914
7661
  maskClosable,
7915
7662
  className: cs__default.default(
7916
7663
  className,
@@ -7945,7 +7692,7 @@
7945
7692
  prevText
7946
7693
  ), 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(
7947
7694
  Button,
7948
- __spreadValues$d({
7695
+ __spreadValues$h({
7949
7696
  type: "quiet",
7950
7697
  onMouseDown: (e) => {
7951
7698
  e.preventDefault();
@@ -7959,7 +7706,7 @@
7959
7706
  cancelText
7960
7707
  ), showOk && /* @__PURE__ */ React__namespace.default.createElement(
7961
7708
  Button,
7962
- __spreadValues$d({
7709
+ __spreadValues$h({
7963
7710
  onClick: (e) => {
7964
7711
  var _a2, _b2;
7965
7712
  onOk == null ? void 0 : onOk(e);
@@ -8106,46 +7853,46 @@
8106
7853
  }))));
8107
7854
  };
8108
7855
 
8109
- var __defProp$c = Object.defineProperty;
8110
- var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
8111
- var __hasOwnProp$c = Object.prototype.hasOwnProperty;
8112
- var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
8113
- var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8114
- var __spreadValues$c = (a, b) => {
7856
+ var __defProp$g = Object.defineProperty;
7857
+ var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
7858
+ var __hasOwnProp$g = Object.prototype.hasOwnProperty;
7859
+ var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
7860
+ var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7861
+ var __spreadValues$g = (a, b) => {
8115
7862
  for (var prop in b || (b = {}))
8116
- if (__hasOwnProp$c.call(b, prop))
8117
- __defNormalProp$c(a, prop, b[prop]);
8118
- if (__getOwnPropSymbols$c)
8119
- for (var prop of __getOwnPropSymbols$c(b)) {
8120
- if (__propIsEnum$c.call(b, prop))
8121
- __defNormalProp$c(a, prop, b[prop]);
7863
+ if (__hasOwnProp$g.call(b, prop))
7864
+ __defNormalProp$g(a, prop, b[prop]);
7865
+ if (__getOwnPropSymbols$g)
7866
+ for (var prop of __getOwnPropSymbols$g(b)) {
7867
+ if (__propIsEnum$g.call(b, prop))
7868
+ __defNormalProp$g(a, prop, b[prop]);
8122
7869
  }
8123
7870
  return a;
8124
7871
  };
8125
- const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$c({}, props));
7872
+ const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$g({}, props));
8126
7873
 
8127
- var __defProp$b = Object.defineProperty;
8128
- var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
8129
- var __hasOwnProp$b = Object.prototype.hasOwnProperty;
8130
- var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
8131
- var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
7874
+ var __defProp$f = Object.defineProperty;
7875
+ var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
7876
+ var __hasOwnProp$f = Object.prototype.hasOwnProperty;
7877
+ var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
7878
+ var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, {
8132
7879
  enumerable: true,
8133
7880
  configurable: true,
8134
7881
  writable: true,
8135
7882
  value
8136
7883
  }) : obj[key] = value;
8137
- var __spreadValues$b = (a, b) => {
8138
- for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
8139
- if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
8140
- if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
7884
+ var __spreadValues$f = (a, b) => {
7885
+ for (var prop in b || (b = {})) if (__hasOwnProp$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
7886
+ if (__getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(b)) {
7887
+ if (__propIsEnum$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
8141
7888
  }
8142
7889
  return a;
8143
7890
  };
8144
- var __objRest$2 = (source, exclude) => {
7891
+ var __objRest$5 = (source, exclude) => {
8145
7892
  var target = {};
8146
- for (var prop in source) if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
8147
- if (source != null && __getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(source)) {
8148
- if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop)) target[prop] = source[prop];
7893
+ for (var prop in source) if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
7894
+ if (source != null && __getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(source)) {
7895
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop)) target[prop] = source[prop];
8149
7896
  }
8150
7897
  return target;
8151
7898
  };
@@ -8161,7 +7908,7 @@
8161
7908
  checked,
8162
7909
  compact = false
8163
7910
  } = _b,
8164
- props = __objRest$2(_b, ["children", "className", "checked", "compact"]);
7911
+ props = __objRest$5(_b, ["children", "className", "checked", "compact"]);
8165
7912
  const {
8166
7913
  description
8167
7914
  } = props;
@@ -8171,7 +7918,7 @@
8171
7918
  className: core.cx("radio-description", Typo.Label.l4_regular)
8172
7919
  }, description));
8173
7920
  }
8174
- return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$b({
7921
+ return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$f({
8175
7922
  className: core.cx(className, RadioStyle, compact && "compact"),
8176
7923
  checked: checked || false,
8177
7924
  "data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
@@ -8183,13 +7930,13 @@
8183
7930
  children,
8184
7931
  className
8185
7932
  } = _d,
8186
- props = __objRest$2(_d, ["children", "className"]);
7933
+ props = __objRest$5(_d, ["children", "className"]);
8187
7934
  return /* @__PURE__ */React__namespace.default.createElement(KitRadioGroupContext.Provider, {
8188
7935
  value: {
8189
7936
  disabled: props.disabled,
8190
7937
  name: props.name
8191
7938
  }
8192
- }, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$b({
7939
+ }, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$f({
8193
7940
  className: core.cx(className, RadioGroupStyle)
8194
7941
  }, props), children ? children : null));
8195
7942
  };
@@ -8199,7 +7946,7 @@
8199
7946
  children,
8200
7947
  className
8201
7948
  } = _f,
8202
- props = __objRest$2(_f, ["children", "className"]);
7949
+ props = __objRest$5(_f, ["children", "className"]);
8203
7950
  const {
8204
7951
  type,
8205
7952
  placeholder = "Label",
@@ -8245,12 +7992,53 @@
8245
7992
  className: "ant-radio-button-input-label"
8246
7993
  }, typeof children === "string" ? children : ""));
8247
7994
  };
8248
- return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$b({
7995
+ return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$f({
8249
7996
  className: core.cx(className, RadioButtonStyle),
8250
7997
  value: radioButtonValue
8251
7998
  }, props), renderChildren());
8252
7999
  };
8253
8000
 
8001
+ var __defProp$e = Object.defineProperty;
8002
+ var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
8003
+ var __hasOwnProp$e = Object.prototype.hasOwnProperty;
8004
+ var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
8005
+ var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8006
+ var __spreadValues$e = (a, b) => {
8007
+ for (var prop in b || (b = {}))
8008
+ if (__hasOwnProp$e.call(b, prop))
8009
+ __defNormalProp$e(a, prop, b[prop]);
8010
+ if (__getOwnPropSymbols$e)
8011
+ for (var prop of __getOwnPropSymbols$e(b)) {
8012
+ if (__propIsEnum$e.call(b, prop))
8013
+ __defNormalProp$e(a, prop, b[prop]);
8014
+ }
8015
+ return a;
8016
+ };
8017
+ var __objRest$4 = (source, exclude) => {
8018
+ var target = {};
8019
+ for (var prop in source)
8020
+ if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
8021
+ target[prop] = source[prop];
8022
+ if (source != null && __getOwnPropSymbols$e)
8023
+ for (var prop of __getOwnPropSymbols$e(source)) {
8024
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
8025
+ target[prop] = source[prop];
8026
+ }
8027
+ return target;
8028
+ };
8029
+ const SearchInput = (props) => {
8030
+ const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$4(_a, ["onChange", "debounceWait"]);
8031
+ const onSearch = ___default.default.debounce(onChange, debounceWait);
8032
+ return /* @__PURE__ */ React__namespace.default.createElement(
8033
+ Input,
8034
+ __spreadValues$e({
8035
+ style: { width: 276 },
8036
+ prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
8037
+ onChange: (e) => onSearch(e.target.value)
8038
+ }, restProps)
8039
+ );
8040
+ };
8041
+
8254
8042
  const inputStyle = "ivqqkzv";
8255
8043
  const SimplePagination = props => {
8256
8044
  const {
@@ -8327,35 +8115,35 @@
8327
8115
  })));
8328
8116
  };
8329
8117
 
8330
- var __defProp$a = Object.defineProperty;
8331
- var __defProps$a = Object.defineProperties;
8332
- var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
8333
- var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
8334
- var __hasOwnProp$a = Object.prototype.hasOwnProperty;
8335
- var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
8336
- var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, {
8118
+ var __defProp$d = Object.defineProperty;
8119
+ var __defProps$c = Object.defineProperties;
8120
+ var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
8121
+ var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
8122
+ var __hasOwnProp$d = Object.prototype.hasOwnProperty;
8123
+ var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
8124
+ var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, {
8337
8125
  enumerable: true,
8338
8126
  configurable: true,
8339
8127
  writable: true,
8340
8128
  value
8341
8129
  }) : obj[key] = value;
8342
- var __spreadValues$a = (a, b) => {
8343
- for (var prop in b || (b = {})) if (__hasOwnProp$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
8344
- if (__getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(b)) {
8345
- if (__propIsEnum$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
8130
+ var __spreadValues$d = (a, b) => {
8131
+ for (var prop in b || (b = {})) if (__hasOwnProp$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
8132
+ if (__getOwnPropSymbols$d) for (var prop of __getOwnPropSymbols$d(b)) {
8133
+ if (__propIsEnum$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
8346
8134
  }
8347
8135
  return a;
8348
8136
  };
8349
- var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
8350
- var __objRest$1 = (source, exclude) => {
8137
+ var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
8138
+ var __objRest$3 = (source, exclude) => {
8351
8139
  var target = {};
8352
- for (var prop in source) if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
8353
- if (source != null && __getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(source)) {
8354
- if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop)) target[prop] = source[prop];
8140
+ for (var prop in source) if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
8141
+ if (source != null && __getOwnPropSymbols$d) for (var prop of __getOwnPropSymbols$d(source)) {
8142
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop)) target[prop] = source[prop];
8355
8143
  }
8356
8144
  return target;
8357
8145
  };
8358
- const PresetColors = ["blue", "red", "yellow", "green", "gray"];
8146
+ const PresetColors$1 = ["blue", "red", "yellow", "green", "gray"];
8359
8147
  const StatusCapsuleStyle = "sddwhm6";
8360
8148
  const StatusCode = /*#__PURE__*/react.styled('i')({
8361
8149
  name: "StatusCode",
@@ -8394,11 +8182,11 @@
8394
8182
  offWhiteMode,
8395
8183
  number
8396
8184
  } = _b,
8397
- props = __objRest$1(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
8185
+ props = __objRest$3(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
8398
8186
  const computedColor = ColorMap[color] || color;
8399
- return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$a(__spreadValues$a({}, props), {
8187
+ return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$c(__spreadValues$d({}, props), {
8400
8188
  className: cs__default.default(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
8401
- [`ant-tag-${computedColor}`]: PresetColors.includes(computedColor),
8189
+ [`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
8402
8190
  "tag-hover": hoverable,
8403
8191
  "off-white": offWhiteMode
8404
8192
  }),
@@ -8489,26 +8277,26 @@
8489
8277
  }));
8490
8278
  };
8491
8279
 
8492
- var __defProp$9 = Object.defineProperty;
8493
- var __defProps$9 = Object.defineProperties;
8494
- var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
8495
- var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
8496
- var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
8497
- var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
8498
- var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, {
8280
+ var __defProp$c = Object.defineProperty;
8281
+ var __defProps$b = Object.defineProperties;
8282
+ var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
8283
+ var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
8284
+ var __hasOwnProp$c = Object.prototype.hasOwnProperty;
8285
+ var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
8286
+ var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, {
8499
8287
  enumerable: true,
8500
8288
  configurable: true,
8501
8289
  writable: true,
8502
8290
  value
8503
8291
  }) : obj[key] = value;
8504
- var __spreadValues$9 = (a, b) => {
8505
- for (var prop in b || (b = {})) if (__hasOwnProp$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
8506
- if (__getOwnPropSymbols$9) for (var prop of __getOwnPropSymbols$9(b)) {
8507
- if (__propIsEnum$9.call(b, prop)) __defNormalProp$9(a, prop, b[prop]);
8292
+ var __spreadValues$c = (a, b) => {
8293
+ for (var prop in b || (b = {})) if (__hasOwnProp$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
8294
+ if (__getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(b)) {
8295
+ if (__propIsEnum$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
8508
8296
  }
8509
8297
  return a;
8510
8298
  };
8511
- var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
8299
+ var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
8512
8300
  const TableContainerStyle = "tc97u5y";
8513
8301
  const tableStyleCover = "tfzf37v";
8514
8302
  const Table = props => {
@@ -8535,7 +8323,7 @@
8535
8323
  const orderRef = React.useRef(null);
8536
8324
  const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
8537
8325
  const _columns = React.useMemo(() => columns.map(column => {
8538
- const _column = __spreadValues$9({}, column);
8326
+ const _column = __spreadValues$c({}, column);
8539
8327
  if (_column.sorter && typeof _column.title !== "function") {
8540
8328
  _column.title = /* @__PURE__ */React__namespace.default.createElement(ColumnTitle, {
8541
8329
  title: column.title,
@@ -8572,12 +8360,12 @@
8572
8360
  onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
8573
8361
  }
8574
8362
  },
8575
- onRow: (record, index) => __spreadValues$9({
8363
+ onRow: (record, index) => __spreadValues$c({
8576
8364
  onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
8577
8365
  }, onRow == null ? void 0 : onRow(record, index)),
8578
8366
  rowClassName,
8579
8367
  scroll,
8580
- rowSelection: rowSelection && __spreadProps$9(__spreadValues$9({}, rowSelection), {
8368
+ rowSelection: rowSelection && __spreadProps$b(__spreadValues$c({}, rowSelection), {
8581
8369
  columnWidth: 32
8582
8370
  }),
8583
8371
  showSorterTooltip: false
@@ -8639,33 +8427,33 @@
8639
8427
  return sortArr;
8640
8428
  };
8641
8429
 
8642
- var __defProp$8 = Object.defineProperty;
8643
- var __defProps$8 = Object.defineProperties;
8644
- var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
8645
- var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
8646
- var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
8647
- var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
8648
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8649
- var __spreadValues$8 = (a, b) => {
8430
+ var __defProp$b = Object.defineProperty;
8431
+ var __defProps$a = Object.defineProperties;
8432
+ var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
8433
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
8434
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
8435
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
8436
+ var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8437
+ var __spreadValues$b = (a, b) => {
8650
8438
  for (var prop in b || (b = {}))
8651
- if (__hasOwnProp$8.call(b, prop))
8652
- __defNormalProp$8(a, prop, b[prop]);
8653
- if (__getOwnPropSymbols$8)
8654
- for (var prop of __getOwnPropSymbols$8(b)) {
8655
- if (__propIsEnum$8.call(b, prop))
8656
- __defNormalProp$8(a, prop, b[prop]);
8439
+ if (__hasOwnProp$b.call(b, prop))
8440
+ __defNormalProp$b(a, prop, b[prop]);
8441
+ if (__getOwnPropSymbols$b)
8442
+ for (var prop of __getOwnPropSymbols$b(b)) {
8443
+ if (__propIsEnum$b.call(b, prop))
8444
+ __defNormalProp$b(a, prop, b[prop]);
8657
8445
  }
8658
8446
  return a;
8659
8447
  };
8660
- var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
8661
- var __objRest = (source, exclude) => {
8448
+ var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
8449
+ var __objRest$2 = (source, exclude) => {
8662
8450
  var target = {};
8663
8451
  for (var prop in source)
8664
- if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)
8452
+ if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0)
8665
8453
  target[prop] = source[prop];
8666
- if (source != null && __getOwnPropSymbols$8)
8667
- for (var prop of __getOwnPropSymbols$8(source)) {
8668
- if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))
8454
+ if (source != null && __getOwnPropSymbols$b)
8455
+ for (var prop of __getOwnPropSymbols$b(source)) {
8456
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop))
8669
8457
  target[prop] = source[prop];
8670
8458
  }
8671
8459
  return target;
@@ -8681,7 +8469,7 @@
8681
8469
  const _a = buttonProps || {}, {
8682
8470
  disabled: disabledFromProp,
8683
8471
  onClick
8684
- } = _a, restButtonProps = __objRest(_a, [
8472
+ } = _a, restButtonProps = __objRest$2(_a, [
8685
8473
  "disabled",
8686
8474
  "onClick"
8687
8475
  ]);
@@ -8706,9 +8494,9 @@
8706
8494
  if (!columns.length) {
8707
8495
  return null;
8708
8496
  }
8709
- return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$8({}, props)) : /* @__PURE__ */ React__namespace.default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__namespace.default.createElement(
8497
+ return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$b({}, props)) : /* @__PURE__ */ React__namespace.default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__namespace.default.createElement(
8710
8498
  Button,
8711
- __spreadProps$8(__spreadValues$8({}, restButtonProps), {
8499
+ __spreadProps$a(__spreadValues$b({}, restButtonProps), {
8712
8500
  type: restButtonProps.type || "ordinary",
8713
8501
  size: restButtonProps.size || "small",
8714
8502
  prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__namespace.default.createElement(iconsReact.PlusAddCreateNew16SecondaryIcon, null),
@@ -8803,25 +8591,25 @@
8803
8591
  );
8804
8592
  };
8805
8593
 
8806
- var __defProp$7 = Object.defineProperty;
8807
- var __defProps$7 = Object.defineProperties;
8808
- var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
8809
- var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
8810
- var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
8811
- var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
8812
- var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8813
- var __spreadValues$7 = (a, b) => {
8594
+ var __defProp$a = Object.defineProperty;
8595
+ var __defProps$9 = Object.defineProperties;
8596
+ var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
8597
+ var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
8598
+ var __hasOwnProp$a = Object.prototype.hasOwnProperty;
8599
+ var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
8600
+ var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8601
+ var __spreadValues$a = (a, b) => {
8814
8602
  for (var prop in b || (b = {}))
8815
- if (__hasOwnProp$7.call(b, prop))
8816
- __defNormalProp$7(a, prop, b[prop]);
8817
- if (__getOwnPropSymbols$7)
8818
- for (var prop of __getOwnPropSymbols$7(b)) {
8819
- if (__propIsEnum$7.call(b, prop))
8820
- __defNormalProp$7(a, prop, b[prop]);
8603
+ if (__hasOwnProp$a.call(b, prop))
8604
+ __defNormalProp$a(a, prop, b[prop]);
8605
+ if (__getOwnPropSymbols$a)
8606
+ for (var prop of __getOwnPropSymbols$a(b)) {
8607
+ if (__propIsEnum$a.call(b, prop))
8608
+ __defNormalProp$a(a, prop, b[prop]);
8821
8609
  }
8822
8610
  return a;
8823
8611
  };
8824
- var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
8612
+ var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
8825
8613
  const InputPassword = (props) => {
8826
8614
  const [showPassword, setShowPassword] = React.useState(false);
8827
8615
  React.useEffect(() => {
@@ -8837,7 +8625,7 @@
8837
8625
  const inputType = showPassword ? "text" : "password";
8838
8626
  return /* @__PURE__ */ React__namespace.default.createElement(
8839
8627
  Input,
8840
- __spreadProps$7(__spreadValues$7({}, props), {
8628
+ __spreadProps$9(__spreadValues$a({}, props), {
8841
8629
  type: inputType,
8842
8630
  suffix: showPassword ? /* @__PURE__ */ React__namespace.default.createElement(
8843
8631
  icons.EyeOutlined,
@@ -8857,9 +8645,9 @@
8857
8645
  };
8858
8646
  const CustomInput = (props) => {
8859
8647
  if (props.type === "password") {
8860
- return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$7({}, props));
8648
+ return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$a({}, props));
8861
8649
  }
8862
- return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$7({}, props));
8650
+ return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$a({}, props));
8863
8651
  };
8864
8652
  const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
8865
8653
  const _onChange = (e) => {
@@ -8983,25 +8771,25 @@
8983
8771
  return ValidateTriggerType2;
8984
8772
  })(ValidateTriggerType || {});
8985
8773
 
8986
- var __defProp$6 = Object.defineProperty;
8987
- var __defProps$6 = Object.defineProperties;
8988
- var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
8989
- var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
8990
- var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
8991
- var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
8992
- var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8993
- var __spreadValues$6 = (a, b) => {
8774
+ var __defProp$9 = Object.defineProperty;
8775
+ var __defProps$8 = Object.defineProperties;
8776
+ var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
8777
+ var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
8778
+ var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
8779
+ var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
8780
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8781
+ var __spreadValues$9 = (a, b) => {
8994
8782
  for (var prop in b || (b = {}))
8995
- if (__hasOwnProp$6.call(b, prop))
8996
- __defNormalProp$6(a, prop, b[prop]);
8997
- if (__getOwnPropSymbols$6)
8998
- for (var prop of __getOwnPropSymbols$6(b)) {
8999
- if (__propIsEnum$6.call(b, prop))
9000
- __defNormalProp$6(a, prop, b[prop]);
8783
+ if (__hasOwnProp$9.call(b, prop))
8784
+ __defNormalProp$9(a, prop, b[prop]);
8785
+ if (__getOwnPropSymbols$9)
8786
+ for (var prop of __getOwnPropSymbols$9(b)) {
8787
+ if (__propIsEnum$9.call(b, prop))
8788
+ __defNormalProp$9(a, prop, b[prop]);
9001
8789
  }
9002
8790
  return a;
9003
8791
  };
9004
- var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
8792
+ var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
9005
8793
  const TableFormBodyCell = (props) => {
9006
8794
  const {
9007
8795
  column,
@@ -9034,7 +8822,7 @@
9034
8822
  (currentValue) => {
9035
8823
  var _a;
9036
8824
  const value = currentValue != null ? currentValue : data[rowIndex][column.key];
9037
- const rowData = __spreadProps$6(__spreadValues$6({}, data[rowIndex]), { [column.key]: value });
8825
+ const rowData = __spreadProps$8(__spreadValues$9({}, data[rowIndex]), { [column.key]: value });
9038
8826
  const rowValidateRes = getRowValidateResult(rowData);
9039
8827
  if (rowValidateRes) {
9040
8828
  return;
@@ -9060,7 +8848,7 @@
9060
8848
  }, [validateAll, triggerValidate, setIsTouched]);
9061
8849
  const _onChange = (value, data2) => {
9062
8850
  const newData = data2.map(
9063
- (row, i) => i === rowIndex ? __spreadProps$6(__spreadValues$6({}, row), { [column.key]: value }) : row
8851
+ (row, i) => i === rowIndex ? __spreadProps$8(__spreadValues$9({}, row), { [column.key]: value }) : row
9064
8852
  );
9065
8853
  onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
9066
8854
  if (validateTriggerType === ValidateTriggerType.Normal && isTouched || validateTriggerType === ValidateTriggerType.Aggressive) {
@@ -9138,25 +8926,25 @@
9138
8926
  );
9139
8927
  };
9140
8928
 
9141
- var __defProp$5 = Object.defineProperty;
9142
- var __defProps$5 = Object.defineProperties;
9143
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
9144
- var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
9145
- var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
9146
- var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
9147
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9148
- var __spreadValues$5 = (a, b) => {
8929
+ var __defProp$8 = Object.defineProperty;
8930
+ var __defProps$7 = Object.defineProperties;
8931
+ var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
8932
+ var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
8933
+ var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
8934
+ var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
8935
+ var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8936
+ var __spreadValues$8 = (a, b) => {
9149
8937
  for (var prop in b || (b = {}))
9150
- if (__hasOwnProp$5.call(b, prop))
9151
- __defNormalProp$5(a, prop, b[prop]);
9152
- if (__getOwnPropSymbols$5)
9153
- for (var prop of __getOwnPropSymbols$5(b)) {
9154
- if (__propIsEnum$5.call(b, prop))
9155
- __defNormalProp$5(a, prop, b[prop]);
8938
+ if (__hasOwnProp$8.call(b, prop))
8939
+ __defNormalProp$8(a, prop, b[prop]);
8940
+ if (__getOwnPropSymbols$8)
8941
+ for (var prop of __getOwnPropSymbols$8(b)) {
8942
+ if (__propIsEnum$8.call(b, prop))
8943
+ __defNormalProp$8(a, prop, b[prop]);
9156
8944
  }
9157
8945
  return a;
9158
8946
  };
9159
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
8947
+ var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
9160
8948
  const TableFormRowDeleteAction = (props) => {
9161
8949
  var _a, _b, _c, _d;
9162
8950
  const { deleteConfig, row, updateData, rowIndex, data } = props;
@@ -9249,7 +9037,7 @@
9249
9037
  );
9250
9038
  });
9251
9039
  const DraggableHandle = React.useMemo(
9252
- () => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$5({}, provided.dragHandleProps), /* @__PURE__ */ React__namespace.default.createElement(
9040
+ () => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$8({}, provided.dragHandleProps), /* @__PURE__ */ React__namespace.default.createElement(
9253
9041
  Icon,
9254
9042
  {
9255
9043
  src: iconsReact.HandlePoint816SecondaryIcon,
@@ -9311,7 +9099,7 @@
9311
9099
  );
9312
9100
  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(
9313
9101
  "div",
9314
- __spreadValues$5({
9102
+ __spreadValues$8({
9315
9103
  className: "draggable-container",
9316
9104
  ref: provided.innerRef
9317
9105
  }, provided.droppableProps),
@@ -9322,9 +9110,9 @@
9322
9110
  key: `draggable-id-${i}`,
9323
9111
  index: i
9324
9112
  },
9325
- (provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$5({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__namespace.default.createElement(
9113
+ (provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$8({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__namespace.default.createElement(
9326
9114
  TableFormRow,
9327
- __spreadProps$5(__spreadValues$5({}, props), {
9115
+ __spreadProps$7(__spreadValues$8({}, props), {
9328
9116
  rowIndex: i,
9329
9117
  provided: provided2,
9330
9118
  snapshot
@@ -9332,28 +9120,28 @@
9332
9120
  ))
9333
9121
  )),
9334
9122
  provided.placeholder
9335
- ))) : /* @__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}` }))));
9123
+ ))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$7(__spreadValues$8({}, props), { rowIndex: i, key: `table-row-${i}` }))));
9336
9124
  });
9337
9125
 
9338
- var __defProp$4 = Object.defineProperty;
9339
- var __defProps$4 = Object.defineProperties;
9340
- var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
9341
- var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
9342
- var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
9343
- var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
9344
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9345
- var __spreadValues$4 = (a, b) => {
9126
+ var __defProp$7 = Object.defineProperty;
9127
+ var __defProps$6 = Object.defineProperties;
9128
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
9129
+ var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
9130
+ var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
9131
+ var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
9132
+ var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9133
+ var __spreadValues$7 = (a, b) => {
9346
9134
  for (var prop in b || (b = {}))
9347
- if (__hasOwnProp$4.call(b, prop))
9348
- __defNormalProp$4(a, prop, b[prop]);
9349
- if (__getOwnPropSymbols$4)
9350
- for (var prop of __getOwnPropSymbols$4(b)) {
9351
- if (__propIsEnum$4.call(b, prop))
9352
- __defNormalProp$4(a, prop, b[prop]);
9135
+ if (__hasOwnProp$7.call(b, prop))
9136
+ __defNormalProp$7(a, prop, b[prop]);
9137
+ if (__getOwnPropSymbols$7)
9138
+ for (var prop of __getOwnPropSymbols$7(b)) {
9139
+ if (__propIsEnum$7.call(b, prop))
9140
+ __defNormalProp$7(a, prop, b[prop]);
9353
9141
  }
9354
9142
  return a;
9355
9143
  };
9356
- var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
9144
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
9357
9145
  const BatchInputListHeaderCell = (props) => {
9358
9146
  const { column, disabled, data, disableBatchFilling, onBlur, onChange } = props;
9359
9147
  const [errMsg, setErrMsg] = React.useState();
@@ -9365,7 +9153,7 @@
9365
9153
  setErrMsg(err || void 0);
9366
9154
  const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
9367
9155
  const newData = data.map((cell, rowIndex) => {
9368
- return __spreadProps$4(__spreadValues$4({}, cell), {
9156
+ return __spreadProps$6(__spreadValues$7({}, cell), {
9369
9157
  [column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
9370
9158
  });
9371
9159
  });
@@ -9382,7 +9170,7 @@
9382
9170
  const CellComponent = ColumnHeaderImpls[column.type];
9383
9171
  return /* @__PURE__ */ React__namespace.default.createElement(
9384
9172
  CellComponent,
9385
- __spreadProps$4(__spreadValues$4({}, props), {
9173
+ __spreadProps$6(__spreadValues$7({}, props), {
9386
9174
  column,
9387
9175
  onChange: headerOnChange,
9388
9176
  onBlur: _onBlur
@@ -9417,25 +9205,25 @@
9417
9205
  );
9418
9206
  };
9419
9207
 
9420
- var __defProp$3 = Object.defineProperty;
9421
- var __defProps$3 = Object.defineProperties;
9422
- var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
9423
- var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
9424
- var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
9425
- var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
9426
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9427
- var __spreadValues$3 = (a, b) => {
9208
+ var __defProp$6 = Object.defineProperty;
9209
+ var __defProps$5 = Object.defineProperties;
9210
+ var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
9211
+ var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
9212
+ var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
9213
+ var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
9214
+ var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9215
+ var __spreadValues$6 = (a, b) => {
9428
9216
  for (var prop in b || (b = {}))
9429
- if (__hasOwnProp$3.call(b, prop))
9430
- __defNormalProp$3(a, prop, b[prop]);
9431
- if (__getOwnPropSymbols$3)
9432
- for (var prop of __getOwnPropSymbols$3(b)) {
9433
- if (__propIsEnum$3.call(b, prop))
9434
- __defNormalProp$3(a, prop, b[prop]);
9217
+ if (__hasOwnProp$6.call(b, prop))
9218
+ __defNormalProp$6(a, prop, b[prop]);
9219
+ if (__getOwnPropSymbols$6)
9220
+ for (var prop of __getOwnPropSymbols$6(b)) {
9221
+ if (__propIsEnum$6.call(b, prop))
9222
+ __defNormalProp$6(a, prop, b[prop]);
9435
9223
  }
9436
9224
  return a;
9437
9225
  };
9438
- var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
9226
+ var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
9439
9227
  const DEFAULT_ROW_COUNT = 3;
9440
9228
  const TableForm = React__namespace.default.forwardRef(
9441
9229
  (props, ref) => {
@@ -9497,7 +9285,7 @@
9497
9285
  (key, error) => {
9498
9286
  if (error) {
9499
9287
  const newData = latestData.map((cell) => {
9500
- return __spreadProps$3(__spreadValues$3({}, cell), {
9288
+ return __spreadProps$5(__spreadValues$6({}, cell), {
9501
9289
  [key]: ""
9502
9290
  });
9503
9291
  });
@@ -9765,6 +9553,78 @@
9765
9553
  })));
9766
9554
  };
9767
9555
 
9556
+ const IconStyle = "i1g85yz3";
9557
+
9558
+ var __defProp$5 = Object.defineProperty;
9559
+ var __defProps$4 = Object.defineProperties;
9560
+ var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
9561
+ var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
9562
+ var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
9563
+ var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
9564
+ var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
9565
+ enumerable: true,
9566
+ configurable: true,
9567
+ writable: true,
9568
+ value
9569
+ }) : obj[key] = value;
9570
+ var __spreadValues$5 = (a, b) => {
9571
+ for (var prop in b || (b = {})) if (__hasOwnProp$5.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
9572
+ if (__getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(b)) {
9573
+ if (__propIsEnum$5.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
9574
+ }
9575
+ return a;
9576
+ };
9577
+ var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
9578
+ var __objRest$1 = (source, exclude) => {
9579
+ var target = {};
9580
+ for (var prop in source) if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
9581
+ if (source != null && __getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(source)) {
9582
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop)) target[prop] = source[prop];
9583
+ }
9584
+ return target;
9585
+ };
9586
+ const PresetColors = ["blue", "red", "yellow", "green", "gray", "purple"];
9587
+ const Size = {
9588
+ small: "s1sck0th",
9589
+ medium: "m855nr1",
9590
+ large: "l1270xpg"
9591
+ };
9592
+ const TokenStyle = "t14rextb";
9593
+ const Token = React__namespace.default.forwardRef((_a, ref) => {
9594
+ var _b = _a,
9595
+ {
9596
+ size = "small",
9597
+ color = "gray",
9598
+ className,
9599
+ icon,
9600
+ checked,
9601
+ children,
9602
+ tooltipConfig
9603
+ } = _b,
9604
+ props = __objRest$1(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
9605
+ return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$4(__spreadValues$5({}, props), {
9606
+ ref,
9607
+ className: cs__default.default(className, Size[size], TokenStyle, {
9608
+ [Typo.Label.l4_regular]: size === "small" || size === "medium",
9609
+ [Typo.Label.l3_regular]: size === "large",
9610
+ [`ant-tag-${color}`]: PresetColors.includes(color)
9611
+ }, "ui-kit-token", checked && "ui-kit-token-checked"),
9612
+ closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$5({
9613
+ title: tooltipConfig == null ? void 0 : tooltipConfig.title
9614
+ }, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
9615
+ visible: false
9616
+ }), /* @__PURE__ */React__namespace.default.createElement(Icon, {
9617
+ className: "selected-icon",
9618
+ src: iconsReact.XmarkRemoveSmall16RegularInheritIcon,
9619
+ iconHeight: 16,
9620
+ iconWidth: 16
9621
+ })),
9622
+ color: color === "gray" ? void 0 : color
9623
+ }), icon && /* @__PURE__ */React__namespace.default.createElement("span", {
9624
+ className: cs__default.default("ui-kit-tag-icon", IconStyle)
9625
+ }, icon), children);
9626
+ });
9627
+
9768
9628
  const Inline = "iq1gosr";
9769
9629
  const Truncate = props => {
9770
9630
  const {
@@ -9870,7 +9730,6 @@
9870
9730
  timelineItem: antd.Timeline.Item,
9871
9731
  checkboxGroup: antd.Checkbox.Group,
9872
9732
  typographyText: antd.Typography.Text,
9873
- cascader: Cascader,
9874
9733
  upload: antd.Upload,
9875
9734
  datePickerRangePicker: antd.DatePicker.RangePicker,
9876
9735
  tableForm: TableForm,
@@ -9978,27 +9837,27 @@
9978
9837
  }, refetchText || t("common.retry")));
9979
9838
  };
9980
9839
 
9981
- var __defProp$2 = Object.defineProperty;
9982
- var __defProps$2 = Object.defineProperties;
9983
- var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
9984
- var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
9985
- var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
9986
- var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
9987
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9988
- var __spreadValues$2 = (a, b) => {
9840
+ var __defProp$4 = Object.defineProperty;
9841
+ var __defProps$3 = Object.defineProperties;
9842
+ var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
9843
+ var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
9844
+ var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
9845
+ var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
9846
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9847
+ var __spreadValues$4 = (a, b) => {
9989
9848
  for (var prop in b || (b = {}))
9990
- if (__hasOwnProp$2.call(b, prop))
9991
- __defNormalProp$2(a, prop, b[prop]);
9992
- if (__getOwnPropSymbols$2)
9993
- for (var prop of __getOwnPropSymbols$2(b)) {
9994
- if (__propIsEnum$2.call(b, prop))
9995
- __defNormalProp$2(a, prop, b[prop]);
9849
+ if (__hasOwnProp$4.call(b, prop))
9850
+ __defNormalProp$4(a, prop, b[prop]);
9851
+ if (__getOwnPropSymbols$4)
9852
+ for (var prop of __getOwnPropSymbols$4(b)) {
9853
+ if (__propIsEnum$4.call(b, prop))
9854
+ __defNormalProp$4(a, prop, b[prop]);
9996
9855
  }
9997
9856
  return a;
9998
9857
  };
9999
- var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
9858
+ var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
10000
9859
  var __publicField = (obj, key, value) => {
10001
- __defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
9860
+ __defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
10002
9861
  return value;
10003
9862
  };
10004
9863
  function makeUUID(length = 25) {
@@ -10086,7 +9945,7 @@
10086
9945
  }
10087
9946
  }
10088
9947
  function createBatchMessageMethods(message, batchHelper) {
10089
- let _message = __spreadValues$2({}, message);
9948
+ let _message = __spreadValues$4({}, message);
10090
9949
  const methods = [
10091
9950
  "success",
10092
9951
  "error",
@@ -10101,7 +9960,7 @@
10101
9960
  _message[method] = function(...args) {
10102
9961
  const key = makeUUID();
10103
9962
  const content = normalizeContent(args, method);
10104
- batcher.addMessage(__spreadProps$2(__spreadValues$2({}, content), { key }));
9963
+ batcher.addMessage(__spreadProps$3(__spreadValues$4({}, content), { key }));
10105
9964
  return () => {
10106
9965
  };
10107
9966
  };
@@ -10135,32 +9994,32 @@
10135
9994
  return dayjs__default.default(tick).format("MM/DD");
10136
9995
  };
10137
9996
 
10138
- var __defProp$1 = Object.defineProperty;
10139
- var __defProps$1 = Object.defineProperties;
10140
- var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
10141
- var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
10142
- var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
10143
- var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
10144
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10145
- var __spreadValues$1 = (a, b) => {
9997
+ var __defProp$3 = Object.defineProperty;
9998
+ var __defProps$2 = Object.defineProperties;
9999
+ var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
10000
+ var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
10001
+ var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
10002
+ var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
10003
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10004
+ var __spreadValues$3 = (a, b) => {
10146
10005
  for (var prop in b || (b = {}))
10147
- if (__hasOwnProp$1.call(b, prop))
10148
- __defNormalProp$1(a, prop, b[prop]);
10149
- if (__getOwnPropSymbols$1)
10150
- for (var prop of __getOwnPropSymbols$1(b)) {
10151
- if (__propIsEnum$1.call(b, prop))
10152
- __defNormalProp$1(a, prop, b[prop]);
10006
+ if (__hasOwnProp$3.call(b, prop))
10007
+ __defNormalProp$3(a, prop, b[prop]);
10008
+ if (__getOwnPropSymbols$3)
10009
+ for (var prop of __getOwnPropSymbols$3(b)) {
10010
+ if (__propIsEnum$3.call(b, prop))
10011
+ __defNormalProp$3(a, prop, b[prop]);
10153
10012
  }
10154
10013
  return a;
10155
10014
  };
10156
- var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
10015
+ var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
10157
10016
  const ModalStack = () => {
10158
10017
  const stack = useKitSelector(
10159
10018
  (state) => state.modal.stack
10160
10019
  );
10161
10020
  return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, stack.map((modal) => /* @__PURE__ */ React__namespace.default.createElement(
10162
10021
  modal.component,
10163
- __spreadProps$1(__spreadValues$1({}, modal.props), {
10022
+ __spreadProps$2(__spreadValues$3({}, modal.props), {
10164
10023
  modalId: modal.id,
10165
10024
  onClose: () => {
10166
10025
  var _a;
@@ -10174,6 +10033,146 @@
10174
10033
  )));
10175
10034
  };
10176
10035
 
10036
+ const DoubleRowOptionStyleWrapper = "drhfj7c";
10037
+ const CascaderDefaultOptionLabel = "ct9qoak";
10038
+ const CascaderNotData = "crhnxq5";
10039
+ const CascaderDefaultHeaderSearch = "c1iq43vd";
10040
+ const CascaderInputStyle = "c1h2v0a8";
10041
+ const CascaderDefaultHeaderContainer = "cgzzd7y";
10042
+ const CascaderDefaultHeader = "c1ec3mnt";
10043
+ const CascaderDropdown = "c1iye0zj";
10044
+ const CascaderSmallDropdown = "ckhyuyx";
10045
+ const CascaderLargeDropdown = "c1fmq9lv";
10046
+
10047
+ var __defProp$2 = Object.defineProperty;
10048
+ var __defProps$1 = Object.defineProperties;
10049
+ var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
10050
+ var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
10051
+ var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
10052
+ var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
10053
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10054
+ var __spreadValues$2 = (a, b) => {
10055
+ for (var prop in b || (b = {}))
10056
+ if (__hasOwnProp$2.call(b, prop))
10057
+ __defNormalProp$2(a, prop, b[prop]);
10058
+ if (__getOwnPropSymbols$2)
10059
+ for (var prop of __getOwnPropSymbols$2(b)) {
10060
+ if (__propIsEnum$2.call(b, prop))
10061
+ __defNormalProp$2(a, prop, b[prop]);
10062
+ }
10063
+ return a;
10064
+ };
10065
+ var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
10066
+ const NotDataContent = ({ content }) => {
10067
+ return /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(CascaderNotData) }, content);
10068
+ };
10069
+ const PresetCascaderHeader = ({ defaultContent, searchProps }) => {
10070
+ const { t } = useParrotTranslation();
10071
+ const [selectedAll, setSelectedAll] = React.useState(false);
10072
+ const onClick = (e) => {
10073
+ var _a;
10074
+ setSelectedAll(!selectedAll);
10075
+ (_a = defaultContent == null ? void 0 : defaultContent.onClickAll) == null ? void 0 : _a.call(defaultContent, selectedAll);
10076
+ };
10077
+ return /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { vertical: true, className: CascaderDefaultHeaderContainer }, searchProps ? /* @__PURE__ */ React__namespace.default.createElement(
10078
+ SearchInput,
10079
+ __spreadProps$1(__spreadValues$2({}, searchProps), {
10080
+ className: cs__default.default(searchProps.className, CascaderDefaultHeaderSearch),
10081
+ style: {
10082
+ width: "unset"
10083
+ }
10084
+ })
10085
+ ) : /* @__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"))));
10086
+ };
10087
+ const PresetCascaderRender = ({
10088
+ menus,
10089
+ header,
10090
+ footer,
10091
+ presetHeaderProps
10092
+ }) => {
10093
+ return /* @__PURE__ */ React__namespace.default.createElement("div", null, header ? header : /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderHeader, __spreadValues$2({}, presetHeaderProps)), menus, footer);
10094
+ };
10095
+ const CascaderDoubleRowOption = ({ leftTop, leftBottom, rightTop, rightBottom, rootClassName }) => {
10096
+ return /* @__PURE__ */ React__namespace.default.createElement(
10097
+ antd5.Flex,
10098
+ {
10099
+ vertical: true,
10100
+ className: core.cx(DoubleRowOptionStyleWrapper, rootClassName),
10101
+ gap: 6
10102
+ },
10103
+ /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { justify: "space-between" }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: Typo.Label.l2_medium }, leftTop), /* @__PURE__ */ React__namespace.default.createElement("div", null, rightTop)),
10104
+ /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { justify: "space-between", className: Typo.Label.l4_regular }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(Typo.Label.l4_regular, "bottom", "left") }, leftBottom), /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(Typo.Label.l4_regular, "bottom") }, rightBottom))
10105
+ );
10106
+ };
10107
+ const CascaderOptionWithCount = ({ label, count }) => {
10108
+ return /* @__PURE__ */ React__namespace.default.createElement("div", { className: CascaderDefaultOptionLabel }, label, count ? /* @__PURE__ */ React__namespace.default.createElement("span", { className: "label" }, count.selected, "/", count.total) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null));
10109
+ };
10110
+ const defaultTagRender = (props) => {
10111
+ return /* @__PURE__ */ React__namespace.default.createElement(Token, __spreadValues$2({ size: "medium", color: "blue", key: props.value }, props), props.label);
10112
+ };
10113
+
10114
+ var __defProp$1 = Object.defineProperty;
10115
+ var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
10116
+ var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
10117
+ var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
10118
+ var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10119
+ var __spreadValues$1 = (a, b) => {
10120
+ for (var prop in b || (b = {}))
10121
+ if (__hasOwnProp$1.call(b, prop))
10122
+ __defNormalProp$1(a, prop, b[prop]);
10123
+ if (__getOwnPropSymbols$1)
10124
+ for (var prop of __getOwnPropSymbols$1(b)) {
10125
+ if (__propIsEnum$1.call(b, prop))
10126
+ __defNormalProp$1(a, prop, b[prop]);
10127
+ }
10128
+ return a;
10129
+ };
10130
+ var __objRest = (source, exclude) => {
10131
+ var target = {};
10132
+ for (var prop in source)
10133
+ if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
10134
+ target[prop] = source[prop];
10135
+ if (source != null && __getOwnPropSymbols$1)
10136
+ for (var prop of __getOwnPropSymbols$1(source)) {
10137
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
10138
+ target[prop] = source[prop];
10139
+ }
10140
+ return target;
10141
+ };
10142
+ const Cascader = (props) => {
10143
+ const _a = props, {
10144
+ size = "middle",
10145
+ NotData = "No Data",
10146
+ dropdownClassName,
10147
+ presetCascaderRenderProps
10148
+ } = _a, restProps = __objRest(_a, [
10149
+ "size",
10150
+ "NotData",
10151
+ "dropdownClassName",
10152
+ "presetCascaderRenderProps"
10153
+ ]);
10154
+ return /* @__PURE__ */ React__namespace.default.createElement(
10155
+ antd5.Cascader,
10156
+ __spreadValues$1({
10157
+ size,
10158
+ prefixCls: Antd5PrefixCls,
10159
+ expandIcon: /* @__PURE__ */ React__namespace.default.createElement(Icon, { src: iconsReact.HierarchyTriangleRight16PrimaryIcon }),
10160
+ popupClassName: cs__default.default(
10161
+ {
10162
+ [CascaderLargeDropdown]: size === "large",
10163
+ [CascaderSmallDropdown]: size === "small"
10164
+ },
10165
+ dropdownClassName,
10166
+ CascaderDropdown
10167
+ ),
10168
+ dropdownRender: (menus) => /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderRender, __spreadValues$1({ menus }, presetCascaderRenderProps)),
10169
+ notFoundContent: /* @__PURE__ */ React__namespace.default.createElement(NotDataContent, { content: NotData }),
10170
+ tagRender: defaultTagRender,
10171
+ rootClassName: CascaderInputStyle
10172
+ }, restProps)
10173
+ );
10174
+ };
10175
+
10177
10176
  var Architecture = /* @__PURE__ */ ((Architecture2) => {
10178
10177
  Architecture2["Aarch64"] = "AARCH64";
10179
10178
  Architecture2["X86_64"] = "X86_64";
@@ -10257,6 +10256,7 @@
10257
10256
  exports.ButtonStyle = ButtonStyle;
10258
10257
  exports.Calendar = Calendar$1;
10259
10258
  exports.CannotOperationInfo = CannotOperationInfo;
10259
+ exports.Cascader = Cascader;
10260
10260
  exports.CascaderDefaultHeader = CascaderDefaultHeader;
10261
10261
  exports.CascaderDefaultHeaderContainer = CascaderDefaultHeaderContainer;
10262
10262
  exports.CascaderDefaultHeaderSearch = CascaderDefaultHeaderSearch;