vxe-table 3.16.1 → 3.16.3

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 (45) hide show
  1. package/es/grid/src/grid.js +1 -1
  2. package/es/index.css +1 -1
  3. package/es/index.min.css +1 -1
  4. package/es/style.css +1 -1
  5. package/es/style.min.css +1 -1
  6. package/es/table/module/filter/panel.js +5 -1
  7. package/es/table/src/body.js +4 -7
  8. package/es/table/style.css +7 -1
  9. package/es/table/style.min.css +1 -1
  10. package/es/ui/index.js +1 -1
  11. package/es/ui/src/log.js +1 -1
  12. package/es/vxe-table/style.css +7 -1
  13. package/es/vxe-table/style.min.css +1 -1
  14. package/lib/grid/src/grid.js +1 -1
  15. package/lib/grid/src/grid.min.js +1 -1
  16. package/lib/index.css +1 -1
  17. package/lib/index.min.css +1 -1
  18. package/lib/index.umd.js +12 -10
  19. package/lib/index.umd.min.js +1 -1
  20. package/lib/style.css +1 -1
  21. package/lib/style.min.css +1 -1
  22. package/lib/table/module/filter/panel.js +5 -1
  23. package/lib/table/module/filter/panel.min.js +1 -1
  24. package/lib/table/src/body.js +4 -6
  25. package/lib/table/src/body.min.js +1 -1
  26. package/lib/table/style/style.css +7 -1
  27. package/lib/table/style/style.min.css +1 -1
  28. package/lib/ui/index.js +1 -1
  29. package/lib/ui/index.min.js +1 -1
  30. package/lib/ui/src/log.js +1 -1
  31. package/lib/ui/src/log.min.js +1 -1
  32. package/lib/vxe-table/style/style.css +7 -1
  33. package/lib/vxe-table/style/style.min.css +1 -1
  34. package/package.json +1 -1
  35. package/packages/grid/src/grid.ts +1 -1
  36. package/packages/table/module/filter/panel.ts +5 -1
  37. package/packages/table/src/body.ts +4 -9
  38. package/styles/components/table.scss +7 -1
  39. package/styles/theme/base.scss +1 -1
  40. /package/es/{iconfont.1752051019367.ttf → iconfont.1752211596473.ttf} +0 -0
  41. /package/es/{iconfont.1752051019367.woff → iconfont.1752211596473.woff} +0 -0
  42. /package/es/{iconfont.1752051019367.woff2 → iconfont.1752211596473.woff2} +0 -0
  43. /package/lib/{iconfont.1752051019367.ttf → iconfont.1752211596473.ttf} +0 -0
  44. /package/lib/{iconfont.1752051019367.woff → iconfont.1752211596473.woff} +0 -0
  45. /package/lib/{iconfont.1752051019367.woff2 → iconfont.1752211596473.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
2002
2002
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2003
2003
 
2004
2004
 
2005
- const version = "3.16.1";
2005
+ const version = "3.16.3";
2006
2006
  core_.VxeUI.version = version;
2007
2007
  core_.VxeUI.tableVersion = version;
2008
2008
  core_.VxeUI.setConfig({
@@ -2667,7 +2667,7 @@ function isNodeElement(elem) {
2667
2667
  const {
2668
2668
  log: log_log
2669
2669
  } = core_.VxeUI;
2670
- const log_version = `table v${"3.16.1"}`;
2670
+ const log_version = `table v${"3.16.3"}`;
2671
2671
  const warnLog = log_log.create('warn', log_version);
2672
2672
  const errLog = log_log.create('error', log_version);
2673
2673
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -17857,7 +17857,7 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
17857
17857
  colspan
17858
17858
  } = spanRest;
17859
17859
  if (!rowspan || !colspan) {
17860
- return null;
17860
+ return body_renderEmptyElement($xeTable);
17861
17861
  }
17862
17862
  if (rowspan > 1) {
17863
17863
  isMergeCell = true;
@@ -17877,7 +17877,7 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
17877
17877
  colspan = 1
17878
17878
  } = spanMethod(cellParams) || {};
17879
17879
  if (!rowspan || !colspan) {
17880
- return null;
17880
+ return body_renderEmptyElement($xeTable);
17881
17881
  }
17882
17882
  if (rowspan > 1) {
17883
17883
  isMergeCell = true;
@@ -17997,10 +17997,8 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
17997
17997
  }
17998
17998
  }
17999
17999
  let showAreaRowStatus = false;
18000
- if (mouseConfig && mouseOpts.area && selectCellToRow) {
18001
- if (!_columnIndex && selectCellToRow === true || selectCellToRow === column.field) {
18002
- showAreaRowStatus = true;
18003
- }
18000
+ if (mouseConfig && mouseOpts.area && !_columnIndex && selectCellToRow) {
18001
+ showAreaRowStatus = true;
18004
18002
  }
18005
18003
  if (!fixedHiddenColumn && showResizable && isAllColumnDrag) {
18006
18004
  tdVNs.push(h('div', {
@@ -21065,6 +21063,7 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
21065
21063
 
21066
21064
 
21067
21065
 
21066
+
21068
21067
  const {
21069
21068
  getI18n: filter_panel_getI18n,
21070
21069
  getIcon: filter_panel_getIcon,
@@ -21311,7 +21310,10 @@ function renderFooter($xeFilterPanel, h) {
21311
21310
  // 确认筛选
21312
21311
  confirmFilter(evnt) {
21313
21312
  const $xeTable = this.$parent;
21314
- $xeTable.handleFilterConfirmFilter(evnt);
21313
+ if (!evnt) {
21314
+ warnLog('vxe.error.delFunc', ['confirmFilter', 'saveFilterPanelByEvent']);
21315
+ }
21316
+ $xeTable.handleFilterConfirmFilter(evnt || new Event('click'));
21315
21317
  },
21316
21318
  // 重置筛选
21317
21319
  resetFilter(evnt) {
@@ -32422,7 +32424,7 @@ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default(
32422
32424
  props: Object.assign({}, toolbarOpts, {
32423
32425
  slots: undefined
32424
32426
  }),
32425
- ref: 'xToolbar',
32427
+ ref: 'refToolbar',
32426
32428
  scopedSlots: $xeGrid.getToolbarSlots()
32427
32429
  })]);
32428
32430
  }