linkmore-design 1.1.11 → 1.1.13

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/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ ## <small>1.1.12 (2022-10-18)</small>
2
+
3
+ * 1.1.12 ([ce4a587](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/ce4a587))
4
+ * build: build ([08c964e](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/08c964e))
5
+ * feat: cascader增加示例 ([5a3839b](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/5a3839b))
6
+ * feat: Select组件增加属性defaultLabel ([6ae65c6](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/6ae65c6))
7
+ * feat: TreeSelect组件增加属性defaultLabel ([1d116eb](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/1d116eb))
8
+ * fix: 添加表格添加平级以及添加子级的功能 ([912e96c](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/912e96c))
9
+
10
+
11
+
12
+ ## <small>1.1.11 (2022-10-17)</small>
13
+
14
+ * 1.1.11 ([77c346f](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/77c346f))
15
+ * build: build ([5fa7125](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/5fa7125))
16
+ * fix: 阶梯价格 ([68ec5c1](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/68ec5c1))
17
+ * fix: 受控组件 ([42549e0](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/42549e0))
18
+ * fix: 添加自定义按钮的文案提示 ([57d00f2](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/57d00f2))
19
+ * fix: 修复部分样式的问题 ([6429acd](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/6429acd))
20
+ * fix: 修改下拉菜单、卡片圆角数值 ([b1ac4e6](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/b1ac4e6))
21
+ * fix: 修改语言配置 ([27d3712](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/27d3712))
22
+
23
+
24
+
25
+ ## <small>1.1.10 (2022-10-17)</small>
26
+
27
+ * 1.1.10 ([85bb6ab](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/85bb6ab))
28
+ * build: build ([7503607](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/7503607))
29
+ * fix: 修复table列拖动Index错误导致的问题 ([0d82a68](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/0d82a68))
30
+ * fix: 修改样式引入 ([e6da7cb](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/e6da7cb))
31
+ * docs: 日志更新 ([557c022](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/557c022))
32
+
33
+
34
+
1
35
  ## <small>1.1.9 (2022-10-14)</small>
2
36
 
3
37
  * 1.1.9 ([6d76c76](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/6d76c76))
@@ -0,0 +1,2 @@
1
+ declare const App: () => JSX.Element;
2
+ export default App;
@@ -0,0 +1,2 @@
1
+ declare const App: () => JSX.Element;
2
+ export default App;
@@ -5,6 +5,7 @@ export interface ISelectProps extends SelectProps {
5
5
  style?: React.CSSProperties;
6
6
  Option?: typeof Select.Option;
7
7
  OptGroup?: typeof Select.OptGroup;
8
+ defaultLabel?: string;
8
9
  }
9
10
  declare type SelectType = typeof Select & typeof Select.Option & typeof Select.OptGroup;
10
11
  declare const LMSelect: SelectType;
@@ -0,0 +1,2 @@
1
+ declare const App: () => JSX.Element;
2
+ export default App;
@@ -1,3 +1,8 @@
1
- import { TreeSelect } from 'antd';
2
- export type { TreeSelectProps } from 'antd';
3
- export default TreeSelect;
1
+ import { TreeSelect, TreeSelectProps as OriginTreeSelectProps } from 'antd';
2
+ export interface TreeSelectProps extends OriginTreeSelectProps {
3
+ defaultLabel?: string;
4
+ children?: any;
5
+ }
6
+ declare type TreeSelectType = typeof TreeSelect & typeof TreeSelect.TreeNode;
7
+ declare const LMTreeSelect: TreeSelectType;
8
+ export default LMTreeSelect;
package/dist/index.umd.js CHANGED
@@ -34780,7 +34780,7 @@
34780
34780
  Cascader$1.SHOW_PARENT = SHOW_PARENT$1;
34781
34781
  Cascader$1.SHOW_CHILD = SHOW_CHILD$1;
34782
34782
 
34783
- var _excluded$y = ["children", "className", "dropdownClassName", "placeholder"];
34783
+ var _excluded$y = ["children", "className", "dropdownClassName", "placeholder", "defaultLabel"];
34784
34784
  var prefixCls = 'lm_cascader';
34785
34785
  var prefixDropdownCls = 'lm_cascader_dropdown';
34786
34786
 
@@ -34790,12 +34790,26 @@
34790
34790
  dropdownClassName = props.dropdownClassName,
