Skip to content

Commit

Permalink
releases 4.9.11
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Dec 1, 2024
1 parent 59b7ba8 commit 94a886b
Show file tree
Hide file tree
Showing 25 changed files with 569 additions and 536 deletions.
10 changes: 5 additions & 5 deletions examples/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import VxeUI from 'vxe-pc-ui'
import 'vxe-pc-ui/lib/style.css'
// import VxeUI from 'vxe-pc-ui'
// import 'vxe-pc-ui/lib/style.css'

import enUS from 'vxe-pc-ui/packages/language/en-US'
// import enUS from 'vxe-pc-ui/packages/language/en-US'

import VxeTable from '../packages'
import '../styles/all.scss'

import './style/index.scss'

VxeUI.setI18n('en-US', enUS)
// VxeUI.setI18n('en-US', enUS)

createApp(App)
.use(router)
.use(VxeUI)
// .use(VxeUI)
.use(VxeTable)
.mount('#app')
2 changes: 1 addition & 1 deletion examples/views/table/TableTest1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<vxe-column field="address" title="Address" show-overflow></vxe-column>

<template #loading>
<div>加载中。。。</div>
<div>加载中。。。。。。</div>
</template>
</vxe-table>
</div>
Expand Down
10 changes: 10 additions & 0 deletions examples/views/table/TableTest2.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<div>
<vxe-button @click="exportEvent">导出</vxe-button>
<vxe-toolbar ref="toolbarRef" custom export import></vxe-toolbar>

