@visactor/vtable 1.22.7-alpha.1 → 1.22.7-alpha.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 (51) hide show
  1. package/cjs/ListTable.js +1 -1
  2. package/cjs/ListTable.js.map +1 -1
  3. package/cjs/PivotChart.js.map +1 -1
  4. package/cjs/body-helper/body-helper.js +2 -1
  5. package/cjs/body-helper/style.js +1 -2
  6. package/cjs/core/BaseTable.js +1 -1
  7. package/cjs/core/BaseTable.js.map +1 -1
  8. package/cjs/dataset/dataset-pivot-table.js +1 -2
  9. package/cjs/edit/editors.js +2 -1
  10. package/cjs/event/event.js.map +1 -1
  11. package/cjs/index.d.ts +1 -1
  12. package/cjs/index.js +1 -1
  13. package/cjs/index.js.map +1 -1
  14. package/cjs/layout/pivot-header-layout.js.map +1 -1
  15. package/cjs/plugins/plugin-manager.d.ts +1 -1
  16. package/cjs/plugins/plugin-manager.js +2 -2
  17. package/cjs/plugins/plugin-manager.js.map +1 -1
  18. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  19. package/cjs/scenegraph/graphic/contributions/chart-render.js.map +1 -1
  20. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  21. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  22. package/cjs/scenegraph/scenegraph.js.map +1 -1
  23. package/cjs/state/state.js.map +1 -1
  24. package/cjs/vrender.js.map +1 -1
  25. package/dist/vtable.js +67 -68
  26. package/dist/vtable.min.js +1 -1
  27. package/es/ListTable.js +1 -1
  28. package/es/ListTable.js.map +1 -1
  29. package/es/PivotChart.js.map +1 -1
  30. package/es/body-helper/body-helper.js +2 -1
  31. package/es/body-helper/style.js +1 -2
  32. package/es/core/BaseTable.js +1 -1
  33. package/es/core/BaseTable.js.map +1 -1
  34. package/es/dataset/dataset-pivot-table.js +1 -2
  35. package/es/edit/editors.js +2 -1
  36. package/es/event/event.js.map +1 -1
  37. package/es/index.d.ts +1 -1
  38. package/es/index.js +1 -1
  39. package/es/index.js.map +1 -1
  40. package/es/layout/pivot-header-layout.js.map +1 -1
  41. package/es/plugins/plugin-manager.d.ts +1 -1
  42. package/es/plugins/plugin-manager.js +2 -2
  43. package/es/plugins/plugin-manager.js.map +1 -1
  44. package/es/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  45. package/es/scenegraph/graphic/contributions/chart-render.js.map +1 -1
  46. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  47. package/es/scenegraph/layout/update-width.js.map +1 -1
  48. package/es/scenegraph/scenegraph.js.map +1 -1
  49. package/es/state/state.js.map +1 -1
  50. package/es/vrender.js.map +1 -1
  51. package/package.json +2 -2
package/dist/vtable.js CHANGED
@@ -45457,8 +45457,8 @@
45457
45457
  const type = isVtableMerge || isCustomMerge
45458
45458
  ? 'text'
45459
45459
  : table.isHeader(col, row)
45460
- ? (table._getHeaderLayoutMap(col, row).headerType ?? 'text')
45461
- : (table.getBodyColumnType(col, row) ?? 'text');
45460
+ ? table._getHeaderLayoutMap(col, row).headerType ?? 'text'
45461
+ : table.getBodyColumnType(col, row) ?? 'text';
45462
45462
  const padding = cellTheme._vtable.padding;
45463
45463
  const textAlign = cellTheme.text.textAlign;
45464
45464
  const textBaseline = cellTheme.text.textBaseline;
@@ -47131,8 +47131,8 @@
47131
47131
  const type = isVtableMerge || isCustomMerge
47132
47132
  ? 'text'
47133
47133
  : scene.table.isHeader(col, row)
