@visactor/vtable 0.14.1 → 0.14.2-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 (63) 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 +73 -29
  20. package/cjs/scenegraph/layout/update-row.js.map +1 -1
  21. package/cjs/scenegraph/layout/update-width.js +8 -2
  22. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  23. package/cjs/scenegraph/scenegraph.js +1 -1
  24. package/cjs/scenegraph/scenegraph.js.map +1 -1
  25. package/cjs/scenegraph/select/update-select-border.js +2 -2
  26. package/cjs/scenegraph/select/update-select-border.js.map +1 -1
  27. package/cjs/state/select/update-position.js +28 -21
  28. package/cjs/state/select/update-position.js.map +1 -1
  29. package/cjs/ts-types/base-table.d.ts +2 -0
  30. package/cjs/ts-types/base-table.js.map +1 -1
  31. package/dist/vtable.js +165 -64
  32. package/dist/vtable.min.js +2 -2
  33. package/es/core/BaseTable.js +1 -1
  34. package/es/core/BaseTable.js.map +1 -1
  35. package/es/index.d.ts +1 -1
  36. package/es/index.js +1 -1
  37. package/es/index.js.map +1 -1
  38. package/es/scenegraph/component/custom.d.ts +1 -0
  39. package/es/scenegraph/component/custom.js +1 -1
  40. package/es/scenegraph/component/custom.js.map +1 -1
  41. package/es/scenegraph/group-creater/column-helper.js +1 -1
  42. package/es/scenegraph/group-creater/column-helper.js.map +1 -1
  43. package/es/scenegraph/group-creater/progress/proxy.js +3 -1
  44. package/es/scenegraph/group-creater/progress/proxy.js.map +1 -1
  45. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +6 -2
  46. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
  47. package/es/scenegraph/layout/compute-col-width.js +4 -3
  48. package/es/scenegraph/layout/compute-col-width.js.map +1 -1
  49. package/es/scenegraph/layout/compute-row-height.js +4 -3
  50. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  51. package/es/scenegraph/layout/update-row.js +73 -28
  52. package/es/scenegraph/layout/update-row.js.map +1 -1
  53. package/es/scenegraph/layout/update-width.js +8 -1
  54. package/es/scenegraph/layout/update-width.js.map +1 -1
  55. package/es/scenegraph/scenegraph.js +1 -1
  56. package/es/scenegraph/scenegraph.js.map +1 -1
  57. package/es/scenegraph/select/update-select-border.js +2 -2
  58. package/es/scenegraph/select/update-select-border.js.map +1 -1
  59. package/es/state/select/update-position.js +28 -21
  60. package/es/state/select/update-position.js.map +1 -1
  61. package/es/ts-types/base-table.d.ts +2 -0
  62. package/es/ts-types/base-table.js.map +1 -1
  63. package/package.json +1 -1
@@ -45,7 +45,7 @@ class BaseTable extends EventTarget_1.EventTarget {
45
45
  }
46
46
  constructor(container, options = {}) {
47
47
  var _a, _b, _c, _d, _e, _f, _g;
48
- if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.14.1",
48
+ if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.14.2-alpha.1",
49
49
  this.id = `VTable${Date.now()}`, this.isReleased = !1, this.throttleInvalidate = (0,
50
50
  util_1.throttle2)(this.render.bind(this), 200), !container && "node" !== options.mode) throw new Error("vtable's container is undefined");
51
51
  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 = pixel_ratio_1.defaultPixelRatio, renderChartAsync: renderChartAsync, renderChartAsyncBatchCount: renderChartAsyncBatchCount, mode: mode, modeParams: modeParams, canvasWidth: canvasWidth, canvasHeight: canvasHeight, overscrollBehavior: overscrollBehavior} = options;