@visactor/vtable 0.16.2-alpha.0 → 0.16.2

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 (71) hide show
  1. package/cjs/ListTable.js.map +1 -1
  2. package/cjs/PivotChart.js +3 -5
  3. package/cjs/PivotChart.js.map +1 -1
  4. package/cjs/PivotTable.d.ts +1 -0
  5. package/cjs/PivotTable.js +10 -7
  6. package/cjs/PivotTable.js.map +1 -1
  7. package/cjs/components/axis/axis.d.ts +1 -1
  8. package/cjs/components/axis/axis.js +2 -2
  9. package/cjs/components/axis/axis.js.map +1 -1
  10. package/cjs/core/BaseTable.js +1 -1
  11. package/cjs/core/BaseTable.js.map +1 -1
  12. package/cjs/dataset/dataset.js +8 -1
  13. package/cjs/dataset/dataset.js.map +1 -1
  14. package/cjs/event/listener/container-dom.js.map +1 -1
  15. package/cjs/event/listener/table-group.js +2 -1
  16. package/cjs/event/listener/table-group.js.map +1 -1
  17. package/cjs/index.d.ts +1 -1
  18. package/cjs/index.js +1 -1
  19. package/cjs/index.js.map +1 -1
  20. package/cjs/layout/chart-helper/get-axis-config.d.ts +0 -2
  21. package/cjs/layout/chart-helper/get-axis-config.js +16 -25
  22. package/cjs/layout/chart-helper/get-axis-config.js.map +1 -1
  23. package/cjs/scenegraph/group-creater/cell-helper.js +11 -3
  24. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  25. package/cjs/scenegraph/layout/move-cell.js +21 -4
  26. package/cjs/scenegraph/layout/move-cell.js.map +1 -1
  27. package/cjs/scenegraph/layout/update-width.js +1 -1
  28. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  29. package/cjs/scenegraph/refresh-node/update-chart.js +1 -1
  30. package/cjs/scenegraph/refresh-node/update-chart.js.map +1 -1
  31. package/cjs/ts-types/component/axis.d.ts +0 -2
  32. package/cjs/ts-types/component/axis.js.map +1 -1
  33. package/cjs/ts-types/table-engine.d.ts +3 -0
  34. package/cjs/ts-types/table-engine.js.map +1 -1
  35. package/dist/vtable.js +112 -45
  36. package/dist/vtable.min.js +2 -2
  37. package/es/ListTable.js.map +1 -1
  38. package/es/PivotChart.js +3 -5
  39. package/es/PivotChart.js.map +1 -1
  40. package/es/PivotTable.d.ts +1 -0
  41. package/es/PivotTable.js +10 -7
  42. package/es/PivotTable.js.map +1 -1
  43. package/es/components/axis/axis.d.ts +1 -1
  44. package/es/components/axis/axis.js +2 -2
  45. package/es/components/axis/axis.js.map +1 -1
  46. package/es/core/BaseTable.js +1 -1
  47. package/es/core/BaseTable.js.map +1 -1
  48. package/es/dataset/dataset.js +8 -1
  49. package/es/dataset/dataset.js.map +1 -1
  50. package/es/event/listener/container-dom.js.map +1 -1
  51. package/es/event/listener/table-group.js +2 -1
  52. package/es/event/listener/table-group.js.map +1 -1
  53. package/es/index.d.ts +1 -1
  54. package/es/index.js +1 -1
  55. package/es/index.js.map +1 -1
  56. package/es/layout/chart-helper/get-axis-config.d.ts +0 -2
  57. package/es/layout/chart-helper/get-axis-config.js +16 -25
  58. package/es/layout/chart-helper/get-axis-config.js.map +1 -1
  59. package/es/scenegraph/group-creater/cell-helper.js +11 -3
  60. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  61. package/es/scenegraph/layout/move-cell.js +20 -7
  62. package/es/scenegraph/layout/move-cell.js.map +1 -1
  63. package/es/scenegraph/layout/update-width.js +1 -1
  64. package/es/scenegraph/layout/update-width.js.map +1 -1
  65. package/es/scenegraph/refresh-node/update-chart.js +1 -1
  66. package/es/scenegraph/refresh-node/update-chart.js.map +1 -1
  67. package/es/ts-types/component/axis.d.ts +0 -2
  68. package/es/ts-types/component/axis.js.map +1 -1
  69. package/es/ts-types/table-engine.d.ts +3 -0
  70. package/es/ts-types/table-engine.js.map +1 -1
  71. package/package.json +5 -5