34791
34791
  _props$placeholder = props.placeholder,
34792
34792
  placeholder = _props$placeholder === void 0 ? '请选择' : _props$placeholder,
34793
+ defaultLabel = props.defaultLabel,
34793
34794
  others = _objectWithoutProperties$1(props, _excluded$y);
34794
34795
 
34796
+ var displayRender = function displayRender(label, selectedOptions) {
34797
+ var hasOptions = selectedOptions.some(function (v) {
34798
+ return !!v;
34799
+ });
34800
+
34801
+ if (!hasOptions && defaultLabel) {
34802
+ return defaultLabel;
34803
+ }
34804
+
34805
+ return label.join('/');
34806
+ };
34807
+
34795
34808
  return /*#__PURE__*/React__default['default'].createElement(Cascader$1, _objectSpread({
34796
34809
  placeholder: placeholder,
34797
34810
  className: classnames(prefixCls, className),
34798
- dropdownClassName: classnames(prefixDropdownCls, dropdownClassName)
34811
+ dropdownClassName: classnames(prefixDropdownCls, dropdownClassName),
34812
+ displayRender: displayRender
34799
34813
  }, others));
34800
34814
  };
34801
34815
 
@@ -288099,20 +288113,56 @@
288099
288113
 
288100
288114
  LMRadio.Button = Radio$1.Button;
288101
288115
 
288102
- var _excluded$2h = ["children", "className", "size", "dropdownClassName"];
288116
+ var _excluded$2h = ["children", "className", "size", "dropdownClassName", "options", "value", "defaultLabel"];
288103
288117
  var prefixCls$7 = 'lm_select';
288104
288118
  var CLMSelect$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
288105
288119
  var children = props.children,
288106
288120
  className = props.className,
288107
288121
  customizeSize = props.size,
288108
288122
  dropdownClassName = props.dropdownClassName,
288123
+ options = props.options,
288124
+ value = props.value,
288125
+ defaultLabel = props.defaultLabel,
288109
288126
  others = _objectWithoutProperties$1(props, _excluded$2h);
288110
288127
 
288111
- var size = customizeSize || React__default['default'].useContext(SizeContext$1) || 'middle';
288128
+ var size = customizeSize || React__default['default'].useContext(SizeContext$1) || 'middle'; // 当前值是否存于选项中
288129
+
288130
+ var hasOption = React.useMemo(function () {
288131
+ var flag = false;
288132
+
288133
+ if (children) {
288134
+ React__default['default'].Children.forEach(children, function (child) {
288135
+ if ( /*#__PURE__*/React__default['default'].isValidElement(child)) {
288136
+ var childValue = child.props.value;
288137
+
288138
+ if (!flag) {
288139
+ flag = childValue === value;
288140
+ }
288141
+ }
288142
+ });
288143
+ }
288144
+
288145
+ if (options) {
288146
+ flag = !!options.some(function (v) {
288147
+ var _props$fieldNames$val, _props$fieldNames;
288148
+
288149
+ return v[(_props$fieldNames$val = (_props$fieldNames = props.fieldNames) === null || _props$fieldNames === void 0 ? void 0 : _props$fieldNames.value) !== null && _props$fieldNames$val !== void 0 ? _props$fieldNames$val : 'value'] === value;
288150
+ });
288151
+ }
288152
+
288153
+ return flag;
288154
+ }, [children, value, options, props.fieldNames]); // 重组value: 传入value但找不到options项时,展示默认label
288155
+
288156
+ var resetValue = React.useMemo(function () {
288157
+ if (value && !hasOption) return defaultLabel !== null && defaultLabel !== void 0 ? defaultLabel : value;
288158
+ return value;
288159
+ }, [value, defaultLabel, hasOption]);
288112
288160
  return /*#__PURE__*/React__default['default'].createElement(Select$2, _objectSpread(_objectSpread({
288113
288161
  className: classnames(className, prefixCls$7),
288114
288162
  size: size,
288115
- ref: ref
288163
+ ref: ref,
288164
+ value: resetValue,
288165
+ options: options
288116
288166
  }, others), {}, {
288117
288167
  dropdownClassName: classnames('lm_select_dropdown', dropdownClassName)
288118
288168
  }), children);
@@ -312253,6 +312303,15 @@
312253
312303
  options = _ref4$options === void 0 ? ['add', 'delete'] : _ref4$options,
