@progress/kendo-angular-progressbar 16.5.0 → 16.6.0-develop.2
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/chunk/chunk-progressbar.component.d.ts +1 -1
- package/circularprogressbar/center-template.directive.d.ts +1 -1
- package/circularprogressbar/circular-progressbar.component.d.ts +1 -1
- package/common/localization/custom-messages.component.d.ts +1 -1
- package/common/localization/localized-messages.directive.d.ts +1 -1
- package/directives.d.ts +13 -0
- package/esm2020/chunk/chunk-progressbar.component.mjs +7 -5
- package/esm2020/circularprogressbar/center-template.directive.mjs +3 -2
- package/esm2020/circularprogressbar/circular-progressbar.component.mjs +8 -7
- package/esm2020/common/localization/custom-messages.component.mjs +3 -2
- package/esm2020/common/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/directives.mjs +27 -0
- package/esm2020/index.mjs +1 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/progressbar.component.mjs +7 -5
- package/esm2020/progressbar.module.mjs +16 -32
- package/fesm2015/progress-kendo-angular-progressbar.mjs +53 -42
- package/fesm2020/progress-kendo-angular-progressbar.mjs +53 -42
- package/index.d.ts +1 -0
- package/package.json +4 -4
- package/progressbar.component.d.ts +1 -1
- package/progressbar.module.d.ts +10 -9
|
@@ -82,5 +82,5 @@ export declare class ChunkProgressBarComponent extends ProgressBarBase {
|
|
|
82
82
|
*/
|
|
83
83
|
constructor(localization: LocalizationService, elem: ElementRef, renderer: Renderer2);
|
|
84
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChunkProgressBarComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChunkProgressBarComponent, "kendo-chunkprogressbar", ["kendoChunkProgressBar"], { "chunkCount": "chunkCount"; "progressCssStyle": "progressCssStyle"; "progressCssClass": "progressCssClass"; "emptyCssStyle": "emptyCssStyle"; "emptyCssClass": "emptyCssClass"; }, {}, never, never,
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChunkProgressBarComponent, "kendo-chunkprogressbar", ["kendoChunkProgressBar"], { "chunkCount": "chunkCount"; "progressCssStyle": "progressCssStyle"; "progressCssClass": "progressCssClass"; "emptyCssStyle": "emptyCssStyle"; "emptyCssClass": "emptyCssClass"; }, {}, never, never, true, never>;
|
|
86
86
|
}
|
|
@@ -12,5 +12,5 @@ export declare class CircularProgressbarCenterTemplateDirective {
|
|
|
12
12
|
templateRef: TemplateRef<unknown>;
|
|
13
13
|
constructor(templateRef: TemplateRef<unknown>);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularProgressbarCenterTemplateDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CircularProgressbarCenterTemplateDirective, "[kendoCircularProgressbarCenterTemplate]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CircularProgressbarCenterTemplateDirective, "[kendoCircularProgressbarCenterTemplate]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -117,5 +117,5 @@ export declare class CircularProgressBarComponent implements AfterViewInit, OnCh
|
|
|
117
117
|
private setDirection;
|
|
118
118
|
private rtlChange;
|
|
119
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularProgressBarComponent, never>;
|
|
120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CircularProgressBarComponent, "kendo-circularprogressbar", ["kendoCircularProgressBar"], { "value": "value"; "max": "max"; "min": "min"; "animation": "animation"; "opacity": "opacity"; "indeterminate": "indeterminate"; "progressColor": "progressColor"; }, { "animationEnd": "animationEnd"; }, ["centerTemplate"], never,
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircularProgressBarComponent, "kendo-circularprogressbar", ["kendoCircularProgressBar"], { "value": "value"; "max": "max"; "min": "min"; "animation": "animation"; "opacity": "opacity"; "indeterminate": "indeterminate"; "progressColor": "progressColor"; }, { "animationEnd": "animationEnd"; }, ["centerTemplate"], never, true, never>;
|
|
121
121
|
}
|
|
@@ -14,5 +14,5 @@ export declare class ProgressBarCustomMessagesComponent extends ProgressBarMessa
|
|
|
14
14
|
constructor(service: LocalizationService);
|
|
15
15
|
protected get override(): boolean;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarCustomMessagesComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarCustomMessagesComponent, "kendo-progressbar-messages", never, {}, {}, never, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarCustomMessagesComponent, "kendo-progressbar-messages", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -12,5 +12,5 @@ export declare class LocalizedProgressBarMessagesDirective extends ProgressBarMe
|
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedProgressBarMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedProgressBarMessagesDirective, "[kendoProgressBarLocalizedMessages]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedProgressBarMessagesDirective, "[kendoProgressBarLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
package/directives.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ChunkProgressBarComponent } from "./chunk/chunk-progressbar.component";
|
|
6
|
+
import { CircularProgressbarCenterTemplateDirective } from "./circularprogressbar/center-template.directive";
|
|
7
|
+
import { CircularProgressBarComponent } from "./circularprogressbar/circular-progressbar.component";
|
|
8
|
+
import { ProgressBarCustomMessagesComponent } from "./common/localization/custom-messages.component";
|
|
9
|
+
import { ProgressBarComponent } from "./progressbar.component";
|
|
10
|
+
export declare const KENDO_CHUNKPROGRESSBAR: readonly [typeof ChunkProgressBarComponent, typeof ProgressBarCustomMessagesComponent];
|
|
11
|
+
export declare const KENDO_CIRCULARPROGRESSBAR: readonly [typeof CircularProgressbarCenterTemplateDirective, typeof CircularProgressBarComponent, typeof ProgressBarCustomMessagesComponent];
|
|
12
|
+
export declare const KENDO_PROGRESSBAR: readonly [typeof ProgressBarComponent, typeof ProgressBarCustomMessagesComponent];
|
|
13
|
+
export declare const KENDO_PROGRESSBARS: readonly [typeof ChunkProgressBarComponent, typeof ProgressBarCustomMessagesComponent, typeof CircularProgressbarCenterTemplateDirective, typeof CircularProgressBarComponent, typeof ProgressBarCustomMessagesComponent, typeof ProgressBarComponent, typeof ProgressBarCustomMessagesComponent];
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
import { ProgressBarBase } from '../common/progressbar-base';
|
|
6
6
|
import { Component, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core';
|
|
7
7
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { NgFor, NgClass, NgStyle } from '@angular/common';
|
|
9
|
+
import { LocalizedProgressBarMessagesDirective } from '../common/localization/localized-messages.directive';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
|
-
import * as i2 from "@angular/common";
|
|
11
|
-
import * as i3 from "../common/localization/localized-messages.directive";
|
|
12
12
|
/**
|
|
13
13
|
* Represents the [Kendo UI ChunkProgressBar component for Angular]({% slug overview_chunkprogressbar %}).
|
|
14
14
|
*
|
|
@@ -80,7 +80,7 @@ export class ChunkProgressBarComponent extends ProgressBarBase {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
ChunkProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChunkProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
-
ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChunkProgressBarComponent, selector: "kendo-chunkprogressbar", inputs: { chunkCount: "chunkCount", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass" }, host: { properties: { "class.k-chunk-progressbar": "this.chunkClass" } }, providers: [
|
|
83
|
+
ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
|
|
84
84
|
LocalizationService,
|
|
85
85
|
{
|
|
86
86
|
provide: L10N_PREFIX,
|
|
@@ -104,7 +104,7 @@ ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
104
104
|
>
|
|
105
105
|
</li>
|
|
106
106
|
</ul>
|
|
107
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
107
|
+
`, 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"] }] });
|
|
108
108
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChunkProgressBarComponent, decorators: [{
|
|
109
109
|
type: Component,
|
|
110
110
|
args: [{
|
|
@@ -135,7 +135,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
135
135
|
provide: L10N_PREFIX,
|
|
136
136
|
useValue: 'kendo.chunkprogressbar'
|
|
137
137
|
}
|
|
138
|
-
]
|
|
138
|
+
],
|
|
139
|
+
standalone: true,
|
|
140
|
+
imports: [LocalizedProgressBarMessagesDirective, NgFor, NgClass, NgStyle]
|
|
139
141
|
}]
|
|
140
142
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { chunkClass: [{
|
|
141
143
|
type: HostBinding,
|
|
@@ -14,10 +14,11 @@ export class CircularProgressbarCenterTemplateDirective {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
CircularProgressbarCenterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
-
CircularProgressbarCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressbarCenterTemplateDirective, selector: "[kendoCircularProgressbarCenterTemplate]", ngImport: i0 });
|
|
17
|
+
CircularProgressbarCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressbarCenterTemplateDirective, isStandalone: true, selector: "[kendoCircularProgressbarCenterTemplate]", ngImport: i0 });
|
|
18
18
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, decorators: [{
|
|
19
19
|
type: Directive,
|
|
20
20
|
args: [{
|
|
21
|
-
selector: '[kendoCircularProgressbarCenterTemplate]'
|
|
21
|
+
selector: '[kendoCircularProgressbarCenterTemplate]',
|
|
22
|
+
standalone: true
|
|
22
23
|
}]
|
|
23
24
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChangeDetectorRef, Component, ContentChild, ElementRef, EventEmitter, HostBinding, Input, isDevMode, NgZone, Output, Renderer2, ViewChild } from '@angular/core';
|
|
6
|
-
import { hasObservers, isChanged, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
6
|
+
import { hasObservers, isChanged, isDocumentAvailable, ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
9
|
import { Subscription } from 'rxjs';
|
|
@@ -11,11 +11,10 @@ import { take } from 'rxjs/operators';
|
|
|
11
11
|
import { hasElementSize, removeProgressBarStyles, setProgressBarStyles } from '../common/util';
|
|
12
12
|
import { packageMetadata } from '../package-metadata';
|
|
13
13
|
import { CircularProgressbarCenterTemplateDirective } from './center-template.directive';
|
|
14
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
15
|
+
import { LocalizedProgressBarMessagesDirective } from '../common/localization/localized-messages.directive';
|
|
14
16
|
import * as i0 from "@angular/core";
|
|
15
17
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
16
|
-
import * as i2 from "@angular/common";
|
|
17
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
18
|
-
import * as i4 from "../common/localization/localized-messages.directive";
|
|
19
18
|
const DEFAULT_SURFACE_SIZE = 200;
|
|
20
19
|
/**
|
|
21
20
|
* Represents the [Kendo UI Circular ProgressBar component for Angular]({% slug overview_circularprogressbar %}).
|
|
@@ -379,7 +378,7 @@ export class CircularProgressBarComponent {
|
|
|
379
378
|
}
|
|
380
379
|
}
|
|
381
380
|
CircularProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressBarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
382
|
-
CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressBarComponent, 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: [
|
|
381
|
+
CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
|
|
383
382
|
LocalizationService,
|
|
384
383
|
{
|
|
385
384
|
provide: L10N_PREFIX,
|
|
@@ -405,7 +404,7 @@ CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
405
404
|
</div>
|
|
406
405
|
</div>
|
|
407
406
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
408
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
407
|
+
`, 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"] }] });
|
|
409
408
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressBarComponent, decorators: [{
|
|
410
409
|
type: Component,
|
|
411
410
|
args: [{
|
|
@@ -437,7 +436,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
437
436
|
provide: L10N_PREFIX,
|
|
438
437
|
useValue: 'kendo.circularprogressbar'
|
|
439
438
|
}
|
|
440
|
-
]
|
|
439
|
+
],
|
|
440
|
+
standalone: true,
|
|
441
|
+
imports: [LocalizedProgressBarMessagesDirective, NgIf, NgTemplateOutlet, ResizeSensorComponent]
|
|
441
442
|
}]
|
|
442
443
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
|
443
444
|
type: HostBinding,
|
|
@@ -21,7 +21,7 @@ export class ProgressBarCustomMessagesComponent extends ProgressBarMessages {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
ProgressBarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
ProgressBarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarCustomMessagesComponent, selector: "kendo-progressbar-messages", providers: [
|
|
24
|
+
ProgressBarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarCustomMessagesComponent, isStandalone: true, selector: "kendo-progressbar-messages", providers: [
|
|
25
25
|
{
|
|
26
26
|
provide: ProgressBarMessages,
|
|
27
27
|
useExisting: forwardRef(() => ProgressBarCustomMessagesComponent)
|
|
@@ -37,6 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
selector: 'kendo-progressbar-messages',
|
|
40
|
-
template:
|
|
40
|
+
template: ``,
|
|
41
|
+
standalone: true
|
|
41
42
|
}]
|
|
42
43
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class LocalizedProgressBarMessagesDirective extends ProgressBarMessages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
LocalizedProgressBarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedProgressBarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
LocalizedProgressBarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedProgressBarMessagesDirective, selector: "[kendoProgressBarLocalizedMessages]", providers: [
|
|
20
|
+
LocalizedProgressBarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedProgressBarMessagesDirective, isStandalone: true, selector: "[kendoProgressBarLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: ProgressBarMessages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedProgressBarMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => LocalizedProgressBarMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: `[kendoProgressBarLocalizedMessages]
|
|
35
|
+
selector: `[kendoProgressBarLocalizedMessages]`,
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ChunkProgressBarComponent } from "./chunk/chunk-progressbar.component";
|
|
6
|
+
import { CircularProgressbarCenterTemplateDirective } from "./circularprogressbar/center-template.directive";
|
|
7
|
+
import { CircularProgressBarComponent } from "./circularprogressbar/circular-progressbar.component";
|
|
8
|
+
import { ProgressBarCustomMessagesComponent } from "./common/localization/custom-messages.component";
|
|
9
|
+
import { ProgressBarComponent } from "./progressbar.component";
|
|
10
|
+
export const KENDO_CHUNKPROGRESSBAR = [
|
|
11
|
+
ChunkProgressBarComponent,
|
|
12
|
+
ProgressBarCustomMessagesComponent
|
|
13
|
+
];
|
|
14
|
+
export const KENDO_CIRCULARPROGRESSBAR = [
|
|
15
|
+
CircularProgressbarCenterTemplateDirective,
|
|
16
|
+
CircularProgressBarComponent,
|
|
17
|
+
ProgressBarCustomMessagesComponent
|
|
18
|
+
];
|
|
19
|
+
export const KENDO_PROGRESSBAR = [
|
|
20
|
+
ProgressBarComponent,
|
|
21
|
+
ProgressBarCustomMessagesComponent
|
|
22
|
+
];
|
|
23
|
+
export const KENDO_PROGRESSBARS = [
|
|
24
|
+
...KENDO_CHUNKPROGRESSBAR,
|
|
25
|
+
...KENDO_CIRCULARPROGRESSBAR,
|
|
26
|
+
...KENDO_PROGRESSBAR
|
|
27
|
+
];
|
package/esm2020/index.mjs
CHANGED
|
@@ -9,3 +9,4 @@ export { ProgressBarModule } from './progressbar.module';
|
|
|
9
9
|
export { CircularProgressbarCenterTemplateDirective } from './circularprogressbar/center-template.directive';
|
|
10
10
|
export { LocalizedProgressBarMessagesDirective } from './common/localization/localized-messages.directive';
|
|
11
11
|
export { ProgressBarCustomMessagesComponent } from './common/localization/custom-messages.component';
|
|
12
|
+
export * from './directives';
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-progressbar',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1721846876,
|
|
13
|
+
version: '16.6.0-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -7,10 +7,10 @@ import { Component, Input, NgZone, Renderer2, ViewChild, ElementRef, Output, Eve
|
|
|
7
7
|
import { formatValue, calculateRatio, runAnimation, stopCurrentAnimation } from './common/util';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { hasObservers } from '@progress/kendo-angular-common';
|
|
10
|
+
import { NgStyle, NgClass, NgIf } from '@angular/common';
|
|
11
|
+
import { LocalizedProgressBarMessagesDirective } from './common/localization/localized-messages.directive';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
|
-
import * as i2 from "@angular/common";
|
|
13
|
-
import * as i3 from "./common/localization/localized-messages.directive";
|
|
14
14
|
/**
|
|
15
15
|
* Represents the [Kendo UI ProgressBar component for Angular]({% slug overview_progressbar %}).
|
|
16
16
|
*
|
|
@@ -219,7 +219,7 @@ export class ProgressBarComponent extends ProgressBarBase {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
222
|
-
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarComponent, selector: "kendo-progressbar", inputs: { label: "label", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass", animation: "animation" }, outputs: { animationEnd: "animationEnd" }, providers: [
|
|
222
|
+
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarComponent, isStandalone: true, selector: "kendo-progressbar", inputs: { label: "label", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass", animation: "animation" }, outputs: { animationEnd: "animationEnd" }, providers: [
|
|
223
223
|
LocalizationService,
|
|
224
224
|
{
|
|
225
225
|
provide: L10N_PREFIX,
|
|
@@ -260,7 +260,7 @@ ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
260
260
|
<span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>
|
|
261
261
|
</span>
|
|
262
262
|
</div>
|
|
263
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
263
|
+
`, 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"] }] });
|
|
264
264
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
265
265
|
type: Component,
|
|
266
266
|
args: [{
|
|
@@ -308,7 +308,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
308
308
|
provide: L10N_PREFIX,
|
|
309
309
|
useValue: 'kendo.progressbar'
|
|
310
310
|
}
|
|
311
|
-
]
|
|
311
|
+
],
|
|
312
|
+
standalone: true,
|
|
313
|
+
imports: [LocalizedProgressBarMessagesDirective, NgStyle, NgClass, NgIf]
|
|
312
314
|
}]
|
|
313
315
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { label: [{
|
|
314
316
|
type: Input
|
|
@@ -2,25 +2,19 @@
|
|
|
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 { ChunkProgressBarComponent } from './chunk/chunk-progressbar.component';
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
10
|
-
import { CircularProgressBarComponent } from './circularprogressbar/circular-progressbar.component';
|
|
11
|
-
import { CircularProgressbarCenterTemplateDirective } from './circularprogressbar/center-template.directive';
|
|
12
|
-
import { LocalizedProgressBarMessagesDirective } from './common/localization/localized-messages.directive';
|
|
13
|
-
import { ProgressBarCustomMessagesComponent } from './common/localization/custom-messages.component';
|
|
6
|
+
import { KENDO_PROGRESSBARS } from './directives';
|
|
7
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
14
8
|
import * as i0 from "@angular/core";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
9
|
+
import * as i1 from "./chunk/chunk-progressbar.component";
|
|
10
|
+
import * as i2 from "./common/localization/custom-messages.component";
|
|
11
|
+
import * as i3 from "./circularprogressbar/center-template.directive";
|
|
12
|
+
import * as i4 from "./circularprogressbar/circular-progressbar.component";
|
|
13
|
+
import * as i5 from "./progressbar.component";
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
* IMPORTANT: NgModule export kept for backwards compatibility
|
|
17
|
+
*/
|
|
24
18
|
/**
|
|
25
19
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
26
20
|
* definition for the ProgressBar components.
|
|
@@ -55,23 +49,13 @@ const MODULES = [CommonModule, ResizeSensorModule];
|
|
|
55
49
|
export class ProgressBarModule {
|
|
56
50
|
}
|
|
57
51
|
ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
58
|
-
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule,
|
|
59
|
-
|
|
60
|
-
CircularProgressBarComponent,
|
|
61
|
-
CircularProgressbarCenterTemplateDirective,
|
|
62
|
-
LocalizedProgressBarMessagesDirective,
|
|
63
|
-
ProgressBarCustomMessagesComponent], imports: [CommonModule, ResizeSensorModule], exports: [ProgressBarComponent,
|
|
64
|
-
ChunkProgressBarComponent,
|
|
65
|
-
CircularProgressBarComponent,
|
|
66
|
-
CircularProgressbarCenterTemplateDirective,
|
|
67
|
-
LocalizedProgressBarMessagesDirective,
|
|
68
|
-
ProgressBarCustomMessagesComponent] });
|
|
69
|
-
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, imports: [MODULES] });
|
|
52
|
+
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, imports: [i1.ChunkProgressBarComponent, i2.ProgressBarCustomMessagesComponent, i3.CircularProgressbarCenterTemplateDirective, i4.CircularProgressBarComponent, i2.ProgressBarCustomMessagesComponent, i5.ProgressBarComponent, i2.ProgressBarCustomMessagesComponent], exports: [i1.ChunkProgressBarComponent, i2.ProgressBarCustomMessagesComponent, i3.CircularProgressbarCenterTemplateDirective, i4.CircularProgressBarComponent, i2.ProgressBarCustomMessagesComponent, i5.ProgressBarComponent, i2.ProgressBarCustomMessagesComponent] });
|
|
53
|
+
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, providers: [ResizeBatchService], imports: [i1.ChunkProgressBarComponent, i2.ProgressBarCustomMessagesComponent, i4.CircularProgressBarComponent, i2.ProgressBarCustomMessagesComponent, i5.ProgressBarComponent, i2.ProgressBarCustomMessagesComponent] });
|
|
70
54
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
71
55
|
type: NgModule,
|
|
72
56
|
args: [{
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
57
|
+
exports: [...KENDO_PROGRESSBARS],
|
|
58
|
+
imports: [...KENDO_PROGRESSBARS],
|
|
59
|
+
providers: [ResizeBatchService]
|
|
76
60
|
}]
|
|
77
61
|
}] });
|
|
@@ -7,10 +7,8 @@ import { isDevMode, Component, HostBinding, Input, Directive, forwardRef, EventE
|
|
|
7
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
8
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import * as i2 from '@angular/common';
|
|
13
|
-
import { CommonModule } from '@angular/common';
|
|
10
|
+
import { hasObservers, isDocumentAvailable, isChanged, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
|
+
import { NgStyle, NgClass, NgIf, NgFor, NgTemplateOutlet } from '@angular/common';
|
|
14
12
|
import { Subscription } from 'rxjs';
|
|
15
13
|
import { take } from 'rxjs/operators';
|
|
16
14
|
|
|
@@ -21,8 +19,8 @@ const packageMetadata = {
|
|
|
21
19
|
name: '@progress/kendo-angular-progressbar',
|
|
22
20
|
productName: 'Kendo UI for Angular',
|
|
23
21
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
24
|
-
publishDate:
|
|
25
|
-
version: '16.
|
|
22
|
+
publishDate: 1721846876,
|
|
23
|
+
version: '16.6.0-develop.2',
|
|
26
24
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
27
25
|
};
|
|
28
26
|
|
|
@@ -370,7 +368,7 @@ class LocalizedProgressBarMessagesDirective extends ProgressBarMessages {
|
|
|
370
368
|
}
|
|
371
369
|
}
|
|
372
370
|
LocalizedProgressBarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedProgressBarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
373
|
-
LocalizedProgressBarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedProgressBarMessagesDirective, selector: "[kendoProgressBarLocalizedMessages]", providers: [
|
|
371
|
+
LocalizedProgressBarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedProgressBarMessagesDirective, isStandalone: true, selector: "[kendoProgressBarLocalizedMessages]", providers: [
|
|
374
372
|
{
|
|
375
373
|
provide: ProgressBarMessages,
|
|
376
374
|
useExisting: forwardRef(() => LocalizedProgressBarMessagesDirective)
|
|
@@ -385,7 +383,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
385
383
|
useExisting: forwardRef(() => LocalizedProgressBarMessagesDirective)
|
|
386
384
|
}
|
|
387
385
|
],
|
|
388
|
-
selector: `[kendoProgressBarLocalizedMessages]
|
|
386
|
+
selector: `[kendoProgressBarLocalizedMessages]`,
|
|
387
|
+
standalone: true
|
|
389
388
|
}]
|
|
390
389
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
391
390
|
|
|
@@ -597,7 +596,7 @@ class ProgressBarComponent extends ProgressBarBase {
|
|
|
597
596
|
}
|
|
598
597
|
}
|
|
599
598
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
600
|
-
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarComponent, selector: "kendo-progressbar", inputs: { label: "label", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass", animation: "animation" }, outputs: { animationEnd: "animationEnd" }, providers: [
|
|
599
|
+
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarComponent, isStandalone: true, selector: "kendo-progressbar", inputs: { label: "label", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass", animation: "animation" }, outputs: { animationEnd: "animationEnd" }, providers: [
|
|
601
600
|
LocalizationService,
|
|
602
601
|
{
|
|
603
602
|
provide: L10N_PREFIX,
|
|
@@ -638,7 +637,7 @@ ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
638
637
|
<span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>
|
|
639
638
|
</span>
|
|
640
639
|
</div>
|
|
641
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
640
|
+
`, 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"] }] });
|
|
642
641
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
643
642
|
type: Component,
|
|
644
643
|
args: [{
|
|
@@ -686,7 +685,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
686
685
|
provide: L10N_PREFIX,
|
|
687
686
|
useValue: 'kendo.progressbar'
|
|
688
687
|
}
|
|
689
|
-
]
|
|
688
|
+
],
|
|
689
|
+
standalone: true,
|
|
690
|
+
imports: [LocalizedProgressBarMessagesDirective, NgStyle, NgClass, NgIf]
|
|
690
691
|
}]
|
|
691
692
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { label: [{
|
|
692
693
|
type: Input
|
|
@@ -781,7 +782,7 @@ class ChunkProgressBarComponent extends ProgressBarBase {
|
|
|
781
782
|
}
|
|
782
783
|
}
|
|
783
784
|
ChunkProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChunkProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
784
|
-
ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChunkProgressBarComponent, selector: "kendo-chunkprogressbar", inputs: { chunkCount: "chunkCount", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass" }, host: { properties: { "class.k-chunk-progressbar": "this.chunkClass" } }, providers: [
|
|
785
|
+
ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
|
|
785
786
|
LocalizationService,
|
|
786
787
|
{
|
|
787
788
|
provide: L10N_PREFIX,
|
|
@@ -805,7 +806,7 @@ ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
805
806
|
>
|
|
806
807
|
</li>
|
|
807
808
|
</ul>
|
|
808
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
809
|
+
`, 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"] }] });
|
|
809
810
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChunkProgressBarComponent, decorators: [{
|
|
810
811
|
type: Component,
|
|
811
812
|
args: [{
|
|
@@ -836,7 +837,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
836
837
|
provide: L10N_PREFIX,
|
|
837
838
|
useValue: 'kendo.chunkprogressbar'
|
|
838
839
|
}
|
|
839
|
-
]
|
|
840
|
+
],
|
|
841
|
+
standalone: true,
|
|
842
|
+
imports: [LocalizedProgressBarMessagesDirective, NgFor, NgClass, NgStyle]
|
|
840
843
|
}]
|
|
841
844
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { chunkClass: [{
|
|
842
845
|
type: HostBinding,
|
|
@@ -863,11 +866,12 @@ class CircularProgressbarCenterTemplateDirective {
|
|
|
863
866
|
}
|
|
864
867
|
}
|
|
865
868
|
CircularProgressbarCenterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
866
|
-
CircularProgressbarCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressbarCenterTemplateDirective, selector: "[kendoCircularProgressbarCenterTemplate]", ngImport: i0 });
|
|
869
|
+
CircularProgressbarCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressbarCenterTemplateDirective, isStandalone: true, selector: "[kendoCircularProgressbarCenterTemplate]", ngImport: i0 });
|
|
867
870
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, decorators: [{
|
|
868
871
|
type: Directive,
|
|
869
872
|
args: [{
|
|
870
|
-
selector: '[kendoCircularProgressbarCenterTemplate]'
|
|
873
|
+
selector: '[kendoCircularProgressbarCenterTemplate]',
|
|
874
|
+
standalone: true
|
|
871
875
|
}]
|
|
872
876
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
873
877
|
|
|
@@ -1234,7 +1238,7 @@ class CircularProgressBarComponent {
|
|
|
1234
1238
|
}
|
|
1235
1239
|
}
|
|
1236
1240
|
CircularProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressBarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1237
|
-
CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressBarComponent, 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: [
|
|
1241
|
+
CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
|
|
1238
1242
|
LocalizationService,
|
|
1239
1243
|
{
|
|
1240
1244
|
provide: L10N_PREFIX,
|
|
@@ -1260,7 +1264,7 @@ CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
1260
1264
|
</div>
|
|
1261
1265
|
</div>
|
|
1262
1266
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1263
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1267
|
+
`, 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"] }] });
|
|
1264
1268
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressBarComponent, decorators: [{
|
|
1265
1269
|
type: Component,
|
|
1266
1270
|
args: [{
|
|
@@ -1292,7 +1296,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1292
1296
|
provide: L10N_PREFIX,
|
|
1293
1297
|
useValue: 'kendo.circularprogressbar'
|
|
1294
1298
|
}
|
|
1295
|
-
]
|
|
1299
|
+
],
|
|
1300
|
+
standalone: true,
|
|
1301
|
+
imports: [LocalizedProgressBarMessagesDirective, NgIf, NgTemplateOutlet, ResizeSensorComponent]
|
|
1296
1302
|
}]
|
|
1297
1303
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
|
1298
1304
|
type: HostBinding,
|
|
@@ -1356,7 +1362,7 @@ class ProgressBarCustomMessagesComponent extends ProgressBarMessages {
|
|
|
1356
1362
|
}
|
|
1357
1363
|
}
|
|
1358
1364
|
ProgressBarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1359
|
-
ProgressBarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarCustomMessagesComponent, selector: "kendo-progressbar-messages", providers: [
|
|
1365
|
+
ProgressBarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarCustomMessagesComponent, isStandalone: true, selector: "kendo-progressbar-messages", providers: [
|
|
1360
1366
|
{
|
|
1361
1367
|
provide: ProgressBarMessages,
|
|
1362
1368
|
useExisting: forwardRef(() => ProgressBarCustomMessagesComponent)
|
|
@@ -1372,19 +1378,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1372
1378
|
}
|
|
1373
1379
|
],
|
|
1374
1380
|
selector: 'kendo-progressbar-messages',
|
|
1375
|
-
template:
|
|
1381
|
+
template: ``,
|
|
1382
|
+
standalone: true
|
|
1376
1383
|
}]
|
|
1377
1384
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
1378
1385
|
|
|
1379
|
-
const
|
|
1380
|
-
ProgressBarComponent,
|
|
1386
|
+
const KENDO_CHUNKPROGRESSBAR = [
|
|
1381
1387
|
ChunkProgressBarComponent,
|
|
1382
|
-
|
|
1388
|
+
ProgressBarCustomMessagesComponent
|
|
1389
|
+
];
|
|
1390
|
+
const KENDO_CIRCULARPROGRESSBAR = [
|
|
1383
1391
|
CircularProgressbarCenterTemplateDirective,
|
|
1384
|
-
|
|
1392
|
+
CircularProgressBarComponent,
|
|
1385
1393
|
ProgressBarCustomMessagesComponent
|
|
1386
1394
|
];
|
|
1387
|
-
const
|
|
1395
|
+
const KENDO_PROGRESSBAR = [
|
|
1396
|
+
ProgressBarComponent,
|
|
1397
|
+
ProgressBarCustomMessagesComponent
|
|
1398
|
+
];
|
|
1399
|
+
const KENDO_PROGRESSBARS = [
|
|
1400
|
+
...KENDO_CHUNKPROGRESSBAR,
|
|
1401
|
+
...KENDO_CIRCULARPROGRESSBAR,
|
|
1402
|
+
...KENDO_PROGRESSBAR
|
|
1403
|
+
];
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* @hidden
|
|
1407
|
+
* IMPORTANT: NgModule export kept for backwards compatibility
|
|
1408
|
+
*/
|
|
1388
1409
|
/**
|
|
1389
1410
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
1390
1411
|
* definition for the ProgressBar components.
|
|
@@ -1419,24 +1440,14 @@ const MODULES = [CommonModule, ResizeSensorModule];
|
|
|
1419
1440
|
class ProgressBarModule {
|
|
1420
1441
|
}
|
|
1421
1442
|
ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1422
|
-
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule,
|
|
1423
|
-
|
|
1424
|
-
CircularProgressBarComponent,
|
|
1425
|
-
CircularProgressbarCenterTemplateDirective,
|
|
1426
|
-
LocalizedProgressBarMessagesDirective,
|
|
1427
|
-
ProgressBarCustomMessagesComponent], imports: [CommonModule, ResizeSensorModule], exports: [ProgressBarComponent,
|
|
1428
|
-
ChunkProgressBarComponent,
|
|
1429
|
-
CircularProgressBarComponent,
|
|
1430
|
-
CircularProgressbarCenterTemplateDirective,
|
|
1431
|
-
LocalizedProgressBarMessagesDirective,
|
|
1432
|
-
ProgressBarCustomMessagesComponent] });
|
|
1433
|
-
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, imports: [MODULES] });
|
|
1443
|
+
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] });
|
|
1444
|
+
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] });
|
|
1434
1445
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
1435
1446
|
type: NgModule,
|
|
1436
1447
|
args: [{
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1448
|
+
exports: [...KENDO_PROGRESSBARS],
|
|
1449
|
+
imports: [...KENDO_PROGRESSBARS],
|
|
1450
|
+
providers: [ResizeBatchService]
|
|
1440
1451
|
}]
|
|
1441
1452
|
}] });
|
|
1442
1453
|
|
|
@@ -1444,5 +1455,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1444
1455
|
* Generated bundle index. Do not edit.
|
|
1445
1456
|
*/
|
|
1446
1457
|
|
|
1447
|
-
export { ChunkProgressBarComponent, CircularProgressBarComponent, CircularProgressbarCenterTemplateDirective, LocalizedProgressBarMessagesDirective, ProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarModule };
|
|
1458
|
+
export { ChunkProgressBarComponent, CircularProgressBarComponent, CircularProgressbarCenterTemplateDirective, KENDO_CHUNKPROGRESSBAR, KENDO_CIRCULARPROGRESSBAR, KENDO_PROGRESSBAR, KENDO_PROGRESSBARS, LocalizedProgressBarMessagesDirective, ProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarModule };
|
|
1448
1459
|
|
|
@@ -7,10 +7,8 @@ import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/k
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { isDevMode, Component, HostBinding, Input, Directive, forwardRef, EventEmitter, Output, ViewChild, ContentChild, NgModule } from '@angular/core';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import * as i2 from '@angular/common';
|
|
13
|
-
import { CommonModule } from '@angular/common';
|
|
10
|
+
import { hasObservers, isDocumentAvailable, isChanged, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
|
+
import { NgStyle, NgClass, NgIf, NgFor, NgTemplateOutlet } from '@angular/common';
|
|
14
12
|
import { Subscription } from 'rxjs';
|
|
15
13
|
import { take } from 'rxjs/operators';
|
|
16
14
|
|
|
@@ -21,8 +19,8 @@ const packageMetadata = {
|
|
|
21
19
|
name: '@progress/kendo-angular-progressbar',
|
|
22
20
|
productName: 'Kendo UI for Angular',
|
|
23
21
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
24
|
-
publishDate:
|
|
25
|
-
version: '16.
|
|
22
|
+
publishDate: 1721846876,
|
|
23
|
+
version: '16.6.0-develop.2',
|
|
26
24
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
27
25
|
};
|
|
28
26
|
|
|
@@ -370,7 +368,7 @@ class LocalizedProgressBarMessagesDirective extends ProgressBarMessages {
|
|
|
370
368
|
}
|
|
371
369
|
}
|
|
372
370
|
LocalizedProgressBarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedProgressBarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
373
|
-
LocalizedProgressBarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedProgressBarMessagesDirective, selector: "[kendoProgressBarLocalizedMessages]", providers: [
|
|
371
|
+
LocalizedProgressBarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedProgressBarMessagesDirective, isStandalone: true, selector: "[kendoProgressBarLocalizedMessages]", providers: [
|
|
374
372
|
{
|
|
375
373
|
provide: ProgressBarMessages,
|
|
376
374
|
useExisting: forwardRef(() => LocalizedProgressBarMessagesDirective)
|
|
@@ -385,7 +383,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
385
383
|
useExisting: forwardRef(() => LocalizedProgressBarMessagesDirective)
|
|
386
384
|
}
|
|
387
385
|
],
|
|
388
|
-
selector: `[kendoProgressBarLocalizedMessages]
|
|
386
|
+
selector: `[kendoProgressBarLocalizedMessages]`,
|
|
387
|
+
standalone: true
|
|
389
388
|
}]
|
|
390
389
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
391
390
|
|
|
@@ -597,7 +596,7 @@ class ProgressBarComponent extends ProgressBarBase {
|
|
|
597
596
|
}
|
|
598
597
|
}
|
|
599
598
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
600
|
-
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarComponent, selector: "kendo-progressbar", inputs: { label: "label", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass", animation: "animation" }, outputs: { animationEnd: "animationEnd" }, providers: [
|
|
599
|
+
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarComponent, isStandalone: true, selector: "kendo-progressbar", inputs: { label: "label", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass", animation: "animation" }, outputs: { animationEnd: "animationEnd" }, providers: [
|
|
601
600
|
LocalizationService,
|
|
602
601
|
{
|
|
603
602
|
provide: L10N_PREFIX,
|
|
@@ -638,7 +637,7 @@ ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
638
637
|
<span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>
|
|
639
638
|
</span>
|
|
640
639
|
</div>
|
|
641
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
640
|
+
`, 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"] }] });
|
|
642
641
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
643
642
|
type: Component,
|
|
644
643
|
args: [{
|
|
@@ -686,7 +685,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
686
685
|
provide: L10N_PREFIX,
|
|
687
686
|
useValue: 'kendo.progressbar'
|
|
688
687
|
}
|
|
689
|
-
]
|
|
688
|
+
],
|
|
689
|
+
standalone: true,
|
|
690
|
+
imports: [LocalizedProgressBarMessagesDirective, NgStyle, NgClass, NgIf]
|
|
690
691
|
}]
|
|
691
692
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { label: [{
|
|
692
693
|
type: Input
|
|
@@ -781,7 +782,7 @@ class ChunkProgressBarComponent extends ProgressBarBase {
|
|
|
781
782
|
}
|
|
782
783
|
}
|
|
783
784
|
ChunkProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChunkProgressBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
784
|
-
ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChunkProgressBarComponent, selector: "kendo-chunkprogressbar", inputs: { chunkCount: "chunkCount", progressCssStyle: "progressCssStyle", progressCssClass: "progressCssClass", emptyCssStyle: "emptyCssStyle", emptyCssClass: "emptyCssClass" }, host: { properties: { "class.k-chunk-progressbar": "this.chunkClass" } }, providers: [
|
|
785
|
+
ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
|
|
785
786
|
LocalizationService,
|
|
786
787
|
{
|
|
787
788
|
provide: L10N_PREFIX,
|
|
@@ -805,7 +806,7 @@ ChunkProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
805
806
|
>
|
|
806
807
|
</li>
|
|
807
808
|
</ul>
|
|
808
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
809
|
+
`, 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"] }] });
|
|
809
810
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChunkProgressBarComponent, decorators: [{
|
|
810
811
|
type: Component,
|
|
811
812
|
args: [{
|
|
@@ -836,7 +837,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
836
837
|
provide: L10N_PREFIX,
|
|
837
838
|
useValue: 'kendo.chunkprogressbar'
|
|
838
839
|
}
|
|
839
|
-
]
|
|
840
|
+
],
|
|
841
|
+
standalone: true,
|
|
842
|
+
imports: [LocalizedProgressBarMessagesDirective, NgFor, NgClass, NgStyle]
|
|
840
843
|
}]
|
|
841
844
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { chunkClass: [{
|
|
842
845
|
type: HostBinding,
|
|
@@ -863,11 +866,12 @@ class CircularProgressbarCenterTemplateDirective {
|
|
|
863
866
|
}
|
|
864
867
|
}
|
|
865
868
|
CircularProgressbarCenterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
866
|
-
CircularProgressbarCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressbarCenterTemplateDirective, selector: "[kendoCircularProgressbarCenterTemplate]", ngImport: i0 });
|
|
869
|
+
CircularProgressbarCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressbarCenterTemplateDirective, isStandalone: true, selector: "[kendoCircularProgressbarCenterTemplate]", ngImport: i0 });
|
|
867
870
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressbarCenterTemplateDirective, decorators: [{
|
|
868
871
|
type: Directive,
|
|
869
872
|
args: [{
|
|
870
|
-
selector: '[kendoCircularProgressbarCenterTemplate]'
|
|
873
|
+
selector: '[kendoCircularProgressbarCenterTemplate]',
|
|
874
|
+
standalone: true
|
|
871
875
|
}]
|
|
872
876
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
873
877
|
|
|
@@ -1234,7 +1238,7 @@ class CircularProgressBarComponent {
|
|
|
1234
1238
|
}
|
|
1235
1239
|
}
|
|
1236
1240
|
CircularProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressBarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1237
|
-
CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CircularProgressBarComponent, 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: [
|
|
1241
|
+
CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
|
|
1238
1242
|
LocalizationService,
|
|
1239
1243
|
{
|
|
1240
1244
|
provide: L10N_PREFIX,
|
|
@@ -1260,7 +1264,7 @@ CircularProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
1260
1264
|
</div>
|
|
1261
1265
|
</div>
|
|
1262
1266
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1263
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1267
|
+
`, 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"] }] });
|
|
1264
1268
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CircularProgressBarComponent, decorators: [{
|
|
1265
1269
|
type: Component,
|
|
1266
1270
|
args: [{
|
|
@@ -1292,7 +1296,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1292
1296
|
provide: L10N_PREFIX,
|
|
1293
1297
|
useValue: 'kendo.circularprogressbar'
|
|
1294
1298
|
}
|
|
1295
|
-
]
|
|
1299
|
+
],
|
|
1300
|
+
standalone: true,
|
|
1301
|
+
imports: [LocalizedProgressBarMessagesDirective, NgIf, NgTemplateOutlet, ResizeSensorComponent]
|
|
1296
1302
|
}]
|
|
1297
1303
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
|
1298
1304
|
type: HostBinding,
|
|
@@ -1356,7 +1362,7 @@ class ProgressBarCustomMessagesComponent extends ProgressBarMessages {
|
|
|
1356
1362
|
}
|
|
1357
1363
|
}
|
|
1358
1364
|
ProgressBarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1359
|
-
ProgressBarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarCustomMessagesComponent, selector: "kendo-progressbar-messages", providers: [
|
|
1365
|
+
ProgressBarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ProgressBarCustomMessagesComponent, isStandalone: true, selector: "kendo-progressbar-messages", providers: [
|
|
1360
1366
|
{
|
|
1361
1367
|
provide: ProgressBarMessages,
|
|
1362
1368
|
useExisting: forwardRef(() => ProgressBarCustomMessagesComponent)
|
|
@@ -1372,19 +1378,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1372
1378
|
}
|
|
1373
1379
|
],
|
|
1374
1380
|
selector: 'kendo-progressbar-messages',
|
|
1375
|
-
template:
|
|
1381
|
+
template: ``,
|
|
1382
|
+
standalone: true
|
|
1376
1383
|
}]
|
|
1377
1384
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
1378
1385
|
|
|
1379
|
-
const
|
|
1380
|
-
ProgressBarComponent,
|
|
1386
|
+
const KENDO_CHUNKPROGRESSBAR = [
|
|
1381
1387
|
ChunkProgressBarComponent,
|
|
1382
|
-
|
|
1388
|
+
ProgressBarCustomMessagesComponent
|
|
1389
|
+
];
|
|
1390
|
+
const KENDO_CIRCULARPROGRESSBAR = [
|
|
1383
1391
|
CircularProgressbarCenterTemplateDirective,
|
|
1384
|
-
|
|
1392
|
+
CircularProgressBarComponent,
|
|
1385
1393
|
ProgressBarCustomMessagesComponent
|
|
1386
1394
|
];
|
|
1387
|
-
const
|
|
1395
|
+
const KENDO_PROGRESSBAR = [
|
|
1396
|
+
ProgressBarComponent,
|
|
1397
|
+
ProgressBarCustomMessagesComponent
|
|
1398
|
+
];
|
|
1399
|
+
const KENDO_PROGRESSBARS = [
|
|
1400
|
+
...KENDO_CHUNKPROGRESSBAR,
|
|
1401
|
+
...KENDO_CIRCULARPROGRESSBAR,
|
|
1402
|
+
...KENDO_PROGRESSBAR
|
|
1403
|
+
];
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* @hidden
|
|
1407
|
+
* IMPORTANT: NgModule export kept for backwards compatibility
|
|
1408
|
+
*/
|
|
1388
1409
|
/**
|
|
1389
1410
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
1390
1411
|
* definition for the ProgressBar components.
|
|
@@ -1419,24 +1440,14 @@ const MODULES = [CommonModule, ResizeSensorModule];
|
|
|
1419
1440
|
class ProgressBarModule {
|
|
1420
1441
|
}
|
|
1421
1442
|
ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1422
|
-
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule,
|
|
1423
|
-
|
|
1424
|
-
CircularProgressBarComponent,
|
|
1425
|
-
CircularProgressbarCenterTemplateDirective,
|
|
1426
|
-
LocalizedProgressBarMessagesDirective,
|
|
1427
|
-
ProgressBarCustomMessagesComponent], imports: [CommonModule, ResizeSensorModule], exports: [ProgressBarComponent,
|
|
1428
|
-
ChunkProgressBarComponent,
|
|
1429
|
-
CircularProgressBarComponent,
|
|
1430
|
-
CircularProgressbarCenterTemplateDirective,
|
|
1431
|
-
LocalizedProgressBarMessagesDirective,
|
|
1432
|
-
ProgressBarCustomMessagesComponent] });
|
|
1433
|
-
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, imports: [MODULES] });
|
|
1443
|
+
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] });
|
|
1444
|
+
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] });
|
|
1434
1445
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
1435
1446
|
type: NgModule,
|
|
1436
1447
|
args: [{
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1448
|
+
exports: [...KENDO_PROGRESSBARS],
|
|
1449
|
+
imports: [...KENDO_PROGRESSBARS],
|
|
1450
|
+
providers: [ResizeBatchService]
|
|
1440
1451
|
}]
|
|
1441
1452
|
}] });
|
|
1442
1453
|
|
|
@@ -1444,5 +1455,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1444
1455
|
* Generated bundle index. Do not edit.
|
|
1445
1456
|
*/
|
|
1446
1457
|
|
|
1447
|
-
export { ChunkProgressBarComponent, CircularProgressBarComponent, CircularProgressbarCenterTemplateDirective, LocalizedProgressBarMessagesDirective, ProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarModule };
|
|
1458
|
+
export { ChunkProgressBarComponent, CircularProgressBarComponent, CircularProgressbarCenterTemplateDirective, KENDO_CHUNKPROGRESSBAR, KENDO_CIRCULARPROGRESSBAR, KENDO_PROGRESSBAR, KENDO_PROGRESSBARS, LocalizedProgressBarMessagesDirective, ProgressBarComponent, ProgressBarCustomMessagesComponent, ProgressBarModule };
|
|
1448
1459
|
|
package/index.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export { CircularProgressbarCenterTemplateDirective } from './circularprogressba
|
|
|
16
16
|
export { ProgressColor } from './circularprogressbar/models/circular-progressbar-progress-color-interface';
|
|
17
17
|
export { LocalizedProgressBarMessagesDirective } from './common/localization/localized-messages.directive';
|
|
18
18
|
export { ProgressBarCustomMessagesComponent } from './common/localization/custom-messages.component';
|
|
19
|
+
export * from './directives';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-progressbar",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.0-develop.2",
|
|
4
4
|
"description": "Kendo UI Angular component starter template",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"@angular/core": "15 - 18",
|
|
24
24
|
"@angular/platform-browser": "15 - 18",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-common": "16.
|
|
27
|
-
"@progress/kendo-angular-l10n": "16.
|
|
26
|
+
"@progress/kendo-angular-common": "16.6.0-develop.2",
|
|
27
|
+
"@progress/kendo-angular-l10n": "16.6.0-develop.2",
|
|
28
28
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.3.1",
|
|
32
|
-
"@progress/kendo-angular-schematics": "16.
|
|
32
|
+
"@progress/kendo-angular-schematics": "16.6.0-develop.2"
|
|
33
33
|
},
|
|
34
34
|
"schematics": "./schematics/collection.json",
|
|
35
35
|
"module": "fesm2015/progress-kendo-angular-progressbar.mjs",
|
|
@@ -132,5 +132,5 @@ export declare class ProgressBarComponent extends ProgressBarBase {
|
|
|
132
132
|
private renderValueChange;
|
|
133
133
|
private resetProgress;
|
|
134
134
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
135
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "kendo-progressbar", ["kendoProgressBar"], { "label": "label"; "progressCssStyle": "progressCssStyle"; "progressCssClass": "progressCssClass"; "emptyCssStyle": "emptyCssStyle"; "emptyCssClass": "emptyCssClass"; "animation": "animation"; }, { "animationEnd": "animationEnd"; }, never, never,
|
|
135
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "kendo-progressbar", ["kendoProgressBar"], { "label": "label"; "progressCssStyle": "progressCssStyle"; "progressCssClass": "progressCssClass"; "emptyCssStyle": "emptyCssStyle"; "emptyCssClass": "emptyCssClass"; "animation": "animation"; }, { "animationEnd": "animationEnd"; }, never, never, true, never>;
|
|
136
136
|
}
|
package/progressbar.module.d.ts
CHANGED
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./progressbar.component";
|
|
7
|
-
import * as i2 from "./
|
|
8
|
-
import * as i3 from "./circularprogressbar/
|
|
9
|
-
import * as i4 from "./circularprogressbar/
|
|
10
|
-
import * as i5 from "./
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
import * as i1 from "./chunk/chunk-progressbar.component";
|
|
7
|
+
import * as i2 from "./common/localization/custom-messages.component";
|
|
8
|
+
import * as i3 from "./circularprogressbar/center-template.directive";
|
|
9
|
+
import * as i4 from "./circularprogressbar/circular-progressbar.component";
|
|
10
|
+
import * as i5 from "./progressbar.component";
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
* IMPORTANT: NgModule export kept for backwards compatibility
|
|
14
|
+
*/
|
|
14
15
|
/**
|
|
15
16
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
16
17
|
* definition for the ProgressBar components.
|
|
@@ -44,6 +45,6 @@ import * as i8 from "@progress/kendo-angular-common";
|
|
|
44
45
|
*/
|
|
45
46
|
export declare class ProgressBarModule {
|
|
46
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
|
|
47
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof i1.
|
|
48
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, never, [typeof i1.ChunkProgressBarComponent, typeof i2.ProgressBarCustomMessagesComponent, typeof i3.CircularProgressbarCenterTemplateDirective, typeof i4.CircularProgressBarComponent, typeof i2.ProgressBarCustomMessagesComponent, typeof i5.ProgressBarComponent, typeof i2.ProgressBarCustomMessagesComponent], [typeof i1.ChunkProgressBarComponent, typeof i2.ProgressBarCustomMessagesComponent, typeof i3.CircularProgressbarCenterTemplateDirective, typeof i4.CircularProgressBarComponent, typeof i2.ProgressBarCustomMessagesComponent, typeof i5.ProgressBarComponent, typeof i2.ProgressBarCustomMessagesComponent]>;
|
|
48
49
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
|
|
49
50
|
}
|