vxe-table 4.9.0 → 4.9.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/hook.js +7 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +12 -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-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/hook.js +9 -0
- package/lib/table/module/edit/hook.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/hook.ts +7 -0
- /package/es/{iconfont.1731895336421.ttf → iconfont.1731937248477.ttf} +0 -0
- /package/es/{iconfont.1731895336421.woff → iconfont.1731937248477.woff} +0 -0
- /package/es/{iconfont.1731895336421.woff2 → iconfont.1731937248477.woff2} +0 -0
- /package/lib/{iconfont.1731895336421.ttf → iconfont.1731937248477.ttf} +0 -0
- /package/lib/{iconfont.1731895336421.woff → iconfont.1731937248477.woff} +0 -0
- /package/lib/{iconfont.1731895336421.woff2 → iconfont.1731937248477.woff2} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.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": "^4.3.
|
|
31
|
+
"vxe-pc-ui": "^4.3.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/resize-observer-browser": "^0.1.11",
|
|
@@ -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}!',
|
|
@@ -257,10 +257,12 @@ hooks.add('tableEditModule', {
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
const handleClearEdit = (evnt: Event | null, targetRow?: any) => {
|
|
260
|
+
const { mouseConfig } = props
|
|
260
261
|
const { editStore } = reactData
|
|
261
262
|
const { actived, focused } = editStore
|
|
262
263
|
const { row, column } = actived
|
|
263
264
|
const validOpts = computeValidOpts.value
|
|
265
|
+
const mouseOpts = computeMouseOpts.value
|
|
264
266
|
if (row || column) {
|
|
265
267
|
if (targetRow && getRowid($xeTable, targetRow) !== getRowid($xeTable, row)) {
|
|
266
268
|
return nextTick()
|
|
@@ -279,6 +281,11 @@ hooks.add('tableEditModule', {
|
|
|
279
281
|
$columnIndex: $xeTable.getVMColumnIndex(column)
|
|
280
282
|
}, evnt || null)
|
|
281
283
|
}
|
|
284
|
+
nextTick(() => {
|
|
285
|
+
if (mouseConfig && mouseOpts.area && $xeTable.handleRecalculateCellAreas) {
|
|
286
|
+
return $xeTable.handleRecalculateCellAreas()
|
|
287
|
+
}
|
|
288
|
+
})
|
|
282
289
|
if (validOpts.autoClear) {
|
|
283
290
|
if (validOpts.msgMode !== 'full' || getConfig().cellVaildMode === 'obsolete') {
|
|
284
291
|
if ($xeTable.clearValidate) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|