@visactor/vchart 2.0.0-alpha.1 → 2.0.0-alpha.2

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 (54) hide show
  1. package/build/es5/index.js +1 -1
  2. package/build/index.es.js +7 -2
  3. package/build/index.js +7 -2
  4. package/build/index.min.js +2 -2
  5. package/build/tsconfig.tsbuildinfo +1 -1
  6. package/cjs/component/player/player.d.ts +1 -1
  7. package/cjs/component/player/player.js +1 -1
  8. package/cjs/component/player/player.js.map +1 -1
  9. package/cjs/constant/hierarchy.js +2 -1
  10. package/cjs/constant/sunburst.js +1 -2
  11. package/cjs/constant/waterfall.js +1 -1
  12. package/cjs/constant/word-cloud.js +1 -1
  13. package/cjs/core/expression-function.js +1 -1
  14. package/cjs/core/factory.js +1 -1
  15. package/cjs/core/index.d.ts +1 -1
  16. package/cjs/core/index.js +2 -2
  17. package/cjs/core/index.js.map +1 -1
  18. package/cjs/core/instance-manager.js +1 -1
  19. package/cjs/core/interface.js +1 -1
  20. package/cjs/core/util.js +1 -1
  21. package/cjs/core/vchart.js +1 -1
  22. package/cjs/data/initialize.js +1 -1
  23. package/cjs/data/register.js +1 -1
  24. package/cjs/env/env.js +1 -1
  25. package/cjs/env/index.js +1 -1
  26. package/cjs/event/bubble.js +1 -1
  27. package/cjs/series/bar/bar.d.ts +1 -0
  28. package/cjs/series/bar/bar.js +4 -0
  29. package/cjs/series/bar/bar.js.map +1 -1
  30. package/esm/component/player/player.d.ts +1 -1
  31. package/esm/component/player/player.js +1 -1
  32. package/esm/component/player/player.js.map +1 -1
  33. package/esm/constant/hierarchy.js +2 -1
  34. package/esm/constant/sunburst.js +1 -2
  35. package/esm/constant/waterfall.js +1 -1
  36. package/esm/constant/word-cloud.js +1 -1
  37. package/esm/core/expression-function.js +1 -1
  38. package/esm/core/factory.js +1 -1
  39. package/esm/core/index.d.ts +1 -1
  40. package/esm/core/index.js +2 -2
  41. package/esm/core/index.js.map +1 -1
  42. package/esm/core/instance-manager.js +1 -1
  43. package/esm/core/interface.js +1 -1
  44. package/esm/core/util.js +1 -1
  45. package/esm/core/vchart.js +1 -1
  46. package/esm/data/initialize.js +1 -1
  47. package/esm/data/register.js +1 -1
  48. package/esm/env/env.js +1 -1
  49. package/esm/env/index.js +1 -1
  50. package/esm/event/bubble.js +1 -1
  51. package/esm/series/bar/bar.d.ts +1 -0
  52. package/esm/series/bar/bar.js +4 -0
  53. package/esm/series/bar/bar.js.map +1 -1
  54. package/package.json +4 -4
package/build/index.es.js CHANGED
@@ -57126,7 +57126,7 @@ const lookup = (data, opt) => {
57126
57126
  });
57127
57127
  };
57128
57128
 
57129
- const version = "2.0.0-alpha.1";
57129
+ const version = "2.0.0-alpha.2";
57130
57130
 
57131
57131
  const addVChartProperty = (data, op) => {
57132
57132
  const context = op.beforeCall();
@@ -68456,6 +68456,11 @@ class BarSeries extends CartesianSeries {
68456
68456
  this.compile();
68457
68457
  }
68458
68458
  }
68459
+ onDataUpdate() {
68460
+ super.onDataUpdate();
68461
+ const region = this.getRegion();
68462
+ region._bar_series_position_calculated = false;
68463
+ }
68459
68464
  compile() {
68460
68465
  super.compile();
68461
68466
  if (this._spec.sampling) {
@@ -95586,7 +95591,7 @@ class Player extends BaseComponent {
95586
95591
  });
95587
95592
  }
95588
95593
  }
95589
- Player.builtinThemes = {
95594
+ Player.builtInTheme = {
95590
95595
  player
95591
95596
  };
95592
95597
  Player.specKey = 'player';
package/build/index.js CHANGED
@@ -57132,7 +57132,7 @@
57132
57132
  });
57133
57133
  };
57134
57134
 
57135
- const version = "2.0.0-alpha.1";
57135
+ const version = "2.0.0-alpha.2";
57136
57136
 
57137
57137
  const addVChartProperty = (data, op) => {
57138
57138
  const context = op.beforeCall();
@@ -68462,6 +68462,11 @@
68462
68462
  this.compile();
68463
68463
  }
68464
68464
  }
68465
+ onDataUpdate() {
68466
+ super.onDataUpdate();
68467
+ const region = this.getRegion();
68468
+ region._bar_series_position_calculated = false;
68469
+ }
68465
68470
  compile() {
68466
68471
  super.compile();
68467
68472
  if (this._spec.sampling) {
@@ -95592,7 +95597,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
95592
95597
  });
95593
95598
  }
95594
95599
  }
95595
- Player.builtinThemes = {
95600
+ Player.builtInTheme = {
95596
95601
  player
95597
95602
  };
95598
95603
  Player.specKey = 'player';