package/dist/vtable.js CHANGED
@@ -48997,11 +48997,11 @@
48997
48997
  tickData;
48998
48998
  scale;
48999
48999
  component;
49000
- constructor(option, width, height, padding, table) {
49000
+ constructor(option, width, height, padding, chartSpecTheme, table) {
49001
49001
  this.table = table;
49002
49002
  this.orient = option.orient ?? 'left';
49003
49003
  this.type = option.type ?? 'band';
49004
- this.option = merge$1({}, getCommonAxis(option.__vtableChartTheme), getTableAxisTheme(this.orient, table.theme), getChartSpecAxisTheme(this.orient, this.type, option.__vtableChartTheme), option);
49004
+ this.option = merge$1({}, getCommonAxis(chartSpecTheme), getTableAxisTheme(this.orient, table.theme), getChartSpecAxisTheme(this.orient, this.type, chartSpecTheme), option);
49005
49005
  if (this.orient === 'left' || this.orient === 'right') {
49006
49006
  this.width = width;
49007
49007
  this.height = height - padding[2];
@@ -53552,7 +53552,8 @@
53552
53552
  cellGroup = createCellGroup(table, value, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, mayHaveIcon, customElementsGroup, renderDefault, cellTheme);
53553
53553
  const axisConfig = table.internalProps.layoutMap.getAxisConfigInPivotChart(col, row);
53554
53554
  if (axisConfig) {
53555
- const axis = new CartesianAxis(axisConfig, cellGroup.attribute.width, cellGroup.attribute.height, padding, table);
53555
+ const spec = table.internalProps.layoutMap.getRawChartSpec(col, row);
53556
+ const axis = new CartesianAxis(axisConfig, cellGroup.attribute.width, cellGroup.attribute.height, padding, spec?.theme, table);
53556
53557
  cellGroup.clear();
53557
53558
  cellGroup.appendChild(axis.component);
53558
53559
  axis.overlap();
@@ -53656,7 +53657,25 @@
53656
53657
  dx: hierarchyOffset,
53657
53658
  x
53658
53659
  };
53660
+ const oldText = textMark.attribute.text;
53659
53661
  textMark.setAttributes(cellTheme.text ? Object.assign({}, cellTheme.text, attribute) : attribute);
53662
+ if (!oldText && textMark.attribute.text) {
53663
+ const textBaseline = cellTheme.text.textBaseline;
53664
+ const height = cellHeight - (padding[0] + padding[2]);
53665
+ let y = 0;
53666
+ if (textBaseline === 'middle') {
53667
+ y = padding[0] + (height - textMark.AABBBounds.height()) / 2;
53668
+ }
53669
+ else if (textBaseline === 'bottom') {
53670
+ y = padding[0] + height - textMark.AABBBounds.height();
53671
+ }
53672
+ else {
53673
+ y = padding[0];
53674
+ }
53675
+ textMark.setAttributes({
53676
+ y
53677
+ });
53678
+ }
53660
53679
  }
53661
53680
  return oldCellGroup;
53662
53681
  }
@@ -54221,7 +54240,7 @@
54221
54240
  if (!axisRange) {
54222
54241
  return;
54223
54242
  }
54224
- const { range, ticks, axisOption, isZeroAlign, theme } = axisRange;
54243
+ const { range, ticks, axisOption, isZeroAlign } = axisRange;
54225
54244
  if (isZeroAlign) {
54226
54245
  const subAxisRange = getRange$1('bottom', col, row + 1, col, layout.columnHeaderLevelCount - 1, col, row, 0, layout);
54227
54246
  if (subAxisRange) {
@@ -54253,8 +54272,7 @@
54253
54272
  label: {
54254
54273
  flush: true
54255
54274
  },
54256
- __ticksForVTable: ticks,
54257
- __vtableChartTheme: theme
54275
+ __ticksForVTable: ticks
54258
54276
  });
54259
54277
  }
