@progress/kendo-angular-charts 21.1.1-develop.2 → 21.2.0-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.
- package/chart/tooltip/shared-tooltip-template.directive.d.ts +4 -2
- package/esm2022/chart/tooltip/crosshair-tooltips-container.component.mjs +12 -9
- package/esm2022/chart/tooltip/shared-tooltip-template.directive.mjs +4 -2
- package/esm2022/chart/tooltip/tooltip-popup.component.mjs +78 -50
- package/esm2022/chart.component.mjs +49 -35
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/sankey/tooltip/tooltip-popup.component.mjs +69 -65
- package/esm2022/sankey.component.mjs +22 -19
- package/esm2022/sparkline.component.mjs +14 -11
- package/esm2022/stock-chart.component.mjs +12 -9
- package/fesm2022/progress-kendo-angular-charts.mjs +260 -196
- package/package.json +9 -9
|
@@ -19,7 +19,6 @@ import { Sankey, } from '@progress/kendo-charts';
|
|
|
19
19
|
import { hasObservers } from './common/has-observers';
|
|
20
20
|
import { SankeyTooltipPopupComponent } from './sankey/tooltip/tooltip-popup.component';
|
|
21
21
|
import { SankeyTooltipTemplateService } from './sankey/tooltip/tooltip-template.service';
|
|
22
|
-
import { NgIf } from '@angular/common';
|
|
23
22
|
import { LocalizedMessagesDirective } from './sankey/localization/localized-messages.directive';
|
|
24
23
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
25
24
|
import * as i0 from "@angular/core";
|
|
@@ -414,7 +413,7 @@ export class SankeyComponent {
|
|
|
414
413
|
return Boolean(this.localizationService.rtl);
|
|
415
414
|
}
|
|
416
415
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyComponent, deps: [{ token: i0.ElementRef }, { token: i1.ConfigurationService }, { token: i2.SankeyThemeService }, { token: i3.LocalizationService }, { token: i4.InstanceEventService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i5.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
417
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
416
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SankeyComponent, isStandalone: true, selector: "kendo-sankey", inputs: { data: "data", links: "links", nodes: "nodes", labels: "labels", title: "title", legend: "legend", tooltip: "tooltip", disableAutoLayout: "disableAutoLayout", navigable: "navigable", popupSettings: "popupSettings" }, outputs: { nodeEnter: "nodeEnter", nodeLeave: "nodeLeave", nodeClick: "nodeClick", linkEnter: "linkEnter", linkLeave: "linkLeave", linkClick: "linkClick" }, providers: [
|
|
418
417
|
ConfigurationService,
|
|
419
418
|
LocalizationService,
|
|
420
419
|
InstanceEventService,
|
|
@@ -425,18 +424,20 @@ export class SankeyComponent {
|
|
|
425
424
|
},
|
|
426
425
|
], viewQueries: [{ propertyName: "tooltipInstance", first: true, predicate: SankeyTooltipPopupComponent, descendants: true, static: true }, { propertyName: "instanceElement", first: true, predicate: ["instance"], descendants: true, static: true }], exportAs: ["kendoSankey"], usesOnChanges: true, ngImport: i0, template: `
|
|
427
426
|
<ng-container
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
427
|
+
kendoSankeyLocalizedMessages
|
|
428
|
+
i18n-tooltipUnitFormat="kendo.sankey.tooltipUnitFormat|The format string to use when displaying node and link values in the tooltip"
|
|
429
|
+
tooltipUnitFormat="({0} units)"
|
|
431
430
|
></ng-container>
|
|
432
431
|
<div #instance class="k-chart-surface"></div>
|
|
433
432
|
<kendo-sankey-tooltip-popup
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
433
|
+
[popupSettings]="popupSettings"
|
|
434
|
+
[tooltipUnitFormat]="messageFor('tooltipUnitFormat')"
|
|
435
|
+
>
|
|
437
436
|
</kendo-sankey-tooltip-popup>
|
|
438
|
-
|
|
439
|
-
|
|
437
|
+
@if (showLicenseWatermark) {
|
|
438
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
439
|
+
}
|
|
440
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoSankeyLocalizedMessages]" }, { kind: "component", type: SankeyTooltipPopupComponent, selector: "kendo-sankey-tooltip-popup", inputs: ["animate", "wrapperClass", "tooltipUnitFormat", "offset"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
440
441
|
}
|
|
441
442
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyComponent, decorators: [{
|
|
442
443
|
type: Component,
|
|
@@ -456,20 +457,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
456
457
|
selector: 'kendo-sankey',
|
|
457
458
|
template: `
|
|
458
459
|
<ng-container
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
460
|
+
kendoSankeyLocalizedMessages
|
|
461
|
+
i18n-tooltipUnitFormat="kendo.sankey.tooltipUnitFormat|The format string to use when displaying node and link values in the tooltip"
|
|
462
|
+
tooltipUnitFormat="({0} units)"
|
|
462
463
|
></ng-container>
|
|
463
464
|
<div #instance class="k-chart-surface"></div>
|
|
464
465
|
<kendo-sankey-tooltip-popup
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
[popupSettings]="popupSettings"
|
|
467
|
+
[tooltipUnitFormat]="messageFor('tooltipUnitFormat')"
|
|
468
|
+
>
|
|
468
469
|
</kendo-sankey-tooltip-popup>
|
|
469
|
-
|
|
470
|
-
|
|
470
|
+
@if (showLicenseWatermark) {
|
|
471
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
472
|
+
}
|
|
473
|
+
`,
|
|
471
474
|
standalone: true,
|
|
472
|
-
imports: [LocalizedMessagesDirective, SankeyTooltipPopupComponent,
|
|
475
|
+
imports: [LocalizedMessagesDirective, SankeyTooltipPopupComponent, WatermarkOverlayComponent]
|
|
473
476
|
}]
|
|
474
477
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ConfigurationService }, { type: i2.SankeyThemeService }, { type: i3.LocalizationService }, { type: i4.InstanceEventService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i5.IntlService }], propDecorators: { data: [{
|
|
475
478
|
type: Input
|
|
@@ -14,7 +14,6 @@ import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
|
14
14
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
15
|
import { ResizeSensorComponent, WatermarkOverlayComponent, shouldShowValidationUI, getLicenseMessage } from '@progress/kendo-angular-common';
|
|
16
16
|
import { packageMetadata } from './package-metadata';
|
|
17
|
-
import { NgIf } from '@angular/common';
|
|
18
17
|
import { TooltipPopupComponent } from './chart/tooltip/tooltip-popup.component';
|
|
19
18
|
import { CrosshairTooltipsContainerComponent } from './chart/tooltip/crosshair-tooltips-container.component';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
@@ -126,7 +125,7 @@ export class SparklineComponent extends ChartComponent {
|
|
|
126
125
|
this.instance.setOptions(Sparkline.normalizeOptions(this.options));
|
|
127
126
|
}
|
|
128
127
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SparklineComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.ThemeService }, { token: i0.ElementRef }, { token: i3.IntlService }, { token: i4.LocalizationService }, { token: i0.NgZone }, { token: i5.InstanceEventService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
129
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
128
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SparklineComponent, isStandalone: true, selector: "kendo-sparkline", inputs: { type: "type", data: "data", noData: "noData", drilldownLevel: "drilldownLevel" }, outputs: { drilldown: "drilldown", drilldownLevelChange: "drilldownLevelChange" }, providers: [
|
|
130
129
|
ConfigurationService,
|
|
131
130
|
TooltipTemplateService,
|
|
132
131
|
InstanceEventService,
|
|
@@ -140,12 +139,14 @@ export class SparklineComponent extends ChartComponent {
|
|
|
140
139
|
<kendo-chart-crosshair-tooltips-container [popupSettings]="popupSettings">
|
|
141
140
|
</kendo-chart-crosshair-tooltips-container>
|
|
142
141
|
<kendo-chart-tooltip-popup [animate]="false" [wrapperClass]="tooltipWrapperClass"
|
|
143
|
-
|
|
142
|
+
[classNames]="tooltipContentClasses" (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
144
143
|
</kendo-chart-tooltip-popup>
|
|
145
144
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
|
|
146
|
+
@if (showLicenseWatermark) {
|
|
147
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
148
|
+
}
|
|
149
|
+
`, isInline: true, dependencies: [{ kind: "component", type: CrosshairTooltipsContainerComponent, selector: "kendo-chart-crosshair-tooltips-container", inputs: ["popupSettings"] }, { kind: "component", type: TooltipPopupComponent, selector: "kendo-chart-tooltip-popup", inputs: ["animate", "classNames", "wrapperClass"], outputs: ["leave"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
149
150
|
}
|
|
150
151
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SparklineComponent, decorators: [{
|
|
151
152
|
type: Component,
|
|
@@ -168,14 +169,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
168
169
|
<kendo-chart-crosshair-tooltips-container [popupSettings]="popupSettings">
|
|
169
170
|
</kendo-chart-crosshair-tooltips-container>
|
|
170
171
|
<kendo-chart-tooltip-popup [animate]="false" [wrapperClass]="tooltipWrapperClass"
|
|
171
|
-
|
|
172
|
+
[classNames]="tooltipContentClasses" (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
172
173
|
</kendo-chart-tooltip-popup>
|
|
173
174
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
|
|
176
|
+
@if (showLicenseWatermark) {
|
|
177
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
178
|
+
}
|
|
179
|
+
`,
|
|
177
180
|
standalone: true,
|
|
178
|
-
imports: [CrosshairTooltipsContainerComponent, TooltipPopupComponent, ResizeSensorComponent,
|
|
181
|
+
imports: [CrosshairTooltipsContainerComponent, TooltipPopupComponent, ResizeSensorComponent, WatermarkOverlayComponent]
|
|
179
182
|
}]
|
|
180
183
|
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i2.ThemeService }, { type: i0.ElementRef }, { type: i3.IntlService }, { type: i4.LocalizationService }, { type: i0.NgZone }, { type: i5.InstanceEventService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { type: [{
|
|
181
184
|
type: Input
|
|
@@ -16,7 +16,6 @@ import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
|
16
16
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
17
17
|
import { ResizeSensorComponent, WatermarkOverlayComponent, shouldShowValidationUI, getLicenseMessage } from '@progress/kendo-angular-common';
|
|
18
18
|
import { packageMetadata } from './package-metadata';
|
|
19
|
-
import { NgIf } from '@angular/common';
|
|
20
19
|
import { TooltipPopupComponent } from './chart/tooltip/tooltip-popup.component';
|
|
21
20
|
import { CrosshairTooltipsContainerComponent } from './chart/tooltip/crosshair-tooltips-container.component';
|
|
22
21
|
import * as i0 from "@angular/core";
|
|
@@ -173,7 +172,7 @@ export class StockChartComponent extends ChartComponent {
|
|
|
173
172
|
return isDevMode();
|
|
174
173
|
}
|
|
175
174
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StockChartComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.ThemeService }, { token: i0.ElementRef }, { token: i3.IntlService }, { token: i4.LocalizationService }, { token: i0.NgZone }, { token: i5.StockInstanceEventService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
176
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
175
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: StockChartComponent, isStandalone: true, selector: "kendo-stockchart", inputs: { navigator: "navigator", pannable: "pannable", zoomable: "zoomable", drilldownLevel: "drilldownLevel" }, outputs: { drilldown: "drilldown", drilldownLevelChange: "drilldownLevelChange", navigatorFilter: "navigatorFilter" }, providers: [
|
|
177
176
|
ConfigurationService,
|
|
178
177
|
TooltipTemplateService,
|
|
179
178
|
{ provide: RootConfigurationService, useExisting: ConfigurationService },
|
|
@@ -190,9 +189,11 @@ export class StockChartComponent extends ChartComponent {
|
|
|
190
189
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
191
190
|
</kendo-chart-tooltip-popup>
|
|
192
191
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
192
|
+
|
|
193
|
+
@if (showLicenseWatermark) {
|
|
194
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
195
|
+
}
|
|
196
|
+
`, isInline: true, dependencies: [{ kind: "component", type: CrosshairTooltipsContainerComponent, selector: "kendo-chart-crosshair-tooltips-container", inputs: ["popupSettings"] }, { kind: "component", type: TooltipPopupComponent, selector: "kendo-chart-tooltip-popup", inputs: ["animate", "classNames", "wrapperClass"], outputs: ["leave"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
196
197
|
}
|
|
197
198
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StockChartComponent, decorators: [{
|
|
198
199
|
type: Component,
|
|
@@ -218,11 +219,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
218
219
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
219
220
|
</kendo-chart-tooltip-popup>
|
|
220
221
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
|
|
223
|
+
@if (showLicenseWatermark) {
|
|
224
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
225
|
+
}
|
|
226
|
+
`,
|
|
224
227
|
standalone: true,
|
|
225
|
-
imports: [CrosshairTooltipsContainerComponent, TooltipPopupComponent, ResizeSensorComponent,
|
|
228
|
+
imports: [CrosshairTooltipsContainerComponent, TooltipPopupComponent, ResizeSensorComponent, WatermarkOverlayComponent]
|
|
226
229
|
}]
|
|
227
230
|
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i2.ThemeService }, { type: i0.ElementRef }, { type: i3.IntlService }, { type: i4.LocalizationService }, { type: i0.NgZone }, { type: i5.StockInstanceEventService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { navigator: [{
|
|
228
231
|
type: Input
|