@progress/kendo-angular-progressbar 2.0.4 → 3.0.0-dev.202204131905

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/bundles/kendo-angular-progressbar.umd.js +5 -0
  2. package/{dist/es2015/chunk → chunk}/chunk-progressbar.component.d.ts +6 -3
  3. package/{dist/es2015/common → common}/constants.d.ts +0 -0
  4. package/{dist/es2015/common → common}/progressbar-base.d.ts +19 -16
  5. package/{dist/es2015/common → common}/util.d.ts +0 -0
  6. package/{dist/es2015 → esm2015}/chunk/chunk-progressbar.component.js +51 -39
  7. package/{dist/es2015 → esm2015}/common/constants.js +0 -0
  8. package/{dist/es2015 → esm2015}/common/progressbar-base.js +61 -84
  9. package/{dist/es2015 → esm2015}/common/util.js +0 -3
  10. package/{dist/es2015/index.d.ts → esm2015/kendo-angular-progressbar.js} +0 -1
  11. package/{dist/es → esm2015}/main.js +0 -0
  12. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  13. package/{dist/es2015 → esm2015}/progressbar.component.js +79 -58
  14. package/{dist/es2015 → esm2015}/progressbar.module.js +14 -11
  15. package/{dist/es2015 → esm2015}/types/animation-end-event.js +1 -0
  16. package/{dist/es2015 → esm2015}/types/animation-options.interface.js +1 -0
  17. package/{dist/es2015 → esm2015}/types/label-fn-type.js +1 -0
  18. package/{dist/es → esm2015}/types/label-position.js +1 -0
  19. package/{dist/es → esm2015}/types/label-settings.interface.js +1 -0
  20. package/{dist/es → esm2015}/types/label-type.js +1 -0
  21. package/{dist/es → esm2015}/types/progressbar-animation.interface.js +1 -0
  22. package/{dist/es → esm2015}/types/progressbar-orientation.js +1 -0
  23. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-progressbar.js} +201 -187
  24. package/{dist/es/index.js → kendo-angular-progressbar.d.ts} +1 -1
  25. package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
  26. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  27. package/package.json +34 -104
  28. package/{dist/es2015/progressbar.component.d.ts → progressbar.component.d.ts} +10 -7
  29. package/{dist/es2015/progressbar.module.d.ts → progressbar.module.d.ts} +7 -0
  30. package/schematics/ngAdd/index.js +5 -2
  31. package/schematics/ngAdd/index.js.map +1 -1
  32. package/{dist/es2015/types → types}/animation-end-event.d.ts +0 -0
  33. package/{dist/es2015/types → types}/animation-options.interface.d.ts +0 -0
  34. package/{dist/es2015/types → types}/label-fn-type.d.ts +0 -0
  35. package/{dist/es2015/types → types}/label-position.d.ts +0 -0
  36. package/{dist/es2015/types → types}/label-settings.interface.d.ts +0 -0
  37. package/{dist/es2015/types → types}/label-type.d.ts +0 -0
  38. package/{dist/es2015/types → types}/progressbar-animation.interface.d.ts +0 -0
  39. package/{dist/es2015/types → types}/progressbar-orientation.d.ts +0 -0
  40. package/dist/cdn/js/kendo-angular-progressbar.js +0 -20
  41. package/dist/cdn/main.js +0 -5
  42. package/dist/es/chunk/chunk-progressbar.component.js +0 -129
  43. package/dist/es/common/constants.js +0 -16
  44. package/dist/es/common/progressbar-base.js +0 -305
  45. package/dist/es/common/util.js +0 -86
  46. package/dist/es/package-metadata.js +0 -15
  47. package/dist/es/progressbar.component.js +0 -304
  48. package/dist/es/progressbar.module.js +0 -55
  49. package/dist/es/types/animation-end-event.js +0 -4
  50. package/dist/es/types/animation-options.interface.js +0 -4
  51. package/dist/es/types/label-fn-type.js +0 -4
  52. package/dist/es2015/index.js +0 -9
  53. package/dist/es2015/index.metadata.json +0 -1
  54. package/dist/es2015/main.js +0 -7
  55. package/dist/es2015/types/label-position.js +0 -4
  56. package/dist/es2015/types/label-settings.interface.js +0 -4
  57. package/dist/es2015/types/label-type.js +0 -4
  58. package/dist/es2015/types/progressbar-animation.interface.js +0 -4
  59. package/dist/es2015/types/progressbar-orientation.js +0 -4
  60. package/dist/fesm5/index.js +0 -875
  61. package/dist/npm/chunk/chunk-progressbar.component.js +0 -131
  62. package/dist/npm/common/constants.js +0 -18
  63. package/dist/npm/common/progressbar-base.js +0 -307
  64. package/dist/npm/common/util.js +0 -89
  65. package/dist/npm/index.js +0 -13
  66. package/dist/npm/main.js +0 -12
  67. package/dist/npm/package-metadata.js +0 -17
  68. package/dist/npm/progressbar.component.js +0 -306
  69. package/dist/npm/progressbar.module.js +0 -57
  70. package/dist/npm/types/animation-end-event.js +0 -6
  71. package/dist/npm/types/animation-options.interface.js +0 -6
  72. package/dist/npm/types/label-fn-type.js +0 -6
  73. package/dist/npm/types/label-position.js +0 -6
  74. package/dist/npm/types/label-settings.interface.js +0 -6
  75. package/dist/npm/types/label-type.js +0 -6
  76. package/dist/npm/types/progressbar-animation.interface.js +0 -6
  77. package/dist/npm/types/progressbar-orientation.js +0 -6
  78. package/dist/systemjs/kendo-angular-progressbar.js +0 -5