54260
54278
  else if (row === layout.rowCount - layout.bottomFrozenRowCount &&
@@ -54272,7 +54290,7 @@
54272
54290
  if (!axisRange) {
54273
54291
  return;
54274
54292
  }
54275
- const { range, ticks, axisOption, isZeroAlign, theme } = axisRange;
54293
+ const { range, ticks, axisOption, isZeroAlign } = axisRange;
54276
54294
  if (isZeroAlign) {
54277
54295
  const subAxisRange = getRange$1('top', col, row - 1, col, row, col, row, 1, layout);
54278
54296
  if (subAxisRange) {
@@ -54308,8 +54326,7 @@
54308
54326
  label: {
54309
54327
  flush: true
54310
54328
  },
54311
- __ticksForVTable: ticks,
54312
- __vtableChartTheme: theme
54329
+ __ticksForVTable: ticks
54313
54330
  });
54314
54331
  }
54315
54332
  else if (col === layout.rowHeaderLevelCount - 1 &&
@@ -54322,7 +54339,7 @@
54322
54339
  const data = layout.dataset.collectedValues[rowDimensionKey] ?? [];
54323
54340
  const rowPath = layout.getRowKeysPath(col, row);
54324
54341
  const domain = data[rowPath ?? ''] ?? [];
54325
- const { axisOption, isPercent, theme } = getAxisOption(col + 1, row, 'left', layout);
54342
+ const { axisOption, isPercent } = getAxisOption(col + 1, row, 'left', layout);
54326
54343
  if (axisOption?.visible === false) {
54327
54344
  return;
54328
54345
  }
@@ -54333,8 +54350,7 @@
54333
54350
  }
54334
54351
  }, axisOption, {
54335
54352
  orient: 'left',
54336
- type: 'band',
54337
- __vtableChartTheme: theme
54353
+ type: 'band'
54338
54354
  });
54339
54355
  }
54340
54356
  }
@@ -54354,7 +54370,7 @@
54354
54370
  if (!axisRange) {
54355
54371
  return;
54356
54372
  }
54357
- const { range, ticks, axisOption, isZeroAlign, theme } = axisRange;
54373
+ const { range, ticks, axisOption, isZeroAlign } = axisRange;
54358
54374
  if (isZeroAlign) {
54359
54375
  const subAxisRange = getRange$1('right', col + 1, row, col, row, col, row, 1, layout);
54360
54376
  if (subAxisRange) {
@@ -54391,8 +54407,7 @@
54391
54407
  label: {
54392
54408
  flush: true
54393
54409
  },
54394
- __ticksForVTable: ticks,
54395
- __vtableChartTheme: theme
54410
+ __ticksForVTable: ticks
54396
54411
  });
54397
54412
  }
54398
54413
  else if (col === layout.colCount - layout.rightFrozenColCount &&
@@ -54402,7 +54417,7 @@
54402
54417
  if (!axisRange) {
54403
54418
  return;
54404
54419
  }
54405
- const { range, ticks, axisOption, isZeroAlign, theme } = axisRange;
54420
+ const { range, ticks, axisOption, isZeroAlign } = axisRange;
54406
54421
  if (isZeroAlign) {
54407
54422
  const subAxisRange = getRange$1('left', col - 1, row, layout.rowHeaderLevelCount - 1, row, col, row, 0, layout);
54408
54423
  if (subAxisRange) {
@@ -54437,8 +54452,7 @@
54437
54452
  label: {
54438
54453
  flush: true
54439
54454
  },
54440
- __ticksForVTable: ticks,
54441
- __vtableChartTheme: theme
54455
+ __ticksForVTable: ticks
54442
54456
  });
54443
54457
  }
54444
54458
  else if (row === layout.rowCount - layout.bottomFrozenRowCount &&
@@ -54451,7 +54465,7 @@
54451
54465
  const data = layout.dataset.collectedValues[columnDimensionKey] ?? [];
54452
54466
  const colPath = layout.getColKeysPath(col, row);
54453
54467
  const domain = data?.[colPath ?? ''] ?? [];
54454
- const { axisOption, isPercent, theme } = getAxisOption(col, row - 1, 'bottom', layout);
54468
+ const { axisOption, isPercent } = getAxisOption(col, row - 1, 'bottom', layout);
54455
54469
  if (axisOption?.visible === false) {
54456
54470
  return;
54457
54471
  }
@@ -54459,8 +54473,7 @@
54459
54473
  domain: Array.from(domain)
54460
54474
  }, axisOption, {
54461
54475
  orient: 'bottom',
54462
- type: 'band',
54463
- __vtableChartTheme: theme
54476
+ type: 'band'
54464
54477
  });
54465
54478
  }
54466
54479
  }
