vxe-table 3.11.0 → 3.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/locale/lang/en-US.js +1 -0
- package/es/locale/lang/es-ES.js +1 -0
- package/es/locale/lang/hu-HU.js +1 -0
- package/es/locale/lang/ja-JP.js +1 -0
- package/es/locale/lang/ko-KR.js +1 -0
- package/es/locale/lang/pt-BR.js +1 -0
- package/es/locale/lang/ru-RU.js +1 -0
- package/es/locale/lang/uk-UA.js +1 -0
- package/es/locale/lang/vi-VN.js +1 -0
- package/es/locale/lang/zh-CHT.js +1 -0
- package/es/locale/lang/zh-CN.js +1 -0
- package/es/style.css +1 -1
- package/es/table/module/edit/mixin.js +8 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +13 -2
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +1 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +1 -0
- package/lib/locale/lang/es-ES.js +1 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +1 -0
- package/lib/locale/lang/hu-HU.js +1 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +1 -0
- package/lib/locale/lang/ja-JP.js +1 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +1 -0
- package/lib/locale/lang/ko-KR.js +1 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +1 -0
- package/lib/locale/lang/pt-BR.js +1 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +1 -0
- package/lib/locale/lang/ru-RU.js +1 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +1 -0
- package/lib/locale/lang/uk-UA.js +1 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +1 -0
- package/lib/locale/lang/vi-VN.js +1 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +1 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +1 -0
- package/lib/locale/lang/zh-CN.js +1 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +1 -0
- package/lib/style.css +1 -1
- package/lib/table/module/edit/mixin.js +10 -0
- package/lib/table/module/edit/mixin.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +2 -2
- package/packages/locale/lang/en-US.ts +1 -0
- package/packages/locale/lang/es-ES.ts +1 -0
- package/packages/locale/lang/hu-HU.ts +1 -0
- package/packages/locale/lang/ja-JP.ts +1 -0
- package/packages/locale/lang/ko-KR.ts +1 -0
- package/packages/locale/lang/pt-BR.ts +1 -0
- package/packages/locale/lang/ru-RU.ts +1 -0
- package/packages/locale/lang/uk-UA.ts +1 -0
- package/packages/locale/lang/vi-VN.ts +1 -0
- package/packages/locale/lang/zh-CHT.ts +1 -0
- package/packages/locale/lang/zh-CN.ts +1 -0
- package/packages/table/module/edit/mixin.ts +8 -0
- /package/es/{iconfont.1731890707082.ttf → iconfont.1731937243466.ttf} +0 -0
- /package/es/{iconfont.1731890707082.woff → iconfont.1731937243466.woff} +0 -0
- /package/es/{iconfont.1731890707082.woff2 → iconfont.1731937243466.woff2} +0 -0
- /package/lib/{iconfont.1731890707082.ttf → iconfont.1731937243466.ttf} +0 -0
- /package/lib/{iconfont.1731890707082.woff → iconfont.1731937243466.woff} +0 -0
- /package/lib/{iconfont.1731890707082.woff2 → iconfont.1731937243466.woff2} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.1",
|
|
4
4
|
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、拖拽排序,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"style": "lib/style.css",
|
|
29
29
|
"typings": "types/index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"vxe-pc-ui": "^3.3.
|
|
31
|
+
"vxe-pc-ui": "^3.3.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/plugin-transform-modules-commonjs": "^7.25.7",
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: 'Support {0} file types',
|
|
309
309
|
fileSizeHint: 'Single file size does not exceed {0}',
|
|
310
310
|
fileCountHint: 'Up to {0} file can be uploaded',
|
|
311
|
+
uploadTypeErr: 'File type does not match!',
|
|
311
312
|
overCountErr: 'You can only choose {0} file!',
|
|
312
313
|
overCountExtraErr: 'It has exceeded the maximum number {0}, and more than {0} file will be ignored!超出最大数量 1 个,超出的 1 个文件将被忽略!',
|
|
313
314
|
overSizeErr: 'The size of the file is not more than {0}}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: 'Support {0} file types',
|
|
309
309
|
fileSizeHint: 'Single file size does not exceed {0}',
|
|
310
310
|
fileCountHint: 'Up to {0} file can be uploaded',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: 'You can only choose {0} file!',
|
|
312
313
|
overCountExtraErr: 'It has exceeded the maximum number {0}, and more than {0} file will be ignored!超出最大数量 1 个,超出的 1 个文件将被忽略!',
|
|
313
314
|
overSizeErr: 'The size of the file is not more than {0}}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: 'Támogatott {0} fájltípus',
|
|
309
309
|
fileSizeHint: 'Egyetlen fájl mérete nem haladja meg a következőt: {0}',
|
|
310
310
|
fileCountHint: 'Legfeljebb {0} fájl tölthető fel',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: 'Csak {0} fájl választható ki!',
|
|
312
313
|
overCountExtraErr: 'Túllépte a maximálisan megengedett {0} fájlt. A többlet {1} fájlt figyelmen kívül hagyja.',
|
|
313
314
|
overSizeErr: 'A maximális fájlméret nem haladhatja meg a következőt: {0}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: 'Support {0} file types',
|
|
309
309
|
fileSizeHint: 'Single file size does not exceed {0}',
|
|
310
310
|
fileCountHint: 'Up to {0} file can be uploaded',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: 'You can only choose {0} file!',
|
|
312
313
|
overCountExtraErr: 'It has exceeded the maximum number {0}, and more than {0} file will be ignored!超出最大数量 1 个,超出的 1 个文件将被忽略!',
|
|
313
314
|
overSizeErr: 'The size of the file is not more than {0}}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: '支持 {0} 文件类型',
|
|
309
309
|
fileSizeHint: '单个文件大小不超过{0}',
|
|
310
310
|
fileCountHint: '最多可上传{0}个文件',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: '最多只能选择{0}个文件!',
|
|
312
313
|
overCountExtraErr: '已超出最大数量{0}个,超出的{1}个文件将被忽略!',
|
|
313
314
|
overSizeErr: '文件大小最大不能超过{0}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: 'Support {0} file types',
|
|
309
309
|
fileSizeHint: 'Single file size does not exceed {0}',
|
|
310
310
|
fileCountHint: 'Up to {0} file can be uploaded',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: 'You can only choose {0} file!',
|
|
312
313
|
overCountExtraErr: 'It has exceeded the maximum number {0}, and more than {0} file will be ignored!超出最大数量 1 个,超出的 1 个文件将被忽略!',
|
|
313
314
|
overSizeErr: 'The size of the file is not more than {0}}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: 'Поддерживаемые типы файлов: {0}',
|
|
309
309
|
fileSizeHint: 'Размер одного файла не превышает {0}',
|
|
310
310
|
fileCountHint: 'Можно загрузить до {0} файлов.',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: 'Можно выбрать только {0} файлов!',
|
|
312
313
|
overCountExtraErr: 'Превышено максимальное количество файлов ({0}). Лишние файлы ({1}) будут проигнорированы!',
|
|
313
314
|
overSizeErr: 'Максимальный размер файла не может превышать {0}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: '支持 {0} 文件类型',
|
|
309
309
|
fileSizeHint: '单个文件大小不超过{0}',
|
|
310
310
|
fileCountHint: '最多可上传{0}个文件',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: '最多只能选择{0}个文件!',
|
|
312
313
|
overCountExtraErr: '已超出最大数量{0}个,超出的{1}个文件将被忽略!',
|
|
313
314
|
overSizeErr: '文件大小最大不能超过{0}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: '支持 {0} 文件类型',
|
|
309
309
|
fileSizeHint: '单个文件大小不超过{0}',
|
|
310
310
|
fileCountHint: '最多可上传{0}个文件',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: '最多只能选择{0}个文件!',
|
|
312
313
|
overCountExtraErr: '已超出最大数量{0}个,超出的{1}个文件将被忽略!',
|
|
313
314
|
overSizeErr: '文件大小最大不能超过{0}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: '支援 {0} 文件類型',
|
|
309
309
|
fileSizeHint: '單一檔案大小不超過{0}',
|
|
310
310
|
fileCountHint: '最多可上傳{0}個文件',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: '最多只能選擇{0}個檔案!',
|
|
312
313
|
overCountExtraErr: '已超出最大數量{0}個,超出的{1}個檔案將被忽略!',
|
|
313
314
|
overSizeErr: '檔案大小最大不能超過{0}!',
|
|
@@ -308,6 +308,7 @@ export default {
|
|
|
308
308
|
fileTypeHint: '支持 {0} 文件类型',
|
|
309
309
|
fileSizeHint: '单个文件大小不超过{0}',
|
|
310
310
|
fileCountHint: '最多可上传{0}个文件',
|
|
311
|
+
uploadTypeErr: '文件类型不匹配!',
|
|
311
312
|
overCountErr: '最多只能选择{0}个文件!',
|
|
312
313
|
overCountExtraErr: '已超出最大数量{0}个,超出的{1}个文件将被忽略!',
|
|
313
314
|
overSizeErr: '文件大小最大不能超过{0}!',
|
|
@@ -554,12 +554,15 @@ export default {
|
|
|
554
554
|
*/
|
|
555
555
|
handleClearEdit (evnt: Event | null, targetRow?: any) {
|
|
556
556
|
const $xeTable = this
|
|
557
|
+
const props = $xeTable
|
|
557
558
|
const reactData = $xeTable
|
|
558
559
|
|
|
560
|
+
const { mouseConfig } = props
|
|
559
561
|
const { editStore } = reactData
|
|
560
562
|
const { actived, focused } = editStore
|
|
561
563
|
const { row, column } = actived
|
|
562
564
|
const validOpts = $xeTable.validOpts
|
|
565
|
+
const mouseOpts = $xeTable.computeMouseOpts
|
|
563
566
|
if (row || column) {
|
|
564
567
|
if (targetRow && getRowid($xeTable, targetRow) !== getRowid($xeTable, row)) {
|
|
565
568
|
return $xeTable.$nextTick()
|
|
@@ -580,6 +583,11 @@ export default {
|
|
|
580
583
|
}
|
|
581
584
|
focused.row = null
|
|
582
585
|
focused.column = null
|
|
586
|
+
$xeTable.$nextTick(() => {
|
|
587
|
+
if (mouseConfig && mouseOpts.area && $xeTable.handleRecalculateCellAreas) {
|
|
588
|
+
return $xeTable.handleRecalculateCellAreas()
|
|
589
|
+
}
|
|
590
|
+
})
|
|
583
591
|
if (validOpts.autoClear) {
|
|
584
592
|
if (validOpts.msgMode !== 'full' || getConfig().cellVaildMode === 'obsolete') {
|
|
585
593
|
if ($xeTable.clearValidate) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|