vxe-table 3.8.6 → 3.8.7-beta.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.
Files changed (63) hide show
  1. package/README.md +8 -10
  2. package/lib/custom/src/panel.js +3 -3
  3. package/lib/custom/src/panel.min.js +1 -1
  4. package/lib/custom/style/style.css +1 -1
  5. package/lib/custom/style/style.min.css +1 -1
  6. package/lib/icon/style/style.css +1 -1
  7. package/lib/icon/style/style.min.css +1 -1
  8. package/lib/index.css +1 -1
  9. package/lib/index.umd.js +27 -17
  10. package/lib/index.umd.min.js +1 -1
  11. package/lib/locale/lang/en-US.js +1 -1
  12. package/lib/locale/lang/en-US.min.js +1 -1
  13. package/lib/locale/lang/en-US.umd.js +1 -1
  14. package/lib/locale/lang/es-ES.js +1 -1
  15. package/lib/locale/lang/es-ES.min.js +1 -1
  16. package/lib/locale/lang/es-ES.umd.js +1 -1
  17. package/lib/locale/lang/ja-JP.js +1 -1
  18. package/lib/locale/lang/ja-JP.min.js +1 -1
  19. package/lib/locale/lang/ja-JP.umd.js +1 -1
  20. package/lib/locale/lang/pt-BR.js +1 -1
  21. package/lib/locale/lang/pt-BR.min.js +1 -1
  22. package/lib/locale/lang/pt-BR.umd.js +1 -1
  23. package/lib/locale/lang/zh-CN.js +1 -1
  24. package/lib/locale/lang/zh-CN.min.js +1 -1
  25. package/lib/locale/lang/zh-CN.umd.js +1 -1
  26. package/lib/locale/lang/zh-HK.min.js +1 -1
  27. package/lib/locale/lang/zh-HK.umd.js +1 -1
  28. package/lib/locale/lang/zh-MO.min.js +1 -1
  29. package/lib/locale/lang/zh-MO.umd.js +1 -1
  30. package/lib/locale/lang/zh-TC.js +1 -1
  31. package/lib/locale/lang/zh-TC.min.js +1 -1
  32. package/lib/locale/lang/zh-TC.umd.js +1 -1
  33. package/lib/locale/lang/zh-TW.min.js +1 -1
  34. package/lib/locale/lang/zh-TW.umd.js +1 -1
  35. package/lib/style.css +1 -1
  36. package/lib/style.min.css +1 -1
  37. package/lib/table/src/methods.js +19 -9
  38. package/lib/table/src/methods.min.js +1 -1
  39. package/lib/tools/log.js +1 -1
  40. package/lib/tools/log.min.js +1 -1
  41. package/lib/tooltip/src/tooltip.js +2 -2
  42. package/lib/tooltip/src/tooltip.min.js +1 -1
  43. package/lib/v-x-e-table/index.js +1 -1
  44. package/lib/v-x-e-table/index.min.js +1 -1
  45. package/lib/vxe-table-custom-module/style/style.css +1 -1
  46. package/lib/vxe-table-custom-module/style/style.min.css +1 -1
  47. package/package.json +2 -2
  48. package/packages/custom/src/panel.js +3 -3
  49. package/packages/locale/lang/en-US.js +1 -1
  50. package/packages/locale/lang/es-ES.js +1 -1
  51. package/packages/locale/lang/ja-JP.js +1 -1
  52. package/packages/locale/lang/pt-BR.js +1 -1
  53. package/packages/locale/lang/zh-CN.js +1 -1
  54. package/packages/locale/lang/zh-TC.js +1 -1
  55. package/packages/table/src/methods.js +16 -4
  56. package/packages/tooltip/src/tooltip.js +2 -2
  57. package/styles/custom.scss +1 -1
  58. /package/lib/icon/style/{iconfont.1715584102447.ttf → iconfont.1715830354295.ttf} +0 -0
  59. /package/lib/icon/style/{iconfont.1715584102447.woff → iconfont.1715830354295.woff} +0 -0
  60. /package/lib/icon/style/{iconfont.1715584102447.woff2 → iconfont.1715830354295.woff2} +0 -0
  61. /package/lib/{iconfont.1715584102447.ttf → iconfont.1715830354295.ttf} +0 -0
  62. /package/lib/{iconfont.1715584102447.woff → iconfont.1715830354295.woff} +0 -0
  63. /package/lib/{iconfont.1715584102447.woff2 → iconfont.1715830354295.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -11349,7 +11349,7 @@ var es_array_concat = __webpack_require__(8706);
11349
11349
 
11350
11350
 
11351
11351
  function getLog(message, params) {
11352
- return "[vxe-table v".concat("3.8.6", "] ").concat(conf.i18n(message, params));
11352
+ return "[vxe-table v".concat("3.8.7-beta.0", "] ").concat(conf.i18n(message, params));
11353
11353
  }
11354
11354
  function outLog(type) {
11355
11355
  return function (message, params) {
@@ -13089,7 +13089,7 @@ var setup = setConfig;
13089
13089
  var globalStore = {};
13090
13090
  var VXETable = {
13091
13091
  v: v,
13092
- version: "3.8.6",
13092
+ version: "3.8.7-beta.0",
13093
13093
  reg: reg,
13094
13094
  use: use,
13095
13095
  setConfig: setConfig,
@@ -22624,7 +22624,8 @@ var Methods = {
22624
22624
  }
22625
22625
  setMerges(this, merges, this.mergeList, this.afterFullData);
22626
22626
  return this.$nextTick().then(function () {
22627
- return _this58.updateCellAreas();
22627
+ _this58.updateCellAreas();
22628
+ return _this58.updateStyle();
22628
22629
  });
22629
22630
  },
22630
22631
  /**
@@ -22639,6 +22640,7 @@ var Methods = {
22639
22640
  var rest = removeMerges(this, merges, this.mergeList, this.afterFullData);
22640
22641
  return this.$nextTick().then(function () {
22641
22642
  _this59.updateCellAreas();
22643
+ _this59.updateStyle();
22642
22644
  return rest;
22643
22645
  });
22644
22646
  },
@@ -22652,30 +22654,35 @@ var Methods = {
22652
22654
  * 清除所有单元格合并
22653
22655
  */
22654
22656
  clearMergeCells: function clearMergeCells() {
22657
+ var _this60 = this;
22655
22658
  this.mergeList = [];
22656
- return this.$nextTick();
22659
+ return this.$nextTick().then(function () {
22660
+ return _this60.updateStyle();
22661
+ });
22657
22662
  },
22658
22663
  handleDefaultMergeFooterItems: function handleDefaultMergeFooterItems() {
22659
22664
  this.setMergeFooterItems(this.mergeFooterItems);
22660
22665
  },
22661
22666
  setMergeFooterItems: function setMergeFooterItems(merges) {
22662
- var _this60 = this;
22667
+ var _this61 = this;
22663
22668
  if (this.footerSpanMethod) {
22664
22669
  errLog('vxe.error.errConflicts', ['merge-footer-items', 'footer-span-method']);
22665
22670
  }
22666
22671
  setMerges(this, merges, this.mergeFooterList, null);
22667
22672
  return this.$nextTick().then(function () {
22668
- return _this60.updateCellAreas();
22673
+ _this61.updateCellAreas();
22674
+ return _this61.updateStyle();
22669
22675
  });
22670
22676
  },
22671
22677
  removeMergeFooterItems: function removeMergeFooterItems(merges) {
22672
- var _this61 = this;
22678
+ var _this62 = this;
22673
22679
  if (this.footerSpanMethod) {
22674
22680
  errLog('vxe.error.errConflicts', ['merge-footer-items', 'footer-span-method']);
22675
22681
  }
22676
22682
  var rest = removeMerges(this, merges, this.mergeFooterList, null);
22677
22683
  return this.$nextTick().then(function () {
22678
- _this61.updateCellAreas();
22684
+ _this62.updateCellAreas();
22685
+ _this62.updateStyle();
22679
22686
  return rest;
22680
22687
  });
22681
22688
  },
@@ -22689,8 +22696,11 @@ var Methods = {
22689
22696
  * 清除所有表尾合并
22690
22697
  */
22691
22698
  clearMergeFooterItems: function clearMergeFooterItems() {
22699
+ var _this63 = this;
22692
22700
  this.mergeFooterList = [];
22693
- return this.$nextTick();
22701
+ return this.$nextTick().then(function () {
22702
+ return _this63.updateStyle();
22703
+ });
22694
22704
  },
22695
22705
  updateZindex: function updateZindex() {
22696
22706
  if (this.zIndex) {
@@ -22795,9 +22805,9 @@ var Methods = {
22795
22805
  return cellLabel;
22796
22806
  },
22797
22807
  findRowIndexOf: function findRowIndexOf(list, row) {
22798
- var _this62 = this;
22808
+ var _this64 = this;
22799
22809
  return row ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findIndexOf(list, function (item) {
22800
- return _this62.eqRow(item, row);
22810
+ return _this64.eqRow(item, row);
22801
22811
  }) : -1;
22802
22812
  },
22803
22813
  eqRow: function eqRow(row1, row2) {
@@ -34657,7 +34667,7 @@ function renderSimplePanel(h, _vm) {
34657
34667
  'is--disabled': isMaxFixedColumn && !column.fixed
34658
34668
  }],
34659
34669
  attrs: {
34660
- title: conf.i18n(column.fixed === 'left' ? 'vxe.toolbar.cancelfixed' : 'vxe.toolbar.fixedLeft')
34670
+ title: conf.i18n(column.fixed === 'left' ? 'vxe.toolbar.cancelFixed' : 'vxe.toolbar.fixedLeft')
34661
34671
  },
34662
34672
  on: {
34663
34673
  click: function click() {
@@ -34670,7 +34680,7 @@ function renderSimplePanel(h, _vm) {
34670
34680
  'is--disabled': isMaxFixedColumn && !column.fixed
34671
34681
  }],
34672
34682
  attrs: {
34673
- title: conf.i18n(column.fixed === 'right' ? 'vxe.toolbar.cancelfixed' : 'vxe.toolbar.fixedRight')
34683
+ title: conf.i18n(column.fixed === 'right' ? 'vxe.toolbar.cancelFixed' : 'vxe.toolbar.fixedRight')
34674
34684
  },
34675
34685
  on: {
34676
34686
  click: function click() {
@@ -34885,7 +34895,7 @@ function renderPopupPanel(h, _vm) {
34885
34895
  class: 'vxe-table-custom--body',
34886
34896
  props: {
34887
34897
  tag: 'tbody',
34888
- name: 'vxe-table-custom--flip'
34898
+ name: 'vxe-table-custom--list'
34889
34899
  }
34890
34900
  }, trVNs)])]), h('div', {
34891
34901
  ref: 'dragHintElemRef',
@@ -39167,13 +39177,13 @@ function renderContent(h, _vm) {
39167
39177
  trigger: {
39168
39178
  type: String,
39169
39179
  default: function _default() {
39170
- return conf.tooltip.trigger;
39180
+ return conf.tooltip.trigger || 'hover';
39171
39181
  }
39172
39182
  },
39173
39183
  theme: {
39174
39184
  type: String,
39175
39185
  default: function _default() {
39176
- return conf.tooltip.theme;
39186
+ return conf.tooltip.theme || 'dark';
39177
39187
  }
39178
39188
  },
39179
39189
  content: {
@@ -41957,7 +41967,7 @@ var Pulldown = VxePulldown;
41957
41967
  customRestore: '重置',
41958
41968
  fixedLeft: '冻结在左侧',
41959
41969
  fixedRight: '冻结在右侧',
41960
- cancelfixed: '取消冻结列'
41970
+ cancelFixed: '取消冻结列'
41961
41971
  },
41962
41972
  input: {
41963
41973
  date: {