Skip to content

Commit

Permalink
releases 4.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Jun 18, 2024
1 parent d100c58 commit d97d38b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 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.0.20",
"version": "4.0.21",
"description": "A vue based PC component library",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
5 changes: 4 additions & 1 deletion packages/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import { warnLog } from './src/log'

import { VxeGlobalConfig } from '../../types'

VxeUI.uiVersion = process.env.VUE_APP_VXE_VERSION as string
export const version = process.env.VUE_APP_VXE_VERSION as string
VxeUI.version = version

VxeUI.uiVersion = version
VxeUI.tableVersion = ''
VxeUI.t = VxeUI.getI18n
VxeUI._t = getFuncText
Expand Down
20 changes: 15 additions & 5 deletions types/ui/renderer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ declare module '@vxe-ui/core' {
/**
* 表格 - 默认筛选处理方法,如果同时存在,会被 tableFilterMethod 覆盖
*/
defaultTableFilterMethod?(params: VxeGlobalRendererHandles.TableFilterMethodParams<any>): boolean
tableFilterDefaultMethod?(params: VxeGlobalRendererHandles.TableFilterMethodParams<any>): boolean

/**
* 表格 - 单元格设置 class
Expand Down Expand Up @@ -78,9 +78,9 @@ declare module '@vxe-ui/core' {
/**
* 表格 - 激活编辑状态时,设置自动聚焦的 class
*/
tableAutofocus?: string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
tableAutoFocus?: string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
/**
* 表格 - 激活编辑状态时,设置是否自动选中 tableAutofocus 指定的元素
* 表格 - 激活编辑状态时,设置是否自动选中 tableAutoFocus 指定的元素
*/
tableAutoSelect?: boolean
/**
Expand Down Expand Up @@ -123,10 +123,15 @@ declare module '@vxe-ui/core' {
*/
filterRecoverMethod?(params: VxeGlobalRendererHandles.TableFilterRecoverMethodParams<any>): void
/**
* 已废弃,请使用 defaultTableFilterMethod
* 已废弃,请使用 tableFilterDefaultMethod
* @deprecated
*/
defaultFilterMethod?(params: VxeGlobalRendererHandles.TableFilterMethodParams<any>): boolean
/**
* 已废弃,请使用 tableFilterDefaultMethod
* @deprecated
*/
defaultTableFilterMethod?(params: VxeGlobalRendererHandles.TableFilterMethodParams<any>): boolean
/**
* 已废弃,请使用 tableFilterClassName
* @deprecated
Expand All @@ -148,10 +153,15 @@ declare module '@vxe-ui/core' {
*/
cellStyle?: VxeComponentStyleType | ((params: VxeGlobalRendererHandles.RenderTableDefaultParams<any>) => VxeComponentStyleType)
/**
* 已废弃,请使用 tableAutofocus
* 已废弃,请使用 tableAutoFocus
* @deprecated
*/
autofocus?: string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
/**
* 已废弃,请使用 tableAutoFocus
* @deprecated
*/
tableAutofocus?: string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
/**
* 已废弃,请使用 tableAutoSelect
* @deprecated
Expand Down

0 comments on commit d97d38b

Please sign in to comment.