312254
312304
  getLength = _ref4.getLength,
312255
312305
  quickOpetateClearAll = _ref4.quickOpetateClearAll;
312306
+
312307
+ var appendChildren = function appendChildren() {
312308
+ handleAdd === null || handleAdd === void 0 ? void 0 : handleAdd(record, true);
312309
+ };
312310
+
312311
+ var appendAdd = function appendAdd() {
312312
+ handleAdd === null || handleAdd === void 0 ? void 0 : handleAdd(record);
312313
+ };
312314
+
312256
312315
  return /*#__PURE__*/React__default['default'].createElement("div", {
312257
312316
  style: {
312258
312317
  display: 'flex',
@@ -312273,7 +312332,27 @@
312273
312332
  onClick: function onClick() {
312274
312333
  return handleDelete(record[rowKey]);
312275
312334
  }
312276
- }), options.includes('add') && /*#__PURE__*/React__default['default'].createElement(LMButton, {
312335
+ }), (options === null || options === void 0 ? void 0 : options.includes('add')) && (options === null || options === void 0 ? void 0 : options.includes('addInChildren')) ? /*#__PURE__*/React__default['default'].createElement(Popover$1, {
312336
+ placement: "bottom",
312337
+ overlayClassName: 'lm_table_append_add_popover',
312338
+ open: open,
312339
+ title: null,
312340
+ content: /*#__PURE__*/React__default['default'].createElement("ul", null, /*#__PURE__*/React__default['default'].createElement("li", {
312341
+ onClick: appendAdd
312342
+ }, "\u6DFB\u52A0\u5E73\u7EA7"), /*#__PURE__*/React__default['default'].createElement("li", {
312343
+ onClick: appendChildren
312344
+ }, "\u6DFB\u52A0\u5B50\u7EA7")),
312345
+ trigger: "hover"
312346
+ }, /*#__PURE__*/React__default['default'].createElement(LMButton, {
312347
+ type: "link",
312348
+ size: "small",
312349
+ icon: /*#__PURE__*/React__default['default'].createElement(IconFont, {
312350
+ type: "lmweb-plus-circle-fill",
312351
+ style: {
312352
+ fontSize: 16
312353
+ }
312354
+ })
312355
+ })) : /*#__PURE__*/React__default['default'].createElement(LMButton, {
312277
312356
  type: "link",
312278
312357
  size: "small",
312279
312358
  icon: /*#__PURE__*/React__default['default'].createElement(IconFont, {
@@ -312283,7 +312362,7 @@
312283
312362
  }
312284
312363
  }),
312285
312364
  onClick: function onClick() {
312286
- return handleAdd(record);
312365
+ return handleAdd(record, (options === null || options === void 0 ? void 0 : options.includes('addInChildren')) ? true : false);
312287
312366
  }
312288
312367
  }));
312289
312368
  }; // const isValidValue = (verifyValue) => {
@@ -312964,7 +313043,7 @@
312964
313043
  /** 快捷添加 */
312965
313044
 
312966
313045
 
