@syncfusion/ej2-angular-dropdowns 26.2.13 → 27.1.48-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 (131) hide show
  1. package/@syncfusion/ej2-angular-dropdowns.es5.js +1487 -0
  2. package/@syncfusion/ej2-angular-dropdowns.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-dropdowns.js +1402 -0
  4. package/@syncfusion/ej2-angular-dropdowns.js.map +1 -0
  5. package/dist/ej2-angular-dropdowns.umd.js +1557 -0
  6. package/dist/ej2-angular-dropdowns.umd.js.map +1 -0
  7. package/dist/ej2-angular-dropdowns.umd.min.js +11 -0
  8. package/dist/ej2-angular-dropdowns.umd.min.js.map +1 -0
  9. package/ej2-angular-dropdowns.d.ts +11 -0
  10. package/ej2-angular-dropdowns.metadata.json +1 -0
  11. package/license +10 -0
  12. package/package.json +15 -29
  13. package/schematics/collection.json +10 -9
  14. package/schematics/ng-add/index.d.ts +3 -0
  15. package/schematics/ng-add/index.js +9 -0
  16. package/schematics/ng-add/index.ts +10 -10
  17. package/schematics/ng-add/schema.d.ts +13 -0
  18. package/schematics/ng-add/schema.js +2 -0
  19. package/schematics/ng-add/schema.json +34 -34
  20. package/schematics/ng-add/schema.ts +30 -30
  21. package/schematics/tsconfig.json +25 -25
  22. package/schematics/utils/lib-details.d.ts +4 -0
  23. package/schematics/utils/lib-details.js +6 -0
  24. package/schematics/utils/lib-details.ts +2 -2
  25. package/src/auto-complete/autocomplete-all.module.d.ts +0 -6
  26. package/src/auto-complete/autocomplete.component.d.ts +4 -7
  27. package/src/auto-complete/autocomplete.module.d.ts +0 -6
  28. package/src/combo-box/combobox-all.module.d.ts +0 -6
  29. package/src/combo-box/combobox.component.d.ts +4 -7
  30. package/src/combo-box/combobox.module.d.ts +0 -6
  31. package/src/drop-down-list/dropdownlist-all.module.d.ts +0 -6
  32. package/src/drop-down-list/dropdownlist.component.d.ts +2 -5
  33. package/src/drop-down-list/dropdownlist.module.d.ts +0 -6
  34. package/src/drop-down-tree/dropdowntree-all.module.d.ts +0 -6
  35. package/src/drop-down-tree/dropdowntree.component.d.ts +10 -3
  36. package/src/drop-down-tree/dropdowntree.module.d.ts +0 -6
  37. package/src/list-box/listbox-all.module.d.ts +0 -6
  38. package/src/list-box/listbox.component.d.ts +1 -4
  39. package/src/list-box/listbox.module.d.ts +0 -6
  40. package/src/mention/mention-all.module.d.ts +0 -6
  41. package/src/mention/mention.component.d.ts +0 -3
  42. package/src/mention/mention.module.d.ts +0 -6
  43. package/src/multi-select/multiselect-all.module.d.ts +0 -6
  44. package/src/multi-select/multiselect.component.d.ts +0 -3
  45. package/src/multi-select/multiselect.module.d.ts +0 -6
  46. package/styles/auto-complete/bootstrap5.3.css +1 -0
  47. package/styles/auto-complete/bootstrap5.3.scss +1 -0
  48. package/styles/bootstrap-dark-lite.css +1 -0
  49. package/styles/bootstrap-dark-lite.scss +1 -0
  50. package/styles/bootstrap-lite.css +1 -0
  51. package/styles/bootstrap-lite.scss +1 -0
  52. package/styles/bootstrap4-lite.css +1 -0
  53. package/styles/bootstrap4-lite.scss +1 -0
  54. package/styles/bootstrap5-dark-lite.css +1 -0
  55. package/styles/bootstrap5-dark-lite.scss +1 -0
  56. package/styles/bootstrap5-lite.css +1 -0
  57. package/styles/bootstrap5-lite.scss +1 -0
  58. package/styles/bootstrap5.3-lite.css +1 -0
  59. package/styles/bootstrap5.3-lite.scss +1 -0
  60. package/styles/bootstrap5.3.css +1 -0
  61. package/styles/bootstrap5.3.scss +8 -0
  62. package/styles/combo-box/bootstrap5.3.css +1 -0
  63. package/styles/combo-box/bootstrap5.3.scss +1 -0
  64. package/styles/drop-down-base/bootstrap5.3.css +1 -0
  65. package/styles/drop-down-base/bootstrap5.3.scss +1 -0
  66. package/styles/drop-down-list/bootstrap5.3.css +1 -0
  67. package/styles/drop-down-list/bootstrap5.3.scss +1 -0
  68. package/styles/drop-down-tree/bootstrap5.3.css +1 -0
  69. package/styles/drop-down-tree/bootstrap5.3.scss +1 -0
  70. package/styles/fabric-dark-lite.css +1 -0
  71. package/styles/fabric-dark-lite.scss +1 -0
  72. package/styles/fabric-lite.css +1 -0
  73. package/styles/fabric-lite.scss +1 -0
  74. package/styles/fluent-dark-lite.css +1 -0
  75. package/styles/fluent-dark-lite.scss +1 -0
  76. package/styles/fluent-lite.css +1 -0
  77. package/styles/fluent-lite.scss +1 -0
  78. package/styles/fluent2-lite.css +1 -0
  79. package/styles/fluent2-lite.scss +1 -0
  80. package/styles/highcontrast-light-lite.css +1 -0
  81. package/styles/highcontrast-light-lite.scss +1 -0
  82. package/styles/highcontrast-lite.css +1 -0
  83. package/styles/highcontrast-lite.scss +1 -0
  84. package/styles/list-box/bootstrap5.3.css +1 -0
  85. package/styles/list-box/bootstrap5.3.scss +1 -0
  86. package/styles/material-dark-lite.css +1 -0
  87. package/styles/material-dark-lite.scss +1 -0
  88. package/styles/material-lite.css +1 -0
  89. package/styles/material-lite.scss +1 -0
  90. package/styles/material3-dark-lite.css +1 -0
  91. package/styles/material3-dark-lite.scss +1 -0
  92. package/styles/material3-lite.css +1 -0
  93. package/styles/material3-lite.scss +1 -0
  94. package/styles/mention/bootstrap5.3.css +1 -0
  95. package/styles/mention/bootstrap5.3.scss +1 -0
  96. package/styles/multi-select/bootstrap5.3.css +1 -0
  97. package/styles/multi-select/bootstrap5.3.scss +1 -0
  98. package/styles/tailwind-dark-lite.css +1 -0
  99. package/styles/tailwind-dark-lite.scss +1 -0
  100. package/styles/tailwind-lite.css +1 -0
  101. package/styles/tailwind-lite.scss +1 -0
  102. package/CHANGELOG.md +0 -2669
  103. package/esm2020/public_api.mjs +0 -2
  104. package/esm2020/src/auto-complete/autocomplete-all.module.mjs +0 -23
  105. package/esm2020/src/auto-complete/autocomplete.component.mjs +0 -129
  106. package/esm2020/src/auto-complete/autocomplete.module.mjs +0 -25
  107. package/esm2020/src/combo-box/combobox-all.module.mjs +0 -23
  108. package/esm2020/src/combo-box/combobox.component.mjs +0 -129
  109. package/esm2020/src/combo-box/combobox.module.mjs +0 -25
  110. package/esm2020/src/drop-down-list/dropdownlist-all.module.mjs +0 -29
  111. package/esm2020/src/drop-down-list/dropdownlist.component.mjs +0 -135
  112. package/esm2020/src/drop-down-list/dropdownlist.module.mjs +0 -25
  113. package/esm2020/src/drop-down-tree/dropdowntree-all.module.mjs +0 -23
  114. package/esm2020/src/drop-down-tree/dropdowntree.component.mjs +0 -116
  115. package/esm2020/src/drop-down-tree/dropdowntree.module.mjs +0 -25
  116. package/esm2020/src/index.mjs +0 -23
  117. package/esm2020/src/list-box/listbox-all.module.mjs +0 -23
  118. package/esm2020/src/list-box/listbox.component.mjs +0 -104
  119. package/esm2020/src/list-box/listbox.module.mjs +0 -25
  120. package/esm2020/src/mention/mention-all.module.mjs +0 -23
  121. package/esm2020/src/mention/mention.component.mjs +0 -84
  122. package/esm2020/src/mention/mention.module.mjs +0 -25
  123. package/esm2020/src/multi-select/multiselect-all.module.mjs +0 -29
  124. package/esm2020/src/multi-select/multiselect.component.mjs +0 -142
  125. package/esm2020/src/multi-select/multiselect.module.mjs +0 -25
  126. package/esm2020/syncfusion-ej2-angular-dropdowns.mjs +0 -5
  127. package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs +0 -1089
  128. package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs.map +0 -1
  129. package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs +0 -1089
  130. package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs.map +0 -1
  131. package/syncfusion-ej2-angular-dropdowns.d.ts +0 -5
