vxe-table 3.12.12 → 3.12.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.12.12";
3
+ export const version = "3.12.13";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
@@ -47,12 +47,14 @@ VxeUI.setConfig({
47
47
  rowDragConfig: {
48
48
  showIcon: true,
49
49
  animation: true,
50
- showGuidesStatus: true
50
+ showGuidesStatus: true,
51
+ showDragTip: true
51
52
  },
52
53
  columnDragConfig: {
53
54
  showIcon: true,
54
55
  animation: true,
55
- showGuidesStatus: true
56
+ showGuidesStatus: true,
57
+ showDragTip: true
56
58
  },
57
59
  checkboxConfig: {
58
60
  // trigger: 'default',
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.12.12"}`;
3
+ const version = `table v${"3.12.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
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
2220
2220
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2221
2221
 
2222
2222
 
2223
- const version = "3.12.12";
2223
+ const version = "3.12.13";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2267,12 +2267,14 @@ core_.VxeUI.setConfig({
2267
2267
  rowDragConfig: {
2268
2268
  showIcon: true,
2269
2269
  animation: true,
2270
- showGuidesStatus: true
2270
+ showGuidesStatus: true,
2271
+ showDragTip: true
2271
2272
  },
2272
2273
  columnDragConfig: {
2273
2274
  showIcon: true,
2274
2275
  animation: true,
2275
- showGuidesStatus: true
2276
+ showGuidesStatus: true,
2277
+ showDragTip: true
2276
2278
  },
2277
2279
  checkboxConfig: {
2278
2280
  // trigger: 'default',
@@ -2840,7 +2842,7 @@ function isNodeElement(elem) {
2840
2842
  const {
2841
2843
  log: log_log
2842
2844
  } = core_.VxeUI;
2843
- const log_version = `table v${"3.12.12"}`;
2845
+ const log_version = `table v${"3.12.13"}`;
2844
2846
  const warnLog = log_log.create('warn', log_version);
2845
2847
  const errLog = log_log.create('error', log_version);
2846
2848
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -24789,7 +24791,8 @@ const renderDragTipContents = (h, $xeTable) => {
24789
24791
  const table_renderDragTip = (h, $xeTable) => {
24790
24792
  const reactData = $xeTable;
24791
24793
  const {
24792
- dragRow
24794
+ dragRow,
24795
+ dragCol
24793
24796
  } = reactData;
24794
24797
  const rowOpts = $xeTable.computeRowOpts;
24795
24798
  const columnOpts = $xeTable.computeColumnOpts;
@@ -24808,7 +24811,7 @@ const table_renderDragTip = (h, $xeTable) => {
24808
24811
  class: ['vxe-table--drag-col-line', {
24809
24812
  'is--guides': columnDragOpts.showGuidesStatus
24810
24813
  }]
24811
- }), h('div', {
24814
+ }), dragRow && rowDragOpts.showDragTip || dragCol && columnDragOpts.showDragTip ? h('div', {
24812
24815
  ref: 'refDragTipElem',
24813
24816
  class: 'vxe-table--drag-sort-tip'
24814
24817
  }, [h('div', {
@@ -24823,7 +24826,7 @@ const table_renderDragTip = (h, $xeTable) => {
24823
24826
  class: ['vxe-table--drag-sort-tip-disabled-status', table_getIcon().TABLE_DRAG_DISABLED]
24824
24827
  })]), h('div', {
24825
24828
  class: 'vxe-table--drag-sort-tip-content'
24826
- }, renderDragTipContents(h, $xeTable))])])]);
24829
+ }, renderDragTipContents(h, $xeTable))])]) : table_renderEmptyElement($xeTable)]);
24827
24830
  }
24828
24831
  return table_renderEmptyElement($xeTable);
24829
24832
  };