@@ -2,11 +2,13 @@
2
2
  * Copyright © 2021 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 { __decorate, __metadata } from 'tslib';
6
- import { isDevMode, HostBinding, Input, EventEmitter, Output, ViewChild, ElementRef, Component, NgZone, Renderer2, NgModule } from '@angular/core';
5
+ import * as i0 from '@angular/core';
6
+ import { isDevMode, Component, HostBinding, Input, EventEmitter, Output, ViewChild, NgModule } from '@angular/core';
7
7
  import { validatePackage } from '@progress/kendo-licensing';
8
+ import * as i1 from '@progress/kendo-angular-l10n';
8
9
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
9
10
  import { hasObservers } from '@progress/kendo-angular-common';
11
+ import * as i2 from '@angular/common';
10
12
  import { CommonModule } from '@angular/common';
11
13
 
12
14
  /**
@@ -16,7 +18,7 @@ const packageMetadata = {
16
18
  name: '@progress/kendo-angular-progressbar',
17
19
  productName: 'Kendo UI for Angular',
18
20
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
19
- publishDate: 1646219371,
21
+ publishDate: 1649876729,
20
22
  version: '',
21
23
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
22
24
  };
@@ -260,88 +262,64 @@ class ProgressBarBase {
260
262
  }
261
263
  }
262
264
  }
263
- __decorate([
264
- HostBinding('class.k-widget'),
265
- HostBinding('class.k-progressbar'),
266
- __metadata("design:type", Boolean)
267
- ], ProgressBarBase.prototype, "widgetClasses", void 0);
268
- __decorate([
269
- HostBinding('class.k-progressbar-horizontal'),
270
- __metadata("design:type", Boolean),
271
- __metadata("design:paramtypes", [])
272
- ], ProgressBarBase.prototype, "isHorizontal", null);
273
- __decorate([
274
- HostBinding('class.k-progressbar-vertical'),
275
- __metadata("design:type", Boolean),
276
- __metadata("design:paramtypes", [])
277
- ], ProgressBarBase.prototype, "isVertical", null);
278
- __decorate([
279
- HostBinding('class.k-state-disabled'),
280
- __metadata("design:type", Boolean),
281
- __metadata("design:paramtypes", [])
282
- ], ProgressBarBase.prototype, "disabledClass", null);
283
- __decorate([
284
- HostBinding('class.k-progressbar-reverse'),
285
- __metadata("design:type", Boolean),
286
- __metadata("design:paramtypes", [])
287
- ], ProgressBarBase.prototype, "reverseClass", null);
288
- __decorate([
289
- HostBinding('class.k-progressbar-indeterminate'),
290
- __metadata("design:type", Boolean),
291
- __metadata("design:paramtypes", [])
292
- ], ProgressBarBase.prototype, "indeterminateClass", null);
293
- __decorate([
294
- HostBinding('attr.dir'),
295
- __metadata("design:type", String),
296
- __metadata("design:paramtypes", [])
297
- ], ProgressBarBase.prototype, "dirAttribute", null);
298
- __decorate([
299
- HostBinding('attr.role'),
300
- __metadata("design:type", String)
301
- ], ProgressBarBase.prototype, "roleAttribute", void 0);
302
- __decorate([
303
- HostBinding('attr.aria-valuemin'),
304
- __metadata("design:type", String),
305
- __metadata("design:paramtypes", [])
306
- ], ProgressBarBase.prototype, "ariaMinAttribute", null);
307
- __decorate([
308
- HostBinding('attr.aria-valuemax'),
309
- __metadata("design:type", String),
310
- __metadata("design:paramtypes", [])
311
- ], ProgressBarBase.prototype, "ariaMaxAttribute", null);
312
- __decorate([
313
- HostBinding('attr.aria-valuenow'),
314
- __metadata("design:type", String),
315
- __metadata("design:paramtypes", [])
316
- ], ProgressBarBase.prototype, "ariaValueAttribute", null);
317
- __decorate([
318
- Input(),
319
- __metadata("design:type", Number)
320
- ], ProgressBarBase.prototype, "max", void 0);
321
- __decorate([
322
- Input(),
323
- __metadata("design:type", Number)
324
- ], ProgressBarBase.prototype, "min", void 0);
325
- __decorate([
326
- Input(),
327
- __metadata("design:type", Number)
328
- ], ProgressBarBase.prototype, "value", void 0);
329
- __decorate([
330
- Input(),
331
- __metadata("design:type", String)
332
- ], ProgressBarBase.prototype, "orientation", void 0);
333
- __decorate([
334
- Input(),
335
- __metadata("design:type", Boolean)
336
- ], ProgressBarBase.prototype, "disabled", void 0);
337
- __decorate([
338
- Input(),
339
- __metadata("design:type", Boolean)
340
- ], ProgressBarBase.prototype, "reverse", void 0);
341
- __decorate([
342
- Input(),
343
- __metadata("design:type", Boolean)
344
- ], ProgressBarBase.prototype, "indeterminate", void 0);
265
+ ProgressBarBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProgressBarBase, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
266
+ ProgressBarBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ProgressBarBase, selector: "ng-component", inputs: { max: "max", min: "min", value: "value", orientation: "orientation", disabled: "disabled", reverse: "reverse", indeterminate: "indeterminate" }, host: { properties: { "class.k-widget": "this.widgetClasses", "class.k-progressbar": "this.widgetClasses", "class.k-progressbar-horizontal": "this.isHorizontal", "class.k-progressbar-vertical": "this.isVertical", "class.k-state-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 });
267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProgressBarBase, decorators: [{
268
+ type: Component,
269
+ args: [{
270
+ template: ''
271
+ }]
272
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { widgetClasses: [{
273
+ type: HostBinding,
274
+ args: ['class.k-widget']
275
+ }, {
276
+ type: HostBinding,
277
+ args: ['class.k-progressbar']
278
+ }], isHorizontal: [{
279
+ type: HostBinding,
280
+ args: ['class.k-progressbar-horizontal']
281
+ }], isVertical: [{
282
+ type: HostBinding,
283
+ args: ['class.k-progressbar-vertical']
284
+ }], disabledClass: [{
285
+ type: HostBinding,
286
+ args: ['class.k-state-disabled']
287
+ }], reverseClass: [{
288
+ type: HostBinding,
289
+ args: ['class.k-progressbar-reverse']
290
+ }], indeterminateClass: [{
291
+ type: HostBinding,
292
+ args: ['class.k-progressbar-indeterminate']
293
+ }], dirAttribute: [{
294
+ type: HostBinding,
295
+ args: ['attr.dir']
296
+ }], roleAttribute: [{
297
+ type: HostBinding,
298
+ args: ['attr.role']
299
+ }], ariaMinAttribute: [{
300
+ type: HostBinding,
301
+ args: ['attr.aria-valuemin']
302
+ }], ariaMaxAttribute: [{
303
+ type: HostBinding,
304
+ args: ['attr.aria-valuemax']
305
+ }], ariaValueAttribute: [{
306
+ type: HostBinding,
307
+ args: ['attr.aria-valuenow']
308
+ }], max: [{
309
+ type: Input
310
+ }], min: [{
311
+ type: Input
312
+ }], value: [{
313
+ type: Input
314
+ }], orientation: [{
315
+ type: Input
316
+ }], disabled: [{
317
+ type: Input
318
+ }], reverse: [{
319
+ type: Input
320
+ }], indeterminate: [{
321
+ type: Input
322
+ }] } });
345
323
 
346
324
  /**
347
325
  * Represents the [Kendo UI ProgressBar component for Angular]({% slug overview_progressbar %}).
@@ -360,7 +338,7 @@ __decorate([
360
338
  * }
361
339
  * ```
362
340
  */
