@progress/kendo-angular-progressbar 2.0.4-dev.202202251420 → 3.0.0-dev.202204191148
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/bundles/kendo-angular-progressbar.umd.js +5 -0
- package/{dist/es2015/chunk → chunk}/chunk-progressbar.component.d.ts +6 -3
- package/{dist/es2015/common → common}/constants.d.ts +0 -0
- package/{dist/es2015/common → common}/progressbar-base.d.ts +19 -16
- package/{dist/es2015/common → common}/util.d.ts +0 -0
- package/{dist/es2015 → esm2015}/chunk/chunk-progressbar.component.js +51 -39
- package/{dist/es2015 → esm2015}/common/constants.js +0 -0
- package/{dist/es2015 → esm2015}/common/progressbar-base.js +61 -84
- package/{dist/es2015 → esm2015}/common/util.js +0 -3
- package/{dist/es2015/index.d.ts → esm2015/kendo-angular-progressbar.js} +0 -1
- package/{dist/es → esm2015}/main.js +0 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/progressbar.component.js +79 -58
- package/{dist/es2015 → esm2015}/progressbar.module.js +14 -11
- package/{dist/es2015 → esm2015}/types/animation-end-event.js +1 -0
- package/{dist/es2015 → esm2015}/types/animation-options.interface.js +1 -0
- package/{dist/es2015 → esm2015}/types/label-fn-type.js +1 -0
- package/{dist/es → esm2015}/types/label-position.js +1 -0
- package/{dist/es → esm2015}/types/label-settings.interface.js +1 -0
- package/{dist/es → esm2015}/types/label-type.js +1 -0
- package/{dist/es → esm2015}/types/progressbar-animation.interface.js +1 -0
- package/{dist/es → esm2015}/types/progressbar-orientation.js +1 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-progressbar.js} +201 -187
- package/{dist/es/index.js → kendo-angular-progressbar.d.ts} +1 -1
- package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +30 -102
- package/{dist/es2015/progressbar.component.d.ts → progressbar.component.d.ts} +10 -7
- package/{dist/es2015/progressbar.module.d.ts → progressbar.module.d.ts} +7 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/types → types}/animation-end-event.d.ts +0 -0
- package/{dist/es2015/types → types}/animation-options.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/label-fn-type.d.ts +0 -0
- package/{dist/es2015/types → types}/label-position.d.ts +0 -0
- package/{dist/es2015/types → types}/label-settings.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/label-type.d.ts +0 -0
- package/{dist/es2015/types → types}/progressbar-animation.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/progressbar-orientation.d.ts +0 -0
- package/dist/cdn/js/kendo-angular-progressbar.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/chunk/chunk-progressbar.component.js +0 -129
- package/dist/es/common/constants.js +0 -16
- package/dist/es/common/progressbar-base.js +0 -305
- package/dist/es/common/util.js +0 -86
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/progressbar.component.js +0 -304
- package/dist/es/progressbar.module.js +0 -55
- package/dist/es/types/animation-end-event.js +0 -4
- package/dist/es/types/animation-options.interface.js +0 -4
- package/dist/es/types/label-fn-type.js +0 -4
- package/dist/es2015/index.js +0 -9
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -7
- package/dist/es2015/types/label-position.js +0 -4
- package/dist/es2015/types/label-settings.interface.js +0 -4
- package/dist/es2015/types/label-type.js +0 -4
- package/dist/es2015/types/progressbar-animation.interface.js +0 -4
- package/dist/es2015/types/progressbar-orientation.js +0 -4
- package/dist/fesm5/index.js +0 -875
- package/dist/npm/chunk/chunk-progressbar.component.js +0 -131
- package/dist/npm/common/constants.js +0 -18
- package/dist/npm/common/progressbar-base.js +0 -307
- package/dist/npm/common/util.js +0 -89
- package/dist/npm/index.js +0 -13
- package/dist/npm/main.js +0 -12
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/progressbar.component.js +0 -306
- package/dist/npm/progressbar.module.js +0 -57
- package/dist/npm/types/animation-end-event.js +0 -6
- package/dist/npm/types/animation-options.interface.js +0 -6
- package/dist/npm/types/label-fn-type.js +0 -6
- package/dist/npm/types/label-position.js +0 -6
- package/dist/npm/types/label-settings.interface.js +0 -6
- package/dist/npm/types/label-type.js +0 -6
- package/dist/npm/types/progressbar-animation.interface.js +0 -6
- package/dist/npm/types/progressbar-orientation.js +0 -6
- 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
|
|
6
|
-
import { isDevMode, HostBinding, Input, EventEmitter, Output, ViewChild,
|
|
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:
|
|
21
|
+
publishDate: 1650368877,
|
|
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
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
],
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
],
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
],
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
],
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
]
|
|
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
|
-
|
|
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
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
],
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
]
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
]
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
]
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
]
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
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
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
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
|
-
|
|
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
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
],
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
]
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
]
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
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
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
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
|
-
|
|
788
|
-
}
|
|
789
|
-
ProgressBarModule =
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
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 {
|
|
814
|
+
export { ChunkProgressBarComponent, ProgressBarComponent, ProgressBarModule };
|
|
815
|
+
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,98 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-progressbar",
|
|
3
|
+
"version": "3.0.0-dev.202204191148",
|
|
3
4
|
"description": "Kendo UI Angular component starter template",
|
|
4
|
-
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"jsdelivr": "dist/cdn/main.js",
|
|
15
|
-
"unpkg": "dist/cdn/main.js",
|
|
16
|
-
"sideEffects": false,
|
|
17
|
-
"scripts": {
|
|
18
|
-
"test": "ci-angular-test",
|
|
19
|
-
"test:watch": "jest --watch --env=jsdom",
|
|
20
|
-
"test:ci": "ci-angular-test",
|
|
21
|
-
"start": "gulp start",
|
|
22
|
-
"e2e": "gulp e2e",
|
|
23
|
-
"e2e:ci": "ci-angular-e2e",
|
|
24
|
-
"lint": "gulp lint && gulp lint-docs",
|
|
25
|
-
"api-check": "gulp api-check",
|
|
26
|
-
"build-package": "gulp build-package",
|
|
27
|
-
"semantic-release": "semantic-release pre && semantic-prerelease publish --public && semantic-release post"
|
|
6
|
+
"author": "Progress",
|
|
7
|
+
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/telerik/kendo-angular-progressbar.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/telerik/kendo-angular"
|
|
28
14
|
},
|
|
29
15
|
"keywords": [
|
|
16
|
+
"Angular",
|
|
17
|
+
"ProgressBar",
|
|
30
18
|
"Kendo UI",
|
|
31
|
-
"
|
|
19
|
+
"Progress"
|
|
32
20
|
],
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"@angular/core": "8 - 13",
|
|
36
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
37
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
38
|
-
"@progress/kendo-licensing": "^1.0.2",
|
|
39
|
-
"rxjs": "^6.4.0 || ^7.0.0"
|
|
21
|
+
"@progress": {
|
|
22
|
+
"friendlyName": "ProgressBars"
|
|
40
23
|
},
|
|
41
24
|
"dependencies": {
|
|
42
|
-
"@progress/kendo-schematics": "^
|
|
43
|
-
"tslib": "^
|
|
25
|
+
"@progress/kendo-schematics": "^3.0.0",
|
|
26
|
+
"tslib": "^2.3.1"
|
|
44
27
|
},
|
|
45
|
-
"
|
|
46
|
-
"@angular
|
|
47
|
-
"@angular
|
|
48
|
-
"@angular
|
|
49
|
-
"@angular
|
|
50
|
-
"@angular/compiler": "^8.2.0",
|
|
51
|
-
"@angular/compiler-cli": "^8.2.0",
|
|
52
|
-
"@angular/core": "^8.2.0",
|
|
53
|
-
"@angular/forms": "^8.2.0",
|
|
54
|
-
"@angular/platform-browser": "^8.2.0",
|
|
55
|
-
"@angular/platform-browser-dynamic": "^8.2.0",
|
|
56
|
-
"@angular/platform-server": "^8.2.0",
|
|
57
|
-
"@angular/router": "^8.2.0",
|
|
58
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
59
|
-
"@progress/kendo-angular-buttons": "^6.0.0",
|
|
60
|
-
"@progress/kendo-angular-dropdowns": "^5.0.0",
|
|
61
|
-
"@progress/kendo-angular-e2e": "^3.3.0",
|
|
62
|
-
"@progress/kendo-angular-inputs": "^7.0.0",
|
|
63
|
-
"@progress/kendo-angular-intl": "^3.0.0",
|
|
64
|
-
"@progress/kendo-angular-jest-preset": "^2.0.0",
|
|
65
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
66
|
-
"@progress/kendo-angular-label": "^3.0.0",
|
|
67
|
-
"@progress/kendo-angular-popup": "^4.0.0",
|
|
68
|
-
"@progress/kendo-angular-tasks": "cdn-bundle",
|
|
69
|
-
"@progress/kendo-angular-treeview": "^5.0.0",
|
|
70
|
-
"@progress/kendo-drawing": "^1.5.8",
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@angular/common": "12 - 14",
|
|
30
|
+
"@angular/core": "12 - 14",
|
|
31
|
+
"@progress/kendo-angular-common": "^3.0.0",
|
|
32
|
+
"@progress/kendo-angular-l10n": "^4.0.0",
|
|
71
33
|
"@progress/kendo-licensing": "^1.0.2",
|
|
72
|
-
"
|
|
73
|
-
"@progress/kendo-theme-bootstrap": "^5.0.0",
|
|
74
|
-
"@progress/kendo-theme-default": "^5.0.0",
|
|
75
|
-
"@progress/kendo-theme-material": "^5.0.0",
|
|
76
|
-
"@telerik/semantic-prerelease": "^1.0.0",
|
|
77
|
-
"@types/jest": "^24.9.0",
|
|
78
|
-
"@types/node": "ts3.4",
|
|
79
|
-
"@types/zone.js": "0.0.27",
|
|
80
|
-
"codelyzer": "^5.0.0",
|
|
81
|
-
"core-js": "^2.2.2",
|
|
82
|
-
"cz-conventional-changelog": "^1.1.5",
|
|
83
|
-
"ghooks": "^1.0.3",
|
|
84
|
-
"gulp": "^4.0.0",
|
|
85
|
-
"jest": "^24.9.0",
|
|
86
|
-
"jest-cli": "^24.9.0",
|
|
87
|
-
"jest-environment-jsdom": "^24.9.0",
|
|
88
|
-
"jest-junit": "^12.2.0",
|
|
89
|
-
"rxjs": "~6.4.0",
|
|
90
|
-
"rxjs-tslint-rules": "^4.23.1",
|
|
91
|
-
"semantic-release": "^6.3.6",
|
|
92
|
-
"tslint": "^5.20.1",
|
|
93
|
-
"typescript": "~3.4.5",
|
|
94
|
-
"validate-commit-msg": "^1.1.1",
|
|
95
|
-
"zone.js": "~0.9.1"
|
|
34
|
+
"rxjs": "^6.5.3 || ^7.0.0"
|
|
96
35
|
},
|
|
97
36
|
"config": {
|
|
98
37
|
"commitizen": {
|
|
@@ -117,20 +56,7 @@
|
|
|
117
56
|
"maxSubjectLength": 100
|
|
118
57
|
}
|
|
119
58
|
},
|
|
120
|
-
"
|
|
121
|
-
"preset": "@progress/kendo-angular-jest-preset"
|
|
122
|
-
},
|
|
123
|
-
"repository": {
|
|
124
|
-
"type": "git",
|
|
125
|
-
"url": "https://github.com/telerik/kendo-angular-progressbar.git"
|
|
126
|
-
},
|
|
127
|
-
"bugs": {
|
|
128
|
-
"url": "https://github.com/telerik/kendo-angular"
|
|
129
|
-
},
|
|
130
|
-
"@progress": {
|
|
131
|
-
"friendlyName": "ProgressBars"
|
|
132
|
-
},
|
|
133
|
-
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
59
|
+
"schematics": "./schematics/collection.json",
|
|
134
60
|
"release": {
|
|
135
61
|
"debug": false,
|
|
136
62
|
"branchTags": {
|
|
@@ -145,9 +71,11 @@
|
|
|
145
71
|
"verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
|
|
146
72
|
"verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
|
|
147
73
|
},
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
74
|
+
"main": "bundles/kendo-angular-progressbar.umd.js",
|
|
75
|
+
"module": "fesm2015/kendo-angular-progressbar.js",
|
|
76
|
+
"es2015": "fesm2015/kendo-angular-progressbar.js",
|
|
77
|
+
"esm2015": "esm2015/kendo-angular-progressbar.js",
|
|
78
|
+
"fesm2015": "fesm2015/kendo-angular-progressbar.js",
|
|
79
|
+
"typings": "kendo-angular-progressbar.d.ts",
|
|
80
|
+
"sideEffects": false
|
|
153
81
|
}
|