vxe-table 3.9.10 → 3.9.12

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 (83) hide show
  1. package/es/locale/lang/en-US.js +3 -1
  2. package/es/locale/lang/es-ES.js +3 -1
  3. package/es/locale/lang/hu-HU.js +3 -1
  4. package/es/locale/lang/ja-JP.js +3 -1
  5. package/es/locale/lang/ko-KR.js +3 -1
  6. package/es/locale/lang/pt-BR.js +3 -1
  7. package/es/locale/lang/ru-RU.js +3 -1
  8. package/es/locale/lang/uk-UA.js +3 -1
  9. package/es/locale/lang/vi-VN.js +3 -1
  10. package/es/locale/lang/zh-CHT.js +3 -1
  11. package/es/locale/lang/zh-CN.js +3 -1
  12. package/es/style.css +1 -1
  13. package/es/table/render/index.js +6 -0
  14. package/es/table/src/methods.js +62 -63
  15. package/es/table/src/table.js +0 -1
  16. package/es/ui/index.js +2 -2
  17. package/es/ui/src/log.js +1 -1
  18. package/lib/index.umd.js +83 -84
  19. package/lib/index.umd.min.js +1 -1
  20. package/lib/locale/lang/en-US.js +3 -1
  21. package/lib/locale/lang/en-US.min.js +1 -1
  22. package/lib/locale/lang/en-US.umd.js +3 -1
  23. package/lib/locale/lang/es-ES.js +3 -1
  24. package/lib/locale/lang/es-ES.min.js +1 -1
  25. package/lib/locale/lang/es-ES.umd.js +3 -1
  26. package/lib/locale/lang/hu-HU.js +3 -1
  27. package/lib/locale/lang/hu-HU.min.js +1 -1
  28. package/lib/locale/lang/hu-HU.umd.js +3 -1
  29. package/lib/locale/lang/ja-JP.js +3 -1
  30. package/lib/locale/lang/ja-JP.min.js +1 -1
  31. package/lib/locale/lang/ja-JP.umd.js +3 -1
  32. package/lib/locale/lang/ko-KR.js +3 -1
  33. package/lib/locale/lang/ko-KR.min.js +1 -1
  34. package/lib/locale/lang/ko-KR.umd.js +3 -1
  35. package/lib/locale/lang/pt-BR.js +3 -1
  36. package/lib/locale/lang/pt-BR.min.js +1 -1
  37. package/lib/locale/lang/pt-BR.umd.js +3 -1
  38. package/lib/locale/lang/ru-RU.js +3 -1
  39. package/lib/locale/lang/ru-RU.min.js +1 -1
  40. package/lib/locale/lang/ru-RU.umd.js +3 -1
  41. package/lib/locale/lang/uk-UA.js +3 -1
  42. package/lib/locale/lang/uk-UA.min.js +1 -1
  43. package/lib/locale/lang/uk-UA.umd.js +3 -1
  44. package/lib/locale/lang/vi-VN.js +3 -1
  45. package/lib/locale/lang/vi-VN.min.js +1 -1
  46. package/lib/locale/lang/zh-CHT.js +3 -1
  47. package/lib/locale/lang/zh-CHT.min.js +1 -1
  48. package/lib/locale/lang/zh-CHT.umd.js +3 -1
  49. package/lib/locale/lang/zh-CN.js +3 -1
  50. package/lib/locale/lang/zh-CN.min.js +1 -1
  51. package/lib/locale/lang/zh-CN.umd.js +3 -1
  52. package/lib/style.css +1 -1
  53. package/lib/table/render/index.js +6 -0
  54. package/lib/table/render/index.min.js +1 -1
  55. package/lib/table/src/methods.js +71 -71
  56. package/lib/table/src/methods.min.js +1 -1
  57. package/lib/table/src/table.js +0 -1
  58. package/lib/table/src/table.min.js +1 -1
  59. package/lib/ui/index.js +2 -2
  60. package/lib/ui/index.min.js +1 -1
  61. package/lib/ui/src/log.js +1 -1
  62. package/lib/ui/src/log.min.js +1 -1
  63. package/package.json +3 -3
  64. package/packages/locale/lang/en-US.ts +3 -1
  65. package/packages/locale/lang/es-ES.ts +3 -1
  66. package/packages/locale/lang/hu-HU.ts +3 -1
  67. package/packages/locale/lang/ja-JP.ts +3 -1
  68. package/packages/locale/lang/ko-KR.ts +3 -1
  69. package/packages/locale/lang/pt-BR.ts +3 -1
  70. package/packages/locale/lang/ru-RU.ts +3 -1
  71. package/packages/locale/lang/uk-UA.ts +3 -1
  72. package/packages/locale/lang/vi-VN.ts +3 -1
  73. package/packages/locale/lang/zh-CHT.ts +3 -1
  74. package/packages/locale/lang/zh-CN.ts +3 -1
  75. package/packages/table/render/index.ts +6 -0
  76. package/packages/table/src/methods.ts +75 -64
  77. package/packages/table/src/table.ts +0 -1
  78. /package/es/{iconfont.1729062501514.ttf → iconfont.1729311815181.ttf} +0 -0
  79. /package/es/{iconfont.1729062501514.woff → iconfont.1729311815181.woff} +0 -0
  80. /package/es/{iconfont.1729062501514.woff2 → iconfont.1729311815181.woff2} +0 -0
  81. /package/lib/{iconfont.1729062501514.ttf → iconfont.1729311815181.ttf} +0 -0
  82. /package/lib/{iconfont.1729062501514.woff → iconfont.1729311815181.woff} +0 -0
  83. /package/lib/{iconfont.1729062501514.woff2 → iconfont.1729311815181.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -2220,9 +2220,9 @@ function getClass(property, params) {
2220
2220
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2221
2221
 
2222
2222
 
2223
- const version = "3.9.10";
2223
+ const version = "3.9.12";
2224
2224
  core_.VxeUI.version = version;
2225
- core_.VxeUI.tableVersion = "3.9.10";
2225
+ core_.VxeUI.tableVersion = "3.9.12";
2226
2226
  core_.VxeUI.setConfig({
2227
2227
  emptyCell: ' ',
2228
2228
  table: {
@@ -2764,7 +2764,7 @@ function isNodeElement(elem) {
2764
2764
  const {
2765
2765
  log: log_log
2766
2766
  } = core_.VxeUI;
2767
- const log_version = `table v${"3.9.10"}`;
2767
+ const log_version = `table v${"3.9.12"}`;
2768
2768
  const warnLog = log_log.create('warn', log_version);
2769
2769
  const errLog = log_log.create('error', log_version);
2770
2770
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -5412,7 +5412,6 @@ const Methods = {
5412
5412
  treeOpts,
5413
5413
  tableFullData,
5414
5414
  fullAllDataRowIdData,
5415
- fullAllDataRowMap,
5416
5415
  tableFullTreeData
5417
5416
  } = this;
5418
5417
  const childrenField = treeOpts.children || treeOpts.childrenField;
@@ -5456,7 +5455,6 @@ const Methods = {
5456
5455
  this.fullDataRowIdData = fullDataRowIdMaps;
5457
5456
  }
5458
5457
  this.fullAllDataRowIdData = fullAllDataRowIdMaps;
5459
- fullAllDataRowMap.clear();
5460
5458
  if (treeConfig) {
5461
5459
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(tableFullTreeData, handleCache, {
5462
5460
  children: childrenField
@@ -5500,13 +5498,12 @@ const Methods = {
5500
5498
  return this.params;
5501
5499
  },
5502
5500
  loadTreeChildren(row, childRecords) {
5501
+ const $xeTable = this;
5503
5502
  const {
5504
5503
  keepSource,
5505
5504
  tableSourceData,
5506
5505
  treeOpts,
5507
5506
  fullDataRowIdData,
5508
- fullDataRowMap,
5509
- fullAllDataRowMap,
5510
5507
  fullAllDataRowIdData,
5511
5508
  sourceDataRowIdData
5512
5509
  } = this;
@@ -5515,8 +5512,8 @@ const Methods = {
5515
5512
  mapChildrenField
5516
5513
  } = treeOpts;
5517
5514
  const childrenField = treeOpts.children || treeOpts.childrenField;
5518
- const rest = fullAllDataRowIdData[getRowid(this, row)];
5519
- const parentLevel = rest ? rest.level : 0;
5515
+ const parentRest = fullAllDataRowIdData[getRowid($xeTable, row)];
5516
+ const parentLevel = parentRest ? parentRest.level : 0;
5520
5517
  return this.createData(childRecords).then(rows => {
5521
5518
  if (keepSource) {
5522
5519
  const rowid = getRowid(this, row);
@@ -5532,8 +5529,8 @@ const Methods = {
5532
5529
  });
5533
5530
  }
5534
5531
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(rows, (childRow, index, items, path, parent, nodes) => {
5535
- const rowid = getRowid(this, childRow);
5536
- const parentRow = parent || row;
5532
+ const rowid = getRowid($xeTable, childRow);
5533
+ const parentRow = parent || parentRest.row;
5537
5534
  const rest = {
5538
5535
  row: childRow,
5539
5536
  rowid,
@@ -5546,9 +5543,7 @@ const Methods = {
5546
5543
  level: parentLevel + nodes.length
5547
5544
  };
5548
5545
  fullDataRowIdData[rowid] = rest;
5549
- fullDataRowMap.set(childRow, rest);
5550
5546
  fullAllDataRowIdData[rowid] = rest;
5551
- fullAllDataRowMap.set(childRow, rest);
5552
5547
  }, {
5553
5548
  children: childrenField
5554
5549
  });
@@ -6073,6 +6068,7 @@ const Methods = {
6073
6068
  return null;
6074
6069
  },
6075
6070
  getCellLabel(row, fieldOrColumn) {
6071
+ const $xeTable = this;
6076
6072
  const column = handleFieldOrColumn(this, fieldOrColumn);
6077
6073
  if (!column) {
6078
6074
  return null;
@@ -6081,17 +6077,17 @@ const Methods = {
6081
6077
  const cellValue = getCellValue(row, column);
6082
6078
  let cellLabel = cellValue;
6083
6079
  if (formatter) {
6084
- let rest, formatData;
6080
+ let formatData;
6085
6081
  const {
6086
- fullAllDataRowMap
6087
- } = this;
6082
+ fullAllDataRowIdData
6083
+ } = $xeTable;
6084
+ const rowid = getRowid($xeTable, row);
6088
6085
  const colid = column.id;
6089
- const cacheFormat = fullAllDataRowMap.has(row);
6090
- if (cacheFormat) {
6091
- rest = fullAllDataRowMap.get(row);
6086
+ const rest = fullAllDataRowIdData[rowid];
6087
+ if (rest) {
6092
6088
  formatData = rest.formatData;
6093
6089
  if (!formatData) {
6094
- formatData = fullAllDataRowMap.get(row).formatData = {};
6090
+ formatData = fullAllDataRowIdData[rowid].formatData = {};
6095
6091
  }
6096
6092
  if (rest && formatData[colid]) {
6097
6093
  if (formatData[colid].value === cellValue) {
@@ -6633,8 +6629,9 @@ const Methods = {
6633
6629
  * @param {Row} row 行对象
6634
6630
  */
6635
6631
  getRowid(row) {
6636
- const fullAllDataRowMap = this.fullAllDataRowMap;
6637
- return fullAllDataRowMap.has(row) ? fullAllDataRowMap.get(row).rowid : null;
6632
+ const $xeTable = this;
6633
+ const rowid = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, getRowkey($xeTable));
6634
+ return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(rowid) ? '' : encodeURIComponent(rowid);
6638
6635
  },
6639
6636
  /**
6640
6637
  * 获取处理后的表格数据
@@ -9271,12 +9268,13 @@ const Methods = {
9271
9268
  },
9272
9269
  // 还原展开、选中等相关状态
9273
9270
  handleReserveStatus() {
9271
+ const $xeTable = this;
9274
9272
  const {
9275
9273
  expandColumn,
9276
9274
  treeOpts,
9277
9275
  treeConfig,
9278
9276
  fullDataRowIdData,
9279
- fullAllDataRowMap,
9277
+ fullAllDataRowIdData,
9280
9278
  currentRow,
9281
9279
  selectRadioRow,
9282
9280
  radioReserveRow,
@@ -9288,7 +9286,7 @@ const Methods = {
9288
9286
  expandOpts
9289
9287
  } = this;
9290
9288
  // 单选框
9291
- if (selectRadioRow && !fullAllDataRowMap.has(selectRadioRow)) {
9289
+ if (selectRadioRow && !fullAllDataRowIdData[getRowid($xeTable, selectRadioRow)]) {
9292
9290
  this.selectRadioRow = null; // 刷新单选行状态
9293
9291
  }
9294
9292
  // 还原保留选中状态
@@ -9304,7 +9302,7 @@ const Methods = {
9304
9302
  if (checkboxOpts.reserve) {
9305
9303
  this.handleCheckedCheckboxRow(handleReserveRow(this, this.checkboxReserveRowMap), true, true);
9306
9304
  }
9307
- if (currentRow && !fullAllDataRowMap.has(currentRow)) {
9305
+ if (currentRow && !this.fullAllDataRowIdData[getRowid($xeTable, currentRow)]) {
9308
9306
  this.currentRow = null; // 刷新当前行状态
9309
9307
  }
9310
9308
  // 行展开
@@ -10212,20 +10210,25 @@ const Methods = {
10212
10210
  * @param {Row} row 行对象
10213
10211
  */
10214
10212
  isRowExpandLoaded(row) {
10215
- const rest = this.fullAllDataRowMap.get(row);
10216
- return rest && rest.expandLoaded;
10213
+ const $xeTable = this;
10214
+ const {
10215
+ fullAllDataRowIdData
10216
+ } = this;
10217
+ const rest = fullAllDataRowIdData[getRowid($xeTable, row)];
10218
+ return rest && !!rest.expandLoaded;
10217
10219
  },
10218
10220
  clearRowExpandLoaded(row) {
10221
+ const $xeTable = this;
10219
10222
  const {
10220
10223
  expandOpts,
10221
10224
  rowExpandLazyLoadedMaps,
10222
- fullAllDataRowMap
10225
+ fullAllDataRowIdData
10223
10226
  } = this;
10224
10227
  const {
10225
10228
  lazy
10226
10229
  } = expandOpts;
10227
- const rowid = getRowid(this, row);
10228
- const rest = fullAllDataRowMap.get(row);
10230
+ const rowid = getRowid($xeTable, row);
10231
+ const rest = fullAllDataRowIdData[rowid];
10229
10232
  if (lazy && rest) {
10230
10233
  rest.expandLoaded = false;
10231
10234
  const rowTempExpandLazyLoadedMaps = {
@@ -10355,54 +10358,43 @@ const Methods = {
10355
10358
  return this.setRowExpand(expandedRows, expanded);
10356
10359
  },
10357
10360
  handleAsyncRowExpand(row) {
10358
- const {
10359
- fullAllDataRowMap,
10360
- expandOpts
10361
- } = this;
10362
- const rest = fullAllDataRowMap.get(row);
10361
+ const $xeTable = this;
10363
10362
  return new Promise(resolve => {
10363
+ const {
10364
+ expandOpts
10365
+ } = this;
10364
10366
  const {
10365
10367
  loadMethod
10366
10368
  } = expandOpts;
10367
10369
  if (loadMethod) {
10368
10370
  const {
10369
- rowExpandLazyLoadedMaps
10371
+ rowExpandLazyLoadedMaps,
10372
+ fullAllDataRowIdData
10370
10373
  } = this;
10371
- const rowTempExpandLazyLoadedMaps = {
10372
- ...rowExpandLazyLoadedMaps
10373
- };
10374
- const rowid = getRowid(this, row);
10375
- rowTempExpandLazyLoadedMaps[rowid] = row;
10376
- this.rowExpandLazyLoadedMaps = rowTempExpandLazyLoadedMaps;
10374
+ const rowid = getRowid($xeTable, row);
10375
+ const rest = fullAllDataRowIdData[rowid];
10376
+ rowExpandLazyLoadedMaps[rowid] = row;
10377
10377
  loadMethod({
10378
- $table: this,
10378
+ $table: $xeTable,
10379
10379
  row,
10380
10380
  rowIndex: this.getRowIndex(row),
10381
10381
  $rowIndex: this.getVMRowIndex(row)
10382
10382
  }).then(() => {
10383
- rest.expandLoaded = true;
10384
10383
  const {
10385
10384
  rowExpandedMaps
10386
10385
  } = this;
10387
- const rowTempExpandedMaps = {
10388
- ...rowExpandedMaps
10389
- };
10390
- rowTempExpandedMaps[rowid] = row;
10391
- this.rowExpandedMaps = rowTempExpandedMaps;
10386
+ rest.expandLoaded = true;
10387
+ rowExpandedMaps[rowid] = row;
10392
10388
  }).catch(() => {
10393
10389
  rest.expandLoaded = false;
10394
10390
  }).finally(() => {
10395
10391
  const {
10396
10392
  rowExpandLazyLoadedMaps
10397
10393
  } = this;
10398
- const rowTempExpandLazyLoadedMaps = {
10399
- ...rowExpandLazyLoadedMaps
10400
- };
10401
- if (rowTempExpandLazyLoadedMaps[rowid]) {
10402
- delete rowTempExpandLazyLoadedMaps[rowid];
10394
+ if (rowExpandLazyLoadedMaps[rowid]) {
10395
+ delete rowExpandLazyLoadedMaps[rowid];
10403
10396
  }
10404
- this.rowExpandLazyLoadedMaps = rowTempExpandLazyLoadedMaps;
10405
- resolve(this.$nextTick().then(this.recalculate));
10397
+ this.$nextTick().then(() => this.recalculate()).then(() => resolve());
10406
10398
  });
10407
10399
  } else {
10408
10400
  resolve();
@@ -10575,21 +10567,26 @@ const Methods = {
10575
10567
  * @param {Row} row 行对象
10576
10568
  */
10577
10569
  isTreeExpandLoaded(row) {
10578
- const rest = this.fullAllDataRowMap.get(row);
10579
- return rest && rest.treeLoaded;
10570
+ const $xeTable = this;
10571
+ const {
10572
+ fullAllDataRowIdData
10573
+ } = this;
10574
+ const rest = fullAllDataRowIdData[getRowid($xeTable, row)];
10575
+ return rest && !!rest.treeLoaded;
10580
10576
  },
10581
10577
  clearTreeExpandLoaded(row) {
10578
+ const $xeTable = this;
10582
10579
  const {
10583
10580
  treeOpts,
10584
10581
  treeExpandedMaps,
10585
- fullAllDataRowMap
10582
+ fullAllDataRowIdData
10586
10583
  } = this;
10587
10584
  const {
10588
10585
  transform,
10589
10586
  lazy
10590
10587
  } = treeOpts;
10591
- const rowid = getRowid(this, row);
10592
- const rest = fullAllDataRowMap.get(row);
10588
+ const rowid = getRowid($xeTable, row);
10589
+ const rest = fullAllDataRowIdData[rowid];
10593
10590
  if (lazy && rest) {
10594
10591
  rest.treeLoaded = false;
10595
10592
  if (treeExpandedMaps[rowid]) {
@@ -10712,6 +10709,7 @@ const Methods = {
10712
10709
  }
10713
10710
  },
10714
10711
  handleAsyncTreeExpandChilds(row) {
10712
+ const $xeTable = this;
10715
10713
  const {
10716
10714
  treeOpts,
10717
10715
  checkboxOpts
@@ -10726,20 +10724,19 @@ const Methods = {
10726
10724
  return new Promise(resolve => {
10727
10725
  if (loadMethod) {
10728
10726
  const {
10729
- fullAllDataRowMap,
10730
- treeExpandLazyLoadedMaps
10727
+ treeExpandLazyLoadedMaps,
10728
+ fullAllDataRowIdData
10731
10729
  } = this;
10732
- const rowid = getRowid(this, row);
10733
- const rest = fullAllDataRowMap.get(row);
10730
+ const rowid = getRowid($xeTable, row);
10731
+ const rest = fullAllDataRowIdData[rowid];
10734
10732
  treeExpandLazyLoadedMaps[rowid] = row;
10735
- loadMethod({
10736
- $table: this,
10733
+ Promise.resolve(loadMethod({
10734
+ $table: $xeTable,
10737
10735
  row
10738
- }).then(childRecords => {
10739
- // 响应成功后则展开行,并将子节点挂载到该节点下
10736
+ })).then(childRecords => {
10740
10737
  rest.treeLoaded = true;
10741
10738
  if (treeExpandLazyLoadedMaps[rowid]) {
10742
- treeExpandLazyLoadedMaps[rowid] = null;
10739
+ delete treeExpandLazyLoadedMaps[rowid];
10743
10740
  }
10744
10741
  if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(childRecords)) {
10745
10742
  childRecords = [];
@@ -10749,16 +10746,12 @@ const Methods = {
10749
10746
  const {
10750
10747
  treeExpandedMaps
10751
10748
  } = this;
10752
- const treeTempExpandedMaps = {
10753
- ...treeExpandedMaps
10754
- };
10755
- if (childRows.length && !treeTempExpandedMaps[rowid]) {
10756
- treeTempExpandedMaps[rowid] = row;
10757
- this.treeExpandedMaps = treeTempExpandedMaps;
10749
+ if (childRows.length && !treeExpandedMaps[rowid]) {
10750
+ treeExpandedMaps[rowid] = row;
10758
10751
  }
10759
10752
  // 如果当前节点已选中,则展开后子节点也被选中
10760
10753
  if (!checkStrictly && this.isCheckedByCheckboxRow(row)) {
10761
- this.handleCheckedCheckboxRow(childRows, true, true);
10754
+ this.handleCheckedCheckboxRow(childRows, true);
10762
10755
  }
10763
10756
  return this.$nextTick().then(() => {
10764
10757
  if (transform) {
@@ -10768,13 +10761,12 @@ const Methods = {
10768
10761
  });
10769
10762
  }
10770
10763
  }).catch(() => {
10771
- // 如果响应异常,则不展开,再次点击后将重新触发懒加载
10772
- rest.treeLoaded = false;
10773
10764
  const {
10774
10765
  treeExpandLazyLoadedMaps
10775
10766
  } = this;
10767
+ rest.treeLoaded = false;
10776
10768
  if (treeExpandLazyLoadedMaps[rowid]) {
10777
- treeExpandLazyLoadedMaps[rowid] = null;
10769
+ delete treeExpandLazyLoadedMaps[rowid];
10778
10770
  }
10779
10771
  }).finally(() => {
10780
10772
  this.$nextTick().then(() => this.recalculate()).then(() => resolve());
@@ -10816,7 +10808,7 @@ const Methods = {
10816
10808
  */
10817
10809
  handleBaseTreeExpand(rows, expanded) {
10818
10810
  const {
10819
- fullAllDataRowMap,
10811
+ fullAllDataRowIdData,
10820
10812
  tableFullData,
10821
10813
  treeExpandedMaps,
10822
10814
  treeOpts,
@@ -10863,7 +10855,7 @@ const Methods = {
10863
10855
  validRows.forEach(row => {
10864
10856
  const rowid = getRowid(this, row);
10865
10857
  if (!treeTempExpandedMaps[rowid]) {
10866
- const rest = fullAllDataRowMap.get(row);
10858
+ const rest = fullAllDataRowIdData[rowid];
10867
10859
  const isLoad = lazy && row[hasChildField] && !rest.treeLoaded && !treeExpandLazyLoadedMaps[rowid];
10868
10860
  // 是否使用懒加载
10869
10861
  if (isLoad) {
@@ -20891,7 +20883,6 @@ function handleUupdateResize(_vm) {
20891
20883
  // 渲染所有列
20892
20884
  visibleColumn: [],
20893
20885
  // 缓存数据集
20894
- fullAllDataRowMap: new Map(),
20895
20886
  fullAllDataRowIdData: {},
20896
20887
  fullDataRowMap: new Map(),
20897
20888
  fullDataRowIdData: {},
@@ -24586,6 +24577,12 @@ render_renderer.mixin({
24586
24577
  })];
24587
24578
  }
24588
24579
  },
24580
+ VxeRate: {
24581
+ renderTableDefault: defaultEditRender
24582
+ },
24583
+ VxeSlider: {
24584
+ renderTableDefault: defaultEditRender
24585
+ },
24589
24586
  // 以下已废弃
24590
24587
  $input: {
24591
24588
  tableAutoFocus: '.vxe-input--inner',
@@ -25115,7 +25112,9 @@ const Toolbar = VxeToolbar;
25115
25112
  VxeRadioGroup: '单选框',
25116
25113
  VxeCheckboxGroup: '复选框',
25117
25114
  VxeUploadFile: '文件',
25118
- VxeUploadImage: '图片'
25115
+ VxeUploadImage: '图片',
25116
+ VxeRate: '评分',
25117
+ VxeSlider: '滑块'
25119
25118
  }
25120
25119
  },
25121
25120
  widgetProp: {