@syncfusion/ej2-vue-charts 20.1.48 → 20.1.52

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 +53 -0
  2. package/dist/ej2-vue-charts.umd.min.js +11 -2
  3. package/dist/es6/ej2-vue-charts.es2015.js +1065 -71
  4. package/dist/es6/ej2-vue-charts.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-charts.es5.js +744 -93
  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 -14
  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 +1 -0
  48. package/src/range-navigator/rangenavigator.component.js +10 -1
  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
package/package.json CHANGED
@@ -1,14 +1,8 @@
1
1
  {
2
- "_args": [
3
- [
4
- "@syncfusion/ej2-vue-charts@19.4.53",
5
- "D:\\Augest 2021\\vue package publish\\vue source from nexus"
6
- ]
7
- ],
8
2
  "_from": "@syncfusion/ej2-vue-charts@*",
9
- "_id": "@syncfusion/ej2-vue-charts@19.4.53",
3
+ "_id": "@syncfusion/ej2-vue-charts@20.1.51",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-FDMJsNaBM5iYnfEkqIWCzB8mpTwy6SZjRe2bbBuU4jYyOQVGQ5y0bZZys5dcJW31/bQxrgBaZFdRq8FUwc8Fjg==",
5
+ "_integrity": "sha512-c5SZxscSr4czVlSRmwk/eBQrIK6u6UZqBDfXaj3yMSQjon7g3R87VFHH6X+GiTwmrgPU0xCMLHfw2Uc3ZBzN+w==",
12
6
  "_location": "/@syncfusion/ej2-vue-charts",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
@@ -25,8 +19,8 @@
25
19
  "_requiredBy": [
26
20
  "/"
27
21
  ],
28
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-charts/-/ej2-vue-charts-19.4.53.tgz",
29
- "_shasum": "73cab51922d922af35a44ac490653c9bfe77f09e",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-charts/-/ej2-vue-charts-20.1.51.tgz",
23
+ "_shasum": "efd403d1ae139b45b70fccd96ba453de7dcdbe30",
30
24
  "_spec": "@syncfusion/ej2-vue-charts@*",
31
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
32
26
  "author": {
@@ -37,9 +31,9 @@
37
31
  },
38
32
  "bundleDependencies": false,
39
33
  "dependencies": {
40
- "@syncfusion/ej2-base": "~20.1.48",
41
- "@syncfusion/ej2-charts": "20.1.48",
42
- "@syncfusion/ej2-vue-base": "~20.1.48"
34
+ "@syncfusion/ej2-base": "~20.1.50",
35
+ "@syncfusion/ej2-charts": "20.1.52",
36
+ "@syncfusion/ej2-vue-base": "~20.1.51"
43
37
  },
44
38
  "deprecated": false,
45
39
  "description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball. for Vue",
@@ -89,6 +83,6 @@
89
83
  "type": "git",
90
84
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
91
85
  },
92
- "version": "20.1.48",
86
+ "version": "20.1.52",
93
87
  "sideEffects": false
94
88
  }
@@ -31,6 +31,7 @@ export declare class AccumulationChartComponent extends ComponentBase {
31
31
  [key: string]: Object;
32
32
  }, successHandler?: Function): void;
33
33
  render(createElement: any): any;
34
+ custom(): void;
34
35
  export(type: Object, fileName: string): void;
35
36
  print(id?: string[] | string | Object): void;
36
37
  setAnnotationValue(annotationIndex: number, content: string): void;
