@visactor/vtable 1.13.0 → 1.13.1-alpha.1

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/cjs/ListTable.js +1 -1
  2. package/cjs/ListTable.js.map +1 -1
  3. package/cjs/PivotTable.js +1 -1
  4. package/cjs/PivotTable.js.map +1 -1
  5. package/cjs/core/BaseTable.d.ts +3 -3
  6. package/cjs/core/BaseTable.js +3 -3
  7. package/cjs/core/BaseTable.js.map +1 -1
  8. package/cjs/edit/edit-manager.d.ts +2 -2
  9. package/cjs/edit/edit-manager.js +15 -7
  10. package/cjs/edit/edit-manager.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/plugins/custom-cell-style.d.ts +1 -1
  15. package/cjs/plugins/custom-cell-style.js +1 -2
  16. package/cjs/plugins/custom-cell-style.js.map +1 -1
  17. package/cjs/ts-types/base-table.d.ts +2 -2
  18. package/cjs/ts-types/base-table.js.map +1 -1
  19. package/cjs/ts-types/table-engine.d.ts +3 -3
  20. package/cjs/ts-types/table-engine.js.map +1 -1
  21. package/cjs/vrender.js.map +1 -1
  22. package/dist/vtable.js +42 -23
  23. package/dist/vtable.min.js +1 -1
  24. package/es/ListTable.js +2 -2
  25. package/es/ListTable.js.map +1 -1
  26. package/es/PivotTable.js +2 -2
  27. package/es/PivotTable.js.map +1 -1
  28. package/es/core/BaseTable.d.ts +3 -3
  29. package/es/core/BaseTable.js +3 -3
  30. package/es/core/BaseTable.js.map +1 -1
  31. package/es/edit/edit-manager.d.ts +2 -2
  32. package/es/edit/edit-manager.js +12 -4
  33. package/es/edit/edit-manager.js.map +1 -1
  34. package/es/index.d.ts +1 -1
  35. package/es/index.js +1 -1
  36. package/es/index.js.map +1 -1
  37. package/es/plugins/custom-cell-style.d.ts +1 -1
  38. package/es/plugins/custom-cell-style.js +1 -2
  39. package/es/plugins/custom-cell-style.js.map +1 -1
  40. package/es/ts-types/base-table.d.ts +2 -2
  41. package/es/ts-types/base-table.js.map +1 -1
  42. package/es/ts-types/table-engine.d.ts +3 -3
  43. package/es/ts-types/table-engine.js.map +1 -1
  44. package/es/vrender.js.map +1 -1
  45. package/package.json +3 -3
@@ -19,7 +19,7 @@ import { NumberRangeMap } from '../layout/row-height-map';
19
19
  import type { ITextGraphicAttribute } from './../vrender';
20
20
  import { ReactCustomLayout } from '../components/react/react-custom-layout';
21
21
  import type { ISortedMapItem } from '../data/DataSource';
22
- import type { EditManeger } from '../edit/edit-manager';
22
+ import type { EditManager } from '../edit/edit-manager';
23
23
  import { TableAnimationManager } from './animation';
24
24
  import type { ITableAnimationOption } from '../ts-types/animation/appear';
25
25
  import type { CustomCellStylePlugin } from '../plugins/custom-cell-style';
@@ -50,7 +50,7 @@ export declare abstract class BaseTable extends EventTarget implements BaseTable
50
50
  scenegraph: Scenegraph;
51
51
  stateManager: StateManager;
52
52
  eventManager: EventManager;
53
- editorManager: EditManeger;
53
+ editorManager: EditManager;
54
54
  animationManager: TableAnimationManager;
55
55
  _pixelRatio: number;
56
56
  canvasSizeSeted?: boolean;
@@ -398,7 +398,7 @@ export declare abstract class BaseTable extends EventTarget implements BaseTable
398
398
  col?: number;
399
399
  row?: number;
400
400
  range?: CellRange;
401
- }, customStyleId: string): void;
401
+ }, customStyleId: string, forceFastUpdate?: boolean): void;
402
402
  isSeriesNumber(col: number, row: number): boolean;
403
403
  isHasSeriesNumber(): boolean;
404
404
  get leftRowSeriesNumberCount(): number;
@@ -86,7 +86,7 @@ export class BaseTable extends EventTarget {
86
86
  }
87
87
  constructor(container, options = {}) {
88
88
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
89
- if (super(), this.showFrozenIcon = !0, this.version = "1.13.0", this.id = `VTable${Date.now()}`,
89
+ if (super(), this.showFrozenIcon = !0, this.version = "1.13.1-alpha.1", this.id = `VTable${Date.now()}`,
90
90
  this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200),
91
91
  !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
92
92
  const {frozenColCount: frozenColCount = 0, frozenRowCount: frozenRowCount, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth, widthMode: widthMode = "standard", heightMode: heightMode = "standard", autoFillWidth: autoFillWidth = !1, autoFillHeight: autoFillHeight = !1, widthAdaptiveMode: widthAdaptiveMode = "only-body", heightAdaptiveMode: heightAdaptiveMode = "only-body", keyboardOptions: keyboardOptions, eventOptions: eventOptions, rowSeriesNumber: rowSeriesNumber, columnResizeMode: columnResizeMode, rowResizeMode: rowResizeMode = "none", dragHeaderMode: dragHeaderMode, showFrozenIcon: showFrozenIcon, allowFrozenColCount: allowFrozenColCount, padding: padding, hover: hover, menu: menu, select: click, customRender: customRender, pixelRatio: pixelRatio = defaultPixelRatio, renderChartAsync: renderChartAsync, renderChartAsyncBatchCount: renderChartAsyncBatchCount, mode: mode, modeParams: modeParams, canvasWidth: canvasWidth, canvasHeight: canvasHeight, overscrollBehavior: overscrollBehavior, limitMinWidth: limitMinWidth, limitMinHeight: limitMinHeight, clearDOM: clearDOM = !0} = options;
@@ -1698,9 +1698,9 @@ export class BaseTable extends EventTarget {
1698
1698
  var _a;
1699
1699
  null === (_a = this.customCellStylePlugin) || void 0 === _a || _a.registerCustomCellStyle(customStyleId, customStyle);
1700
1700
  }
1701
- arrangeCustomCellStyle(cellPos, customStyleId) {
1701
+ arrangeCustomCellStyle(cellPos, customStyleId, forceFastUpdate) {
1702
1702
  var _a;
1703
- null === (_a = this.customCellStylePlugin) || void 0 === _a || _a.arrangeCustomCellStyle(cellPos, customStyleId);
1703
+ null === (_a = this.customCellStylePlugin) || void 0 === _a || _a.arrangeCustomCellStyle(cellPos, customStyleId, forceFastUpdate);
1704
1704
  }
1705
1705
  isSeriesNumber(col, row) {
1706
1706
  return this.internalProps.layoutMap.isSeriesNumber(col, row);