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