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