@progress/kendo-angular-gauges
Version:
Kendo UI Angular Gauges
41 lines (40 loc) • 2.36 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 { Component } from '@angular/core';
import { CollectionChangesService, ConfigurationService } from '../services';
import { RangeComponent } from '../base-components';
import * as i0 from "@angular/core";
import * as i1 from "../services";
/**
* Represents the configuration options for a scale range item of a LinearGauge.
*
* @example
* ```html
* <kendo-lineargauge>
* <kendo-lineargauge-scale>
* <kendo-lineargauge-scale-ranges>
* <kendo-lineargauge-scale-range *ngFor="let range of ranges" [from]="range.from" [to]="range.to" [color]="range.color">
* </kendo-lineargauge-scale-range>
* </kendo-lineargauge-scale-ranges>
* </kendo-lineargauge-scale>
* </kendo-lineargauge>
* ```
*/
export class LinearRangeComponent extends RangeComponent {
constructor(configurationService, collectionChangesService) {
super(configurationService, collectionChangesService);
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinearRangeComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LinearRangeComponent, isStandalone: true, selector: "kendo-lineargauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinearRangeComponent, decorators: [{
type: Component,
args: [{
providers: [ConfigurationService],
selector: 'kendo-lineargauge-scale-range',
template: '',
standalone: true
}]
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.CollectionChangesService }]; } });