vxe-table 3.15.6 → 3.15.8

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 (41) hide show
  1. package/es/index.css +1 -1
  2. package/es/index.min.css +1 -1
  3. package/es/style.css +1 -1
  4. package/es/style.min.css +1 -1
  5. package/es/table/render/index.js +16 -3
  6. package/es/table/src/methods.js +6 -0
  7. package/es/table/style.css +12 -5
  8. package/es/table/style.min.css +1 -1
  9. package/es/ui/index.js +3 -3
  10. package/es/ui/src/log.js +1 -1
  11. package/es/vxe-table/style.css +12 -5
  12. package/es/vxe-table/style.min.css +1 -1
  13. package/lib/index.css +1 -1
  14. package/lib/index.min.css +1 -1
  15. package/lib/index.umd.js +27 -7
  16. package/lib/index.umd.min.js +1 -1
  17. package/lib/style.css +1 -1
  18. package/lib/style.min.css +1 -1
  19. package/lib/table/render/index.js +17 -3
  20. package/lib/table/render/index.min.js +1 -1
  21. package/lib/table/src/methods.js +6 -0
  22. package/lib/table/src/methods.min.js +1 -1
  23. package/lib/table/style/style.css +12 -5
  24. package/lib/table/style/style.min.css +1 -1
  25. package/lib/ui/index.js +3 -3
  26. package/lib/ui/index.min.js +1 -1
  27. package/lib/ui/src/log.js +1 -1
  28. package/lib/ui/src/log.min.js +1 -1
  29. package/lib/vxe-table/style/style.css +12 -5
  30. package/lib/vxe-table/style/style.min.css +1 -1
  31. package/package.json +2 -2
  32. package/packages/table/render/index.ts +17 -3
  33. package/packages/table/src/methods.ts +6 -0
  34. package/packages/ui/index.ts +2 -2
  35. package/styles/components/table.scss +30 -17
  36. /package/es/{iconfont.1745197894601.ttf → iconfont.1745374111946.ttf} +0 -0
  37. /package/es/{iconfont.1745197894601.woff → iconfont.1745374111946.woff} +0 -0
  38. /package/es/{iconfont.1745197894601.woff2 → iconfont.1745374111946.woff2} +0 -0
  39. /package/lib/{iconfont.1745197894601.ttf → iconfont.1745374111946.ttf} +0 -0
  40. /package/lib/{iconfont.1745197894601.woff → iconfont.1745374111946.woff} +0 -0
  41. /package/lib/{iconfont.1745197894601.woff2 → iconfont.1745374111946.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
2220
2220
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2221
2221
 
2222
2222
 
2223
- const version = "3.15.6";
2223
+ const version = "3.15.8";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2433,8 +2433,8 @@ core_.VxeUI.setConfig({
2433
2433
  oSize: 2
2434
2434
  },
2435
2435
  scrollbarConfig: {
2436
- // width: 0,
2437
- // height: 0
2436
+ width: 14,
2437
+ height: 14
2438
2438
  }
2439
2439
  },
2440
2440
  // export: {
@@ -2858,7 +2858,7 @@ function isNodeElement(elem) {
2858
2858
  const {
2859
2859
  log: log_log
2860
2860
  } = core_.VxeUI;
2861
- const log_version = `table v${"3.15.6"}`;
2861
+ const log_version = `table v${"3.15.8"}`;
2862
2862
  const warnLog = log_log.create('warn', log_version);
2863
2863
  const errLog = log_log.create('error', log_version);
2864
2864
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -8411,8 +8411,14 @@ function loadTableData($xeTable, datas, isReset) {
8411
8411
  scrollXStore.endIndex = 1;
8412
8412
  reactData.isRowLoading = true;
8413
8413
  reactData.scrollVMLoading = false;
8414
+ internalData.treeExpandedMaps = {};
8415
+ reactData.treeExpandedFlag++;
8416
+ internalData.rowExpandedMaps = {};
8417
+ reactData.rowExpandedFlag++;
8414
8418
  internalData.insertRowMaps = {};
8419
+ reactData.insertRowFlag++;
8415
8420
  internalData.removeRowMaps = {};
8421
+ reactData.removeRowFlag++;
8416
8422
  const sYLoad = updateScrollYStatus($xeTable, fullData);
8417
8423
  reactData.isDragColMove = false;
8418
8424
  reactData.isDragRowMove = false;
@@ -31768,7 +31774,18 @@ function defaultEditRender(h, renderOpts, params) {
31768
31774
  on: getEditOns(renderOpts, params)
31769
31775
  })];
31770
31776
  }
31771
- function radioAndCheckboxEditRender(h, renderOpts, params) {
31777
+ function checkboxEditRender(h, renderOpts, params) {
31778
+ const {
31779
+ row,
31780
+ column
31781
+ } = params;
31782
+ const cellValue = getCellValue(row, column);
31783
+ return [h(getDefaultComponent(renderOpts), {
31784
+ props: getCellEditProps(renderOpts, params, cellValue),
31785
+ on: getEditOns(renderOpts, params)
31786
+ })];
31787
+ }
31788
+ function radioAndCheckboxGroupEditRender(h, renderOpts, params) {
31772
31789
  const {
31773
31790
  options
31774
31791
  } = renderOpts;
@@ -32481,10 +32498,13 @@ render_renderer.mixin({
32481
32498
  }
32482
32499
  },
32483
32500
  VxeRadioGroup: {
32484
- renderTableDefault: radioAndCheckboxEditRender
32501
+ renderTableDefault: radioAndCheckboxGroupEditRender
32502
+ },
32503
+ VxeCheckbox: {
32504
+ renderTableDefault: checkboxEditRender
32485
32505
  },
32486
32506
  VxeCheckboxGroup: {
32487
- renderTableDefault: radioAndCheckboxEditRender
32507
+ renderTableDefault: radioAndCheckboxGroupEditRender
32488
32508
  },
32489
32509
  VxeSwitch: {
32490
32510
  tableAutoFocus: 'button',