1 | import { VXEComponent } from '../component'
|
2 | import { VxeTableDefines, VxeTableDataRow } from '../table'
|
3 | import { VxeColumnPropTypes } from '../column'
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export const VxeTableCustomModule: VXEComponent<{ [key: string]: any }>
|
11 |
|
12 |
|
13 |
|
14 | export const Custom: VXEComponent<{ [key: string]: any }>
|
15 |
|
16 | export interface VxeCustomPanel {
|
17 | }
|
18 |
|
19 | export interface TableCustomMethods<D = VxeTableDataRow> {
|
20 | |
21 |
|
22 |
|
23 | openCustom(): Promise<void>
|
24 | |
25 |
|
26 |
|
27 | closeCustom(): Promise<void>
|
28 | }
|
29 |
|
30 | export interface TableCustomPrivateMethods<D = VxeTableDataRow> {
|
31 | checkCustomStatus(): void
|
32 | emitCustomEvent(type: string, evnt: Event): void
|
33 | triggerCustomEvent(evnt: MouseEvent): void
|
34 | customOpenEvent (evnt: Event): void
|
35 | customColseEvent (evnt: Event): void
|
36 | }
|
37 |
|
38 | declare module '../grid' {
|
39 | export interface VxeGridMethods<D = VxeTableDataRow> extends TableCustomMethods<D> { }
|
40 | }
|
41 |
|
42 | declare module '../table' {
|
43 | export interface VxeTableMethods<D = VxeTableDataRow> extends TableCustomMethods<D> { }
|
44 | export interface VxeTablePrivateMethods<D = VxeTableDataRow> extends TableCustomPrivateMethods<D> { }
|
45 | }
|