@progress/kendo-angular-gauges 16.5.0 → 16.6.0-develop.10

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.
Files changed (77) hide show
  1. package/NOTICE.txt +12 -19
  2. package/arc-gauge/arc-center-template.directive.d.ts +1 -1
  3. package/arc-gauge/arc-gauge.component.d.ts +1 -1
  4. package/arc-gauge/arc-gauge.module.d.ts +1 -3
  5. package/arc-gauge/color.component.d.ts +1 -1
  6. package/arc-gauge/colors.component.d.ts +1 -1
  7. package/arc-gauge/gauge-area.component.d.ts +1 -1
  8. package/arc-gauge/labels.component.d.ts +1 -1
  9. package/arc-gauge/scale.component.d.ts +1 -1
  10. package/circular-gauge/center-template.directive.d.ts +1 -1
  11. package/circular-gauge/circular-gauge.component.d.ts +1 -1
  12. package/circular-gauge/circular-gauge.module.d.ts +1 -3
  13. package/circular-gauge/gauge-area.component.d.ts +1 -1
  14. package/circular-gauge/labels.component.d.ts +1 -1
  15. package/circular-gauge/scale.component.d.ts +1 -1
  16. package/directives.d.ts +52 -0
  17. package/esm2020/arc-gauge/arc-center-template.directive.mjs +3 -2
  18. package/esm2020/arc-gauge/arc-gauge.component.mjs +9 -5
  19. package/esm2020/arc-gauge/arc-gauge.module.mjs +13 -18
  20. package/esm2020/arc-gauge/color.component.mjs +3 -2
  21. package/esm2020/arc-gauge/colors.component.mjs +3 -2
  22. package/esm2020/arc-gauge/gauge-area.component.mjs +3 -2
  23. package/esm2020/arc-gauge/labels.component.mjs +3 -2
  24. package/esm2020/arc-gauge/scale.component.mjs +3 -2
  25. package/esm2020/circular-gauge/center-template.directive.mjs +3 -2
  26. package/esm2020/circular-gauge/circular-gauge.component.mjs +7 -5
  27. package/esm2020/circular-gauge/circular-gauge.module.mjs +11 -27
  28. package/esm2020/circular-gauge/gauge-area.component.mjs +3 -2
  29. package/esm2020/circular-gauge/labels.component.mjs +3 -2
  30. package/esm2020/circular-gauge/scale.component.mjs +3 -2
  31. package/esm2020/directives.mjs +89 -0
  32. package/esm2020/gauges.module.mjs +34 -7
  33. package/esm2020/index.mjs +1 -0
  34. package/esm2020/linear-gauge/gauge-area.component.mjs +3 -2
  35. package/esm2020/linear-gauge/labels.component.mjs +3 -2
  36. package/esm2020/linear-gauge/linear-gauge.component.mjs +8 -4
  37. package/esm2020/linear-gauge/linear-gauge.module.mjs +14 -18
  38. package/esm2020/linear-gauge/pointer.component.mjs +3 -2
  39. package/esm2020/linear-gauge/pointers.component.mjs +3 -2
  40. package/esm2020/linear-gauge/range.component.mjs +3 -2
  41. package/esm2020/linear-gauge/ranges.component.mjs +3 -2
  42. package/esm2020/linear-gauge/scale.component.mjs +3 -2
  43. package/esm2020/package-metadata.mjs +2 -2
  44. package/esm2020/radial-gauge/gauge-area.component.mjs +3 -2
  45. package/esm2020/radial-gauge/labels.component.mjs +3 -2
  46. package/esm2020/radial-gauge/pointer.component.mjs +3 -2
  47. package/esm2020/radial-gauge/pointers.component.mjs +3 -2
  48. package/esm2020/radial-gauge/radial-gauge.component.mjs +8 -4
  49. package/esm2020/radial-gauge/radial-gauge.module.mjs +14 -18
  50. package/esm2020/radial-gauge/range.component.mjs +3 -2
  51. package/esm2020/radial-gauge/ranges.component.mjs +3 -2
  52. package/esm2020/radial-gauge/scale.component.mjs +3 -2
  53. package/fesm2015/progress-kendo-angular-gauges.mjs +653 -604
  54. package/fesm2020/progress-kendo-angular-gauges.mjs +652 -603
  55. package/gauges.module.d.ts +29 -5
  56. package/index.d.ts +1 -0
  57. package/linear-gauge/gauge-area.component.d.ts +1 -1
  58. package/linear-gauge/labels.component.d.ts +1 -1
  59. package/linear-gauge/linear-gauge.component.d.ts +1 -1
  60. package/linear-gauge/linear-gauge.module.d.ts +1 -2
  61. package/linear-gauge/pointer.component.d.ts +1 -1
  62. package/linear-gauge/pointers.component.d.ts +1 -1
  63. package/linear-gauge/range.component.d.ts +1 -1
  64. package/linear-gauge/ranges.component.d.ts +1 -1
  65. package/linear-gauge/scale.component.d.ts +1 -1
  66. package/package.json +5 -5
  67. package/radial-gauge/gauge-area.component.d.ts +1 -1
  68. package/radial-gauge/labels.component.d.ts +1 -1
  69. package/radial-gauge/pointer.component.d.ts +1 -1
  70. package/radial-gauge/pointers.component.d.ts +1 -1
  71. package/radial-gauge/radial-gauge.component.d.ts +1 -1
  72. package/radial-gauge/radial-gauge.module.d.ts +1 -2
  73. package/radial-gauge/range.component.d.ts +1 -1
  74. package/radial-gauge/ranges.component.d.ts +1 -1
  75. package/radial-gauge/scale.component.d.ts +1 -1
  76. package/esm2020/shared.module.mjs +0 -27
  77. package/shared.module.d.ts +0 -14
