vxe-table 4.14.8 → 4.14.9
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/module/custom/hook.js +2 -2
- package/es/table/src/table.js +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +5 -5
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/custom/hook.js +2 -2
- package/lib/table/module/custom/hook.min.js +1 -1
- package/lib/table/src/table.js +1 -1
- package/lib/table/src/table.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/module/custom/hook.ts +2 -2
- package/packages/table/src/table.ts +1 -1
- /package/es/{iconfont.1753525794121.ttf → iconfont.1753928269615.ttf} +0 -0
- /package/es/{iconfont.1753525794121.woff → iconfont.1753928269615.woff} +0 -0
- /package/es/{iconfont.1753525794121.woff2 → iconfont.1753928269615.woff2} +0 -0
- /package/lib/{iconfont.1753525794121.ttf → iconfont.1753928269615.ttf} +0 -0
- /package/lib/{iconfont.1753525794121.woff → iconfont.1753928269615.woff} +0 -0
- /package/lib/{iconfont.1753525794121.woff2 → iconfont.1753928269615.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -3489,7 +3489,7 @@ export default defineVxeComponent({
|
|
|
3489
3489
|
if (parentColumn && parentColumn.fixed) {
|
|
3490
3490
|
column.fixed = parentColumn.fixed;
|
|
3491
3491
|
}
|
|
3492
|
-
if (parentColumn && column.fixed !== parentColumn.fixed) {
|
|
3492
|
+
if (parentColumn && (column.fixed || '') !== (parentColumn.fixed || '')) {
|
|
3493
3493
|
errLog('vxe.error.groupFixed');
|
|
3494
3494
|
}
|
|
3495
3495
|
if (isColGroup) {
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3233,7 +3233,7 @@ function eqEmptyValue(cellValue) {
|
|
|
3233
3233
|
;// ./packages/ui/index.ts
|
|
3234
3234
|
|
|
3235
3235
|
|
|
3236
|
-
const version = "4.14.
|
|
3236
|
+
const version = "4.14.9";
|
|
3237
3237
|
core_.VxeUI.version = version;
|
|
3238
3238
|
core_.VxeUI.tableVersion = version;
|
|
3239
3239
|
core_.VxeUI.setConfig({
|
|
@@ -3728,7 +3728,7 @@ var es_iterator_some = __webpack_require__(3579);
|
|
|
3728
3728
|
const {
|
|
3729
3729
|
log: log_log
|
|
3730
3730
|
} = core_.VxeUI;
|
|
3731
|
-
const log_version = `table v${"4.14.
|
|
3731
|
+
const log_version = `table v${"4.14.9"}`;
|
|
3732
3732
|
const warnLog = log_log.create('warn', log_version);
|
|
3733
3733
|
const errLog = log_log.create('error', log_version);
|
|
3734
3734
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -11277,7 +11277,7 @@ const getColumnList=columns=>{const result=[];columns.forEach(column=>{result.pu
|
|
|
11277
11277
|
// const rowOpts = computeRowOpts.value
|
|
11278
11278
|
const leftList=[];const centerList=[];const rightList=[];const{isGroup,columnStore}=reactData;const{collectColumn,tableFullColumn,scrollXStore,fullColumnIdData}=internalData;// 如果是分组表头,如果子列全部被隐藏,则根列也隐藏
|
|
11279
11279
|
if(isGroup){const leftGroupList=[];const centerGroupList=[];const rightGroupList=[];external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(collectColumn,(column,index,items,path,parentColumn)=>{const isColGroup=hasChildrenList(column);// 如果是分组,必须按组设置固定列,不允许给子列设置固定
|
|
11280
|
-
if(parentColumn&&parentColumn.fixed){column.fixed=parentColumn.fixed;}if(parentColumn&&column.fixed!==parentColumn.fixed){errLog('vxe.error.groupFixed');}if(isColGroup){column.visible=!!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(column.children,subColumn=>hasChildrenList(subColumn)?false:subColumn.visible);}else if(column.visible){if(column.fixed==='left'){leftList.push(column);}else if(column.fixed==='right'){rightList.push(column);}else{centerList.push(column);}}});collectColumn.forEach(column=>{if(column.visible){if(column.fixed==='left'){leftGroupList.push(column);}else if(column.fixed==='right'){rightGroupList.push(column);}else{centerGroupList.push(column);}}});reactData.tableGroupColumn=leftGroupList.concat(centerGroupList).concat(rightGroupList);}else{// 重新分配列
|
|
11280
|
+
if(parentColumn&&parentColumn.fixed){column.fixed=parentColumn.fixed;}if(parentColumn&&(column.fixed||'')!==(parentColumn.fixed||'')){errLog('vxe.error.groupFixed');}if(isColGroup){column.visible=!!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(column.children,subColumn=>hasChildrenList(subColumn)?false:subColumn.visible);}else if(column.visible){if(column.fixed==='left'){leftList.push(column);}else if(column.fixed==='right'){rightList.push(column);}else{centerList.push(column);}}});collectColumn.forEach(column=>{if(column.visible){if(column.fixed==='left'){leftGroupList.push(column);}else if(column.fixed==='right'){rightGroupList.push(column);}else{centerGroupList.push(column);}}});reactData.tableGroupColumn=leftGroupList.concat(centerGroupList).concat(rightGroupList);}else{// 重新分配列
|
|
11281
11281
|
tableFullColumn.forEach(column=>{if(column.visible){if(column.fixed==='left'){leftList.push(column);}else if(column.fixed==='right'){rightList.push(column);}else{centerList.push(column);}}});}const visibleColumn=leftList.concat(centerList).concat(rightList);internalData.visibleColumn=visibleColumn;updateColumnOffsetLeft();const sXLoad=updateScrollXStatus();reactData.hasFixedColumn=leftList.length>0||rightList.length>0;Object.assign(columnStore,{leftList,centerList,rightList});if(sXLoad){// if (showOverflow) {
|
|
11282
11282
|
// if (!rowOpts.height) {
|
|
11283
11283
|
// const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
|
|
@@ -19816,7 +19816,7 @@ core_.VxeUI.hooks.add('tableCustomModule', {
|
|
|
19816
19816
|
});
|
|
19817
19817
|
reactData.isCustomStatus = true;
|
|
19818
19818
|
return $xeTable.saveCustomStore('confirm').then(() => {
|
|
19819
|
-
if (allowGroup &&
|
|
19819
|
+
if (allowGroup && !!$xeTable.handlePivotTableAggregateData) {
|
|
19820
19820
|
if (rowGroupList.length !== aggHandleFields.length || rowGroupList.some((conf, i) => conf.field !== aggHandleFields[i])) {
|
|
19821
19821
|
// 更新数据分组
|
|
19822
19822
|
if (aggHandleFields.length) {
|
|
@@ -19824,7 +19824,7 @@ core_.VxeUI.hooks.add('tableCustomModule', {
|
|
|
19824
19824
|
} else {
|
|
19825
19825
|
$xeTable.clearRowGroups();
|
|
19826
19826
|
}
|
|
19827
|
-
} else {
|
|
19827
|
+
} else if (allowValues) {
|
|
19828
19828
|
// 更新聚合函数
|
|
19829
19829
|
$xeTable.handleUpdateAggData();
|
|
19830
19830
|
}
|