363
- let ProgressBarComponent = class ProgressBarComponent extends ProgressBarBase {
341
+ class ProgressBarComponent extends ProgressBarBase {
364
342
  /**
365
343
  * @hidden
366
344
  */
@@ -548,48 +526,51 @@ let ProgressBarComponent = class ProgressBarComponent extends ProgressBarBase {
548
526
  this.isAnimationInProgress = false;
549
527
  });
550
528
  }
551
- };
552
- __decorate([
553
- Input(),
554
- __metadata("design:type", Object)
555
- ], ProgressBarComponent.prototype, "label", void 0);
556
- __decorate([
557
- Input(),
558
- __metadata("design:type", Object)
559
- ], ProgressBarComponent.prototype, "progressCssStyle", void 0);
560
- __decorate([
561
- Input(),
562
- __metadata("design:type", Object)
563
- ], ProgressBarComponent.prototype, "progressCssClass", void 0);
564
- __decorate([
565
- Input(),
566
- __metadata("design:type", Object)
567
- ], ProgressBarComponent.prototype, "emptyCssStyle", void 0);
568
- __decorate([
569
- Input(),
570
- __metadata("design:type", Object)
571
- ], ProgressBarComponent.prototype, "emptyCssClass", void 0);
572
- __decorate([
573
- Input(),
574
- __metadata("design:type", Object)
575
- ], ProgressBarComponent.prototype, "animation", void 0);
576
- __decorate([
577
- Output(),
578
- __metadata("design:type", EventEmitter)
579
- ], ProgressBarComponent.prototype, "animationEnd", void 0);
580
- __decorate([
581
- ViewChild('progressStatus', { static: false }),
582
- __metadata("design:type", ElementRef)
583
- ], ProgressBarComponent.prototype, "progressStatusElement", void 0);
584
- __decorate([
585
- ViewChild('progressStatusWrap', { static: false }),
586
- __metadata("design:type", ElementRef)
587
- ], ProgressBarComponent.prototype, "progressStatusWrapperElement", void 0);
588
- ProgressBarComponent = __decorate([
589
- Component({
590
- exportAs: 'kendoProgressBar',
591
- selector: 'kendo-progressbar',
592
- template: `
529
+ }
530
+ ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
531
+ ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ProgressBarComponent, selector: "kendo-progressbar", inputs: { label: "label", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass", animation: "animation" }, outputs: { animationEnd: "animationEnd" }, providers: [
532
+ LocalizationService,
533
+ {
534
+ provide: L10N_PREFIX,
535
+ useValue: 'kendo.progressbar'
536
+ }
537
+ ], 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: `
538
+ <span class="k-progress-status-wrap"
539
+ [class.k-progress-start]="isPositionStart"
540
+ [class.k-progress-center]="isPositionCenter"
541
+ [class.k-progress-end]="isPositionEnd"
542
+ [ngStyle]="emptyCssStyle"
543
+ [ngClass]="emptyCssClass">
544
+ <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>
545
+ </span>
546
+ <div
547
+ #progressStatus
548
+ class="k-state-selected"
549
+ [class.k-complete]="isCompleted"
550
+ [ngStyle]="progressCssStyle"
551
+ [ngClass]="progressCssClass"
552
+ [style.width.%]="statusWidth"
553
+ [style.height.%]="statusHeight"
554
+ >
555
+ <span
556
+ #progressStatusWrap
557
+ class="k-progress-status-wrap"
558
+ [style.width.%]="statusWrapperWidth"
559
+ [style.height.%]="statusWrapperHeight"
560
+ [class.k-progress-start]="isPositionStart"
561
+ [class.k-progress-center]="isPositionCenter"
562
+ [class.k-progress-end]="isPositionEnd"
563
+ >
564
+ <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>
565
+ </span>
566
+ </div>
567
+ `, isInline: true, directives: [{ type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProgressBarComponent, decorators: [{
569
+ type: Component,
570
+ args: [{
571
+ exportAs: 'kendoProgressBar',
572
+ selector: 'kendo-progressbar',
573
+ template: `
593
574
  <span class="k-progress-status-wrap"
594
575
  [class.k-progress-start]="isPositionStart"
595
576
  [class.k-progress-center]="isPositionCenter"
@@ -620,18 +601,35 @@ ProgressBarComponent = __decorate([
620
601
  </span>
621
602
  </div>
622
603
  `,
623
- providers: [
624
- LocalizationService,
625
- {
626
- provide: L10N_PREFIX,
627
- useValue: 'kendo.progressbar'
628
- }
629
- ]
630
- }),
631
- __metadata("design:paramtypes", [LocalizationService,
632
- NgZone,
633
- Renderer2])
634
- ], ProgressBarComponent);
604
+ providers: [
605
+ LocalizationService,
606
+ {
607
+ provide: L10N_PREFIX,
608
+ useValue: 'kendo.progressbar'
609
+ }
610
+ ]
611
+ }]
612
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { label: [{
613
+ type: Input
614
+ }], progressCssStyle: [{
615
+ type: Input
616
+ }], progressCssClass: [{
617
+ type: Input
618
+ }], emptyCssStyle: [{
619
+ type: Input
620
+ }], emptyCssClass: [{
621
+ type: Input
622
+ }], animation: [{
623
+ type: Input
624
+ }], animationEnd: [{
625
+ type: Output
626
+ }], progressStatusElement: [{
627
+ type: ViewChild,
628
+ args: ['progressStatus', { static: false }]
629
+ }], progressStatusWrapperElement: [{
630
+ type: ViewChild,
631
+ args: ['progressStatusWrap', { static: false }]
632
+ }] } });
635
633
 
636
634
  /**
637
635
  * Represents the [Kendo UI ChunkProgressBar component for Angular]({% slug overview_chunkprogressbar %}).
@@ -650,7 +648,7 @@ ProgressBarComponent = __decorate([
650
648
  * }
651
649
  * ```
652
650
  */
653
- let ChunkProgressBarComponent = class ChunkProgressBarComponent extends ProgressBarBase {
651
+ class ChunkProgressBarComponent extends ProgressBarBase {
654
652
  /**
655
653
  * @hidden
656
654
  */
@@ -701,32 +699,34 @@ let ChunkProgressBarComponent = class ChunkProgressBarComponent extends Progress
701
699
  }
702
700
  return this._orientationStyles;
703
701
  }
704
- };
705
- __decorate([
706
- Input(),
707
- __metadata("design:type", Number)
708
- ], ChunkProgressBarComponent.prototype, "chunkCount", void 0);
709
- __decorate([
710
- Input(),
711
- __metadata("design:type", Object)
712
- ], ChunkProgressBarComponent.prototype, "progressCssStyle", void 0);
713
- __decorate([
714
- Input(),
715
- __metadata("design:type", Object)
716
- ], ChunkProgressBarComponent.prototype, "progressCssClass", void 0);
717
- __decorate([
718
- Input(),
719
- __metadata("design:type", Object)
720
- ], ChunkProgressBarComponent.prototype, "emptyCssStyle", void 0);
721
- __decorate([
722
- Input(),
723
- __metadata("design:type", Object)
724
- ], ChunkProgressBarComponent.prototype, "emptyCssClass", void 0);
725
- ChunkProgressBarComponent = __decorate([
726
- Component({
727
- exportAs: 'kendoChunkProgressBar',
728
- selector: 'kendo-chunkprogressbar',
729
- template: `
702
+ }
703
+ ChunkProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ChunkProgressBarComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
704
+ ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ChunkProgressBarComponent, selector: "kendo-chunkprogressbar", inputs: { chunkCount: "chunkCount", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass" }, providers: [
705
+ LocalizationService,
706
+ {
707
+ provide: L10N_PREFIX,
708
+ useValue: 'kendo.chunkprogressbar'
709
+ }
710
+ ], exportAs: ["kendoChunkProgressBar"], usesInheritance: true, ngImport: i0, template: `
711
+ <ul class="k-reset">
712
+ <li class="k-item" *ngFor="let chunk of chunks; let i = index;"
713
+ [class.k-first]="i === 0"
714
+ [class.k-last]="i === chunkCount - 1"
715
+ [class.k-state-selected]="chunk"
716
+ [ngClass]="chunk ? progressCssClass : emptyCssClass"
717
+ [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"
718
+ [style.width]="orientationStyles.width"
719
+ [style.height]="orientationStyles.height"
720
+ >
721
+ </li>
722
+ </ul>
723
+ `, isInline: true, directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
724
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ChunkProgressBarComponent, decorators: [{
725
+ type: Component,
726
+ args: [{
727
+ exportAs: 'kendoChunkProgressBar',
728
+ selector: 'kendo-chunkprogressbar',
729
+ template: `
730
730
  <ul class="k-reset">
731
731
  <li class="k-item" *ngFor="let chunk of chunks; let i = index;"
732
732
  [class.k-first]="i === 0"
@@ -740,16 +740,25 @@ ChunkProgressBarComponent = __decorate([
740
740
  </li>
741
741
  </ul>
742
742
  `,
743
- providers: [
744
- LocalizationService,
745
- {
746
- provide: L10N_PREFIX,
747
- useValue: 'kendo.chunkprogressbar'
748
- }
749
- ]
750
- }),
751
- __metadata("design:paramtypes", [LocalizationService])
752
- ], ChunkProgressBarComponent);
743
+ providers: [
744
+ LocalizationService,
745
+ {
746
+ provide: L10N_PREFIX,
747
+ useValue: 'kendo.chunkprogressbar'
748
+ }
749
+ ]
750
+ }]
751
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { chunkCount: [{
752
+ type: Input
753
+ }], progressCssStyle: [{
754
+ type: Input
755
+ }], progressCssClass: [{
756
+ type: Input
757
+ }], emptyCssStyle: [{
758
+ type: Input
759
+ }], emptyCssClass: [{
760
+ type: Input
761
+ }] } });
753
762
 
754
763
  const COMPONENT_DIRECTIVES = [ProgressBarComponent, ChunkProgressBarComponent];
755
764
  const MODULES = [CommonModule];
@@ -784,18 +793,23 @@ const MODULES = [CommonModule];
784
793
  *
785
794
  * ```
786
795
  */
787
- let ProgressBarModule = class ProgressBarModule {
788
- };
789
- ProgressBarModule = __decorate([
790
- NgModule({
791
- declarations: COMPONENT_DIRECTIVES,
792
- exports: COMPONENT_DIRECTIVES,
793
- imports: MODULES
794
- })
795
- ], ProgressBarModule);
796
+ class ProgressBarModule {
797
+ }
798
+ ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
799
+ ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProgressBarModule, declarations: [ProgressBarComponent, ChunkProgressBarComponent], imports: [CommonModule], exports: [ProgressBarComponent, ChunkProgressBarComponent] });
800
+ ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProgressBarModule, imports: [MODULES] });
801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProgressBarModule, decorators: [{
802
+ type: NgModule,
803
+ args: [{
804
+ declarations: COMPONENT_DIRECTIVES,
805
+ exports: COMPONENT_DIRECTIVES,
806
+ imports: MODULES
807
+ }]
808
+ }] });
796
809
 
797
810
  /**
798
811
  * Generated bundle index. Do not edit.
799
812
  */
800
813
 
801
- export { ProgressBarBase, ProgressBarComponent, ChunkProgressBarComponent, ProgressBarModule };
814
+ export { ChunkProgressBarComponent, ProgressBarComponent, ProgressBarModule };
815
+
@@ -5,5 +5,5 @@
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
+ /// <amd-module name="@progress/kendo-angular-progressbar" />
8
9
  export * from './main';
9
- export { ProgressBarBase } from './common/progressbar-base';
File without changes