vxe-table 3.5.0-beta.0 → 3.5.0-beta.1

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 (44) hide show
  1. package/helper/vetur/attributes.json +30 -10
  2. package/helper/vetur/tags.json +7 -2
  3. package/lib/form/src/form-item.js +2 -2
  4. package/lib/form/src/form-item.min.js +1 -1
  5. package/lib/form/src/form.js +32 -53
  6. package/lib/form/src/form.min.js +1 -1
  7. package/lib/form/src/render.js +14 -11
  8. package/lib/form/src/render.min.js +1 -1
  9. package/lib/index.css +1 -1
  10. package/lib/index.umd.js +326 -380
  11. package/lib/index.umd.min.js +1 -1
  12. package/lib/select/style/style.css +1 -1
  13. package/lib/select/style/style.min.css +1 -1
  14. package/lib/style.css +1 -1
  15. package/lib/style.min.css +1 -1
  16. package/lib/table/src/cell.js +3 -3
  17. package/lib/table/src/cell.min.js +1 -1
  18. package/lib/table/src/column.js +3 -1
  19. package/lib/table/src/column.min.js +1 -1
  20. package/lib/table/src/columnInfo.js +1 -0
  21. package/lib/table/src/columnInfo.min.js +1 -1
  22. package/lib/table/src/methods.js +140 -154
  23. package/lib/table/src/methods.min.js +1 -1
  24. package/lib/table/src/table.js +20 -63
  25. package/lib/table/src/table.min.js +1 -1
  26. package/lib/tooltip/src/tooltip.js +51 -28
  27. package/lib/tooltip/src/tooltip.min.js +1 -1
  28. package/lib/tooltip/style/style.css +1 -1
  29. package/lib/tooltip/style/style.min.css +1 -1
  30. package/lib/v-x-e-table/src/conf.js +8 -6
  31. package/lib/v-x-e-table/src/conf.min.js +1 -1
  32. package/package.json +1 -1
  33. package/packages/form/src/form-item.js +2 -2
  34. package/packages/form/src/form.js +12 -25
  35. package/packages/form/src/render.js +7 -7
  36. package/packages/table/src/cell.js +3 -3
  37. package/packages/table/src/column.js +3 -1
  38. package/packages/table/src/columnInfo.js +1 -0
  39. package/packages/table/src/methods.js +22 -44
  40. package/packages/table/src/table.js +13 -58
  41. package/packages/tooltip/src/tooltip.js +44 -25
  42. package/packages/v-x-e-table/src/conf.js +8 -6
  43. package/styles/select.scss +1 -1
  44. package/styles/tooltip.scss +1 -1
package/lib/index.umd.js CHANGED
@@ -8440,10 +8440,9 @@ var iconPrefix = 'vxe-icon--';
8440
8440
  // trigger: 'default',
8441
8441
  strict: true
8442
8442
  },
8443
- // tooltipConfig: {
8444
- // theme: 'dark',
8445
- // enterable: false
8446
- // },
8443
+ tooltipConfig: {
8444
+ enterable: true
8445
+ },
8447
8446
  validConfig: {
8448
8447
  showMessage: true,
8449
8448
  message: 'default'
@@ -8639,12 +8638,15 @@ var iconPrefix = 'vxe-icon--';
8639
8638
  },
8640
8639
  form: {
8641
8640
  // preventSubmit: false,
8641
+ // size: null,
8642
+ // colon: false,
8642
8643
  validConfig: {
8643
8644
  showMessage: true,
8644
8645
  autoPos: true
8645
8646
  },
8646
- // size: null,
8647
- // colon: false,
8647
+ tooltipConfig: {
8648
+ enterable: true
8649
+ },
8648
8650
  titleAsterisk: true
8649
8651
  },
