vxe-table 3.7.10-beta.3 → 3.7.10

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 (59) hide show
  1. package/helper/vetur/attributes.json +12 -0
  2. package/helper/vetur/tags.json +3 -0
  3. package/lib/export/src/mixin.js +1 -0
  4. package/lib/export/src/mixin.min.js +1 -1
  5. package/lib/footer/src/footer.js +18 -22
  6. package/lib/footer/src/footer.min.js +1 -1
  7. package/lib/icon/src/icon.js +1 -1
  8. package/lib/icon/src/icon.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 +23 -26
  13. package/lib/index.umd.min.js +1 -1
  14. package/lib/locale/lang/en-US.js +1 -1
  15. package/lib/locale/lang/en-US.min.js +1 -1
  16. package/lib/locale/lang/en-US.umd.js +1 -1
  17. package/lib/locale/lang/es-ES.js +1 -1
  18. package/lib/locale/lang/es-ES.min.js +1 -1
  19. package/lib/locale/lang/es-ES.umd.js +1 -1
  20. package/lib/locale/lang/ja-JP.js +2 -3
  21. package/lib/locale/lang/ja-JP.min.js +1 -1
  22. package/lib/locale/lang/ja-JP.umd.js +2 -3
  23. package/lib/locale/lang/pt-BR.js +1 -1
  24. package/lib/locale/lang/pt-BR.min.js +1 -1
  25. package/lib/locale/lang/pt-BR.umd.js +1 -1
  26. package/lib/locale/lang/zh-CN.js +1 -1
  27. package/lib/locale/lang/zh-CN.min.js +1 -1
  28. package/lib/locale/lang/zh-CN.umd.js +1 -1
  29. package/lib/locale/lang/zh-HK.min.js +1 -1
  30. package/lib/locale/lang/zh-HK.umd.js +1 -1
  31. package/lib/locale/lang/zh-MO.min.js +1 -1
  32. package/lib/locale/lang/zh-MO.umd.js +1 -1
  33. package/lib/locale/lang/zh-TC.js +1 -1
  34. package/lib/locale/lang/zh-TC.min.js +1 -1
  35. package/lib/locale/lang/zh-TC.umd.js +1 -1
  36. package/lib/locale/lang/zh-TW.min.js +1 -1
  37. package/lib/locale/lang/zh-TW.umd.js +1 -1
  38. package/lib/style.css +1 -1
  39. package/lib/style.min.css +1 -1
  40. package/lib/tools/log.js +1 -1
  41. package/lib/tools/log.min.js +1 -1
  42. package/lib/v-x-e-table/index.js +1 -1
  43. package/lib/v-x-e-table/index.min.js +1 -1
  44. package/package.json +1 -1
  45. package/packages/export/src/mixin.js +1 -1
  46. package/packages/footer/src/footer.js +11 -10
  47. package/packages/icon/src/icon.js +1 -1
  48. package/packages/locale/lang/en-US.js +1 -1
  49. package/packages/locale/lang/es-ES.js +1 -1
  50. package/packages/locale/lang/ja-JP.js +2 -3
  51. package/packages/locale/lang/pt-BR.js +1 -1
  52. package/packages/locale/lang/zh-CN.js +1 -1
  53. package/packages/locale/lang/zh-TC.js +1 -1
  54. /package/lib/icon/style/{iconfont.1712546766218.ttf → iconfont.1712806346882.ttf} +0 -0
  55. /package/lib/icon/style/{iconfont.1712546766218.woff → iconfont.1712806346882.woff} +0 -0
  56. /package/lib/icon/style/{iconfont.1712546766218.woff2 → iconfont.1712806346882.woff2} +0 -0
  57. /package/lib/{iconfont.1712546766218.ttf → iconfont.1712806346882.ttf} +0 -0
  58. /package/lib/{iconfont.1712546766218.woff → iconfont.1712806346882.woff} +0 -0
  59. /package/lib/{iconfont.1712546766218.woff2 → iconfont.1712806346882.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -10596,7 +10596,7 @@ var es_array_concat = __webpack_require__(2222);
10596
10596
 
10597
10597
 
10598
10598
  function getLog(message, params) {
10599
- return "[vxe-table v".concat("3.7.10-beta.3", "] ").concat(conf.i18n(message, params));
10599
+ return "[vxe-table v".concat("3.7.10", "] ").concat(conf.i18n(message, params));
10600
10600
  }
10601
10601
  function outLog(type) {
10602
10602
  return function (message, params) {
@@ -12028,7 +12028,7 @@ var setup = config;
12028
12028
  var globalStore = {};
12029
12029
  var VXETable = {
12030
12030
  v: v,
12031
- version: "3.7.10-beta.3",
12031
+ version: "3.7.10",
12032
12032
  reg: reg,
12033
12033
  use: use,
12034
12034
  setup: setup,
@@ -12066,7 +12066,7 @@ var VXETable = {
12066
12066
  roll = this.roll,
12067
12067
  status = this.status;
12068
12068
  return h('i', {
12069
- class: ["vxe-icon-".concat(name), roll || '', status ? ["theme--".concat(status)] : ''],
12069
+ class: ["vxe-icon-".concat(name), roll ? 'roll' : '', status ? ["theme--".concat(status)] : ''],
12070
12070
  on: {
12071
12071
  click: this.clickEvent
12072
12072
  }
@@ -30629,6 +30629,7 @@ function getFooterCellValue($xetable, opts, items, column) {
30629
30629
  $table: $xetable,
30630
30630
  items: items,
30631
30631
  itemIndex: _columnIndex,
30632
+ row: items,
30632
30633
  _columnIndex: _columnIndex,
30633
30634
  column: column,
30634
30635
  options: opts
@@ -33149,21 +33150,17 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
33149
33150
  ref: 'tfoot'
33150
33151
  }, footerTableData.map(function (list, _rowIndex) {
33151
33152
  var $rowIndex = _rowIndex;
33153
+ var rowParams = {
33154
+ $table: $xetable,
33155
+ row: list,
33156
+ _rowIndex: _rowIndex,
33157
+ $rowIndex: $rowIndex,
33158
+ fixed: fixedType,
33159
+ type: footer_cellType
33160
+ };
33152
33161
  return h('tr', {
33153
- class: ['vxe-footer--row', footerRowClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerRowClassName) ? footerRowClassName({
33154
- $table: $xetable,
33155
- _rowIndex: _rowIndex,
33156
- $rowIndex: $rowIndex,
33157
- fixed: fixedType,
33158
- type: footer_cellType
33159
- }) : footerRowClassName : ''],
33160
- style: footerRowStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerRowStyle) ? footerRowStyle({
33161
- $table: $xetable,
33162
- _rowIndex: _rowIndex,
33163
- $rowIndex: $rowIndex,
33164
- fixed: fixedType,
33165
- type: footer_cellType
33166
- }) : footerRowStyle : null
33162
+ class: ['vxe-footer--row', footerRowClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerRowClassName) ? footerRowClassName(rowParams) : footerRowClassName : ''],
33163
+ style: footerRowStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerRowStyle) ? footerRowStyle(rowParams) : footerRowStyle : null
33167
33164
  }, tableColumn.map(function (column, $columnIndex) {
33168
33165
  var _ref2;
33169
33166
  var type = column.type,
@@ -33187,7 +33184,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
33187
33184
  var columnIndex = $xetable.getColumnIndex(column);
33188
33185
  var _columnIndex = $xetable.getVTColumnIndex(column);
33189
33186
  var itemIndex = _columnIndex;
33190
- var params = {
33187
+ var cellParams = {
33191
33188
  $table: $xetable,
33192
33189
  $grid: $xetable.xegrid,
33193
33190
  row: list,
@@ -33212,7 +33209,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
33212
33209
  if (showTitle) {
33213
33210
  dom.updateCellTitle(evnt.currentTarget, column);
33214
33211
  } else if (showTooltip || showAllTip) {
33215
- $xetable.triggerFooterTooltipEvent(evnt, params);
33212
+ $xetable.triggerFooterTooltipEvent(evnt, cellParams);
33216
33213
  }
33217
33214
  };
33218
33215
  }
@@ -33227,14 +33224,14 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
33227
33224
  tfOns.click = function (evnt) {
33228
33225
  $xetable.emitEvent('footer-cell-click', Object.assign({
33229
33226
  cell: evnt.currentTarget
33230
- }, params), evnt);
33227
+ }, cellParams), evnt);
33231
33228
  };
33232
33229
  }
33233
33230
  if (tableListeners['footer-cell-dblclick']) {
33234
33231
  tfOns.dblclick = function (evnt) {
33235
33232
  $xetable.emitEvent('footer-cell-dblclick', Object.assign({
33236
33233
  cell: evnt.currentTarget
33237
- }, params), evnt);
33234
+ }, cellParams), evnt);
33238
33235
  };
33239
33236
  }
33240
33237
  // 合并行或列
@@ -33255,7 +33252,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
33255
33252
  }
