vxe-table 3.17.5 → 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/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/panel.js +3 -3
- package/lib/table/module/custom/panel.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/es/{iconfont.1754479734481.ttf → iconfont.1754534807189.ttf} +0 -0
- /package/es/{iconfont.1754479734481.woff → iconfont.1754534807189.woff} +0 -0
- /package/es/{iconfont.1754479734481.woff2 → iconfont.1754534807189.woff2} +0 -0
- /package/lib/{iconfont.1754479734481.ttf → iconfont.1754534807189.ttf} +0 -0
- /package/lib/{iconfont.1754479734481.woff → iconfont.1754534807189.woff} +0 -0
- /package/lib/{iconfont.1754479734481.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/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
|
|
@@ -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;
|