vxe-table 4.3.13 → 4.4.0-beta.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/README.md +1 -1
- package/es/form/src/form-config-item.js +7 -2
- package/es/form/src/form-item.js +7 -2
- package/es/grid/src/grid.js +1 -1
- package/es/icon/style.css +1 -1
- package/es/select/src/select.js +7 -3
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/body.js +4 -3
- package/es/table/src/table.js +6 -3
- package/es/tools/log.js +1 -1
- package/es/v-x-e-table/index.js +1 -1
- package/lib/form/src/form-config-item.js +7 -2
- package/lib/form/src/form-config-item.min.js +1 -1
- package/lib/form/src/form-item.js +7 -2
- package/lib/form/src/form-item.min.js +1 -1
- package/lib/grid/src/grid.js +1 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +32 -16
- package/lib/index.umd.min.js +1 -1
- package/lib/select/src/select.js +5 -3
- package/lib/select/src/select.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/body.js +4 -3
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/table.js +6 -3
- package/lib/table/src/table.min.js +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/package.json +1 -1
- package/packages/form/src/form-config-item.ts +7 -2
- package/packages/form/src/form-item.ts +7 -2
- package/packages/grid/src/grid.ts +4 -4
- package/packages/select/src/select.ts +7 -3
- package/packages/table/src/body.ts +4 -3
- package/packages/table/src/column.ts +3 -3
- package/packages/table/src/props.ts +3 -3
- package/packages/table/src/table.ts +10 -7
- package/types/column.d.ts +71 -72
- package/types/component.d.ts +1 -7
- package/types/edit.d.ts +22 -22
- package/types/filter.d.ts +3 -3
- package/types/grid.d.ts +258 -250
- package/types/plugins/pro.d.ts +275 -275
- package/types/select.d.ts +20 -1
- package/types/table.d.ts +667 -630
- package/types/toolbar.d.ts +1 -1
- package/types/v-x-e-table/menus.d.ts +10 -10
- package/types/v-x-e-table/renderer.d.ts +51 -43
- package/types/validator.d.ts +22 -21
- /package/es/icon/style/{iconfont.1683246853825.ttf → iconfont.1684467973646.ttf} +0 -0
- /package/es/icon/style/{iconfont.1683246853825.woff → iconfont.1684467973646.woff} +0 -0
- /package/es/icon/style/{iconfont.1683246853825.woff2 → iconfont.1684467973646.woff2} +0 -0
- /package/es/{iconfont.1683246853825.ttf → iconfont.1684467973646.ttf} +0 -0
- /package/es/{iconfont.1683246853825.woff → iconfont.1684467973646.woff} +0 -0
- /package/es/{iconfont.1683246853825.woff2 → iconfont.1684467973646.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1683246853825.ttf → iconfont.1684467973646.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1683246853825.woff → iconfont.1684467973646.woff} +0 -0
- /package/lib/icon/style/{iconfont.1683246853825.woff2 → iconfont.1684467973646.woff2} +0 -0
- /package/lib/{iconfont.1683246853825.ttf → iconfont.1684467973646.ttf} +0 -0
- /package/lib/{iconfont.1683246853825.woff → iconfont.1684467973646.woff} +0 -0
- /package/lib/{iconfont.1683246853825.woff2 → iconfont.1684467973646.woff2} +0 -0
package/types/grid.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { VxeFormItemProps } from './form-item'
|
|
|
4
4
|
import { VxeToolbarInstance, VxeToolbarProps, VxeToolbarPropTypes } from './toolbar'
|
|
5
5
|
import { VxePagerInstance, VxePagerProps, VxePagerDefines } from './pager'
|
|
6
6
|
import { VXEComponent, VxeComponentBase, VxeEvent, SizeType, ValueOf, SlotVNodeType } from './component'
|
|
7
|
-
import { VxeTableDefines, VxeTableEmits, VxeTableConstructor, VxeTableProps, TablePublicMethods, VxeTableMethods, VxeTablePrivateMethods } from './table'
|
|
7
|
+
import { VxeTableDataRow, VxeTableDefines, VxeTableEmits, VxeTableConstructor, VxeTableProps, TablePublicMethods, VxeTableMethods, VxeTablePrivateMethods } from './table'
|
|
8
8
|
|
|
9
9
|
/* eslint-disable no-use-before-define */
|
|
10
10
|
|
|
@@ -12,32 +12,32 @@ import { VxeTableDefines, VxeTableEmits, VxeTableConstructor, VxeTableProps, Tab
|
|
|
12
12
|
* 组件 - 高级表格
|
|
13
13
|
* @example import { VxeGrid } from 'vxe-table'
|
|
14
14
|
*/
|
|
15
|
-
export const VxeGrid: VXEComponent<VxeGridProps
|
|
15
|
+
export const VxeGrid: VXEComponent<VxeGridProps<any>, VxeGridEventProps<any>>
|
|
16
16
|
/**
|
|
17
17
|
* 组件 - 高级表格
|
|
18
18
|
*/
|
|
19
|
-
export const Grid: VXEComponent<VxeGridProps
|
|
19
|
+
export const Grid: VXEComponent<VxeGridProps<any>, VxeGridEventProps<any>>
|
|
20
20
|
|
|
21
|
-
export type VxeGridInstance = ComponentPublicInstance<VxeGridProps
|
|
21
|
+
export type VxeGridInstance<D = any> = ComponentPublicInstance<VxeGridProps<D>, VxeGridConstructor<D>>
|
|
22
22
|
|
|
23
|
-
export interface VxeGridConstructor extends VxeComponentBase, VxeGridMethods {
|
|
24
|
-
props: Readonly<VxeGridProps
|
|
23
|
+
export interface VxeGridConstructor<D = any> extends VxeComponentBase, VxeGridMethods<D> {
|
|
24
|
+
props: Readonly<VxeGridProps<D>>
|
|
25
25
|
context: SetupContext<VxeGridEmits>
|
|
26
26
|
instance: ComponentInternalInstance
|
|
27
|
-
reactData: GridReactData
|
|
28
|
-
getRefMaps(): GridPrivateRef
|
|
27
|
+
reactData: GridReactData<D>
|
|
28
|
+
getRefMaps(): GridPrivateRef<D>
|
|
29
29
|
getComputeMaps(): GridPrivateComputed
|
|
30
30
|
renderVN: RenderFunction
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export interface GridPrivateRef {
|
|
33
|
+
export interface GridPrivateRef<D = VxeTableDataRow> {
|
|
34
34
|
refElem: Ref<HTMLDivElement>
|
|
35
|
-
refTable: Ref<ComponentPublicInstance<VxeTableProps
|
|
35
|
+
refTable: Ref<ComponentPublicInstance<VxeTableProps<D>, VxeTableConstructor<D> & VxeTableMethods<D> & VxeTablePrivateMethods<D>>>
|
|
36
36
|
refForm: Ref<VxeFormInstance>
|
|
37
37
|
refToolbar: Ref<VxeToolbarInstance>
|
|
38
38
|
refPager: Ref<VxePagerInstance>
|
|
39
39
|
}
|
|
40
|
-
export interface VxeGridPrivateRef extends GridPrivateRef { }
|
|
40
|
+
export interface VxeGridPrivateRef<D = VxeTableDataRow> extends GridPrivateRef<D> { }
|
|
41
41
|
|
|
42
42
|
export interface GridPrivateComputed {
|
|
43
43
|
computeProxyOpts: ComputedRef<VxeGridPropTypes.ProxyOpts>
|
|
@@ -49,15 +49,15 @@ export interface GridPrivateComputed {
|
|
|
49
49
|
|
|
50
50
|
export interface VxeGridPrivateComputed extends GridPrivateComputed { }
|
|
51
51
|
|
|
52
|
-
export interface GridReactData {
|
|
52
|
+
export interface GridReactData<D = VxeTableDataRow> {
|
|
53
53
|
tableLoading: boolean
|
|
54
54
|
proxyInited: boolean
|
|
55
55
|
isZMax: boolean
|
|
56
|
-
tableData:
|
|
57
|
-
pendingRecords:
|
|
58
|
-
filterData: VxeTableDefines.FilterCheckedParams[]
|
|
56
|
+
tableData: D[]
|
|
57
|
+
pendingRecords: D[]
|
|
58
|
+
filterData: VxeTableDefines.FilterCheckedParams<D>[]
|
|
59
59
|
formData: any
|
|
60
|
-
sortData: VxeTableDefines.SortCheckedParams[]
|
|
60
|
+
sortData: VxeTableDefines.SortCheckedParams<D>[]
|
|
61
61
|
tZindex: number
|
|
62
62
|
tablePage: {
|
|
63
63
|
total: number
|
|
@@ -83,11 +83,11 @@ export type VxeGridEmits = [
|
|
|
83
83
|
'zoom'
|
|
84
84
|
]
|
|
85
85
|
|
|
86
|
-
export interface GridMethods extends GridPublicMethods {
|
|
86
|
+
export interface GridMethods<D = VxeTableDataRow> extends GridPublicMethods<D> {
|
|
87
87
|
dispatchEvent(type: ValueOf<VxeGridEmits>, params: any, evnt?: Event): void
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export interface GridPublicMethods {
|
|
90
|
+
export interface GridPublicMethods<D = VxeTableDataRow> {
|
|
91
91
|
/**
|
|
92
92
|
* 给数据代理提交指令
|
|
93
93
|
* @param code 指令编码
|
|
@@ -101,7 +101,7 @@ export interface GridPublicMethods {
|
|
|
101
101
|
/**
|
|
102
102
|
* 获取已标记删除的数据
|
|
103
103
|
*/
|
|
104
|
-
getPendingRecords():
|
|
104
|
+
getPendingRecords(): D[]
|
|
105
105
|
/**
|
|
106
106
|
* 切换表格最大化/还原
|
|
107
107
|
*/
|
|
@@ -122,20 +122,24 @@ export interface GridPublicMethods {
|
|
|
122
122
|
* 获取数据代理信息
|
|
123
123
|
*/
|
|
124
124
|
getProxyInfo(): {
|
|
125
|
-
data:
|
|
125
|
+
data: D[]
|
|
126
126
|
filter: any
|
|
127
127
|
form: any
|
|
128
|
-
sort: VxeTableDefines.SortCheckedParams | { [key: string]: any }
|
|
129
|
-
sorts: VxeTableDefines.SortCheckedParams[]
|
|
130
|
-
pager:
|
|
131
|
-
|
|
128
|
+
sort: VxeTableDefines.SortCheckedParams<D> | { [key: string]: any }
|
|
129
|
+
sorts: VxeTableDefines.SortCheckedParams<D>[]
|
|
130
|
+
pager: {
|
|
131
|
+
total: number
|
|
132
|
+
pageSize: number
|
|
133
|
+
currentPage: number
|
|
134
|
+
}
|
|
135
|
+
pendingRecords: D[]
|
|
132
136
|
} | null
|
|
133
137
|
}
|
|
134
138
|
|
|
135
|
-
export interface VxeGridMethods extends GridMethods
|
|
139
|
+
export interface VxeGridMethods<D = VxeTableDataRow> extends GridMethods<D>, TablePublicMethods<D> { }
|
|
136
140
|
|
|
137
|
-
export interface GridPrivateMethods {
|
|
138
|
-
callSlot<T>(slotFunc: ((params: T) => SlotVNodeType | SlotVNodeType[]) | string | null, params: T): SlotVNodeType[]
|
|
141
|
+
export interface GridPrivateMethods<D = VxeTableDataRow> {
|
|
142
|
+
callSlot<T = any>(slotFunc: ((params: T) => SlotVNodeType | SlotVNodeType[]) | string | null, params: T): SlotVNodeType[]
|
|
139
143
|
extendTableMethods<T>(methodKeys: T[]): any
|
|
140
144
|
triggerToolbarCommitEvent(params: VxeToolbarPropTypes.ButtonConfig | VxeToolbarPropTypes.ToolConfig, evnt: Event): Promise<any>
|
|
141
145
|
triggerToolbarBtnEvent(button: VxeToolbarPropTypes.ButtonConfig, evnt: Event): void
|
|
@@ -145,12 +149,12 @@ export interface GridPrivateMethods {
|
|
|
145
149
|
getExcludeHeight(): number
|
|
146
150
|
}
|
|
147
151
|
|
|
148
|
-
export interface VxeGridPrivateMethods extends GridPrivateMethods { }
|
|
152
|
+
export interface VxeGridPrivateMethods<D = VxeTableDataRow> extends GridPrivateMethods<D> { }
|
|
149
153
|
|
|
150
154
|
export namespace VxeGridPropTypes {
|
|
151
155
|
export type Size = SizeType
|
|
152
156
|
|
|
153
|
-
export type Columns = VxeTableDefines.ColumnOptions[]
|
|
157
|
+
export type Columns<D = VxeTableDataRow> = VxeTableDefines.ColumnOptions<D>[]
|
|
154
158
|
|
|
155
159
|
export interface PagerConfig extends VxePagerProps {
|
|
156
160
|
enabled?: boolean
|
|
@@ -164,51 +168,55 @@ export namespace VxeGridPropTypes {
|
|
|
164
168
|
currentPage: number
|
|
165
169
|
}
|
|
166
170
|
|
|
167
|
-
interface ProxyAjaxQuerySortCheckedParams {
|
|
168
|
-
column: VxeTableDefines.ColumnInfo
|
|
171
|
+
interface ProxyAjaxQuerySortCheckedParams<D = VxeTableDataRow> {
|
|
172
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
169
173
|
order: string
|
|
170
174
|
sortBy: string
|
|
171
175
|
field: string
|
|
172
176
|
property: string
|
|
173
177
|
}
|
|
174
178
|
|
|
175
|
-
interface ProxyAjaxQueryParams {
|
|
176
|
-
$grid: VxeGridConstructor
|
|
179
|
+
interface ProxyAjaxQueryParams<D = VxeTableDataRow> {
|
|
180
|
+
$grid: VxeGridConstructor<D>
|
|
177
181
|
page: ProxyAjaxQueryPageParams
|
|
178
|
-
sort: ProxyAjaxQuerySortCheckedParams
|
|
179
|
-
sorts: ProxyAjaxQuerySortCheckedParams[]
|
|
182
|
+
sort: ProxyAjaxQuerySortCheckedParams<D>
|
|
183
|
+
sorts: ProxyAjaxQuerySortCheckedParams<D>[]
|
|
180
184
|
filters: VxeTableDefines.FilterCheckedParams[]
|
|
181
|
-
form:
|
|
185
|
+
form: {
|
|
186
|
+
[key: string]: any
|
|
187
|
+
}
|
|
182
188
|
}
|
|
183
189
|
|
|
184
|
-
interface ProxyAjaxQueryAllParams {
|
|
185
|
-
$table: VxeTableConstructor
|
|
186
|
-
$grid: VxeGridConstructor
|
|
187
|
-
sort: ProxyAjaxQuerySortCheckedParams
|
|
188
|
-
sorts: ProxyAjaxQuerySortCheckedParams[]
|
|
190
|
+
interface ProxyAjaxQueryAllParams<D = VxeTableDataRow> {
|
|
191
|
+
$table: VxeTableConstructor<D>
|
|
192
|
+
$grid: VxeGridConstructor<D>
|
|
193
|
+
sort: ProxyAjaxQuerySortCheckedParams<D>
|
|
194
|
+
sorts: ProxyAjaxQuerySortCheckedParams<D>[]
|
|
189
195
|
filters: VxeTableDefines.FilterCheckedParams[]
|
|
190
|
-
form:
|
|
196
|
+
form: {
|
|
197
|
+
[key: string]: any
|
|
198
|
+
}
|
|
191
199
|
options: any
|
|
192
200
|
}
|
|
193
201
|
|
|
194
|
-
interface ProxyAjaxDeleteParams {
|
|
195
|
-
$grid: VxeGridConstructor
|
|
202
|
+
interface ProxyAjaxDeleteParams<D = VxeTableDataRow> {
|
|
203
|
+
$grid: VxeGridConstructor<D>
|
|
196
204
|
body: {
|
|
197
|
-
removeRecords:
|
|
205
|
+
removeRecords: D[]
|
|
198
206
|
}
|
|
199
207
|
}
|
|
200
208
|
|
|
201
|
-
interface ProxyAjaxSaveParams {
|
|
202
|
-
$grid: VxeGridConstructor
|
|
209
|
+
interface ProxyAjaxSaveParams<D = VxeTableDataRow> {
|
|
210
|
+
$grid: VxeGridConstructor<D>
|
|
203
211
|
body: {
|
|
204
|
-
insertRecords:
|
|
205
|
-
updateRecords:
|
|
206
|
-
removeRecords:
|
|
207
|
-
pendingRecords:
|
|
212
|
+
insertRecords: D[]
|
|
213
|
+
updateRecords: D[]
|
|
214
|
+
removeRecords: D[]
|
|
215
|
+
pendingRecords: D[]
|
|
208
216
|
}
|
|
209
217
|
}
|
|
210
218
|
|
|
211
|
-
export interface ProxyConfig {
|
|
219
|
+
export interface ProxyConfig<D = VxeTableDataRow> {
|
|
212
220
|
enabled?: boolean
|
|
213
221
|
autoLoad?: boolean
|
|
214
222
|
message?: boolean
|
|
@@ -223,14 +231,14 @@ export namespace VxeGridPropTypes {
|
|
|
223
231
|
message?: string
|
|
224
232
|
}
|
|
225
233
|
ajax?: {
|
|
226
|
-
query?(params: ProxyAjaxQueryParams
|
|
227
|
-
queryAll?(params: ProxyAjaxQueryAllParams
|
|
228
|
-
delete?(params: ProxyAjaxDeleteParams
|
|
229
|
-
save?(params: ProxyAjaxSaveParams
|
|
234
|
+
query?(params: ProxyAjaxQueryParams<D>, ...args: any[]): Promise<any>
|
|
235
|
+
queryAll?(params: ProxyAjaxQueryAllParams<D>, ...args: any[]): Promise<any>
|
|
236
|
+
delete?(params: ProxyAjaxDeleteParams<D>, ...args: any[]): Promise<any>
|
|
237
|
+
save?(params: ProxyAjaxSaveParams<D>, ...args: any[]): Promise<any>
|
|
230
238
|
}
|
|
231
239
|
[key: string]: any
|
|
232
240
|
}
|
|
233
|
-
export interface ProxyOpts extends ProxyConfig { }
|
|
241
|
+
export interface ProxyOpts<D = VxeTableDataRow> extends ProxyConfig<D> { }
|
|
234
242
|
|
|
235
243
|
export interface ToolbarOpts extends ToolbarConfig { }
|
|
236
244
|
export interface ToolbarConfig extends VxeToolbarProps {
|
|
@@ -261,239 +269,239 @@ export namespace VxeGridPropTypes {
|
|
|
261
269
|
export interface ZoomOpts extends ZoomConfig { }
|
|
262
270
|
}
|
|
263
271
|
|
|
264
|
-
export type VxeGridProps<D =
|
|
265
|
-
columns?: VxeGridPropTypes.Columns
|
|
272
|
+
export type VxeGridProps<D = VxeTableDataRow> = VxeTableProps<D> & {
|
|
273
|
+
columns?: VxeGridPropTypes.Columns<D>
|
|
266
274
|
pagerConfig?: VxeGridPropTypes.PagerConfig
|
|
267
|
-
proxyConfig?: VxeGridPropTypes.ProxyConfig
|
|
275
|
+
proxyConfig?: VxeGridPropTypes.ProxyConfig<D>
|
|
268
276
|
toolbarConfig?: VxeGridPropTypes.ToolbarConfig
|
|
269
277
|
formConfig?: VxeGridPropTypes.FormConfig
|
|
270
278
|
zoomConfig?: VxeGridPropTypes.ZoomConfig
|
|
271
279
|
}
|
|
272
280
|
|
|
273
281
|
export namespace VxeGridDefines {
|
|
274
|
-
interface GridEventParams extends VxeEvent {
|
|
275
|
-
$grid: VxeGridConstructor
|
|
282
|
+
interface GridEventParams<D = VxeTableDataRow> extends VxeEvent {
|
|
283
|
+
$grid: VxeGridConstructor<D>
|
|
276
284
|
}
|
|
277
285
|
|
|
278
|
-
export interface KeydownEventParams extends GridEventParams
|
|
279
|
-
export interface PasteEventParams extends GridEventParams
|
|
280
|
-
export interface CopyEventParams extends GridEventParams
|
|
281
|
-
export interface CutEventParams extends GridEventParams
|
|
282
|
-
export interface CurrentChangeEventParams extends GridEventParams
|
|
283
|
-
export interface RadioChangeEventParams extends GridEventParams
|
|
284
|
-
export interface CheckboxChangeEventParams extends GridEventParams
|
|
285
|
-
export interface CheckboxAllEventParams extends GridEventParams
|
|
286
|
-
export interface CheckboxRangeStartEventParams extends GridEventParams
|
|
287
|
-
export interface CheckboxRangeChangeEventParams extends GridEventParams
|
|
288
|
-
export interface CheckboxRangeEndEventParams extends GridEventParams
|
|
289
|
-
export interface CellClickEventParams extends GridEventParams
|
|
290
|
-
export interface CellDblclickEventParams extends GridEventParams
|
|
291
|
-
export interface CellMenuEventParams extends GridEventParams
|
|
292
|
-
export interface CellMouseenterEventParams extends GridEventParams
|
|
293
|
-
export interface CellMouseleaveEventParams extends GridEventParams
|
|
294
|
-
export interface HeaderCellClickEventParams extends GridEventParams
|
|
295
|
-
export interface HeaderCellDblclickEventParams extends GridEventParams
|
|
296
|
-
export interface HeaderCellMenuEventParams extends GridEventParams
|
|
297
|
-
export interface FooterCellClickEventParams extends GridEventParams
|
|
298
|
-
export interface FooterCellDblclickEventParams extends GridEventParams
|
|
299
|
-
export interface FooterCellMenuEventParams extends GridEventParams
|
|
300
|
-
export interface SortChangeEventParams extends GridEventParams
|
|
301
|
-
export interface FilterChangeEventParams extends GridEventParams
|
|
302
|
-
export interface FilterVisibleEventParams extends GridEventParams
|
|
303
|
-
export interface ResizableChangeEventParams extends GridEventParams
|
|
304
|
-
export interface ToggleRowExpandEventParams extends GridEventParams
|
|
305
|
-
export interface ToggleTreeExpandEventParams extends GridEventParams
|
|
306
|
-
export interface MenuClickEventParams extends GridEventParams
|
|
307
|
-
export interface EditClosedEventParams extends GridEventParams
|
|
308
|
-
export interface EditActivedEventParams extends GridEventParams
|
|
309
|
-
export interface EditDisabledEventParams extends GridEventParams
|
|
310
|
-
export interface ValidErrorEventParams extends GridEventParams
|
|
311
|
-
export interface ScrollEventParams extends GridEventParams
|
|
312
|
-
export interface CustomEventParams extends GridEventParams
|
|
313
|
-
|
|
314
|
-
export interface ProxyQueryEventParams extends GridEventParams {
|
|
286
|
+
export interface KeydownEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.KeydownEventParams<D> { }
|
|
287
|
+
export interface PasteEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.PasteEventParams<D> { }
|
|
288
|
+
export interface CopyEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CopyEventParams<D> { }
|
|
289
|
+
export interface CutEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CutEventParams<D> { }
|
|
290
|
+
export interface CurrentChangeEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CurrentChangeEventParams<D> { }
|
|
291
|
+
export interface RadioChangeEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.RadioChangeEventParams<D> { }
|
|
292
|
+
export interface CheckboxChangeEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CheckboxChangeEventParams<D> { }
|
|
293
|
+
export interface CheckboxAllEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CheckboxAllEventParams<D> { }
|
|
294
|
+
export interface CheckboxRangeStartEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CheckboxRangeStartEventParams<D> { }
|
|
295
|
+
export interface CheckboxRangeChangeEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CheckboxRangeChangeEventParams<D> { }
|
|
296
|
+
export interface CheckboxRangeEndEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CheckboxRangeEndEventParams<D> { }
|
|
297
|
+
export interface CellClickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CellClickEventParams<D> { }
|
|
298
|
+
export interface CellDblclickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CellDblclickEventParams<D> { }
|
|
299
|
+
export interface CellMenuEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CellMenuEventParams<D> { }
|
|
300
|
+
export interface CellMouseenterEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CellMouseenterEventParams<D> { }
|
|
301
|
+
export interface CellMouseleaveEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CellMouseleaveEventParams<D> { }
|
|
302
|
+
export interface HeaderCellClickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.HeaderCellClickEventParams<D> { }
|
|
303
|
+
export interface HeaderCellDblclickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.HeaderCellDblclickEventParams<D> { }
|
|
304
|
+
export interface HeaderCellMenuEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.HeaderCellMenuEventParams<D> { }
|
|
305
|
+
export interface FooterCellClickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.FooterCellClickEventParams<D> { }
|
|
306
|
+
export interface FooterCellDblclickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.FooterCellDblclickEventParams<D> { }
|
|
307
|
+
export interface FooterCellMenuEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.FooterCellMenuEventParams<D> { }
|
|
308
|
+
export interface SortChangeEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.SortChangeEventParams<D> { }
|
|
309
|
+
export interface FilterChangeEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.FilterChangeEventParams<D> { }
|
|
310
|
+
export interface FilterVisibleEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.FilterVisibleEventParams<D> { }
|
|
311
|
+
export interface ResizableChangeEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.ResizableChangeEventParams<D> { }
|
|
312
|
+
export interface ToggleRowExpandEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.ToggleRowExpandEventParams<D> { }
|
|
313
|
+
export interface ToggleTreeExpandEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.ToggleTreeExpandEventParams<D> { }
|
|
314
|
+
export interface MenuClickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.MenuClickEventParams<D> { }
|
|
315
|
+
export interface EditClosedEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.EditClosedEventParams<D> { }
|
|
316
|
+
export interface EditActivedEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.EditActivedEventParams<D> { }
|
|
317
|
+
export interface EditDisabledEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.EditDisabledEventParams<D> { }
|
|
318
|
+
export interface ValidErrorEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.ValidErrorEventParams<D> { }
|
|
319
|
+
export interface ScrollEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.ScrollEventParams<D> { }
|
|
320
|
+
export interface CustomEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeTableDefines.CustomEventParams<D> { }
|
|
321
|
+
|
|
322
|
+
export interface ProxyQueryEventParams<D = VxeTableDataRow> extends GridEventParams<D> {
|
|
315
323
|
status: boolean
|
|
316
324
|
isReload: boolean
|
|
317
325
|
isInited: boolean
|
|
318
326
|
}
|
|
319
|
-
export interface ProxyDeleteEventParams extends GridEventParams {
|
|
327
|
+
export interface ProxyDeleteEventParams<D = VxeTableDataRow> extends GridEventParams<D> {
|
|
320
328
|
status: boolean
|
|
321
329
|
}
|
|
322
|
-
export interface ProxySaveEventParams extends GridEventParams {
|
|
330
|
+
export interface ProxySaveEventParams<D = VxeTableDataRow> extends GridEventParams<D> {
|
|
323
331
|
status: boolean
|
|
324
332
|
}
|
|
325
|
-
export interface PageChangeEventParams extends GridEventParams
|
|
326
|
-
export interface FormSubmitEventParams extends GridEventParams
|
|
327
|
-
export interface FormSubmitInvalidEventParams extends GridEventParams
|
|
328
|
-
export interface FormResetEventParams extends GridEventParams
|
|
329
|
-
export interface FormCollapseEventParams extends GridEventParams
|
|
333
|
+
export interface PageChangeEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxePagerDefines.PageChangeEventParams { }
|
|
334
|
+
export interface FormSubmitEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeFormDefines.SubmitEventParams { }
|
|
335
|
+
export interface FormSubmitInvalidEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeFormDefines.SubmitInvalidParams { }
|
|
336
|
+
export interface FormResetEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeFormDefines.ResetEventParams { }
|
|
337
|
+
export interface FormCollapseEventParams<D = VxeTableDataRow> extends GridEventParams<D>, VxeFormDefines.CollapseEventParams { }
|
|
330
338
|
|
|
331
339
|
export interface ToolbarButtonClickParams {
|
|
332
340
|
code: string
|
|
333
341
|
button: VxeToolbarPropTypes.ButtonConfig
|
|
334
342
|
}
|
|
335
|
-
export interface ToolbarButtonClickEventParams extends GridEventParams
|
|
343
|
+
export interface ToolbarButtonClickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, ToolbarButtonClickParams { }
|
|
336
344
|
|
|
337
345
|
export interface ToolbarToolClickParams {
|
|
338
346
|
code: string
|
|
339
347
|
tool: VxeToolbarPropTypes.ToolConfig
|
|
340
348
|
}
|
|
341
|
-
export interface ToolbarToolClickEventParams extends GridEventParams
|
|
349
|
+
export interface ToolbarToolClickEventParams<D = VxeTableDataRow> extends GridEventParams<D>, ToolbarToolClickParams { }
|
|
342
350
|
|
|
343
351
|
export interface ZoomParams {
|
|
344
352
|
type: 'max' | 'revert'
|
|
345
353
|
}
|
|
346
|
-
export interface ZoomEventParams extends GridEventParams
|
|
354
|
+
export interface ZoomEventParams<D = VxeTableDataRow> extends GridEventParams<D>, ZoomParams { }
|
|
347
355
|
}
|
|
348
356
|
|
|
349
|
-
export interface VxeGridEventProps {
|
|
350
|
-
onKeydown?: VxeGridEvents.Keydown
|
|
351
|
-
onPaste?: VxeGridEvents.Paste
|
|
352
|
-
onCopy?: VxeGridEvents.Copy
|
|
353
|
-
onCut?: VxeGridEvents.Cut
|
|
354
|
-
onCurrentChange?: VxeGridEvents.CurrentChange
|
|
355
|
-
onRadioChange?: VxeGridEvents.RadioChange
|
|
356
|
-
onCheckboxChange?: VxeGridEvents.CheckboxChange
|
|
357
|
-
onCheckboxAll?: VxeGridEvents.CheckboxAll
|
|
358
|
-
onCheckboxRangeStart?: VxeGridEvents.CheckboxRangeStart
|
|
359
|
-
onCheckboxRangeChange?: VxeGridEvents.CheckboxRangeChange
|
|
360
|
-
onCheckboxRangeEnd?: VxeGridEvents.CheckboxRangeEnd
|
|
361
|
-
onCellClick?: VxeGridEvents.CellClick
|
|
362
|
-
onCellDblclick?: VxeGridEvents.CellDblclick
|
|
363
|
-
onCellMenu?: VxeGridEvents.CellMenu
|
|
364
|
-
onCellMouseenter?: VxeGridEvents.CellMouseenter
|
|
365
|
-
onCellMouseleave?: VxeGridEvents.CellMouseleave
|
|
366
|
-
onHeaderCellClick?: VxeGridEvents.HeaderCellClick
|
|
367
|
-
onHeaderCellDblclick?: VxeGridEvents.HeaderCellDblclick
|
|
368
|
-
onHeaderCellMenu?: VxeGridEvents.HeaderCellMenu
|
|
369
|
-
onFooterCellClick?: VxeGridEvents.FooterCellClick
|
|
370
|
-
onFooterCellDblclick?: VxeGridEvents.FooterCellDblclick
|
|
371
|
-
onFooterCellMenu?: VxeGridEvents.FooterCellMenu
|
|
372
|
-
onSortChange?: VxeGridEvents.SortChange
|
|
373
|
-
onFilterChange?: VxeGridEvents.FilterChange
|
|
374
|
-
onFilterVisible?: VxeGridEvents.FilterVisible
|
|
375
|
-
onResizableChange?: VxeGridEvents.ResizableChange
|
|
376
|
-
onToggleRowExpand?: VxeGridEvents.ToggleRowExpand
|
|
377
|
-
onToggleTreeExpand?: VxeGridEvents.ToggleTreeExpand
|
|
378
|
-
onMenuClick?: VxeGridEvents.MenuClick
|
|
379
|
-
onEditClosed?: VxeGridEvents.EditClosed
|
|
380
|
-
onEditActived?: VxeGridEvents.EditActived
|
|
381
|
-
onEditDisabled?: VxeGridEvents.EditDisabled
|
|
382
|
-
onValidError?: VxeGridEvents.ValidError
|
|
383
|
-
onScroll?: VxeGridEvents.Scroll
|
|
384
|
-
onCustom?: VxeGridEvents.Custom
|
|
357
|
+
export interface VxeGridEventProps<D = VxeTableDataRow> {
|
|
358
|
+
onKeydown?: VxeGridEvents.Keydown<D>
|
|
359
|
+
onPaste?: VxeGridEvents.Paste<D>
|
|
360
|
+
onCopy?: VxeGridEvents.Copy<D>
|
|
361
|
+
onCut?: VxeGridEvents.Cut<D>
|
|
362
|
+
onCurrentChange?: VxeGridEvents.CurrentChange<D>
|
|
363
|
+
onRadioChange?: VxeGridEvents.RadioChange<D>
|
|
364
|
+
onCheckboxChange?: VxeGridEvents.CheckboxChange<D>
|
|
365
|
+
onCheckboxAll?: VxeGridEvents.CheckboxAll<D>
|
|
366
|
+
onCheckboxRangeStart?: VxeGridEvents.CheckboxRangeStart<D>
|
|
367
|
+
onCheckboxRangeChange?: VxeGridEvents.CheckboxRangeChange<D>
|
|
368
|
+
onCheckboxRangeEnd?: VxeGridEvents.CheckboxRangeEnd<D>
|
|
369
|
+
onCellClick?: VxeGridEvents.CellClick<D>
|
|
370
|
+
onCellDblclick?: VxeGridEvents.CellDblclick<D>
|
|
371
|
+
onCellMenu?: VxeGridEvents.CellMenu<D>
|
|
372
|
+
onCellMouseenter?: VxeGridEvents.CellMouseenter<D>
|
|
373
|
+
onCellMouseleave?: VxeGridEvents.CellMouseleave<D>
|
|
374
|
+
onHeaderCellClick?: VxeGridEvents.HeaderCellClick<D>
|
|
375
|
+
onHeaderCellDblclick?: VxeGridEvents.HeaderCellDblclick<D>
|
|
376
|
+
onHeaderCellMenu?: VxeGridEvents.HeaderCellMenu<D>
|
|
377
|
+
onFooterCellClick?: VxeGridEvents.FooterCellClick<D>
|
|
378
|
+
onFooterCellDblclick?: VxeGridEvents.FooterCellDblclick<D>
|
|
379
|
+
onFooterCellMenu?: VxeGridEvents.FooterCellMenu<D>
|
|
380
|
+
onSortChange?: VxeGridEvents.SortChange<D>
|
|
381
|
+
onFilterChange?: VxeGridEvents.FilterChange<D>
|
|
382
|
+
onFilterVisible?: VxeGridEvents.FilterVisible<D>
|
|
383
|
+
onResizableChange?: VxeGridEvents.ResizableChange<D>
|
|
384
|
+
onToggleRowExpand?: VxeGridEvents.ToggleRowExpand<D>
|
|
385
|
+
onToggleTreeExpand?: VxeGridEvents.ToggleTreeExpand<D>
|
|
386
|
+
onMenuClick?: VxeGridEvents.MenuClick<D>
|
|
387
|
+
onEditClosed?: VxeGridEvents.EditClosed<D>
|
|
388
|
+
onEditActived?: VxeGridEvents.EditActived<D>
|
|
389
|
+
onEditDisabled?: VxeGridEvents.EditDisabled<D>
|
|
390
|
+
onValidError?: VxeGridEvents.ValidError<D>
|
|
391
|
+
onScroll?: VxeGridEvents.Scroll<D>
|
|
392
|
+
onCustom?: VxeGridEvents.Custom<D>
|
|
385
393
|
|
|
386
394
|
// grid
|
|
387
|
-
onProxyQuery?: VxeGridEvents.ProxyQuery
|
|
388
|
-
onProxyDelete?: VxeGridEvents.ProxyDelete
|
|
389
|
-
onProxySave?: VxeGridEvents.ProxySave
|
|
390
|
-
onPageChange?: VxeGridEvents.PageChange
|
|
391
|
-
onFormSubmit?: VxeGridEvents.FormSubmit
|
|
392
|
-
onFormSubmitInvalid?: VxeGridEvents.FormSubmitInvalid
|
|
393
|
-
onFormReset?: VxeGridEvents.FormReset
|
|
394
|
-
onFormCollapse?: VxeGridEvents.FormCollapse
|
|
395
|
-
onToolbarButtonClick?: VxeGridEvents.ToolbarButtonClick
|
|
396
|
-
onToolbarToolClick?: VxeGridEvents.ToolbarToolClick
|
|
397
|
-
onZoom?: VxeGridEvents.Zoom
|
|
395
|
+
onProxyQuery?: VxeGridEvents.ProxyQuery<D>
|
|
396
|
+
onProxyDelete?: VxeGridEvents.ProxyDelete<D>
|
|
397
|
+
onProxySave?: VxeGridEvents.ProxySave<D>
|
|
398
|
+
onPageChange?: VxeGridEvents.PageChange<D>
|
|
399
|
+
onFormSubmit?: VxeGridEvents.FormSubmit<D>
|
|
400
|
+
onFormSubmitInvalid?: VxeGridEvents.FormSubmitInvalid<D>
|
|
401
|
+
onFormReset?: VxeGridEvents.FormReset<D>
|
|
402
|
+
onFormCollapse?: VxeGridEvents.FormCollapse<D>
|
|
403
|
+
onToolbarButtonClick?: VxeGridEvents.ToolbarButtonClick<D>
|
|
404
|
+
onToolbarToolClick?: VxeGridEvents.ToolbarToolClick<D>
|
|
405
|
+
onZoom?: VxeGridEvents.Zoom<D>
|
|
398
406
|
}
|
|
399
407
|
|
|
400
|
-
export interface VxeGridListeners {
|
|
401
|
-
keydown?: VxeGridEvents.Keydown
|
|
402
|
-
paste?: VxeGridEvents.Paste
|
|
403
|
-
copy?: VxeGridEvents.Copy
|
|
404
|
-
cut?: VxeGridEvents.Cut
|
|
405
|
-
currentChange?: VxeGridEvents.CurrentChange
|
|
406
|
-
radioChange?: VxeGridEvents.RadioChange
|
|
407
|
-
checkboxChange?: VxeGridEvents.CheckboxChange
|
|
408
|
-
checkboxAll?: VxeGridEvents.CheckboxAll
|
|
409
|
-
checkboxRangeStart?: VxeGridEvents.CheckboxRangeStart
|
|
410
|
-
checkboxRangeChange?: VxeGridEvents.CheckboxRangeChange
|
|
411
|
-
checkboxRangeEnd?: VxeGridEvents.CheckboxRangeEnd
|
|
412
|
-
cellClick?: VxeGridEvents.CellClick
|
|
413
|
-
cellDblclick?: VxeGridEvents.CellDblclick
|
|
414
|
-
cellMenu?: VxeGridEvents.CellMenu
|
|
415
|
-
cellMouseenter?: VxeGridEvents.CellMouseenter
|
|
416
|
-
cellMouseleave?: VxeGridEvents.CellMouseleave
|
|
417
|
-
headerCellClick?: VxeGridEvents.HeaderCellClick
|
|
418
|
-
headerCellDblclick?: VxeGridEvents.HeaderCellDblclick
|
|
419
|
-
headerCellMenu?: VxeGridEvents.HeaderCellMenu
|
|
420
|
-
footerCellClick?: VxeGridEvents.FooterCellClick
|
|
421
|
-
footerCellDblclick?: VxeGridEvents.FooterCellDblclick
|
|
422
|
-
footerCellMenu?: VxeGridEvents.FooterCellMenu
|
|
423
|
-
sortChange?: VxeGridEvents.SortChange
|
|
424
|
-
filterChange?: VxeGridEvents.FilterChange
|
|
425
|
-
filterVisible?: VxeGridEvents.FilterVisible
|
|
426
|
-
resizableChange?: VxeGridEvents.ResizableChange
|
|
427
|
-
toggleRowExpand?: VxeGridEvents.ToggleRowExpand
|
|
428
|
-
toggleTreeExpand?: VxeGridEvents.ToggleTreeExpand
|
|
429
|
-
menuClick?: VxeGridEvents.MenuClick
|
|
430
|
-
editClosed?: VxeGridEvents.EditClosed
|
|
431
|
-
editActived?: VxeGridEvents.EditActived
|
|
432
|
-
editDisabled?: VxeGridEvents.EditDisabled
|
|
433
|
-
validError?: VxeGridEvents.ValidError
|
|
434
|
-
scroll?: VxeGridEvents.Scroll
|
|
435
|
-
custom?: VxeGridEvents.Custom
|
|
408
|
+
export interface VxeGridListeners<D = VxeTableDataRow> {
|
|
409
|
+
keydown?: VxeGridEvents.Keydown<D>
|
|
410
|
+
paste?: VxeGridEvents.Paste<D>
|
|
411
|
+
copy?: VxeGridEvents.Copy<D>
|
|
412
|
+
cut?: VxeGridEvents.Cut<D>
|
|
413
|
+
currentChange?: VxeGridEvents.CurrentChange<D>
|
|
414
|
+
radioChange?: VxeGridEvents.RadioChange<D>
|
|
415
|
+
checkboxChange?: VxeGridEvents.CheckboxChange<D>
|
|
416
|
+
checkboxAll?: VxeGridEvents.CheckboxAll<D>
|
|
417
|
+
checkboxRangeStart?: VxeGridEvents.CheckboxRangeStart<D>
|
|
418
|
+
checkboxRangeChange?: VxeGridEvents.CheckboxRangeChange<D>
|
|
419
|
+
checkboxRangeEnd?: VxeGridEvents.CheckboxRangeEnd<D>
|
|
420
|
+
cellClick?: VxeGridEvents.CellClick<D>
|
|
421
|
+
cellDblclick?: VxeGridEvents.CellDblclick<D>
|
|
422
|
+
cellMenu?: VxeGridEvents.CellMenu<D>
|
|
423
|
+
cellMouseenter?: VxeGridEvents.CellMouseenter<D>
|
|
424
|
+
cellMouseleave?: VxeGridEvents.CellMouseleave<D>
|
|
425
|
+
headerCellClick?: VxeGridEvents.HeaderCellClick<D>
|
|
426
|
+
headerCellDblclick?: VxeGridEvents.HeaderCellDblclick<D>
|
|
427
|
+
headerCellMenu?: VxeGridEvents.HeaderCellMenu<D>
|
|
428
|
+
footerCellClick?: VxeGridEvents.FooterCellClick<D>
|
|
429
|
+
footerCellDblclick?: VxeGridEvents.FooterCellDblclick<D>
|
|
430
|
+
footerCellMenu?: VxeGridEvents.FooterCellMenu<D>
|
|
431
|
+
sortChange?: VxeGridEvents.SortChange<D>
|
|
432
|
+
filterChange?: VxeGridEvents.FilterChange<D>
|
|
433
|
+
filterVisible?: VxeGridEvents.FilterVisible<D>
|
|
434
|
+
resizableChange?: VxeGridEvents.ResizableChange<D>
|
|
435
|
+
toggleRowExpand?: VxeGridEvents.ToggleRowExpand<D>
|
|
436
|
+
toggleTreeExpand?: VxeGridEvents.ToggleTreeExpand<D>
|
|
437
|
+
menuClick?: VxeGridEvents.MenuClick<D>
|
|
438
|
+
editClosed?: VxeGridEvents.EditClosed<D>
|
|
439
|
+
editActived?: VxeGridEvents.EditActived<D>
|
|
440
|
+
editDisabled?: VxeGridEvents.EditDisabled<D>
|
|
441
|
+
validError?: VxeGridEvents.ValidError<D>
|
|
442
|
+
scroll?: VxeGridEvents.Scroll<D>
|
|
443
|
+
custom?: VxeGridEvents.Custom<D>
|
|
436
444
|
|
|
437
445
|
// grid
|
|
438
|
-
proxyQuery?: VxeGridEvents.ProxyQuery
|
|
439
|
-
proxyDelete?: VxeGridEvents.ProxyDelete
|
|
440
|
-
proxySave?: VxeGridEvents.ProxySave
|
|
441
|
-
pageChange?: VxeGridEvents.PageChange
|
|
442
|
-
formSubmit?: VxeGridEvents.FormSubmit
|
|
443
|
-
formSubmitInvalid?: VxeGridEvents.FormSubmitInvalid
|
|
444
|
-
formReset?: VxeGridEvents.FormReset
|
|
445
|
-
formCollapse?: VxeGridEvents.FormCollapse
|
|
446
|
-
toolbarButtonClick?: VxeGridEvents.ToolbarButtonClick
|
|
447
|
-
toolbarToolClick?: VxeGridEvents.ToolbarToolClick
|
|
448
|
-
zoom?: VxeGridEvents.Zoom
|
|
446
|
+
proxyQuery?: VxeGridEvents.ProxyQuery<D>
|
|
447
|
+
proxyDelete?: VxeGridEvents.ProxyDelete<D>
|
|
448
|
+
proxySave?: VxeGridEvents.ProxySave<D>
|
|
449
|
+
pageChange?: VxeGridEvents.PageChange<D>
|
|
450
|
+
formSubmit?: VxeGridEvents.FormSubmit<D>
|
|
451
|
+
formSubmitInvalid?: VxeGridEvents.FormSubmitInvalid<D>
|
|
452
|
+
formReset?: VxeGridEvents.FormReset<D>
|
|
453
|
+
formCollapse?: VxeGridEvents.FormCollapse<D>
|
|
454
|
+
toolbarButtonClick?: VxeGridEvents.ToolbarButtonClick<D>
|
|
455
|
+
toolbarToolClick?: VxeGridEvents.ToolbarToolClick<D>
|
|
456
|
+
zoom?: VxeGridEvents.Zoom<D>
|
|
449
457
|
}
|
|
450
458
|
|
|
451
459
|
export namespace VxeGridEvents {
|
|
452
|
-
export type Keydown = (params: VxeGridDefines.KeydownEventParams) => void
|
|
453
|
-
export type Paste = (params: VxeGridDefines.PasteEventParams) => void
|
|
454
|
-
export type Copy = (params: VxeGridDefines.CopyEventParams) => void
|
|
455
|
-
export type Cut = (params: VxeGridDefines.CutEventParams) => void
|
|
456
|
-
export type CurrentChange = (params: VxeGridDefines.CurrentChangeEventParams) => void
|
|
457
|
-
export type RadioChange = (params: VxeGridDefines.RadioChangeEventParams) => void
|
|
458
|
-
export type CheckboxChange = (params: VxeGridDefines.CheckboxChangeEventParams) => void
|
|
459
|
-
export type CheckboxAll = (params: VxeGridDefines.CheckboxAllEventParams) => void
|
|
460
|
-
export type CheckboxRangeStart = (params: VxeGridDefines.CheckboxRangeStartEventParams) => void
|
|
461
|
-
export type CheckboxRangeChange = (params: VxeGridDefines.CheckboxRangeChangeEventParams) => void
|
|
462
|
-
export type CheckboxRangeEnd = (params: VxeGridDefines.CheckboxRangeEndEventParams) => void
|
|
463
|
-
export type CellClick = (params: VxeGridDefines.CellClickEventParams) => void
|
|
464
|
-
export type CellDblclick = (params: VxeGridDefines.CellDblclickEventParams) => void
|
|
465
|
-
export type CellMenu = (params: VxeGridDefines.CellMenuEventParams) => void
|
|
466
|
-
export type CellMouseenter = (params: VxeGridDefines.CellMouseenterEventParams) => void
|
|
467
|
-
export type CellMouseleave = (params: VxeGridDefines.CellMouseleaveEventParams) => void
|
|
468
|
-
export type HeaderCellClick = (params: VxeGridDefines.HeaderCellClickEventParams) => void
|
|
469
|
-
export type HeaderCellDblclick = (params: VxeGridDefines.HeaderCellDblclickEventParams) => void
|
|
470
|
-
export type HeaderCellMenu = (params: VxeGridDefines.HeaderCellMenuEventParams) => void
|
|
471
|
-
export type FooterCellClick = (params: VxeGridDefines.FooterCellClickEventParams) => void
|
|
472
|
-
export type FooterCellDblclick = (params: VxeGridDefines.FooterCellDblclickEventParams) => void
|
|
473
|
-
export type FooterCellMenu = (params: VxeGridDefines.FooterCellMenuEventParams) => void
|
|
474
|
-
export type SortChange = (params: VxeGridDefines.SortChangeEventParams) => void
|
|
475
|
-
export type FilterChange = (params: VxeGridDefines.FilterChangeEventParams) => void
|
|
476
|
-
export type FilterVisible = (params: VxeGridDefines.FilterVisibleEventParams) => void
|
|
477
|
-
export type ResizableChange = (params: VxeGridDefines.ResizableChangeEventParams) => void
|
|
478
|
-
export type ToggleRowExpand = (params: VxeGridDefines.ToggleRowExpandEventParams) => void
|
|
479
|
-
export type ToggleTreeExpand = (params: VxeGridDefines.ToggleTreeExpandEventParams) => void
|
|
480
|
-
export type MenuClick = (params: VxeGridDefines.MenuClickEventParams) => void
|
|
481
|
-
export type EditClosed = (params: VxeGridDefines.EditClosedEventParams) => void
|
|
482
|
-
export type EditActived = (params: VxeGridDefines.EditActivedEventParams) => void
|
|
483
|
-
export type EditDisabled = (params: VxeGridDefines.EditDisabledEventParams) => void
|
|
484
|
-
export type ValidError = (params: VxeGridDefines.ValidErrorEventParams) => void
|
|
485
|
-
export type Scroll = (params: VxeGridDefines.ScrollEventParams) => void
|
|
486
|
-
export type Custom = (params: VxeGridDefines.CustomEventParams) => void
|
|
487
|
-
|
|
488
|
-
export type ProxyQuery = (params: VxeGridDefines.ProxyQueryEventParams) => void
|
|
489
|
-
export type ProxyDelete = (params: VxeGridDefines.ProxyDeleteEventParams) => void
|
|
490
|
-
export type ProxySave = (params: VxeGridDefines.ProxySaveEventParams) => void
|
|
491
|
-
export type PageChange = (params: VxeGridDefines.PageChangeEventParams) => void
|
|
492
|
-
export type FormSubmit = (params: VxeGridDefines.FormSubmitEventParams) => void
|
|
493
|
-
export type FormSubmitInvalid = (params: VxeGridDefines.FormSubmitInvalidEventParams) => void
|
|
494
|
-
export type FormReset = (params: VxeGridDefines.FormResetEventParams) => void
|
|
495
|
-
export type FormCollapse = (params: VxeGridDefines.FormCollapseEventParams) => void
|
|
496
|
-
export type ToolbarButtonClick = (params: VxeGridDefines.ToolbarButtonClickEventParams) => void
|
|
497
|
-
export type ToolbarToolClick = (params: VxeGridDefines.ToolbarToolClickEventParams) => void
|
|
498
|
-
export type Zoom = (params: VxeGridDefines.ZoomEventParams) => void
|
|
460
|
+
export type Keydown<D = any> = (params: VxeGridDefines.KeydownEventParams<D>) => void
|
|
461
|
+
export type Paste<D = any> = (params: VxeGridDefines.PasteEventParams<D>) => void
|
|
462
|
+
export type Copy<D = any> = (params: VxeGridDefines.CopyEventParams<D>) => void
|
|
463
|
+
export type Cut<D = any> = (params: VxeGridDefines.CutEventParams<D>) => void
|
|
464
|
+
export type CurrentChange<D = any> = (params: VxeGridDefines.CurrentChangeEventParams<D>) => void
|
|
465
|
+
export type RadioChange<D = any> = (params: VxeGridDefines.RadioChangeEventParams<D>) => void
|
|
466
|
+
export type CheckboxChange<D = any> = (params: VxeGridDefines.CheckboxChangeEventParams<D>) => void
|
|
467
|
+
export type CheckboxAll<D = any> = (params: VxeGridDefines.CheckboxAllEventParams<D>) => void
|
|
468
|
+
export type CheckboxRangeStart<D = any> = (params: VxeGridDefines.CheckboxRangeStartEventParams<D>) => void
|
|
469
|
+
export type CheckboxRangeChange<D = any> = (params: VxeGridDefines.CheckboxRangeChangeEventParams<D>) => void
|
|
470
|
+
export type CheckboxRangeEnd<D = any> = (params: VxeGridDefines.CheckboxRangeEndEventParams<D>) => void
|
|
471
|
+
export type CellClick<D = any> = (params: VxeGridDefines.CellClickEventParams<D>) => void
|
|
472
|
+
export type CellDblclick<D = any> = (params: VxeGridDefines.CellDblclickEventParams<D>) => void
|
|
473
|
+
export type CellMenu<D = any> = (params: VxeGridDefines.CellMenuEventParams<D>) => void
|
|
474
|
+
export type CellMouseenter<D = any> = (params: VxeGridDefines.CellMouseenterEventParams<D>) => void
|
|
475
|
+
export type CellMouseleave<D = any> = (params: VxeGridDefines.CellMouseleaveEventParams<D>) => void
|
|
476
|
+
export type HeaderCellClick<D = any> = (params: VxeGridDefines.HeaderCellClickEventParams<D>) => void
|
|
477
|
+
export type HeaderCellDblclick<D = any> = (params: VxeGridDefines.HeaderCellDblclickEventParams<D>) => void
|
|
478
|
+
export type HeaderCellMenu<D = any> = (params: VxeGridDefines.HeaderCellMenuEventParams<D>) => void
|
|
479
|
+
export type FooterCellClick<D = any> = (params: VxeGridDefines.FooterCellClickEventParams<D>) => void
|
|
480
|
+
export type FooterCellDblclick<D = any> = (params: VxeGridDefines.FooterCellDblclickEventParams<D>) => void
|
|
481
|
+
export type FooterCellMenu<D = any> = (params: VxeGridDefines.FooterCellMenuEventParams<D>) => void
|
|
482
|
+
export type SortChange<D = any> = (params: VxeGridDefines.SortChangeEventParams<D>) => void
|
|
483
|
+
export type FilterChange<D = any> = (params: VxeGridDefines.FilterChangeEventParams<D>) => void
|
|
484
|
+
export type FilterVisible<D = any> = (params: VxeGridDefines.FilterVisibleEventParams<D>) => void
|
|
485
|
+
export type ResizableChange<D = any> = (params: VxeGridDefines.ResizableChangeEventParams<D>) => void
|
|
486
|
+
export type ToggleRowExpand<D = any> = (params: VxeGridDefines.ToggleRowExpandEventParams<D>) => void
|
|
487
|
+
export type ToggleTreeExpand<D = any> = (params: VxeGridDefines.ToggleTreeExpandEventParams<D>) => void
|
|
488
|
+
export type MenuClick<D = any> = (params: VxeGridDefines.MenuClickEventParams<D>) => void
|
|
489
|
+
export type EditClosed<D = any> = (params: VxeGridDefines.EditClosedEventParams<D>) => void
|
|
490
|
+
export type EditActived<D = any> = (params: VxeGridDefines.EditActivedEventParams<D>) => void
|
|
491
|
+
export type EditDisabled<D = any> = (params: VxeGridDefines.EditDisabledEventParams<D>) => void
|
|
492
|
+
export type ValidError<D = any> = (params: VxeGridDefines.ValidErrorEventParams<D>) => void
|
|
493
|
+
export type Scroll<D = any> = (params: VxeGridDefines.ScrollEventParams<D>) => void
|
|
494
|
+
export type Custom<D = any> = (params: VxeGridDefines.CustomEventParams<D>) => void
|
|
495
|
+
|
|
496
|
+
export type ProxyQuery<D = any> = (params: VxeGridDefines.ProxyQueryEventParams<D>) => void
|
|
497
|
+
export type ProxyDelete<D = any> = (params: VxeGridDefines.ProxyDeleteEventParams<D>) => void
|
|
498
|
+
export type ProxySave<D = any> = (params: VxeGridDefines.ProxySaveEventParams<D>) => void
|
|
499
|
+
export type PageChange<D = any> = (params: VxeGridDefines.PageChangeEventParams<D>) => void
|
|
500
|
+
export type FormSubmit<D = any> = (params: VxeGridDefines.FormSubmitEventParams<D>) => void
|
|
501
|
+
export type FormSubmitInvalid<D = any> = (params: VxeGridDefines.FormSubmitInvalidEventParams<D>) => void
|
|
502
|
+
export type FormReset<D = any> = (params: VxeGridDefines.FormResetEventParams<D>) => void
|
|
503
|
+
export type FormCollapse<D = any> = (params: VxeGridDefines.FormCollapseEventParams<D>) => void
|
|
504
|
+
export type ToolbarButtonClick<D = any> = (params: VxeGridDefines.ToolbarButtonClickEventParams<D>) => void
|
|
505
|
+
export type ToolbarToolClick<D = any> = (params: VxeGridDefines.ToolbarToolClickEventParams<D>) => void
|
|
506
|
+
export type Zoom<D = any> = (params: VxeGridDefines.ZoomEventParams<D>) => void
|
|
499
507
|
}
|