@@ -54485,8 +54498,7 @@
54485
54498
  axisOption,
54486
54499
  isPercent: spec.percent,
54487
54500
  isZeroAlign: checkZeroAlign(spec, orient, layout),
54488
- seriesIndice,
54489
- theme: spec.theme
54501
+ seriesIndice
54490
54502
  };
54491
54503
  }
54492
54504
  }
@@ -54496,8 +54508,7 @@
54496
54508
  return {
54497
54509
  axisOption,
54498
54510
  isPercent: false,
54499
- isZeroAlign: checkZeroAlign(spec, orient, layout),
54500
- theme: spec.theme
54511
+ isZeroAlign: checkZeroAlign(spec, orient, layout)
54501
54512
  };
54502
54513
  }
54503
54514
  function checkZeroAlign(spec, orient, layout) {
@@ -54577,7 +54588,7 @@
54577
54588
  return range;
54578
54589
  }
54579
54590
  function getRange$1(position, colForAxisOption, rowForAxisOption, colForIndicatorKey, rowForIndicatorKey, col, row, defaultSeriesIndice, layout) {
54580
- const { axisOption, isPercent, isZeroAlign, seriesIndice, theme } = getAxisOption(colForAxisOption, rowForAxisOption, position, layout);
54591
+ const { axisOption, isPercent, isZeroAlign, seriesIndice } = getAxisOption(colForAxisOption, rowForAxisOption, position, layout);
54581
54592
  if (axisOption?.visible === false) {
54582
54593
  return undefined;
54583
54594
  }
@@ -54616,8 +54627,7 @@
54616
54627
  axisOption,
54617
54628
  isZeroAlign,
54618
54629
  range,
54619
- ticks,
54620
- theme
54630
+ ticks
54621
54631
  };
54622
54632
  }
54623
54633
  function isTopOrBottomAxis(col, row, layout) {
@@ -55696,7 +55706,8 @@
55696
55706
  const cellStyle = scene.table._getCellStyle(col, row);
55697
55707
  const padding = getQuadProps(getProp('padding', cellStyle, col, row, scene.table));
55698
55708
  if (axisConfig) {
55699
- const axis = new CartesianAxis(axisConfig, cellGroup.attribute.width, cellGroup.attribute.height, padding, scene.table);
55709
+ const spec = scene.table.internalProps.layoutMap.getRawChartSpec(col, row);
55710
+ const axis = new CartesianAxis(axisConfig, cellGroup.attribute.width, cellGroup.attribute.height, padding, spec?.theme, scene.table);
55700
55711
  cellGroup.clear();
55701
55712
  cellGroup.appendChild(axis.component);
55702
55713
  axis.overlap();
@@ -59093,7 +59104,6 @@
59093
59104
  return getCellByCache(cacheCellGroup._next, row);
59094
59105
  }
59095
59106
 
59096
- new Group$3({});
59097
59107
  function moveHeaderPosition(colSource, rowSource, colTarget, rowTarget, table) {
59098
59108
  const scene = table.scenegraph;
59099
59109
  const cellLocation = table.getCellLocation(colTarget, rowTarget);
@@ -59179,11 +59189,42 @@
59179
59189
  }
59180
59190
  }
59181
59191
  scene.updateContainer();
