@visactor/vtable 1.10.2 → 1.10.3-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 (77) hide show
  1. package/cjs/body-helper/style.js +1 -2
  2. package/cjs/core/BaseTable.js +1 -1
  3. package/cjs/core/BaseTable.js.map +1 -1
  4. package/cjs/core/FouseInput.js +2 -1
  5. package/cjs/dataset/dataset-pivot-table.js +1 -2
  6. package/cjs/edit/edit-manager.js +2 -1
  7. package/cjs/header-helper/header-helper.js +1 -1
  8. package/cjs/header-helper/style.js +1 -1
  9. package/cjs/index.d.ts +3 -1
  10. package/cjs/index.js +20 -2
  11. package/cjs/index.js.map +1 -1
  12. package/cjs/layout/index.js +1 -2
  13. package/cjs/layout/simple-header-layout.js +1 -1
  14. package/cjs/layout/tree-helper.js +2 -2
  15. package/cjs/plugins/carousel-animation.d.ts +29 -0
  16. package/cjs/plugins/carousel-animation.js +60 -0
  17. package/cjs/plugins/carousel-animation.js.map +1 -0
  18. package/cjs/plugins/chartModules.js +1 -1
  19. package/cjs/plugins/custom-cell-style.js +1 -1
  20. package/cjs/plugins/icons.js +2 -1
  21. package/cjs/plugins/invert-highlight.d.ts +19 -0
  22. package/cjs/plugins/invert-highlight.js +72 -0
  23. package/cjs/plugins/invert-highlight.js.map +1 -0
  24. package/cjs/plugins/list-tree-stick-cell.js +1 -1
  25. package/cjs/plugins/themes.js +1 -1
  26. package/cjs/scenegraph/graphic/group.js +2 -1
  27. package/cjs/scenegraph/graphic/group.js.map +1 -1
  28. package/cjs/scenegraph/group-creater/cell-helper.js +3 -2
  29. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  30. package/cjs/scenegraph/layout/compute-row-height.js +2 -2
  31. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  32. package/cjs/tools/cell-range.d.ts +2 -0
  33. package/cjs/tools/cell-range.js +10 -0
  34. package/cjs/tools/cell-range.js.map +1 -0
  35. package/cjs/ts-types/base-table.d.ts +5 -2
  36. package/cjs/ts-types/base-table.js.map +1 -1
  37. package/cjs/vrender.js.map +1 -1
  38. package/dist/vtable.js +212 -4
  39. package/dist/vtable.min.js +2 -2
  40. package/es/body-helper/style.js +1 -2
  41. package/es/core/BaseTable.js +1 -1
  42. package/es/core/BaseTable.js.map +1 -1
  43. package/es/core/FouseInput.js +2 -1
  44. package/es/dataset/dataset-pivot-table.js +1 -2
  45. package/es/edit/edit-manager.js +2 -1
  46. package/es/header-helper/header-helper.js +1 -1
  47. package/es/header-helper/style.js +1 -1
  48. package/es/index.d.ts +3 -1
  49. package/es/index.js +5 -1
  50. package/es/index.js.map +1 -1
  51. package/es/layout/index.js +1 -2
  52. package/es/layout/simple-header-layout.js +1 -1
  53. package/es/layout/tree-helper.js +1 -1
  54. package/es/plugins/carousel-animation.d.ts +29 -0
  55. package/es/plugins/carousel-animation.js +52 -0
  56. package/es/plugins/carousel-animation.js.map +1 -0
  57. package/es/plugins/chartModules.js +1 -1
  58. package/es/plugins/custom-cell-style.js +1 -1
  59. package/es/plugins/icons.js +2 -1
  60. package/es/plugins/invert-highlight.d.ts +19 -0
  61. package/es/plugins/invert-highlight.js +69 -0
  62. package/es/plugins/invert-highlight.js.map +1 -0
  63. package/es/plugins/list-tree-stick-cell.js +1 -1
  64. package/es/plugins/themes.js +1 -1
  65. package/es/scenegraph/graphic/group.js +2 -1
  66. package/es/scenegraph/graphic/group.js.map +1 -1
  67. package/es/scenegraph/group-creater/cell-helper.js +4 -1
  68. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  69. package/es/scenegraph/layout/compute-row-height.js +2 -2
  70. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  71. package/es/tools/cell-range.d.ts +2 -0
  72. package/es/tools/cell-range.js +4 -0
  73. package/es/tools/cell-range.js.map +1 -0
  74. package/es/ts-types/base-table.d.ts +5 -2
  75. package/es/ts-types/base-table.js.map +1 -1
  76. package/es/vrender.js.map +1 -1
  77. package/package.json +5 -5
@@ -49,5 +49,4 @@ function of(columnStyle, bodyStyle, styleArg, StyleClassDef = Style_1.Style, glo
49
49
  StyleClassDef === CheckboxStyle_1.CheckboxStyle ? new CheckboxStyle_1.CheckboxStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_a = theme.checkboxStyle) && void 0 !== _a ? _a : {}) : StyleClassDef === RadioStyle_1.RadioStyle ? new RadioStyle_1.RadioStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_b = theme.radioStyle) && void 0 !== _b ? _b : {}) : new StyleClassDef(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {})) : StyleClassDef.DEFAULT;
50
50
  }
51
51
 
52
- exports.EVENT_TYPE = EVENT_TYPE, exports.of = of;
53
- //# sourceMappingURL=style.js.map
52
+ exports.EVENT_TYPE = EVENT_TYPE, exports.of = of;
@@ -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.2", this.id = `VTable${Date.now()}`,
46
+ if (super(), this.showFrozenIcon = !0, this.version = "1.10.3-alpha.0", 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;