@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
|
@@ -34,5 +34,5 @@ export declare class ArcCenterTemplateDirective {
|
|
|
34
34
|
templateRef: TemplateRef<any>;
|
|
35
35
|
constructor(templateRef: TemplateRef<any>);
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArcCenterTemplateDirective, [{ optional: true; }]>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArcCenterTemplateDirective, "[kendoArcGaugeCenterTemplate]", never, {}, {}, never, never,
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArcCenterTemplateDirective, "[kendoArcGaugeCenterTemplate]", never, {}, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -82,5 +82,5 @@ export declare class ArcGaugeComponent extends GaugeComponent {
|
|
|
82
82
|
protected positionLabel(): void;
|
|
83
83
|
protected updateSize(): void;
|
|
84
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArcGaugeComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArcGaugeComponent, "kendo-arcgauge", ["kendoArcGauge"], { "value": "value"; "color": "color"; "colors": "colors"; "opacity": "opacity"; "scale": "scale"; }, {}, ["centerTemplate"], never,
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArcGaugeComponent, "kendo-arcgauge", ["kendoArcGauge"], { "value": "value"; "color": "color"; "colors": "colors"; "opacity": "opacity"; "scale": "scale"; }, {}, ["centerTemplate"], never, true, never>;
|
|
86
86
|
}
|
|
@@ -10,8 +10,6 @@ import * as i4 from "./scale.component";
|
|
|
10
10
|
import * as i5 from "./labels.component";
|
|
11
11
|
import * as i6 from "./colors.component";
|
|
12
12
|
import * as i7 from "./color.component";
|
|
13
|
-
import * as i8 from "../shared.module";
|
|
14
|
-
import * as i9 from "@angular/common";
|
|
15
13
|
/**
|
|
16
14
|
* A [module](link:site.data.urls.angular['ngmodules']) that includes the ArcGauge component and its directives.
|
|
17
15
|
* Imports the `ArcGaugeModule` into your application
|
|
@@ -36,6 +34,6 @@ import * as i9 from "@angular/common";
|
|
|
36
34
|
*/
|
|
37
35
|
export declare class ArcGaugeModule {
|
|
38
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArcGaugeModule, never>;
|
|
39
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ArcGaugeModule, [typeof i1.ArcGaugeComponent, typeof i2.ArcCenterTemplateDirective, typeof i3.ArcGaugeAreaComponent, typeof i4.ArcScaleComponent, typeof i5.ArcLabelsComponent, typeof i6.ColorsComponent, typeof i7.ColorComponent], [typeof
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArcGaugeModule, never, [typeof i1.ArcGaugeComponent, typeof i2.ArcCenterTemplateDirective, typeof i3.ArcGaugeAreaComponent, typeof i4.ArcScaleComponent, typeof i5.ArcLabelsComponent, typeof i6.ColorsComponent, typeof i7.ColorComponent], [typeof i1.ArcGaugeComponent, typeof i2.ArcCenterTemplateDirective, typeof i3.ArcGaugeAreaComponent, typeof i4.ArcScaleComponent, typeof i5.ArcLabelsComponent, typeof i6.ColorsComponent, typeof i7.ColorComponent]>;
|
|
40
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<ArcGaugeModule>;
|
|
41
39
|
}
|
|
@@ -16,5 +16,5 @@ export declare class ColorComponent extends CollectionItemComponent implements C
|
|
|
16
16
|
to?: number;
|
|
17
17
|
constructor(configurationService: ConfigurationService, collectionChangesService: CollectionChangesService);
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorComponent, "kendo-arcgauge-color", never, { "color": "color"; "opacity": "opacity"; "from": "from"; "to": "to"; }, {}, never, never,
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorComponent, "kendo-arcgauge-color", never, { "color": "color"; "opacity": "opacity"; "from": "from"; "to": "to"; }, {}, never, never, true, never>;
|
|
20
20
|
}
|
|
@@ -52,5 +52,5 @@ export declare class ColorsComponent extends CollectionComponent {
|
|
|
52
52
|
children: QueryList<CollectionItemComponent>;
|
|
53
53
|
constructor(configurationService: ConfigurationService, collectionChangesService: CollectionChangesService);
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorsComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorsComponent, "kendo-arcgauge-colors", never, {}, {}, ["children"], never,
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorsComponent, "kendo-arcgauge-colors", never, {}, {}, ["children"], never, true, never>;
|
|
56
56
|
}
|
|
@@ -13,5 +13,5 @@ export declare class ArcGaugeAreaComponent extends GaugeAreaComponent {
|
|
|
13
13
|
protected configurationService: ConfigurationService;
|
|
14
14
|
constructor(configurationService: ConfigurationService);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArcGaugeAreaComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArcGaugeAreaComponent, "kendo-arcgauge-area", never, {}, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArcGaugeAreaComponent, "kendo-arcgauge-area", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -12,5 +12,5 @@ export declare class ArcLabelsComponent extends RadialLabelsComponent {
|
|
|
12
12
|
protected configurationService: ConfigurationService;
|
|
13
13
|
constructor(configurationService: ConfigurationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArcLabelsComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArcLabelsComponent, "kendo-arcgauge-scale-labels", never, {}, {}, never, never,
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArcLabelsComponent, "kendo-arcgauge-scale-labels", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -19,5 +19,5 @@ export declare class ArcScaleComponent extends ScaleComponent implements ArcScal
|
|
|
19
19
|
endAngle?: number;
|
|
20
20
|
constructor(configurationService: ConfigurationService);
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArcScaleComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArcScaleComponent, "kendo-arcgauge-scale", never, { "labels": "labels"; "rangeDistance": "rangeDistance"; "rangeLineCap": "rangeLineCap"; "startAngle": "startAngle"; "endAngle": "endAngle"; }, {}, never, never,
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArcScaleComponent, "kendo-arcgauge-scale", never, { "labels": "labels"; "rangeDistance": "rangeDistance"; "rangeLineCap": "rangeLineCap"; "startAngle": "startAngle"; "endAngle": "endAngle"; }, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
@@ -34,5 +34,5 @@ export declare class CircularGaugeCenterTemplateDirective {
|
|
|
34
34
|
templateRef: TemplateRef<any>;
|
|
35
35
|
constructor(templateRef: TemplateRef<any>);
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularGaugeCenterTemplateDirective, [{ optional: true; }]>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CircularGaugeCenterTemplateDirective, "[kendoCircularGaugeCenterTemplate]", never, {}, {}, never, never,
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CircularGaugeCenterTemplateDirective, "[kendoCircularGaugeCenterTemplate]", never, {}, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -37,5 +37,5 @@ export declare class CircularGaugeComponent extends ArcGaugeComponent {
|
|
|
37
37
|
centerTemplate: CircularGaugeCenterTemplateDirective;
|
|
38
38
|
protected createInstance(element: any, options: any, theme: any, context: any): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularGaugeComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CircularGaugeComponent, "kendo-circulargauge", ["kendoCircularGauge"], { "scale": "scale"; }, {}, ["centerTemplate"], never,
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircularGaugeComponent, "kendo-circulargauge", ["kendoCircularGauge"], { "scale": "scale"; }, {}, ["centerTemplate"], never, true, never>;
|
|
41
41
|
}
|
|
@@ -8,8 +8,6 @@ import * as i2 from "./center-template.directive";
|
|
|
8
8
|
import * as i3 from "./gauge-area.component";
|
|
9
9
|
import * as i4 from "./scale.component";
|
|
10
10
|
import * as i5 from "./labels.component";
|
|
11
|
-
import * as i6 from "../shared.module";
|
|
12
|
-
import * as i7 from "@angular/common";
|
|
13
11
|
/**
|
|
14
12
|
* A [module](link:site.data.urls.angular['ngmodules']) that includes the CircularGauge component and its directives.
|
|
15
13
|
* Imports the `CircularGaugeModule` into your application
|
|
@@ -34,6 +32,6 @@ import * as i7 from "@angular/common";
|
|
|
34
32
|
*/
|
|
35
33
|
export declare class CircularGaugeModule {
|
|
36
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularGaugeModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CircularGaugeModule, [typeof i1.CircularGaugeComponent, typeof i2.CircularGaugeCenterTemplateDirective, typeof i3.CircularGaugeAreaComponent, typeof i4.CircularGaugeScaleComponent, typeof i5.CircularGaugeLabelsComponent], [typeof
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CircularGaugeModule, never, [typeof i1.CircularGaugeComponent, typeof i2.CircularGaugeCenterTemplateDirective, typeof i3.CircularGaugeAreaComponent, typeof i4.CircularGaugeScaleComponent, typeof i5.CircularGaugeLabelsComponent], [typeof i1.CircularGaugeComponent, typeof i2.CircularGaugeCenterTemplateDirective, typeof i3.CircularGaugeAreaComponent, typeof i4.CircularGaugeScaleComponent, typeof i5.CircularGaugeLabelsComponent]>;
|
|
38
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<CircularGaugeModule>;
|
|
39
37
|
}
|
|
@@ -10,5 +10,5 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class CircularGaugeAreaComponent extends ArcGaugeAreaComponent {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularGaugeAreaComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CircularGaugeAreaComponent, "kendo-circulargauge-area", never, {}, {}, never, never,
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircularGaugeAreaComponent, "kendo-circulargauge-area", never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -9,5 +9,5 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class CircularGaugeLabelsComponent extends ArcLabelsComponent {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularGaugeLabelsComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CircularGaugeLabelsComponent, "kendo-circulargauge-scale-labels", never, {}, {}, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircularGaugeLabelsComponent, "kendo-circulargauge-scale-labels", never, {}, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -15,5 +15,5 @@ export declare class CircularGaugeScaleComponent extends ArcScaleComponent imple
|
|
|
15
15
|
*/
|
|
16
16
|
endAngle?: number;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularGaugeScaleComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CircularGaugeScaleComponent, "kendo-circulargauge-scale", never, {}, {}, never, never,
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircularGaugeScaleComponent, "kendo-circulargauge-scale", never, {}, {}, never, never, true, never>;
|
|
19
19
|
}
|
package/directives.d.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ArcCenterTemplateDirective } from "./arc-gauge/arc-center-template.directive";
|
|
6
|
+
import { ArcGaugeComponent } from "./arc-gauge/arc-gauge.component";
|
|
7
|
+
import { ColorComponent } from "./arc-gauge/color.component";
|
|
8
|
+
import { ColorsComponent } from "./arc-gauge/colors.component";
|
|
9
|
+
import { ArcGaugeAreaComponent } from "./arc-gauge/gauge-area.component";
|
|
10
|
+
import { ArcLabelsComponent } from "./arc-gauge/labels.component";
|
|
11
|
+
import { ArcScaleComponent } from "./arc-gauge/scale.component";
|
|
12
|
+
import { CircularGaugeCenterTemplateDirective } from "./circular-gauge/center-template.directive";
|
|
13
|
+
import { CircularGaugeComponent } from "./circular-gauge/circular-gauge.component";
|
|
14
|
+
import { CircularGaugeAreaComponent } from "./circular-gauge/gauge-area.component";
|
|
15
|
+
import { CircularGaugeLabelsComponent } from "./circular-gauge/labels.component";
|
|
16
|
+
import { CircularGaugeScaleComponent } from "./circular-gauge/scale.component";
|
|
17
|
+
import { LinearGaugeAreaComponent } from "./linear-gauge/gauge-area.component";
|
|
18
|
+
import { LinearLabelsComponent } from "./linear-gauge/labels.component";
|
|
19
|
+
import { LinearGaugeComponent } from "./linear-gauge/linear-gauge.component";
|
|
20
|
+
import { LinearPointerComponent } from "./linear-gauge/pointer.component";
|
|
21
|
+
import { LinearPointersComponent } from "./linear-gauge/pointers.component";
|
|
22
|
+
import { LinearRangeComponent } from "./linear-gauge/range.component";
|
|
23
|
+
import { LinearRangesComponent } from "./linear-gauge/ranges.component";
|
|
24
|
+
import { LinearScaleComponent } from "./linear-gauge/scale.component";
|
|
25
|
+
import { RadialGaugeAreaComponent } from "./radial-gauge/gauge-area.component";
|
|
26
|
+
import { RadialLabelsComponent } from "./radial-gauge/labels.component";
|
|
27
|
+
import { RadialPointerComponent } from "./radial-gauge/pointer.component";
|
|
28
|
+
import { RadialPointersComponent } from "./radial-gauge/pointers.component";
|
|
29
|
+
import { RadialGaugeComponent } from "./radial-gauge/radial-gauge.component";
|
|
30
|
+
import { RadialRangeComponent } from "./radial-gauge/range.component";
|
|
31
|
+
import { RadialRangesComponent } from "./radial-gauge/ranges.component";
|
|
32
|
+
import { RadialScaleComponent } from "./radial-gauge/scale.component";
|
|
33
|
+
/**
|
|
34
|
+
* Utility array that contains all `ArcGauge` related components and directives
|
|
35
|
+
*/
|
|
36
|
+
export declare const KENDO_ARCGAUGE: readonly [typeof ArcGaugeComponent, typeof ArcCenterTemplateDirective, typeof ArcGaugeAreaComponent, typeof ArcScaleComponent, typeof ArcLabelsComponent, typeof ColorsComponent, typeof ColorComponent];
|
|
37
|
+
/**
|
|
38
|
+
* Utility array that contains all `CircularGauge` related components and directives
|
|
39
|
+
*/
|
|
40
|
+
export declare const KENDO_CIRCULARGAUGE: readonly [typeof CircularGaugeComponent, typeof CircularGaugeCenterTemplateDirective, typeof CircularGaugeAreaComponent, typeof CircularGaugeScaleComponent, typeof CircularGaugeLabelsComponent];
|
|
41
|
+
/**
|
|
42
|
+
* Utility array that contains all `LinearGauge` related components and directives
|
|
43
|
+
*/
|
|
44
|
+
export declare const KENDO_LINEARGAUGE: readonly [typeof LinearGaugeComponent, typeof LinearGaugeAreaComponent, typeof LinearScaleComponent, typeof LinearLabelsComponent, typeof LinearPointersComponent, typeof LinearPointerComponent, typeof LinearRangeComponent, typeof LinearRangesComponent];
|
|
45
|
+
/**
|
|
46
|
+
* Utility array that contains all `RadialGauge` related components and directives
|
|
47
|
+
*/
|
|
48
|
+
export declare const KENDO_RADIALGAUGE: readonly [typeof RadialGaugeComponent, typeof RadialGaugeAreaComponent, typeof RadialScaleComponent, typeof RadialLabelsComponent, typeof RadialPointersComponent, typeof RadialPointerComponent, typeof RadialRangeComponent, typeof RadialRangesComponent];
|
|
49
|
+
/**
|
|
50
|
+
* Utility array that contains all `@progress/kendo-angular-gauges` related components and directives
|
|
51
|
+
*/
|
|
52
|
+
export declare const KENDO_GAUGES: (typeof ArcCenterTemplateDirective | typeof ArcGaugeComponent | typeof ColorComponent | typeof ColorsComponent | typeof ArcGaugeAreaComponent | typeof RadialLabelsComponent | typeof ArcScaleComponent | typeof LinearGaugeAreaComponent | typeof LinearLabelsComponent | typeof LinearGaugeComponent | typeof LinearPointerComponent | typeof LinearScaleComponent | typeof RadialGaugeAreaComponent | typeof RadialPointerComponent | typeof RadialGaugeComponent | typeof RadialScaleComponent)[];
|
|
@@ -36,11 +36,12 @@ export class ArcCenterTemplateDirective {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
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 });
|
|
39
|
-
ArcCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ArcCenterTemplateDirective, selector: "[kendoArcGaugeCenterTemplate]", ngImport: i0 });
|
|
39
|
+
ArcCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ArcCenterTemplateDirective, isStandalone: true, selector: "[kendoArcGaugeCenterTemplate]", ngImport: i0 });
|
|
40
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcCenterTemplateDirective, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
|
-
selector: '[kendoArcGaugeCenterTemplate]'
|
|
43
|
+
selector: '[kendoArcGaugeCenterTemplate]',
|
|
44
|
+
standalone: true
|
|
44
45
|
}]
|
|
45
46
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
46
47
|
type: Optional
|
|
@@ -10,12 +10,12 @@ import { GaugeComponent } from '../base-components';
|
|
|
10
10
|
import { ArcCenterTemplateDirective } from './arc-center-template.directive';
|
|
11
11
|
import { ArcGauge } from '@progress/kendo-charts';
|
|
12
12
|
import { drawDOM } from '@progress/kendo-drawing';
|
|
13
|
+
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
14
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
13
15
|
import * as i0 from "@angular/core";
|
|
14
16
|
import * as i1 from "../services";
|
|
15
17
|
import * as i2 from "@progress/kendo-angular-intl";
|
|
16
18
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
17
|
-
import * as i4 from "@progress/kendo-angular-common";
|
|
18
|
-
import * as i5 from "@angular/common";
|
|
19
19
|
/**
|
|
20
20
|
* Represents the [Kendo UI ArcGauge component for Angular]({% slug overview_arcgauge_gauges %}).
|
|
21
21
|
*
|
|
@@ -118,8 +118,9 @@ export class ArcGaugeComponent extends GaugeComponent {
|
|
|
118
118
|
updateSize() { }
|
|
119
119
|
}
|
|
120
120
|
ArcGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfigurationService }, { token: i1.ThemeService }, { token: i2.IntlService }, { token: i3.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
121
|
-
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: [
|
|
121
|
+
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: [
|
|
122
122
|
ConfigurationService,
|
|
123
|
+
ThemeService,
|
|
123
124
|
LocalizationService,
|
|
124
125
|
{
|
|
125
126
|
provide: L10N_PREFIX,
|
|
@@ -131,7 +132,7 @@ ArcGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
131
132
|
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
132
133
|
</div>
|
|
133
134
|
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
134
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
135
|
+
`, 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 });
|
|
135
136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeComponent, decorators: [{
|
|
136
137
|
type: Component,
|
|
137
138
|
args: [{
|
|
@@ -139,6 +140,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
139
140
|
exportAs: 'kendoArcGauge',
|
|
140
141
|
providers: [
|
|
141
142
|
ConfigurationService,
|
|
143
|
+
ThemeService,
|
|
142
144
|
LocalizationService,
|
|
143
145
|
{
|
|
144
146
|
provide: L10N_PREFIX,
|
|
@@ -152,7 +154,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
152
154
|
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
153
155
|
</div>
|
|
154
156
|
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
155
|
-
|
|
157
|
+
`,
|
|
158
|
+
standalone: true,
|
|
159
|
+
imports: [NgIf, NgTemplateOutlet, ResizeSensorComponent]
|
|
156
160
|
}]
|
|
157
161
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ConfigurationService }, { type: i1.ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { value: [{
|
|
158
162
|
type: Input
|
|
@@ -3,18 +3,16 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import { SharedModule } from '../shared.module';
|
|
8
|
-
import { ArcGaugeComponent } from './arc-gauge.component';
|
|
9
|
-
import { ArcGaugeAreaComponent } from './gauge-area.component';
|
|
10
|
-
import { ArcScaleComponent } from './scale.component';
|
|
11
|
-
import { ArcLabelsComponent } from './labels.component';
|
|
12
|
-
import { ArcCenterTemplateDirective } from './arc-center-template.directive';
|
|
13
|
-
import { ColorsComponent } from './colors.component';
|
|
14
|
-
import { ColorComponent } from './color.component';
|
|
6
|
+
import { KENDO_ARCGAUGE } from '../directives';
|
|
15
7
|
import * as i0 from "@angular/core";
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
import * as i1 from "./arc-gauge.component";
|
|
9
|
+
import * as i2 from "./arc-center-template.directive";
|
|
10
|
+
import * as i3 from "./gauge-area.component";
|
|
11
|
+
import * as i4 from "./scale.component";
|
|
12
|
+
import * as i5 from "./labels.component";
|
|
13
|
+
import * as i6 from "./colors.component";
|
|
14
|
+
import * as i7 from "./color.component";
|
|
15
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18
16
|
/**
|
|
19
17
|
* A [module](link:site.data.urls.angular['ngmodules']) that includes the ArcGauge component and its directives.
|
|
20
18
|
* Imports the `ArcGaugeModule` into your application
|
|
@@ -40,15 +38,12 @@ const DIRECTIVES = [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaC
|
|
|
40
38
|
export class ArcGaugeModule {
|
|
41
39
|
}
|
|
42
40
|
ArcGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
-
ArcGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule,
|
|
44
|
-
|
|
45
|
-
ColorsComponent, ColorComponent] });
|
|
46
|
-
ArcGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, imports: [SharedModule, CommonModule] });
|
|
41
|
+
ArcGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, imports: [i1.ArcGaugeComponent, i2.ArcCenterTemplateDirective, i3.ArcGaugeAreaComponent, i4.ArcScaleComponent, i5.ArcLabelsComponent, i6.ColorsComponent, i7.ColorComponent], exports: [i1.ArcGaugeComponent, i2.ArcCenterTemplateDirective, i3.ArcGaugeAreaComponent, i4.ArcScaleComponent, i5.ArcLabelsComponent, i6.ColorsComponent, i7.ColorComponent] });
|
|
42
|
+
ArcGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, imports: [i1.ArcGaugeComponent, i3.ArcGaugeAreaComponent, i4.ArcScaleComponent, i5.ArcLabelsComponent, i6.ColorsComponent, i7.ColorComponent] });
|
|
47
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeModule, decorators: [{
|
|
48
44
|
type: NgModule,
|
|
49
45
|
args: [{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
imports: [SharedModule, CommonModule]
|
|
46
|
+
exports: [...KENDO_ARCGAUGE],
|
|
47
|
+
imports: [...KENDO_ARCGAUGE]
|
|
53
48
|
}]
|
|
54
49
|
}] });
|
|
@@ -16,13 +16,14 @@ export class ColorComponent extends CollectionItemComponent {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
ColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
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 });
|
|
19
|
+
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 });
|
|
20
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
22
|
args: [{
|
|
23
23
|
providers: [ConfigurationService],
|
|
24
24
|
selector: 'kendo-arcgauge-color',
|
|
25
|
-
template: ''
|
|
25
|
+
template: '',
|
|
26
|
+
standalone: true
|
|
26
27
|
}]
|
|
27
28
|
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.CollectionChangesService }]; }, propDecorators: { color: [{
|
|
28
29
|
type: Input
|
|
@@ -56,13 +56,14 @@ export class ColorsComponent extends CollectionComponent {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
ColorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorsComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
-
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 });
|
|
59
|
+
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 });
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorsComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{
|
|
63
63
|
providers: [CollectionChangesService],
|
|
64
64
|
selector: 'kendo-arcgauge-colors',
|
|
65
|
-
template: ''
|
|
65
|
+
template: '',
|
|
66
|
+
standalone: true
|
|
66
67
|
}]
|
|
67
68
|
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.CollectionChangesService }]; }, propDecorators: { children: [{
|
|
68
69
|
type: ContentChildren,
|
|
@@ -18,11 +18,12 @@ export class ArcGaugeAreaComponent extends GaugeAreaComponent {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
ArcGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeAreaComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
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 });
|
|
21
|
+
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 });
|
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcGaugeAreaComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{
|
|
25
25
|
selector: 'kendo-arcgauge-area',
|
|
26
|
-
template: ''
|
|
26
|
+
template: '',
|
|
27
|
+
standalone: true
|
|
27
28
|
}]
|
|
28
29
|
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; } });
|
|
@@ -18,11 +18,12 @@ export class ArcLabelsComponent extends RadialLabelsComponent {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
ArcLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcLabelsComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
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 });
|
|
21
|
+
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 });
|
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcLabelsComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{
|
|
25
25
|
selector: 'kendo-arcgauge-scale-labels',
|
|
26
|
-
template: ''
|
|
26
|
+
template: '',
|
|
27
|
+
standalone: true
|
|
27
28
|
}]
|
|
28
29
|
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; } });
|
|
@@ -18,12 +18,13 @@ export class ArcScaleComponent extends ScaleComponent {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
ArcScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcScaleComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
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 });
|
|
21
|
+
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 });
|
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArcScaleComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{
|
|
25
25
|
selector: 'kendo-arcgauge-scale',
|
|
26
|
-
template: ''
|
|
26
|
+
template: '',
|
|
27
|
+
standalone: true
|
|
27
28
|
}]
|
|
28
29
|
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { labels: [{
|
|
29
30
|
type: Input
|
|
@@ -36,11 +36,12 @@ export class CircularGaugeCenterTemplateDirective {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
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 });
|
|
39
|
-
CircularGaugeCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeCenterTemplateDirective, selector: "[kendoCircularGaugeCenterTemplate]", ngImport: i0 });
|
|
39
|
+
CircularGaugeCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeCenterTemplateDirective, isStandalone: true, selector: "[kendoCircularGaugeCenterTemplate]", ngImport: i0 });
|
|
40
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeCenterTemplateDirective, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
|
-
selector: '[kendoCircularGaugeCenterTemplate]'
|
|
43
|
+
selector: '[kendoCircularGaugeCenterTemplate]',
|
|
44
|
+
standalone: true
|
|
44
45
|
}]
|
|
45
46
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
46
47
|
type: Optional
|
|
@@ -8,9 +8,9 @@ import { CircularGauge } from '@progress/kendo-charts';
|
|
|
8
8
|
import { CircularGaugeCenterTemplateDirective } from './center-template.directive';
|
|
9
9
|
import { ArcGaugeComponent } from '../arc-gauge/arc-gauge.component';
|
|
10
10
|
import { ConfigurationService } from '../services';
|
|
11
|
+
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
12
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@progress/kendo-angular-common";
|
|
13
|
-
import * as i2 from "@angular/common";
|
|
14
14
|
/**
|
|
15
15
|
* Represents the [Kendo UI CircularGauge component for Angular]({% slug overview_circulargauge_gauges %}).
|
|
16
16
|
*
|
|
@@ -41,7 +41,7 @@ export class CircularGaugeComponent extends ArcGaugeComponent {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
CircularGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
-
CircularGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeComponent, selector: "kendo-circulargauge", inputs: { scale: "scale" }, providers: [
|
|
44
|
+
CircularGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeComponent, isStandalone: true, selector: "kendo-circulargauge", inputs: { scale: "scale" }, providers: [
|
|
45
45
|
ConfigurationService,
|
|
46
46
|
LocalizationService,
|
|
47
47
|
{
|
|
@@ -54,7 +54,7 @@ CircularGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
54
54
|
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
55
55
|
</div>
|
|
56
56
|
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
57
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
57
|
+
`, 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 });
|
|
58
58
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{
|
|
@@ -75,7 +75,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
75
75
|
<ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
|
|
76
76
|
</div>
|
|
77
77
|
<kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
78
|
-
|
|
78
|
+
`,
|
|
79
|
+
standalone: true,
|
|
80
|
+
imports: [NgIf, NgTemplateOutlet, ResizeSensorComponent]
|
|
79
81
|
}]
|
|
80
82
|
}], propDecorators: { scale: [{
|
|
81
83
|
type: Input
|
|
@@ -3,21 +3,14 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import { SharedModule } from '../shared.module';
|
|
8
|
-
import { CircularGaugeComponent } from './circular-gauge.component';
|
|
9
|
-
import { CircularGaugeAreaComponent } from './gauge-area.component';
|
|
10
|
-
import { CircularGaugeScaleComponent } from './scale.component';
|
|
11
|
-
import { CircularGaugeLabelsComponent } from './labels.component';
|
|
12
|
-
import { CircularGaugeCenterTemplateDirective } from './center-template.directive';
|
|
6
|
+
import { KENDO_CIRCULARGAUGE } from '../directives';
|
|
13
7
|
import * as i0 from "@angular/core";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
];
|
|
8
|
+
import * as i1 from "./circular-gauge.component";
|
|
9
|
+
import * as i2 from "./center-template.directive";
|
|
10
|
+
import * as i3 from "./gauge-area.component";
|
|
11
|
+
import * as i4 from "./scale.component";
|
|
12
|
+
import * as i5 from "./labels.component";
|
|
13
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
21
14
|
/**
|
|
22
15
|
* A [module](link:site.data.urls.angular['ngmodules']) that includes the CircularGauge component and its directives.
|
|
23
16
|
* Imports the `CircularGaugeModule` into your application
|
|
@@ -43,21 +36,12 @@ const DIRECTIVES = [
|
|
|
43
36
|
export class CircularGaugeModule {
|
|
44
37
|
}
|
|
45
38
|
CircularGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
46
|
-
CircularGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule,
|
|
47
|
-
|
|
48
|
-
CircularGaugeAreaComponent,
|
|
49
|
-
CircularGaugeScaleComponent,
|
|
50
|
-
CircularGaugeLabelsComponent], imports: [SharedModule, CommonModule], exports: [CircularGaugeComponent,
|
|
51
|
-
CircularGaugeCenterTemplateDirective,
|
|
52
|
-
CircularGaugeAreaComponent,
|
|
53
|
-
CircularGaugeScaleComponent,
|
|
54
|
-
CircularGaugeLabelsComponent] });
|
|
55
|
-
CircularGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, imports: [SharedModule, CommonModule] });
|
|
39
|
+
CircularGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, imports: [i1.CircularGaugeComponent, i2.CircularGaugeCenterTemplateDirective, i3.CircularGaugeAreaComponent, i4.CircularGaugeScaleComponent, i5.CircularGaugeLabelsComponent], exports: [i1.CircularGaugeComponent, i2.CircularGaugeCenterTemplateDirective, i3.CircularGaugeAreaComponent, i4.CircularGaugeScaleComponent, i5.CircularGaugeLabelsComponent] });
|
|
40
|
+
CircularGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, imports: [i1.CircularGaugeComponent, i3.CircularGaugeAreaComponent, i4.CircularGaugeScaleComponent, i5.CircularGaugeLabelsComponent] });
|
|
56
41
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeModule, decorators: [{
|
|
57
42
|
type: NgModule,
|
|
58
43
|
args: [{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
imports: [SharedModule, CommonModule]
|
|
44
|
+
exports: [...KENDO_CIRCULARGAUGE],
|
|
45
|
+
imports: [...KENDO_CIRCULARGAUGE]
|
|
62
46
|
}]
|
|
63
47
|
}] });
|
|
@@ -12,11 +12,12 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export class CircularGaugeAreaComponent extends ArcGaugeAreaComponent {
|
|
13
13
|
}
|
|
14
14
|
CircularGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
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 });
|
|
15
|
+
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 });
|
|
16
16
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeAreaComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: 'kendo-circulargauge-area',
|
|
20
|
-
template: ''
|
|
20
|
+
template: '',
|
|
21
|
+
standalone: true
|
|
21
22
|
}]
|
|
22
23
|
}] });
|
|
@@ -11,11 +11,12 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
export class CircularGaugeLabelsComponent extends ArcLabelsComponent {
|
|
12
12
|
}
|
|
13
13
|
CircularGaugeLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeLabelsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
CircularGaugeLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularGaugeLabelsComponent, selector: "kendo-circulargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
14
|
+
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 });
|
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeLabelsComponent, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
17
|
args: [{
|
|
18
18
|
selector: 'kendo-circulargauge-scale-labels',
|
|
19
|
-
template: ''
|
|
19
|
+
template: '',
|
|
20
|
+
standalone: true
|
|
20
21
|
}]
|
|
21
22
|
}] });
|
|
@@ -12,11 +12,12 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export class CircularGaugeScaleComponent extends ArcScaleComponent {
|
|
13
13
|
}
|
|
14
14
|
CircularGaugeScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeScaleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
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 });
|
|
15
|
+
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 });
|
|
16
16
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularGaugeScaleComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: 'kendo-circulargauge-scale',
|
|
20
|
-
template: ''
|
|
20
|
+
template: '',
|
|
21
|
+
standalone: true
|
|
21
22
|
}]
|
|
22
23
|
}] });
|