@progress/kendo-angular-gauges 16.5.0-develop.6 → 16.6.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arc-gauge/arc-center-template.directive.d.ts +1 -1
- package/arc-gauge/arc-gauge.component.d.ts +1 -1
- package/arc-gauge/arc-gauge.module.d.ts +1 -3
- package/arc-gauge/color.component.d.ts +1 -1
- package/arc-gauge/colors.component.d.ts +1 -1
- package/arc-gauge/gauge-area.component.d.ts +1 -1
- package/arc-gauge/labels.component.d.ts +1 -1
- package/arc-gauge/scale.component.d.ts +1 -1
- package/circular-gauge/center-template.directive.d.ts +1 -1
- package/circular-gauge/circular-gauge.component.d.ts +1 -1
- package/circular-gauge/circular-gauge.module.d.ts +1 -3
- package/circular-gauge/gauge-area.component.d.ts +1 -1
- package/circular-gauge/labels.component.d.ts +1 -1
- package/circular-gauge/scale.component.d.ts +1 -1
- package/directives.d.ts +52 -0
- package/esm2020/arc-gauge/arc-center-template.directive.mjs +3 -2
- package/esm2020/arc-gauge/arc-gauge.component.mjs +9 -5
- package/esm2020/arc-gauge/arc-gauge.module.mjs +13 -18
- package/esm2020/arc-gauge/color.component.mjs +3 -2
- package/esm2020/arc-gauge/colors.component.mjs +3 -2
- package/esm2020/arc-gauge/gauge-area.component.mjs +3 -2
- package/esm2020/arc-gauge/labels.component.mjs +3 -2
- package/esm2020/arc-gauge/scale.component.mjs +3 -2
- package/esm2020/circular-gauge/center-template.directive.mjs +3 -2
- package/esm2020/circular-gauge/circular-gauge.component.mjs +7 -5
- package/esm2020/circular-gauge/circular-gauge.module.mjs +11 -27
- package/esm2020/circular-gauge/gauge-area.component.mjs +3 -2
- package/esm2020/circular-gauge/labels.component.mjs +3 -2
- package/esm2020/circular-gauge/scale.component.mjs +3 -2
- package/esm2020/directives.mjs +89 -0
- package/esm2020/gauges.module.mjs +34 -7
- package/esm2020/index.mjs +1 -0
- package/esm2020/linear-gauge/gauge-area.component.mjs +3 -2
- package/esm2020/linear-gauge/labels.component.mjs +3 -2
- package/esm2020/linear-gauge/linear-gauge.component.mjs +8 -4
- package/esm2020/linear-gauge/linear-gauge.module.mjs +14 -18
- package/esm2020/linear-gauge/pointer.component.mjs +3 -2
- package/esm2020/linear-gauge/pointers.component.mjs +3 -2
- package/esm2020/linear-gauge/range.component.mjs +3 -2
- package/esm2020/linear-gauge/ranges.component.mjs +3 -2
- package/esm2020/linear-gauge/scale.component.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/radial-gauge/gauge-area.component.mjs +3 -2
- package/esm2020/radial-gauge/labels.component.mjs +3 -2
- package/esm2020/radial-gauge/pointer.component.mjs +3 -2
- package/esm2020/radial-gauge/pointers.component.mjs +3 -2
- package/esm2020/radial-gauge/radial-gauge.component.mjs +8 -4
- package/esm2020/radial-gauge/radial-gauge.module.mjs +14 -18
- package/esm2020/radial-gauge/range.component.mjs +3 -2
- package/esm2020/radial-gauge/ranges.component.mjs +3 -2
- package/esm2020/radial-gauge/scale.component.mjs +3 -2
- package/fesm2015/progress-kendo-angular-gauges.mjs +653 -604
- package/fesm2020/progress-kendo-angular-gauges.mjs +652 -603
- package/gauges.module.d.ts +29 -5
- package/index.d.ts +1 -0
- package/linear-gauge/gauge-area.component.d.ts +1 -1
- package/linear-gauge/labels.component.d.ts +1 -1
- package/linear-gauge/linear-gauge.component.d.ts +1 -1
- package/linear-gauge/linear-gauge.module.d.ts +1 -2
- package/linear-gauge/pointer.component.d.ts +1 -1
- package/linear-gauge/pointers.component.d.ts +1 -1
- package/linear-gauge/range.component.d.ts +1 -1
- package/linear-gauge/ranges.component.d.ts +1 -1
- package/linear-gauge/scale.component.d.ts +1 -1
- package/package.json +5 -5
- package/radial-gauge/gauge-area.component.d.ts +1 -1
- package/radial-gauge/labels.component.d.ts +1 -1
- package/radial-gauge/pointer.component.d.ts +1 -1
- package/radial-gauge/pointers.component.d.ts +1 -1
- package/radial-gauge/radial-gauge.component.d.ts +1 -1
- package/radial-gauge/radial-gauge.module.d.ts +1 -2
- package/radial-gauge/range.component.d.ts +1 -1
- package/radial-gauge/ranges.component.d.ts +1 -1
- package/radial-gauge/scale.component.d.ts +1 -1
- package/esm2020/shared.module.mjs +0 -27
- package/shared.module.d.ts +0 -14
|
@@ -3,17 +3,58 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import * as i5 from '@angular/common';
|
|
8
|
-
import { CommonModule } from '@angular/common';
|
|
9
|
-
import * as i4 from '@progress/kendo-angular-common';
|
|
10
|
-
import { ResizeSensorModule, ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
6
|
+
import { Directive, Optional, Injectable, Input, ViewChild, HostBinding, Component, ChangeDetectionStrategy, ContentChild, ContentChildren, NgModule } from '@angular/core';
|
|
11
7
|
import * as i2 from '@progress/kendo-angular-intl';
|
|
12
8
|
import * as i3 from '@progress/kendo-angular-l10n';
|
|
13
9
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
14
10
|
import { exportImage, exportSVG, drawDOM } from '@progress/kendo-drawing';
|
|
11
|
+
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
15
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
16
|
-
import { ArcGauge, LinearGauge, RadialGauge
|
|
13
|
+
import { ArcGauge, CircularGauge, LinearGauge, RadialGauge } from '@progress/kendo-charts';
|
|
14
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A directive that selects a [template](link:site.data.urls.angular['templatesyntax'])
|
|
18
|
+
* within the `<kendo-arcgauge>` component which will be used for the center template
|
|
19
|
+
* ([more information and example]({% slug centertemplate_arcgauge %})).
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* import { Component } from '@angular/core';
|
|
24
|
+
*
|
|
25
|
+
* _@Component({
|
|
26
|
+
* selector: 'my-app',
|
|
27
|
+
* template: `
|
|
28
|
+
* <kendo-arcgauge [value]="value">
|
|
29
|
+
* <ng-template kendoArcGaugeCenterTemplate let-value="value">
|
|
30
|
+
* {{ value }}%
|
|
31
|
+
* </ng-template>
|
|
32
|
+
* </kendo-arcgauge>
|
|
33
|
+
*
|
|
34
|
+
* `
|
|
35
|
+
* })
|
|
36
|
+
* export class AppComponent {
|
|
37
|
+
* public value: number = 10;
|
|
38
|
+
* }
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class ArcCenterTemplateDirective {
|
|
43
|
+
constructor(templateRef) {
|
|
44
|
+
this.templateRef = templateRef;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
ArcCenterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcCenterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
48
|
+
ArcCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ArcCenterTemplateDirective, isStandalone: true, selector: "[kendoArcGaugeCenterTemplate]", ngImport: i0 });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcCenterTemplateDirective, decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: '[kendoArcGaugeCenterTemplate]',
|
|
53
|
+
standalone: true
|
|
54
|
+
}]
|
|
55
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
56
|
+
type: Optional
|
|
57
|
+
}] }]; } });
|
|
17
58
|
|
|
18
59
|
function isObject(value) {
|
|
19
60
|
return typeof value === "object";
|
|
@@ -182,26 +223,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
182
223
|
type: Injectable
|
|
183
224
|
}] });
|
|
184
225
|
|
|
185
|
-
/**
|
|
186
|
-
* @hidden
|
|
187
|
-
*/
|
|
188
|
-
class SharedModule {
|
|
189
|
-
}
|
|
190
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
191
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, exports: [ResizeSensorModule] });
|
|
192
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, providers: [
|
|
193
|
-
ThemeService
|
|
194
|
-
], imports: [ResizeSensorModule] });
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
|
|
196
|
-
type: NgModule,
|
|
197
|
-
args: [{
|
|
198
|
-
exports: [ResizeSensorModule],
|
|
199
|
-
providers: [
|
|
200
|
-
ThemeService
|
|
201
|
-
]
|
|
202
|
-
}]
|
|
203
|
-
}] });
|
|
204
|
-
|
|
205
226
|
/**
|
|
206
227
|
* @hidden
|
|
207
228
|
*/
|
|
@@ -260,8 +281,8 @@ const packageMetadata = {
|
|
|
260
281
|
name: '@progress/kendo-angular-gauges',
|
|
261
282
|
productName: 'Kendo UI for Angular',
|
|
262
283
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
263
|
-
publishDate:
|
|
264
|
-
version: '16.
|
|
284
|
+
publishDate: 1721828021,
|
|
285
|
+
version: '16.6.0-develop.1',
|
|
265
286
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
266
287
|
};
|
|
267
288
|
|
|
@@ -619,48 +640,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
619
640
|
type: Input
|
|
620
641
|
}] } });
|
|
621
642
|
|
|
622
|
-
/**
|
|
623
|
-
* A directive that selects a [template](link:site.data.urls.angular['templatesyntax'])
|
|
624
|
-
* within the `<kendo-arcgauge>` component which will be used for the center template
|
|
625
|
-
* ([more information and example]({% slug centertemplate_arcgauge %})).
|
|
626
|
-
*
|
|
627
|
-
* @example
|
|
628
|
-
* ```ts
|
|
629
|
-
* import { Component } from '@angular/core';
|
|
630
|
-
*
|
|
631
|
-
* _@Component({
|
|
632
|
-
* selector: 'my-app',
|
|
633
|
-
* template: `
|
|
634
|
-
* <kendo-arcgauge [value]="value">
|
|
635
|
-
* <ng-template kendoArcGaugeCenterTemplate let-value="value">
|
|
636
|
-
* {{ value }}%
|
|
637
|
-
* </ng-template>
|
|
638
|
-
* </kendo-arcgauge>
|
|
639
|
-
*
|
|
640
|
-
* `
|
|
641
|
-
* })
|
|
642
|
-
* export class AppComponent {
|
|
643
|
-
* public value: number = 10;
|
|
644
|
-
* }
|
|
645
|
-
*
|
|
646
|
-
* ```
|
|
647
|
-
*/
|
|
648
|
-
class ArcCenterTemplateDirective {
|
|
649
|
-
constructor(templateRef) {
|
|
650
|
-
this.templateRef = templateRef;
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
ArcCenterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcCenterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
654
|
-
ArcCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ArcCenterTemplateDirective, selector: "[kendoArcGaugeCenterTemplate]", ngImport: i0 });
|
|
655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcCenterTemplateDirective, decorators: [{
|
|
656
|
-
type: Directive,
|
|
657
|
-
args: [{
|
|
658
|
-
selector: '[kendoArcGaugeCenterTemplate]'
|
|
659
|
-
}]
|
|
660
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
661
|
-
type: Optional
|
|
662
|
-
}] }]; } });
|
|
663
|
-
|
|
664
643
|
/**
|
|
665
644
|
* Represents the [Kendo UI ArcGauge component for Angular]({% slug overview_arcgauge_gauges %}).
|
|
666
645
|
*
|
|
@@ -763,8 +742,9 @@ class ArcGaugeComponent extends GaugeComponent {
|
|
|
763
742
|
updateSize() { }
|
|
764
743
|
}
|
|
765
744
|
ArcGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfigurationService }, { token: ThemeService }, { token: i2.IntlService }, { token: i3.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
766
|
-
ArcGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArcGaugeComponent, selector: "kendo-arcgauge", inputs: { value: "value", color: "color", colors: "colors", opacity: "opacity", scale: "scale" }, host: { properties: { "class.k-arcgauge": "this.className" } }, providers: [
|
|
745
|
+
ArcGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArcGaugeComponent, isStandalone: true, selector: "kendo-arcgauge", inputs: { value: "value", color: "color", colors: "colors", opacity: "opacity", scale: "scale" }, host: { properties: { "class.k-arcgauge": "this.className" } }, providers: [
|
|
767
746
|
ConfigurationService,
|
|
747
|
+
ThemeService,
|
|
768
748
|
LocalizationService,
|
|
769
749
|
{
|
|
770
750
|
provide: L10N_PREFIX,
|
|
@@ -776,7 +756,7 @@ ArcGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
776
756
|
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
777
757
|
</div>
|
|
778
758
|
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
779
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
759
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
780
760
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeComponent, decorators: [{
|
|
781
761
|
type: Component,
|
|
782
762
|
args: [{
|
|
@@ -784,6 +764,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
784
764
|
exportAs: 'kendoArcGauge',
|
|
785
765
|
providers: [
|
|
786
766
|
ConfigurationService,
|
|
767
|
+
ThemeService,
|
|
787
768
|
LocalizationService,
|
|
788
769
|
{
|
|
789
770
|
provide: L10N_PREFIX,
|
|
@@ -797,7 +778,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
797
778
|
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
798
779
|
</div>
|
|
799
780
|
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
800
|
-
|
|
781
|
+
`,
|
|
782
|
+
standalone: true,
|
|
783
|
+
imports: [NgIf, NgTemplateOutlet, ResizeSensorComponent]
|
|
801
784
|
}]
|
|
802
785
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfigurationService }, { type: ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { value: [{
|
|
803
786
|
type: Input
|
|
@@ -820,97 +803,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
820
803
|
args: ['class.k-arcgauge']
|
|
821
804
|
}] } });
|
|
822
805
|
|
|
823
|
-
/**
|
|
824
|
-
* The configuration options of the ArcGauge area.
|
|
825
|
-
* Represents the entire visible area of the ArcGauge.
|
|
826
|
-
*/
|
|
827
|
-
class ArcGaugeAreaComponent extends GaugeAreaComponent {
|
|
828
|
-
constructor(configurationService) {
|
|
829
|
-
super('gaugeArea', configurationService);
|
|
830
|
-
this.configurationService = configurationService;
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
ArcGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
834
|
-
ArcGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArcGaugeAreaComponent, selector: "kendo-arcgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeAreaComponent, decorators: [{
|
|
836
|
-
type: Component,
|
|
837
|
-
args: [{
|
|
838
|
-
selector: 'kendo-arcgauge-area',
|
|
839
|
-
template: ''
|
|
840
|
-
}]
|
|
841
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* The configuration options for the scale of the ArcGauge
|
|
845
|
-
* ([see example]({% slug scaleoptions_arcgauge %})).
|
|
846
|
-
*/
|
|
847
|
-
class ArcScaleComponent extends ScaleComponent {
|
|
848
|
-
constructor(configurationService) {
|
|
849
|
-
super('scale', configurationService);
|
|
850
|
-
this.configurationService = configurationService;
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
ArcScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
854
|
-
ArcScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArcScaleComponent, selector: "kendo-arcgauge-scale", inputs: { labels: "labels", rangeDistance: "rangeDistance", rangeLineCap: "rangeLineCap", startAngle: "startAngle", endAngle: "endAngle" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcScaleComponent, decorators: [{
|
|
856
|
-
type: Component,
|
|
857
|
-
args: [{
|
|
858
|
-
selector: 'kendo-arcgauge-scale',
|
|
859
|
-
template: ''
|
|
860
|
-
}]
|
|
861
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { labels: [{
|
|
862
|
-
type: Input
|
|
863
|
-
}], rangeDistance: [{
|
|
864
|
-
type: Input
|
|
865
|
-
}], rangeLineCap: [{
|
|
866
|
-
type: Input
|
|
867
|
-
}], startAngle: [{
|
|
868
|
-
type: Input
|
|
869
|
-
}], endAngle: [{
|
|
870
|
-
type: Input
|
|
871
|
-
}] } });
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* The configuration options for the scale labels of the RadialGauge.
|
|
875
|
-
*/
|
|
876
|
-
class RadialLabelsComponent extends LabelsComponent {
|
|
877
|
-
constructor(configurationService) {
|
|
878
|
-
super('scale.labels', configurationService);
|
|
879
|
-
this.configurationService = configurationService;
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
RadialLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
883
|
-
RadialLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialLabelsComponent, selector: "kendo-radialgauge-scale-labels", inputs: { position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialLabelsComponent, decorators: [{
|
|
885
|
-
type: Component,
|
|
886
|
-
args: [{
|
|
887
|
-
selector: 'kendo-radialgauge-scale-labels',
|
|
888
|
-
template: ''
|
|
889
|
-
}]
|
|
890
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { position: [{
|
|
891
|
-
type: Input
|
|
892
|
-
}] } });
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
* The configuration options for the scale labels of the ArcGauge.
|
|
896
|
-
*/
|
|
897
|
-
class ArcLabelsComponent extends RadialLabelsComponent {
|
|
898
|
-
constructor(configurationService) {
|
|
899
|
-
super(configurationService);
|
|
900
|
-
this.configurationService = configurationService;
|
|
901
|
-
configurationService.set(`${this.key}.visible`, true);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
ArcLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
905
|
-
ArcLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArcLabelsComponent, selector: "kendo-arcgauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcLabelsComponent, decorators: [{
|
|
907
|
-
type: Component,
|
|
908
|
-
args: [{
|
|
909
|
-
selector: 'kendo-arcgauge-scale-labels',
|
|
910
|
-
template: ''
|
|
911
|
-
}]
|
|
912
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
|
|
913
|
-
|
|
914
806
|
/**
|
|
915
807
|
* The configuration options for an ArcGauge color item.
|
|
916
808
|
*/
|
|
@@ -920,13 +812,14 @@ class ColorComponent extends CollectionItemComponent {
|
|
|
920
812
|
}
|
|
921
813
|
}
|
|
922
814
|
ColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
923
|
-
ColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorComponent, selector: "kendo-arcgauge-color", inputs: { color: "color", opacity: "opacity", from: "from", to: "to" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
815
|
+
ColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorComponent, isStandalone: true, selector: "kendo-arcgauge-color", inputs: { color: "color", opacity: "opacity", from: "from", to: "to" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
924
816
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorComponent, decorators: [{
|
|
925
817
|
type: Component,
|
|
926
818
|
args: [{
|
|
927
819
|
providers: [ConfigurationService],
|
|
928
820
|
selector: 'kendo-arcgauge-color',
|
|
929
|
-
template: ''
|
|
821
|
+
template: '',
|
|
822
|
+
standalone: true
|
|
930
823
|
}]
|
|
931
824
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { color: [{
|
|
932
825
|
type: Input
|
|
@@ -986,172 +879,304 @@ class ColorsComponent extends CollectionComponent {
|
|
|
986
879
|
}
|
|
987
880
|
}
|
|
988
881
|
ColorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorsComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
989
|
-
ColorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorsComponent, selector: "kendo-arcgauge-colors", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: ColorComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
882
|
+
ColorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorsComponent, isStandalone: true, selector: "kendo-arcgauge-colors", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: ColorComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
990
883
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorsComponent, decorators: [{
|
|
991
884
|
type: Component,
|
|
992
885
|
args: [{
|
|
993
886
|
providers: [CollectionChangesService],
|
|
994
887
|
selector: 'kendo-arcgauge-colors',
|
|
995
|
-
template: ''
|
|
888
|
+
template: '',
|
|
889
|
+
standalone: true
|
|
996
890
|
}]
|
|
997
891
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
|
|
998
892
|
type: ContentChildren,
|
|
999
893
|
args: [ColorComponent]
|
|
1000
894
|
}] } });
|
|
1001
895
|
|
|
1002
|
-
const DIRECTIVES$3 = [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent,
|
|
1003
|
-
ColorsComponent, ColorComponent];
|
|
1004
896
|
/**
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
* [root module](link:site.data.urls.angular['ngmodules']#angular-modularity) or any other sub-module
|
|
1008
|
-
* that will use the ArcGauge component.
|
|
1009
|
-
*
|
|
1010
|
-
* @example
|
|
1011
|
-
* ```ts-no-run
|
|
1012
|
-
* import { NgModule } from '@angular/core';
|
|
1013
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
1014
|
-
* import { ArcGaugeModule } from '@progress/kendo-angular-gauges';
|
|
1015
|
-
* import { AppComponent } from './app.component';
|
|
1016
|
-
*
|
|
1017
|
-
* _@NgModule({
|
|
1018
|
-
* bootstrap: [AppComponent],
|
|
1019
|
-
* declarations: [AppComponent],
|
|
1020
|
-
* imports: [BrowserModule, ArcGaugeModule]
|
|
1021
|
-
* })
|
|
1022
|
-
* export class AppModule {
|
|
1023
|
-
* }
|
|
1024
|
-
* ```
|
|
897
|
+
* The configuration options of the ArcGauge area.
|
|
898
|
+
* Represents the entire visible area of the ArcGauge.
|
|
1025
899
|
*/
|
|
1026
|
-
class
|
|
900
|
+
class ArcGaugeAreaComponent extends GaugeAreaComponent {
|
|
901
|
+
constructor(configurationService) {
|
|
902
|
+
super('gaugeArea', configurationService);
|
|
903
|
+
this.configurationService = configurationService;
|
|
904
|
+
}
|
|
1027
905
|
}
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
ArcGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, imports: [SharedModule, CommonModule] });
|
|
1033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, decorators: [{
|
|
1034
|
-
type: NgModule,
|
|
906
|
+
ArcGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
907
|
+
ArcGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArcGaugeAreaComponent, isStandalone: true, selector: "kendo-arcgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeAreaComponent, decorators: [{
|
|
909
|
+
type: Component,
|
|
1035
910
|
args: [{
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
911
|
+
selector: 'kendo-arcgauge-area',
|
|
912
|
+
template: '',
|
|
913
|
+
standalone: true
|
|
1039
914
|
}]
|
|
1040
|
-
}] });
|
|
915
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
|
|
1041
916
|
|
|
1042
917
|
/**
|
|
1043
|
-
*
|
|
1044
|
-
*
|
|
1045
|
-
* @example
|
|
1046
|
-
* ```ts
|
|
1047
|
-
* import { Component } from '@angular/core';
|
|
1048
|
-
*
|
|
1049
|
-
* _@Component({
|
|
1050
|
-
* selector: 'my-app',
|
|
1051
|
-
* template: `
|
|
1052
|
-
* <kendo-lineargauge [pointer]="{ value: value }">
|
|
1053
|
-
* </kendo-lineargauge>
|
|
1054
|
-
* `
|
|
1055
|
-
* })
|
|
1056
|
-
* class AppComponent {
|
|
1057
|
-
* public value: number = 10;
|
|
1058
|
-
* }
|
|
1059
|
-
*
|
|
1060
|
-
* ```
|
|
918
|
+
* The configuration options for the scale labels of the RadialGauge.
|
|
1061
919
|
*/
|
|
1062
|
-
class
|
|
1063
|
-
constructor(configurationService
|
|
1064
|
-
super(
|
|
1065
|
-
|
|
1066
|
-
createInstance(element, options, theme, context) {
|
|
1067
|
-
this.instance = new LinearGauge(element, options, theme, context);
|
|
920
|
+
class RadialLabelsComponent extends LabelsComponent {
|
|
921
|
+
constructor(configurationService) {
|
|
922
|
+
super('scale.labels', configurationService);
|
|
923
|
+
this.configurationService = configurationService;
|
|
1068
924
|
}
|
|
1069
925
|
}
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
LocalizationService,
|
|
1074
|
-
{
|
|
1075
|
-
provide: L10N_PREFIX,
|
|
1076
|
-
useValue: 'kendo.lineargauge'
|
|
1077
|
-
}
|
|
1078
|
-
], exportAs: ["kendoLinearGauge"], usesInheritance: true, ngImport: i0, template: `
|
|
1079
|
-
<div #surface class='k-chart-surface'></div>
|
|
1080
|
-
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1081
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeComponent, decorators: [{
|
|
926
|
+
RadialLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
927
|
+
RadialLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialLabelsComponent, isStandalone: true, selector: "kendo-radialgauge-scale-labels", inputs: { position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialLabelsComponent, decorators: [{
|
|
1083
929
|
type: Component,
|
|
1084
930
|
args: [{
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
ConfigurationService,
|
|
1089
|
-
LocalizationService,
|
|
1090
|
-
{
|
|
1091
|
-
provide: L10N_PREFIX,
|
|
1092
|
-
useValue: 'kendo.lineargauge'
|
|
1093
|
-
}
|
|
1094
|
-
],
|
|
1095
|
-
selector: 'kendo-lineargauge',
|
|
1096
|
-
template: `
|
|
1097
|
-
<div #surface class='k-chart-surface'></div>
|
|
1098
|
-
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1099
|
-
`
|
|
931
|
+
selector: 'kendo-radialgauge-scale-labels',
|
|
932
|
+
template: '',
|
|
933
|
+
standalone: true
|
|
1100
934
|
}]
|
|
1101
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }
|
|
1102
|
-
type: Input
|
|
1103
|
-
}], scale: [{
|
|
935
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { position: [{
|
|
1104
936
|
type: Input
|
|
1105
937
|
}] } });
|
|
1106
938
|
|
|
1107
939
|
/**
|
|
1108
|
-
* The configuration options for the
|
|
1109
|
-
* Represents the entire visible area of the LinearGauge.
|
|
940
|
+
* The configuration options for the scale labels of the ArcGauge.
|
|
1110
941
|
*/
|
|
1111
|
-
class
|
|
942
|
+
class ArcLabelsComponent extends RadialLabelsComponent {
|
|
1112
943
|
constructor(configurationService) {
|
|
1113
|
-
super(
|
|
944
|
+
super(configurationService);
|
|
1114
945
|
this.configurationService = configurationService;
|
|
946
|
+
configurationService.set(`${this.key}.visible`, true);
|
|
1115
947
|
}
|
|
1116
948
|
}
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
949
|
+
ArcLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
950
|
+
ArcLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArcLabelsComponent, isStandalone: true, selector: "kendo-arcgauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcLabelsComponent, decorators: [{
|
|
1120
952
|
type: Component,
|
|
1121
953
|
args: [{
|
|
1122
|
-
selector: 'kendo-
|
|
1123
|
-
template: ''
|
|
954
|
+
selector: 'kendo-arcgauge-scale-labels',
|
|
955
|
+
template: '',
|
|
956
|
+
standalone: true
|
|
1124
957
|
}]
|
|
1125
958
|
}], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
|
|
1126
959
|
|
|
1127
960
|
/**
|
|
1128
|
-
* The configuration options for the scale of the
|
|
1129
|
-
* ([see example]({% slug
|
|
961
|
+
* The configuration options for the scale of the ArcGauge
|
|
962
|
+
* ([see example]({% slug scaleoptions_arcgauge %})).
|
|
1130
963
|
*/
|
|
1131
|
-
class
|
|
964
|
+
class ArcScaleComponent extends ScaleComponent {
|
|
1132
965
|
constructor(configurationService) {
|
|
1133
966
|
super('scale', configurationService);
|
|
1134
967
|
this.configurationService = configurationService;
|
|
1135
968
|
}
|
|
1136
969
|
}
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
970
|
+
ArcScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
971
|
+
ArcScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArcScaleComponent, isStandalone: true, selector: "kendo-arcgauge-scale", inputs: { labels: "labels", rangeDistance: "rangeDistance", rangeLineCap: "rangeLineCap", startAngle: "startAngle", endAngle: "endAngle" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
972
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcScaleComponent, decorators: [{
|
|
1140
973
|
type: Component,
|
|
1141
974
|
args: [{
|
|
1142
|
-
selector: 'kendo-
|
|
1143
|
-
template: ''
|
|
975
|
+
selector: 'kendo-arcgauge-scale',
|
|
976
|
+
template: '',
|
|
977
|
+
standalone: true
|
|
1144
978
|
}]
|
|
1145
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: {
|
|
979
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { labels: [{
|
|
1146
980
|
type: Input
|
|
1147
|
-
}],
|
|
981
|
+
}], rangeDistance: [{
|
|
1148
982
|
type: Input
|
|
1149
|
-
}],
|
|
983
|
+
}], rangeLineCap: [{
|
|
1150
984
|
type: Input
|
|
1151
|
-
}],
|
|
985
|
+
}], startAngle: [{
|
|
986
|
+
type: Input
|
|
987
|
+
}], endAngle: [{
|
|
1152
988
|
type: Input
|
|
1153
989
|
}] } });
|
|
1154
990
|
|
|
991
|
+
/**
|
|
992
|
+
* A directive that selects a [template](link:site.data.urls.angular['templatesyntax'])
|
|
993
|
+
* within the `<kendo-circulargauge>` component which will be used for the center template
|
|
994
|
+
* ([more information and example]({% slug centertemplate_circulargauge %})).
|
|
995
|
+
*
|
|
996
|
+
* @example
|
|
997
|
+
* ```ts
|
|
998
|
+
* import { Component } from '@angular/core';
|
|
999
|
+
*
|
|
1000
|
+
* _@Component({
|
|
1001
|
+
* selector: 'my-app',
|
|
1002
|
+
* template: `
|
|
1003
|
+
* <kendo-circulargauge [value]="value">
|
|
1004
|
+
* <ng-template kendoCircularGaugeCenterTemplate let-value="value">
|
|
1005
|
+
* {{ value }}%
|
|
1006
|
+
* </ng-template>
|
|
1007
|
+
* </kendo-circulargauge>
|
|
1008
|
+
*
|
|
1009
|
+
* `
|
|
1010
|
+
* })
|
|
1011
|
+
* export class AppComponent {
|
|
1012
|
+
* public value: number = 10;
|
|
1013
|
+
* }
|
|
1014
|
+
*
|
|
1015
|
+
* ```
|
|
1016
|
+
*/
|
|
1017
|
+
class CircularGaugeCenterTemplateDirective {
|
|
1018
|
+
constructor(templateRef) {
|
|
1019
|
+
this.templateRef = templateRef;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
CircularGaugeCenterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeCenterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1023
|
+
CircularGaugeCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeCenterTemplateDirective, isStandalone: true, selector: "[kendoCircularGaugeCenterTemplate]", ngImport: i0 });
|
|
1024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeCenterTemplateDirective, decorators: [{
|
|
1025
|
+
type: Directive,
|
|
1026
|
+
args: [{
|
|
1027
|
+
selector: '[kendoCircularGaugeCenterTemplate]',
|
|
1028
|
+
standalone: true
|
|
1029
|
+
}]
|
|
1030
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
1031
|
+
type: Optional
|
|
1032
|
+
}] }]; } });
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* Represents the [Kendo UI CircularGauge component for Angular]({% slug overview_circulargauge_gauges %}).
|
|
1036
|
+
*
|
|
1037
|
+
* @example
|
|
1038
|
+
* ```ts
|
|
1039
|
+
* import { Component } from '@angular/core';
|
|
1040
|
+
*
|
|
1041
|
+
* _@Component({
|
|
1042
|
+
* selector: 'my-app',
|
|
1043
|
+
* template: `
|
|
1044
|
+
* <kendo-circulargauge [value]="value" [scale]="{ max: 100 }">
|
|
1045
|
+
* <ng-template kendoCircularGaugeCenterTemplate let-value="value">
|
|
1046
|
+
* {{ value }}%
|
|
1047
|
+
* </ng-template>
|
|
1048
|
+
* </kendo-circulargauge>
|
|
1049
|
+
* `
|
|
1050
|
+
* })
|
|
1051
|
+
* class AppComponent {
|
|
1052
|
+
* public value: number = 10;
|
|
1053
|
+
* }
|
|
1054
|
+
*
|
|
1055
|
+
* ```
|
|
1056
|
+
*/
|
|
1057
|
+
class CircularGaugeComponent extends ArcGaugeComponent {
|
|
1058
|
+
createInstance(element, options, theme, context) {
|
|
1059
|
+
this.instance = new CircularGauge(element, options, theme, context);
|
|
1060
|
+
this.updateElements();
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
CircularGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1064
|
+
CircularGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeComponent, isStandalone: true, selector: "kendo-circulargauge", inputs: { scale: "scale" }, providers: [
|
|
1065
|
+
ConfigurationService,
|
|
1066
|
+
LocalizationService,
|
|
1067
|
+
{
|
|
1068
|
+
provide: L10N_PREFIX,
|
|
1069
|
+
useValue: 'kendo.circulargauge'
|
|
1070
|
+
}
|
|
1071
|
+
], queries: [{ propertyName: "centerTemplate", first: true, predicate: CircularGaugeCenterTemplateDirective, descendants: true }], exportAs: ["kendoCircularGauge"], usesInheritance: true, ngImport: i0, template: `
|
|
1072
|
+
<div #surface class='k-chart-surface'></div>
|
|
1073
|
+
<div class="k-arcgauge-label" *ngIf="centerTemplate" #label>
|
|
1074
|
+
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
1075
|
+
</div>
|
|
1076
|
+
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1077
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeComponent, decorators: [{
|
|
1079
|
+
type: Component,
|
|
1080
|
+
args: [{
|
|
1081
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1082
|
+
exportAs: 'kendoCircularGauge',
|
|
1083
|
+
providers: [
|
|
1084
|
+
ConfigurationService,
|
|
1085
|
+
LocalizationService,
|
|
1086
|
+
{
|
|
1087
|
+
provide: L10N_PREFIX,
|
|
1088
|
+
useValue: 'kendo.circulargauge'
|
|
1089
|
+
}
|
|
1090
|
+
],
|
|
1091
|
+
selector: 'kendo-circulargauge',
|
|
1092
|
+
template: `
|
|
1093
|
+
<div #surface class='k-chart-surface'></div>
|
|
1094
|
+
<div class="k-arcgauge-label" *ngIf="centerTemplate" #label>
|
|
1095
|
+
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
1096
|
+
</div>
|
|
1097
|
+
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1098
|
+
`,
|
|
1099
|
+
standalone: true,
|
|
1100
|
+
imports: [NgIf, NgTemplateOutlet, ResizeSensorComponent]
|
|
1101
|
+
}]
|
|
1102
|
+
}], propDecorators: { scale: [{
|
|
1103
|
+
type: Input
|
|
1104
|
+
}], centerTemplate: [{
|
|
1105
|
+
type: ContentChild,
|
|
1106
|
+
args: [CircularGaugeCenterTemplateDirective, { static: false }]
|
|
1107
|
+
}] } });
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* The configuration options of the Circular Gauge area.
|
|
1111
|
+
* Represents the entire visible area of the Circular Gauge.
|
|
1112
|
+
*/
|
|
1113
|
+
class CircularGaugeAreaComponent extends ArcGaugeAreaComponent {
|
|
1114
|
+
}
|
|
1115
|
+
CircularGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1116
|
+
CircularGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeAreaComponent, isStandalone: true, selector: "kendo-circulargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeAreaComponent, decorators: [{
|
|
1118
|
+
type: Component,
|
|
1119
|
+
args: [{
|
|
1120
|
+
selector: 'kendo-circulargauge-area',
|
|
1121
|
+
template: '',
|
|
1122
|
+
standalone: true
|
|
1123
|
+
}]
|
|
1124
|
+
}] });
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* The configuration options for the scale labels of the Circular Gauge.
|
|
1128
|
+
*/
|
|
1129
|
+
class CircularGaugeLabelsComponent extends ArcLabelsComponent {
|
|
1130
|
+
}
|
|
1131
|
+
CircularGaugeLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeLabelsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1132
|
+
CircularGaugeLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeLabelsComponent, isStandalone: true, selector: "kendo-circulargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeLabelsComponent, decorators: [{
|
|
1134
|
+
type: Component,
|
|
1135
|
+
args: [{
|
|
1136
|
+
selector: 'kendo-circulargauge-scale-labels',
|
|
1137
|
+
template: '',
|
|
1138
|
+
standalone: true
|
|
1139
|
+
}]
|
|
1140
|
+
}] });
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* The configuration options for the scale of the Circular Gauge
|
|
1144
|
+
* ([see example]({% slug scaleoptions_circulargauge %})).
|
|
1145
|
+
*/
|
|
1146
|
+
class CircularGaugeScaleComponent extends ArcScaleComponent {
|
|
1147
|
+
}
|
|
1148
|
+
CircularGaugeScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeScaleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1149
|
+
CircularGaugeScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeScaleComponent, isStandalone: true, selector: "kendo-circulargauge-scale", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeScaleComponent, decorators: [{
|
|
1151
|
+
type: Component,
|
|
1152
|
+
args: [{
|
|
1153
|
+
selector: 'kendo-circulargauge-scale',
|
|
1154
|
+
template: '',
|
|
1155
|
+
standalone: true
|
|
1156
|
+
}]
|
|
1157
|
+
}] });
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* The configuration options for the LinearGauge area.
|
|
1161
|
+
* Represents the entire visible area of the LinearGauge.
|
|
1162
|
+
*/
|
|
1163
|
+
class LinearGaugeAreaComponent extends GaugeAreaComponent {
|
|
1164
|
+
constructor(configurationService) {
|
|
1165
|
+
super('gaugeArea', configurationService);
|
|
1166
|
+
this.configurationService = configurationService;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
LinearGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1170
|
+
LinearGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearGaugeAreaComponent, isStandalone: true, selector: "kendo-lineargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeAreaComponent, decorators: [{
|
|
1172
|
+
type: Component,
|
|
1173
|
+
args: [{
|
|
1174
|
+
selector: 'kendo-lineargauge-area',
|
|
1175
|
+
template: '',
|
|
1176
|
+
standalone: true
|
|
1177
|
+
}]
|
|
1178
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
|
|
1179
|
+
|
|
1155
1180
|
/**
|
|
1156
1181
|
* The configuration options for the scale labels of the LinearGauge.
|
|
1157
1182
|
*/
|
|
@@ -1162,15 +1187,85 @@ class LinearLabelsComponent extends LabelsComponent {
|
|
|
1162
1187
|
}
|
|
1163
1188
|
}
|
|
1164
1189
|
LinearLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1165
|
-
LinearLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearLabelsComponent, selector: "kendo-lineargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1190
|
+
LinearLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearLabelsComponent, isStandalone: true, selector: "kendo-lineargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1166
1191
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearLabelsComponent, decorators: [{
|
|
1167
1192
|
type: Component,
|
|
1168
1193
|
args: [{
|
|
1169
1194
|
selector: 'kendo-lineargauge-scale-labels',
|
|
1170
|
-
template: ''
|
|
1195
|
+
template: '',
|
|
1196
|
+
standalone: true
|
|
1171
1197
|
}]
|
|
1172
1198
|
}], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
|
|
1173
1199
|
|
|
1200
|
+
/**
|
|
1201
|
+
* Represents the [Kendo UI LinearGauge component for Angular]({% slug overview_lineargauge_gauges %}).
|
|
1202
|
+
*
|
|
1203
|
+
* @example
|
|
1204
|
+
* ```ts
|
|
1205
|
+
* import { Component } from '@angular/core';
|
|
1206
|
+
*
|
|
1207
|
+
* _@Component({
|
|
1208
|
+
* selector: 'my-app',
|
|
1209
|
+
* template: `
|
|
1210
|
+
* <kendo-lineargauge [pointer]="{ value: value }">
|
|
1211
|
+
* </kendo-lineargauge>
|
|
1212
|
+
* `
|
|
1213
|
+
* })
|
|
1214
|
+
* class AppComponent {
|
|
1215
|
+
* public value: number = 10;
|
|
1216
|
+
* }
|
|
1217
|
+
*
|
|
1218
|
+
* ```
|
|
1219
|
+
*/
|
|
1220
|
+
class LinearGaugeComponent extends GaugeComponent {
|
|
1221
|
+
constructor(configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
|
|
1222
|
+
super(configurationService, themeService, intlService, localizationService, element, renderer, ngZone);
|
|
1223
|
+
}
|
|
1224
|
+
createInstance(element, options, theme, context) {
|
|
1225
|
+
this.instance = new LinearGauge(element, options, theme, context);
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
LinearGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeComponent, deps: [{ token: ConfigurationService }, { token: ThemeService }, { token: i2.IntlService }, { token: i3.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1229
|
+
LinearGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearGaugeComponent, isStandalone: true, selector: "kendo-lineargauge", inputs: { pointer: "pointer", scale: "scale" }, providers: [
|
|
1230
|
+
ConfigurationService,
|
|
1231
|
+
ThemeService,
|
|
1232
|
+
LocalizationService,
|
|
1233
|
+
{
|
|
1234
|
+
provide: L10N_PREFIX,
|
|
1235
|
+
useValue: 'kendo.lineargauge'
|
|
1236
|
+
}
|
|
1237
|
+
], exportAs: ["kendoLinearGauge"], usesInheritance: true, ngImport: i0, template: `
|
|
1238
|
+
<div #surface class='k-chart-surface'></div>
|
|
1239
|
+
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1240
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeComponent, decorators: [{
|
|
1242
|
+
type: Component,
|
|
1243
|
+
args: [{
|
|
1244
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1245
|
+
exportAs: 'kendoLinearGauge',
|
|
1246
|
+
providers: [
|
|
1247
|
+
ConfigurationService,
|
|
1248
|
+
ThemeService,
|
|
1249
|
+
LocalizationService,
|
|
1250
|
+
{
|
|
1251
|
+
provide: L10N_PREFIX,
|
|
1252
|
+
useValue: 'kendo.lineargauge'
|
|
1253
|
+
}
|
|
1254
|
+
],
|
|
1255
|
+
selector: 'kendo-lineargauge',
|
|
1256
|
+
template: `
|
|
1257
|
+
<div #surface class='k-chart-surface'></div>
|
|
1258
|
+
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1259
|
+
`,
|
|
1260
|
+
standalone: true,
|
|
1261
|
+
imports: [ResizeSensorComponent]
|
|
1262
|
+
}]
|
|
1263
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { pointer: [{
|
|
1264
|
+
type: Input
|
|
1265
|
+
}], scale: [{
|
|
1266
|
+
type: Input
|
|
1267
|
+
}] } });
|
|
1268
|
+
|
|
1174
1269
|
/**
|
|
1175
1270
|
* The configuration options for a pointer item of a LinearGauge.
|
|
1176
1271
|
*/
|
|
@@ -1180,13 +1275,14 @@ class LinearPointerComponent extends CollectionItemComponent {
|
|
|
1180
1275
|
}
|
|
1181
1276
|
}
|
|
1182
1277
|
LinearPointerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearPointerComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1183
|
-
LinearPointerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearPointerComponent, selector: "kendo-lineargauge-pointer", inputs: { border: "border", color: "color", margin: "margin", opacity: "opacity", shape: "shape", size: "size", value: "value" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1278
|
+
LinearPointerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearPointerComponent, isStandalone: true, selector: "kendo-lineargauge-pointer", inputs: { border: "border", color: "color", margin: "margin", opacity: "opacity", shape: "shape", size: "size", value: "value" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1184
1279
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearPointerComponent, decorators: [{
|
|
1185
1280
|
type: Component,
|
|
1186
1281
|
args: [{
|
|
1187
1282
|
providers: [ConfigurationService],
|
|
1188
1283
|
selector: 'kendo-lineargauge-pointer',
|
|
1189
|
-
template: ''
|
|
1284
|
+
template: '',
|
|
1285
|
+
standalone: true
|
|
1190
1286
|
}]
|
|
1191
1287
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { border: [{
|
|
1192
1288
|
type: Input
|
|
@@ -1245,13 +1341,14 @@ class LinearPointersComponent extends CollectionComponent {
|
|
|
1245
1341
|
}
|
|
1246
1342
|
}
|
|
1247
1343
|
LinearPointersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearPointersComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1248
|
-
LinearPointersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearPointersComponent, selector: "kendo-lineargauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1344
|
+
LinearPointersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearPointersComponent, isStandalone: true, selector: "kendo-lineargauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1249
1345
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearPointersComponent, decorators: [{
|
|
1250
1346
|
type: Component,
|
|
1251
1347
|
args: [{
|
|
1252
1348
|
providers: [CollectionChangesService],
|
|
1253
1349
|
selector: 'kendo-lineargauge-pointers',
|
|
1254
|
-
template: ''
|
|
1350
|
+
template: '',
|
|
1351
|
+
standalone: true
|
|
1255
1352
|
}]
|
|
1256
1353
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
|
|
1257
1354
|
type: ContentChildren,
|
|
@@ -1267,13 +1364,14 @@ class LinearRangeComponent extends RangeComponent {
|
|
|
1267
1364
|
}
|
|
1268
1365
|
}
|
|
1269
1366
|
LinearRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearRangeComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1270
|
-
LinearRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearRangeComponent, selector: "kendo-lineargauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1367
|
+
LinearRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearRangeComponent, isStandalone: true, selector: "kendo-lineargauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1271
1368
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearRangeComponent, decorators: [{
|
|
1272
1369
|
type: Component,
|
|
1273
1370
|
args: [{
|
|
1274
1371
|
providers: [ConfigurationService],
|
|
1275
1372
|
selector: 'kendo-lineargauge-scale-range',
|
|
1276
|
-
template: ''
|
|
1373
|
+
template: '',
|
|
1374
|
+
standalone: true
|
|
1277
1375
|
}]
|
|
1278
1376
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; } });
|
|
1279
1377
|
|
|
@@ -1323,121 +1421,46 @@ class LinearRangesComponent extends CollectionComponent {
|
|
|
1323
1421
|
}
|
|
1324
1422
|
}
|
|
1325
1423
|
LinearRangesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearRangesComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1326
|
-
LinearRangesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearRangesComponent, selector: "kendo-lineargauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1424
|
+
LinearRangesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearRangesComponent, isStandalone: true, selector: "kendo-lineargauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1327
1425
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearRangesComponent, decorators: [{
|
|
1328
1426
|
type: Component,
|
|
1329
1427
|
args: [{
|
|
1330
1428
|
providers: [CollectionChangesService],
|
|
1331
1429
|
selector: 'kendo-lineargauge-scale-ranges',
|
|
1332
|
-
template: ''
|
|
1430
|
+
template: '',
|
|
1431
|
+
standalone: true
|
|
1333
1432
|
}]
|
|
1334
1433
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
|
|
1335
1434
|
type: ContentChildren,
|
|
1336
1435
|
args: [LinearRangeComponent]
|
|
1337
1436
|
}] } });
|
|
1338
1437
|
|
|
1339
|
-
const DIRECTIVES$2 = [LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent,
|
|
1340
|
-
LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent];
|
|
1341
1438
|
/**
|
|
1342
|
-
*
|
|
1343
|
-
*
|
|
1344
|
-
* [root module](link:site.data.urls.angular['ngmodules']#angular-modularity) or any other sub-module
|
|
1345
|
-
* that will use the LinearGauge component.
|
|
1346
|
-
*
|
|
1347
|
-
* @example
|
|
1348
|
-
* ```ts-no-run
|
|
1349
|
-
* import { NgModule } from '@angular/core';
|
|
1350
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
1351
|
-
* import { LinearGaugeModule } from '@progress/kendo-angular-gauges';
|
|
1352
|
-
* import { AppComponent } from './app.component';
|
|
1353
|
-
*
|
|
1354
|
-
* _@NgModule({
|
|
1355
|
-
* bootstrap: [AppComponent],
|
|
1356
|
-
* declarations: [AppComponent],
|
|
1357
|
-
* imports: [BrowserModule, LinearGaugeModule]
|
|
1358
|
-
* })
|
|
1359
|
-
* export class AppModule {
|
|
1360
|
-
* }
|
|
1361
|
-
* ```
|
|
1362
|
-
*/
|
|
1363
|
-
class LinearGaugeModule {
|
|
1364
|
-
}
|
|
1365
|
-
LinearGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1366
|
-
LinearGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeModule, declarations: [LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent,
|
|
1367
|
-
LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent], imports: [SharedModule], exports: [LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent,
|
|
1368
|
-
LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent] });
|
|
1369
|
-
LinearGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeModule, imports: [SharedModule] });
|
|
1370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeModule, decorators: [{
|
|
1371
|
-
type: NgModule,
|
|
1372
|
-
args: [{
|
|
1373
|
-
declarations: [DIRECTIVES$2],
|
|
1374
|
-
exports: [DIRECTIVES$2],
|
|
1375
|
-
imports: [SharedModule]
|
|
1376
|
-
}]
|
|
1377
|
-
}] });
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
* Represents the [Kendo UI RadialGauge component for Angular]({% slug overview_radialgauge_gauges %}).
|
|
1381
|
-
*
|
|
1382
|
-
* @example
|
|
1383
|
-
* ```ts
|
|
1384
|
-
* import { Component } from '@angular/core';
|
|
1385
|
-
*
|
|
1386
|
-
* _@Component({
|
|
1387
|
-
* selector: 'my-app',
|
|
1388
|
-
* template: `
|
|
1389
|
-
* <kendo-radialgauge [pointer]="{ value: value }">
|
|
1390
|
-
* </kendo-radialgauge>
|
|
1391
|
-
* `
|
|
1392
|
-
* })
|
|
1393
|
-
* class AppComponent {
|
|
1394
|
-
* public value: number = 10;
|
|
1395
|
-
* }
|
|
1396
|
-
*
|
|
1397
|
-
* ```
|
|
1439
|
+
* The configuration options for the scale of the LinearGauge
|
|
1440
|
+
* ([see example]({% slug scaleoptions_lineargauge %})).
|
|
1398
1441
|
*/
|
|
1399
|
-
class
|
|
1400
|
-
constructor(configurationService
|
|
1401
|
-
super(
|
|
1402
|
-
|
|
1403
|
-
createInstance(element, options, theme, context) {
|
|
1404
|
-
this.instance = new RadialGauge(element, options, theme, context);
|
|
1442
|
+
class LinearScaleComponent extends ScaleComponent {
|
|
1443
|
+
constructor(configurationService) {
|
|
1444
|
+
super('scale', configurationService);
|
|
1445
|
+
this.configurationService = configurationService;
|
|
1405
1446
|
}
|
|
1406
1447
|
}
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
LocalizationService,
|
|
1411
|
-
{
|
|
1412
|
-
provide: L10N_PREFIX,
|
|
1413
|
-
useValue: 'kendo.radialgauge'
|
|
1414
|
-
}
|
|
1415
|
-
], exportAs: ["kendoRadialGauge"], usesInheritance: true, ngImport: i0, template: `
|
|
1416
|
-
<div #surface class='k-chart-surface'></div>
|
|
1417
|
-
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1418
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeComponent, decorators: [{
|
|
1448
|
+
LinearScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1449
|
+
LinearScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LinearScaleComponent, isStandalone: true, selector: "kendo-lineargauge-scale", inputs: { line: "line", ranges: "ranges", mirror: "mirror", vertical: "vertical" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearScaleComponent, decorators: [{
|
|
1420
1451
|
type: Component,
|
|
1421
1452
|
args: [{
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
ConfigurationService,
|
|
1426
|
-
LocalizationService,
|
|
1427
|
-
{
|
|
1428
|
-
provide: L10N_PREFIX,
|
|
1429
|
-
useValue: 'kendo.radialgauge'
|
|
1430
|
-
}
|
|
1431
|
-
],
|
|
1432
|
-
selector: 'kendo-radialgauge',
|
|
1433
|
-
template: `
|
|
1434
|
-
<div #surface class='k-chart-surface'></div>
|
|
1435
|
-
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1436
|
-
`
|
|
1453
|
+
selector: 'kendo-lineargauge-scale',
|
|
1454
|
+
template: '',
|
|
1455
|
+
standalone: true
|
|
1437
1456
|
}]
|
|
1438
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }
|
|
1457
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { line: [{
|
|
1439
1458
|
type: Input
|
|
1440
|
-
}],
|
|
1459
|
+
}], ranges: [{
|
|
1460
|
+
type: Input
|
|
1461
|
+
}], mirror: [{
|
|
1462
|
+
type: Input
|
|
1463
|
+
}], vertical: [{
|
|
1441
1464
|
type: Input
|
|
1442
1465
|
}] } });
|
|
1443
1466
|
|
|
@@ -1452,45 +1475,16 @@ class RadialGaugeAreaComponent extends GaugeAreaComponent {
|
|
|
1452
1475
|
}
|
|
1453
1476
|
}
|
|
1454
1477
|
RadialGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1455
|
-
RadialGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialGaugeAreaComponent, selector: "kendo-radialgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1478
|
+
RadialGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialGaugeAreaComponent, isStandalone: true, selector: "kendo-radialgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1456
1479
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeAreaComponent, decorators: [{
|
|
1457
1480
|
type: Component,
|
|
1458
1481
|
args: [{
|
|
1459
1482
|
selector: 'kendo-radialgauge-area',
|
|
1460
|
-
template: ''
|
|
1483
|
+
template: '',
|
|
1484
|
+
standalone: true
|
|
1461
1485
|
}]
|
|
1462
1486
|
}], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
|
|
1463
1487
|
|
|
1464
|
-
/**
|
|
1465
|
-
* The configuration options for the scale of the RadialGauge
|
|
1466
|
-
* ([more information and example]({% slug scaleoptions_radialgauge %})).
|
|
1467
|
-
*/
|
|
1468
|
-
class RadialScaleComponent extends ScaleComponent {
|
|
1469
|
-
constructor(configurationService) {
|
|
1470
|
-
super('scale', configurationService);
|
|
1471
|
-
this.configurationService = configurationService;
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
RadialScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1475
|
-
RadialScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialScaleComponent, selector: "kendo-radialgauge-scale", inputs: { labels: "labels", rangeDistance: "rangeDistance", ranges: "ranges", startAngle: "startAngle", endAngle: "endAngle" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialScaleComponent, decorators: [{
|
|
1477
|
-
type: Component,
|
|
1478
|
-
args: [{
|
|
1479
|
-
selector: 'kendo-radialgauge-scale',
|
|
1480
|
-
template: ''
|
|
1481
|
-
}]
|
|
1482
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { labels: [{
|
|
1483
|
-
type: Input
|
|
1484
|
-
}], rangeDistance: [{
|
|
1485
|
-
type: Input
|
|
1486
|
-
}], ranges: [{
|
|
1487
|
-
type: Input
|
|
1488
|
-
}], startAngle: [{
|
|
1489
|
-
type: Input
|
|
1490
|
-
}], endAngle: [{
|
|
1491
|
-
type: Input
|
|
1492
|
-
}] } });
|
|
1493
|
-
|
|
1494
1488
|
/**
|
|
1495
1489
|
* The configuration options for a pointer item of a RadialGauge.
|
|
1496
1490
|
*/
|
|
@@ -1500,13 +1494,14 @@ class RadialPointerComponent extends CollectionItemComponent {
|
|
|
1500
1494
|
}
|
|
1501
1495
|
}
|
|
1502
1496
|
RadialPointerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialPointerComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1503
|
-
RadialPointerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialPointerComponent, selector: "kendo-radialgauge-pointer", inputs: { cap: "cap", color: "color", length: "length", value: "value" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1497
|
+
RadialPointerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialPointerComponent, isStandalone: true, selector: "kendo-radialgauge-pointer", inputs: { cap: "cap", color: "color", length: "length", value: "value" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1504
1498
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialPointerComponent, decorators: [{
|
|
1505
1499
|
type: Component,
|
|
1506
1500
|
args: [{
|
|
1507
1501
|
providers: [ConfigurationService],
|
|
1508
1502
|
selector: 'kendo-radialgauge-pointer',
|
|
1509
|
-
template: ''
|
|
1503
|
+
template: '',
|
|
1504
|
+
standalone: true
|
|
1510
1505
|
}]
|
|
1511
1506
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { cap: [{
|
|
1512
1507
|
type: Input
|
|
@@ -1559,17 +1554,87 @@ class RadialPointersComponent extends CollectionComponent {
|
|
|
1559
1554
|
}
|
|
1560
1555
|
}
|
|
1561
1556
|
RadialPointersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialPointersComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1562
|
-
RadialPointersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialPointersComponent, selector: "kendo-radialgauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1557
|
+
RadialPointersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialPointersComponent, isStandalone: true, selector: "kendo-radialgauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1563
1558
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialPointersComponent, decorators: [{
|
|
1564
1559
|
type: Component,
|
|
1565
1560
|
args: [{
|
|
1566
1561
|
providers: [CollectionChangesService],
|
|
1567
1562
|
selector: 'kendo-radialgauge-pointers',
|
|
1568
|
-
template: ''
|
|
1563
|
+
template: '',
|
|
1564
|
+
standalone: true
|
|
1565
|
+
}]
|
|
1566
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
|
|
1567
|
+
type: ContentChildren,
|
|
1568
|
+
args: [RadialPointerComponent]
|
|
1569
|
+
}] } });
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* Represents the [Kendo UI RadialGauge component for Angular]({% slug overview_radialgauge_gauges %}).
|
|
1573
|
+
*
|
|
1574
|
+
* @example
|
|
1575
|
+
* ```ts
|
|
1576
|
+
* import { Component } from '@angular/core';
|
|
1577
|
+
*
|
|
1578
|
+
* _@Component({
|
|
1579
|
+
* selector: 'my-app',
|
|
1580
|
+
* template: `
|
|
1581
|
+
* <kendo-radialgauge [pointer]="{ value: value }">
|
|
1582
|
+
* </kendo-radialgauge>
|
|
1583
|
+
* `
|
|
1584
|
+
* })
|
|
1585
|
+
* class AppComponent {
|
|
1586
|
+
* public value: number = 10;
|
|
1587
|
+
* }
|
|
1588
|
+
*
|
|
1589
|
+
* ```
|
|
1590
|
+
*/
|
|
1591
|
+
class RadialGaugeComponent extends GaugeComponent {
|
|
1592
|
+
constructor(configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
|
|
1593
|
+
super(configurationService, themeService, intlService, localizationService, element, renderer, ngZone);
|
|
1594
|
+
}
|
|
1595
|
+
createInstance(element, options, theme, context) {
|
|
1596
|
+
this.instance = new RadialGauge(element, options, theme, context);
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
RadialGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeComponent, deps: [{ token: ConfigurationService }, { token: ThemeService }, { token: i2.IntlService }, { token: i3.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1600
|
+
RadialGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialGaugeComponent, isStandalone: true, selector: "kendo-radialgauge", inputs: { pointer: "pointer", scale: "scale" }, providers: [
|
|
1601
|
+
ConfigurationService,
|
|
1602
|
+
ThemeService,
|
|
1603
|
+
LocalizationService,
|
|
1604
|
+
{
|
|
1605
|
+
provide: L10N_PREFIX,
|
|
1606
|
+
useValue: 'kendo.radialgauge'
|
|
1607
|
+
}
|
|
1608
|
+
], exportAs: ["kendoRadialGauge"], usesInheritance: true, ngImport: i0, template: `
|
|
1609
|
+
<div #surface class='k-chart-surface'></div>
|
|
1610
|
+
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1611
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeComponent, decorators: [{
|
|
1613
|
+
type: Component,
|
|
1614
|
+
args: [{
|
|
1615
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1616
|
+
exportAs: 'kendoRadialGauge',
|
|
1617
|
+
providers: [
|
|
1618
|
+
ConfigurationService,
|
|
1619
|
+
ThemeService,
|
|
1620
|
+
LocalizationService,
|
|
1621
|
+
{
|
|
1622
|
+
provide: L10N_PREFIX,
|
|
1623
|
+
useValue: 'kendo.radialgauge'
|
|
1624
|
+
}
|
|
1625
|
+
],
|
|
1626
|
+
selector: 'kendo-radialgauge',
|
|
1627
|
+
template: `
|
|
1628
|
+
<div #surface class='k-chart-surface'></div>
|
|
1629
|
+
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1630
|
+
`,
|
|
1631
|
+
standalone: true,
|
|
1632
|
+
imports: [ResizeSensorComponent]
|
|
1569
1633
|
}]
|
|
1570
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type:
|
|
1571
|
-
type:
|
|
1572
|
-
|
|
1634
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { pointer: [{
|
|
1635
|
+
type: Input
|
|
1636
|
+
}], scale: [{
|
|
1637
|
+
type: Input
|
|
1573
1638
|
}] } });
|
|
1574
1639
|
|
|
1575
1640
|
/**
|
|
@@ -1581,13 +1646,14 @@ class RadialRangeComponent extends RangeComponent {
|
|
|
1581
1646
|
}
|
|
1582
1647
|
}
|
|
1583
1648
|
RadialRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialRangeComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1584
|
-
RadialRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialRangeComponent, selector: "kendo-radialgauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1649
|
+
RadialRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialRangeComponent, isStandalone: true, selector: "kendo-radialgauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1585
1650
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialRangeComponent, decorators: [{
|
|
1586
1651
|
type: Component,
|
|
1587
1652
|
args: [{
|
|
1588
1653
|
providers: [ConfigurationService],
|
|
1589
1654
|
selector: 'kendo-radialgauge-scale-range',
|
|
1590
|
-
template: ''
|
|
1655
|
+
template: '',
|
|
1656
|
+
standalone: true
|
|
1591
1657
|
}]
|
|
1592
1658
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; } });
|
|
1593
1659
|
|
|
@@ -1637,228 +1703,218 @@ class RadialRangesComponent extends CollectionComponent {
|
|
|
1637
1703
|
}
|
|
1638
1704
|
}
|
|
1639
1705
|
RadialRangesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialRangesComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1640
|
-
RadialRangesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialRangesComponent, selector: "kendo-radialgauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1706
|
+
RadialRangesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialRangesComponent, isStandalone: true, selector: "kendo-radialgauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1641
1707
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialRangesComponent, decorators: [{
|
|
1642
1708
|
type: Component,
|
|
1643
1709
|
args: [{
|
|
1644
1710
|
providers: [CollectionChangesService],
|
|
1645
1711
|
selector: 'kendo-radialgauge-scale-ranges',
|
|
1646
|
-
template: ''
|
|
1712
|
+
template: '',
|
|
1713
|
+
standalone: true
|
|
1647
1714
|
}]
|
|
1648
1715
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
|
|
1649
1716
|
type: ContentChildren,
|
|
1650
1717
|
args: [RadialRangeComponent]
|
|
1651
1718
|
}] } });
|
|
1652
1719
|
|
|
1653
|
-
const DIRECTIVES$1 = [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent,
|
|
1654
|
-
RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent];
|
|
1655
1720
|
/**
|
|
1656
|
-
*
|
|
1657
|
-
*
|
|
1721
|
+
* The configuration options for the scale of the RadialGauge
|
|
1722
|
+
* ([more information and example]({% slug scaleoptions_radialgauge %})).
|
|
1723
|
+
*/
|
|
1724
|
+
class RadialScaleComponent extends ScaleComponent {
|
|
1725
|
+
constructor(configurationService) {
|
|
1726
|
+
super('scale', configurationService);
|
|
1727
|
+
this.configurationService = configurationService;
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
RadialScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1731
|
+
RadialScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialScaleComponent, isStandalone: true, selector: "kendo-radialgauge-scale", inputs: { labels: "labels", rangeDistance: "rangeDistance", ranges: "ranges", startAngle: "startAngle", endAngle: "endAngle" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialScaleComponent, decorators: [{
|
|
1733
|
+
type: Component,
|
|
1734
|
+
args: [{
|
|
1735
|
+
selector: 'kendo-radialgauge-scale',
|
|
1736
|
+
template: '',
|
|
1737
|
+
standalone: true
|
|
1738
|
+
}]
|
|
1739
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { labels: [{
|
|
1740
|
+
type: Input
|
|
1741
|
+
}], rangeDistance: [{
|
|
1742
|
+
type: Input
|
|
1743
|
+
}], ranges: [{
|
|
1744
|
+
type: Input
|
|
1745
|
+
}], startAngle: [{
|
|
1746
|
+
type: Input
|
|
1747
|
+
}], endAngle: [{
|
|
1748
|
+
type: Input
|
|
1749
|
+
}] } });
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Utility array that contains all `ArcGauge` related components and directives
|
|
1753
|
+
*/
|
|
1754
|
+
const KENDO_ARCGAUGE = [
|
|
1755
|
+
ArcGaugeComponent,
|
|
1756
|
+
ArcCenterTemplateDirective,
|
|
1757
|
+
ArcGaugeAreaComponent,
|
|
1758
|
+
ArcScaleComponent,
|
|
1759
|
+
ArcLabelsComponent,
|
|
1760
|
+
ColorsComponent,
|
|
1761
|
+
ColorComponent
|
|
1762
|
+
];
|
|
1763
|
+
/**
|
|
1764
|
+
* Utility array that contains all `CircularGauge` related components and directives
|
|
1765
|
+
*/
|
|
1766
|
+
const KENDO_CIRCULARGAUGE = [
|
|
1767
|
+
CircularGaugeComponent,
|
|
1768
|
+
CircularGaugeCenterTemplateDirective,
|
|
1769
|
+
CircularGaugeAreaComponent,
|
|
1770
|
+
CircularGaugeScaleComponent,
|
|
1771
|
+
CircularGaugeLabelsComponent
|
|
1772
|
+
];
|
|
1773
|
+
/**
|
|
1774
|
+
* Utility array that contains all `LinearGauge` related components and directives
|
|
1775
|
+
*/
|
|
1776
|
+
const KENDO_LINEARGAUGE = [
|
|
1777
|
+
LinearGaugeComponent,
|
|
1778
|
+
LinearGaugeAreaComponent,
|
|
1779
|
+
LinearScaleComponent,
|
|
1780
|
+
LinearLabelsComponent,
|
|
1781
|
+
LinearPointersComponent,
|
|
1782
|
+
LinearPointerComponent,
|
|
1783
|
+
LinearRangeComponent,
|
|
1784
|
+
LinearRangesComponent
|
|
1785
|
+
];
|
|
1786
|
+
/**
|
|
1787
|
+
* Utility array that contains all `RadialGauge` related components and directives
|
|
1788
|
+
*/
|
|
1789
|
+
const KENDO_RADIALGAUGE = [
|
|
1790
|
+
RadialGaugeComponent,
|
|
1791
|
+
RadialGaugeAreaComponent,
|
|
1792
|
+
RadialScaleComponent,
|
|
1793
|
+
RadialLabelsComponent,
|
|
1794
|
+
RadialPointersComponent,
|
|
1795
|
+
RadialPointerComponent,
|
|
1796
|
+
RadialRangeComponent,
|
|
1797
|
+
RadialRangesComponent
|
|
1798
|
+
];
|
|
1799
|
+
/**
|
|
1800
|
+
* Utility array that contains all `@progress/kendo-angular-gauges` related components and directives
|
|
1801
|
+
*/
|
|
1802
|
+
const KENDO_GAUGES = [
|
|
1803
|
+
...KENDO_ARCGAUGE,
|
|
1804
|
+
...KENDO_CIRCULARGAUGE,
|
|
1805
|
+
...KENDO_LINEARGAUGE,
|
|
1806
|
+
...KENDO_RADIALGAUGE
|
|
1807
|
+
];
|
|
1808
|
+
|
|
1809
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
1810
|
+
/**
|
|
1811
|
+
* A [module](link:site.data.urls.angular['ngmodules']) that includes the ArcGauge component and its directives.
|
|
1812
|
+
* Imports the `ArcGaugeModule` into your application
|
|
1658
1813
|
* [root module](link:site.data.urls.angular['ngmodules']#angular-modularity) or any other sub-module
|
|
1659
|
-
* that will use the
|
|
1814
|
+
* that will use the ArcGauge component.
|
|
1660
1815
|
*
|
|
1661
1816
|
* @example
|
|
1662
1817
|
* ```ts-no-run
|
|
1663
1818
|
* import { NgModule } from '@angular/core';
|
|
1664
1819
|
* import { BrowserModule } from '@angular/platform-browser';
|
|
1665
|
-
* import {
|
|
1820
|
+
* import { ArcGaugeModule } from '@progress/kendo-angular-gauges';
|
|
1666
1821
|
* import { AppComponent } from './app.component';
|
|
1667
1822
|
*
|
|
1668
1823
|
* _@NgModule({
|
|
1669
1824
|
* bootstrap: [AppComponent],
|
|
1670
1825
|
* declarations: [AppComponent],
|
|
1671
|
-
* imports: [BrowserModule,
|
|
1826
|
+
* imports: [BrowserModule, ArcGaugeModule]
|
|
1672
1827
|
* })
|
|
1673
1828
|
* export class AppModule {
|
|
1674
1829
|
* }
|
|
1675
1830
|
* ```
|
|
1676
1831
|
*/
|
|
1677
|
-
class
|
|
1832
|
+
class ArcGaugeModule {
|
|
1678
1833
|
}
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
RadialGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, imports: [SharedModule] });
|
|
1684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, decorators: [{
|
|
1834
|
+
ArcGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1835
|
+
ArcGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, imports: [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent, ColorsComponent, ColorComponent], exports: [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent, ColorsComponent, ColorComponent] });
|
|
1836
|
+
ArcGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, imports: [ArcGaugeComponent, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent, ColorsComponent, ColorComponent] });
|
|
1837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, decorators: [{
|
|
1685
1838
|
type: NgModule,
|
|
1686
1839
|
args: [{
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
imports: [SharedModule]
|
|
1840
|
+
exports: [...KENDO_ARCGAUGE],
|
|
1841
|
+
imports: [...KENDO_ARCGAUGE]
|
|
1690
1842
|
}]
|
|
1691
1843
|
}] });
|
|
1692
1844
|
|
|
1845
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
1693
1846
|
/**
|
|
1694
|
-
* A
|
|
1695
|
-
*
|
|
1696
|
-
*
|
|
1847
|
+
* A [module](link:site.data.urls.angular['ngmodules']) that includes the LinearGauge component and its directives.
|
|
1848
|
+
* Imports the `LinearGaugeModule` into your application
|
|
1849
|
+
* [root module](link:site.data.urls.angular['ngmodules']#angular-modularity) or any other sub-module
|
|
1850
|
+
* that will use the LinearGauge component.
|
|
1697
1851
|
*
|
|
1698
1852
|
* @example
|
|
1699
|
-
* ```ts
|
|
1700
|
-
* import {
|
|
1701
|
-
*
|
|
1702
|
-
*
|
|
1703
|
-
*
|
|
1704
|
-
* template: `
|
|
1705
|
-
* <kendo-circulargauge [value]="value">
|
|
1706
|
-
* <ng-template kendoCircularGaugeCenterTemplate let-value="value">
|
|
1707
|
-
* {{ value }}%
|
|
1708
|
-
* </ng-template>
|
|
1709
|
-
* </kendo-circulargauge>
|
|
1853
|
+
* ```ts-no-run
|
|
1854
|
+
* import { NgModule } from '@angular/core';
|
|
1855
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
1856
|
+
* import { LinearGaugeModule } from '@progress/kendo-angular-gauges';
|
|
1857
|
+
* import { AppComponent } from './app.component';
|
|
1710
1858
|
*
|
|
1711
|
-
*
|
|
1859
|
+
* _@NgModule({
|
|
1860
|
+
* bootstrap: [AppComponent],
|
|
1861
|
+
* declarations: [AppComponent],
|
|
1862
|
+
* imports: [BrowserModule, LinearGaugeModule]
|
|
1712
1863
|
* })
|
|
1713
|
-
* export class
|
|
1714
|
-
* public value: number = 10;
|
|
1864
|
+
* export class AppModule {
|
|
1715
1865
|
* }
|
|
1716
|
-
*
|
|
1717
1866
|
* ```
|
|
1718
1867
|
*/
|
|
1719
|
-
class
|
|
1720
|
-
constructor(templateRef) {
|
|
1721
|
-
this.templateRef = templateRef;
|
|
1722
|
-
}
|
|
1868
|
+
class LinearGaugeModule {
|
|
1723
1869
|
}
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
i0.ɵɵ
|
|
1727
|
-
|
|
1870
|
+
LinearGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1871
|
+
LinearGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeModule, imports: [LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent, LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent], exports: [LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent, LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent] });
|
|
1872
|
+
LinearGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeModule, imports: [KENDO_LINEARGAUGE] });
|
|
1873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinearGaugeModule, decorators: [{
|
|
1874
|
+
type: NgModule,
|
|
1728
1875
|
args: [{
|
|
1729
|
-
|
|
1876
|
+
exports: [...KENDO_LINEARGAUGE],
|
|
1877
|
+
imports: [...KENDO_LINEARGAUGE]
|
|
1730
1878
|
}]
|
|
1731
|
-
}]
|
|
1732
|
-
type: Optional
|
|
1733
|
-
}] }]; } });
|
|
1879
|
+
}] });
|
|
1734
1880
|
|
|
1881
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
1735
1882
|
/**
|
|
1736
|
-
*
|
|
1883
|
+
* A [module](link:site.data.urls.angular['ngmodules']) that includes the RadialGauge component and its directives.
|
|
1884
|
+
* Imports the `RadialGaugeModule` into your application
|
|
1885
|
+
* [root module](link:site.data.urls.angular['ngmodules']#angular-modularity) or any other sub-module
|
|
1886
|
+
* that will use the RadialGauge component.
|
|
1737
1887
|
*
|
|
1738
1888
|
* @example
|
|
1739
|
-
* ```ts
|
|
1740
|
-
* import {
|
|
1889
|
+
* ```ts-no-run
|
|
1890
|
+
* import { NgModule } from '@angular/core';
|
|
1891
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
1892
|
+
* import { RadialGaugeModule } from '@progress/kendo-angular-gauges';
|
|
1893
|
+
* import { AppComponent } from './app.component';
|
|
1741
1894
|
*
|
|
1742
|
-
* _@
|
|
1743
|
-
*
|
|
1744
|
-
*
|
|
1745
|
-
*
|
|
1746
|
-
* <ng-template kendoCircularGaugeCenterTemplate let-value="value">
|
|
1747
|
-
* {{ value }}%
|
|
1748
|
-
* </ng-template>
|
|
1749
|
-
* </kendo-circulargauge>
|
|
1750
|
-
* `
|
|
1895
|
+
* _@NgModule({
|
|
1896
|
+
* bootstrap: [AppComponent],
|
|
1897
|
+
* declarations: [AppComponent],
|
|
1898
|
+
* imports: [BrowserModule, RadialGaugeModule]
|
|
1751
1899
|
* })
|
|
1752
|
-
* class
|
|
1753
|
-
* public value: number = 10;
|
|
1900
|
+
* export class AppModule {
|
|
1754
1901
|
* }
|
|
1755
|
-
*
|
|
1756
1902
|
* ```
|
|
1757
1903
|
*/
|
|
1758
|
-
class
|
|
1759
|
-
createInstance(element, options, theme, context) {
|
|
1760
|
-
this.instance = new CircularGauge(element, options, theme, context);
|
|
1761
|
-
this.updateElements();
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
CircularGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1765
|
-
CircularGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeComponent, selector: "kendo-circulargauge", inputs: { scale: "scale" }, providers: [
|
|
1766
|
-
ConfigurationService,
|
|
1767
|
-
LocalizationService,
|
|
1768
|
-
{
|
|
1769
|
-
provide: L10N_PREFIX,
|
|
1770
|
-
useValue: 'kendo.circulargauge'
|
|
1771
|
-
}
|
|
1772
|
-
], queries: [{ propertyName: "centerTemplate", first: true, predicate: CircularGaugeCenterTemplateDirective, descendants: true }], exportAs: ["kendoCircularGauge"], usesInheritance: true, ngImport: i0, template: `
|
|
1773
|
-
<div #surface class='k-chart-surface'></div>
|
|
1774
|
-
<div class="k-arcgauge-label" *ngIf="centerTemplate" #label>
|
|
1775
|
-
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
1776
|
-
</div>
|
|
1777
|
-
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1778
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeComponent, decorators: [{
|
|
1780
|
-
type: Component,
|
|
1781
|
-
args: [{
|
|
1782
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1783
|
-
exportAs: 'kendoCircularGauge',
|
|
1784
|
-
providers: [
|
|
1785
|
-
ConfigurationService,
|
|
1786
|
-
LocalizationService,
|
|
1787
|
-
{
|
|
1788
|
-
provide: L10N_PREFIX,
|
|
1789
|
-
useValue: 'kendo.circulargauge'
|
|
1790
|
-
}
|
|
1791
|
-
],
|
|
1792
|
-
selector: 'kendo-circulargauge',
|
|
1793
|
-
template: `
|
|
1794
|
-
<div #surface class='k-chart-surface'></div>
|
|
1795
|
-
<div class="k-arcgauge-label" *ngIf="centerTemplate" #label>
|
|
1796
|
-
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
1797
|
-
</div>
|
|
1798
|
-
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1799
|
-
`
|
|
1800
|
-
}]
|
|
1801
|
-
}], propDecorators: { scale: [{
|
|
1802
|
-
type: Input
|
|
1803
|
-
}], centerTemplate: [{
|
|
1804
|
-
type: ContentChild,
|
|
1805
|
-
args: [CircularGaugeCenterTemplateDirective, { static: false }]
|
|
1806
|
-
}] } });
|
|
1807
|
-
|
|
1808
|
-
/**
|
|
1809
|
-
* The configuration options of the Circular Gauge area.
|
|
1810
|
-
* Represents the entire visible area of the Circular Gauge.
|
|
1811
|
-
*/
|
|
1812
|
-
class CircularGaugeAreaComponent extends ArcGaugeAreaComponent {
|
|
1813
|
-
}
|
|
1814
|
-
CircularGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1815
|
-
CircularGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeAreaComponent, selector: "kendo-circulargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1816
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeAreaComponent, decorators: [{
|
|
1817
|
-
type: Component,
|
|
1818
|
-
args: [{
|
|
1819
|
-
selector: 'kendo-circulargauge-area',
|
|
1820
|
-
template: ''
|
|
1821
|
-
}]
|
|
1822
|
-
}] });
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* The configuration options for the scale of the Circular Gauge
|
|
1826
|
-
* ([see example]({% slug scaleoptions_circulargauge %})).
|
|
1827
|
-
*/
|
|
1828
|
-
class CircularGaugeScaleComponent extends ArcScaleComponent {
|
|
1829
|
-
}
|
|
1830
|
-
CircularGaugeScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeScaleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1831
|
-
CircularGaugeScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeScaleComponent, selector: "kendo-circulargauge-scale", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeScaleComponent, decorators: [{
|
|
1833
|
-
type: Component,
|
|
1834
|
-
args: [{
|
|
1835
|
-
selector: 'kendo-circulargauge-scale',
|
|
1836
|
-
template: ''
|
|
1837
|
-
}]
|
|
1838
|
-
}] });
|
|
1839
|
-
|
|
1840
|
-
/**
|
|
1841
|
-
* The configuration options for the scale labels of the Circular Gauge.
|
|
1842
|
-
*/
|
|
1843
|
-
class CircularGaugeLabelsComponent extends ArcLabelsComponent {
|
|
1904
|
+
class RadialGaugeModule {
|
|
1844
1905
|
}
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
i0.ɵɵ
|
|
1848
|
-
|
|
1906
|
+
RadialGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1907
|
+
RadialGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, imports: [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent, RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent], exports: [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent, RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent] });
|
|
1908
|
+
RadialGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, imports: [KENDO_RADIALGAUGE] });
|
|
1909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, decorators: [{
|
|
1910
|
+
type: NgModule,
|
|
1849
1911
|
args: [{
|
|
1850
|
-
|
|
1851
|
-
|
|
1912
|
+
exports: [...KENDO_RADIALGAUGE],
|
|
1913
|
+
imports: [...KENDO_RADIALGAUGE]
|
|
1852
1914
|
}]
|
|
1853
1915
|
}] });
|
|
1854
1916
|
|
|
1855
|
-
|
|
1856
|
-
CircularGaugeComponent,
|
|
1857
|
-
CircularGaugeCenterTemplateDirective,
|
|
1858
|
-
CircularGaugeAreaComponent,
|
|
1859
|
-
CircularGaugeScaleComponent,
|
|
1860
|
-
CircularGaugeLabelsComponent
|
|
1861
|
-
];
|
|
1917
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
1862
1918
|
/**
|
|
1863
1919
|
* A [module](link:site.data.urls.angular['ngmodules']) that includes the CircularGauge component and its directives.
|
|
1864
1920
|
* Imports the `CircularGaugeModule` into your application
|
|
@@ -1884,25 +1940,17 @@ const DIRECTIVES = [
|
|
|
1884
1940
|
class CircularGaugeModule {
|
|
1885
1941
|
}
|
|
1886
1942
|
CircularGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1887
|
-
CircularGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule,
|
|
1888
|
-
|
|
1889
|
-
CircularGaugeAreaComponent,
|
|
1890
|
-
CircularGaugeScaleComponent,
|
|
1891
|
-
CircularGaugeLabelsComponent], imports: [SharedModule, CommonModule], exports: [CircularGaugeComponent,
|
|
1892
|
-
CircularGaugeCenterTemplateDirective,
|
|
1893
|
-
CircularGaugeAreaComponent,
|
|
1894
|
-
CircularGaugeScaleComponent,
|
|
1895
|
-
CircularGaugeLabelsComponent] });
|
|
1896
|
-
CircularGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, imports: [SharedModule, CommonModule] });
|
|
1943
|
+
CircularGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, imports: [CircularGaugeComponent, CircularGaugeCenterTemplateDirective, CircularGaugeAreaComponent, CircularGaugeScaleComponent, CircularGaugeLabelsComponent], exports: [CircularGaugeComponent, CircularGaugeCenterTemplateDirective, CircularGaugeAreaComponent, CircularGaugeScaleComponent, CircularGaugeLabelsComponent] });
|
|
1944
|
+
CircularGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, imports: [CircularGaugeComponent, CircularGaugeAreaComponent, CircularGaugeScaleComponent, CircularGaugeLabelsComponent] });
|
|
1897
1945
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, decorators: [{
|
|
1898
1946
|
type: NgModule,
|
|
1899
1947
|
args: [{
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
imports: [SharedModule, CommonModule]
|
|
1948
|
+
exports: [...KENDO_CIRCULARGAUGE],
|
|
1949
|
+
imports: [...KENDO_CIRCULARGAUGE]
|
|
1903
1950
|
}]
|
|
1904
1951
|
}] });
|
|
1905
1952
|
|
|
1953
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
1906
1954
|
/**
|
|
1907
1955
|
* A [module](link:site.data.urls.angular['ngmodules']) that includes all Gauge components and directives.
|
|
1908
1956
|
*
|
|
@@ -1929,12 +1977,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1929
1977
|
class GaugesModule {
|
|
1930
1978
|
}
|
|
1931
1979
|
GaugesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GaugesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1932
|
-
GaugesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: GaugesModule, exports: [
|
|
1933
|
-
GaugesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GaugesModule, imports: [
|
|
1980
|
+
GaugesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: GaugesModule, imports: [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent, ColorsComponent, ColorComponent, CircularGaugeComponent, CircularGaugeCenterTemplateDirective, CircularGaugeAreaComponent, CircularGaugeScaleComponent, CircularGaugeLabelsComponent, LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent, LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent, RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent, RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent], exports: [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent, ColorsComponent, ColorComponent, CircularGaugeComponent, CircularGaugeCenterTemplateDirective, CircularGaugeAreaComponent, CircularGaugeScaleComponent, CircularGaugeLabelsComponent, LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent, LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent, RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent, RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent] });
|
|
1981
|
+
GaugesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GaugesModule, imports: [ArcGaugeComponent, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent, ColorsComponent, ColorComponent, CircularGaugeComponent, CircularGaugeAreaComponent, CircularGaugeScaleComponent, CircularGaugeLabelsComponent, LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent, LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent, RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent, RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent] });
|
|
1934
1982
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GaugesModule, decorators: [{
|
|
1935
1983
|
type: NgModule,
|
|
1936
1984
|
args: [{
|
|
1937
|
-
exports: [
|
|
1985
|
+
exports: [...KENDO_GAUGES],
|
|
1986
|
+
imports: [...KENDO_GAUGES]
|
|
1938
1987
|
}]
|
|
1939
1988
|
}] });
|
|
1940
1989
|
|
|
@@ -1942,5 +1991,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1942
1991
|
* Generated bundle index. Do not edit.
|
|
1943
1992
|
*/
|
|
1944
1993
|
|
|
1945
|
-
export { ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcGaugeComponent, ArcGaugeModule, ArcLabelsComponent, ArcScaleComponent, CircularGaugeAreaComponent, CircularGaugeCenterTemplateDirective, CircularGaugeComponent, CircularGaugeLabelsComponent, CircularGaugeModule, CircularGaugeScaleComponent, CollectionChangesService, CollectionComponent, CollectionItemComponent, ColorComponent, ColorsComponent, ConfigurationService, GaugeAreaComponent, GaugeComponent, GaugesModule, LabelsComponent, LinearGaugeAreaComponent, LinearGaugeComponent, LinearGaugeModule, LinearLabelsComponent, LinearPointerComponent, LinearPointersComponent, LinearRangeComponent, LinearRangesComponent, LinearScaleComponent, RadialGaugeAreaComponent, RadialGaugeComponent, RadialGaugeModule, RadialLabelsComponent, RadialPointerComponent, RadialPointersComponent, RadialRangeComponent, RadialRangesComponent, RadialScaleComponent, RangeComponent, ScaleComponent, SettingsComponent, ThemeService };
|
|
1994
|
+
export { ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcGaugeComponent, ArcGaugeModule, ArcLabelsComponent, ArcScaleComponent, CircularGaugeAreaComponent, CircularGaugeCenterTemplateDirective, CircularGaugeComponent, CircularGaugeLabelsComponent, CircularGaugeModule, CircularGaugeScaleComponent, CollectionChangesService, CollectionComponent, CollectionItemComponent, ColorComponent, ColorsComponent, ConfigurationService, GaugeAreaComponent, GaugeComponent, GaugesModule, KENDO_ARCGAUGE, KENDO_CIRCULARGAUGE, KENDO_GAUGES, KENDO_LINEARGAUGE, KENDO_RADIALGAUGE, LabelsComponent, LinearGaugeAreaComponent, LinearGaugeComponent, LinearGaugeModule, LinearLabelsComponent, LinearPointerComponent, LinearPointersComponent, LinearRangeComponent, LinearRangesComponent, LinearScaleComponent, RadialGaugeAreaComponent, RadialGaugeComponent, RadialGaugeModule, RadialLabelsComponent, RadialPointerComponent, RadialPointersComponent, RadialRangeComponent, RadialRangesComponent, RadialScaleComponent, RangeComponent, ScaleComponent, SettingsComponent, ThemeService };
|
|
1946
1995
|
|