vxe-table 3.16.0-beta.9 → 3.16.0
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 +1 -1
- package/es/style.css +1 -1
- package/es/table/src/cell.js +6 -3
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +7 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/cell.js +8 -7
- package/lib/table/src/cell.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 +3 -3
- package/packages/table/src/cell.ts +3 -3
- package/types/all.d.ts +3 -2
- /package/es/{iconfont.1751622139622.ttf → iconfont.1751975474036.ttf} +0 -0
- /package/es/{iconfont.1751622139622.woff → iconfont.1751975474036.woff} +0 -0
- /package/es/{iconfont.1751622139622.woff2 → iconfont.1751975474036.woff2} +0 -0
- /package/lib/{iconfont.1751622139622.ttf → iconfont.1751975474036.ttf} +0 -0
- /package/lib/{iconfont.1751622139622.woff → iconfont.1751975474036.woff} +0 -0
- /package/lib/{iconfont.1751622139622.woff2 → iconfont.1751975474036.woff2} +0 -0
package/es/table/src/cell.js
CHANGED
|
@@ -166,14 +166,14 @@ function getRenderDefaultColumnTitle(h, column, content) {
|
|
|
166
166
|
}
|
|
167
167
|
function renderTitleContent(h, params, content) {
|
|
168
168
|
const { $table, column } = params;
|
|
169
|
-
const { showHeaderOverflow } = column;
|
|
170
169
|
const tableProps = $table;
|
|
171
170
|
const tableReactData = $table;
|
|
172
171
|
const { showHeaderOverflow: allColumnHeaderOverflow } = tableProps;
|
|
173
172
|
const { isRowGroupStatus } = tableReactData;
|
|
173
|
+
const { showHeaderOverflow } = column;
|
|
174
174
|
const tooltipOpts = $table.computeTooltipOpts;
|
|
175
175
|
const showAllTip = tooltipOpts.showAll;
|
|
176
|
-
const headOverflow = XEUtils.
|
|
176
|
+
const headOverflow = XEUtils.eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
|
|
177
177
|
const showTitle = headOverflow === 'title';
|
|
178
178
|
const showTooltip = headOverflow === true || headOverflow === 'tooltip';
|
|
179
179
|
const ons = {};
|
|
@@ -202,7 +202,10 @@ function renderTitleContent(h, params, content) {
|
|
|
202
202
|
}
|
|
203
203
|
const titleVN = getRenderDefaultColumnTitle(h, column, content);
|
|
204
204
|
return [
|
|
205
|
-
h('span',
|
|
205
|
+
h('span', {
|
|
206
|
+
class: 'vxe-cell--title',
|
|
207
|
+
on: ons
|
|
208
|
+
}, isRowGroupStatus && column.aggFunc && $table.getPivotTableAggregateRenderColTitles
|
|
206
209
|
? $table.getPivotTableAggregateRenderColTitles(h, column, titleVN)
|
|
207
210
|
: [
|
|
208
211
|
titleVN
|
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.16.0
|
|
2005
|
+
const version = "3.16.0";
|
|
2006
2006
|
core_.VxeUI.version = version;
|
|
2007
2007
|
core_.VxeUI.tableVersion = version;
|
|
2008
2008
|
core_.VxeUI.setConfig({
|
|
@@ -2667,7 +2667,7 @@ function isNodeElement(elem) {
|
|
|
2667
2667
|
const {
|
|
2668
2668
|
log: log_log
|
|
2669
2669
|
} = core_.VxeUI;
|
|
2670
|
-
const log_version = `table v${"3.16.0
|
|
2670
|
+
const log_version = `table v${"3.16.0"}`;
|
|
2671
2671
|
const warnLog = log_log.create('warn', log_version);
|
|
2672
2672
|
const errLog = log_log.create('error', log_version);
|
|
2673
2673
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -3687,9 +3687,6 @@ function renderTitleContent(h, params, content) {
|
|
|
3687
3687
|
$table,
|
|
3688
3688
|
column
|
|
3689
3689
|
} = params;
|
|
3690
|
-
const {
|
|
3691
|
-
showHeaderOverflow
|
|
3692
|
-
} = column;
|
|
3693
3690
|
const tableProps = $table;
|
|
3694
3691
|
const tableReactData = $table;
|
|
3695
3692
|
const {
|
|
@@ -3698,9 +3695,12 @@ function renderTitleContent(h, params, content) {
|
|
|
3698
3695
|
const {
|
|
3699
3696
|
isRowGroupStatus
|
|
3700
3697
|
} = tableReactData;
|
|
3698
|
+
const {
|
|
3699
|
+
showHeaderOverflow
|
|
3700
|
+
} = column;
|
|
3701
3701
|
const tooltipOpts = $table.computeTooltipOpts;
|
|
3702
3702
|
const showAllTip = tooltipOpts.showAll;
|
|
3703
|
-
const headOverflow = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().
|
|
3703
|
+
const headOverflow = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
|
|
3704
3704
|
const showTitle = headOverflow === 'title';
|
|
3705
3705
|
const showTooltip = headOverflow === true || headOverflow === 'tooltip';
|
|
3706
3706
|
const ons = {};
|
|
@@ -3729,7 +3729,7 @@ function renderTitleContent(h, params, content) {
|
|
|
3729
3729
|
const titleVN = getRenderDefaultColumnTitle(h, column, content);
|
|
3730
3730
|
return [h('span', {
|
|
3731
3731
|
class: 'vxe-cell--title',
|
|
3732
|
-
|
|
3732
|
+
on: ons
|
|
3733
3733
|
}, isRowGroupStatus && column.aggFunc && $table.getPivotTableAggregateRenderColTitles ? $table.getPivotTableAggregateRenderColTitles(h, column, titleVN) : [titleVN])];
|
|
3734
3734
|
}
|
|
3735
3735
|
function getFooterContent(h, params) {
|