@syncfusion/ej2-angular-inputs 26.1.42 → 26.2.4-ngcc

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