@progress/kendo-angular-gauges 25.0.0-develop.1 → 25.0.0-develop.3
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/fesm2022/progress-kendo-angular-gauges.mjs +584 -114
- package/index.d.ts +225 -82
- package/package-metadata.mjs +2 -2
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
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 { Optional, Directive, Injectable, HostBinding, ViewChild, Input, ContentChild, ChangeDetectionStrategy, Component, ContentChildren, NgModule } from '@angular/core';
|
|
6
|
+
import { Optional, Directive, Injectable, signal, HostBinding, ViewChild, Input, ContentChild, ChangeDetectionStrategy, Component, ContentChildren, NgModule } from '@angular/core';
|
|
7
7
|
import { gaugeTheme, ArcGauge, CircularGauge, LinearGauge, RadialGauge } from '@progress/kendo-charts';
|
|
8
8
|
import * as i2 from '@progress/kendo-angular-intl';
|
|
9
9
|
import * as i3 from '@progress/kendo-angular-l10n';
|
|
@@ -255,8 +255,8 @@ const packageMetadata = {
|
|
|
255
255
|
productName: 'Kendo UI for Angular',
|
|
256
256
|
productCode: 'KENDOUIANGULAR',
|
|
257
257
|
productCodes: ['KENDOUIANGULAR'],
|
|
258
|
-
publishDate:
|
|
259
|
-
version: '25.0.0-develop.
|
|
258
|
+
publishDate: 1783692639,
|
|
259
|
+
version: '25.0.0-develop.3',
|
|
260
260
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
261
261
|
};
|
|
262
262
|
|
|
@@ -281,24 +281,49 @@ class GaugeComponent {
|
|
|
281
281
|
/**
|
|
282
282
|
* Specifies options for the Gauge area.
|
|
283
283
|
*/
|
|
284
|
-
gaugeArea
|
|
284
|
+
set gaugeArea(value) {
|
|
285
|
+
this._gaugeArea.set(value);
|
|
286
|
+
}
|
|
287
|
+
get gaugeArea() {
|
|
288
|
+
return this._gaugeArea();
|
|
289
|
+
}
|
|
285
290
|
/**
|
|
286
291
|
* Specifies the output type.
|
|
287
292
|
*/
|
|
288
|
-
renderAs
|
|
293
|
+
set renderAs(value) {
|
|
294
|
+
this._renderAs.set(value);
|
|
295
|
+
}
|
|
296
|
+
get renderAs() {
|
|
297
|
+
return this._renderAs();
|
|
298
|
+
}
|
|
289
299
|
/**
|
|
290
300
|
* The maximum number of times the Gauge resizes per second.
|
|
291
301
|
* Defaults to `10`. To disable the automatic resizing, set `resizeRateLimit` to `0`.
|
|
292
302
|
*/
|
|
293
|
-
resizeRateLimit
|
|
303
|
+
set resizeRateLimit(value) {
|
|
304
|
+
this._resizeRateLimit.set(value);
|
|
305
|
+
}
|
|
306
|
+
get resizeRateLimit() {
|
|
307
|
+
return this._resizeRateLimit();
|
|
308
|
+
}
|
|
294
309
|
/**
|
|
295
310
|
* Specifies the scale options.
|
|
296
311
|
*/
|
|
297
|
-
scale
|
|
312
|
+
set scale(value) {
|
|
313
|
+
this._scale.set(value);
|
|
314
|
+
}
|
|
315
|
+
get scale() {
|
|
316
|
+
return this._scale();
|
|
317
|
+
}
|
|
298
318
|
/**
|
|
299
319
|
* Specifies if the changes will be animated.
|
|
300
320
|
*/
|
|
301
|
-
transitions
|
|
321
|
+
set transitions(value) {
|
|
322
|
+
this._transitions.set(value);
|
|
323
|
+
}
|
|
324
|
+
get transitions() {
|
|
325
|
+
return this._transitions();
|
|
326
|
+
}
|
|
302
327
|
resizeSensor;
|
|
303
328
|
className = true;
|
|
304
329
|
options;
|
|
@@ -307,6 +332,11 @@ class GaugeComponent {
|
|
|
307
332
|
subscriptions;
|
|
308
333
|
redrawTimeout;
|
|
309
334
|
rtl = false;
|
|
335
|
+
_transitions = signal(undefined, ...(ngDevMode ? [{ debugName: "_transitions" }] : []));
|
|
336
|
+
_scale = signal(undefined, ...(ngDevMode ? [{ debugName: "_scale" }] : []));
|
|
337
|
+
_resizeRateLimit = signal(10, ...(ngDevMode ? [{ debugName: "_resizeRateLimit" }] : []));
|
|
338
|
+
_renderAs = signal(undefined, ...(ngDevMode ? [{ debugName: "_renderAs" }] : []));
|
|
339
|
+
_gaugeArea = signal(undefined, ...(ngDevMode ? [{ debugName: "_gaugeArea" }] : []));
|
|
310
340
|
constructor(configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
|
|
311
341
|
this.configurationService = configurationService;
|
|
312
342
|
this.themeService = themeService;
|
|
@@ -322,6 +352,9 @@ class GaugeComponent {
|
|
|
322
352
|
this.subscriptions = this.intlService.changes.subscribe(this.intlChange.bind(this));
|
|
323
353
|
this.subscriptions.add(this.localizationService.changes.subscribe(this.rtlChange.bind(this)));
|
|
324
354
|
}
|
|
355
|
+
ngOnChanges(changes) {
|
|
356
|
+
this.configurationService.copyChanges('', changes);
|
|
357
|
+
}
|
|
325
358
|
ngAfterViewChecked() {
|
|
326
359
|
if (typeof document === 'undefined') {
|
|
327
360
|
return;
|
|
@@ -338,7 +371,8 @@ class GaugeComponent {
|
|
|
338
371
|
}
|
|
339
372
|
if (updateMethod) {
|
|
340
373
|
clearTimeout(this.redrawTimeout);
|
|
341
|
-
if (!this.instance && !inDocument(this.element.nativeElement)) {
|
|
374
|
+
if (!this.instance && !inDocument(this.element.nativeElement)) {
|
|
375
|
+
// required in case the gauge is initialized by ng-content outside of the DOM
|
|
342
376
|
this.defer(() => {
|
|
343
377
|
this.updateCall(updateMethod);
|
|
344
378
|
});
|
|
@@ -348,6 +382,13 @@ class GaugeComponent {
|
|
|
348
382
|
}
|
|
349
383
|
}
|
|
350
384
|
}
|
|
385
|
+
ngOnDestroy() {
|
|
386
|
+
if (this.instance) {
|
|
387
|
+
this.instance.destroy();
|
|
388
|
+
}
|
|
389
|
+
this.subscriptions?.unsubscribe();
|
|
390
|
+
clearTimeout(this.redrawTimeout);
|
|
391
|
+
}
|
|
351
392
|
updateCall(updateMethod) {
|
|
352
393
|
this.updateDirection();
|
|
353
394
|
updateMethod.call(this);
|
|
@@ -359,16 +400,6 @@ class GaugeComponent {
|
|
|
359
400
|
setValues() {
|
|
360
401
|
this.instance.allValues(this.configurationService.readValues());
|
|
361
402
|
}
|
|
362
|
-
ngOnChanges(changes) {
|
|
363
|
-
this.configurationService.copyChanges('', changes);
|
|
364
|
-
}
|
|
365
|
-
ngOnDestroy() {
|
|
366
|
-
if (this.instance) {
|
|
367
|
-
this.instance.destroy();
|
|
368
|
-
}
|
|
369
|
-
this.subscriptions?.unsubscribe();
|
|
370
|
-
clearTimeout(this.redrawTimeout);
|
|
371
|
-
}
|
|
372
403
|
/**
|
|
373
404
|
* Exports the Gauge as an image. The export operation is asynchronous and returns a promise.
|
|
374
405
|
*
|
|
@@ -526,23 +557,53 @@ class GaugeAreaComponent extends SettingsComponent {
|
|
|
526
557
|
/**
|
|
527
558
|
* The background of the Gauge area. Accepts valid CSS color strings, including hex and rgb.
|
|
528
559
|
*/
|
|
529
|
-
background
|
|
560
|
+
set background(value) {
|
|
561
|
+
this._background.set(value);
|
|
562
|
+
}
|
|
563
|
+
get background() {
|
|
564
|
+
return this._background();
|
|
565
|
+
}
|
|
530
566
|
/**
|
|
531
567
|
* The border of the Gauge area.
|
|
532
568
|
*/
|
|
533
|
-
border
|
|
569
|
+
set border(value) {
|
|
570
|
+
this._border.set(value);
|
|
571
|
+
}
|
|
572
|
+
get border() {
|
|
573
|
+
return this._border();
|
|
574
|
+
}
|
|
534
575
|
/**
|
|
535
576
|
* The height of the Gauge area.
|
|
536
577
|
*/
|
|
537
|
-
height
|
|
578
|
+
set height(value) {
|
|
579
|
+
this._height.set(value);
|
|
580
|
+
}
|
|
581
|
+
get height() {
|
|
582
|
+
return this._height();
|
|
583
|
+
}
|
|
538
584
|
/**
|
|
539
585
|
* The margin of the Gauge area.
|
|
540
586
|
*/
|
|
541
|
-
margin
|
|
587
|
+
set margin(value) {
|
|
588
|
+
this._margin.set(value);
|
|
589
|
+
}
|
|
590
|
+
get margin() {
|
|
591
|
+
return this._margin();
|
|
592
|
+
}
|
|
542
593
|
/**
|
|
543
594
|
* The width of the Gauge area.
|
|
544
595
|
*/
|
|
545
|
-
width
|
|
596
|
+
set width(value) {
|
|
597
|
+
this._width.set(value);
|
|
598
|
+
}
|
|
599
|
+
get width() {
|
|
600
|
+
return this._width();
|
|
601
|
+
}
|
|
602
|
+
_width = signal(undefined, ...(ngDevMode ? [{ debugName: "_width" }] : []));
|
|
603
|
+
_margin = signal(undefined, ...(ngDevMode ? [{ debugName: "_margin" }] : []));
|
|
604
|
+
_height = signal(undefined, ...(ngDevMode ? [{ debugName: "_height" }] : []));
|
|
605
|
+
_background = signal(undefined, ...(ngDevMode ? [{ debugName: "_background" }] : []));
|
|
606
|
+
_border = signal(undefined, ...(ngDevMode ? [{ debugName: "_border" }] : []));
|
|
546
607
|
// due to NG error: The directive GaugeAreaComponent inherits its constructor from SettingsComponent, but the latter has a constructor parameter
|
|
547
608
|
// that is not compatible with dependency injection. Either add an explicit constructor to ScaleComponent or change SettingsComponent's constructor
|
|
548
609
|
// to use parameters that are valid for DI.(-992016)
|
|
@@ -578,33 +639,68 @@ class LabelsComponent extends SettingsComponent {
|
|
|
578
639
|
* The background of the labels.
|
|
579
640
|
* Accepts valid CSS color strings, including hex and rgb.
|
|
580
641
|
*/
|
|
581
|
-
background
|
|
642
|
+
set background(value) {
|
|
643
|
+
this._background.set(value);
|
|
644
|
+
}
|
|
645
|
+
get background() {
|
|
646
|
+
return this._background();
|
|
647
|
+
}
|
|
582
648
|
/**
|
|
583
649
|
* The border of the labels.
|
|
584
650
|
*/
|
|
585
|
-
border
|
|
651
|
+
set border(value) {
|
|
652
|
+
this._border.set(value);
|
|
653
|
+
}
|
|
654
|
+
get border() {
|
|
655
|
+
return this._border();
|
|
656
|
+
}
|
|
586
657
|
/**
|
|
587
658
|
* The color of the labels.
|
|
588
659
|
* Accepts valid CSS color strings, including hex and rgb.
|
|
589
660
|
*/
|
|
590
|
-
color
|
|
661
|
+
set color(value) {
|
|
662
|
+
this._color.set(value);
|
|
663
|
+
}
|
|
664
|
+
get color() {
|
|
665
|
+
return this._color();
|
|
666
|
+
}
|
|
591
667
|
/**
|
|
592
668
|
* The font of the labels.
|
|
593
669
|
*/
|
|
594
|
-
font
|
|
670
|
+
set font(value) {
|
|
671
|
+
this._font.set(value);
|
|
672
|
+
}
|
|
673
|
+
get font() {
|
|
674
|
+
return this._font();
|
|
675
|
+
}
|
|
595
676
|
/**
|
|
596
677
|
* The format that is used to display the labels.
|
|
597
678
|
* Uses the IntlService [`format`](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/api/intlservice#format) method.
|
|
598
679
|
*/
|
|
599
|
-
format
|
|
680
|
+
set format(value) {
|
|
681
|
+
this._format.set(value);
|
|
682
|
+
}
|
|
683
|
+
get format() {
|
|
684
|
+
return this._format();
|
|
685
|
+
}
|
|
600
686
|
/**
|
|
601
687
|
* The margin of the labels.
|
|
602
688
|
*/
|
|
603
|
-
margin
|
|
689
|
+
set margin(value) {
|
|
690
|
+
this._margin.set(value);
|
|
691
|
+
}
|
|
692
|
+
get margin() {
|
|
693
|
+
return this._margin();
|
|
694
|
+
}
|
|
604
695
|
/**
|
|
605
696
|
* The padding of the labels.
|
|
606
697
|
*/
|
|
607
|
-
padding
|
|
698
|
+
set padding(value) {
|
|
699
|
+
this._padding.set(value);
|
|
700
|
+
}
|
|
701
|
+
get padding() {
|
|
702
|
+
return this._padding();
|
|
703
|
+
}
|
|
608
704
|
/**
|
|
609
705
|
* The function which returns the label content.
|
|
610
706
|
*
|
|
@@ -612,11 +708,30 @@ class LabelsComponent extends SettingsComponent {
|
|
|
612
708
|
*
|
|
613
709
|
* - `value`—The value of the label.
|
|
614
710
|
*/
|
|
615
|
-
content
|
|
711
|
+
set content(value) {
|
|
712
|
+
this._content.set(value);
|
|
713
|
+
}
|
|
714
|
+
get content() {
|
|
715
|
+
return this._content();
|
|
716
|
+
}
|
|
616
717
|
/**
|
|
617
718
|
* The visibility of the labels.
|
|
618
719
|
*/
|
|
619
|
-
visible
|
|
720
|
+
set visible(value) {
|
|
721
|
+
this._visible.set(value);
|
|
722
|
+
}
|
|
723
|
+
get visible() {
|
|
724
|
+
return this._visible();
|
|
725
|
+
}
|
|
726
|
+
_visible = signal(undefined, ...(ngDevMode ? [{ debugName: "_visible" }] : []));
|
|
727
|
+
_content = signal(undefined, ...(ngDevMode ? [{ debugName: "_content" }] : []));
|
|
728
|
+
_padding = signal(undefined, ...(ngDevMode ? [{ debugName: "_padding" }] : []));
|
|
729
|
+
_margin = signal(undefined, ...(ngDevMode ? [{ debugName: "_margin" }] : []));
|
|
730
|
+
_format = signal(undefined, ...(ngDevMode ? [{ debugName: "_format" }] : []));
|
|
731
|
+
_font = signal(undefined, ...(ngDevMode ? [{ debugName: "_font" }] : []));
|
|
732
|
+
_color = signal(undefined, ...(ngDevMode ? [{ debugName: "_color" }] : []));
|
|
733
|
+
_border = signal(undefined, ...(ngDevMode ? [{ debugName: "_border" }] : []));
|
|
734
|
+
_background = signal(undefined, ...(ngDevMode ? [{ debugName: "_background" }] : []));
|
|
620
735
|
// due to NG error: The directive LabelsComponent inherits its constructor from SettingsComponent, but the latter has a constructor parameter
|
|
621
736
|
// that is not compatible with dependency injection. Either add an explicit constructor to ScaleComponent or change SettingsComponent's constructor
|
|
622
737
|
// to use parameters that are valid for DI.(-992016)
|
|
@@ -657,19 +772,43 @@ class RangeComponent extends CollectionItemComponent {
|
|
|
657
772
|
/**
|
|
658
773
|
* The start position of the range.
|
|
659
774
|
*/
|
|
660
|
-
from
|
|
775
|
+
set from(value) {
|
|
776
|
+
this._from.set(value);
|
|
777
|
+
}
|
|
778
|
+
get from() {
|
|
779
|
+
return this._from();
|
|
780
|
+
}
|
|
661
781
|
/**
|
|
662
782
|
* The end position of the range.
|
|
663
783
|
*/
|
|
664
|
-
to
|
|
784
|
+
set to(value) {
|
|
785
|
+
this._to.set(value);
|
|
786
|
+
}
|
|
787
|
+
get to() {
|
|
788
|
+
return this._to();
|
|
789
|
+
}
|
|
665
790
|
/**
|
|
666
791
|
* The range opacity.
|
|
667
792
|
*/
|
|
668
|
-
opacity
|
|
793
|
+
set opacity(value) {
|
|
794
|
+
this._opacity.set(value);
|
|
795
|
+
}
|
|
796
|
+
get opacity() {
|
|
797
|
+
return this._opacity();
|
|
798
|
+
}
|
|
669
799
|
/**
|
|
670
800
|
* The color of the range. Accepts valid CSS color strings, including hex and rgb.
|
|
671
801
|
*/
|
|
672
|
-
color
|
|
802
|
+
set color(value) {
|
|
803
|
+
this._color.set(value);
|
|
804
|
+
}
|
|
805
|
+
get color() {
|
|
806
|
+
return this._color();
|
|
807
|
+
}
|
|
808
|
+
_to = signal(undefined, ...(ngDevMode ? [{ debugName: "_to" }] : []));
|
|
809
|
+
_from = signal(undefined, ...(ngDevMode ? [{ debugName: "_from" }] : []));
|
|
810
|
+
_opacity = signal(undefined, ...(ngDevMode ? [{ debugName: "_opacity" }] : []));
|
|
811
|
+
_color = signal(undefined, ...(ngDevMode ? [{ debugName: "_color" }] : []));
|
|
673
812
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
674
813
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: RangeComponent, isStandalone: true, inputs: { from: "from", to: "to", opacity: "opacity", color: "color" }, usesInheritance: true, ngImport: i0 });
|
|
675
814
|
}
|
|
@@ -691,16 +830,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
691
830
|
class ScaleComponent extends SettingsComponent {
|
|
692
831
|
key;
|
|
693
832
|
configurationService;
|
|
694
|
-
labels
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
833
|
+
set labels(value) {
|
|
834
|
+
this._labels.set(value);
|
|
835
|
+
}
|
|
836
|
+
get labels() {
|
|
837
|
+
return this._labels();
|
|
838
|
+
}
|
|
839
|
+
set majorTicks(value) {
|
|
840
|
+
this._majorTicks.set(value);
|
|
841
|
+
}
|
|
842
|
+
get majorTicks() {
|
|
843
|
+
return this._majorTicks();
|
|
844
|
+
}
|
|
845
|
+
set minorTicks(value) {
|
|
846
|
+
this._minorTicks.set(value);
|
|
847
|
+
}
|
|
848
|
+
get minorTicks() {
|
|
849
|
+
return this._minorTicks();
|
|
850
|
+
}
|
|
851
|
+
set min(value) {
|
|
852
|
+
this._min.set(value);
|
|
853
|
+
}
|
|
854
|
+
get min() {
|
|
855
|
+
return this._min();
|
|
856
|
+
}
|
|
857
|
+
set max(value) {
|
|
858
|
+
this._max.set(value);
|
|
859
|
+
}
|
|
860
|
+
get max() {
|
|
861
|
+
return this._max();
|
|
862
|
+
}
|
|
863
|
+
set minorUnit(value) {
|
|
864
|
+
this._minorUnit.set(value);
|
|
865
|
+
}
|
|
866
|
+
get minorUnit() {
|
|
867
|
+
return this._minorUnit();
|
|
868
|
+
}
|
|
869
|
+
set majorUnit(value) {
|
|
870
|
+
this._majorUnit.set(value);
|
|
871
|
+
}
|
|
872
|
+
get majorUnit() {
|
|
873
|
+
return this._majorUnit();
|
|
874
|
+
}
|
|
875
|
+
set reverse(value) {
|
|
876
|
+
this._reverse.set(value);
|
|
877
|
+
}
|
|
878
|
+
get reverse() {
|
|
879
|
+
return this._reverse();
|
|
880
|
+
}
|
|
881
|
+
set rangeSize(value) {
|
|
882
|
+
this._rangeSize.set(value);
|
|
883
|
+
}
|
|
884
|
+
get rangeSize() {
|
|
885
|
+
return this._rangeSize();
|
|
886
|
+
}
|
|
887
|
+
set rangePlaceholderColor(value) {
|
|
888
|
+
this._rangePlaceholderColor.set(value);
|
|
889
|
+
}
|
|
890
|
+
get rangePlaceholderColor() {
|
|
891
|
+
return this._rangePlaceholderColor();
|
|
892
|
+
}
|
|
893
|
+
_rangePlaceholderColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_rangePlaceholderColor" }] : []));
|
|
894
|
+
_rangeSize = signal(undefined, ...(ngDevMode ? [{ debugName: "_rangeSize" }] : []));
|
|
895
|
+
_reverse = signal(undefined, ...(ngDevMode ? [{ debugName: "_reverse" }] : []));
|
|
896
|
+
_majorUnit = signal(undefined, ...(ngDevMode ? [{ debugName: "_majorUnit" }] : []));
|
|
897
|
+
_minorUnit = signal(undefined, ...(ngDevMode ? [{ debugName: "_minorUnit" }] : []));
|
|
898
|
+
_max = signal(undefined, ...(ngDevMode ? [{ debugName: "_max" }] : []));
|
|
899
|
+
_min = signal(undefined, ...(ngDevMode ? [{ debugName: "_min" }] : []));
|
|
900
|
+
_minorTicks = signal(undefined, ...(ngDevMode ? [{ debugName: "_minorTicks" }] : []));
|
|
901
|
+
_majorTicks = signal(undefined, ...(ngDevMode ? [{ debugName: "_majorTicks" }] : []));
|
|
902
|
+
_labels = signal(undefined, ...(ngDevMode ? [{ debugName: "_labels" }] : []));
|
|
704
903
|
// due to NG error: The directive ScaleComponent inherits its constructor from SettingsComponent, but the latter has a constructor parameter
|
|
705
904
|
// that is not compatible with dependency injection. Either add an explicit constructor to ScaleComponent or change SettingsComponent's constructor
|
|
706
905
|
// to use parameters that are valid for DI.(-992016)
|
|
@@ -766,27 +965,62 @@ class ArcGaugeComponent extends GaugeComponent {
|
|
|
766
965
|
/**
|
|
767
966
|
* Sets the value of the gauge.
|
|
768
967
|
*/
|
|
769
|
-
value
|
|
968
|
+
set value(v) {
|
|
969
|
+
this._value.set(v);
|
|
970
|
+
}
|
|
971
|
+
get value() {
|
|
972
|
+
return this._value();
|
|
973
|
+
}
|
|
770
974
|
/**
|
|
771
975
|
* Sets the color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
|
|
772
976
|
*/
|
|
773
|
-
color
|
|
977
|
+
set color(v) {
|
|
978
|
+
this._color.set(v);
|
|
979
|
+
}
|
|
980
|
+
get color() {
|
|
981
|
+
return this._color();
|
|
982
|
+
}
|
|
774
983
|
/**
|
|
775
984
|
* Sets the color ranges of the value pointer.
|
|
776
985
|
*/
|
|
777
|
-
colors
|
|
986
|
+
set colors(v) {
|
|
987
|
+
this._colors.set(v);
|
|
988
|
+
}
|
|
989
|
+
get colors() {
|
|
990
|
+
return this._colors();
|
|
991
|
+
}
|
|
778
992
|
/**
|
|
779
993
|
* Sets the opacity of the value pointer.
|
|
780
994
|
*/
|
|
781
|
-
opacity
|
|
995
|
+
set opacity(v) {
|
|
996
|
+
this._opacity.set(v);
|
|
997
|
+
}
|
|
998
|
+
get opacity() {
|
|
999
|
+
return this._opacity();
|
|
1000
|
+
}
|
|
782
1001
|
/**
|
|
783
1002
|
* Sets the scale options of the ArcGauge.
|
|
784
1003
|
*/
|
|
785
|
-
scale
|
|
1004
|
+
set scale(value) {
|
|
1005
|
+
super.scale = value;
|
|
1006
|
+
}
|
|
1007
|
+
get scale() {
|
|
1008
|
+
return super.scale;
|
|
1009
|
+
}
|
|
786
1010
|
centerTemplate;
|
|
787
1011
|
labelElement;
|
|
788
1012
|
className = true;
|
|
789
|
-
centerTemplateContext
|
|
1013
|
+
get centerTemplateContext() {
|
|
1014
|
+
return this._centerTemplateContext();
|
|
1015
|
+
}
|
|
1016
|
+
set centerTemplateContext(value) {
|
|
1017
|
+
this._centerTemplateContext.set(value);
|
|
1018
|
+
}
|
|
1019
|
+
_centerTemplateContext = signal({}, ...(ngDevMode ? [{ debugName: "_centerTemplateContext" }] : []));
|
|
1020
|
+
_colors = signal(undefined, ...(ngDevMode ? [{ debugName: "_colors" }] : []));
|
|
1021
|
+
_color = signal(undefined, ...(ngDevMode ? [{ debugName: "_color" }] : []));
|
|
1022
|
+
_value = signal(undefined, ...(ngDevMode ? [{ debugName: "_value" }] : []));
|
|
1023
|
+
_opacity = signal(undefined, ...(ngDevMode ? [{ debugName: "_opacity" }] : []));
|
|
790
1024
|
constructor(changeDetector, configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
|
|
791
1025
|
super(configurationService, themeService, intlService, localizationService, element, renderer, ngZone);
|
|
792
1026
|
this.changeDetector = changeDetector;
|
|
@@ -843,8 +1077,10 @@ class ArcGaugeComponent extends GaugeComponent {
|
|
|
843
1077
|
if (!this.instance || !this.centerTemplate) {
|
|
844
1078
|
return;
|
|
845
1079
|
}
|
|
846
|
-
this.
|
|
847
|
-
|
|
1080
|
+
this._centerTemplateContext.set({
|
|
1081
|
+
value: this.instance.value(),
|
|
1082
|
+
color: this.instance.currentColor()
|
|
1083
|
+
});
|
|
848
1084
|
this.changeDetector.detectChanges();
|
|
849
1085
|
this.positionLabel();
|
|
850
1086
|
}
|
|
@@ -952,28 +1188,53 @@ class ColorComponent extends CollectionItemComponent {
|
|
|
952
1188
|
/**
|
|
953
1189
|
* Sets the color of the range. Accepts a valid CSS color string, including hex and rgb.
|
|
954
1190
|
*/
|
|
955
|
-
color
|
|
1191
|
+
set color(value) {
|
|
1192
|
+
this._color.set(value);
|
|
1193
|
+
}
|
|
1194
|
+
get color() {
|
|
1195
|
+
return this._color();
|
|
1196
|
+
}
|
|
956
1197
|
/**
|
|
957
1198
|
* Sets the opacity of the range.
|
|
958
1199
|
*/
|
|
959
|
-
opacity
|
|
1200
|
+
set opacity(value) {
|
|
1201
|
+
this._opacity.set(value);
|
|
1202
|
+
}
|
|
1203
|
+
get opacity() {
|
|
1204
|
+
return this._opacity();
|
|
1205
|
+
}
|
|
960
1206
|
/**
|
|
961
1207
|
* Sets the start value of the range.
|
|
962
1208
|
*/
|
|
963
|
-
from
|
|
1209
|
+
set from(value) {
|
|
1210
|
+
this._from.set(value);
|
|
1211
|
+
}
|
|
1212
|
+
get from() {
|
|
1213
|
+
return this._from();
|
|
1214
|
+
}
|
|
964
1215
|
/**
|
|
965
1216
|
* Sets the end value of the range.
|
|
966
1217
|
*/
|
|
967
|
-
to
|
|
1218
|
+
set to(value) {
|
|
1219
|
+
this._to.set(value);
|
|
1220
|
+
}
|
|
1221
|
+
get to() {
|
|
1222
|
+
return this._to();
|
|
1223
|
+
}
|
|
1224
|
+
_to = signal(undefined, ...(ngDevMode ? [{ debugName: "_to" }] : []));
|
|
1225
|
+
_from = signal(undefined, ...(ngDevMode ? [{ debugName: "_from" }] : []));
|
|
1226
|
+
_opacity = signal(undefined, ...(ngDevMode ? [{ debugName: "_opacity" }] : []));
|
|
1227
|
+
_color = signal(undefined, ...(ngDevMode ? [{ debugName: "_color" }] : []));
|
|
968
1228
|
constructor(configurationService, collectionChangesService) {
|
|
969
1229
|
super(configurationService, collectionChangesService);
|
|
970
1230
|
}
|
|
971
1231
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColorComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
972
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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 });
|
|
1232
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
973
1233
|
}
|
|
974
1234
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColorComponent, decorators: [{
|
|
975
1235
|
type: Component,
|
|
976
1236
|
args: [{
|
|
1237
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
977
1238
|
providers: [ConfigurationService],
|
|
978
1239
|
selector: 'kendo-arcgauge-color',
|
|
979
1240
|
template: '',
|
|
@@ -1041,11 +1302,12 @@ class ColorsComponent extends CollectionComponent {
|
|
|
1041
1302
|
super('colors', configurationService, collectionChangesService);
|
|
1042
1303
|
}
|
|
1043
1304
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColorsComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1044
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ColorsComponent, isStandalone: true, selector: "kendo-arcgauge-colors", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: ColorComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1305
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ColorsComponent, isStandalone: true, selector: "kendo-arcgauge-colors", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: ColorComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1045
1306
|
}
|
|
1046
1307
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColorsComponent, decorators: [{
|
|
1047
1308
|
type: Component,
|
|
1048
1309
|
args: [{
|
|
1310
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1049
1311
|
providers: [CollectionChangesService],
|
|
1050
1312
|
selector: 'kendo-arcgauge-colors',
|
|
1051
1313
|
template: '',
|
|
@@ -1087,11 +1349,12 @@ class ArcGaugeAreaComponent extends GaugeAreaComponent {
|
|
|
1087
1349
|
this.configurationService = configurationService;
|
|
1088
1350
|
}
|
|
1089
1351
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ArcGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1090
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ArcGaugeAreaComponent, isStandalone: true, selector: "kendo-arcgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1352
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ArcGaugeAreaComponent, isStandalone: true, selector: "kendo-arcgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1091
1353
|
}
|
|
1092
1354
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ArcGaugeAreaComponent, decorators: [{
|
|
1093
1355
|
type: Component,
|
|
1094
1356
|
args: [{
|
|
1357
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1095
1358
|
selector: 'kendo-arcgauge-area',
|
|
1096
1359
|
template: '',
|
|
1097
1360
|
standalone: true
|
|
@@ -1116,17 +1379,24 @@ class RadialLabelsComponent extends LabelsComponent {
|
|
|
1116
1379
|
/**
|
|
1117
1380
|
* Sepcifies rhe position of the labels relative to the scale.
|
|
1118
1381
|
*/
|
|
1119
|
-
position
|
|
1382
|
+
set position(value) {
|
|
1383
|
+
this._position.set(value);
|
|
1384
|
+
}
|
|
1385
|
+
get position() {
|
|
1386
|
+
return this._position();
|
|
1387
|
+
}
|
|
1388
|
+
_position = signal(undefined, ...(ngDevMode ? [{ debugName: "_position" }] : []));
|
|
1120
1389
|
constructor(configurationService) {
|
|
1121
1390
|
super('scale.labels', configurationService);
|
|
1122
1391
|
this.configurationService = configurationService;
|
|
1123
1392
|
}
|
|
1124
1393
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1125
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialLabelsComponent, isStandalone: true, selector: "kendo-radialgauge-scale-labels", inputs: { position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1394
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialLabelsComponent, isStandalone: true, selector: "kendo-radialgauge-scale-labels", inputs: { position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1126
1395
|
}
|
|
1127
1396
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialLabelsComponent, decorators: [{
|
|
1128
1397
|
type: Component,
|
|
1129
1398
|
args: [{
|
|
1399
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1130
1400
|
selector: 'kendo-radialgauge-scale-labels',
|
|
1131
1401
|
template: '',
|
|
1132
1402
|
standalone: true
|
|
@@ -1168,11 +1438,12 @@ class ArcLabelsComponent extends RadialLabelsComponent {
|
|
|
1168
1438
|
configurationService.set(`${this.key}.visible`, true);
|
|
1169
1439
|
}
|
|
1170
1440
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ArcLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1171
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ArcLabelsComponent, isStandalone: true, selector: "kendo-arcgauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1441
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ArcLabelsComponent, isStandalone: true, selector: "kendo-arcgauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1172
1442
|
}
|
|
1173
1443
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ArcLabelsComponent, decorators: [{
|
|
1174
1444
|
type: Component,
|
|
1175
1445
|
args: [{
|
|
1446
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1176
1447
|
selector: 'kendo-arcgauge-scale-labels',
|
|
1177
1448
|
template: '',
|
|
1178
1449
|
standalone: true
|
|
@@ -1212,33 +1483,63 @@ class ArcScaleComponent extends ScaleComponent {
|
|
|
1212
1483
|
/**
|
|
1213
1484
|
* Sets the scale labels configuration.
|
|
1214
1485
|
*/
|
|
1215
|
-
labels
|
|
1486
|
+
set labels(value) {
|
|
1487
|
+
super.labels = value;
|
|
1488
|
+
}
|
|
1489
|
+
get labels() {
|
|
1490
|
+
return super.labels;
|
|
1491
|
+
}
|
|
1216
1492
|
/**
|
|
1217
1493
|
* Sets the distance between the scale ranges in pixels.
|
|
1218
1494
|
*/
|
|
1219
|
-
rangeDistance
|
|
1495
|
+
set rangeDistance(value) {
|
|
1496
|
+
this._rangeDistance.set(value);
|
|
1497
|
+
}
|
|
1498
|
+
get rangeDistance() {
|
|
1499
|
+
return this._rangeDistance();
|
|
1500
|
+
}
|
|
1220
1501
|
/**
|
|
1221
1502
|
* Sets the line cap style for the scale ranges.
|
|
1222
1503
|
*/
|
|
1223
|
-
rangeLineCap
|
|
1504
|
+
set rangeLineCap(value) {
|
|
1505
|
+
this._rangeLineCap.set(value);
|
|
1506
|
+
}
|
|
1507
|
+
get rangeLineCap() {
|
|
1508
|
+
return this._rangeLineCap();
|
|
1509
|
+
}
|
|
1224
1510
|
/**
|
|
1225
1511
|
* Sets the start angle of the Gauge in degrees.
|
|
1226
1512
|
*/
|
|
1227
|
-
startAngle
|
|
1513
|
+
set startAngle(value) {
|
|
1514
|
+
this._startAngle.set(value);
|
|
1515
|
+
}
|
|
1516
|
+
get startAngle() {
|
|
1517
|
+
return this._startAngle();
|
|
1518
|
+
}
|
|
1228
1519
|
/**
|
|
1229
1520
|
* Sets the end angle of the Gauge in degrees.
|
|
1230
1521
|
*/
|
|
1231
|
-
endAngle
|
|
1522
|
+
set endAngle(value) {
|
|
1523
|
+
this._endAngle.set(value);
|
|
1524
|
+
}
|
|
1525
|
+
get endAngle() {
|
|
1526
|
+
return this._endAngle();
|
|
1527
|
+
}
|
|
1528
|
+
_endAngle = signal(undefined, ...(ngDevMode ? [{ debugName: "_endAngle" }] : []));
|
|
1529
|
+
_startAngle = signal(undefined, ...(ngDevMode ? [{ debugName: "_startAngle" }] : []));
|
|
1530
|
+
_rangeLineCap = signal(undefined, ...(ngDevMode ? [{ debugName: "_rangeLineCap" }] : []));
|
|
1531
|
+
_rangeDistance = signal(undefined, ...(ngDevMode ? [{ debugName: "_rangeDistance" }] : []));
|
|
1232
1532
|
constructor(configurationService) {
|
|
1233
1533
|
super('scale', configurationService);
|
|
1234
1534
|
this.configurationService = configurationService;
|
|
1235
1535
|
}
|
|
1236
1536
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ArcScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1237
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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 });
|
|
1537
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1238
1538
|
}
|
|
1239
1539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ArcScaleComponent, decorators: [{
|
|
1240
1540
|
type: Component,
|
|
1241
1541
|
args: [{
|
|
1542
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1242
1543
|
selector: 'kendo-arcgauge-scale',
|
|
1243
1544
|
template: '',
|
|
1244
1545
|
standalone: true
|
|
@@ -1317,7 +1618,12 @@ class CircularGaugeComponent extends ArcGaugeComponent {
|
|
|
1317
1618
|
/**
|
|
1318
1619
|
* Specifies the scale options of the Gauge.
|
|
1319
1620
|
*/
|
|
1320
|
-
scale
|
|
1621
|
+
set scale(value) {
|
|
1622
|
+
super.scale = value;
|
|
1623
|
+
}
|
|
1624
|
+
get scale() {
|
|
1625
|
+
return super.scale;
|
|
1626
|
+
}
|
|
1321
1627
|
centerTemplate;
|
|
1322
1628
|
createInstance(element, options, theme, context) {
|
|
1323
1629
|
this.instance = new CircularGauge(element, options, theme, context);
|
|
@@ -1392,11 +1698,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1392
1698
|
*/
|
|
1393
1699
|
class CircularGaugeAreaComponent extends ArcGaugeAreaComponent {
|
|
1394
1700
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CircularGaugeAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1395
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CircularGaugeAreaComponent, isStandalone: true, selector: "kendo-circulargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1701
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CircularGaugeAreaComponent, isStandalone: true, selector: "kendo-circulargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1396
1702
|
}
|
|
1397
1703
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CircularGaugeAreaComponent, decorators: [{
|
|
1398
1704
|
type: Component,
|
|
1399
1705
|
args: [{
|
|
1706
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1400
1707
|
selector: 'kendo-circulargauge-area',
|
|
1401
1708
|
template: '',
|
|
1402
1709
|
standalone: true
|
|
@@ -1430,11 +1737,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1430
1737
|
*/
|
|
1431
1738
|
class CircularGaugeLabelsComponent extends ArcLabelsComponent {
|
|
1432
1739
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CircularGaugeLabelsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1433
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CircularGaugeLabelsComponent, isStandalone: true, selector: "kendo-circulargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1740
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CircularGaugeLabelsComponent, isStandalone: true, selector: "kendo-circulargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1434
1741
|
}
|
|
1435
1742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CircularGaugeLabelsComponent, decorators: [{
|
|
1436
1743
|
type: Component,
|
|
1437
1744
|
args: [{
|
|
1745
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1438
1746
|
selector: 'kendo-circulargauge-scale-labels',
|
|
1439
1747
|
template: '',
|
|
1440
1748
|
standalone: true
|
|
@@ -1466,18 +1774,26 @@ class CircularGaugeScaleComponent extends ArcScaleComponent {
|
|
|
1466
1774
|
/**
|
|
1467
1775
|
* @hidden
|
|
1468
1776
|
*/
|
|
1469
|
-
endAngle
|
|
1777
|
+
set endAngle(value) {
|
|
1778
|
+
super.endAngle = value;
|
|
1779
|
+
}
|
|
1780
|
+
get endAngle() {
|
|
1781
|
+
return super.endAngle;
|
|
1782
|
+
}
|
|
1470
1783
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CircularGaugeScaleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1471
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CircularGaugeScaleComponent, isStandalone: true, selector: "kendo-circulargauge-scale", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1784
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CircularGaugeScaleComponent, isStandalone: true, selector: "kendo-circulargauge-scale", inputs: { endAngle: "endAngle" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1472
1785
|
}
|
|
1473
1786
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CircularGaugeScaleComponent, decorators: [{
|
|
1474
1787
|
type: Component,
|
|
1475
1788
|
args: [{
|
|
1789
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1476
1790
|
selector: 'kendo-circulargauge-scale',
|
|
1477
1791
|
template: '',
|
|
1478
1792
|
standalone: true
|
|
1479
1793
|
}]
|
|
1480
|
-
}]
|
|
1794
|
+
}], propDecorators: { endAngle: [{
|
|
1795
|
+
type: Input
|
|
1796
|
+
}] } });
|
|
1481
1797
|
|
|
1482
1798
|
/**
|
|
1483
1799
|
* Represents the configuration options for the LinearGauge area.
|
|
@@ -1498,11 +1814,12 @@ class LinearGaugeAreaComponent extends GaugeAreaComponent {
|
|
|
1498
1814
|
this.configurationService = configurationService;
|
|
1499
1815
|
}
|
|
1500
1816
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1501
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearGaugeAreaComponent, isStandalone: true, selector: "kendo-lineargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1817
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearGaugeAreaComponent, isStandalone: true, selector: "kendo-lineargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1502
1818
|
}
|
|
1503
1819
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearGaugeAreaComponent, decorators: [{
|
|
1504
1820
|
type: Component,
|
|
1505
1821
|
args: [{
|
|
1822
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1506
1823
|
selector: 'kendo-lineargauge-area',
|
|
1507
1824
|
template: '',
|
|
1508
1825
|
standalone: true
|
|
@@ -1529,11 +1846,12 @@ class LinearLabelsComponent extends LabelsComponent {
|
|
|
1529
1846
|
this.configurationService = configurationService;
|
|
1530
1847
|
}
|
|
1531
1848
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1532
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearLabelsComponent, isStandalone: true, selector: "kendo-lineargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1849
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearLabelsComponent, isStandalone: true, selector: "kendo-lineargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1533
1850
|
}
|
|
1534
1851
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearLabelsComponent, decorators: [{
|
|
1535
1852
|
type: Component,
|
|
1536
1853
|
args: [{
|
|
1854
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1537
1855
|
selector: 'kendo-lineargauge-scale-labels',
|
|
1538
1856
|
template: '',
|
|
1539
1857
|
standalone: true
|
|
@@ -1566,11 +1884,22 @@ class LinearGaugeComponent extends GaugeComponent {
|
|
|
1566
1884
|
/**
|
|
1567
1885
|
* Configures the pointers of the LinearGauge.
|
|
1568
1886
|
*/
|
|
1569
|
-
pointer
|
|
1887
|
+
set pointer(value) {
|
|
1888
|
+
this._pointer.set(value);
|
|
1889
|
+
}
|
|
1890
|
+
get pointer() {
|
|
1891
|
+
return this._pointer();
|
|
1892
|
+
}
|
|
1570
1893
|
/**
|
|
1571
1894
|
* Configures the scale of the LinearGauge.
|
|
1572
1895
|
*/
|
|
1573
|
-
scale
|
|
1896
|
+
set scale(value) {
|
|
1897
|
+
super.scale = value;
|
|
1898
|
+
}
|
|
1899
|
+
get scale() {
|
|
1900
|
+
return super.scale;
|
|
1901
|
+
}
|
|
1902
|
+
_pointer = signal(undefined, ...(ngDevMode ? [{ debugName: "_pointer" }] : []));
|
|
1574
1903
|
constructor(configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
|
|
1575
1904
|
super(configurationService, themeService, intlService, localizationService, element, renderer, ngZone);
|
|
1576
1905
|
}
|
|
@@ -1632,40 +1961,83 @@ class LinearPointerComponent extends CollectionItemComponent {
|
|
|
1632
1961
|
/**
|
|
1633
1962
|
* Configures the border settings of the pointer.
|
|
1634
1963
|
*/
|
|
1635
|
-
border
|
|
1964
|
+
set border(value) {
|
|
1965
|
+
this._border.set(value);
|
|
1966
|
+
}
|
|
1967
|
+
get border() {
|
|
1968
|
+
return this._border();
|
|
1969
|
+
}
|
|
1636
1970
|
/**
|
|
1637
1971
|
* Specifies the color of the pointer.
|
|
1638
1972
|
*/
|
|
1639
|
-
color
|
|
1973
|
+
set color(value) {
|
|
1974
|
+
this._color.set(value);
|
|
1975
|
+
}
|
|
1976
|
+
get color() {
|
|
1977
|
+
return this._color();
|
|
1978
|
+
}
|
|
1640
1979
|
/**
|
|
1641
1980
|
* Sets the margin of the pointer. You can set this option to a number or an object with specific margin values.
|
|
1642
1981
|
*/
|
|
1643
|
-
margin
|
|
1982
|
+
set margin(value) {
|
|
1983
|
+
this._margin.set(value);
|
|
1984
|
+
}
|
|
1985
|
+
get margin() {
|
|
1986
|
+
return this._margin();
|
|
1987
|
+
}
|
|
1644
1988
|
/**
|
|
1645
1989
|
* Controls the transparency of the pointer. The value ranges from 0 (transparent) to 1 (opaque).
|
|
1646
1990
|
*/
|
|
1647
|
-
opacity
|
|
1991
|
+
set opacity(value) {
|
|
1992
|
+
this._opacity.set(value);
|
|
1993
|
+
}
|
|
1994
|
+
get opacity() {
|
|
1995
|
+
return this._opacity();
|
|
1996
|
+
}
|
|
1648
1997
|
/**
|
|
1649
1998
|
* Defines the shape of the pointer.
|
|
1650
1999
|
*/
|
|
1651
|
-
shape
|
|
2000
|
+
set shape(value) {
|
|
2001
|
+
this._shape.set(value);
|
|
2002
|
+
}
|
|
2003
|
+
get shape() {
|
|
2004
|
+
return this._shape();
|
|
2005
|
+
}
|
|
1652
2006
|
/**
|
|
1653
2007
|
* Sets the size of the pointer in pixels.
|
|
1654
2008
|
*/
|
|
1655
|
-
size
|
|
2009
|
+
set size(value) {
|
|
2010
|
+
this._size.set(value);
|
|
2011
|
+
}
|
|
2012
|
+
get size() {
|
|
2013
|
+
return this._size();
|
|
2014
|
+
}
|
|
1656
2015
|
/**
|
|
1657
2016
|
* Specifies the value that the pointer displays on the scale.
|
|
1658
2017
|
*/
|
|
1659
|
-
value
|
|
2018
|
+
set value(v) {
|
|
2019
|
+
this._value.set(v);
|
|
2020
|
+
}
|
|
2021
|
+
get value() {
|
|
2022
|
+
return this._value();
|
|
2023
|
+
}
|
|
2024
|
+
_value = signal(undefined, ...(ngDevMode ? [{ debugName: "_value" }] : []));
|
|
2025
|
+
_size = signal(undefined, ...(ngDevMode ? [{ debugName: "_size" }] : []));
|
|
2026
|
+
_shape = signal(undefined, ...(ngDevMode ? [{ debugName: "_shape" }] : []));
|
|
2027
|
+
_opacity = signal(undefined, ...(ngDevMode ? [{ debugName: "_opacity" }] : []));
|
|
2028
|
+
_margin = signal(undefined, ...(ngDevMode ? [{ debugName: "_margin" }] : []));
|
|
2029
|
+
_border = signal(undefined, ...(ngDevMode ? [{ debugName: "_border" }] : []));
|
|
2030
|
+
_color = signal(undefined, ...(ngDevMode ? [{ debugName: "_color" }] : []));
|
|
1660
2031
|
constructor(configurationService, collectionChangesService) {
|
|
1661
2032
|
super(configurationService, collectionChangesService);
|
|
1662
2033
|
}
|
|
1663
2034
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearPointerComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1664
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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 });
|
|
2035
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1665
2036
|
}
|
|
1666
2037
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearPointerComponent, decorators: [{
|
|
1667
2038
|
type: Component,
|
|
1668
2039
|
args: [{
|
|
2040
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1669
2041
|
providers: [ConfigurationService],
|
|
1670
2042
|
selector: 'kendo-lineargauge-pointer',
|
|
1671
2043
|
template: '',
|
|
@@ -1732,11 +2104,12 @@ class LinearPointersComponent extends CollectionComponent {
|
|
|
1732
2104
|
super('pointer', configurationService, collectionChangesService);
|
|
1733
2105
|
}
|
|
1734
2106
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearPointersComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1735
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearPointersComponent, isStandalone: true, selector: "kendo-lineargauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2107
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearPointersComponent, isStandalone: true, selector: "kendo-lineargauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1736
2108
|
}
|
|
1737
2109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearPointersComponent, decorators: [{
|
|
1738
2110
|
type: Component,
|
|
1739
2111
|
args: [{
|
|
2112
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1740
2113
|
providers: [CollectionChangesService],
|
|
1741
2114
|
selector: 'kendo-lineargauge-pointers',
|
|
1742
2115
|
template: '',
|
|
@@ -1769,11 +2142,12 @@ class LinearRangeComponent extends RangeComponent {
|
|
|
1769
2142
|
super(configurationService, collectionChangesService);
|
|
1770
2143
|
}
|
|
1771
2144
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearRangeComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1772
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearRangeComponent, isStandalone: true, selector: "kendo-lineargauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2145
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearRangeComponent, isStandalone: true, selector: "kendo-lineargauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1773
2146
|
}
|
|
1774
2147
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearRangeComponent, decorators: [{
|
|
1775
2148
|
type: Component,
|
|
1776
2149
|
args: [{
|
|
2150
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1777
2151
|
providers: [ConfigurationService],
|
|
1778
2152
|
selector: 'kendo-lineargauge-scale-range',
|
|
1779
2153
|
template: '',
|
|
@@ -1834,11 +2208,12 @@ class LinearRangesComponent extends CollectionComponent {
|
|
|
1834
2208
|
super('scale.ranges', configurationService, collectionChangesService);
|
|
1835
2209
|
}
|
|
1836
2210
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearRangesComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1837
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearRangesComponent, isStandalone: true, selector: "kendo-lineargauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2211
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearRangesComponent, isStandalone: true, selector: "kendo-lineargauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1838
2212
|
}
|
|
1839
2213
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearRangesComponent, decorators: [{
|
|
1840
2214
|
type: Component,
|
|
1841
2215
|
args: [{
|
|
2216
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1842
2217
|
providers: [CollectionChangesService],
|
|
1843
2218
|
selector: 'kendo-lineargauge-scale-ranges',
|
|
1844
2219
|
template: '',
|
|
@@ -1869,33 +2244,58 @@ class LinearScaleComponent extends ScaleComponent {
|
|
|
1869
2244
|
/**
|
|
1870
2245
|
* Configures the appearance of the scale line.
|
|
1871
2246
|
*/
|
|
1872
|
-
line
|
|
2247
|
+
set line(value) {
|
|
2248
|
+
this._line.set(value);
|
|
2249
|
+
}
|
|
2250
|
+
get line() {
|
|
2251
|
+
return this._line();
|
|
2252
|
+
}
|
|
1873
2253
|
/**
|
|
1874
2254
|
* Configures the ranges that are displayed on the scale.
|
|
1875
2255
|
*/
|
|
1876
|
-
ranges
|
|
2256
|
+
set ranges(value) {
|
|
2257
|
+
this._ranges.set(value);
|
|
2258
|
+
}
|
|
2259
|
+
get ranges() {
|
|
2260
|
+
return this._ranges();
|
|
2261
|
+
}
|
|
1877
2262
|
/**
|
|
1878
2263
|
* Mirrors the scale labels and ticks. When you set this option to `true`, the labels and ticks appear on the opposite side of the scale.
|
|
1879
2264
|
*
|
|
1880
2265
|
* @default false
|
|
1881
2266
|
*/
|
|
1882
|
-
mirror
|
|
2267
|
+
set mirror(value) {
|
|
2268
|
+
this._mirror.set(value);
|
|
2269
|
+
}
|
|
2270
|
+
get mirror() {
|
|
2271
|
+
return this._mirror();
|
|
2272
|
+
}
|
|
1883
2273
|
/**
|
|
1884
2274
|
* Sets the orientation of the scale. When you set this option to `false`, the scale displays horizontally.
|
|
1885
2275
|
*
|
|
1886
2276
|
* @default true
|
|
1887
2277
|
*/
|
|
1888
|
-
vertical
|
|
2278
|
+
set vertical(value) {
|
|
2279
|
+
this._vertical.set(value);
|
|
2280
|
+
}
|
|
2281
|
+
get vertical() {
|
|
2282
|
+
return this._vertical();
|
|
2283
|
+
}
|
|
2284
|
+
_vertical = signal(undefined, ...(ngDevMode ? [{ debugName: "_vertical" }] : []));
|
|
2285
|
+
_mirror = signal(undefined, ...(ngDevMode ? [{ debugName: "_mirror" }] : []));
|
|
2286
|
+
_ranges = signal(undefined, ...(ngDevMode ? [{ debugName: "_ranges" }] : []));
|
|
2287
|
+
_line = signal(undefined, ...(ngDevMode ? [{ debugName: "_line" }] : []));
|
|
1889
2288
|
constructor(configurationService) {
|
|
1890
2289
|
super('scale', configurationService);
|
|
1891
2290
|
this.configurationService = configurationService;
|
|
1892
2291
|
}
|
|
1893
2292
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1894
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearScaleComponent, isStandalone: true, selector: "kendo-lineargauge-scale", inputs: { line: "line", ranges: "ranges", mirror: "mirror", vertical: "vertical" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2293
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: LinearScaleComponent, isStandalone: true, selector: "kendo-lineargauge-scale", inputs: { line: "line", ranges: "ranges", mirror: "mirror", vertical: "vertical" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1895
2294
|
}
|
|
1896
2295
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LinearScaleComponent, decorators: [{
|
|
1897
2296
|
type: Component,
|
|
1898
2297
|
args: [{
|
|
2298
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1899
2299
|
selector: 'kendo-lineargauge-scale',
|
|
1900
2300
|
template: '',
|
|
1901
2301
|
standalone: true
|
|
@@ -1936,11 +2336,12 @@ class RadialGaugeAreaComponent extends GaugeAreaComponent {
|
|
|
1936
2336
|
this.configurationService = configurationService;
|
|
1937
2337
|
}
|
|
1938
2338
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1939
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialGaugeAreaComponent, isStandalone: true, selector: "kendo-radialgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2339
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialGaugeAreaComponent, isStandalone: true, selector: "kendo-radialgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1940
2340
|
}
|
|
1941
2341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialGaugeAreaComponent, decorators: [{
|
|
1942
2342
|
type: Component,
|
|
1943
2343
|
args: [{
|
|
2344
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1944
2345
|
selector: 'kendo-radialgauge-area',
|
|
1945
2346
|
template: '',
|
|
1946
2347
|
standalone: true
|
|
@@ -1964,28 +2365,53 @@ class RadialPointerComponent extends CollectionItemComponent {
|
|
|
1964
2365
|
/**
|
|
1965
2366
|
* Configures the pointer cap.
|
|
1966
2367
|
*/
|
|
1967
|
-
cap
|
|
2368
|
+
set cap(value) {
|
|
2369
|
+
this._cap.set(value);
|
|
2370
|
+
}
|
|
2371
|
+
get cap() {
|
|
2372
|
+
return this._cap();
|
|
2373
|
+
}
|
|
1968
2374
|
/**
|
|
1969
2375
|
* Specifies the color of the pointer.
|
|
1970
2376
|
*/
|
|
1971
|
-
color
|
|
2377
|
+
set color(value) {
|
|
2378
|
+
this._color.set(value);
|
|
2379
|
+
}
|
|
2380
|
+
get color() {
|
|
2381
|
+
return this._color();
|
|
2382
|
+
}
|
|
1972
2383
|
/**
|
|
1973
2384
|
* Sets the length of the pointer as a percentage of the scale radius.
|
|
1974
2385
|
*/
|
|
1975
|
-
length
|
|
2386
|
+
set length(value) {
|
|
2387
|
+
this._length.set(value);
|
|
2388
|
+
}
|
|
2389
|
+
get length() {
|
|
2390
|
+
return this._length();
|
|
2391
|
+
}
|
|
1976
2392
|
/**
|
|
1977
2393
|
* Sets the value of the pointer.
|
|
1978
2394
|
*/
|
|
1979
|
-
value
|
|
2395
|
+
set value(v) {
|
|
2396
|
+
this._value.set(v);
|
|
2397
|
+
}
|
|
2398
|
+
get value() {
|
|
2399
|
+
return this._value();
|
|
2400
|
+
}
|
|
2401
|
+
_color = signal(undefined, ...(ngDevMode ? [{ debugName: "_color" }] : []));
|
|
2402
|
+
_cap = signal(undefined, ...(ngDevMode ? [{ debugName: "_cap" }] : []));
|
|
2403
|
+
_length = signal(undefined, ...(ngDevMode ? [{ debugName: "_length" }] : []));
|
|
2404
|
+
_value = signal(undefined, ...(ngDevMode ? [{ debugName: "_value" }] : []));
|
|
1980
2405
|
constructor(configurationService, collectionChangesService) {
|
|
1981
2406
|
super(configurationService, collectionChangesService);
|
|
1982
2407
|
}
|
|
1983
2408
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialPointerComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1984
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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 });
|
|
2409
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1985
2410
|
}
|
|
1986
2411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialPointerComponent, decorators: [{
|
|
1987
2412
|
type: Component,
|
|
1988
2413
|
args: [{
|
|
2414
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1989
2415
|
providers: [ConfigurationService],
|
|
1990
2416
|
selector: 'kendo-radialgauge-pointer',
|
|
1991
2417
|
template: '',
|
|
@@ -2049,11 +2475,12 @@ class RadialPointersComponent extends CollectionComponent {
|
|
|
2049
2475
|
super('pointer', configurationService, collectionChangesService);
|
|
2050
2476
|
}
|
|
2051
2477
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialPointersComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2052
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialPointersComponent, isStandalone: true, selector: "kendo-radialgauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2478
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialPointersComponent, isStandalone: true, selector: "kendo-radialgauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2053
2479
|
}
|
|
2054
2480
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialPointersComponent, decorators: [{
|
|
2055
2481
|
type: Component,
|
|
2056
2482
|
args: [{
|
|
2483
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2057
2484
|
providers: [CollectionChangesService],
|
|
2058
2485
|
selector: 'kendo-radialgauge-pointers',
|
|
2059
2486
|
template: '',
|
|
@@ -2091,12 +2518,23 @@ class RadialGaugeComponent extends GaugeComponent {
|
|
|
2091
2518
|
* Sets the configuration of the pointers.
|
|
2092
2519
|
* You can configure single or multiple pointers for the RadialGauge.
|
|
2093
2520
|
*/
|
|
2094
|
-
pointer
|
|
2521
|
+
set pointer(value) {
|
|
2522
|
+
this._pointer.set(value);
|
|
2523
|
+
}
|
|
2524
|
+
get pointer() {
|
|
2525
|
+
return this._pointer();
|
|
2526
|
+
}
|
|
2095
2527
|
/**
|
|
2096
2528
|
* Sets the configuration of the scale.
|
|
2097
2529
|
* The scale defines the range, appearance, and behavior of the gauge.
|
|
2098
2530
|
*/
|
|
2099
|
-
scale
|
|
2531
|
+
set scale(value) {
|
|
2532
|
+
super.scale = value;
|
|
2533
|
+
}
|
|
2534
|
+
get scale() {
|
|
2535
|
+
return super.scale;
|
|
2536
|
+
}
|
|
2537
|
+
_pointer = signal(undefined, ...(ngDevMode ? [{ debugName: "_pointer" }] : []));
|
|
2100
2538
|
constructor(configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
|
|
2101
2539
|
super(configurationService, themeService, intlService, localizationService, element, renderer, ngZone);
|
|
2102
2540
|
}
|
|
@@ -2161,11 +2599,12 @@ class RadialRangeComponent extends RangeComponent {
|
|
|
2161
2599
|
super(configurationService, collectionChangesService);
|
|
2162
2600
|
}
|
|
2163
2601
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialRangeComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2164
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialRangeComponent, isStandalone: true, selector: "kendo-radialgauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2602
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialRangeComponent, isStandalone: true, selector: "kendo-radialgauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2165
2603
|
}
|
|
2166
2604
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialRangeComponent, decorators: [{
|
|
2167
2605
|
type: Component,
|
|
2168
2606
|
args: [{
|
|
2607
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2169
2608
|
providers: [ConfigurationService],
|
|
2170
2609
|
selector: 'kendo-radialgauge-scale-range',
|
|
2171
2610
|
template: '',
|
|
@@ -2226,11 +2665,12 @@ class RadialRangesComponent extends CollectionComponent {
|
|
|
2226
2665
|
super('scale.ranges', configurationService, collectionChangesService);
|
|
2227
2666
|
}
|
|
2228
2667
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialRangesComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2229
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialRangesComponent, isStandalone: true, selector: "kendo-radialgauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2668
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RadialRangesComponent, isStandalone: true, selector: "kendo-radialgauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2230
2669
|
}
|
|
2231
2670
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialRangesComponent, decorators: [{
|
|
2232
2671
|
type: Component,
|
|
2233
2672
|
args: [{
|
|
2673
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2234
2674
|
providers: [CollectionChangesService],
|
|
2235
2675
|
selector: 'kendo-radialgauge-scale-ranges',
|
|
2236
2676
|
template: '',
|
|
@@ -2261,33 +2701,63 @@ class RadialScaleComponent extends ScaleComponent {
|
|
|
2261
2701
|
/**
|
|
2262
2702
|
* Configures the scale labels.
|
|
2263
2703
|
*/
|
|
2264
|
-
labels
|
|
2704
|
+
set labels(value) {
|
|
2705
|
+
super.labels = value;
|
|
2706
|
+
}
|
|
2707
|
+
get labels() {
|
|
2708
|
+
return super.labels;
|
|
2709
|
+
}
|
|
2265
2710
|
/**
|
|
2266
2711
|
* Specifies the distance between the scale ranges and the ticks.
|
|
2267
2712
|
*/
|
|
2268
|
-
rangeDistance
|
|
2713
|
+
set rangeDistance(value) {
|
|
2714
|
+
this._rangeDistance.set(value);
|
|
2715
|
+
}
|
|
2716
|
+
get rangeDistance() {
|
|
2717
|
+
return this._rangeDistance();
|
|
2718
|
+
}
|
|
2269
2719
|
/**
|
|
2270
2720
|
* Sets the ranges of the scale.
|
|
2271
2721
|
*/
|
|
2272
|
-
ranges
|
|
2722
|
+
set ranges(value) {
|
|
2723
|
+
this._ranges.set(value);
|
|
2724
|
+
}
|
|
2725
|
+
get ranges() {
|
|
2726
|
+
return this._ranges();
|
|
2727
|
+
}
|
|
2273
2728
|
/**
|
|
2274
2729
|
* Specifies the start angle of the Gauge in degrees.
|
|
2275
2730
|
*/
|
|
2276
|
-
startAngle
|
|
2731
|
+
set startAngle(value) {
|
|
2732
|
+
this._startAngle.set(value);
|
|
2733
|
+
}
|
|
2734
|
+
get startAngle() {
|
|
2735
|
+
return this._startAngle();
|
|
2736
|
+
}
|
|
2277
2737
|
/**
|
|
2278
2738
|
* Specifies the end angle of the Gauge in degrees.
|
|
2279
2739
|
*/
|
|
2280
|
-
endAngle
|
|
2740
|
+
set endAngle(value) {
|
|
2741
|
+
this._endAngle.set(value);
|
|
2742
|
+
}
|
|
2743
|
+
get endAngle() {
|
|
2744
|
+
return this._endAngle();
|
|
2745
|
+
}
|
|
2746
|
+
_endAngle = signal(undefined, ...(ngDevMode ? [{ debugName: "_endAngle" }] : []));
|
|
2747
|
+
_startAngle = signal(undefined, ...(ngDevMode ? [{ debugName: "_startAngle" }] : []));
|
|
2748
|
+
_ranges = signal(undefined, ...(ngDevMode ? [{ debugName: "_ranges" }] : []));
|
|
2749
|
+
_rangeDistance = signal(undefined, ...(ngDevMode ? [{ debugName: "_rangeDistance" }] : []));
|
|
2281
2750
|
constructor(configurationService) {
|
|
2282
2751
|
super('scale', configurationService);
|
|
2283
2752
|
this.configurationService = configurationService;
|
|
2284
2753
|
}
|
|
2285
2754
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2286
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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 });
|
|
2755
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", 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, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2287
2756
|
}
|
|
2288
2757
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RadialScaleComponent, decorators: [{
|
|
2289
2758
|
type: Component,
|
|
2290
2759
|
args: [{
|
|
2760
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2291
2761
|
selector: 'kendo-radialgauge-scale',
|
|
2292
2762
|
template: '',
|
|
2293
2763
|
standalone: true
|