From eb1cfede7c738dc72fe5188827634488cdeae7a2 Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Mon, 4 Nov 2024 17:01:41 +0800 Subject: [PATCH] releases 3.10.1 --- package.json | 4 ++-- packages/locale/lang/en-US.ts | 1 + packages/locale/lang/es-ES.ts | 1 + packages/locale/lang/hu-HU.ts | 1 + packages/locale/lang/ja-JP.ts | 1 + packages/locale/lang/ko-KR.ts | 1 + packages/locale/lang/pt-BR.ts | 1 + packages/locale/lang/ru-RU.ts | 1 + packages/locale/lang/uk-UA.ts | 1 + packages/locale/lang/vi-VN.ts | 1 + packages/locale/lang/zh-CHT.ts | 1 + packages/locale/lang/zh-CN.ts | 1 + packages/table/module/export/export-panel.ts | 4 ++-- packages/table/module/export/import-panel.ts | 2 +- styles/components/table.scss | 9 +++++++++ 15 files changed, 25 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1be10fdc1c..227f3201cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vxe-table", - "version": "3.10.0", + "version": "3.10.1", "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": "^3.2.8" + "vxe-pc-ui": "^3.2.9" }, "devDependencies": { "@babel/plugin-transform-modules-commonjs": "^7.25.7", diff --git a/packages/locale/lang/en-US.ts b/packages/locale/lang/en-US.ts index e5861afb21..86079413a2 100644 --- a/packages/locale/lang/en-US.ts +++ b/packages/locale/lang/en-US.ts @@ -62,6 +62,7 @@ export default { impSuccess: 'Successfully imported {0} records', expLoading: 'Exporting', expSuccess: 'Export success', + expError: 'Export failure', expFilename: 'Export_{0}', expOriginFilename: 'Export_original_{0}', customTitle: 'Column settings', diff --git a/packages/locale/lang/es-ES.ts b/packages/locale/lang/es-ES.ts index 7054a2d86f..c6a320b401 100644 --- a/packages/locale/lang/es-ES.ts +++ b/packages/locale/lang/es-ES.ts @@ -62,6 +62,7 @@ export default { impSuccess: 'Se importaron {0} registros con éxito', expLoading: 'Exportando', expSuccess: 'Éxito al exportar', + expError: 'Export failure', expFilename: 'Exportar_{0}', expOriginFilename: 'Exportar_original_{0}', customTitle: 'Configuraciones de columna', diff --git a/packages/locale/lang/hu-HU.ts b/packages/locale/lang/hu-HU.ts index 0f0ea0a7b5..451a1e3955 100644 --- a/packages/locale/lang/hu-HU.ts +++ b/packages/locale/lang/hu-HU.ts @@ -62,6 +62,7 @@ export default { impSuccess: '{0} rekord sikeresen importálva', expLoading: 'Exportálás', expSuccess: 'Az exportálás sikeres volt', + expError: 'Export failure', expFilename: 'Exportálás_{0}', expOriginFilename: 'export_source_{0}', customTitle: 'Oszlopbeállítások', diff --git a/packages/locale/lang/ja-JP.ts b/packages/locale/lang/ja-JP.ts index 8967010225..f7315c830a 100644 --- a/packages/locale/lang/ja-JP.ts +++ b/packages/locale/lang/ja-JP.ts @@ -62,6 +62,7 @@ export default { impSuccess: '{0} レコードがインポートされました', expLoading: 'エクスポート中', expSuccess: 'エクスポートが成功しました', + expError: 'Export failure', expOriginFilename: 'エクスポート_{0}', expSrcFilename: 'エクスポート_ソース_{0}', customTitle: '列設定', diff --git a/packages/locale/lang/ko-KR.ts b/packages/locale/lang/ko-KR.ts index 2e13e13571..368af21aaa 100644 --- a/packages/locale/lang/ko-KR.ts +++ b/packages/locale/lang/ko-KR.ts @@ -62,6 +62,7 @@ export default { impSuccess: '成功导入 {0} 条记录', expLoading: '正在导出中', expSuccess: '导出成功', + expError: 'Export failure', expFilename: '导出_{0}', expOriginFilename: '导出_源_{0}', customTitle: '列设置', diff --git a/packages/locale/lang/pt-BR.ts b/packages/locale/lang/pt-BR.ts index 7033904a5e..44007b6104 100644 --- a/packages/locale/lang/pt-BR.ts +++ b/packages/locale/lang/pt-BR.ts @@ -62,6 +62,7 @@ export default { impSuccess: 'Importado com sucesso {0} registros', expLoading: 'Exportando', expSuccess: 'Exportado com sucesso', + expError: 'Export failure', expFilename: 'Exportar_{0}', expOriginFilename: 'Exportar_original_{0}', customTitle: 'Configurações de coluna', diff --git a/packages/locale/lang/ru-RU.ts b/packages/locale/lang/ru-RU.ts index 291c3dbdf6..7ce76a6280 100644 --- a/packages/locale/lang/ru-RU.ts +++ b/packages/locale/lang/ru-RU.ts @@ -62,6 +62,7 @@ export default { impSuccess: 'Успешно импортировано {0} записей.', expLoading: 'Экспорт', expSuccess: 'Экспорт выполнен успешно', + expError: 'Export failure', expFilename: 'Экспорт_{0}', expOriginFilename: 'экспорт_источник_{0}', customTitle: 'Настройки столбца', diff --git a/packages/locale/lang/uk-UA.ts b/packages/locale/lang/uk-UA.ts index 2d9bd0f7d4..1465a23063 100644 --- a/packages/locale/lang/uk-UA.ts +++ b/packages/locale/lang/uk-UA.ts @@ -62,6 +62,7 @@ export default { impSuccess: '成功导入 {0} 条记录', expLoading: '正在导出中', expSuccess: '导出成功', + expError: '导出失败', expFilename: '导出_{0}', expOriginFilename: '导出_源_{0}', customTitle: '列设置', diff --git a/packages/locale/lang/vi-VN.ts b/packages/locale/lang/vi-VN.ts index 2d9bd0f7d4..1465a23063 100644 --- a/packages/locale/lang/vi-VN.ts +++ b/packages/locale/lang/vi-VN.ts @@ -62,6 +62,7 @@ export default { impSuccess: '成功导入 {0} 条记录', expLoading: '正在导出中', expSuccess: '导出成功', + expError: '导出失败', expFilename: '导出_{0}', expOriginFilename: '导出_源_{0}', customTitle: '列设置', diff --git a/packages/locale/lang/zh-CHT.ts b/packages/locale/lang/zh-CHT.ts index 0141cbf4b0..912d1a16cf 100644 --- a/packages/locale/lang/zh-CHT.ts +++ b/packages/locale/lang/zh-CHT.ts @@ -62,6 +62,7 @@ export default { impSuccess: '成功導入 {0} 筆記錄', expLoading: '正在匯出中', expSuccess: '匯出成功', + expError: '导出失败', expFilename: '導出_{0}', expOriginFilename: '匯出_來源_{0}', customTitle: '列設定', diff --git a/packages/locale/lang/zh-CN.ts b/packages/locale/lang/zh-CN.ts index 2e13e13571..a5eaeb619b 100644 --- a/packages/locale/lang/zh-CN.ts +++ b/packages/locale/lang/zh-CN.ts @@ -62,6 +62,7 @@ export default { impSuccess: '成功导入 {0} 条记录', expLoading: '正在导出中', expSuccess: '导出成功', + expError: '导出失败', expFilename: '导出_{0}', expOriginFilename: '导出_源_{0}', customTitle: '列设置', diff --git a/packages/table/module/export/export-panel.ts b/packages/table/module/export/export-panel.ts index 808817b40b..ef22daf9b6 100644 --- a/packages/table/module/export/export-panel.ts +++ b/packages/table/module/export/export-panel.ts @@ -226,7 +226,7 @@ export default { options: storeData.typeList }, on: { - input (value: any) { + modelValue (value: any) { defaultOptions.type = value } } @@ -263,7 +263,7 @@ export default { options: storeData.modeList }, on: { - input (value: any) { + modelValue (value: any) { defaultOptions.mode = value } } diff --git a/packages/table/module/export/import-panel.ts b/packages/table/module/export/import-panel.ts index 1130d8c8be..33650eaf7e 100644 --- a/packages/table/module/export/import-panel.ts +++ b/packages/table/module/export/import-panel.ts @@ -177,7 +177,7 @@ export default { options: storeData.modeList }, on: { - input (value: any) { + modelValue (value: any) { defaultOptions.mode = value } } diff --git a/styles/components/table.scss b/styles/components/table.scss index c208a7594f..1dadfc0a0b 100644 --- a/styles/components/table.scss +++ b/styles/components/table.scss @@ -961,6 +961,15 @@ } &.is--padding { + .vxe-body--column { + .vxe-cell { + padding-left: var(--vxe-ui-table-cell-padding-left); + padding-right: var(--vxe-ui-table-cell-padding-right); + } + } + } + .vxe-header--column, + .vxe-footer--column { .vxe-cell { padding-left: var(--vxe-ui-table-cell-padding-left); padding-right: var(--vxe-ui-table-cell-padding-right);