linkmore-design 1.1.11 → 1.1.12
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/Cascader/demos/formItem.d.ts +2 -0
- package/dist/Select/demos/formItem.d.ts +2 -0
- package/dist/Select/index.d.ts +1 -0
- package/dist/TreeSelect/demos/formItem.d.ts +2 -0
- package/dist/TreeSelect/index.d.ts +8 -3
- package/dist/index.umd.js +182 -33
- package/dist/index.umd.min.js +4 -4
- package/dist/variables.css +18 -0
- package/es/LmEditTable/EditTable.js +63 -10
- package/es/LmEditTable/style/index.css +18 -0
- package/es/LmEditTable/style/variables.css +18 -0
- package/es/Select/index.d.ts +1 -0
- package/es/Select/index.js +38 -4
- package/es/TreeSelect/index.d.ts +8 -3
- package/es/TreeSelect/index.js +74 -1
- package/es/styles/variables.css +18 -0
- package/lib/LmEditTable/EditTable.js +62 -9
- package/lib/LmEditTable/style/index.css +18 -0
- package/lib/LmEditTable/style/variables.css +18 -0
- package/lib/Select/index.d.ts +1 -0
- package/lib/Select/index.js +37 -3
- package/lib/TreeSelect/index.d.ts +8 -3
- package/lib/TreeSelect/index.js +78 -1
- package/lib/styles/variables.css +18 -0
- package/package.json +1 -1
package/dist/Select/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import { TreeSelect } from 'antd';
|
|
2
|
-
export
|
|
3
|
-
|
|
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
|
@@ -288099,20 +288099,54 @@
|
|
|
288099
288099
|
|
|
288100
288100
|
LMRadio.Button = Radio$1.Button;
|
|
288101
288101
|
|
|
288102
|
-
var _excluded$2h = ["children", "className", "size", "dropdownClassName"];
|
|
288102
|
+
var _excluded$2h = ["children", "className", "size", "dropdownClassName", "options", "value", "defaultLabel"];
|
|
288103
288103
|
var prefixCls$7 = 'lm_select';
|
|
288104
288104
|
var CLMSelect$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
288105
288105
|
var children = props.children,
|
|
288106
288106
|
className = props.className,
|
|
288107
288107
|
customizeSize = props.size,
|
|
288108
288108
|
dropdownClassName = props.dropdownClassName,
|
|
288109
|
+
options = props.options,
|
|
288110
|
+
value = props.value,
|
|
288111
|
+
defaultLabel = props.defaultLabel,
|
|
288109
288112
|
others = _objectWithoutProperties$1(props, _excluded$2h);
|
|
288110
288113
|
|
|
288111
|
-
var size = customizeSize || React__default['default'].useContext(SizeContext$1) || 'middle';
|
|
288114
|
+
var size = customizeSize || React__default['default'].useContext(SizeContext$1) || 'middle'; // 当前值是否存于选项中
|
|
288115
|
+
|
|
288116
|
+
var hasOption = React.useMemo(function () {
|
|
288117
|
+
var flag = false;
|
|
288118
|
+
|
|
288119
|
+
if (children) {
|
|
288120
|
+
React__default['default'].Children.forEach(children, function (child) {
|
|
288121
|
+
if ( /*#__PURE__*/React__default['default'].isValidElement(child)) {
|
|
288122
|
+
var childValue = child.props.value;
|
|
288123
|
+
|
|
288124
|
+
if (!flag) {
|
|
288125
|
+
flag = childValue === value;
|
|
288126
|
+
}
|
|
288127
|
+
}
|
|
288128
|
+
});
|
|
288129
|
+
}
|
|
288130
|
+
|
|
288131
|
+
if (options) {
|
|
288132
|
+
flag = !!options.some(function (v) {
|
|
288133
|
+
return v.value === value;
|
|
288134
|
+
});
|
|
288135
|
+
}
|
|
288136
|
+
|
|
288137
|
+
return flag;
|
|
288138
|
+
}, [children, value, options]); // 重组value: 传入value但找不到options项时,展示默认label
|
|
288139
|
+
|
|
288140
|
+
var resetValue = React.useMemo(function () {
|
|
288141
|
+
if (value && !hasOption) return defaultLabel !== null && defaultLabel !== void 0 ? defaultLabel : value;
|
|
288142
|
+
return value;
|
|
288143
|
+
}, [value, hasOption]);
|
|
288112
288144
|
return /*#__PURE__*/React__default['default'].createElement(Select$2, _objectSpread(_objectSpread({
|
|
288113
288145
|
className: classnames(className, prefixCls$7),
|
|
288114
288146
|
size: size,
|
|
288115
|
-
ref: ref
|
|
288147
|
+
ref: ref,
|
|
288148
|
+
value: resetValue,
|
|
288149
|
+
options: options
|
|
288116
288150
|
}, others), {}, {
|
|
288117
288151
|
dropdownClassName: classnames('lm_select_dropdown', dropdownClassName)
|
|
288118
288152
|
}), children);
|
|
@@ -312253,6 +312287,15 @@
|
|
|
312253
312287
|
options = _ref4$options === void 0 ? ['add', 'delete'] : _ref4$options,
|
|
312254
312288
|
getLength = _ref4.getLength,
|
|
312255
312289
|
quickOpetateClearAll = _ref4.quickOpetateClearAll;
|
|
312290
|
+
|
|
312291
|
+
var appendChildren = function appendChildren() {
|
|
312292
|
+
handleAdd === null || handleAdd === void 0 ? void 0 : handleAdd(record, true);
|
|
312293
|
+
};
|
|
312294
|
+
|
|
312295
|
+
var appendAdd = function appendAdd() {
|
|
312296
|
+
handleAdd === null || handleAdd === void 0 ? void 0 : handleAdd(record);
|
|
312297
|
+
};
|
|
312298
|
+
|
|
312256
312299
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
312257
312300
|
style: {
|
|
312258
312301
|
display: 'flex',
|
|
@@ -312273,7 +312316,27 @@
|
|
|
312273
312316
|
onClick: function onClick() {
|
|
312274
312317
|
return handleDelete(record[rowKey]);
|
|
312275
312318
|
}
|
|
312276
|
-
}), options.includes('add') && /*#__PURE__*/React__default['default'].createElement(
|
|
312319
|
+
}), (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, {
|
|
312320
|
+
placement: "bottom",
|
|
312321
|
+
overlayClassName: 'lm_table_append_add_popover',
|
|
312322
|
+
open: open,
|
|
312323
|
+
title: null,
|
|
312324
|
+
content: /*#__PURE__*/React__default['default'].createElement("ul", null, /*#__PURE__*/React__default['default'].createElement("li", {
|
|
312325
|
+
onClick: appendAdd
|
|
312326
|
+
}, "\u6DFB\u52A0\u5E73\u7EA7"), /*#__PURE__*/React__default['default'].createElement("li", {
|
|
312327
|
+
onClick: appendChildren
|
|
312328
|
+
}, "\u6DFB\u52A0\u5B50\u7EA7")),
|
|
312329
|
+
trigger: "hover"
|
|
312330
|
+
}, /*#__PURE__*/React__default['default'].createElement(LMButton, {
|
|
312331
|
+
type: "link",
|
|
312332
|
+
size: "small",
|
|
312333
|
+
icon: /*#__PURE__*/React__default['default'].createElement(IconFont, {
|
|
312334
|
+
type: "lmweb-plus-circle-fill",
|
|
312335
|
+
style: {
|
|
312336
|
+
fontSize: 16
|
|
312337
|
+
}
|
|
312338
|
+
})
|
|
312339
|
+
})) : /*#__PURE__*/React__default['default'].createElement(LMButton, {
|
|
312277
312340
|
type: "link",
|
|
312278
312341
|
size: "small",
|
|
312279
312342
|
icon: /*#__PURE__*/React__default['default'].createElement(IconFont, {
|
|
@@ -312283,7 +312346,7 @@
|
|
|
312283
312346
|
}
|
|
312284
312347
|
}),
|
|
312285
312348
|
onClick: function onClick() {
|
|
312286
|
-
return handleAdd(record);
|
|
312349
|
+
return handleAdd(record, (options === null || options === void 0 ? void 0 : options.includes('addInChildren')) ? true : false);
|
|
312287
312350
|
}
|
|
312288
312351
|
}));
|
|
312289
312352
|
}; // const isValidValue = (verifyValue) => {
|
|
@@ -312964,7 +313027,7 @@
|
|
|
312964
313027
|
/** 快捷添加 */
|
|
312965
313028
|
|
|
312966
313029
|
|
|
312967
|
-
var handleTableRowAdd = function handleTableRowAdd(record) {
|
|
313030
|
+
var handleTableRowAdd = function handleTableRowAdd(record, isAppendInChindren) {
|
|
312968
313031
|
var _deepDataSourceRef$cu5, _deepDataSourceRef$cu6;
|
|
312969
313032
|
|
|
312970
313033
|
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 +313037,19 @@
|
|
|
312974
313037
|
children === null || children === void 0 ? void 0 : children.forEach(function (item, index) {
|
|
312975
313038
|
if (preKeys === null || preKeys === void 0 ? void 0 : preKeys.includes(item[_rowKey])) {
|
|
312976
313039
|
if (item[_rowKey] === record[_rowKey]) {
|
|
312977
|
-
|
|
313040
|
+
if (isAppendInChindren) {
|
|
313041
|
+
if (item === null || item === void 0 ? void 0 : item.children) {
|
|
313042
|
+
var _item$children;
|
|
313043
|
+
|
|
313044
|
+
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())));
|
|
313045
|
+
} else {
|
|
313046
|
+
item.children = [_defineProperty$1({}, _rowKey, "".concat(Date.now()))];
|
|
313047
|
+
}
|
|
313048
|
+
|
|
313049
|
+
!expandedRowKeys.includes(item[_rowKey]) && setExpandedRowKeys([].concat(_toConsumableArray$1(expandedRowKeys), [item[_rowKey]]));
|
|
313050
|
+
} else {
|
|
313051
|
+
children.splice(index + 1, 0, _defineProperty$1({}, _rowKey, "".concat(Date.now())));
|
|
313052
|
+
}
|
|
312978
313053
|
} else if (item.children) {
|
|
312979
313054
|
deeps(item.children);
|
|
312980
313055
|
}
|
|
@@ -312989,7 +313064,21 @@
|
|
|
312989
313064
|
});
|
|
312990
313065
|
|
|
312991
313066
|
if (index !== -1) {
|
|
312992
|
-
|
|
313067
|
+
if (isAppendInChindren) {
|
|
313068
|
+
var _draft$index$children, _draft$index, _draft$index2;
|
|
313069
|
+
|
|
313070
|
+
if ((_draft$index$children = draft[index].children) === null || _draft$index$children === void 0 ? void 0 : _draft$index$children.length) {
|
|
313071
|
+
var _draft$index$children2;
|
|
313072
|
+
|
|
313073
|
+
(_draft$index$children2 = draft[index].children) === null || _draft$index$children2 === void 0 ? void 0 : _draft$index$children2.push(_defineProperty$1({}, _rowKey, "".concat(Date.now())));
|
|
313074
|
+
} else {
|
|
313075
|
+
draft[index].children = [_defineProperty$1({}, _rowKey, "".concat(Date.now()))];
|
|
313076
|
+
}
|
|
313077
|
+
|
|
313078
|
+
!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]]));
|
|
313079
|
+
} else {
|
|
313080
|
+
draft.splice(index + 1, 0, _defineProperty$1({}, _rowKey, "".concat(Date.now())));
|
|
313081
|
+
}
|
|
312993
313082
|
}
|
|
312994
313083
|
}
|
|
312995
313084
|
});
|
|
@@ -313026,9 +313115,9 @@
|
|
|
313026
313115
|
|
|
313027
313116
|
var DisableOptions = React.useMemo(function () {
|
|
313028
313117
|
var newColumns = columns === null || columns === void 0 ? void 0 : columns.map(function (item) {
|
|
313029
|
-
var
|
|
313030
|
-
optionOnly =
|
|
313031
|
-
options =
|
|
313118
|
+
var _ref8 = item.componentProps || {},
|
|
313119
|
+
optionOnly = _ref8.optionOnly,
|
|
313120
|
+
options = _ref8.options;
|
|
313032
313121
|
|
|
313033
313122
|
if (optionOnly && options) {
|
|
313034
313123
|
var dataIndex = item.dataIndex;
|
|
@@ -313121,7 +313210,7 @@
|
|
|
313121
313210
|
editable = col.editable,
|
|
313122
313211
|
relevanceCols = col.relevanceCols;
|
|
313123
313212
|
|
|
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) {
|
|
313213
|
+
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
313214
|
return true;
|
|
313126
313215
|
}
|
|
313127
313216
|
|
|
@@ -313169,10 +313258,10 @@
|
|
|
313169
313258
|
});
|
|
313170
313259
|
return res;
|
|
313171
313260
|
}, [columns, isAdd, sortOpen, useQuickOpetate, sortEditTable, dataSource, _toConsumableArray$1(memoOptions)]);
|
|
313172
|
-
var DraggableContainer = React.useCallback(function (
|
|
313261
|
+
var DraggableContainer = React.useCallback(function (_ref9) {
|
|
313173
313262
|
var _dataSourceRef$curren2;
|
|
313174
313263
|
|
|
313175
|
-
var props = _extends$2({},
|
|
313264
|
+
var props = _extends$2({}, _ref9);
|
|
313176
313265
|
|
|
313177
313266
|
return /*#__PURE__*/React__default['default'].createElement(DndContainer$1, {
|
|
313178
313267
|
move: onSortEnd
|
|
@@ -313182,10 +313271,10 @@
|
|
|
313182
313271
|
})
|
|
313183
313272
|
}, /*#__PURE__*/React__default['default'].createElement("tbody", _objectSpread({}, props))));
|
|
313184
313273
|
}, [sortEditTable]);
|
|
313185
|
-
var colDraggableContainer = React.useCallback(function (
|
|
313274
|
+
var colDraggableContainer = React.useCallback(function (_ref10) {
|
|
313186
313275
|
var _React$Children;
|
|
313187
313276
|
|
|
313188
|
-
var props = _extends$2({},
|
|
313277
|
+
var props = _extends$2({}, _ref10);
|
|
313189
313278
|
|
|
313190
313279
|
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
313280
|
var _child$props, _child$props$column;
|
|
@@ -316331,6 +316420,66 @@
|
|
|
316331
316420
|
RefAutoComplete$1.Option = Option;
|
|
316332
316421
|
RefAutoComplete$1.AntdAutoComplete = RefAutoComplete;
|
|
316333
316422
|
|
|
316423
|
+
var _excluded$30 = ["children", "treeData", "value", "defaultLabel"];
|
|
316424
|
+
var CLMTreeSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
316425
|
+
var children = props.children,
|
|
316426
|
+
treeData = props.treeData,
|
|
316427
|
+
value = props.value,
|
|
316428
|
+
defaultLabel = props.defaultLabel,
|
|
316429
|
+
resetProps = _objectWithoutProperties$1(props, _excluded$30);
|
|
316430
|
+
|
|
316431
|
+
var deepChildren = React.useCallback(function (arr) {
|
|
316432
|
+
var flag = false;
|
|
316433
|
+
React__default['default'].Children.forEach(arr, function (child) {
|
|
316434
|
+
if ( /*#__PURE__*/React__default['default'].isValidElement(child)) {
|
|
316435
|
+
var _child$props = child.props,
|
|
316436
|
+
childValue = _child$props.value,
|
|
316437
|
+
childChildren = _child$props.children;
|
|
316438
|
+
|
|
316439
|
+
if (!flag) {
|
|
316440
|
+
if (childValue === value) {
|
|
316441
|
+
flag = true;
|
|
316442
|
+
} else if (childChildren) {
|
|
316443
|
+
flag = deepChildren(childChildren);
|
|
316444
|
+
}
|
|
316445
|
+
}
|
|
316446
|
+
}
|
|
316447
|
+
});
|
|
316448
|
+
return flag;
|
|
316449
|
+
}, [value]);
|
|
316450
|
+
var hasOption = React.useMemo(function () {
|
|
316451
|
+
var flag = false;
|
|
316452
|
+
|
|
316453
|
+
if (children) {
|
|
316454
|
+
flag = deepChildren(children);
|
|
316455
|
+
}
|
|
316456
|
+
|
|
316457
|
+
if (treeData) {
|
|
316458
|
+
var deepFind = function deepFind(arr) {
|
|
316459
|
+
return arr.some(function (v) {
|
|
316460
|
+
if (v.value === value) return true;
|
|
316461
|
+
return v.children && deepFind(v.children);
|
|
316462
|
+
});
|
|
316463
|
+
};
|
|
316464
|
+
|
|
316465
|
+
flag = deepFind(treeData);
|
|
316466
|
+
}
|
|
316467
|
+
|
|
316468
|
+
return flag;
|
|
316469
|
+
}, [children, value, deepChildren]); // 重组value: 传入value但找不到options项时,展示默认label
|
|
316470
|
+
|
|
316471
|
+
var resetValue = React.useMemo(function () {
|
|
316472
|
+
if (value && !hasOption) return defaultLabel !== null && defaultLabel !== void 0 ? defaultLabel : value;
|
|
316473
|
+
return value;
|
|
316474
|
+
}, [value, hasOption]);
|
|
316475
|
+
return /*#__PURE__*/React__default['default'].createElement(TreeSelect$1, _objectSpread({
|
|
316476
|
+
ref: ref,
|
|
316477
|
+
value: resetValue
|
|
316478
|
+
}, resetProps), children);
|
|
316479
|
+
});
|
|
316480
|
+
var LMTreeSelect = CLMTreeSelect;
|
|
316481
|
+
LMTreeSelect.TreeNode = TreeSelect$1.TreeNode;
|
|
316482
|
+
|
|
316334
316483
|
function getDataOrAriaProps$2(props) {
|
|
316335
316484
|
return Object.keys(props).reduce(function (prev, key) {
|
|
316336
316485
|
if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {
|
|
@@ -316402,7 +316551,7 @@
|
|
|
316402
316551
|
return ErrorBoundary;
|
|
316403
316552
|
}(React.Component);
|
|
316404
316553
|
|
|
316405
|
-
var _excluded$
|
|
316554
|
+
var _excluded$31 = ["description", "prefixCls", "message", "banner", "className", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "duration"];
|
|
316406
316555
|
var iconMapFilled$1 = {
|
|
316407
316556
|
success: CheckCircleFilled$2,
|
|
316408
316557
|
info: InfoCircleFilled$2,
|
|
@@ -316475,7 +316624,7 @@
|
|
|
316475
316624
|
closeIcon = _ref$closeIcon === void 0 ? /*#__PURE__*/React.createElement(CloseOutlined$2, null) : _ref$closeIcon,
|
|
316476
316625
|
action = _ref.action,
|
|
316477
316626
|
duration = _ref.duration,
|
|
316478
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
316627
|
+
props = _objectWithoutProperties$1(_ref, _excluded$31);
|
|
316479
316628
|
|
|
316480
316629
|
var _React$useState = React.useState(false),
|
|
316481
316630
|
_React$useState2 = _slicedToArray$1(_React$useState, 2),
|
|
@@ -316905,7 +317054,7 @@
|
|
|
316905
317054
|
};
|
|
316906
317055
|
};
|
|
316907
317056
|
|
|
316908
|
-
var _excluded$
|
|
317057
|
+
var _excluded$32 = ["className", "onUrge", "onDeleteComment"];
|
|
316909
317058
|
var prefixCls$c = 'lm_approval';
|
|
316910
317059
|
var colors = ['#36BCF1', '#AE86DC', '#8BD248', '#F5A173'];
|
|
316911
317060
|
var cacheColorMap = new Map();
|
|
@@ -317313,7 +317462,7 @@
|
|
|
317313
317462
|
onUrge = _props$onUrge === void 0 ? function () {} : _props$onUrge,
|
|
317314
317463
|
_props$onDeleteCommen2 = props.onDeleteComment,
|
|
317315
317464
|
onDeleteComment = _props$onDeleteCommen2 === void 0 ? function () {} : _props$onDeleteCommen2,
|
|
317316
|
-
others = _objectWithoutProperties$1(props, _excluded$
|
|
317465
|
+
others = _objectWithoutProperties$1(props, _excluded$32);
|
|
317317
317466
|
|
|
317318
317467
|
var _useState = React.useState(false),
|
|
317319
317468
|
_useState2 = _slicedToArray$1(_useState, 2),
|
|
@@ -319104,7 +319253,7 @@
|
|
|
319104
319253
|
return nodes;
|
|
319105
319254
|
}
|
|
319106
319255
|
|
|
319107
|
-
var _excluded$
|
|
319256
|
+
var _excluded$33 = ["defaultExpandAll", "defaultExpandParent", "defaultExpandedKeys"],
|
|
319108
319257
|
_excluded2$J = ["prefixCls", "className"];
|
|
319109
319258
|
var ConfigContext$6 = ConfigProvider$1.ConfigContext;
|
|
319110
319259
|
|
|
@@ -319129,7 +319278,7 @@
|
|
|
319129
319278
|
var defaultExpandAll = _ref2.defaultExpandAll,
|
|
319130
319279
|
defaultExpandParent = _ref2.defaultExpandParent,
|
|
319131
319280
|
defaultExpandedKeys = _ref2.defaultExpandedKeys,
|
|
319132
|
-
props = _objectWithoutProperties$1(_ref2, _excluded$
|
|
319281
|
+
props = _objectWithoutProperties$1(_ref2, _excluded$33);
|
|
319133
319282
|
|
|
319134
319283
|
// Shift click usage
|
|
319135
319284
|
var lastSelectedKey = React.useRef();
|
|
@@ -319627,11 +319776,11 @@
|
|
|
319627
319776
|
blockNode: false
|
|
319628
319777
|
};
|
|
319629
319778
|
|
|
319630
|
-
var _excluded$
|
|
319779
|
+
var _excluded$34 = ["className"];
|
|
319631
319780
|
var prefixCls$d = 'lm_tree';
|
|
319632
319781
|
var LmTree = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
319633
319782
|
var className = props.className,
|
|
319634
|
-
rest = _objectWithoutProperties$1(props, _excluded$
|
|
319783
|
+
rest = _objectWithoutProperties$1(props, _excluded$34);
|
|
319635
319784
|
|
|
319636
319785
|
return /*#__PURE__*/React__default['default'].createElement(Tree$2, _objectSpread(_objectSpread({
|
|
319637
319786
|
ref: ref
|
|
@@ -320690,7 +320839,7 @@
|
|
|
320690
320839
|
}, unitNodes);
|
|
320691
320840
|
}
|
|
320692
320841
|
|
|
320693
|
-
var _excluded$
|
|
320842
|
+
var _excluded$35 = ["prefixCls", "count", "className", "motionClassName", "style", "title", "show", "component", "children"];
|
|
320694
320843
|
|
|
320695
320844
|
var ScrollNumber$1 = function ScrollNumber(_ref) {
|
|
320696
320845
|
var customizePrefixCls = _ref.prefixCls,
|
|
@@ -320703,7 +320852,7 @@
|
|
|
320703
320852
|
_ref$component = _ref.component,
|
|
320704
320853
|
component = _ref$component === void 0 ? 'sup' : _ref$component,
|
|
320705
320854
|
children = _ref.children,
|
|
320706
|
-
restProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
320855
|
+
restProps = _objectWithoutProperties$1(_ref, _excluded$35);
|
|
320707
320856
|
|
|
320708
320857
|
var _React$useContext = React.useContext(ConfigContext$1),
|
|
320709
320858
|
getPrefixCls = _React$useContext.getPrefixCls;
|
|
@@ -320753,7 +320902,7 @@
|
|
|
320753
320902
|
return /*#__PURE__*/React.createElement(component, newProps, numberNodes);
|
|
320754
320903
|
};
|
|
320755
320904
|
|
|
320756
|
-
var _excluded$
|
|
320905
|
+
var _excluded$36 = ["prefixCls", "scrollNumberPrefixCls", "children", "status", "text", "color", "count", "overflowCount", "dot", "size", "title", "offset", "style", "className", "showZero"];
|
|
320757
320906
|
|
|
320758
320907
|
var Badge$1 = function Badge(_ref) {
|
|
320759
320908
|
var _classNames, _classNames2;
|
|
@@ -320778,7 +320927,7 @@
|
|
|
320778
320927
|
className = _ref.className,
|
|
320779
320928
|
_ref$showZero = _ref.showZero,
|
|
320780
320929
|
showZero = _ref$showZero === void 0 ? false : _ref$showZero,
|
|
320781
|
-
restProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
320930
|
+
restProps = _objectWithoutProperties$1(_ref, _excluded$36);
|
|
320782
320931
|
|
|
320783
320932
|
var _React$useContext = React.useContext(ConfigContext$1),
|
|
320784
320933
|
getPrefixCls = _React$useContext.getPrefixCls,
|
|
@@ -320913,7 +321062,7 @@
|
|
|
320913
321062
|
|
|
320914
321063
|
Badge$1.Ribbon = Ribbon$1;
|
|
320915
321064
|
|
|
320916
|
-
var _excluded$
|
|
321065
|
+
var _excluded$37 = ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"];
|
|
320917
321066
|
|
|
320918
321067
|
var Divider$5 = function Divider(props) {
|
|
320919
321068
|
var _classNames;
|
|
@@ -320932,7 +321081,7 @@
|
|
|
320932
321081
|
children = props.children,
|
|
320933
321082
|
dashed = props.dashed,
|
|
320934
321083
|
plain = props.plain,
|
|
320935
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
321084
|
+
restProps = _objectWithoutProperties$1(props, _excluded$37);
|
|
320936
321085
|
|
|
320937
321086
|
var prefixCls = getPrefixCls('divider', customizePrefixCls);
|
|
320938
321087
|
var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation;
|
|
@@ -323448,14 +323597,14 @@
|
|
|
323448
323597
|
|
|
323449
323598
|
var Body$1 = /*#__PURE__*/React__default['default'].memo(Index$b);
|
|
323450
323599
|
|
|
323451
|
-
var _excluded$
|
|
323600
|
+
var _excluded$38 = ["value", "onChange", "leftIcon", "rightIcon"];
|
|
323452
323601
|
|
|
323453
323602
|
var ResetSlider = function ResetSlider(_ref) {
|
|
323454
323603
|
var value = _ref.value,
|
|
323455
323604
|
_onChange = _ref.onChange,
|
|
323456
323605
|
leftIcon = _ref.leftIcon,
|
|
323457
323606
|
rightIcon = _ref.rightIcon,
|
|
323458
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
323607
|
+
props = _objectWithoutProperties$1(_ref, _excluded$38);
|
|
323459
323608
|
|
|
323460
323609
|
// 减
|
|
323461
323610
|
var decrement = function decrement() {
|
|
@@ -324235,7 +324384,7 @@
|
|
|
324235
324384
|
exports.Tooltip = Tooltip$4;
|
|
324236
324385
|
exports.Transfer = Transfer;
|
|
324237
324386
|
exports.Tree = LmTree;
|
|
324238
|
-
exports.TreeSelect =
|
|
324387
|
+
exports.TreeSelect = LMTreeSelect;
|
|
324239
324388
|
exports.Typography = Typography$3;
|
|
324240
324389
|
exports.Upload = LMUpload;
|
|
324241
324390
|
exports.UploadOss = UploadOss;
|