@visactor/vtable 1.10.3 → 1.10.4-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 (79) hide show
  1. package/cjs/core/BaseTable.js +1 -1
  2. package/cjs/core/BaseTable.js.map +1 -1
  3. package/cjs/event/event.js +11 -3
  4. package/cjs/event/event.js.map +1 -1
  5. package/cjs/index.d.ts +4 -1
  6. package/cjs/index.js +3 -2
  7. package/cjs/index.js.map +1 -1
  8. package/cjs/layout/index.js +2 -1
  9. package/cjs/layout/pivot-header-layout.js +0 -1
  10. package/cjs/plugins/carousel-animation.d.ts +29 -0
  11. package/cjs/plugins/carousel-animation.js +60 -0
  12. package/cjs/plugins/carousel-animation.js.map +1 -0
  13. package/cjs/plugins/chartModules.js +1 -1
  14. package/cjs/plugins/custom-cell-style.js +22 -15
  15. package/cjs/plugins/custom-cell-style.js.map +1 -1
  16. package/cjs/plugins/header-highlight.d.ts +21 -0
  17. package/cjs/plugins/header-highlight.js +106 -0
  18. package/cjs/plugins/header-highlight.js.map +1 -0
  19. package/cjs/plugins/invert-highlight.d.ts +19 -0
  20. package/cjs/plugins/invert-highlight.js +72 -0
  21. package/cjs/plugins/invert-highlight.js.map +1 -0
  22. package/cjs/scenegraph/graphic/group.js +2 -1
  23. package/cjs/scenegraph/graphic/group.js.map +1 -1
  24. package/cjs/scenegraph/group-creater/cell-helper.js +5 -4
  25. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  26. package/cjs/scenegraph/layout/compute-row-height.js +7 -7
  27. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  28. package/cjs/scenegraph/layout/update-height.js +2 -2
  29. package/cjs/scenegraph/layout/update-height.js.map +1 -1
  30. package/cjs/scenegraph/utils/text-icon-layout.d.ts +1 -1
  31. package/cjs/scenegraph/utils/text-icon-layout.js +9 -8
  32. package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
  33. package/cjs/tools/cell-range.d.ts +2 -0
  34. package/cjs/tools/cell-range.js +10 -0
  35. package/cjs/tools/cell-range.js.map +1 -0
  36. package/cjs/ts-types/base-table.d.ts +6 -2
  37. package/cjs/ts-types/base-table.js.map +1 -1
  38. package/cjs/vrender.js.map +1 -1
  39. package/dist/vtable.js +405 -32
  40. package/dist/vtable.min.js +2 -2
  41. package/es/core/BaseTable.js +1 -1
  42. package/es/core/BaseTable.js.map +1 -1
  43. package/es/event/event.js +11 -3
  44. package/es/event/event.js.map +1 -1
  45. package/es/index.d.ts +4 -1
  46. package/es/index.js +7 -1
  47. package/es/index.js.map +1 -1
  48. package/es/layout/index.js +2 -1
  49. package/es/layout/pivot-header-layout.js +1 -2
  50. package/es/plugins/carousel-animation.d.ts +29 -0
  51. package/es/plugins/carousel-animation.js +52 -0
  52. package/es/plugins/carousel-animation.js.map +1 -0
  53. package/es/plugins/chartModules.js +1 -1
  54. package/es/plugins/custom-cell-style.js +22 -15
  55. package/es/plugins/custom-cell-style.js.map +1 -1
  56. package/es/plugins/header-highlight.d.ts +21 -0
  57. package/es/plugins/header-highlight.js +98 -0
  58. package/es/plugins/header-highlight.js.map +1 -0
  59. package/es/plugins/invert-highlight.d.ts +19 -0
  60. package/es/plugins/invert-highlight.js +69 -0
  61. package/es/plugins/invert-highlight.js.map +1 -0
  62. package/es/scenegraph/graphic/group.js +2 -1
  63. package/es/scenegraph/graphic/group.js.map +1 -1
  64. package/es/scenegraph/group-creater/cell-helper.js +6 -3
  65. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  66. package/es/scenegraph/layout/compute-row-height.js +7 -7
  67. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  68. package/es/scenegraph/layout/update-height.js +2 -2
  69. package/es/scenegraph/layout/update-height.js.map +1 -1
  70. package/es/scenegraph/utils/text-icon-layout.d.ts +1 -1
  71. package/es/scenegraph/utils/text-icon-layout.js +9 -8
  72. package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
  73. package/es/tools/cell-range.d.ts +2 -0
  74. package/es/tools/cell-range.js +4 -0
  75. package/es/tools/cell-range.js.map +1 -0
  76. package/es/ts-types/base-table.d.ts +6 -2
  77. package/es/ts-types/base-table.js.map +1 -1
  78. package/es/vrender.js.map +1 -1
  79. package/package.json +3 -3
@@ -43,7 +43,7 @@ class BaseTable extends EventTarget_1.EventTarget {
43
43
  }
44
44
  constructor(container, options = {}) {
45
45
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
46
- if (super(), this.showFrozenIcon = !0, this.version = "1.10.3", this.id = `VTable${Date.now()}`,
46
+ if (super(), this.showFrozenIcon = !0, this.version = "1.10.4-alpha.1", this.id = `VTable${Date.now()}`,
47
47
  this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = (0, util_1.throttle2)(this.render.bind(this), 200),
48
48
  !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
49
49
  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 = pixel_ratio_1.defaultPixelRatio, renderChartAsync: renderChartAsync, renderChartAsyncBatchCount: renderChartAsyncBatchCount, mode: mode, modeParams: modeParams, canvasWidth: canvasWidth, canvasHeight: canvasHeight, overscrollBehavior: overscrollBehavior, limitMinWidth: limitMinWidth, limitMinHeight: limitMinHeight, clearDOM: clearDOM = !0} = options;