Skip to content

Commit

Permalink
releases 4.7.86
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Oct 8, 2024
1 parent f8aa65c commit ed8900b
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 11 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@

* 设计理念
* 面向现代浏览器,高效的简洁 API 设计
* 模块化表格、按需加载
* 为单行编辑表格而设计,支持增删改查及更多扩展,强大的功能的同时兼具性能
* 按需加载

* 计划
* [x] ~~v1.0 基于 vue2.6,支持所有主流的浏览器,实现表格的一切实用的功能~~
* [x] ~~v2.0 基于 vue2.6,支持所有主流的浏览器,同时兼具功能与性能~~
* [x] v3.0 基于 vue2.6+,支持现代浏览器并保留兼容 IE11
* [x] v3.9 基于 vue2.6+,重构拆分组件,分为 [Vxe table](https://github.com/x-extends/vxe-table)[Vxe UI](https://github.com/x-extends/vxe-pc-ui),将支持可视化组件
* [x] v3.9 基于 vue2.6+,内部重构,只支持现代浏览器,不支持 IE
* [x] v4.0 基于 vue3.2+,只支持现代浏览器,不支持 IE
* [x] v4.7 基于 vue3.2+,重构拆分组件,分为 [Vxe table](https://github.com/x-extends/vxe-table)[Vxe UI](https://github.com/x-extends/vxe-pc-ui),将支持可视化组件
* [x] v4.7 基于 vue3.2+,内部重构,只支持现代浏览器,不支持 IE
* [ ] 下一阶段:sticky 渲染模式、将虚拟滚动提升到极致、虚拟滚动动态行高、数据图表可视化

## 浏览器支持
Expand Down
6 changes: 6 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import * as VxeTableExport from './packages/components'
import './styles/all.scss'

if (typeof window !== 'undefined' && window.VXETable) {
if (!(window as any).VxeUITable) {
(window as any).VxeUITable = VxeTableExport
}
}

export * from './packages/components'
export default VxeTableExport
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.85",
"version": "4.7.86",
"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.2.10"
"vxe-pc-ui": "^4.2.16"
},
"devDependencies": {
"@types/resize-observer-browser": "^0.1.11",
Expand Down
5 changes: 4 additions & 1 deletion packages/locale/lang/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
goto: 'Go to',
gotoTitle: 'Number',
pagesize: '{0}/page',
total: 'Total {0} record',
total: 'Total {0} records',
pageClassifier: '',
homePage: 'Home',
homePageTitle: 'Home page',
Expand Down Expand Up @@ -320,6 +320,9 @@ export default {
fileTitle: 'Upload file'
}
},
empty: {
defText: 'No Data'
},
formDesign: {
formName: 'Form name',
defFormTitle: 'Unnamed form',
Expand Down
2 changes: 1 addition & 1 deletion packages/table/module/export/import-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default defineComponent({
modelValue: storeData.visible,
title: getI18n('vxe.import.impTitle'),
className: 'vxe-table-import-popup-wrapper',
width: 520,
width: 540,
mask: true,
lockView: true,
showFooter: false,
Expand Down
6 changes: 3 additions & 3 deletions packages/table/src/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,9 +770,9 @@ export default defineComponent({
}
}
}
return { toVisibleIndex: Math.max(0, toVisibleIndex), visibleSize: Math.max(8, visibleSize) }
return { toVisibleIndex: Math.max(0, toVisibleIndex), visibleSize: Math.max(6, visibleSize) }
}
return { toVisibleIndex: 0, visibleSize: 8 }
return { toVisibleIndex: 0, visibleSize: 6 }
}

const computeVirtualY = () => {
Expand Down Expand Up @@ -7179,7 +7179,7 @@ export default defineComponent({
resizeObserver = globalResize.create(handleOptimizeResize
? () => {
if (props.autoResize) {
requestAnimationFrame(handleOptimizeResize)
handleOptimizeResize()
}
}
: () => {
Expand Down
1 change: 1 addition & 0 deletions types/all.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ declare global {
* @deprecated
*/
VXETable: VxeUIExport;
VxeUITable: VxeUIExport;
}
}

Expand Down

0 comments on commit ed8900b

Please sign in to comment.