vxe-table 4.8.5 → 4.8.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.
Files changed (46) hide show
  1. package/es/style.css +1 -1
  2. package/es/style.min.css +1 -1
  3. package/es/table/module/custom/panel.js +28 -6
  4. package/es/table/module/validator/hook.js +1 -1
  5. package/es/table/src/body.js +14 -8
  6. package/es/table/src/table.js +69 -45
  7. package/es/table/style.css +25 -15
  8. package/es/table/style.min.css +1 -1
  9. package/es/ui/index.js +3 -2
  10. package/es/ui/src/log.js +1 -1
  11. package/es/vxe-table/style.css +25 -15
  12. package/es/vxe-table/style.min.css +1 -1
  13. package/lib/index.umd.js +111 -52
  14. package/lib/index.umd.min.js +1 -1
  15. package/lib/style.css +1 -1
  16. package/lib/style.min.css +1 -1
  17. package/lib/table/module/custom/panel.js +31 -5
  18. package/lib/table/module/custom/panel.min.js +1 -1
  19. package/lib/table/module/validator/hook.js +1 -1
  20. package/lib/table/module/validator/hook.min.js +1 -1
  21. package/lib/table/src/body.js +5 -3
  22. package/lib/table/src/body.min.js +1 -1
  23. package/lib/table/src/table.js +70 -40
  24. package/lib/table/src/table.min.js +1 -1
  25. package/lib/table/style/style.css +25 -15
  26. package/lib/table/style/style.min.css +1 -1
  27. package/lib/ui/index.js +3 -2
  28. package/lib/ui/index.min.js +1 -1
  29. package/lib/ui/src/log.js +1 -1
  30. package/lib/ui/src/log.min.js +1 -1
  31. package/lib/vxe-table/style/style.css +25 -15
  32. package/lib/vxe-table/style/style.min.css +1 -1
  33. package/package.json +2 -2
  34. package/packages/table/module/custom/panel.ts +29 -6
  35. package/packages/table/module/validator/hook.ts +1 -1
  36. package/packages/table/src/body.ts +14 -8
  37. package/packages/table/src/table.ts +69 -45
  38. package/packages/ui/index.ts +2 -1
  39. package/styles/components/table-module/custom.scss +2 -1
  40. package/styles/components/table.scss +36 -26
  41. /package/es/{iconfont.1730971754265.ttf → iconfont.1731028500961.ttf} +0 -0
  42. /package/es/{iconfont.1730971754265.woff → iconfont.1731028500961.woff} +0 -0
  43. /package/es/{iconfont.1730971754265.woff2 → iconfont.1731028500961.woff2} +0 -0
  44. /package/lib/{iconfont.1730971754265.ttf → iconfont.1731028500961.ttf} +0 -0
  45. /package/lib/{iconfont.1730971754265.woff → iconfont.1731028500961.woff} +0 -0
  46. /package/lib/{iconfont.1730971754265.woff2 → iconfont.1731028500961.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -1998,7 +1998,7 @@ function eqEmptyValue(cellValue) {
1998
1998
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
1999
1999
 
2000
2000
 
2001
- const version = "4.8.5";
2001
+ const version = "4.8.6";
2002
2002
  core_.VxeUI.version = version;
2003
2003
  core_.VxeUI.tableVersion = version;
2004
2004
  core_.VxeUI.setConfig({
@@ -2050,7 +2050,8 @@ core_.VxeUI.setConfig({
2050
2050
  autoClear: true,
2051
2051
  autoPos: true,
2052
2052
  message: 'inline',
2053
- msgMode: 'single'
2053
+ msgMode: 'single',
2054
+ theme: 'normal'
2054
2055
  },
2055
2056
  columnConfig: {
2056
2057
  maxFixedSize: 4
@@ -2388,7 +2389,7 @@ var es_array_push = __webpack_require__(4114);
2388
2389
  const {
2389
2390
  log: log_log
2390
2391
  } = core_.VxeUI;
2391
- const log_version = `table v${"4.8.5"}`;
2392
+ const log_version = `table v${"4.8.6"}`;
2392
2393
  const warnLog = log_log.create('warn', log_version);
2393
2394
  const errLog = log_log.create('error', log_version);
2394
2395
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -5107,13 +5108,15 @@ const lineOffsetSizes = {
5107
5108
  ...errorValidItem
5108
5109
  };
5109
5110
  tdVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
5110
- class: ['vxe-cell--valid-error-hint', getPropClass(validOpts.className, validParams)],
5111
+ class: ['vxe-cell--valid-error-tip', getPropClass(validOpts.className, validParams)],
5111
5112
  style: errRule && errRule.maxWidth ? {
5112
5113
  width: `${errRule.maxWidth}px`
5113
5114
  } : null
5114
- }, validSlot ? $xeTable.callSlot(validSlot, validParams) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
5115
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
5116
+ class: `vxe-cell--valid-error-wrapper vxe-cell--valid-error-theme-${validOpts.theme || 'normal'}`
5117
+ }, [validSlot ? $xeTable.callSlot(validSlot, validParams) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
5115
5118
  class: 'vxe-cell--valid-error-msg'
5116
- }, errorValidItem.content)]));
5119
+ }, errorValidItem.content)]])]));
5117
5120
  }
