@syncfusion/ej2-angular-inputs 27.2.2 → 27.2.4-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.
Files changed (92) hide show
  1. package/@syncfusion/ej2-angular-inputs.es5.js +2328 -0
  2. package/@syncfusion/ej2-angular-inputs.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-inputs.js +2193 -0
  4. package/@syncfusion/ej2-angular-inputs.js.map +1 -0
  5. package/dist/ej2-angular-inputs.umd.js +2438 -0
  6. package/dist/ej2-angular-inputs.umd.js.map +1 -0
  7. package/dist/ej2-angular-inputs.umd.min.js +11 -0
  8. package/dist/ej2-angular-inputs.umd.min.js.map +1 -0
  9. package/ej2-angular-inputs.d.ts +15 -0
  10. package/ej2-angular-inputs.metadata.json +1 -0
  11. package/license +10 -0
  12. package/package.json +12 -25
  13. package/schematics/utils/lib-details.js +2 -2
  14. package/schematics/utils/lib-details.ts +2 -2
  15. package/src/color-picker/colorpicker-all.module.d.ts +0 -6
  16. package/src/color-picker/colorpicker.component.d.ts +0 -3
  17. package/src/color-picker/colorpicker.module.d.ts +0 -6
  18. package/src/maskedtextbox/maskedtextbox-all.module.d.ts +0 -6
  19. package/src/maskedtextbox/maskedtextbox.component.d.ts +0 -3
  20. package/src/maskedtextbox/maskedtextbox.module.d.ts +0 -6
  21. package/src/numerictextbox/numerictextbox-all.module.d.ts +0 -6
  22. package/src/numerictextbox/numerictextbox.component.d.ts +0 -3
  23. package/src/numerictextbox/numerictextbox.module.d.ts +0 -6
  24. package/src/otp-input/otpinput-all.module.d.ts +0 -6
  25. package/src/otp-input/otpinput.component.d.ts +0 -3
  26. package/src/otp-input/otpinput.module.d.ts +0 -6
  27. package/src/rating/rating-all.module.d.ts +0 -6
  28. package/src/rating/rating.component.d.ts +0 -3
  29. package/src/rating/rating.module.d.ts +0 -6
  30. package/src/signature/signature-all.module.d.ts +0 -6
  31. package/src/signature/signature.component.d.ts +0 -3
  32. package/src/signature/signature.module.d.ts +0 -6
  33. package/src/slider/slider-all.module.d.ts +0 -6
  34. package/src/slider/slider.component.d.ts +0 -3
  35. package/src/slider/slider.module.d.ts +0 -6
  36. package/src/smart-textarea/smarttextarea-all.module.d.ts +0 -6
  37. package/src/smart-textarea/smarttextarea.component.d.ts +0 -3
  38. package/src/smart-textarea/smarttextarea.module.d.ts +0 -6
  39. package/src/textarea/textarea-all.module.d.ts +0 -6
  40. package/src/textarea/textarea.component.d.ts +0 -3
  41. package/src/textarea/textarea.module.d.ts +0 -6
  42. package/src/textbox/textbox-all.module.d.ts +0 -6
  43. package/src/textbox/textbox.component.d.ts +0 -3
  44. package/src/textbox/textbox.module.d.ts +0 -6
  45. package/src/uploader/files.directive.d.ts +0 -5
  46. package/src/uploader/uploader-all.module.d.ts +0 -6
  47. package/src/uploader/uploader.component.d.ts +0 -3
  48. package/src/uploader/uploader.module.d.ts +0 -7
  49. package/CHANGELOG.md +0 -1576
  50. package/esm2020/public_api.mjs +0 -2
  51. package/esm2020/src/color-picker/colorpicker-all.module.mjs +0 -23
  52. package/esm2020/src/color-picker/colorpicker.component.mjs +0 -84
  53. package/esm2020/src/color-picker/colorpicker.module.mjs +0 -25
  54. package/esm2020/src/form-validator/form-validator.mjs +0 -193
  55. package/esm2020/src/index.mjs +0 -37
  56. package/esm2020/src/maskedtextbox/maskedtextbox-all.module.mjs +0 -23
  57. package/esm2020/src/maskedtextbox/maskedtextbox.component.mjs +0 -85
  58. package/esm2020/src/maskedtextbox/maskedtextbox.module.mjs +0 -25
  59. package/esm2020/src/numerictextbox/numerictextbox-all.module.mjs +0 -23
  60. package/esm2020/src/numerictextbox/numerictextbox.component.mjs +0 -85
  61. package/esm2020/src/numerictextbox/numerictextbox.module.mjs +0 -25
  62. package/esm2020/src/otp-input/otpinput-all.module.mjs +0 -23
  63. package/esm2020/src/otp-input/otpinput.component.mjs +0 -85
  64. package/esm2020/src/otp-input/otpinput.module.mjs +0 -25
  65. package/esm2020/src/rating/rating-all.module.mjs +0 -23
  66. package/esm2020/src/rating/rating.component.mjs +0 -109
  67. package/esm2020/src/rating/rating.module.mjs +0 -25
  68. package/esm2020/src/signature/signature-all.module.mjs +0 -23
  69. package/esm2020/src/signature/signature.component.mjs +0 -84
  70. package/esm2020/src/signature/signature.module.mjs +0 -25
  71. package/esm2020/src/slider/slider-all.module.mjs +0 -23
  72. package/esm2020/src/slider/slider.component.mjs +0 -84
  73. package/esm2020/src/slider/slider.module.mjs +0 -25
  74. package/esm2020/src/smart-textarea/smarttextarea-all.module.mjs +0 -23
  75. package/esm2020/src/smart-textarea/smarttextarea.component.mjs +0 -85
  76. package/esm2020/src/smart-textarea/smarttextarea.module.mjs +0 -25
  77. package/esm2020/src/textarea/textarea-all.module.mjs +0 -23
  78. package/esm2020/src/textarea/textarea.component.mjs +0 -85
  79. package/esm2020/src/textarea/textarea.module.mjs +0 -25
  80. package/esm2020/src/textbox/textbox-all.module.mjs +0 -23
  81. package/esm2020/src/textbox/textbox.component.mjs +0 -85
  82. package/esm2020/src/textbox/textbox.module.mjs +0 -25
  83. package/esm2020/src/uploader/files.directive.mjs +0 -58
  84. package/esm2020/src/uploader/uploader-all.module.mjs +0 -23
  85. package/esm2020/src/uploader/uploader.component.mjs +0 -96
  86. package/esm2020/src/uploader/uploader.module.mjs +0 -34
  87. package/esm2020/syncfusion-ej2-angular-inputs.mjs +0 -5
  88. package/fesm2015/syncfusion-ej2-angular-inputs.mjs +0 -1597
  89. package/fesm2015/syncfusion-ej2-angular-inputs.mjs.map +0 -1
  90. package/fesm2020/syncfusion-ej2-angular-inputs.mjs +0 -1597
  91. package/fesm2020/syncfusion-ej2-angular-inputs.mjs.map +0 -1
  92. package/syncfusion-ej2-angular-inputs.d.ts +0 -5
