@wx-design/components 0.2.4 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wx-design/components",
3
- "version": "0.2.4",
3
+ "version": "0.3.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -1,4 +1,4 @@
1
- import { VxeTableProps, VxeTableDataRow } from "vxe-table";
1
+ import { VxeTableProps, VxeTableDataRow, VxeTableInstance } from "vxe-table";
2
2
  import { SabColumnProps, SabPopoverParams } from "./";
3
3
 
4
4
  export type SabTableProps<D = VxeTableDataRow> = VxeTableProps<D> & {
@@ -34,4 +34,10 @@ export interface TableSlots {
34
34
  * 表格底部插槽
35
35
  */
36
36
  tableFooter?: () => any;
37
- }
37
+ }
38
+
39
+ // sab table 实例
40
+ export interface SabTableInstance<D = VxeTableDataRow> {
41
+ // 获取vxe-table实例
42
+ getInstance(): VxeTableInstance<D>;
43
+ }