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