mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
releases 4.0.36
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user