312967
- var handleTableRowAdd = function handleTableRowAdd(record) {
313046
+ var handleTableRowAdd = function handleTableRowAdd(record, isAppendInChindren) {
312968
313047
  var _deepDataSourceRef$cu5, _deepDataSourceRef$cu6;
312969
313048
 
312970
313049
  var preKeys = deepDataSourceRef === null || deepDataSourceRef === void 0 ? void 0 : (_deepDataSourceRef$cu5 = deepDataSourceRef.current) === null || _deepDataSourceRef$cu5 === void 0 ? void 0 : (_deepDataSourceRef$cu6 = _deepDataSourceRef$cu5[record[_rowKey]]) === null || _deepDataSourceRef$cu6 === void 0 ? void 0 : _deepDataSourceRef$cu6.preKeys;
@@ -312974,7 +313053,19 @@
312974
313053
  children === null || children === void 0 ? void 0 : children.forEach(function (item, index) {
312975
313054
  if (preKeys === null || preKeys === void 0 ? void 0 : preKeys.includes(item[_rowKey])) {
312976
313055
  if (item[_rowKey] === record[_rowKey]) {
312977
- children.splice(index + 1, 0, _defineProperty$1({}, _rowKey, "".concat(Date.now())));
313056
+ if (isAppendInChindren) {
313057
+ if (item === null || item === void 0 ? void 0 : item.children) {
313058
+ var _item$children;
313059
+
313060
+ item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.push(_defineProperty$1({}, _rowKey, "".concat(Date.now())));
313061
+ } else {
313062
+ item.children = [_defineProperty$1({}, _rowKey, "".concat(Date.now()))];
313063
+ }
313064
+
313065
+ !expandedRowKeys.includes(item[_rowKey]) && setExpandedRowKeys([].concat(_toConsumableArray$1(expandedRowKeys), [item[_rowKey]]));
313066
+ } else {
313067
+ children.splice(index + 1, 0, _defineProperty$1({}, _rowKey, "".concat(Date.now())));
313068
+ }
312978
313069
  } else if (item.children) {
312979
313070
  deeps(item.children);
312980
313071
  }
@@ -312989,7 +313080,21 @@
312989
313080
  });
312990
313081
 
312991
313082
  if (index !== -1) {
312992
- draft.splice(index + 1, 0, _defineProperty$1({}, _rowKey, "".concat(Date.now())));
313083
+ if (isAppendInChindren) {
313084
+ var _draft$index$children, _draft$index, _draft$index2;
313085
+
313086
+ if ((_draft$index$children = draft[index].children) === null || _draft$index$children === void 0 ? void 0 : _draft$index$children.length) {
313087
+ var _draft$index$children2;
313088
+
313089
+ (_draft$index$children2 = draft[index].children) === null || _draft$index$children2 === void 0 ? void 0 : _draft$index$children2.push(_defineProperty$1({}, _rowKey, "".concat(Date.now())));
313090
+ } else {
313091
+ draft[index].children = [_defineProperty$1({}, _rowKey, "".concat(Date.now()))];
313092
+ }
313093
+
313094
+ !expandedRowKeys.includes((_draft$index = draft[index]) === null || _draft$index === void 0 ? void 0 : _draft$index[_rowKey]) && setExpandedRowKeys([].concat(_toConsumableArray$1(expandedRowKeys), [(_draft$index2 = draft[index]) === null || _draft$index2 === void 0 ? void 0 : _draft$index2[_rowKey]]));
313095
+ } else {
313096
+ draft.splice(index + 1, 0, _defineProperty$1({}, _rowKey, "".concat(Date.now())));
313097
+ }
312993
313098
  }
312994
313099
  }
312995
313100
  });
@@ -313026,9 +313131,9 @@
313026
313131
 