@@ -49,13 +49,14 @@ export class RadialPointersComponent extends CollectionComponent {
49
49
  }
50
50
  }
51
51
  RadialPointersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialPointersComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
52
- 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 });
52
+ 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 });
53
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialPointersComponent, decorators: [{
54
54
  type: Component,
55
55
  args: [{
56
56
  providers: [CollectionChangesService],
57
57
  selector: 'kendo-radialgauge-pointers',
58
- template: ''
58
+ template: '',
59
+ standalone: true
59
60
  }]
60
61
  }], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.CollectionChangesService }]; }, propDecorators: { children: [{
61
62
  type: ContentChildren,
@@ -8,11 +8,11 @@ import { IntlService } from '@progress/kendo-angular-intl';
8
8
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
9
9
  import { GaugeComponent } from '../base-components';
10
10
  import { RadialGauge } from '@progress/kendo-charts';
11
+ import { ResizeSensorComponent } from '@progress/kendo-angular-common';
11
12
  import * as i0 from "@angular/core";
12
13
  import * as i1 from "../services";
13
14
  import * as i2 from "@progress/kendo-angular-intl";
14
15
  import * as i3 from "@progress/kendo-angular-l10n";
15
- import * as i4 from "@progress/kendo-angular-common";
16
16
  /**
17
17
  * Represents the [Kendo UI RadialGauge component for Angular]({% slug overview_radialgauge_gauges %}).
18
18
  *
@@ -42,8 +42,9 @@ export class RadialGaugeComponent extends GaugeComponent {
42
42
  }
43
43
  }
44
44
  RadialGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeComponent, deps: [{ 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 });
45
- RadialGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadialGaugeComponent, selector: "kendo-radialgauge", inputs: { pointer: "pointer", scale: "scale" }, providers: [
45
+ 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: [
46
46
  ConfigurationService,
47
+ ThemeService,
47
48
  LocalizationService,
48
49
  {
49
50
  provide: L10N_PREFIX,
@@ -52,7 +53,7 @@ RadialGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
52
53
  ], exportAs: ["kendoRadialGauge"], usesInheritance: true, ngImport: i0, template: `
53
54
  <div #surface class='k-chart-surface'></div>
54
55
  <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
55
- `, isInline: true, dependencies: [{ kind: "component", type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
+ `, isInline: true, dependencies: [{ kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
57
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeComponent, decorators: [{
57
58
  type: Component,
58
59
  args: [{
@@ -60,6 +61,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
60
61
  exportAs: 'kendoRadialGauge',
61
62
  providers: [
62
63
  ConfigurationService,
64
+ ThemeService,
63
65
  LocalizationService,
64
66
  {
65
67
  provide: L10N_PREFIX,
@@ -70,7 +72,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
70
72
  template: `
71
73
  <div #surface class='k-chart-surface'></div>
72
74
  <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
73
- `
75
+ `,
76
+ standalone: true,
77
+ imports: [ResizeSensorComponent]
74
78
  }]
75
79
  }], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { pointer: [{
76
80
  type: Input
@@ -3,18 +3,17 @@
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 { SharedModule } from '../shared.module';
7
- import { RadialGaugeComponent } from './radial-gauge.component';
8
- import { RadialGaugeAreaComponent } from './gauge-area.component';
9
- import { RadialScaleComponent } from './scale.component';
10
- import { RadialLabelsComponent } from './labels.component';
11
- import { RadialPointersComponent } from './pointers.component';
12
- import { RadialPointerComponent } from './pointer.component';
13
- import { RadialRangeComponent } from './range.component';
14
- import { RadialRangesComponent } from './ranges.component';
6
+ import { KENDO_RADIALGAUGE } from '../directives';
15
7
  import * as i0 from "@angular/core";
16
- const DIRECTIVES = [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent,
17
- RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent];
8
+ import * as i1 from "./radial-gauge.component";
9
+ import * as i2 from "./gauge-area.component";
10
+ import * as i3 from "./scale.component";
11
+ import * as i4 from "./labels.component";
12
+ import * as i5 from "./pointers.component";
13
+ import * as i6 from "./pointer.component";
14
+ import * as i7 from "./range.component";
15
+ import * as i8 from "./ranges.component";
16
+ // IMPORTANT: NgModule export kept for backwards compatibility
18
17
  /**
19
18
  * A [module](link:site.data.urls.angular['ngmodules']) that includes the RadialGauge component and its directives.
20
19
  * Imports the `RadialGaugeModule` into your application
@@ -40,15 +39,12 @@ const DIRECTIVES = [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleC
40
39
  export class RadialGaugeModule {
41
40
  }
42
41
  RadialGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
43
- RadialGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, declarations: [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent,
44
- RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent], imports: [SharedModule], exports: [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent,
45
- RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent] });
46
- RadialGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, imports: [SharedModule] });
42
+ RadialGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, imports: [i1.RadialGaugeComponent, i2.RadialGaugeAreaComponent, i3.RadialScaleComponent, i4.RadialLabelsComponent, i5.RadialPointersComponent, i6.RadialPointerComponent, i7.RadialRangeComponent, i8.RadialRangesComponent], exports: [i1.RadialGaugeComponent, i2.RadialGaugeAreaComponent, i3.RadialScaleComponent, i4.RadialLabelsComponent, i5.RadialPointersComponent, i6.RadialPointerComponent, i7.RadialRangeComponent, i8.RadialRangesComponent] });
43
+ RadialGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, imports: [KENDO_RADIALGAUGE] });
47
44
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialGaugeModule, decorators: [{
48
45
  type: NgModule,
49
46
  args: [{
50
- declarations: [DIRECTIVES],
51
- exports: [DIRECTIVES],
52
- imports: [SharedModule]
47
+ exports: [...KENDO_RADIALGAUGE],
48
+ imports: [...KENDO_RADIALGAUGE]
53
49
  }]
54
50
  }] });
@@ -16,12 +16,13 @@ export class RadialRangeComponent extends RangeComponent {
16
16
  }
17
17
  }
18
18
  RadialRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialRangeComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
19
- 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 });
19
+ 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 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialRangeComponent, decorators: [{
21
21
  type: Component,
22
22
  args: [{
23
23
  providers: [ConfigurationService],
24
24
  selector: 'kendo-radialgauge-scale-range',
25
- template: ''
25
+ template: '',
26
+ standalone: true
26
27
  }]
27
28
  }], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.CollectionChangesService }]; } });
@@ -54,13 +54,14 @@ export class RadialRangesComponent extends CollectionComponent {
54
54
  }
55
55
  }
56
56
  RadialRangesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialRangesComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
57
- 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 });
57
+ 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 });
58
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialRangesComponent, decorators: [{
59
59
  type: Component,
60
60
  args: [{
61
61
  providers: [CollectionChangesService],
62
62
  selector: 'kendo-radialgauge-scale-ranges',
63
- template: ''
63
+ template: '',
64
+ standalone: true
64
65
  }]
65
66
  }], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.CollectionChangesService }]; }, propDecorators: { children: [{
66
67
  type: ContentChildren,
@@ -18,12 +18,13 @@ export class RadialScaleComponent extends ScaleComponent {
18
18
  }
19
19
  }
20
20
  RadialScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialScaleComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
21
- 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 });
21
+ 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 });
22
22
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadialScaleComponent, decorators: [{
23
23
  type: Component,
24
24
  args: [{
25
25
  selector: 'kendo-radialgauge-scale',
26
- template: ''
26
+ template: '',
27
+ standalone: true
27
28
  }]
28
29
  }], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { labels: [{
29
30
  type: Input