@progress/kendo-angular-progressbar 17.0.0-develop.8 → 17.0.0
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/README.md +36 -18
- package/chunk/chunk-progressbar.component.d.ts +1 -1
- package/circularprogressbar/circular-progressbar.component.d.ts +1 -1
- package/common/localization/messages.d.ts +1 -1
- package/common/progressbar-base.d.ts +1 -1
- package/{esm2020 → esm2022}/chunk/chunk-progressbar.component.mjs +52 -27
- package/{esm2020 → esm2022}/circularprogressbar/center-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/circularprogressbar/circular-progressbar.component.mjs +59 -44
- package/{esm2020 → esm2022}/common/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/common/localization/localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/common/localization/messages.mjs +7 -3
- package/{esm2020 → esm2022}/common/progressbar-base.mjs +69 -64
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/progressbar.component.mjs +68 -33
- package/{esm2020 → esm2022}/progressbar.module.mjs +5 -8
- package/{fesm2015 → fesm2022}/progress-kendo-angular-progressbar.mjs +286 -202
- package/package.json +12 -18
- package/progressbar.component.d.ts +1 -1
- package/progressbar.module.d.ts +0 -4
- package/types/label-fn-type.d.ts +1 -1
- package/types/label-position.d.ts +1 -1
- package/types/label-type.d.ts +1 -1
- package/types/progressbar-orientation.d.ts +1 -1
- package/fesm2020/progress-kendo-angular-progressbar.mjs +0 -1471
- /package/{esm2020 → esm2022}/circularprogressbar/models/center-template-context.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/circularprogressbar/models/circular-progressbar-progress-color-interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/common/util.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-progressbar.mjs +0 -0
- /package/{esm2020 → esm2022}/types/animation-end-event.mjs +0 -0
- /package/{esm2020 → esm2022}/types/animation-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/label-fn-type.mjs +0 -0
- /package/{esm2020 → esm2022}/types/label-position.mjs +0 -0
- /package/{esm2020 → esm2022}/types/label-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/label-type.mjs +0 -0
- /package/{esm2020 → esm2022}/types/progressbar-animation.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/progressbar-orientation.mjs +0 -0
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* Copyright © 2024 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
|
+
import * as i1 from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
5
7
|
import * as i0 from '@angular/core';
|
|
6
8
|
import { isDevMode, Component, HostBinding, Input, Directive, forwardRef, EventEmitter, Output, ViewChild, ContentChild, NgModule } from '@angular/core';
|
|
7
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
|
-
import * as i1 from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { hasObservers, isDocumentAvailable, isChanged, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
11
|
import { NgStyle, NgClass, NgIf, NgFor, NgTemplateOutlet } from '@angular/common';
|
|
12
12
|
import { Subscription } from 'rxjs';
|
|
@@ -19,8 +19,8 @@ const packageMetadata = {
|
|
|
19
19
|
name: '@progress/kendo-angular-progressbar',
|
|
20
20
|
productName: 'Kendo UI for Angular',
|
|
21
21
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
22
|
-
publishDate:
|
|
23
|
-
version: '17.0.0
|
|
22
|
+
publishDate: 1731413909,
|
|
23
|
+
version: '17.0.0',
|
|
24
24
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -135,67 +135,10 @@ const hasElementSize = (element) => {
|
|
|
135
135
|
* @hidden
|
|
136
136
|
*/
|
|
137
137
|
class ProgressBarBase {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
this.elem = elem;
|
|
143
|
-
this.renderer = renderer;
|
|
144
|
-
this.localization = localization;
|
|
145
|
-
this.hostClasses = true;
|
|
146
|
-
this.roleAttribute = 'progressbar';
|
|
147
|
-
/**
|
|
148
|
-
* The maximum value of the ProgressBar.
|
|
149
|
-
* Defaults to `100`.
|
|
150
|
-
*/
|
|
151
|
-
this.max = 100;
|
|
152
|
-
/**
|
|
153
|
-
* The minimum value of the ProgressBar.
|
|
154
|
-
* Defaults to `0`.
|
|
155
|
-
*/
|
|
156
|
-
this.min = 0;
|
|
157
|
-
/**
|
|
158
|
-
* The value of the ProgressBar.
|
|
159
|
-
* Has to be between `min` and `max`.
|
|
160
|
-
* By default, the value is equal to the `min` value.
|
|
161
|
-
*/
|
|
162
|
-
/**
|
|
163
|
-
* The value of the ProgressBar.
|
|
164
|
-
* Has to be between `min` and `max`.
|
|
165
|
-
* Defaults to `0`.
|
|
166
|
-
*/
|
|
167
|
-
this.value = 0;
|
|
168
|
-
/**
|
|
169
|
-
* Defines the orientation of the ProgressBar
|
|
170
|
-
* ([see example]({% slug progressbar_orientation %})).
|
|
171
|
-
* Defaults to `horizontal`.
|
|
172
|
-
*/
|
|
173
|
-
this.orientation = 'horizontal';
|
|
174
|
-
/**
|
|
175
|
-
* If set to `true`, the ProgressBar will be disabled
|
|
176
|
-
* ([see example]({% slug progressbar_disabled %})).
|
|
177
|
-
* It will still allow you to change its value.
|
|
178
|
-
* Defaults to `false`.
|
|
179
|
-
*/
|
|
180
|
-
this.disabled = false;
|
|
181
|
-
/**
|
|
182
|
-
* If set to `true`, the ProgressBar will be reversed
|
|
183
|
-
* ([see example]({% slug progressbar_direction %})).
|
|
184
|
-
* Defaults to `false`.
|
|
185
|
-
*/
|
|
186
|
-
this.reverse = false;
|
|
187
|
-
/**
|
|
188
|
-
* Sets the `indeterminate` state of the ProgressBar.
|
|
189
|
-
* Defaults to `false`.
|
|
190
|
-
*/
|
|
191
|
-
this.indeterminate = false;
|
|
192
|
-
this.displayValue = 0;
|
|
193
|
-
this.previousValue = 0;
|
|
194
|
-
validatePackage(packageMetadata);
|
|
195
|
-
this.localizationChangeSubscription = localization.changes.subscribe(({ rtl }) => {
|
|
196
|
-
this.direction = rtl ? 'rtl' : 'ltr';
|
|
197
|
-
});
|
|
198
|
-
}
|
|
138
|
+
elem;
|
|
139
|
+
renderer;
|
|
140
|
+
localization;
|
|
141
|
+
hostClasses = true;
|
|
199
142
|
get isHorizontal() {
|
|
200
143
|
return this.orientation === 'horizontal';
|
|
201
144
|
}
|
|
@@ -214,6 +157,7 @@ class ProgressBarBase {
|
|
|
214
157
|
get dirAttribute() {
|
|
215
158
|
return this.direction;
|
|
216
159
|
}
|
|
160
|
+
roleAttribute = 'progressbar';
|
|
217
161
|
get ariaMinAttribute() {
|
|
218
162
|
return String(this.min);
|
|
219
163
|
}
|
|
@@ -223,6 +167,27 @@ class ProgressBarBase {
|
|
|
223
167
|
get ariaValueAttribute() {
|
|
224
168
|
return this.indeterminate ? undefined : String(this.displayValue);
|
|
225
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* The maximum value of the ProgressBar.
|
|
172
|
+
* Defaults to `100`.
|
|
173
|
+
*/
|
|
174
|
+
max = 100;
|
|
175
|
+
/**
|
|
176
|
+
* The minimum value of the ProgressBar.
|
|
177
|
+
* Defaults to `0`.
|
|
178
|
+
*/
|
|
179
|
+
min = 0;
|
|
180
|
+
/**
|
|
181
|
+
* The value of the ProgressBar.
|
|
182
|
+
* Has to be between `min` and `max`.
|
|
183
|
+
* By default, the value is equal to the `min` value.
|
|
184
|
+
*/
|
|
185
|
+
/**
|
|
186
|
+
* The value of the ProgressBar.
|
|
187
|
+
* Has to be between `min` and `max`.
|
|
188
|
+
* Defaults to `0`.
|
|
189
|
+
*/
|
|
190
|
+
value = 0;
|
|
226
191
|
/**
|
|
227
192
|
* @hidden
|
|
228
193
|
*/
|
|
@@ -256,6 +221,46 @@ class ProgressBarBase {
|
|
|
256
221
|
get _progressRatio() {
|
|
257
222
|
return calculateRatio(this.min, this.max, this.displayValue);
|
|
258
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* Defines the orientation of the ProgressBar
|
|
226
|
+
* ([see example]({% slug progressbar_orientation %})).
|
|
227
|
+
* Defaults to `horizontal`.
|
|
228
|
+
*/
|
|
229
|
+
orientation = 'horizontal';
|
|
230
|
+
/**
|
|
231
|
+
* If set to `true`, the ProgressBar will be disabled
|
|
232
|
+
* ([see example]({% slug progressbar_disabled %})).
|
|
233
|
+
* It will still allow you to change its value.
|
|
234
|
+
* Defaults to `false`.
|
|
235
|
+
*/
|
|
236
|
+
disabled = false;
|
|
237
|
+
/**
|
|
238
|
+
* If set to `true`, the ProgressBar will be reversed
|
|
239
|
+
* ([see example]({% slug progressbar_direction %})).
|
|
240
|
+
* Defaults to `false`.
|
|
241
|
+
*/
|
|
242
|
+
reverse = false;
|
|
243
|
+
/**
|
|
244
|
+
* Sets the `indeterminate` state of the ProgressBar.
|
|
245
|
+
* Defaults to `false`.
|
|
246
|
+
*/
|
|
247
|
+
indeterminate = false;
|
|
248
|
+
direction;
|
|
249
|
+
localizationChangeSubscription;
|
|
250
|
+
displayValue = 0;
|
|
251
|
+
previousValue = 0;
|
|
252
|
+
/**
|
|
253
|
+
* @hidden
|
|
254
|
+
*/
|
|
255
|
+
constructor(elem, renderer, localization) {
|
|
256
|
+
this.elem = elem;
|
|
257
|
+
this.renderer = renderer;
|
|
258
|
+
this.localization = localization;
|
|
259
|
+
validatePackage(packageMetadata);
|
|
260
|
+
this.localizationChangeSubscription = localization.changes.subscribe(({ rtl }) => {
|
|
261
|
+
this.direction = rtl ? 'rtl' : 'ltr';
|
|
262
|
+
});
|
|
263
|
+
}
|
|
259
264
|
ngAfterViewInit() {
|
|
260
265
|
const elem = this.elem.nativeElement;
|
|
261
266
|
const label = this.localization.get('progressBarLabel');
|
|
@@ -287,10 +292,10 @@ class ProgressBarBase {
|
|
|
287
292
|
this.localizationChangeSubscription.unsubscribe();
|
|
288
293
|
}
|
|
289
294
|
}
|
|
295
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarBase, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
296
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ProgressBarBase, selector: "ng-component", inputs: { max: "max", min: "min", value: "value", orientation: "orientation", disabled: "disabled", reverse: "reverse", indeterminate: "indeterminate" }, host: { properties: { "class.k-progressbar": "this.hostClasses", "class.k-progressbar-horizontal": "this.isHorizontal", "class.k-progressbar-vertical": "this.isVertical", "class.k-disabled": "this.disabledClass", "class.k-progressbar-reverse": "this.reverseClass", "class.k-progressbar-indeterminate": "this.indeterminateClass", "attr.dir": "this.dirAttribute", "attr.role": "this.roleAttribute", "attr.aria-valuemin": "this.ariaMinAttribute", "attr.aria-valuemax": "this.ariaMaxAttribute", "attr.aria-valuenow": "this.ariaValueAttribute" } }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
290
297
|
}
|
|
291
|
-
|
|
292
|
-
ProgressBarBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarBase, selector: "ng-component", inputs: { max: "max", min: "min", value: "value", orientation: "orientation", disabled: "disabled", reverse: "reverse", indeterminate: "indeterminate" }, host: { properties: { "class.k-progressbar": "this.hostClasses", "class.k-progressbar-horizontal": "this.isHorizontal", "class.k-progressbar-vertical": "this.isVertical", "class.k-disabled": "this.disabledClass", "class.k-progressbar-reverse": "this.reverseClass", "class.k-progressbar-indeterminate": "this.indeterminateClass", "attr.dir": "this.dirAttribute", "attr.role": "this.roleAttribute", "attr.aria-valuemin": "this.ariaMinAttribute", "attr.aria-valuemax": "this.ariaMaxAttribute", "attr.aria-valuenow": "this.ariaValueAttribute" } }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarBase, decorators: [{
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarBase, decorators: [{
|
|
294
299
|
type: Component,
|
|
295
300
|
args: [{
|
|
296
301
|
template: ''
|
|
@@ -348,10 +353,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
348
353
|
* @hidden
|
|
349
354
|
*/
|
|
350
355
|
class ProgressBarMessages extends ComponentMessages {
|
|
356
|
+
/**
|
|
357
|
+
* The aria-label attribute for the ProgressBar component.
|
|
358
|
+
*/
|
|
359
|
+
progressBarLabel;
|
|
360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
361
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ProgressBarMessages, inputs: { progressBarLabel: "progressBarLabel" }, usesInheritance: true, ngImport: i0 });
|
|
351
362
|
}
|
|
352
|
-
|
|
353
|
-
ProgressBarMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarMessages, inputs: { progressBarLabel: "progressBarLabel" }, usesInheritance: true, ngImport: i0 });
|
|
354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarMessages, decorators: [{
|
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarMessages, decorators: [{
|
|
355
364
|
type: Directive,
|
|
356
365
|
args: [{}]
|
|
357
366
|
}], propDecorators: { progressBarLabel: [{
|
|
@@ -362,19 +371,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
362
371
|
* @hidden
|
|
363
372
|
*/
|
|
364
373
|
class LocalizedProgressBarMessagesDirective extends ProgressBarMessages {
|
|
374
|
+
service;
|
|
365
375
|
constructor(service) {
|
|
366
376
|
super();
|
|
367
377
|
this.service = service;
|
|
368
378
|
}
|
|
379
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedProgressBarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
380
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedProgressBarMessagesDirective, isStandalone: true, selector: "[kendoProgressBarLocalizedMessages]", providers: [
|
|
381
|
+
{
|
|
382
|
+
provide: ProgressBarMessages,
|
|
383
|
+
useExisting: forwardRef(() => LocalizedProgressBarMessagesDirective)
|
|
384
|
+
}
|
|
385
|
+
], usesInheritance: true, ngImport: i0 });
|
|
369
386
|
}
|
|
370
|
-
|
|
371
|
-
LocalizedProgressBarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedProgressBarMessagesDirective, isStandalone: true, selector: "[kendoProgressBarLocalizedMessages]", providers: [
|
|
372
|
-
{
|
|
373
|
-
provide: ProgressBarMessages,
|
|
374
|
-
useExisting: forwardRef(() => LocalizedProgressBarMessagesDirective)
|
|
375
|
-
}
|
|
376
|
-
], usesInheritance: true, ngImport: i0 });
|
|
377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedProgressBarMessagesDirective, decorators: [{
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedProgressBarMessagesDirective, decorators: [{
|
|
378
388
|
type: Directive,
|
|
379
389
|
args: [{
|
|
380
390
|
providers: [
|
|
@@ -406,31 +416,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
406
416
|
* ```
|
|
407
417
|
*/
|
|
408
418
|
class ProgressBarComponent extends ProgressBarBase {
|
|
419
|
+
localization;
|
|
420
|
+
elem;
|
|
421
|
+
renderer;
|
|
422
|
+
zone;
|
|
409
423
|
/**
|
|
410
|
-
*
|
|
424
|
+
* Determines whether the status label will be visible.
|
|
425
|
+
* Defaults to `true`—the label will be visible and displayed with the default
|
|
426
|
+
* `LabelSettings` having its position set to `end` and its format set to `value`.
|
|
411
427
|
*/
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
428
|
+
label = true;
|
|
429
|
+
/**
|
|
430
|
+
* The CSS styles that will be rendered on the inner element which represents the full portion of the progress bar
|
|
431
|
+
* ([see example]({% slug progressbar_appearance %})).
|
|
432
|
+
* Supports the type of values that are supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
|
|
433
|
+
*/
|
|
434
|
+
progressCssStyle;
|
|
435
|
+
/**
|
|
436
|
+
* The CSS classes that will be rendered on the inner element which represents the full portion of the progress bar
|
|
437
|
+
* ([see example]({% slug progressbar_appearance %})).
|
|
438
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
439
|
+
*/
|
|
440
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
441
|
+
progressCssClass;
|
|
442
|
+
/**
|
|
443
|
+
* The CSS styles that will be rendered on the inner element which represents the empty portion of the progress bar
|
|
444
|
+
* ([see example]({% slug progressbar_appearance %})).
|
|
445
|
+
* Supports the type of values that are supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
|
|
446
|
+
*/
|
|
447
|
+
emptyCssStyle;
|
|
448
|
+
/**
|
|
449
|
+
* The CSS classes that will be rendered on the inner element which represents the empty portion of the progress bar
|
|
450
|
+
* ([see example]({% slug progressbar_appearance %})).
|
|
451
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
452
|
+
*/
|
|
453
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
454
|
+
emptyCssClass;
|
|
455
|
+
/**
|
|
456
|
+
* The animation configuration of the ProgressBar.
|
|
457
|
+
* Defaults to `false`.
|
|
458
|
+
*/
|
|
459
|
+
animation = false;
|
|
460
|
+
/**
|
|
461
|
+
* Fires when the animation which indicates the latest value change is completed.
|
|
462
|
+
*/
|
|
463
|
+
animationEnd = new EventEmitter();
|
|
434
464
|
/**
|
|
435
465
|
* @hidden
|
|
436
466
|
*/
|
|
@@ -483,6 +513,21 @@ class ProgressBarComponent extends ProgressBarBase {
|
|
|
483
513
|
get formattedLabelValue() {
|
|
484
514
|
return formatValue(this.displayValue, this.min, this.max, this.label);
|
|
485
515
|
}
|
|
516
|
+
progressStatusElement;
|
|
517
|
+
progressStatusWrapperElement;
|
|
518
|
+
animationFrame;
|
|
519
|
+
cancelCurrentAnimation;
|
|
520
|
+
isAnimationInProgress;
|
|
521
|
+
/**
|
|
522
|
+
* @hidden
|
|
523
|
+
*/
|
|
524
|
+
constructor(localization, elem, renderer, zone) {
|
|
525
|
+
super(elem, renderer, localization);
|
|
526
|
+
this.localization = localization;
|
|
527
|
+
this.elem = elem;
|
|
528
|
+
this.renderer = renderer;
|
|
529
|
+
this.zone = zone;
|
|
530
|
+
}
|
|
486
531
|
/**
|
|
487
532
|
* @hidden
|
|
488
533
|
*/
|
|
@@ -594,15 +639,14 @@ class ProgressBarComponent extends ProgressBarBase {
|
|
|
594
639
|
this.isAnimationInProgress = false;
|
|
595
640
|
});
|
|
596
641
|
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
}
|
|
605
|
-
], viewQueries: [{ propertyName: "progressStatusElement", first: true, predicate: ["progressStatus"], descendants: true }, { propertyName: "progressStatusWrapperElement", first: true, predicate: ["progressStatusWrap"], descendants: true }], exportAs: ["kendoProgressBar"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
642
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
643
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ProgressBarComponent, isStandalone: true, selector: "kendo-progressbar", inputs: { label: "label", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass", animation: "animation" }, outputs: { animationEnd: "animationEnd" }, providers: [
|
|
644
|
+
LocalizationService,
|
|
645
|
+
{
|
|
646
|
+
provide: L10N_PREFIX,
|
|
647
|
+
useValue: 'kendo.progressbar'
|
|
648
|
+
}
|
|
649
|
+
], viewQueries: [{ propertyName: "progressStatusElement", first: true, predicate: ["progressStatus"], descendants: true }, { propertyName: "progressStatusWrapperElement", first: true, predicate: ["progressStatusWrap"], descendants: true }], exportAs: ["kendoProgressBar"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
606
650
|
<ng-container kendoProgressBarLocalizedMessages
|
|
607
651
|
i18n-progressBarLabel="kendo.progressbar.progressBarLabel|The aria-label attribute for the ProgressBar component."
|
|
608
652
|
progressBarLabel="Progressbar"
|
|
@@ -638,7 +682,8 @@ ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
638
682
|
</span>
|
|
639
683
|
</div>
|
|
640
684
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedProgressBarMessagesDirective, selector: "[kendoProgressBarLocalizedMessages]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
641
|
-
|
|
685
|
+
}
|
|
686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
642
687
|
type: Component,
|
|
643
688
|
args: [{
|
|
644
689
|
exportAs: 'kendoProgressBar',
|
|
@@ -729,25 +774,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
729
774
|
* ```
|
|
730
775
|
*/
|
|
731
776
|
class ChunkProgressBarComponent extends ProgressBarBase {
|
|
777
|
+
localization;
|
|
778
|
+
elem;
|
|
779
|
+
renderer;
|
|
780
|
+
chunkClass = true;
|
|
732
781
|
/**
|
|
733
|
-
*
|
|
782
|
+
* Sets the number of chunks into which the ChunkProgressBar will be split.
|
|
783
|
+
* Defaults to `5`.
|
|
734
784
|
*/
|
|
735
|
-
|
|
736
|
-
super(elem, renderer, localization);
|
|
737
|
-
this.localization = localization;
|
|
738
|
-
this.elem = elem;
|
|
739
|
-
this.renderer = renderer;
|
|
740
|
-
this.chunkClass = true;
|
|
741
|
-
/**
|
|
742
|
-
* Sets the number of chunks into which the ChunkProgressBar will be split.
|
|
743
|
-
* Defaults to `5`.
|
|
744
|
-
*/
|
|
745
|
-
this.chunkCount = 5;
|
|
746
|
-
this._orientationStyles = {
|
|
747
|
-
width: `${this.chunkSizePercentage}%`,
|
|
748
|
-
height: null
|
|
749
|
-
};
|
|
750
|
-
}
|
|
785
|
+
chunkCount = 5;
|
|
751
786
|
/**
|
|
752
787
|
* @hidden
|
|
753
788
|
*/
|
|
@@ -760,6 +795,28 @@ class ChunkProgressBarComponent extends ProgressBarBase {
|
|
|
760
795
|
}
|
|
761
796
|
return chunks;
|
|
762
797
|
}
|
|
798
|
+
/**
|
|
799
|
+
* The CSS styles that will be rendered on the full chunk elements ([see example]({% slug chunkprogressbar_appearance %})).
|
|
800
|
+
* Supports the type of values that are supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
|
|
801
|
+
*/
|
|
802
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
803
|
+
progressCssStyle;
|
|
804
|
+
/**
|
|
805
|
+
* The CSS classes that will be rendered on the full chunk elements ([see example]({% slug chunkprogressbar_appearance %})).
|
|
806
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
807
|
+
*/
|
|
808
|
+
progressCssClass;
|
|
809
|
+
/**
|
|
810
|
+
* The CSS styles that will be rendered on the empty chunk elements ([see example]({% slug chunkprogressbar_appearance %})).
|
|
811
|
+
* Supports the type of values that are supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
|
|
812
|
+
*/
|
|
813
|
+
emptyCssStyle;
|
|
814
|
+
/**
|
|
815
|
+
* The CSS classes that will be rendered on the empty chunk elements ([see example]({% slug chunkprogressbar_appearance %})).
|
|
816
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
817
|
+
*/
|
|
818
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
819
|
+
emptyCssClass;
|
|
763
820
|
/**
|
|
764
821
|
* @hidden
|
|
765
822
|
*/
|
|
@@ -780,15 +837,27 @@ class ChunkProgressBarComponent extends ProgressBarBase {
|
|
|
780
837
|
}
|
|
781
838
|
return this._orientationStyles;
|
|
782
839
|
}
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
840
|
+
_orientationStyles = {
|
|
841
|
+
width: `${this.chunkSizePercentage}%`,
|
|
842
|
+
height: null
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* @hidden
|
|
846
|
+
*/
|
|
847
|
+
constructor(localization, elem, renderer) {
|
|
848
|
+
super(elem, renderer, localization);
|
|
849
|
+
this.localization = localization;
|
|
850
|
+
this.elem = elem;
|
|
851
|
+
this.renderer = renderer;
|
|
852
|
+
}
|
|
853
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChunkProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
854
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ChunkProgressBarComponent, isStandalone: true, selector: "kendo-chunkprogressbar", inputs: { chunkCount: "chunkCount", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass" }, host: { properties: { "class.k-chunk-progressbar": "this.chunkClass" } }, providers: [
|
|
855
|
+
LocalizationService,
|
|
856
|
+
{
|
|
857
|
+
provide: L10N_PREFIX,
|
|
858
|
+
useValue: 'kendo.chunkprogressbar'
|
|
859
|
+
}
|
|
860
|
+
], exportAs: ["kendoChunkProgressBar"], usesInheritance: true, ngImport: i0, template: `
|
|
792
861
|
<ng-container kendoProgressBarLocalizedMessages
|
|
793
862
|
i18n-progressBarLabel="kendo.chunkprogressbar.progressBarLabel|The aria-label attribute for the ChunkProgressBar component."
|
|
794
863
|
progressBarLabel="Chunk progressbar"
|
|
@@ -807,7 +876,8 @@ ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
807
876
|
</li>
|
|
808
877
|
</ul>
|
|
809
878
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedProgressBarMessagesDirective, selector: "[kendoProgressBarLocalizedMessages]" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
810
|
-
|
|
879
|
+
}
|
|
880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChunkProgressBarComponent, decorators: [{
|
|
811
881
|
type: Component,
|
|
812
882
|
args: [{
|
|
813
883
|
exportAs: 'kendoChunkProgressBar',
|
|
@@ -861,13 +931,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
861
931
|
* ([see example]({% slug center_template_circularprogressbar %})).
|
|
862
932
|
*/
|
|
863
933
|
class CircularProgressbarCenterTemplateDirective {
|
|
934
|
+
templateRef;
|
|
864
935
|
constructor(templateRef) {
|
|
865
936
|
this.templateRef = templateRef;
|
|
866
937
|
}
|
|
938
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
939
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CircularProgressbarCenterTemplateDirective, isStandalone: true, selector: "[kendoCircularProgressbarCenterTemplate]", ngImport: i0 });
|
|
867
940
|
}
|
|
868
|
-
|
|
869
|
-
CircularProgressbarCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressbarCenterTemplateDirective, isStandalone: true, selector: "[kendoCircularProgressbarCenterTemplate]", ngImport: i0 });
|
|
870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, decorators: [{
|
|
941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, decorators: [{
|
|
871
942
|
type: Directive,
|
|
872
943
|
args: [{
|
|
873
944
|
selector: '[kendoCircularProgressbarCenterTemplate]',
|
|
@@ -893,40 +964,12 @@ const DEFAULT_SURFACE_SIZE = 200;
|
|
|
893
964
|
* ```
|
|
894
965
|
*/
|
|
895
966
|
class CircularProgressBarComponent {
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
this.hostClasses = true;
|
|
903
|
-
this.roleAttribute = 'progressbar';
|
|
904
|
-
/**
|
|
905
|
-
* Indicates whether an animation will be played on value changes.
|
|
906
|
-
*
|
|
907
|
-
* @default false
|
|
908
|
-
*/
|
|
909
|
-
this.animation = false;
|
|
910
|
-
/**
|
|
911
|
-
* The opacity of the value arc.
|
|
912
|
-
* @default 1
|
|
913
|
-
*/
|
|
914
|
-
this.opacity = 1;
|
|
915
|
-
/**
|
|
916
|
-
* Fires when the animation which indicates the latest value change is completed.
|
|
917
|
-
*/
|
|
918
|
-
this.animationEnd = new EventEmitter();
|
|
919
|
-
this.centerTemplateContext = {};
|
|
920
|
-
this._indeterminate = false;
|
|
921
|
-
this._max = 100;
|
|
922
|
-
this._min = 0;
|
|
923
|
-
this._value = 0;
|
|
924
|
-
this.previousValue = 0;
|
|
925
|
-
this.internalValue = 0;
|
|
926
|
-
this.subscriptions = new Subscription();
|
|
927
|
-
validatePackage(packageMetadata);
|
|
928
|
-
this.subscriptions.add(this.localization.changes.subscribe(this.rtlChange.bind(this)));
|
|
929
|
-
}
|
|
967
|
+
renderer;
|
|
968
|
+
cdr;
|
|
969
|
+
localization;
|
|
970
|
+
element;
|
|
971
|
+
zone;
|
|
972
|
+
hostClasses = true;
|
|
930
973
|
get ariaMinAttribute() {
|
|
931
974
|
return String(this.min);
|
|
932
975
|
}
|
|
@@ -936,6 +979,7 @@ class CircularProgressBarComponent {
|
|
|
936
979
|
get ariaValueAttribute() {
|
|
937
980
|
return this.indeterminate ? undefined : String(this.value);
|
|
938
981
|
}
|
|
982
|
+
roleAttribute = 'progressbar';
|
|
939
983
|
/**
|
|
940
984
|
* Sets the default value of the Circular Progressbar between `min` and `max`.
|
|
941
985
|
*
|
|
@@ -982,6 +1026,17 @@ class CircularProgressBarComponent {
|
|
|
982
1026
|
get min() {
|
|
983
1027
|
return this._min;
|
|
984
1028
|
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Indicates whether an animation will be played on value changes.
|
|
1031
|
+
*
|
|
1032
|
+
* @default false
|
|
1033
|
+
*/
|
|
1034
|
+
animation = false;
|
|
1035
|
+
/**
|
|
1036
|
+
* The opacity of the value arc.
|
|
1037
|
+
* @default 1
|
|
1038
|
+
*/
|
|
1039
|
+
opacity = 1;
|
|
985
1040
|
/**
|
|
986
1041
|
* Puts the Circular ProgressBar in indeterminate state.
|
|
987
1042
|
* @default false
|
|
@@ -992,6 +1047,37 @@ class CircularProgressBarComponent {
|
|
|
992
1047
|
get indeterminate() {
|
|
993
1048
|
return this._indeterminate;
|
|
994
1049
|
}
|
|
1050
|
+
/**
|
|
1051
|
+
* Configures the pointer color. Could be set to a single color string or customized per progress stages.
|
|
1052
|
+
*/
|
|
1053
|
+
progressColor;
|
|
1054
|
+
/**
|
|
1055
|
+
* Fires when the animation which indicates the latest value change is completed.
|
|
1056
|
+
*/
|
|
1057
|
+
animationEnd = new EventEmitter();
|
|
1058
|
+
progress;
|
|
1059
|
+
scale;
|
|
1060
|
+
labelElement;
|
|
1061
|
+
surface;
|
|
1062
|
+
centerTemplate;
|
|
1063
|
+
centerTemplateContext = {};
|
|
1064
|
+
_indeterminate = false;
|
|
1065
|
+
_max = 100;
|
|
1066
|
+
_min = 0;
|
|
1067
|
+
_value = 0;
|
|
1068
|
+
previousValue = 0;
|
|
1069
|
+
internalValue = 0;
|
|
1070
|
+
rtl;
|
|
1071
|
+
subscriptions = new Subscription();
|
|
1072
|
+
constructor(renderer, cdr, localization, element, zone) {
|
|
1073
|
+
this.renderer = renderer;
|
|
1074
|
+
this.cdr = cdr;
|
|
1075
|
+
this.localization = localization;
|
|
1076
|
+
this.element = element;
|
|
1077
|
+
this.zone = zone;
|
|
1078
|
+
validatePackage(packageMetadata);
|
|
1079
|
+
this.subscriptions.add(this.localization.changes.subscribe(this.rtlChange.bind(this)));
|
|
1080
|
+
}
|
|
995
1081
|
ngAfterViewInit() {
|
|
996
1082
|
if (!isDocumentAvailable()) {
|
|
997
1083
|
return;
|
|
@@ -1236,15 +1322,14 @@ class CircularProgressBarComponent {
|
|
|
1236
1322
|
this.setDirection();
|
|
1237
1323
|
}
|
|
1238
1324
|
}
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
}
|
|
1247
|
-
], queries: [{ propertyName: "centerTemplate", first: true, predicate: CircularProgressbarCenterTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "progress", first: true, predicate: ["progress"], descendants: true }, { propertyName: "scale", first: true, predicate: ["scale"], descendants: true }, { propertyName: "labelElement", first: true, predicate: ["label"], descendants: true }, { propertyName: "surface", first: true, predicate: ["surface"], descendants: true }], exportAs: ["kendoCircularProgressBar"], usesOnChanges: true, ngImport: i0, template: `
|
|
1325
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CircularProgressBarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1326
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CircularProgressBarComponent, isStandalone: true, selector: "kendo-circularprogressbar", inputs: { value: "value", max: "max", min: "min", animation: "animation", opacity: "opacity", indeterminate: "indeterminate", progressColor: "progressColor" }, outputs: { animationEnd: "animationEnd" }, host: { properties: { "class.k-circular-progressbar": "this.hostClasses", "attr.aria-valuemin": "this.ariaMinAttribute", "attr.aria-valuemax": "this.ariaMaxAttribute", "attr.aria-valuenow": "this.ariaValueAttribute", "attr.role": "this.roleAttribute" } }, providers: [
|
|
1327
|
+
LocalizationService,
|
|
1328
|
+
{
|
|
1329
|
+
provide: L10N_PREFIX,
|
|
1330
|
+
useValue: 'kendo.circularprogressbar'
|
|
1331
|
+
}
|
|
1332
|
+
], queries: [{ propertyName: "centerTemplate", first: true, predicate: CircularProgressbarCenterTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "progress", first: true, predicate: ["progress"], descendants: true }, { propertyName: "scale", first: true, predicate: ["scale"], descendants: true }, { propertyName: "labelElement", first: true, predicate: ["label"], descendants: true }, { propertyName: "surface", first: true, predicate: ["surface"], descendants: true }], exportAs: ["kendoCircularProgressBar"], usesOnChanges: true, ngImport: i0, template: `
|
|
1248
1333
|
<ng-container kendoProgressBarLocalizedMessages
|
|
1249
1334
|
i18n-progressBarLabel="kendo.circularprogressbar.progressBarLabel|The aria-label attribute for the Circular ProgressBar component."
|
|
1250
1335
|
progressBarLabel="Circular progressbar"
|
|
@@ -1265,7 +1350,8 @@ CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
1265
1350
|
</div>
|
|
1266
1351
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1267
1352
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedProgressBarMessagesDirective, selector: "[kendoProgressBarLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
1268
|
-
|
|
1353
|
+
}
|
|
1354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CircularProgressBarComponent, decorators: [{
|
|
1269
1355
|
type: Component,
|
|
1270
1356
|
args: [{
|
|
1271
1357
|
exportAs: 'kendoCircularProgressBar',
|
|
@@ -1353,6 +1439,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1353
1439
|
* ([see example]({% slug rtl_layout %})).
|
|
1354
1440
|
*/
|
|
1355
1441
|
class ProgressBarCustomMessagesComponent extends ProgressBarMessages {
|
|
1442
|
+
service;
|
|
1356
1443
|
constructor(service) {
|
|
1357
1444
|
super();
|
|
1358
1445
|
this.service = service;
|
|
@@ -1360,15 +1447,15 @@ class ProgressBarCustomMessagesComponent extends ProgressBarMessages {
|
|
|
1360
1447
|
get override() {
|
|
1361
1448
|
return true;
|
|
1362
1449
|
}
|
|
1450
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1451
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ProgressBarCustomMessagesComponent, isStandalone: true, selector: "kendo-progressbar-messages", providers: [
|
|
1452
|
+
{
|
|
1453
|
+
provide: ProgressBarMessages,
|
|
1454
|
+
useExisting: forwardRef(() => ProgressBarCustomMessagesComponent)
|
|
1455
|
+
}
|
|
1456
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1363
1457
|
}
|
|
1364
|
-
|
|
1365
|
-
ProgressBarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarCustomMessagesComponent, isStandalone: true, selector: "kendo-progressbar-messages", providers: [
|
|
1366
|
-
{
|
|
1367
|
-
provide: ProgressBarMessages,
|
|
1368
|
-
useExisting: forwardRef(() => ProgressBarCustomMessagesComponent)
|
|
1369
|
-
}
|
|
1370
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarCustomMessagesComponent, decorators: [{
|
|
1458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarCustomMessagesComponent, decorators: [{
|
|
1372
1459
|
type: Component,
|
|
1373
1460
|
args: [{
|
|
1374
1461
|
providers: [
|
|
@@ -1414,10 +1501,7 @@ const KENDO_PROGRESSBARS = [
|
|
|
1414
1501
|
...KENDO_PROGRESSBAR
|
|
1415
1502
|
];
|
|
1416
1503
|
|
|
1417
|
-
|
|
1418
|
-
* @hidden
|
|
1419
|
-
* IMPORTANT: NgModule export kept for backwards compatibility
|
|
1420
|
-
*/
|
|
1504
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
1421
1505
|
/**
|
|
1422
1506
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
1423
1507
|
* definition for the ProgressBar components.
|
|
@@ -1450,11 +1534,11 @@ const KENDO_PROGRESSBARS = [
|
|
|
1450
1534
|
* ```
|
|
1451
1535
|
*/
|
|
1452
1536
|
class ProgressBarModule {
|
|
1537
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1538
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarModule, imports: [ChunkProgressBarComponent, ProgressBarCustomMessagesComponent, CircularProgressbarCenterTemplateDirective, CircularProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarComponent, ProgressBarCustomMessagesComponent], exports: [ChunkProgressBarComponent, ProgressBarCustomMessagesComponent, CircularProgressbarCenterTemplateDirective, CircularProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarComponent, ProgressBarCustomMessagesComponent] });
|
|
1539
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarModule, providers: [ResizeBatchService], imports: [CircularProgressBarComponent] });
|
|
1453
1540
|
}
|
|
1454
|
-
|
|
1455
|
-
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, imports: [ChunkProgressBarComponent, ProgressBarCustomMessagesComponent, CircularProgressbarCenterTemplateDirective, CircularProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarComponent, ProgressBarCustomMessagesComponent], exports: [ChunkProgressBarComponent, ProgressBarCustomMessagesComponent, CircularProgressbarCenterTemplateDirective, CircularProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarComponent, ProgressBarCustomMessagesComponent] });
|
|
1456
|
-
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, providers: [ResizeBatchService], imports: [ChunkProgressBarComponent, ProgressBarCustomMessagesComponent, CircularProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarComponent, ProgressBarCustomMessagesComponent] });
|
|
1457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
1541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
1458
1542
|
type: NgModule,
|
|
1459
1543
|
args: [{
|
|
1460
1544
|
exports: [...KENDO_PROGRESSBARS],
|