@syncfusion/ej2-vue-charts 19.4.52 → 20.1.47

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 (78) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/ej2-vue-charts.umd.min.js +1 -1
  3. package/dist/es6/ej2-vue-charts.es2015.js +1067 -73
  4. package/dist/es6/ej2-vue-charts.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-charts.es5.js +746 -95
  6. package/dist/es6/ej2-vue-charts.es5.js.map +1 -1
  7. package/dist/global/ej2-vue-charts.min.js +2 -2
  8. package/package.json +8 -8
  9. package/src/accumulation-chart/accumulationchart.component.d.ts +1 -0
  10. package/src/accumulation-chart/accumulationchart.component.js +10 -1
  11. package/src/accumulation-chart/annotations.directive.d.ts +3 -1
  12. package/src/accumulation-chart/annotations.directive.js +24 -2
  13. package/src/accumulation-chart/series.directive.d.ts +3 -1
  14. package/src/accumulation-chart/series.directive.js +24 -2
  15. package/src/bullet-chart/bulletchart.component.d.ts +1 -0
  16. package/src/bullet-chart/bulletchart.component.js +10 -1
  17. package/src/bullet-chart/ranges.directive.d.ts +3 -1
  18. package/src/bullet-chart/ranges.directive.js +24 -2
  19. package/src/chart/annotations.directive.d.ts +3 -1
  20. package/src/chart/annotations.directive.js +24 -2
  21. package/src/chart/axes.directive.d.ts +3 -1
  22. package/src/chart/axes.directive.js +24 -2
  23. package/src/chart/categories.directive.d.ts +3 -1
  24. package/src/chart/categories.directive.js +24 -2
  25. package/src/chart/chart.component.d.ts +1 -0
  26. package/src/chart/chart.component.js +10 -1
  27. package/src/chart/columns.directive.d.ts +3 -1
  28. package/src/chart/columns.directive.js +24 -2
  29. package/src/chart/indicators.directive.d.ts +3 -1
  30. package/src/chart/indicators.directive.js +24 -2
  31. package/src/chart/multilevellabels.directive.d.ts +3 -1
  32. package/src/chart/multilevellabels.directive.js +24 -2
  33. package/src/chart/rangecolorsettings.directive.d.ts +3 -1
  34. package/src/chart/rangecolorsettings.directive.js +24 -2
  35. package/src/chart/rows.directive.d.ts +3 -1
  36. package/src/chart/rows.directive.js +24 -2
  37. package/src/chart/segments.directive.d.ts +3 -1
  38. package/src/chart/segments.directive.js +24 -2
  39. package/src/chart/selecteddataindexes.directive.d.ts +3 -1
  40. package/src/chart/selecteddataindexes.directive.js +24 -2
  41. package/src/chart/series.directive.d.ts +3 -1
  42. package/src/chart/series.directive.js +24 -2
  43. package/src/chart/striplines.directive.d.ts +3 -1
  44. package/src/chart/striplines.directive.js +24 -2
  45. package/src/chart/trendlines.directive.d.ts +3 -1
  46. package/src/chart/trendlines.directive.js +24 -2
  47. package/src/range-navigator/rangenavigator.component.d.ts +2 -1
  48. package/src/range-navigator/rangenavigator.component.js +12 -3
  49. package/src/range-navigator/series.directive.d.ts +3 -1
  50. package/src/range-navigator/series.directive.js +24 -2
  51. package/src/smithchart/series.directive.d.ts +3 -1
  52. package/src/smithchart/series.directive.js +24 -2
  53. package/src/smithchart/smithchart.component.d.ts +1 -0
  54. package/src/smithchart/smithchart.component.js +10 -1
  55. package/src/sparkline/rangebandsettings.directive.d.ts +3 -1
  56. package/src/sparkline/rangebandsettings.directive.js +24 -2
  57. package/src/sparkline/sparkline.component.d.ts +1 -0
  58. package/src/sparkline/sparkline.component.js +10 -1
  59. package/src/stock-chart/annotations.directive.d.ts +3 -1
  60. package/src/stock-chart/annotations.directive.js +24 -2
  61. package/src/stock-chart/axes.directive.d.ts +3 -1
  62. package/src/stock-chart/axes.directive.js +24 -2
  63. package/src/stock-chart/indicators.directive.d.ts +3 -1
  64. package/src/stock-chart/indicators.directive.js +24 -2
  65. package/src/stock-chart/periods.directive.d.ts +3 -1
  66. package/src/stock-chart/periods.directive.js +24 -2
  67. package/src/stock-chart/rows.directive.d.ts +3 -1
  68. package/src/stock-chart/rows.directive.js +24 -2
  69. package/src/stock-chart/selecteddataindexes.directive.d.ts +3 -1
  70. package/src/stock-chart/selecteddataindexes.directive.js +24 -2
  71. package/src/stock-chart/series.directive.d.ts +3 -1
  72. package/src/stock-chart/series.directive.js +24 -2
  73. package/src/stock-chart/stockchart.component.d.ts +1 -0
  74. package/src/stock-chart/stockchart.component.js +10 -1
  75. package/src/stock-chart/stockevents.directive.d.ts +3 -1
  76. package/src/stock-chart/stockevents.directive.js +24 -2
  77. package/src/stock-chart/trendlines.directive.d.ts +3 -1
  78. package/src/stock-chart/trendlines.directive.js +24 -2
