@progress/kendo-angular-charts 18.2.0-develop.2 → 18.2.1-develop.1

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.
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { TemplateRef } from '@angular/core';
5
+ import { TemplateRef, Renderer2 } from '@angular/core';
6
6
  import { BaseTooltip } from './base-tooltip';
7
7
  import { PopupService } from '@progress/kendo-angular-popup';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
@@ -11,11 +11,13 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export declare class CrosshairTooltipComponent extends BaseTooltip {
14
+ private renderer;
14
15
  templateRef: TemplateRef<any>;
15
16
  key: string;
16
17
  value: any;
17
18
  animate: boolean;
18
- constructor(popupService: PopupService, localizationService: LocalizationService);
19
+ constructor(popupService: PopupService, localizationService: LocalizationService, renderer: Renderer2);
20
+ protected onInit(): void;
19
21
  show(e: any): void;
20
22
  static ɵfac: i0.ɵɵFactoryDeclaration<CrosshairTooltipComponent, never>;
21
23
  static ɵcmp: i0.ɵɵComponentDeclaration<CrosshairTooltipComponent, "kendo-chart-crosshair-tooltip", never, { "key": { "alias": "key"; "required": false; }; }, {}, never, never, true, never>;
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, Input, ViewChild, TemplateRef } from '@angular/core';
5
+ import { Component, Input, ViewChild, TemplateRef, Renderer2 } from '@angular/core';
6
6
  import { BaseTooltip } from './base-tooltip';
7
7
  import { PopupService, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
@@ -15,19 +15,26 @@ import * as i2 from "@progress/kendo-angular-l10n";
15
15
  * @hidden
16
16
  */
17
17
  export class CrosshairTooltipComponent extends BaseTooltip {
18
+ renderer;
18
19
  templateRef;
19
20
  key;
20
21
  value;
21
22
  animate = false;
22
- constructor(popupService, localizationService) {
23
+ constructor(popupService, localizationService, renderer) {
23
24
  super(popupService, localizationService);
25
+ this.renderer = renderer;
26
+ }
27
+ onInit() {
28
+ if (this.popupRef?.popupElement) {
29
+ this.renderer.addClass(this.popupRef.popupElement, 'k-chart-tooltip-wrapper');
30
+ }
24
31
  }
25
32
  show(e) {
26
33
  super.show(e);
27
34
  this.value = e.value;
28
35
  this.popupRef.popup.changeDetectorRef.detectChanges();
29
36
  }
30
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CrosshairTooltipComponent, deps: [{ token: i1.PopupService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CrosshairTooltipComponent, deps: [{ token: i1.PopupService }, { token: i2.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
31
38
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CrosshairTooltipComponent, isStandalone: true, selector: "kendo-chart-crosshair-tooltip", inputs: { key: "key" }, providers: [PopupService, {
32
39
  provide: POPUP_CONTAINER,
33
40
  useFactory: bodyFactory
@@ -57,7 +64,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
57
64
  standalone: true,
58
65
  imports: [NgStyle]
59
66
  }]
60
- }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i2.LocalizationService }]; }, propDecorators: { templateRef: [{
67
+ }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i2.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { templateRef: [{
61
68
  type: ViewChild,
62
69
  args: ['content', { static: true }]
63
70
  }], key: [{
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1742202334,
14
- version: '18.2.0-develop.2',
13
+ publishDate: 1742832496,
14
+ version: '18.2.1-develop.1',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -1141,19 +1141,26 @@ function bodyFactory() {
1141
1141
  * @hidden
1142
1142
  */
1143
1143
  class CrosshairTooltipComponent extends BaseTooltip {
1144
+ renderer;
1144
1145
  templateRef;
1145
1146
  key;
1146
1147
  value;
1147
1148
  animate = false;
1148
- constructor(popupService, localizationService) {
1149
+ constructor(popupService, localizationService, renderer) {
1149
1150
  super(popupService, localizationService);
1151
+ this.renderer = renderer;
1152
+ }
1153
+ onInit() {
1154
+ if (this.popupRef?.popupElement) {
1155
+ this.renderer.addClass(this.popupRef.popupElement, 'k-chart-tooltip-wrapper');
1156
+ }
1150
1157
  }
1151
1158
  show(e) {
1152
1159
  super.show(e);
1153
1160
  this.value = e.value;
1154
1161
  this.popupRef.popup.changeDetectorRef.detectChanges();
1155
1162
  }
1156
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CrosshairTooltipComponent, deps: [{ token: i1.PopupService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1163
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CrosshairTooltipComponent, deps: [{ token: i1.PopupService }, { token: i1$1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1157
1164
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CrosshairTooltipComponent, isStandalone: true, selector: "kendo-chart-crosshair-tooltip", inputs: { key: "key" }, providers: [PopupService, {
1158
1165
  provide: POPUP_CONTAINER,
1159
1166
  useFactory: bodyFactory
@@ -1183,7 +1190,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1183
1190
  standalone: true,
1184
1191
  imports: [NgStyle]
1185
1192
  }]
1186
- }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i1$1.LocalizationService }]; }, propDecorators: { templateRef: [{
1193
+ }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i1$1.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { templateRef: [{
1187
1194
  type: ViewChild,
1188
1195
  args: ['content', { static: true }]
1189
1196
  }], key: [{
@@ -2726,8 +2733,8 @@ const packageMetadata = {
2726
2733
  productName: 'Kendo UI for Angular',
2727
2734
  productCode: 'KENDOUIANGULAR',
2728
2735
  productCodes: ['KENDOUIANGULAR'],
2729
- publishDate: 1742202334,
2730
- version: '18.2.0-develop.2',
2736
+ publishDate: 1742832496,
2737
+ version: '18.2.1-develop.1',
2731
2738
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
2732
2739
  };
2733
2740
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-charts",
3
- "version": "18.2.0-develop.2",
3
+ "version": "18.2.1-develop.1",
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": 1742202334,
45
+ "publishDate": 1742832496,
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.2.0-develop.2",
57
- "@progress/kendo-angular-intl": "18.2.0-develop.2",
58
- "@progress/kendo-angular-icons": "18.2.0-develop.2",
59
- "@progress/kendo-angular-l10n": "18.2.0-develop.2",
60
- "@progress/kendo-angular-popup": "18.2.0-develop.2",
61
- "@progress/kendo-angular-navigation": "18.2.0-develop.2",
56
+ "@progress/kendo-angular-common": "18.2.1-develop.1",
57
+ "@progress/kendo-angular-intl": "18.2.1-develop.1",
58
+ "@progress/kendo-angular-icons": "18.2.1-develop.1",
59
+ "@progress/kendo-angular-l10n": "18.2.1-develop.1",
60
+ "@progress/kendo-angular-popup": "18.2.1-develop.1",
61
+ "@progress/kendo-angular-navigation": "18.2.1-develop.1",
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.2.0-develop.2",
66
+ "@progress/kendo-angular-schematics": "18.2.1-develop.1",
67
67
  "@progress/kendo-charts": "2.7.1",
68
68
  "@progress/kendo-svg-icons": "^4.0.0"
69
69
  },