5118
5121
  }
5119
5122
  let cellHeight = '';
@@ -6720,7 +6723,7 @@ const {
6720
6723
  const VxeUIModalComponent = core_.VxeUI.getComponent('VxeModal');
6721
6724
  const VxeUIDrawerComponent = core_.VxeUI.getComponent('VxeDrawer');
6722
6725
  const VxeUIButtonComponent = core_.VxeUI.getComponent('VxeButton');
6723
- const VxeUIInputComponent = core_.VxeUI.getComponent('VxeInput');
6726
+ const VxeUINumberInputComponent = core_.VxeUI.getComponent('VxeNumberInput');
6724
6727
  const VxeUITooltipComponent = core_.VxeUI.getComponent('VxeTooltip');
6725
6728
  const VxeUIRadioGroupComponent = core_.VxeUI.getComponent('VxeRadioGroup');
6726
6729
  const $xeTable = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeTable', {});
@@ -6730,7 +6733,8 @@ const {
6730
6733
  const {
6731
6734
  computeCustomOpts,
6732
6735
  computeColumnOpts,
6733
- computeIsMaxFixedColumn
6736
+ computeIsMaxFixedColumn,
6737
+ computeResizableOpts
6734
6738
  } = $xeTable.getComputeMaps();
6735
6739
  const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
6736
6740
  const bodyElemRef = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
@@ -7197,6 +7201,11 @@ const {
7197
7201
  const {
7198
7202
  maxFixedSize
7199
7203
  } = columnOpts;
7204
+ const resizableOpts = computeResizableOpts.value;
7205
+ const {
7206
+ minWidth: reMinWidth,
7207
+ maxWidth: reMaxWidth
7208
+ } = resizableOpts;
7200
7209
  const {
7201
7210
  mode
7202
7211
  } = customOpts;
@@ -7225,6 +7234,24 @@ const {
7225
7234
  column
7226
7235
  }) : true;
7227
7236
  if (isVisible) {
7237
+ // 默认继承调整宽度
7238
+ let customMinWidth = 0;
7239
+ let customMaxWidth = 0;
7240
+ if (allowResizable) {
7241
+ const resizeParams = {
7242
+ $table: $xeTable,
7243
+ column,
7244
+ columnIndex: index,
7245
+ $columnIndex: index,
7246
+ $rowIndex: -1
7247
+ };
7248
+ if (reMinWidth) {
7249
+ customMinWidth = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(reMinWidth) ? reMinWidth(resizeParams) : reMinWidth);
7250
+ }
7251
+ if (reMaxWidth) {
7252
+ customMaxWidth = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(reMaxWidth) ? reMaxWidth(resizeParams) : reMaxWidth);
7253
+ }
7254
+ }
7228
7255
  const isChecked = column.renderVisible;
7229
7256
  const isIndeterminate = column.halfVisible;
7230
7257
  const colTitle = formatText(column.getTitle(), 1);
@@ -7283,10 +7310,12 @@ const {
7283
7310
  title: colTitle
7284
7311
  }, colTitle)]), allowResizable ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
7285
7312
  class: 'vxe-table-custom-popup--column-item col--resizable'