47134
- ? (scene.table._getHeaderLayoutMap(col, row).headerType ?? 'text')
47135
- : (scene.table.getBodyColumnType(col, row) ?? 'text');
47134
+ ? scene.table._getHeaderLayoutMap(col, row).headerType ?? 'text'
47135
+ : scene.table.getBodyColumnType(col, row) ?? 'text';
47136
47136
  let isHeightChange = false;
47137
47137
  if (type === 'progressbar') {
47138
47138
  const columnDefine = scene.table.getBodyColumnDefine(col, row);
@@ -50605,18 +50605,18 @@
50605
50605
  dataBatch.push({
50606
50606
  id: dataIdStr,
50607
50607
  values: dataIdAndField
50608
- ? (data?.filter((item) => {
50608
+ ? data?.filter((item) => {
50609
50609
  return item.hasOwnProperty(dataIdAndField);
50610
- }) ?? [])
50611
- : (data ?? []),
50610
+ }) ?? []
50611
+ : data ?? [],
50612
50612
  fields: series?.data?.fields
50613
50613
  });
50614
50614
  if (!chartInstance.updateFullDataSync) {
50615
50615
  chartInstance.updateDataSync(dataIdStr, dataIdAndField
50616
- ? (data?.filter((item) => {
50616
+ ? data?.filter((item) => {
50617
50617
  return item.hasOwnProperty(dataIdAndField);
50618
- }) ?? [])
50619
- : (data ?? []));
50618
+ }) ?? []
50619
+ : data ?? []);
50620
50620
  }
50621
50621
  }
50622
50622
  chartInstance.getChart().setLayoutTag(true);
@@ -50783,18 +50783,18 @@
50783
50783
  dataBatch.push({
50784
50784
  id: dataIdStr,
50785
50785
  values: dataIdAndField
50786
- ? (data?.filter((item) => {
50786
+ ? data?.filter((item) => {
50787
50787
  return item.hasOwnProperty(dataIdAndField);
50788
- }) ?? [])
50789
- : (data ?? []),
50788
+ }) ?? []
50789
+ : data ?? [],
50790
50790
  fields: series?.data?.fields
50791
50791
  });
50792
50792
  if (!activeChartInstance.updateFullDataSync) {
50793
50793
  activeChartInstance.updateDataSync(dataIdStr, dataIdAndField
50794
- ? (data?.filter((item) => {
50794
+ ? data?.filter((item) => {
50795
50795
  return item.hasOwnProperty(dataIdAndField);
50796
- }) ?? [])
50797
- : (data ?? []));
50796
+ }) ?? []
50797
+ : data ?? []);
50798
50798
  }
50799
50799
  }
50800
50800
  activeChartInstance.updateFullDataSync?.(dataBatch);
@@ -58170,8 +58170,7 @@
58170
58170
  : this.table.options.indicatorsAsCol
58171
58171
  ? row !== this.table.stateManager.hover.cellPos.row ||
58172
58172
  this.table.stateManager.hover.cellPos.col < this.table.frozenColCount ||
58173
- this.table.stateManager.hover.cellPos.col >
58174
- this.table.colCount - 1 - this.table.rightFrozenColCount
58173
+ this.table.stateManager.hover.cellPos.col > this.table.colCount - 1 - this.table.rightFrozenColCount
58175
58174
  : col !== this.table.stateManager.hover.cellPos.col ||
58176
58175
  this.table.stateManager.hover.cellPos.row < this.table.frozenRowCount ||
58177
58176
  this.table.stateManager.hover.cellPos.row >
