@visactor/vtable 0.14.1 → 0.14.2-alpha.0

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 (59) hide show
  1. package/cjs/core/BaseTable.js +1 -1
  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/component/custom.d.ts +1 -0
  7. package/cjs/scenegraph/component/custom.js +3 -2
  8. package/cjs/scenegraph/component/custom.js.map +1 -1
  9. package/cjs/scenegraph/group-creater/column-helper.js +1 -1
  10. package/cjs/scenegraph/group-creater/column-helper.js.map +1 -1
  11. package/cjs/scenegraph/group-creater/progress/proxy.js +3 -1
  12. package/cjs/scenegraph/group-creater/progress/proxy.js.map +1 -1
  13. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +6 -2
  14. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
  15. package/cjs/scenegraph/layout/compute-col-width.js +3 -2
  16. package/cjs/scenegraph/layout/compute-col-width.js.map +1 -1
  17. package/cjs/scenegraph/layout/compute-row-height.js +3 -2
  18. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  19. package/cjs/scenegraph/layout/update-row.js +31 -12
  20. package/cjs/scenegraph/layout/update-row.js.map +1 -1
  21. package/cjs/scenegraph/scenegraph.js +1 -1
  22. package/cjs/scenegraph/scenegraph.js.map +1 -1
  23. package/cjs/scenegraph/select/update-select-border.js +2 -2
  24. package/cjs/scenegraph/select/update-select-border.js.map +1 -1
  25. package/cjs/themes/DARK.js +2 -1
  26. package/cjs/themes/DEFAULT.js +1 -2
  27. package/cjs/ts-types/base-table.d.ts +2 -0
  28. package/cjs/ts-types/base-table.js.map +1 -1
  29. package/dist/vtable.js +66 -22
  30. package/dist/vtable.min.js +2 -2
  31. package/es/core/BaseTable.js +1 -1
  32. package/es/core/BaseTable.js.map +1 -1
  33. package/es/index.d.ts +1 -1
  34. package/es/index.js +1 -1
  35. package/es/index.js.map +1 -1
  36. package/es/scenegraph/component/custom.d.ts +1 -0
  37. package/es/scenegraph/component/custom.js +1 -1
  38. package/es/scenegraph/component/custom.js.map +1 -1
  39. package/es/scenegraph/group-creater/column-helper.js +1 -1
  40. package/es/scenegraph/group-creater/column-helper.js.map +1 -1
  41. package/es/scenegraph/group-creater/progress/proxy.js +3 -1
  42. package/es/scenegraph/group-creater/progress/proxy.js.map +1 -1
  43. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +6 -2
  44. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
  45. package/es/scenegraph/layout/compute-col-width.js +4 -3
  46. package/es/scenegraph/layout/compute-col-width.js.map +1 -1
  47. package/es/scenegraph/layout/compute-row-height.js +4 -3
  48. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  49. package/es/scenegraph/layout/update-row.js +32 -11
  50. package/es/scenegraph/layout/update-row.js.map +1 -1
  51. package/es/scenegraph/scenegraph.js +1 -1
  52. package/es/scenegraph/scenegraph.js.map +1 -1
  53. package/es/scenegraph/select/update-select-border.js +2 -2
  54. package/es/scenegraph/select/update-select-border.js.map +1 -1
  55. package/es/themes/DARK.js +2 -1
  56. package/es/themes/DEFAULT.js +1 -2
  57. package/es/ts-types/base-table.d.ts +2 -0
  58. package/es/ts-types/base-table.js.map +1 -1
  59. package/package.json +3 -3
@@ -72,7 +72,7 @@ export class BaseTable extends EventTarget {
72
72
  }
73
73
  constructor(container, options = {}) {
74
74
  var _a, _b, _c, _d, _e, _f, _g;
75
- if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.14.1",
75
+ if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.14.2-alpha.0",
76
76
  this.id = `VTable${Date.now()}`, this.isReleased = !1, this.throttleInvalidate = throttle2(this.render.bind(this), 200),
77
77
  !container && "node" !== options.mode) throw new Error("vtable's container is undefined");
78
78
  const {frozenColCount: frozenColCount = 0, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth, widthMode: widthMode = "standard", heightMode: heightMode = "standard", autoFillWidth: autoFillWidth = !1, autoFillHeight: autoFillHeight = !1, keyboardOptions: keyboardOptions, columnResizeMode: columnResizeMode, 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} = options;