7286
- }, [column.children && column.children.length ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', '-') : VxeUIInputComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUIInputComponent, {
7313
+ }, [column.children && column.children.length ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', '-') : VxeUINumberInputComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUINumberInputComponent, {
7287
7314
  type: 'integer',
7288
7315
  disabled: isDisabled || isHidden,
7289
7316
  modelValue: column.renderResizeWidth,
7317
+ min: customMinWidth || undefined,
7318
+ max: customMaxWidth || undefined,
7290
7319
  'onUpdate:modelValue'(value) {
7291
7320
  column.renderResizeWidth = Math.max(0, Number(value));
7292
7321
  }
@@ -7457,8 +7486,8 @@ const {
7457
7486
  if (!VxeUIButtonComponent) {
7458
7487
  errLog('vxe.error.reqComp', ['vxe-button']);
7459
7488
  }
7460
- if (!VxeUIInputComponent) {
7461
- errLog('vxe.error.reqComp', ['vxe-input']);
7489
+ if (!VxeUINumberInputComponent) {
7490
+ errLog('vxe.error.reqComp', ['vxe-number-input']);
7462
7491
  }
7463
7492
  if (!VxeUITooltipComponent) {
7464
7493
  errLog('vxe.error.reqComp', ['vxe-tooltip']);
@@ -8498,7 +8527,8 @@ const {
8498
8527
  hooks: table_hooks,
8499
8528
  globalEvents: table_globalEvents,
8500
8529
  GLOBAL_EVENT_KEYS,
8501
- useFns
8530
+ useFns,
8531
+ renderEmptyElement: table_renderEmptyElement
8502
8532
  } = core_.VxeUI;
8503
8533
  const isWebkit = browse['-webkit'] && !browse.edge;
8504
8534
  const customStorageKey = 'VXE_CUSTOM_STORE';
@@ -11112,10 +11142,14 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
11112
11142
  const {
11113
11143
  rowExpandedMaps
11114
11144
  } = reactData;
11115
- rowRest.expandLoaded = true;
11145
+ if (rowRest) {
11146
+ rowRest.expandLoaded = true;
11147
+ }
11116
11148
  rowExpandedMaps[rowid] = row;
11117
11149
  }).catch(() => {
11118
- rowRest.expandLoaded = false;
11150
+ if (rowRest) {
11151
+ rowRest.expandLoaded = false;
11152
+ }
11119
11153
  }).finally(() => {
11120
11154
  const {
11121
11155
  rowExpandLazyLoadedMaps
@@ -11671,13 +11705,15 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
11671
11705
  const rowid = getRowid($xeTable, row);
11672
11706
  if (!treeTempExpandedMaps[rowid]) {
11673
11707
  const rowRest = fullAllDataRowIdData[rowid];
11674
- const isLoad = lazy && row[hasChildField] && !rowRest.treeLoaded && !treeExpandLazyLoadedMaps[rowid];
11675
- // 是否使用懒加载
11676
- if (isLoad) {
11677
- result.push(handleAsyncTreeExpandChilds(row));
11678
- } else {
11679
- if (row[childrenField] && row[childrenField].length) {
11680
- treeTempExpandedMaps[rowid] = row;
11708
+ if (rowRest) {
11709
+ const isLoad = lazy && row[hasChildField] && !rowRest.treeLoaded && !treeExpandLazyLoadedMaps[rowid];
11710
+ // 是否使用懒加载
11711
+ if (isLoad) {
11712
+ result.push(handleAsyncTreeExpandChilds(row));
11713
+ } else {
11714
+ if (row[childrenField] && row[childrenField].length) {
11715
+ treeTempExpandedMaps[rowid] = row;
11716
+ }
11681
11717
  }
11682
11718
  }
11683
11719
  }
@@ -14805,7 +14841,22 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14805
14841
  }
14806
14842
  };
14807
14843
  const updateRowDropTipContent = tdEl => {
14808
- reactData.dragTipText = tdEl.textContent || '';
14844
+ const {
14845
+ dragRow
14846
+ } = reactData;
14847
+ const dragOpts = computeDragOpts.value;
14848
+ const {
14849
+ rowTooltipMethod
14850
+ } = dragOpts;
14851
+ let tipContent = '';
14852
+ if (rowTooltipMethod) {
14853
+ tipContent = `${rowTooltipMethod({
14854
+ row: dragRow
14855
+ }) || ''}`;
14856
+ } else {
14857
+ tipContent = table_getI18n('vxe.table.dragTip', [tdEl.textContent || '']);
14858
+ }
14859
+ reactData.dragTipText = tipContent;
14809
14860
  };
14810
14861
  /**
14811
14862
  * 处理显示 tooltip
@@ -14846,6 +14897,17 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14846
14897
  }
14847
14898
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
14848
14899
  };
14900
+ const callSlot = (slotFunc, params) => {
14901
+ if (slotFunc) {
14902
+ if ($xeGrid) {
14903
+ return $xeGrid.callSlot(slotFunc, params);
14904
+ }
14905
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
14906
+ return getSlotVNs(slotFunc(params));
14907
+ }
14908
+ }
14909
+ return [];
14910
+ };
14849
14911
  /**
14850
14912
  * 内部方法
14851
14913
  */
@@ -14854,17 +14916,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14854
14916
  return table_getConfig();
14855
14917
  },
14856
14918
  updateAfterDataIndex,
14857
- callSlot(slotFunc, params) {
14858
- if (slotFunc) {
14859
- if ($xeGrid) {
14860
- return $xeGrid.callSlot(slotFunc, params);
14861
- }
14862
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
14863
- return getSlotVNs(slotFunc(params));
14864
- }
14865
- }
14866
- return [];
14867
- },
14919
+ callSlot,
14868
14920
  /**
14869
14921
  * 获取父容器元素
14870
14922
  */
@@ -16624,7 +16676,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16624
16676
  tableColumn,
16625
16677
  tableGroupColumn,
16626
16678
  fixedColumn
16627
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(body, {
16679
+ }) : table_renderEmptyElement($xeTable), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(body, {
16628
16680
  ref: isFixedLeft ? refTableLeftBody : refTableRightBody,
16629
16681
  fixedType,
16630
16682
  tableData,
@@ -16636,7 +16688,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16636
16688
  tableColumn,
16637
16689
  fixedColumn,
16638
16690
  fixedType
16639
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
16691
+ }) : table_renderEmptyElement($xeTable)]);
16640
16692
  };
