@gx-design-vue/pro-table 0.2.0-beta.68 → 0.2.0-beta.69
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/ProTable.d.ts +16 -2
- package/dist/hooks/usePagination.d.ts +4 -0
- package/dist/pro-table.js +916 -897
- package/dist/pro-table.umd.cjs +1 -1
- package/dist/types/TableTypings.d.ts +2 -1
- package/package.json +1 -1
package/dist/ProTable.d.ts
CHANGED
|
@@ -281,7 +281,14 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
281
281
|
};
|
|
282
282
|
scroll: {
|
|
283
283
|
type: import("vue").PropType<import("ant-design-vue/es/vc-table/Table").TableProps["scroll"] & {
|
|
284
|
-
scrollToFirstRowOnChange
|
|
284
|
+
scrollToFirstRowOnChange
|
|
285
|
+
/**
|
|
286
|
+
* @Author gx12358
|
|
287
|
+
* @DateTime 2022/1/21
|
|
288
|
+
* @lastTime 2022/1/21
|
|
289
|
+
* @description Tabel-scroll hooks 方法
|
|
290
|
+
*/
|
|
291
|
+
?: boolean;
|
|
285
292
|
}>;
|
|
286
293
|
default: undefined;
|
|
287
294
|
};
|
|
@@ -575,7 +582,14 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
575
582
|
};
|
|
576
583
|
scroll: {
|
|
577
584
|
type: import("vue").PropType<import("ant-design-vue/es/vc-table/Table").TableProps["scroll"] & {
|
|
578
|
-
scrollToFirstRowOnChange
|
|
585
|
+
scrollToFirstRowOnChange
|
|
586
|
+
/**
|
|
587
|
+
* @Author gx12358
|
|
588
|
+
* @DateTime 2022/1/21
|
|
589
|
+
* @lastTime 2022/1/21
|
|
590
|
+
* @description Tabel-scroll hooks 方法
|
|
591
|
+
*/
|
|
592
|
+
?: boolean;
|
|
579
593
|
}>;
|
|
580
594
|
default: undefined;
|
|
581
595
|
};
|
|
@@ -7,5 +7,9 @@ export declare function usePagination({ slots, props, pagination }: {
|
|
|
7
7
|
pagination: Ref<ProTableProps['pagination']>;
|
|
8
8
|
}): {
|
|
9
9
|
paginationInfo: Ref<ProTablePagination, ProTablePagination>;
|
|
10
|
+
requestPagination: {
|
|
11
|
+
pageSize: number;
|
|
12
|
+
pageNum: number;
|
|
13
|
+
};
|
|
10
14
|
setPagination: (info: Partial<ProTablePagination>) => void;
|
|
11
15
|
};
|