@@ -0,0 +1,2193 @@
1
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef, forwardRef } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
+ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@syncfusion/ej2-angular-base';
4
+ import { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, OtpInput, Rating, Signature, Slider, SmartTextArea, TextArea, TextBox, Uploader } from '@syncfusion/ej2-inputs';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10
+ 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;
11
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
12
+ };
13
+ var __metadata = (this && this.__metadata) || function (k, v) {
14
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
15
+ };
16
+ const inputs = ['autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width'];
17
+ const outputs = ['blur', 'change', 'created', 'destroyed', 'focus', 'input', 'valueChange'];
18
+ const twoWays = ['value'];
19
+ /**
20
+ * Represents the EJ2 Angular TextBox Component.
21
+ * ```html
22
+ * <ejs-textbox [value]='value'></ejs-textbox>
23
+ * ```
24
+ */
25
+ let TextBoxComponent = TextBoxComponent_1 = class TextBoxComponent extends TextBox {
26
+ /**
27
+ * @param {?} ngEle
28
+ * @param {?} srenderer
29
+ * @param {?} viewContainerRef
30
+ * @param {?} injector
31
+ * @param {?} cdr
32
+ */
33
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
34
+ super();
35
+ this.ngEle = ngEle;
36
+ this.srenderer = srenderer;
37
+ this.viewContainerRef = viewContainerRef;
38
+ this.injector = injector;
39
+ this.cdr = cdr;
40
+ this.skipFromEvent = true;
41
+ this.element = this.ngEle.nativeElement;
42
+ this.injectedModules = this.injectedModules || [];
43
+ this.registerEvents(outputs);
44
+ this.addTwoWay.call(this, twoWays);
45
+ setValue('currentInstance', this, this.viewContainerRef);
46
+ this.formContext = new FormBase();
47
+ this.formCompContext = new ComponentBase();
48
+ }
49
+ /**
50
+ * @param {?} registerFunction
51
+ * @return {?}
52
+ */
53
+ registerOnChange(registerFunction) {
54
+ }
55
+ /**
56
+ * @param {?} registerFunction
57
+ * @return {?}
58
+ */
59
+ registerOnTouched(registerFunction) {
60
+ }
61
+ /**
62
+ * @param {?} value
63
+ * @return {?}
64
+ */
65
+ writeValue(value) {
66
+ }
67
+ /**
68
+ * @param {?} disabled
69
+ * @return {?}
70
+ */
71
+ setDisabledState(disabled) {
72
+ }
73
+ /**
74
+ * @return {?}
75
+ */
76
+ ngOnInit() {
77
+ this.formCompContext.ngOnInit(this);
78
+ }
79
+ /**
80
+ * @return {?}
81
+ */
82
+ ngAfterViewInit() {
83
+ this.formContext.ngAfterViewInit(this);
84
+ }
85
+ /**
86
+ * @return {?}
87
+ */
88
+ ngOnDestroy() {
89
+ this.formCompContext.ngOnDestroy(this);
90
+ }
91
+ /**
92
+ * @return {?}
93
+ */
94
+ ngAfterContentChecked() {
95
+ this.formCompContext.ngAfterContentChecked(this);
96
+ }
97
+ };
98
+ TextBoxComponent.decorators = [
99
+ { type: Component, args: [{
100
+ selector: 'ejs-textbox',
101
+ inputs: inputs,
102
+ outputs: outputs,
103
+ template: '',
104
+ changeDetection: ChangeDetectionStrategy.OnPush,
105
+ providers: [
106
+ {
107
+ provide: NG_VALUE_ACCESSOR,
108
+ useExisting: forwardRef(() => TextBoxComponent_1),
109
+ multi: true
110
+ }
111
+ ],
112
+ queries: {}
113
+ },] },
114
+ ];
115
+ /**
116
+ * @nocollapse
117
+ */
118
+ TextBoxComponent.ctorParameters = () => [
119
+ { type: ElementRef, },
120
+ { type: Renderer2, },
121
+ { type: ViewContainerRef, },
122
+ { type: Injector, },
123
+ { type: ChangeDetectorRef, },
124
+ ];
125
+ TextBoxComponent = TextBoxComponent_1 = __decorate([
126
+ ComponentMixins([ComponentBase, FormBase]),
127
+ __metadata("design:paramtypes", [ElementRef,
128
+ Renderer2,
129
+ ViewContainerRef,
130
+ Injector,
131
+ ChangeDetectorRef])
132
+ ], TextBoxComponent);
133
+ var TextBoxComponent_1;
134
+
135
+ /**
136
+ * NgModule definition for the TextBox component.
137
+ */
138
+ class TextBoxModule {
139
+ }
140
+ TextBoxModule.decorators = [
141
+ { type: NgModule, args: [{
142
+ imports: [CommonModule],
143
+ declarations: [
144
+ TextBoxComponent
145
+ ],
146
+ exports: [
147
+ TextBoxComponent
148
+ ]
149
+ },] },
150
+ ];
151
+ /**
152
+ * @nocollapse
153
+ */
154
+ TextBoxModule.ctorParameters = () => [];
155
+
156
+ /**
157
+ * NgModule definition for the TextBox component with providers.
158
+ */
159
+ class TextBoxAllModule {
160
+ }
161
+ TextBoxAllModule.decorators = [
162
+ { type: NgModule, args: [{
163
+ imports: [CommonModule, TextBoxModule],
164
+ exports: [
165
+ TextBoxModule
166
+ ],
167
+ providers: []
168
+ },] },
169
+ ];
170
+ /**
171
+ * @nocollapse
172
+ */
173
+ TextBoxAllModule.ctorParameters = () => [];
174
+
175
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
176
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
177
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
178
+ 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;
179
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
180
+ };
181
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
182
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
183
+ };
184
+ const inputs$1 = ['cols', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'maxLength', 'placeholder', 'readonly', 'resizeMode', 'rows', 'showClearButton', 'value', 'width'];
185
+ const outputs$1 = ['blur', 'change', 'created', 'destroyed', 'focus', 'input', 'valueChange'];
186
+ const twoWays$1 = ['value'];
187
+ /**
188
+ * Represents the EJ2 Angular TextArea Component.
189
+ * ```html
190
+ * <ejs-textarea [value]='value'></ejs-textarea>
191
+ * ```
192
+ */
193
+ let TextAreaComponent = TextAreaComponent_1 = class TextAreaComponent extends TextArea {
194
+ /**
195
+ * @param {?} ngEle
196
+ * @param {?} srenderer
197
+ * @param {?} viewContainerRef
198
+ * @param {?} injector
199
+ * @param {?} cdr
200
+ */
201
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
202
+ super();
203
+ this.ngEle = ngEle;
204
+ this.srenderer = srenderer;
205
+ this.viewContainerRef = viewContainerRef;
206
+ this.injector = injector;
207
+ this.cdr = cdr;
208
+ this.skipFromEvent = true;
209
+ this.element = this.ngEle.nativeElement;
210
+ this.injectedModules = this.injectedModules || [];
211
+ this.registerEvents(outputs$1);
212
+ this.addTwoWay.call(this, twoWays$1);
213
+ setValue('currentInstance', this, this.viewContainerRef);
214
+ this.formContext = new FormBase();
215
+ this.formCompContext = new ComponentBase();
216
+ }
217
+ /**
218
+ * @param {?} registerFunction
219
+ * @return {?}
220
+ */
221
+ registerOnChange(registerFunction) {
222
+ }
223
+ /**
224
+ * @param {?} registerFunction
225
+ * @return {?}
226
+ */
227
+ registerOnTouched(registerFunction) {
228
+ }
229
+ /**
230
+ * @param {?} value
231
+ * @return {?}
232
+ */
233
+ writeValue(value) {
234
+ }
235
+ /**
236
+ * @param {?} disabled
237
+ * @return {?}
238
+ */
239
+ setDisabledState(disabled) {
240
+ }
241
+ /**
242
+ * @return {?}
243
+ */
244
+ ngOnInit() {
245
+ this.formCompContext.ngOnInit(this);
246
+ }
247
+ /**
248
+ * @return {?}
249
+ */
250
+ ngAfterViewInit() {
251
+ this.formContext.ngAfterViewInit(this);
252
+ }
253
+ /**
254
+ * @return {?}
255
+ */
256
+ ngOnDestroy() {
257
+ this.formCompContext.ngOnDestroy(this);
258
+ }
259
+ /**
260
+ * @return {?}
261
+ */
262
+ ngAfterContentChecked() {
263
+ this.formCompContext.ngAfterContentChecked(this);
264
+ }
265
+ };
266
+ TextAreaComponent.decorators = [
267
+ { type: Component, args: [{
268
+ selector: 'ejs-textarea',
269
+ inputs: inputs$1,
270
+ outputs: outputs$1,
271
+ template: '',
272
+ changeDetection: ChangeDetectionStrategy.OnPush,
273
+ providers: [
274
+ {
275
+ provide: NG_VALUE_ACCESSOR,
276
+ useExisting: forwardRef(() => TextAreaComponent_1),
277
+ multi: true
278
+ }
279
+ ],
280
+ queries: {}
281
+ },] },
282
+ ];
283
+ /**
284
+ * @nocollapse
285
+ */
286
+ TextAreaComponent.ctorParameters = () => [
287
+ { type: ElementRef, },
288
+ { type: Renderer2, },
289
+ { type: ViewContainerRef, },
290
+ { type: Injector, },
291
+ { type: ChangeDetectorRef, },
292
+ ];
293
+ TextAreaComponent = TextAreaComponent_1 = __decorate$1([
294
+ ComponentMixins([ComponentBase, FormBase]),
295
+ __metadata$1("design:paramtypes", [ElementRef,
296
+ Renderer2,
297
+ ViewContainerRef,
298
+ Injector,
299
+ ChangeDetectorRef])
300
+ ], TextAreaComponent);
301
+ var TextAreaComponent_1;
302
+
303
+ /**
304
+ * NgModule definition for the TextArea component.
305
+ */
306
+ class TextAreaModule {
307
+ }
308
+ TextAreaModule.decorators = [
309
+ { type: NgModule, args: [{
310
+ imports: [CommonModule],
311
+ declarations: [
312
+ TextAreaComponent
313
+ ],
314
+ exports: [
315
+ TextAreaComponent
316
+ ]
317
+ },] },
318
+ ];
319
+ /**
320
+ * @nocollapse
321
+ */
322
+ TextAreaModule.ctorParameters = () => [];
323
+
324
+ /**
325
+ * NgModule definition for the TextArea component with providers.
326
+ */
327
+ class TextAreaAllModule {
328
+ }
329
+ TextAreaAllModule.decorators = [
330
+ { type: NgModule, args: [{
331
+ imports: [CommonModule, TextAreaModule],
332
+ exports: [
333
+ TextAreaModule
334
+ ],
335
+ providers: []
336
+ },] },
337
+ ];
338
+ /**
339
+ * @nocollapse
340
+ */
341
+ TextAreaAllModule.ctorParameters = () => [];
342
+
343
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
344
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
345
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
346
+ 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;
347
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
348
+ };
349
+ var __metadata$2 = (this && this.__metadata) || function (k, v) {
350
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
351
+ };
352
+ const inputs$2 = ['cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width'];
353
+ const outputs$2 = ['blur', 'change', 'created', 'destroyed', 'focus', 'valueChange'];
354
+ const twoWays$2 = ['value'];
355
+ /**
356
+ * Represents the EJ2 Angular NumericTextBox Component.
357
+ * ```html
358
+ * <ej-numerictextbox [value]='value'></ej-numerictextbox>
359
+ * ```
360
+ */
361
+ let NumericTextBoxComponent = NumericTextBoxComponent_1 = class NumericTextBoxComponent extends NumericTextBox {
362
+ /**
363
+ * @param {?} ngEle
364
+ * @param {?} srenderer
365
+ * @param {?} viewContainerRef
366
+ * @param {?} injector
367
+ * @param {?} cdr
368
+ */
369
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
370
+ super();
371
+ this.ngEle = ngEle;
372
+ this.srenderer = srenderer;
373
+ this.viewContainerRef = viewContainerRef;
374
+ this.injector = injector;
375
+ this.cdr = cdr;
376
+ this.skipFromEvent = true;
377
+ this.element = this.ngEle.nativeElement;
378
+ this.injectedModules = this.injectedModules || [];
379
+ this.registerEvents(outputs$2);
380
+ this.addTwoWay.call(this, twoWays$2);
381
+ setValue('currentInstance', this, this.viewContainerRef);
382
+ this.formContext = new FormBase();
383
+ this.formCompContext = new ComponentBase();
384
+ }
385
+ /**
386
+ * @param {?} registerFunction
387
+ * @return {?}
388
+ */
389
+ registerOnChange(registerFunction) {
390
+ }
391
+ /**
392
+ * @param {?} registerFunction
393
+ * @return {?}
394
+ */
395
+ registerOnTouched(registerFunction) {
396
+ }
397
+ /**
398
+ * @param {?} value
399
+ * @return {?}
400
+ */
401
+ writeValue(value) {
402
+ }
403
+ /**
404
+ * @param {?} disabled
405
+ * @return {?}
406
+ */
407
+ setDisabledState(disabled) {
408
+ }
409
+ /**
410
+ * @return {?}
411
+ */
412
+ ngOnInit() {
413
+ this.formCompContext.ngOnInit(this);
414
+ }
415
+ /**
416
+ * @return {?}
417
+ */
418
+ ngAfterViewInit() {
419
+ this.formContext.ngAfterViewInit(this);
420
+ }
421
+ /**
422
+ * @return {?}
423
+ */
424
+ ngOnDestroy() {
425
+ this.formCompContext.ngOnDestroy(this);
426
+ }
427
+ /**
428
+ * @return {?}
429
+ */
430
+ ngAfterContentChecked() {
431
+ this.formCompContext.ngAfterContentChecked(this);
432
+ }
433
+ };
434
+ NumericTextBoxComponent.decorators = [
435
+ { type: Component, args: [{
436
+ selector: 'ejs-numerictextbox',
437
+ inputs: inputs$2,
438
+ outputs: outputs$2,
439
+ template: '',
440
+ changeDetection: ChangeDetectionStrategy.OnPush,
441
+ providers: [
442
+ {
443
+ provide: NG_VALUE_ACCESSOR,
444
+ useExisting: forwardRef(() => NumericTextBoxComponent_1),
445
+ multi: true
446
+ }
447
+ ],
448
+ queries: {}
449
+ },] },
450
+ ];
451
+ /**
452
+ * @nocollapse
453
+ */
454
+ NumericTextBoxComponent.ctorParameters = () => [
455
+ { type: ElementRef, },
456
+ { type: Renderer2, },
457
+ { type: ViewContainerRef, },
458
+ { type: Injector, },
459
+ { type: ChangeDetectorRef, },
460
+ ];
461
+ NumericTextBoxComponent = NumericTextBoxComponent_1 = __decorate$2([
462
+ ComponentMixins([ComponentBase, FormBase]),
463
+ __metadata$2("design:paramtypes", [ElementRef,
464
+ Renderer2,
465
+ ViewContainerRef,
466
+ Injector,
467
+ ChangeDetectorRef])
468
+ ], NumericTextBoxComponent);
469
+ var NumericTextBoxComponent_1;
470
+
471
+ /**
472
+ * NgModule definition for the NumericTextBox component.
473
+ */
474
+ class NumericTextBoxModule {
475
+ }
476
+ NumericTextBoxModule.decorators = [
477
+ { type: NgModule, args: [{
478
+ imports: [CommonModule],
479
+ declarations: [
480
+ NumericTextBoxComponent
481
+ ],
482
+ exports: [
483
+ NumericTextBoxComponent
484
+ ]
485
+ },] },
486
+ ];
487
+ /**
488
+ * @nocollapse
489
+ */
490
+ NumericTextBoxModule.ctorParameters = () => [];
491
+
492
+ /**
493
+ * NgModule definition for the NumericTextBox component with providers.
494
+ */
495
+ class NumericTextBoxAllModule {
496
+ }
497
+ NumericTextBoxAllModule.decorators = [
498
+ { type: NgModule, args: [{
499
+ imports: [CommonModule, NumericTextBoxModule],
500
+ exports: [
501
+ NumericTextBoxModule
502
+ ],
503
+ providers: []
504
+ },] },
505
+ ];
506
+ /**
507
+ * @nocollapse
508
+ */
509
+ NumericTextBoxAllModule.ctorParameters = () => [];
510
+
511
+ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
512
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
513
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
514
+ 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;
515
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
516
+ };
517
+ var __metadata$3 = (this && this.__metadata) || function (k, v) {
518
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
519
+ };
520
+ const inputs$3 = ['cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width'];
521
+ const outputs$3 = ['blur', 'change', 'created', 'destroyed', 'focus', 'valueChange'];
522
+ const twoWays$3 = ['value'];
523
+ /**
524
+ * Represents the EJ2 Angular MaskedTextbox Component.
525
+ * ```html
526
+ * <ej-maskedtextbox [value]='value'></ej-maskedtextbox>
527
+ * ```
528
+ */
529
+ let MaskedTextBoxComponent = MaskedTextBoxComponent_1 = class MaskedTextBoxComponent extends MaskedTextBox {
530
+ /**
531
+ * @param {?} ngEle
532
+ * @param {?} srenderer
533
+ * @param {?} viewContainerRef
534
+ * @param {?} injector
535
+ * @param {?} cdr
536
+ */
537
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
538
+ super();
539
+ this.ngEle = ngEle;
540
+ this.srenderer = srenderer;
541
+ this.viewContainerRef = viewContainerRef;
542
+ this.injector = injector;
543
+ this.cdr = cdr;
544
+ this.skipFromEvent = true;
545
+ this.element = this.ngEle.nativeElement;
546
+ this.injectedModules = this.injectedModules || [];
547
+ this.registerEvents(outputs$3);
548
+ this.addTwoWay.call(this, twoWays$3);
549
+ setValue('currentInstance', this, this.viewContainerRef);
550
+ this.formContext = new FormBase();
551
+ this.formCompContext = new ComponentBase();
552
+ }
553
+ /**
554
+ * @param {?} registerFunction
555
+ * @return {?}
556
+ */
557
+ registerOnChange(registerFunction) {
558
+ }
559
+ /**
560
+ * @param {?} registerFunction
561
+ * @return {?}
562
+ */
563
+ registerOnTouched(registerFunction) {
564
+ }
565
+ /**
566
+ * @param {?} value
567
+ * @return {?}
568
+ */
569
+ writeValue(value) {
570
+ }
571
+ /**
572
+ * @param {?} disabled
573
+ * @return {?}
574
+ */
575
+ setDisabledState(disabled) {
576
+ }
577
+ /**
578
+ * @return {?}
579
+ */
580
+ ngOnInit() {
581
+ this.formCompContext.ngOnInit(this);
582
+ }
583
+ /**
584
+ * @return {?}
585
+ */
586
+ ngAfterViewInit() {
587
+ this.formContext.ngAfterViewInit(this);
588
+ }
589
+ /**
590
+ * @return {?}
591
+ */
592
+ ngOnDestroy() {
593
+ this.formCompContext.ngOnDestroy(this);
594
+ }
595
+ /**
596
+ * @return {?}
597
+ */
598
+ ngAfterContentChecked() {
599
+ this.formCompContext.ngAfterContentChecked(this);
600
+ }
601
+ };
602
+ MaskedTextBoxComponent.decorators = [
603
+ { type: Component, args: [{
604
+ selector: 'ejs-maskedtextbox',
605
+ inputs: inputs$3,
606
+ outputs: outputs$3,
607
+ template: '',
608
+ changeDetection: ChangeDetectionStrategy.OnPush,
609
+ providers: [
610
+ {
611
+ provide: NG_VALUE_ACCESSOR,
612
+ useExisting: forwardRef(() => MaskedTextBoxComponent_1),
613
+ multi: true
614
+ }
615
+ ],
616
+ queries: {}
617
+ },] },
618
+ ];
619
+ /**
620
+ * @nocollapse
621
+ */
622
+ MaskedTextBoxComponent.ctorParameters = () => [
623
+ { type: ElementRef, },
624
+ { type: Renderer2, },
625
+ { type: ViewContainerRef, },
626
+ { type: Injector, },
627
+ { type: ChangeDetectorRef, },
628
+ ];
629
+ MaskedTextBoxComponent = MaskedTextBoxComponent_1 = __decorate$3([
630
+ ComponentMixins([ComponentBase, FormBase]),
631
+ __metadata$3("design:paramtypes", [ElementRef,
632
+ Renderer2,
633
+ ViewContainerRef,
634
+ Injector,
635
+ ChangeDetectorRef])
636
+ ], MaskedTextBoxComponent);
637
+ var MaskedTextBoxComponent_1;
638
+
639
+ /**
640
+ * NgModule definition for the MaskedTextBox component.
641
+ */
642
+ class MaskedTextBoxModule {
643
+ }
644
+ MaskedTextBoxModule.decorators = [
645
+ { type: NgModule, args: [{
646
+ imports: [CommonModule],
647
+ declarations: [
648
+ MaskedTextBoxComponent
649
+ ],
650
+ exports: [
651
+ MaskedTextBoxComponent
652
+ ]
653
+ },] },
654
+ ];
655
+ /**
656
+ * @nocollapse
657
+ */
658
+ MaskedTextBoxModule.ctorParameters = () => [];
659
+
660
+ /**
661
+ * NgModule definition for the MaskedTextBox component with providers.
662
+ */
663
+ class MaskedTextBoxAllModule {
664
+ }
665
+ MaskedTextBoxAllModule.decorators = [
666
+ { type: NgModule, args: [{
667
+ imports: [CommonModule, MaskedTextBoxModule],
668
+ exports: [
669
+ MaskedTextBoxModule
670
+ ],
671
+ providers: []
672
+ },] },
673
+ ];
674
+ /**
675
+ * @nocollapse
676
+ */
677
+ MaskedTextBoxAllModule.ctorParameters = () => [];
678
+
679
+ var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
680
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
681
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
682
+ 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;
683
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
684
+ };
685
+ var __metadata$4 = (this && this.__metadata) || function (k, v) {
686
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
687
+ };
688
+ const inputs$4 = ['colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width'];
689
+ const outputs$4 = ['focus', 'blur', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange', 'valueChange'];
690
+ const twoWays$4 = ['value'];
691
+ /**
692
+ * Represents the EJ2 Angular Slider Component.
693
+ * ```html
694
+ * <ejs-slider [value]='value'></ejs-slider>
695
+ * ```
696
+ */
697
+ let SliderComponent = SliderComponent_1 = class SliderComponent extends Slider {
698
+ /**
699
+ * @param {?} ngEle
700
+ * @param {?} srenderer
701
+ * @param {?} viewContainerRef
702
+ * @param {?} injector
703
+ * @param {?} cdr
704
+ */
705
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
706
+ super();
707
+ this.ngEle = ngEle;
708
+ this.srenderer = srenderer;
709
+ this.viewContainerRef = viewContainerRef;
710
+ this.injector = injector;
711
+ this.cdr = cdr;
712
+ this.element = this.ngEle.nativeElement;
713
+ this.injectedModules = this.injectedModules || [];
714
+ this.registerEvents(outputs$4);
715
+ this.addTwoWay.call(this, twoWays$4);
716
+ setValue('currentInstance', this, this.viewContainerRef);
717
+ this.formContext = new FormBase();
718
+ this.formCompContext = new ComponentBase();
719
+ }
720
+ /**
721
+ * @param {?} registerFunction
722
+ * @return {?}
723
+ */
724
+ registerOnChange(registerFunction) {
725
+ }
726
+ /**
727
+ * @param {?} registerFunction
728
+ * @return {?}
729
+ */
730
+ registerOnTouched(registerFunction) {
731
+ }
732
+ /**
733
+ * @param {?} value
734
+ * @return {?}
735
+ */
736
+ writeValue(value) {
737
+ }
738
+ /**
739
+ * @param {?} disabled
740
+ * @return {?}
741
+ */
742
+ setDisabledState(disabled) {
743
+ }
744
+ /**
745
+ * @return {?}
746
+ */
747
+ ngOnInit() {
748
+ this.formCompContext.ngOnInit(this);
749
+ }
750
+ /**
751
+ * @return {?}
752
+ */
753
+ ngAfterViewInit() {
754
+ this.formContext.ngAfterViewInit(this);
755
+ }
756
+ /**
757
+ * @return {?}
758
+ */
759
+ ngOnDestroy() {
760
+ this.formCompContext.ngOnDestroy(this);
761
+ }
762
+ /**
763
+ * @return {?}
764
+ */
765
+ ngAfterContentChecked() {
766
+ this.formCompContext.ngAfterContentChecked(this);
767
+ }
768
+ };
769
+ SliderComponent.decorators = [
770
+ { type: Component, args: [{
771
+ selector: 'ejs-slider',
772
+ inputs: inputs$4,
773
+ outputs: outputs$4,
774
+ template: '',
775
+ changeDetection: ChangeDetectionStrategy.OnPush,
776
+ providers: [
777
+ {
778
+ provide: NG_VALUE_ACCESSOR,
779
+ useExisting: forwardRef(() => SliderComponent_1),
780
+ multi: true
781
+ }
782
+ ],
783
+ queries: {}
784
+ },] },
785
+ ];
786
+ /**
787
+ * @nocollapse
788
+ */
789
+ SliderComponent.ctorParameters = () => [
790
+ { type: ElementRef, },
791
+ { type: Renderer2, },
792
+ { type: ViewContainerRef, },
793
+ { type: Injector, },
794
+ { type: ChangeDetectorRef, },
795
+ ];
796
+ SliderComponent = SliderComponent_1 = __decorate$4([
797
+ ComponentMixins([ComponentBase, FormBase]),
798
+ __metadata$4("design:paramtypes", [ElementRef,
799
+ Renderer2,
800
+ ViewContainerRef,
801
+ Injector,
802
+ ChangeDetectorRef])
803
+ ], SliderComponent);
804
+ var SliderComponent_1;
805
+
806
+ /**
807
+ * NgModule definition for the Slider component.
808
+ */
809
+ class SliderModule {
810
+ }
811
+ SliderModule.decorators = [
812
+ { type: NgModule, args: [{
813
+ imports: [CommonModule],
814
+ declarations: [
815
+ SliderComponent
816
+ ],
817
+ exports: [
818
+ SliderComponent
819
+ ]
820
+ },] },
821
+ ];
822
+ /**
823
+ * @nocollapse
824
+ */
825
+ SliderModule.ctorParameters = () => [];
826
+
827
+ /**
828
+ * NgModule definition for the Slider component with providers.
829
+ */
830
+ class SliderAllModule {
831
+ }
832
+ SliderAllModule.decorators = [
833
+ { type: NgModule, args: [{
834
+ imports: [CommonModule, SliderModule],
835
+ exports: [
836
+ SliderModule
837
+ ],
838
+ providers: []
839
+ },] },
840
+ ];
841
+ /**
842
+ * @nocollapse
843
+ */
844
+ SliderAllModule.ctorParameters = () => [];
845
+
846
+ let input = ['name', 'size', 'type'];
847
+ let outputs$5 = [];
848
+ /**
849
+ * 'e-files' directive represent a file of angular uploader
850
+ * It must be contained in a Uploader component(`ejs-uploader`).
851
+ * ```html
852
+ * <ejs-uploader id='fileupload' multiple=true>
853
+ * <e-files>
854
+ * <e-file name='Java' size=23000 type='pdf'></e-file>
855
+ * <e-file name='C++' size=30000 type='.docx'></e-file>
856
+ * </e-files>
857
+ * </ejs-uploader>
858
+ * ```
859
+ */
860
+ class UploadedFilesDirective extends ComplexBase {
861
+ /**
862
+ * @param {?} viewContainerRef
863
+ */
864
+ constructor(viewContainerRef) {
865
+ super();
866
+ this.viewContainerRef = viewContainerRef;
867
+ setValue('currentInstance', this, this.viewContainerRef);
868
+ this.registerEvents(outputs$5);
869
+ this.directivePropList = input;
870
+ }
871
+ }
872
+ UploadedFilesDirective.decorators = [
873
+ { type: Directive, args: [{
874
+ selector: 'e-files>e-uploadedfiles',
875
+ inputs: input,
876
+ outputs: outputs$5,
877
+ queries: {}
878
+ },] },
879
+ ];
880
+ /**
881
+ * @nocollapse
882
+ */
883
+ UploadedFilesDirective.ctorParameters = () => [
884
+ { type: ViewContainerRef, },
885
+ ];
886
+ /**
887
+ * UploadedFiles Array Directive
888
+ */
889
+ class FilesDirective extends ArrayBase {
890
+ constructor() {
891
+ super('files');
892
+ }
893
+ }
894
+ FilesDirective.decorators = [
895
+ { type: Directive, args: [{
896
+ selector: 'ejs-uploader>e-files',
897
+ queries: {
898
+ children: new ContentChildren(UploadedFilesDirective)
899
+ },
900
+ },] },
901
+ ];
902
+ /**
903
+ * @nocollapse
904
+ */
905
+ FilesDirective.ctorParameters = () => [];
906
+
907
+ var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
908
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
909
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
910
+ 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;
911
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
912
+ };
913
+ var __metadata$5 = (this && this.__metadata) || function (k, v) {
914
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
915
+ };
916
+ const inputs$5 = ['allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template'];
917
+ const outputs$6 = ['focus', 'blur', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
918
+ const twoWays$5 = [];
919
+ /**
920
+ * Represents the EJ2 Angular Uploader Component.
921
+ * ```html
922
+ * <ejs-uploader></ejs-uploader>
923
+ * ```
924
+ */
925
+ let UploaderComponent = UploaderComponent_1 = class UploaderComponent extends Uploader {
926
+ /**
927
+ * @param {?} ngEle
928
+ * @param {?} srenderer
929
+ * @param {?} viewContainerRef
930
+ * @param {?} injector
931
+ * @param {?} cdr
932
+ */
933
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
934
+ super();
935
+ this.ngEle = ngEle;
936
+ this.srenderer = srenderer;
937
+ this.viewContainerRef = viewContainerRef;
938
+ this.injector = injector;
939
+ this.cdr = cdr;
940
+ this.tags = ['files'];
941
+ this.element = this.ngEle.nativeElement;
942
+ this.injectedModules = this.injectedModules || [];
943
+ this.registerEvents(outputs$6);
944
+ this.addTwoWay.call(this, twoWays$5);
945
+ setValue('currentInstance', this, this.viewContainerRef);
946
+ this.formContext = new FormBase();
947
+ this.formCompContext = new ComponentBase();
948
+ }
949
+ /**
950
+ * @param {?} registerFunction
951
+ * @return {?}
952
+ */
953
+ registerOnChange(registerFunction) {
954
+ }
955
+ /**
956
+ * @param {?} registerFunction
957
+ * @return {?}
958
+ */
959
+ registerOnTouched(registerFunction) {
960
+ }
961
+ /**
962
+ * @param {?} value
963
+ * @return {?}
964
+ */
965
+ writeValue(value) {
966
+ }
967
+ /**
968
+ * @param {?} disabled
969
+ * @return {?}
970
+ */
971
+ setDisabledState(disabled) {
972
+ }
973
+ /**
974
+ * @return {?}
975
+ */
976
+ ngOnInit() {
977
+ this.formCompContext.ngOnInit(this);
978
+ }
979
+ /**
980
+ * @return {?}
981
+ */
982
+ ngAfterViewInit() {
983
+ this.formContext.ngAfterViewInit(this);
984
+ }
985
+ /**
986
+ * @return {?}
987
+ */
988
+ ngOnDestroy() {
989
+ this.formCompContext.ngOnDestroy(this);
990
+ }
991
+ /**
992
+ * @return {?}
993
+ */
994
+ ngAfterContentChecked() {
995
+ this.tagObjects[0].instance = this.childFiles;
996
+ this.formCompContext.ngAfterContentChecked(this);
997
+ }
998
+ };
999
+ UploaderComponent.decorators = [
1000
+ { type: Component, args: [{
1001
+ selector: 'ejs-uploader',
1002
+ inputs: inputs$5,
1003
+ outputs: outputs$6,
1004
+ template: '',
1005
+ changeDetection: ChangeDetectionStrategy.OnPush,
1006
+ providers: [
1007
+ {
1008
+ provide: NG_VALUE_ACCESSOR,
1009
+ useExisting: forwardRef(() => UploaderComponent_1),
1010
+ multi: true
1011
+ }
1012
+ ],
1013
+ queries: {
1014
+ childFiles: new ContentChild(FilesDirective)
1015
+ }
1016
+ },] },
1017
+ ];
1018
+ /**
1019
+ * @nocollapse
1020
+ */
1021
+ UploaderComponent.ctorParameters = () => [
1022
+ { type: ElementRef, },
1023
+ { type: Renderer2, },
1024
+ { type: ViewContainerRef, },
1025
+ { type: Injector, },
1026
+ { type: ChangeDetectorRef, },
1027
+ ];
1028
+ UploaderComponent.propDecorators = {
1029
+ 'template': [{ type: ContentChild, args: ['template',] },],
1030
+ };
1031
+ __decorate$5([
1032
+ Template(),
1033
+ __metadata$5("design:type", Object)
1034
+ ], UploaderComponent.prototype, "template", void 0);
1035
+ UploaderComponent = UploaderComponent_1 = __decorate$5([
1036
+ ComponentMixins([ComponentBase, FormBase]),
1037
+ __metadata$5("design:paramtypes", [ElementRef,
1038
+ Renderer2,
1039
+ ViewContainerRef,
1040
+ Injector,
1041
+ ChangeDetectorRef])
1042
+ ], UploaderComponent);
1043
+ var UploaderComponent_1;
1044
+
1045
+ /**
1046
+ * NgModule definition for the Uploader component.
1047
+ */
1048
+ class UploaderModule {
1049
+ }
1050
+ UploaderModule.decorators = [
1051
+ { type: NgModule, args: [{
1052
+ imports: [CommonModule],
1053
+ declarations: [
1054
+ UploaderComponent,
1055
+ UploadedFilesDirective,
1056
+ FilesDirective
1057
+ ],
1058
+ exports: [
1059
+ UploaderComponent,
1060
+ UploadedFilesDirective,
1061
+ FilesDirective
1062
+ ]
1063
+ },] },
1064
+ ];
1065
+ /**
1066
+ * @nocollapse
1067
+ */
1068
+ UploaderModule.ctorParameters = () => [];
1069
+
1070
+ /**
1071
+ * NgModule definition for the Uploader component with providers.
1072
+ */
1073
+ class UploaderAllModule {
1074
+ }
1075
+ UploaderAllModule.decorators = [
1076
+ { type: NgModule, args: [{
1077
+ imports: [CommonModule, UploaderModule],
1078
+ exports: [
1079
+ UploaderModule
1080
+ ],
1081
+ providers: []
1082
+ },] },
1083
+ ];
1084
+ /**
1085
+ * @nocollapse
1086
+ */
1087
+ UploaderAllModule.ctorParameters = () => [];
1088
+
1089
+ var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
1090
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1091
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1092
+ 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;
1093
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1094
+ };
1095
+ var __metadata$6 = (this && this.__metadata) || function (k, v) {
1096
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1097
+ };
1098
+ const inputs$6 = ['columns', 'createPopupOnClick', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'showRecentColors', 'value'];
1099
+ const outputs$7 = ['focus', 'blur', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select', 'valueChange'];
1100
+ const twoWays$6 = ['value'];
1101
+ /**
1102
+ * Represents the EJ2 Angular ColorPicker Component.
1103
+ * ```html
1104
+ * <input ejs-colorpicker type='color'/>
1105
+ * ```
1106
+ */
1107
+ let ColorPickerComponent = ColorPickerComponent_1 = class ColorPickerComponent extends ColorPicker {
1108
+ /**
1109
+ * @param {?} ngEle
1110
+ * @param {?} srenderer
1111
+ * @param {?} viewContainerRef
1112
+ * @param {?} injector
1113
+ * @param {?} cdr
1114
+ */
1115
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
1116
+ super();
1117
+ this.ngEle = ngEle;
1118
+ this.srenderer = srenderer;
1119
+ this.viewContainerRef = viewContainerRef;
1120
+ this.injector = injector;
1121
+ this.cdr = cdr;
1122
+ this.element = this.ngEle.nativeElement;
1123
+ this.injectedModules = this.injectedModules || [];
1124
+ this.registerEvents(outputs$7);
1125
+ this.addTwoWay.call(this, twoWays$6);
1126
+ setValue('currentInstance', this, this.viewContainerRef);
1127
+ this.formContext = new FormBase();
1128
+ this.formCompContext = new ComponentBase();
1129
+ }
1130
+ /**
1131
+ * @param {?} registerFunction
1132
+ * @return {?}
1133
+ */
1134
+ registerOnChange(registerFunction) {
1135
+ }
1136
+ /**
1137
+ * @param {?} registerFunction
1138
+ * @return {?}
1139
+ */
1140
+ registerOnTouched(registerFunction) {
1141
+ }
1142
+ /**
1143
+ * @param {?} value
1144
+ * @return {?}
1145
+ */
1146
+ writeValue(value) {
1147
+ }
1148
+ /**
1149
+ * @param {?} disabled
1150
+ * @return {?}
1151
+ */
1152
+ setDisabledState(disabled) {
1153
+ }
1154
+ /**
1155
+ * @return {?}
1156
+ */
1157
+ ngOnInit() {
1158
+ this.formCompContext.ngOnInit(this);
1159
+ }
1160
+ /**
1161
+ * @return {?}
1162
+ */
1163
+ ngAfterViewInit() {
1164
+ this.formContext.ngAfterViewInit(this);
1165
+ }
1166
+ /**
1167
+ * @return {?}
1168
+ */
1169
+ ngOnDestroy() {
1170
+ this.formCompContext.ngOnDestroy(this);
1171
+ }
1172
+ /**
1173
+ * @return {?}
1174
+ */
1175
+ ngAfterContentChecked() {
1176
+ this.formCompContext.ngAfterContentChecked(this);
1177
+ }
1178
+ };
1179
+ ColorPickerComponent.decorators = [
1180
+ { type: Component, args: [{
1181
+ selector: '[ejs-colorpicker]',
1182
+ inputs: inputs$6,
1183
+ outputs: outputs$7,
1184
+ template: '',
1185
+ changeDetection: ChangeDetectionStrategy.OnPush,
1186
+ providers: [
1187
+ {
1188
+ provide: NG_VALUE_ACCESSOR,
1189
+ useExisting: forwardRef(() => ColorPickerComponent_1),
1190
+ multi: true
1191
+ }
1192
+ ],
1193
+ queries: {}
1194
+ },] },
1195
+ ];
1196
+ /**
1197
+ * @nocollapse
1198
+ */
1199
+ ColorPickerComponent.ctorParameters = () => [
1200
+ { type: ElementRef, },
1201
+ { type: Renderer2, },
1202
+ { type: ViewContainerRef, },
1203
+ { type: Injector, },
1204
+ { type: ChangeDetectorRef, },
1205
+ ];
1206
+ ColorPickerComponent = ColorPickerComponent_1 = __decorate$6([
1207
+ ComponentMixins([ComponentBase, FormBase]),
1208
+ __metadata$6("design:paramtypes", [ElementRef,
1209
+ Renderer2,
1210
+ ViewContainerRef,
1211
+ Injector,
1212
+ ChangeDetectorRef])
1213
+ ], ColorPickerComponent);
1214
+ var ColorPickerComponent_1;
1215
+
1216
+ /**
1217
+ * NgModule definition for the ColorPicker component.
1218
+ */
1219
+ class ColorPickerModule {
1220
+ }
1221
+ ColorPickerModule.decorators = [
1222
+ { type: NgModule, args: [{
1223
+ imports: [CommonModule],
1224
+ declarations: [
1225
+ ColorPickerComponent
1226
+ ],
1227
+ exports: [
1228
+ ColorPickerComponent
1229
+ ]
1230
+ },] },
1231
+ ];
1232
+ /**
1233
+ * @nocollapse
1234
+ */
1235
+ ColorPickerModule.ctorParameters = () => [];
1236
+
1237
+ /**
1238
+ * NgModule definition for the ColorPicker component with providers.
1239
+ */
1240
+ class ColorPickerAllModule {
1241
+ }
1242
+ ColorPickerAllModule.decorators = [
1243
+ { type: NgModule, args: [{
1244
+ imports: [CommonModule, ColorPickerModule],
1245
+ exports: [
1246
+ ColorPickerModule
1247
+ ],
1248
+ providers: []
1249
+ },] },
1250
+ ];
1251
+ /**
1252
+ * @nocollapse
1253
+ */
1254
+ ColorPickerAllModule.ctorParameters = () => [];
1255
+
1256
+ var __decorate$7 = (this && this.__decorate) || function (decorators, target, key, desc) {
1257
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1258
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1259
+ 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;
1260
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1261
+ };
1262
+ var __metadata$7 = (this && this.__metadata) || function (k, v) {
1263
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1264
+ };
1265
+ const inputs$7 = ['backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity'];
1266
+ const outputs$8 = ['focus', 'blur', 'beforeSave', 'change', 'created'];
1267
+ const twoWays$7 = [];
1268
+ /**
1269
+ * Represents the EJ2 Angular Signature Component.
1270
+ * ```html
1271
+ * <canvas ejs-signature />
1272
+ * ```
1273
+ */
1274
+ let SignatureComponent = SignatureComponent_1 = class SignatureComponent extends Signature {
1275
+ /**
1276
+ * @param {?} ngEle
1277
+ * @param {?} srenderer
1278
+ * @param {?} viewContainerRef
1279
+ * @param {?} injector
1280
+ * @param {?} cdr
1281
+ */
1282
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
1283
+ super();
1284
+ this.ngEle = ngEle;
1285
+ this.srenderer = srenderer;
1286
+ this.viewContainerRef = viewContainerRef;
1287
+ this.injector = injector;
1288
+ this.cdr = cdr;
1289
+ this.element = this.ngEle.nativeElement;
1290
+ this.injectedModules = this.injectedModules || [];
1291
+ this.registerEvents(outputs$8);
1292
+ this.addTwoWay.call(this, twoWays$7);
1293
+ setValue('currentInstance', this, this.viewContainerRef);
1294
+ this.formContext = new FormBase();
1295
+ this.formCompContext = new ComponentBase();
1296
+ }
1297
+ /**
1298
+ * @param {?} registerFunction
1299
+ * @return {?}
1300
+ */
1301
+ registerOnChange(registerFunction) {
1302
+ }
1303
+ /**
1304
+ * @param {?} registerFunction
1305
+ * @return {?}
1306
+ */
1307
+ registerOnTouched(registerFunction) {
1308
+ }
1309
+ /**
1310
+ * @param {?} value
1311
+ * @return {?}
1312
+ */
1313
+ writeValue(value) {
1314
+ }
1315
+ /**
1316
+ * @param {?} disabled
1317
+ * @return {?}
1318
+ */
1319
+ setDisabledState(disabled) {
1320
+ }
1321
+ /**
1322
+ * @return {?}
1323
+ */
1324
+ ngOnInit() {
1325
+ this.formCompContext.ngOnInit(this);
1326
+ }
1327
+ /**
1328
+ * @return {?}
1329
+ */
1330
+ ngAfterViewInit() {
1331
+ this.formContext.ngAfterViewInit(this);
1332
+ }
1333
+ /**
1334
+ * @return {?}
1335
+ */
1336
+ ngOnDestroy() {
1337
+ this.formCompContext.ngOnDestroy(this);
1338
+ }
1339
+ /**
1340
+ * @return {?}
1341
+ */
1342
+ ngAfterContentChecked() {
1343
+ this.formCompContext.ngAfterContentChecked(this);
1344
+ }
1345
+ };
1346
+ SignatureComponent.decorators = [
1347
+ { type: Component, args: [{
1348
+ selector: '[ejs-signature]',
1349
+ inputs: inputs$7,
1350
+ outputs: outputs$8,
1351
+ template: '',
1352
+ changeDetection: ChangeDetectionStrategy.OnPush,
1353
+ providers: [
1354
+ {
1355
+ provide: NG_VALUE_ACCESSOR,
1356
+ useExisting: forwardRef(() => SignatureComponent_1),
1357
+ multi: true
1358
+ }
1359
+ ],
1360
+ queries: {}
1361
+ },] },
1362
+ ];
1363
+ /**
1364
+ * @nocollapse
1365
+ */
1366
+ SignatureComponent.ctorParameters = () => [
1367
+ { type: ElementRef, },
1368
+ { type: Renderer2, },
1369
+ { type: ViewContainerRef, },
1370
+ { type: Injector, },
1371
+ { type: ChangeDetectorRef, },
1372
+ ];
1373
+ SignatureComponent = SignatureComponent_1 = __decorate$7([
1374
+ ComponentMixins([ComponentBase, FormBase]),
1375
+ __metadata$7("design:paramtypes", [ElementRef,
1376
+ Renderer2,
1377
+ ViewContainerRef,
1378
+ Injector,
1379
+ ChangeDetectorRef])
1380
+ ], SignatureComponent);
1381
+ var SignatureComponent_1;
1382
+
1383
+ /**
1384
+ * NgModule definition for the Signature component.
1385
+ */
1386
+ class SignatureModule {
1387
+ }
1388
+ SignatureModule.decorators = [
1389
+ { type: NgModule, args: [{
1390
+ imports: [CommonModule],
1391
+ declarations: [
1392
+ SignatureComponent
1393
+ ],
1394
+ exports: [
1395
+ SignatureComponent
1396
+ ]
1397
+ },] },
1398
+ ];
1399
+ /**
1400
+ * @nocollapse
1401
+ */
1402
+ SignatureModule.ctorParameters = () => [];
1403
+
1404
+ /**
1405
+ * NgModule definition for the Signature component with providers.
1406
+ */
1407
+ class SignatureAllModule {
1408
+ }
1409
+ SignatureAllModule.decorators = [
1410
+ { type: NgModule, args: [{
1411
+ imports: [CommonModule, SignatureModule],
1412
+ exports: [
1413
+ SignatureModule
1414
+ ],
1415
+ providers: []
1416
+ },] },
1417
+ ];
1418
+ /**
1419
+ * @nocollapse
1420
+ */
1421
+ SignatureAllModule.ctorParameters = () => [];
1422
+
1423
+ var __decorate$8 = (this && this.__decorate) || function (decorators, target, key, desc) {
1424
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1425
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1426
+ 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;
1427
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1428
+ };
1429
+ var __metadata$8 = (this && this.__metadata) || function (k, v) {
1430
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1431
+ };
1432
+ const inputs$8 = ['allowReset', 'cssClass', 'disabled', 'emptyTemplate', 'enableAnimation', 'enablePersistence', 'enableRtl', 'enableSingleSelection', 'fullTemplate', 'itemsCount', 'labelPosition', 'labelTemplate', 'locale', 'min', 'precision', 'readOnly', 'showLabel', 'showTooltip', 'tooltipTemplate', 'value', 'visible'];
1433
+ const outputs$9 = ['focus', 'blur', 'beforeItemRender', 'created', 'onItemHover', 'valueChanged', 'valueChange'];
1434
+ const twoWays$8 = ['value'];
1435
+ /**
1436
+ * Represents the EJ2 Angular Rating Component.
1437
+ * ```html
1438
+ * <input ejs-rating [value]='value' />
1439
+ * ```
1440
+ */
1441
+ let RatingComponent = RatingComponent_1 = class RatingComponent extends Rating {
1442
+ /**
1443
+ * @param {?} ngEle
1444
+ * @param {?} srenderer
1445
+ * @param {?} viewContainerRef
1446
+ * @param {?} injector
1447
+ * @param {?} cdr
1448
+ */
1449
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
1450
+ super();
1451
+ this.ngEle = ngEle;
1452
+ this.srenderer = srenderer;
1453
+ this.viewContainerRef = viewContainerRef;
1454
+ this.injector = injector;
1455
+ this.cdr = cdr;
1456
+ this.element = this.ngEle.nativeElement;
1457
+ this.injectedModules = this.injectedModules || [];
1458
+ this.registerEvents(outputs$9);
1459
+ this.addTwoWay.call(this, twoWays$8);
1460
+ setValue('currentInstance', this, this.viewContainerRef);
1461
+ this.formContext = new FormBase();
1462
+ this.formCompContext = new ComponentBase();
1463
+ }
1464
+ /**
1465
+ * @param {?} registerFunction
1466
+ * @return {?}
1467
+ */
1468
+ registerOnChange(registerFunction) {
1469
+ }
1470
+ /**
1471
+ * @param {?} registerFunction
1472
+ * @return {?}
1473
+ */
1474
+ registerOnTouched(registerFunction) {
1475
+ }
1476
+ /**
1477
+ * @param {?} value
1478
+ * @return {?}
1479
+ */
1480
+ writeValue(value) {
1481
+ }
1482
+ /**
1483
+ * @param {?} disabled
1484
+ * @return {?}
1485
+ */
1486
+ setDisabledState(disabled) {
1487
+ }
1488
+ /**
1489
+ * @return {?}
1490
+ */
1491
+ ngOnInit() {
1492
+ this.formCompContext.ngOnInit(this);
1493
+ }
1494
+ /**
1495
+ * @return {?}
1496
+ */
1497
+ ngAfterViewInit() {
1498
+ this.formContext.ngAfterViewInit(this);
1499
+ }
1500
+ /**
1501
+ * @return {?}
1502
+ */
1503
+ ngOnDestroy() {
1504
+ this.formCompContext.ngOnDestroy(this);
1505
+ }
1506
+ /**
1507
+ * @return {?}
1508
+ */
1509
+ ngAfterContentChecked() {
1510
+ this.formCompContext.ngAfterContentChecked(this);
1511
+ }
1512
+ };
1513
+ RatingComponent.decorators = [
1514
+ { type: Component, args: [{
1515
+ selector: '[ejs-rating]',
1516
+ inputs: inputs$8,
1517
+ outputs: outputs$9,
1518
+ template: '',
1519
+ changeDetection: ChangeDetectionStrategy.OnPush,
1520
+ providers: [
1521
+ {
1522
+ provide: NG_VALUE_ACCESSOR,
1523
+ useExisting: forwardRef(() => RatingComponent_1),
1524
+ multi: true
1525
+ }
1526
+ ],
1527
+ queries: {}
1528
+ },] },
1529
+ ];
1530
+ /**
1531
+ * @nocollapse
1532
+ */
1533
+ RatingComponent.ctorParameters = () => [
1534
+ { type: ElementRef, },
1535
+ { type: Renderer2, },
1536
+ { type: ViewContainerRef, },
1537
+ { type: Injector, },
1538
+ { type: ChangeDetectorRef, },
1539
+ ];
1540
+ RatingComponent.propDecorators = {
1541
+ 'fullTemplate': [{ type: ContentChild, args: ['fullTemplate',] },],
1542
+ 'emptyTemplate': [{ type: ContentChild, args: ['emptyTemplate',] },],
1543
+ 'tooltipTemplate': [{ type: ContentChild, args: ['tooltipTemplate',] },],
1544
+ 'labelTemplate': [{ type: ContentChild, args: ['labelTemplate',] },],
1545
+ };
1546
+ __decorate$8([
1547
+ Template(),
1548
+ __metadata$8("design:type", Object)
1549
+ ], RatingComponent.prototype, "fullTemplate", void 0);
1550
+ __decorate$8([
1551
+ Template(),
1552
+ __metadata$8("design:type", Object)
1553
+ ], RatingComponent.prototype, "emptyTemplate", void 0);
1554
+ __decorate$8([
1555
+ Template(),
1556
+ __metadata$8("design:type", Object)
1557
+ ], RatingComponent.prototype, "tooltipTemplate", void 0);
1558
+ __decorate$8([
1559
+ Template(),
1560
+ __metadata$8("design:type", Object)
1561
+ ], RatingComponent.prototype, "labelTemplate", void 0);
1562
+ RatingComponent = RatingComponent_1 = __decorate$8([
1563
+ ComponentMixins([ComponentBase, FormBase]),
1564
+ __metadata$8("design:paramtypes", [ElementRef,
1565
+ Renderer2,
1566
+ ViewContainerRef,
1567
+ Injector,
1568
+ ChangeDetectorRef])
1569
+ ], RatingComponent);
1570
+ var RatingComponent_1;
1571
+
1572
+ /**
1573
+ * NgModule definition for the Rating component.
1574
+ */
1575
+ class RatingModule {
1576
+ }
1577
+ RatingModule.decorators = [
1578
+ { type: NgModule, args: [{
1579
+ imports: [CommonModule],
1580
+ declarations: [
1581
+ RatingComponent
1582
+ ],
1583
+ exports: [
1584
+ RatingComponent
1585
+ ]
1586
+ },] },
1587
+ ];
1588
+ /**
1589
+ * @nocollapse
1590
+ */
1591
+ RatingModule.ctorParameters = () => [];
1592
+
1593
+ /**
1594
+ * NgModule definition for the Rating component with providers.
1595
+ */
1596
+ class RatingAllModule {
1597
+ }
1598
+ RatingAllModule.decorators = [
1599
+ { type: NgModule, args: [{
1600
+ imports: [CommonModule, RatingModule],
1601
+ exports: [
1602
+ RatingModule
1603
+ ],
1604
+ providers: []
1605
+ },] },
1606
+ ];
1607
+ /**
1608
+ * @nocollapse
1609
+ */
1610
+ RatingAllModule.ctorParameters = () => [];
1611
+
1612
+ var __decorate$9 = (this && this.__decorate) || function (decorators, target, key, desc) {
1613
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1614
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1615
+ 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;
1616
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1617
+ };
1618
+ var __metadata$9 = (this && this.__metadata) || function (k, v) {
1619
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1620
+ };
1621
+ const inputs$9 = ['ariaLabels', 'autoFocus', 'cssClass', 'disabled', 'enablePersistence', 'enableRtl', 'htmlAttributes', 'length', 'locale', 'placeholder', 'separator', 'stylingMode', 'textTransform', 'type', 'value'];
1622
+ const outputs$10 = ['blur', 'created', 'focus', 'input', 'valueChanged', 'valueChange'];
1623
+ const twoWays$9 = ['value'];
1624
+ /**
1625
+ * Represents the EJ2 Angular OtpInput Component.
1626
+ * ```html
1627
+ * <div ejs-otpinput [value]='value'></div>
1628
+ * ```
1629
+ */
1630
+ let OtpInputComponent = OtpInputComponent_1 = class OtpInputComponent extends OtpInput {
1631
+ /**
1632
+ * @param {?} ngEle
1633
+ * @param {?} srenderer
1634
+ * @param {?} viewContainerRef
1635
+ * @param {?} injector
1636
+ * @param {?} cdr
1637
+ */
1638
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
1639
+ super();
1640
+ this.ngEle = ngEle;
1641
+ this.srenderer = srenderer;
1642
+ this.viewContainerRef = viewContainerRef;
1643
+ this.injector = injector;
1644
+ this.cdr = cdr;
1645
+ this.skipFromEvent = true;
1646
+ this.element = this.ngEle.nativeElement;
1647
+ this.injectedModules = this.injectedModules || [];
1648
+ this.registerEvents(outputs$10);
1649
+ this.addTwoWay.call(this, twoWays$9);
1650
+ setValue('currentInstance', this, this.viewContainerRef);
1651
+ this.formContext = new FormBase();
1652
+ this.formCompContext = new ComponentBase();
1653
+ }
1654
+ /**
1655
+ * @param {?} registerFunction
1656
+ * @return {?}
1657
+ */
1658
+ registerOnChange(registerFunction) {
1659
+ }
1660
+ /**
1661
+ * @param {?} registerFunction
1662
+ * @return {?}
1663
+ */
1664
+ registerOnTouched(registerFunction) {
1665
+ }
1666
+ /**
1667
+ * @param {?} value
1668
+ * @return {?}
1669
+ */
1670
+ writeValue(value) {
1671
+ }
1672
+ /**
1673
+ * @param {?} disabled
1674
+ * @return {?}
1675
+ */
1676
+ setDisabledState(disabled) {
1677
+ }
1678
+ /**
1679
+ * @return {?}
1680
+ */
1681
+ ngOnInit() {
1682
+ this.formCompContext.ngOnInit(this);
1683
+ }
1684
+ /**
1685
+ * @return {?}
1686
+ */
1687
+ ngAfterViewInit() {
1688
+ this.formContext.ngAfterViewInit(this);
1689
+ }
1690
+ /**
1691
+ * @return {?}
1692
+ */
1693
+ ngOnDestroy() {
1694
+ this.formCompContext.ngOnDestroy(this);
1695
+ }
1696
+ /**
1697
+ * @return {?}
1698
+ */
1699
+ ngAfterContentChecked() {
1700
+ this.formCompContext.ngAfterContentChecked(this);
1701
+ }
1702
+ };
1703
+ OtpInputComponent.decorators = [
1704
+ { type: Component, args: [{
1705
+ selector: '[ejs-otpinput]',
1706
+ inputs: inputs$9,
1707
+ outputs: outputs$10,
1708
+ template: '',
1709
+ changeDetection: ChangeDetectionStrategy.OnPush,
1710
+ providers: [
1711
+ {
1712
+ provide: NG_VALUE_ACCESSOR,
1713
+ useExisting: forwardRef(() => OtpInputComponent_1),
1714
+ multi: true
1715
+ }
1716
+ ],
1717
+ queries: {}
1718
+ },] },
1719
+ ];
1720
+ /**
1721
+ * @nocollapse
1722
+ */
1723
+ OtpInputComponent.ctorParameters = () => [
1724
+ { type: ElementRef, },
1725
+ { type: Renderer2, },
1726
+ { type: ViewContainerRef, },
1727
+ { type: Injector, },
1728
+ { type: ChangeDetectorRef, },
1729
+ ];
1730
+ OtpInputComponent = OtpInputComponent_1 = __decorate$9([
1731
+ ComponentMixins([ComponentBase, FormBase]),
1732
+ __metadata$9("design:paramtypes", [ElementRef,
1733
+ Renderer2,
1734
+ ViewContainerRef,
1735
+ Injector,
1736
+ ChangeDetectorRef])
1737
+ ], OtpInputComponent);
1738
+ var OtpInputComponent_1;
1739
+
1740
+ /**
1741
+ * NgModule definition for the OtpInput component.
1742
+ */
1743
+ class OtpInputModule {
1744
+ }
1745
+ OtpInputModule.decorators = [
1746
+ { type: NgModule, args: [{
1747
+ imports: [CommonModule],
1748
+ declarations: [
1749
+ OtpInputComponent
1750
+ ],
1751
+ exports: [
1752
+ OtpInputComponent
1753
+ ]
1754
+ },] },
1755
+ ];
1756
+ /**
1757
+ * @nocollapse
1758
+ */
1759
+ OtpInputModule.ctorParameters = () => [];
1760
+
1761
+ /**
1762
+ * NgModule definition for the OtpInput component with providers.
1763
+ */
1764
+ class OtpInputAllModule {
1765
+ }
1766
+ OtpInputAllModule.decorators = [
1767
+ { type: NgModule, args: [{
1768
+ imports: [CommonModule, OtpInputModule],
1769
+ exports: [
1770
+ OtpInputModule
1771
+ ],
1772
+ providers: []
1773
+ },] },
1774
+ ];
1775
+ /**
1776
+ * @nocollapse
1777
+ */
1778
+ OtpInputAllModule.ctorParameters = () => [];
1779
+
1780
+ var __decorate$10 = (this && this.__decorate) || function (decorators, target, key, desc) {
1781
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1782
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1783
+ 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;
1784
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1785
+ };
1786
+ var __metadata$10 = (this && this.__metadata) || function (k, v) {
1787
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1788
+ };
1789
+ const inputs$10 = ['UserPhrases', 'aiSuggestionHandler', 'cols', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'maxLength', 'placeholder', 'readonly', 'resizeMode', 'rows', 'showClearButton', 'showSuggestionOnPopup', 'userRole', 'value', 'width'];
1790
+ const outputs$11 = ['blur', 'change', 'created', 'destroyed', 'focus', 'input', 'valueChange'];
1791
+ const twoWays$10 = ['value'];
1792
+ /**
1793
+ * Represents the Angular Smart TextArea Component.
1794
+ * ```html
1795
+ * <ejs-smarttextarea></ejs-smarttextarea>
1796
+ * ```
1797
+ */
1798
+ let SmartTextAreaComponent = SmartTextAreaComponent_1 = class SmartTextAreaComponent extends SmartTextArea {
1799
+ /**
1800
+ * @param {?} ngEle
1801
+ * @param {?} srenderer
1802
+ * @param {?} viewContainerRef
1803
+ * @param {?} injector
1804
+ * @param {?} cdr
1805
+ */
1806
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
1807
+ super();
1808
+ this.ngEle = ngEle;
1809
+ this.srenderer = srenderer;
1810
+ this.viewContainerRef = viewContainerRef;
1811
+ this.injector = injector;
1812
+ this.cdr = cdr;
1813
+ this.skipFromEvent = true;
1814
+ this.element = this.ngEle.nativeElement;
1815
+ this.injectedModules = this.injectedModules || [];
1816
+ this.registerEvents(outputs$11);
1817
+ this.addTwoWay.call(this, twoWays$10);
1818
+ setValue('currentInstance', this, this.viewContainerRef);
1819
+ this.formContext = new FormBase();
1820
+ this.formCompContext = new ComponentBase();
1821
+ }
1822
+ /**
1823
+ * @param {?} registerFunction
1824
+ * @return {?}
1825
+ */
1826
+ registerOnChange(registerFunction) {
1827
+ }
1828
+ /**
1829
+ * @param {?} registerFunction
1830
+ * @return {?}
1831
+ */
1832
+ registerOnTouched(registerFunction) {
1833
+ }
1834
+ /**
1835
+ * @param {?} value
1836
+ * @return {?}
1837
+ */
1838
+ writeValue(value) {
1839
+ }
1840
+ /**
1841
+ * @param {?} disabled
1842
+ * @return {?}
1843
+ */
1844
+ setDisabledState(disabled) {
1845
+ }
1846
+ /**
1847
+ * @return {?}
1848
+ */
1849
+ ngOnInit() {
1850
+ this.formCompContext.ngOnInit(this);
1851
+ }
1852
+ /**
1853
+ * @return {?}
1854
+ */
1855
+ ngAfterViewInit() {
1856
+ this.formContext.ngAfterViewInit(this);
1857
+ }
1858
+ /**
1859
+ * @return {?}
1860
+ */
1861
+ ngOnDestroy() {
1862
+ this.formCompContext.ngOnDestroy(this);
1863
+ }
1864
+ /**
1865
+ * @return {?}
1866
+ */
1867
+ ngAfterContentChecked() {
1868
+ this.formCompContext.ngAfterContentChecked(this);
1869
+ }
1870
+ };
1871
+ SmartTextAreaComponent.decorators = [
1872
+ { type: Component, args: [{
1873
+ selector: 'ejs-smarttextarea',
1874
+ inputs: inputs$10,
1875
+ outputs: outputs$11,
1876
+ template: '',
1877
+ changeDetection: ChangeDetectionStrategy.OnPush,
1878
+ providers: [
1879
+ {
1880
+ provide: NG_VALUE_ACCESSOR,
1881
+ useExisting: forwardRef(() => SmartTextAreaComponent_1),
1882
+ multi: true
1883
+ }
1884
+ ],
1885
+ queries: {}
1886
+ },] },
1887
+ ];
1888
+ /**
1889
+ * @nocollapse
1890
+ */
1891
+ SmartTextAreaComponent.ctorParameters = () => [
1892
+ { type: ElementRef, },
1893
+ { type: Renderer2, },
1894
+ { type: ViewContainerRef, },
1895
+ { type: Injector, },
1896
+ { type: ChangeDetectorRef, },
1897
+ ];
1898
+ SmartTextAreaComponent = SmartTextAreaComponent_1 = __decorate$10([
1899
+ ComponentMixins([ComponentBase, FormBase]),
1900
+ __metadata$10("design:paramtypes", [ElementRef,
1901
+ Renderer2,
1902
+ ViewContainerRef,
1903
+ Injector,
1904
+ ChangeDetectorRef])
1905
+ ], SmartTextAreaComponent);
1906
+ var SmartTextAreaComponent_1;
1907
+
1908
+ /**
1909
+ * NgModule definition for the SmartTextArea component.
1910
+ */
1911
+ class SmartTextAreaModule {
1912
+ }
1913
+ SmartTextAreaModule.decorators = [
1914
+ { type: NgModule, args: [{
1915
+ imports: [CommonModule],
1916
+ declarations: [
1917
+ SmartTextAreaComponent
1918
+ ],
1919
+ exports: [
1920
+ SmartTextAreaComponent
1921
+ ]
1922
+ },] },
1923
+ ];
1924
+ /**
1925
+ * @nocollapse
1926
+ */
1927
+ SmartTextAreaModule.ctorParameters = () => [];
1928
+
1929
+ /**
1930
+ * NgModule definition for the SmartTextArea component with providers.
1931
+ */
1932
+ class SmartTextAreaAllModule {
1933
+ }
1934
+ SmartTextAreaAllModule.decorators = [
1935
+ { type: NgModule, args: [{
1936
+ imports: [CommonModule, SmartTextAreaModule],
1937
+ exports: [
1938
+ SmartTextAreaModule
1939
+ ],
1940
+ providers: []
1941
+ },] },
1942
+ ];
1943
+ /**
1944
+ * @nocollapse
1945
+ */
1946
+ SmartTextAreaAllModule.ctorParameters = () => [];
1947
+
1948
+ class FormValidators {
1949
+ /**
1950
+ * @param {?} number
1951
+ * @return {?}
1952
+ */
1953
+ static max(number) {
1954
+ let /** @type {?} */ max = number;
1955
+ return (control) => {
1956
+ //tslint:disable-next-line
1957
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.max({ value: control.value, param: max });
1958
+ if (result === true) {
1959
+ return null;
1960
+ }
1961
+ else {
1962
+ return { 'max': true };
1963
+ }
1964
+ };
1965
+ }
1966
+ /**
1967
+ * @param {?} number
1968
+ * @return {?}
1969
+ */
1970
+ static min(number) {
1971
+ let /** @type {?} */ min = number;
1972
+ return (control) => {
1973
+ //tslint:disable-next-line
1974
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.min({ value: control.value, param: min });
1975
+ if (result === true) {
1976
+ return null;
1977
+ }
1978
+ else {
1979
+ return { 'min': true };
1980
+ }
1981
+ };
1982
+ }
1983
+ /**
1984
+ * @param {?} control
1985
+ * @return {?}
1986
+ */
1987
+ static creditcard(control) {
1988
+ //tslint:disable-next-line
1989
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.creditcard({ value: control.value });
1990
+ if (result === true) {
1991
+ return null;
1992
+ }
1993
+ else {
1994
+ return { 'cardno': true };
1995
+ }
1996
+ }
1997
+ /**
1998
+ * @param {?} control
1999
+ * @return {?}
2000
+ */
2001
+ static date(control) {
2002
+ //tslint:disable-next-line
2003
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.date({ value: control.value });
2004
+ if (result === true) {
2005
+ return null;
2006
+ }
2007
+ else {
2008
+ return { 'date': true };
2009
+ }
2010
+ }
2011
+ /**
2012
+ * @param {?} control
2013
+ * @return {?}
2014
+ */
2015
+ static dateIso(control) {
2016
+ //tslint:disable-next-line
2017
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.dateIso({ value: control.value });
2018
+ if (result === true) {
2019
+ return null;
2020
+ }
2021
+ else {
2022
+ return { 'dateiso': true };
2023
+ }
2024
+ }
2025
+ /**
2026
+ * @param {?} control
2027
+ * @return {?}
2028
+ */
2029
+ static digits(control) {
2030
+ //tslint:disable-next-line
2031
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.digits({ value: control.value });
2032
+ if (result === true) {
2033
+ return null;
2034
+ }
2035
+ else {
2036
+ return { 'digit': true };
2037
+ }
2038
+ }
2039
+ /**
2040
+ * @param {?} control
2041
+ * @return {?}
2042
+ */
2043
+ static email(control) {
2044
+ //tslint:disable-next-line
2045
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.email({ value: control.value });
2046
+ if (result === true) {
2047
+ return null;
2048
+ }
2049
+ else {
2050
+ return { 'email': true };
2051
+ }
2052
+ }
2053
+ /**
2054
+ * @param {?} number
2055
+ * @return {?}
2056
+ */
2057
+ static maxLength(number) {
2058
+ let /** @type {?} */ maxlength = number;
2059
+ return (control) => {
2060
+ //tslint:disable-next-line
2061
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.maxLength({ value: control.value, param: maxlength });
2062
+ if (result === true) {
2063
+ return null;
2064
+ }
2065
+ else {
2066
+ return { 'maxlength': true };
2067
+ }
2068
+ };
2069
+ }
2070
+ /**
2071
+ * @param {?} number
2072
+ * @return {?}
2073
+ */
2074
+ static minLength(number) {
2075
+ let /** @type {?} */ minlength = number;
2076
+ return (control) => {
2077
+ //tslint:disable-next-line
2078
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.minLength({ value: control.value, param: minlength });
2079
+ if (result === true) {
2080
+ return null;
2081
+ }
2082
+ else {
2083
+ return { 'minlength': true };
2084
+ }
2085
+ };
2086
+ }
2087
+ /**
2088
+ * @param {?} control
2089
+ * @return {?}
2090
+ */
2091
+ static number(control) {
2092
+ //tslint:disable-next-line
2093
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.number({ value: control.value });
2094
+ if (result === true) {
2095
+ return null;
2096
+ }
2097
+ else {
2098
+ return { 'number': true };
2099
+ }
2100
+ }
2101
+ /**
2102
+ * @param {?} control
2103
+ * @return {?}
2104
+ */
2105
+ static required(control) {
2106
+ //tslint:disable-next-line
2107
+ let /** @type {?} */ result = (control.value === null) ? false : ((FormValidator)).checkValidator.required({ value: control.value });
2108
+ if (result === true) {
2109
+ return null;
2110
+ }
2111
+ else {
2112
+ return { 'required': true };
2113
+ }
2114
+ }
2115
+ /**
2116
+ * @param {?} control
2117
+ * @return {?}
2118
+ */
2119
+ static tel(control) {
2120
+ //tslint:disable-next-line
2121
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.tel({ value: control.value });
2122
+ if (result === true) {
2123
+ return null;
2124
+ }
2125
+ else {
2126
+ return { 'telno': true };
2127
+ }
2128
+ }
2129
+ /**
2130
+ * @param {?} control
2131
+ * @return {?}
2132
+ */
2133
+ static url(control) {
2134
+ //tslint:disable-next-line
2135
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.url({ value: control.value });
2136
+ if (result === true) {
2137
+ return null;
2138
+ }
2139
+ else {
2140
+ return { 'url': true };
2141
+ }
2142
+ }
2143
+ /**
2144
+ * @param {?} number1
2145
+ * @param {?} number2
2146
+ * @return {?}
2147
+ */
2148
+ static rangeLength(number1, number2) {
2149
+ let /** @type {?} */ minRL = number1;
2150
+ let /** @type {?} */ maxRL = number2;
2151
+ //tslint:disable-next-line
2152
+ let /** @type {?} */ param = [minRL, maxRL];
2153
+ return (control) => {
2154
+ //tslint:disable-next-line
2155
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.rangeLength({ value: control.value, param: param });
2156
+ if (result === true) {
2157
+ return null;
2158
+ }
2159
+ else {
2160
+ return { 'rangelength': true };
2161
+ }
2162
+ };
2163
+ }
2164
+ /**
2165
+ * @param {?} number1
2166
+ * @param {?} number2
2167
+ * @return {?}
2168
+ */
2169
+ static range(number1, number2) {
2170
+ let /** @type {?} */ minR = number1;
2171
+ let /** @type {?} */ maxR = number2;
2172
+ //tslint:disable-next-line
2173
+ let /** @type {?} */ param1 = [minR, maxR];
2174
+ return (control) => {
2175
+ //tslint:disable-next-line
2176
+ let /** @type {?} */ result = ((FormValidator)).checkValidator.range({ value: control.value, param: param1 });
2177
+ if (result === true) {
2178
+ return null;
2179
+ }
2180
+ else {
2181
+ return { 'range': true };
2182
+ }
2183
+ };
2184
+ }
2185
+ }
2186
+
2187
+ /**
2188
+ * Generated bundle index. Do not edit.
2189
+ */
2190
+
2191
+ export { TextBoxComponent, TextBoxModule, TextBoxAllModule, TextAreaComponent, TextAreaModule, TextAreaAllModule, NumericTextBoxComponent, NumericTextBoxModule, NumericTextBoxAllModule, MaskedTextBoxComponent, MaskedTextBoxModule, MaskedTextBoxAllModule, SliderComponent, SliderModule, SliderAllModule, UploadedFilesDirective, FilesDirective, UploaderComponent, UploaderModule, UploaderAllModule, ColorPickerComponent, ColorPickerModule, ColorPickerAllModule, SignatureComponent, SignatureModule, SignatureAllModule, RatingComponent, RatingModule, RatingAllModule, OtpInputComponent, OtpInputModule, OtpInputAllModule, SmartTextAreaComponent, SmartTextAreaModule, SmartTextAreaAllModule, FormValidators, inputs$6 as ɵm, outputs$7 as ɵn, inputs$3 as ɵg, outputs$3 as ɵh, inputs$2 as ɵe, outputs$2 as ɵf, inputs$9 as ɵs, outputs$10 as ɵt, inputs$8 as ɵq, outputs$9 as ɵr, inputs$7 as ɵo, outputs$8 as ɵp, inputs$4 as ɵi, outputs$4 as ɵj, inputs$10 as ɵu, outputs$11 as ɵv, inputs$1 as ɵc, outputs$1 as ɵd, inputs as ɵa, outputs as ɵb, inputs$5 as ɵk, outputs$6 as ɵl };
2192
+ export { NumericTextBox, regularExpressions, createMask, applyMask, wireEvents, unwireEvents, bindClearEvent, unstrippedValue, strippedValue, maskInputMouseDownHandler, maskInputMouseUpHandler, maskInputFocusHandler, triggerFocus, escapeRegExp, maskInputBlurHandler, maskInputDropHandler, mobileRemoveFunction, setMaskValue, setElementValue, maskInput, getVal, getMaskedVal, MaskUndo, MaskedTextBox, containerAttributes, TEXTBOX_FOCUS, Input, TicksData, ColorRangeData, LimitData, TooltipData, Slider, regex, ErrorOption, FormValidator, FilesProp, ButtonsProps, AsyncSettings, Uploader, ColorPicker, TextBox, TextArea, ChatMessageRole, SmartTextArea, Signature, LabelPosition, PrecisionType, Rating, OtpInputType, OtpInputStyle, TextTransform, OtpInput, SignatureBase } from '@syncfusion/ej2-inputs';
2193
+ //# sourceMappingURL=ej2-angular-inputs.js.map