linkmore-design 1.1.13-alpha.5 → 1.1.13-alpha.7

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/dist/LmEditTable/EditTable.d.ts +1 -1
  3. package/dist/index.umd.js +192 -61
  4. package/dist/index.umd.min.js +2 -2
  5. package/dist/variables.css +29 -9
  6. package/es/LmEditTable/EditTable.d.ts +1 -1
  7. package/es/LmEditTable/EditTable.js +100 -31
  8. package/es/LmEditTable/sortableItemCol.js +38 -13
  9. package/es/LmEditTable/style/index.css +6 -0
  10. package/es/LmEditTable/style/variables.css +6 -0
  11. package/es/LmEditTable/util.js +23 -7
  12. package/es/LmFilter/style/index.css +6 -9
  13. package/es/LmFilter/style/variables.css +6 -9
  14. package/es/LmTable/Table.js +14 -8
  15. package/es/LmUpload/UploadList/ItemPicture.js +2 -1
  16. package/es/LmUpload/UploadList/ItemPictureCard.js +11 -2
  17. package/es/LmUpload/UploadList/ItemText.js +2 -1
  18. package/es/LmUpload/UploadList/index.js +2 -1
  19. package/es/LmUpload/body/UploadCore.js +4 -1
  20. package/es/LmUpload/style/index.css +17 -0
  21. package/es/LmUpload/style/variables.css +17 -0
  22. package/es/TreeSelect/index.js +2 -1
  23. package/es/styles/variables.css +29 -9
  24. package/lib/LmEditTable/EditTable.d.ts +1 -1
  25. package/lib/LmEditTable/EditTable.js +99 -30
  26. package/lib/LmEditTable/sortableItemCol.js +34 -11
  27. package/lib/LmEditTable/style/index.css +6 -0
  28. package/lib/LmEditTable/style/variables.css +6 -0
  29. package/lib/LmEditTable/util.js +22 -6
  30. package/lib/LmFilter/style/index.css +6 -9
  31. package/lib/LmFilter/style/variables.css +6 -9
  32. package/lib/LmTable/Table.js +14 -8
  33. package/lib/LmUpload/UploadList/ItemPicture.js +2 -1
  34. package/lib/LmUpload/UploadList/ItemPictureCard.js +11 -2
  35. package/lib/LmUpload/UploadList/ItemText.js +2 -1
  36. package/lib/LmUpload/UploadList/index.js +2 -1
  37. package/lib/LmUpload/body/UploadCore.js +5 -1
  38. package/lib/LmUpload/style/index.css +17 -0
  39. package/lib/LmUpload/style/variables.css +17 -0
  40. package/lib/TreeSelect/index.js +2 -1
  41. package/lib/styles/variables.css +29 -9
  42. package/package.json +1 -1
@@ -84,7 +84,7 @@ function getExpandStatus(children) {
84
84
  }
85
85
 
