Skip to content

Commit

Permalink
releases 3.11.14
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Dec 1, 2024
1 parent bc5ae0a commit 700f8fa
Show file tree
Hide file tree
Showing 25 changed files with 587 additions and 539 deletions.
12 changes: 6 additions & 6 deletions examples/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ import App from './App.vue'
import router from './router'
import i18n from './i18n'

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.setLanguage((localStorage.getItem('VXE_LANGUAGE') as 'zh-CN' | 'en-US') || 'zh-CN')
// VxeUI.setI18n('en-US', enUS)
// VxeUI.setLanguage((localStorage.getItem('VXE_LANGUAGE') as 'zh-CN' | 'en-US') || 'zh-CN')

Vue.use(VxeUI)
// Vue.use(VxeUI)
Vue.use(VxeTable)

new Vue({
Expand Down
6 changes: 5 additions & 1 deletion examples/views/table/TableTest1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
</vxe-column>
<vxe-column field="sex" title="Sex" :filters="demo1.sexList" :filter-multiple="false" :formatter="formatterSex"></vxe-column>
<vxe-column field="address" title="Address" show-overflow></vxe-column>

<template #loading>
<div>加载中。。。。。。</div>
</template>
</vxe-table>
</div>
</template>
Expand Down Expand Up @@ -106,7 +110,7 @@ export default Vue.extend({
{ id: 10020, name: 'Test20', role: 'Develop', sex: '1', age: 41, address: 'test abc' }
]
this.demo1.loading = false
}, 100)
}, 500)
}
})
</script>
9 changes: 9 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 @@ -123,6 +124,14 @@ export default Vue.extend({
},
rowDragendEvent (params: any) {
console.log(params)
},
exportEvent () {
const $table = this.$refs.tableRef as VxeTableInstance
if ($table) {
$table.openExport({
types: ['xlsx', 'pdf', 'fff']
})
}
}
},
created () {
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": "3.11.13",
"version": "3.11.14",
"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": "^3.3.13"
"vxe-pc-ui": "^3.3.14"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.25.7",
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 700f8fa

Please sign in to comment.