@@ -56,6 +56,7 @@ var SmithchartComponent = /** @class */ (function (_super) {
56
56
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
57
57
  _this.ej2Instances.setProperties = _this.setProperties;
58
58
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
59
+ _this.updated = _this.updated;
59
60
  return _this;
60
61
  }
61
62
  SmithchartComponent.prototype.clearTemplate = function (templateNames) {
@@ -114,6 +115,9 @@ var SmithchartComponent = /** @class */ (function (_super) {
114
115
  }
115
116
  return h('div', slots);
116
117
  };
118
+ SmithchartComponent.prototype.custom = function () {
119
+ this.updated();
120
+ };
117
121
  SmithchartComponent.prototype.export = function (type, fileName, orientation) {
118
122
  return this.ej2Instances.export(type, fileName, orientation);
119
123
  };
@@ -139,7 +143,12 @@ var SmithchartComponent = /** @class */ (function (_super) {
139
143
  ,Options({
140
144
  props: props,
141
145
  watch: watch,
142
- emits: emitProbs
146
+ emits: emitProbs,
147
+ provide: function provide() {
148
+ return {
149
+ custom: this.custom
150
+ };
151
+ }
143
152
  })
144
153
  ], SmithchartComponent);
145
154
  return SmithchartComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class RangeBandSettingsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const RangeBandSettingsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var RangeBandSettingsDirective = /** @class */ (function (_super) {
32
34
  __extends(RangeBandSettingsDirective, _super);
33
35
  function RangeBandSettingsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- RangeBandSettingsDirective.prototype.render = function () {
38
+ RangeBandSettingsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ RangeBandSettingsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  RangeBandSettingsDirective.prototype.getTag = function () {
40
55
  return 'e-rangeBandSettings';
41
56
  };
42
57
  RangeBandSettingsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], RangeBandSettingsDirective);
45
67
  return RangeBandSettingsDirective;
46
68
  }(vueImport));
@@ -28,6 +28,7 @@ export declare class SparklineComponent extends ComponentBase {
28
28
  clearTemplate(templateNames?: string[]): any;
29
29
  setProperties(prop: any, muteOnChange: boolean): void;
30
30
  render(createElement: any): any;
31
+ custom(): void;
31
32
  renderSparkline(): void;
32
33
  }
33
34
  export declare const SparklinePlugin: {
@@ -56,6 +56,7 @@ var SparklineComponent = /** @class */ (function (_super) {
56
56
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
57
57
  _this.ej2Instances.setProperties = _this.setProperties;
58
58
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
59
+ _this.updated = _this.updated;
59
60
  return _this;
60
61
  }
61
62
  SparklineComponent.prototype.clearTemplate = function (templateNames) {
@@ -114,6 +115,9 @@ var SparklineComponent = /** @class */ (function (_super) {
114
115
  }
115
116
  return h('div', slots);
116
117
  };
118
+ SparklineComponent.prototype.custom = function () {
119
+ this.updated();
120
+ };
117
121
  SparklineComponent.prototype.renderSparkline = function () {
118
122
  return this.ej2Instances.renderSparkline();
119
123
  };
@@ -124,7 +128,12 @@ var SparklineComponent = /** @class */ (function (_super) {
124
128
  ,Options({
125
129
  props: props,
126
130
  watch: watch,
127
- emits: emitProbs
131
+ emits: emitProbs,
132
+ provide: function provide() {
133
+ return {
134
+ custom: this.custom
135
+ };
136
+ }
128
137
  })
129
138
  ], SparklineComponent);
130
139
  return SparklineComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StockChartAnnotationsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StockChartAnnotationsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StockChartAnnotationsDirective = /** @class */ (function (_super) {
32
34
  __extends(StockChartAnnotationsDirective, _super);
33
35
  function StockChartAnnotationsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StockChartAnnotationsDirective.prototype.render = function () {
38
+ StockChartAnnotationsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StockChartAnnotationsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StockChartAnnotationsDirective.prototype.getTag = function () {
40
55
  return 'e-stockchart-annotations';
41
56
  };
42
57
  StockChartAnnotationsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StockChartAnnotationsDirective);
45
67
  return StockChartAnnotationsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StockChartAxesDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StockChartAxesPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StockChartAxesDirective = /** @class */ (function (_super) {
32
34
  __extends(StockChartAxesDirective, _super);
33
35
  function StockChartAxesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StockChartAxesDirective.prototype.render = function () {
38
+ StockChartAxesDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StockChartAxesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StockChartAxesDirective.prototype.getTag = function () {
40
55
  return 'e-stockchart-axes';
41
56
  };
42
57
  StockChartAxesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StockChartAxesDirective);
45
67
  return StockChartAxesDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StockChartIndicatorsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StockChartIndicatorsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StockChartIndicatorsDirective = /** @class */ (function (_super) {
32
34
  __extends(StockChartIndicatorsDirective, _super);
33
35
  function StockChartIndicatorsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StockChartIndicatorsDirective.prototype.render = function () {
38
+ StockChartIndicatorsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StockChartIndicatorsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StockChartIndicatorsDirective.prototype.getTag = function () {
40
55
  return 'e-stockchart-indicators';
41
56
  };
42
57
  StockChartIndicatorsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StockChartIndicatorsDirective);
45
67
  return StockChartIndicatorsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StockChartPeriodsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StockChartPeriodsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StockChartPeriodsDirective = /** @class */ (function (_super) {
32
34
  __extends(StockChartPeriodsDirective, _super);
33
35
  function StockChartPeriodsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StockChartPeriodsDirective.prototype.render = function () {
38
+ StockChartPeriodsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StockChartPeriodsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StockChartPeriodsDirective.prototype.getTag = function () {
40
55
  return 'e-stockchart-periods';
41
56
  };
42
57
  StockChartPeriodsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StockChartPeriodsDirective);
45
67
  return StockChartPeriodsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StockChartRowsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StockChartRowsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StockChartRowsDirective = /** @class */ (function (_super) {
32
34
  __extends(StockChartRowsDirective, _super);
33
35
  function StockChartRowsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StockChartRowsDirective.prototype.render = function () {
38
+ StockChartRowsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StockChartRowsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StockChartRowsDirective.prototype.getTag = function () {
40
55
  return 'e-stockchart-rows';
41
56
  };
42
57
  StockChartRowsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StockChartRowsDirective);
45
67
  return StockChartRowsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StockChartSelectedDataIndexesDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StockChartSelectedDataIndexesPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StockChartSelectedDataIndexesDirective = /** @class */ (function (_super) {
32
34
  __extends(StockChartSelectedDataIndexesDirective, _super);
33
35
  function StockChartSelectedDataIndexesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StockChartSelectedDataIndexesDirective.prototype.render = function () {
38
+ StockChartSelectedDataIndexesDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StockChartSelectedDataIndexesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StockChartSelectedDataIndexesDirective.prototype.getTag = function () {
40
55
  return 'e-stockchart-selectedDataIndexes';
41
56
  };
42
57
  StockChartSelectedDataIndexesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StockChartSelectedDataIndexesDirective);
45
67
  return StockChartSelectedDataIndexesDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StockChartSeriesCollectionDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StockChartSeriesCollectionPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StockChartSeriesCollectionDirective = /** @class */ (function (_super) {
32
34
  __extends(StockChartSeriesCollectionDirective, _super);
33
35
  function StockChartSeriesCollectionDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StockChartSeriesCollectionDirective.prototype.render = function () {
38
+ StockChartSeriesCollectionDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StockChartSeriesCollectionDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StockChartSeriesCollectionDirective.prototype.getTag = function () {
40
55
  return 'e-stockchart-series-collection';
41
56
  };
42
57
  StockChartSeriesCollectionDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StockChartSeriesCollectionDirective);
45
67
  return StockChartSeriesCollectionDirective;
46
68
  }(vueImport));
@@ -31,6 +31,7 @@ export declare class StockChartComponent extends ComponentBase {
31
31
  [key: string]: Object;
32
32
  }, successHandler?: Function): void;
33
33
  render(createElement: any): any;
34
+ custom(): void;
34
35
  chartModuleInjection(): void;
35
36
  findCurrentData(totalData: Object, xName: string): Object;
36
37
  rangeChanged(updatedStart: number, updatedEnd: number): void;
@@ -67,6 +67,7 @@ var StockChartComponent = /** @class */ (function (_super) {
67
67
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
68
68
  _this.ej2Instances.setProperties = _this.setProperties;
69
69
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
70
+ _this.updated = _this.updated;
70
71
  return _this;
71
72
  }
72
73
  StockChartComponent.prototype.clearTemplate = function (templateNames) {
@@ -163,6 +164,9 @@ var StockChartComponent = /** @class */ (function (_super) {
163
164
  }
164
165
  return h('div', slots);
165
166
  };
167
+ StockChartComponent.prototype.custom = function () {
168
+ this.updated();
169
+ };
166
170
  StockChartComponent.prototype.chartModuleInjection = function () {
167
171
  return this.ej2Instances.chartModuleInjection();
168
172
  };
@@ -188,7 +192,12 @@ var StockChartComponent = /** @class */ (function (_super) {
188
192
  ,Options({
189
193
  props: props,
190
194
  watch: watch,
191
- emits: emitProbs
195
+ emits: emitProbs,
196
+ provide: function provide() {
197
+ return {
198
+ custom: this.custom
199
+ };
200
+ }
192
201
  })
193
202
  ], StockChartComponent);
194
203
  return StockChartComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StockEventsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StockEventsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StockEventsDirective = /** @class */ (function (_super) {
32
34
  __extends(StockEventsDirective, _super);
33
35
  function StockEventsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StockEventsDirective.prototype.render = function () {
38
+ StockEventsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StockEventsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StockEventsDirective.prototype.getTag = function () {
40
55
  return 'e-stockchart-stockevents';
41
56
  };
42
57
  StockEventsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StockEventsDirective);
45
67
  return StockEventsDirective;
46
68
  }(vueImport));