vxe-table 4.11.9 → 4.11.10
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/ja-JP.js +2 -2
- package/es/style.css +1 -1
- package/es/table/module/edit/hook.js +7 -5
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +9 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ja-JP.js +2 -2
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -2
- package/lib/style.css +1 -1
- package/lib/table/module/edit/hook.js +7 -5
- 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 +1 -1
- package/packages/locale/lang/ja-JP.ts +2 -2
- package/packages/table/module/edit/hook.ts +7 -5
- /package/es/{iconfont.1740288784144.ttf → iconfont.1740359300055.ttf} +0 -0
- /package/es/{iconfont.1740288784144.woff → iconfont.1740359300055.woff} +0 -0
- /package/es/{iconfont.1740288784144.woff2 → iconfont.1740359300055.woff2} +0 -0
- /package/lib/{iconfont.1740288784144.ttf → iconfont.1740359300055.ttf} +0 -0
- /package/lib/{iconfont.1740288784144.woff → iconfont.1740359300055.woff} +0 -0
- /package/lib/{iconfont.1740288784144.woff2 → iconfont.1740359300055.woff2} +0 -0
|
@@ -319,7 +319,7 @@ hooks.add('tableEditModule', {
|
|
|
319
319
|
}
|
|
320
320
|
return nextTick().then(() => $xeTable.updateCellAreas());
|
|
321
321
|
};
|
|
322
|
-
const handleEditActive = (params, evnt, isFocus) => {
|
|
322
|
+
const handleEditActive = (params, evnt, isFocus, isPos) => {
|
|
323
323
|
const { editConfig, mouseConfig } = props;
|
|
324
324
|
const { editStore, tableColumn } = reactData;
|
|
325
325
|
const editOpts = computeEditOpts.value;
|
|
@@ -410,7 +410,7 @@ hooks.add('tableEditModule', {
|
|
|
410
410
|
column.renderHeight = cell.offsetHeight;
|
|
411
411
|
actived.args = params;
|
|
412
412
|
actived.column = column;
|
|
413
|
-
if (
|
|
413
|
+
if (isPos) {
|
|
414
414
|
setTimeout(() => {
|
|
415
415
|
$xeTable.handleFocus(params, evnt);
|
|
416
416
|
});
|
|
@@ -437,7 +437,7 @@ hooks.add('tableEditModule', {
|
|
|
437
437
|
columnIndex: $xeTable.getColumnIndex(column),
|
|
438
438
|
cell,
|
|
439
439
|
$table: $xeTable
|
|
440
|
-
}, null,
|
|
440
|
+
}, null, isPos, isPos);
|
|
441
441
|
internalData._lastCallTime = Date.now();
|
|
442
442
|
}
|
|
443
443
|
return nextTick();
|
|
@@ -775,10 +775,12 @@ hooks.add('tableEditModule', {
|
|
|
775
775
|
setEditRow(row, fieldOrColumn) {
|
|
776
776
|
const { visibleColumn } = internalData;
|
|
777
777
|
let column = XEUtils.find(visibleColumn, column => isEnableConf(column.editRender));
|
|
778
|
+
let isPos = false;
|
|
778
779
|
if (fieldOrColumn) {
|
|
780
|
+
isPos = true;
|
|
779
781
|
column = XEUtils.isString(fieldOrColumn) ? $xeTable.getColumnByField(fieldOrColumn) : fieldOrColumn;
|
|
780
782
|
}
|
|
781
|
-
return handleEditCell(row, column,
|
|
783
|
+
return handleEditCell(row, column, isPos);
|
|
782
784
|
},
|
|
783
785
|
setActiveCell(row, fieldOrColumn) {
|
|
784
786
|
if (process.env.NODE_ENV === 'development') {
|
|
@@ -822,7 +824,7 @@ hooks.add('tableEditModule', {
|
|
|
822
824
|
* 处理激活编辑
|
|
823
825
|
*/
|
|
824
826
|
handleEdit(params, evnt) {
|
|
825
|
-
return handleEditActive(params, evnt, true);
|
|
827
|
+
return handleEditActive(params, evnt, true, true);
|
|
826
828
|
},
|
|
827
829
|
/**
|
|
828
830
|
* @deprecated
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3138,7 +3138,7 @@ function eqEmptyValue(cellValue) {
|
|
|
3138
3138
|
;// ./packages/ui/index.ts
|
|
3139
3139
|
|
|
3140
3140
|
|
|
3141
|
-
const version = "4.11.
|
|
3141
|
+
const version = "4.11.10";
|
|
3142
3142
|
core_.VxeUI.version = version;
|
|
3143
3143
|
core_.VxeUI.tableVersion = version;
|
|
3144
3144
|
core_.VxeUI.setConfig({
|
|
@@ -3586,7 +3586,7 @@ var esnext_iterator_some = __webpack_require__(7550);
|
|
|
3586
3586
|
const {
|
|
3587
3587
|
log: log_log
|
|
3588
3588
|
} = core_.VxeUI;
|
|
3589
|
-
const log_version = `table v${"4.11.
|
|
3589
|
+
const log_version = `table v${"4.11.10"}`;
|
|
3590
3590
|
const warnLog = log_log.create('warn', log_version);
|
|
3591
3591
|
const errLog = log_log.create('error', log_version);
|
|
3592
3592
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -23380,7 +23380,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23380
23380
|
}
|
|
23381
23381
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => $xeTable.updateCellAreas());
|
|
23382
23382
|
};
|
|
23383
|
-
const handleEditActive = (params, evnt, isFocus) => {
|
|
23383
|
+
const handleEditActive = (params, evnt, isFocus, isPos) => {
|
|
23384
23384
|
const {
|
|
23385
23385
|
editConfig,
|
|
23386
23386
|
mouseConfig
|
|
@@ -23497,7 +23497,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23497
23497
|
column.renderHeight = cell.offsetHeight;
|
|
23498
23498
|
actived.args = params;
|
|
23499
23499
|
actived.column = column;
|
|
23500
|
-
if (
|
|
23500
|
+
if (isPos) {
|
|
23501
23501
|
setTimeout(() => {
|
|
23502
23502
|
$xeTable.handleFocus(params, evnt);
|
|
23503
23503
|
});
|
|
@@ -23526,7 +23526,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23526
23526
|
columnIndex: $xeTable.getColumnIndex(column),
|
|
23527
23527
|
cell,
|
|
23528
23528
|
$table: $xeTable
|
|
23529
|
-
}, null,
|
|
23529
|
+
}, null, isPos, isPos);
|
|
23530
23530
|
internalData._lastCallTime = Date.now();
|
|
23531
23531
|
}
|
|
23532
23532
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
@@ -23925,10 +23925,12 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23925
23925
|
visibleColumn
|
|
23926
23926
|
} = internalData;
|
|
23927
23927
|
let column = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().find(visibleColumn, column => isEnableConf(column.editRender));
|
|
23928
|
+
let isPos = false;
|
|
23928
23929
|
if (fieldOrColumn) {
|
|
23930
|
+
isPos = true;
|
|
23929
23931
|
column = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(fieldOrColumn) ? $xeTable.getColumnByField(fieldOrColumn) : fieldOrColumn;
|
|
23930
23932
|
}
|
|
23931
|
-
return handleEditCell(row, column,
|
|
23933
|
+
return handleEditCell(row, column, isPos);
|
|
23932
23934
|
},
|
|
23933
23935
|
setActiveCell(row, fieldOrColumn) {
|
|
23934
23936
|
if (true) {
|
|
@@ -23974,7 +23976,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23974
23976
|
* 处理激活编辑
|
|
23975
23977
|
*/
|
|
23976
23978
|
handleEdit(params, evnt) {
|
|
23977
|
-
return handleEditActive(params, evnt, true);
|
|
23979
|
+
return handleEditActive(params, evnt, true, true);
|
|
23978
23980
|
},
|
|
23979
23981
|
/**
|
|
23980
23982
|
* @deprecated
|