@ttkj/avue 2.11.3 → 2.11.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttkj/avue",
3
- "version": "2.11.3",
3
+ "version": "2.11.4",
4
4
  "description": "A Magic Configurable Web Framework",
5
5
  "main": "lib/avue.min.js",
6
6
  "unpkg": "lib/avue.min.js",
@@ -5,7 +5,8 @@ import { ElForm } from 'element-ui/types/form';
5
5
  import { ElTable } from 'element-ui/types/element-ui';
6
6
  import { ElUploadInternalRawFile } from 'element-ui/types/upload';
7
7
 
8
- import { AvueComponent, Obj, DicProps } from '../global';
8
+ import { AvueComponent, Obj } from '../global';
9
+ import { DicProps } from '../variable';
9
10
  import { CrudOption } from './option';
10
11
  import { AvueCrudColumn } from './column';
11
12
  import { AvueCrudHeaderSearch } from './refs/header-search';
@@ -104,7 +105,7 @@ export declare class AvueCrud<T = Obj, S = Partial<T>> extends AvueComponent {
104
105
  /** 自定义的合计计算方法 */
105
106
  summaryMethod: (param: SummaryMethodParams) => any[];
106
107
  /** 表格等待框的控制 */
107
- tableLoading = false;
108
+ tableLoading: boolean;
108
109
  /**
109
110
  * 文件上传前的回调,会暂停文件上传
110
111
  * @param file 上传的文件
@@ -211,8 +212,17 @@ export declare class AvueCrud<T = Obj, S = Partial<T>> extends AvueComponent {
211
212
  * @param {object} [row] 需要高亮的行
212
213
  */
213
214
  setCurrentRow(row?: T): void;
214
- /** 用于多选表格,清空用户的选择 */
215
+ /**
216
+ * 用于多选表格,清空用户的选择
217
+ * @deprecated 2.10.10
218
+ */
215
219
  selectClear(): void;
220
+ /**
221
+ * 用于多选表格,清空用户的选择
222
+ * @description 清空选择,并通过@selection-clear返回被清空的数据
223
+ * @since 2.10.10
224
+ */
225
+ clearSelection(): void;
216
226
  /** 清空搜索栏目的值 */
217
227
  searchReset(): void;
218
228
  /**