16641
16693
  const renderEmptyBody = () => {
16642
16694
  const emptyOpts = computeEmptyOpts.value;
@@ -16691,7 +16743,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16691
16743
  columnStore,
16692
16744
  filterStore,
16693
16745
  customStore,
16694
- tooltipStore
16746
+ tooltipStore,
16747
+ dragRow,
16748
+ dragTipText
16695
16749
  } = reactData;
16696
16750
  const {
16697
16751
  leftList,
@@ -16703,6 +16757,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16703
16757
  const checkboxOpts = computeCheckboxOpts.value;
16704
16758
  const treeOpts = computeTreeOpts.value;
16705
16759
  const rowOpts = computeRowOpts.value;
16760
+ const dragOpts = computeDragOpts.value;
16706
16761
  const columnOpts = computeColumnOpts.value;
16707
16762
  const vSize = computeSize.value;
16708
16763
  const tableBorder = computeTableBorder.value;
@@ -16712,6 +16767,8 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16712
16767
  const isMenu = computeIsMenu.value;
16713
16768
  const currLoading = reactData._isLoading || loading;
16714
16769
  const virtualScrollBars = computeVirtualScrollBars.value;
16770
+ const dragSlots = dragOpts.slots || {};
16771
+ const rowTipSlot = dragSlots.rowTip;
16715
16772
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16716
16773
  ref: refElem,
16717
16774
  class: ['vxe-table', 'vxe-table--render-default', `tid_${xID}`, `border--${tableBorder}`, {
@@ -16765,7 +16822,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16765
16822
  tableData,
16766
16823
  tableColumn,
16767
16824
  tableGroupColumn
16768
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16825
+ }) : table_renderEmptyElement($xeTable),
16769
16826
  /**
16770
16827
  * 表体
16771
16828
  */
@@ -16781,9 +16838,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16781
16838
  ref: refTableFooter,
16782
16839
  footerTableData,
16783
16840
  tableColumn
16784
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16841
+ }) : table_renderEmptyElement($xeTable)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16785
16842
  class: 'vxe-table--fixed-wrapper'
16786
- }, [leftList && leftList.length && overflowX ? renderFixed('left') : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), rightList && rightList.length && overflowX ? renderFixed('right') : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])]), virtualScrollBars.x ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16843
+ }, [leftList && leftList.length && overflowX ? renderFixed('left') : table_renderEmptyElement($xeTable), rightList && rightList.length && overflowX ? renderFixed('right') : table_renderEmptyElement($xeTable)])]), virtualScrollBars.x ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16787
16844
  key: 'vx',
16788
16845
  ref: refScrollXVirtualElem,
16789
16846
  class: 'vxe-table--scroll-x-virtual'
@@ -16794,7 +16851,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16794
16851
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16795
16852
  ref: refScrollXSpaceElem,
16796
16853
  class: 'vxe-table--scroll-x-space'