@@ -58469,16 +58468,16 @@
58469
58468
  if (rectAttributes?.strokeArrayWidth) {
58470
58469
  borderTop = rectAttributes.strokeArrayWidth
58471
58470
  ? rectAttributes.strokeArrayWidth[0]
58472
- : (rectAttributes.lineWidth ?? 0);
58471
+ : rectAttributes.lineWidth ?? 0;
58473
58472
  borderRight = rectAttributes.strokeArrayWidth
58474
58473
  ? rectAttributes.strokeArrayWidth[1]
58475
- : (rectAttributes.lineWidth ?? 0);
58474
+ : rectAttributes.lineWidth ?? 0;
58476
58475
  borderBottom = rectAttributes.strokeArrayWidth
58477
58476
  ? rectAttributes.strokeArrayWidth[2]
58478
- : (rectAttributes.lineWidth ?? 0);
58477
+ : rectAttributes.lineWidth ?? 0;
58479
58478
  borderLeft = rectAttributes.strokeArrayWidth
58480
58479
  ? rectAttributes.strokeArrayWidth[3]
58481
- : (rectAttributes.lineWidth ?? 0);
58480
+ : rectAttributes.lineWidth ?? 0;
58482
58481
  }
58483
58482
  else {
58484
58483
  borderTop = rectAttributes?.lineWidth ?? 0;
@@ -61925,7 +61924,7 @@
61925
61924
  function flatten(cols, parentStartIndex = 0) {
61926
61925
  cols.forEach((col) => {
61927
61926
  const startIndex = col.startInTotal
61928
- ? (col.startInTotal + state.table.internalProps.layoutMap.leftRowSeriesNumberColumnCount ?? 0)
61927
+ ? col.startInTotal + state.table.internalProps.layoutMap.leftRowSeriesNumberColumnCount ?? 0
61929
61928
  : parentStartIndex;
61930
61929
  if (col.columns) {
61931
61930
  flatten(col.columns, startIndex);
@@ -65531,7 +65530,7 @@
65531
65530
  }
65532
65531
  const shiftMultiSelect = this.table.keyboardOptions?.shiftMultiSelect ?? true;
65533
65532
  const ctrlMultiSelect = this.table.keyboardOptions?.ctrlMultiSelect ?? true;
65534
- this.table.stateManager.updateSelectPos(this.table.stateManager.select.selectInline === 'row' ? this.table.colCount - 1 : eventArgs.col, this.table.stateManager.select.selectInline === 'col' ? this.table.rowCount - 1 : eventArgs.row, eventArgs.event.shiftKey && shiftMultiSelect, (eventArgs.event.ctrlKey || eventArgs.event.metaKey) && ctrlMultiSelect, false, isSelectMoving ? false : (this.table.options.select?.makeSelectCellVisible ?? true));
65533
+ this.table.stateManager.updateSelectPos(this.table.stateManager.select.selectInline === 'row' ? this.table.colCount - 1 : eventArgs.col, this.table.stateManager.select.selectInline === 'col' ? this.table.rowCount - 1 : eventArgs.row, eventArgs.event.shiftKey && shiftMultiSelect, (eventArgs.event.ctrlKey || eventArgs.event.metaKey) && ctrlMultiSelect, false, isSelectMoving ? false : this.table.options.select?.makeSelectCellVisible ?? true);
65535
65534
  return true;
65536
65535
  }
65537
65536
  return false;
@@ -70046,7 +70045,7 @@
70046
70045
  return Array.from(this.plugins.values()).find(plugin => plugin.name === name);
70047
70046
  }
70048
70047
  _bindTableEventForPlugin(plugin) {
70049
- plugin.runTime?.forEach(runTime => {
70048
+ plugin.runTime?.forEach((runTime) => {
70050
70049
  const id = this.table.on(runTime, (...args) => {
70051
70050
  plugin.run?.(...args, runTime, this.table);
70052
70051
  });
@@ -70068,8 +70067,8 @@
70068
70067
  this._bindTableEventForPlugin(plugin);
70069
70068
  });
70070
70069
  }
70071
- updatePlugins() {
70072
- this.plugins.forEach(plugin => {
70070
+ updatePlugins(plugins) {
70071
+ plugins?.forEach(plugin => {
70073
70072
  if (plugin.update) {
70074
70073
  plugin.update();
70075
70074
  }
@@ -70119,7 +70118,7 @@
70119
70118
  return TABLE_EVENT_TYPE;
70120
70119
  }
70121
70120
  options;
70122
- version = "1.22.7-alpha.1";
70121
+ version = "1.22.7-alpha.3";
70123
70122
  pagination;
70124
70123
  id = `VTable${Date.now()}`;
70125
70124
  headerStyleCache;
@@ -78349,7 +78348,7 @@
78349
78348
  this.internalProps.emptyTip?.resetVisible();
78350
78349
  }
78351
78350
  }
78352
- this.pluginManager.updatePlugins();
78351
+ this.pluginManager.updatePlugins(options.plugins);
78353
78352
  setTimeout(() => {
78354
78353
  this.fireListeners(TABLE_EVENT_TYPE.UPDATED, null);
78355
78354
  }, 0);
@@ -87230,7 +87229,7 @@
87230
87229
  this._indicators?.length > 0 &&
87231
87230
  !this._rowHeaderCellIds?.length
87232
87231
  ? 1
87233
- : (this._rowHeaderCellIds?.length ?? 0)) +
87232
+ : this._rowHeaderCellIds?.length ?? 0) +
87234
87233
  this.columnHeaderLevelCount +
87235
87234
  this.bottomHeaderRowCount);
87236
87235
  }
@@ -87376,14 +87375,14 @@
87376
87375
  if (this.indicatorsAsCol) {
87377
87376
  const indicatorKey = paths.colHeaderPaths?.find(colPath => colPath.indicatorKey)?.indicatorKey;
87378
87377
  const body = isValid$3(indicatorKey)
87379
- ? (this._indicators?.find(indicator => indicator.indicatorKey === indicatorKey) ??
87378
+ ? this._indicators?.find(indicator => indicator.indicatorKey === indicatorKey) ??
87380
87379
  this._indicators[0] ?? {
87381
87380
  id: '',
87382
87381
  field: undefined,
87383
87382
  indicatorKey: undefined,
87384
87383
  cellType: 'text',
87385
87384
  define: undefined
87386
- })
87385
+ }
87387
87386
  : {
87388
87387
  id: '',
87389
87388
  field: undefined,
@@ -87396,14 +87395,14 @@
87396
87395
  }
87397
87396
  const indicatorKey = paths.rowHeaderPaths?.find(rowPath => rowPath.indicatorKey)?.indicatorKey;
87398
87397
  const body = isValid$3(indicatorKey)
87399
- ? (this._indicators?.find(indicator => indicator.indicatorKey === indicatorKey) ??
87398
+ ? this._indicators?.find(indicator => indicator.indicatorKey === indicatorKey) ??
87400
87399
  this._indicators[0] ?? {
87401
87400
  id: '',
87402
87401
  field: undefined,
87403
87402
  indicatorKey: undefined,
87404
87403
  cellType: 'text',
87405
87404
  define: undefined
87406
- })
87405
+ }
87407
87406
  : {
87408
87407
  id: '',
87409
87408
  field: undefined,
@@ -87650,7 +87649,7 @@
87650
87649
  rowHeaderPath.value =
87651
87650
  rowHeader.value ??
87652
87651
  (rowHeader.indicatorKey
87653
- ? (this.getIndicatorInfoByIndicatorKey(rowHeader.indicatorKey)?.title ?? '')
87652
+ ? this.getIndicatorInfoByIndicatorKey(rowHeader.indicatorKey)?.title ?? ''
87654
87653
  : rowHeader.value);
87655
87654
  rowHeaderPath.virtual = rowHeader.virtual;
87656
87655
  rowHeaderPath.role = rowHeader.role;
@@ -88756,10 +88755,10 @@
88756
88755
  if (chartSpec) {
88757
88756
  dimensionKey =
88758
88757
  type === 'yField'
88759
- ? (chartSpec.yField ?? chartSpec?.series?.[0]?.yField)
88758
+ ? chartSpec.yField ?? chartSpec?.series?.[0]?.yField
88760
88759
  : chartSpec.type === 'histogram'
88761
88760
  ? chartSpec.x2Field
88762
- : (chartSpec.xField ?? chartSpec?.series?.[0]?.xField);
88761
+ : chartSpec.xField ?? chartSpec?.series?.[0]?.xField;
88763
88762
  if (dimensionKey) {
88764
88763
  return dimensionKey;
88765
88764
  }
@@ -88769,10 +88768,10 @@
88769
88768
  if (chartSpec) {
88770
88769
  dimensionKey =
88771
88770
  type === 'yField'
88772
- ? (chartSpec.yField ?? chartSpec?.series?.[0]?.yField)
88771
+ ? chartSpec.yField ?? chartSpec?.series?.[0]?.yField
88773
88772
  : chartSpec.type === 'histogram'
88774
88773
  ? chartSpec.x2Field
88775
- : (chartSpec.xField ?? chartSpec?.series?.[0]?.xField);
88774
+ : chartSpec.xField ?? chartSpec?.series?.[0]?.xField;
88776
88775
  if (dimensionKey) {
88777
88776
  return dimensionKey;
88778
88777
  }
@@ -88786,10 +88785,10 @@
88786
88785
  type === 'xField'
88787
88786
  ? chartSpec.type === 'histogram'
88788
88787
  ? chartSpec.x2Field
88789
- : (chartSpec.xField ?? chartSpec?.series?.[0]?.xField)
88788
+ : chartSpec.xField ?? chartSpec?.series?.[0]?.xField
88790
88789
  : chartSpec.type === 'histogram'
88791
88790
  ? chartSpec.y2Field
88792
- : (chartSpec.yField ?? chartSpec?.series?.[0]?.yField);
88791
+ : chartSpec.yField ?? chartSpec?.series?.[0]?.yField;
88793
88792
  if (dimensionKey) {
88794
88793
  return dimensionKey;
88795
88794
  }
@@ -88801,8 +88800,8 @@
88801
88800
  type === 'xField'
88802
88801
  ? chartSpec.type === 'histogram'
88803
88802
  ? chartSpec.x2Field
88804
- : (chartSpec.xField ?? chartSpec?.series?.[0]?.xField)
88805
- : (chartSpec.yField ?? chartSpec?.series?.[0]?.yField);
88803
+ : chartSpec.xField ?? chartSpec?.series?.[0]?.xField
88804
+ : chartSpec.yField ?? chartSpec?.series?.[0]?.yField;
88806
88805
  if (dimensionKey) {
88807
88806
  return dimensionKey;
88808
88807
  }
@@ -93142,7 +93141,7 @@
93142
93141
  }
93143
93142
  const rowKeys = rowDimensionTree?.dimensionKeys?.count
93144
93143
  ? rowDimensionTree.dimensionKeys.valueArr()
93145
- : (options.rows?.reduce((keys, rowObj) => {
93144
+ : options.rows?.reduce((keys, rowObj) => {
93146
93145
  if (typeof rowObj === 'string') {
93147
93146
  keys.push(rowObj);
93148
93147
  }
@@ -93150,10 +93149,10 @@
93150
93149
  keys.push(rowObj.dimensionKey);
93151
93150
  }
93152
93151
  return keys;
93153
- }, []) ?? []);
93152
+ }, []) ?? [];
93154
93153
  const columnKeys = columnDimensionTree?.dimensionKeys?.count
93155
93154
  ? columnDimensionTree.dimensionKeys.valueArr()
93156
- : (options.columns?.reduce((keys, columnObj) => {
93155
+ : options.columns?.reduce((keys, columnObj) => {
93157
93156
  if (typeof columnObj === 'string') {
93158
93157
  keys.push(columnObj);
93159
93158
  }
@@ -93161,7 +93160,7 @@
93161
93160
  keys.push(columnObj.dimensionKey);
93162
93161
  }
93163
93162
  return keys;
93164
- }, []) ?? []);
93163
+ }, []) ?? [];
93165
93164
  const indicatorKeys = options.indicators?.reduce((keys, indicatorObj) => {
93166
93165
  if (typeof indicatorObj === 'string') {
93167
93166
  keys.push(indicatorObj);
@@ -93310,7 +93309,7 @@
93310
93309
  }
93311
93310
  const rowKeys = rowDimensionTree?.dimensionKeys?.count
93312
93311
  ? rowDimensionTree.dimensionKeys.valueArr()
93313
- : (options.rows?.reduce((keys, rowObj) => {
93312
+ : options.rows?.reduce((keys, rowObj) => {
93314
93313
  if (typeof rowObj === 'string') {
93315
93314
  keys.push(rowObj);
93316
93315
  }
@@ -93318,10 +93317,10 @@
93318
93317
  keys.push(rowObj.dimensionKey);
93319
93318
  }
93320
93319
  return keys;
93321
- }, []) ?? []);
93320
+ }, []) ?? [];
93322
93321
  const columnKeys = columnDimensionTree?.dimensionKeys?.count
93323
93322
  ? columnDimensionTree.dimensionKeys.valueArr()
93324
- : (options.columns?.reduce((keys, columnObj) => {
93323
+ : options.columns?.reduce((keys, columnObj) => {
93325
93324
  if (typeof columnObj === 'string') {
93326
93325
  keys.push(columnObj);
93327
93326
  }
@@ -93329,7 +93328,7 @@
93329
93328
  keys.push(columnObj.dimensionKey);
93330
93329
  }
93331
93330
  return keys;
93332
- }, []) ?? []);
93331
+ }, []) ?? [];
93333
93332
  const indicatorKeys = options.indicators?.reduce((keys, indicatorObj) => {
93334
93333
  if (typeof indicatorObj === 'string') {
93335
93334
  keys.push(indicatorObj);
@@ -93729,7 +93728,7 @@
93729
93728
  type: chartSeries.direction !== 'horizontal' ? 'xField' : undefined,
93730
93729
  range: hasLinearAxis(chartSeries, this._axes, chartSeries.direction === 'horizontal', true),
93731
93730
  sortBy: chartSeries.direction !== 'horizontal'
93732
- ? (chartSeries?.data?.fields?.[xField]?.domain ?? indicatorSpec?.data?.fields?.[xField]?.domain)
93731
+ ? chartSeries?.data?.fields?.[xField]?.domain ?? indicatorSpec?.data?.fields?.[xField]?.domain
93733
93732
  : undefined
93734
93733
  };
93735
93734
  const yField = chartSeries.yField;
@@ -93741,7 +93740,7 @@
93741
93740
  range: hasLinearAxis(chartSeries, this._axes, chartSeries.direction === 'horizontal', false),
93742
93741
  sumBy: chartSeries.stack && columnKeys.concat(chartSeries?.xField),
93743
93742
  sortBy: chartSeries.direction === 'horizontal'
93744
- ? (chartSeries?.data?.fields?.[yField]?.domain ?? indicatorSpec?.data?.fields?.[yField]?.domain)
93743
+ ? chartSeries?.data?.fields?.[yField]?.domain ?? indicatorSpec?.data?.fields?.[yField]?.domain
93745
93744
  : undefined,
93746
93745
  extendRange: parseMarkLineGetExtendRange(indicatorSpec.markLine)
93747
93746
  };
@@ -93800,7 +93799,7 @@
93800
93799
  type: chartSeries.direction === 'horizontal' ? 'yField' : undefined,
93801
93800
  range: hasLinearAxis(chartSeries, this._axes, chartSeries.direction === 'horizontal', false),
93802
93801
  sortBy: chartSeries.direction === 'horizontal'
93803
- ? (chartSeries?.data?.fields?.[yField]?.domain ?? indicatorSpec?.data?.fields?.[yField]?.domain)
93802
+ ? chartSeries?.data?.fields?.[yField]?.domain ?? indicatorSpec?.data?.fields?.[yField]?.domain
93804
93803
  : undefined
93805
93804
  };
93806
93805
  const xField = chartSeries.xField;
@@ -93812,7 +93811,7 @@
93812
93811
  range: hasLinearAxis(chartSeries, this._axes, chartSeries.direction === 'horizontal', true),
93813
93812
  sumBy: chartSeries.stack && rowKeys.concat(chartSeries?.yField),
93814
93813
  sortBy: chartSeries.direction !== 'horizontal'
93815
- ? (chartSeries?.data?.fields?.[xField]?.domain ?? indicatorSpec?.data?.fields?.[xField]?.domain)
93814
+ ? chartSeries?.data?.fields?.[xField]?.domain ?? indicatorSpec?.data?.fields?.[xField]?.domain
93816
93815
  : undefined,
93817
93816
  extendRange: parseMarkLineGetExtendRange(indicatorSpec.markLine)
93818
93817
  };
@@ -94089,18 +94088,18 @@
94089
94088
  dataBatch.push({
94090
94089
  id: dataIdStr,
94091
94090
  values: dataIdAndField
94092
- ? (data?.filter((item) => {
94091
+ ? data?.filter((item) => {
94093
94092
  return item.hasOwnProperty(dataIdAndField);
94094
- }) ?? [])
94095
- : (data ?? []),
94093
+ }) ?? []
94094
+ : data ?? [],
94096
94095
  fields: series?.data?.fields
94097
94096
  });
94098
94097
  if (!chartInstance.updateFullDataSync) {
94099
94098
  chartInstance.updateDataSync(dataIdStr, dataIdAndField
94100
- ? (data?.filter((item) => {
94099
+ ? data?.filter((item) => {
94101
94100
  return item.hasOwnProperty(dataIdAndField);
94102
- }) ?? [])
94103
- : (data ?? []));
94101
+ }) ?? []
94102
+ : data ?? []);
94104
94103
  }
