Skip to content

Commit

Permalink
releases 4.2.52
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Nov 13, 2024
1 parent 0f53fca commit fd87326
Show file tree
Hide file tree
Showing 4 changed files with 9 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.2.51",
"version": "4.2.52",
"description": "A vue based PC component library",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
2 changes: 1 addition & 1 deletion types/components/column.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export namespace VxeColumnPropTypes {
optionProps?: VxeGlobalRendererHandles.RenderOptionProps
optionGroups?: any[]
optionGroupProps?: VxeGlobalRendererHandles.RenderOptionGroupProps
autoFocus?: string
autoFocus?: boolean | string
autoSelect?: boolean
defaultValue?: ((params: { column: VxeTableDefines.ColumnInfo<D> }) => any) | null | undefined | string | number | RegExp | object | any[] | Date
immediate?: boolean
Expand Down
6 changes: 6 additions & 0 deletions types/components/table.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2736,6 +2736,12 @@ export interface TableMethods<DT = any> {
* @param records 数据
*/
createRow(records: any | any[]): Promise<any | any[]>
// /**
// * 将表格数据转成原始数据
// * 会自动去掉主键等内部属性
// * @param rows
// */
// toOriginalRecords(rows: any[]): DT[]
/**
* 只对 keep-source 开启有效,还原指定行 row 或者整个表格的数据
* @param rows 指定行
Expand Down
2 changes: 1 addition & 1 deletion types/ui/renderer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ declare module '@vxe-ui/core' {
/**
* 表格 - 激活编辑状态时,设置自动聚焦的 class
*/
tableAutoFocus?: string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
tableAutoFocus?: boolean | string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
/**
* 表格 - 激活编辑状态时,设置是否自动选中 tableAutoFocus 指定的元素
*/
Expand Down

0 comments on commit fd87326

Please sign in to comment.