vxe-table 3.18.16 → 3.18.17
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/style.css +1 -1
- package/es/table/src/methods.js +6 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +10 -2
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +8 -0
- package/lib/table/src/methods.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/table/src/methods.ts +6 -0
- /package/es/{iconfont.1758344480506.ttf → iconfont.1758506941442.ttf} +0 -0
- /package/es/{iconfont.1758344480506.woff → iconfont.1758506941442.woff} +0 -0
- /package/es/{iconfont.1758344480506.woff2 → iconfont.1758506941442.woff2} +0 -0
- /package/lib/{iconfont.1758344480506.ttf → iconfont.1758506941442.ttf} +0 -0
- /package/lib/{iconfont.1758344480506.woff → iconfont.1758506941442.woff} +0 -0
- /package/lib/{iconfont.1758344480506.woff2 → iconfont.1758506941442.woff2} +0 -0
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
|
|
|
2002
2002
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2003
2003
|
|
|
2004
2004
|
|
|
2005
|
-
const version = "3.18.
|
|
2005
|
+
const version = "3.18.17";
|
|
2006
2006
|
core_.VxeUI.version = version;
|
|
2007
2007
|
core_.VxeUI.tableVersion = version;
|
|
2008
2008
|
core_.VxeUI.setConfig({
|
|
@@ -2689,7 +2689,7 @@ function isNodeElement(elem) {
|
|
|
2689
2689
|
const {
|
|
2690
2690
|
log: log_log
|
|
2691
2691
|
} = core_.VxeUI;
|
|
2692
|
-
const log_version = `table v${"3.18.
|
|
2692
|
+
const log_version = `table v${"3.18.17"}`;
|
|
2693
2693
|
const warnLog = log_log.create('warn', log_version);
|
|
2694
2694
|
const errLog = log_log.create('error', log_version);
|
|
2695
2695
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -8342,8 +8342,12 @@ function removeBodyMerges($xeTable, merges) {
|
|
|
8342
8342
|
return rest;
|
|
8343
8343
|
}
|
|
8344
8344
|
function handleHeaderMerge($xeTable, merges) {
|
|
8345
|
+
const props = $xeTable;
|
|
8345
8346
|
const reactData = $xeTable;
|
|
8346
8347
|
const internalData = $xeTable;
|
|
8348
|
+
const {
|
|
8349
|
+
showCustomHeader
|
|
8350
|
+
} = props;
|
|
8347
8351
|
const {
|
|
8348
8352
|
footerTableData
|
|
8349
8353
|
} = reactData;
|
|
@@ -8380,6 +8384,10 @@ function handleHeaderMerge($xeTable, merges) {
|
|
|
8380
8384
|
if (mergeRowIndex > -1 && mergeColumnIndex > -1 && (rowspan || colspan)) {
|
|
8381
8385
|
rowspan = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(rowspan) || 1;
|
|
8382
8386
|
colspan = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(colspan) || 1;
|
|
8387
|
+
if (!showCustomHeader && rowspan > 1) {
|
|
8388
|
+
errLog('vxe.error.notSupportProp', ['[table] show-custom-header=false', `rowspan=${rowspan}`, 'rowspan=1']);
|
|
8389
|
+
return;
|
|
8390
|
+
}
|
|
8383
8391
|
if (rowspan > 1 || colspan > 1) {
|
|
8384
8392
|
const row = footerTableData[mergeRowIndex];
|
|
8385
8393
|
const column = visibleColumn[mergeColumnIndex];
|