@syncfusion/ej2-angular-progressbar 31.2.12-ngcc → 32.1.19-ngcc

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.
@@ -3,295 +3,295 @@ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setVa
3
3
  import { ProgressAnnotation, ProgressBar, ProgressTooltip } from '@syncfusion/ej2-progressbar';
4
4
  import { CommonModule } from '@angular/common';
5
5
 
6
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
- return c > 3 && r && Object.defineProperty(target, key, r), r;
11
- };
12
- var __metadata = (this && this.__metadata) || function (k, v) {
13
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
14
- };
15
- let input = ['annotationAngle', 'annotationRadius', 'content'];
16
- let outputs = [];
17
- /**
18
- * ProgressBarAnnotations Directive
19
- * ```html
20
- * <e-progressbar-annotations>
21
- * <e-progressbar-annotation></e-progressbar-annotation>
22
- * </e-progressbar-annotations>
23
- * ```
24
- */
25
- class ProgressBarAnnotationDirective extends ComplexBase {
26
- /**
27
- * @param {?} viewContainerRef
28
- */
29
- constructor(viewContainerRef) {
30
- super();
31
- this.viewContainerRef = viewContainerRef;
32
- setValue('currentInstance', this, this.viewContainerRef);
33
- this.registerEvents(outputs);
34
- this.directivePropList = input;
35
- }
36
- }
37
- ProgressBarAnnotationDirective.decorators = [
38
- { type: Directive, args: [{
39
- selector: 'e-progressbar-annotations>e-progressbar-annotation',
40
- inputs: input,
41
- outputs: outputs,
42
- queries: {}
43
- },] },
44
- ];
45
- /**
46
- * @nocollapse
47
- */
48
- ProgressBarAnnotationDirective.ctorParameters = () => [
49
- { type: ViewContainerRef, },
50
- ];
51
- ProgressBarAnnotationDirective.propDecorators = {
52
- 'content': [{ type: ContentChild, args: ['content',] },],
53
- };
54
- __decorate([
55
- Template(),
56
- __metadata("design:type", Object)
57
- ], ProgressBarAnnotationDirective.prototype, "content", void 0);
58
- /**
59
- * ProgressBarAnnotation Array Directive
60
- */
61
- class ProgressBarAnnotationsDirective extends ArrayBase {
62
- constructor() {
63
- super('annotations');
64
- }
65
- }
66
- ProgressBarAnnotationsDirective.decorators = [
67
- { type: Directive, args: [{
68
- selector: 'ej-progressbar>e-progressbar-annotations',
69
- queries: {
70
- children: new ContentChildren(ProgressBarAnnotationDirective)
71
- },
72
- },] },
73
- ];
74
- /**
75
- * @nocollapse
76
- */
6
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
11
+ };
12
+ var __metadata = (this && this.__metadata) || function (k, v) {
13
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
14
+ };
15
+ let input = ['annotationAngle', 'annotationRadius', 'content'];
16
+ let outputs = [];
17
+ /**
18
+ * ProgressBarAnnotations Directive
19
+ * ```html
20
+ * <e-progressbar-annotations>
21
+ * <e-progressbar-annotation></e-progressbar-annotation>
22
+ * </e-progressbar-annotations>
23
+ * ```
24
+ */
25
+ class ProgressBarAnnotationDirective extends ComplexBase {
26
+ /**
27
+ * @param {?} viewContainerRef
28
+ */
29
+ constructor(viewContainerRef) {
30
+ super();
31
+ this.viewContainerRef = viewContainerRef;
32
+ setValue('currentInstance', this, this.viewContainerRef);
33
+ this.registerEvents(outputs);
34
+ this.directivePropList = input;
35
+ }
36
+ }
37
+ ProgressBarAnnotationDirective.decorators = [
38
+ { type: Directive, args: [{
39
+ selector: 'e-progressbar-annotations>e-progressbar-annotation',
40
+ inputs: input,
41
+ outputs: outputs,
42
+ queries: {}
43
+ },] },
44
+ ];
45
+ /**
46
+ * @nocollapse
47
+ */
48
+ ProgressBarAnnotationDirective.ctorParameters = () => [
49
+ { type: ViewContainerRef, },
50
+ ];
51
+ ProgressBarAnnotationDirective.propDecorators = {
52
+ 'content': [{ type: ContentChild, args: ['content',] },],
53
+ };
54
+ __decorate([
55
+ Template(),
56
+ __metadata("design:type", Object)
57
+ ], ProgressBarAnnotationDirective.prototype, "content", void 0);
58
+ /**
59
+ * ProgressBarAnnotation Array Directive
60
+ */
61
+ class ProgressBarAnnotationsDirective extends ArrayBase {
62
+ constructor() {
63
+ super('annotations');
64
+ }
65
+ }
66
+ ProgressBarAnnotationsDirective.decorators = [
67
+ { type: Directive, args: [{
68
+ selector: 'ej-progressbar>e-progressbar-annotations',
69
+ queries: {
70
+ children: new ContentChildren(ProgressBarAnnotationDirective)
71
+ },
72
+ },] },
73
+ ];
74
+ /**
75
+ * @nocollapse
76
+ */
77
77
  ProgressBarAnnotationsDirective.ctorParameters = () => [];
