vxe-table 3.13.12 → 3.13.13

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/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.13.12";
3
+ export const version = "3.13.13";
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.13.12"}`;
3
+ const version = `table v${"3.13.13"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -3201,7 +3201,7 @@ function getClass(property, params) {
3201
3201
  ;// ./packages/ui/index.ts
3202
3202
 
3203
3203
 
3204
- const version = "3.13.12";
3204
+ const version = "3.13.13";
3205
3205
  core_.VxeUI.version = version;
3206
3206
  core_.VxeUI.tableVersion = version;
3207
3207
  core_.VxeUI.setConfig({
@@ -3828,7 +3828,7 @@ var es_iterator_map = __webpack_require__(1701);
3828
3828
  const {
3829
3829
  log: log_log
3830
3830
  } = core_.VxeUI;
3831
- const log_version = `table v${"3.13.12"}`;
3831
+ const log_version = `table v${"3.13.13"}`;
3832
3832
  const warnLog = log_log.create('warn', log_version);
3833
3833
  const errLog = log_log.create('error', log_version);
3834
3834
  ;// ./packages/table/src/columnInfo.ts
@@ -16546,6 +16546,7 @@ function renderTdColumn(h, _vm, seq, rowid, fixedType, isOptimizeMode, rowLevel,
16546
16546
  } = tableProps;
16547
16547
  const {
16548
16548
  tableData,
16549
+ dragRow,
16549
16550
  overflowX,
16550
16551
  currentColumn,
16551
16552
  scrollXLoad,
@@ -16763,10 +16764,12 @@ function renderTdColumn(h, _vm, seq, rowid, fixedType, isOptimizeMode, rowLevel,
16763
16764
  const isLastColumn = $columnIndex === columns.length - 1;
16764
16765
  const isAutoCellWidth = !column.resizeWidth && (column.minWidth === 'auto' || column.width === 'auto');
16765
16766
  let isVNPreEmptyStatus = false;
16766
- if (scrollYLoad && (_rowIndex < scrollYStore.visibleStartIndex - scrollYStore.preloadSize || _rowIndex > scrollYStore.visibleEndIndex + scrollYStore.preloadSize)) {
16767
- isVNPreEmptyStatus = true;
16768
- } else if (scrollXLoad && !column.fixed && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
16769
- isVNPreEmptyStatus = true;
16767
+ if (!dragRow || getRowid($xeTable, dragRow) !== rowid) {
16768
+ if (scrollYLoad && (_rowIndex < scrollYStore.visibleStartIndex - scrollYStore.preloadSize || _rowIndex > scrollYStore.visibleEndIndex + scrollYStore.preloadSize)) {
16769
+ isVNPreEmptyStatus = true;
16770
+ } else if (scrollXLoad && !column.fixed && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
16771
+ isVNPreEmptyStatus = true;
16772
+ }
16770
16773
  }
16771
16774
  const tcStyle = {};
16772
16775
  if (scrollYLoad || hasEllipsis || isCsHeight || isRsHeight) {
@@ -17409,6 +17412,7 @@ const header_renderRows = (h, _vm, isGroup, isOptimizeMode, cols, $rowIndex) =>
17409
17412
  } = tableProps;
17410
17413
  const {
17411
17414
  currentColumn,
17415
+ dragCol,
17412
17416
  scrollXLoad,
17413
17417
  scrollYLoad,
17414
17418
  overflowX
@@ -17509,8 +17513,10 @@ const header_renderRows = (h, _vm, isGroup, isOptimizeMode, cols, $rowIndex) =>
17509
17513
  const isAutoCellWidth = !column.resizeWidth && (column.minWidth === 'auto' || column.width === 'auto');
17510
17514
  let isVNPreEmptyStatus = false;
17511
17515
  if (!isGroup) {
17512
- if (scrollXLoad && !column.fixed && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
17513
- isVNPreEmptyStatus = true;
17516
+ if (!dragCol || dragCol.id !== colid) {
17517
+ if (scrollXLoad && !column.fixed && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
17518
+ isVNPreEmptyStatus = true;
17519
+ }
17514
17520
  }
17515
17521
  }
17516
17522
  const tcStyle = {};