59182
- for (let col = updateColStart; col <= updateColEnd; col++) {
59183
- const columnGroup = table.scenegraph.getColGroup(col);
59184
- columnGroup?.setAttribute('chartInstance', undefined);
59185
- for (let row = updateRowStart; row <= updateRowEnd; row++) {
59186
- scene.updateCellContent(col, row);
59192
+ if (direction === 'column') {
59193
+ for (let col = updateColStart; col <= updateColEnd; col++) {
59194
+ const columnGroup = table.scenegraph.getColGroup(col);
59195
+ columnGroup?.setAttribute('chartInstance', undefined);
59196
+ for (let row = 0; row <= table.frozenRowCount - 1; row++) {
59197
+ scene.updateCellContent(col, row);
59198
+ }
59199
+ for (let row = scene.bodyRowStart; row <= scene.bodyRowEnd; row++) {
59200
+ scene.updateCellContent(col, row);
59201
+ }
59202
+ for (let row = table.rowCount - table.bottomFrozenRowCount; row <= table.rowCount - 1; row++) {
59203
+ scene.updateCellContent(col, row);
59204
+ }
59205
+ }
59206
+ }
59207
+ else {
59208
+ for (let col = 0; col <= table.frozenColCount - 1; col++) {
59209
+ const columnGroup = table.scenegraph.getColGroup(col);
59210
+ columnGroup?.setAttribute('chartInstance', undefined);
59211
+ for (let row = updateRowStart; row <= updateRowEnd; row++) {
59212
+ scene.updateCellContent(col, row);
59213
+ }
59214
+ }
59215
+ for (let col = scene.bodyColStart; col <= scene.bodyColEnd; col++) {
59216
+ const columnGroup = table.scenegraph.getColGroup(col);
59217
+ columnGroup?.setAttribute('chartInstance', undefined);
59218
+ for (let row = updateRowStart; row <= updateRowEnd; row++) {
59219
+ scene.updateCellContent(col, row);
59220
+ }
59221
+ }
59222
+ for (let col = table.colCount - table.rightFrozenColCount; col <= table.colCount - 1; col++) {
59223
+ const columnGroup = table.scenegraph.getColGroup(col);
59224
+ columnGroup?.setAttribute('chartInstance', undefined);
59225
+ for (let row = updateRowStart; row <= updateRowEnd; row++) {
59226
+ scene.updateCellContent(col, row);
59227
+ }
59187
59228
  }
59188
59229
  }
59189
59230
  }
@@ -60529,7 +60570,8 @@
60529
60570
  const axisConfig = table.internalProps.layoutMap.getAxisConfigInPivotChart(cell.col, cell.row);
60530
60571
  const cellStyle = table._getCellStyle(cell.col, cell.row);
60531
60572
  const padding = getQuadProps(getProp('padding', cellStyle, cell.col, cell.row, table));
60532
- const axis = new CartesianAxis(axisConfig, cell.attribute.width, cell.attribute.height, padding, table);
60573
+ const spec = table.internalProps.layoutMap.getRawChartSpec(cell.col, cell.row);
60574
+ const axis = new CartesianAxis(axisConfig, cell.attribute.width, cell.attribute.height, padding, spec?.theme, table);
60533
60575
  cell.clear();
60534
60576
  cell.appendChild(axis.component);
60535
60577
  axis.overlap();
@@ -64574,6 +64616,9 @@
64574
64616
  }
64575
64617
  }
64576
64618
  }
64619
+ if (table.editorManager) {
64620
+ table.editorManager.completeEdit();
64621
+ }
64577
64622
  stateManager.updateInteractionState(InteractionState.default);
64578
64623
  eventManager.dealTableHover();
64579
64624
  });
@@ -68426,7 +68471,7 @@
68426
68471
  return TABLE_EVENT_TYPE;
68427
68472
  }
68428
68473
  options;
68429
- version = "0.16.2-alpha.0";
68474
+ version = "0.16.2";
68430
68475
  pagination;
68431
68476
  id = `VTable${Date.now()}`;
68432
68477
  headerStyleCache;
@@ -76288,6 +76333,21 @@
76288
76333
  }
76289
76334
  };
76290
76335
  }
76336
+ return {
76337
+ value() {
76338
+ return changeValue;
76339
+ },
76340
+ className: '',
76341
+ push() {
76342
+ },
76343
+ formatValue() {
76344
+ return changeValue;
76345
+ },
76346
+ clearCacheValue() {
76347
+ },
76348
+ reset() {
76349
+ }
76350
+ };
76291
76351
  }
76292
76352
  return agg
76293
76353
  ? agg
@@ -76846,6 +76906,9 @@
76846
76906
  this.internalProps.columnResizeType = options.columnResizeType ?? 'column';
76847
76907
  this.internalProps.dataConfig = cloneDeep$1(options.dataConfig);
76848
76908
  this.internalProps.enableDataAnalysis = options.enableDataAnalysis;
76909
+ if (!options.rowTree && !options.columnTree) {
76910
+ this.internalProps.enableDataAnalysis = true;
76911
+ }
76849
76912
  const records = this.internalProps.records;
