@syncfusion/ej2-angular-dropdowns 28.2.4-ngcc → 28.2.4

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 (63) hide show
  1. package/CHANGELOG.md +2588 -0
  2. package/esm2020/public_api.mjs +2 -0
  3. package/esm2020/src/auto-complete/autocomplete-all.module.mjs +23 -0
  4. package/esm2020/src/auto-complete/autocomplete.component.mjs +129 -0
  5. package/esm2020/src/auto-complete/autocomplete.module.mjs +25 -0
  6. package/esm2020/src/combo-box/combobox-all.module.mjs +23 -0
  7. package/esm2020/src/combo-box/combobox.component.mjs +129 -0
  8. package/esm2020/src/combo-box/combobox.module.mjs +25 -0
  9. package/esm2020/src/drop-down-list/dropdownlist-all.module.mjs +29 -0
  10. package/esm2020/src/drop-down-list/dropdownlist.component.mjs +135 -0
  11. package/esm2020/src/drop-down-list/dropdownlist.module.mjs +25 -0
  12. package/esm2020/src/drop-down-tree/dropdowntree-all.module.mjs +23 -0
  13. package/esm2020/src/drop-down-tree/dropdowntree.component.mjs +122 -0
  14. package/esm2020/src/drop-down-tree/dropdowntree.module.mjs +25 -0
  15. package/esm2020/src/index.mjs +23 -0
  16. package/esm2020/src/list-box/listbox-all.module.mjs +23 -0
  17. package/esm2020/src/list-box/listbox.component.mjs +104 -0
  18. package/esm2020/src/list-box/listbox.module.mjs +25 -0
  19. package/esm2020/src/mention/mention-all.module.mjs +23 -0
  20. package/esm2020/src/mention/mention.component.mjs +84 -0
  21. package/esm2020/src/mention/mention.module.mjs +25 -0
  22. package/esm2020/src/multi-select/multiselect-all.module.mjs +29 -0
  23. package/esm2020/src/multi-select/multiselect.component.mjs +142 -0
  24. package/esm2020/src/multi-select/multiselect.module.mjs +25 -0
  25. package/esm2020/syncfusion-ej2-angular-dropdowns.mjs +5 -0
  26. package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs +1095 -0
  27. package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs.map +1 -0
  28. package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs +1095 -0
  29. package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs.map +1 -0
  30. package/package.json +25 -12
  31. package/src/auto-complete/autocomplete-all.module.d.ts +6 -0
  32. package/src/auto-complete/autocomplete.component.d.ts +7 -4
  33. package/src/auto-complete/autocomplete.module.d.ts +6 -0
  34. package/src/combo-box/combobox-all.module.d.ts +6 -0
  35. package/src/combo-box/combobox.component.d.ts +7 -4
  36. package/src/combo-box/combobox.module.d.ts +6 -0
  37. package/src/drop-down-list/dropdownlist-all.module.d.ts +6 -0
  38. package/src/drop-down-list/dropdownlist.component.d.ts +5 -2
  39. package/src/drop-down-list/dropdownlist.module.d.ts +6 -0
  40. package/src/drop-down-tree/dropdowntree-all.module.d.ts +6 -0
  41. package/src/drop-down-tree/dropdowntree.component.d.ts +3 -0
  42. package/src/drop-down-tree/dropdowntree.module.d.ts +6 -0
  43. package/src/list-box/listbox-all.module.d.ts +6 -0
  44. package/src/list-box/listbox.component.d.ts +4 -1
  45. package/src/list-box/listbox.module.d.ts +6 -0
  46. package/src/mention/mention-all.module.d.ts +6 -0
  47. package/src/mention/mention.component.d.ts +3 -0
  48. package/src/mention/mention.module.d.ts +6 -0
  49. package/src/multi-select/multiselect-all.module.d.ts +6 -0
  50. package/src/multi-select/multiselect.component.d.ts +3 -0
  51. package/src/multi-select/multiselect.module.d.ts +6 -0
  52. package/syncfusion-ej2-angular-dropdowns.d.ts +5 -0
  53. package/@syncfusion/ej2-angular-dropdowns.es5.js +0 -1487
  54. package/@syncfusion/ej2-angular-dropdowns.es5.js.map +0 -1
  55. package/@syncfusion/ej2-angular-dropdowns.js +0 -1402
  56. package/@syncfusion/ej2-angular-dropdowns.js.map +0 -1
  57. package/dist/ej2-angular-dropdowns.umd.js +0 -1557
  58. package/dist/ej2-angular-dropdowns.umd.js.map +0 -1
  59. package/dist/ej2-angular-dropdowns.umd.min.js +0 -11
  60. package/dist/ej2-angular-dropdowns.umd.min.js.map +0 -1
  61. package/ej2-angular-dropdowns.d.ts +0 -11
  62. package/ej2-angular-dropdowns.metadata.json +0 -1
  63. package/license +0 -10