@@ -1,1089 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { forwardRef, Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
4
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
- import { setValue, FormBase, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
6
- import { DropDownList, VirtualScroll, ComboBox, AutoComplete, MultiSelect, CheckBoxSelection, ListBox, DropDownTree, Mention } from '@syncfusion/ej2-dropdowns';
7
- export * from '@syncfusion/ej2-dropdowns';
8
- import { CommonModule } from '@angular/common';
9
-
10
- var DropDownListComponent_1;
11
- const inputs$6 = ['actionFailureTemplate', 'allowFiltering', 'allowObjectBinding', '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'];
12
- const outputs$6 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'select', 'valueChange'];
13
- const twoWays$6 = ['value'];
14
- /**
15
- *The DropDownList component contains a list of predefined values, from which the user can choose a single value.
16
- *```html
17
- *<ejs-dropdownlist></ejs-dropdownlist>
18
- *```
19
- */
20
- let DropDownListComponent = DropDownListComponent_1 = class DropDownListComponent extends DropDownList {
21
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
22
- super();
23
- this.ngEle = ngEle;
24
- this.srenderer = srenderer;
25
- this.viewContainerRef = viewContainerRef;
26
- this.injector = injector;
27
- this.cdr = cdr;
28
- this.skipFromEvent = true;
29
- this.element = this.ngEle.nativeElement;
30
- this.injectedModules = this.injectedModules || [];
31
- try {
32
- let mod = this.injector.get('DropDownsVirtualScroll');
33
- if (this.injectedModules.indexOf(mod) === -1) {
34
- this.injectedModules.push(mod);
35
- }
36
- }
37
- catch (_a) { }
38
- this.registerEvents(outputs$6);
39
- this.addTwoWay.call(this, twoWays$6);
40
- setValue('currentInstance', this, this.viewContainerRef);
41
- this.formContext = new FormBase();
42
- this.formCompContext = new ComponentBase();
43
- }
44
- registerOnChange(registerFunction) {
45
- }
46
- registerOnTouched(registerFunction) {
47
- }
48
- writeValue(value) {
49
- }
50
- setDisabledState(disabled) {
51
- }
52
- ngOnInit() {
53
- this.formCompContext.ngOnInit(this);
54
- }
55
- ngAfterViewInit() {
56
- this.formContext.ngAfterViewInit(this);
57
- }
58
- ngOnDestroy() {
59
- this.formCompContext.ngOnDestroy(this);
60
- }
61
- ngAfterContentChecked() {
62
- this.formCompContext.ngAfterContentChecked(this);
63
- }
64
- };
65
- DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
66
- DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DropDownListComponent, selector: "ejs-dropdownlist", inputs: { actionFailureTemplate: "actionFailureTemplate", allowFiltering: "allowFiltering", allowObjectBinding: "allowObjectBinding", cssClass: "cssClass", dataSource: "dataSource", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", index: "index", itemTemplate: "itemTemplate", locale: "locale", noRecordsTemplate: "noRecordsTemplate", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", readonly: "readonly", showClearButton: "showClearButton", sortOrder: "sortOrder", text: "text", value: "value", valueTemplate: "valueTemplate", width: "width", zIndex: "zIndex" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", blur: "blur", change: "change", close: "close", created: "created", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", open: "open", select: "select", valueChange: "valueChange" }, providers: [
67
- {
68
- provide: NG_VALUE_ACCESSOR,
69
- useExisting: forwardRef(() => DropDownListComponent_1),
70
- multi: true
71
- }
72
- ], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ["valueTemplate"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
73
- __decorate([
74
- Template()
75
- ], DropDownListComponent.prototype, "footerTemplate", void 0);
76
- __decorate([
77
- Template()
78
- ], DropDownListComponent.prototype, "headerTemplate", void 0);
79
- __decorate([
80
- Template()
81
- ], DropDownListComponent.prototype, "valueTemplate", void 0);
82
- __decorate([
83
- Template()
84
- ], DropDownListComponent.prototype, "groupTemplate", void 0);
85
- __decorate([
86
- Template()
87
- ], DropDownListComponent.prototype, "itemTemplate", void 0);
88
- __decorate([
89
- Template('No records found')
90
- ], DropDownListComponent.prototype, "noRecordsTemplate", void 0);
91
- __decorate([
92
- Template('Request failed')
93
- ], DropDownListComponent.prototype, "actionFailureTemplate", void 0);
94
- DropDownListComponent = DropDownListComponent_1 = __decorate([
95
- ComponentMixins([ComponentBase, FormBase])
96
- ], DropDownListComponent);
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListComponent, decorators: [{
98
- type: Component,
99
- args: [{
100
- selector: 'ejs-dropdownlist',
101
- inputs: inputs$6,
102
- outputs: outputs$6,
103
- template: '',
104
- changeDetection: ChangeDetectionStrategy.OnPush,
105
- providers: [
106
- {
107
- provide: NG_VALUE_ACCESSOR,
108
- useExisting: forwardRef(() => DropDownListComponent),
109
- multi: true
110
- }
111
- ],
112
- queries: {}
113
- }]
114
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
115
- type: ContentChild,
116
- args: ['footerTemplate']
117
- }], headerTemplate: [{
118
- type: ContentChild,
119
- args: ['headerTemplate']
120
- }], valueTemplate: [{
121
- type: ContentChild,
122
- args: ['valueTemplate']
123
- }], groupTemplate: [{
124
- type: ContentChild,
125
- args: ['groupTemplate']
126
- }], itemTemplate: [{
127
- type: ContentChild,
128
- args: ['itemTemplate']
129
- }], noRecordsTemplate: [{
130
- type: ContentChild,
131
- args: ['noRecordsTemplate']
132
- }], actionFailureTemplate: [{
133
- type: ContentChild,
134
- args: ['actionFailureTemplate']
135
- }] } });
136
-
137
- /**
138
- * NgModule definition for the DropDownList component.
139
- */
140
- class DropDownListModule {
141
- }
142
- DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
143
- DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListModule, declarations: [DropDownListComponent], imports: [CommonModule], exports: [DropDownListComponent] });
144
- DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListModule, imports: [[CommonModule]] });
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListModule, decorators: [{
146
- type: NgModule,
147
- args: [{
148
- imports: [CommonModule],
149
- declarations: [
150
- DropDownListComponent
151
- ],
152
- exports: [
153
- DropDownListComponent
154
- ]
155
- }]
156
- }] });
157
-
158
- const VirtualScrollService = { provide: 'DropDownsVirtualScroll', useValue: VirtualScroll };
159
- /**
160
- * NgModule definition for the DropDownList component with providers.
161
- */
162
- class DropDownListAllModule {
163
- }
164
- DropDownListAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
165
- DropDownListAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListAllModule, imports: [CommonModule, DropDownListModule], exports: [DropDownListModule] });
166
- DropDownListAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListAllModule, providers: [
167
- VirtualScrollService
168
- ], imports: [[CommonModule, DropDownListModule], DropDownListModule] });
169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListAllModule, decorators: [{
170
- type: NgModule,
171
- args: [{
172
- imports: [CommonModule, DropDownListModule],
173
- exports: [
174
- DropDownListModule
175
- ],
176
- providers: [
177
- VirtualScrollService
178
- ]
179
- }]
180
- }] });
181
-
182
- var ComboBoxComponent_1;
183
- const inputs$5 = ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'allowObjectBinding', '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'];
184
- const outputs$5 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'select', 'valueChange'];
185
- const twoWays$5 = ['value'];
186
- /**
187
- *The ComboBox component allows the user to type a value or choose an option from the list of predefined options.
188
- *```html
189
- *<ejs-combobox></ejs-combobox>
190
- *```
191
- */
192
- let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent extends ComboBox {
193
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
194
- super();
195
- this.ngEle = ngEle;
196
- this.srenderer = srenderer;
197
- this.viewContainerRef = viewContainerRef;
198
- this.injector = injector;
199
- this.cdr = cdr;
200
- this.skipFromEvent = true;
201
- this.element = this.ngEle.nativeElement;
202
- this.injectedModules = this.injectedModules || [];
203
- try {
204
- let mod = this.injector.get('DropDownsVirtualScroll');
205
- if (this.injectedModules.indexOf(mod) === -1) {
206
- this.injectedModules.push(mod);
207
- }
208
- }
209
- catch (_a) { }
210
- this.registerEvents(outputs$5);
211
- this.addTwoWay.call(this, twoWays$5);
212
- setValue('currentInstance', this, this.viewContainerRef);
213
- this.formContext = new FormBase();
214
- this.formCompContext = new ComponentBase();
215
- }
216
- registerOnChange(registerFunction) {
217
- }
218
- registerOnTouched(registerFunction) {
219
- }
220
- writeValue(value) {
221
- }
222
- setDisabledState(disabled) {
223
- }
224
- ngOnInit() {
225
- this.formCompContext.ngOnInit(this);
226
- }
227
- ngAfterViewInit() {
228
- this.formContext.ngAfterViewInit(this);
229
- }
230
- ngOnDestroy() {
231
- this.formCompContext.ngOnDestroy(this);
232
- }
233
- ngAfterContentChecked() {
234
- this.formCompContext.ngAfterContentChecked(this);
235
- }
236
- };
237
- ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
238
- ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ComboBoxComponent, selector: "ejs-combobox", inputs: { actionFailureTemplate: "actionFailureTemplate", allowCustom: "allowCustom", allowFiltering: "allowFiltering", allowObjectBinding: "allowObjectBinding", autofill: "autofill", cssClass: "cssClass", dataSource: "dataSource", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", index: "index", itemTemplate: "itemTemplate", locale: "locale", noRecordsTemplate: "noRecordsTemplate", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", readonly: "readonly", showClearButton: "showClearButton", sortOrder: "sortOrder", text: "text", value: "value", valueTemplate: "valueTemplate", width: "width", zIndex: "zIndex" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", blur: "blur", change: "change", close: "close", created: "created", customValueSpecifier: "customValueSpecifier", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", open: "open", select: "select", valueChange: "valueChange" }, providers: [
239
- {
240
- provide: NG_VALUE_ACCESSOR,
241
- useExisting: forwardRef(() => ComboBoxComponent_1),
242
- multi: true
243
- }
244
- ], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
245
- __decorate([
246
- Template()
247
- ], ComboBoxComponent.prototype, "footerTemplate", void 0);
248
- __decorate([
249
- Template()
250
- ], ComboBoxComponent.prototype, "headerTemplate", void 0);
251
- __decorate([
252
- Template()
253
- ], ComboBoxComponent.prototype, "groupTemplate", void 0);
254
- __decorate([
255
- Template()
256
- ], ComboBoxComponent.prototype, "itemTemplate", void 0);
257
- __decorate([
258
- Template('No records found')
259
- ], ComboBoxComponent.prototype, "noRecordsTemplate", void 0);
260
- __decorate([
261
- Template('Request failed')
262
- ], ComboBoxComponent.prototype, "actionFailureTemplate", void 0);
263
- ComboBoxComponent = ComboBoxComponent_1 = __decorate([
264
- ComponentMixins([ComponentBase, FormBase])
265
- ], ComboBoxComponent);
266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxComponent, decorators: [{
267
- type: Component,
268
- args: [{
269
- selector: 'ejs-combobox',
270
- inputs: inputs$5,
271
- outputs: outputs$5,
272
- template: '',
273
- changeDetection: ChangeDetectionStrategy.OnPush,
274
- providers: [
275
- {
276
- provide: NG_VALUE_ACCESSOR,
277
- useExisting: forwardRef(() => ComboBoxComponent),
278
- multi: true
279
- }
280
- ],
281
- queries: {}
282
- }]
283
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
284
- type: ContentChild,
285
- args: ['footerTemplate']
286
- }], headerTemplate: [{
287
- type: ContentChild,
288
- args: ['headerTemplate']
289
- }], groupTemplate: [{
290
- type: ContentChild,
291
- args: ['groupTemplate']
292
- }], itemTemplate: [{
293
- type: ContentChild,
294
- args: ['itemTemplate']
295
- }], noRecordsTemplate: [{
296
- type: ContentChild,
297
- args: ['noRecordsTemplate']
298
- }], actionFailureTemplate: [{
299
- type: ContentChild,
300
- args: ['actionFailureTemplate']
301
- }] } });
302
-
303
- /**
304
- * NgModule definition for the ComboBox component.
305
- */
306
- class ComboBoxModule {
307
- }
308
- ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
309
- ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxModule, declarations: [ComboBoxComponent], imports: [CommonModule], exports: [ComboBoxComponent] });
310
- ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxModule, imports: [[CommonModule]] });
311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxModule, decorators: [{
312
- type: NgModule,
313
- args: [{
314
- imports: [CommonModule],
315
- declarations: [
316
- ComboBoxComponent
317
- ],
318
- exports: [
319
- ComboBoxComponent
320
- ]
321
- }]
322
- }] });
323
-
324
- /**
325
- * NgModule definition for the ComboBox component with providers.
326
- */
327
- class ComboBoxAllModule {
328
- }
329
- ComboBoxAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
330
- ComboBoxAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxAllModule, imports: [CommonModule, ComboBoxModule], exports: [ComboBoxModule] });
331
- ComboBoxAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxAllModule, providers: [], imports: [[CommonModule, ComboBoxModule], ComboBoxModule] });
332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxAllModule, decorators: [{
333
- type: NgModule,
334
- args: [{
335
- imports: [CommonModule, ComboBoxModule],
336
- exports: [
337
- ComboBoxModule
338
- ],
339
- providers: []
340
- }]
341
- }] });
342
-
343
- var AutoCompleteComponent_1;
344
- const inputs$4 = ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'allowObjectBinding', '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'];
345
- const outputs$4 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'select', 'valueChange'];
346
- const twoWays$4 = ['value'];
347
- /**
348
- *The AutoComplete component provides the matched suggestion list when type into the input, from which the user can select one.
349
- *```html
350
- *<ejs-autocomplete></ejs-autocomplete>
351
- *```
352
- */
353
- let AutoCompleteComponent = AutoCompleteComponent_1 = class AutoCompleteComponent extends AutoComplete {
354
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
355
- super();
356
- this.ngEle = ngEle;
357
- this.srenderer = srenderer;
358
- this.viewContainerRef = viewContainerRef;
359
- this.injector = injector;
360
- this.cdr = cdr;
361
- this.skipFromEvent = true;
362
- this.element = this.ngEle.nativeElement;
363
- this.injectedModules = this.injectedModules || [];
364
- try {
365
- let mod = this.injector.get('DropDownsVirtualScroll');
366
- if (this.injectedModules.indexOf(mod) === -1) {
367
- this.injectedModules.push(mod);
368
- }
369
- }
370
- catch (_a) { }
371
- this.registerEvents(outputs$4);
372
- this.addTwoWay.call(this, twoWays$4);
373
- setValue('currentInstance', this, this.viewContainerRef);
374
- this.formContext = new FormBase();
375
- this.formCompContext = new ComponentBase();
376
- }
377
- registerOnChange(registerFunction) {
378
- }
379
- registerOnTouched(registerFunction) {
380
- }
381
- writeValue(value) {
382
- }
383
- setDisabledState(disabled) {
384
- }
385
- ngOnInit() {
386
- this.formCompContext.ngOnInit(this);
387
- }
388
- ngAfterViewInit() {
389
- this.formContext.ngAfterViewInit(this);
390
- }
391
- ngOnDestroy() {
392
- this.formCompContext.ngOnDestroy(this);
393
- }
394
- ngAfterContentChecked() {
395
- this.formCompContext.ngAfterContentChecked(this);
396
- }
397
- };
398
- AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
399
- AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: AutoCompleteComponent, selector: "ejs-autocomplete", inputs: { actionFailureTemplate: "actionFailureTemplate", allowCustom: "allowCustom", allowFiltering: "allowFiltering", allowObjectBinding: "allowObjectBinding", autofill: "autofill", cssClass: "cssClass", dataSource: "dataSource", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", highlight: "highlight", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", index: "index", itemTemplate: "itemTemplate", locale: "locale", minLength: "minLength", noRecordsTemplate: "noRecordsTemplate", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", readonly: "readonly", showClearButton: "showClearButton", showPopupButton: "showPopupButton", sortOrder: "sortOrder", suggestionCount: "suggestionCount", text: "text", value: "value", valueTemplate: "valueTemplate", width: "width", zIndex: "zIndex" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", blur: "blur", change: "change", close: "close", created: "created", customValueSpecifier: "customValueSpecifier", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", open: "open", select: "select", valueChange: "valueChange" }, providers: [
400
- {
401
- provide: NG_VALUE_ACCESSOR,
402
- useExisting: forwardRef(() => AutoCompleteComponent_1),
403
- multi: true
404
- }
405
- ], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
406
- __decorate([
407
- Template()
408
- ], AutoCompleteComponent.prototype, "footerTemplate", void 0);
409
- __decorate([
410
- Template()
411
- ], AutoCompleteComponent.prototype, "headerTemplate", void 0);
412
- __decorate([
413
- Template()
414
- ], AutoCompleteComponent.prototype, "groupTemplate", void 0);
415
- __decorate([
416
- Template()
417
- ], AutoCompleteComponent.prototype, "itemTemplate", void 0);
418
- __decorate([
419
- Template('No records found')
420
- ], AutoCompleteComponent.prototype, "noRecordsTemplate", void 0);
421
- __decorate([
422
- Template('Request failed')
423
- ], AutoCompleteComponent.prototype, "actionFailureTemplate", void 0);
424
- AutoCompleteComponent = AutoCompleteComponent_1 = __decorate([
425
- ComponentMixins([ComponentBase, FormBase])
426
- ], AutoCompleteComponent);
427
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteComponent, decorators: [{
428
- type: Component,
429
- args: [{
430
- selector: 'ejs-autocomplete',
431
- inputs: inputs$4,
432
- outputs: outputs$4,
433
- template: '',
434
- changeDetection: ChangeDetectionStrategy.OnPush,
435
- providers: [
436
- {
437
- provide: NG_VALUE_ACCESSOR,
438
- useExisting: forwardRef(() => AutoCompleteComponent),
439
- multi: true
440
- }
441
- ],
442
- queries: {}
443
- }]
444
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
445
- type: ContentChild,
446
- args: ['footerTemplate']
447
- }], headerTemplate: [{
448
- type: ContentChild,
449
- args: ['headerTemplate']
450
- }], groupTemplate: [{
451
- type: ContentChild,
452
- args: ['groupTemplate']
453
- }], itemTemplate: [{
454
- type: ContentChild,
455
- args: ['itemTemplate']
456
- }], noRecordsTemplate: [{
457
- type: ContentChild,
458
- args: ['noRecordsTemplate']
459
- }], actionFailureTemplate: [{
460
- type: ContentChild,
461
- args: ['actionFailureTemplate']
462
- }] } });
463
-
464
- /**
465
- * NgModule definition for the AutoComplete component.
466
- */
467
- class AutoCompleteModule {
468
- }
469
- AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
470
- AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteModule, declarations: [AutoCompleteComponent], imports: [CommonModule], exports: [AutoCompleteComponent] });
471
- AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteModule, imports: [[CommonModule]] });
472
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteModule, decorators: [{
473
- type: NgModule,
474
- args: [{
475
- imports: [CommonModule],
476
- declarations: [
477
- AutoCompleteComponent
478
- ],
479
- exports: [
480
- AutoCompleteComponent
481
- ]
482
- }]
483
- }] });
484
-
485
- /**
486
- * NgModule definition for the AutoComplete component with providers.
487
- */
488
- class AutoCompleteAllModule {
489
- }
490
- AutoCompleteAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
491
- AutoCompleteAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteAllModule, imports: [CommonModule, AutoCompleteModule], exports: [AutoCompleteModule] });
492
- AutoCompleteAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteAllModule, providers: [], imports: [[CommonModule, AutoCompleteModule], AutoCompleteModule] });
493
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteAllModule, decorators: [{
494
- type: NgModule,
495
- args: [{
496
- imports: [CommonModule, AutoCompleteModule],
497
- exports: [
498
- AutoCompleteModule
499
- ],
500
- providers: []
501
- }]
502
- }] });
503
-
504
- var MultiSelectComponent_1;
505
- const inputs$3 = ['actionFailureTemplate', 'addTagOnBlur', 'allowCustomValue', 'allowFiltering', 'allowObjectBinding', 'changeOnBlur', 'closePopupOnSelect', 'cssClass', 'dataSource', 'delimiterChar', 'enableGroupCheckBox', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableSelectionOrder', 'enableVirtualization', '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'];
506
- 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'];
507
- const twoWays$3 = ['value'];
508
- /**
509
- * The MultiSelect allows the user to pick a values from the predefined list of values.
510
- *```html
511
- *<ejs-multiselect></ejs-multiselect>
512
- *```
513
- */
514
- let MultiSelectComponent = MultiSelectComponent_1 = class MultiSelectComponent extends MultiSelect {
515
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
516
- super();
517
- this.ngEle = ngEle;
518
- this.srenderer = srenderer;
519
- this.viewContainerRef = viewContainerRef;
520
- this.injector = injector;
521
- this.cdr = cdr;
522
- this.skipFromEvent = true;
523
- this.element = this.ngEle.nativeElement;
524
- this.injectedModules = this.injectedModules || [];
525
- try {
526
- let mod = this.injector.get('DropDownsCheckBoxSelection');
527
- if (this.injectedModules.indexOf(mod) === -1) {
528
- this.injectedModules.push(mod);
529
- }
530
- }
531
- catch (_a) { }
532
- try {
533
- let mod = this.injector.get('DropDownsVirtualScroll');
534
- if (this.injectedModules.indexOf(mod) === -1) {
535
- this.injectedModules.push(mod);
536
- }
537
- }
538
- catch (_b) { }
539
- this.registerEvents(outputs$3);
540
- this.addTwoWay.call(this, twoWays$3);
541
- setValue('currentInstance', this, this.viewContainerRef);
542
- this.formContext = new FormBase();
543
- this.formCompContext = new ComponentBase();
544
- }
545
- registerOnChange(registerFunction) {
546
- }
547
- registerOnTouched(registerFunction) {
548
- }
549
- writeValue(value) {
550
- }
551
- setDisabledState(disabled) {
552
- }
553
- ngOnInit() {
554
- this.formCompContext.ngOnInit(this);
555
- }
556
- ngAfterViewInit() {
557
- this.formContext.ngAfterViewInit(this);
558
- }
559
- ngOnDestroy() {
560
- this.formCompContext.ngOnDestroy(this);
561
- }
562
- ngAfterContentChecked() {
563
- this.formCompContext.ngAfterContentChecked(this);
564
- }
565
- };
566
- MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
567
- MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: MultiSelectComponent, selector: "ejs-multiselect", inputs: { actionFailureTemplate: "actionFailureTemplate", addTagOnBlur: "addTagOnBlur", allowCustomValue: "allowCustomValue", allowFiltering: "allowFiltering", allowObjectBinding: "allowObjectBinding", changeOnBlur: "changeOnBlur", closePopupOnSelect: "closePopupOnSelect", cssClass: "cssClass", dataSource: "dataSource", delimiterChar: "delimiterChar", enableGroupCheckBox: "enableGroupCheckBox", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableSelectionOrder: "enableSelectionOrder", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", hideSelectedItem: "hideSelectedItem", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", itemTemplate: "itemTemplate", locale: "locale", maximumSelectionLength: "maximumSelectionLength", mode: "mode", noRecordsTemplate: "noRecordsTemplate", openOnClick: "openOnClick", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", readonly: "readonly", selectAllText: "selectAllText", showClearButton: "showClearButton", showDropDownIcon: "showDropDownIcon", showSelectAll: "showSelectAll", sortOrder: "sortOrder", text: "text", unSelectAllText: "unSelectAllText", value: "value", valueTemplate: "valueTemplate", width: "width", zIndex: "zIndex" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", beforeSelectAll: "beforeSelectAll", blur: "blur", change: "change", chipSelection: "chipSelection", close: "close", created: "created", customValueSelection: "customValueSelection", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", open: "open", removed: "removed", removing: "removing", select: "select", selectedAll: "selectedAll", tagging: "tagging", valueChange: "valueChange" }, providers: [
568
- {
569
- provide: NG_VALUE_ACCESSOR,
570
- useExisting: forwardRef(() => MultiSelectComponent_1),
571
- multi: true
572
- }
573
- ], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ["valueTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
574
- __decorate([
575
- Template()
576
- ], MultiSelectComponent.prototype, "footerTemplate", void 0);
577
- __decorate([
578
- Template()
579
- ], MultiSelectComponent.prototype, "headerTemplate", void 0);
580
- __decorate([
581
- Template()
582
- ], MultiSelectComponent.prototype, "valueTemplate", void 0);
583
- __decorate([
584
- Template()
585
- ], MultiSelectComponent.prototype, "itemTemplate", void 0);
586
- __decorate([
587
- Template()
588
- ], MultiSelectComponent.prototype, "groupTemplate", void 0);
589
- __decorate([
590
- Template('No records found')
591
- ], MultiSelectComponent.prototype, "noRecordsTemplate", void 0);
592
- __decorate([
593
- Template('Request failed')
594
- ], MultiSelectComponent.prototype, "actionFailureTemplate", void 0);
595
- MultiSelectComponent = MultiSelectComponent_1 = __decorate([
596
- ComponentMixins([ComponentBase, FormBase])
597
- ], MultiSelectComponent);
598
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectComponent, decorators: [{
599
- type: Component,
600
- args: [{
601
- selector: 'ejs-multiselect',
602
- inputs: inputs$3,
603
- outputs: outputs$3,
604
- template: '',
605
- changeDetection: ChangeDetectionStrategy.OnPush,
606
- providers: [
607
- {
608
- provide: NG_VALUE_ACCESSOR,
609
- useExisting: forwardRef(() => MultiSelectComponent),
610
- multi: true
611
- }
612
- ],
613
- queries: {}
614
- }]
615
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
616
- type: ContentChild,
617
- args: ['footerTemplate']
618
- }], headerTemplate: [{
619
- type: ContentChild,
620
- args: ['headerTemplate']
621
- }], valueTemplate: [{
622
- type: ContentChild,
623
- args: ['valueTemplate']
624
- }], itemTemplate: [{
625
- type: ContentChild,
626
- args: ['itemTemplate']
627
- }], groupTemplate: [{
628
- type: ContentChild,
629
- args: ['groupTemplate']
630
- }], noRecordsTemplate: [{
631
- type: ContentChild,
632
- args: ['noRecordsTemplate']
633
- }], actionFailureTemplate: [{
634
- type: ContentChild,
635
- args: ['actionFailureTemplate']
636
- }] } });
637
-
638
- /**
639
- * NgModule definition for the MultiSelect component.
640
- */
641
- class MultiSelectModule {
642
- }
643
- MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
644
- MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelectComponent], imports: [CommonModule], exports: [MultiSelectComponent] });
645
- MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectModule, imports: [[CommonModule]] });
646
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectModule, decorators: [{
647
- type: NgModule,
648
- args: [{
649
- imports: [CommonModule],
650
- declarations: [
651
- MultiSelectComponent
652
- ],
653
- exports: [
654
- MultiSelectComponent
655
- ]
656
- }]
657
- }] });
658
-
659
- const CheckBoxSelectionService = { provide: 'DropDownsCheckBoxSelection', useValue: CheckBoxSelection };
660
- /**
661
- * NgModule definition for the MultiSelect component with providers.
662
- */
663
- class MultiSelectAllModule {
664
- }
665
- MultiSelectAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
666
- MultiSelectAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectAllModule, imports: [CommonModule, MultiSelectModule], exports: [MultiSelectModule] });
667
- MultiSelectAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectAllModule, providers: [
668
- CheckBoxSelectionService
669
- ], imports: [[CommonModule, MultiSelectModule], MultiSelectModule] });
670
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectAllModule, decorators: [{
671
- type: NgModule,
672
- args: [{
673
- imports: [CommonModule, MultiSelectModule],
674
- exports: [
675
- MultiSelectModule
676
- ],
677
- providers: [
678
- CheckBoxSelectionService
679
- ]
680
- }]
681
- }] });
682
-
683
- var ListBoxComponent_1;
684
- const inputs$2 = ['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'];
685
- const outputs$2 = ['focus', 'blur', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeDrop', 'beforeItemRender', 'change', 'created', 'dataBound', 'destroyed', 'drag', 'dragStart', 'drop', 'filtering', 'select', 'valueChange'];
686
- const twoWays$2 = ['value'];
687
- /**
688
- * The ListBox allows the user to select values from the predefined list of values.
689
- *```html
690
- *<ejs-listbox [dataSource]='data'></ejs-listbox>
691
- *```
692
- */
693
- let ListBoxComponent = ListBoxComponent_1 = class ListBoxComponent extends ListBox {
694
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
695
- super();
696
- this.ngEle = ngEle;
697
- this.srenderer = srenderer;
698
- this.viewContainerRef = viewContainerRef;
699
- this.injector = injector;
700
- this.cdr = cdr;
701
- this.element = this.ngEle.nativeElement;
702
- this.injectedModules = this.injectedModules || [];
703
- try {
704
- let mod = this.injector.get('DropDownsCheckBoxSelection');
705
- if (this.injectedModules.indexOf(mod) === -1) {
706
- this.injectedModules.push(mod);
707
- }
708
- }
709
- catch (_a) { }
710
- this.registerEvents(outputs$2);
711
- this.addTwoWay.call(this, twoWays$2);
712
- setValue('currentInstance', this, this.viewContainerRef);
713
- this.formContext = new FormBase();
714
- this.formCompContext = new ComponentBase();
715
- }
716
- registerOnChange(registerFunction) {
717
- }
718
- registerOnTouched(registerFunction) {
719
- }
720
- writeValue(value) {
721
- }
722
- setDisabledState(disabled) {
723
- }
724
- ngOnInit() {
725
- this.formCompContext.ngOnInit(this);
726
- }
727
- ngAfterViewInit() {
728
- this.formContext.ngAfterViewInit(this);
729
- }
730
- ngOnDestroy() {
731
- this.formCompContext.ngOnDestroy(this);
732
- }
733
- ngAfterContentChecked() {
734
- this.formCompContext.ngAfterContentChecked(this);
735
- }
736
- };
737
- ListBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
738
- ListBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListBoxComponent, selector: "ejs-listbox", inputs: { actionFailureTemplate: "actionFailureTemplate", allowDragAndDrop: "allowDragAndDrop", allowFiltering: "allowFiltering", cssClass: "cssClass", dataSource: "dataSource", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", groupTemplate: "groupTemplate", height: "height", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", itemTemplate: "itemTemplate", locale: "locale", maximumSelectionLength: "maximumSelectionLength", noRecordsTemplate: "noRecordsTemplate", query: "query", scope: "scope", selectionSettings: "selectionSettings", sortOrder: "sortOrder", toolbarSettings: "toolbarSettings", value: "value", zIndex: "zIndex" }, outputs: { focus: "focus", blur: "blur", actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeDrop: "beforeDrop", beforeItemRender: "beforeItemRender", change: "change", created: "created", dataBound: "dataBound", destroyed: "destroyed", drag: "drag", dragStart: "dragStart", drop: "drop", filtering: "filtering", select: "select", valueChange: "valueChange" }, providers: [
739
- {
740
- provide: NG_VALUE_ACCESSOR,
741
- useExisting: forwardRef(() => ListBoxComponent_1),
742
- multi: true
743
- }
744
- ], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
745
- __decorate([
746
- Template()
747
- ], ListBoxComponent.prototype, "itemTemplate", void 0);
748
- __decorate([
749
- Template('No records found')
750
- ], ListBoxComponent.prototype, "noRecordsTemplate", void 0);
751
- ListBoxComponent = ListBoxComponent_1 = __decorate([
752
- ComponentMixins([ComponentBase, FormBase])
753
- ], ListBoxComponent);
754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxComponent, decorators: [{
755
- type: Component,
756
- args: [{
757
- selector: 'ejs-listbox',
758
- inputs: inputs$2,
759
- outputs: outputs$2,
760
- template: '',
761
- changeDetection: ChangeDetectionStrategy.OnPush,
762
- providers: [
763
- {
764
- provide: NG_VALUE_ACCESSOR,
765
- useExisting: forwardRef(() => ListBoxComponent),
766
- multi: true
767
- }
768
- ],
769
- queries: {}
770
- }]
771
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { itemTemplate: [{
772
- type: ContentChild,
773
- args: ['itemTemplate']
774
- }], noRecordsTemplate: [{
775
- type: ContentChild,
776
- args: ['noRecordsTemplate']
777
- }] } });
778
-
779
- /**
780
- * NgModule definition for the ListBox component.
781
- */
782
- class ListBoxModule {
783
- }
784
- ListBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
785
- ListBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxModule, declarations: [ListBoxComponent], imports: [CommonModule], exports: [ListBoxComponent] });
786
- ListBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxModule, imports: [[CommonModule]] });
787
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxModule, decorators: [{
788
- type: NgModule,
789
- args: [{
790
- imports: [CommonModule],
791
- declarations: [
792
- ListBoxComponent
793
- ],
794
- exports: [
795
- ListBoxComponent
796
- ]
797
- }]
798
- }] });
799
-
800
- /**
801
- * NgModule definition for the ListBox component with providers.
802
- */
803
- class ListBoxAllModule {
804
- }
805
- ListBoxAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
806
- ListBoxAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxAllModule, imports: [CommonModule, ListBoxModule], exports: [ListBoxModule] });
807
- ListBoxAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxAllModule, providers: [], imports: [[CommonModule, ListBoxModule], ListBoxModule] });
808
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxAllModule, decorators: [{
809
- type: NgModule,
810
- args: [{
811
- imports: [CommonModule, ListBoxModule],
812
- exports: [
813
- ListBoxModule
814
- ],
815
- providers: []
816
- }]
817
- }] });
818
-
819
- var DropDownTreeComponent_1;
820
- const inputs$1 = ['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', 'width', 'wrapText', 'zIndex'];
821
- const outputs$1 = ['actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'keyPress', 'open', 'select', 'valueChange'];
822
- const twoWays$1 = ['value'];
823
- /**
824
- *The DropDownTree component contains a list of predefined values from which you can choose a single or multiple values.
825
- *```html
826
- *<ejs-dropdowntree></ejs-dropdowntree>
827
- *```
828
- */
829
- let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponent extends DropDownTree {
830
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
831
- super();
832
- this.ngEle = ngEle;
833
- this.srenderer = srenderer;
834
- this.viewContainerRef = viewContainerRef;
835
- this.injector = injector;
836
- this.cdr = cdr;
837
- this.skipFromEvent = true;
838
- this.element = this.ngEle.nativeElement;
839
- this.injectedModules = this.injectedModules || [];
840
- this.registerEvents(outputs$1);
841
- this.addTwoWay.call(this, twoWays$1);
842
- setValue('currentInstance', this, this.viewContainerRef);
843
- this.formContext = new FormBase();
844
- this.formCompContext = new ComponentBase();
845
- }
846
- registerOnChange(registerFunction) {
847
- }
848
- registerOnTouched(registerFunction) {
849
- }
850
- writeValue(value) {
851
- }
852
- setDisabledState(disabled) {
853
- }
854
- ngOnInit() {
855
- this.formCompContext.ngOnInit(this);
856
- }
857
- ngAfterViewInit() {
858
- this.formContext.ngAfterViewInit(this);
859
- }
860
- ngOnDestroy() {
861
- this.formCompContext.ngOnDestroy(this);
862
- }
863
- ngAfterContentChecked() {
864
- this.formCompContext.ngAfterContentChecked(this);
865
- }
866
- };
867
- DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
868
- DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DropDownTreeComponent, selector: "ejs-dropdowntree", inputs: { actionFailureTemplate: "actionFailureTemplate", allowFiltering: "allowFiltering", allowMultiSelection: "allowMultiSelection", changeOnBlur: "changeOnBlur", cssClass: "cssClass", customTemplate: "customTemplate", delimiterChar: "delimiterChar", destroyPopupOnHide: "destroyPopupOnHide", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", headerTemplate: "headerTemplate", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", itemTemplate: "itemTemplate", locale: "locale", mode: "mode", noRecordsTemplate: "noRecordsTemplate", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", readonly: "readonly", selectAllText: "selectAllText", showCheckBox: "showCheckBox", showClearButton: "showClearButton", showDropDownIcon: "showDropDownIcon", showSelectAll: "showSelectAll", sortOrder: "sortOrder", text: "text", treeSettings: "treeSettings", unSelectAllText: "unSelectAllText", value: "value", width: "width", wrapText: "wrapText", zIndex: "zIndex" }, outputs: { actionFailure: "actionFailure", beforeOpen: "beforeOpen", blur: "blur", change: "change", close: "close", created: "created", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", keyPress: "keyPress", open: "open", select: "select", valueChange: "valueChange" }, providers: [
869
- {
870
- provide: NG_VALUE_ACCESSOR,
871
- useExisting: forwardRef(() => DropDownTreeComponent_1),
872
- multi: true
873
- }
874
- ], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
875
- __decorate([
876
- Template()
877
- ], DropDownTreeComponent.prototype, "footerTemplate", void 0);
878
- __decorate([
879
- Template()
880
- ], DropDownTreeComponent.prototype, "headerTemplate", void 0);
881
- __decorate([
882
- Template()
883
- ], DropDownTreeComponent.prototype, "itemTemplate", void 0);
884
- __decorate([
885
- Template('No Records Found')
886
- ], DropDownTreeComponent.prototype, "noRecordsTemplate", void 0);
887
- __decorate([
888
- Template('The Request Failed')
889
- ], DropDownTreeComponent.prototype, "actionFailureTemplate", void 0);
890
- DropDownTreeComponent = DropDownTreeComponent_1 = __decorate([
891
- ComponentMixins([ComponentBase, FormBase])
892
- ], DropDownTreeComponent);
893
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeComponent, decorators: [{
894
- type: Component,
895
- args: [{
896
- selector: 'ejs-dropdowntree',
897
- inputs: inputs$1,
898
- outputs: outputs$1,
899
- template: '',
900
- changeDetection: ChangeDetectionStrategy.OnPush,
901
- providers: [
902
- {
903
- provide: NG_VALUE_ACCESSOR,
904
- useExisting: forwardRef(() => DropDownTreeComponent),
905
- multi: true
906
- }
907
- ],
908
- queries: {}
909
- }]
910
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
911
- type: ContentChild,
912
- args: ['footerTemplate']
913
- }], headerTemplate: [{
914
- type: ContentChild,
915
- args: ['headerTemplate']
916
- }], itemTemplate: [{
917
- type: ContentChild,
918
- args: ['itemTemplate']
919
- }], noRecordsTemplate: [{
920
- type: ContentChild,
921
- args: ['noRecordsTemplate']
922
- }], actionFailureTemplate: [{
923
- type: ContentChild,
924
- args: ['actionFailureTemplate']
925
- }] } });
926
-
927
- /**
928
- * NgModule definition for the DropDownTree component.
929
- */
930
- class DropDownTreeModule {
931
- }
932
- DropDownTreeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
933
- DropDownTreeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeModule, declarations: [DropDownTreeComponent], imports: [CommonModule], exports: [DropDownTreeComponent] });
934
- DropDownTreeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeModule, imports: [[CommonModule]] });
935
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeModule, decorators: [{
936
- type: NgModule,
937
- args: [{
938
- imports: [CommonModule],
939
- declarations: [
940
- DropDownTreeComponent
941
- ],
942
- exports: [
943
- DropDownTreeComponent
944
- ]
945
- }]
946
- }] });
947
-
948
- /**
949
- * NgModule definition for the DropDownTree component with providers.
950
- */
951
- class DropDownTreeAllModule {
952
- }
953
- DropDownTreeAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
954
- DropDownTreeAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeAllModule, imports: [CommonModule, DropDownTreeModule], exports: [DropDownTreeModule] });
955
- DropDownTreeAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeAllModule, providers: [], imports: [[CommonModule, DropDownTreeModule], DropDownTreeModule] });
956
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeAllModule, decorators: [{
957
- type: NgModule,
958
- args: [{
959
- imports: [CommonModule, DropDownTreeModule],
960
- exports: [
961
- DropDownTreeModule
962
- ],
963
- providers: []
964
- }]
965
- }] });
966
-
967
- const inputs = ['allowSpaces', 'cssClass', 'dataSource', 'displayTemplate', 'fields', 'filterType', 'highlight', 'ignoreCase', 'itemTemplate', 'locale', 'mentionChar', 'minLength', 'noRecordsTemplate', 'popupHeight', 'popupWidth', 'query', 'showMentionChar', 'sortOrder', 'spinnerTemplate', 'suffixText', 'suggestionCount', 'target'];
968
- const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'change', 'closed', 'created', 'destroyed', 'filtering', 'opened', 'select'];
969
- const twoWays = [''];
970
- /**
971
- *The Mention component contains a list of predefined values, from which the user can choose a single value.
972
- *```html
973
- *<ejs-mention></ejs-mention>
974
- *```
975
- */
976
- let MentionComponent = class MentionComponent extends Mention {
977
- constructor(ngEle, srenderer, viewContainerRef, injector) {
978
- super();
979
- this.ngEle = ngEle;
980
- this.srenderer = srenderer;
981
- this.viewContainerRef = viewContainerRef;
982
- this.injector = injector;
983
- this.element = this.ngEle.nativeElement;
984
- this.injectedModules = this.injectedModules || [];
985
- this.registerEvents(outputs);
986
- this.addTwoWay.call(this, twoWays);
987
- setValue('currentInstance', this, this.viewContainerRef);
988
- this.containerContext = new ComponentBase();
989
- }
990
- ngOnInit() {
991
- this.containerContext.ngOnInit(this);
992
- }
993
- ngAfterViewInit() {
994
- this.containerContext.ngAfterViewInit(this);
995
- }
996
- ngOnDestroy() {
997
- this.containerContext.ngOnDestroy(this);
998
- }
999
- ngAfterContentChecked() {
1000
- this.containerContext.ngAfterContentChecked(this);
1001
- }
1002
- };
1003
- MentionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
1004
- MentionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: MentionComponent, selector: "ejs-mention", inputs: { allowSpaces: "allowSpaces", cssClass: "cssClass", dataSource: "dataSource", displayTemplate: "displayTemplate", fields: "fields", filterType: "filterType", highlight: "highlight", ignoreCase: "ignoreCase", itemTemplate: "itemTemplate", locale: "locale", mentionChar: "mentionChar", minLength: "minLength", noRecordsTemplate: "noRecordsTemplate", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", showMentionChar: "showMentionChar", sortOrder: "sortOrder", spinnerTemplate: "spinnerTemplate", suffixText: "suffixText", suggestionCount: "suggestionCount", target: "target" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", change: "change", closed: "closed", created: "created", destroyed: "destroyed", filtering: "filtering", opened: "opened", select: "select" }, queries: [{ propertyName: "displayTemplate", first: true, predicate: ["displayTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "spinnerTemplate", first: true, predicate: ["spinnerTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1005
- __decorate([
1006
- Template()
1007
- ], MentionComponent.prototype, "displayTemplate", void 0);
1008
- __decorate([
1009
- Template()
1010
- ], MentionComponent.prototype, "itemTemplate", void 0);
1011
- __decorate([
1012
- Template()
1013
- ], MentionComponent.prototype, "spinnerTemplate", void 0);
1014
- __decorate([
1015
- Template('No records found')
1016
- ], MentionComponent.prototype, "noRecordsTemplate", void 0);
1017
- MentionComponent = __decorate([
1018
- ComponentMixins([ComponentBase])
1019
- ], MentionComponent);
1020
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionComponent, decorators: [{
1021
- type: Component,
1022
- args: [{
1023
- selector: 'ejs-mention',
1024
- inputs: inputs,
1025
- outputs: outputs,
1026
- template: `<ng-content ></ng-content>`,
1027
- changeDetection: ChangeDetectionStrategy.OnPush,
1028
- queries: {}
1029
- }]
1030
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { displayTemplate: [{
1031
- type: ContentChild,
1032
- args: ['displayTemplate']
1033
- }], itemTemplate: [{
1034
- type: ContentChild,
1035
- args: ['itemTemplate']
1036
- }], spinnerTemplate: [{
1037
- type: ContentChild,
1038
- args: ['spinnerTemplate']
1039
- }], noRecordsTemplate: [{
1040
- type: ContentChild,
1041
- args: ['noRecordsTemplate']
1042
- }] } });
1043
-
1044
- /**
1045
- * NgModule definition for the Mention component.
1046
- */
1047
- class MentionModule {
1048
- }
1049
- MentionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1050
- MentionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, declarations: [MentionComponent], imports: [CommonModule], exports: [MentionComponent] });
1051
- MentionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, imports: [[CommonModule]] });
1052
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, decorators: [{
1053
- type: NgModule,
1054
- args: [{
1055
- imports: [CommonModule],
1056
- declarations: [
1057
- MentionComponent
1058
- ],
1059
- exports: [
1060
- MentionComponent
1061
- ]
1062
- }]
1063
- }] });
1064
-
1065
- /**
1066
- * NgModule definition for the Mention component with providers.
1067
- */
1068
- class MentionAllModule {
1069
- }
1070
- MentionAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1071
- MentionAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, imports: [CommonModule, MentionModule], exports: [MentionModule] });
1072
- MentionAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, providers: [], imports: [[CommonModule, MentionModule], MentionModule] });
1073
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, decorators: [{
1074
- type: NgModule,
1075
- args: [{
1076
- imports: [CommonModule, MentionModule],
1077
- exports: [
1078
- MentionModule
1079
- ],
1080
- providers: []
1081
- }]
1082
- }] });
1083
-
1084
- /**
1085
- * Generated bundle index. Do not edit.
1086
- */
1087
-
1088
- export { AutoCompleteAllModule, AutoCompleteComponent, AutoCompleteModule, CheckBoxSelectionService, ComboBoxAllModule, ComboBoxComponent, ComboBoxModule, DropDownListAllModule, DropDownListComponent, DropDownListModule, DropDownTreeAllModule, DropDownTreeComponent, DropDownTreeModule, ListBoxAllModule, ListBoxComponent, ListBoxModule, MentionAllModule, MentionComponent, MentionModule, MultiSelectAllModule, MultiSelectComponent, MultiSelectModule, VirtualScrollService };
1089
- //# sourceMappingURL=syncfusion-ej2-angular-dropdowns.mjs.map