@syncfusion/ej2-angular-dropdowns 24.1.47 → 24.2.3-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/@syncfusion/ej2-angular-dropdowns.es5.js +1475 -0
  2. package/@syncfusion/ej2-angular-dropdowns.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-dropdowns.js +1390 -0
  4. package/@syncfusion/ej2-angular-dropdowns.js.map +1 -0
  5. package/CHANGELOG.md +2456 -0
  6. package/dist/ej2-angular-dropdowns.umd.js +1545 -0
  7. package/dist/ej2-angular-dropdowns.umd.js.map +1 -0
  8. package/dist/ej2-angular-dropdowns.umd.min.js +11 -0
  9. package/dist/ej2-angular-dropdowns.umd.min.js.map +1 -0
  10. package/ej2-angular-dropdowns.d.ts +11 -0
  11. package/ej2-angular-dropdowns.metadata.json +1 -0
  12. package/package.json +15 -29
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/auto-complete/autocomplete-all.module.d.ts +0 -6
  18. package/src/auto-complete/autocomplete.component.d.ts +4 -7
  19. package/src/auto-complete/autocomplete.module.d.ts +0 -6
  20. package/src/combo-box/combobox-all.module.d.ts +0 -6
  21. package/src/combo-box/combobox.component.d.ts +4 -7
  22. package/src/combo-box/combobox.module.d.ts +0 -6
  23. package/src/drop-down-list/dropdownlist-all.module.d.ts +0 -6
  24. package/src/drop-down-list/dropdownlist.component.d.ts +2 -5
  25. package/src/drop-down-list/dropdownlist.module.d.ts +0 -6
  26. package/src/drop-down-tree/dropdowntree-all.module.d.ts +0 -6
  27. package/src/drop-down-tree/dropdowntree.component.d.ts +0 -3
  28. package/src/drop-down-tree/dropdowntree.module.d.ts +0 -6
  29. package/src/list-box/listbox-all.module.d.ts +0 -6
  30. package/src/list-box/listbox.component.d.ts +1 -4
  31. package/src/list-box/listbox.module.d.ts +0 -6
  32. package/src/mention/mention-all.module.d.ts +0 -6
  33. package/src/mention/mention.component.d.ts +0 -3
  34. package/src/mention/mention.module.d.ts +0 -6
  35. package/src/multi-select/multiselect-all.module.d.ts +0 -6
  36. package/src/multi-select/multiselect.component.d.ts +0 -3
  37. package/src/multi-select/multiselect.module.d.ts +0 -6
  38. package/esm2020/public_api.mjs +0 -3
  39. package/esm2020/src/auto-complete/autocomplete-all.module.mjs +0 -23
  40. package/esm2020/src/auto-complete/autocomplete.component.mjs +0 -129
  41. package/esm2020/src/auto-complete/autocomplete.module.mjs +0 -25
  42. package/esm2020/src/combo-box/combobox-all.module.mjs +0 -23
  43. package/esm2020/src/combo-box/combobox.component.mjs +0 -129
  44. package/esm2020/src/combo-box/combobox.module.mjs +0 -25
  45. package/esm2020/src/drop-down-list/dropdownlist-all.module.mjs +0 -29
  46. package/esm2020/src/drop-down-list/dropdownlist.component.mjs +0 -135
  47. package/esm2020/src/drop-down-list/dropdownlist.module.mjs +0 -25
  48. package/esm2020/src/drop-down-tree/dropdowntree-all.module.mjs +0 -23
  49. package/esm2020/src/drop-down-tree/dropdowntree.component.mjs +0 -116
  50. package/esm2020/src/drop-down-tree/dropdowntree.module.mjs +0 -25
  51. package/esm2020/src/index.mjs +0 -23
  52. package/esm2020/src/list-box/listbox-all.module.mjs +0 -23
  53. package/esm2020/src/list-box/listbox.component.mjs +0 -104
  54. package/esm2020/src/list-box/listbox.module.mjs +0 -25
  55. package/esm2020/src/mention/mention-all.module.mjs +0 -23
  56. package/esm2020/src/mention/mention.component.mjs +0 -84
  57. package/esm2020/src/mention/mention.module.mjs +0 -25
  58. package/esm2020/src/multi-select/multiselect-all.module.mjs +0 -29
  59. package/esm2020/src/multi-select/multiselect.component.mjs +0 -135
  60. package/esm2020/src/multi-select/multiselect.module.mjs +0 -25
  61. package/esm2020/syncfusion-ej2-angular-dropdowns.mjs +0 -5
  62. package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs +0 -1084
  63. package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs.map +0 -1
  64. package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs +0 -1084
  65. package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs.map +0 -1
  66. package/syncfusion-ej2-angular-dropdowns.d.ts +0 -5