76850
76913
  if (this.internalProps.enableDataAnalysis && (options.rows || options.columns)) {
76851
76914
  const rowKeys = options.rows?.reduce((keys, rowObj) => {
@@ -76956,6 +77019,9 @@
76956
77019
  internalProps.columnResizeType = options.columnResizeType ?? 'column';
76957
77020
  internalProps.dataConfig = cloneDeep$1(options.dataConfig);
76958
77021
  internalProps.enableDataAnalysis = options.enableDataAnalysis;
77022
+ if (!options.rowTree && !options.columnTree) {
77023
+ internalProps.enableDataAnalysis = true;
77024
+ }
76959
77025
  if (options?.rowHierarchyType === 'tree' &&
76960
77026
  this.internalProps.layoutMap.rowHierarchyType === 'tree' &&
76961
77027
  this.internalProps.layoutMap.rowExpandLevel === options?.rowExpandLevel) {
@@ -77139,7 +77205,7 @@
77139
77205
  }
77140
77206
  if (this.internalProps.layoutMap.isHeader(col, row)) {
77141
77207
  const { title, fieldFormat } = this.internalProps.layoutMap.getHeader(col, row);
77142
- return typeof fieldFormat === 'function' ? fieldFormat(title) : title;
77208
+ return typeof fieldFormat === 'function' ? fieldFormat(title, col, row, this) : title;
77143
77209
  }
77144
77210
  if (this.dataset) {
77145
77211
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row);
@@ -77163,16 +77229,15 @@
77163
77229
  const valueNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey);
77164
77230
  const { fieldFormat } = this.internalProps.layoutMap.getBody(col, row);
77165
77231
  return typeof fieldFormat === 'function'
77166
- ? fieldFormat(valueNode?.record, col, row, this)
77232
+ ? fieldFormat(valueNode?.value, col, row, this)
77167
77233
  : valueNode?.value ?? '';
77168
77234
  }
77169
77235
  const { fieldFormat } = this.internalProps.layoutMap.getBody(col, row);
77170
77236
  const rowIndex = this.getBodyIndexByRow(row);
77171
77237
  const colIndex = this.getBodyIndexByCol(col);
77172
77238
  const dataValue = this.records[rowIndex]?.[colIndex];
77173
- const cellHeaderPaths = this.internalProps.layoutMap.getCellHeaderPaths(col, row);
77174
77239
  if (typeof fieldFormat === 'function') {
77175
- const fieldResult = fieldFormat({ dataValue, ...cellHeaderPaths }, col, row, this);
77240
+ const fieldResult = fieldFormat(dataValue, col, row, this);
77176
77241
  return fieldResult;
77177
77242
  }
77178
77243
  return dataValue;
@@ -77446,6 +77511,9 @@
77446
77511
  }
77447
77512
  this.eventManager.updateEventBinder();
77448
77513
  }
77514
+ completeEditCell() {
77515
+ this.editorManager.completeEdit();
77516
+ }
77449
77517
  getEditor(col, row) {
77450
77518
  const define = this.getBodyColumnDefine(col, row);
77451
77519
  let editorDefine = define?.editor ?? this.options.editor;
@@ -77772,7 +77840,7 @@
77772
77840
  }
77773
77841
  if (this.internalProps.layoutMap.isHeader(col, row)) {
77774
77842
  const { title, fieldFormat } = this.internalProps.layoutMap.getHeader(col, row);
77775
- return typeof fieldFormat === 'function' ? fieldFormat(title) : title;
77843
+ return typeof fieldFormat === 'function' ? fieldFormat(title, col, row, this) : title;
77776
77844
  }
77777
77845
  if (this.dataset) {
77778
77846
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row);
@@ -77789,9 +77857,8 @@
77789
77857
  const rowIndex = this.getBodyIndexByRow(row);
77790
77858
  const colIndex = this.getBodyIndexByCol(col);
77791
77859
  const dataValue = this.records[rowIndex]?.[colIndex];
77792
- const cellHeaderPaths = this.internalProps.layoutMap.getCellHeaderPaths(col, row);
77793
77860
  if (typeof fieldFormat === 'function') {
77794
- const fieldResult = fieldFormat({ dataValue, ...cellHeaderPaths }, col, row, this);
77861
+ const fieldResult = fieldFormat(dataValue, col, row, this);
77795
77862
  return fieldResult;
77796
77863
  }
77797
77864
  return dataValue;
@@ -78847,7 +78914,7 @@
78847
78914
  return new Tag$1(params ? params.attribute : {});
78848
78915
  }
78849
78916
 
78850
- const version = "0.16.2-alpha.0";
78917
+ const version = "0.16.2";
78851
78918
  function getIcons() {
78852
78919
  return get$2();
78853
78920
  }