Skip to content

Commit

Permalink
releases 4.7.84
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Sep 27, 2024
1 parent d18b1bc commit db36cc1
Show file tree
Hide file tree
Showing 15 changed files with 276 additions and 247 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.83",
"version": "4.7.84",
"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.7"
"vxe-pc-ui": "^4.2.9"
},
"devDependencies": {
"@types/resize-observer-browser": "^0.1.11",
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: 'Maximize',
zoomOut: 'Reduction',
close: 'Close',
miniMaxSize: 'The number of minimized Windows cannot exceed {0}.'
miniMaxSize: 'The number of minimized Windows cannot exceed {0}.',
footPropErr: '"show-footer" is only used to enable table tails and needs to be used in conjunction with "show-confirm-button" | "show-cancel-button" | slots'
},
drawer: {
close: 'Close'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/es-ES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: 'Maximize',
zoomOut: 'Reducir',
close: 'Cerrar',
miniMaxSize: 'The number of minimized Windows cannot exceed {0}.'
miniMaxSize: 'The number of minimized Windows cannot exceed {0}.',
footPropErr: '"show-footer" is only used to enable table tails and needs to be used in conjunction with "show-confirm-button" | "show-cancel-button" | slots'
},
drawer: {
close: 'Cerrar'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/hu-HU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: 'maximalizálni',
zoomOut: 'csökkentés',
close: 'bezárás',
miniMaxSize: 'A minimalizált ablakok száma nem haladhatja meg a következőt: {0}'
miniMaxSize: 'A minimalizált ablakok száma nem haladhatja meg a következőt: {0}',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: 'bezárás'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/ja-JP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: '最大化',
zoomOut: '縮小',
close: '閉じる',
miniMaxSize: 'The number of minimized Windows cannot exceed {0}.'
miniMaxSize: 'The number of minimized Windows cannot exceed {0}.',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: '閉じる'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/ko-KR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: '最大化',
zoomOut: '还原',
close: '关闭',
miniMaxSize: '最小化窗口的数量不能超过 {0} 个'
miniMaxSize: '最小化窗口的数量不能超过 {0} 个',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: '关闭'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: 'Maximize',
zoomOut: 'Restaurar',
close: 'Fechar',
miniMaxSize: 'The number of minimized Windows cannot exceed {0}.'
miniMaxSize: 'The number of minimized Windows cannot exceed {0}.',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: 'Fechar'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/ru-RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: 'максимизировать',
zoomOut: 'снижение',
close: 'закрытие',
miniMaxSize: 'Количество свернутых окон не может превышать {0}.'
miniMaxSize: 'Количество свернутых окон не может превышать {0}.',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: 'закрытие'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/uk-UA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: '最大化',
zoomOut: '还原',
close: '关闭',
miniMaxSize: '最小化窗口的数量不能超过 {0} 个'
miniMaxSize: '最小化窗口的数量不能超过 {0} 个',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: '关闭'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/vi-VN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: '最大化',
zoomOut: '还原',
close: '关闭',
miniMaxSize: '最小化窗口的数量不能超过 {0} 个'
miniMaxSize: '最小化窗口的数量不能超过 {0} 个',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: '关闭'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/zh-CHT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: '最大化',
zoomOut: '還原',
close: '關閉',
miniMaxSize: '最小化視窗的數量不能超過 {0} 個'
miniMaxSize: '最小化視窗的數量不能超過 {0} 個',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: '關閉'
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export default {
zoomIn: '最大化',
zoomOut: '还原',
close: '关闭',
miniMaxSize: '最小化窗口的数量不能超过 {0} 个'
miniMaxSize: '最小化窗口的数量不能超过 {0} 个',
footPropErr: 'show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用'
},
drawer: {
close: '关闭'
Expand Down
14 changes: 14 additions & 0 deletions packages/table/render/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,20 @@ renderer.mixin({
]
}
},
VxeTextEllipsis: {
renderTableDefault (renderOpts, params) {
const { row, column } = params
const { props } = renderOpts
const cellValue = getCellValue(row, column)
return [
h(getDefaultComponent(renderOpts), {
...props,
content: cellValue,
...getEditOns(renderOpts, params)
})
]
}
},

// 以下已废弃
$input: {
Expand Down
Loading

0 comments on commit db36cc1

Please sign in to comment.