@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/es/core/Table/hooks/index.d.ts +1 -0
- package/es/core/Table/hooks/useSabTable.d.ts +4 -6
- package/es/core/Table/index.d.ts +1 -0
- package/es/index.mjs +283 -273
- package/es/style.css +1 -1
- package/lib/core/Table/hooks/index.d.ts +1 -0
- package/lib/core/Table/hooks/useSabTable.d.ts +4 -6
- package/lib/core/Table/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/types/table/table.d.ts +8 -2
package/package.json
CHANGED
package/types/table/table.d.ts
CHANGED
|
@@ -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
|
+
}
|