UNPKG

@progress/kendo-angular-charts

Version:

Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.

53 lines (52 loc) 2.4 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Component, forwardRef } from '@angular/core'; import { LocalizationService } from '@progress/kendo-angular-l10n'; import { Messages } from './messages'; import * as i0 from "@angular/core"; import * as i1 from "@progress/kendo-angular-l10n"; /** * Represents the custom messages component of the Sankey. * * Use this component to override default messages for the Sankey. * * @example * ```html * <kendo-sankey [data]="data"> * <kendo-sankey-messages tooltipUnitFormat='kelvin'></kendo-sankey-messages> * </kendo-sankey> * ``` */ export class SankeyCustomMessagesComponent extends Messages { service; constructor(service) { super(); this.service = service; } get override() { return true; } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component }); static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SankeyCustomMessagesComponent, isStandalone: true, selector: "kendo-sankey-messages", providers: [ { provide: Messages, useExisting: forwardRef(() => SankeyCustomMessagesComponent) } ], usesInheritance: true, ngImport: i0, template: ``, isInline: true }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SankeyCustomMessagesComponent, decorators: [{ type: Component, args: [{ providers: [ { provide: Messages, useExisting: forwardRef(() => SankeyCustomMessagesComponent) } ], selector: 'kendo-sankey-messages', template: ``, standalone: true }] }], ctorParameters: () => [{ type: i1.LocalizationService }] });