@visactor/vtable 0.16.3-alpha.0 → 0.16.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 (93) hide show
  1. package/cjs/core/BaseTable.js +1 -1
  2. package/cjs/core/BaseTable.js.map +1 -1
  3. package/cjs/core/tableHelper.js +1 -2
  4. package/cjs/dataset/flatDataToObject.js +2 -1
  5. package/cjs/event/scroll.js +1 -0
  6. package/cjs/event/util.js +0 -1
  7. package/cjs/index.d.ts +1 -1
  8. package/cjs/index.js +1 -1
  9. package/cjs/index.js.map +1 -1
  10. package/cjs/layout/pivot-header-layout.js +15 -5
  11. package/cjs/layout/pivot-header-layout.js.map +1 -1
  12. package/cjs/layout/pivot-layout-helper.js +3 -1
  13. package/cjs/layout/pivot-layout-helper.js.map +1 -1
  14. package/cjs/scenegraph/component/custom.d.ts +1 -1
  15. package/cjs/scenegraph/component/custom.js +10 -4
  16. package/cjs/scenegraph/component/custom.js.map +1 -1
  17. package/cjs/scenegraph/group-creater/cell-helper.js +1 -1
  18. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  19. package/cjs/scenegraph/layout/compute-col-width.js +7 -2
  20. package/cjs/scenegraph/layout/compute-col-width.js.map +1 -1
  21. package/cjs/scenegraph/layout/compute-row-height.js +8 -3
  22. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  23. package/cjs/scenegraph/layout/update-height.js +3 -1
  24. package/cjs/scenegraph/layout/update-height.js.map +1 -1
  25. package/cjs/scenegraph/layout/update-width.js +3 -1
  26. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  27. package/cjs/scenegraph/scenegraph.d.ts +1 -0
  28. package/cjs/scenegraph/scenegraph.js +3 -2
  29. package/cjs/scenegraph/scenegraph.js.map +1 -1
  30. package/cjs/scenegraph/select/update-select-border.js +12 -0
  31. package/cjs/scenegraph/select/update-select-border.js.map +1 -1
  32. package/cjs/state/hover/is-cell-hover.js +12 -9
  33. package/cjs/state/hover/is-cell-hover.js.map +1 -1
  34. package/cjs/ts-types/customLayout.d.ts +1 -0
  35. package/cjs/ts-types/customLayout.js.map +1 -1
  36. package/cjs/ts-types/list-table/define/basic-define.d.ts +0 -1
  37. package/cjs/ts-types/list-table/define/basic-define.js.map +1 -1
  38. package/cjs/ts-types/pivot-table/corner.d.ts +2 -0
  39. package/cjs/ts-types/pivot-table/corner.js.map +1 -1
  40. package/cjs/ts-types/pivot-table/dimension/basic-dimension.d.ts +2 -0
  41. package/cjs/ts-types/pivot-table/dimension/basic-dimension.js.map +1 -1
  42. package/cjs/ts-types/pivot-table/indicator/basic-indicator.d.ts +4 -0
  43. package/cjs/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -1
  44. package/cjs/ts-types/pivot-table/title.d.ts +2 -0
  45. package/cjs/ts-types/pivot-table/title.js.map +1 -1
  46. package/dist/vtable.js +102 -21
  47. package/dist/vtable.min.js +2 -2
  48. package/es/core/BaseTable.js +1 -1
  49. package/es/core/BaseTable.js.map +1 -1
  50. package/es/core/tableHelper.js +1 -2
  51. package/es/dataset/flatDataToObject.js +2 -1
  52. package/es/event/scroll.js +2 -1
  53. package/es/event/util.js +1 -2
  54. package/es/index.d.ts +1 -1
  55. package/es/index.js +1 -1
  56. package/es/index.js.map +1 -1
  57. package/es/layout/pivot-header-layout.js +15 -5
  58. package/es/layout/pivot-header-layout.js.map +1 -1
  59. package/es/layout/pivot-layout-helper.js +3 -1
  60. package/es/layout/pivot-layout-helper.js.map +1 -1
  61. package/es/scenegraph/component/custom.d.ts +1 -1
  62. package/es/scenegraph/component/custom.js +10 -4
  63. package/es/scenegraph/component/custom.js.map +1 -1
  64. package/es/scenegraph/group-creater/cell-helper.js +1 -1
  65. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  66. package/es/scenegraph/layout/compute-col-width.js +6 -2
  67. package/es/scenegraph/layout/compute-col-width.js.map +1 -1
  68. package/es/scenegraph/layout/compute-row-height.js +7 -3
  69. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  70. package/es/scenegraph/layout/update-height.js +1 -1
  71. package/es/scenegraph/layout/update-height.js.map +1 -1
  72. package/es/scenegraph/layout/update-width.js +1 -1
  73. package/es/scenegraph/layout/update-width.js.map +1 -1
  74. package/es/scenegraph/scenegraph.d.ts +1 -0
  75. package/es/scenegraph/scenegraph.js +3 -2
  76. package/es/scenegraph/scenegraph.js.map +1 -1
  77. package/es/scenegraph/select/update-select-border.js +12 -0
  78. package/es/scenegraph/select/update-select-border.js.map +1 -1
  79. package/es/state/hover/is-cell-hover.js +12 -9
  80. package/es/state/hover/is-cell-hover.js.map +1 -1
  81. package/es/ts-types/customLayout.d.ts +1 -0
  82. package/es/ts-types/customLayout.js.map +1 -1
  83. package/es/ts-types/list-table/define/basic-define.d.ts +0 -1
  84. package/es/ts-types/list-table/define/basic-define.js.map +1 -1
  85. package/es/ts-types/pivot-table/corner.d.ts +2 -0
  86. package/es/ts-types/pivot-table/corner.js.map +1 -1
  87. package/es/ts-types/pivot-table/dimension/basic-dimension.d.ts +2 -0
  88. package/es/ts-types/pivot-table/dimension/basic-dimension.js.map +1 -1
  89. package/es/ts-types/pivot-table/indicator/basic-indicator.d.ts +4 -0
  90. package/es/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -1
  91. package/es/ts-types/pivot-table/title.d.ts +2 -0
  92. package/es/ts-types/pivot-table/title.js.map +1 -1
  93. package/package.json +4 -4
@@ -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.16.3-alpha.0",
48
+ if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.16.3",
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, limitMinWidth: limitMinWidth} = options;