@syncfusion/ej2-vue-charts 20.4.53 → 21.1.35

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/CHANGELOG.md +23 -1
  2. package/dist/ej2-vue-charts.umd.min.js +2 -2
  3. package/dist/ej2-vue-charts.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-charts.es2015.js +1413 -2496
  5. package/dist/es6/ej2-vue-charts.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-charts.es5.js +1639 -3093
  7. package/dist/es6/ej2-vue-charts.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-charts.min.js +2 -2
  9. package/package.json +9 -9
  10. package/src/accumulation-chart/accumulationchart.component.d.ts +3 -29
  11. package/src/accumulation-chart/accumulationchart.component.js +132 -163
  12. package/src/accumulation-chart/annotations.directive.d.ts +2 -12
  13. package/src/accumulation-chart/annotations.directive.js +22 -71
  14. package/src/accumulation-chart/series.directive.d.ts +2 -12
  15. package/src/accumulation-chart/series.directive.js +22 -71
  16. package/src/bullet-chart/bulletchart.component.d.ts +3 -29
  17. package/src/bullet-chart/bulletchart.component.js +131 -162
  18. package/src/bullet-chart/ranges.directive.d.ts +2 -12
  19. package/src/bullet-chart/ranges.directive.js +22 -71
  20. package/src/chart/annotations.directive.d.ts +2 -12
  21. package/src/chart/annotations.directive.js +22 -71
  22. package/src/chart/axes.directive.d.ts +2 -12
  23. package/src/chart/axes.directive.js +22 -71
  24. package/src/chart/categories.directive.d.ts +2 -12
  25. package/src/chart/categories.directive.js +22 -71
  26. package/src/chart/chart.component.d.ts +3 -38
  27. package/src/chart/chart.component.js +158 -189
  28. package/src/chart/columns.directive.d.ts +2 -12
  29. package/src/chart/columns.directive.js +22 -71
  30. package/src/chart/indicators.directive.d.ts +2 -12
  31. package/src/chart/indicators.directive.js +22 -71
  32. package/src/chart/multilevellabels.directive.d.ts +2 -12
  33. package/src/chart/multilevellabels.directive.js +22 -71
  34. package/src/chart/rangecolorsettings.directive.d.ts +2 -12
  35. package/src/chart/rangecolorsettings.directive.js +22 -71
  36. package/src/chart/rows.directive.d.ts +2 -12
  37. package/src/chart/rows.directive.js +22 -71
  38. package/src/chart/segments.directive.d.ts +2 -12
  39. package/src/chart/segments.directive.js +22 -71
  40. package/src/chart/selecteddataindexes.directive.d.ts +2 -12
  41. package/src/chart/selecteddataindexes.directive.js +22 -71
  42. package/src/chart/series.directive.d.ts +2 -12
  43. package/src/chart/series.directive.js +22 -71
  44. package/src/chart/striplines.directive.d.ts +2 -12
  45. package/src/chart/striplines.directive.js +22 -71
  46. package/src/chart/trendlines.directive.d.ts +2 -12
  47. package/src/chart/trendlines.directive.js +22 -71
  48. package/src/range-navigator/rangenavigator.component.d.ts +3 -29
  49. package/src/range-navigator/rangenavigator.component.js +131 -162
  50. package/src/range-navigator/series.directive.d.ts +2 -12
  51. package/src/range-navigator/series.directive.js +22 -71
  52. package/src/smithchart/series.directive.d.ts +2 -12
  53. package/src/smithchart/series.directive.js +22 -71
  54. package/src/smithchart/smithchart.component.d.ts +3 -28
  55. package/src/smithchart/smithchart.component.js +101 -130
  56. package/src/sparkline/rangebandsettings.directive.d.ts +2 -12
  57. package/src/sparkline/rangebandsettings.directive.js +22 -71
  58. package/src/sparkline/sparkline.component.d.ts +3 -23
  59. package/src/sparkline/sparkline.component.js +86 -115
  60. package/src/stock-chart/annotations.directive.d.ts +2 -12
  61. package/src/stock-chart/annotations.directive.js +22 -71
  62. package/src/stock-chart/axes.directive.d.ts +2 -12
  63. package/src/stock-chart/axes.directive.js +22 -71
  64. package/src/stock-chart/indicators.directive.d.ts +2 -12
  65. package/src/stock-chart/indicators.directive.js +22 -71
  66. package/src/stock-chart/periods.directive.d.ts +2 -12
  67. package/src/stock-chart/periods.directive.js +22 -71
  68. package/src/stock-chart/rows.directive.d.ts +2 -12
  69. package/src/stock-chart/rows.directive.js +22 -71
  70. package/src/stock-chart/selecteddataindexes.directive.d.ts +2 -12
  71. package/src/stock-chart/selecteddataindexes.directive.js +22 -71
  72. package/src/stock-chart/series.directive.d.ts +2 -12
  73. package/src/stock-chart/series.directive.js +22 -71
  74. package/src/stock-chart/stockchart.component.d.ts +3 -30
  75. package/src/stock-chart/stockchart.component.js +134 -165
  76. package/src/stock-chart/stockevents.directive.d.ts +2 -12
  77. package/src/stock-chart/stockevents.directive.js +22 -71
  78. package/src/stock-chart/trendlines.directive.d.ts +2 -12
  79. package/src/stock-chart/trendlines.directive.js +22 -71
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var AnnotationsDirective = /** @class */ (function (_super) {
33
- __extends(AnnotationsDirective, _super);
34
- function AnnotationsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- AnnotationsDirective.prototype.render = function (createElement) {
3
+ export var AnnotationsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,28 +12,18 @@ var AnnotationsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- AnnotationsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- AnnotationsDirective.prototype.getTag = function () {
54
- return 'e-annotations';
55
- };
56
- AnnotationsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], AnnotationsDirective);
66
- return AnnotationsDirective;
67
- }(vueImport));
68
- export { AnnotationsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-annotations';
24
+ }
25
+ }
26
+ });
69
27
  export var AnnotationsPlugin = {
70
28
  name: 'e-annotations',
71
29
  install: function (Vue) {
@@ -84,23 +42,16 @@ export var AnnotationsPlugin = {
84
42
  * </ejs-chart>
85
43
  * ```
86
44
  */
87
- var AnnotationDirective = /** @class */ (function (_super) {
88
- __extends(AnnotationDirective, _super);
89
- function AnnotationDirective() {
90
- return _super !== null && _super.apply(this, arguments) || this;
91
- }
92
- AnnotationDirective.prototype.render = function () {
45
+ export var AnnotationDirective = vueDefineComponent({
46
+ render: function () {
93
47
  return;
94
- };
95
- AnnotationDirective.prototype.getTag = function () {
96
- return 'e-annotation';
97
- };
98
- AnnotationDirective = __decorate([
99
- EJComponentDecorator({}, isExecute)
100
- ], AnnotationDirective);
101
- return AnnotationDirective;
102
- }(vueImport));
103
- export { AnnotationDirective };
48
+ },
49
+ methods: {
50
+ getTag: function () {
51
+ return 'e-annotation';
52
+ }
53
+ }
54
+ });
104
55
  export var AnnotationPlugin = {
105
56
  name: 'e-annotation',
106
57
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class AxesDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let AxesDirective: any;
8
2
  export declare const AxesPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class AxisDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let AxisDirective: any;
16
7
  export declare const AxisPlugin: {
17
8
  name: string;
18
9
  install(Vue: any): void;
19
10
  };
20
- export {};
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var AxesDirective = /** @class */ (function (_super) {
33
- __extends(AxesDirective, _super);
34
- function AxesDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- AxesDirective.prototype.render = function (createElement) {
3
+ export var AxesDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,51 +12,34 @@ var AxesDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- AxesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- AxesDirective.prototype.getTag = function () {
54
- return 'e-axes';
55
- };
56
- AxesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], AxesDirective);
66
- return AxesDirective;
67
- }(vueImport));
68
- export { AxesDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-axes';
24
+ }
25
+ }
26
+ });
69
27
  export var AxesPlugin = {
70
28
  name: 'e-axes',
71
29
  install: function (Vue) {
72
30
  Vue.component(AxesPlugin.name, AxesDirective);
73
31
  }
74
32
  };
75
- var AxisDirective = /** @class */ (function (_super) {
76
- __extends(AxisDirective, _super);
77
- function AxisDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- AxisDirective.prototype.render = function () {
33
+ export var AxisDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- AxisDirective.prototype.getTag = function () {
84
- return 'e-axis';
85
- };
86
- AxisDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], AxisDirective);
89
- return AxisDirective;
90
- }(vueImport));
91
- export { AxisDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-axis';
40
+ }
41
+ }
42
+ });
92
43
  export var AxisPlugin = {
93
44
  name: 'e-axis',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class CategoriesDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let CategoriesDirective: any;
8
2
  export declare const CategoriesPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class CategoryDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let CategoryDirective: any;
16
7
  export declare const CategoryPlugin: {
17
8
  name: string;
18
9
  install(Vue: any): void;
19
10
  };
20
- export {};
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var CategoriesDirective = /** @class */ (function (_super) {
33
- __extends(CategoriesDirective, _super);
34
- function CategoriesDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- CategoriesDirective.prototype.render = function (createElement) {
3
+ export var CategoriesDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,51 +12,34 @@ var CategoriesDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- CategoriesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- CategoriesDirective.prototype.getTag = function () {
54
- return 'e-categories';
55
- };
56
- CategoriesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], CategoriesDirective);
66
- return CategoriesDirective;
67
- }(vueImport));
68
- export { CategoriesDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-categories';
24
+ }
25
+ }
26
+ });
69
27
  export var CategoriesPlugin = {
70
28
  name: 'e-categories',
71
29
  install: function (Vue) {
72
30
  Vue.component(CategoriesPlugin.name, CategoriesDirective);
73
31
  }
74
32
  };
75
- var CategoryDirective = /** @class */ (function (_super) {
76
- __extends(CategoryDirective, _super);
77
- function CategoryDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- CategoryDirective.prototype.render = function () {
33
+ export var CategoryDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- CategoryDirective.prototype.getTag = function () {
84
- return 'e-category';
85
- };
86
- CategoryDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], CategoryDirective);
89
- return CategoryDirective;
90
- }(vueImport));
91
- export { CategoryDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-category';
40
+ }
41
+ }
42
+ });
92
43
  export var CategoryPlugin = {
93
44
  name: 'e-category',
94
45
  install: function (Vue) {
@@ -1,50 +1,15 @@
1
- import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
1
  export declare const properties: string[];
3
2
  export declare const modelProps: string[];
4
3
  export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
8
5
  /**
9
6
  * Represents Vuejs chart Component
10
7
  * ```vue
11
8
  * <ejs-chart></ejs-chart>
12
9
  * ```
13
10
  */
14
- export declare class ChartComponent extends ComponentBase {
15
- ej2Instances: any;
16
- propKeys: string[];
17
- models: string[];
18
- hasChildDirective: boolean;
19
- protected hasInjectedModules: boolean;
20
- tagMapper: {
21
- [key: string]: Object;
22
- };
23
- tagNameMapper: Object;
24
- isVue3: boolean;
25
- templateCollection: any;
26
- constructor();
27
- clearTemplate(templateNames?: string[]): any;
28
- setProperties(prop: any, muteOnChange: boolean): void;
29
- trigger(eventName: string, eventProp: {
30
- [key: string]: Object;
31
- }, successHandler?: Function): void;
32
- render(createElement: any): any;
33
- custom(): void;
34
- addAxes(axisCollection: Object[]): void;
35
- addSeries(seriesCollection: Object[]): void;
36
- clearSeries(): void;
37
- createChartSvg(): void;
38
- export(type: Object, fileName: string): void;
39
- getLocalizedLabel(key: string): string;
40
- isSecondaryAxis(axis: Object): boolean;
41
- print(id?: string[] | string | Object): void;
42
- processData(render: boolean): void;
43
- refreshLiveData(): void;
44
- removeAxis(index: number): void;
45
- removeSeries(index: number): void;
46
- setAnnotationValue(annotationIndex: number, content: string): void;
47
- }
11
+ export declare let ChartComponent: any;
12
+ export declare type ChartComponent = InstanceType<typeof ChartComponent>;
48
13
  export declare const ChartPlugin: {
49
14
  name: string;
50
15
  install(Vue: any): void;