Skip to content

Commit

Permalink
releases 4.3.30
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Dec 13, 2024
1 parent 3456e37 commit df1939e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-pc-ui",
"version": "4.3.29",
"version": "4.3.30",
"description": "A vue based PC component library",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
1 change: 1 addition & 0 deletions types/components/table-module/custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export interface TableCustomPrivateMethods<D = any> {
triggerCustomEvent(evnt: MouseEvent): void
customOpenEvent (evnt: Event): void
customCloseEvent (evnt: Event): void
handleUpdateCustomColumn(): void
}

declare module '../grid' {
Expand Down
10 changes: 8 additions & 2 deletions types/components/table.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3338,7 +3338,7 @@ export interface TableMethods<DT = any> {
* @param sortConfs
* @param update 是否同时更新数据,如果不传,则可以手动调用 updateData() 更新数据
*/
setSort(sortConfs: VxeTableDefines.SortConfs | VxeTableDefines.SortConfs[], update?: boolean)
setSort(sortConfs: VxeTableDefines.SortConfs | VxeTableDefines.SortConfs[], update?: boolean): Promise<void>
/**
* 手动清空排序条件,数据会恢复成未排序的状态
* @param columnOrField 列对象或字段名
Expand Down Expand Up @@ -3577,8 +3577,14 @@ export interface TablePrivateMethods<D = any> {
cacheSourceMap(fullData: any[]): void
saveCustomStore(type: 'confirm' | 'reset' | 'update:width' | 'update:fixed' | 'update:sort' | 'update:visible'): Promise<any>
analyColumnWidth(): void
updateCheckboxStatus(): void
updateAllCheckboxStatus(): void
checkSelectionStatus(): void
handleBatchSelectRows(rows: any[], value: any, isForce?: boolean): void
/**
* use handleBatchSelectRows
* @deprecated
*/
handleSelectRow(params: any, value: any, isForce?: boolean): void
handleCustom(): Promise<void>
handleUpdateDataQueue(): void
Expand Down Expand Up @@ -4365,7 +4371,7 @@ export namespace VxeTableDefines {
}
}

export interface EnterAppendRowEventParams {
export interface EnterAppendRowEventParams<D = any> {
row: D
rowIndex: number
$rowIndex: number
Expand Down

0 comments on commit df1939e

Please sign in to comment.