vxe-table 3.8.8-beta.5 → 3.8.8-beta.7
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/lib/custom/src/mixin.js +5 -10
- package/lib/custom/src/mixin.min.js +1 -1
- package/lib/custom/src/panel.js +102 -42
- package/lib/custom/src/panel.min.js +1 -1
- package/lib/custom/style/style.css +38 -6
- package/lib/custom/style/style.min.css +1 -1
- package/lib/edit/src/mixin.js +2 -2
- package/lib/edit/src/mixin.min.js +1 -1
- package/lib/export/src/mixin.js +2 -2
- package/lib/export/src/mixin.min.js +1 -1
- package/lib/filter/src/mixin.js +2 -2
- package/lib/filter/src/mixin.min.js +1 -1
- package/lib/filter/src/panel.js +5 -5
- package/lib/filter/src/panel.min.js +1 -1
- package/lib/form/src/form-config-item.js +9 -8
- package/lib/form/src/form-config-item.min.js +1 -1
- package/lib/form/src/form-item.js +9 -8
- package/lib/form/src/form-item.min.js +1 -1
- package/lib/form/src/form.js +3 -2
- package/lib/form/src/form.min.js +1 -1
- package/lib/form/src/render.js +2 -1
- package/lib/form/src/render.min.js +1 -1
- package/lib/form/src/util.js +5 -4
- package/lib/form/src/util.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +299 -120
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +2 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +2 -1
- package/lib/locale/lang/es-ES.js +2 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +2 -1
- package/lib/locale/lang/ja-JP.js +2 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -1
- package/lib/locale/lang/pt-BR.js +2 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +2 -1
- package/lib/locale/lang/zh-CN.js +2 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +2 -1
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +2 -1
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +2 -1
- package/lib/locale/lang/zh-TC.js +2 -1
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +2 -1
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +2 -1
- package/lib/pager/src/pager.js +7 -1
- package/lib/pager/src/pager.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/body.js +7 -4
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +17 -11
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/columnInfo.js +1 -0
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/methods.js +111 -16
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/style/style.css +4 -0
- package/lib/table/style/style.min.css +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/lib/v-x-e-table/src/conf.js +5 -1
- package/lib/v-x-e-table/src/conf.min.js +1 -1
- package/lib/vxe-table/style/style.css +4 -0
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-table-custom-module/style/style.css +38 -6
- package/lib/vxe-table-custom-module/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/custom/src/mixin.js +5 -10
- package/packages/custom/src/panel.js +120 -59
- package/packages/edit/src/mixin.js +2 -2
- package/packages/export/src/mixin.js +2 -2
- package/packages/filter/src/mixin.js +2 -2
- package/packages/filter/src/panel.js +5 -5
- package/packages/form/src/form-config-item.js +9 -8
- package/packages/form/src/form-item.js +9 -8
- package/packages/form/src/form.js +3 -2
- package/packages/form/src/render.js +2 -1
- package/packages/form/src/util.js +5 -4
- package/packages/locale/lang/en-US.js +2 -1
- package/packages/locale/lang/es-ES.js +2 -1
- package/packages/locale/lang/ja-JP.js +2 -1
- package/packages/locale/lang/pt-BR.js +2 -1
- package/packages/locale/lang/zh-CN.js +2 -1
- package/packages/locale/lang/zh-TC.js +2 -1
- package/packages/pager/src/pager.js +5 -1
- package/packages/table/src/body.js +7 -5
- package/packages/table/src/cell.js +17 -11
- package/packages/table/src/columnInfo.js +2 -0
- package/packages/table/src/methods.js +98 -11
- package/packages/table/src/table.js +1 -1
- package/packages/v-x-e-table/src/conf.js +5 -1
- package/styles/custom.scss +41 -5
- package/styles/table.scss +10 -0
- package/styles/variable.scss +2 -0
- package/types/v-x-e-table/renderer.d.ts +158 -9
- /package/lib/icon/style/{iconfont.1717729278146.ttf → iconfont.1718470675024.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1717729278146.woff → iconfont.1718470675024.woff} +0 -0
- /package/lib/icon/style/{iconfont.1717729278146.woff2 → iconfont.1718470675024.woff2} +0 -0
- /package/lib/{iconfont.1717729278146.ttf → iconfont.1718470675024.ttf} +0 -0
- /package/lib/{iconfont.1717729278146.woff → iconfont.1718470675024.woff} +0 -0
- /package/lib/{iconfont.1717729278146.woff2 → iconfont.1718470675024.woff2} +0 -0
|
@@ -33,31 +33,124 @@ export interface RendererMapOptions {
|
|
|
33
33
|
*/
|
|
34
34
|
isFooter?: boolean;
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
/**
|
|
37
|
+
* 请使用 tableFilterClassName
|
|
38
|
+
* @deprecated
|
|
39
|
+
*/
|
|
37
40
|
filterClassName?: string | ((params: ColumnFilterRenderParams) => string | VNodeClassName)
|
|
41
|
+
tableFilterClassName?: string | ((params: ColumnFilterRenderParams) => string | VNodeClassName)
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 请使用 showTableFilterFooter
|
|
45
|
+
* @deprecated
|
|
46
|
+
*/
|
|
38
47
|
showFilterFooter?: boolean;
|
|
48
|
+
showTableFilterFooter?: boolean;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* 已废弃,请使用 renderTableFilter
|
|
52
|
+
* @deprecated
|
|
53
|
+
*/
|
|
39
54
|
renderFilter?(h: CreateElement, renderOpts: ColumnFilterRenderOptions, params: ColumnFilterRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
55
|
+
renderTableFilter?(h: CreateElement, renderOpts: ColumnFilterRenderOptions, params: ColumnFilterRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 已废弃,请使用 tableFilterMethod
|
|
59
|
+
* @deprecated
|
|
60
|
+
*/
|
|
40
61
|
filterMethod?(params: ColumnFilterMethodParams): boolean;
|
|
62
|
+
tableFilterMethod?(params: ColumnFilterMethodParams): boolean;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* 已废弃,请使用 tableFilterResetMethod
|
|
66
|
+
* @deprecated
|
|
67
|
+
*/
|
|
41
68
|
filterResetMethod?(params: ColumnFilterResetParams): void;
|
|
42
|
-
|
|
69
|
+
tableFilterResetMethod?(params: ColumnFilterResetParams): void;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* 已废弃,请使用 defaultTableFilterMethod
|
|
73
|
+
* @deprecated
|
|
74
|
+
*/
|
|
43
75
|
defaultFilterMethod?(params: ColumnFilterMethodParams): boolean;
|
|
76
|
+
defaultTableFilterMethod?(params: ColumnFilterMethodParams): boolean;
|
|
44
77
|
|
|
45
|
-
|
|
78
|
+
/**
|
|
79
|
+
* 已废弃,请使用 tableCellClassName
|
|
80
|
+
* @deprecated
|
|
81
|
+
*/
|
|
46
82
|
cellClassName?: string | ((params: ColumnCellRenderParams | ColumnEditRenderParams) => string | VNodeClassName)
|
|
83
|
+
tableCellClassName?: string | ((params: ColumnCellRenderParams | ColumnEditRenderParams) => string | VNodeClassName)
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* 已废弃,请使用 tableCellStyle
|
|
87
|
+
* @deprecated
|
|
88
|
+
*/
|
|
47
89
|
cellStyle?: VNodeStyle | ((params: ColumnCellRenderParams | ColumnEditRenderParams) => VNodeStyle)
|
|
90
|
+
tableCellStyle?: VNodeStyle | ((params: ColumnCellRenderParams | ColumnEditRenderParams) => VNodeStyle)
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 已废弃,请使用 renderTableHeader
|
|
94
|
+
* @deprecated
|
|
95
|
+
*/
|
|
48
96
|
renderHeader?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
97
|
+
renderTableHeader?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* 已废弃,请使用 renderTableDefault
|
|
101
|
+
* @deprecated
|
|
102
|
+
*/
|
|
49
103
|
renderDefault?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
104
|
+
renderTableDefault?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 已废弃,请使用 renderTableFooter
|
|
108
|
+
* @deprecated
|
|
109
|
+
*/
|
|
50
110
|
renderFooter?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: any): SlotVNodeType | SlotVNodeType[];
|
|
111
|
+
renderTableFooter?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: any): SlotVNodeType | SlotVNodeType[];
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* 已废弃,请使用 tableExportMethod
|
|
115
|
+
* @deprecated
|
|
116
|
+
*/
|
|
51
117
|
exportMethod?(params: ColumnExportCellRenderParams): string;
|
|
118
|
+
tableExportMethod?(params: ColumnExportCellRenderParams): string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 已废弃,请使用 tableFooterExportMethod
|
|
122
|
+
* @deprecated
|
|
123
|
+
*/
|
|
52
124
|
footerExportMethod?(params: ColumnExportFooterRenderParams): string;
|
|
125
|
+
tableFooterExportMethod?(params: ColumnExportFooterRenderParams): string;
|
|
53
126
|
|
|
54
|
-
|
|
127
|
+
/**
|
|
128
|
+
* 已废弃,请使用 tableAutofocus
|
|
129
|
+
* @deprecated
|
|
130
|
+
*/
|
|
55
131
|
autofocus?: string | ((params: ColumnCellRenderParams | ColumnEditRenderParams) => HTMLElement | null);
|
|
132
|
+
tableAutofocus?: string | ((params: ColumnCellRenderParams | ColumnEditRenderParams) => HTMLElement | null);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* 已废弃,请使用 renderTableEdit
|
|
136
|
+
* @deprecated
|
|
137
|
+
*/
|
|
56
138
|
renderEdit?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
139
|
+
renderTableEdit?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* 已废弃,请使用 renderTableCell
|
|
143
|
+
* @deprecated
|
|
144
|
+
*/
|
|
57
145
|
renderCell?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
146
|
+
renderTableCell?(h: CreateElement, renderOpts: ColumnCellRenderOptions | ColumnEditRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
58
147
|
|
|
59
|
-
|
|
148
|
+
/**
|
|
149
|
+
* 已废弃,请使用 renderTableExpand
|
|
150
|
+
* @deprecated
|
|
151
|
+
*/
|
|
60
152
|
renderExpand?(h: CreateElement, renderOpts: ColumnContentRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
153
|
+
renderTableExpand?(h: CreateElement, renderOpts: ColumnContentRenderOptions, params: ColumnCellRenderParams | ColumnEditRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
61
154
|
|
|
62
155
|
// 工具栏-按钮渲染
|
|
63
156
|
toolbarButtonClassName?: string | ((params: ToolbarButtonRenderParams) => string | VNodeClassName)
|
|
@@ -65,26 +158,82 @@ export interface RendererMapOptions {
|
|
|
65
158
|
toolbarToolClassName?: string | ((params: ToolbarToolRenderParams) => string | VNodeClassName)
|
|
66
159
|
renderToolbarTool?(h: CreateElement, renderOpts: ToolbarToolRenderOptions, params: ToolbarToolRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
67
160
|
|
|
68
|
-
|
|
161
|
+
/**
|
|
162
|
+
* 已废弃,请使用 formItemClassName
|
|
163
|
+
* @deprecated
|
|
164
|
+
*/
|
|
69
165
|
itemClassName?: string | ((params: FormItemRenderParams) => string | VNodeClassName)
|
|
166
|
+
formItemClassName?: string | ((params: FormItemRenderParams) => string | VNodeClassName)
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* 已废弃,请使用 formItemStyle
|
|
170
|
+
* @deprecated
|
|
171
|
+
*/
|
|
70
172
|
itemStyle?: VNodeStyle | ((params: FormItemRenderParams) => VNodeStyle)
|
|
173
|
+
formItemStyle?: VNodeStyle | ((params: FormItemRenderParams) => VNodeStyle)
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* 已废弃,请使用 formItemContentClassName
|
|
177
|
+
* @deprecated
|
|
178
|
+
*/
|
|
71
179
|
itemContentClassName?: string | ((params: FormItemRenderParams) => string | VNodeClassName)
|
|
180
|
+
formItemContentClassName?: string | ((params: FormItemRenderParams) => string | VNodeClassName)
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* 已废弃,请使用 formItemContentStyle
|
|
184
|
+
* @deprecated
|
|
185
|
+
*/
|
|
72
186
|
itemContentStyle?: VNodeStyle | ((params: FormItemRenderParams) => VNodeStyle)
|
|
187
|
+
formItemContentStyle?: VNodeStyle | ((params: FormItemRenderParams) => VNodeStyle)
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* 已废弃,请使用 formItemTitleClassName
|
|
191
|
+
* @deprecated
|
|
192
|
+
*/
|
|
73
193
|
itemTitleClassName?: string | ((params: FormItemRenderParams) => string | VNodeClassName)
|
|
194
|
+
formItemTitleClassName?: string | ((params: FormItemRenderParams) => string | VNodeClassName)
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* 已废弃,请使用 formItemTitleStyle
|
|
198
|
+
* @deprecated
|
|
199
|
+
*/
|
|
74
200
|
itemTitleStyle?: VNodeStyle | ((params: FormItemRenderParams) => VNodeStyle)
|
|
201
|
+
formItemTitleStyle?: VNodeStyle | ((params: FormItemRenderParams) => VNodeStyle)
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 已废弃,请使用 renderFormItemTitle
|
|
205
|
+
* @deprecated
|
|
206
|
+
*/
|
|
75
207
|
renderItemTitle?(h: CreateElement, renderOpts: FormItemRenderOptions, params: FormItemRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
208
|
+
renderFormItemTitle?(h: CreateElement, renderOpts: FormItemRenderOptions, params: FormItemRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* 已废弃,请使用 renderFormItemContent
|
|
212
|
+
* @deprecated
|
|
213
|
+
*/
|
|
76
214
|
renderItemContent?(h: CreateElement, renderOpts: FormItemRenderOptions, params: FormItemRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
215
|
+
renderFormItemContent?(h: CreateElement, renderOpts: FormItemRenderOptions, params: FormItemRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* 已废弃,请使用 formItemVisibleMethod
|
|
219
|
+
* @deprecated
|
|
220
|
+
*/
|
|
77
221
|
itemVisibleMethod?(params: FormItemVisibleParams): boolean;
|
|
78
|
-
|
|
222
|
+
formItemVisibleMethod?(params: FormItemVisibleParams): boolean;
|
|
79
223
|
|
|
80
|
-
|
|
81
|
-
|
|
224
|
+
/**
|
|
225
|
+
* 已废弃,请使用 formItemResetMethod
|
|
226
|
+
* @deprecated
|
|
227
|
+
*/
|
|
228
|
+
itemResetMethod?(params: FormItemResetParams): void;
|
|
229
|
+
formItemResetMethod?(params: FormItemResetParams): void;
|
|
82
230
|
|
|
83
231
|
/**
|
|
84
232
|
* 已废弃,请使用 renderTableEmptyView
|
|
85
233
|
* @deprecated
|
|
86
234
|
*/
|
|
87
235
|
renderEmpty?(h: CreateElement, renderOpts: TableEmptyRender, params: EmptyRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
236
|
+
renderTableEmptyView?(h: CreateElement, renderOpts: TableEmptyRender, params: EmptyRenderParams): SlotVNodeType | SlotVNodeType[];
|
|
88
237
|
|
|
89
238
|
[key: string]: any;
|
|
90
239
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|