vxe-table 4.11.0-beta.10 → 4.11.0-beta.2
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/README.md +13 -18
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/edit/hook.js +7 -1
- package/es/table/render/index.js +0 -10
- package/es/table/src/body.js +2 -4
- package/es/table/src/cell.js +0 -3
- package/es/table/src/footer.js +2 -4
- package/es/table/src/header.js +4 -6
- package/es/table/src/table.js +25 -50
- package/es/table/style.css +1 -1
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +1 -1
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +41 -86
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/edit/hook.js +9 -1
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/render/index.js +0 -10
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/body.js +1 -4
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +0 -3
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/footer.js +1 -4
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +3 -6
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/table.js +25 -56
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +1 -1
- package/lib/table/style/style.min.css +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/lib/vxe-table/style/style.css +1 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/table/module/edit/hook.ts +7 -1
- package/packages/table/render/index.ts +0 -10
- package/packages/table/src/body.ts +2 -5
- package/packages/table/src/cell.ts +0 -3
- package/packages/table/src/footer.ts +2 -5
- package/packages/table/src/header.ts +4 -7
- package/packages/table/src/table.ts +26 -54
- package/styles/components/table.scss +1 -1
- package/es/locale/lang/id-ID.js +0 -695
- package/lib/locale/lang/id-ID.js +0 -701
- package/lib/locale/lang/id-ID.min.js +0 -1
- package/packages/locale/lang/id-ID.ts +0 -695
- /package/es/{iconfont.1739790215610.ttf → iconfont.1739506388714.ttf} +0 -0
- /package/es/{iconfont.1739790215610.woff → iconfont.1739506388714.woff} +0 -0
- /package/es/{iconfont.1739790215610.woff2 → iconfont.1739506388714.woff2} +0 -0
- /package/lib/{iconfont.1739790215610.ttf → iconfont.1739506388714.ttf} +0 -0
- /package/lib/{iconfont.1739790215610.woff → iconfont.1739506388714.woff} +0 -0
- /package/lib/{iconfont.1739790215610.woff2 → iconfont.1739506388714.woff2} +0 -0
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.0-beta.
|
|
3141
|
+
const version = "4.11.0-beta.2";
|
|
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.0-beta.
|
|
3589
|
+
const log_version = `table v${"4.11.0-beta.2"}`;
|
|
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
|
|
@@ -5612,9 +5612,6 @@ const Cell = {
|
|
|
5612
5612
|
class: ['vxe-table--expanded', {
|
|
5613
5613
|
'is--active': isActive
|
|
5614
5614
|
}],
|
|
5615
|
-
onMousedown(evnt) {
|
|
5616
|
-
evnt.stopPropagation();
|
|
5617
|
-
},
|
|
5618
5615
|
onClick(evnt) {
|
|
5619
5616
|
$table.triggerRowExpandEvent(evnt, params);
|
|
5620
5617
|
}
|
|
@@ -6885,7 +6882,6 @@ const renderType = 'body';
|
|
|
6885
6882
|
tableData,
|
|
6886
6883
|
isRowLoading,
|
|
6887
6884
|
isColLoading,
|
|
6888
|
-
overflowX,
|
|
6889
6885
|
scrollXLoad,
|
|
6890
6886
|
scrollYLoad,
|
|
6891
6887
|
isAllOverflow,
|
|
@@ -6915,10 +6911,8 @@ const renderType = 'body';
|
|
|
6915
6911
|
isOptimizeMode = true;
|
|
6916
6912
|
}
|
|
6917
6913
|
}
|
|
6918
|
-
if (fixedType || !overflowX) {
|
|
6919
|
-
renderColumnList = visibleColumn;
|
|
6920
|
-
}
|
|
6921
6914
|
if (fixedType) {
|
|
6915
|
+
renderColumnList = visibleColumn;
|
|
6922
6916
|
if (isOptimizeMode) {
|
|
6923
6917
|
renderColumnList = fixedColumn || [];
|
|
6924
6918
|
}
|
|
@@ -7268,8 +7262,8 @@ const header_renderType = 'header';
|
|
|
7268
7262
|
'is--sortable': column.sortable,
|
|
7269
7263
|
'col--filter': !!filters,
|
|
7270
7264
|
'is--filter-active': hasFilter,
|
|
7271
|
-
'is--drag-active':
|
|
7272
|
-
'is--drag-disabled':
|
|
7265
|
+
'is--drag-active': !column.fixed && !isDisabledDrag && (isCrossDrag || isPeerDrag || !column.parentId),
|
|
7266
|
+
'is--drag-disabled': isDisabledDrag,
|
|
7273
7267
|
'col--current': currentColumn === column
|
|
7274
7268
|
}, headerClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(headerClassName) ? headerClassName(cellParams) : headerClassName : '', headerCellClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(headerCellClassName) ? headerCellClassName(cellParams) : headerCellClassName : ''],
|
|
7275
7269
|
style: headerCellStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(headerCellStyle) ? headerCellStyle(cellParams) : headerCellStyle : null,
|
|
@@ -7352,7 +7346,6 @@ const header_renderType = 'header';
|
|
|
7352
7346
|
} = tableProps;
|
|
7353
7347
|
const {
|
|
7354
7348
|
isGroup,
|
|
7355
|
-
overflowX,
|
|
7356
7349
|
scrollXLoad,
|
|
7357
7350
|
scrollYLoad,
|
|
7358
7351
|
dragCol
|
|
@@ -7376,10 +7369,8 @@ const header_renderType = 'header';
|
|
|
7376
7369
|
isOptimizeMode = true;
|
|
7377
7370
|
}
|
|
7378
7371
|
}
|
|
7379
|
-
if (fixedType || !overflowX) {
|
|
7380
|
-
renderColumnList = visibleColumn;
|
|
7381
|
-
}
|
|
7382
7372
|
if (fixedType) {
|
|
7373
|
+
renderColumnList = visibleColumn;
|
|
7383
7374
|
// 如果是使用优化模式
|
|
7384
7375
|
if (isOptimizeMode) {
|
|
7385
7376
|
renderColumnList = fixedColumn || [];
|
|
@@ -7847,7 +7838,6 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
|
|
|
7847
7838
|
} = tableInternalData;
|
|
7848
7839
|
const {
|
|
7849
7840
|
isGroup,
|
|
7850
|
-
overflowX,
|
|
7851
7841
|
scrollXLoad,
|
|
7852
7842
|
scrollYLoad,
|
|
7853
7843
|
dragCol
|
|
@@ -7862,10 +7852,8 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
|
|
|
7862
7852
|
isOptimizeMode = true;
|
|
7863
7853
|
}
|
|
7864
7854
|
}
|
|
7865
|
-
if (fixedType || !overflowX) {
|
|
7866
|
-
renderColumnList = visibleColumn;
|
|
7867
|
-
}
|
|
7868
7855
|
if (fixedType) {
|
|
7856
|
+
renderColumnList = visibleColumn;
|
|
7869
7857
|
if (isOptimizeMode) {
|
|
7870
7858
|
renderColumnList = fixedColumn || [];
|
|
7871
7859
|
}
|
|
@@ -11601,7 +11589,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
11601
11589
|
const fullColumnIdData = internalData.fullColumnIdData = {};
|
|
11602
11590
|
const fullColumnFieldData = internalData.fullColumnFieldData = {};
|
|
11603
11591
|
const mouseOpts = computeMouseOpts.value;
|
|
11604
|
-
const expandOpts = computeExpandOpts.value;
|
|
11605
11592
|
const columnOpts = computeColumnOpts.value;
|
|
11606
11593
|
const columnDragOpts = computeColumnDragOpts.value;
|
|
11607
11594
|
const {
|
|
@@ -11707,8 +11694,10 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
11707
11694
|
} else {
|
|
11708
11695
|
tableFullColumn.forEach(handleFunc);
|
|
11709
11696
|
}
|
|
11710
|
-
if (
|
|
11711
|
-
|
|
11697
|
+
if (true) {
|
|
11698
|
+
if (expandColumn && mouseOpts.area) {
|
|
11699
|
+
errLog('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand']);
|
|
11700
|
+
}
|
|
11712
11701
|
}
|
|
11713
11702
|
if (true) {
|
|
11714
11703
|
if (htmlColumn) {
|
|
@@ -13225,7 +13214,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13225
13214
|
delete rExpandLazyLoadedMaps[rowid];
|
|
13226
13215
|
}
|
|
13227
13216
|
reactData.rowExpandLazyLoadedMaps = rExpandLazyLoadedMaps;
|
|
13228
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() =>
|
|
13217
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => tableMethods.recalculate()).then(() => resolve());
|
|
13229
13218
|
});
|
|
13230
13219
|
} else {
|
|
13231
13220
|
resolve();
|
|
@@ -13756,7 +13745,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13756
13745
|
});
|
|
13757
13746
|
};
|
|
13758
13747
|
const handleColumn = collectColumn => {
|
|
13759
|
-
const expandOpts = computeExpandOpts.value;
|
|
13760
13748
|
internalData.collectColumn = collectColumn;
|
|
13761
13749
|
const tableFullColumn = getColumnList(collectColumn);
|
|
13762
13750
|
internalData.tableFullColumn = tableFullColumn;
|
|
@@ -13764,11 +13752,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13764
13752
|
reactData.isDragColMove = false;
|
|
13765
13753
|
initColumnSort();
|
|
13766
13754
|
return Promise.resolve(restoreCustomStorage()).then(() => {
|
|
13767
|
-
const {
|
|
13768
|
-
scrollXLoad,
|
|
13769
|
-
scrollYLoad,
|
|
13770
|
-
expandColumn
|
|
13771
|
-
} = reactData;
|
|
13772
13755
|
cacheColumnMap();
|
|
13773
13756
|
parseColumns(true).then(() => {
|
|
13774
13757
|
if (reactData.scrollXLoad) {
|
|
@@ -13778,9 +13761,11 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13778
13761
|
$xeTable.clearMergeCells();
|
|
13779
13762
|
$xeTable.clearMergeFooterItems();
|
|
13780
13763
|
$xeTable.handleTableData(true);
|
|
13781
|
-
if (
|
|
13782
|
-
|
|
13783
|
-
|
|
13764
|
+
// if (process.env.VUE_APP_VXE_ENV === 'development') {
|
|
13765
|
+
// if ((reactData.scrollXLoad || reactData.scrollYLoad) && reactData.expandColumn) {
|
|
13766
|
+
// warnLog('vxe.error.scrollErrProp', ['column.type=expand'])
|
|
13767
|
+
// }
|
|
13768
|
+
// }
|
|
13784
13769
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
|
|
13785
13770
|
if ($xeToolbar) {
|
|
13786
13771
|
$xeToolbar.syncUpdate({
|
|
@@ -14223,16 +14208,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
14223
14208
|
}
|
|
14224
14209
|
}
|
|
14225
14210
|
};
|
|
14226
|
-
const handleRowExpandScroll = () => {
|
|
14227
|
-
const {
|
|
14228
|
-
elemStore
|
|
14229
|
-
} = internalData;
|
|
14230
|
-
const rowExpandEl = refRowExpandElem.value;
|
|
14231
|
-
const bodyScrollElem = getRefElem(elemStore['main-body-scroll']);
|
|
14232
|
-
if (rowExpandEl && bodyScrollElem) {
|
|
14233
|
-
rowExpandEl.scrollTop = bodyScrollElem.scrollTop;
|
|
14234
|
-
}
|
|
14235
|
-
};
|
|
14236
14211
|
tableMethods = {
|
|
14237
14212
|
dispatchEvent,
|
|
14238
14213
|
/**
|
|
@@ -16220,7 +16195,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16220
16195
|
const {
|
|
16221
16196
|
rowExpandedMaps,
|
|
16222
16197
|
rowExpandLazyLoadedMaps,
|
|
16223
|
-
expandColumn
|
|
16198
|
+
expandColumn: column
|
|
16224
16199
|
} = reactData;
|
|
16225
16200
|
const {
|
|
16226
16201
|
fullAllDataRowIdData
|
|
@@ -16236,8 +16211,8 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16236
16211
|
toggleMethod
|
|
16237
16212
|
} = expandOpts;
|
|
16238
16213
|
const lazyRests = [];
|
|
16239
|
-
const columnIndex = tableMethods.getColumnIndex(
|
|
16240
|
-
const $columnIndex = tableMethods.getVMColumnIndex(
|
|
16214
|
+
const columnIndex = tableMethods.getColumnIndex(column);
|
|
16215
|
+
const $columnIndex = tableMethods.getVMColumnIndex(column);
|
|
16241
16216
|
if (rows) {
|
|
16242
16217
|
if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)) {
|
|
16243
16218
|
rows = [rows];
|
|
@@ -16250,7 +16225,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16250
16225
|
const validRows = toggleMethod ? rows.filter(row => toggleMethod({
|
|
16251
16226
|
$table: $xeTable,
|
|
16252
16227
|
expanded,
|
|
16253
|
-
column
|
|
16228
|
+
column,
|
|
16254
16229
|
columnIndex,
|
|
16255
16230
|
$columnIndex,
|
|
16256
16231
|
row,
|
|
@@ -16283,13 +16258,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16283
16258
|
}
|
|
16284
16259
|
}
|
|
16285
16260
|
reactData.rowExpandedMaps = rExpandedMaps;
|
|
16286
|
-
return Promise.all(lazyRests).then(() =>
|
|
16287
|
-
if (expandColumn) {
|
|
16288
|
-
updateRowExpandStyle();
|
|
16289
|
-
handleRowExpandScroll();
|
|
16290
|
-
}
|
|
16291
|
-
return $xeTable.updateCellAreas();
|
|
16292
|
-
});
|
|
16261
|
+
return Promise.all(lazyRests).then(() => tableMethods.recalculate());
|
|
16293
16262
|
},
|
|
16294
16263
|
/**
|
|
16295
16264
|
* 判断行是否为展开状态
|
|
@@ -16329,7 +16298,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16329
16298
|
if (expList.length) {
|
|
16330
16299
|
tableMethods.recalculate();
|
|
16331
16300
|
}
|
|
16332
|
-
})
|
|
16301
|
+
});
|
|
16333
16302
|
},
|
|
16334
16303
|
clearRowExpandReserve() {
|
|
16335
16304
|
internalData.rowExpandedReserveRowMap = {};
|
|
@@ -16810,8 +16779,8 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16810
16779
|
mouseConfig
|
|
16811
16780
|
} = props;
|
|
16812
16781
|
const mouseOpts = computeMouseOpts.value;
|
|
16813
|
-
if (mouseConfig && mouseOpts.area && $xeTable.
|
|
16814
|
-
return $xeTable.
|
|
16782
|
+
if (mouseConfig && mouseOpts.area && $xeTable.handleRecalculateCellAreas) {
|
|
16783
|
+
return $xeTable.handleRecalculateCellAreas();
|
|
16815
16784
|
}
|
|
16816
16785
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
16817
16786
|
},
|
|
@@ -18717,7 +18686,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
18717
18686
|
}
|
|
18718
18687
|
vLen++;
|
|
18719
18688
|
});
|
|
18720
|
-
const isSelected =
|
|
18689
|
+
const isSelected = vLen > 0 ? sLen >= vLen : sLen >= rootList.length;
|
|
18721
18690
|
const halfSelect = !isSelected && (sLen >= 1 || hLen >= 1);
|
|
18722
18691
|
reactData.isAllSelected = isSelected;
|
|
18723
18692
|
reactData.isIndeterminate = halfSelect;
|
|
@@ -20719,8 +20688,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
20719
20688
|
updateScrollXSpace() {
|
|
20720
20689
|
const {
|
|
20721
20690
|
isGroup,
|
|
20722
|
-
scrollXLoad
|
|
20723
|
-
overflowX
|
|
20691
|
+
scrollXLoad
|
|
20724
20692
|
} = reactData;
|
|
20725
20693
|
const {
|
|
20726
20694
|
visibleColumn,
|
|
@@ -20740,7 +20708,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
20740
20708
|
const footerElem = tableFooterElem ? tableFooterElem.querySelector('.vxe-table--footer') : null;
|
|
20741
20709
|
const leftSpaceWidth = visibleColumn.slice(0, scrollXStore.startIndex).reduce((previous, column) => previous + column.renderWidth, 0);
|
|
20742
20710
|
let marginLeft = '';
|
|
20743
|
-
if (scrollXLoad
|
|
20711
|
+
if (scrollXLoad) {
|
|
20744
20712
|
marginLeft = `${leftSpaceWidth}px`;
|
|
20745
20713
|
}
|
|
20746
20714
|
if (headerElem) {
|
|
@@ -21557,12 +21525,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
21557
21525
|
warnLog('vxe.error.errLargeData', ['loadData(data), reloadData(data)']);
|
|
21558
21526
|
}
|
|
21559
21527
|
loadTableData(value, true).then(() => {
|
|
21560
|
-
const {
|
|
21561
|
-
scrollXLoad,
|
|
21562
|
-
scrollYLoad,
|
|
21563
|
-
expandColumn
|
|
21564
|
-
} = reactData;
|
|
21565
|
-
const expandOpts = computeExpandOpts.value;
|
|
21528
|
+
// const { scrollXLoad, scrollYLoad, expandColumn } = reactData
|
|
21566
21529
|
internalData.inited = true;
|
|
21567
21530
|
internalData.initStatus = true;
|
|
21568
21531
|
if (!initStatus) {
|
|
@@ -21573,9 +21536,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
21573
21536
|
// if (checkboxColumn && internalData.tableFullData.length > 300 && !checkboxOpts.checkField) {
|
|
21574
21537
|
// warnLog('vxe.error.checkProp', ['checkbox-config.checkField'])
|
|
21575
21538
|
// }
|
|
21576
|
-
if ((scrollXLoad || scrollYLoad) && expandColumn
|
|
21577
|
-
|
|
21578
|
-
}
|
|
21539
|
+
// if ((scrollXLoad || scrollYLoad) && expandColumn) {
|
|
21540
|
+
// warnLog('vxe.error.scrollErrProp', ['column.type=expand'])
|
|
21541
|
+
// }
|
|
21579
21542
|
return tableMethods.recalculate();
|
|
21580
21543
|
});
|
|
21581
21544
|
});
|
|
@@ -21619,12 +21582,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
21619
21582
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.showFooter, () => {
|
|
21620
21583
|
reScrollFlag.value++;
|
|
21621
21584
|
});
|
|
21622
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.overflowX, () => {
|
|
21623
|
-
reScrollFlag.value++;
|
|
21624
|
-
});
|
|
21625
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.overflowY, () => {
|
|
21626
|
-
reScrollFlag.value++;
|
|
21627
|
-
});
|
|
21628
21585
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(reScrollFlag, () => {
|
|
21629
21586
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
21630
21587
|
tableMethods.recalculate(true).then(() => tableMethods.refreshScroll());
|
|
@@ -23305,6 +23262,9 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23305
23262
|
});
|
|
23306
23263
|
};
|
|
23307
23264
|
const handleClearEdit = (evnt, targetRow) => {
|
|
23265
|
+
const {
|
|
23266
|
+
mouseConfig
|
|
23267
|
+
} = props;
|
|
23308
23268
|
const {
|
|
23309
23269
|
editStore
|
|
23310
23270
|
} = reactData;
|
|
@@ -23317,6 +23277,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23317
23277
|
column
|
|
23318
23278
|
} = actived;
|
|
23319
23279
|
const validOpts = computeValidOpts.value;
|
|
23280
|
+
const mouseOpts = computeMouseOpts.value;
|
|
23320
23281
|
if (row || column) {
|
|
23321
23282
|
if (targetRow && getRowid($xeTable, targetRow) !== getRowid($xeTable, row)) {
|
|
23322
23283
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
@@ -23344,7 +23305,11 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23344
23305
|
}
|
|
23345
23306
|
}
|
|
23346
23307
|
}
|
|
23347
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() =>
|
|
23308
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
|
|
23309
|
+
if (mouseConfig && mouseOpts.area && $xeTable.handleRecalculateCellAreas) {
|
|
23310
|
+
return $xeTable.handleRecalculateCellAreas();
|
|
23311
|
+
}
|
|
23312
|
+
});
|
|
23348
23313
|
};
|
|
23349
23314
|
const handleEditActive = (params, evnt, isFocus) => {
|
|
23350
23315
|
const {
|
|
@@ -28310,11 +28275,6 @@ render_renderer.mixin({
|
|
|
28310
28275
|
tableFilterDefaultMethod: handleFilterMethod,
|
|
28311
28276
|
tableExportMethod: handleExportSelectMethod
|
|
28312
28277
|
},
|
|
28313
|
-
formatOption: {
|
|
28314
|
-
renderTableDefault(renderOpts, params) {
|
|
28315
|
-
return getCellLabelVNs(renderOpts, params, getSelectCellValue(renderOpts, params));
|
|
28316
|
-
}
|
|
28317
|
-
},
|
|
28318
28278
|
VxeTreeSelect: {
|
|
28319
28279
|
tableAutoFocus: 'input',
|
|
28320
28280
|
renderTableEdit: defaultTableOrTreeSelectEditRender,
|
|
@@ -28323,11 +28283,6 @@ render_renderer.mixin({
|
|
|
28323
28283
|
},
|
|
28324
28284
|
tableExportMethod: handleExportTreeSelectMethod
|
|
28325
28285
|
},
|
|
28326
|
-
formatTree: {
|
|
28327
|
-
renderTableDefault(renderOpts, params) {
|
|
28328
|
-
return getCellLabelVNs(renderOpts, params, getTreeSelectCellValue(renderOpts, params));
|
|
28329
|
-
}
|
|
28330
|
-
},
|
|
28331
28286
|
VxeTableSelect: {
|
|
28332
28287
|
tableAutoFocus: 'input',
|
|
28333
28288
|
renderTableEdit: defaultTableOrTreeSelectEditRender,
|