94105
94104
  }
94106
94105
  chartInstance.updateFullDataSync?.(dataBatch);
@@ -94161,18 +94160,18 @@
94161
94160
  dataBatch.push({
94162
94161
  id: dataIdStr,
94163
94162
  values: dataIdAndField
94164
- ? (data?.filter((item) => {
94163
+ ? data?.filter((item) => {
94165
94164
  return item.hasOwnProperty(dataIdAndField);
94166
- }) ?? [])
94167
- : (data ?? []),
94165
+ }) ?? []
94166
+ : data ?? [],
94168
94167
  fields: series?.data?.fields
94169
94168
  });
94170
94169
  if (!activeChartInstance.updateFullDataSync) {
94171
94170
  activeChartInstance.updateDataSync(dataIdStr, dataIdAndField
94172
- ? (data?.filter((item) => {
94171
+ ? data?.filter((item) => {
94173
94172
  return item.hasOwnProperty(dataIdAndField);
94174
- }) ?? [])
94175
- : (data ?? []));
94173
+ }) ?? []
94174
+ : data ?? []);
94176
94175
  }
94177
94176
  }
94178
94177
  activeChartInstance.updateFullDataSync?.(dataBatch);
@@ -94852,7 +94851,7 @@
94852
94851
  }
94853
94852
 
94854
94853
  registerForVrender();
94855
- const version = "1.22.7-alpha.1";
94854
+ const version = "1.22.7-alpha.3";
94856
94855
  function getIcons() {
94857
94856
  return get$2();
94858
94857
  }