8650
8652
  input: {
@@ -8751,7 +8753,7 @@ var es_array_concat = __webpack_require__("99af");
8751
8753
 
8752
8754
 
8753
8755
  function getLog(message, params) {
8754
- return "[vxe-table v".concat("3.5.0-beta.0", "] ").concat(conf.i18n(message, params));
8756
+ return "[vxe-table v".concat("3.5.0-beta.1", "] ").concat(conf.i18n(message, params));
8755
8757
  }
8756
8758
 
8757
8759
  function outLog(type) {
@@ -10030,7 +10032,7 @@ function _t(key, args) {
10030
10032
  var v = 'v3';
10031
10033
  var VXETable = {
10032
10034
  v: v,
10033
- version: "3.5.0-beta.0",
10035
+ version: "3.5.0-beta.1",
10034
10036
  reg: reg,
10035
10037
  use: use,
10036
10038
  setup: setup,
@@ -10056,15 +10058,70 @@ var Icon = {
10056
10058
  install: function install() {}
10057
10059
  };
10058
10060
  /* harmony default export */ var packages_icon = (Icon);
10061
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
10062
+ var es_object_keys = __webpack_require__("b64b");
10063
+
10064
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
10065
+ var es_array_filter = __webpack_require__("4de4");
10066
+
10067
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js
10068
+ var es_object_get_own_property_descriptor = __webpack_require__("e439");
10069
+
10070
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js
10071
+ var es_object_get_own_property_descriptors = __webpack_require__("dbb4");
10072
+
10073
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
10074
+
10075
+
10076
+
10077
+
10078
+
10079
+
10080
+
10081
+
10082
+ function ownKeys(object, enumerableOnly) {
10083
+ var keys = Object.keys(object);
10084
+
10085
+ if (Object.getOwnPropertySymbols) {
10086
+ var symbols = Object.getOwnPropertySymbols(object);
10087
+
10088
+ if (enumerableOnly) {
10089
+ symbols = symbols.filter(function (sym) {
10090
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
10091
+ });
10092
+ }
10093
+
10094
+ keys.push.apply(keys, symbols);
10095
+ }
10096
+
10097
+ return keys;
10098
+ }
10099
+
10100
+ function _objectSpread2(target) {
10101
+ for (var i = 1; i < arguments.length; i++) {
10102
+ var source = arguments[i] != null ? arguments[i] : {};
10103
+
10104
+ if (i % 2) {
10105
+ ownKeys(Object(source), true).forEach(function (key) {
10106
+ _defineProperty(target, key, source[key]);
10107
+ });
10108
+ } else if (Object.getOwnPropertyDescriptors) {
10109
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10110
+ } else {
10111
+ ownKeys(Object(source)).forEach(function (key) {
10112
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10113
+ });
10114
+ }
10115
+ }
10116
+
10117
+ return target;
10118
+ }
10059
10119
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
10060
10120
  var es_number_constructor = __webpack_require__("a9e3");
10061
10121
 
10062
10122
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.js
10063
10123
  var es_map = __webpack_require__("4ec9");
10064
10124
 
10065
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
10066
- var es_array_filter = __webpack_require__("4de4");
10067
-
10068
10125
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
10069
10126
  var es_array_includes = __webpack_require__("caad");
10070
10127
 
@@ -10143,6 +10200,7 @@ var columnInfo_ColumnInfo = /*#__PURE__*/function () {
10143
10200
  exportMethod: _vm.exportMethod,
10144
10201
  footerExportMethod: _vm.footerExportMethod,
10145
10202
  titleHelp: _vm.titleHelp,
10203
+ titlePrefix: _vm.titlePrefix,
10146
10204
  // 自定义参数
10147
10205
  params: _vm.params,
10148
10206
  // 渲染属性
@@ -11907,61 +11965,6 @@ if (browse.isDoc) {
11907
11965
  trailing: false
11908
11966
  }), false);
11909
11967
  }
11910
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
11911
- var es_object_keys = __webpack_require__("b64b");
11912
-
11913
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js
11914
- var es_object_get_own_property_descriptor = __webpack_require__("e439");
11915
-
11916
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js
11917
- var es_object_get_own_property_descriptors = __webpack_require__("dbb4");
11918
-
11919
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
11920
-
11921
-
11922
-
11923
-
11924
-
11925
-
11926
-
11927
-
11928
- function ownKeys(object, enumerableOnly) {
11929
- var keys = Object.keys(object);
11930
-
11931
- if (Object.getOwnPropertySymbols) {
11932
- var symbols = Object.getOwnPropertySymbols(object);
11933
-
11934
- if (enumerableOnly) {
11935
- symbols = symbols.filter(function (sym) {
11936
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
11937
- });
11938
- }
11939
-
11940
- keys.push.apply(keys, symbols);
11941
- }
11942
-
11943
- return keys;
11944
- }
11945
-
11946
- function _objectSpread2(target) {
11947
- for (var i = 1; i < arguments.length; i++) {
11948
- var source = arguments[i] != null ? arguments[i] : {};
11949
-
11950
- if (i % 2) {
11951
- ownKeys(Object(source), true).forEach(function (key) {
11952
- _defineProperty(target, key, source[key]);
11953
- });
11954
- } else if (Object.getOwnPropertyDescriptors) {
11955
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
11956
- } else {
11957
- ownKeys(Object(source)).forEach(function (key) {
11958
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
11959
- });
11960
- }
11961
- }
11962
-
11963
- return target;
11964
- }
11965
11968
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
11966
11969
  var es_string_trim = __webpack_require__("498a");
11967
11970
 
@@ -11983,9 +11986,9 @@ var es_array_sort = __webpack_require__("4e82");
11983
11986
  function renderHelpIcon(h, params) {
11984
11987
  var $table = params.$table,
11985
11988
  column = params.column;
11986
- var titleHelp = column.titleHelp;
11987
- return titleHelp ? [h('i', {
11988
- class: ['vxe-cell-help-icon', titleHelp.icon || conf.icon.TABLE_HELP],
11989
+ var titlePrefix = column.titlePrefix || column.titleHelp;
11990
+ return titlePrefix ? [h('i', {
11991
+ class: ['vxe-cell-help-icon', titlePrefix.icon || conf.icon.TABLE_HELP],
11989
11992
  on: {
11990
11993
  mouseenter: function mouseenter(evnt) {
11991
11994
  $table.triggerHeaderHelpEvent(evnt, params);
@@ -15561,14 +15564,7 @@ var Methods = {
15561
15564
  if (!mergeList.length && !spanMethod && !(keyboardConfig && keyboardOpts.isMerge)) {
15562
15565
  tableColumn = fixedColumn;
15563
15566
  } else {
15564
- tableColumn = visibleColumn; // 检查固定列是否被合并,合并范围是否超出固定列
15565
- // if (mergeList.length && !isMergeLeftFixedExceeded && fixedType === 'left') {
15566
- // tableColumn = fixedColumn
15567
- // } else if (mergeList.length && !isMergeRightFixedExceeded && fixedType === 'right') {
15568
- // tableColumn = fixedColumn
15569
- // } else {
15570
- // tableColumn = visibleColumn
15571
- // }
15567
+ tableColumn = visibleColumn;
15572
15568
  }
15573
15569
  } else {
15574
15570
  tableColumn = visibleColumn;
@@ -15596,14 +15592,7 @@ var Methods = {
15596
15592
  if (!mergeFooterList.length || !footerSpanMethod) {
15597
15593
  tableColumn = fixedColumn;
15598
15594
  } else {
15599
- tableColumn = visibleColumn; // 检查固定列是否被合并,合并范围是否超出固定列
15600
- // if (mergeFooterList.length && !isMergeFooterLeftFixedExceeded && fixedType === 'left') {
15601
- // tableColumn = fixedColumn
15602
- // } else if (mergeFooterList.length && !isMergeFooterRightFixedExceeded && fixedType === 'right') {
15603
- // tableColumn = fixedColumn
15604
- // } else {
15605
- // tableColumn = visibleColumn
15606
- // }
15595
+ tableColumn = visibleColumn;
15607
15596
  }
15608
15597
  } else {
15609
15598
  tableColumn = visibleColumn;
@@ -15897,6 +15886,8 @@ var Methods = {
15897
15886
 
15898
15887
  if (isEsc) {
15899
15888
  this.preventEvent(evnt, 'event.keydown', null, function () {
15889
+ _this27.emitEvent('keydown-start', {}, evnt);
15890
+
15900
15891
  if (keyboardConfig && mouseConfig && mouseOpts.area && _this27.handleKeyboardEvent) {
15901
15892
  _this27.handleKeyboardEvent(evnt);
15902
15893
  } else if (actived.row || filterStore.visible || ctxMenuStore.visible) {
@@ -15924,6 +15915,8 @@ var Methods = {
15924
15915
  }
15925
15916
 
15926
15917
  _this27.emitEvent('keydown', {}, evnt);
15918
+
15919
+ _this27.emitEvent('keydown-end', {}, evnt);
15927
15920
  });
15928
15921
  }
15929
15922
  },
@@ -16246,21 +16239,9 @@ var Methods = {
16246
16239
  this.updateCellAreas();
16247
16240
  this.recalculate(true);
16248
16241
  },
16249
- handleTooltipLeaveMethod: function handleTooltipLeaveMethod() {
16250
- var _this29 = this;
16251
-
16252
- var tooltipOpts = this.tooltipOpts;
16253
- setTimeout(function () {
16254
- if (!_this29.tooltipActive) {
16255
- _this29.closeTooltip();
16256
- }
16257
- }, tooltipOpts.leaveDelay);
16258
- return false;
16259
- },
16260
16242
  handleTargetEnterEvent: function handleTargetEnterEvent(isClear) {
16261
16243
  var $tooltip = this.$refs.tooltip;
16262
16244
  clearTimeout(this.tooltipTimeout);
16263
- this.tooltipActive = true;
16264
16245
 
16265
16246
  if (isClear) {
16266
16247
  this.closeTooltip();
@@ -16271,11 +16252,10 @@ var Methods = {
16271
16252
  }
16272
16253
  },
16273
16254
  handleTargetLeaveEvent: function handleTargetLeaveEvent() {
16274
- var _this30 = this;
16255
+ var _this29 = this;
16275
16256
 
16276
16257
  var tooltipOpts = this.tooltipOpts;
16277
16258
  var $tooltip = this.$refs.tooltip;
16278
- this.tooltipActive = false;
16279
16259
 
16280
16260
  if ($tooltip) {
16281
16261
  $tooltip.setActived(false);
@@ -16283,10 +16263,10 @@ var Methods = {
16283
16263
 
16284
16264
  if (tooltipOpts.enterable) {
16285
16265
  this.tooltipTimeout = setTimeout(function () {
16286
- $tooltip = _this30.$refs.tooltip;
16266
+ $tooltip = _this29.$refs.tooltip;
16287
16267
 
16288
16268
  if ($tooltip && !$tooltip.isActived()) {
16289
- _this30.closeTooltip();
16269
+ _this29.closeTooltip();
16290
16270
  }
16291
16271
  }, tooltipOpts.leaveDelay);
16292
16272
  } else {
@@ -16295,19 +16275,24 @@ var Methods = {
16295
16275
  },
16296
16276
  triggerHeaderHelpEvent: function triggerHeaderHelpEvent(evnt, params) {
16297
16277
  var column = params.column;
16298
- var titleHelp = column.titleHelp;
16278
+ var titlePrefix = column.titlePrefix || column.titleHelp;
16299
16279
 
16300
- if (titleHelp.content || titleHelp.message) {
16280
+ if (titlePrefix.content || titlePrefix.message) {
16301
16281
  var $refs = this.$refs,
16302
16282
  tooltipStore = this.tooltipStore;
16303
- var $tooltip = $refs.tooltip;
16304
- var content = getFuncText(titleHelp.content || titleHelp.message);
16283
+ var content = getFuncText(titlePrefix.content || titlePrefix.message);
16305
16284
  this.handleTargetEnterEvent(true);
16306
16285
  tooltipStore.visible = true;
16286
+ tooltipStore.currOpts = _objectSpread2(_objectSpread2({}, titlePrefix), {}, {
16287
+ content: null
16288
+ });
16289
+ this.$nextTick(function () {
16290
+ var $tooltip = $refs.tooltip;
16307
16291
 
16308
- if ($tooltip) {
16309
- $tooltip.open(evnt.currentTarget, content);
16310
- }
16292
+ if ($tooltip) {
16293
+ $tooltip.open(evnt.currentTarget, content);
16294
+ }
16295
+ });
16311
16296
  }
16312
16297
  },
16313
16298
 
@@ -16393,7 +16378,6 @@ var Methods = {
16393
16378
  var showAll = tooltipOpts.showAll,
16394
16379
  enabled = tooltipOpts.enabled,
16395
16380
  contentMethod = tooltipOpts.contentMethod;
16396
- var tooltip = $refs.tooltip;
16397
16381
  var customContent = contentMethod ? contentMethod(params) : null;
16398
16382
  var useCustom = contentMethod && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eqNull(customContent);
16399
16383
  var content = useCustom ? customContent : (column.type === 'html' ? overflowElem.innerText : overflowElem.textContent).trim();
@@ -16403,12 +16387,16 @@ var Methods = {
16403
16387
  Object.assign(tooltipStore, {
16404
16388
  row: row,
16405
16389
  column: column,
16406
- visible: true
16390
+ visible: true,
16391
+ currOpts: null
16407
16392
  });
16393
+ this.$nextTick(function () {
16394
+ var $tooltip = $refs.tooltip;
16408
16395
 
16409
- if (tooltip) {
16410
- tooltip.open(isCellOverflow ? overflowElem : tipElem || overflowElem, utils.formatText(content));
16411
- }
16396
+ if ($tooltip) {
16397
+ $tooltip.open(isCellOverflow ? overflowElem : tipElem || overflowElem, utils.formatText(content));
16398
+ }
16399
+ });
16412
16400
  }
16413
16401
 
16414
16402
  return this.$nextTick();
@@ -16438,7 +16426,8 @@ var Methods = {
16438
16426
  row: null,
16439
16427
  column: null,
16440
16428
  content: null,
16441
- visible: false
16429
+ visible: false,
16430
+ currOpts: null
16442
16431
  });
16443
16432
 
16444
16433
  if (tooltip) {
@@ -16516,14 +16505,14 @@ var Methods = {
16516
16505
  * @param {Boolean} value 是否选中
16517
16506
  */
16518
16507
  setCheckboxRow: function setCheckboxRow(rows, value) {
16519
- var _this31 = this;
16508
+ var _this30 = this;
16520
16509
 
16521
16510
  if (rows && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isArray(rows)) {
16522
16511
  rows = [rows];
16523
16512
  }
16524
16513
 
16525
16514
  rows.forEach(function (row) {
16526
- return _this31.handleSelectRow({
16515
+ return _this30.handleSelectRow({
16527
16516
  row: row
16528
16517
  }, !!value);
16529
16518
  });
@@ -16547,7 +16536,7 @@ var Methods = {
16547
16536
  * value 选中true 不选false 半选-1
16548
16537
  */
16549
16538
  handleSelectRow: function handleSelectRow(_ref6, value) {
16550
- var _this32 = this;
16539
+ var _this31 = this;
16551
16540
 
16552
16541
  var row = _ref6.row;
16553
16542
  var selection = this.selection,
@@ -16579,7 +16568,7 @@ var Methods = {
16579
16568
  return half === item;
16580
16569
  });
16581
16570
 
16582
- _this32.handleCheckboxReserveRow(row, value);
16571
+ _this31.handleCheckboxReserveRow(row, value);
16583
16572
  }
16584
16573
  }, treeOpts);
16585
16574
  } // 如果存在父节点,更新父节点状态
@@ -16651,7 +16640,7 @@ var Methods = {
16651
16640
  return half === item;
16652
16641
  });
16653
16642
 
16654
- _this32.handleCheckboxReserveRow(row, value);
16643
+ _this31.handleCheckboxReserveRow(row, value);
16655
16644
  }
16656
16645
  }, treeOpts);
16657
16646
  } // 如果存在父节点,更新父节点状态
@@ -16755,7 +16744,7 @@ var Methods = {
16755
16744
  * @param {Boolean} value 是否选中
16756
16745
  */
16757
16746
  setAllCheckboxRow: function setAllCheckboxRow(value) {
16758
- var _this33 = this;
16747
+ var _this32 = this;
16759
16748
 
16760
16749
  var afterFullData = this.afterFullData,
16761
16750
  treeConfig = this.treeConfig,
@@ -16868,11 +16857,11 @@ var Methods = {
16868
16857
  if (reserve) {
16869
16858
  if (value) {
16870
16859
  selectRows.forEach(function (row) {
16871
- checkboxReserveRowMap[methods_getRowid(_this33, row)] = row;
16860
+ checkboxReserveRowMap[methods_getRowid(_this32, row)] = row;
16872
16861
  });
16873
16862
  } else {
16874
16863
  afterFullData.forEach(function (row) {
16875
- return _this33.handleCheckboxReserveRow(row, false);
16864
+ return _this32.handleCheckboxReserveRow(row, false);
16876
16865
  });
16877
16866
  }
16878
16867
  }
@@ -17092,7 +17081,7 @@ var Methods = {
17092
17081
  * 获取复选框保留选中的行
17093
17082
  */
17094
17083
  getCheckboxReserveRecords: function getCheckboxReserveRecords(isFull) {
17095
- var _this34 = this;
17084
+ var _this33 = this;
17096
17085
 
17097
17086
  var fullDataRowIdData = this.fullDataRowIdData,
17098
17087
  afterFullData = this.afterFullData,
@@ -17107,11 +17096,11 @@ var Methods = {
17107
17096
 
17108
17097
  if (treeConfig) {
17109
17098
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eachTree(afterFullData, function (row) {
17110
- afterFullIdMaps[methods_getRowid(_this34, row)] = 1;
17099
+ afterFullIdMaps[methods_getRowid(_this33, row)] = 1;
17111
17100
  }, treeOpts);
17112
17101
  } else {
17113
17102
  afterFullData.forEach(function (row) {
17114
- afterFullIdMaps[methods_getRowid(_this34, row)] = 1;
17103
+ afterFullIdMaps[methods_getRowid(_this33, row)] = 1;
17115
17104
  });
17116
17105
  }
17117
17106
 
@@ -17177,7 +17166,7 @@ var Methods = {
17177
17166
  * 清空行为不管是否被禁用还是保留记录,都将彻底清空选中状态
17178
17167
  */
17179
17168
  clearCheckboxRow: function clearCheckboxRow() {
17180
- var _this35 = this;
17169
+ var _this34 = this;
17181
17170
 
17182
17171
  var tableFullData = this.tableFullData,
17183
17172
  treeConfig = this.treeConfig,
@@ -17200,7 +17189,7 @@ var Methods = {
17200
17189
 
17201
17190
  if (reserve) {
17202
17191
  tableFullData.forEach(function (row) {
17203
- return _this35.handleCheckboxReserveRow(row, false);
17192
+ return _this34.handleCheckboxReserveRow(row, false);
17204
17193
  });
17205
17194
  }
17206
17195
 
@@ -17491,13 +17480,13 @@ var Methods = {
17491
17480
  * 如果存在规则,则校验
17492
17481
  */
17493
17482
  handleChangeCell: function handleChangeCell(evnt, params) {
17494
- var _this36 = this;
17483
+ var _this35 = this;
17495
17484
 
17496
17485
  this.checkValidate('blur').catch(function (e) {
17497
17486
  return e;
17498
17487
  }).then(function () {
17499
- _this36.handleActived(params, evnt).then(function () {
17500
- return _this36.checkValidate('change');
17488
+ _this35.handleActived(params, evnt).then(function () {
17489
+ return _this35.checkValidate('change');
17501
17490
  }).catch(function (e) {
17502
17491
  return e;
17503
17492
  });
@@ -17600,7 +17589,7 @@ var Methods = {
17600
17589
  * 如果是双击模式,则激活为编辑状态
17601
17590
  */
17602
17591
  triggerCellDblclickEvent: function triggerCellDblclickEvent(evnt, params) {
17603
- var _this37 = this;
17592
+ var _this36 = this;
17604
17593
 
17605
17594
  var editStore = this.editStore,
17606
17595
  editConfig = this.editConfig,
@@ -17615,15 +17604,15 @@ var Methods = {
17615
17604
  this.checkValidate('blur').catch(function (e) {
17616
17605
  return e;
17617
17606
  }).then(function () {
17618
- _this37.handleActived(params, evnt).then(function () {
17619
- return _this37.checkValidate('change');
17607
+ _this36.handleActived(params, evnt).then(function () {
17608
+ return _this36.checkValidate('change');
17620
17609
  }).catch(function (e) {
17621
17610
  return e;
17622
17611
  });
17623
17612
  });
17624
17613
  } else if (editOpts.mode === 'cell') {
17625
17614
  this.handleActived(params, evnt).then(function () {
17626
- return _this37.checkValidate('change');
17615
+ return _this36.checkValidate('change');
17627
17616
  }).catch(function (e) {
17628
17617
  return e;
17629
17618
  });
@@ -17634,7 +17623,7 @@ var Methods = {
17634
17623
  this.emitEvent('cell-dblclick', params, evnt);
17635
17624
  },
17636
17625
  handleDefaultSort: function handleDefaultSort() {
17637
- var _this38 = this;
17626
+ var _this37 = this;
17638
17627
 
17639
17628
  var sortConfig = this.sortConfig,
17640
17629
  sortOpts = this.sortOpts;
@@ -17651,7 +17640,7 @@ var Methods = {
17651
17640
  order = item.order;
17652
17641
 
17653
17642
  if (field && order) {
17654
- var column = _this38.getColumnByField(field);
17643
+ var column = _this37.getColumnByField(field);
17655
17644
 
17656
17645
  if (column && column.sortable) {
17657
17646
  column.order = order;
@@ -17694,7 +17683,7 @@ var Methods = {
17694
17683
  }
17695
17684
  },
17696
17685
  sort: function sort(sortConfs, sortOrder) {
17697
- var _this39 = this;
17686
+ var _this38 = this;
17698
17687
 
17699
17688
  var sortOpts = this.sortOpts;
17700
17689
  var multiple = sortOpts.multiple,
@@ -17727,7 +17716,7 @@ var Methods = {
17727
17716
  var column = field;
17728
17717
 
17729
17718
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isString(field)) {
17730
- column = _this39.getColumnByField(field);
17719
+ column = _this38.getColumnByField(field);
17731
17720
  }
17732
17721
 
17733
17722
  if (column && (column.sortable || column.remoteSort)) {
@@ -17736,7 +17725,7 @@ var Methods = {
17736
17725
  }
17737
17726
 
17738
17727
  if (orders.indexOf(order) === -1) {
17739
- order = getNextSortOrder(_this39, column);
17728
+ order = getNextSortOrder(_this38, column);
17740
17729
  }
17741
17730
 
17742
17731
  if (column.order !== order) {
@@ -17886,7 +17875,7 @@ var Methods = {
17886
17875
  * @param {Row} row 行对象
17887
17876
  */
17888
17877
  reloadRowExpand: function reloadRowExpand(row) {
17889
- var _this40 = this;
17878
+ var _this39 = this;
17890
17879
 
17891
17880
  var expandOpts = this.expandOpts,
17892
17881
  expandLazyLoadeds = this.expandLazyLoadeds;
@@ -17894,7 +17883,7 @@ var Methods = {
17894
17883
 
17895
17884
  if (lazy && expandLazyLoadeds.indexOf(row) === -1) {
17896
17885
  this.clearRowExpandLoaded(row).then(function () {
17897
- return _this40.handleAsyncRowExpand(row);
17886
+ return _this39.handleAsyncRowExpand(row);
17898
17887
  });
17899
17888
  }
17900
17889
 
@@ -17971,28 +17960,28 @@ var Methods = {
17971
17960
  return this.setRowExpand(this.expandOpts.lazy ? this.tableData : this.tableFullData, expanded);
17972
17961
  },
17973
17962
  handleAsyncRowExpand: function handleAsyncRowExpand(row) {
17974
- var _this41 = this;
17963
+ var _this40 = this;
17975
17964
 
17976
17965
  var rest = this.fullAllDataRowMap.get(row);
17977
17966
  return new Promise(function (resolve) {
17978
- _this41.expandLazyLoadeds.push(row);
17967
+ _this40.expandLazyLoadeds.push(row);
17979
17968
 
17980
- _this41.expandOpts.loadMethod({
17981
- $table: _this41,
17969
+ _this40.expandOpts.loadMethod({
17970
+ $table: _this40,
17982
17971
  row: row,
17983
- rowIndex: _this41.getRowIndex(row),
17984
- $rowIndex: _this41.getVMRowIndex(row)
17972
+ rowIndex: _this40.getRowIndex(row),
17973
+ $rowIndex: _this40.getVMRowIndex(row)
17985
17974
  }).catch(function (e) {
17986
17975
  return e;
17987
17976
  }).then(function () {
17988
17977
  rest.expandLoaded = true;
17989
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.remove(_this41.expandLazyLoadeds, function (item) {
17978
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.remove(_this40.expandLazyLoadeds, function (item) {
17990
17979
  return item === row;
17991
17980
  });
17992
17981
 
17993
- _this41.rowExpandeds.push(row);
17982
+ _this40.rowExpandeds.push(row);
17994
17983
 
17995
- resolve(_this41.$nextTick().then(_this41.recalculate));
17984
+ resolve(_this40.$nextTick().then(_this40.recalculate));
17996
17985
  });
17997
17986
  });
17998
17987
  },
@@ -18005,7 +17994,7 @@ var Methods = {
18005
17994
  * @param {Boolean} expanded 是否展开
18006
17995
  */
18007
17996
  setRowExpand: function setRowExpand(rows, expanded) {
18008
- var _this42 = this;
17997
+ var _this41 = this;
18009
17998
 
18010
17999
  var fullAllDataRowMap = this.fullAllDataRowMap,
18011
18000
  expandLazyLoadeds = this.expandLazyLoadeds,
@@ -18038,8 +18027,8 @@ var Methods = {
18038
18027
  columnIndex: columnIndex,
18039
18028
  $columnIndex: $columnIndex,
18040
18029
  row: row,
18041
- rowIndex: _this42.getRowIndex(row),
18042
- $rowIndex: _this42.getVMRowIndex(row)
18030
+ rowIndex: _this41.getRowIndex(row),
18031
+ $rowIndex: _this41.getVMRowIndex(row)
18043
18032
  });
18044
18033
  }) : rows;
18045
18034
 
@@ -18050,7 +18039,7 @@ var Methods = {
18050
18039
  var isLoad = lazy && !rest.expandLoaded && expandLazyLoadeds.indexOf(row) === -1;
18051
18040
 
18052
18041
  if (isLoad) {
18053
- lazyRests.push(_this42.handleAsyncRowExpand(row));
18042
+ lazyRests.push(_this41.handleAsyncRowExpand(row));
18054
18043
  } else {
18055
18044
  rowExpandeds.push(row);
18056
18045
  }
@@ -18064,7 +18053,7 @@ var Methods = {
18064
18053
 
18065
18054
  if (reserve) {
18066
18055
  validRows.forEach(function (row) {
18067
- return _this42.handleRowExpandReserve(row, expanded);
18056
+ return _this41.handleRowExpandReserve(row, expanded);
18068
18057
  });
18069
18058
  }
18070
18059
  }
@@ -18085,7 +18074,7 @@ var Methods = {
18085
18074
  * 手动清空展开行状态,数据会恢复成未展开的状态
18086
18075
  */
18087
18076
  clearRowExpand: function clearRowExpand() {
18088
- var _this43 = this;
18077
+ var _this42 = this;
18089
18078
 
18090
18079
  var expandOpts = this.expandOpts,
18091
18080
  rowExpandeds = this.rowExpandeds,
@@ -18096,13 +18085,13 @@ var Methods = {
18096
18085
 
18097
18086
  if (reserve) {
18098
18087
  tableFullData.forEach(function (row) {
18099
- return _this43.handleRowExpandReserve(row, false);
18088
+ return _this42.handleRowExpandReserve(row, false);
18100
18089
  });
18101
18090
  }
18102
18091
 
18103
18092
  return this.$nextTick().then(function () {
18104
18093
  if (isExists) {
18105
- _this43.recalculate();
18094
+ _this42.recalculate();
18106
18095
  }
18107
18096
  });
18108
18097
  },
@@ -18181,7 +18170,7 @@ var Methods = {
18181
18170
  * @param {Row} row 行对象
18182
18171
  */
18183
18172
  reloadTreeExpand: function reloadTreeExpand(row) {
18184
- var _this44 = this;
18173
+ var _this43 = this;
18185
18174
 
18186
18175
  var treeOpts = this.treeOpts,
18187
18176
  treeLazyLoadeds = this.treeLazyLoadeds;
@@ -18191,15 +18180,15 @@ var Methods = {
18191
18180
 
18192
18181
  if (lazy && row[hasChild] && treeLazyLoadeds.indexOf(row) === -1) {
18193
18182
  this.clearTreeExpandLoaded(row).then(function () {
18194
- return _this44.handleAsyncTreeExpandChilds(row);
18183
+ return _this43.handleAsyncTreeExpandChilds(row);
18195
18184
  }).then(function () {
18196
18185
  if (transform) {
18197
- _this44.handleVirtualTreeToList();
18186
+ _this43.handleVirtualTreeToList();
18198
18187
 
18199
- return _this44.handleTableData();
18188
+ return _this43.handleTableData();
18200
18189
  }
18201
18190
  }).then(function () {
18202
- return _this44.recalculate();
18191
+ return _this43.recalculate();
18203
18192
  });
18204
18193
  }
18205
18194
 
@@ -18275,7 +18264,7 @@ var Methods = {
18275
18264
  }
18276
18265
  },
18277
18266
  handleAsyncTreeExpandChilds: function handleAsyncTreeExpandChilds(row) {
18278
- var _this45 = this;
18267
+ var _this44 = this;
18279
18268
 
18280
18269
  var fullAllDataRowMap = this.fullAllDataRowMap,
18281
18270
  treeExpandeds = this.treeExpandeds,
@@ -18289,7 +18278,7 @@ var Methods = {
18289
18278
  return new Promise(function (resolve) {
18290
18279
  treeLazyLoadeds.push(row);
18291
18280
  loadMethod({
18292
- $table: _this45,
18281
+ $table: _this44,
18293
18282
  row: row
18294
18283
  }).catch(function () {
18295
18284
  return [];
@@ -18304,29 +18293,29 @@ var Methods = {
18304
18293
  }
18305
18294
 
18306
18295
  if (childRecords) {
18307
- _this45.loadTreeChildren(row, childRecords).then(function (childRows) {
18296
+ _this44.loadTreeChildren(row, childRecords).then(function (childRows) {
18308
18297
  if (childRows.length && treeExpandeds.indexOf(row) === -1) {
18309
18298
  treeExpandeds.push(row);
18310
18299
  } // 如果当前节点已选中,则展开后子节点也被选中
18311
18300
 
18312
18301
 
18313
- if (!checkStrictly && _this45.isCheckedByCheckboxRow(row)) {
18314
- _this45.setCheckboxRow(childRows, true);
18302
+ if (!checkStrictly && _this44.isCheckedByCheckboxRow(row)) {
18303
+ _this44.setCheckboxRow(childRows, true);
18315
18304
  }
18316
18305
 
18317
- _this45.$nextTick().then(function () {
18306
+ _this44.$nextTick().then(function () {
18318
18307
  if (transform) {
18319
- return _this45.handleTableData();
18308
+ return _this44.handleTableData();
18320
18309
  }
18321
18310
  }).then(function () {
18322
- return _this45.recalculate();
18311
+ return _this44.recalculate();
18323
18312
  }).then(function () {
18324
18313
  return resolve();
18325
18314
  });
18326
18315
  });
18327
18316
  } else {
18328
- _this45.$nextTick().then(function () {
18329
- return _this45.recalculate();
18317
+ _this44.$nextTick().then(function () {
18318
+ return _this44.recalculate();
18330
18319
  }).then(function () {
18331
18320
  return resolve();
18332
18321
  });
@@ -18362,7 +18351,7 @@ var Methods = {
18362
18351
  * @returns
18363
18352
  */
18364
18353
  handleBaseTreeExpand: function handleBaseTreeExpand(rows, expanded) {
18365
- var _this46 = this;
18354
+ var _this45 = this;
18366
18355
 
18367
18356
  var fullAllDataRowMap = this.fullAllDataRowMap,
18368
18357
  tableFullData = this.tableFullData,
@@ -18410,7 +18399,7 @@ var Methods = {
18410
18399
  var isLoad = lazy && row[hasChild] && !rest.treeLoaded && treeLazyLoadeds.indexOf(row) === -1; // 是否使用懒加载
18411
18400
 
18412
18401
  if (isLoad) {
18413
- result.push(_this46.handleAsyncTreeExpandChilds(row));
18402
+ result.push(_this45.handleAsyncTreeExpandChilds(row));
18414
18403
  } else {
18415
18404
  if (row[children] && row[children].length) {
18416
18405
  treeExpandeds.push(row);
@@ -18426,7 +18415,7 @@ var Methods = {
18426
18415
 
18427
18416
  if (reserve) {
18428
18417
  validRows.forEach(function (row) {
18429
- return _this46.handleTreeExpandReserve(row, expanded);
18418
+ return _this45.handleTreeExpandReserve(row, expanded);
18430
18419
  });
18431
18420
  }
18432
18421
 
@@ -18440,14 +18429,14 @@ var Methods = {
18440
18429
  * @returns
18441
18430
  */
18442
18431
  handleVirtualTreeExpand: function handleVirtualTreeExpand(rows, expanded) {
18443
- var _this47 = this;
18432
+ var _this46 = this;
18444
18433
 
18445
18434
  return this.handleBaseTreeExpand(rows, expanded).then(function () {
18446
- _this47.handleVirtualTreeToList();
18435
+ _this46.handleVirtualTreeToList();
18447
18436
 
18448
- return _this47.handleTableData();
18437
+ return _this46.handleTableData();
18449
18438
  }).then(function () {
18450
- return _this47.recalculate();
18439
+ return _this46.recalculate();
18451
18440
  });
18452
18441
  },
18453
18442
 
@@ -18492,7 +18481,7 @@ var Methods = {
18492
18481
  * 手动清空树形节点的展开状态,数据会恢复成未展开的状态
18493
18482
  */
18494
18483
  clearTreeExpand: function clearTreeExpand() {
18495
- var _this48 = this;
18484
+ var _this47 = this;
18496
18485
 
18497
18486
  var treeOpts = this.treeOpts,
18498
18487
  treeExpandeds = this.treeExpandeds,
@@ -18504,19 +18493,19 @@ var Methods = {
18504
18493
 
18505
18494
  if (reserve) {
18506
18495
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eachTree(tableFullData, function (row) {
18507
- return _this48.handleTreeExpandReserve(row, false);
18496
+ return _this47.handleTreeExpandReserve(row, false);
18508
18497
  }, treeOpts);
18509
18498
  }
18510
18499
 
18511
18500
  return this.handleTableData().then(function () {
18512
18501
  if (transform) {
18513
- _this48.handleVirtualTreeToList();
18502
+ _this47.handleVirtualTreeToList();
18514
18503
 
18515
- return _this48.handleTableData();
18504
+ return _this47.handleTableData();
18516
18505
  }
18517
18506
  }).then(function () {
18518
18507
  if (isExists) {
18519
- _this48.recalculate();
18508
+ _this47.recalculate();
18520
18509
  }
18521
18510
  });
18522
18511
  },
@@ -18646,18 +18635,18 @@ var Methods = {
18646
18635
  },
18647
18636
  // 计算可视渲染相关数据
18648
18637
  computeScrollLoad: function computeScrollLoad() {
18649
- var _this49 = this;
18638
+ var _this48 = this;
18650
18639
 
18651
18640
  return this.$nextTick().then(function () {
18652
- var sYOpts = _this49.sYOpts,
18653
- sXOpts = _this49.sXOpts,
18654
- scrollXLoad = _this49.scrollXLoad,
18655
- scrollYLoad = _this49.scrollYLoad,
18656
- scrollXStore = _this49.scrollXStore,
18657
- scrollYStore = _this49.scrollYStore; // 计算 X 逻辑
18641
+ var sYOpts = _this48.sYOpts,
18642
+ sXOpts = _this48.sXOpts,
18643
+ scrollXLoad = _this48.scrollXLoad,
18644
+ scrollYLoad = _this48.scrollYLoad,
18645
+ scrollXStore = _this48.scrollXStore,
18646
+ scrollYStore = _this48.scrollYStore; // 计算 X 逻辑
18658
18647
 
18659
18648
  if (scrollXLoad) {
18660
- var _computeVirtualX3 = computeVirtualX(_this49),
18649
+ var _computeVirtualX3 = computeVirtualX(_this48),
18661
18650
  visibleXSize = _computeVirtualX3.visibleSize;
18662
18651
 
18663
18652
  var offsetXSize = sXOpts.oSize ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toNumber(sXOpts.oSize) : browse.msie ? 10 : browse.edge ? 5 : 0;
@@ -18665,13 +18654,13 @@ var Methods = {
18665
18654
  scrollXStore.visibleSize = visibleXSize;
18666
18655
  scrollXStore.endIndex = Math.max(scrollXStore.startIndex + scrollXStore.visibleSize + offsetXSize, scrollXStore.endIndex);
18667
18656
 
18668
- _this49.updateScrollXData();
18657
+ _this48.updateScrollXData();
18669
18658
  } else {
18670
- _this49.updateScrollXSpace();
18659
+ _this48.updateScrollXSpace();
18671
18660
  } // 计算 Y 逻辑
18672
18661
 
18673
18662
 
18674
- var _computeVirtualY = computeVirtualY(_this49),
18663
+ var _computeVirtualY = computeVirtualY(_this48),
18675
18664
  rowHeight = _computeVirtualY.rowHeight,
18676
18665
  visibleYSize = _computeVirtualY.visibleSize;
18677
18666
 
@@ -18683,14 +18672,14 @@ var Methods = {
18683
18672
  scrollYStore.visibleSize = visibleYSize;
18684
18673
  scrollYStore.endIndex = Math.max(scrollYStore.startIndex + visibleYSize + offsetYSize, scrollYStore.endIndex);
18685
18674
 
18686
- _this49.updateScrollYData();
18675
+ _this48.updateScrollYData();
18687
18676
  } else {
18688
- _this49.updateScrollYSpace();
18677
+ _this48.updateScrollYSpace();
18689
18678
  }
18690
18679
 
18691
- _this49.rowHeight = rowHeight;
18680
+ _this48.rowHeight = rowHeight;
18692
18681
 
18693
- _this49.$nextTick(_this49.updateStyle);
18682
+ _this48.$nextTick(_this48.updateStyle);
18694
18683
  });
18695
18684
  },
18696
18685
  handleTableColumn: function handleTableColumn() {
@@ -18804,7 +18793,7 @@ var Methods = {
18804
18793
  * @param {Number} scrollTop 上距离
18805
18794
  */
18806
18795
  scrollTo: function scrollTo(scrollLeft, scrollTop) {
18807
- var _this50 = this;
18796
+ var _this49 = this;
18808
18797
 
18809
18798
  var $refs = this.$refs;
18810
18799
  var tableBody = $refs.tableBody,
@@ -18825,7 +18814,7 @@ var Methods = {
18825
18814
  if (this.scrollXLoad || this.scrollYLoad) {
18826
18815
  return new Promise(function (resolve) {
18827
18816
  return setTimeout(function () {
18828
- return resolve(_this50.$nextTick());
18817
+ return resolve(_this49.$nextTick());
18829
18818
  }, 50);
18830
18819
  });
18831
18820
  }
@@ -18876,7 +18865,7 @@ var Methods = {
18876
18865
  * @param {Row} row 行对象
18877
18866
  */
18878
18867
  scrollToTreeRow: function scrollToTreeRow(row) {
18879
- var _this51 = this;
18868
+ var _this50 = this;
18880
18869
 
18881
18870
  var tableFullData = this.tableFullData,
18882
18871
  treeConfig = this.treeConfig,
@@ -18891,15 +18880,15 @@ var Methods = {
18891
18880
  if (matchObj) {
18892
18881
  var nodes = matchObj.nodes;
18893
18882
  nodes.forEach(function (row, index) {
18894
- if (index < nodes.length - 1 && !_this51.isTreeExpandByRow(row)) {
18895
- rests.push(_this51.setTreeExpand(row, true));
18883
+ if (index < nodes.length - 1 && !_this50.isTreeExpandByRow(row)) {
18884
+ rests.push(_this50.setTreeExpand(row, true));
18896
18885
  }
18897
18886
  });
18898
18887
  }
18899
18888
  }
18900
18889
 
18901
18890
  return Promise.all(rests).then(function () {
18902
- return dom.rowToVisible(_this51, row);
18891
+ return dom.rowToVisible(_this50, row);
18903
18892
  });
18904
18893
  },
18905
18894
 
@@ -18963,29 +18952,29 @@ var Methods = {
18963
18952
  * 如果单元格配置了校验规则,则会进行校验
18964
18953
  */
18965
18954
  updateStatus: function updateStatus(scope, cellValue) {
18966
- var _this52 = this;
18955
+ var _this51 = this;
18967
18956
 
18968
18957
  var customVal = !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(cellValue);
18969
18958
  return this.$nextTick().then(function () {
18970
- var $refs = _this52.$refs,
18971
- editRules = _this52.editRules,
18972
- validStore = _this52.validStore;
18959
+ var $refs = _this51.$refs,
18960
+ editRules = _this51.editRules,
18961
+ validStore = _this51.validStore;
18973
18962
 
18974
18963
  if (scope && $refs.tableBody && editRules) {
18975
18964
  var row = scope.row,
18976
18965
  column = scope.column;
18977
18966
  var type = 'change';
18978
18967
 
18979
- if (_this52.hasCellRules(type, row, column)) {
18980
- var cell = _this52.getCell(row, column);
18968
+ if (_this51.hasCellRules(type, row, column)) {
18969
+ var cell = _this51.getCell(row, column);
18981
18970
 
18982
18971
  if (cell) {
18983
- return _this52.validCellRules(type, row, column, cellValue).then(function () {
18972
+ return _this51.validCellRules(type, row, column, cellValue).then(function () {
18984
18973
  if (customVal && validStore.visible) {
18985
18974
  methods_setCellValue(row, column, cellValue);
18986
18975
  }
18987
18976
 
18988
- _this52.clearValidate();
18977
+ _this51.clearValidate();
18989
18978
  }).catch(function (_ref8) {
18990
18979
  var rule = _ref8.rule;
18991
18980
 
@@ -18993,7 +18982,7 @@ var Methods = {
18993
18982
  methods_setCellValue(row, column, cellValue);
18994
18983
  }
18995
18984
 
18996
- _this52.showValidTooltip({
18985
+ _this51.showValidTooltip({
18997
18986
  rule: rule,
18998
18987
  row: row,
18999
18988
  column: column,
@@ -19014,7 +19003,7 @@ var Methods = {
19014
19003
  * @param {TableMergeConfig[]} merges { row: Row|number, column: ColumnInfo|number, rowspan: number, colspan: number }
19015
19004
  */
19016
19005
  setMergeCells: function setMergeCells(merges) {
19017
- var _this53 = this;
19006
+ var _this52 = this;
19018
19007
 
19019
19008
  if (this.spanMethod) {
19020
19009
  errLog('vxe.error.errConflicts', ['merge-cells', 'span-method']);
@@ -19022,7 +19011,7 @@ var Methods = {
19022
19011
 
19023
19012
  setMerges(this, merges, this.mergeList, this.afterFullData);
19024
19013
  return this.$nextTick().then(function () {
19025
- return _this53.updateCellAreas();
19014
+ return _this52.updateCellAreas();
19026
19015
  });
19027
19016
  },
19028
19017
 
@@ -19031,7 +19020,7 @@ var Methods = {
19031
19020
  * @param {TableMergeConfig[]} merges 多个或数组 [{row:Row|number, col:ColumnInfo|number}]
19032
19021
  */
19033
19022
  removeMergeCells: function removeMergeCells(merges) {
19034
- var _this54 = this;
19023
+ var _this53 = this;
19035
19024
 
19036
19025
  if (this.spanMethod) {
19037
19026
  errLog('vxe.error.errConflicts', ['merge-cells', 'span-method']);
@@ -19039,7 +19028,7 @@ var Methods = {
19039
19028
 
19040
19029
  var rest = removeMerges(this, merges, this.mergeList, this.afterFullData);
19041
19030
  return this.$nextTick().then(function () {
19042
- _this54.updateCellAreas();
19031
+ _this53.updateCellAreas();
19043
19032
 
19044
19033
  return rest;
19045
19034
  });
@@ -19063,7 +19052,7 @@ var Methods = {
19063
19052
  this.setMergeFooterItems(this.mergeFooterItems);
19064
19053
  },
19065
19054
  setMergeFooterItems: function setMergeFooterItems(merges) {
19066
- var _this55 = this;
19055
+ var _this54 = this;
19067
19056
 
19068
19057
  if (this.footerSpanMethod) {
19069
19058
  errLog('vxe.error.errConflicts', ['merge-footer-items', 'footer-span-method']);
@@ -19071,11 +19060,11 @@ var Methods = {
19071
19060
 
19072
19061
  setMerges(this, merges, this.mergeFooterList, null);
19073
19062
  return this.$nextTick().then(function () {
19074
- return _this55.updateCellAreas();
19063
+ return _this54.updateCellAreas();
19075
19064
  });
19076
19065
  },
19077
19066
  removeMergeFooterItems: function removeMergeFooterItems(merges) {
19078
- var _this56 = this;
19067
+ var _this55 = this;
19079
19068
 
19080
19069
  if (this.footerSpanMethod) {
19081
19070
  errLog('vxe.error.errConflicts', ['merge-footer-items', 'footer-span-method']);
@@ -19083,7 +19072,7 @@ var Methods = {
19083
19072
 
19084
19073
  var rest = removeMerges(this, merges, this.mergeFooterList, null);
19085
19074
  return this.$nextTick().then(function () {
19086
- _this56.updateCellAreas();
19075
+ _this55.updateCellAreas();
19087
19076
 
19088
19077
  return rest;
19089
19078
  });
@@ -19254,6 +19243,7 @@ funcs.forEach(function (name) {
19254
19243
 
19255
19244
 
19256
19245
 
19246
+
19257
19247
 
19258
19248
 
19259
19249
  /**
@@ -19763,6 +19753,13 @@ function handleUupdateResize(_vm) {
19763
19753
  insertList: [],
19764
19754
  removeList: []
19765
19755
  },
19756
+ // 存放 tooltip 相关信息
19757
+ tooltipStore: {
19758
+ row: null,
19759
+ column: null,
19760
+ visible: false,
19761
+ currOpts: null
19762
+ },
19766
19763
  // 存放数据校验相关信息
19767
19764
  validStore: {
19768
19765
  visible: false,
@@ -19858,15 +19855,10 @@ function handleUupdateResize(_vm) {
19858
19855
  return Object.assign({}, conf.table.checkboxConfig, this.checkboxConfig);
19859
19856
  },
19860
19857
  tooltipOpts: function tooltipOpts() {
19861
- var opts = Object.assign({
19862
- leaveDelay: 300
19863
- }, conf.table.tooltipConfig, this.tooltipConfig);
19864
-
19865
- if (opts.enterable) {
19866
- opts.leaveMethod = this.handleTooltipLeaveMethod;
19867
- }
19868
-
19869
- return opts;
19858
+ return Object.assign({}, conf.tooltip, conf.table.tooltipConfig, this.tooltipConfig);
19859
+ },
19860
+ tipConfig: function tipConfig() {
19861
+ return _objectSpread2(_objectSpread2({}, this.tooltipOpts), this.tooltipStore.currOpts);
19870
19862
  },
19871
19863
  validTipOpts: function validTipOpts() {
19872
19864
  return Object.assign({
@@ -19999,55 +19991,7 @@ function handleUupdateResize(_vm) {
19999
19991
  }
20000
19992
 
20001
19993
  return false;
20002
- } // isMergeLeftFixedExceeded () {
20003
- // const { mergeList, columnStore, visibleColumn } = this
20004
- // const { leftList } = columnStore
20005
- // const lastFCIndex = visibleColumn.indexOf(leftList[leftList.length - 1])
20006
- // for (let i = 0, len = mergeList.length; i < len; i++) {
20007
- // const item = mergeList[i]
20008
- // if (item.col <= lastFCIndex && item.col + item.colspan > lastFCIndex) {
20009
- // return true
20010
- // }
20011
- // }
20012
- // return false
20013
- // },
20014
- // isMergeRightFixedExceeded () {
20015
- // const { mergeList, columnStore, visibleColumn } = this
20016
- // const { rightList } = columnStore
20017
- // const firstFCIndex = visibleColumn.indexOf(rightList[0])
20018
- // for (let i = 0, len = mergeList.length; i < len; i++) {
20019
- // const item = mergeList[i]
20020
- // if (item.col < firstFCIndex && item.col + item.colspan >= firstFCIndex) {
20021
- // return true
20022
- // }
20023
- // }
20024
- // return false
20025
- // },
20026
- // isMergeFooterLeftFixedExceeded () {
20027
- // const { mergeFooterList, columnStore, visibleColumn } = this
20028
- // const { leftList } = columnStore
20029
- // const lastFCIndex = visibleColumn.indexOf(leftList[leftList.length - 1])
20030
- // for (let i = 0, len = mergeFooterList.length; i < len; i++) {
20031
- // const item = mergeFooterList[i]
20032
- // if (item.col <= lastFCIndex && item.col + item.colspan > lastFCIndex) {
20033
- // return true
20034
- // }
20035
- // }
20036
- // return false
20037
- // },
20038
- // isMergeFooterRightFixedExceeded () {
20039
- // const { mergeFooterList, columnStore, visibleColumn } = this
20040
- // const { rightList } = columnStore
20041
- // const firstFCIndex = visibleColumn.indexOf(rightList[0])
20042
- // for (let i = 0, len = mergeFooterList.length; i < len; i++) {
20043
- // const item = mergeFooterList[i]
20044
- // if (item.col < firstFCIndex && item.col + item.colspan >= firstFCIndex) {
20045
- // return true
20046
- // }
20047
- // }
20048
- // return false
20049
- // }
20050
-
19994
+ }
20051
19995
  },
20052
19996
  watch: {
20053
19997
  data: function data(value) {
@@ -20152,8 +20096,6 @@ function handleUupdateResize(_vm) {
20152
20096
  scrollXStore: {},
20153
20097
  // 存放纵向 Y 虚拟滚动相关信息
20154
20098
  scrollYStore: {},
20155
- // 存放 tooltip 相关信息
20156
- tooltipStore: {},
20157
20099
  // 表格宽度
20158
20100
  tableWidth: 0,
20159
20101
  // 表格高度
@@ -20324,7 +20266,6 @@ function handleUupdateResize(_vm) {
20324
20266
  highlightHoverColumn = this.highlightHoverColumn,
20325
20267
  editConfig = this.editConfig,
20326
20268
  validTipOpts = this.validTipOpts,
20327
- tooltipOpts = this.tooltipOpts,
20328
20269
  initStore = this.initStore,
20329
20270
  columnStore = this.columnStore,
20330
20271
  filterStore = this.filterStore,
@@ -20506,7 +20447,7 @@ function handleUupdateResize(_vm) {
20506
20447
  */
20507
20448
  hasTip ? h('vxe-tooltip', {
20508
20449
  ref: 'tooltip',
20509
- props: tooltipOpts
20450
+ props: this.tipConfig
20510
20451
  }) : _e(),
20511
20452
  /**
20512
20453
  * 校验提示
@@ -32007,8 +31948,10 @@ var column_props = {
32007
31948
  exportMethod: Function,
32008
31949
  // 表尾单元格数据导出方法
32009
31950
  footerExportMethod: Function,
32010
- // 标题帮助图标配置项
31951
+ // 已废弃,被 titlePrefix 替换
32011
31952
  titleHelp: Object,
31953
+ // 标题帮助图标配置项
31954
+ titlePrefix: Object,
32012
31955
  // 单元格值类型
32013
31956
  cellType: String,
32014
31957
  // 单元格渲染配置项
@@ -35820,7 +35763,35 @@ function showTip(_vm) {
35820
35763
  return _vm.updatePlacement();
35821
35764
  }
35822
35765
 
35823
- /* harmony default export */ var src_tooltip = ({
35766
+ function tooltip_renderContent(h, _vm) {
35767
+ var $scopedSlots = _vm.$scopedSlots,
35768
+ useHTML = _vm.useHTML,
35769
+ tipContent = _vm.tipContent;
35770
+
35771
+ if ($scopedSlots.content) {
35772
+ return h('div', {
35773
+ key: 1,
35774
+ class: 'vxe-table--tooltip-content'
35775
+ }, $scopedSlots.content.call(this, {}));
35776
+ }
35777
+
35778
+ if (useHTML) {
35779
+ return h('div', {
35780
+ key: 2,
35781
+ class: 'vxe-table--tooltip-content',
35782
+ domProps: {
35783
+ innerHTML: tipContent
35784
+ }
35785
+ });
35786
+ }
35787
+
35788
+ return h('div', {
35789
+ key: 3,
35790
+ class: 'vxe-table--tooltip-content'
35791
+ }, utils.formatText(tipContent));
35792
+ }
35793
+
35794
+ /* harmony default export */ var tooltip = ({
35824
35795
  name: 'VxeTooltip',
35825
35796
  mixins: [size],
35826
35797
  props: {
@@ -35843,7 +35814,11 @@ function showTip(_vm) {
35843
35814
  return conf.tooltip.theme;
35844
35815
  }
35845
35816
  },
35846
- content: [String, Number],
35817
+ content: {
35818
+ type: [String, Number],
35819
+ default: null
35820
+ },
35821
+ useHTML: Boolean,
35847
35822
  zIndex: [String, Number],
35848
35823
  isArrow: {
35849
35824
  type: Boolean,
@@ -35861,14 +35836,13 @@ function showTip(_vm) {
35861
35836
  default: function _default() {
35862
35837
  return conf.tooltip.leaveDelay;
35863
35838
  }
35864
- },
35865
- leaveMethod: Function
35839
+ }
35866
35840
  },
35867
35841
  data: function data() {
35868
35842
  return {
35869
35843
  isUpdate: false,
35870
35844
  visible: false,
35871
- message: '',
35845
+ tipContent: '',
35872
35846
  tipActive: false,
35873
35847
  tipTarget: null,
35874
35848
  tipZindex: 0,
@@ -35881,7 +35855,7 @@ function showTip(_vm) {
35881
35855
  },
35882
35856
  watch: {
35883
35857
  content: function content(value) {
35884
- this.message = value;
35858
+ this.tipContent = value;
35885
35859
  },
35886
35860
  value: function value(_value) {
35887
35861
  if (!this.isUpdate) {
@@ -35910,7 +35884,7 @@ function showTip(_vm) {
35910
35884
  value = this.value;
35911
35885
  var parentNode = $el.parentNode;
35912
35886
  var target;
35913
- this.message = content;
35887
+ this.tipContent = content;
35914
35888
  this.tipZindex = utils.nextZIndex();
35915
35889
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.arrayEach($el.children, function (elem, index) {
35916
35890
  if (index > 1) {
@@ -35962,7 +35936,6 @@ function showTip(_vm) {
35962
35936
  var $scopedSlots = this.$scopedSlots,
35963
35937
  vSize = this.vSize,
35964
35938
  theme = this.theme,
35965
- message = this.message,
35966
35939
  tipActive = this.tipActive,
35967
35940
  isArrow = this.isArrow,
35968
35941
  visible = this.visible,
@@ -35982,16 +35955,14 @@ function showTip(_vm) {
35982
35955
  style: tipStore.style,
35983
35956
  ref: 'tipWrapper',
35984
35957
  on: on
35985
- }, [h('div', {
35986
- class: 'vxe-table--tooltip-content'
35987
- }, $scopedSlots.content ? $scopedSlots.content.call(this, {}) : message), h('div', {
35958
+ }, [tooltip_renderContent(h, this), h('div', {
35988
35959
  class: 'vxe-table--tooltip-arrow',
35989
35960
  style: tipStore.arrowStyle
35990
35961
  })].concat($scopedSlots.default ? $scopedSlots.default.call(this, {}) : []));
35991
35962
  },
35992
35963
  methods: {
35993
- open: function open(target, message) {
35994
- return this.toVisible(target || this.target, message);
35964
+ open: function open(target, content) {
35965
+ return this.toVisible(target || this.target, content);
35995
35966
  },
35996
35967
  close: function close() {
35997
35968
  this.tipTarget = null;
@@ -36019,15 +35990,15 @@ function showTip(_vm) {
36019
35990
  this.tipZindex = utils.nextZIndex();
36020
35991
  }
36021
35992
  },
36022
- toVisible: function toVisible(target, message) {
35993
+ toVisible: function toVisible(target, content) {
36023
35994
  if (target) {
36024
35995
  var trigger = this.trigger,
36025
35996
  enterDelay = this.enterDelay;
36026
35997
  this.tipActive = true;
36027
35998
  this.tipTarget = target;
36028
35999
 
36029
- if (message) {
36030
- this.message = message;
36000
+ if (content) {
36001
+ this.tipContent = content;
36031
36002
  }
36032
36003
 
36033
36004
  if (enterDelay && trigger === 'hover') {
@@ -36087,25 +36058,20 @@ function showTip(_vm) {
36087
36058
  wrapperMouseenterEvent: function wrapperMouseenterEvent() {
36088
36059
  this.tipActive = true;
36089
36060
  },
36090
- wrapperMouseleaveEvent: function wrapperMouseleaveEvent(evnt) {
36061
+ wrapperMouseleaveEvent: function wrapperMouseleaveEvent() {
36091
36062
  var _this4 = this;
36092
36063
 
36093
- var leaveMethod = this.leaveMethod,
36094
- trigger = this.trigger,
36064
+ var trigger = this.trigger,
36095
36065
  enterable = this.enterable,
36096
36066
  leaveDelay = this.leaveDelay;
36097
36067
  this.tipActive = false;
36098
36068
 
36099
- if (!leaveMethod || leaveMethod({
36100
- $event: evnt
36101
- }) !== false) {
36102
- if (enterable && trigger === 'hover') {
36103
- setTimeout(function () {
36104
- if (!_this4.tipActive) {
36105
- _this4.close();
36106
- }
36107
- }, leaveDelay);
36108
- }
36069
+ if (enterable && trigger === 'hover') {
36070
+ setTimeout(function () {
36071
+ if (!_this4.tipActive) {
36072
+ _this4.close();
36073
+ }
36074
+ }, leaveDelay);
36109
36075
  }
36110
36076
  }
36111
36077
  }
@@ -36115,10 +36081,10 @@ function showTip(_vm) {
36115
36081
 
36116
36082
 
36117
36083
 
36118
- var Tooltip = Object.assign(src_tooltip, {
36084
+ var Tooltip = Object.assign(tooltip, {
36119
36085
  install: function install(Vue) {
36120
36086
  v_x_e_table._tooltip = 1;
36121
- Vue.component(src_tooltip.name, src_tooltip);
36087
+ Vue.component(tooltip.name, tooltip);
36122
36088
  }
36123
36089
  });
36124
36090
  /* harmony default export */ var packages_tooltip = (Tooltip);
@@ -36225,6 +36191,7 @@ function assemItem(_vm) {
36225
36191
 
36226
36192
 
36227
36193
 
36194
+
36228
36195
  function renderPrefixIcon(h, titlePrefix) {
36229
36196
  return h('span', {
36230
36197
  class: 'vxe-form--item-title-prefix'
@@ -36242,7 +36209,8 @@ function render_renderSuffixIcon(h, titleSuffix) {
36242
36209
  }
36243
36210
 
36244
36211
  function renderTitle(h, _vm, item) {
36245
- var data = _vm.data;
36212
+ var data = _vm.data,
36213
+ tooltipOpts = _vm.tooltipOpts;
36246
36214
  var slots = item.slots,
36247
36215
  field = item.field,
36248
36216
  itemRender = item.itemRender,
@@ -36260,11 +36228,9 @@ function renderTitle(h, _vm, item) {
36260
36228
 
36261
36229
  if (titlePrefix) {
36262
36230
  titVNs.push(titlePrefix.content || titlePrefix.message ? h('vxe-tooltip', {
36263
- props: {
36264
- content: getFuncText(titlePrefix.content || titlePrefix.message),
36265
- enterable: titlePrefix.enterable,
36266
- theme: titlePrefix.theme
36267
- }
36231
+ props: _objectSpread2(_objectSpread2(_objectSpread2({}, tooltipOpts), titlePrefix), {}, {
36232
+ content: getFuncText(titlePrefix.content || titlePrefix.message)
36233
+ })
36268
36234
  }, [renderPrefixIcon(h, titlePrefix)]) : renderPrefixIcon(h, titlePrefix));
36269
36235
  }
36270
36236
 
@@ -36278,11 +36244,9 @@ function renderTitle(h, _vm, item) {
36278
36244
 
36279
36245
  if (titleSuffix) {
36280
36246
  fixVNs.push(titleSuffix.content || titleSuffix.message ? h('vxe-tooltip', {
36281
- props: {
36282
- content: getFuncText(titleSuffix.content || titleSuffix.message),
36283
- enterable: titleSuffix.enterable,
36284
- theme: titleSuffix.theme
36285
- }
36247
+ props: _objectSpread2(_objectSpread2(_objectSpread2({}, tooltipOpts), titlePrefix), {}, {
36248
+ content: getFuncText(titleSuffix.content || titleSuffix.message)
36249
+ })
36286
36250
  }, [render_renderSuffixIcon(h, titleSuffix)]) : render_renderSuffixIcon(h, titleSuffix));
36287
36251
  }
36288
36252
 
@@ -36318,7 +36282,6 @@ function renderTitle(h, _vm, item) {
36318
36282
 
36319
36283
 
36320
36284
 
36321
-
36322
36285
 
36323
36286
 
36324
36287
  var form_Rule = /*#__PURE__*/function () {
@@ -36398,7 +36361,7 @@ function renderItems(h, _vm, itemList) {
36398
36361
  collapseAll = _vm.collapseAll,
36399
36362
  validOpts = _vm.validOpts,
36400
36363
  allTitleOverflow = _vm.titleOverflow;
36401
- return itemList.map(function (item, index) {
36364
+ return itemList.map(function (item) {
36402
36365
  var slots = item.slots,
36403
36366
  title = item.title,
36404
36367
  folding = item.folding,
@@ -36474,9 +36437,9 @@ function renderItems(h, _vm, itemList) {
36474
36437
 
36475
36438
  var ons = showTooltip ? {
36476
36439
  mouseenter: function mouseenter(evnt) {
36477
- _vm.triggerHeaderHelpEvent(evnt, params);
36440
+ _vm.triggerTitleTipEvent(evnt, params);
36478
36441
  },
36479
- mouseleave: _vm.handleTargetLeaveEvent
36442
+ mouseleave: _vm.handleTitleTipLeaveEvent
36480
36443
  } : {};
36481
36444
  return h('div', {
36482
36445
  class: ['vxe-form--item', item.id, span ? "vxe-col--".concat(span, " is--span") : null, className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(className) ? className(params) : className : '', {
@@ -36486,7 +36449,7 @@ function renderItems(h, _vm, itemList) {
36486
36449
  'is--active': !itemVisibleMethod || itemVisibleMethod(params),
36487
36450
  'is--error': showError
36488
36451
  }],
36489
- key: index
36452
+ key: item.id
36490
36453
  }, [h('div', {
36491
36454
  class: 'vxe-form--item-inner'
36492
36455
  }, [title || slots && slots.title ? h('div', {
@@ -36586,6 +36549,7 @@ function renderItems(h, _vm, itemList) {
36586
36549
  }
36587
36550
  },
36588
36551
  validConfig: Object,
36552
+ tooltipConfig: Object,
36589
36553
  customLayout: {
36590
36554
  type: Boolean,
36591
36555
  default: function _default() {
@@ -36599,7 +36563,6 @@ function renderItems(h, _vm, itemList) {
36599
36563
  staticItems: [],
36600
36564
  formItems: [],
36601
36565
  tooltipTimeout: null,
36602
- tooltipActive: false,
36603
36566
  tooltipStore: {
36604
36567
  item: null,
36605
36568
  visible: false
@@ -36616,15 +36579,7 @@ function renderItems(h, _vm, itemList) {
36616
36579
  return Object.assign({}, conf.form.validConfig, this.validConfig);
36617
36580
  },
36618
36581
  tooltipOpts: function tooltipOpts() {
36619
- var opts = Object.assign({
36620
- leaveDelay: 300
36621
- }, conf.form.tooltipConfig, this.tooltipConfig);
36622
-
36623
- if (opts.enterable) {
36624
- opts.leaveMethod = this.handleTooltipLeaveMethod;
36625
- }
36626
-
36627
- return opts;
36582
+ return Object.assign({}, conf.tooltip, conf.form.tooltipConfig, this.tooltipConfig);
36628
36583
  }
36629
36584
  },
36630
36585
  watch: {
@@ -36688,9 +36643,10 @@ function renderItems(h, _vm, itemList) {
36688
36643
  /**
36689
36644
  * 工具提示
36690
36645
  */
36691
- hasUseTooltip ? h('vxe-tooltip', _objectSpread2({
36692
- ref: 'tooltip'
36693
- }, tooltipOpts)) : _e()]);
36646
+ hasUseTooltip ? h('vxe-tooltip', {
36647
+ ref: 'tooltip',
36648
+ props: tooltipOpts
36649
+ }) : _e()]);
36694
36650
  },
36695
36651
  methods: {
36696
36652
  callSlot: function callSlot(slotFunc, params, h) {
@@ -36825,17 +36781,6 @@ function renderItems(h, _vm, itemList) {
36825
36781
  $event: evnt
36826
36782
  });
36827
36783
  },
36828
- handleTooltipLeaveMethod: function handleTooltipLeaveMethod() {
36829
- var _this5 = this;
36830
-
36831
- var tooltipOpts = this.tooltipOpts;
36832
- setTimeout(function () {
36833
- if (!_this5.tooltipActive) {
36834
- _this5.closeTooltip();
36835
- }
36836
- }, tooltipOpts.leaveDelay);
36837
- return false;
36838
- },
36839
36784
  closeTooltip: function closeTooltip() {
36840
36785
  var tooltipStore = this.tooltipStore;
36841
36786
  var $tooltip = this.$refs.tooltip;
@@ -36853,7 +36798,7 @@ function renderItems(h, _vm, itemList) {
36853
36798
 
36854
36799
  return this.$nextTick();
36855
36800
  },
36856
- triggerHeaderHelpEvent: function triggerHeaderHelpEvent(evnt, params) {
36801
+ triggerTitleTipEvent: function triggerTitleTipEvent(evnt, params) {
36857
36802
  var item = params.item;
36858
36803
  var tooltipStore = this.tooltipStore;
36859
36804
  var $tooltip = this.$refs.tooltip;
@@ -36861,8 +36806,10 @@ function renderItems(h, _vm, itemList) {
36861
36806
  var content = (overflowElem.textContent || '').trim();
36862
36807
  var isCellOverflow = overflowElem.scrollWidth > overflowElem.clientWidth;
36863
36808
  clearTimeout(this.tooltipTimeout);
36864
- this.tooltipActive = true;
36865
- this.closeTooltip();
36809
+
36810
+ if (tooltipStore.item !== item) {
36811
+ this.closeTooltip();
36812
+ }
36866
36813
 
36867
36814
  if (content && isCellOverflow) {
36868
36815
  Object.assign(tooltipStore, {
@@ -36875,12 +36822,11 @@ function renderItems(h, _vm, itemList) {
36875
36822
  }
36876
36823
  }
36877
36824
  },
36878
- handleTargetLeaveEvent: function handleTargetLeaveEvent() {
36879
- var _this6 = this;
36825
+ handleTitleTipLeaveEvent: function handleTitleTipLeaveEvent() {
36826
+ var _this5 = this;
36880
36827
 
36881
36828
  var tooltipOpts = this.tooltipOpts;
36882
36829
  var $tooltip = this.$refs.tooltip;
36883
- this.tooltipActive = false;
36884
36830
 
36885
36831
  if ($tooltip) {
36886
36832
  $tooltip.setActived(false);
@@ -36888,10 +36834,10 @@ function renderItems(h, _vm, itemList) {
36888
36834
 
36889
36835
  if (tooltipOpts.enterable) {
36890
36836
  this.tooltipTimeout = setTimeout(function () {
36891
- $tooltip = _this6.$refs.tooltip;
36837
+ $tooltip = _this5.$refs.tooltip;
36892
36838
 
36893
36839
  if ($tooltip && !$tooltip.isActived()) {
36894
- _this6.closeTooltip();
36840
+ _this5.closeTooltip();
36895
36841
  }
36896
36842
  }, tooltipOpts.leaveDelay);
36897
36843
  } else {
@@ -36922,7 +36868,7 @@ function renderItems(h, _vm, itemList) {
36922
36868
  return this.beginValidate(item ? [item] : [], '', callback);
36923
36869
  },
36924
36870
  beginValidate: function beginValidate(itemList, type, callback) {
36925
- var _this7 = this;
36871
+ var _this6 = this;
36926
36872
 
36927
36873
  var data = this.data,
36928
36874
  formRules = this.rules,
@@ -36937,7 +36883,7 @@ function renderItems(h, _vm, itemList) {
36937
36883
  var field = item.field;
36938
36884
 
36939
36885
  if (field) {
36940
- itemValids.push(_this7.validItemRules(type || 'all', field).then(function () {
36886
+ itemValids.push(_this6.validItemRules(type || 'all', field).then(function () {
36941
36887
  item.errRule = null;
36942
36888
  }).catch(function (_ref2) {
36943
36889
  var rule = _ref2.rule,
@@ -36948,7 +36894,7 @@ function renderItems(h, _vm, itemList) {
36948
36894
  data: data,
36949
36895
  field: field,
36950
36896
  property: field,
36951
- $form: _this7
36897
+ $form: _this6
36952
36898
  };
36953
36899
 
36954
36900
  if (!validRest[field]) {
@@ -36968,7 +36914,7 @@ function renderItems(h, _vm, itemList) {
36968
36914
  }
36969
36915
  }).catch(function () {
36970
36916
  return new Promise(function (resolve) {
36971
- _this7.showErrTime = setTimeout(function () {
36917
+ _this6.showErrTime = setTimeout(function () {
36972
36918
  itemList.forEach(function (item) {
36973
36919
  if (item.errRule) {
36974
36920
  item.showError = true;
@@ -36977,8 +36923,8 @@ function renderItems(h, _vm, itemList) {
36977
36923
  }, 20);
36978
36924
 
36979
36925
  if (validOpts.autoPos) {
36980
- _this7.$nextTick(function () {
36981
- _this7.handleFocus(validFields);
36926
+ _this6.$nextTick(function () {
36927
+ _this6.handleFocus(validFields);
36982
36928
  });
36983
36929
  }
36984
36930
 
@@ -37014,7 +36960,7 @@ function renderItems(h, _vm, itemList) {
37014
36960
  * trigger=change 触发方式
37015
36961
  */
37016
36962
  validItemRules: function validItemRules(validType, property, val) {
37017
- var _this8 = this;
36963
+ var _this7 = this;
37018
36964
 
37019
36965
  var data = this.data,
37020
36966
  formRules = this.rules;
@@ -37040,7 +36986,7 @@ function renderItems(h, _vm, itemList) {
37040
36986
  data: data,
37041
36987
  field: property,
37042
36988
  property: property,
37043
- $form: _this8
36989
+ $form: _this7
37044
36990
  });
37045
36991
 
37046
36992
  if (customValid) {
@@ -37087,11 +37033,11 @@ function renderItems(h, _vm, itemList) {
37087
37033
  });
37088
37034
  },
37089
37035
  handleFocus: function handleFocus(fields) {
37090
- var _this9 = this;
37036
+ var _this8 = this;
37091
37037
 
37092
37038
  var $el = this.$el;
37093
37039
  fields.some(function (property, index) {
37094
- var item = _this9.getItemByField(property);
37040
+ var item = _this8.getItemByField(property);
37095
37041
 
37096
37042
  if (item && isEnableConf(item.itemRender)) {
37097
37043
  var itemRender = item.itemRender;
@@ -37133,17 +37079,17 @@ function renderItems(h, _vm, itemList) {
37133
37079
  * 如果单元格配置了校验规则,则会进行校验
37134
37080
  */
37135
37081
  updateStatus: function updateStatus(scope, itemValue) {
37136
- var _this10 = this;
37082
+ var _this9 = this;
37137
37083
 
37138
37084
  var property = scope.property;
37139
37085
 
37140
37086
  if (property) {
37141
37087
  this.validItemRules('change', property, itemValue).then(function () {
37142
- _this10.clearValidate(property);
37088
+ _this9.clearValidate(property);
37143
37089
  }).catch(function (_ref3) {
37144
37090
  var rule = _ref3.rule;
37145
37091
 
37146
- var item = _this10.getItemByField(property);
37092
+ var item = _this9.getItemByField(property);
37147
37093
 
37148
37094
  if (item) {
37149
37095
  item.showError = true;
@@ -37274,9 +37220,9 @@ var form_item_renderItem = function renderItem(h, _vm, item, slots) {
37274
37220
 
37275
37221
  var ons = showTooltip ? {
37276
37222
  mouseenter: function mouseenter(evnt) {
37277
- _vm.triggerHeaderHelpEvent(evnt, params);
37223
+ _vm.triggerTitleTipEvent(evnt, params);
37278
37224
  },
37279
- mouseleave: _vm.handleTargetLeaveEvent
37225
+ mouseleave: _vm.handleTitleTipLeaveEvent
37280
37226
  } : {};
37281
37227
  return h('div', {
37282
37228
  class: ['vxe-form--item', item.id, span ? "vxe-col--".concat(span, " is--span") : null, className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(className) ? className(params) : className : '', {