313027
313132
  var DisableOptions = React.useMemo(function () {
313028
313133
  var newColumns = columns === null || columns === void 0 ? void 0 : columns.map(function (item) {
313029
- var _ref6 = item.componentProps || {},
313030
- optionOnly = _ref6.optionOnly,
313031
- options = _ref6.options;
313134
+ var _ref8 = item.componentProps || {},
313135
+ optionOnly = _ref8.optionOnly,
313136
+ options = _ref8.options;
313032
313137
 
313033
313138
  if (optionOnly && options) {
313034
313139
  var dataIndex = item.dataIndex;
@@ -313121,7 +313226,7 @@
313121
313226
  editable = col.editable,
313122
313227
  relevanceCols = col.relevanceCols;
313123
313228
 
313124
- if ((col === null || col === void 0 ? void 0 : col.fixed) || hasDisableOptions && hasDisableOptions.includes(dataIndex) || ((_col$componentProps2 = col.componentProps) === null || _col$componentProps2 === void 0 ? void 0 : _col$componentProps2.options) || editable === 'render' || !!relevanceCols || !!shouldUpdate) {
313229
+ if ((col === null || col === void 0 ? void 0 : col.fixed) || hasDisableOptions && hasDisableOptions.includes(dataIndex) || ((_col$componentProps2 = col.componentProps) === null || _col$componentProps2 === void 0 ? void 0 : _col$componentProps2.options) || editable === 'render' || !!relevanceCols || !!shouldUpdate || !!record.children) {
313125
313230
  return true;
313126
313231
  }
313127
313232
 
@@ -313169,10 +313274,10 @@
313169
313274
  });
313170
313275
  return res;
313171
313276
  }, [columns, isAdd, sortOpen, useQuickOpetate, sortEditTable, dataSource, _toConsumableArray$1(memoOptions)]);
313172
- var DraggableContainer = React.useCallback(function (_ref7) {
313277
+ var DraggableContainer = React.useCallback(function (_ref9) {
313173
313278
  var _dataSourceRef$curren2;
313174
313279
 
313175
- var props = _extends$2({}, _ref7);
313280
+ var props = _extends$2({}, _ref9);
313176
313281
 
313177
313282
  return /*#__PURE__*/React__default['default'].createElement(DndContainer$1, {
313178
313283
  move: onSortEnd
@@ -313182,10 +313287,10 @@
313182
313287
  })
313183
313288
  }, /*#__PURE__*/React__default['default'].createElement("tbody", _objectSpread({}, props))));
313184
313289
  }, [sortEditTable]);
313185
- var colDraggableContainer = React.useCallback(function (_ref8) {
313290
+ var colDraggableContainer = React.useCallback(function (_ref10) {
313186
313291
  var _React$Children;
313187
313292
 
313188
- var props = _extends$2({}, _ref8);
313293
+ var props = _extends$2({}, _ref10);
313189
313294
 
313190
313295
  return /*#__PURE__*/React__default['default'].createElement("tr", null, (_React$Children = React__default['default'].Children) === null || _React$Children === void 0 ? void 0 : _React$Children.map(props.children, function (child) {
313191
313296
  var _child$props, _child$props$column;
@@ -316331,6 +316436,66 @@
316331
316436
  RefAutoComplete$1.Option = Option;
316332
316437
  RefAutoComplete$1.AntdAutoComplete = RefAutoComplete;
316333
316438
 
316439
+ var _excluded$30 = ["children", "treeData", "value", "defaultLabel"];
316440
+ var CLMTreeSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
316441
+ var children = props.children,
316442
+ treeData = props.treeData,
316443
+ value = props.value,
316444
+ defaultLabel = props.defaultLabel,
316445
+ resetProps = _objectWithoutProperties$1(props, _excluded$30);
316446
+
316447
+ var deepChildren = React.useCallback(function (arr) {
316448
+ var flag = false;
316449
+ React__default['default'].Children.forEach(arr, function (child) {
316450
+ if ( /*#__PURE__*/React__default['default'].isValidElement(child)) {
316451
+ var _child$props = child.props,
316452
+ childValue = _child$props.value,
316453
+ childChildren = _child$props.children;
316454
+
316455
+ if (!flag) {
316456
+ if (childValue === value) {
316457
+ flag = true;
316458
+ } else if (childChildren) {
316459
+ flag = deepChildren(childChildren);
316460
+ }
316461
+ }
316462
+ }
316463
+ });
316464
+ return flag;
316465
+ }, [value]);
316466
+ var hasOption = React.useMemo(function () {
316467
+ var flag = false;
316468
+
316469
+ if (children) {
316470
+ flag = deepChildren(children);
316471
+ }
316472
+
316473
+ if (treeData) {
316474
+ var deepFind = function deepFind(arr) {
316475
+ return arr.some(function (v) {
316476
+ if (v.value === value) return true;
316477
+ return v.children && deepFind(v.children);
316478
+ });
316479
+ };
316480
+
316481
+ flag = deepFind(treeData);
316482
+ }
316483
+
316484
+ return flag;
316485
+ }, [children, value, deepChildren]); // 重组value: 传入value但找不到options项时,展示默认label
316486
+
316487
+ var resetValue = React.useMemo(function () {
316488
+ if (value && !hasOption) return defaultLabel !== null && defaultLabel !== void 0 ? defaultLabel : value;
316489
+ return value;
316490
+ }, [value, hasOption]);
316491
+ return /*#__PURE__*/React__default['default'].createElement(TreeSelect$1, _objectSpread({
316492
+ ref: ref,
316493
+ value: resetValue
316494
+ }, resetProps), children);
316495
+ });
316496
+ var LMTreeSelect = CLMTreeSelect;
316497
+ LMTreeSelect.TreeNode = TreeSelect$1.TreeNode;
316498
+
316334
316499
  function getDataOrAriaProps$2(props) {
316335
316500
  return Object.keys(props).reduce(function (prev, key) {
316336
316501
  if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {
@@ -316402,7 +316567,7 @@
316402
316567
  return ErrorBoundary;
316403
316568
  }(React.Component);
316404
316569
 
316405
- var _excluded$30 = ["description", "prefixCls", "message", "banner", "className", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "duration"];
316570
+ var _excluded$31 = ["description", "prefixCls", "message", "banner", "className", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "duration"];
316406
316571
  var iconMapFilled$1 = {
316407
316572
  success: CheckCircleFilled$2,
316408
316573
  info: InfoCircleFilled$2,
@@ -316475,7 +316640,7 @@
316475
316640
  closeIcon = _ref$closeIcon === void 0 ? /*#__PURE__*/React.createElement(CloseOutlined$2, null) : _ref$closeIcon,
316476
316641
  action = _ref.action,
316477
316642
  duration = _ref.duration,
316478
- props = _objectWithoutProperties$1(_ref, _excluded$30);
316643
+ props = _objectWithoutProperties$1(_ref, _excluded$31);
316479
316644
 
316480
316645
  var _React$useState = React.useState(false),
316481
316646
  _React$useState2 = _slicedToArray$1(_React$useState, 2),
@@ -316905,7 +317070,7 @@
316905
317070
  };
316906
317071
  };
316907
317072
 
316908
- var _excluded$31 = ["className", "onUrge", "onDeleteComment"];
317073
+ var _excluded$32 = ["className", "onUrge", "onDeleteComment"];
316909
317074
  var prefixCls$c = 'lm_approval';
316910
317075
  var colors = ['#36BCF1', '#AE86DC', '#8BD248', '#F5A173'];
316911
317076
  var cacheColorMap = new Map();
@@ -317313,7 +317478,7 @@
317313
317478
  onUrge = _props$onUrge === void 0 ? function () {} : _props$onUrge,
317314
317479
  _props$onDeleteCommen2 = props.onDeleteComment,
317315
317480
  onDeleteComment = _props$onDeleteCommen2 === void 0 ? function () {} : _props$onDeleteCommen2,
317316
- others = _objectWithoutProperties$1(props, _excluded$31);
317481
+ others = _objectWithoutProperties$1(props, _excluded$32);
317317
317482
 
317318
317483
  var _useState = React.useState(false),
317319
317484
  _useState2 = _slicedToArray$1(_useState, 2),
@@ -319104,7 +319269,7 @@
319104
319269
  return nodes;
319105
319270
  }
319106
319271
 
319107
- var _excluded$32 = ["defaultExpandAll", "defaultExpandParent", "defaultExpandedKeys"],
319272
+ var _excluded$33 = ["defaultExpandAll", "defaultExpandParent", "defaultExpandedKeys"],
319108
319273
  _excluded2$J = ["prefixCls", "className"];
319109
319274
  var ConfigContext$6 = ConfigProvider$1.ConfigContext;
319110
319275
 
@@ -319129,7 +319294,7 @@
319129
319294
  var defaultExpandAll = _ref2.defaultExpandAll,
319130
319295
  defaultExpandParent = _ref2.defaultExpandParent,
319131
319296
  defaultExpandedKeys = _ref2.defaultExpandedKeys,
319132
- props = _objectWithoutProperties$1(_ref2, _excluded$32);
319297
+ props = _objectWithoutProperties$1(_ref2, _excluded$33);
319133
319298
 
319134
319299
  // Shift click usage
319135
319300
  var lastSelectedKey = React.useRef();
@@ -319627,11 +319792,11 @@
319627
319792
  blockNode: false
319628
319793
  };
319629
319794
 
319630
- var _excluded$33 = ["className"];
319795
+ var _excluded$34 = ["className"];
319631
319796
  var prefixCls$d = 'lm_tree';
319632
319797
  var LmTree = /*#__PURE__*/React.forwardRef(function (props, ref) {
319633
319798
  var className = props.className,
319634
- rest = _objectWithoutProperties$1(props, _excluded$33);
319799
+ rest = _objectWithoutProperties$1(props, _excluded$34);
319635
319800
 
319636
319801
  return /*#__PURE__*/React__default['default'].createElement(Tree$2, _objectSpread(_objectSpread({
319637
319802
  ref: ref
@@ -320690,7 +320855,7 @@
320690
320855
  }, unitNodes);
320691
320856
  }
320692
320857
 
320693
- var _excluded$34 = ["prefixCls", "count", "className", "motionClassName", "style", "title", "show", "component", "children"];
320858
+ var _excluded$35 = ["prefixCls", "count", "className", "motionClassName", "style", "title", "show", "component", "children"];
320694
320859
 
320695
320860
  var ScrollNumber$1 = function ScrollNumber(_ref) {
320696
320861
  var customizePrefixCls = _ref.prefixCls,
@@ -320703,7 +320868,7 @@
320703
320868
  _ref$component = _ref.component,
320704
320869
  component = _ref$component === void 0 ? 'sup' : _ref$component,
320705
320870
  children = _ref.children,
320706
- restProps = _objectWithoutProperties$1(_ref, _excluded$34);
320871
+ restProps = _objectWithoutProperties$1(_ref, _excluded$35);
320707
320872
 
320708
320873
  var _React$useContext = React.useContext(ConfigContext$1),
320709
320874
  getPrefixCls = _React$useContext.getPrefixCls;
@@ -320753,7 +320918,7 @@
320753
320918
  return /*#__PURE__*/React.createElement(component, newProps, numberNodes);
320754
320919
  };
320755
320920
 
320756
- var _excluded$35 = ["prefixCls", "scrollNumberPrefixCls", "children", "status", "text", "color", "count", "overflowCount", "dot", "size", "title", "offset", "style", "className", "showZero"];
320921
+ var _excluded$36 = ["prefixCls", "scrollNumberPrefixCls", "children", "status", "text", "color", "count", "overflowCount", "dot", "size", "title", "offset", "style", "className", "showZero"];
320757
320922
 
320758
320923
  var Badge$1 = function Badge(_ref) {
320759
320924
  var _classNames, _classNames2;
@@ -320778,7 +320943,7 @@
320778
320943
  className = _ref.className,
320779
320944
  _ref$showZero = _ref.showZero,
320780
320945
  showZero = _ref$showZero === void 0 ? false : _ref$showZero,
320781
- restProps = _objectWithoutProperties$1(_ref, _excluded$35);
320946
+ restProps = _objectWithoutProperties$1(_ref, _excluded$36);
320782
320947
 
320783
320948
  var _React$useContext = React.useContext(ConfigContext$1),
320784
320949
  getPrefixCls = _React$useContext.getPrefixCls,
@@ -320913,7 +321078,7 @@
320913
321078
 
320914
321079
  Badge$1.Ribbon = Ribbon$1;
320915
321080
 
320916
- var _excluded$36 = ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"];
321081
+ var _excluded$37 = ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"];
320917
321082
 
320918
321083
  var Divider$5 = function Divider(props) {
320919
321084
  var _classNames;
@@ -320932,7 +321097,7 @@
320932
321097
  children = props.children,
320933
321098
  dashed = props.dashed,
320934
321099
  plain = props.plain,
320935
- restProps = _objectWithoutProperties$1(props, _excluded$36);
321100
+ restProps = _objectWithoutProperties$1(props, _excluded$37);
320936
321101
 
320937
321102
  var prefixCls = getPrefixCls('divider', customizePrefixCls);
320938
321103
  var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation;
@@ -323448,14 +323613,14 @@
323448
323613
 
323449
323614
  var Body$1 = /*#__PURE__*/React__default['default'].memo(Index$b);
323450
323615
 
323451
- var _excluded$37 = ["value", "onChange", "leftIcon", "rightIcon"];
323616
+ var _excluded$38 = ["value", "onChange", "leftIcon", "rightIcon"];
323452
323617
 
323453
323618
  var ResetSlider = function ResetSlider(_ref) {
323454
323619
  var value = _ref.value,
323455
323620
  _onChange = _ref.onChange,
323456
323621
  leftIcon = _ref.leftIcon,
323457
323622
  rightIcon = _ref.rightIcon,
323458
- props = _objectWithoutProperties$1(_ref, _excluded$37);
323623
+ props = _objectWithoutProperties$1(_ref, _excluded$38);
323459
323624
 
323460
323625
  // 减
323461
323626
  var decrement = function decrement() {
@@ -324235,7 +324400,7 @@
324235
324400
  exports.Tooltip = Tooltip$4;
324236
324401
  exports.Transfer = Transfer;
324237
324402
  exports.Tree = LmTree;
324238
- exports.TreeSelect = TreeSelect$1;
324403
+ exports.TreeSelect = LMTreeSelect;
324239
324404
  exports.Typography = Typography$3;
324240
324405
  exports.Upload = LMUpload;
324241
324406
  exports.UploadOss = UploadOss;