UNPKG

@progress/kendo-angular-gauges

Version:
60 lines (59 loc) 2.82 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, Input } from '@angular/core'; import { SettingsComponent } from './settings.component'; import { ConfigurationService } from '../services'; import * as i0 from "@angular/core"; import * as i1 from "../services"; /** * @hidden */ export class ScaleComponent extends SettingsComponent { key; configurationService; labels; majorTicks; minorTicks; min; max; minorUnit; majorUnit; reverse; rangeSize; rangePlaceholderColor; // due to NG error: The directive ScaleComponent inherits its constructor from SettingsComponent, but the latter has a constructor parameter // that is not compatible with dependency injection. Either add an explicit constructor to ScaleComponent or change SettingsComponent's constructor // to use parameters that are valid for DI.(-992016) constructor(key, configurationService) { super('scale', configurationService); this.key = key; this.configurationService = configurationService; } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScaleComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ScaleComponent, inputs: { labels: "labels", majorTicks: "majorTicks", minorTicks: "minorTicks", min: "min", max: "max", minorUnit: "minorUnit", majorUnit: "majorUnit", reverse: "reverse", rangeSize: "rangeSize", rangePlaceholderColor: "rangePlaceholderColor" }, usesInheritance: true, ngImport: i0 }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScaleComponent, decorators: [{ type: Directive }], ctorParameters: function () { return [{ type: undefined }, { type: i1.ConfigurationService }]; }, propDecorators: { labels: [{ type: Input }], majorTicks: [{ type: Input }], minorTicks: [{ type: Input }], min: [{ type: Input }], max: [{ type: Input }], minorUnit: [{ type: Input }], majorUnit: [{ type: Input }], reverse: [{ type: Input }], rangeSize: [{ type: Input }], rangePlaceholderColor: [{ type: Input }] } });