@visactor/vtable 0.9.1-alpha.5 → 0.9.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 (47) hide show
  1. package/cjs/core/BaseTable.js +2 -2
  2. package/cjs/core/BaseTable.js.map +1 -1
  3. package/cjs/index.d.ts +1 -1
  4. package/cjs/index.js +1 -1
  5. package/cjs/index.js.map +1 -1
  6. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js +5 -4
  7. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  8. package/cjs/scenegraph/layout/frozen.d.ts +3 -0
  9. package/cjs/scenegraph/layout/frozen.js +66 -0
  10. package/cjs/scenegraph/layout/frozen.js.map +1 -0
  11. package/cjs/scenegraph/layout/update-width.js +1 -1
  12. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  13. package/cjs/scenegraph/refresh-node/update-chart.js +5 -5
  14. package/cjs/scenegraph/refresh-node/update-chart.js.map +1 -1
  15. package/cjs/scenegraph/scenegraph.js +7 -47
  16. package/cjs/scenegraph/scenegraph.js.map +1 -1
  17. package/cjs/scenegraph/style/frame-border.d.ts +1 -1
  18. package/cjs/scenegraph/style/frame-border.js +3 -3
  19. package/cjs/scenegraph/style/frame-border.js.map +1 -1
  20. package/cjs/scenegraph/utils/text-icon-layout.js +2 -2
  21. package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
  22. package/dist/vtable.es5.js +129 -109
  23. package/dist/vtable.es5.min.js +1 -1
  24. package/dist/vtable.js +129 -109
  25. package/dist/vtable.min.js +2 -2
  26. package/es/core/BaseTable.js +2 -2
  27. package/es/core/BaseTable.js.map +1 -1
  28. package/es/index.d.ts +1 -1
  29. package/es/index.js +1 -1
  30. package/es/index.js.map +1 -1
  31. package/es/scenegraph/group-creater/cell-type/chart-cell.js +5 -4
  32. package/es/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  33. package/es/scenegraph/layout/frozen.d.ts +3 -0
  34. package/es/scenegraph/layout/frozen.js +58 -0
  35. package/es/scenegraph/layout/frozen.js.map +1 -0
  36. package/es/scenegraph/layout/update-width.js +1 -1
  37. package/es/scenegraph/layout/update-width.js.map +1 -1
  38. package/es/scenegraph/refresh-node/update-chart.js +5 -5
  39. package/es/scenegraph/refresh-node/update-chart.js.map +1 -1
  40. package/es/scenegraph/scenegraph.js +8 -46
  41. package/es/scenegraph/scenegraph.js.map +1 -1
  42. package/es/scenegraph/style/frame-border.d.ts +1 -1
  43. package/es/scenegraph/style/frame-border.js +3 -3
  44. package/es/scenegraph/style/frame-border.js.map +1 -1
  45. package/es/scenegraph/utils/text-icon-layout.js +2 -2
  46. package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
  47. package/package.json +4 -3
@@ -43,8 +43,8 @@ class BaseTable extends EventTarget_1.EventTarget {
43
43
  }
44
44
  constructor(options = {}) {
45
45
  var _a, _b, _c, _d, _e, _f, _g, _h;
46
- super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.9.1-alpha.5",
47
- this.id = `VTable${Date.now()}`, this.throttleInvalidate = (0, util_1.throttle2)(this.invalidate.bind(this), 200);
46
+ super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.9.1", this.id = `VTable${Date.now()}`,
47
+ this.throttleInvalidate = (0, util_1.throttle2)(this.invalidate.bind(this), 200);
48
48
  const {frozenColCount: frozenColCount = 0, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth, widthMode: widthMode = "standard", keyboardOptions: keyboardOptions, parentElement: parentElement, columnResizeMode: columnResizeMode, dragHeaderMode: dragHeaderMode, showFrozenIcon: showFrozenIcon, allowFrozenColCount: allowFrozenColCount, padding: padding, hover: hover, menu: menu, select: click, customRender: customRender, pixelRatio: pixelRatio = pixel_ratio_1.defaultPixelRatio} = options;
49
49
  this.options = options, this._widthMode = widthMode, this.customRender = customRender,
50
50
  this.padding = {