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.

50 lines (49 loc) 2.36 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"; /** * Custom component messages override default component messages. * @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: "16.2.12", ngImport: i0, type: SankeyCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component }); static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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: "16.2.12", ngImport: i0, type: SankeyCustomMessagesComponent, decorators: [{ type: Component, args: [{ providers: [ { provide: Messages, useExisting: forwardRef(() => SankeyCustomMessagesComponent) } ], selector: 'kendo-sankey-messages', template: ``, standalone: true }] }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });