UNPKG

@progress/kendo-angular-gauges

Version:
29 lines (28 loc) 1.72 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 { CollectionChangesService, ConfigurationService } from '../services'; import * as i0 from "@angular/core"; import * as i1 from "../services"; /** * @hidden */ export class CollectionItemComponent { configurationService; collectionChangesService; constructor(configurationService, collectionChangesService) { this.configurationService = configurationService; this.collectionChangesService = collectionChangesService; } ngOnChanges(changes) { this.configurationService.copyChanges('', changes); this.collectionChangesService.hasChanges = true; } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionItemComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.CollectionChangesService }], target: i0.ɵɵFactoryTarget.Directive }); static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CollectionItemComponent, usesOnChanges: true, ngImport: i0 }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionItemComponent, decorators: [{ type: Directive }], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.CollectionChangesService }]; } });