78
78
 
79
- let input$1 = ['color', 'end', 'start'];
80
- let outputs$1 = [];
81
- class RangeColorDirective extends ComplexBase {
82
- /**
83
- * @param {?} viewContainerRef
84
- */
85
- constructor(viewContainerRef) {
86
- super();
87
- this.viewContainerRef = viewContainerRef;
88
- setValue('currentInstance', this, this.viewContainerRef);
89
- this.registerEvents(outputs$1);
90
- this.directivePropList = input$1;
91
- }
92
- }
93
- RangeColorDirective.decorators = [
94
- { type: Directive, args: [{
95
- selector: 'e-rangecolors>e-rangecolor',
96
- inputs: input$1,
97
- outputs: outputs$1,
98
- queries: {}
99
- },] },
100
- ];
101
- /**
102
- * @nocollapse
103
- */
104
- RangeColorDirective.ctorParameters = () => [
105
- { type: ViewContainerRef, },
106
- ];
107
- /**
108
- * RangeColor Array Directive
109
- */
110
- class RangeColorsDirective extends ArrayBase {
111
- constructor() {
112
- super('rangecolors');
113
- }
114
- }
115
- RangeColorsDirective.decorators = [
116
- { type: Directive, args: [{
117
- selector: 'ejs-progressbar>e-rangecolors',
118
- queries: {
119
- children: new ContentChildren(RangeColorDirective)
120
- },
121
- },] },
122
- ];
123
- /**
124
- * @nocollapse
125
- */
79
+ let input$1 = ['color', 'end', 'start'];
80
+ let outputs$1 = [];
81
+ class RangeColorDirective extends ComplexBase {
82
+ /**
83
+ * @param {?} viewContainerRef
84
+ */
85
+ constructor(viewContainerRef) {
86
+ super();
87
+ this.viewContainerRef = viewContainerRef;
88
+ setValue('currentInstance', this, this.viewContainerRef);
89
+ this.registerEvents(outputs$1);
90
+ this.directivePropList = input$1;
91
+ }
92
+ }
93
+ RangeColorDirective.decorators = [
94
+ { type: Directive, args: [{
95
+ selector: 'e-rangecolors>e-rangecolor',
96
+ inputs: input$1,
97
+ outputs: outputs$1,
98
+ queries: {}
99
+ },] },
100
+ ];
101
+ /**
102
+ * @nocollapse
103
+ */
104
+ RangeColorDirective.ctorParameters = () => [
105
+ { type: ViewContainerRef, },
106
+ ];
107
+ /**
108
+ * RangeColor Array Directive
109
+ */
110
+ class RangeColorsDirective extends ArrayBase {
111
+ constructor() {
112
+ super('rangecolors');
113
+ }
114
+ }
115
+ RangeColorsDirective.decorators = [
116
+ { type: Directive, args: [{
117
+ selector: 'ejs-progressbar>e-rangecolors',
118
+ queries: {
119
+ children: new ContentChildren(RangeColorDirective)
120
+ },
121
+ },] },
122
+ ];
123
+ /**
124
+ * @nocollapse
125
+ */
126
126
  RangeColorsDirective.ctorParameters = () => [];