@@ -1,1402 +0,0 @@
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', 'allowObjectBinding', 'allowResize', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'isDeviceFullScreen', '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', 'resizeStart', 'resizeStop', 'resizing', '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', 'allowObjectBinding', 'allowResize', 'autofill', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'isDeviceFullScreen', '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', 'resizeStart', 'resizeStop', 'resizing', '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', 'allowObjectBinding', 'allowResize', 'autofill', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'highlight', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'isDeviceFullScreen', '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', 'resizeStart', 'resizeStop', 'resizing', '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', 'allowObjectBinding', 'allowResize', 'changeOnBlur', 'closePopupOnSelect', 'cssClass', 'dataSource', 'delimiterChar', 'enableGroupCheckBox', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableSelectionOrder', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'hideSelectedItem', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'isDeviceFullScreen', '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', 'resizeStart', 'resizeStop', 'resizing', '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
- try {
680
- let mod = this.injector.get('DropDownsVirtualScroll');
681
- if (this.injectedModules.indexOf(mod) === -1) {
682
- this.injectedModules.push(mod);
683
- }
684
- }
685
- catch (_b) { }
686
- this.registerEvents(outputs$3);
687
- this.addTwoWay.call(this, twoWays$3);
688
- setValue('currentInstance', this, this.viewContainerRef);
689
- this.formContext = new FormBase();
690
- this.formCompContext = new ComponentBase();
691
- }
692
- /**
693
- * @param {?} registerFunction
694
- * @return {?}
695
- */
696
- registerOnChange(registerFunction) {
697
- }
698
- /**
699
- * @param {?} registerFunction
700
- * @return {?}
701
- */
702
- registerOnTouched(registerFunction) {
703
- }
704
- /**
705
- * @param {?} value
706
- * @return {?}
707
- */
708
- writeValue(value) {
709
- }
710
- /**
711
- * @param {?} disabled
712
- * @return {?}
713
- */
714
- setDisabledState(disabled) {
715
- }
716
- /**
717
- * @return {?}
718
- */
719
- ngOnInit() {
720
- this.formCompContext.ngOnInit(this);
721
- }
722
- /**
723
- * @return {?}
724
- */
725
- ngAfterViewInit() {
726
- this.formContext.ngAfterViewInit(this);
727
- }
728
- /**
729
- * @return {?}
730
- */
731
- ngOnDestroy() {
732
- this.formCompContext.ngOnDestroy(this);
733
- }
734
- /**
735
- * @return {?}
736
- */
737
- ngAfterContentChecked() {
738
- this.formCompContext.ngAfterContentChecked(this);
739
- }
740
- };
741
- MultiSelectComponent.decorators = [
742
- { type: Component, args: [{
743
- selector: 'ejs-multiselect',
744
- inputs: inputs$3,
745
- outputs: outputs$3,
746
- template: '',
747
- changeDetection: ChangeDetectionStrategy.OnPush,
748
- providers: [
749
- {
750
- provide: NG_VALUE_ACCESSOR,
751
- useExisting: forwardRef(() => MultiSelectComponent_1),
752
- multi: true
753
- }
754
- ],
755
- queries: {}
756
- },] },
757
- ];
758
- /**
759
- * @nocollapse
760
- */
761
- MultiSelectComponent.ctorParameters = () => [
762
- { type: ElementRef, },
763
- { type: Renderer2, },
764
- { type: ViewContainerRef, },
765
- { type: Injector, },
766
- { type: ChangeDetectorRef, },
767
- ];
768
- MultiSelectComponent.propDecorators = {
769
- 'footerTemplate': [{ type: ContentChild, args: ['footerTemplate',] },],
770
- 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
771
- 'valueTemplate': [{ type: ContentChild, args: ['valueTemplate',] },],
772
- 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
773
- 'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
774
- 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
775
- 'actionFailureTemplate': [{ type: ContentChild, args: ['actionFailureTemplate',] },],
776
- };
777
- __decorate$3([
778
- Template(),
779
- __metadata$3("design:type", Object)
780
- ], MultiSelectComponent.prototype, "footerTemplate", void 0);
781
- __decorate$3([
782
- Template(),
783
- __metadata$3("design:type", Object)
784
- ], MultiSelectComponent.prototype, "headerTemplate", void 0);
785
- __decorate$3([
786
- Template(),
787
- __metadata$3("design:type", Object)
788
- ], MultiSelectComponent.prototype, "valueTemplate", void 0);
789
- __decorate$3([
790
- Template(),
791
- __metadata$3("design:type", Object)
792
- ], MultiSelectComponent.prototype, "itemTemplate", void 0);
793
- __decorate$3([
794
- Template(),
795
- __metadata$3("design:type", Object)
796
- ], MultiSelectComponent.prototype, "groupTemplate", void 0);
797
- __decorate$3([
798
- Template('No records found'),
799
- __metadata$3("design:type", Object)
800
- ], MultiSelectComponent.prototype, "noRecordsTemplate", void 0);
801
- __decorate$3([
802
- Template('Request failed'),
803
- __metadata$3("design:type", Object)
804
- ], MultiSelectComponent.prototype, "actionFailureTemplate", void 0);
805
- MultiSelectComponent = MultiSelectComponent_1 = __decorate$3([
806
- ComponentMixins([ComponentBase, FormBase]),
807
- __metadata$3("design:paramtypes", [ElementRef,
808
- Renderer2,
809
- ViewContainerRef,
810
- Injector,
811
- ChangeDetectorRef])
812
- ], MultiSelectComponent);
813
- var MultiSelectComponent_1;
814
-
815
- /**
816
- * NgModule definition for the MultiSelect component.
817
- */
818
- class MultiSelectModule {
819
- }
820
- MultiSelectModule.decorators = [
821
- { type: NgModule, args: [{
822
- imports: [CommonModule],
823
- declarations: [
824
- MultiSelectComponent
825
- ],
826
- exports: [
827
- MultiSelectComponent
828
- ]
829
- },] },
830
- ];
831
- /**
832
- * @nocollapse
833
- */
834
- MultiSelectModule.ctorParameters = () => [];
835
-
836
- const CheckBoxSelectionService = { provide: 'DropDownsCheckBoxSelection', useValue: CheckBoxSelection };
837
- /**
838
- * NgModule definition for the MultiSelect component with providers.
839
- */
840
- class MultiSelectAllModule {
841
- }
842
- MultiSelectAllModule.decorators = [
843
- { type: NgModule, args: [{
844
- imports: [CommonModule, MultiSelectModule],
845
- exports: [
846
- MultiSelectModule
847
- ],
848
- providers: [
849
- CheckBoxSelectionService
850
- ]
851
- },] },
852
- ];
853
- /**
854
- * @nocollapse
855
- */
856
- MultiSelectAllModule.ctorParameters = () => [];
857
-
858
- var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
859
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
860
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
861
- 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;
862
- return c > 3 && r && Object.defineProperty(target, key, r), r;
863
- };
864
- var __metadata$4 = (this && this.__metadata) || function (k, v) {
865
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
866
- };
867
- 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'];
868
- const outputs$4 = ['focus', 'blur', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeDrop', 'beforeItemRender', 'change', 'created', 'dataBound', 'destroyed', 'drag', 'dragStart', 'drop', 'filtering', 'select', 'valueChange'];
869
- const twoWays$4 = ['value'];
870
- /**
871
- * The ListBox allows the user to select values from the predefined list of values.
872
- * ```html
873
- * <ejs-listbox [dataSource]='data'></ejs-listbox>
874
- * ```
875
- */
876
- let ListBoxComponent = ListBoxComponent_1 = class ListBoxComponent extends ListBox {
877
- /**
878
- * @param {?} ngEle
879
- * @param {?} srenderer
880
- * @param {?} viewContainerRef
881
- * @param {?} injector
882
- * @param {?} cdr
883
- */
884
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
885
- super();
886
- this.ngEle = ngEle;
887
- this.srenderer = srenderer;
888
- this.viewContainerRef = viewContainerRef;
889
- this.injector = injector;
890
- this.cdr = cdr;
891
- this.element = this.ngEle.nativeElement;
892
- this.injectedModules = this.injectedModules || [];
893
- try {
894
- let mod = this.injector.get('DropDownsCheckBoxSelection');
895
- if (this.injectedModules.indexOf(mod) === -1) {
896
- this.injectedModules.push(mod);
897
- }
898
- }
899
- catch (_a) { }
900
- this.registerEvents(outputs$4);
901
- this.addTwoWay.call(this, twoWays$4);
902
- setValue('currentInstance', this, this.viewContainerRef);
903
- this.formContext = new FormBase();
904
- this.formCompContext = new ComponentBase();
905
- }
906
- /**
907
- * @param {?} registerFunction
908
- * @return {?}
909
- */
910
- registerOnChange(registerFunction) {
911
- }
912
- /**
913
- * @param {?} registerFunction
914
- * @return {?}
915
- */
916
- registerOnTouched(registerFunction) {
917
- }
918
- /**
919
- * @param {?} value
920
- * @return {?}
921
- */
922
- writeValue(value) {
923
- }
924
- /**
925
- * @param {?} disabled
926
- * @return {?}
927
- */
928
- setDisabledState(disabled) {
929
- }
930
- /**
931
- * @return {?}
932
- */
933
- ngOnInit() {
934
- this.formCompContext.ngOnInit(this);
935
- }
936
- /**
937
- * @return {?}
938
- */
939
- ngAfterViewInit() {
940
- this.formContext.ngAfterViewInit(this);
941
- }
942
- /**
943
- * @return {?}
944
- */
945
- ngOnDestroy() {
946
- this.formCompContext.ngOnDestroy(this);
947
- }
948
- /**
949
- * @return {?}
950
- */
951
- ngAfterContentChecked() {
952
- this.formCompContext.ngAfterContentChecked(this);
953
- }
954
- };
955
- ListBoxComponent.decorators = [
956
- { type: Component, args: [{
957
- selector: 'ejs-listbox',
958
- inputs: inputs$4,
959
- outputs: outputs$4,
960
- template: '',
961
- changeDetection: ChangeDetectionStrategy.OnPush,
962
- providers: [
963
- {
964
- provide: NG_VALUE_ACCESSOR,
965
- useExisting: forwardRef(() => ListBoxComponent_1),
966
- multi: true
967
- }
968
- ],
969
- queries: {}
970
- },] },
971
- ];
972
- /**
973
- * @nocollapse
974
- */
975
- ListBoxComponent.ctorParameters = () => [
976
- { type: ElementRef, },
977
- { type: Renderer2, },
978
- { type: ViewContainerRef, },
979
- { type: Injector, },
980
- { type: ChangeDetectorRef, },
981
- ];
982
- ListBoxComponent.propDecorators = {
983
- 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
984
- 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
985
- };
986
- __decorate$4([
987
- Template(),
988
- __metadata$4("design:type", Object)
989
- ], ListBoxComponent.prototype, "itemTemplate", void 0);
990
- __decorate$4([
991
- Template('No records found'),
992
- __metadata$4("design:type", Object)
993
- ], ListBoxComponent.prototype, "noRecordsTemplate", void 0);
994
- ListBoxComponent = ListBoxComponent_1 = __decorate$4([
995
- ComponentMixins([ComponentBase, FormBase]),
996
- __metadata$4("design:paramtypes", [ElementRef,
997
- Renderer2,
998
- ViewContainerRef,
999
- Injector,
1000
- ChangeDetectorRef])
1001
- ], ListBoxComponent);
1002
- var ListBoxComponent_1;
1003
-
1004
- /**
1005
- * NgModule definition for the ListBox component.
1006
- */
1007
- class ListBoxModule {
1008
- }
1009
- ListBoxModule.decorators = [
1010
- { type: NgModule, args: [{
1011
- imports: [CommonModule],
1012
- declarations: [
1013
- ListBoxComponent
1014
- ],
1015
- exports: [
1016
- ListBoxComponent
1017
- ]
1018
- },] },
1019
- ];
1020
- /**
1021
- * @nocollapse
1022
- */
1023
- ListBoxModule.ctorParameters = () => [];
1024
-
1025
- /**
1026
- * NgModule definition for the ListBox component with providers.
1027
- */
1028
- class ListBoxAllModule {
1029
- }
1030
- ListBoxAllModule.decorators = [
1031
- { type: NgModule, args: [{
1032
- imports: [CommonModule, ListBoxModule],
1033
- exports: [
1034
- ListBoxModule
1035
- ],
1036
- providers: []
1037
- },] },
1038
- ];
1039
- /**
1040
- * @nocollapse
1041
- */
1042
- ListBoxAllModule.ctorParameters = () => [];
1043
-
1044
- var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
1045
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1046
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1047
- 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;
1048
- return c > 3 && r && Object.defineProperty(target, key, r), r;
1049
- };
1050
- var __metadata$5 = (this && this.__metadata) || function (k, v) {
1051
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1052
- };
1053
- const inputs$5 = ['actionFailureTemplate', 'allowFiltering', 'allowMultiSelection', 'changeOnBlur', 'cssClass', 'customTemplate', 'delimiterChar', 'destroyPopupOnHide', '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', 'valueTemplate', 'width', 'wrapText', 'zIndex'];
1054
- const outputs$5 = ['actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'keyPress', 'open', 'select', 'valueChange'];
1055
- const twoWays$5 = ['value'];
1056
- /**
1057
- * The DropDownTree component contains a list of predefined values from which you can choose a single or multiple values.
1058
- * ```html
1059
- * <ejs-dropdowntree></ejs-dropdowntree>
1060
- * ```
1061
- */
1062
- let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponent extends DropDownTree {
1063
- /**
1064
- * @param {?} ngEle
1065
- * @param {?} srenderer
1066
- * @param {?} viewContainerRef
1067
- * @param {?} injector
1068
- * @param {?} cdr
1069
- */
1070
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
1071
- super();
1072
- this.ngEle = ngEle;
1073
- this.srenderer = srenderer;
1074
- this.viewContainerRef = viewContainerRef;
1075
- this.injector = injector;
1076
- this.cdr = cdr;
1077
- this.skipFromEvent = true;
1078
- this.element = this.ngEle.nativeElement;
1079
- this.injectedModules = this.injectedModules || [];
1080
- this.registerEvents(outputs$5);
1081
- this.addTwoWay.call(this, twoWays$5);
1082
- setValue('currentInstance', this, this.viewContainerRef);
1083
- this.formContext = new FormBase();
1084
- this.formCompContext = new ComponentBase();
1085
- }
1086
- /**
1087
- * @param {?} registerFunction
1088
- * @return {?}
1089
- */
1090
- registerOnChange(registerFunction) {
1091
- }
1092
- /**
1093
- * @param {?} registerFunction
1094
- * @return {?}
1095
- */
1096
- registerOnTouched(registerFunction) {
1097
- }
1098
- /**
1099
- * @param {?} value
1100
- * @return {?}
1101
- */
1102
- writeValue(value) {
1103
- }
1104
- /**
1105
- * @param {?} disabled
1106
- * @return {?}
1107
- */
1108
- setDisabledState(disabled) {
1109
- }
1110
- /**
1111
- * @return {?}
1112
- */
1113
- ngOnInit() {
1114
- this.formCompContext.ngOnInit(this);
1115
- }
1116
- /**
1117
- * @return {?}
1118
- */
1119
- ngAfterViewInit() {
1120
- this.formContext.ngAfterViewInit(this);
1121
- }
1122
- /**
1123
- * @return {?}
1124
- */
1125
- ngOnDestroy() {
1126
- this.formCompContext.ngOnDestroy(this);
1127
- }
1128
- /**
1129
- * @return {?}
1130
- */
1131
- ngAfterContentChecked() {
1132
- this.formCompContext.ngAfterContentChecked(this);
1133
- }
1134
- };
1135
- DropDownTreeComponent.decorators = [
1136
- { type: Component, args: [{
1137
- selector: 'ejs-dropdowntree',
1138
- inputs: inputs$5,
1139
- outputs: outputs$5,
1140
- template: '',
1141
- changeDetection: ChangeDetectionStrategy.OnPush,
1142
- providers: [
1143
- {
1144
- provide: NG_VALUE_ACCESSOR,
1145
- useExisting: forwardRef(() => DropDownTreeComponent_1),
1146
- multi: true
1147
- }
1148
- ],
1149
- queries: {}
1150
- },] },
1151
- ];
1152
- /**
1153
- * @nocollapse
1154
- */
1155
- DropDownTreeComponent.ctorParameters = () => [
1156
- { type: ElementRef, },
1157
- { type: Renderer2, },
1158
- { type: ViewContainerRef, },
1159
- { type: Injector, },
1160
- { type: ChangeDetectorRef, },
1161
- ];
1162
- DropDownTreeComponent.propDecorators = {
1163
- 'footerTemplate': [{ type: ContentChild, args: ['footerTemplate',] },],
1164
- 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
1165
- 'valueTemplate': [{ type: ContentChild, args: ['valueTemplate',] },],
1166
- 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
1167
- 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
1168
- 'actionFailureTemplate': [{ type: ContentChild, args: ['actionFailureTemplate',] },],
1169
- };
1170
- __decorate$5([
1171
- Template(),
1172
- __metadata$5("design:type", Object)
1173
- ], DropDownTreeComponent.prototype, "footerTemplate", void 0);
1174
- __decorate$5([
1175
- Template(),
1176
- __metadata$5("design:type", Object)
1177
- ], DropDownTreeComponent.prototype, "headerTemplate", void 0);
1178
- __decorate$5([
1179
- Template(),
1180
- __metadata$5("design:type", Object)
1181
- ], DropDownTreeComponent.prototype, "valueTemplate", void 0);
1182
- __decorate$5([
1183
- Template(),
1184
- __metadata$5("design:type", Object)
1185
- ], DropDownTreeComponent.prototype, "itemTemplate", void 0);
1186
- __decorate$5([
1187
- Template('No Records Found'),
1188
- __metadata$5("design:type", Object)
1189
- ], DropDownTreeComponent.prototype, "noRecordsTemplate", void 0);
1190
- __decorate$5([
1191
- Template('The Request Failed'),
1192
- __metadata$5("design:type", Object)
1193
- ], DropDownTreeComponent.prototype, "actionFailureTemplate", void 0);
1194
- DropDownTreeComponent = DropDownTreeComponent_1 = __decorate$5([
1195
- ComponentMixins([ComponentBase, FormBase]),
1196
- __metadata$5("design:paramtypes", [ElementRef,
1197
- Renderer2,
1198
- ViewContainerRef,
1199
- Injector,
1200
- ChangeDetectorRef])
1201
- ], DropDownTreeComponent);
1202
- var DropDownTreeComponent_1;
1203
-
1204
- /**
1205
- * NgModule definition for the DropDownTree component.
1206
- */
1207
- class DropDownTreeModule {
1208
- }
1209
- DropDownTreeModule.decorators = [
1210
- { type: NgModule, args: [{
1211
- imports: [CommonModule],
1212
- declarations: [
1213
- DropDownTreeComponent
1214
- ],
1215
- exports: [
1216
- DropDownTreeComponent
1217
- ]
1218
- },] },
1219
- ];
1220
- /**
1221
- * @nocollapse
1222
- */
1223
- DropDownTreeModule.ctorParameters = () => [];
1224
-
1225
- /**
1226
- * NgModule definition for the DropDownTree component with providers.
1227
- */
1228
- class DropDownTreeAllModule {
1229
- }
1230
- DropDownTreeAllModule.decorators = [
1231
- { type: NgModule, args: [{
1232
- imports: [CommonModule, DropDownTreeModule],
1233
- exports: [
1234
- DropDownTreeModule
1235
- ],
1236
- providers: []
1237
- },] },
1238
- ];
1239
- /**
1240
- * @nocollapse
1241
- */
1242
- DropDownTreeAllModule.ctorParameters = () => [];
1243
-
1244
- var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
1245
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1246
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1247
- 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;
1248
- return c > 3 && r && Object.defineProperty(target, key, r), r;
1249
- };
1250
- var __metadata$6 = (this && this.__metadata) || function (k, v) {
1251
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1252
- };
1253
- 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'];
1254
- const outputs$6 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'change', 'closed', 'created', 'destroyed', 'filtering', 'opened', 'select'];
1255
- const twoWays$6 = [''];
1256
- /**
1257
- * The Mention component contains a list of predefined values, from which the user can choose a single value.
1258
- * ```html
1259
- * <ejs-mention></ejs-mention>
1260
- * ```
1261
- */
1262
- let MentionComponent = class MentionComponent extends Mention {
1263
- /**
1264
- * @param {?} ngEle
1265
- * @param {?} srenderer
1266
- * @param {?} viewContainerRef
1267
- * @param {?} injector
1268
- */
1269
- constructor(ngEle, srenderer, viewContainerRef, injector) {
1270
- super();
1271
- this.ngEle = ngEle;
1272
- this.srenderer = srenderer;
1273
- this.viewContainerRef = viewContainerRef;
1274
- this.injector = injector;
1275
- this.element = this.ngEle.nativeElement;
1276
- this.injectedModules = this.injectedModules || [];
1277
- this.registerEvents(outputs$6);
1278
- this.addTwoWay.call(this, twoWays$6);
1279
- setValue('currentInstance', this, this.viewContainerRef);
1280
- this.containerContext = new ComponentBase();
1281
- }
1282
- /**
1283
- * @return {?}
1284
- */
1285
- ngOnInit() {
1286
- this.containerContext.ngOnInit(this);
1287
- }
1288
- /**
1289
- * @return {?}
1290
- */
1291
- ngAfterViewInit() {
1292
- this.containerContext.ngAfterViewInit(this);
1293
- }
1294
- /**
1295
- * @return {?}
1296
- */
1297
- ngOnDestroy() {
1298
- this.containerContext.ngOnDestroy(this);
1299
- }
1300
- /**
1301
- * @return {?}
1302
- */
1303
- ngAfterContentChecked() {
1304
- this.containerContext.ngAfterContentChecked(this);
1305
- }
1306
- };
1307
- MentionComponent.decorators = [
1308
- { type: Component, args: [{
1309
- selector: 'ejs-mention',
1310
- inputs: inputs$6,
1311
- outputs: outputs$6,
1312
- template: `<ng-content ></ng-content>`,
1313
- changeDetection: ChangeDetectionStrategy.OnPush,
1314
- queries: {}
1315
- },] },
1316
- ];
1317
- /**
1318
- * @nocollapse
1319
- */
1320
- MentionComponent.ctorParameters = () => [
1321
- { type: ElementRef, },
1322
- { type: Renderer2, },
1323
- { type: ViewContainerRef, },
1324
- { type: Injector, },
1325
- ];
1326
- MentionComponent.propDecorators = {
1327
- 'displayTemplate': [{ type: ContentChild, args: ['displayTemplate',] },],
1328
- 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
1329
- 'spinnerTemplate': [{ type: ContentChild, args: ['spinnerTemplate',] },],
1330
- 'noRecordsTemplate': [{ type: ContentChild, args: ['noRecordsTemplate',] },],
1331
- };
1332
- __decorate$6([
1333
- Template(),
1334
- __metadata$6("design:type", Object)
1335
- ], MentionComponent.prototype, "displayTemplate", void 0);
1336
- __decorate$6([
1337
- Template(),
1338
- __metadata$6("design:type", Object)
1339
- ], MentionComponent.prototype, "itemTemplate", void 0);
1340
- __decorate$6([
1341
- Template(),
1342
- __metadata$6("design:type", Object)
1343
- ], MentionComponent.prototype, "spinnerTemplate", void 0);
1344
- __decorate$6([
1345
- Template('No records found'),
1346
- __metadata$6("design:type", Object)
1347
- ], MentionComponent.prototype, "noRecordsTemplate", void 0);
1348
- MentionComponent = __decorate$6([
1349
- ComponentMixins([ComponentBase]),
1350
- __metadata$6("design:paramtypes", [ElementRef,
1351
- Renderer2,
1352
- ViewContainerRef,
1353
- Injector])
1354
- ], MentionComponent);
1355
-
1356
- /**
1357
- * NgModule definition for the Mention component.
1358
- */
1359
- class MentionModule {
1360
- }
1361
- MentionModule.decorators = [
1362
- { type: NgModule, args: [{
1363
- imports: [CommonModule],
1364
- declarations: [
1365
- MentionComponent
1366
- ],
1367
- exports: [
1368
- MentionComponent
1369
- ]
1370
- },] },
1371
- ];
1372
- /**
1373
- * @nocollapse
1374
- */
1375
- MentionModule.ctorParameters = () => [];
1376
-
1377
- /**
1378
- * NgModule definition for the Mention component with providers.
1379
- */
1380
- class MentionAllModule {
1381
- }
1382
- MentionAllModule.decorators = [
1383
- { type: NgModule, args: [{
1384
- imports: [CommonModule, MentionModule],
1385
- exports: [
1386
- MentionModule
1387
- ],
1388
- providers: []
1389
- },] },
1390
- ];
1391
- /**
1392
- * @nocollapse
1393
- */
1394
- MentionAllModule.ctorParameters = () => [];
1395
-
1396
- /**
1397
- * Generated bundle index. Do not edit.
1398
- */
1399
-
1400
- 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 };
1401
- 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';
1402
- //# sourceMappingURL=ej2-angular-dropdowns.js.map