@progress/kendo-angular-charts 5.3.0 → 5.3.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.
@@ -185,7 +185,9 @@ var ChartComponent = /** @class */ (function (_super) {
185
185
  };
186
186
  ChartComponent.prototype.ngOnDestroy = function () {
187
187
  this.destroyed = true;
188
- this.subscription.unsubscribe();
188
+ if (this.subscription) {
189
+ this.subscription.unsubscribe();
190
+ }
189
191
  if (this.domSubscriptions) {
190
192
  this.domSubscriptions();
191
193
  this.domSubscriptions = null;
@@ -504,7 +506,7 @@ var ChartComponent = /** @class */ (function (_super) {
504
506
  }
505
507
  var firstSeries = this.options.series[0];
506
508
  var charts = this.instance._plotArea.charts;
507
- if (!firstSeries || firstSeries.type !== 'donut' || charts[0].points.length === 0) {
509
+ if (!firstSeries || firstSeries.type !== 'donut' || !charts || charts[0].points.length === 0) {
508
510
  return;
509
511
  }
510
512
  var firstPoint = charts[0].points[0];
@@ -9,7 +9,7 @@ export var packageMetadata = {
9
9
  name: '@progress/kendo-angular-charts',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1630603425,
12
+ publishDate: 1635940682,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -131,9 +131,9 @@ export declare class ChartComponent extends ChartComponentGenerated implements O
131
131
  protected suppressTransitions: boolean;
132
132
  protected resizeTimeout: any;
133
133
  protected redrawTimeout: any;
134
- protected domSubscriptions: any;
134
+ protected domSubscriptions: () => void;
135
135
  protected destroyed: boolean;
136
- protected subscriptions: any;
136
+ protected subscriptions: Subscription;
137
137
  protected rtl: boolean;
138
138
  protected hostClasses: string[];
139
139
  constructor(configurationService: ConfigurationService, themeService: ThemeService, element: ElementRef, intl: IntlService, localizationService: LocalizationService, ngZone: NgZone, instanceEventService: InstanceEventService, changeDetector: ChangeDetectorRef, renderer: Renderer2);
@@ -180,7 +180,9 @@ let ChartComponent = class ChartComponent extends ChartComponentGenerated {
180
180
  }
181
181
  ngOnDestroy() {
182
182
  this.destroyed = true;
183
- this.subscription.unsubscribe();
183
+ if (this.subscription) {
184
+ this.subscription.unsubscribe();
185
+ }
184
186
  if (this.domSubscriptions) {
185
187
  this.domSubscriptions();
186
188
  this.domSubscriptions = null;
@@ -485,7 +487,7 @@ let ChartComponent = class ChartComponent extends ChartComponentGenerated {
485
487
  }
486
488
  const firstSeries = this.options.series[0];
487
489
  const charts = this.instance._plotArea.charts;
488
- if (!firstSeries || firstSeries.type !== 'donut' || charts[0].points.length === 0) {
490
+ if (!firstSeries || firstSeries.type !== 'donut' || !charts || charts[0].points.length === 0) {
489
491
  return;
490
492
  }
491
493
  const firstPoint = charts[0].points[0];
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-charts',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1630603425,
12
+ publishDate: 1635940682,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -24,7 +24,7 @@ const packageMetadata = {
24
24
  name: '@progress/kendo-angular-charts',
25
25
  productName: 'Kendo UI for Angular',
26
26
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
27
- publishDate: 1630603425,
27
+ publishDate: 1635940682,
28
28
  version: '',
29
29
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
30
30
  };
@@ -2805,7 +2805,9 @@ let ChartComponent = class ChartComponent extends ChartComponentGenerated {
2805
2805
  }
2806
2806
  ngOnDestroy() {
2807
2807
  this.destroyed = true;
2808
- this.subscription.unsubscribe();
2808
+ if (this.subscription) {
2809
+ this.subscription.unsubscribe();
2810
+ }
2809
2811
  if (this.domSubscriptions) {
2810
2812
  this.domSubscriptions();
2811
2813
  this.domSubscriptions = null;
@@ -3110,7 +3112,7 @@ let ChartComponent = class ChartComponent extends ChartComponentGenerated {
3110
3112
  }
3111
3113
  const firstSeries = this.options.series[0];
3112
3114
  const charts = this.instance._plotArea.charts;
3113
- if (!firstSeries || firstSeries.type !== 'donut' || charts[0].points.length === 0) {
3115
+ if (!firstSeries || firstSeries.type !== 'donut' || !charts || charts[0].points.length === 0) {
3114
3116
  return;
3115
3117
  }
3116
3118
  const firstPoint = charts[0].points[0];
@@ -24,7 +24,7 @@ var packageMetadata = {
24
24
  name: '@progress/kendo-angular-charts',
25
25
  productName: 'Kendo UI for Angular',
26
26
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
27
- publishDate: 1630603425,
27
+ publishDate: 1635940682,
28
28
  version: '',
29
29
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
30
30
  };
@@ -2906,7 +2906,9 @@ var ChartComponent = /** @class */ (function (_super) {
2906
2906
  };
2907
2907
  ChartComponent.prototype.ngOnDestroy = function () {
2908
2908
  this.destroyed = true;
2909
- this.subscription.unsubscribe();
2909
+ if (this.subscription) {
2910
+ this.subscription.unsubscribe();
2911
+ }
2910
2912
  if (this.domSubscriptions) {
2911
2913
  this.domSubscriptions();
2912
2914
  this.domSubscriptions = null;
@@ -3225,7 +3227,7 @@ var ChartComponent = /** @class */ (function (_super) {
3225
3227
  }
3226
3228
  var firstSeries = this.options.series[0];
3227
3229
  var charts = this.instance._plotArea.charts;
3228
- if (!firstSeries || firstSeries.type !== 'donut' || charts[0].points.length === 0) {
3230
+ if (!firstSeries || firstSeries.type !== 'donut' || !charts || charts[0].points.length === 0) {
3229
3231
  return;
3230
3232
  }
3231
3233
  var firstPoint = charts[0].points[0];
@@ -187,7 +187,9 @@ var ChartComponent = /** @class */ (function (_super) {
187
187
  };
188
188
  ChartComponent.prototype.ngOnDestroy = function () {
189
189
  this.destroyed = true;
190
- this.subscription.unsubscribe();
190
+ if (this.subscription) {
191
+ this.subscription.unsubscribe();
192
+ }
191
193
  if (this.domSubscriptions) {
192
194
  this.domSubscriptions();
193
195
  this.domSubscriptions = null;
@@ -506,7 +508,7 @@ var ChartComponent = /** @class */ (function (_super) {
506
508
  }
507
509
  var firstSeries = this.options.series[0];
508
510
  var charts = this.instance._plotArea.charts;
509
- if (!firstSeries || firstSeries.type !== 'donut' || charts[0].points.length === 0) {
511
+ if (!firstSeries || firstSeries.type !== 'donut' || !charts || charts[0].points.length === 0) {
510
512
  return;
511
513
  }
512
514
  var firstPoint = charts[0].points[0];
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-charts',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1630603425,
14
+ publishDate: 1635940682,
15
15
  version: '',
16
16
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
17
17
  };