@@ -0,0 +1,1390 @@
1
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef, forwardRef } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
+ import { ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@syncfusion/ej2-angular-base';
4
+ import { AutoComplete, CheckBoxSelection, ComboBox, DropDownList, DropDownTree, ListBox, Mention, MultiSelect, VirtualScroll } from '@syncfusion/ej2-dropdowns';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
11
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
12
+ };
13
+ var __metadata = (this && this.__metadata) || function (k, v) {
14
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
15
+ };
16
+ const inputs = ['actionFailureTemplate', 'allowFiltering', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'valueTemplate', 'width', 'zIndex'];
17
+ const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'select', 'valueChange'];
18
+ const twoWays = ['value'];
19
+ /**
20
+ * The DropDownList component contains a list of predefined values, from which the user can choose a single value.
21
+ * ```html
22
+ * <ejs-dropdownlist></ejs-dropdownlist>
23
+ * ```
24
+ */
25
+ let DropDownListComponent = DropDownListComponent_1 = class DropDownListComponent extends DropDownList {
26
+ /**
27
+ * @param {?} ngEle
28
+ * @param {?} srenderer
29
+ * @param {?} viewContainerRef
30
+ * @param {?} injector
31
+ * @param {?} cdr
32
+ */
33
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
34
+ super();
35
+ this.ngEle = ngEle;
36
+ this.srenderer = srenderer;
37
+ this.viewContainerRef = viewContainerRef;
38
+ this.injector = injector;
39
+ this.cdr = cdr;
40
+ this.skipFromEvent = true;
41
+ this.element = this.ngEle.nativeElement;
42
+ this.injectedModules = this.injectedModules || [];
43
+ try {
44
+ let mod = this.injector.get('DropDownsVirtualScroll');
45
+ if (this.injectedModules.indexOf(mod) === -1) {
46
+ this.injectedModules.push(mod);
47
+ }
48
+ }
49
+ catch (_a) { }
50
+ this.registerEvents(outputs);
51
+ this.addTwoWay.call(this, twoWays);
52
+ setValue('currentInstance', this, this.viewContainerRef);
53
+ this.formContext = new FormBase();
54
+ this.formCompContext = new ComponentBase();
55
+ }
56
+ /**
57
+ * @param {?} registerFunction
58
+ * @return {?}
59
+ */
60
+ registerOnChange(registerFunction) {
61
+ }
62
+ /**
63
+ * @param {?} registerFunction
64
+ * @return {?}
65
+ */
66
+ registerOnTouched(registerFunction) {
67
+ }
68
+ /**
69
+ * @param {?} value
70
+ * @return {?}
71
+ */
72
+ writeValue(value) {
73
+ }
74
+ /**
75
+ * @param {?} disabled
76
+ * @return {?}
77
+ */
78
+ setDisabledState(disabled) {
79
+ }
80
+ /**
81
+ * @return {?}
82
+ */
83
+ ngOnInit() {
84
+ this.formCompContext.ngOnInit(this);
85
+ }
86
+ /**
87
+ * @return {?}
88
+ */
89
+ ngAfterViewInit() {
90
+ this.formContext.ngAfterViewInit(this);
91
+ }
92
+ /**
93
+ * @return {?}
94
+ */
95
+ ngOnDestroy() {
96
+ this.formCompContext.ngOnDestroy(this);
97
+ }
98
+ /**
99
+ * @return {?}
100
+ */
101
+ ngAfterContentChecked() {
102
+ this.formCompContext.ngAfterContentChecked(this);
103
+ }
104
+ };
105
+ DropDownListComponent.decorators = [
106
+ { type: Component, args: [{
107
+ selector: 'ejs-dropdownlist',
108
+ inputs: inputs,
109
+ outputs: outputs,
110
+ template: '',
111
+ changeDetection: ChangeDetectionStrategy.OnPush,
112
+ providers: [
113
+ {
114
+ provide: NG_VALUE_ACCESSOR,
115
+ useExisting: forwardRef(() => DropDownListComponent_1),
116
+ multi: true
117
+ }
118
+ ],
119
+ queries: {}
120
+ },] },
121
+ ];
122
+ /**
123
+ * @nocollapse
124
+ */
125
+ DropDownListComponent.ctorParameters = () => [
126
+ { type: ElementRef, },
127
+ { type: Renderer2, },
128
+ { type: ViewContainerRef, },
129
+ { type: Injector, },
130
+ { type: ChangeDetectorRef, },
131
+ ];
132
+ DropDownListComponent.propDecorators = {
133
+ 'footerTemplate': [{ type: ContentChild, args: ['footerTemplate',] },],
134
+ 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
135
+ 'valueTemplate': [{ type: ContentChild, args: ['valueTemplate',] },],
136
+ 'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
137
+ 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
138
+ 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
139
+ 'actionFailureTemplate': [{ type: ContentChild, args: ['actionFailureTemplate',] },],
140
+ };
141
+ __decorate([
142
+ Template(),
143
+ __metadata("design:type", Object)
144
+ ], DropDownListComponent.prototype, "footerTemplate", void 0);
145
+ __decorate([
146
+ Template(),
147
+ __metadata("design:type", Object)
148
+ ], DropDownListComponent.prototype, "headerTemplate", void 0);
149
+ __decorate([
150
+ Template(),
151
+ __metadata("design:type", Object)
152
+ ], DropDownListComponent.prototype, "valueTemplate", void 0);
153
+ __decorate([
154
+ Template(),
155
+ __metadata("design:type", Object)
156
+ ], DropDownListComponent.prototype, "groupTemplate", void 0);
157
+ __decorate([
158
+ Template(),
159
+ __metadata("design:type", Object)
160
+ ], DropDownListComponent.prototype, "itemTemplate", void 0);
161
+ __decorate([
162
+ Template('No records found'),
163
+ __metadata("design:type", Object)
164
+ ], DropDownListComponent.prototype, "noRecordsTemplate", void 0);
165
+ __decorate([
166
+ Template('Request failed'),
167
+ __metadata("design:type", Object)
168
+ ], DropDownListComponent.prototype, "actionFailureTemplate", void 0);
169
+ DropDownListComponent = DropDownListComponent_1 = __decorate([
170
+ ComponentMixins([ComponentBase, FormBase]),
171
+ __metadata("design:paramtypes", [ElementRef,
172
+ Renderer2,
173
+ ViewContainerRef,
174
+ Injector,
175
+ ChangeDetectorRef])
176
+ ], DropDownListComponent);
177
+ var DropDownListComponent_1;
178
+
179
+ /**
180
+ * NgModule definition for the DropDownList component.
181
+ */
182
+ class DropDownListModule {
183
+ }
184
+ DropDownListModule.decorators = [
185
+ { type: NgModule, args: [{
186
+ imports: [CommonModule],
187
+ declarations: [
188
+ DropDownListComponent
189
+ ],
190
+ exports: [
191
+ DropDownListComponent
192
+ ]
193
+ },] },
194
+ ];
195
+ /**
196
+ * @nocollapse
197
+ */
198
+ DropDownListModule.ctorParameters = () => [];
199
+
200
+ const VirtualScrollService = { provide: 'DropDownsVirtualScroll', useValue: VirtualScroll };
201
+ /**
202
+ * NgModule definition for the DropDownList component with providers.
203
+ */
204
+ class DropDownListAllModule {
205
+ }
206
+ DropDownListAllModule.decorators = [
207
+ { type: NgModule, args: [{
208
+ imports: [CommonModule, DropDownListModule],
209
+ exports: [
210
+ DropDownListModule
211
+ ],
212
+ providers: [
213
+ VirtualScrollService
214
+ ]
215
+ },] },
216
+ ];
217
+ /**
218
+ * @nocollapse
219
+ */
220
+ DropDownListAllModule.ctorParameters = () => [];
221
+
222
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
223
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
224
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
225
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
226
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
227
+ };
228
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
229
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
230
+ };
231
+ const inputs$1 = ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'autofill', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'valueTemplate', 'width', 'zIndex'];
232
+ const outputs$1 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'select', 'valueChange'];
233
+ const twoWays$1 = ['value'];
234
+ /**
235
+ * The ComboBox component allows the user to type a value or choose an option from the list of predefined options.
236
+ * ```html
237
+ * <ejs-combobox></ejs-combobox>
238
+ * ```
239
+ */
240
+ let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent extends ComboBox {
241
+ /**
242
+ * @param {?} ngEle
243
+ * @param {?} srenderer
244
+ * @param {?} viewContainerRef
245
+ * @param {?} injector
246
+ * @param {?} cdr
247
+ */
248
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
249
+ super();
250
+ this.ngEle = ngEle;
251
+ this.srenderer = srenderer;
252
+ this.viewContainerRef = viewContainerRef;
253
+ this.injector = injector;
254
+ this.cdr = cdr;
255
+ this.skipFromEvent = true;
256
+ this.element = this.ngEle.nativeElement;
257
+ this.injectedModules = this.injectedModules || [];
258
+ try {
259
+ let mod = this.injector.get('DropDownsVirtualScroll');
260
+ if (this.injectedModules.indexOf(mod) === -1) {
261
+ this.injectedModules.push(mod);
262
+ }
263
+ }
264
+ catch (_a) { }
265
+ this.registerEvents(outputs$1);
266
+ this.addTwoWay.call(this, twoWays$1);
267
+ setValue('currentInstance', this, this.viewContainerRef);
268
+ this.formContext = new FormBase();
269
+ this.formCompContext = new ComponentBase();
270
+ }
271
+ /**
272
+ * @param {?} registerFunction
273
+ * @return {?}
274
+ */
275
+ registerOnChange(registerFunction) {
276
+ }
277
+ /**
278
+ * @param {?} registerFunction
279
+ * @return {?}
280
+ */
281
+ registerOnTouched(registerFunction) {
282
+ }
283
+ /**
284
+ * @param {?} value
285
+ * @return {?}
286
+ */
287
+ writeValue(value) {
288
+ }
289
+ /**
290
+ * @param {?} disabled
291
+ * @return {?}
292
+ */
293
+ setDisabledState(disabled) {
294
+ }
295
+ /**
296
+ * @return {?}
297
+ */
298
+ ngOnInit() {
299
+ this.formCompContext.ngOnInit(this);
300
+ }
301
+ /**
302
+ * @return {?}
303
+ */
304
+ ngAfterViewInit() {
305
+ this.formContext.ngAfterViewInit(this);
306
+ }
307
+ /**
308
+ * @return {?}
309
+ */
310
+ ngOnDestroy() {
311
+ this.formCompContext.ngOnDestroy(this);
312
+ }
313
+ /**
314
+ * @return {?}
315
+ */
316
+ ngAfterContentChecked() {
317
+ this.formCompContext.ngAfterContentChecked(this);
318
+ }
319
+ };
320
+ ComboBoxComponent.decorators = [
321
+ { type: Component, args: [{
322
+ selector: 'ejs-combobox',
323
+ inputs: inputs$1,
324
+ outputs: outputs$1,
325
+ template: '',
326
+ changeDetection: ChangeDetectionStrategy.OnPush,
327
+ providers: [
328
+ {
329
+ provide: NG_VALUE_ACCESSOR,
330
+ useExisting: forwardRef(() => ComboBoxComponent_1),
331
+ multi: true
332
+ }
333
+ ],
334
+ queries: {}
335
+ },] },
336
+ ];
337
+ /**
338
+ * @nocollapse
339
+ */
340
+ ComboBoxComponent.ctorParameters = () => [
341
+ { type: ElementRef, },
342
+ { type: Renderer2, },
343
+ { type: ViewContainerRef, },
344
+ { type: Injector, },
345
+ { type: ChangeDetectorRef, },
346
+ ];
347
+ ComboBoxComponent.propDecorators = {
348
+ 'footerTemplate': [{ type: ContentChild, args: ['footerTemplate',] },],
349
+ 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
350
+ 'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
351
+ 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
352
+ 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
353
+ 'actionFailureTemplate': [{ type: ContentChild, args: ['actionFailureTemplate',] },],
354
+ };
355
+ __decorate$1([
356
+ Template(),
357
+ __metadata$1("design:type", Object)
358
+ ], ComboBoxComponent.prototype, "footerTemplate", void 0);
359
+ __decorate$1([
360
+ Template(),
361
+ __metadata$1("design:type", Object)
362
+ ], ComboBoxComponent.prototype, "headerTemplate", void 0);
363
+ __decorate$1([
364
+ Template(),
365
+ __metadata$1("design:type", Object)
366
+ ], ComboBoxComponent.prototype, "groupTemplate", void 0);
367
+ __decorate$1([
368
+ Template(),
369
+ __metadata$1("design:type", Object)
370
+ ], ComboBoxComponent.prototype, "itemTemplate", void 0);
371
+ __decorate$1([
372
+ Template('No records found'),
373
+ __metadata$1("design:type", Object)
374
+ ], ComboBoxComponent.prototype, "noRecordsTemplate", void 0);
375
+ __decorate$1([
376
+ Template('Request failed'),
377
+ __metadata$1("design:type", Object)
378
+ ], ComboBoxComponent.prototype, "actionFailureTemplate", void 0);
379
+ ComboBoxComponent = ComboBoxComponent_1 = __decorate$1([
380
+ ComponentMixins([ComponentBase, FormBase]),
381
+ __metadata$1("design:paramtypes", [ElementRef,
382
+ Renderer2,
383
+ ViewContainerRef,
384
+ Injector,
385
+ ChangeDetectorRef])
386
+ ], ComboBoxComponent);
387
+ var ComboBoxComponent_1;
388
+
389
+ /**
390
+ * NgModule definition for the ComboBox component.
391
+ */
392
+ class ComboBoxModule {
393
+ }
394
+ ComboBoxModule.decorators = [
395
+ { type: NgModule, args: [{
396
+ imports: [CommonModule],
397
+ declarations: [
398
+ ComboBoxComponent
399
+ ],
400
+ exports: [
401
+ ComboBoxComponent
402
+ ]
403
+ },] },
404
+ ];
405
+ /**
406
+ * @nocollapse
407
+ */
408
+ ComboBoxModule.ctorParameters = () => [];
409
+
410
+ /**
411
+ * NgModule definition for the ComboBox component with providers.
412
+ */
413
+ class ComboBoxAllModule {
414
+ }
415
+ ComboBoxAllModule.decorators = [
416
+ { type: NgModule, args: [{
417
+ imports: [CommonModule, ComboBoxModule],
418
+ exports: [
419
+ ComboBoxModule
420
+ ],
421
+ providers: []
422
+ },] },
423
+ ];
424
+ /**
425
+ * @nocollapse
426
+ */
427
+ ComboBoxAllModule.ctorParameters = () => [];
428
+
429
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
430
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
431
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
432
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
433
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
434
+ };
435
+ var __metadata$2 = (this && this.__metadata) || function (k, v) {
436
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
437
+ };
438
+ const inputs$2 = ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'autofill', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'highlight', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'itemTemplate', 'locale', 'minLength', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'showPopupButton', 'sortOrder', 'suggestionCount', 'text', 'value', 'valueTemplate', 'width', 'zIndex'];
439
+ const outputs$2 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'select', 'valueChange'];
440
+ const twoWays$2 = ['value'];
441
+ /**
442
+ * The AutoComplete component provides the matched suggestion list when type into the input, from which the user can select one.
443
+ * ```html
444
+ * <ejs-autocomplete></ejs-autocomplete>
445
+ * ```
446
+ */
447
+ let AutoCompleteComponent = AutoCompleteComponent_1 = class AutoCompleteComponent extends AutoComplete {
448
+ /**
449
+ * @param {?} ngEle
450
+ * @param {?} srenderer
451
+ * @param {?} viewContainerRef
452
+ * @param {?} injector
453
+ * @param {?} cdr
454
+ */
455
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
456
+ super();
457
+ this.ngEle = ngEle;
458
+ this.srenderer = srenderer;
459
+ this.viewContainerRef = viewContainerRef;
460
+ this.injector = injector;
461
+ this.cdr = cdr;
462
+ this.skipFromEvent = true;
463
+ this.element = this.ngEle.nativeElement;
464
+ this.injectedModules = this.injectedModules || [];
465
+ try {
466
+ let mod = this.injector.get('DropDownsVirtualScroll');
467
+ if (this.injectedModules.indexOf(mod) === -1) {
468
+ this.injectedModules.push(mod);
469
+ }
470
+ }
471
+ catch (_a) { }
472
+ this.registerEvents(outputs$2);
473
+ this.addTwoWay.call(this, twoWays$2);
474
+ setValue('currentInstance', this, this.viewContainerRef);
475
+ this.formContext = new FormBase();
476
+ this.formCompContext = new ComponentBase();
477
+ }
478
+ /**
479
+ * @param {?} registerFunction
480
+ * @return {?}
481
+ */
482
+ registerOnChange(registerFunction) {
483
+ }
484
+ /**
485
+ * @param {?} registerFunction
486
+ * @return {?}
487
+ */
488
+ registerOnTouched(registerFunction) {
489
+ }
490
+ /**
491
+ * @param {?} value
492
+ * @return {?}
493
+ */
494
+ writeValue(value) {
495
+ }
496
+ /**
497
+ * @param {?} disabled
498
+ * @return {?}
499
+ */
500
+ setDisabledState(disabled) {
501
+ }
502
+ /**
503
+ * @return {?}
504
+ */
505
+ ngOnInit() {
506
+ this.formCompContext.ngOnInit(this);
507
+ }
508
+ /**
509
+ * @return {?}
510
+ */
511
+ ngAfterViewInit() {
512
+ this.formContext.ngAfterViewInit(this);
513
+ }
514
+ /**
515
+ * @return {?}
516
+ */
517
+ ngOnDestroy() {
518
+ this.formCompContext.ngOnDestroy(this);
519
+ }
520
+ /**
521
+ * @return {?}
522
+ */
523
+ ngAfterContentChecked() {
524
+ this.formCompContext.ngAfterContentChecked(this);
525
+ }
526
+ };
527
+ AutoCompleteComponent.decorators = [
528
+ { type: Component, args: [{
529
+ selector: 'ejs-autocomplete',
530
+ inputs: inputs$2,
531
+ outputs: outputs$2,
532
+ template: '',
533
+ changeDetection: ChangeDetectionStrategy.OnPush,
534
+ providers: [
535
+ {
536
+ provide: NG_VALUE_ACCESSOR,
537
+ useExisting: forwardRef(() => AutoCompleteComponent_1),
538
+ multi: true
539
+ }
540
+ ],
541
+ queries: {}
542
+ },] },
543
+ ];
544
+ /**
545
+ * @nocollapse
546
+ */
547
+ AutoCompleteComponent.ctorParameters = () => [
548
+ { type: ElementRef, },
549
+ { type: Renderer2, },
550
+ { type: ViewContainerRef, },
551
+ { type: Injector, },
552
+ { type: ChangeDetectorRef, },
553
+ ];
554
+ AutoCompleteComponent.propDecorators = {
555
+ 'footerTemplate': [{ type: ContentChild, args: ['footerTemplate',] },],
556
+ 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
557
+ 'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
558
+ 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
559
+ 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
560
+ 'actionFailureTemplate': [{ type: ContentChild, args: ['actionFailureTemplate',] },],
561
+ };
562
+ __decorate$2([
563
+ Template(),
564
+ __metadata$2("design:type", Object)
565
+ ], AutoCompleteComponent.prototype, "footerTemplate", void 0);
566
+ __decorate$2([
567
+ Template(),
568
+ __metadata$2("design:type", Object)
569
+ ], AutoCompleteComponent.prototype, "headerTemplate", void 0);
570
+ __decorate$2([
571
+ Template(),
572
+ __metadata$2("design:type", Object)
573
+ ], AutoCompleteComponent.prototype, "groupTemplate", void 0);
574
+ __decorate$2([
575
+ Template(),
576
+ __metadata$2("design:type", Object)
577
+ ], AutoCompleteComponent.prototype, "itemTemplate", void 0);
578
+ __decorate$2([
579
+ Template('No records found'),
580
+ __metadata$2("design:type", Object)
581
+ ], AutoCompleteComponent.prototype, "noRecordsTemplate", void 0);
582
+ __decorate$2([
583
+ Template('Request failed'),
584
+ __metadata$2("design:type", Object)
585
+ ], AutoCompleteComponent.prototype, "actionFailureTemplate", void 0);
586
+ AutoCompleteComponent = AutoCompleteComponent_1 = __decorate$2([
587
+ ComponentMixins([ComponentBase, FormBase]),
588
+ __metadata$2("design:paramtypes", [ElementRef,
589
+ Renderer2,
590
+ ViewContainerRef,
591
+ Injector,
592
+ ChangeDetectorRef])
593
+ ], AutoCompleteComponent);
594
+ var AutoCompleteComponent_1;
595
+
596
+ /**
597
+ * NgModule definition for the AutoComplete component.
598
+ */
599
+ class AutoCompleteModule {
600
+ }
601
+ AutoCompleteModule.decorators = [
602
+ { type: NgModule, args: [{
603
+ imports: [CommonModule],
604
+ declarations: [
605
+ AutoCompleteComponent
606
+ ],
607
+ exports: [
608
+ AutoCompleteComponent
609
+ ]
610
+ },] },
611
+ ];
612
+ /**
613
+ * @nocollapse
614
+ */
615
+ AutoCompleteModule.ctorParameters = () => [];
616
+
617
+ /**
618
+ * NgModule definition for the AutoComplete component with providers.
619
+ */
620
+ class AutoCompleteAllModule {
621
+ }
622
+ AutoCompleteAllModule.decorators = [
623
+ { type: NgModule, args: [{
624
+ imports: [CommonModule, AutoCompleteModule],
625
+ exports: [
626
+ AutoCompleteModule
627
+ ],
628
+ providers: []
629
+ },] },
630
+ ];
631
+ /**
632
+ * @nocollapse
633
+ */
634
+ AutoCompleteAllModule.ctorParameters = () => [];
635
+
636
+ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
637
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
638
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
639
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
640
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
641
+ };
642
+ var __metadata$3 = (this && this.__metadata) || function (k, v) {
643
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
644
+ };
645
+ const inputs$3 = ['actionFailureTemplate', 'addTagOnBlur', 'allowCustomValue', 'allowFiltering', 'changeOnBlur', 'closePopupOnSelect', 'cssClass', 'dataSource', 'delimiterChar', 'enableGroupCheckBox', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableSelectionOrder', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'hideSelectedItem', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'itemTemplate', 'locale', 'maximumSelectionLength', 'mode', 'noRecordsTemplate', 'openOnClick', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'selectAllText', 'showClearButton', 'showDropDownIcon', 'showSelectAll', 'sortOrder', 'text', 'unSelectAllText', 'value', 'valueTemplate', 'width', 'zIndex'];
646
+ const outputs$3 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'beforeSelectAll', 'blur', 'change', 'chipSelection', 'close', 'created', 'customValueSelection', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'removed', 'removing', 'select', 'selectedAll', 'tagging', 'valueChange'];
647
+ const twoWays$3 = ['value'];
648
+ /**
649
+ * The MultiSelect allows the user to pick a values from the predefined list of values.
650
+ * ```html
651
+ * <ejs-multiselect></ejs-multiselect>
652
+ * ```
653
+ */
654
+ let MultiSelectComponent = MultiSelectComponent_1 = class MultiSelectComponent extends MultiSelect {
655
+ /**
656
+ * @param {?} ngEle
657
+ * @param {?} srenderer
658
+ * @param {?} viewContainerRef
659
+ * @param {?} injector
660
+ * @param {?} cdr
661
+ */
662
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
663
+ super();
664
+ this.ngEle = ngEle;
665
+ this.srenderer = srenderer;
666
+ this.viewContainerRef = viewContainerRef;
667
+ this.injector = injector;
668
+ this.cdr = cdr;
669
+ this.skipFromEvent = true;
670
+ this.element = this.ngEle.nativeElement;
671
+ this.injectedModules = this.injectedModules || [];
672
+ try {
673
+ let mod = this.injector.get('DropDownsCheckBoxSelection');
674
+ if (this.injectedModules.indexOf(mod) === -1) {
675
+ this.injectedModules.push(mod);
676
+ }
677
+ }
678
+ catch (_a) { }
679
+ this.registerEvents(outputs$3);
680
+ this.addTwoWay.call(this, twoWays$3);
681
+ setValue('currentInstance', this, this.viewContainerRef);
682
+ this.formContext = new FormBase();
683
+ this.formCompContext = new ComponentBase();
684
+ }
685
+ /**
686
+ * @param {?} registerFunction
687
+ * @return {?}
688
+ */
689
+ registerOnChange(registerFunction) {
690
+ }
691
+ /**
692
+ * @param {?} registerFunction
693
+ * @return {?}
694
+ */
695
+ registerOnTouched(registerFunction) {
696
+ }
697
+ /**
698
+ * @param {?} value
699
+ * @return {?}
700
+ */
701
+ writeValue(value) {
702
+ }
703
+ /**
704
+ * @param {?} disabled
705
+ * @return {?}
706
+ */
707
+ setDisabledState(disabled) {
708
+ }
709
+ /**
710
+ * @return {?}
711
+ */
712
+ ngOnInit() {
713
+ this.formCompContext.ngOnInit(this);
714
+ }
715
+ /**
716
+ * @return {?}
717
+ */
718
+ ngAfterViewInit() {
719
+ this.formContext.ngAfterViewInit(this);
720
+ }
721
+ /**
722
+ * @return {?}
723
+ */
724
+ ngOnDestroy() {
725
+ this.formCompContext.ngOnDestroy(this);
726
+ }
727
+ /**
728
+ * @return {?}
729
+ */
730
+ ngAfterContentChecked() {
731
+ this.formCompContext.ngAfterContentChecked(this);
732
+ }
733
+ };
734
+ MultiSelectComponent.decorators = [
735
+ { type: Component, args: [{
736
+ selector: 'ejs-multiselect',
737
+ inputs: inputs$3,
738
+ outputs: outputs$3,
739
+ template: '',
740
+ changeDetection: ChangeDetectionStrategy.OnPush,
741
+ providers: [
742
+ {
743
+ provide: NG_VALUE_ACCESSOR,
744
+ useExisting: forwardRef(() => MultiSelectComponent_1),
745
+ multi: true
746
+ }
747
+ ],
748
+ queries: {}
749
+ },] },
750
+ ];
751
+ /**
752
+ * @nocollapse
753
+ */
754
+ MultiSelectComponent.ctorParameters = () => [
755
+ { type: ElementRef, },
756
+ { type: Renderer2, },
757
+ { type: ViewContainerRef, },
758
+ { type: Injector, },
759
+ { type: ChangeDetectorRef, },
760
+ ];
761
+ MultiSelectComponent.propDecorators = {
762
+ 'footerTemplate': [{ type: ContentChild, args: ['footerTemplate',] },],
763
+ 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
764
+ 'valueTemplate': [{ type: ContentChild, args: ['valueTemplate',] },],
765
+ 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
766
+ 'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
767
+ 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
768
+ 'actionFailureTemplate': [{ type: ContentChild, args: ['actionFailureTemplate',] },],
769
+ };
770
+ __decorate$3([
771
+ Template(),
772
+ __metadata$3("design:type", Object)
773
+ ], MultiSelectComponent.prototype, "footerTemplate", void 0);
774
+ __decorate$3([
775
+ Template(),
776
+ __metadata$3("design:type", Object)
777
+ ], MultiSelectComponent.prototype, "headerTemplate", void 0);
778
+ __decorate$3([
779
+ Template(),
780
+ __metadata$3("design:type", Object)
781
+ ], MultiSelectComponent.prototype, "valueTemplate", void 0);
782
+ __decorate$3([
783
+ Template(),
784
+ __metadata$3("design:type", Object)
785
+ ], MultiSelectComponent.prototype, "itemTemplate", void 0);
786
+ __decorate$3([
787
+ Template(),
788
+ __metadata$3("design:type", Object)
789
+ ], MultiSelectComponent.prototype, "groupTemplate", void 0);
790
+ __decorate$3([
791
+ Template('No records found'),
792
+ __metadata$3("design:type", Object)
793
+ ], MultiSelectComponent.prototype, "noRecordsTemplate", void 0);
794
+ __decorate$3([
795
+ Template('Request failed'),
796
+ __metadata$3("design:type", Object)
797
+ ], MultiSelectComponent.prototype, "actionFailureTemplate", void 0);
798
+ MultiSelectComponent = MultiSelectComponent_1 = __decorate$3([
799
+ ComponentMixins([ComponentBase, FormBase]),
800
+ __metadata$3("design:paramtypes", [ElementRef,
801
+ Renderer2,
802
+ ViewContainerRef,
803
+ Injector,
804
+ ChangeDetectorRef])
805
+ ], MultiSelectComponent);
806
+ var MultiSelectComponent_1;
807
+
808
+ /**
809
+ * NgModule definition for the MultiSelect component.
810
+ */
811
+ class MultiSelectModule {
812
+ }
813
+ MultiSelectModule.decorators = [
814
+ { type: NgModule, args: [{
815
+ imports: [CommonModule],
816
+ declarations: [
817
+ MultiSelectComponent
818
+ ],
819
+ exports: [
820
+ MultiSelectComponent
821
+ ]
822
+ },] },
823
+ ];
824
+ /**
825
+ * @nocollapse
826
+ */
827
+ MultiSelectModule.ctorParameters = () => [];
828
+
829
+ const CheckBoxSelectionService = { provide: 'DropDownsCheckBoxSelection', useValue: CheckBoxSelection };
830
+ /**
831
+ * NgModule definition for the MultiSelect component with providers.
832
+ */
833
+ class MultiSelectAllModule {
834
+ }
835
+ MultiSelectAllModule.decorators = [
836
+ { type: NgModule, args: [{
837
+ imports: [CommonModule, MultiSelectModule],
838
+ exports: [
839
+ MultiSelectModule
840
+ ],
841
+ providers: [
842
+ CheckBoxSelectionService
843
+ ]
844
+ },] },
845
+ ];
846
+ /**
847
+ * @nocollapse
848
+ */
849
+ MultiSelectAllModule.ctorParameters = () => [];
850
+
851
+ var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
852
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
853
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
854
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
855
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
856
+ };
857
+ var __metadata$4 = (this && this.__metadata) || function (k, v) {
858
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
859
+ };
860
+ const inputs$4 = ['actionFailureTemplate', 'allowDragAndDrop', 'allowFiltering', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'groupTemplate', 'height', 'ignoreAccent', 'ignoreCase', 'itemTemplate', 'locale', 'maximumSelectionLength', 'noRecordsTemplate', 'query', 'scope', 'selectionSettings', 'sortOrder', 'toolbarSettings', 'value', 'zIndex'];
861
+ const outputs$4 = ['focus', 'blur', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeDrop', 'beforeItemRender', 'change', 'created', 'dataBound', 'destroyed', 'drag', 'dragStart', 'drop', 'filtering', 'select', 'valueChange'];
862
+ const twoWays$4 = ['value'];
863
+ /**
864
+ * The ListBox allows the user to select values from the predefined list of values.
865
+ * ```html
866
+ * <ejs-listbox [dataSource]='data'></ejs-listbox>
867
+ * ```
868
+ */
869
+ let ListBoxComponent = ListBoxComponent_1 = class ListBoxComponent extends ListBox {
870
+ /**
871
+ * @param {?} ngEle
872
+ * @param {?} srenderer
873
+ * @param {?} viewContainerRef
874
+ * @param {?} injector
875
+ * @param {?} cdr
876
+ */
877
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
878
+ super();
879
+ this.ngEle = ngEle;
880
+ this.srenderer = srenderer;
881
+ this.viewContainerRef = viewContainerRef;
882
+ this.injector = injector;
883
+ this.cdr = cdr;
884
+ this.element = this.ngEle.nativeElement;
885
+ this.injectedModules = this.injectedModules || [];
886
+ try {
887
+ let mod = this.injector.get('DropDownsCheckBoxSelection');
888
+ if (this.injectedModules.indexOf(mod) === -1) {
889
+ this.injectedModules.push(mod);
890
+ }
891
+ }
892
+ catch (_a) { }
893
+ this.registerEvents(outputs$4);
894
+ this.addTwoWay.call(this, twoWays$4);
895
+ setValue('currentInstance', this, this.viewContainerRef);
896
+ this.formContext = new FormBase();
897
+ this.formCompContext = new ComponentBase();
898
+ }
899
+ /**
900
+ * @param {?} registerFunction
901
+ * @return {?}
902
+ */
903
+ registerOnChange(registerFunction) {
904
+ }
905
+ /**
906
+ * @param {?} registerFunction
907
+ * @return {?}
908
+ */
909
+ registerOnTouched(registerFunction) {
910
+ }
911
+ /**
912
+ * @param {?} value
913
+ * @return {?}
914
+ */
915
+ writeValue(value) {
916
+ }
917
+ /**
918
+ * @param {?} disabled
919
+ * @return {?}
920
+ */
921
+ setDisabledState(disabled) {
922
+ }
923
+ /**
924
+ * @return {?}
925
+ */
926
+ ngOnInit() {
927
+ this.formCompContext.ngOnInit(this);
928
+ }
929
+ /**
930
+ * @return {?}
931
+ */
932
+ ngAfterViewInit() {
933
+ this.formContext.ngAfterViewInit(this);
934
+ }
935
+ /**
936
+ * @return {?}
937
+ */
938
+ ngOnDestroy() {
939
+ this.formCompContext.ngOnDestroy(this);
940
+ }
941
+ /**
942
+ * @return {?}
943
+ */
944
+ ngAfterContentChecked() {
945
+ this.formCompContext.ngAfterContentChecked(this);
946
+ }
947
+ };
948
+ ListBoxComponent.decorators = [
949
+ { type: Component, args: [{
950
+ selector: 'ejs-listbox',
951
+ inputs: inputs$4,
952
+ outputs: outputs$4,
953
+ template: '',
954
+ changeDetection: ChangeDetectionStrategy.OnPush,
955
+ providers: [
956
+ {
957
+ provide: NG_VALUE_ACCESSOR,
958
+ useExisting: forwardRef(() => ListBoxComponent_1),
959
+ multi: true
960
+ }
961
+ ],
962
+ queries: {}
963
+ },] },
964
+ ];
965
+ /**
966
+ * @nocollapse
967
+ */
968
+ ListBoxComponent.ctorParameters = () => [
969
+ { type: ElementRef, },
970
+ { type: Renderer2, },
971
+ { type: ViewContainerRef, },
972
+ { type: Injector, },
973
+ { type: ChangeDetectorRef, },
974
+ ];
975
+ ListBoxComponent.propDecorators = {
976
+ 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
977
+ 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
978
+ };
979
+ __decorate$4([
980
+ Template(),
981
+ __metadata$4("design:type", Object)
982
+ ], ListBoxComponent.prototype, "itemTemplate", void 0);
983
+ __decorate$4([
984
+ Template('No records found'),
985
+ __metadata$4("design:type", Object)
986
+ ], ListBoxComponent.prototype, "noRecordsTemplate", void 0);
987
+ ListBoxComponent = ListBoxComponent_1 = __decorate$4([
988
+ ComponentMixins([ComponentBase, FormBase]),
989
+ __metadata$4("design:paramtypes", [ElementRef,
990
+ Renderer2,
991
+ ViewContainerRef,
992
+ Injector,
993
+ ChangeDetectorRef])
994
+ ], ListBoxComponent);
995
+ var ListBoxComponent_1;
996
+
997
+ /**
998
+ * NgModule definition for the ListBox component.
999
+ */
1000
+ class ListBoxModule {
1001
+ }
1002
+ ListBoxModule.decorators = [
1003
+ { type: NgModule, args: [{
1004
+ imports: [CommonModule],
1005
+ declarations: [
1006
+ ListBoxComponent
1007
+ ],
1008
+ exports: [
1009
+ ListBoxComponent
1010
+ ]
1011
+ },] },
1012
+ ];
1013
+ /**
1014
+ * @nocollapse
1015
+ */
1016
+ ListBoxModule.ctorParameters = () => [];
1017
+
1018
+ /**
1019
+ * NgModule definition for the ListBox component with providers.
1020
+ */
1021
+ class ListBoxAllModule {
1022
+ }
1023
+ ListBoxAllModule.decorators = [
1024
+ { type: NgModule, args: [{
1025
+ imports: [CommonModule, ListBoxModule],
1026
+ exports: [
1027
+ ListBoxModule
1028
+ ],
1029
+ providers: []
1030
+ },] },
1031
+ ];
1032
+ /**
1033
+ * @nocollapse
1034
+ */
1035
+ ListBoxAllModule.ctorParameters = () => [];
1036
+
1037
+ var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
1038
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1039
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1040
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1041
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1042
+ };
1043
+ var __metadata$5 = (this && this.__metadata) || function (k, v) {
1044
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1045
+ };
1046
+ const inputs$5 = ['actionFailureTemplate', 'allowFiltering', 'allowMultiSelection', 'changeOnBlur', 'cssClass', 'customTemplate', 'delimiterChar', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'itemTemplate', 'locale', 'mode', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'readonly', 'selectAllText', 'showCheckBox', 'showClearButton', 'showDropDownIcon', 'showSelectAll', 'sortOrder', 'text', 'treeSettings', 'unSelectAllText', 'value', 'width', 'wrapText', 'zIndex'];
1047
+ const outputs$5 = ['actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'keyPress', 'open', 'select', 'valueChange'];
1048
+ const twoWays$5 = ['value'];
1049
+ /**
1050
+ * The DropDownTree component contains a list of predefined values from which you can choose a single or multiple values.
1051
+ * ```html
1052
+ * <ejs-dropdowntree></ejs-dropdowntree>
1053
+ * ```
1054
+ */
1055
+ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponent extends DropDownTree {
1056
+ /**
1057
+ * @param {?} ngEle
1058
+ * @param {?} srenderer
1059
+ * @param {?} viewContainerRef
1060
+ * @param {?} injector
1061
+ * @param {?} cdr
1062
+ */
1063
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
1064
+ super();
1065
+ this.ngEle = ngEle;
1066
+ this.srenderer = srenderer;
1067
+ this.viewContainerRef = viewContainerRef;
1068
+ this.injector = injector;
1069
+ this.cdr = cdr;
1070
+ this.skipFromEvent = true;
1071
+ this.element = this.ngEle.nativeElement;
1072
+ this.injectedModules = this.injectedModules || [];
1073
+ this.registerEvents(outputs$5);
1074
+ this.addTwoWay.call(this, twoWays$5);
1075
+ setValue('currentInstance', this, this.viewContainerRef);
1076
+ this.formContext = new FormBase();
1077
+ this.formCompContext = new ComponentBase();
1078
+ }
1079
+ /**
1080
+ * @param {?} registerFunction
1081
+ * @return {?}
1082
+ */
1083
+ registerOnChange(registerFunction) {
1084
+ }
1085
+ /**
1086
+ * @param {?} registerFunction
1087
+ * @return {?}
1088
+ */
1089
+ registerOnTouched(registerFunction) {
1090
+ }
1091
+ /**
1092
+ * @param {?} value
1093
+ * @return {?}
1094
+ */
1095
+ writeValue(value) {
1096
+ }
1097
+ /**
1098
+ * @param {?} disabled
1099
+ * @return {?}
1100
+ */
1101
+ setDisabledState(disabled) {
1102
+ }
1103
+ /**
1104
+ * @return {?}
1105
+ */
1106
+ ngOnInit() {
1107
+ this.formCompContext.ngOnInit(this);
1108
+ }
1109
+ /**
1110
+ * @return {?}
1111
+ */
1112
+ ngAfterViewInit() {
1113
+ this.formContext.ngAfterViewInit(this);
1114
+ }
1115
+ /**
1116
+ * @return {?}
1117
+ */
1118
+ ngOnDestroy() {
1119
+ this.formCompContext.ngOnDestroy(this);
1120
+ }
1121
+ /**
1122
+ * @return {?}
1123
+ */
1124
+ ngAfterContentChecked() {
1125
+ this.formCompContext.ngAfterContentChecked(this);
1126
+ }
1127
+ };
1128
+ DropDownTreeComponent.decorators = [
1129
+ { type: Component, args: [{
1130
+ selector: 'ejs-dropdowntree',
1131
+ inputs: inputs$5,
1132
+ outputs: outputs$5,
1133
+ template: '',
1134
+ changeDetection: ChangeDetectionStrategy.OnPush,
1135
+ providers: [
1136
+ {
1137
+ provide: NG_VALUE_ACCESSOR,
1138
+ useExisting: forwardRef(() => DropDownTreeComponent_1),
1139
+ multi: true
1140
+ }
1141
+ ],
1142
+ queries: {}
1143
+ },] },
1144
+ ];
1145
+ /**
1146
+ * @nocollapse
1147
+ */
1148
+ DropDownTreeComponent.ctorParameters = () => [
1149
+ { type: ElementRef, },
1150
+ { type: Renderer2, },
1151
+ { type: ViewContainerRef, },
1152
+ { type: Injector, },
1153
+ { type: ChangeDetectorRef, },
1154
+ ];
1155
+ DropDownTreeComponent.propDecorators = {
1156
+ 'footerTemplate': [{ type: ContentChild, args: ['footerTemplate',] },],
1157
+ 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
1158
+ 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
1159
+ 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
1160
+ 'actionFailureTemplate': [{ type: ContentChild, args: ['actionFailureTemplate',] },],
1161
+ };
1162
+ __decorate$5([
1163
+ Template(),
1164
+ __metadata$5("design:type", Object)
1165
+ ], DropDownTreeComponent.prototype, "footerTemplate", void 0);
1166
+ __decorate$5([
1167
+ Template(),
1168
+ __metadata$5("design:type", Object)
1169
+ ], DropDownTreeComponent.prototype, "headerTemplate", void 0);
1170
+ __decorate$5([
1171
+ Template(),
1172
+ __metadata$5("design:type", Object)
1173
+ ], DropDownTreeComponent.prototype, "itemTemplate", void 0);
1174
+ __decorate$5([
1175
+ Template('No Records Found'),
1176
+ __metadata$5("design:type", Object)
1177
+ ], DropDownTreeComponent.prototype, "noRecordsTemplate", void 0);
1178
+ __decorate$5([
1179
+ Template('The Request Failed'),
1180
+ __metadata$5("design:type", Object)
1181
+ ], DropDownTreeComponent.prototype, "actionFailureTemplate", void 0);
1182
+ DropDownTreeComponent = DropDownTreeComponent_1 = __decorate$5([
1183
+ ComponentMixins([ComponentBase, FormBase]),
1184
+ __metadata$5("design:paramtypes", [ElementRef,
1185
+ Renderer2,
1186
+ ViewContainerRef,
1187
+ Injector,
1188
+ ChangeDetectorRef])
1189
+ ], DropDownTreeComponent);
1190
+ var DropDownTreeComponent_1;
1191
+
1192
+ /**
1193
+ * NgModule definition for the DropDownTree component.
1194
+ */
1195
+ class DropDownTreeModule {
1196
+ }
1197
+ DropDownTreeModule.decorators = [
1198
+ { type: NgModule, args: [{
1199
+ imports: [CommonModule],
1200
+ declarations: [
1201
+ DropDownTreeComponent
1202
+ ],
1203
+ exports: [
1204
+ DropDownTreeComponent
1205
+ ]
1206
+ },] },
1207
+ ];
1208
+ /**
1209
+ * @nocollapse
1210
+ */
1211
+ DropDownTreeModule.ctorParameters = () => [];
1212
+
1213
+ /**
1214
+ * NgModule definition for the DropDownTree component with providers.
1215
+ */
1216
+ class DropDownTreeAllModule {
1217
+ }
1218
+ DropDownTreeAllModule.decorators = [
1219
+ { type: NgModule, args: [{
1220
+ imports: [CommonModule, DropDownTreeModule],
1221
+ exports: [
1222
+ DropDownTreeModule
1223
+ ],
1224
+ providers: []
1225
+ },] },
1226
+ ];
1227
+ /**
1228
+ * @nocollapse
1229
+ */
1230
+ DropDownTreeAllModule.ctorParameters = () => [];
1231
+
1232
+ var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
1233
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1234
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1235
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1236
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1237
+ };
1238
+ var __metadata$6 = (this && this.__metadata) || function (k, v) {
1239
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1240
+ };
1241
+ const inputs$6 = ['allowSpaces', 'cssClass', 'dataSource', 'displayTemplate', 'fields', 'filterType', 'highlight', 'ignoreCase', 'itemTemplate', 'locale', 'mentionChar', 'minLength', 'noRecordsTemplate', 'popupHeight', 'popupWidth', 'query', 'showMentionChar', 'sortOrder', 'spinnerTemplate', 'suffixText', 'suggestionCount', 'target'];
1242
+ const outputs$6 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'change', 'closed', 'created', 'destroyed', 'filtering', 'opened', 'select'];
1243
+ const twoWays$6 = [''];
1244
+ /**
1245
+ * The Mention component contains a list of predefined values, from which the user can choose a single value.
1246
+ * ```html
1247
+ * <ejs-mention></ejs-mention>
1248
+ * ```
1249
+ */
1250
+ let MentionComponent = class MentionComponent extends Mention {
1251
+ /**
1252
+ * @param {?} ngEle
1253
+ * @param {?} srenderer
1254
+ * @param {?} viewContainerRef
1255
+ * @param {?} injector
1256
+ */
1257
+ constructor(ngEle, srenderer, viewContainerRef, injector) {
1258
+ super();
1259
+ this.ngEle = ngEle;
1260
+ this.srenderer = srenderer;
1261
+ this.viewContainerRef = viewContainerRef;
1262
+ this.injector = injector;
1263
+ this.element = this.ngEle.nativeElement;
1264
+ this.injectedModules = this.injectedModules || [];
1265
+ this.registerEvents(outputs$6);
1266
+ this.addTwoWay.call(this, twoWays$6);
1267
+ setValue('currentInstance', this, this.viewContainerRef);
1268
+ this.containerContext = new ComponentBase();
1269
+ }
1270
+ /**
1271
+ * @return {?}
1272
+ */
1273
+ ngOnInit() {
1274
+ this.containerContext.ngOnInit(this);
1275
+ }
1276
+ /**
1277
+ * @return {?}
1278
+ */
1279
+ ngAfterViewInit() {
1280
+ this.containerContext.ngAfterViewInit(this);
1281
+ }
1282
+ /**
1283
+ * @return {?}
1284
+ */
1285
+ ngOnDestroy() {
1286
+ this.containerContext.ngOnDestroy(this);
1287
+ }
1288
+ /**
1289
+ * @return {?}
1290
+ */
1291
+ ngAfterContentChecked() {
1292
+ this.containerContext.ngAfterContentChecked(this);
1293
+ }
1294
+ };
1295
+ MentionComponent.decorators = [
1296
+ { type: Component, args: [{
1297
+ selector: 'ejs-mention',
1298
+ inputs: inputs$6,
1299
+ outputs: outputs$6,
1300
+ template: `<ng-content ></ng-content>`,
1301
+ changeDetection: ChangeDetectionStrategy.OnPush,
1302
+ queries: {}
1303
+ },] },
1304
+ ];
1305
+ /**
1306
+ * @nocollapse
1307
+ */
1308
+ MentionComponent.ctorParameters = () => [
1309
+ { type: ElementRef, },
1310
+ { type: Renderer2, },
1311
+ { type: ViewContainerRef, },
1312
+ { type: Injector, },
1313
+ ];
1314
+ MentionComponent.propDecorators = {
1315
+ 'displayTemplate': [{ type: ContentChild, args: ['displayTemplate',] },],
1316
+ 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
1317
+ 'spinnerTemplate': [{ type: ContentChild, args: ['spinnerTemplate',] },],
1318
+ 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
1319
+ };
1320
+ __decorate$6([
1321
+ Template(),
1322
+ __metadata$6("design:type", Object)
1323
+ ], MentionComponent.prototype, "displayTemplate", void 0);
1324
+ __decorate$6([
1325
+ Template(),
1326
+ __metadata$6("design:type", Object)
1327
+ ], MentionComponent.prototype, "itemTemplate", void 0);
1328
+ __decorate$6([
1329
+ Template(),
1330
+ __metadata$6("design:type", Object)
1331
+ ], MentionComponent.prototype, "spinnerTemplate", void 0);
1332
+ __decorate$6([
1333
+ Template('No records found'),
1334
+ __metadata$6("design:type", Object)
1335
+ ], MentionComponent.prototype, "noRecordsTemplate", void 0);
1336
+ MentionComponent = __decorate$6([
1337
+ ComponentMixins([ComponentBase]),
1338
+ __metadata$6("design:paramtypes", [ElementRef,
1339
+ Renderer2,
1340
+ ViewContainerRef,
1341
+ Injector])
1342
+ ], MentionComponent);
1343
+
1344
+ /**
1345
+ * NgModule definition for the Mention component.
1346
+ */
1347
+ class MentionModule {
1348
+ }
1349
+ MentionModule.decorators = [
1350
+ { type: NgModule, args: [{
1351
+ imports: [CommonModule],
1352
+ declarations: [
1353
+ MentionComponent
1354
+ ],
1355
+ exports: [
1356
+ MentionComponent
1357
+ ]
1358
+ },] },
1359
+ ];
1360
+ /**
1361
+ * @nocollapse
1362
+ */
1363
+ MentionModule.ctorParameters = () => [];
1364
+
1365
+ /**
1366
+ * NgModule definition for the Mention component with providers.
1367
+ */
1368
+ class MentionAllModule {
1369
+ }
1370
+ MentionAllModule.decorators = [
1371
+ { type: NgModule, args: [{
1372
+ imports: [CommonModule, MentionModule],
1373
+ exports: [
1374
+ MentionModule
1375
+ ],
1376
+ providers: []
1377
+ },] },
1378
+ ];
1379
+ /**
1380
+ * @nocollapse
1381
+ */
1382
+ MentionAllModule.ctorParameters = () => [];
1383
+
1384
+ /**
1385
+ * Generated bundle index. Do not edit.
1386
+ */
1387
+
1388
+ export { DropDownListComponent, DropDownListModule, DropDownListAllModule, VirtualScrollService, ComboBoxComponent, ComboBoxModule, ComboBoxAllModule, AutoCompleteComponent, AutoCompleteModule, AutoCompleteAllModule, MultiSelectComponent, MultiSelectModule, MultiSelectAllModule, CheckBoxSelectionService, ListBoxComponent, ListBoxModule, ListBoxAllModule, DropDownTreeComponent, DropDownTreeModule, DropDownTreeAllModule, MentionComponent, MentionModule, MentionAllModule, inputs$2 as ɵe, outputs$2 as ɵf, inputs$1 as ɵc, outputs$1 as ɵd, inputs as ɵa, outputs as ɵb, inputs$5 as ɵk, outputs$5 as ɵl, inputs$4 as ɵi, outputs$4 as ɵj, inputs$6 as ɵm, outputs$6 as ɵn, inputs$3 as ɵg, outputs$3 as ɵh };
1389
+ export { incrementalSearch, Search, escapeCharRegExp, resetIncrementalSearchValues, highlightSearch, revertHighlightSearch, VirtualScroll, FieldSettings, dropDownBaseClasses, DropDownBase, dropDownListClasses, DropDownList, Fields, TreeSettings, DropDownTree, ComboBox, AutoComplete, MultiSelect, CheckBoxSelection, createFloatLabel, updateFloatLabelState, removeFloating, setPlaceHolder, floatLabelFocus, floatLabelBlur, encodePlaceholder, SelectionSettings, ToolbarSettings, ListBox, Mention } from '@syncfusion/ej2-dropdowns';
1390
+ //# sourceMappingURL=ej2-angular-dropdowns.js.map