@@ -60,6 +60,7 @@ var AccumulationChartComponent = /** @class */ (function (_super) {
60
60
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
61
61
  _this.ej2Instances.setProperties = _this.setProperties;
62
62
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
63
+ _this.updated = _this.updated;
63
64
  return _this;
64
65
  }
65
66
  AccumulationChartComponent.prototype.clearTemplate = function (templateNames) {
@@ -156,6 +157,9 @@ var AccumulationChartComponent = /** @class */ (function (_super) {
156
157
  }
157
158
  return h('div', slots);
158
159
  };
160
+ AccumulationChartComponent.prototype.custom = function () {
161
+ this.updated();
162
+ };
159
163
  AccumulationChartComponent.prototype.export = function (type, fileName) {
160
164
  return this.ej2Instances.export(type, fileName);
161
165
  };
@@ -178,7 +182,12 @@ var AccumulationChartComponent = /** @class */ (function (_super) {
178
182
  ,Options({
179
183
  props: props,
180
184
  watch: watch,
181
- emits: emitProbs
185
+ emits: emitProbs,
186
+ provide: function provide() {
187
+ return {
188
+ custom: this.custom
189
+ };
190
+ }
182
191
  })
183
192
  ], AccumulationChartComponent);
184
193
  return AccumulationChartComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class AccumulationAnnotationsDirective 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 AccumulationAnnotationsPlugin: {
@@ -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 AccumulationAnnotationsDirective = /** @class */ (function (_super) {
32
34
  __extends(AccumulationAnnotationsDirective, _super);
33
35
  function AccumulationAnnotationsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- AccumulationAnnotationsDirective.prototype.render = function () {
38
+ AccumulationAnnotationsDirective.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
+ AccumulationAnnotationsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  AccumulationAnnotationsDirective.prototype.getTag = function () {
40
55
  return 'e-accumulation-annotations';
41
56
  };
42
57
  AccumulationAnnotationsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], AccumulationAnnotationsDirective);
45
67
  return AccumulationAnnotationsDirective;
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 AccumulationSeriesCollectionDirective 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 AccumulationSeriesCollectionPlugin: {
@@ -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 AccumulationSeriesCollectionDirective = /** @class */ (function (_super) {
32
34
  __extends(AccumulationSeriesCollectionDirective, _super);
33
35
  function AccumulationSeriesCollectionDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- AccumulationSeriesCollectionDirective.prototype.render = function () {
38
+ AccumulationSeriesCollectionDirective.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
+ AccumulationSeriesCollectionDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  AccumulationSeriesCollectionDirective.prototype.getTag = function () {
40
55
  return 'e-accumulation-series-collection';
41
56
  };
42
57
  AccumulationSeriesCollectionDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], AccumulationSeriesCollectionDirective);
45
67
  return AccumulationSeriesCollectionDirective;
46
68
  }(vueImport));
@@ -31,6 +31,7 @@ export declare class BulletChartComponent extends ComponentBase {
31
31
  [key: string]: Object;
32
32
  }, successHandler?: Function): void;
33
33
  render(createElement: any): any;
34
+ custom(): void;
34
35
  createSvg(chart: Object): void;
35
36
  export(type: Object, fileName: string, orientation?: Object, controls?: undefined[], width?: number, height?: number, isVertical?: boolean): void;
36
37
  print(id?: string[] | string | Object): void;
@@ -59,6 +59,7 @@ var BulletChartComponent = /** @class */ (function (_super) {
59
59
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
60
60
  _this.ej2Instances.setProperties = _this.setProperties;
61
61
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
62
+ _this.updated = _this.updated;
62
63
  return _this;
63
64
  }
64
65
  BulletChartComponent.prototype.clearTemplate = function (templateNames) {
@@ -155,6 +156,9 @@ var BulletChartComponent = /** @class */ (function (_super) {
155
156
  }
156
157
  return h('div', slots);
157
158
  };
159
+ BulletChartComponent.prototype.custom = function () {
160
+ this.updated();
161
+ };
158
162
  BulletChartComponent.prototype.createSvg = function (chart) {
159
163
  return this.ej2Instances.createSvg(chart);
160
164
  };
@@ -177,7 +181,12 @@ var BulletChartComponent = /** @class */ (function (_super) {
177
181
  ,Options({
178
182
  props: props,
179
183
  watch: watch,
180
- emits: emitProbs
184
+ emits: emitProbs,
185
+ provide: function provide() {
186
+ return {
187
+ custom: this.custom
188
+ };
189
+ }
181
190
  })
182
191
  ], BulletChartComponent);
183
192
  return BulletChartComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class BulletRangeCollectionDirective 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 BulletRangeCollectionPlugin: {
@@ -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 BulletRangeCollectionDirective = /** @class */ (function (_super) {
32
34
  __extends(BulletRangeCollectionDirective, _super);
33
35
  function BulletRangeCollectionDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- BulletRangeCollectionDirective.prototype.render = function () {
38
+ BulletRangeCollectionDirective.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
+ BulletRangeCollectionDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  BulletRangeCollectionDirective.prototype.getTag = function () {
40
55
  return 'e-bullet-range-collection';
41
56
  };
42
57
  BulletRangeCollectionDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], BulletRangeCollectionDirective);
45
67
  return BulletRangeCollectionDirective;
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 AnnotationsDirective 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 AnnotationsPlugin: {
@@ -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 AnnotationsDirective = /** @class */ (function (_super) {
32
34
  __extends(AnnotationsDirective, _super);
33
35
  function AnnotationsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- AnnotationsDirective.prototype.render = function () {
38
+ AnnotationsDirective.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
+ AnnotationsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  AnnotationsDirective.prototype.getTag = function () {
40
55
  return 'e-annotations';
41
56
  };
42
57
  AnnotationsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], AnnotationsDirective);
45
67
  return AnnotationsDirective;
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 AxesDirective 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 AxesPlugin: {
@@ -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 AxesDirective = /** @class */ (function (_super) {
32
34
  __extends(AxesDirective, _super);
33
35
  function AxesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- AxesDirective.prototype.render = function () {
38
+ AxesDirective.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
+ AxesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  AxesDirective.prototype.getTag = function () {
40
55
  return 'e-axes';
41
56
  };
42
57
  AxesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], AxesDirective);
45
67
  return AxesDirective;
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 CategoriesDirective 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 CategoriesPlugin: {
@@ -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 CategoriesDirective = /** @class */ (function (_super) {
32
34
  __extends(CategoriesDirective, _super);
33
35
  function CategoriesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- CategoriesDirective.prototype.render = function () {
38
+ CategoriesDirective.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
+ CategoriesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  CategoriesDirective.prototype.getTag = function () {
40
55
  return 'e-categories';
41
56
  };
42
57
  CategoriesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], CategoriesDirective);
45
67
  return CategoriesDirective;
46
68
  }(vueImport));
@@ -31,6 +31,7 @@ export declare class ChartComponent extends ComponentBase {
31
31
  [key: string]: Object;
32
32
  }, successHandler?: Function): void;
33
33
  render(createElement: any): any;
34
+ custom(): void;
34
35
  addAxes(axisCollection: Object[]): void;
35
36
  addSeries(seriesCollection: Object[]): void;
36
37
  clearSeries(): void;
@@ -71,6 +71,7 @@ var ChartComponent = /** @class */ (function (_super) {
71
71
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
72
72
  _this.ej2Instances.setProperties = _this.setProperties;
73
73
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
74
+ _this.updated = _this.updated;
74
75
  return _this;
75
76
  }
76
77
  ChartComponent.prototype.clearTemplate = function (templateNames) {
@@ -167,6 +168,9 @@ var ChartComponent = /** @class */ (function (_super) {
167
168
  }
168
169
  return h('div', slots);
169
170
  };
171
+ ChartComponent.prototype.custom = function () {
172
+ this.updated();
173
+ };
170
174
  ChartComponent.prototype.addAxes = function (axisCollection) {
171
175
  return this.ej2Instances.addAxes(axisCollection);
172
176
  };
@@ -213,7 +217,12 @@ var ChartComponent = /** @class */ (function (_super) {
213
217
  ,Options({
214
218
  props: props,
215
219
  watch: watch,
216
- emits: emitProbs
220
+ emits: emitProbs,
221
+ provide: function provide() {
222
+ return {
223
+ custom: this.custom
224
+ };
225
+ }
217
226
  })
218
227
  ], ChartComponent);
219
228
  return ChartComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class ColumnsDirective 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 ColumnsPlugin: {
@@ -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 ColumnsDirective = /** @class */ (function (_super) {
32
34
  __extends(ColumnsDirective, _super);
33
35
  function ColumnsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- ColumnsDirective.prototype.render = function () {
38
+ ColumnsDirective.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
+ ColumnsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  ColumnsDirective.prototype.getTag = function () {
40
55
  return 'e-columns';
41
56
  };
42
57
  ColumnsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], ColumnsDirective);
45
67
  return ColumnsDirective;
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 IndicatorsDirective 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 IndicatorsPlugin: {
@@ -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 IndicatorsDirective = /** @class */ (function (_super) {
32
34
  __extends(IndicatorsDirective, _super);
33
35
  function IndicatorsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- IndicatorsDirective.prototype.render = function () {
38
+ IndicatorsDirective.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
+ IndicatorsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  IndicatorsDirective.prototype.getTag = function () {
40
55
  return 'e-indicators';
41
56
  };
42
57
  IndicatorsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], IndicatorsDirective);
45
67
  return IndicatorsDirective;
46
68
  }(vueImport));