86
86
  function checkMemoShouldUploadSpecialFun(prev, next) {
87
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
87
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
88
88
 
89
89
  var checkExpandStatus = getExpandStatus(prev.children) === getExpandStatus(next.children);
90
90
 
@@ -98,9 +98,14 @@ function checkMemoShouldUploadSpecialFun(prev, next) {
98
98
 
99
99
  if (((prevCol === null || prevCol === void 0 ? void 0 : prevCol.render) || (nextCol === null || nextCol === void 0 ? void 0 : nextCol.render)) && !(0, _lodash.isEqual)((0, _lodash.pick)(prev, ['colIndex', 'record', 'children']), (0, _lodash.pick)(next, ['colIndex', 'record', 'children']))) {
100
100
  return false;
101
+ } // console.log(22, prevCol?.editable === 'render', nextCol?.editable === 'render', prevCol?.componentProps, prevCol?.componentProps)
102
+
103
+
104
+ if (((prevCol === null || prevCol === void 0 ? void 0 : prevCol.editable) === 'render' || (nextCol === null || nextCol === void 0 ? void 0 : nextCol.editable) === 'render') && (((_a = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _a === void 0 ? void 0 : _a.render) || ((_b = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _b === void 0 ? void 0 : _b.render)) && !(0, _lodash.isEqual)((0, _lodash.omit)(prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps, ['render']), (0, _lodash.omit)(nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps, ['render']))) {
105
+ return false;
101
106
  }
102
107
 
103
- if (((prevCol === null || prevCol === void 0 ? void 0 : prevCol.editable) === 'render' || (nextCol === null || nextCol === void 0 ? void 0 : nextCol.editable) === 'render') && (((_a = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _a === void 0 ? void 0 : _a.render) || ((_b = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _b === void 0 ? void 0 : _b.render)) && !(0, _lodash.isEqual)((0, _lodash.pick)(prev, ['colIndex', 'record', 'rowIndex']), (0, _lodash.pick)(next, ['colIndex', 'record', 'rowIndex']))) {
108
+ if (((prevCol === null || prevCol === void 0 ? void 0 : prevCol.editable) === 'render' || (nextCol === null || nextCol === void 0 ? void 0 : nextCol.editable) === 'render') && (((_c = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _c === void 0 ? void 0 : _c.render) || ((_d = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _d === void 0 ? void 0 : _d.render)) && !(0, _lodash.isEqual)((0, _lodash.pick)(prev, ['colIndex', 'record', 'rowIndex']), (0, _lodash.pick)(next, ['colIndex', 'record', 'rowIndex']))) {
104
109
  return false;
105
110
  }
106
111
 
@@ -108,8 +113,15 @@ function checkMemoShouldUploadSpecialFun(prev, next) {
108
113
  return false;
109
114
  }
110
115
 
111
- if ((((_c = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _c === void 0 ? void 0 : _c.optionOnly) || ((_d = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _d === void 0 ? void 0 : _d.optionOnly)) && !(0, _lodash.isEqual)((_e = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _e === void 0 ? void 0 : _e.options, (_f = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _f === void 0 ? void 0 : _f.options)) {
112
- // return isEqual(prevCol?.componentProps?.options, nextCol?.componentProps?.options)
116
+ if ((((_e = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _e === void 0 ? void 0 : _e.optionOnly) || ((_f = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _f === void 0 ? void 0 : _f.optionOnly)) && !(0, _lodash.isEqual)((_g = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _g === void 0 ? void 0 : _g.options, (_h = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _h === void 0 ? void 0 : _h.options)) {
117
+ return false;
118
+ }
119
+
120
+ if ((((_j = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _j === void 0 ? void 0 : _j.options) || ((_k = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _k === void 0 ? void 0 : _k.options)) && !(0, _lodash.isEqual)((_l = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _l === void 0 ? void 0 : _l.options, (_m = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _m === void 0 ? void 0 : _m.options)) {
121
+ return false;
122
+ }
123
+
124
+ if (((0, _lodash.isFunction)(prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) || (0, _lodash.isFunction)(nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps)) && !(0, _lodash.isEqual)(prevCol.newOptions, nextCol.newOptions) && !(0, _lodash.isEqual)(prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps, nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps)) {
113
125
  return false;
114
126
  }
115
127
 
@@ -118,13 +130,17 @@ function checkMemoShouldUploadSpecialFun(prev, next) {
118
130
  return false;
119
131
  }
120
132
 
133
+ if (next.className.indexOf('drag-visible') > -1) {
134
+ return (0, _lodash.isEqual)(prev.style, next.style);
135
+ }
136
+
121
137
  if (next.className.indexOf('ant-table-selection-column') > -1) {
122
- return (0, _lodash.isEqual)((_h = (_g = prev.children) === null || _g === void 0 ? void 0 : _g[1]) === null || _h === void 0 ? void 0 : _h.props, (_k = (_j = next.children) === null || _j === void 0 ? void 0 : _j[1]) === null || _k === void 0 ? void 0 : _k.props);
138
+ return (0, _lodash.isEqual)((_p = (_o = prev.children) === null || _o === void 0 ? void 0 : _o[1]) === null || _p === void 0 ? void 0 : _p.props, (_r = (_q = next.children) === null || _q === void 0 ? void 0 : _q[1]) === null || _r === void 0 ? void 0 : _r.props);
123
139
  }
124
140
  /** 如果启用了快速复制功能,需要实时判断rowIndex与getLength */
125
141
 
126
142
 
127
- if (((_l = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _l === void 0 ? void 0 : _l.quickcopy) || ((_m = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _m === void 0 ? void 0 : _m.quickcopy)) {
143
+ if (((_s = prevCol === null || prevCol === void 0 ? void 0 : prevCol.componentProps) === null || _s === void 0 ? void 0 : _s.quickcopy) || ((_t = nextCol === null || nextCol === void 0 ? void 0 : nextCol.componentProps) === null || _t === void 0 ? void 0 : _t.quickcopy)) {
128
144
  var pickProps = ['record', 'colIndex', 'rowIndex', 'getLength'];
129
145
  var p = (0, _lodash.pick)(prev, pickProps);
130
146
  var n = (0, _lodash.pick)(next, pickProps);
@@ -110,15 +110,6 @@
110
110
  }
111
111
  .lm_filter_basic_item .filter_item_icon .icon_clear {
112
112
  display: none;
113
- opacity: 0;
114
- }
115
- .lm_filter_basic_item .filter_item_icon:hover .icon_down {
116
- display: none;
117
- opacity: 0;
118
- }
119
- .lm_filter_basic_item .filter_item_icon:hover .icon_clear {
120
- display: inline-block;
121
- opacity: 1;
122
113
  }
123
114
  .lm_filter_basic_item.expand .filter_item_icon.addon_after {
124
115
  transform: rotateX(180deg);
@@ -133,6 +124,12 @@
133
124
  .lm_filter_basic_item.active.lm_filter_complex_item .filter_item_label {
134
125
  color: var(--primary-color);
135
126
  }
127
+ .lm_filter_basic_item.active:hover .icon_down {
128
+ display: none;
129
+ }
130
+ .lm_filter_basic_item.active:hover .icon_clear {
131
+ display: inline-block;
132
+ }
136
133
  .ant-dropdown.filter_dropdown_container_cascader > div {
137
134
  transform: translateY(-4px);
138
135
  }
@@ -110,15 +110,6 @@
110
110
  }
111
111
  .lm_filter_basic_item .filter_item_icon .icon_clear {
112
112
  display: none;
113
- opacity: 0;
114
- }
115
- .lm_filter_basic_item .filter_item_icon:hover .icon_down {
116
- display: none;
117
- opacity: 0;
118
- }
119
- .lm_filter_basic_item .filter_item_icon:hover .icon_clear {
120
- display: inline-block;
121
- opacity: 1;
122
113
  }
123
114
  .lm_filter_basic_item.expand .filter_item_icon.addon_after {
124
115
  transform: rotateX(180deg);
@@ -133,6 +124,12 @@
133
124
  .lm_filter_basic_item.active.lm_filter_complex_item .filter_item_label {
134
125
  color: var(--primary-color);
135
126
  }
127
+ .lm_filter_basic_item.active:hover .icon_down {
128
+ display: none;
129
+ }
130
+ .lm_filter_basic_item.active:hover .icon_clear {
131
+ display: inline-block;
132
+ }
136
133
  .ant-dropdown.filter_dropdown_container_cascader > div {
137
134
  transform: translateY(-4px);
138
135
  }
@@ -1086,13 +1086,19 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
1086
1086
  var selectedRows = useSelectedRows.selectedRows;
1087
1087
 
1088
1088
  if (tableRowType === 'select' || tableRowType === 'default' && selectedRows.length) {
1089
- var selectIndex = selectedRows === null || selectedRows === void 0 ? void 0 : selectedRows.findIndex(function (v) {
1090
- return (0, _lodash.isObject)(v) ? v[rowKey] === record[rowKey] : v === record[rowKey];
1091
- });
1092
- selectIndex >= 0 ? selectedRows.splice(selectIndex, 1) : selectedRows.push((0, _lodash.isObject)(selectedRows[0]) || !selectedRows.length ? record : record[rowKey]);
1093
- setSelectedRows({
1094
- selectedRows: (0, _lodash.cloneDeep)(selectedRows)
1095
- }); // rowClick?.(selectedRows)
1089
+ if ((rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.type) === 'radio') {
1090
+ setSelectedRows({
1091
+ selectedRows: [(0, _lodash.isObject)(selectedRows[0]) || !selectedRows.length ? record : record[rowKey]]
1092
+ });
1093
+ } else {
1094
+ var selectIndex = selectedRows === null || selectedRows === void 0 ? void 0 : selectedRows.findIndex(function (v) {
1095
+ return (0, _lodash.isObject)(v) ? v[rowKey] === record[rowKey] : v === record[rowKey];
1096
+ });
1097
+ selectIndex >= 0 ? selectedRows.splice(selectIndex, 1) : selectedRows.push((0, _lodash.isObject)(selectedRows[0]) || !selectedRows.length ? record : record[rowKey]);
1098
+ setSelectedRows({
1099
+ selectedRows: (0, _lodash.cloneDeep)(selectedRows)
1100
+ });
1101
+ }
1096
1102
  }
1097
1103
  } else {
1098
1104
  rowClick === null || rowClick === void 0 ? void 0 : rowClick(record);
@@ -1176,7 +1182,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
1176
1182
  }); // rowClick?.(reulstSelect)
1177
1183
  } : undefined,
1178
1184
  onSelect: (rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.selectedRows) ? function (record, selected) {
1179
- var reulstSelect = selected ? (0, _lodash.uniqBy)([].concat((0, _toConsumableArray2.default)(rowSelection.selectedRows), [record]), rowKey) : rowSelection.selectedRows.filter(function (item) {
1185
+ var reulstSelect = rowSelection.type === 'radio' ? [record] : selected ? (0, _lodash.uniqBy)([].concat((0, _toConsumableArray2.default)(rowSelection.selectedRows), [record]), rowKey) : rowSelection.selectedRows.filter(function (item) {
1180
1186
  return item[rowKey] !== record[rowKey];
1181
1187
  });
1182
1188
  setSelectedRows({
@@ -20,6 +20,7 @@ var PictureItem = function PictureItem(_ref) {
20
20
  var file = _ref.file,
21
21
  instance = _ref.instance;
22
22
  var readOnly = instance.readOnly,
23
+ disabled = instance.disabled,
23
24
  remove = instance.remove,
24
25
  preview = instance.preview,
25
26
  download = instance.download,
@@ -41,7 +42,7 @@ var PictureItem = function PictureItem(_ref) {
41
42
  onClick: function onClick() {
42
43
  return download(file);
43
44
  }
44
- }, file[fileNames.fileName])), !readOnly && /*#__PURE__*/React.createElement("div", {
45
+ }, file[fileNames.fileName])), !readOnly && !disabled && /*#__PURE__*/React.createElement("div", {
45
46
  className: "picture_right lm_upload_item_action"
46
47
  }, /*#__PURE__*/React.createElement("div", {
47
48
  className: "action_delete",
@@ -81,6 +81,7 @@ var PictureItem = function PictureItem(_ref) {
81
81
  instance = _ref.instance,
82
82
  listeners = _ref.listeners;
83
83
  var dispatch = instance.dispatch,
84
+ disabled = instance.disabled,
84
85
  readOnly = instance.readOnly,
85
86
  size = instance.size,
86
87
  remove = instance.remove,
@@ -154,7 +155,15 @@ var PictureItem = function PictureItem(_ref) {
154
155
  })), /*#__PURE__*/_react.default.createElement("div", {
155
156
  className: "lm_upload_item_mask"
156
157
  }, /*#__PURE__*/_react.default.createElement("div", {
157
- className: "lm_upload_item_action"
158
+ className: "lm_upload_item_action",
159
+ onKeyDown: function onKeyDown(e) {
160
+ e.stopPropagation();
161
+ e.preventDefault();
162
+ },
163
+ onPointerDown: function onPointerDown(e) {
164
+ e.stopPropagation();
165
+ e.preventDefault();
166
+ }
158
167
  }, /*#__PURE__*/_react.default.createElement("div", {
159
168
  className: "action_preview",
160
169
  onClick: handlePreview
@@ -163,7 +172,7 @@ var PictureItem = function PictureItem(_ref) {
163
172
  style: {
164
173
  fontSize: resetSize.fontSize
165
174
  }
166
- })), !readOnly && /*#__PURE__*/_react.default.createElement("div", {
175
+ })), !readOnly && !disabled && /*#__PURE__*/_react.default.createElement("div", {
167
176
  className: "action_delete",
168
177
  onClick: function onClick() {
169
178
  return remove(file);
@@ -19,6 +19,7 @@ var TextItem = function TextItem(_ref) {
19
19
  var file = _ref.file,
20
20
  instance = _ref.instance;
21
21
  var readOnly = instance.readOnly,
22
+ disabled = instance.disabled,
22
23
  remove = instance.remove,
23
24
  download = instance.download,
24
25
  fileNames = instance.fileNames;
@@ -35,7 +36,7 @@ var TextItem = function TextItem(_ref) {
35
36
  onClick: function onClick() {
36
37
  return download(file);
37
38
  }
38
- }, file[fileNames.fileName])), !readOnly && /*#__PURE__*/React.createElement("div", {
39
+ }, file[fileNames.fileName])), !readOnly && !disabled && /*#__PURE__*/React.createElement("div", {
39
40
  className: "text_right lm_upload_item_text_action"
40
41
  }, /*#__PURE__*/React.createElement("div", {
41
42
  className: "action_delete",
@@ -25,6 +25,7 @@ var LmUploadList = function LmUploadList(_ref) {
25
25
  itemRender = instance.itemRender,
26
26
  listType = instance.listType,
27
27
  showUploadList = instance.showUploadList,
28
+ disabled = instance.disabled,
28
29
  enableDrag = instance.enableDrag,
29
30
  fileNames = instance.fileNames,
30
31
  move = instance.move;
@@ -60,7 +61,7 @@ var LmUploadList = function LmUploadList(_ref) {
60
61
  }
61
62
  };
62
63
 
63
- if (enableDrag) {
64
+ if (!disabled && enableDrag) {
64
65
  return /*#__PURE__*/_react.default.createElement(_linkmoreDesign.LmDrag, {
65
66
  options: fileList,
66
67
  rowKey: uid,
@@ -11,6 +11,8 @@ exports.default = void 0;
11
11
 
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
 
14
+ var _classnames = _interopRequireDefault(require("classnames"));
15
+
14
16
  var _UploadPicture = _interopRequireDefault(require("./UploadPicture"));
15
17
 
16
18
  // 上传核心
@@ -24,6 +26,7 @@ var UploadCore = function UploadCore(_ref) {
24
26
  var inputRef = _react.default.useRef(null);
25
27
 
26
28
  var accept = instance.accept,
29
+ disabled = instance.disabled,
27
30
  children = instance.children,
28
31
  beforeUpload = instance.beforeUpload,
29
32
  getUploadStatus = instance.getUploadStatus,
@@ -32,6 +35,7 @@ var UploadCore = function UploadCore(_ref) {
32
35
  var handleClick = (0, _react.useCallback)(function () {
33
36
  var _a;
34
37
 
38
+ if (disabled) return;
35
39
  var isUploading = getUploadStatus().uploading;
36
40
  if (isUploading) return;
37
41
  (_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.click();
@@ -57,7 +61,7 @@ var UploadCore = function UploadCore(_ref) {
57
61
  };
58
62
  return !getIsMaxCount() && /*#__PURE__*/_react.default.createElement("div", {
59
63
  onClick: handleClick,
60
- className: "lm_upload_core"
64
+ className: (0, _classnames.default)('lm_upload_core', disabled && 'disabled')
61
65
  }, children || /*#__PURE__*/_react.default.createElement(_UploadPicture.default, {
62
66
  instance: instance
63
67
  }), /*#__PURE__*/_react.default.createElement("input", Object.assign({
@@ -122,6 +122,7 @@
122
122
  gap: 8px;
123
123
  }
124
124
  .lm_upload_wrapper .lm_upload_core {
125
+ position: relative;
125
126
  display: inline-flex;
126
127
  vertical-align: middle;
127
128
  }
@@ -136,6 +137,12 @@
136
137
  cursor: pointer;
137
138
  transition: all 0.3s;
138
139
  }
140
+ .lm_upload_wrapper .lm_upload_core .lm_upload_core_picture::after {
141
+ position: absolute;
142
+ background-color: var(--disabled-bg-color);
143
+ cursor: not-allowed;
144
+ inset: 0;
145
+ }
139
146
  .lm_upload_wrapper .lm_upload_core .lm_upload_core_picture:hover {
140
147
  border-color: var(--primary-color);
141
148
  }
@@ -151,6 +158,16 @@
151
158
  margin-top: var(--gap);
152
159
  color: var(--color-45);
153
160
  }
161
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture {
162
+ border-color: var(--disabled-border-color);
163
+ }
164
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture::after {
165
+ content: '';
166
+ }
167
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture .lm_upload_core_picture_action .action_plus,
168
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture .lm_upload_core_picture_action .tip {
169
+ color: var(--disabled-font-color);
170
+ }
154
171
  .lm_upload_wrapper .lm_upload_progress {
155
172
  width: 100%;
156
173
  height: 2px;
@@ -122,6 +122,7 @@
122
122
  gap: 8px;
123
123
  }
124
124
  .lm_upload_wrapper .lm_upload_core {
125
+ position: relative;
125
126
  display: inline-flex;
126
127
  vertical-align: middle;
127
128
  }
@@ -136,6 +137,12 @@
136
137
  cursor: pointer;
137
138
  transition: all 0.3s;
138
139
  }
140
+ .lm_upload_wrapper .lm_upload_core .lm_upload_core_picture::after {
141
+ position: absolute;
142
+ background-color: var(--disabled-bg-color);
143
+ cursor: not-allowed;
144
+ inset: 0;
145
+ }
139
146
  .lm_upload_wrapper .lm_upload_core .lm_upload_core_picture:hover {
140
147
  border-color: var(--primary-color);
141
148
  }
@@ -151,6 +158,16 @@
151
158
  margin-top: var(--gap);
152
159
  color: var(--color-45);
153
160
  }
161
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture {
162
+ border-color: var(--disabled-border-color);
163
+ }
164
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture::after {
165
+ content: '';
166
+ }
167
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture .lm_upload_core_picture_action .action_plus,
168
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture .lm_upload_core_picture_action .tip {
169
+ color: var(--disabled-font-color);
170
+ }
154
171
  .lm_upload_wrapper .lm_upload_progress {
155
172
  width: 100%;
156
173
  height: 2px;
@@ -101,7 +101,8 @@ var CLMTreeSelect = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
101
101
  className: 'lm_tree_select',
102
102
  value: resetValue,
103
103
  size: mergeSize,
104
- disabled: mergedDisabled
104
+ disabled: mergedDisabled,
105
+ treeData: treeData
105
106
  }, resetProps), children);
106
107
  });
107
108
  var LMTreeSelect = CLMTreeSelect;
@@ -9813,6 +9813,12 @@ p {
9813
9813
  padding-left: 8px;
9814
9814
  padding-right: 8px;
9815
9815
  }
9816
+ .lm_editTable_warpper .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
9817
+ background-color: rgba(0, 0, 0, 0.06) !important;
9818
+ }
9819
+ .lm_editTable_warpper .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
9820
+ background-color: rgba(0, 0, 0, 0.06) !important;
9821
+ }
9816
9822
  .lm_editTable_warpper .ant-picker {
9817
9823
  height: 24px !important;
9818
9824
  padding: 2px 8px;
@@ -9968,15 +9974,6 @@ p {
9968
9974
  }
9969
9975
  .lm_filter_basic_item .filter_item_icon .icon_clear {
9970
9976
  display: none;
9971
- opacity: 0;
9972
- }
9973
- .lm_filter_basic_item .filter_item_icon:hover .icon_down {
9974
- display: none;
9975
- opacity: 0;
9976
- }
9977
- .lm_filter_basic_item .filter_item_icon:hover .icon_clear {
9978
- display: inline-block;
9979
- opacity: 1;
9980
9977
  }
9981
9978
  .lm_filter_basic_item.expand .filter_item_icon.addon_after {
9982
9979
  transform: rotateX(180deg);
@@ -9991,6 +9988,12 @@ p {
9991
9988
  .lm_filter_basic_item.active.lm_filter_complex_item .filter_item_label {
9992
9989
  color: var(--primary-color);
9993
9990
  }
9991
+ .lm_filter_basic_item.active:hover .icon_down {
9992
+ display: none;
9993
+ }
9994
+ .lm_filter_basic_item.active:hover .icon_clear {
9995
+ display: inline-block;
9996
+ }
9994
9997
  .ant-dropdown.filter_dropdown_container_cascader > div {
9995
9998
  transform: translateY(-4px);
9996
9999
  }
@@ -11909,6 +11912,7 @@ button.ant-table-row-expand-icon::after {
11909
11912
  gap: 8px;
11910
11913
  }
11911
11914
  .lm_upload_wrapper .lm_upload_core {
11915
+ position: relative;
11912
11916
  display: inline-flex;
11913
11917
  vertical-align: middle;
11914
11918
  }
@@ -11923,6 +11927,12 @@ button.ant-table-row-expand-icon::after {
11923
11927
  cursor: pointer;
11924
11928
  transition: all 0.3s;
11925
11929
  }
11930
+ .lm_upload_wrapper .lm_upload_core .lm_upload_core_picture::after {
11931
+ position: absolute;
11932
+ background-color: var(--disabled-bg-color);
11933
+ cursor: not-allowed;
11934
+ inset: 0;
11935
+ }
11926
11936
  .lm_upload_wrapper .lm_upload_core .lm_upload_core_picture:hover {
11927
11937
  border-color: var(--primary-color);
11928
11938
  }
@@ -11938,6 +11948,16 @@ button.ant-table-row-expand-icon::after {
11938
11948
  margin-top: var(--gap);
11939
11949
  color: var(--color-45);
11940
11950
  }
11951
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture {
11952
+ border-color: var(--disabled-border-color);
11953
+ }
11954
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture::after {
11955
+ content: '';
11956
+ }
11957
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture .lm_upload_core_picture_action .action_plus,
11958
+ .lm_upload_wrapper .lm_upload_core.disabled .lm_upload_core_picture .lm_upload_core_picture_action .tip {
11959
+ color: var(--disabled-font-color);
11960
+ }
11941
11961
  .lm_upload_wrapper .lm_upload_progress {
11942
11962
  width: 100%;
11943
11963
  height: 2px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkmore-design",
3
- "version": "1.1.13-alpha.5",
3
+ "version": "1.1.13-alpha.7",
4
4
  "author": {
5
5
  "name": "nowthen",
6
6
  "email": "rnlvwyx@gmail.com"