vxe-table 4.11.0-beta.3 → 4.11.0-beta.4
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 +18 -13
- 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 +1 -7
- package/es/table/src/cell.js +3 -0
- package/es/table/src/table.js +16 -11
- 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 +17 -22
- 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 +1 -9
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/src/cell.js +3 -0
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/table.js +11 -11
- 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 +1 -1
- package/packages/table/module/edit/hook.ts +1 -7
- package/packages/table/src/cell.ts +3 -0
- package/packages/table/src/table.ts +17 -12
- package/styles/components/table.scss +1 -1
- /package/es/{iconfont.1739513039826.ttf → iconfont.1739527666244.ttf} +0 -0
- /package/es/{iconfont.1739513039826.woff → iconfont.1739527666244.woff} +0 -0
- /package/es/{iconfont.1739513039826.woff2 → iconfont.1739527666244.woff2} +0 -0
- /package/lib/{iconfont.1739513039826.ttf → iconfont.1739527666244.ttf} +0 -0
- /package/lib/{iconfont.1739513039826.woff → iconfont.1739527666244.woff} +0 -0
- /package/lib/{iconfont.1739513039826.woff2 → iconfont.1739527666244.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.4";
|
|
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.4"}`;
|
|
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,6 +5612,9 @@ const Cell = {
|
|
|
5612
5612
|
class: ['vxe-table--expanded', {
|
|
5613
5613
|
'is--active': isActive
|
|
5614
5614
|
}],
|
|
5615
|
+
onMousedown(evnt) {
|
|
5616
|
+
evnt.stopPropagation();
|
|
5617
|
+
},
|
|
5615
5618
|
onClick(evnt) {
|
|
5616
5619
|
$table.triggerRowExpandEvent(evnt, params);
|
|
5617
5620
|
}
|
|
@@ -11597,7 +11600,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
11597
11600
|
} = internalData;
|
|
11598
11601
|
const fullColumnIdData = internalData.fullColumnIdData = {};
|
|
11599
11602
|
const fullColumnFieldData = internalData.fullColumnFieldData = {};
|
|
11600
|
-
const mouseOpts = computeMouseOpts.value
|
|
11603
|
+
// const mouseOpts = computeMouseOpts.value
|
|
11601
11604
|
const columnOpts = computeColumnOpts.value;
|
|
11602
11605
|
const columnDragOpts = computeColumnDragOpts.value;
|
|
11603
11606
|
const {
|
|
@@ -11703,11 +11706,11 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
11703
11706
|
} else {
|
|
11704
11707
|
tableFullColumn.forEach(handleFunc);
|
|
11705
11708
|
}
|
|
11706
|
-
if (
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
}
|
|
11709
|
+
// if (process.env.VUE_APP_VXE_ENV === 'development') {
|
|
11710
|
+
// if (expandColumn && mouseOpts.area) {
|
|
11711
|
+
// errLog('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand'])
|
|
11712
|
+
// }
|
|
11713
|
+
// }
|
|
11711
11714
|
if (true) {
|
|
11712
11715
|
if (htmlColumn) {
|
|
11713
11716
|
if (!columnOpts.useKey) {
|
|
@@ -13223,7 +13226,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13223
13226
|
delete rExpandLazyLoadedMaps[rowid];
|
|
13224
13227
|
}
|
|
13225
13228
|
reactData.rowExpandLazyLoadedMaps = rExpandLazyLoadedMaps;
|
|
13226
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() =>
|
|
13229
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => $xeTable.recalculate()).then(() => $xeTable.updateCellAreas()).then(() => resolve());
|
|
13227
13230
|
});
|
|
13228
13231
|
} else {
|
|
13229
13232
|
resolve();
|
|
@@ -16267,7 +16270,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16267
16270
|
}
|
|
16268
16271
|
}
|
|
16269
16272
|
reactData.rowExpandedMaps = rExpandedMaps;
|
|
16270
|
-
return Promise.all(lazyRests).then(() =>
|
|
16273
|
+
return Promise.all(lazyRests).then(() => $xeTable.recalculate()).then(() => $xeTable.updateCellAreas());
|
|
16271
16274
|
},
|
|
16272
16275
|
/**
|
|
16273
16276
|
* 判断行是否为展开状态
|
|
@@ -16307,7 +16310,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16307
16310
|
if (expList.length) {
|
|
16308
16311
|
tableMethods.recalculate();
|
|
16309
16312
|
}
|
|
16310
|
-
});
|
|
16313
|
+
}).then(() => $xeTable.updateCellAreas());
|
|
16311
16314
|
},
|
|
16312
16315
|
clearRowExpandReserve() {
|
|
16313
16316
|
internalData.rowExpandedReserveRowMap = {};
|
|
@@ -16788,8 +16791,8 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16788
16791
|
mouseConfig
|
|
16789
16792
|
} = props;
|
|
16790
16793
|
const mouseOpts = computeMouseOpts.value;
|
|
16791
|
-
if (mouseConfig && mouseOpts.area && $xeTable.
|
|
16792
|
-
return $xeTable.
|
|
16794
|
+
if (mouseConfig && mouseOpts.area && $xeTable.handleRecalculateCellAreaEvent) {
|
|
16795
|
+
return $xeTable.handleRecalculateCellAreaEvent();
|
|
16793
16796
|
}
|
|
16794
16797
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
16795
16798
|
},
|
|
@@ -23278,9 +23281,6 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23278
23281
|
});
|
|
23279
23282
|
};
|
|
23280
23283
|
const handleClearEdit = (evnt, targetRow) => {
|
|
23281
|
-
const {
|
|
23282
|
-
mouseConfig
|
|
23283
|
-
} = props;
|
|
23284
23284
|
const {
|
|
23285
23285
|
editStore
|
|
23286
23286
|
} = reactData;
|
|
@@ -23293,7 +23293,6 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23293
23293
|
column
|
|
23294
23294
|
} = actived;
|
|
23295
23295
|
const validOpts = computeValidOpts.value;
|
|
23296
|
-
const mouseOpts = computeMouseOpts.value;
|
|
23297
23296
|
if (row || column) {
|
|
23298
23297
|
if (targetRow && getRowid($xeTable, targetRow) !== getRowid($xeTable, row)) {
|
|
23299
23298
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
@@ -23321,11 +23320,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
23321
23320
|
}
|
|
23322
23321
|
}
|
|
23323
23322
|
}
|
|
23324
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() =>
|
|
23325
|
-
if (mouseConfig && mouseOpts.area && $xeTable.handleRecalculateCellAreas) {
|
|
23326
|
-
return $xeTable.handleRecalculateCellAreas();
|
|
23327
|
-
}
|
|
23328
|
-
});
|
|
23323
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => $xeTable.updateCellAreas());
|
|
23329
23324
|
};
|
|
23330
23325
|
const handleEditActive = (params, evnt, isFocus) => {
|
|
23331
23326
|
const {
|