UNPKG

@progress/kendo-angular-gantt

Version:
28 lines (27 loc) 1.53 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Injectable } from '@angular/core'; import { LocalizationService } from '@progress/kendo-angular-l10n'; import * as i0 from "@angular/core"; import * as i1 from "@progress/kendo-angular-l10n"; /** * @hidden * * Needed to keep the Gantt's LocalizationService reference and be able to use it component's inside the TabStrip */ export class GanttLocalizationService { localizationService; constructor(localizationService) { this.localizationService = localizationService; } get(token) { return this.localizationService.get(token); } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttLocalizationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable }); static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttLocalizationService }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttLocalizationService, decorators: [{ type: Injectable }], ctorParameters: () => [{ type: i1.LocalizationService }] });