@visactor/vtable 1.17.4-alpha.2 → 1.17.4-alpha.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 (87) hide show
  1. package/cjs/body-helper/body-helper.js +1 -1
  2. package/cjs/body-helper/style.js +1 -2
  3. package/cjs/core/BaseTable.js +3 -2
  4. package/cjs/core/BaseTable.js.map +1 -1
  5. package/cjs/core/tableHelper.js +13 -10
  6. package/cjs/core/tableHelper.js.map +1 -1
  7. package/cjs/dataset/dataset-pivot-table.js +1 -2
  8. package/cjs/dataset/flatDataToObject.js +2 -1
  9. package/cjs/index.d.ts +1 -1
  10. package/cjs/index.js +1 -1
  11. package/cjs/index.js.map +1 -1
  12. package/cjs/layout/pivot-header-layout.js +2 -1
  13. package/cjs/layout/pivot-layout.js +2 -0
  14. package/cjs/layout/row-height-map.js +1 -1
  15. package/cjs/layout/simple-header-layout.js +1 -1
  16. package/cjs/layout/tree-helper.js +1 -1
  17. package/cjs/plugins/chartModules.js +1 -2
  18. package/cjs/plugins/invert-highlight.js +1 -1
  19. package/cjs/plugins/list-tree-stick-cell.js +1 -1
  20. package/cjs/plugins/themes.js +1 -1
  21. package/cjs/scenegraph/graphic/chart.d.ts +2 -2
  22. package/cjs/scenegraph/graphic/chart.js +1 -1
  23. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  24. package/cjs/scenegraph/graphic/contributions/index.js +2 -4
  25. package/cjs/scenegraph/graphic/contributions/index.js.map +1 -1
  26. package/cjs/scenegraph/select/update-select-border.js +2 -1
  27. package/cjs/scenegraph/select/update-select-border.js.map +1 -1
  28. package/cjs/state/hover/update-position.js +1 -3
  29. package/cjs/state/hover/update-position.js.map +1 -1
  30. package/cjs/themes/theme.js +4 -0
  31. package/cjs/themes/theme.js.map +1 -1
  32. package/cjs/ts-types/base-table.d.ts +0 -1
  33. package/cjs/ts-types/base-table.js.map +1 -1
  34. package/cjs/ts-types/theme.d.ts +1 -0
  35. package/cjs/ts-types/theme.js.map +1 -1
  36. package/cjs/vrender.js.map +1 -1
  37. package/dist/vtable.js +31 -48
  38. package/dist/vtable.min.js +2 -2
  39. package/es/body-helper/body-helper.js +1 -1
  40. package/es/body-helper/style.js +1 -2
  41. package/es/core/BaseTable.js +3 -2
  42. package/es/core/BaseTable.js.map +1 -1
  43. package/es/core/tableHelper.js +13 -10
  44. package/es/core/tableHelper.js.map +1 -1
  45. package/es/dataset/dataset-pivot-table.js +1 -2
  46. package/es/dataset/flatDataToObject.js +2 -1
  47. package/es/index.d.ts +1 -1
  48. package/es/index.js +1 -1
  49. package/es/index.js.map +1 -1
  50. package/es/layout/pivot-header-layout.js +2 -1
  51. package/es/layout/pivot-layout.js +2 -0
  52. package/es/layout/row-height-map.js +1 -1
  53. package/es/layout/simple-header-layout.js +1 -1
  54. package/es/layout/tree-helper.js +1 -1
  55. package/es/plugins/chartModules.js +1 -2
  56. package/es/plugins/invert-highlight.js +1 -1
  57. package/es/plugins/list-tree-stick-cell.js +1 -1
  58. package/es/plugins/themes.js +1 -1
  59. package/es/scenegraph/graphic/chart.d.ts +2 -2
  60. package/es/scenegraph/graphic/chart.js +2 -2
  61. package/es/scenegraph/graphic/chart.js.map +1 -1
  62. package/es/scenegraph/graphic/contributions/index.js +2 -5
  63. package/es/scenegraph/graphic/contributions/index.js.map +1 -1
  64. package/es/scenegraph/select/update-select-border.js +2 -1
  65. package/es/scenegraph/select/update-select-border.js.map +1 -1
  66. package/es/state/hover/update-position.js +1 -3
  67. package/es/state/hover/update-position.js.map +1 -1
  68. package/es/themes/theme.js +4 -0
  69. package/es/themes/theme.js.map +1 -1
  70. package/es/ts-types/base-table.d.ts +0 -1
  71. package/es/ts-types/base-table.js.map +1 -1
  72. package/es/ts-types/theme.d.ts +1 -0
  73. package/es/ts-types/theme.js.map +1 -1
  74. package/es/vrender.js.map +1 -1
  75. package/package.json +2 -2
  76. package/cjs/scenegraph/graphic/contributions/picker-interceptor.d.ts +0 -8
  77. package/cjs/scenegraph/graphic/contributions/picker-interceptor.js +0 -42
  78. package/cjs/scenegraph/graphic/contributions/picker-interceptor.js.map +0 -1
  79. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.d.ts +0 -6
  80. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.js +0 -31
  81. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.js.map +0 -1
  82. package/es/scenegraph/graphic/contributions/picker-interceptor.d.ts +0 -8
  83. package/es/scenegraph/graphic/contributions/picker-interceptor.js +0 -37
  84. package/es/scenegraph/graphic/contributions/picker-interceptor.js.map +0 -1
  85. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.d.ts +0 -6
  86. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.js +0 -29
  87. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.js.map +0 -1
@@ -118,4 +118,4 @@ class BodyHelper {
118
118
  }
119
119
 
120
120
  exports.BodyHelper = BodyHelper;
121
- //# sourceMappingURL=body-helper.js.map
121
+ //# sourceMappingURL=body-helper.js.map
@@ -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 : {}) : StyleClassDef === SwitchStyle_1.SwitchStyle ? new SwitchStyle_1.SwitchStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_c = theme.switchStyle) && void 0 !== _c ? _c : {}) : StyleClassDef === ButtonStyle_1.ButtonStyle ? new ButtonStyle_1.ButtonStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_d = theme.buttonStyle) && void 0 !== _d ? _d : {}) : 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, _l, _m, _o, _p, _q, _r;
46
- if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.2", this.id = `VTable${Date.now()}`,
46
+ if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.3", 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
  !1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vrender_1.vglobal.isImageAnonymous = !1);
@@ -1850,4 +1850,5 @@ class BaseTable extends EventTarget_1.EventTarget {
1850
1850
  }
1851
1851
  }
1852
1852
 
1853
- exports.BaseTable = BaseTable;
1853
+ exports.BaseTable = BaseTable;
1854
+ //# sourceMappingURL=BaseTable.js.map