@progress/kendo-angular-progressbar 24.2.2 → 25.0.0-develop.12

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/index.d.ts CHANGED
@@ -2,19 +2,791 @@
2
2
  * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- export { ProgressBarComponent } from './progressbar.component';
6
- export { ChunkProgressBarComponent } from './chunk/chunk-progressbar.component';
7
- export { CircularProgressBarComponent } from './circularprogressbar/circular-progressbar.component';
8
- export { ProgressBarOrientation } from './types/progressbar-orientation';
9
- export { LabelSettings } from './types/label-settings.interface';
10
- export { LabelPosition } from './types/label-position';
11
- export { LabelFn } from './types/label-fn-type';
12
- export { LabelType } from './types/label-type';
13
- export { ProgressBarAnimation } from './types/progressbar-animation.interface';
14
- export { AnimationEndEvent } from './types/animation-end-event';
15
- export { ProgressBarModule } from './progressbar.module';
16
- export { CircularProgressbarCenterTemplateDirective } from './circularprogressbar/center-template.directive';
17
- export { ProgressColor } from './circularprogressbar/models/circular-progressbar-progress-color-interface';
18
- export { LocalizedProgressBarMessagesDirective } from './common/localization/localized-messages.directive';
19
- export { ProgressBarCustomMessagesComponent } from './common/localization/custom-messages.component';
20
- export * from './directives';
5
+ import { LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
6
+ import * as i0 from '@angular/core';
7
+ import { AfterViewInit, OnDestroy, ElementRef, Renderer2, EventEmitter, NgZone, TemplateRef, Injector } from '@angular/core';
8
+ import { Subscription } from 'rxjs';
9
+
10
+ /**
11
+ * The data for the `animationEnd` event.
12
+ */
13
+ interface AnimationEndEvent {
14
+ /**
15
+ * The value from which the animation starts.
16
+ */
17
+ from: number;
18
+ /**
19
+ * The value to which the animation runs.
20
+ */
21
+ to: number;
22
+ }
23
+
24
+ /**
25
+ * Represents the orientation options of the ProgressBar component.
26
+ */
27
+ type ProgressBarOrientation = 'horizontal' | 'vertical';
28
+
29
+ /**
30
+ * @hidden
31
+ */
32
+ declare abstract class ProgressBarBase implements AfterViewInit, OnDestroy {
33
+ protected elem: ElementRef;
34
+ protected renderer: Renderer2;
35
+ protected localization: LocalizationService;
36
+ hostClasses: boolean;
37
+ get isHorizontal(): boolean;
38
+ get isVertical(): boolean;
39
+ get disabledClass(): boolean;
40
+ get reverseClass(): boolean;
41
+ get indeterminateClass(): boolean;
42
+ get dirAttribute(): string;
43
+ roleAttribute: string;
44
+ get ariaMinAttribute(): string;
45
+ get ariaMaxAttribute(): string;
46
+ get ariaValueAttribute(): string;
47
+ /**
48
+ * The maximum value of the ProgressBar.
49
+ * Defaults to `100`.
50
+ */
51
+ set max(value: number);
52
+ get max(): number;
53
+ /**
54
+ * The minimum value of the ProgressBar.
55
+ * Defaults to `0`.
56
+ */
57
+ set min(value: number);
58
+ get min(): number;
59
+ /**
60
+ * The value of the ProgressBar.
61
+ * Has to be between `min` and `max`.
62
+ * Defaults to `0`.
63
+ */
64
+ set value(v: number);
65
+ get value(): number;
66
+ /**
67
+ * @hidden
68
+ */
69
+ get isCompleted(): boolean;
70
+ /**
71
+ * @hidden
72
+ */
73
+ get statusWidth(): number;
74
+ /**
75
+ * @hidden
76
+ */
77
+ get statusHeight(): number;
78
+ /**
79
+ * @hidden
80
+ */
81
+ get statusWrapperWidth(): number;
82
+ /**
83
+ * @hidden
84
+ */
85
+ get statusWrapperHeight(): number;
86
+ protected get _progressRatio(): number;
87
+ /**
88
+ * Defines the orientation of the ProgressBar
89
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar/orientation)).
90
+ * Defaults to `horizontal`.
91
+ */
92
+ set orientation(value: ProgressBarOrientation);
93
+ get orientation(): ProgressBarOrientation;
94
+ /**
95
+ * If set to `true`, the ProgressBar will be disabled
96
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar/disabled)).
97
+ * It will still allow you to change its value.
98
+ * Defaults to `false`.
99
+ */
100
+ set disabled(value: boolean);
101
+ get disabled(): boolean;
102
+ /**
103
+ * If set to `true`, the ProgressBar will be reversed
104
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar/direction)).
105
+ * Defaults to `false`.
106
+ */
107
+ set reverse(value: boolean);
108
+ get reverse(): boolean;
109
+ /**
110
+ * Sets the `indeterminate` state of the ProgressBar.
111
+ * Defaults to `false`.
112
+ */
113
+ set indeterminate(value: boolean);
114
+ get indeterminate(): boolean;
115
+ protected direction: string;
116
+ protected localizationChangeSubscription: Subscription;
117
+ protected previousValue: number;
118
+ /**
119
+ * @hidden
120
+ */
121
+ protected get displayValue(): number;
122
+ /**
123
+ * @hidden
124
+ */
125
+ constructor(elem: ElementRef, renderer: Renderer2, localization: LocalizationService);
126
+ ngAfterViewInit(): void;
127
+ ngOnDestroy(): void;
128
+ private readonly _max;
129
+ private readonly _min;
130
+ private readonly _value;
131
+ private readonly _orientation;
132
+ private readonly _disabled;
133
+ private readonly _reverse;
134
+ private readonly _indeterminate;
135
+ private readonly _displayValue;
136
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarBase, never>;
137
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarBase, "ng-component", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "value": { "alias": "value"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, never, true, never>;
138
+ }
139
+
140
+ /**
141
+ * The predefined label types.
142
+ *
143
+ * The supported values are:
144
+ * * `value`&mdash;Shows the current display value trimmed to the third decimal.
145
+ * * `percent`&mdash;Shows the calculated percentage value based on the current display value and the range defined by the `min` and `max` options.
146
+ */
147
+ type LabelType = 'value' | 'percent';
148
+
149
+ /**
150
+ * The callback that returns the string content of the status label. You can access the current value as an argument.
151
+ * @param value - The currently set value.
152
+ * @returns The formatted string that displays within the label.
153
+ */
154
+ type LabelFn = (value: number) => string;
155
+
156
+ /**
157
+ * The position where the status label displays when visible.
158
+ */
159
+ type LabelPosition = 'start' | 'end' | 'center';
160
+
161
+ /**
162
+ * Represents the settings of the label that shows the progress status of the ProgressBar.
163
+ *
164
+ */
165
+ interface LabelSettings {
166
+ /**
167
+ * Shows or hides the label for the progress status.
168
+ */
169
+ visible?: boolean;
170
+ /**
171
+ * Sets the position of the progress status label.
172
+ * @default 'end'
173
+ */
174
+ position?: LabelPosition;
175
+ /**
176
+ * Sets the format for rendering the value in the label.
177
+ * The supported preset types are `value` (default) and `percent`.
178
+ * You can also provide a callback that exposes the current value and returns
179
+ * the formatted string to display in the label
180
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar/label#using-a-formatting-function)).
181
+ *
182
+ * @default 'value'
183
+ */
184
+ format?: LabelType | LabelFn;
185
+ }
186
+
187
+ /**
188
+ * Represents the settings of the animation that indicates the progress status of the ProgressBar.
189
+ *
190
+ */
191
+ interface ProgressBarAnimation {
192
+ /**
193
+ * Sets the duration of the animation in milliseconds.
194
+ *
195
+ * @default 400
196
+ */
197
+ duration: number;
198
+ }
199
+
200
+ /**
201
+ * Represents the [Kendo UI ProgressBar component for Angular](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar).
202
+ *
203
+ * @example
204
+ * ```typescript
205
+ * @Component({
206
+ * selector: 'my-app',
207
+ * template: `
208
+ * <kendo-progressbar [value]="value">
209
+ * </kendo-progressbar>
210
+ * `
211
+ * })
212
+ * class AppComponent {
213
+ * public value = 50;
214
+ * }
215
+ * ```
216
+ *
217
+ * @remarks
218
+ * Supported children components are: {@link ProgressBarCustomMessagesComponent}
219
+ */
220
+ declare class ProgressBarComponent extends ProgressBarBase {
221
+ localization: LocalizationService;
222
+ elem: ElementRef;
223
+ renderer: Renderer2;
224
+ private zone;
225
+ /**
226
+ * Determines whether the status label displays.
227
+ * @default true
228
+ */
229
+ set label(value: boolean | LabelSettings);
230
+ get label(): boolean | LabelSettings;
231
+ /**
232
+ * Sets the CSS styles that will be rendered on the inner element, which represents the full portion of the progress bar
233
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar/appearance)).
234
+ * Supports the type of values that [`ngStyle`](link:site.data.urls.angular['ngstyleapi']) supports.
235
+ */
236
+ set progressCssStyle(value: {
237
+ [key: string]: string;
238
+ });
239
+ get progressCssStyle(): {
240
+ [key: string]: string;
241
+ };
242
+ /**
243
+ * The CSS classes that render on the inner element which represents the full portion of the progress bar
244
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar/appearance)).
245
+ * Supports the type of values that [`ngClass`](link:site.data.urls.angular['ngclassapi']) supports.
246
+ */
247
+ set progressCssClass(value: string | string[] | Set<string> | {
248
+ [key: string]: any;
249
+ });
250
+ get progressCssClass(): string | string[] | Set<string> | {
251
+ [key: string]: any;
252
+ };
253
+ /**
254
+ * The CSS styles that render on the inner element which represents the empty portion of the progress bar
255
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar/appearance)).
256
+ * Supports the type of values that [`ngStyle`](link:site.data.urls.angular['ngstyleapi']) supports.
257
+ */
258
+ set emptyCssStyle(value: {
259
+ [key: string]: string;
260
+ });
261
+ get emptyCssStyle(): {
262
+ [key: string]: string;
263
+ };
264
+ /**
265
+ * The CSS classes that render on the inner element which represents the empty portion of the progress bar
266
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/progressbar/appearance)).
267
+ * Supports the type of values that [`ngClass`](link:site.data.urls.angular['ngclassapi']) supports.
268
+ */
269
+ set emptyCssClass(value: string | string[] | Set<string> | {
270
+ [key: string]: any;
271
+ });
272
+ get emptyCssClass(): string | string[] | Set<string> | {
273
+ [key: string]: any;
274
+ };
275
+ /**
276
+ * The animation configuration of the ProgressBar.
277
+ * @default false
278
+ */
279
+ set animation(value: boolean | ProgressBarAnimation);
280
+ get animation(): boolean | ProgressBarAnimation;
281
+ /**
282
+ * The maximum value of the ProgressBar.
283
+ * Defaults to `100`.
284
+ */
285
+ set max(v: number);
286
+ get max(): number;
287
+ /**
288
+ * Fires when the animation which indicates the latest value change completes.
289
+ */
290
+ animationEnd: EventEmitter<AnimationEndEvent>;
291
+ /**
292
+ * @hidden
293
+ */
294
+ get showLabel(): boolean;
295
+ /**
296
+ * @hidden
297
+ */
298
+ get labelPosition(): string;
299
+ /**
300
+ * @hidden
301
+ */
302
+ get isPositionStart(): boolean;
303
+ /**
304
+ * @hidden
305
+ */
306
+ get isPositionCenter(): boolean;
307
+ /**
308
+ * @hidden
309
+ */
310
+ get isPositionEnd(): boolean;
311
+ /**
312
+ * @hidden
313
+ */
314
+ get formattedLabelValue(): string;
315
+ private progressStatusElement;
316
+ private progressStatusWrapperElement;
317
+ private animationFrame;
318
+ private cancelCurrentAnimation;
319
+ private isAnimationInProgress;
320
+ private _previousMax;
321
+ private _valueEffectInitialized;
322
+ private readonly _label;
323
+ private readonly _progressCssStyle;
324
+ private readonly _progressCssClass;
325
+ private readonly _emptyCssStyle;
326
+ private readonly _emptyCssClass;
327
+ private readonly _animation;
328
+ private readonly valueChangeEffect;
329
+ private readonly animationStopEffect;
330
+ /**
331
+ * @hidden
332
+ */
333
+ constructor(localization: LocalizationService, elem: ElementRef, renderer: Renderer2, zone: NgZone);
334
+ /**
335
+ * @hidden
336
+ */
337
+ ngOnDestroy(): void;
338
+ /**
339
+ * @hidden
340
+ */
341
+ protected startAnimation(previousValue: number): void;
342
+ /**
343
+ * @hidden
344
+ */
345
+ protected get animationDuration(): number;
346
+ private stopAnimation;
347
+ private getAnimationOptions;
348
+ private renderValueChange;
349
+ private resetProgress;
350
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
351
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "kendo-progressbar", ["kendoProgressBar"], { "label": { "alias": "label"; "required": false; }; "progressCssStyle": { "alias": "progressCssStyle"; "required": false; }; "progressCssClass": { "alias": "progressCssClass"; "required": false; }; "emptyCssStyle": { "alias": "emptyCssStyle"; "required": false; }; "emptyCssClass": { "alias": "emptyCssClass"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "animationEnd": "animationEnd"; }, never, never, true, never>;
352
+ }
353
+
354
+ /**
355
+ * Represents the [Kendo UI ChunkProgressBar component for Angular](https://www.telerik.com/kendo-angular-ui/components/progressbars/chunkprogressbar).
356
+ *
357
+ * @example
358
+ * ```typescript
359
+ * import { Component } from '@angular/core';
360
+ *
361
+ * @Component({
362
+ * selector: 'my-app',
363
+ * template: `
364
+ * <kendo-chunkprogressbar
365
+ * [value]="progressValue"
366
+ * [chunkCount]="8">
367
+ * </kendo-chunkprogressbar>
368
+ * `
369
+ * })
370
+ * export class AppComponent {
371
+ * public progressValue: number = 40;
372
+ * }
373
+ * ```
374
+ *
375
+ * @remarks
376
+ * Supported children components are: {@link ProgressBarCustomMessagesComponent}
377
+ */
378
+ declare class ChunkProgressBarComponent extends ProgressBarBase {
379
+ localization: LocalizationService;
380
+ elem: ElementRef;
381
+ renderer: Renderer2;
382
+ chunkClass: boolean;
383
+ /**
384
+ * Sets the number of chunks into which the ChunkProgressBar will be split.
385
+ *
386
+ * @default 5
387
+ */
388
+ set chunkCount(value: number);
389
+ get chunkCount(): number;
390
+ /**
391
+ * @hidden
392
+ */
393
+ get chunks(): boolean[];
394
+ /**
395
+ * Sets the CSS styles that will be rendered on the full chunk elements ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/circularprogressbar/appearance)).
396
+ * Supports the type of values that [`ngStyle`](link:site.data.urls.angular['ngstyleapi']) supports.
397
+ */
398
+ set progressCssStyle(value: {
399
+ [key: string]: any;
400
+ });
401
+ get progressCssStyle(): {
402
+ [key: string]: any;
403
+ };
404
+ /**
405
+ * Sets the CSS classes that will be rendered on the full chunk elements ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/circularprogressbar/appearance)).
406
+ * Supports the type of values that [`ngClass`](link:site.data.urls.angular['ngclassapi']) supports.
407
+ */
408
+ set progressCssClass(value: string | string[] | Set<string> | {
409
+ [key: string]: string;
410
+ });
411
+ get progressCssClass(): string | string[] | Set<string> | {
412
+ [key: string]: string;
413
+ };
414
+ /**
415
+ * Sets the CSS styles that will be rendered on the empty chunk elements ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/circularprogressbar/appearance)).
416
+ * Supports the type of values that [`ngStyle`](link:site.data.urls.angular['ngstyleapi']) supports.
417
+ */
418
+ set emptyCssStyle(value: {
419
+ [key: string]: string;
420
+ });
421
+ get emptyCssStyle(): {
422
+ [key: string]: string;
423
+ };
424
+ /**
425
+ * Sets the CSS classes that will be rendered on the empty chunk elements ([see example](https://www.telerik.com/kendo-angular-ui/components/progressbars/circularprogressbar/appearance)).
426
+ * Supports the type of values that [`ngClass`](link:site.data.urls.angular['ngclassapi']) supports.
427
+ */
428
+ set emptyCssClass(value: string | string[] | Set<string> | {
429
+ [key: string]: any;
430
+ });
431
+ get emptyCssClass(): string | string[] | Set<string> | {
432
+ [key: string]: any;
433
+ };
434
+ /**
435
+ * @hidden
436
+ */
437
+ get chunkSizePercentage(): number;
438
+ /**
439
+ * @hidden
440
+ */
441
+ get orientationStyles(): {
442
+ width: string;
443
+ height: string;
444
+ };
445
+ private readonly _chunkCount;
446
+ private readonly _progressCssStyle;
447
+ private readonly _progressCssClass;
448
+ private readonly _emptyCssStyle;
449
+ private readonly _emptyCssClass;
450
+ private _orientationStyles;
451
+ /**
452
+ * @hidden
453
+ */
454
+ constructor(localization: LocalizationService, elem: ElementRef, renderer: Renderer2);
455
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChunkProgressBarComponent, never>;
456
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChunkProgressBarComponent, "kendo-chunkprogressbar", ["kendoChunkProgressBar"], { "chunkCount": { "alias": "chunkCount"; "required": false; }; "progressCssStyle": { "alias": "progressCssStyle"; "required": false; }; "progressCssClass": { "alias": "progressCssClass"; "required": false; }; "emptyCssStyle": { "alias": "emptyCssStyle"; "required": false; }; "emptyCssClass": { "alias": "emptyCssClass"; "required": false; }; }, {}, never, never, true, never>;
457
+ }
458
+
459
+ /**
460
+ * Represents a template that allows you to customize the content in the center of the `<kendo-circularprogessbar>` component. To define the template, nest an `<ng-template>` tag with the `kendoCircularProgressbarCenterTemplate` directive inside a `<kendo-circularprogessbar>` component.
461
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/gauges/circulargauge/center-template)).
462
+ *
463
+ * @example
464
+ * ```html
465
+ * <kendo-circularprogressbar [value]="75">
466
+ * <ng-template kendoCircularProgressbarCenterTemplate>
467
+ * <span class="custom-center-text">75%</span>
468
+ * </ng-template>
469
+ * </kendo-circularprogressbar>
470
+ * ```
471
+ */
472
+ declare class CircularProgressbarCenterTemplateDirective {
473
+ templateRef: TemplateRef<unknown>;
474
+ constructor(templateRef: TemplateRef<unknown>);
475
+ static ɵfac: i0.ɵɵFactoryDeclaration<CircularProgressbarCenterTemplateDirective, never>;
476
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CircularProgressbarCenterTemplateDirective, "[kendoCircularProgressbarCenterTemplate]", never, {}, {}, never, never, true, never>;
477
+ }
478
+
479
+ /**
480
+ * @hidden
481
+ */
482
+ interface CenterTemplateContext {
483
+ /**
484
+ * The current value of the Circular Progressbar.
485
+ */
486
+ value?: number;
487
+ /**
488
+ * The current color of the progress arc.
489
+ */
490
+ color?: string;
491
+ }
492
+
493
+ /**
494
+ * Defines the color range configuration of the pointer.
495
+ */
496
+ interface ProgressColor {
497
+ /**
498
+ * Sets the color of the range. Accepts valid CSS color strings, including hex and rgb.
499
+ */
500
+ color?: string;
501
+ /**
502
+ * Sets the range start value.
503
+ */
504
+ from?: number;
505
+ /**
506
+ * Sets the range end value.
507
+ */
508
+ to?: number;
509
+ }
510
+
511
+ /**
512
+ * Represents the [Kendo UI Circular ProgressBar component for Angular](https://www.telerik.com/kendo-angular-ui/components/progressbars/circularprogressbar).
513
+ *
514
+ * @example
515
+ * ```typescript
516
+ * import { Component } from '@angular/core';
517
+ *
518
+ * @Component({
519
+ * selector: 'my-app',
520
+ * template: `
521
+ * <kendo-circularprogressbar
522
+ * [value]="currentValue"
523
+ * [max]="100"
524
+ * [animation]="true">
525
+ * </kendo-circularprogressbar>
526
+ * `
527
+ * })
528
+ * export class AppComponent {
529
+ * public currentValue: number = 65;
530
+ * }
531
+ * ```
532
+ *
533
+ * @remarks
534
+ * Supported children components are: {@link ProgressBarCustomMessagesComponent}
535
+ */
536
+ declare class CircularProgressBarComponent implements AfterViewInit, OnDestroy {
537
+ private renderer;
538
+ private localization;
539
+ private element;
540
+ private injector;
541
+ hostClasses: boolean;
542
+ get ariaMinAttribute(): string;
543
+ get ariaMaxAttribute(): string;
544
+ get ariaValueAttribute(): string;
545
+ roleAttribute: string;
546
+ /**
547
+ * Sets the default value of the Circular ProgressBar between `min` and `max`.
548
+ *
549
+ * @default 0
550
+ */
551
+ set value(value: number);
552
+ get value(): number;
553
+ /**
554
+ * Sets the maximum value which the Circular ProgressBar can accept.
555
+ *
556
+ * @default 100
557
+ */
558
+ set max(max: number);
559
+ get max(): number;
560
+ /**
561
+ * Sets the minimum value which the Circular ProgressBar can accept.
562
+ *
563
+ * @default 0
564
+ */
565
+ set min(min: number);
566
+ get min(): number;
567
+ /**
568
+ * Specifies whether to play an animation when the value changes.
569
+ *
570
+ * @default false
571
+ */
572
+ set animation(value: boolean);
573
+ get animation(): boolean;
574
+ /**
575
+ * Sets the opacity of the value arc.
576
+ *
577
+ * @default 1
578
+ */
579
+ set opacity(value: number);
580
+ get opacity(): number;
581
+ /**
582
+ * Puts the Circular ProgressBar in indeterminate state.
583
+ *
584
+ * @default false
585
+ */
586
+ set indeterminate(indeterminate: boolean);
587
+ get indeterminate(): boolean;
588
+ /**
589
+ * Configures the pointer color. You can set it to a single color string or customize it per progress stages.
590
+ */
591
+ set progressColor(value: string | ProgressColor[]);
592
+ get progressColor(): string | ProgressColor[];
593
+ /**
594
+ * Fires when the animation that indicates the latest value change completes.
595
+ */
596
+ animationEnd: EventEmitter<AnimationEndEvent>;
597
+ progress: ElementRef;
598
+ scale: ElementRef;
599
+ labelElement: ElementRef;
600
+ surface: ElementRef;
601
+ centerTemplate: CircularProgressbarCenterTemplateDirective;
602
+ /**
603
+ * @hidden
604
+ */
605
+ get centerTemplateContext(): CenterTemplateContext;
606
+ private previousValue;
607
+ private internalValue;
608
+ private rtl;
609
+ private readonly subscriptions;
610
+ private readonly _value;
611
+ private readonly _max;
612
+ private readonly _min;
613
+ private readonly _animation;
614
+ private readonly _opacity;
615
+ private readonly _indeterminate;
616
+ private readonly _progressColor;
617
+ private _centerTemplateContext;
618
+ private _valueEffectInitialized;
619
+ private readonly valueChangeEffect;
620
+ private readonly opacityEffect;
621
+ private _indeterminateEffectInitialized;
622
+ private readonly indeterminateEffect;
623
+ constructor(renderer: Renderer2, localization: LocalizationService, element: ElementRef, injector: Injector);
624
+ ngAfterViewInit(): void;
625
+ ngOnDestroy(): void;
626
+ /**
627
+ * @hidden
628
+ */
629
+ onResize(): void;
630
+ private initProgressArc;
631
+ private calculateProgress;
632
+ private progressbarAnimation;
633
+ private setStyles;
634
+ private indeterminateState;
635
+ private updateCenterTemplate;
636
+ private positionLabel;
637
+ private get currentColor();
638
+ private updateProgressColor;
639
+ private handleErrors;
640
+ private setDirection;
641
+ private rtlChange;
642
+ static ɵfac: i0.ɵɵFactoryDeclaration<CircularProgressBarComponent, never>;
643
+ static ɵcmp: i0.ɵɵComponentDeclaration<CircularProgressBarComponent, "kendo-circularprogressbar", ["kendoCircularProgressBar"], { "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; }, { "animationEnd": "animationEnd"; }, ["centerTemplate"], never, true, never>;
644
+ }
645
+
646
+ /**
647
+ * @hidden
648
+ */
649
+ declare class ProgressBarMessages extends ComponentMessages {
650
+ /**
651
+ * The aria-label attribute for the ProgressBar component.
652
+ */
653
+ progressBarLabel: string;
654
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarMessages, never>;
655
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ProgressBarMessages, never, never, { "progressBarLabel": { "alias": "progressBarLabel"; "required": false; }; }, {}, never, never, true, never>;
656
+ }
657
+
658
+ /**
659
+ * Custom component messages override default component messages
660
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/layout/globalization)).
661
+ *
662
+ * @example
663
+ * ```html
664
+ * <!-- Custom messages for ProgressBar -->
665
+ * <kendo-progressbar [value]="value">
666
+ * <kendo-progressbar-messages
667
+ * progressBarLabel="Changed ProgressBar Label"
668
+ * ></kendo-progressbar-messages>
669
+ * </kendo-progressbar>
670
+ *
671
+ * <!-- Custom messages for ChunkProgressBar -->
672
+ * <kendo-chunkprogressbar [value]="value" [chunkCount]="chunks">
673
+ * <kendo-progressbar-messages
674
+ * progressBarLabel="Changed Chunk Label"
675
+ * ></kendo-progressbar-messages>
676
+ * </kendo-chunkprogressbar>
677
+ *
678
+ * <!-- Custom messages for CircularProgressBar -->
679
+ * <kendo-circularprogressbar [value]="value">
680
+ * <kendo-progressbar-messages
681
+ * progressBarLabel="Changed Circular Label"
682
+ * ></kendo-progressbar-messages>
683
+ * </kendo-circularprogressbar>
684
+ * ```
685
+ */
686
+ declare class ProgressBarCustomMessagesComponent extends ProgressBarMessages {
687
+ protected service: LocalizationService;
688
+ constructor(service: LocalizationService);
689
+ protected get override(): boolean;
690
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarCustomMessagesComponent, never>;
691
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarCustomMessagesComponent, "kendo-progressbar-messages", never, {}, {}, never, never, true, never>;
692
+ }
693
+
694
+ /**
695
+ * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
696
+ * definition for the ProgressBar components.
697
+ *
698
+ * @example
699
+ * ```typescript
700
+ * import { NgModule } from '@angular/core';
701
+ * import { BrowserModule } from '@angular/platform-browser';
702
+ * import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
703
+ *
704
+ * @NgModule({
705
+ * imports: [BrowserModule, ProgressBarModule],
706
+ * declarations: [AppComponent],
707
+ * bootstrap: [AppComponent]
708
+ * })
709
+ * export class AppModule { }
710
+ * ```
711
+ */
712
+ declare class ProgressBarModule {
713
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
714
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, never, [typeof ChunkProgressBarComponent, typeof ProgressBarCustomMessagesComponent, typeof CircularProgressbarCenterTemplateDirective, typeof CircularProgressBarComponent, typeof ProgressBarCustomMessagesComponent, typeof ProgressBarComponent, typeof ProgressBarCustomMessagesComponent], [typeof ChunkProgressBarComponent, typeof ProgressBarCustomMessagesComponent, typeof CircularProgressbarCenterTemplateDirective, typeof CircularProgressBarComponent, typeof ProgressBarCustomMessagesComponent, typeof ProgressBarComponent, typeof ProgressBarCustomMessagesComponent]>;
715
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
716
+ }
717
+
718
+ /**
719
+ * @hidden
720
+ */
721
+ declare class LocalizedProgressBarMessagesDirective extends ProgressBarMessages {
722
+ protected service: LocalizationService;
723
+ constructor(service: LocalizationService);
724
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedProgressBarMessagesDirective, never>;
725
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedProgressBarMessagesDirective, "[kendoProgressBarLocalizedMessages]", never, {}, {}, never, never, true, never>;
726
+ }
727
+
728
+ /**
729
+ * Use this utility array to access all ChunkProgressBar-related components and directives in a standalone Angular component.
730
+ *
731
+ * @example
732
+ * ```typescript
733
+ * import { KENDO_CHUNKPROGRESSBAR } from '@progress/kendo-angular-progressbar';
734
+ * @Component({
735
+ * standalone: true,
736
+ * imports: [KENDO_CHUNKPROGRESSBAR],
737
+ * template: `<kendo-chunkprogressbar [value]="50"></kendo-chunkprogressbar>`,
738
+ * })
739
+ * export class MyComponent {}
740
+ * ```
741
+ */
742
+ declare const KENDO_CHUNKPROGRESSBAR: readonly [typeof ChunkProgressBarComponent, typeof ProgressBarCustomMessagesComponent];
743
+ /**
744
+ * Use this utility array to access all CircularProgressbar-related components and directives in a standalone Angular component.
745
+ *
746
+ * @example
747
+ * ```typescript
748
+ * import { KENDO_CIRCULARPROGRESSBAR } from '@progress/kendo-angular-progressbar';
749
+ * @Component({
750
+ * standalone: true,
751
+ * imports: [KENDO_CIRCULARPROGRESSBAR],
752
+ * template: `<kendo-circularprogressbar [value]="75"></kendo-circularprogressbar>`,
753
+ * })
754
+ * export class MyComponent {}
755
+ * ```
756
+ */
757
+ declare const KENDO_CIRCULARPROGRESSBAR: readonly [typeof CircularProgressbarCenterTemplateDirective, typeof CircularProgressBarComponent, typeof ProgressBarCustomMessagesComponent];
758
+ /**
759
+ * Use this utility array to access all ProgressBar-related components and directives in a standalone Angular component.
760
+ *
761
+ * @example
762
+ * ```typescript
763
+ * import { KENDO_PROGRESSBAR } from '@progress/kendo-angular-progressbar';
764
+ * @Component({
765
+ * standalone: true,
766
+ * imports: [KENDO_PROGRESSBAR],
767
+ * template: `<kendo-progressbar [value]="75"></kendo-progressbar>`,
768
+ * })
769
+ * export class MyComponent {}
770
+ * ```
771
+ */
772
+ declare const KENDO_PROGRESSBAR: readonly [typeof ProgressBarComponent, typeof ProgressBarCustomMessagesComponent];
773
+ /**
774
+ * Use this utility array all `@progress/kendo-angular-progressbar`-related components and directives.
775
+ * @example
776
+ * ```typescript
777
+ * import { KENDO_PROGRESSBARS } from '@progress/kendo-angular-progressbar';
778
+ * @Component({
779
+ * standalone: true,
780
+ * imports: [KENDO_PROGRESSBARS],
781
+ * template: `
782
+ * <kendo-progressbar [value]="75"></kendo-progressbar>
783
+ * <kendo-circularprogressbar [value]="75"></kendo-circularprogressbar>
784
+ * `,
785
+ * })
786
+ * export class MyComponent {}
787
+ * ```
788
+ */
789
+ declare const KENDO_PROGRESSBARS: readonly [typeof ChunkProgressBarComponent, typeof ProgressBarCustomMessagesComponent, typeof CircularProgressbarCenterTemplateDirective, typeof CircularProgressBarComponent, typeof ProgressBarCustomMessagesComponent, typeof ProgressBarComponent, typeof ProgressBarCustomMessagesComponent];
790
+
791
+ export { ChunkProgressBarComponent, CircularProgressBarComponent, CircularProgressbarCenterTemplateDirective, KENDO_CHUNKPROGRESSBAR, KENDO_CIRCULARPROGRESSBAR, KENDO_PROGRESSBAR, KENDO_PROGRESSBARS, LocalizedProgressBarMessagesDirective, ProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarModule };
792
+ export type { AnimationEndEvent, LabelFn, LabelPosition, LabelSettings, LabelType, ProgressBarAnimation, ProgressBarOrientation, ProgressColor };