33256
33253
  } else if (footerSpanMethod) {
33257
33254
  // 自定义合并方法
33258
- var _ref = footerSpanMethod(params) || {},
33255
+ var _ref = footerSpanMethod(cellParams) || {},
33259
33256
  _ref$rowspan = _ref.rowspan,
33260
33257
  _rowspan = _ref$rowspan === void 0 ? 1 : _ref$rowspan,
33261
33258
  _ref$colspan = _ref.colspan,
@@ -33271,9 +33268,9 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
33271
33268
  }
33272
33269
  }
33273
33270
  return h('td', {
33274
- class: ['vxe-footer--column', column.id, (_ref2 = {}, _defineProperty(_ref2, "col--".concat(footAlign), footAlign), _defineProperty(_ref2, "col--".concat(type), type), _defineProperty(_ref2, 'col--last', $columnIndex === tableColumn.length - 1), _defineProperty(_ref2, 'fixed--hidden', fixedHiddenColumn), _defineProperty(_ref2, 'col--ellipsis', hasEllipsis), _defineProperty(_ref2, 'col--current', currentColumn === column), _ref2), utils.getClass(footerClassName, params), utils.getClass(footerCellClassName, params)],
33271
+ class: ['vxe-footer--column', column.id, (_ref2 = {}, _defineProperty(_ref2, "col--".concat(footAlign), footAlign), _defineProperty(_ref2, "col--".concat(type), type), _defineProperty(_ref2, 'col--last', $columnIndex === tableColumn.length - 1), _defineProperty(_ref2, 'fixed--hidden', fixedHiddenColumn), _defineProperty(_ref2, 'col--ellipsis', hasEllipsis), _defineProperty(_ref2, 'col--current', currentColumn === column), _ref2), utils.getClass(footerClassName, cellParams), utils.getClass(footerCellClassName, cellParams)],
33275
33272
  attrs: attrs,
33276
- style: footerCellStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerCellStyle) ? footerCellStyle(params) : footerCellStyle : null,
33273
+ style: footerCellStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerCellStyle) ? footerCellStyle(cellParams) : footerCellStyle : null,
33277
33274
  on: tfOns,