<vxe-table
Expand Down Expand Up @@ -164,6 +165,15 @@ const rowDragendEvent = (params: any) => {
console.log(params)
}
const exportEvent = () => {
const $table = tableRef.value
if ($table) {
$table.openExport({
types: ['xlsx', 'pdf', 'fff']
})
}
}
nextTick(() => {
// 将表格和工具栏进行关联
const $table = tableRef.value
Expand Down
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.9.10",
"version": "4.9.11",
"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.3.10"
"vxe-pc-ui": "^4.3.11"
},
"devDependencies": {
"@types/resize-observer-browser": "^0.1.11",
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/ar-EG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default {
notType: '不支持的文件类型 "{0}"',
notExp: '该浏览器不支持导入/导出功能',
impFields: '导入失败,请检查字段名和数据格式是否正确',
treeNotImp: '树表格不支持导入'
treeNotImp: '树表格不支持导入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'لا توجد بيانات حتى الآن',
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/de-DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default {
notType: '不支持的文件类型 "{0}"',
notExp: '该浏览器不支持导入/导出功能',
impFields: '导入失败,请检查字段名和数据格式是否正确',
treeNotImp: '树表格不支持导入'
treeNotImp: '树表格不支持导入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'Noch keine Daten',
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 @@ -46,7 +46,8 @@ export default {
notType: 'Unsupported file types "{0}"',
notExp: 'The browser does not support import / export.',
impFields: 'Import failed, please check that the field name and data format are correct.',
treeNotImp: 'Tree table does not support import.'
treeNotImp: 'Tree table does not support import.',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'No Data',
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 @@ -46,7 +46,8 @@ export default {
notType: 'Tipos de archivo no compatibles "{0}"',
notExp: 'El navegador no es compatible con la importación / exportación.',
impFields: 'Error de importación, por favor revise que el nombre del campo y el formato de datos sean correctos.',
treeNotImp: 'La tabla de árbol no soporta importación.'
treeNotImp: 'La tabla de árbol no soporta importación.',
reqPlugin: 'Optional extension "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'No hay datos',
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/fr-FR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default {
notType: '不支持的文件类型 "{0}"',
notExp: '该浏览器不支持导入/导出功能',
impFields: '导入失败,请检查字段名和数据格式是否正确',
treeNotImp: '树表格不支持导入'
treeNotImp: '树表格不支持导入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: "Aucune donnée pour l'instant",
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 @@ -46,7 +46,8 @@ export default {
notType: 'Nem támogatott "{0}" fájltípus',
notExp: 'Ez a böngésző nem támogatja az importálási/exportálási funkciókat',
impFields: 'Az importálás nem sikerült, ellenőrizze, hogy a mezőnév és az adatformátum helyes-e',
treeNotImp: 'A fatáblák nem támogatják az importálást'
treeNotImp: 'A fatáblák nem támogatják az importálást',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'Még nincsenek adatok',
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/hy-AM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default {
notType: '不支持的文件类型 "{0}"',
notExp: '该浏览器不支持导入/导出功能',
impFields: '导入失败,请检查字段名和数据格式是否正确',
treeNotImp: '树表格不支持导入'
treeNotImp: '树表格不支持导入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: '暂无数据',
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 @@ -46,7 +46,8 @@ export default {
notType: 'サポートされていないファイルの種類 "{0}"',
notExp: 'ご利用のブラウザはインポート/エクスポート機能を利用できません',
impFields: 'インポートに失敗しました。フィールド名とデータ形式を確認してください',
treeNotImp: 'ツリーテーブルはインポートをサポートしていません'
treeNotImp: 'ツリーテーブルはインポートをサポートしていません',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'データがありません',
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 @@ -46,7 +46,8 @@ export default {
notType: '不支持的文件类型 "{0}"',
notExp: '该浏览器不支持导入/导出功能',
impFields: '导入失败,请检查字段名和数据格式是否正确',
treeNotImp: '树表格不支持导入'
treeNotImp: '树表格不支持导入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: '暂无数据',
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/nb-NO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default {
notType: '不支持的文件类型 "{0}"',
notExp: '该浏览器不支持导入/导出功能',
impFields: '导入失败,请检查字段名和数据格式是否正确',
treeNotImp: '树表格不支持导入'
treeNotImp: '树表格不支持导入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'Ingen data ennå',
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 @@ -46,7 +46,8 @@ export default {
notType: 'Tipos de arquivo não suportados "{0}"',
notExp: 'O navegador não suporta importação/exportação.',
impFields: 'Falha na importação, verifique se o nome do campo e o formato dos dados estão corretos.',
treeNotImp: 'A tabela de árvore não suporta importação.'
treeNotImp: 'A tabela de árvore não suporta importação.',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'Sem dados',
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 @@ -46,7 +46,8 @@ export default {
notType: 'Неподдерживаемый тип файла "{0}"',
notExp: 'Этот браузер не поддерживает функцию импорта/экспорта.',
impFields: 'Не удалось выполнить импорт. Проверьте правильность имени поля и формата данных.',
treeNotImp: 'Древовидные таблицы не поддерживают импорт.'
treeNotImp: 'Древовидные таблицы не поддерживают импорт.',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'Данных пока нет',
Expand Down
3 changes: 2 additions & 1 deletion packages/locale/lang/ug-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default {
notType: 'قوللىمايدىغان ھۆججەت شەكلى "{0}"',
notExp: 'بۇ تور كۆرگۈچ ئەكىرىش/ئاچىقىشنى قوللىمايدۇ',
impFields: 'ئەكىرىشى مەغلۇپ بولدى،سۆز ھەم ئۇچۇر فورماتىنى تەكشۈرۈڭ',
treeNotImp: 'دەرەخ شەكىللىك جەدىۋەلنى ئەكىرىشنى قوللىمايدۇ'
treeNotImp: 'دەرەخ شەكىللىك جەدىۋەلنى ئەكىرىشنى قوللىمايدۇ',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: 'ھازىرچە ئۇچۇر يوق',
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 @@ -46,7 +46,8 @@ export default {
notType: '不支持的文件类型 "{0}"',
notExp: '该浏览器不支持导入/导出功能',
impFields: '导入失败,请检查字段名和数据格式是否正确',
treeNotImp: '树表格不支持导入'
treeNotImp: '树表格不支持导入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: '暂无数据',
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 @@ -46,7 +46,8 @@ export default {
notType: '不支持的文件类型 "{0}"',
notExp: '该浏览器不支持导入/导出功能',
impFields: '导入失败,请检查字段名和数据格式是否正确',
treeNotImp: '树表格不支持导入'
treeNotImp: '树表格不支持导入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: '暂无数据',
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 @@ -46,7 +46,8 @@ export default {
notType: '不支援的文件類型 "{0}"',
notExp: '該瀏覽器不支援匯入/匯出功能',
impFields: '匯入失敗,請檢查欄位名稱和資料格式是否正確',
treeNotImp: '樹表格不支援導入'
treeNotImp: '樹表格不支援導入',
reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
},
table: {
emptyText: '暫無數據',
Expand Down
Loading

0 comments on commit 94a886b

Please sign in to comment.