uiw 4.16.1 → 4.18.0

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/uiw.css CHANGED
@@ -2043,7 +2043,6 @@ sup.w-badge-count {
2043
2043
  padding-left: 4px;
2044
2044
  margin-right: 5px;
2045
2045
  font-size: 14px;
2046
- line-height: 14px;
2047
2046
  }
2048
2047
 
2049
2048
  .w-collapse {
@@ -2258,7 +2257,6 @@ sup.w-badge-count {
2258
2257
  }
2259
2258
  .w-descriptions-item-label {
2260
2259
  font-size: 14px;
2261
- white-space: nowrap;
2262
2260
  font-weight: normal;
2263
2261
  }
2264
2262
  .w-descriptions-item-label::after {
@@ -3896,7 +3894,6 @@ a.w-list-item:hover:not(.w-disabled) {
3896
3894
  box-shadow: 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
3897
3895
  box-sizing: border-box;
3898
3896
  background: #fff;
3899
- min-height: 30px;
3900
3897
  margin: 0 !important;
3901
3898
  padding: 3px 10px 3px 10px;
3902
3899
  vertical-align: middle;
@@ -3926,6 +3923,20 @@ a.w-list-item:hover:not(.w-disabled) {
3926
3923
  cursor: not-allowed;
3927
3924
  resize: none;
3928
3925
  }
3926
+ .w-search-select-inner-inner-small {
3927
+ height: 20px;
3928
+ }
3929
+ .w-search-select-inner-inner-large {
3930
+ height: 30px;
3931
+ }
3932
+ .w-search-select-inner .w-input-small .w-input-inner {
3933
+ height: 16px;
3934
+ font-size: 10px;
3935
+ padding: 0px;
3936
+ }
3937
+ .w-search-select-inner .w-input-large .w-input-inner {
3938
+ height: 28px;
3939
+ }
3929
3940
  .w-search-select-multiple-colse {
3930
3941
  left: 7px;
3931
3942
  font-size: 15px;
@@ -5120,6 +5131,20 @@ a.w-list-item:hover:not(.w-disabled) {
5120
5131
  display: flex;
5121
5132
  align-content: center;
5122
5133
  }
5134
+ .w-search-tree-inner-inner-small {
5135
+ height: 20px;
5136
+ }
5137
+ .w-search-tree-inner-inner-large {
5138
+ height: 30px;
5139
+ }
5140
+ .w-search-tree-inner .w-input-small .w-input-inner {
5141
+ height: 16px;
5142
+ font-size: 10px;
5143
+ padding: 0px;
5144
+ }
5145
+ .w-search-tree-inner .w-input-large .w-input-inner {
5146
+ height: 28px;
5147
+ }
5123
5148
 
5124
5149
  .w-transfer {
5125
5150
  display: flex;
package/dist/uiw.js CHANGED
@@ -371,6 +371,7 @@ __webpack_require__.d(__webpack_exports__, {
371
371
  "Progress": () => (/* reexport */ react_progress_esm),
372
372
  "Radio": () => (/* reexport */ Radio),
373
373
  "RadioAbstract": () => (/* reexport */ RadioAbstract),
374
+ "RadioButton": () => (/* reexport */ esm_RadioButton),
374
375
  "RadioGroup": () => (/* reexport */ RadioGroup),
375
376
  "Rate": () => (/* reexport */ Rate),
376
377
  "Row": () => (/* reexport */ Row_Row),
@@ -4382,9 +4383,9 @@ var SubMenu = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_am
4382
4383
  className: [prefixCls ? prefixCls + "-overlay" : null].filter(Boolean).join(' ').trim()
4383
4384
  };
4384
4385
  var popupRef = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useRef(null);
4385
- var [isOpen, setIsOpen] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(false);
4386
+ var [isOpen, setIsOpen] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(!!overlayProps.isOpen);
4386
4387
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => {
4387
- setIsOpen(false);
4388
+ if (collapse) setIsOpen(false);
4388
4389
  }, [collapse]);
4389
4390
 
4390
4391
  function onClick(e) {
@@ -4552,6 +4553,8 @@ function Cascader(props) {
4552
4553
  value,
4553
4554
  onChange,
4554
4555
  onSearch,
4556
+ size,
4557
+ disabled,
4555
4558
  allowClear,
4556
4559
  placeholder,
4557
4560
  prefixCls = 'w-cascader',
@@ -4560,7 +4563,8 @@ function Cascader(props) {
4560
4563
  width: 200
4561
4564
  },
4562
4565
  option = [],
4563
- others
4566
+ others,
4567
+ inputProps
4564
4568
  } = props;
4565
4569
  var cls = [prefixCls, className].filter(Boolean).join(' ').trim();
4566
4570
  var [innerIsOpen, setInnerIsOpen] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(false);
@@ -4667,7 +4671,7 @@ function Cascader(props) {
4667
4671
  onSearch && handelSearch(value);
4668
4672
  };
4669
4673
 
4670
- var widths = (style == null ? void 0 : style.width) * 0.5 || undefined;
4674
+ var widths = (style == null ? void 0 : style.width) * 0.7 || undefined;
4671
4675
 
4672
4676
  var OptionIter = function OptionIter(option, level) {
4673
4677
  if (level === void 0) {
@@ -4712,12 +4716,13 @@ function Cascader(props) {
4712
4716
  return /*#__PURE__*/(0,jsx_runtime.jsx)(Dropdown, _extends({
4713
4717
  className: cls,
4714
4718
  trigger: "click",
4715
- style: _extends({
4719
+ style: {
4716
4720
  marginTop: 5
4717
- }, style),
4721
+ },
4718
4722
  overlayStyl: {
4719
4723
  width: 100
4720
- }
4724
+ },
4725
+ disabled: disabled
4721
4726
  }, others, {
4722
4727
  onVisibleChange: onVisibleChange,
4723
4728
  isOpen: innerIsOpen,
@@ -4756,13 +4761,13 @@ function Cascader(props) {
4756
4761
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
4757
4762
  onMouseLeave: () => renderSelectIcon('leave'),
4758
4763
  onMouseOver: () => renderSelectIcon('enter'),
4759
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_input_esm, {
4764
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_input_esm, _extends({}, inputProps, {
4760
4765
  value: searchOn ? searchText : inputValue,
4761
4766
  onChange: inputChange,
4767
+ size: size,
4768
+ disabled: disabled,
4762
4769
  placeholder: searchOn ? inputValue : placeholder,
4763
- style: {
4764
- width: style == null ? void 0 : style.width
4765
- },
4770
+ style: style,
4766
4771
  onFocus: () => onSearch && setSearchOn(true),
4767
4772
  onBlur: () => onSearch && setSearchOn(false),
4768
4773
  readOnly: !onSearch,
@@ -4770,13 +4775,13 @@ function Cascader(props) {
4770
4775
  style: {
4771
4776
  width: 'auto'
4772
4777
  },
4773
- children: selectIconType === 'close' && /*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {
4778
+ children: !disabled && selectIconType === 'close' && /*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {
4774
4779
  type: selectIconType,
4775
4780
  onClick: onClear,
4776
4781
  className: prefixCls + "-close"
4777
4782
  })
4778
4783
  })
4779
- })
4784
+ }))
4780
4785
  })
4781
4786
  }));
4782
4787
  }
@@ -4874,6 +4879,7 @@ var RadioGroup_excluded = ["prefixCls", "className", "name", "value", "onChange"
4874
4879
 
4875
4880
 
4876
4881
 
4882
+
4877
4883
  /* harmony default export */ const RadioGroup = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef((props, ref) => {
4878
4884
  var {
4879
4885
  prefixCls = 'w-radio-group',
@@ -4888,18 +4894,88 @@ var RadioGroup_excluded = ["prefixCls", "className", "name", "value", "onChange"
4888
4894
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", _extends({}, other, {
4889
4895
  ref: ref,
4890
4896
  className: [prefixCls, className].filter(Boolean).join(' ').trim(),
4891
- children: external_root_React_commonjs2_react_commonjs_react_amd_react_default().Children.toArray(children).map(child => {
4892
- if (!child) return;
4893
- if (! /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().isValidElement(child)) return child;
4894
- return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().cloneElement(child, _extends({}, child.props || {}, {
4895
- checked: child.props.value === value,
4896
- name,
4897
- onChange
4898
- }));
4897
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_button_group_esm, {
4898
+ children: external_root_React_commonjs2_react_commonjs_react_amd_react_default().Children.toArray(children).map(child => {
4899
+ if (!child) return;
4900
+ if (! /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().isValidElement(child)) return child;
4901
+ return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().cloneElement(child, _extends({}, child.props || {}, {
4902
+ checked: child.props.value === value,
4903
+ name,
4904
+ onChange
4905
+ }));
4906
+ })
4899
4907
  })
4900
4908
  }));
4901
4909
  }));
4902
4910
 
4911
+ ;// CONCATENATED MODULE: ../react-radio/esm/RadioButton.js
4912
+
4913
+
4914
+ var RadioButton_excluded = ["prefixCls", "type", "disabled", "value", "className", "style", "children", "size", "checked", "onChange"];
4915
+
4916
+
4917
+ /**
4918
+ * Constructs a type by picking all properties from `HTMLInputProps` and then removing `size`.
4919
+ * Omit: https://www.typescriptlang.org/docs/handbook/utility-types.html#omittk
4920
+ */
4921
+
4922
+
4923
+ var RadioButton = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef((props, ref) => {
4924
+ var {
4925
+ prefixCls = 'w-radio',
4926
+ type = 'button',
4927
+ disabled = false,
4928
+ value = '',
4929
+ className,
4930
+ style,
4931
+ children,
4932
+ size = 'small',
4933
+ checked: prChecked = false,
4934
+ onChange
4935
+ } = props,
4936
+ other = _objectWithoutPropertiesLoose(props, RadioButton_excluded);
4937
+
4938
+ var [checked, setChecked] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(prChecked);
4939
+ var [prevChecked, setPrevChecked] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)();
4940
+
4941
+ if (prChecked !== prevChecked) {
4942
+ setPrevChecked(prChecked);
4943
+ }
4944
+
4945
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => {
4946
+ if (prChecked !== prevChecked) {
4947
+ setChecked(prChecked);
4948
+ }
4949
+ }, [prevChecked]);
4950
+ var cls = [prefixCls, className, disabled ? 'disabled' : null, size ? prefixCls + "-" + size : null].filter(Boolean).join(' ').trim();
4951
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => {
4952
+ if (checked !== props.checked) {
4953
+ setChecked(!!props.checked);
4954
+ }
4955
+ }, [props.checked]);
4956
+ console.log('props.checked', props.checked);
4957
+
4958
+ function handleChange(e) {
4959
+ e.persist();
4960
+ setChecked(!checked);
4961
+ onChange && onChange(value);
4962
+ }
4963
+
4964
+ var label = children || value;
4965
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(esm, _extends({}, _extends({}, other, {
4966
+ className: cls,
4967
+ style,
4968
+ disabled,
4969
+ value
4970
+ }), {
4971
+ type: checked ? 'primary' : 'light',
4972
+ ref: ref,
4973
+ onClick: handleChange,
4974
+ children: label
4975
+ }));
4976
+ });
4977
+ /* harmony default export */ const esm_RadioButton = (RadioButton);
4978
+
4903
4979
  ;// CONCATENATED MODULE: ../react-radio/esm/index.js
4904
4980
 
4905
4981
 
@@ -4907,6 +4983,8 @@ var RadioGroup_excluded = ["prefixCls", "className", "name", "value", "onChange"
4907
4983
 
4908
4984
 
4909
4985
 
4986
+
4987
+
4910
4988
  ;// CONCATENATED MODULE: ../react-checkbox/esm/style/group.css
4911
4989
  // extracted by mini-css-extract-plugin
4912
4990
  /* harmony default export */ const style_group = ({});
@@ -8227,7 +8305,7 @@ var react_tag_esm_excluded = ["prefixCls", "className", "style", "title", "child
8227
8305
  ;// CONCATENATED MODULE: ../react-search-select/esm/index.js
8228
8306
 
8229
8307
 
8230
- var react_search_select_esm_excluded = ["allowClear", "disabled", "size", "maxTagCount", "option", "loading", "labelInValue", "prefixCls", "className", "mode", "style", "isOpen", "value", "defaultValue", "showSearch", "tagProps", "placeholder", "onSearch", "onChange", "onSelect"];
8308
+ var react_search_select_esm_excluded = ["allowClear", "disabled", "valueAmount", "size", "option", "maxTagCount", "loading", "labelInValue", "prefixCls", "className", "mode", "style", "isOpen", "value", "defaultValue", "showSearch", "tagProps", "placeholder", "onSearch", "onChange", "onSelect"];
8231
8309
 
8232
8310
 
8233
8311
 
@@ -8240,15 +8318,21 @@ var react_search_select_esm_excluded = ["allowClear", "disabled", "size", "maxTa
8240
8318
 
8241
8319
 
8242
8320
 
8321
+ var TagSize = {
8322
+ large: 25,
8323
+ default: 20,
8324
+ small: 17
8325
+ };
8243
8326
  function SearchSelect(props) {
8244
8327
  var _style$width;
8245
8328
 
8246
8329
  var {
8247
8330
  allowClear = false,
8248
8331
  disabled = false,
8332
+ valueAmount,
8249
8333
  size = 'default',
8250
- maxTagCount,
8251
8334
  option = [],
8335
+ maxTagCount,
8252
8336
  loading = false,
8253
8337
  labelInValue = false,
8254
8338
  prefixCls = 'w-search-select',
@@ -8326,7 +8410,7 @@ function SearchSelect(props) {
8326
8410
  }
8327
8411
 
8328
8412
  if (!isMultiple && opts.length > 0) setSelectedLabel(opts[0].label || '');
8329
- setSelectedValue(opts);
8413
+ setSelectedValue(opts.slice(0, valueAmount));
8330
8414
  }
8331
8415
 
8332
8416
  function removeSelectItem(index) {
@@ -8350,7 +8434,7 @@ function SearchSelect(props) {
8350
8434
  }
8351
8435
 
8352
8436
  function handleItemsClick(index, item) {
8353
- var values = index !== -1 ? removeSelectItem(index) : [...selectedValue, item];
8437
+ var values = index !== -1 ? removeSelectItem(index) : [...selectedValue.slice(0, valueAmount ? valueAmount - 1 : undefined), item];
8354
8438
  var resultValue = values.map(item => item.value);
8355
8439
  handleChange(resultValue, values);
8356
8440
  }
@@ -8469,7 +8553,7 @@ function SearchSelect(props) {
8469
8553
  maxWidth: 'none'
8470
8554
  }, style),
8471
8555
  children: isMultiple ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
8472
- className: prefixCls + "-inner",
8556
+ className: [prefixCls + "-inner", prefixCls + "-" + size].filter(Boolean).join(' ').trim(),
8473
8557
  children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
8474
8558
  style: {
8475
8559
  display: 'flex',
@@ -8479,12 +8563,11 @@ function SearchSelect(props) {
8479
8563
  children: [isMultiple && selectedValue.slice(0, maxTagCount).map((item, index) => {
8480
8564
  return /*#__PURE__*/(0,jsx_runtime.jsx)(react_tag_esm, _extends({
8481
8565
  style: _extends({
8482
- height: 20,
8566
+ height: TagSize[size],
8483
8567
  margin: 1,
8484
8568
  display: 'flex',
8485
8569
  alignItems: 'center'
8486
8570
  }, tagProps.style),
8487
- className: prefixCls + "-tag",
8488
8571
  color: "#393E48"
8489
8572
  }, tagProps, {
8490
8573
  closable: true,
@@ -9712,9 +9795,9 @@ function TableTr(props) {
9712
9795
 
9713
9796
  if (keyName.fixed) {
9714
9797
  if (keyName.fixed === 'right') {
9715
- objs.className = objs.className + " " + prefixCls + "-fixed-right";
9798
+ objs.className = prefixCls + "-fixed-right";
9716
9799
  } else {
9717
- objs.className = objs.className + " " + prefixCls + "-fixed-true";
9800
+ objs.className = prefixCls + "-fixed-true";
9718
9801
  }
9719
9802
  }
9720
9803
 
@@ -9725,7 +9808,7 @@ function TableTr(props) {
9725
9808
  children: objs.children
9726
9809
  }),
9727
9810
  key: colNum,
9728
- className: prefixCls + "-tr-children-" + (keyName.align || 'left') + " " + (keyName.className || '') + " " + (objs.className || ''),
9811
+ className: [prefixCls + '-tr-children-' + (keyName.align || 'left'), keyName.className, objs.className].filter(it => it).join(' ').trim(),
9729
9812
  onClick: evn => onCell(trData, {
9730
9813
  rowNum,
9731
9814
  colNum,
@@ -9800,54 +9883,55 @@ function Table(props) {
9800
9883
  }
9801
9884
  };
9802
9885
 
9803
- var deepClumnsLocation = (params, fistIndex, leftOrRight, isReverse) => {
9886
+ var deepClumnsLocation = (params, fistIndex) => {
9804
9887
  var initialValue = 0,
9805
- lastIndex = isReverse ? 0 : params.length - 1,
9888
+ headerIndex = 0,
9806
9889
  deepParams = [];
9807
- params.forEach(() => {
9808
- var abs = Math.abs(lastIndex);
9809
- var i = "" + fistIndex + abs;
9890
+ params.forEach((_, index) => {
9891
+ var i = "" + fistIndex + headerIndex;
9810
9892
 
9811
- if (isReverse) {
9812
- lastIndex += 1;
9813
- } else {
9814
- lastIndex -= 1;
9815
- }
9816
-
9817
- if (typeof params[abs] === 'number') {
9818
- initialValue = params[abs] + initialValue;
9819
- deepParams.push(params[abs]);
9893
+ if (typeof params[index] === 'number') {
9894
+ initialValue = params[index] + initialValue;
9895
+ deepParams.push(params[index]);
9820
9896
  return;
9821
9897
  }
9822
9898
 
9823
9899
  if (finalLocationWidth.current[i]) {
9824
- finalLocationWidth.current[i][leftOrRight] = initialValue;
9900
+ finalLocationWidth.current[i].left = initialValue;
9825
9901
  initialValue = finalLocationWidth.current[i].width + initialValue;
9902
+
9903
+ if (Array.isArray(params[index].children)) {
9904
+ deepParams.push(...params[index].children);
9905
+ } else {
9906
+ deepParams.push(finalLocationWidth.current[i].width);
9907
+ }
9826
9908
  }
9827
9909
 
9828
- if (Array.isArray(params[abs].children)) {
9829
- deepParams.push(...params[abs].children);
9830
- return;
9910
+ headerIndex += 1;
9911
+ });
9912
+ initialValue = 0, headerIndex = header[fistIndex].length - 1;
9913
+
9914
+ for (var _index = params.length - 1; _index >= 0; _index--) {
9915
+ var i = "" + fistIndex + headerIndex;
9916
+
9917
+ if (typeof params[_index] === 'number') {
9918
+ initialValue = params[_index] + initialValue;
9919
+ continue;
9831
9920
  }
9832
9921
 
9833
9922
  if (finalLocationWidth.current[i]) {
9834
- deepParams.push(finalLocationWidth.current[i].width);
9835
- } else {
9836
- var parent = header.find(it => it.find(it => it.key === params[abs].key)) || [];
9837
- var sub = parent.findIndex(it => it.key === params[abs].key);
9838
-
9839
- if (finalLocationWidth.current["" + i[0] + sub]) {
9840
- // 合并单元格
9841
- deepParams.push(finalLocationWidth.current["" + i[0] + sub].width);
9842
- }
9923
+ finalLocationWidth.current[i].right = initialValue;
9924
+ initialValue = finalLocationWidth.current[i].width + initialValue;
9843
9925
  }
9844
- });
9845
- if (deepParams.filter(it => typeof it !== 'number').length) deepClumnsLocation(deepParams, fistIndex + 1, leftOrRight, isReverse);
9926
+
9927
+ headerIndex -= 1;
9928
+ }
9929
+
9930
+ if (deepParams.filter(it => typeof it !== 'number').length) deepClumnsLocation(deepParams, fistIndex + 1);
9846
9931
  };
9847
9932
 
9848
9933
  var computed = () => {
9849
- deepClumnsLocation(columns, 0, 'left', true);
9850
- deepClumnsLocation(columns, 0, 'right', false);
9934
+ deepClumnsLocation(columns, 0);
9851
9935
  return finalLocationWidth.current;
9852
9936
  };
9853
9937
 
@@ -10768,6 +10852,11 @@ function TreeChecked(_ref) {
10768
10852
 
10769
10853
 
10770
10854
 
10855
+ var SearchTagInput_TagSize = {
10856
+ large: 25,
10857
+ default: 20,
10858
+ small: 17
10859
+ };
10771
10860
 
10772
10861
  function SearchTagInput(props) {
10773
10862
  var {
@@ -10780,6 +10869,7 @@ function SearchTagInput(props) {
10780
10869
  className,
10781
10870
  style,
10782
10871
  placeholder,
10872
+ tagProps = {},
10783
10873
  content,
10784
10874
  options,
10785
10875
  values,
@@ -10900,11 +10990,11 @@ function SearchTagInput(props) {
10900
10990
  return (_inputRef$current2 = inputRef.current) == null ? void 0 : _inputRef$current2.focus();
10901
10991
  },
10902
10992
  style: _extends({
10903
- minWidth: 200,
10993
+ minWidth: (style == null ? void 0 : style.width) || 200,
10904
10994
  maxWidth: 'none'
10905
10995
  }, style),
10906
10996
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
10907
- className: prefixCls + "-inner",
10997
+ className: [prefixCls + "-inner", prefixCls + "-" + size].filter(Boolean).join(' ').trim(),
10908
10998
  children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
10909
10999
  style: {
10910
11000
  display: 'flex',
@@ -10912,23 +11002,24 @@ function SearchTagInput(props) {
10912
11002
  width: '100%'
10913
11003
  },
10914
11004
  children: [selectedOption.map((item, index) => {
10915
- return /*#__PURE__*/(0,jsx_runtime.jsx)(react_tag_esm, {
11005
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(react_tag_esm, _extends({
10916
11006
  style: {
10917
- height: 20,
11007
+ height: SearchTagInput_TagSize[size],
10918
11008
  margin: 1,
10919
11009
  display: 'flex',
10920
11010
  alignItems: 'center'
10921
11011
  },
10922
11012
  className: prefixCls + "-tag",
10923
11013
  closable: true,
11014
+ color: "#393E48"
11015
+ }, tagProps, {
10924
11016
  disabled: disabled,
10925
- color: "#393E48",
10926
11017
  onClose: e => {
10927
11018
  e.stopPropagation();
10928
11019
  removeSelectItem(index);
10929
11020
  },
10930
11021
  children: item.label
10931
- }, index);
11022
+ }), index);
10932
11023
  }), /*#__PURE__*/(0,jsx_runtime.jsx)(react_input_esm, {
10933
11024
  ref: inputRef,
10934
11025
  style: {},