33278
33275
  key: columnKey || columnOpts.useKey ? column.id : $columnIndex
33279
33276
  }, [h('div', {
@@ -33282,7 +33279,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
33282
33279
  'c--tooltip': showTooltip,
33283
33280
  'c--ellipsis': showEllipsis
33284
33281
  }]
33285
- }, column.renderFooter(h, params))]);
33282
+ }, column.renderFooter(h, cellParams))]);
33286
33283
  }).concat(scrollbarWidth ? [h('td', {
33287
33284
  class: 'vxe-footer--gutter col--gutter'
33288
33285
  })] : []));
@@ -39971,7 +39968,7 @@ var Pulldown = Object.assign(pulldown, {
39971
39968
  noTree: '树结构不支持 "{0}"',
39972
39969
  notProp: '不支持的参数 "{0}"',
39973
39970
  checkProp: '当数据量过大时可能会导致复选框卡顿,建议设置参数 "{0}" 提升渲染速度',
39974
- coverProp: '"{0}" 的参数 "{1}" 被覆盖,这可能会出现错误',
39971
+ coverProp: '"{0}" 的参数 "{1}" 重复定义,这可能会出现错误',
39975
39972
  delFunc: '方法 "{0}" 已废弃,请使用 "{1}"',
39976
39973
  delProp: '参数 "{0}" 已废弃,请使用 "{1}"',
39977
39974
  delEvent: '事件 "{0}" 已废弃,请使用 "{1}"',