UNPKG

@progress/kendo-angular-gauges

Version:
31 lines (30 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 { Directive } from '@angular/core'; import { ConfigurationService } from '../services'; import * as i0 from "@angular/core"; import * as i1 from "../services"; /** * @hidden */ export class SettingsComponent { key; configurationService; constructor(key, configurationService) { this.key = key; this.configurationService = configurationService; } ngOnChanges(changes) { this.configurationService.copyChanges(this.key, changes); } ngOnDestroy() { this.configurationService.set(this.key, null); } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SettingsComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SettingsComponent, usesOnChanges: true, ngImport: i0 }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SettingsComponent, decorators: [{ type: Directive }], ctorParameters: function () { return [{ type: undefined }, { type: i1.ConfigurationService }]; } });