@progress/kendo-angular-gauges
Version:
Kendo UI Angular Gauges
60 lines (59 loc) • 2.65 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 { 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 GaugeAreaComponent extends SettingsComponent {
key;
configurationService;
/**
* The background of the Gauge area. Accepts valid CSS color strings, including hex and rgb.
*/
background;
/**
* The border of the Gauge area.
*/
border;
/**
* The height of the Gauge area.
*/
height;
/**
* The margin of the Gauge area.
*/
margin;
/**
* The width of the Gauge area.
*/
width;
// due to NG error: The directive GaugeAreaComponent 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('gaugeArea', configurationService);
this.key = key;
this.configurationService = configurationService;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GaugeAreaComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GaugeAreaComponent, inputs: { background: "background", border: "border", height: "height", margin: "margin", width: "width" }, usesInheritance: true, ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GaugeAreaComponent, decorators: [{
type: Directive
}], ctorParameters: function () { return [{ type: undefined }, { type: i1.ConfigurationService }]; }, propDecorators: { background: [{
type: Input
}], border: [{
type: Input
}], height: [{
type: Input
}], margin: [{
type: Input
}], width: [{
type: Input
}] } });