vxe-table 3.10.0-beta.4 → 3.10.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.
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.10.0-beta.4";
2223
+ const version = "3.10.0-beta.6";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -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.10.0-beta.4"}`;
2767
+ const log_version = `table v${"3.10.0-beta.6"}`;
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
@@ -12278,6 +12278,14 @@ function renderColumn(h, _vm, $xetable, seq, rowid, fixedType, rowLevel, row, ro
12278
12278
  }, errorValidItem.content)]));
12279
12279
  }
12280
12280
  }
12281
+ let cellHeight = '';
12282
+ if (hasEllipsis && (scrollYRHeight || rowHeight)) {
12283
+ cellHeight = `${scrollYRHeight || rowHeight}px`;
12284
+ } else if (scrollYLoad) {
12285
+ if (!hasEllipsis) {
12286
+ cellHeight = `${rest.height || 24}px`;
12287
+ }
12288
+ }
12281
12289
  return h('td', {
12282
12290
  class: ['vxe-body--column', column.id, {
12283
12291
  [`col--${cellAlign}`]: cellAlign,
@@ -12296,7 +12304,7 @@ function renderColumn(h, _vm, $xetable, seq, rowid, fixedType, rowLevel, row, ro
12296
12304
  key: columnKey || columnOpts.useKey ? column.id : $columnIndex,
12297
12305
  attrs,
12298
12306
  style: Object.assign({
12299
- height: hasEllipsis && (scrollYRHeight || rowHeight) ? `${scrollYRHeight || rowHeight}px` : scrollYLoad ? `${rest.height || 24}px` : ''
12307
+ height: cellHeight
12300
12308
  }, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(compCellStyle) ? compCellStyle(params) : compCellStyle, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(cellStyle) ? cellStyle(params) : cellStyle),
12301
12309
  on: tdOns
12302
12310
  }, tdVNs);
@@ -15133,7 +15141,6 @@ const {
15133
15141
  },
15134
15142
  render(h) {
15135
15143
  const $xeTable = this.$xeTable;
15136
- const importOpts = $xeTable.importOpts;
15137
15144
  const {
15138
15145
  hasFile,
15139
15146
  parseTypeLabel,
@@ -15141,7 +15148,7 @@ const {
15141
15148
  storeData,
15142
15149
  selectName
15143
15150
  } = this;
15144
- const slots = importOpts.slots || {};
15151
+ const slots = defaultOptions.slots || {};
15145
15152
  const topSlot = slots.top;
15146
15153
  const bottomSlot = slots.bottom;
15147
15154
  const defaultSlot = slots.default;
@@ -15175,8 +15182,8 @@ const {
15175
15182
  const params = {
15176
15183
  $table: $xeTable,
15177
15184
  $grid: $xeTable.xegrid,
15178
- options: importOpts,
15179
- params: importOpts.params
15185
+ options: defaultOptions,
15186
+ params: defaultOptions.params
15180
15187
  };
15181
15188
  return h('div', {
15182
15189
  class: 'vxe-table-export--panel'
@@ -15228,8 +15235,8 @@ const {
15228
15235
  const params = {
15229
15236
  $table: $xeTable,
15230
15237
  $grid: $xeTable.xegrid,
15231
- options: importOpts,
15232
- params: importOpts.params
15238
+ options: defaultOptions,
15239
+ params: defaultOptions.params
15233
15240
  };
15234
15241
  return h('div', {
15235
15242
  class: 'vxe-table-export--panel-footer'
@@ -15385,7 +15392,6 @@ const {
15385
15392
  },
15386
15393
  render(h) {
15387
15394
  const $xeTable = this.$xeTable;
15388
- const exportOpts = $xeTable.exportOpts;
15389
15395
  const {
15390
15396
  _e,
15391
15397
  checkedAll,
@@ -15407,7 +15413,7 @@ const {
15407
15413
  const {
15408
15414
  isHeader
15409
15415
  } = defaultOptions;
15410
- const slots = exportOpts.slots || {};
15416
+ const slots = defaultOptions.slots || {};
15411
15417
  const topSlot = slots.top;
15412
15418
  const bottomSlot = slots.bottom;
15413
15419
  const defaultSlot = slots.default;
@@ -15479,9 +15485,9 @@ const {
15479
15485
  const params = {
15480
15486
  $table: $xeTable,
15481
15487
  $grid: $xeTable.xegrid,
15482
- options: exportOpts,
15488
+ options: defaultOptions,
15483
15489
  columns,
15484
- params: exportOpts.params
15490
+ params: defaultOptions.params
15485
15491
  };
15486
15492
  return h('div', {
15487
15493
  class: 'vxe-table-export--panel'
@@ -15659,9 +15665,9 @@ const {
15659
15665
  const params = {
15660
15666
  $table: $xeTable,
15661
15667
  $grid: $xeTable.xegrid,
15662
- options: exportOpts,
15668
+ options: defaultOptions,
15663
15669
  columns,
15664
- params: exportOpts.params
15670
+ params: defaultOptions.params
15665
15671
  };
15666
15672
  return h('div', {
15667
15673
  class: 'vxe-table-export--panel-footer'