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.
@@ -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.visible = parent.children.every((column) => column.visible);
998
- parent.halfVisible = !parent.visible && parent.children.some((column) => column.visible || column.halfVisible);
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;
@@ -356,32 +356,32 @@ export default {
356
356
  */
357
357
  h('thead', {
358
358
  ref: 'refHeaderTHead'
359
- }, renderHeads(h, this, isGroup, isOptimizeMode, renderHeaderList)),
360
- mouseConfig && mouseOpts.area
361
- ? h('div', {
362
- class: 'vxe-table--cell-area'
363
- }, [
364
- h('span', {
365
- class: 'vxe-table--cell-main-area'
366
- }),
367
- h('span', {
368
- class: 'vxe-table--cell-clip-area'
369
- }),
370
- h('span', {
371
- class: 'vxe-table--cell-extend-area'
372
- }),
373
- h('span', {
374
- class: 'vxe-table--cell-multi-area'
375
- }),
376
- h('span', {
377
- class: 'vxe-table--cell-active-area'
378
- }),
379
- h('span', {
380
- class: 'vxe-table--cell-col-status-area'
381
- })
382
- ])
383
- : renderEmptyElement($xeTable)
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
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { getFuncText } from './src/utils';
3
- export const version = "3.17.4";
3
+ export const version = "3.17.6";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `table v${"3.17.4"}`;
3
+ const version = `table v${"3.17.6"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
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.4";
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.4"}`;
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.visible = parent.children.every(column => column.visible);
21128
- parent.halfVisible = !parent.visible && parent.children.some(column => column.visible || column.halfVisible);
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;