releases 4.0.36

This commit is contained in:
xuliangzhan
2024-06-26 12:36:29 +08:00
parent cf433af1ef
commit 02de2a0257
3 changed files with 69 additions and 5 deletions

View File

@@ -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",
@@ -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",

View File

@@ -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

View File

@@ -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