@progress/kendo-angular-charts 18.6.0-develop.1 → 19.0.0-develop.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.
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1745314758,
14
- version: '18.6.0-develop.1',
13
+ publishDate: 1745321768,
14
+ version: '19.0.0-develop.2',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -153,6 +153,7 @@ export class SankeyComponent {
153
153
  destroyed;
154
154
  subscriptions;
155
155
  rtl = false;
156
+ hostClasses = ['k-chart', 'k-sankey'];
156
157
  constructor(element, configurationService, themeService, localizationService, instanceEventService, ngZone, changeDetector, renderer, intlService) {
157
158
  this.element = element;
158
159
  this.configurationService = configurationService;
@@ -168,6 +169,13 @@ export class SankeyComponent {
168
169
  this.themeService.loadTheme();
169
170
  this.refreshWait();
170
171
  }
172
+ ngOnInit() {
173
+ if (this.element) {
174
+ this.hostClasses.forEach(name => {
175
+ this.renderer.addClass(this.element.nativeElement, name);
176
+ });
177
+ }
178
+ }
171
179
  ngAfterViewInit() {
172
180
  this.setDirection();
173
181
  this.subscriptions = this.intlService.changes.subscribe(this.intlChange.bind(this));
@@ -219,6 +227,9 @@ export class SankeyComponent {
219
227
  ['nodeEnter', 'nodeLeave', 'nodeClick', 'linkEnter', 'linkLeave', 'linkClick'].forEach((eventName) => this.instance.bind(eventName, (e) => this.trigger(eventName, e)));
220
228
  this.instance.bind('tooltipShow', (e) => this.onShowTooltip(e));
221
229
  this.instance.bind('tooltipHide', () => this.onHideTooltip());
230
+ this.hostClasses.forEach(name => {
231
+ this.renderer.removeClass(this.instanceElement.nativeElement, name);
232
+ });
222
233
  }
223
234
  /**
224
235
  * Exports the Sankey diagram as an image. The export operation is asynchronous and returns a promise.
@@ -385,7 +396,7 @@ export class SankeyComponent {
385
396
  i18n-tooltipUnitFormat="kendo.sankey.tooltipUnitFormat|The format string to use when displaying node and link values in the tooltip"
386
397
  tooltipUnitFormat="({0} units)"
387
398
  ></ng-container>
388
- <div #instance></div>
399
+ <div #instance class="k-chart-surface"></div>
389
400
  <kendo-sankey-tooltip-popup
390
401
  [popupSettings]="popupSettings"
391
402
  [tooltipUnitFormat]="messageFor('tooltipUnitFormat')"
@@ -416,7 +427,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
416
427
  i18n-tooltipUnitFormat="kendo.sankey.tooltipUnitFormat|The format string to use when displaying node and link values in the tooltip"
417
428
  tooltipUnitFormat="({0} units)"
418
429
  ></ng-container>
419
- <div #instance></div>
430
+ <div #instance class="k-chart-surface"></div>
420
431
  <kendo-sankey-tooltip-popup
421
432
  [popupSettings]="popupSettings"
422
433
  [tooltipUnitFormat]="messageFor('tooltipUnitFormat')"
@@ -2733,8 +2733,8 @@ const packageMetadata = {
2733
2733
  productName: 'Kendo UI for Angular',
2734
2734
  productCode: 'KENDOUIANGULAR',
2735
2735
  productCodes: ['KENDOUIANGULAR'],
2736
- publishDate: 1745314758,
2737
- version: '18.6.0-develop.1',
2736
+ publishDate: 1745321768,
2737
+ version: '19.0.0-develop.2',
2738
2738
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
2739
2739
  };
2740
2740
 
@@ -11248,6 +11248,7 @@ class SankeyComponent {
11248
11248
  destroyed;
11249
11249
  subscriptions;
11250
11250
  rtl = false;
11251
+ hostClasses = ['k-chart', 'k-sankey'];
11251
11252
  constructor(element, configurationService, themeService, localizationService, instanceEventService, ngZone, changeDetector, renderer, intlService) {
11252
11253
  this.element = element;
11253
11254
  this.configurationService = configurationService;
@@ -11263,6 +11264,13 @@ class SankeyComponent {
11263
11264
  this.themeService.loadTheme();
11264
11265
  this.refreshWait();
11265
11266
  }
11267
+ ngOnInit() {
11268
+ if (this.element) {
11269
+ this.hostClasses.forEach(name => {
11270
+ this.renderer.addClass(this.element.nativeElement, name);
11271
+ });
11272
+ }
11273
+ }
11266
11274
  ngAfterViewInit() {
11267
11275
  this.setDirection();
11268
11276
  this.subscriptions = this.intlService.changes.subscribe(this.intlChange.bind(this));
@@ -11314,6 +11322,9 @@ class SankeyComponent {
11314
11322
  ['nodeEnter', 'nodeLeave', 'nodeClick', 'linkEnter', 'linkLeave', 'linkClick'].forEach((eventName) => this.instance.bind(eventName, (e) => this.trigger(eventName, e)));
11315
11323
  this.instance.bind('tooltipShow', (e) => this.onShowTooltip(e));
11316
11324
  this.instance.bind('tooltipHide', () => this.onHideTooltip());
11325
+ this.hostClasses.forEach(name => {
11326
+ this.renderer.removeClass(this.instanceElement.nativeElement, name);
11327
+ });
11317
11328
  }
11318
11329
  /**
11319
11330
  * Exports the Sankey diagram as an image. The export operation is asynchronous and returns a promise.
@@ -11480,7 +11491,7 @@ class SankeyComponent {
11480
11491
  i18n-tooltipUnitFormat="kendo.sankey.tooltipUnitFormat|The format string to use when displaying node and link values in the tooltip"
11481
11492
  tooltipUnitFormat="({0} units)"
11482
11493
  ></ng-container>
11483
- <div #instance></div>
11494
+ <div #instance class="k-chart-surface"></div>
11484
11495
  <kendo-sankey-tooltip-popup
11485
11496
  [popupSettings]="popupSettings"
11486
11497
  [tooltipUnitFormat]="messageFor('tooltipUnitFormat')"
@@ -11511,7 +11522,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
11511
11522
  i18n-tooltipUnitFormat="kendo.sankey.tooltipUnitFormat|The format string to use when displaying node and link values in the tooltip"
11512
11523
  tooltipUnitFormat="({0} units)"
11513
11524
  ></ng-container>
11514
- <div #instance></div>
11525
+ <div #instance class="k-chart-surface"></div>
11515
11526
  <kendo-sankey-tooltip-popup
11516
11527
  [popupSettings]="popupSettings"
11517
11528
  [tooltipUnitFormat]="messageFor('tooltipUnitFormat')"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-charts",
3
- "version": "18.6.0-develop.1",
3
+ "version": "19.0.0-develop.2",
4
4
  "description": "Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -42,7 +42,7 @@
42
42
  "package": {
43
43
  "productName": "Kendo UI for Angular",
44
44
  "productCode": "KENDOUIANGULAR",
45
- "publishDate": 1745314758,
45
+ "publishDate": 1745321768,
46
46
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
47
47
  }
48
48
  },
@@ -53,17 +53,17 @@
53
53
  "@angular/platform-browser": "16 - 19",
54
54
  "@progress/kendo-drawing": "^1.21.0",
55
55
  "@progress/kendo-licensing": "^1.5.0",
56
- "@progress/kendo-angular-common": "18.6.0-develop.1",
57
- "@progress/kendo-angular-intl": "18.6.0-develop.1",
58
- "@progress/kendo-angular-icons": "18.6.0-develop.1",
59
- "@progress/kendo-angular-l10n": "18.6.0-develop.1",
60
- "@progress/kendo-angular-popup": "18.6.0-develop.1",
61
- "@progress/kendo-angular-navigation": "18.6.0-develop.1",
56
+ "@progress/kendo-angular-common": "19.0.0-develop.2",
57
+ "@progress/kendo-angular-intl": "19.0.0-develop.2",
58
+ "@progress/kendo-angular-icons": "19.0.0-develop.2",
59
+ "@progress/kendo-angular-l10n": "19.0.0-develop.2",
60
+ "@progress/kendo-angular-popup": "19.0.0-develop.2",
61
+ "@progress/kendo-angular-navigation": "19.0.0-develop.2",
62
62
  "rxjs": "^6.5.3 || ^7.0.0"
63
63
  },
64
64
  "dependencies": {
65
65
  "tslib": "^2.3.1",
66
- "@progress/kendo-angular-schematics": "18.6.0-develop.1",
66
+ "@progress/kendo-angular-schematics": "19.0.0-develop.2",
67
67
  "@progress/kendo-charts": "2.7.2",
68
68
  "@progress/kendo-svg-icons": "^4.0.0"
69
69
  },
@@ -141,7 +141,9 @@ export declare class SankeyComponent implements AfterViewInit, OnChanges, OnDest
141
141
  protected destroyed: boolean;
142
142
  protected subscriptions: Subscription;
143
143
  protected rtl: boolean;
144
+ protected hostClasses: string[];
144
145
  constructor(element: ElementRef, configurationService: ConfigurationService, themeService: SankeyThemeService, localizationService: LocalizationService, instanceEventService: InstanceEventService, ngZone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, intlService: IntlService);
146
+ ngOnInit(): void;
145
147
  ngAfterViewInit(): void;
146
148
  ngOnChanges(changes: {
147
149
  [propertyName: string]: SimpleChange;