@progress/kendo-angular-chart-wizard
Version:
Kendo UI Angular Chart Wizard component
53 lines (52 loc) • 2.42 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* 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 for Chart Wizard.
*
* Use this component to override the default messages of the Chart Wizard.
*
* @example
* ```html
* <kendo-chartwizard>
* <kendo-chartwizard-messages windowTitle="Custom Title"></kendo-chartwizard-messages>
* </kendo-chartwizard>
* ```
*/
export class CustomMessagesComponent 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: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-chartwizard-messages", providers: [
{
provide: Messages,
useExisting: forwardRef(() => CustomMessagesComponent)
}
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
type: Component,
args: [{
providers: [
{
provide: Messages,
useExisting: forwardRef(() => CustomMessagesComponent)
}
],
selector: 'kendo-chartwizard-messages',
template: ``,
standalone: true
}]
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });