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