vxe-table 4.4.0 → 4.4.2-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/es/button/style.css +27 -27
- package/es/checkbox/style.css +11 -11
- package/es/export/style.css +12 -12
- package/es/filter/style.css +13 -13
- package/es/form/style.css +33 -33
- package/es/grid/style.css +8 -8
- package/es/icon/style.css +10 -10
- package/es/input/style.css +82 -82
- package/es/list/style.css +1 -1
- package/es/loading/style.css +3 -3
- package/es/menu/style.css +7 -7
- package/es/modal/style.css +20 -20
- package/es/pager/style.css +31 -31
- package/es/pulldown/style.css +7 -7
- package/es/radio/style.css +20 -20
- package/es/select/style.css +23 -23
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/style.css +11 -11
- package/es/table/src/body.js +1 -1
- package/es/table/src/table.js +1 -1
- package/es/table/style.css +114 -114
- package/es/textarea/style.css +23 -23
- package/es/toolbar/style.css +20 -20
- package/es/tools/log.js +1 -1
- package/es/tooltip/style.css +17 -17
- package/es/v-x-e-table/index.js +1 -1
- package/es/v-x-e-table/style.css +12 -12
- package/es/vxe-button/style.css +27 -27
- package/es/vxe-checkbox/style.css +11 -11
- package/es/vxe-form/style.css +33 -33
- package/es/vxe-grid/style.css +8 -8
- package/es/vxe-icon/style.css +9 -9
- package/es/vxe-input/style.css +82 -82
- package/es/vxe-list/style.css +1 -1
- package/es/vxe-loading/style.css +3 -3
- package/es/vxe-modal/style.css +20 -20
- package/es/vxe-module-export/style.css +12 -12
- package/es/vxe-module-filter/style.css +13 -13
- package/es/vxe-module-menu/style.css +7 -7
- package/es/vxe-pager/style.css +31 -31
- package/es/vxe-pulldown/style.css +7 -7
- package/es/vxe-radio/style.css +20 -20
- package/es/vxe-select/style.css +23 -23
- package/es/vxe-switch/style.css +11 -11
- package/es/vxe-table/style.css +114 -114
- package/es/vxe-textarea/style.css +23 -23
- package/es/vxe-toolbar/style.css +20 -20
- package/es/vxe-tooltip/style.css +17 -17
- package/lib/button/style/style.css +27 -27
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/style/style.css +11 -11
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/export/style/style.css +12 -12
- package/lib/export/style/style.min.css +1 -1
- package/lib/filter/style/style.css +13 -13
- package/lib/filter/style/style.min.css +1 -1
- package/lib/form/style/style.css +33 -33
- package/lib/form/style/style.min.css +1 -1
- package/lib/grid/style/style.css +8 -8
- package/lib/grid/style/style.min.css +1 -1
- package/lib/icon/style/style.css +10 -10
- package/lib/icon/style/style.min.css +10 -10
- package/lib/index.umd.js +8 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/input/style/style.css +82 -82
- package/lib/input/style/style.min.css +1 -1
- package/lib/list/style/style.css +1 -1
- package/lib/list/style/style.min.css +1 -1
- package/lib/loading/style/style.css +3 -3
- package/lib/loading/style/style.min.css +1 -1
- package/lib/menu/style/style.css +7 -7
- package/lib/menu/style/style.min.css +1 -1
- package/lib/modal/style/style.css +20 -20
- package/lib/modal/style/style.min.css +1 -1
- package/lib/pager/style/style.css +31 -31
- package/lib/pager/style/style.min.css +1 -1
- package/lib/pulldown/style/style.css +7 -7
- package/lib/pulldown/style/style.min.css +1 -1
- package/lib/radio/style/style.css +20 -20
- package/lib/radio/style/style.min.css +1 -1
- package/lib/select/style/style.css +23 -23
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/style/style.css +11 -11
- package/lib/switch/style/style.min.css +1 -1
- package/lib/table/src/body.js +2 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/table.js +4 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +114 -114
- package/lib/table/style/style.min.css +1 -1
- package/lib/textarea/style/style.css +23 -23
- package/lib/textarea/style/style.min.css +1 -1
- package/lib/toolbar/style/style.css +20 -20
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/tooltip/style/style.css +17 -17
- package/lib/tooltip/style/style.min.css +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/style/style.css +12 -12
- package/lib/v-x-e-table/style/style.min.css +1 -1
- package/lib/vxe-button/style/style.css +27 -27
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-checkbox/style/style.css +11 -11
- package/lib/vxe-checkbox/style/style.min.css +1 -1
- package/lib/vxe-form/style/style.css +33 -33
- package/lib/vxe-form/style/style.min.css +1 -1
- package/lib/vxe-grid/style/style.css +8 -8
- package/lib/vxe-grid/style/style.min.css +1 -1
- package/lib/vxe-icon/style/style.css +9 -9
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/lib/vxe-input/style/style.css +82 -82
- package/lib/vxe-input/style/style.min.css +1 -1
- package/lib/vxe-list/style/style.css +1 -1
- package/lib/vxe-list/style/style.min.css +1 -1
- package/lib/vxe-loading/style/style.css +3 -3
- package/lib/vxe-loading/style/style.min.css +1 -1
- package/lib/vxe-modal/style/style.css +20 -20
- package/lib/vxe-modal/style/style.min.css +1 -1
- package/lib/vxe-module-export/style/style.css +12 -12
- package/lib/vxe-module-export/style/style.min.css +1 -1
- package/lib/vxe-module-filter/style/style.css +13 -13
- package/lib/vxe-module-filter/style/style.min.css +1 -1
- package/lib/vxe-module-menu/style/style.css +7 -7
- package/lib/vxe-module-menu/style/style.min.css +1 -1
- package/lib/vxe-pager/style/style.css +31 -31
- package/lib/vxe-pager/style/style.min.css +1 -1
- package/lib/vxe-pulldown/style/style.css +7 -7
- package/lib/vxe-pulldown/style/style.min.css +1 -1
- package/lib/vxe-radio/style/style.css +20 -20
- package/lib/vxe-radio/style/style.min.css +1 -1
- package/lib/vxe-select/style/style.css +23 -23
- package/lib/vxe-select/style/style.min.css +1 -1
- package/lib/vxe-switch/style/style.css +11 -11
- package/lib/vxe-switch/style/style.min.css +1 -1
- package/lib/vxe-table/style/style.css +114 -114
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-textarea/style/style.css +23 -23
- package/lib/vxe-textarea/style/style.min.css +1 -1
- package/lib/vxe-toolbar/style/style.css +20 -20
- package/lib/vxe-toolbar/style/style.min.css +1 -1
- package/lib/vxe-tooltip/style/style.css +17 -17
- package/lib/vxe-tooltip/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/table/src/body.ts +1 -1
- package/packages/table/src/table.ts +1 -1
- package/styles/button.scss +27 -27
- package/styles/checkbox.scss +11 -11
- package/styles/cssvar.scss +257 -0
- package/styles/export.scss +12 -12
- package/styles/filter.scss +13 -13
- package/styles/form.scss +31 -31
- package/styles/grid.scss +8 -8
- package/styles/input.scss +75 -75
- package/styles/list.scss +1 -1
- package/styles/loading.scss +3 -3
- package/styles/menu.scss +7 -7
- package/styles/modal.scss +20 -20
- package/styles/modules.scss +1 -0
- package/styles/old-icon.scss +9 -9
- package/styles/pager.scss +31 -31
- package/styles/pulldown.scss +7 -7
- package/styles/radio.scss +20 -20
- package/styles/select.scss +23 -23
- package/styles/switch.scss +11 -11
- package/styles/table.scss +122 -122
- package/styles/textarea.scss +22 -22
- package/styles/toolbar.scss +20 -20
- package/styles/tooltip.scss +17 -17
- package/types/button.d.ts +23 -2
- package/types/checkbox-group.d.ts +11 -2
- package/types/checkbox.d.ts +11 -2
- package/types/colgroup.d.ts +19 -3
- package/types/column.d.ts +144 -63
- package/types/component.d.ts +7 -2
- package/types/form-gather.d.ts +10 -1
- package/types/form-item.d.ts +16 -1
- package/types/form.d.ts +10 -1
- package/types/grid.d.ts +72 -2
- package/types/index.d.ts +1 -1
- package/types/input.d.ts +11 -2
- package/types/list.d.ts +11 -2
- package/types/modal.d.ts +40 -2
- package/types/optgroup.d.ts +10 -1
- package/types/option.d.ts +10 -1
- package/types/pager.d.ts +17 -2
- package/types/pulldown.d.ts +26 -9
- package/types/radio-button.d.ts +11 -2
- package/types/radio-group.d.ts +11 -2
- package/types/radio.d.ts +11 -2
- package/types/select.d.ts +11 -2
- package/types/switch.d.ts +11 -2
- package/types/table.d.ts +24 -3
- package/types/textarea.d.ts +11 -2
- package/types/toolbar.d.ts +17 -2
- package/types/tooltip.d.ts +11 -2
- package/types/v-x-e-table/menus.d.ts +4 -2
- package/types/v-x-e-table/renderer.d.ts +19 -19
- /package/es/icon/style/{iconfont.1684975347571.ttf → iconfont.1685463362588.ttf} +0 -0
- /package/es/icon/style/{iconfont.1684975347571.woff → iconfont.1685463362588.woff} +0 -0
- /package/es/icon/style/{iconfont.1684975347571.woff2 → iconfont.1685463362588.woff2} +0 -0
- /package/es/{iconfont.1684975347571.ttf → iconfont.1685463362588.ttf} +0 -0
- /package/es/{iconfont.1684975347571.woff → iconfont.1685463362588.woff} +0 -0
- /package/es/{iconfont.1684975347571.woff2 → iconfont.1685463362588.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1684975347571.ttf → iconfont.1685463362588.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1684975347571.woff → iconfont.1685463362588.woff} +0 -0
- /package/lib/icon/style/{iconfont.1684975347571.woff2 → iconfont.1685463362588.woff2} +0 -0
- /package/lib/{iconfont.1684975347571.ttf → iconfont.1685463362588.ttf} +0 -0
- /package/lib/{iconfont.1684975347571.woff → iconfont.1685463362588.woff} +0 -0
- /package/lib/{iconfont.1684975347571.woff2 → iconfont.1685463362588.woff2} +0 -0
package/types/toolbar.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ import { VxeButtonProps } from './button'
|
|
|
10
10
|
* 组件 - 工具栏
|
|
11
11
|
* @example import { VxeToolbar } from 'vxe-table'
|
|
12
12
|
*/
|
|
13
|
-
export const VxeToolbar: VXEComponent<VxeToolbarProps, VxeToolbarEventProps>
|
|
13
|
+
export const VxeToolbar: VXEComponent<VxeToolbarProps, VxeToolbarEventProps, VxeToolbarSlots>
|
|
14
14
|
/**
|
|
15
15
|
* 组件 - 工具栏
|
|
16
16
|
*/
|
|
17
|
-
export const Toolbar:
|
|
17
|
+
export const Toolbar: typeof VxeToolbar
|
|
18
18
|
|
|
19
19
|
export type VxeToolbarInstance = ComponentPublicInstance<VxeToolbarProps, VxeToolbarConstructor>
|
|
20
20
|
|
|
@@ -195,3 +195,18 @@ export type VxeToolbarEventProps = {
|
|
|
195
195
|
export interface VxeToolbarListeners { }
|
|
196
196
|
|
|
197
197
|
export namespace VxeToolbarEvents { }
|
|
198
|
+
|
|
199
|
+
export interface VxeToolbarSlots {
|
|
200
|
+
/**
|
|
201
|
+
* 自定义左侧按钮列表
|
|
202
|
+
*/
|
|
203
|
+
buttons: (params: {
|
|
204
|
+
[key: string]: any
|
|
205
|
+
}) => any
|
|
206
|
+
/**
|
|
207
|
+
* 自定义右侧工具列表
|
|
208
|
+
*/
|
|
209
|
+
tools: ((params: {
|
|
210
|
+
[key: string]: any
|
|
211
|
+
}) => any) | undefined
|
|
212
|
+
}
|
package/types/tooltip.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ import { VXEComponent, VxeComponentBase, VxeEvent, SizeType, ValueOf, VNodeStyle
|
|
|
7
7
|
* 组件 - 工具提示
|
|
8
8
|
* @example import { VxeTooltip } from 'vxe-table'
|
|
9
9
|
*/
|
|
10
|
-
export const VxeTooltip: VXEComponent<VxeTooltipProps, VxeTooltipEventProps>
|
|
10
|
+
export const VxeTooltip: VXEComponent<VxeTooltipProps, VxeTooltipEventProps, VxeTooltipSlots>
|
|
11
11
|
/**
|
|
12
12
|
* 组件 - 工具提示
|
|
13
13
|
*/
|
|
14
|
-
export const Tooltip:
|
|
14
|
+
export const Tooltip: typeof VxeTooltip
|
|
15
15
|
|
|
16
16
|
export type VxeTooltipInstance = ComponentPublicInstance<VxeTooltipProps, VxeTooltipConstructor>
|
|
17
17
|
|
|
@@ -112,3 +112,12 @@ export type VxeTooltipEventProps = {
|
|
|
112
112
|
export interface VxeTooltipListeners { }
|
|
113
113
|
|
|
114
114
|
export namespace VxeTooltipEvents { }
|
|
115
|
+
|
|
116
|
+
export interface VxeTooltipSlots {
|
|
117
|
+
/**
|
|
118
|
+
* 自定义插槽模板
|
|
119
|
+
*/
|
|
120
|
+
[key: string]: ((params: {
|
|
121
|
+
[key: string]: any
|
|
122
|
+
}) => any) | undefined
|
|
123
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VxeTableConstructor, VxeTableDefines, VxeTableDataRow } from '../table'
|
|
1
|
+
import { VxeTableConstructor, VxeTableDefines, VxeTableDataRow, VxeTablePrivateMethods } from '../table'
|
|
2
2
|
import { VxeGridConstructor } from '../grid'
|
|
3
3
|
import { VxeGlobalRendererHandles } from './renderer'
|
|
4
4
|
|
|
@@ -9,9 +9,11 @@ export namespace VxeGlobalMenusHandles {
|
|
|
9
9
|
|
|
10
10
|
interface MenusParams<D = VxeTableDataRow> {
|
|
11
11
|
$grid: VxeGridConstructor<D> | null
|
|
12
|
-
$table: VxeTableConstructor<D>
|
|
12
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
13
13
|
}
|
|
14
14
|
export interface MenusCallbackParams<D = VxeTableDataRow> extends MenusParams<D>, VxeGlobalRendererHandles.RenderCellParams<D> {
|
|
15
|
+
$grid: VxeGridConstructor<D> | null
|
|
16
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
15
17
|
$event: MouseEvent
|
|
16
18
|
menu: VxeTableDefines.MenuFirstOption | VxeTableDefines.MenuChildOption
|
|
17
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SlotVNodeType, VNodeStyle, VNodeClassName } from '../component'
|
|
2
|
-
import { VxeTableDefines, VxeTableConstructor, VxeTablePropTypes, VxeTableDataRow } from '../table'
|
|
2
|
+
import { VxeTableDefines, VxeTableConstructor, VxeTablePrivateMethods, VxeTablePropTypes, VxeTableDataRow } from '../table'
|
|
3
3
|
import { VxeGridConstructor } from '../grid'
|
|
4
4
|
import { VxeColumnPropTypes } from '../column'
|
|
5
5
|
import { VxeFilterPanel } from '../filter'
|
|
@@ -46,8 +46,8 @@ export interface DefineRendererOption<T> {
|
|
|
46
46
|
renderExpand?(renderOpts: VxeGlobalRendererHandles.RenderExpandOptions, params: VxeGlobalRendererHandles.RenderExpandParams): T
|
|
47
47
|
|
|
48
48
|
// 工具栏-按钮渲染
|
|
49
|
-
renderToolbarButton?(renderOpts: VxeGlobalRendererHandles.RenderButtonOptions, params: VxeGlobalRendererHandles.RenderButtonParams): T
|
|
50
|
-
renderToolbarTool?(renderOpts: VxeGlobalRendererHandles.RenderToolOptions, params: VxeGlobalRendererHandles.RenderToolParams): T
|
|
49
|
+
renderToolbarButton?(renderOpts: VxeGlobalRendererHandles.RenderButtonOptions, params: VxeGlobalRendererHandles.RenderButtonParams<any>): T
|
|
50
|
+
renderToolbarTool?(renderOpts: VxeGlobalRendererHandles.RenderToolOptions, params: VxeGlobalRendererHandles.RenderToolParams<any>): T
|
|
51
51
|
|
|
52
52
|
// 表单-项渲染
|
|
53
53
|
itemClassName?: string | ((params: VxeGlobalRendererHandles.RenderItemTitleParams) => string | VNodeClassName)
|
|
@@ -73,7 +73,7 @@ export namespace VxeGlobalRendererHandles {
|
|
|
73
73
|
export interface RenderParams {}
|
|
74
74
|
|
|
75
75
|
export type RenderFilterParams<D = VxeTableDataRow> = {
|
|
76
|
-
$table: VxeTableConstructor<D>
|
|
76
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
77
77
|
$panel: VxeFilterPanel
|
|
78
78
|
column: {
|
|
79
79
|
filters: VxeTableDefines.FilterOption[]
|
|
@@ -84,7 +84,7 @@ export namespace VxeGlobalRendererHandles {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export type FilterMethodParams<D = VxeTableDataRow> = {
|
|
87
|
-
$table: VxeTableConstructor<D>
|
|
87
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
88
88
|
value: any
|
|
89
89
|
option: VxeTableDefines.FilterOption
|
|
90
90
|
cellValue: any
|
|
@@ -93,17 +93,17 @@ export namespace VxeGlobalRendererHandles {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
export interface FilterRemoteMethod<D = VxeTableDataRow> extends VxeTableDefines.FilterChangeParams<D> {
|
|
96
|
-
$table: VxeTableConstructor<D>
|
|
96
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export interface FilterResetMethodParams<D = VxeTableDataRow> {
|
|
100
|
-
$table: VxeTableConstructor<D>
|
|
100
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
101
101
|
options: VxeTableDefines.FilterOption[]
|
|
102
102
|
column: VxeTableDefines.ColumnInfo<D>
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
export interface FilterRecoverMethodParams<D = VxeTableDataRow> {
|
|
106
|
-
$table: VxeTableConstructor<D>
|
|
106
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
107
107
|
option: VxeTableDefines.FilterOption
|
|
108
108
|
column: VxeTableDefines.ColumnInfo<D>
|
|
109
109
|
}
|
|
@@ -111,7 +111,7 @@ export namespace VxeGlobalRendererHandles {
|
|
|
111
111
|
export interface RenderHeaderOptions extends VxeGlobalRendererHandles.RenderOptions { }
|
|
112
112
|
|
|
113
113
|
export interface RenderHeaderParams<D = VxeTableDataRow> {
|
|
114
|
-
$table: VxeTableConstructor<D>
|
|
114
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
115
115
|
column: VxeTableDefines.ColumnInfo<D>
|
|
116
116
|
columnIndex: number
|
|
117
117
|
$columnIndex: number
|
|
@@ -124,7 +124,7 @@ export namespace VxeGlobalRendererHandles {
|
|
|
124
124
|
export interface RenderFooterOptions extends VxeGlobalRendererHandles.RenderOptions { }
|
|
125
125
|
|
|
126
126
|
export interface RenderFooterParams<D = VxeTableDataRow> {
|
|
127
|
-
$table: VxeTableConstructor<D>
|
|
127
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
128
128
|
column: VxeTableDefines.ColumnInfo<D>
|
|
129
129
|
columnIndex: number
|
|
130
130
|
_columnIndex: number
|
|
@@ -150,7 +150,7 @@ export namespace VxeGlobalRendererHandles {
|
|
|
150
150
|
export type RenderEditOptions = VxeColumnPropTypes.EditRender
|
|
151
151
|
|
|
152
152
|
export interface RenderEditParams<D = VxeTableDataRow> {
|
|
153
|
-
$table: VxeTableConstructor<D>
|
|
153
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
154
154
|
$grid: VxeGridConstructor<D> | null
|
|
155
155
|
column: VxeTableDefines.ColumnInfo<D>
|
|
156
156
|
columnIndex: number
|
|
@@ -166,7 +166,7 @@ export namespace VxeGlobalRendererHandles {
|
|
|
166
166
|
|
|
167
167
|
export type RenderCellOptions<D = VxeTableDataRow> = VxeColumnPropTypes.EditRender<D>
|
|
168
168
|
export type RenderCellParams<D = VxeTableDataRow> = {
|
|
169
|
-
$table: VxeTableConstructor<D>
|
|
169
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
170
170
|
$grid: VxeGridConstructor<D> | null
|
|
171
171
|
column: VxeTableDefines.ColumnInfo<D>
|
|
172
172
|
columnIndex: number
|
|
@@ -181,19 +181,19 @@ export namespace VxeGlobalRendererHandles {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
export interface RenderExpandOptions extends VxeColumnPropTypes.ContentRender { }
|
|
184
|
-
export type RenderExpandParams = RenderEditParams
|
|
184
|
+
export type RenderExpandParams<D = VxeTableDataRow> = RenderEditParams<D>
|
|
185
185
|
|
|
186
186
|
export interface RenderButtonOptions extends VxeGlobalRendererHandles.RenderOptions { }
|
|
187
|
-
export interface RenderButtonParams {
|
|
187
|
+
export interface RenderButtonParams<D = VxeTableDataRow> {
|
|
188
188
|
$grid: VxeGridConstructor | null
|
|
189
|
-
$table: VxeTableConstructor
|
|
189
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
190
190
|
button: VxeToolbarPropTypes.ButtonConfig
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
export interface RenderToolOptions extends VxeGlobalRendererHandles.RenderOptions { }
|
|
194
|
-
export interface RenderToolParams {
|
|
194
|
+
export interface RenderToolParams<D = VxeTableDataRow> {
|
|
195
195
|
$grid: VxeGridConstructor | null
|
|
196
|
-
$table: VxeTableConstructor
|
|
196
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
197
197
|
tool: VxeToolbarPropTypes.ToolConfig
|
|
198
198
|
}
|
|
199
199
|
|
|
@@ -206,8 +206,8 @@ export namespace VxeGlobalRendererHandles {
|
|
|
206
206
|
|
|
207
207
|
export type RenderEmptyOptions = VxeTablePropTypes.EmptyRender
|
|
208
208
|
|
|
209
|
-
export interface RenderEmptyParams {
|
|
210
|
-
$table: VxeTableConstructor
|
|
209
|
+
export interface RenderEmptyParams<D = VxeTableDataRow> {
|
|
210
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
/**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|