127
127
 
128
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
129
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
130
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
131
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
132
- return c > 3 && r && Object.defineProperty(target, key, r), r;
133
- };
134
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
135
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
136
- };
137
- 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'];
138
- const outputs$2 = ['animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'tooltipRender', 'valueChanged'];
139
- const twoWays = [''];
140
- /**
141
- * ProgressBar Component
142
- * ```html
143
- * <ejsprogressbar></ejsprogressbar>
144
- * ```
145
- */
146
- let ProgressBarComponent = class ProgressBarComponent extends ProgressBar {
147
- /**
148
- * @param {?} ngEle
149
- * @param {?} srenderer
150
- * @param {?} viewContainerRef
151
- * @param {?} injector
152
- */
153
- constructor(ngEle, srenderer, viewContainerRef, injector) {
154
- super();
155
- this.ngEle = ngEle;
156
- this.srenderer = srenderer;
157
- this.viewContainerRef = viewContainerRef;
158
- this.injector = injector;
159
- this.tags = ['annotations', 'rangeColors'];
160
- this.element = this.ngEle.nativeElement;
161
- this.injectedModules = this.injectedModules || [];
162
- try {
163
- let mod = this.injector.get('ProgressBarProgressAnnotation');
164
- if (this.injectedModules.indexOf(mod) === -1) {
165
- this.injectedModules.push(mod);
166
- }
167
- }
168
- catch (_a) { }
169
- try {
170
- let mod = this.injector.get('ProgressBarProgressTooltip');
171
- if (this.injectedModules.indexOf(mod) === -1) {
172
- this.injectedModules.push(mod);
173
- }
174
- }
175
- catch (_b) { }
176
- this.registerEvents(outputs$2);
177
- this.addTwoWay.call(this, twoWays);
178
- setValue('currentInstance', this, this.viewContainerRef);
179
- this.context = new ComponentBase();
180
- }
181
- /**
182
- * @return {?}
183
- */
184
- ngOnInit() {
185
- this.context.ngOnInit(this);
186
- }
187
- /**
188
- * @return {?}
189
- */
190
- ngAfterViewInit() {
191
- this.context.ngAfterViewInit(this);
192
- }
193
- /**
194
- * @return {?}
195
- */
196
- ngOnDestroy() {
197
- this.context.ngOnDestroy(this);
198
- }
199
- /**
200
- * @return {?}
201
- */
202
- ngAfterContentChecked() {
203
- this.tagObjects[0].instance = this.childAnnotations;
204
- if (this.childRangeColors) {
205
- this.tagObjects[1].instance = /** @type {?} */ (this.childRangeColors);
206
- }
207
- this.context.ngAfterContentChecked(this);
208
- }
209
- };
210
- ProgressBarComponent.decorators = [
211
- { type: Component, args: [{
212
- selector: 'ejs-progressbar',
213
- inputs: inputs,
214
- outputs: outputs$2,
215
- template: '',
216
- changeDetection: ChangeDetectionStrategy.OnPush,
217
- queries: {
218
- childAnnotations: new ContentChild(ProgressBarAnnotationsDirective),
219
- childRangeColors: new ContentChild(RangeColorsDirective)
220
- }
221
- },] },
222
- ];
223
- /**
224
- * @nocollapse
225
- */
226
- ProgressBarComponent.ctorParameters = () => [
227
- { type: ElementRef, },
228
- { type: Renderer2, },
229
- { type: ViewContainerRef, },
230
- { type: Injector, },
231
- ];
232
- ProgressBarComponent = __decorate$1([
233
- ComponentMixins([ComponentBase]),
234
- __metadata$1("design:paramtypes", [ElementRef,
235
- Renderer2,
236
- ViewContainerRef,
237
- Injector])
128
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
129
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
130
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
131
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
132
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
133
+ };
134
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
135
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
136
+ };
137
+ 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'];
138
+ const outputs$2 = ['animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'tooltipRender', 'valueChanged'];
139
+ const twoWays = [''];
140
+ /**
141
+ * ProgressBar Component
142
+ * ```html
143
+ * <ejsprogressbar></ejsprogressbar>
144
+ * ```
145
+ */
146
+ let ProgressBarComponent = class ProgressBarComponent extends ProgressBar {
147
+ /**
148
+ * @param {?} ngEle
149
+ * @param {?} srenderer
150
+ * @param {?} viewContainerRef
151
+ * @param {?} injector
152
+ */
153
+ constructor(ngEle, srenderer, viewContainerRef, injector) {
154
+ super();
155
+ this.ngEle = ngEle;
156
+ this.srenderer = srenderer;
157
+ this.viewContainerRef = viewContainerRef;
158
+ this.injector = injector;
159
+ this.tags = ['annotations', 'rangeColors'];
160
+ this.element = this.ngEle.nativeElement;
161
+ this.injectedModules = this.injectedModules || [];
162
+ try {
163
+ let mod = this.injector.get('ProgressBarProgressAnnotation');
164
+ if (this.injectedModules.indexOf(mod) === -1) {
165
+ this.injectedModules.push(mod);
166
+ }
167
+ }
168
+ catch (_a) { }
169
+ try {
170
+ let mod = this.injector.get('ProgressBarProgressTooltip');
171
+ if (this.injectedModules.indexOf(mod) === -1) {
172
+ this.injectedModules.push(mod);
173
+ }
174
+ }
175
+ catch (_b) { }
176
+ this.registerEvents(outputs$2);
177
+ this.addTwoWay.call(this, twoWays);
178
+ setValue('currentInstance', this, this.viewContainerRef);
179
+ this.context = new ComponentBase();
180
+ }
181
+ /**
182
+ * @return {?}
183
+ */
184
+ ngOnInit() {
185
+ this.context.ngOnInit(this);
186
+ }
187
+ /**
188
+ * @return {?}
189
+ */
190
+ ngAfterViewInit() {
191
+ this.context.ngAfterViewInit(this);
192
+ }
193
+ /**
194
+ * @return {?}
195
+ */
196
+ ngOnDestroy() {
197
+ this.context.ngOnDestroy(this);
198
+ }
199
+ /**
200
+ * @return {?}
201
+ */
202
+ ngAfterContentChecked() {
203
+ this.tagObjects[0].instance = this.childAnnotations;
204
+ if (this.childRangeColors) {
205
+ this.tagObjects[1].instance = /** @type {?} */ (this.childRangeColors);
206
+ }
207
+ this.context.ngAfterContentChecked(this);
208
+ }
209
+ };
210
+ ProgressBarComponent.decorators = [
211
+ { type: Component, args: [{
212
+ selector: 'ejs-progressbar',
213
+ inputs: inputs,
214
+ outputs: outputs$2,
215
+ template: '',
216
+ changeDetection: ChangeDetectionStrategy.OnPush,
217
+ queries: {
218
+ childAnnotations: new ContentChild(ProgressBarAnnotationsDirective),
219
+ childRangeColors: new ContentChild(RangeColorsDirective)
220
+ }
221
+ },] },
222
+ ];
223
+ /**
224
+ * @nocollapse
225
+ */
226
+ ProgressBarComponent.ctorParameters = () => [
227
+ { type: ElementRef, },
228
+ { type: Renderer2, },
229
+ { type: ViewContainerRef, },
230
+ { type: Injector, },
231
+ ];
232
+ ProgressBarComponent = __decorate$1([
233
+ ComponentMixins([ComponentBase]),
234
+ __metadata$1("design:paramtypes", [ElementRef,
235
+ Renderer2,
236
+ ViewContainerRef,
237
+ Injector])
238
238
  ], ProgressBarComponent);
239
239
 
240
- /**
241
- * NgModule definition for the ProgressBar component.
242
- */
243
- class ProgressBarModule {
244
- }
245
- ProgressBarModule.decorators = [
246
- { type: NgModule, args: [{
247
- imports: [CommonModule],
248
- declarations: [
249
- ProgressBarComponent,
250
- ProgressBarAnnotationDirective,
251
- ProgressBarAnnotationsDirective,
252
- RangeColorDirective,
253
- RangeColorsDirective
254
- ],
255
- exports: [
256
- ProgressBarComponent,
257
- ProgressBarAnnotationDirective,
258
- ProgressBarAnnotationsDirective,
259
- RangeColorDirective,
260
- RangeColorsDirective
261
- ]
262
- },] },
263
- ];
264
- /**
265
- * @nocollapse
266
- */
240
+ /**
241
+ * NgModule definition for the ProgressBar component.
242
+ */
243
+ class ProgressBarModule {
244
+ }
245
+ ProgressBarModule.decorators = [
246
+ { type: NgModule, args: [{
247
+ imports: [CommonModule],
248
+ declarations: [
249
+ ProgressBarComponent,
250
+ ProgressBarAnnotationDirective,
251
+ ProgressBarAnnotationsDirective,
252
+ RangeColorDirective,
253
+ RangeColorsDirective
254
+ ],
255
+ exports: [
256
+ ProgressBarComponent,
257
+ ProgressBarAnnotationDirective,
258
+ ProgressBarAnnotationsDirective,
259
+ RangeColorDirective,
260
+ RangeColorsDirective
261
+ ]
262
+ },] },
263
+ ];
264
+ /**
265
+ * @nocollapse
266
+ */
267
267
  ProgressBarModule.ctorParameters = () => [];
268
268
 
269
- const ProgressAnnotationService = { provide: 'ProgressBarProgressAnnotation', useValue: ProgressAnnotation };
270
- const ProgressTooltipService = { provide: 'ProgressBarProgressTooltip', useValue: ProgressTooltip };
271
- /**
272
- * NgModule definition for the ProgressBar component with providers.
273
- */
274
- class ProgressBarAllModule {
275
- }
276
- ProgressBarAllModule.decorators = [
277
- { type: NgModule, args: [{
278
- imports: [CommonModule, ProgressBarModule],
279
- exports: [
280
- ProgressBarModule
281
- ],
282
- providers: [
283
- ProgressAnnotationService,
284
- ProgressTooltipService
285
- ]
286
- },] },
287
- ];
288
- /**
289
- * @nocollapse
290
- */
269
+ const ProgressAnnotationService = { provide: 'ProgressBarProgressAnnotation', useValue: ProgressAnnotation };
270
+ const ProgressTooltipService = { provide: 'ProgressBarProgressTooltip', useValue: ProgressTooltip };
271
+ /**
272
+ * NgModule definition for the ProgressBar component with providers.
273
+ */
274
+ class ProgressBarAllModule {
275
+ }
276
+ ProgressBarAllModule.decorators = [
277
+ { type: NgModule, args: [{
278
+ imports: [CommonModule, ProgressBarModule],
279
+ exports: [
280
+ ProgressBarModule
281
+ ],
282
+ providers: [
283
+ ProgressAnnotationService,
284
+ ProgressTooltipService
285
+ ]
286
+ },] },
287
+ ];
288
+ /**
289
+ * @nocollapse
290
+ */
291
291
  ProgressBarAllModule.ctorParameters = () => [];
292
292
 
293
- /**
294
- * Generated bundle index. Do not edit.
293
+ /**
294
+ * Generated bundle index. Do not edit.
295
295
  */
296
296
 
297
297
  export { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective, RangeColorDirective, RangeColorsDirective, ProgressBarComponent, ProgressBarModule, ProgressBarAllModule, ProgressAnnotationService, ProgressTooltipService, inputs as ɵa, outputs$2 as ɵb };