vxe-table 3.7.0-beta.4 → 3.7.0-beta.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 (75) hide show
  1. package/helper/vetur/attributes.json +23 -3
  2. package/helper/vetur/tags.json +5 -0
  3. package/lib/button/src/button.js +9 -3
  4. package/lib/button/src/button.min.js +1 -1
  5. package/lib/edit/src/mixin.js +3 -3
  6. package/lib/edit/src/mixin.min.js +1 -1
  7. package/lib/form/src/form.js +3 -1
  8. package/lib/form/src/form.min.js +1 -1
  9. package/lib/icon/style/style.css +1 -1
  10. package/lib/icon/style/style.min.css +1 -1
  11. package/lib/index.css +1 -1
  12. package/lib/index.umd.js +77 -47
  13. package/lib/index.umd.min.js +1 -1
  14. package/lib/input/src/input.js +5 -0
  15. package/lib/input/src/input.min.js +1 -1
  16. package/lib/pulldown/src/pulldown.js +11 -2
  17. package/lib/pulldown/src/pulldown.min.js +1 -1
  18. package/lib/select/src/select.js +5 -1
  19. package/lib/select/src/select.min.js +1 -1
  20. package/lib/style.css +1 -1
  21. package/lib/style.min.css +1 -1
  22. package/lib/table/src/cell.js +2 -2
  23. package/lib/table/src/cell.min.js +1 -1
  24. package/lib/table/src/methods.js +31 -31
  25. package/lib/table/src/methods.min.js +1 -1
  26. package/lib/table/src/table.js +1 -1
  27. package/lib/table/src/table.min.js +1 -1
  28. package/lib/tools/log.js +1 -1
  29. package/lib/tools/log.min.js +1 -1
  30. package/lib/tooltip/src/tooltip.js +5 -1
  31. package/lib/tooltip/src/tooltip.min.js +1 -1
  32. package/lib/v-x-e-table/index.js +1 -1
  33. package/lib/v-x-e-table/index.min.js +1 -1
  34. package/package.json +1 -1
  35. package/packages/button/src/button.js +5 -4
  36. package/packages/edit/src/mixin.js +3 -3
  37. package/packages/form/src/form.js +3 -1
  38. package/packages/input/src/input.js +5 -0
  39. package/packages/pulldown/src/pulldown.js +6 -3
  40. package/packages/select/src/select.js +3 -2
  41. package/packages/table/src/cell.js +2 -2
  42. package/packages/table/src/methods.js +31 -31
  43. package/packages/table/src/table.js +1 -1
  44. package/packages/tooltip/src/tooltip.js +3 -2
  45. package/types/colgroup.d.ts +3 -1
  46. package/types/column.d.ts +3 -0
  47. package/types/edit.d.ts +4 -2
  48. package/types/export.d.ts +2 -0
  49. package/types/filter.d.ts +3 -1
  50. package/types/footer.d.ts +3 -1
  51. package/types/form-item.d.ts +2 -0
  52. package/types/form.d.ts +2 -0
  53. package/types/grid.d.ts +3 -0
  54. package/types/header.d.ts +3 -1
  55. package/types/index.d.ts +1 -1
  56. package/types/input.d.ts +2 -0
  57. package/types/list.d.ts +1 -1
  58. package/types/menu.d.ts +2 -0
  59. package/types/modal.d.ts +7 -3
  60. package/types/pulldown.d.ts +2 -3
  61. package/types/table.d.ts +29 -26
  62. package/types/textarea.d.ts +1 -0
  63. package/types/toolbar.d.ts +2 -0
  64. package/types/tooltip.d.ts +1 -1
  65. package/types/v-x-e-table/commands.d.ts +2 -0
  66. package/types/v-x-e-table/formats.d.ts +2 -0
  67. package/types/v-x-e-table/index.d.ts +25 -24
  68. package/types/v-x-e-table/interceptor.d.ts +1 -1
  69. package/types/v-x-e-table/renderer.d.ts +5 -3
  70. /package/lib/icon/style/{iconfont.1689208376629.ttf → iconfont.1689639571797.ttf} +0 -0
  71. /package/lib/icon/style/{iconfont.1689208376629.woff → iconfont.1689639571797.woff} +0 -0
  72. /package/lib/icon/style/{iconfont.1689208376629.woff2 → iconfont.1689639571797.woff2} +0 -0
  73. /package/lib/{iconfont.1689208376629.ttf → iconfont.1689639571797.ttf} +0 -0
  74. /package/lib/{iconfont.1689208376629.woff → iconfont.1689639571797.woff} +0 -0
  75. /package/lib/{iconfont.1689208376629.woff2 → iconfont.1689639571797.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -11042,7 +11042,7 @@ var es_array_concat = __webpack_require__(2222);
11042
11042
 
11043
11043
 
11044
11044
  function getLog(message, params) {
11045
- return "[vxe-table v".concat("3.7.0-beta.3", "] ").concat(conf.i18n(message, params));
11045
+ return "[vxe-table v".concat("3.7.0-beta.5", "] ").concat(conf.i18n(message, params));
11046
11046
  }
11047
11047
  function outLog(type) {
11048
11048
  return function (message, params) {
@@ -12229,7 +12229,7 @@ function _t(key, args) {
12229
12229
  var v = 'v3';
12230
12230
  var VXETable = {
12231
12231
  v: v,
12232
- version: "3.7.0-beta.3",
12232
+ version: "3.7.0-beta.5",
12233
12233
  reg: reg,
12234
12234
  use: use,
12235
12235
  setup: setup,
@@ -15023,7 +15023,7 @@ var Cell = {
15023
15023
  isHidden = params.isHidden;
15024
15024
  var treeConfig = $table.treeConfig,
15025
15025
  treeIndeterminates = $table.treeIndeterminates,
15026
- selection = $table.selection;
15026
+ selectCheckboxRows = $table.selectCheckboxRows;
15027
15027
  var _$table$checkboxOpts = $table.checkboxOpts,
15028
15028
  labelField = _$table$checkboxOpts.labelField,
15029
15029
  checkMethod = _$table$checkboxOpts.checkMethod,
@@ -15039,7 +15039,7 @@ var Cell = {
15039
15039
  var isDisabled = !!checkMethod;
15040
15040
  var on;
15041
15041
  if (!isHidden) {
15042
- isChecked = $table.findRowIndexOf(selection, row) > -1;
15042
+ isChecked = $table.findRowIndexOf(selectCheckboxRows, row) > -1;
15043
15043
  on = {
15044
15044
  click: function click(evnt) {
15045
15045
  if (!isDisabled && isVisible) {
@@ -16677,16 +16677,16 @@ var Methods = {
16677
16677
  });
16678
16678
  }
16679
16679
  } else {
16680
- var selection = this.selection;
16680
+ var selectCheckboxRows = this.selectCheckboxRows;
16681
16681
  if (treeConfig) {
16682
16682
  rowList = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().filterTree(currTableData, function (row) {
16683
- return _this17.findRowIndexOf(selection, row) > -1;
16683
+ return _this17.findRowIndexOf(selectCheckboxRows, row) > -1;
16684
16684
  }, {
16685
16685
  children: transform ? mapChildren : children
16686
16686
  });
16687
16687
  } else {
16688
16688
  rowList = currTableData.filter(function (row) {
16689
- return _this17.findRowIndexOf(selection, row) > -1;
16689
+ return _this17.findRowIndexOf(selectCheckboxRows, row) > -1;
16690
16690
  });
16691
16691
  }
16692
16692
  }
@@ -18771,12 +18771,12 @@ var Methods = {
18771
18771
  return this.handleCheckedCheckboxRow(rows, value, true);
18772
18772
  },
18773
18773
  isCheckedByCheckboxRow: function isCheckedByCheckboxRow(row) {
18774
- var selection = this.selection;
18774
+ var selectCheckboxRows = this.selectCheckboxRows;
18775
18775
  var checkField = this.checkboxOpts.checkField;
18776
18776
  if (checkField) {
18777
18777
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkField);
18778
18778
  }
18779
- return this.findRowIndexOf(selection, row) > -1;
18779
+ return this.findRowIndexOf(selectCheckboxRows, row) > -1;
18780
18780
  },
18781
18781
  isIndeterminateByCheckboxRow: function isIndeterminateByCheckboxRow(row) {
18782
18782
  var treeIndeterminates = this.treeIndeterminates;
@@ -18789,7 +18789,7 @@ var Methods = {
18789
18789
  handleSelectRow: function handleSelectRow(_ref6, value, isForce) {
18790
18790
  var _this33 = this;
18791
18791
  var row = _ref6.row;
18792
- var selection = this.selection,
18792
+ var selectCheckboxRows = this.selectCheckboxRows,
18793
18793
  afterFullData = this.afterFullData,
18794
18794
  treeConfig = this.treeConfig,
18795
18795
  treeOpts = this.treeOpts,
@@ -18861,7 +18861,7 @@ var Methods = {
18861
18861
  if (this.findRowIndexOf(treeIndeterminates, row) === -1) {
18862
18862
  treeIndeterminates.push(row);
18863
18863
  }
18864
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(selection, function (item) {
18864
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(selectCheckboxRows, function (item) {
18865
18865
  return _this33.eqRow(item, row);
18866
18866
  });
18867
18867
  } else {
@@ -18871,9 +18871,9 @@ var Methods = {
18871
18871
  row: item
18872
18872
  })) {
18873
18873
  if (value) {
18874
- selection.push(item);
18874
+ selectCheckboxRows.push(item);
18875
18875
  } else {
18876
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(selection, function (select) {
18876
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(selectCheckboxRows, function (select) {
18877
18877
  return _this33.eqRow(select, item);
18878
18878
  });
18879
18879
  }
@@ -18902,7 +18902,7 @@ var Methods = {
18902
18902
  _parentStatus = -1;
18903
18903
  } else {
18904
18904
  var _selectItems = _matchObj.items.filter(function (item) {
18905
- return _this33.findRowIndexOf(selection, item) > -1;
18905
+ return _this33.findRowIndexOf(selectCheckboxRows, item) > -1;
18906
18906
  });
18907
18907
  _parentStatus = _selectItems.filter(function (item) {
18908
18908
  return _this33.findRowIndexOf(_vItems, item) > -1;
@@ -18917,11 +18917,11 @@ var Methods = {
18917
18917
  row: row
18918
18918
  })) {
18919
18919
  if (value) {
18920
- if (this.findRowIndexOf(selection, row) === -1) {
18921
- selection.push(row);
18920
+ if (this.findRowIndexOf(selectCheckboxRows, row) === -1) {
18921
+ selectCheckboxRows.push(row);
18922
18922
  }
18923
18923
  } else {
18924
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(selection, function (item) {
18924
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(selectCheckboxRows, function (item) {
18925
18925
  return _this33.eqRow(item, row);
18926
18926
  });
18927
18927
  }
@@ -18932,11 +18932,11 @@ var Methods = {
18932
18932
  this.checkSelectionStatus();
18933
18933
  },
18934
18934
  handleToggleCheckRowEvent: function handleToggleCheckRowEvent(evnt, params) {
18935
- var selection = this.selection,
18935
+ var selectCheckboxRows = this.selectCheckboxRows,
18936
18936
  checkboxOpts = this.checkboxOpts;
18937
18937
  var checkField = checkboxOpts.checkField;
18938
18938
  var row = params.row;
18939
- var value = checkField ? !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkField) : this.findRowIndexOf(selection, row) === -1;
18939
+ var value = checkField ? !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkField) : this.findRowIndexOf(selectCheckboxRows, row) === -1;
18940
18940
  if (evnt) {
18941
18941
  this.triggerCheckRowEvent(evnt, params, value);
18942
18942
  } else {
@@ -18961,10 +18961,10 @@ var Methods = {
18961
18961
  * 多选,切换某一行的选中状态
18962
18962
  */
18963
18963
  toggleCheckboxRow: function toggleCheckboxRow(row) {
18964
- var selection = this.selection,
18964
+ var selectCheckboxRows = this.selectCheckboxRows,
18965
18965
  checkboxOpts = this.checkboxOpts;
18966
18966
  var checkField = checkboxOpts.checkField;
18967
- var value = checkField ? !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkField) : this.findRowIndexOf(selection, row) === -1;
18967
+ var value = checkField ? !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkField) : this.findRowIndexOf(selectCheckboxRows, row) === -1;
18968
18968
  this.handleSelectRow({
18969
18969
  row: row
18970
18970
  }, value, true);
@@ -18975,7 +18975,7 @@ var Methods = {
18975
18975
  var afterFullData = this.afterFullData,
18976
18976
  treeConfig = this.treeConfig,
18977
18977
  treeOpts = this.treeOpts,
18978
- selection = this.selection,
18978
+ selectCheckboxRows = this.selectCheckboxRows,
18979
18979
  checkboxReserveRowMap = this.checkboxReserveRowMap,
18980
18980
  checkboxOpts = this.checkboxOpts;
18981
18981
  var checkField = checkboxOpts.checkField,
@@ -18983,7 +18983,7 @@ var Methods = {
18983
18983
  checkStrictly = checkboxOpts.checkStrictly,
18984
18984
  checkMethod = checkboxOpts.checkMethod;
18985
18985
  var selectRows = [];
18986
- var beforeSelection = treeConfig ? [] : selection.filter(function (row) {
18986
+ var beforeSelection = treeConfig ? [] : selectCheckboxRows.filter(function (row) {
18987
18987
  return _this34.findRowIndexOf(afterFullData, row) === -1;
18988
18988
  });
18989
18989
  if (checkStrictly) {
@@ -19038,7 +19038,7 @@ var Methods = {
19038
19038
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(afterFullData, function (row) {
19039
19039
  if (checkMethod({
19040
19040
  row: row
19041
- }) ? 0 : _this34.findRowIndexOf(selection, row) > -1) {
19041
+ }) ? 0 : _this34.findRowIndexOf(selectCheckboxRows, row) > -1) {
19042
19042
  selectRows.push(row);
19043
19043
  }
19044
19044
  }, treeOpts);
@@ -19053,7 +19053,7 @@ var Methods = {
19053
19053
  */
19054
19054
  if (!isForce && checkMethod) {
19055
19055
  selectRows = afterFullData.filter(function (row) {
19056
- return _this34.findRowIndexOf(selection, row) > -1 || checkMethod({
19056
+ return _this34.findRowIndexOf(selectCheckboxRows, row) > -1 || checkMethod({
19057
19057
  row: row
19058
19058
  });
19059
19059
  });
@@ -19070,7 +19070,7 @@ var Methods = {
19070
19070
  selectRows = afterFullData.filter(function (row) {
19071
19071
  return checkMethod({
19072
19072
  row: row
19073
- }) ? 0 : _this34.findRowIndexOf(selection, row) > -1;
19073
+ }) ? 0 : _this34.findRowIndexOf(selectCheckboxRows, row) > -1;
19074
19074
  });
19075
19075
  }
19076
19076
  }
@@ -19087,7 +19087,7 @@ var Methods = {
19087
19087
  });
19088
19088
  }
19089
19089
  }
19090
- this.selection = checkField ? [] : beforeSelection.concat(selectRows);
19090
+ this.selectCheckboxRows = checkField ? [] : beforeSelection.concat(selectRows);
19091
19091
  }
19092
19092
  this.treeIndeterminates = [];
19093
19093
  this.checkSelectionStatus();
@@ -19103,7 +19103,7 @@ var Methods = {
19103
19103
  checkSelectionStatus: function checkSelectionStatus() {
19104
19104
  var _this35 = this;
19105
19105
  var afterFullData = this.afterFullData,
19106
- selection = this.selection,
19106
+ selectCheckboxRows = this.selectCheckboxRows,
19107
19107
  treeIndeterminates = this.treeIndeterminates,
19108
19108
  checkboxOpts = this.checkboxOpts,
19109
19109
  treeConfig = this.treeConfig;
@@ -19163,22 +19163,22 @@ var Methods = {
19163
19163
  disableRows.push(row);
19164
19164
  return true;
19165
19165
  }
19166
- if (_this35.findRowIndexOf(selection, row) > -1) {
19166
+ if (_this35.findRowIndexOf(selectCheckboxRows, row) > -1) {
19167
19167
  checkRows.push(row);
19168
19168
  return true;
19169
19169
  }
19170
19170
  return false;
19171
19171
  } : function (row) {
19172
- return _this35.findRowIndexOf(selection, row) > -1;
19172
+ return _this35.findRowIndexOf(selectCheckboxRows, row) > -1;
19173
19173
  });
19174
19174
  isAllSelected = isAllResolve && afterFullData.length !== disableRows.length;
19175
19175
  if (treeConfig) {
19176
19176
  isIndeterminate = !isAllSelected && afterFullData.some(function (row) {
19177
- return _this35.findRowIndexOf(treeIndeterminates, row) > -1 || _this35.findRowIndexOf(selection, row) > -1;
19177
+ return _this35.findRowIndexOf(treeIndeterminates, row) > -1 || _this35.findRowIndexOf(selectCheckboxRows, row) > -1;
19178
19178
  });
19179
19179
  } else {
19180
19180
  isIndeterminate = !isAllSelected && afterFullData.some(function (row) {
19181
- return _this35.findRowIndexOf(selection, row) > -1;
19181
+ return _this35.findRowIndexOf(selectCheckboxRows, row) > -1;
19182
19182
  });
19183
19183
  }
19184
19184
  }
@@ -19198,7 +19198,7 @@ var Methods = {
19198
19198
  radioReserveRow = this.radioReserveRow,
19199
19199
  radioOpts = this.radioOpts,
19200
19200
  checkboxOpts = this.checkboxOpts,
19201
- selection = this.selection,
19201
+ selectCheckboxRows = this.selectCheckboxRows,
19202
19202
  rowExpandeds = this.rowExpandeds,
19203
19203
  treeExpandeds = this.treeExpandeds,
19204
19204
  expandOpts = this.expandOpts;
@@ -19214,7 +19214,7 @@ var Methods = {
19214
19214
  }
19215
19215
  }
19216
19216
  // 复选框
19217
- this.selection = getRecoverRow(this, selection); // 刷新多选行状态
19217
+ this.selectCheckboxRows = getRecoverRow(this, selectCheckboxRows); // 刷新多选行状态
19218
19218
  // 还原保留选中状态
19219
19219
  if (checkboxOpts.reserve) {
19220
19220
  this.handleCheckedCheckboxRow(handleReserveRow(this, this.checkboxReserveRowMap), true, true);
@@ -19384,7 +19384,7 @@ var Methods = {
19384
19384
  }
19385
19385
  this.isAllSelected = false;
19386
19386
  this.isIndeterminate = false;
19387
- this.selection = [];
19387
+ this.selectCheckboxRows = [];
19388
19388
  this.treeIndeterminates = [];
19389
19389
  return this.$nextTick();
19390
19390
  },
@@ -21690,7 +21690,7 @@ function handleUupdateResize(_vm) {
21690
21690
  // 复选框属性,有选中且非全选状态
21691
21691
  isIndeterminate: false,
21692
21692
  // 复选框属性,已选中的行
21693
- selection: [],
21693
+ selectCheckboxRows: [],
21694
21694
  // 当前行
21695
21695
  currentRow: null,
21696
21696
  // 单选框属性,选中列
@@ -23799,7 +23799,7 @@ function insertTreeRow(_vm, newRecords, isAppend) {
23799
23799
  mergeList = this.mergeList,
23800
23800
  editStore = this.editStore,
23801
23801
  checkboxOpts = this.checkboxOpts,
23802
- selection = this.selection,
23802
+ selectCheckboxRows = this.selectCheckboxRows,
23803
23803
  isInsertByRow = this.isInsertByRow,
23804
23804
  treeOpts = this.treeOpts;
23805
23805
  var transform = treeOpts.transform;
@@ -23823,9 +23823,9 @@ function insertTreeRow(_vm, newRecords, isAppend) {
23823
23823
  // 如果绑定了多选属性,则更新状态
23824
23824
  if (!checkField) {
23825
23825
  rows.forEach(function (row) {
23826
- var sIndex = _this2.findRowIndexOf(selection, row);
23826
+ var sIndex = _this2.findRowIndexOf(selectCheckboxRows, row);
23827
23827
  if (sIndex > -1) {
23828
- selection.splice(sIndex, 1);
23828
+ selectCheckboxRows.splice(sIndex, 1);
23829
23829
  }
23830
23830
  });
23831
23831
  }
@@ -26903,6 +26903,11 @@ function renderExtraSuffixIcon(h, _vm) {
26903
26903
  this.isActivated = false;
26904
26904
  return this.$nextTick();
26905
26905
  },
26906
+ select: function select() {
26907
+ this.$refs.input.select();
26908
+ this.isActivated = false;
26909
+ return this.$nextTick();
26910
+ },
26906
26911
  triggerEvent: function triggerEvent(evnt) {
26907
26912
  var $refs = this.$refs,
26908
26913
  inputValue = this.inputValue;
@@ -28429,6 +28434,7 @@ function renderOpts(h, _vm) {
28429
28434
  optionGroupProps: Object,
28430
28435
  optionConfig: Object,
28431
28436
  className: [String, Function],
28437
+ popupClassName: [String, Function],
28432
28438
  max: [String, Number],
28433
28439
  size: {
28434
28440
  type: String,
@@ -28616,6 +28622,7 @@ function renderOpts(h, _vm) {
28616
28622
  $scopedSlots = this.$scopedSlots,
28617
28623
  vSize = this.vSize,
28618
28624
  className = this.className,
28625
+ popupClassName = this.popupClassName,
28619
28626
  inited = this.inited,
28620
28627
  isActivated = this.isActivated,
28621
28628
  loading = this.loading,
@@ -28656,7 +28663,9 @@ function renderOpts(h, _vm) {
28656
28663
  } : {}
28657
28664
  }), h('div', {
28658
28665
  ref: 'panel',
28659
- "class": ['vxe-table--ignore-clear vxe-select--panel', (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, 'is--transfer', this.transfer), _defineProperty(_ref2, 'animat--leave', !loading && this.animatVisible), _defineProperty(_ref2, 'animat--enter', !loading && visiblePanel), _ref2)],
28666
+ "class": ['vxe-table--ignore-clear vxe-select--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
28667
+ $select: this
28668
+ }) : popupClassName : '', (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, 'is--transfer', this.transfer), _defineProperty(_ref2, 'animat--leave', !loading && this.animatVisible), _defineProperty(_ref2, 'animat--enter', !loading && visiblePanel), _ref2)],
28660
28669
  attrs: {
28661
28670
  placement: this.panelPlacement
28662
28671
  },
@@ -36255,7 +36264,8 @@ var Textarea = Object.assign(src_textarea, {
36255
36264
  disabled: Boolean,
36256
36265
  loading: Boolean,
36257
36266
  destroyOnClose: Boolean,
36258
- className: String,
36267
+ className: [String, Function],
36268
+ popupClassName: [String, Function],
36259
36269
  transfer: {
36260
36270
  type: Boolean,
36261
36271
  "default": function _default() {
@@ -36305,6 +36315,7 @@ var Textarea = Object.assign(src_textarea, {
36305
36315
  var $scopedSlots = this.$scopedSlots,
36306
36316
  $listeners = this.$listeners,
36307
36317
  className = this.className,
36318
+ popupClassName = this.popupClassName,
36308
36319
  inited = this.inited,
36309
36320
  type = this.type,
36310
36321
  destroyOnClose = this.destroyOnClose,
@@ -36320,7 +36331,9 @@ var Textarea = Object.assign(src_textarea, {
36320
36331
  panelPlacement = this.panelPlacement;
36321
36332
  var downsSlot = $scopedSlots.dropdowns;
36322
36333
  return downsSlot ? h('div', {
36323
- "class": ['vxe-button--dropdown', className, (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--active', showPanel), _ref)]
36334
+ "class": ['vxe-button--dropdown', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
36335
+ $button: this
36336
+ }) : className : '', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--active', showPanel), _ref)]
36324
36337
  }, [h('button', {
36325
36338
  ref: 'xBtn',
36326
36339
  "class": ['vxe-button', "type--".concat(btnType), (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, "theme--".concat(status), status), _defineProperty(_ref2, 'is--round', this.round), _defineProperty(_ref2, 'is--circle', this.circle), _defineProperty(_ref2, 'is--disabled', disabled || loading), _defineProperty(_ref2, 'is--loading', loading), _ref2)],
@@ -36343,7 +36356,9 @@ var Textarea = Object.assign(src_textarea, {
36343
36356
  "class": "vxe-button--dropdown-arrow ".concat(conf.icon.BUTTON_DROPDOWN)
36344
36357
  })])), h('div', {
36345
36358
  ref: 'panel',
36346
- "class": ['vxe-button--dropdown-panel', (_ref3 = {}, _defineProperty(_ref3, "size--".concat(vSize), vSize), _defineProperty(_ref3, 'animat--leave', animatVisible), _defineProperty(_ref3, 'animat--enter', showPanel), _ref3)],
36359
+ "class": ['vxe-button--dropdown-panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
36360
+ $button: this
36361
+ }) : popupClassName : '', (_ref3 = {}, _defineProperty(_ref3, "size--".concat(vSize), vSize), _defineProperty(_ref3, 'animat--leave', animatVisible), _defineProperty(_ref3, 'animat--enter', showPanel), _ref3)],
36347
36362
  attrs: {
36348
36363
  placement: panelPlacement
36349
36364
  },
@@ -36845,6 +36860,7 @@ function renderContent(h, _vm) {
36845
36860
  },
36846
36861
  useHTML: Boolean,
36847
36862
  zIndex: [String, Number],
36863
+ popupClassName: [String, Function],
36848
36864
  isArrow: {
36849
36865
  type: Boolean,
36850
36866
  "default": true
@@ -36954,6 +36970,7 @@ function renderContent(h, _vm) {
36954
36970
  var _ref;
36955
36971
  var $scopedSlots = this.$scopedSlots,
36956
36972
  vSize = this.vSize,
36973
+ popupClassName = this.popupClassName,
36957
36974
  theme = this.theme,
36958
36975
  tipActive = this.tipActive,
36959
36976
  isArrow = this.isArrow,
@@ -36968,7 +36985,9 @@ function renderContent(h, _vm) {
36968
36985
  };
36969
36986
  }
36970
36987
  return h('div', {
36971
- "class": ['vxe-table--tooltip-wrapper', "theme--".concat(theme), (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, "placement--".concat(tipStore.placement), tipStore.placement), _defineProperty(_ref, 'is--enterable', enterable), _defineProperty(_ref, 'is--visible', visible), _defineProperty(_ref, 'is--arrow', isArrow), _defineProperty(_ref, 'is--actived', tipActive), _ref)],
36988
+ "class": ['vxe-table--tooltip-wrapper', "theme--".concat(theme), popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
36989
+ $tooltip: this
36990
+ }) : popupClassName : '', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, "placement--".concat(tipStore.placement), tipStore.placement), _defineProperty(_ref, 'is--enterable', enterable), _defineProperty(_ref, 'is--visible', visible), _defineProperty(_ref, 'is--arrow', isArrow), _defineProperty(_ref, 'is--actived', tipActive), _ref)],
36972
36991
  style: tipStore.style,
36973
36992
  ref: 'tipWrapper',
36974
36993
  on: on
@@ -37948,7 +37967,9 @@ function getResetValue(value, resetValue) {
37948
37967
  validateField: function validateField(fieldOrItem, callback) {
37949
37968
  var _this7 = this;
37950
37969
  var fields = [];
37951
- if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(fieldOrItem)) {
37970
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(fieldOrItem)) {
37971
+ fields = fieldOrItem;
37972
+ } else {
37952
37973
  fields = [fieldOrItem];
37953
37974
  }
37954
37975
  return this.beginValidate(fields.map(function (field) {
@@ -39091,6 +39112,7 @@ var List = Object.assign(list, {
39091
39112
 
39092
39113
 
39093
39114
 
39115
+
39094
39116
  /* harmony default export */ const pulldown = ({
39095
39117
  name: 'VxePulldown',
39096
39118
  mixins: [size],
@@ -39104,6 +39126,8 @@ var List = Object.assign(list, {
39104
39126
  return conf.size;
39105
39127
  }
39106
39128
  },
39129
+ className: [String, Function],
39130
+ popupClassName: [String, Function],
39107
39131
  destroyOnClose: Boolean,
39108
39132
  transfer: Boolean
39109
39133
  },
@@ -39148,6 +39172,8 @@ var List = Object.assign(list, {
39148
39172
  var _ref, _ref2;
39149
39173
  var $scopedSlots = this.$scopedSlots,
39150
39174
  inited = this.inited,
39175
+ className = this.className,
39176
+ popupClassName = this.popupClassName,
39151
39177
  vSize = this.vSize,
39152
39178
  destroyOnClose = this.destroyOnClose,
39153
39179
  transfer = this.transfer,
@@ -39160,7 +39186,9 @@ var List = Object.assign(list, {
39160
39186
  var defaultSlot = $scopedSlots["default"];
39161
39187
  var downSlot = $scopedSlots.dropdown;
39162
39188
  return h('div', {
39163
- "class": ['vxe-pulldown', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--visivle', visiblePanel), _defineProperty(_ref, 'is--disabled', disabled), _defineProperty(_ref, 'is--active', isActivated), _ref)]
39189
+ "class": ['vxe-pulldown', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
39190
+ $pulldown: this
39191
+ }) : className : '', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--visivle', visiblePanel), _defineProperty(_ref, 'is--disabled', disabled), _defineProperty(_ref, 'is--active', isActivated), _ref)]
39164
39192
  }, [h('div', {
39165
39193
  ref: 'content',
39166
39194
  "class": 'vxe-pulldown--content'
@@ -39168,7 +39196,9 @@ var List = Object.assign(list, {
39168
39196
  $pulldown: this
39169
39197
  }, h) : []), h('div', {
39170
39198
  ref: 'panel',
39171
- "class": ['vxe-table--ignore-clear vxe-pulldown--panel', (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, 'is--transfer', transfer), _defineProperty(_ref2, 'animat--leave', animatVisible), _defineProperty(_ref2, 'animat--enter', visiblePanel), _ref2)],
39199
+ "class": ['vxe-table--ignore-clear vxe-pulldown--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
39200
+ $pulldown: this
39201
+ }) : popupClassName : '', (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, 'is--transfer', transfer), _defineProperty(_ref2, 'animat--leave', animatVisible), _defineProperty(_ref2, 'animat--enter', visiblePanel), _ref2)],
39172
39202
  attrs: {
39173
39203
  placement: panelPlacement
39174
39204
  },