Skip to content

Commit

Permalink
releases 4.0.36
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Jun 26, 2024
1 parent cf433af commit 02de2a0
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table",
"version": "4.7.35",
"version": "4.7.36",
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、列拖拽,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down Expand Up @@ -28,7 +28,7 @@
"style": "lib/style.css",
"typings": "types/index.d.ts",
"dependencies": {
"vxe-pc-ui": "^4.0.33"
"vxe-pc-ui": "^4.0.35"
},
"devDependencies": {
"@types/resize-observer-browser": "^0.1.11",
Expand Down
3 changes: 0 additions & 3 deletions packages/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ export function install (app: App, options?: VxeGlobalConfig) {
components.forEach(component => component.install(app))
}

export const modal = VxeUI.drawer
export const drawer = VxeUI.drawer

export * from './ui'

// Components
Expand Down
67 changes: 67 additions & 0 deletions packages/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,82 @@ export const VXETable = VxeUI
VXETable.setup = config
VXETable.config = config

/**
* 已废弃,兼容老版本
* @deprecated
*/
export const saveFile: VxeUploadDefines.SaveFileFunction = (options) => {
return VxeUI.saveFile(options)
}
/**
* 已废弃,兼容老版本
* @deprecated
*/
export const readFile: VxeUploadDefines.ReadFileFunction = (options) => {
return VxeUI.readFile(options)
}
/**
* 已废弃,兼容老版本
* @deprecated
*/
export const print: VxePrintDefines.PrintFunction = (options) => {
return VxeUI.print(options)
}
/**
* 已废弃,兼容老版本
* @deprecated
*/
export const modal = {
/**
* 已废弃,兼容老版本
* @deprecated
*/
get (id: any) {
return VxeUI.modal.get(id)
},
/**
* 已废弃,兼容老版本
* @deprecated
*/
close (id: any) {
return VxeUI.modal.close(id)
},
/**
* 已废弃,兼容老版本
* @deprecated
*/
open (options: any) {
return VxeUI.modal.open(options)
},
/**
* 已废弃,兼容老版本
* @deprecated
*/
alert (content: any, title: any, options: any) {
return VxeUI.modal.alert(content, title, options)
},
/**
* 已废弃,兼容老版本
* @deprecated
*/
confirm (content: any, title: any, options: any) {
return VxeUI.modal.confirm(content, title, options)
},
/**
* 已废弃,兼容老版本
* @deprecated
*/
message (content: any, options: any) {
return VxeUI.modal.message(content, options)
},
/**
* 已废弃,兼容老版本
* @deprecated
*/
notification (content: any, title: any, options: any) {
return VxeUI.modal.notification(content, title, options)
}
}

export {
VxeUI
Expand Down

0 comments on commit 02de2a0

Please sign in to comment.