16797
- })])]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), virtualScrollBars.y ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16854
+ })])]) : table_renderEmptyElement($xeTable), virtualScrollBars.y ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16798
16855
  key: 'vy',
16799
16856
  ref: refScrollYVirtualElem,
16800
16857
  class: 'vxe-table--scroll-y-virtual'
@@ -16805,7 +16862,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16805
16862
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16806
16863
  ref: refScrollYSpaceElem,
16807
16864
  class: 'vxe-table--scroll-x-space'
16808
- })])]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16865
+ })])]) : table_renderEmptyElement($xeTable),
16809
16866
  /**
16810
16867
  * 空数据
16811
16868
  */
@@ -16848,7 +16905,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16848
16905
  $table: $xeTable,
16849
16906
  $grid: $xeGrid
16850
16907
  })
16851
- } : {}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16908
+ } : {}) : table_renderEmptyElement($xeTable),
16852
16909
  /**
16853
16910
  * 自定义列
16854
16911
  */
@@ -16856,7 +16913,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16856
16913
  key: 'cs',
16857
16914
  ref: refTableCustom,
16858
16915
  customStore
16859
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16916
+ }) : table_renderEmptyElement($xeTable),
16860
16917
  /**
16861
16918
  * 筛选
16862
16919
  */
@@ -16864,7 +16921,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16864
16921
  key: 'tf',
16865
16922
  ref: refTableFilter,
16866
16923
  filterStore
16867
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16924
+ }) : table_renderEmptyElement($xeTable),
16868
16925
  /**
16869
16926
  * 导入
16870
16927
  */
@@ -16872,7 +16929,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16872
16929
  key: 'it',
16873
16930
  defaultOptions: reactData.importParams,
16874
16931
  storeData: reactData.importStore
16875
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16932
+ }) : table_renderEmptyElement($xeTable),
16876
16933
  /**
16877
16934
  * 导出
16878
16935
  */
@@ -16880,21 +16937,23 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16880
16937
  key: 'et',
16881
16938
  defaultOptions: reactData.exportParams,
16882
16939
  storeData: reactData.exportStore
16883
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16940
+ }) : table_renderEmptyElement($xeTable),
16884
16941
  /**
16885
16942
  * 快捷菜单
16886
16943
  */
16887
16944
  isMenu ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(menu_panel, {
16888
16945
  key: 'tm',
16889
16946
  ref: refTableMenu
16890
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16947
+ }) : table_renderEmptyElement($xeTable),
16891
16948
  /**
16892
16949
  * 拖拽提示
16893
16950
  */
16894
- rowOpts.drag ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16951
+ rowOpts.drag && (dragRow || dragTipText) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
16895
16952
  ref: refRowDragTipElem,
16896
- class: 'vxe-table--row-drag-hint'
16897
- }, table_getI18n('vxe.table.dragTip', [reactData.dragTipText])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
16953
+ class: 'vxe-table--row-drag-tip'
16954
+ }, rowTipSlot ? dragRow ? callSlot(rowTipSlot, {
16955
+ row: dragRow
16956
+ }) : [table_renderEmptyElement($xeTable)] : dragTipText ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', dragTipText)] : [table_renderEmptyElement($xeTable)]) : table_renderEmptyElement($xeTable),
16898
16957
  /**
16899
16958
  * 提示相关
16900
16959
  */
@@ -16925,7 +16984,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16925
16984
  'old-cell-valid': editRules && table_getConfig().cellVaildMode === 'obsolete'
16926
16985
  }, 'vxe-table--valid-error'],
16927
16986
  ...(validOpts.message === 'tooltip' || tableData.length === 1 ? validTipOpts : {})
16928
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
16987
+ }) : table_renderEmptyElement($xeTable)]) : table_renderEmptyElement($xeTable)]);
16929
16988
  };
16930
16989
  const dataFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
16931
16990
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.data ? props.data.length : -1, () => {
@@ -21516,7 +21575,7 @@ validator_hook_hooks.add('tableValidatorModule', {
21516
21575
  const validOpts = computeValidOpts.value;
21517
21576
  if (validOpts.msgMode === 'single') {
21518
21577
  const keys = Object.keys(validErrMaps);
21519
- const resMaps = validErrMaps;
21578
+ const resMaps = {};
21520
21579
  if (keys.length) {
21521
21580
  const firstKey = keys[0];
21522
21581
  resMaps[firstKey] = validErrMaps[firstKey];