@syncfusion/ej2-angular-progressbar 21.1.35 → 21.1.37
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/esm2020/src/index.mjs +2 -1
- package/esm2020/src/progressbar/progressbar-all.module.mjs +1 -1
- package/esm2020/src/progressbar/progressbar.component.mjs +9 -4
- package/esm2020/src/progressbar/progressbar.module.mjs +14 -5
- package/esm2020/src/progressbar/rangecolors.directive.mjs +46 -0
- package/fesm2015/syncfusion-ej2-angular-progressbar.mjs +69 -14
- package/fesm2015/syncfusion-ej2-angular-progressbar.mjs.map +1 -1
- package/fesm2020/syncfusion-ej2-angular-progressbar.mjs +69 -14
- package/fesm2020/syncfusion-ej2-angular-progressbar.mjs.map +1 -1
- package/package.json +8 -8
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/index.d.ts +1 -0
- package/src/progressbar/progressbar.component.d.ts +3 -1
- package/src/progressbar/progressbar.module.d.ts +3 -2
- package/src/progressbar/rangecolors.directive.d.ts +34 -0
package/esm2020/src/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './progressbar/annotations.directive';
|
|
2
|
+
export { RangeColorDirective, RangeColorsDirective } from './progressbar/rangecolors.directive';
|
|
2
3
|
export { ProgressBarComponent } from './progressbar/progressbar.component';
|
|
3
4
|
export { ProgressBarModule } from './progressbar/progressbar.module';
|
|
4
5
|
export { ProgressBarAllModule, ProgressAnnotationService, ProgressTooltipService } from './progressbar/progressbar-all.module';
|
|
5
6
|
export * from '@syncfusion/ej2-progressbar';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6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ZXNzVG9vbHRpcFNlcnZpY2UgfSBmcm9tICcuL3Byb2dyZXNzYmFyL3Byb2dyZXNzYmFyLWFsbC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnQHN5bmNmdXNpb24vZWoyLXByb2dyZXNzYmFyJzsiXX0=
|
|
@@ -29,4 +29,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
29
29
|
]
|
|
30
30
|
}]
|
|
31
31
|
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3NiYXItYWxsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wcm9ncmVzc2Jhci9wcm9ncmVzc2Jhci1hbGwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQ3hELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUkvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RCxPQUFPLEVBQUMsa0JBQWtCLEVBQUUsZUFBZSxFQUFDLE1BQU0sNkJBQTZCLENBQUE7O0FBRy9FLE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUFrQixFQUFFLE9BQU8sRUFBRSwrQkFBK0IsRUFBRSxRQUFRLEVBQUUsa0JBQWtCLEVBQUMsQ0FBQztBQUNsSSxNQUFNLENBQUMsTUFBTSxzQkFBc0IsR0FBa0IsRUFBRSxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsUUFBUSxFQUFFLGVBQWUsRUFBQyxDQUFDO0FBRXpIOztHQUVHO0FBV0gsTUF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uaW1wb3J0IHtQcm9ncmVzc0Fubm90YXRpb24sIFByb2dyZXNzVG9vbHRpcH0gZnJvbSAnQHN5bmNmdXNpb24vZWoyLXByb2dyZXNzYmFyJ1xuXG5cbmV4cG9ydCBjb25zdCBQcm9ncmVzc0Fubm90YXRpb25TZXJ2aWNlOiBWYWx1ZVByb3ZpZGVyID0geyBwcm92aWRlOiAnUHJvZ3Jlc3NCYXJQcm9ncmVzc0Fubm90YXRpb24nLCB1c2VWYWx1ZTogUHJvZ3Jlc3NBbm5vdGF0aW9ufTtcbmV4cG9ydCBjb25zdCBQcm9ncmVzc1Rvb2x0aXBTZXJ2aWNlOiBWYWx1ZVByb3ZpZGVyID0geyBwcm92aWRlOiAnUHJvZ3Jlc3NCYXJQcm9ncmVzc1Rvb2x0aXAnLCB1c2VWYWx1ZTogUHJvZ3Jlc3NUb29sdGlwfTtcblxuLyoqXG4gKiBOZ01vZHVsZSBkZWZpbml0aW9uIGZvciB0aGUgUHJvZ3Jlc3NCYXIgY29tcG9uZW50IHdpdGggcHJvdmlkZXJzLlxuICovXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIFByb2dyZXNzQmFyTW9kdWxlXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIFByb2dyZXNzQmFyTW9kdWxlXG4gICAgXSxcbiAgICBwcm92aWRlcnM6W1xuICAgICAgICBQcm9ncmVzc0Fubm90YXRpb25TZXJ2aWNlLFxuICAgICAgICBQcm9ncmVzc1Rvb2x0aXBTZXJ2aWNlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBQcm9ncmVzc0JhckFsbE1vZHVsZSB7IH0iXX0=
|
|
@@ -3,6 +3,7 @@ import { Component, ChangeDetectionStrategy, ContentChild } from '@angular/core'
|
|
|
3
3
|
import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
|
|
4
4
|
import { ProgressBar } from '@syncfusion/ej2-progressbar';
|
|
5
5
|
import { ProgressBarAnnotationsDirective } from './annotations.directive';
|
|
6
|
+
import { RangeColorsDirective } from './rangecolors.directive';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export const inputs = ['animation', 'annotations', 'cornerRadius', 'enablePersistence', 'enablePieProgress', 'enableProgressSegments', 'enableRtl', 'endAngle', 'gapWidth', 'height', 'innerRadius', 'isActive', 'isGradient', 'isIndeterminate', 'isStriped', 'labelOnTrack', 'labelStyle', 'locale', 'margin', 'maximum', 'minimum', 'progressColor', 'progressThickness', 'radius', 'rangeColors', 'role', 'secondaryProgress', 'secondaryProgressColor', 'secondaryProgressThickness', 'segmentColor', 'segmentCount', 'showProgressValue', 'startAngle', 'theme', 'tooltip', 'trackColor', 'trackThickness', 'type', 'value', 'width'];
|
|
8
9
|
export const outputs = ['animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'tooltipRender', 'valueChanged'];
|
|
@@ -20,7 +21,7 @@ let ProgressBarComponent = class ProgressBarComponent extends ProgressBar {
|
|
|
20
21
|
this.srenderer = srenderer;
|
|
21
22
|
this.viewContainerRef = viewContainerRef;
|
|
22
23
|
this.injector = injector;
|
|
23
|
-
this.tags = ['annotations'];
|
|
24
|
+
this.tags = ['annotations', 'rangeColors'];
|
|
24
25
|
this.element = this.ngEle.nativeElement;
|
|
25
26
|
this.injectedModules = this.injectedModules || [];
|
|
26
27
|
try {
|
|
@@ -53,11 +54,14 @@ let ProgressBarComponent = class ProgressBarComponent extends ProgressBar {
|
|
|
53
54
|
}
|
|
54
55
|
ngAfterContentChecked() {
|
|
55
56
|
this.tagObjects[0].instance = this.childAnnotations;
|
|
57
|
+
if (this.childRangeColors) {
|
|
58
|
+
this.tagObjects[1].instance = this.childRangeColors;
|
|
59
|
+
}
|
|
56
60
|
this.context.ngAfterContentChecked(this);
|
|
57
61
|
}
|
|
58
62
|
};
|
|
59
63
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
-
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ProgressBarComponent, selector: "ejs-progressbar", inputs: { animation: "animation", annotations: "annotations", cornerRadius: "cornerRadius", enablePersistence: "enablePersistence", enablePieProgress: "enablePieProgress", enableProgressSegments: "enableProgressSegments", enableRtl: "enableRtl", endAngle: "endAngle", gapWidth: "gapWidth", height: "height", innerRadius: "innerRadius", isActive: "isActive", isGradient: "isGradient", isIndeterminate: "isIndeterminate", isStriped: "isStriped", labelOnTrack: "labelOnTrack", labelStyle: "labelStyle", locale: "locale", margin: "margin", maximum: "maximum", minimum: "minimum", progressColor: "progressColor", progressThickness: "progressThickness", radius: "radius", rangeColors: "rangeColors", role: "role", secondaryProgress: "secondaryProgress", secondaryProgressColor: "secondaryProgressColor", secondaryProgressThickness: "secondaryProgressThickness", segmentColor: "segmentColor", segmentCount: "segmentCount", showProgressValue: "showProgressValue", startAngle: "startAngle", theme: "theme", tooltip: "tooltip", trackColor: "trackColor", trackThickness: "trackThickness", type: "type", value: "value", width: "width" }, outputs: { animationComplete: "animationComplete", load: "load", loaded: "loaded", mouseClick: "mouseClick", mouseDown: "mouseDown", mouseLeave: "mouseLeave", mouseMove: "mouseMove", mouseUp: "mouseUp", progressCompleted: "progressCompleted", textRender: "textRender", tooltipRender: "tooltipRender", valueChanged: "valueChanged" }, queries: [{ propertyName: "childAnnotations", first: true, predicate: ProgressBarAnnotationsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
64
|
+
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ProgressBarComponent, selector: "ejs-progressbar", inputs: { animation: "animation", annotations: "annotations", cornerRadius: "cornerRadius", enablePersistence: "enablePersistence", enablePieProgress: "enablePieProgress", enableProgressSegments: "enableProgressSegments", enableRtl: "enableRtl", endAngle: "endAngle", gapWidth: "gapWidth", height: "height", innerRadius: "innerRadius", isActive: "isActive", isGradient: "isGradient", isIndeterminate: "isIndeterminate", isStriped: "isStriped", labelOnTrack: "labelOnTrack", labelStyle: "labelStyle", locale: "locale", margin: "margin", maximum: "maximum", minimum: "minimum", progressColor: "progressColor", progressThickness: "progressThickness", radius: "radius", rangeColors: "rangeColors", role: "role", secondaryProgress: "secondaryProgress", secondaryProgressColor: "secondaryProgressColor", secondaryProgressThickness: "secondaryProgressThickness", segmentColor: "segmentColor", segmentCount: "segmentCount", showProgressValue: "showProgressValue", startAngle: "startAngle", theme: "theme", tooltip: "tooltip", trackColor: "trackColor", trackThickness: "trackThickness", type: "type", value: "value", width: "width" }, outputs: { animationComplete: "animationComplete", load: "load", loaded: "loaded", mouseClick: "mouseClick", mouseDown: "mouseDown", mouseLeave: "mouseLeave", mouseMove: "mouseMove", mouseUp: "mouseUp", progressCompleted: "progressCompleted", textRender: "textRender", tooltipRender: "tooltipRender", valueChanged: "valueChanged" }, queries: [{ propertyName: "childAnnotations", first: true, predicate: ProgressBarAnnotationsDirective, descendants: true }, { propertyName: "childRangeColors", first: true, predicate: RangeColorsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
61
65
|
ProgressBarComponent = __decorate([
|
|
62
66
|
ComponentMixins([ComponentBase])
|
|
63
67
|
], ProgressBarComponent);
|
|
@@ -71,8 +75,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
71
75
|
template: '',
|
|
72
76
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
73
77
|
queries: {
|
|
74
|
-
childAnnotations: new ContentChild(ProgressBarAnnotationsDirective)
|
|
78
|
+
childAnnotations: new ContentChild(ProgressBarAnnotationsDirective),
|
|
79
|
+
childRangeColors: new ContentChild(RangeColorsDirective)
|
|
75
80
|
}
|
|
76
81
|
}]
|
|
77
82
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3NiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2dyZXNzYmFyL3Byb2dyZXNzYmFyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBZ0MsdUJBQXVCLEVBQWlELFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5SixPQUFPLEVBQUUsYUFBYSxFQUErQixlQUFlLEVBQTBCLFFBQVEsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQzdJLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUUxRCxPQUFPLEVBQUUsK0JBQStCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUMxRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7QUFFL0QsTUFBTSxDQUFDLE1BQU0sTUFBTSxHQUFhLENBQUMsV0FBVyxFQUFDLGFBQWEsRUFBQyxjQUFjLEVBQUMsbUJBQW1CLEVBQUMsbUJBQW1CLEVBQUMsd0JBQXdCLEVBQUMsV0FBVyxFQUFDLFVBQVUsRUFBQyxVQUFVLEVBQUMsUUFBUSxFQUFDLGFBQWEsRUFBQyxVQUFVLEVBQUM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uY29udGV4dC5uZ0FmdGVyQ29udGVudENoZWNrZWQodGhpcyk7XG4gICAgfVxuXG4gICAgcHVibGljIHJlZ2lzdGVyRXZlbnRzOiAoZXZlbnRMaXN0OiBzdHJpbmdbXSkgPT4gdm9pZDtcbiAgICBwdWJsaWMgYWRkVHdvV2F5OiAocHJvcExpc3Q6IHN0cmluZ1tdKSA9PiB2b2lkO1xufVxuXG4iXX0=
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';
|
|
4
|
+
import { RangeColorDirective, RangeColorsDirective } from './rangecolors.directive';
|
|
4
5
|
import { ProgressBarComponent } from './progressbar.component';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
@@ -11,9 +12,13 @@ export class ProgressBarModule {
|
|
|
11
12
|
ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
13
|
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, declarations: [ProgressBarComponent,
|
|
13
14
|
ProgressBarAnnotationDirective,
|
|
14
|
-
ProgressBarAnnotationsDirective
|
|
15
|
+
ProgressBarAnnotationsDirective,
|
|
16
|
+
RangeColorDirective,
|
|
17
|
+
RangeColorsDirective], imports: [CommonModule], exports: [ProgressBarComponent,
|
|
15
18
|
ProgressBarAnnotationDirective,
|
|
16
|
-
ProgressBarAnnotationsDirective
|
|
19
|
+
ProgressBarAnnotationsDirective,
|
|
20
|
+
RangeColorDirective,
|
|
21
|
+
RangeColorsDirective] });
|
|
17
22
|
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, imports: [[CommonModule]] });
|
|
18
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
19
24
|
type: NgModule,
|
|
@@ -22,13 +27,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
22
27
|
declarations: [
|
|
23
28
|
ProgressBarComponent,
|
|
24
29
|
ProgressBarAnnotationDirective,
|
|
25
|
-
ProgressBarAnnotationsDirective
|
|
30
|
+
ProgressBarAnnotationsDirective,
|
|
31
|
+
RangeColorDirective,
|
|
32
|
+
RangeColorsDirective
|
|
26
33
|
],
|
|
27
34
|
exports: [
|
|
28
35
|
ProgressBarComponent,
|
|
29
36
|
ProgressBarAnnotationDirective,
|
|
30
|
-
ProgressBarAnnotationsDirective
|
|
37
|
+
ProgressBarAnnotationsDirective,
|
|
38
|
+
RangeColorDirective,
|
|
39
|
+
RangeColorsDirective
|
|
31
40
|
]
|
|
32
41
|
}]
|
|
33
42
|
}] });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3NiYXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2dyZXNzYmFyL3Byb2dyZXNzYmFyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsOEJBQThCLEVBQUUsK0JBQStCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUMxRyxPQUFPLEVBQ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rayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
let input = ['color', 'end', 'start'];
|
|
5
|
+
let outputs = [];
|
|
6
|
+
export class RangeColorDirective extends ComplexBase {
|
|
7
|
+
constructor(viewContainerRef) {
|
|
8
|
+
super();
|
|
9
|
+
this.viewContainerRef = viewContainerRef;
|
|
10
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
11
|
+
this.registerEvents(outputs);
|
|
12
|
+
this.directivePropList = input;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
RangeColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
RangeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RangeColorDirective, selector: "e-rangecolors>e-rangecolor", inputs: { color: "color", end: "end", start: "start" }, usesInheritance: true, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: 'e-rangecolors>e-rangecolor',
|
|
21
|
+
inputs: input,
|
|
22
|
+
outputs: outputs,
|
|
23
|
+
queries: {}
|
|
24
|
+
}]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
26
|
+
/**
|
|
27
|
+
* RangeColor Array Directive
|
|
28
|
+
* @private
|
|
29
|
+
*/
|
|
30
|
+
export class RangeColorsDirective extends ArrayBase {
|
|
31
|
+
constructor() {
|
|
32
|
+
super('rangecolors');
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
RangeColorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
+
RangeColorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RangeColorsDirective, selector: "ejs-progressbar>e-rangecolors", queries: [{ propertyName: "children", predicate: RangeColorDirective }], usesInheritance: true, ngImport: i0 });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorsDirective, decorators: [{
|
|
38
|
+
type: Directive,
|
|
39
|
+
args: [{
|
|
40
|
+
selector: 'ejs-progressbar>e-rangecolors',
|
|
41
|
+
queries: {
|
|
42
|
+
children: new ContentChildren(RangeColorDirective)
|
|
43
|
+
},
|
|
44
|
+
}]
|
|
45
|
+
}], ctorParameters: function () { return []; } });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFuZ2Vjb2xvcnMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2dyZXNzYmFyL3JhbmdlY29sb3JzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFvQixlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0UsT0FBTyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLE1BQU0sOEJBQThCLENBQUM7O0FBSWhGLElBQUksS0FBSyxHQUFhLENBQUMsT0FBTyxFQUFFLEtBQUssRUFBRSxPQUFPLENBQUMsQ0FBQztBQUNoRCxJQUFJLE9BQU8sR0FBYSxFQUFFLENBQUM7QUFVM0IsTUFBTSxPQUFPLG1CQUFvQixTQUFRLFdBQWdDO0lBcUJyRSxZQUFvQixnQkFBaUM7UUFDakQsS0FBSyxFQUFFL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KiBSYW5nZUNvbG9yIEFycmF5IERpcmVjdGl2ZVxuICogQHByaXZhdGVcbiAqL1xuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdlanMtcHJvZ3Jlc3NiYXI+ZS1yYW5nZWNvbG9ycycsXG4gICAgcXVlcmllczoge1xuICAgICAgICBjaGlsZHJlbjogbmV3IENvbnRlbnRDaGlsZHJlbihSYW5nZUNvbG9yRGlyZWN0aXZlKVxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFJhbmdlQ29sb3JzRGlyZWN0aXZlIGV4dGVuZHMgQXJyYXlCYXNlPFJhbmdlQ29sb3JzRGlyZWN0aXZlPiB7XG4gICAgY29uc3RydWN0b3IoKSB7XG4gICAgICAgIHN1cGVyKCdyYW5nZWNvbG9ycycpO1xuICAgIH1cbn0iXX0=
|
|
@@ -6,8 +6,8 @@ import { ProgressBar, ProgressAnnotation, ProgressTooltip } from '@syncfusion/ej
|
|
|
6
6
|
export * from '@syncfusion/ej2-progressbar';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
|
|
9
|
-
let input = ['annotationAngle', 'annotationRadius', 'content'];
|
|
10
|
-
let outputs$
|
|
9
|
+
let input$1 = ['annotationAngle', 'annotationRadius', 'content'];
|
|
10
|
+
let outputs$2 = [];
|
|
11
11
|
/**
|
|
12
12
|
* ProgressBarAnnotations Directive
|
|
13
13
|
* ```html
|
|
@@ -21,8 +21,8 @@ class ProgressBarAnnotationDirective extends ComplexBase {
|
|
|
21
21
|
super();
|
|
22
22
|
this.viewContainerRef = viewContainerRef;
|
|
23
23
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
24
|
-
this.registerEvents(outputs$
|
|
25
|
-
this.directivePropList = input;
|
|
24
|
+
this.registerEvents(outputs$2);
|
|
25
|
+
this.directivePropList = input$1;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
ProgressBarAnnotationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarAnnotationDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -34,8 +34,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: 'e-progressbar-annotations>e-progressbar-annotation',
|
|
37
|
-
inputs: input,
|
|
38
|
-
outputs: outputs$
|
|
37
|
+
inputs: input$1,
|
|
38
|
+
outputs: outputs$2,
|
|
39
39
|
queries: {}
|
|
40
40
|
}]
|
|
41
41
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { content: [{
|
|
@@ -63,6 +63,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
63
63
|
}]
|
|
64
64
|
}], ctorParameters: function () { return []; } });
|
|
65
65
|
|
|
66
|
+
let input = ['color', 'end', 'start'];
|
|
67
|
+
let outputs$1 = [];
|
|
68
|
+
class RangeColorDirective extends ComplexBase {
|
|
69
|
+
constructor(viewContainerRef) {
|
|
70
|
+
super();
|
|
71
|
+
this.viewContainerRef = viewContainerRef;
|
|
72
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
73
|
+
this.registerEvents(outputs$1);
|
|
74
|
+
this.directivePropList = input;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
RangeColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
78
|
+
RangeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RangeColorDirective, selector: "e-rangecolors>e-rangecolor", inputs: { color: "color", end: "end", start: "start" }, usesInheritance: true, ngImport: i0 });
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorDirective, decorators: [{
|
|
80
|
+
type: Directive,
|
|
81
|
+
args: [{
|
|
82
|
+
selector: 'e-rangecolors>e-rangecolor',
|
|
83
|
+
inputs: input,
|
|
84
|
+
outputs: outputs$1,
|
|
85
|
+
queries: {}
|
|
86
|
+
}]
|
|
87
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
88
|
+
/**
|
|
89
|
+
* RangeColor Array Directive
|
|
90
|
+
* @private
|
|
91
|
+
*/
|
|
92
|
+
class RangeColorsDirective extends ArrayBase {
|
|
93
|
+
constructor() {
|
|
94
|
+
super('rangecolors');
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
RangeColorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
98
|
+
RangeColorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RangeColorsDirective, selector: "ejs-progressbar>e-rangecolors", queries: [{ propertyName: "children", predicate: RangeColorDirective }], usesInheritance: true, ngImport: i0 });
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorsDirective, decorators: [{
|
|
100
|
+
type: Directive,
|
|
101
|
+
args: [{
|
|
102
|
+
selector: 'ejs-progressbar>e-rangecolors',
|
|
103
|
+
queries: {
|
|
104
|
+
children: new ContentChildren(RangeColorDirective)
|
|
105
|
+
},
|
|
106
|
+
}]
|
|
107
|
+
}], ctorParameters: function () { return []; } });
|
|
108
|
+
|
|
66
109
|
const inputs = ['animation', 'annotations', 'cornerRadius', 'enablePersistence', 'enablePieProgress', 'enableProgressSegments', 'enableRtl', 'endAngle', 'gapWidth', 'height', 'innerRadius', 'isActive', 'isGradient', 'isIndeterminate', 'isStriped', 'labelOnTrack', 'labelStyle', 'locale', 'margin', 'maximum', 'minimum', 'progressColor', 'progressThickness', 'radius', 'rangeColors', 'role', 'secondaryProgress', 'secondaryProgressColor', 'secondaryProgressThickness', 'segmentColor', 'segmentCount', 'showProgressValue', 'startAngle', 'theme', 'tooltip', 'trackColor', 'trackThickness', 'type', 'value', 'width'];
|
|
67
110
|
const outputs = ['animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'tooltipRender', 'valueChanged'];
|
|
68
111
|
const twoWays = [''];
|
|
@@ -79,7 +122,7 @@ let ProgressBarComponent = class ProgressBarComponent extends ProgressBar {
|
|
|
79
122
|
this.srenderer = srenderer;
|
|
80
123
|
this.viewContainerRef = viewContainerRef;
|
|
81
124
|
this.injector = injector;
|
|
82
|
-
this.tags = ['annotations'];
|
|
125
|
+
this.tags = ['annotations', 'rangeColors'];
|
|
83
126
|
this.element = this.ngEle.nativeElement;
|
|
84
127
|
this.injectedModules = this.injectedModules || [];
|
|
85
128
|
try {
|
|
@@ -112,11 +155,14 @@ let ProgressBarComponent = class ProgressBarComponent extends ProgressBar {
|
|
|
112
155
|
}
|
|
113
156
|
ngAfterContentChecked() {
|
|
114
157
|
this.tagObjects[0].instance = this.childAnnotations;
|
|
158
|
+
if (this.childRangeColors) {
|
|
159
|
+
this.tagObjects[1].instance = this.childRangeColors;
|
|
160
|
+
}
|
|
115
161
|
this.context.ngAfterContentChecked(this);
|
|
116
162
|
}
|
|
117
163
|
};
|
|
118
164
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
119
|
-
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ProgressBarComponent, selector: "ejs-progressbar", inputs: { animation: "animation", annotations: "annotations", cornerRadius: "cornerRadius", enablePersistence: "enablePersistence", enablePieProgress: "enablePieProgress", enableProgressSegments: "enableProgressSegments", enableRtl: "enableRtl", endAngle: "endAngle", gapWidth: "gapWidth", height: "height", innerRadius: "innerRadius", isActive: "isActive", isGradient: "isGradient", isIndeterminate: "isIndeterminate", isStriped: "isStriped", labelOnTrack: "labelOnTrack", labelStyle: "labelStyle", locale: "locale", margin: "margin", maximum: "maximum", minimum: "minimum", progressColor: "progressColor", progressThickness: "progressThickness", radius: "radius", rangeColors: "rangeColors", role: "role", secondaryProgress: "secondaryProgress", secondaryProgressColor: "secondaryProgressColor", secondaryProgressThickness: "secondaryProgressThickness", segmentColor: "segmentColor", segmentCount: "segmentCount", showProgressValue: "showProgressValue", startAngle: "startAngle", theme: "theme", tooltip: "tooltip", trackColor: "trackColor", trackThickness: "trackThickness", type: "type", value: "value", width: "width" }, outputs: { animationComplete: "animationComplete", load: "load", loaded: "loaded", mouseClick: "mouseClick", mouseDown: "mouseDown", mouseLeave: "mouseLeave", mouseMove: "mouseMove", mouseUp: "mouseUp", progressCompleted: "progressCompleted", textRender: "textRender", tooltipRender: "tooltipRender", valueChanged: "valueChanged" }, queries: [{ propertyName: "childAnnotations", first: true, predicate: ProgressBarAnnotationsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
165
|
+
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ProgressBarComponent, selector: "ejs-progressbar", inputs: { animation: "animation", annotations: "annotations", cornerRadius: "cornerRadius", enablePersistence: "enablePersistence", enablePieProgress: "enablePieProgress", enableProgressSegments: "enableProgressSegments", enableRtl: "enableRtl", endAngle: "endAngle", gapWidth: "gapWidth", height: "height", innerRadius: "innerRadius", isActive: "isActive", isGradient: "isGradient", isIndeterminate: "isIndeterminate", isStriped: "isStriped", labelOnTrack: "labelOnTrack", labelStyle: "labelStyle", locale: "locale", margin: "margin", maximum: "maximum", minimum: "minimum", progressColor: "progressColor", progressThickness: "progressThickness", radius: "radius", rangeColors: "rangeColors", role: "role", secondaryProgress: "secondaryProgress", secondaryProgressColor: "secondaryProgressColor", secondaryProgressThickness: "secondaryProgressThickness", segmentColor: "segmentColor", segmentCount: "segmentCount", showProgressValue: "showProgressValue", startAngle: "startAngle", theme: "theme", tooltip: "tooltip", trackColor: "trackColor", trackThickness: "trackThickness", type: "type", value: "value", width: "width" }, outputs: { animationComplete: "animationComplete", load: "load", loaded: "loaded", mouseClick: "mouseClick", mouseDown: "mouseDown", mouseLeave: "mouseLeave", mouseMove: "mouseMove", mouseUp: "mouseUp", progressCompleted: "progressCompleted", textRender: "textRender", tooltipRender: "tooltipRender", valueChanged: "valueChanged" }, queries: [{ propertyName: "childAnnotations", first: true, predicate: ProgressBarAnnotationsDirective, descendants: true }, { propertyName: "childRangeColors", first: true, predicate: RangeColorsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
120
166
|
ProgressBarComponent = __decorate([
|
|
121
167
|
ComponentMixins([ComponentBase])
|
|
122
168
|
], ProgressBarComponent);
|
|
@@ -129,7 +175,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
129
175
|
template: '',
|
|
130
176
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
131
177
|
queries: {
|
|
132
|
-
childAnnotations: new ContentChild(ProgressBarAnnotationsDirective)
|
|
178
|
+
childAnnotations: new ContentChild(ProgressBarAnnotationsDirective),
|
|
179
|
+
childRangeColors: new ContentChild(RangeColorsDirective)
|
|
133
180
|
}
|
|
134
181
|
}]
|
|
135
182
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
@@ -142,9 +189,13 @@ class ProgressBarModule {
|
|
|
142
189
|
ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
143
190
|
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, declarations: [ProgressBarComponent,
|
|
144
191
|
ProgressBarAnnotationDirective,
|
|
145
|
-
ProgressBarAnnotationsDirective
|
|
192
|
+
ProgressBarAnnotationsDirective,
|
|
193
|
+
RangeColorDirective,
|
|
194
|
+
RangeColorsDirective], imports: [CommonModule], exports: [ProgressBarComponent,
|
|
146
195
|
ProgressBarAnnotationDirective,
|
|
147
|
-
ProgressBarAnnotationsDirective
|
|
196
|
+
ProgressBarAnnotationsDirective,
|
|
197
|
+
RangeColorDirective,
|
|
198
|
+
RangeColorsDirective] });
|
|
148
199
|
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, imports: [[CommonModule]] });
|
|
149
200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
150
201
|
type: NgModule,
|
|
@@ -153,12 +204,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
153
204
|
declarations: [
|
|
154
205
|
ProgressBarComponent,
|
|
155
206
|
ProgressBarAnnotationDirective,
|
|
156
|
-
ProgressBarAnnotationsDirective
|
|
207
|
+
ProgressBarAnnotationsDirective,
|
|
208
|
+
RangeColorDirective,
|
|
209
|
+
RangeColorsDirective
|
|
157
210
|
],
|
|
158
211
|
exports: [
|
|
159
212
|
ProgressBarComponent,
|
|
160
213
|
ProgressBarAnnotationDirective,
|
|
161
|
-
ProgressBarAnnotationsDirective
|
|
214
|
+
ProgressBarAnnotationsDirective,
|
|
215
|
+
RangeColorDirective,
|
|
216
|
+
RangeColorsDirective
|
|
162
217
|
]
|
|
163
218
|
}]
|
|
164
219
|
}] });
|
|
@@ -196,5 +251,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
196
251
|
* Generated bundle index. Do not edit.
|
|
197
252
|
*/
|
|
198
253
|
|
|
199
|
-
export { ProgressAnnotationService, ProgressBarAllModule, ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective, ProgressBarComponent, ProgressBarModule, ProgressTooltipService };
|
|
254
|
+
export { ProgressAnnotationService, ProgressBarAllModule, ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective, ProgressBarComponent, ProgressBarModule, ProgressTooltipService, RangeColorDirective, RangeColorsDirective };
|
|
200
255
|
//# sourceMappingURL=syncfusion-ej2-angular-progressbar.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncfusion-ej2-angular-progressbar.mjs","sources":["../../src/progressbar/annotations.directive.ts","../../src/progressbar/progressbar.component.ts","../../src/progressbar/progressbar.module.ts","../../src/progressbar/progressbar-all.module.ts","../../public_api.ts","../../syncfusion-ej2-angular-progressbar.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet input: string[] = ['annotationAngle', 'annotationRadius', 'content'];\nlet outputs: string[] = [];\n/**\n * ProgressBarAnnotations Directive\n * ```html\n * <e-progressbar-annotations>\n * <e-progressbar-annotation></e-progressbar-annotation>\n * </e-progressbar-annotations>\n * ```\n */\n@Directive({\n selector: 'e-progressbar-annotations>e-progressbar-annotation',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n})\nexport class ProgressBarAnnotationDirective extends ComplexBase<ProgressBarAnnotationDirective> {\n public directivePropList: any;\n\t\n\n\n /** \n * to move annotation\n * @default 0\n */\n public annotationAngle: any;\n /** \n * to move annotation\n * @default '0%'\n */\n public annotationRadius: any;\n /** \n * Content of the annotation, which accepts the id of the custom element.\n * @default null\n */\n @ContentChild('content')\n @Template()\n public content: any;\n\n constructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\n}\n\n/**\n * ProgressBarAnnotation Array Directive\n * @private\n */\n@Directive({\n selector: 'ej-progressbar>e-progressbar-annotations',\n queries: {\n children: new ContentChildren(ProgressBarAnnotationDirective)\n },\n})\nexport class ProgressBarAnnotationsDirective extends ArrayBase<ProgressBarAnnotationsDirective> {\n constructor() {\n super('annotations');\n }\n}","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\n\nimport { ProgressBarAnnotationsDirective } from './annotations.directive';\n\nexport const inputs: string[] = ['animation','annotations','cornerRadius','enablePersistence','enablePieProgress','enableProgressSegments','enableRtl','endAngle','gapWidth','height','innerRadius','isActive','isGradient','isIndeterminate','isStriped','labelOnTrack','labelStyle','locale','margin','maximum','minimum','progressColor','progressThickness','radius','rangeColors','role','secondaryProgress','secondaryProgressColor','secondaryProgressThickness','segmentColor','segmentCount','showProgressValue','startAngle','theme','tooltip','trackColor','trackThickness','type','value','width'];\nexport const outputs: string[] = ['animationComplete','load','loaded','mouseClick','mouseDown','mouseLeave','mouseMove','mouseUp','progressCompleted','textRender','tooltipRender','valueChanged'];\nexport const twoWays: string[] = [''];\n\n/**\n * ProgressBar Component\n * ```html\n * <ejsprogressbar></ejsprogressbar>\n * ```\n */\n@Component({\n selector: 'ejs-progressbar',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childAnnotations: new ContentChild(ProgressBarAnnotationsDirective)\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ProgressBarComponent extends ProgressBar implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tanimationComplete: any;\n\tload: any;\n\tloaded: any;\n\tmouseClick: any;\n\tmouseDown: any;\n\tmouseLeave: any;\n\tmouseMove: any;\n\tmouseUp: any;\n\tprogressCompleted: any;\n\ttextRender: any;\n\ttooltipRender: any;\n\tpublic valueChanged: any;\n public childAnnotations: QueryList<ProgressBarAnnotationsDirective>;\n public tags: string[] = ['annotations'];\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ProgressBarProgressAnnotation');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r try {\n let mod = this.injector.get('ProgressBarProgressTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childAnnotations;\n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { ProgressBarComponent } from './progressbar.component';\n\n/**\n * NgModule definition for the ProgressBar component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ProgressBarComponent,\n ProgressBarAnnotationDirective,\n ProgressBarAnnotationsDirective\n ],\n exports: [\n ProgressBarComponent,\n ProgressBarAnnotationDirective,\n ProgressBarAnnotationsDirective\n ]\n})\nexport class ProgressBarModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { ProgressBarComponent } from './progressbar.component';\nimport { ProgressBarModule } from './progressbar.module';\nimport {ProgressAnnotation, ProgressTooltip} from '@syncfusion/ej2-progressbar'\n\n\nexport const ProgressAnnotationService: ValueProvider = { provide: 'ProgressBarProgressAnnotation', useValue: ProgressAnnotation};\nexport const ProgressTooltipService: ValueProvider = { provide: 'ProgressBarProgressTooltip', useValue: ProgressTooltip};\n\n/**\n * NgModule definition for the ProgressBar component with providers.\n */\n@NgModule({\n imports: [CommonModule, ProgressBarModule],\n exports: [\n ProgressBarModule\n ],\n providers:[\n ProgressAnnotationService,\n ProgressTooltipService\n ]\n})\nexport class ProgressBarAllModule { }","// Mapping root file for package generation\nexport * from './src/index';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["outputs"],"mappings":";;;;;;;;AAKA,IAAI,KAAK,GAAa,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,SAAS,CAAC,CAAC;AACzE,IAAIA,SAAO,GAAa,EAAE,CAAC;AAC3B;;;;;;;AAOG;AASG,MAAO,8BAA+B,SAAQ,WAA2C,CAAA;AAuB3F,IAAA,WAAA,CAAoB,gBAAiC,EAAA;AACjD,QAAA,KAAK,EAAE,CAAC;AADQ,QAAA,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAiB;QAEjD,QAAQ,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;AACz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,EAAA,UAAA,EAAA,CAAA;kBAVhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;AAC1C,oBAAA,OAAO,EAAE;wBACL,iBAAiB;AACpB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,yBAAyB;wBACzB,sBAAsB;AACzB,qBAAA;iBACJ,CAAA;;;ACvBD;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"syncfusion-ej2-angular-progressbar.mjs","sources":["../../src/progressbar/annotations.directive.ts","../../src/progressbar/rangecolors.directive.ts","../../src/progressbar/progressbar.component.ts","../../src/progressbar/progressbar.module.ts","../../src/progressbar/progressbar-all.module.ts","../../public_api.ts","../../syncfusion-ej2-angular-progressbar.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet input: string[] = ['annotationAngle', 'annotationRadius', 'content'];\nlet outputs: string[] = [];\n/**\n * ProgressBarAnnotations Directive\n * ```html\n * <e-progressbar-annotations>\n * <e-progressbar-annotation></e-progressbar-annotation>\n * </e-progressbar-annotations>\n * ```\n */\n@Directive({\n selector: 'e-progressbar-annotations>e-progressbar-annotation',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n})\nexport class ProgressBarAnnotationDirective extends ComplexBase<ProgressBarAnnotationDirective> {\n public directivePropList: any;\n\t\n\n\n /** \n * to move annotation\n * @default 0\n */\n public annotationAngle: any;\n /** \n * to move annotation\n * @default '0%'\n */\n public annotationRadius: any;\n /** \n * Content of the annotation, which accepts the id of the custom element.\n * @default null\n */\n @ContentChild('content')\n @Template()\n public content: any;\n\n constructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\n}\n\n/**\n * ProgressBarAnnotation Array Directive\n * @private\n */\n@Directive({\n selector: 'ej-progressbar>e-progressbar-annotations',\n queries: {\n children: new ContentChildren(ProgressBarAnnotationDirective)\n },\n})\nexport class ProgressBarAnnotationsDirective extends ArrayBase<ProgressBarAnnotationsDirective> {\n constructor() {\n super('annotations');\n }\n}","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet input: string[] = ['color', 'end', 'start'];\nlet outputs: string[] = [];\n\n@Directive({\n selector: 'e-rangecolors>e-rangecolor',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n})\nexport class RangeColorDirective extends ComplexBase<RangeColorDirective> {\n public directivePropList: any;\n\t\n\n\n /** \n * color\n * @default null\n */\n public color: any;\n /** \n * end\n * @default null\n */\n public end: any;\n /** \n * start\n * @default null\n */\n public start: any;\n\n constructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\n}\n\n/**\n * RangeColor Array Directive\n * @private\n */\n@Directive({\n selector: 'ejs-progressbar>e-rangecolors',\n queries: {\n children: new ContentChildren(RangeColorDirective)\n },\n})\nexport class RangeColorsDirective extends ArrayBase<RangeColorsDirective> {\n constructor() {\n super('rangecolors');\n }\n}","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\n\nimport { ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { RangeColorsDirective } from './rangecolors.directive';\n\nexport const inputs: string[] = ['animation','annotations','cornerRadius','enablePersistence','enablePieProgress','enableProgressSegments','enableRtl','endAngle','gapWidth','height','innerRadius','isActive','isGradient','isIndeterminate','isStriped','labelOnTrack','labelStyle','locale','margin','maximum','minimum','progressColor','progressThickness','radius','rangeColors','role','secondaryProgress','secondaryProgressColor','secondaryProgressThickness','segmentColor','segmentCount','showProgressValue','startAngle','theme','tooltip','trackColor','trackThickness','type','value','width'];\nexport const outputs: string[] = ['animationComplete','load','loaded','mouseClick','mouseDown','mouseLeave','mouseMove','mouseUp','progressCompleted','textRender','tooltipRender','valueChanged'];\nexport const twoWays: string[] = [''];\n\n/**\n * ProgressBar Component\n * ```html\n * <ejsprogressbar></ejsprogressbar>\n * ```\n */\n@Component({\n selector: 'ejs-progressbar',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childAnnotations: new ContentChild(ProgressBarAnnotationsDirective), \n childRangeColors: new ContentChild(RangeColorsDirective)\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ProgressBarComponent extends ProgressBar implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tanimationComplete: any;\n\tload: any;\n\tloaded: any;\n\tmouseClick: any;\n\tmouseDown: any;\n\tmouseLeave: any;\n\tmouseMove: any;\n\tmouseUp: any;\n\tprogressCompleted: any;\n\ttextRender: any;\n\ttooltipRender: any;\n\tpublic valueChanged: any;\n public childAnnotations: QueryList<ProgressBarAnnotationsDirective>;\n public childRangeColors: QueryList<RangeColorsDirective>;\n public tags: string[] = ['annotations', 'rangeColors'];\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ProgressBarProgressAnnotation');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r try {\n let mod = this.injector.get('ProgressBarProgressTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childAnnotations;\n if (this.childRangeColors) {\n this.tagObjects[1].instance = this.childRangeColors as any;\n }\n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { RangeColorDirective, RangeColorsDirective } from './rangecolors.directive';\nimport { ProgressBarComponent } from './progressbar.component';\n\n/**\n * NgModule definition for the ProgressBar component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ProgressBarComponent,\n ProgressBarAnnotationDirective,\n ProgressBarAnnotationsDirective,\n RangeColorDirective,\n RangeColorsDirective\n ],\n exports: [\n ProgressBarComponent,\n ProgressBarAnnotationDirective,\n ProgressBarAnnotationsDirective,\n RangeColorDirective,\n RangeColorsDirective\n ]\n})\nexport class ProgressBarModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { RangeColorDirective, RangeColorsDirective } from './rangecolors.directive';\nimport { ProgressBarComponent } from './progressbar.component';\nimport { ProgressBarModule } from './progressbar.module';\nimport {ProgressAnnotation, ProgressTooltip} from '@syncfusion/ej2-progressbar'\n\n\nexport const ProgressAnnotationService: ValueProvider = { provide: 'ProgressBarProgressAnnotation', useValue: ProgressAnnotation};\nexport const ProgressTooltipService: ValueProvider = { provide: 'ProgressBarProgressTooltip', useValue: ProgressTooltip};\n\n/**\n * NgModule definition for the ProgressBar component with providers.\n */\n@NgModule({\n imports: [CommonModule, ProgressBarModule],\n exports: [\n ProgressBarModule\n ],\n providers:[\n ProgressAnnotationService,\n ProgressTooltipService\n ]\n})\nexport class ProgressBarAllModule { }","// Mapping root file for package generation\nexport * from './src/index';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["input","outputs"],"mappings":";;;;;;;;AAKA,IAAIA,OAAK,GAAa,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,SAAS,CAAC,CAAC;AACzE,IAAIC,SAAO,GAAa,EAAE,CAAC;AAC3B;;;;;;;AAOG;AASG,MAAO,8BAA+B,SAAQ,WAA2C,CAAA;AAuB3F,IAAA,WAAA,CAAoB,gBAAiC,EAAA;AACjD,QAAA,KAAK,EAAE,CAAC;AADQ,QAAA,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAiB;QAEjD,QAAQ,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;AACzD,QAAA,IAAI,CAAC,cAAc,CAACA,SAAO,CAAC,CAAC;AAC7B,QAAA,IAAI,CAAC,iBAAiB,GAAGD,OAAK,CAAC;KAClC;;2HA5BQ,8BAA8B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;+GAA9B,8BAA8B,EAAA,QAAA,EAAA,oDAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,SAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,SAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EA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AY,EAAE,iBAAiB,aAErC,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAOZ,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EALnB,SAAA,EAAA;QACN,yBAAyB;QACzB,sBAAsB;AACzB,KAAA,EAAA,OAAA,EAAA,CAPQ,CAAC,YAAY,EAAE,iBAAiB,CAAC,EAEtC,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAOZ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAVhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;AAC1C,oBAAA,OAAO,EAAE;wBACL,iBAAiB;AACpB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,yBAAyB;wBACzB,sBAAsB;AACzB,qBAAA;iBACJ,CAAA;;;ACxBD;;ACAA;;AAEG;;;;"}
|
|
@@ -6,8 +6,8 @@ import { ProgressBar, ProgressAnnotation, ProgressTooltip } from '@syncfusion/ej
|
|
|
6
6
|
export * from '@syncfusion/ej2-progressbar';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
|
|
9
|
-
let input = ['annotationAngle', 'annotationRadius', 'content'];
|
|
10
|
-
let outputs$
|
|
9
|
+
let input$1 = ['annotationAngle', 'annotationRadius', 'content'];
|
|
10
|
+
let outputs$2 = [];
|
|
11
11
|
/**
|
|
12
12
|
* ProgressBarAnnotations Directive
|
|
13
13
|
* ```html
|
|
@@ -21,8 +21,8 @@ class ProgressBarAnnotationDirective extends ComplexBase {
|
|
|
21
21
|
super();
|
|
22
22
|
this.viewContainerRef = viewContainerRef;
|
|
23
23
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
24
|
-
this.registerEvents(outputs$
|
|
25
|
-
this.directivePropList = input;
|
|
24
|
+
this.registerEvents(outputs$2);
|
|
25
|
+
this.directivePropList = input$1;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
ProgressBarAnnotationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarAnnotationDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -34,8 +34,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: 'e-progressbar-annotations>e-progressbar-annotation',
|
|
37
|
-
inputs: input,
|
|
38
|
-
outputs: outputs$
|
|
37
|
+
inputs: input$1,
|
|
38
|
+
outputs: outputs$2,
|
|
39
39
|
queries: {}
|
|
40
40
|
}]
|
|
41
41
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { content: [{
|
|
@@ -63,6 +63,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
63
63
|
}]
|
|
64
64
|
}], ctorParameters: function () { return []; } });
|
|
65
65
|
|
|
66
|
+
let input = ['color', 'end', 'start'];
|
|
67
|
+
let outputs$1 = [];
|
|
68
|
+
class RangeColorDirective extends ComplexBase {
|
|
69
|
+
constructor(viewContainerRef) {
|
|
70
|
+
super();
|
|
71
|
+
this.viewContainerRef = viewContainerRef;
|
|
72
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
73
|
+
this.registerEvents(outputs$1);
|
|
74
|
+
this.directivePropList = input;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
RangeColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
78
|
+
RangeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RangeColorDirective, selector: "e-rangecolors>e-rangecolor", inputs: { color: "color", end: "end", start: "start" }, usesInheritance: true, ngImport: i0 });
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorDirective, decorators: [{
|
|
80
|
+
type: Directive,
|
|
81
|
+
args: [{
|
|
82
|
+
selector: 'e-rangecolors>e-rangecolor',
|
|
83
|
+
inputs: input,
|
|
84
|
+
outputs: outputs$1,
|
|
85
|
+
queries: {}
|
|
86
|
+
}]
|
|
87
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
88
|
+
/**
|
|
89
|
+
* RangeColor Array Directive
|
|
90
|
+
* @private
|
|
91
|
+
*/
|
|
92
|
+
class RangeColorsDirective extends ArrayBase {
|
|
93
|
+
constructor() {
|
|
94
|
+
super('rangecolors');
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
RangeColorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
98
|
+
RangeColorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RangeColorsDirective, selector: "ejs-progressbar>e-rangecolors", queries: [{ propertyName: "children", predicate: RangeColorDirective }], usesInheritance: true, ngImport: i0 });
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RangeColorsDirective, decorators: [{
|
|
100
|
+
type: Directive,
|
|
101
|
+
args: [{
|
|
102
|
+
selector: 'ejs-progressbar>e-rangecolors',
|
|
103
|
+
queries: {
|
|
104
|
+
children: new ContentChildren(RangeColorDirective)
|
|
105
|
+
},
|
|
106
|
+
}]
|
|
107
|
+
}], ctorParameters: function () { return []; } });
|
|
108
|
+
|
|
66
109
|
const inputs = ['animation', 'annotations', 'cornerRadius', 'enablePersistence', 'enablePieProgress', 'enableProgressSegments', 'enableRtl', 'endAngle', 'gapWidth', 'height', 'innerRadius', 'isActive', 'isGradient', 'isIndeterminate', 'isStriped', 'labelOnTrack', 'labelStyle', 'locale', 'margin', 'maximum', 'minimum', 'progressColor', 'progressThickness', 'radius', 'rangeColors', 'role', 'secondaryProgress', 'secondaryProgressColor', 'secondaryProgressThickness', 'segmentColor', 'segmentCount', 'showProgressValue', 'startAngle', 'theme', 'tooltip', 'trackColor', 'trackThickness', 'type', 'value', 'width'];
|
|
67
110
|
const outputs = ['animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'tooltipRender', 'valueChanged'];
|
|
68
111
|
const twoWays = [''];
|
|
@@ -79,7 +122,7 @@ let ProgressBarComponent = class ProgressBarComponent extends ProgressBar {
|
|
|
79
122
|
this.srenderer = srenderer;
|
|
80
123
|
this.viewContainerRef = viewContainerRef;
|
|
81
124
|
this.injector = injector;
|
|
82
|
-
this.tags = ['annotations'];
|
|
125
|
+
this.tags = ['annotations', 'rangeColors'];
|
|
83
126
|
this.element = this.ngEle.nativeElement;
|
|
84
127
|
this.injectedModules = this.injectedModules || [];
|
|
85
128
|
try {
|
|
@@ -112,11 +155,14 @@ let ProgressBarComponent = class ProgressBarComponent extends ProgressBar {
|
|
|
112
155
|
}
|
|
113
156
|
ngAfterContentChecked() {
|
|
114
157
|
this.tagObjects[0].instance = this.childAnnotations;
|
|
158
|
+
if (this.childRangeColors) {
|
|
159
|
+
this.tagObjects[1].instance = this.childRangeColors;
|
|
160
|
+
}
|
|
115
161
|
this.context.ngAfterContentChecked(this);
|
|
116
162
|
}
|
|
117
163
|
};
|
|
118
164
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
119
|
-
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ProgressBarComponent, selector: "ejs-progressbar", inputs: { animation: "animation", annotations: "annotations", cornerRadius: "cornerRadius", enablePersistence: "enablePersistence", enablePieProgress: "enablePieProgress", enableProgressSegments: "enableProgressSegments", enableRtl: "enableRtl", endAngle: "endAngle", gapWidth: "gapWidth", height: "height", innerRadius: "innerRadius", isActive: "isActive", isGradient: "isGradient", isIndeterminate: "isIndeterminate", isStriped: "isStriped", labelOnTrack: "labelOnTrack", labelStyle: "labelStyle", locale: "locale", margin: "margin", maximum: "maximum", minimum: "minimum", progressColor: "progressColor", progressThickness: "progressThickness", radius: "radius", rangeColors: "rangeColors", role: "role", secondaryProgress: "secondaryProgress", secondaryProgressColor: "secondaryProgressColor", secondaryProgressThickness: "secondaryProgressThickness", segmentColor: "segmentColor", segmentCount: "segmentCount", showProgressValue: "showProgressValue", startAngle: "startAngle", theme: "theme", tooltip: "tooltip", trackColor: "trackColor", trackThickness: "trackThickness", type: "type", value: "value", width: "width" }, outputs: { animationComplete: "animationComplete", load: "load", loaded: "loaded", mouseClick: "mouseClick", mouseDown: "mouseDown", mouseLeave: "mouseLeave", mouseMove: "mouseMove", mouseUp: "mouseUp", progressCompleted: "progressCompleted", textRender: "textRender", tooltipRender: "tooltipRender", valueChanged: "valueChanged" }, queries: [{ propertyName: "childAnnotations", first: true, predicate: ProgressBarAnnotationsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
165
|
+
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ProgressBarComponent, selector: "ejs-progressbar", inputs: { animation: "animation", annotations: "annotations", cornerRadius: "cornerRadius", enablePersistence: "enablePersistence", enablePieProgress: "enablePieProgress", enableProgressSegments: "enableProgressSegments", enableRtl: "enableRtl", endAngle: "endAngle", gapWidth: "gapWidth", height: "height", innerRadius: "innerRadius", isActive: "isActive", isGradient: "isGradient", isIndeterminate: "isIndeterminate", isStriped: "isStriped", labelOnTrack: "labelOnTrack", labelStyle: "labelStyle", locale: "locale", margin: "margin", maximum: "maximum", minimum: "minimum", progressColor: "progressColor", progressThickness: "progressThickness", radius: "radius", rangeColors: "rangeColors", role: "role", secondaryProgress: "secondaryProgress", secondaryProgressColor: "secondaryProgressColor", secondaryProgressThickness: "secondaryProgressThickness", segmentColor: "segmentColor", segmentCount: "segmentCount", showProgressValue: "showProgressValue", startAngle: "startAngle", theme: "theme", tooltip: "tooltip", trackColor: "trackColor", trackThickness: "trackThickness", type: "type", value: "value", width: "width" }, outputs: { animationComplete: "animationComplete", load: "load", loaded: "loaded", mouseClick: "mouseClick", mouseDown: "mouseDown", mouseLeave: "mouseLeave", mouseMove: "mouseMove", mouseUp: "mouseUp", progressCompleted: "progressCompleted", textRender: "textRender", tooltipRender: "tooltipRender", valueChanged: "valueChanged" }, queries: [{ propertyName: "childAnnotations", first: true, predicate: ProgressBarAnnotationsDirective, descendants: true }, { propertyName: "childRangeColors", first: true, predicate: RangeColorsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
120
166
|
ProgressBarComponent = __decorate([
|
|
121
167
|
ComponentMixins([ComponentBase])
|
|
122
168
|
], ProgressBarComponent);
|
|
@@ -129,7 +175,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
129
175
|
template: '',
|
|
130
176
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
131
177
|
queries: {
|
|
132
|
-
childAnnotations: new ContentChild(ProgressBarAnnotationsDirective)
|
|
178
|
+
childAnnotations: new ContentChild(ProgressBarAnnotationsDirective),
|
|
179
|
+
childRangeColors: new ContentChild(RangeColorsDirective)
|
|
133
180
|
}
|
|
134
181
|
}]
|
|
135
182
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
@@ -142,9 +189,13 @@ class ProgressBarModule {
|
|
|
142
189
|
ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
143
190
|
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, declarations: [ProgressBarComponent,
|
|
144
191
|
ProgressBarAnnotationDirective,
|
|
145
|
-
ProgressBarAnnotationsDirective
|
|
192
|
+
ProgressBarAnnotationsDirective,
|
|
193
|
+
RangeColorDirective,
|
|
194
|
+
RangeColorsDirective], imports: [CommonModule], exports: [ProgressBarComponent,
|
|
146
195
|
ProgressBarAnnotationDirective,
|
|
147
|
-
ProgressBarAnnotationsDirective
|
|
196
|
+
ProgressBarAnnotationsDirective,
|
|
197
|
+
RangeColorDirective,
|
|
198
|
+
RangeColorsDirective] });
|
|
148
199
|
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, imports: [[CommonModule]] });
|
|
149
200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
150
201
|
type: NgModule,
|
|
@@ -153,12 +204,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
153
204
|
declarations: [
|
|
154
205
|
ProgressBarComponent,
|
|
155
206
|
ProgressBarAnnotationDirective,
|
|
156
|
-
ProgressBarAnnotationsDirective
|
|
207
|
+
ProgressBarAnnotationsDirective,
|
|
208
|
+
RangeColorDirective,
|
|
209
|
+
RangeColorsDirective
|
|
157
210
|
],
|
|
158
211
|
exports: [
|
|
159
212
|
ProgressBarComponent,
|
|
160
213
|
ProgressBarAnnotationDirective,
|
|
161
|
-
ProgressBarAnnotationsDirective
|
|
214
|
+
ProgressBarAnnotationsDirective,
|
|
215
|
+
RangeColorDirective,
|
|
216
|
+
RangeColorsDirective
|
|
162
217
|
]
|
|
163
218
|
}]
|
|
164
219
|
}] });
|
|
@@ -196,5 +251,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
196
251
|
* Generated bundle index. Do not edit.
|
|
197
252
|
*/
|
|
198
253
|
|
|
199
|
-
export { ProgressAnnotationService, ProgressBarAllModule, ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective, ProgressBarComponent, ProgressBarModule, ProgressTooltipService };
|
|
254
|
+
export { ProgressAnnotationService, ProgressBarAllModule, ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective, ProgressBarComponent, ProgressBarModule, ProgressTooltipService, RangeColorDirective, RangeColorsDirective };
|
|
200
255
|
//# sourceMappingURL=syncfusion-ej2-angular-progressbar.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncfusion-ej2-angular-progressbar.mjs","sources":["../../src/progressbar/annotations.directive.ts","../../src/progressbar/progressbar.component.ts","../../src/progressbar/progressbar.module.ts","../../src/progressbar/progressbar-all.module.ts","../../public_api.ts","../../syncfusion-ej2-angular-progressbar.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet input: string[] = ['annotationAngle', 'annotationRadius', 'content'];\nlet outputs: string[] = [];\n/**\n * ProgressBarAnnotations Directive\n * ```html\n * <e-progressbar-annotations>\n * <e-progressbar-annotation></e-progressbar-annotation>\n * </e-progressbar-annotations>\n * ```\n */\n@Directive({\n selector: 'e-progressbar-annotations>e-progressbar-annotation',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n})\nexport class ProgressBarAnnotationDirective extends ComplexBase<ProgressBarAnnotationDirective> {\n public directivePropList: any;\n\t\n\n\n /** \n * to move annotation\n * @default 0\n */\n public annotationAngle: any;\n /** \n * to move annotation\n * @default '0%'\n */\n public annotationRadius: any;\n /** \n * Content of the annotation, which accepts the id of the custom element.\n * @default null\n */\n @ContentChild('content')\n @Template()\n public content: any;\n\n constructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\n}\n\n/**\n * ProgressBarAnnotation Array Directive\n * @private\n */\n@Directive({\n selector: 'ej-progressbar>e-progressbar-annotations',\n queries: {\n children: new ContentChildren(ProgressBarAnnotationDirective)\n },\n})\nexport class ProgressBarAnnotationsDirective extends ArrayBase<ProgressBarAnnotationsDirective> {\n constructor() {\n super('annotations');\n }\n}","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\n\nimport { ProgressBarAnnotationsDirective } from './annotations.directive';\n\nexport const inputs: string[] = ['animation','annotations','cornerRadius','enablePersistence','enablePieProgress','enableProgressSegments','enableRtl','endAngle','gapWidth','height','innerRadius','isActive','isGradient','isIndeterminate','isStriped','labelOnTrack','labelStyle','locale','margin','maximum','minimum','progressColor','progressThickness','radius','rangeColors','role','secondaryProgress','secondaryProgressColor','secondaryProgressThickness','segmentColor','segmentCount','showProgressValue','startAngle','theme','tooltip','trackColor','trackThickness','type','value','width'];\nexport const outputs: string[] = ['animationComplete','load','loaded','mouseClick','mouseDown','mouseLeave','mouseMove','mouseUp','progressCompleted','textRender','tooltipRender','valueChanged'];\nexport const twoWays: string[] = [''];\n\n/**\n * ProgressBar Component\n * ```html\n * <ejsprogressbar></ejsprogressbar>\n * ```\n */\n@Component({\n selector: 'ejs-progressbar',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childAnnotations: new ContentChild(ProgressBarAnnotationsDirective)\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ProgressBarComponent extends ProgressBar implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tanimationComplete: any;\n\tload: any;\n\tloaded: any;\n\tmouseClick: any;\n\tmouseDown: any;\n\tmouseLeave: any;\n\tmouseMove: any;\n\tmouseUp: any;\n\tprogressCompleted: any;\n\ttextRender: any;\n\ttooltipRender: any;\n\tpublic valueChanged: any;\n public childAnnotations: QueryList<ProgressBarAnnotationsDirective>;\n public tags: string[] = ['annotations'];\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ProgressBarProgressAnnotation');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r try {\n let mod = this.injector.get('ProgressBarProgressTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childAnnotations;\n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { ProgressBarComponent } from './progressbar.component';\n\n/**\n * NgModule definition for the ProgressBar component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ProgressBarComponent,\n ProgressBarAnnotationDirective,\n ProgressBarAnnotationsDirective\n ],\n exports: [\n ProgressBarComponent,\n ProgressBarAnnotationDirective,\n ProgressBarAnnotationsDirective\n ]\n})\nexport class ProgressBarModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { ProgressBarComponent } from './progressbar.component';\nimport { ProgressBarModule } from './progressbar.module';\nimport {ProgressAnnotation, ProgressTooltip} from '@syncfusion/ej2-progressbar'\n\n\nexport const ProgressAnnotationService: ValueProvider = { provide: 'ProgressBarProgressAnnotation', useValue: ProgressAnnotation};\nexport const ProgressTooltipService: ValueProvider = { provide: 'ProgressBarProgressTooltip', useValue: ProgressTooltip};\n\n/**\n * NgModule definition for the ProgressBar component with providers.\n */\n@NgModule({\n imports: [CommonModule, ProgressBarModule],\n exports: [\n ProgressBarModule\n ],\n providers:[\n ProgressAnnotationService,\n ProgressTooltipService\n ]\n})\nexport class ProgressBarAllModule { }","// Mapping root file for package generation\nexport * from './src/index';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["outputs"],"mappings":";;;;;;;;AAKA,IAAI,KAAK,GAAa,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,SAAS,CAAC,CAAC;AACzE,IAAIA,SAAO,GAAa,EAAE,CAAC;AAC3B;;;;;;;AAOG;AASG,MAAO,8BAA+B,SAAQ,WAA2C,CAAA;AAuB3F,IAAA,WAAA,CAAoB,gBAAiC,EAAA;AACjD,QA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B;QACzB,sBAAsB;AACzB,KAAA,EAAA,OAAA,EAAA,CAPQ,CAAC,YAAY,EAAE,iBAAiB,CAAC,EAEtC,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAOZ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAVhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;AAC1C,oBAAA,OAAO,EAAE;wBACL,iBAAiB;AACpB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,yBAAyB;wBACzB,sBAAsB;AACzB,qBAAA;AACJ,iBAAA,CAAA;;;ACvBD;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"syncfusion-ej2-angular-progressbar.mjs","sources":["../../src/progressbar/annotations.directive.ts","../../src/progressbar/rangecolors.directive.ts","../../src/progressbar/progressbar.component.ts","../../src/progressbar/progressbar.module.ts","../../src/progressbar/progressbar-all.module.ts","../../public_api.ts","../../syncfusion-ej2-angular-progressbar.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nlet input: string[] = ['annotationAngle', 'annotationRadius', 'content'];\nlet outputs: string[] = [];\n/**\n * ProgressBarAnnotations Directive\n * ```html\n * <e-progressbar-annotations>\n * <e-progressbar-annotation></e-progressbar-annotation>\n * </e-progressbar-annotations>\n * ```\n */\n@Directive({\n selector: 'e-progressbar-annotations>e-progressbar-annotation',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n})\nexport class ProgressBarAnnotationDirective extends ComplexBase<ProgressBarAnnotationDirective> {\n public directivePropList: any;\n\t\n\n\n /** \n * to move annotation\n * @default 0\n */\n public annotationAngle: any;\n /** \n * to move annotation\n * @default '0%'\n */\n public annotationRadius: any;\n /** \n * Content of the annotation, which accepts the id of the custom element.\n * @default null\n */\n @ContentChild('content')\n @Template()\n public content: any;\n\n constructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\n}\n\n/**\n * ProgressBarAnnotation Array Directive\n * @private\n */\n@Directive({\n selector: 'ej-progressbar>e-progressbar-annotations',\n queries: {\n children: new ContentChildren(ProgressBarAnnotationDirective)\n },\n})\nexport class ProgressBarAnnotationsDirective extends ArrayBase<ProgressBarAnnotationsDirective> {\n constructor() {\n super('annotations');\n }\n}","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet input: string[] = ['color', 'end', 'start'];\nlet outputs: string[] = [];\n\n@Directive({\n selector: 'e-rangecolors>e-rangecolor',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n})\nexport class RangeColorDirective extends ComplexBase<RangeColorDirective> {\n public directivePropList: any;\n\t\n\n\n /** \n * color\n * @default null\n */\n public color: any;\n /** \n * end\n * @default null\n */\n public end: any;\n /** \n * start\n * @default null\n */\n public start: any;\n\n constructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\n}\n\n/**\n * RangeColor Array Directive\n * @private\n */\n@Directive({\n selector: 'ejs-progressbar>e-rangecolors',\n queries: {\n children: new ContentChildren(RangeColorDirective)\n },\n})\nexport class RangeColorsDirective extends ArrayBase<RangeColorsDirective> {\n constructor() {\n super('rangecolors');\n }\n}","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\n\nimport { ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { RangeColorsDirective } from './rangecolors.directive';\n\nexport const inputs: string[] = ['animation','annotations','cornerRadius','enablePersistence','enablePieProgress','enableProgressSegments','enableRtl','endAngle','gapWidth','height','innerRadius','isActive','isGradient','isIndeterminate','isStriped','labelOnTrack','labelStyle','locale','margin','maximum','minimum','progressColor','progressThickness','radius','rangeColors','role','secondaryProgress','secondaryProgressColor','secondaryProgressThickness','segmentColor','segmentCount','showProgressValue','startAngle','theme','tooltip','trackColor','trackThickness','type','value','width'];\nexport const outputs: string[] = ['animationComplete','load','loaded','mouseClick','mouseDown','mouseLeave','mouseMove','mouseUp','progressCompleted','textRender','tooltipRender','valueChanged'];\nexport const twoWays: string[] = [''];\n\n/**\n * ProgressBar Component\n * ```html\n * <ejsprogressbar></ejsprogressbar>\n * ```\n */\n@Component({\n selector: 'ejs-progressbar',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childAnnotations: new ContentChild(ProgressBarAnnotationsDirective), \n childRangeColors: new ContentChild(RangeColorsDirective)\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ProgressBarComponent extends ProgressBar implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tanimationComplete: any;\n\tload: any;\n\tloaded: any;\n\tmouseClick: any;\n\tmouseDown: any;\n\tmouseLeave: any;\n\tmouseMove: any;\n\tmouseUp: any;\n\tprogressCompleted: any;\n\ttextRender: any;\n\ttooltipRender: any;\n\tpublic valueChanged: any;\n public childAnnotations: QueryList<ProgressBarAnnotationsDirective>;\n public childRangeColors: QueryList<RangeColorsDirective>;\n public tags: string[] = ['annotations', 'rangeColors'];\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ProgressBarProgressAnnotation');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r try {\n let mod = this.injector.get('ProgressBarProgressTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childAnnotations;\n if (this.childRangeColors) {\n this.tagObjects[1].instance = this.childRangeColors as any;\n }\n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { RangeColorDirective, RangeColorsDirective } from './rangecolors.directive';\nimport { ProgressBarComponent } from './progressbar.component';\n\n/**\n * NgModule definition for the ProgressBar component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ProgressBarComponent,\n ProgressBarAnnotationDirective,\n ProgressBarAnnotationsDirective,\n RangeColorDirective,\n RangeColorsDirective\n ],\n exports: [\n ProgressBarComponent,\n ProgressBarAnnotationDirective,\n ProgressBarAnnotationsDirective,\n RangeColorDirective,\n RangeColorsDirective\n ]\n})\nexport class ProgressBarModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './annotations.directive';\nimport { RangeColorDirective, RangeColorsDirective } from './rangecolors.directive';\nimport { ProgressBarComponent } from './progressbar.component';\nimport { ProgressBarModule } from './progressbar.module';\nimport {ProgressAnnotation, ProgressTooltip} from '@syncfusion/ej2-progressbar'\n\n\nexport const ProgressAnnotationService: ValueProvider = { provide: 'ProgressBarProgressAnnotation', useValue: ProgressAnnotation};\nexport const ProgressTooltipService: ValueProvider = { provide: 'ProgressBarProgressTooltip', useValue: ProgressTooltip};\n\n/**\n * NgModule definition for the ProgressBar component with providers.\n */\n@NgModule({\n imports: [CommonModule, ProgressBarModule],\n exports: [\n ProgressBarModule\n ],\n providers:[\n ProgressAnnotationService,\n ProgressTooltipService\n ]\n})\nexport class ProgressBarAllModule { }","// Mapping root file for package generation\nexport * from './src/index';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["input","outputs"],"mappings":";;;;;;;;AAKA,IAAIA,OAAK,GAAa,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,SAAS,CAAC,CAAC;AACzE,IAAIC,SAAO,GAAa,EAAE,CAAC;AAC3B;;;;;;;AAOG;AASG,MAAO,8BAA+B,SAAQ,WAA2C,CAAA;AAuB3F,IAAA,WAAA,CAAoB,gBAAiC,EAAA;AACjD,QAAA,KAAK,EAAE,CAAC;QADQ,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAiB;QAEjD,QAAQ,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;AACzD,QAAA,IAAI,CAAC,cAAc,CAACA,SAAO,CAAC,CAAC;AAC7B,QAAA,IAAI,CAAC,iBAAiB,GAAGD,OAAK,CAAC;KAClC;;2HA5BQ,8BAA8B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;+GAA9B,8BAA8B,EAAA,QAAA,EAAA,oDAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA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AA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EATnB,OAAA,EAAA,CAAA,YAAY,EAAE,iBAAiB,aAErC,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAOZ,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EALnB,SAAA,EAAA;QACN,yBAAyB;QACzB,sBAAsB;AACzB,KAAA,EAAA,OAAA,EAAA,CAPQ,CAAC,YAAY,EAAE,iBAAiB,CAAC,EAEtC,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAOZ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAVhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;AAC1C,oBAAA,OAAO,EAAE;wBACL,iBAAiB;AACpB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,yBAAyB;wBACzB,sBAAsB;AACzB,qBAAA;AACJ,iBAAA,CAAA;;;ACxBD;;ACAA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-angular-progressbar@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-angular-progressbar@
|
|
3
|
+
"_id": "@syncfusion/ej2-angular-progressbar@21.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-UStJQ9QeJt5TUZzQHRulovyuw/DeqkN18avmNNCq/aLHXIoFzeFHYLuLBXhLAnxNBTW61ESHLkCY8fKiYTg1JA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-angular-progressbar",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-angular-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-angular-hotfix/@syncfusion/ej2-angular-progressbar/-/ej2-angular-progressbar-21.1.35.tgz",
|
|
23
|
+
"_shasum": "0ff8a70d572e79543657e673c8e57e0a1a8eec6a",
|
|
24
24
|
"_spec": "@syncfusion/ej2-angular-progressbar@*",
|
|
25
25
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/ivypackages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-angular-base": "~21.1.
|
|
35
|
-
"@syncfusion/ej2-base": "~21.1.
|
|
36
|
-
"@syncfusion/ej2-progressbar": "21.1.
|
|
34
|
+
"@syncfusion/ej2-angular-base": "~21.1.37",
|
|
35
|
+
"@syncfusion/ej2-base": "~21.1.37",
|
|
36
|
+
"@syncfusion/ej2-progressbar": "21.1.37",
|
|
37
37
|
"tslib": "^2.3.0"
|
|
38
38
|
},
|
|
39
39
|
"deprecated": false,
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"schematics": "./schematics/collection.json",
|
|
74
74
|
"sideEffects": false,
|
|
75
75
|
"typings": "syncfusion-ej2-angular-progressbar.d.ts",
|
|
76
|
-
"version": "21.1.
|
|
76
|
+
"version": "21.1.37"
|
|
77
77
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-progressbar";
|
|
2
|
-
export declare const pkgVer = "^
|
|
2
|
+
export declare const pkgVer = "^21.1.35";
|
|
3
3
|
export declare const moduleName = "ProgressBarModule";
|
|
4
|
-
export declare const themeVer = "~
|
|
4
|
+
export declare const themeVer = "~21.1.35";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pkgName = '@syncfusion/ej2-angular-progressbar';
|
|
4
|
-
exports.pkgVer = '^21.1.
|
|
4
|
+
exports.pkgVer = '^21.1.37';
|
|
5
5
|
exports.moduleName = 'ProgressBarModule';
|
|
6
|
-
exports.themeVer = '~21.1.
|
|
6
|
+
exports.themeVer = '~21.1.37';
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective } from './progressbar/annotations.directive';
|
|
2
|
+
export { RangeColorDirective, RangeColorsDirective } from './progressbar/rangecolors.directive';
|
|
2
3
|
export { ProgressBarComponent } from './progressbar/progressbar.component';
|
|
3
4
|
export { ProgressBarModule } from './progressbar/progressbar.module';
|
|
4
5
|
export { ProgressBarAllModule, ProgressAnnotationService, ProgressTooltipService } from './progressbar/progressbar-all.module';
|
|
@@ -2,6 +2,7 @@ import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@a
|
|
|
2
2
|
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
3
|
import { ProgressBar } from '@syncfusion/ej2-progressbar';
|
|
4
4
|
import { ProgressBarAnnotationsDirective } from './annotations.directive';
|
|
5
|
+
import { RangeColorsDirective } from './rangecolors.directive';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare const inputs: string[];
|
|
7
8
|
export declare const outputs: string[];
|
|
@@ -32,6 +33,7 @@ export declare class ProgressBarComponent extends ProgressBar implements ICompon
|
|
|
32
33
|
tooltipRender: any;
|
|
33
34
|
valueChanged: any;
|
|
34
35
|
childAnnotations: QueryList<ProgressBarAnnotationsDirective>;
|
|
36
|
+
childRangeColors: QueryList<RangeColorsDirective>;
|
|
35
37
|
tags: string[];
|
|
36
38
|
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
37
39
|
ngOnInit(): void;
|
|
@@ -41,5 +43,5 @@ export declare class ProgressBarComponent extends ProgressBar implements ICompon
|
|
|
41
43
|
registerEvents: (eventList: string[]) => void;
|
|
42
44
|
addTwoWay: (propList: string[]) => void;
|
|
43
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ejs-progressbar", never, { "animation": "animation"; "annotations": "annotations"; "cornerRadius": "cornerRadius"; "enablePersistence": "enablePersistence"; "enablePieProgress": "enablePieProgress"; "enableProgressSegments": "enableProgressSegments"; "enableRtl": "enableRtl"; "endAngle": "endAngle"; "gapWidth": "gapWidth"; "height": "height"; "innerRadius": "innerRadius"; "isActive": "isActive"; "isGradient": "isGradient"; "isIndeterminate": "isIndeterminate"; "isStriped": "isStriped"; "labelOnTrack": "labelOnTrack"; "labelStyle": "labelStyle"; "locale": "locale"; "margin": "margin"; "maximum": "maximum"; "minimum": "minimum"; "progressColor": "progressColor"; "progressThickness": "progressThickness"; "radius": "radius"; "rangeColors": "rangeColors"; "role": "role"; "secondaryProgress": "secondaryProgress"; "secondaryProgressColor": "secondaryProgressColor"; "secondaryProgressThickness": "secondaryProgressThickness"; "segmentColor": "segmentColor"; "segmentCount": "segmentCount"; "showProgressValue": "showProgressValue"; "startAngle": "startAngle"; "theme": "theme"; "tooltip": "tooltip"; "trackColor": "trackColor"; "trackThickness": "trackThickness"; "type": "type"; "value": "value"; "width": "width"; }, { "animationComplete": "animationComplete"; "load": "load"; "loaded": "loaded"; "mouseClick": "mouseClick"; "mouseDown": "mouseDown"; "mouseLeave": "mouseLeave"; "mouseMove": "mouseMove"; "mouseUp": "mouseUp"; "progressCompleted": "progressCompleted"; "textRender": "textRender"; "tooltipRender": "tooltipRender"; "valueChanged": "valueChanged"; }, ["childAnnotations"], never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ejs-progressbar", never, { "animation": "animation"; "annotations": "annotations"; "cornerRadius": "cornerRadius"; "enablePersistence": "enablePersistence"; "enablePieProgress": "enablePieProgress"; "enableProgressSegments": "enableProgressSegments"; "enableRtl": "enableRtl"; "endAngle": "endAngle"; "gapWidth": "gapWidth"; "height": "height"; "innerRadius": "innerRadius"; "isActive": "isActive"; "isGradient": "isGradient"; "isIndeterminate": "isIndeterminate"; "isStriped": "isStriped"; "labelOnTrack": "labelOnTrack"; "labelStyle": "labelStyle"; "locale": "locale"; "margin": "margin"; "maximum": "maximum"; "minimum": "minimum"; "progressColor": "progressColor"; "progressThickness": "progressThickness"; "radius": "radius"; "rangeColors": "rangeColors"; "role": "role"; "secondaryProgress": "secondaryProgress"; "secondaryProgressColor": "secondaryProgressColor"; "secondaryProgressThickness": "secondaryProgressThickness"; "segmentColor": "segmentColor"; "segmentCount": "segmentCount"; "showProgressValue": "showProgressValue"; "startAngle": "startAngle"; "theme": "theme"; "tooltip": "tooltip"; "trackColor": "trackColor"; "trackThickness": "trackThickness"; "type": "type"; "value": "value"; "width": "width"; }, { "animationComplete": "animationComplete"; "load": "load"; "loaded": "loaded"; "mouseClick": "mouseClick"; "mouseDown": "mouseDown"; "mouseLeave": "mouseLeave"; "mouseMove": "mouseMove"; "mouseUp": "mouseUp"; "progressCompleted": "progressCompleted"; "textRender": "textRender"; "tooltipRender": "tooltipRender"; "valueChanged": "valueChanged"; }, ["childAnnotations", "childRangeColors"], never>;
|
|
45
47
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./progressbar.component";
|
|
3
3
|
import * as i2 from "./annotations.directive";
|
|
4
|
-
import * as i3 from "
|
|
4
|
+
import * as i3 from "./rangecolors.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
5
6
|
/**
|
|
6
7
|
* NgModule definition for the ProgressBar component.
|
|
7
8
|
*/
|
|
8
9
|
export declare class ProgressBarModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof i1.ProgressBarComponent, typeof i2.ProgressBarAnnotationDirective, typeof i2.ProgressBarAnnotationsDirective], [typeof
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof i1.ProgressBarComponent, typeof i2.ProgressBarAnnotationDirective, typeof i2.ProgressBarAnnotationsDirective, typeof i3.RangeColorDirective, typeof i3.RangeColorsDirective], [typeof i4.CommonModule], [typeof i1.ProgressBarComponent, typeof i2.ProgressBarAnnotationDirective, typeof i2.ProgressBarAnnotationsDirective, typeof i3.RangeColorDirective, typeof i3.RangeColorsDirective]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
|
|
12
13
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RangeColorDirective extends ComplexBase<RangeColorDirective> {
|
|
5
|
+
private viewContainerRef;
|
|
6
|
+
directivePropList: any;
|
|
7
|
+
/**
|
|
8
|
+
* color
|
|
9
|
+
* @default null
|
|
10
|
+
*/
|
|
11
|
+
color: any;
|
|
12
|
+
/**
|
|
13
|
+
* end
|
|
14
|
+
* @default null
|
|
15
|
+
*/
|
|
16
|
+
end: any;
|
|
17
|
+
/**
|
|
18
|
+
* start
|
|
19
|
+
* @default null
|
|
20
|
+
*/
|
|
21
|
+
start: any;
|
|
22
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeColorDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RangeColorDirective, "e-rangecolors>e-rangecolor", never, { "color": "color"; "end": "end"; "start": "start"; }, {}, never>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* RangeColor Array Directive
|
|
28
|
+
* @private
|
|
29
|
+
*/
|
|
30
|
+
export declare class RangeColorsDirective extends ArrayBase<RangeColorsDirective> {
|
|
31
|
+
constructor();
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeColorsDirective, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RangeColorsDirective, "ejs-progressbar>e-rangecolors", never, {}, {}, ["children"]>;
|
|
34
|
+
}
|