vxe-table 3.17.4 → 3.17.6
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/panel.js +3 -3
- package/es/table/src/header.js +26 -26
- 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/module/custom/panel.js +3 -3
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/src/header.js +2 -2
- package/lib/table/src/header.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/panel.ts +4 -4
- package/packages/table/src/header.ts +29 -29
- /package/es/{iconfont.1754457088150.ttf → iconfont.1754534807189.ttf} +0 -0
- /package/es/{iconfont.1754457088150.woff → iconfont.1754534807189.woff} +0 -0
- /package/es/{iconfont.1754457088150.woff2 → iconfont.1754534807189.woff2} +0 -0
- /package/lib/{iconfont.1754457088150.ttf → iconfont.1754534807189.ttf} +0 -0
- /package/lib/{iconfont.1754457088150.woff → iconfont.1754534807189.woff} +0 -0
- /package/lib/{iconfont.1754457088150.woff2 → iconfont.1754534807189.woff2} +0 -0
|
@@ -994,8 +994,8 @@ export default {
|
|
|
994
994
|
if (matchObj && matchObj.parent) {
|
|
995
995
|
const { parent } = matchObj;
|
|
996
996
|
if (parent.children && parent.children.length) {
|
|
997
|
-
parent.
|
|
998
|
-
parent.halfVisible = !parent.
|
|
997
|
+
parent.renderVisible = parent.children.every((column) => column.renderVisible);
|
|
998
|
+
parent.halfVisible = !parent.renderVisible && parent.children.some((column) => column.renderVisible || column.halfVisible);
|
|
999
999
|
this.handleOptionCheck(parent);
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
@@ -1004,8 +1004,8 @@ export default {
|
|
|
1004
1004
|
const $xeTableCustomPanel = this;
|
|
1005
1005
|
const $xeTable = $xeTableCustomPanel.$xeTable;
|
|
1006
1006
|
const tableReactData = $xeTable;
|
|
1007
|
-
const customOpts = $xeTable.computeCustomOpts;
|
|
1008
1007
|
const isChecked = !column.renderVisible;
|
|
1008
|
+
const customOpts = $xeTable.computeCustomOpts;
|
|
1009
1009
|
if (customOpts.immediate) {
|
|
1010
1010
|
XEUtils.eachTree([column], (item) => {
|
|
1011
1011
|
item.visible = isChecked;
|
package/es/table/src/header.js
CHANGED
|
@@ -356,32 +356,32 @@ export default {
|
|
|
356
356
|
*/
|
|
357
357
|
h('thead', {
|
|
358
358
|
ref: 'refHeaderTHead'
|
|
359
|
-
}, renderHeads(h, this, isGroup, isOptimizeMode, renderHeaderList))
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
359
|
+
}, renderHeads(h, this, isGroup, isOptimizeMode, renderHeaderList))
|
|
360
|
+
]),
|
|
361
|
+
mouseConfig && mouseOpts.area
|
|
362
|
+
? h('div', {
|
|
363
|
+
class: 'vxe-table--cell-area'
|
|
364
|
+
}, [
|
|
365
|
+
h('span', {
|
|
366
|
+
class: 'vxe-table--cell-main-area'
|
|
367
|
+
}),
|
|
368
|
+
h('span', {
|
|
369
|
+
class: 'vxe-table--cell-clip-area'
|
|
370
|
+
}),
|
|
371
|
+
h('span', {
|
|
372
|
+
class: 'vxe-table--cell-extend-area'
|
|
373
|
+
}),
|
|
374
|
+
h('span', {
|
|
375
|
+
class: 'vxe-table--cell-multi-area'
|
|
376
|
+
}),
|
|
377
|
+
h('span', {
|
|
378
|
+
class: 'vxe-table--cell-active-area'
|
|
379
|
+
}),
|
|
380
|
+
h('span', {
|
|
381
|
+
class: 'vxe-table--cell-col-status-area'
|
|
382
|
+
})
|
|
383
|
+
])
|
|
384
|
+
: renderEmptyElement($xeTable)
|
|
385
385
|
])
|
|
386
386
|
]);
|
|
387
387
|
},
|
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.17.
|
|
2005
|
+
const version = "3.17.6";
|
|
2006
2006
|
core_.VxeUI.version = version;
|
|
2007
2007
|
core_.VxeUI.tableVersion = version;
|
|
2008
2008
|
core_.VxeUI.setConfig({
|
|
@@ -2669,7 +2669,7 @@ function isNodeElement(elem) {
|
|
|
2669
2669
|
const {
|
|
2670
2670
|
log: log_log
|
|
2671
2671
|
} = core_.VxeUI;
|
|
2672
|
-
const log_version = `table v${"3.17.
|
|
2672
|
+
const log_version = `table v${"3.17.6"}`;
|
|
2673
2673
|
const warnLog = log_log.create('warn', log_version);
|
|
2674
2674
|
const errLog = log_log.create('error', log_version);
|
|
2675
2675
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -19455,7 +19455,7 @@ function renderHeads(h, _vm, isGroup, isOptimizeMode, headerGroups) {
|
|
|
19455
19455
|
*/
|
|
19456
19456
|
h('thead', {
|
|
19457
19457
|
ref: 'refHeaderTHead'
|
|
19458
|
-
}, renderHeads(h, this, isGroup, isOptimizeMode, renderHeaderList)), mouseConfig && mouseOpts.area ? h('div', {
|
|
19458
|
+
}, renderHeads(h, this, isGroup, isOptimizeMode, renderHeaderList))]), mouseConfig && mouseOpts.area ? h('div', {
|
|
19459
19459
|
class: 'vxe-table--cell-area'
|
|
19460
19460
|
}, [h('span', {
|
|
19461
19461
|
class: 'vxe-table--cell-main-area'
|
|
@@ -19469,7 +19469,7 @@ function renderHeads(h, _vm, isGroup, isOptimizeMode, headerGroups) {
|
|
|
19469
19469
|
class: 'vxe-table--cell-active-area'
|
|
19470
19470
|
}), h('span', {
|
|
19471
19471
|
class: 'vxe-table--cell-col-status-area'
|
|
19472
|
-
})]) : header_renderEmptyElement($xeTable)])])
|
|
19472
|
+
})]) : header_renderEmptyElement($xeTable)])]);
|
|
19473
19473
|
},
|
|
19474
19474
|
methods: {
|
|
19475
19475
|
uploadColumn() {
|
|
@@ -21124,8 +21124,8 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
|
|
|
21124
21124
|
parent
|
|
21125
21125
|
} = matchObj;
|
|
21126
21126
|
if (parent.children && parent.children.length) {
|
|
21127
|
-
parent.
|
|
21128
|
-
parent.halfVisible = !parent.
|
|
21127
|
+
parent.renderVisible = parent.children.every(column => column.renderVisible);
|
|
21128
|
+
parent.halfVisible = !parent.renderVisible && parent.children.some(column => column.renderVisible || column.halfVisible);
|
|
21129
21129
|
this.handleOptionCheck(parent);
|
|
21130
21130
|
}
|
|
21131
21131
|
}
|
|
@@ -21134,8 +21134,8 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
|
|
|
21134
21134
|
const $xeTableCustomPanel = this;
|
|
21135
21135
|
const $xeTable = $xeTableCustomPanel.$xeTable;
|
|
21136
21136
|
const tableReactData = $xeTable;
|
|
21137
|
-
const customOpts = $xeTable.computeCustomOpts;
|
|
21138
21137
|
const isChecked = !column.renderVisible;
|
|
21138
|
+
const customOpts = $xeTable.computeCustomOpts;
|
|
21139
21139
|
if (customOpts.immediate) {
|
|
21140
21140
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree([column], item => {
|
|
21141
21141
|
item.visible = isChecked;
|