vxe-table 3.11.28 → 3.11.29

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/lib/index.umd.js CHANGED
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
2220
2220
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2221
2221
 
2222
2222
 
2223
- const version = "3.11.28";
2223
+ const version = "3.11.29";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2790,7 +2790,7 @@ function isNodeElement(elem) {
2790
2790
  const {
2791
2791
  log: log_log
2792
2792
  } = core_.VxeUI;
2793
- const log_version = `table v${"3.11.28"}`;
2793
+ const log_version = `table v${"3.11.29"}`;
2794
2794
  const warnLog = log_log.create('warn', log_version);
2795
2795
  const errLog = log_log.create('error', log_version);
2796
2796
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -5943,7 +5943,7 @@ const Methods = {
5943
5943
  return this.$nextTick().then(() => {
5944
5944
  if (this.$toolbar) {
5945
5945
  this.$toolbar.syncUpdate({
5946
- collectColumn,
5946
+ collectColumn: this.collectColumn,
5947
5947
  $table: this
5948
5948
  });
5949
5949
  }
@@ -15658,7 +15658,7 @@ function panel_showDropTip(_vm, evnt, optEl, showLine, dragPos) {
15658
15658
  if (showLine) {
15659
15659
  const optRect = optEl.getBoundingClientRect();
15660
15660
  dragLineEl.style.display = 'block';
15661
- dragLineEl.style.top = `${Math.max(1, optRect.y - wrapperRect.y)}px`;
15661
+ dragLineEl.style.top = `${Math.max(1, optRect.y + el.scrollTop - wrapperRect.y)}px`;
15662
15662
  dragLineEl.style.height = `${optRect.height}px`;
15663
15663
  dragLineEl.style.width = `${optRect.width}px`;
15664
15664
  dragLineEl.setAttribute('drag-pos', dragPos);
@@ -15671,8 +15671,8 @@ function panel_showDropTip(_vm, evnt, optEl, showLine, dragPos) {
15671
15671
  const dragTipEl = _vm.$refs.refDragTipElem;
15672
15672
  if (dragTipEl) {
15673
15673
  dragTipEl.style.display = 'block';
15674
- dragTipEl.style.top = `${Math.min(el.clientHeight - el.scrollTop - dragTipEl.clientHeight, evnt.clientY - wrapperRect.y)}px`;
15675
- dragTipEl.style.left = `${Math.min(el.clientWidth - el.scrollLeft - dragTipEl.clientWidth - 16, evnt.clientX - wrapperRect.x)}px`;
15674
+ dragTipEl.style.top = `${Math.min(el.clientHeight + el.scrollTop - dragTipEl.clientHeight, evnt.clientY + el.scrollTop - wrapperRect.y)}px`;
15675
+ dragTipEl.style.left = `${Math.min(el.clientWidth + el.scrollLeft - dragTipEl.clientWidth, evnt.clientX + el.scrollLeft - wrapperRect.x)}px`;
15676
15676
  dragTipEl.setAttribute('drag-status', showLine ? prevDragToChild ? 'sub' : 'normal' : 'disabled');
15677
15677
  }
15678
15678
  }
@@ -15707,7 +15707,7 @@ const renderDragTip = (h, _vm) => {
15707
15707
  }), h('span', {
15708
15708
  class: ['vxe-table-custom-popup--drag-tip-disabled-status', panel_getIcon().TABLE_DRAG_DISABLED]
15709
15709
  })]), h('div', {
15710
- class: 'vxe-table--drag-tip-content'
15710
+ class: 'vxe-table-custom-popup--drag-tip-content'
15711
15711
  }, panel_getI18n('vxe.custom.cstmDragTarget', [dragCol && dragCol.type !== 'html' ? dragCol.getTitle() : '']))])])]);
15712
15712
  };
15713
15713
  const renderSimplePanel = (h, _vm) => {
@@ -23579,7 +23579,7 @@ function handleUupdateResize(_vm) {
23579
23579
  });
23580
23580
  return fixedSize;
23581
23581
  },
23582
- isMaxFixedColumn() {
23582
+ computeIsMaxFixedColumn() {
23583
23583
  const {
23584
23584
  maxFixedSize
23585
23585
  } = this.columnOpts;
@@ -23740,9 +23740,20 @@ function handleUupdateResize(_vm) {
23740
23740
  tZindex: 0,
23741
23741
  elemStore: {},
23742
23742
  // 存放横向 X 虚拟滚动相关的信息
23743
- scrollXStore: {},
23743
+ scrollXStore: {
23744
+ offsetSize: 0,
23745
+ visibleSize: 0,
23746
+ startIndex: 0,
23747
+ endIndex: 0
23748
+ },
23744
23749
  // 存放纵向 Y 虚拟滚动相关信息
23745
- scrollYStore: {},
23750
+ scrollYStore: {
23751
+ rowHeight: 0,
23752
+ offsetSize: 0,
23753
+ visibleSize: 0,
23754
+ startIndex: 0,
23755
+ endIndex: 0
23756
+ },
23746
23757
  // 表格宽度
23747
23758
  tableWidth: 0,
23748
23759
  // 表格高度