@exhaustive-ui/mcp 22.5.0 → 22.6.0

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 (199) hide show
  1. package/data/cards/accordion.md +5 -2
  2. package/data/cards/animateonscroll.md +8 -5
  3. package/data/cards/autocomplete.md +8 -3
  4. package/data/cards/autofocus.md +4 -2
  5. package/data/cards/avatar.md +4 -2
  6. package/data/cards/badge.md +2 -1
  7. package/data/cards/breadcrumb.md +3 -1
  8. package/data/cards/button.md +8 -2
  9. package/data/cards/card.md +2 -1
  10. package/data/cards/carousel.md +7 -5
  11. package/data/cards/cascadeselect.md +2 -6
  12. package/data/cards/chart.md +9 -7
  13. package/data/cards/checkbox.md +4 -3
  14. package/data/cards/chip.md +2 -1
  15. package/data/cards/classnames.md +21 -3
  16. package/data/cards/colorpicker.md +2 -1
  17. package/data/cards/confirmdialog.md +35 -5
  18. package/data/cards/confirmpopup.md +25 -3
  19. package/data/cards/contextmenu.md +1 -7
  20. package/data/cards/dataview.md +28 -9
  21. package/data/cards/datepicker.md +4 -3
  22. package/data/cards/dialog.md +3 -3
  23. package/data/cards/divider.md +2 -1
  24. package/data/cards/dock.md +24 -3
  25. package/data/cards/dragdrop.md +5 -1
  26. package/data/cards/drawer.md +3 -3
  27. package/data/cards/dynamicdialog.md +41 -14
  28. package/data/cards/editor.md +1 -1
  29. package/data/cards/fieldset.md +2 -1
  30. package/data/cards/fileinput.md +1 -1
  31. package/data/cards/fileupload.md +7 -8
  32. package/data/cards/floatlabel.md +1 -1
  33. package/data/cards/fluid.md +7 -5
  34. package/data/cards/focustrap.md +6 -2
  35. package/data/cards/galleria.md +18 -25
  36. package/data/cards/iconfield.md +3 -2
  37. package/data/cards/iftalabel.md +1 -1
  38. package/data/cards/image.md +4 -2
  39. package/data/cards/imagecompare.md +4 -3
  40. package/data/cards/inplace.md +2 -1
  41. package/data/cards/inputgroup.md +14 -3
  42. package/data/cards/inputmask.md +2 -2
  43. package/data/cards/inputnumber.md +4 -3
  44. package/data/cards/inputotp.md +2 -2
  45. package/data/cards/inputtext.md +2 -2
  46. package/data/cards/keyfilter.md +2 -1
  47. package/data/cards/knob.md +3 -2
  48. package/data/cards/listbox.md +5 -3
  49. package/data/cards/megamenu.md +7 -8
  50. package/data/cards/menu.md +3 -7
  51. package/data/cards/menubar.md +3 -7
  52. package/data/cards/message.md +2 -1
  53. package/data/cards/metergroup.md +3 -7
  54. package/data/cards/multiselect.md +5 -9
  55. package/data/cards/orderlist.md +6 -4
  56. package/data/cards/organizationchart.md +33 -6
  57. package/data/cards/overlay.md +2 -1
  58. package/data/cards/paginator.md +2 -1
  59. package/data/cards/panel.md +2 -1
  60. package/data/cards/panelmenu.md +4 -13
  61. package/data/cards/password.md +6 -3
  62. package/data/cards/picklist.md +9 -5
  63. package/data/cards/popover.md +6 -5
  64. package/data/cards/progressbar.md +4 -3
  65. package/data/cards/progressspinner.md +2 -1
  66. package/data/cards/radiobutton.md +4 -3
  67. package/data/cards/rating.md +1 -1
  68. package/data/cards/ripple.md +2 -1
  69. package/data/cards/scrollpanel.md +2 -1
  70. package/data/cards/scrolltop.md +5 -3
  71. package/data/cards/select.md +2 -1
  72. package/data/cards/selectbutton.md +6 -2
  73. package/data/cards/skeleton.md +2 -1
  74. package/data/cards/slider.md +4 -3
  75. package/data/cards/speeddial.md +7 -4
  76. package/data/cards/splitbutton.md +21 -18
  77. package/data/cards/splitter.md +2 -1
  78. package/data/cards/stepper.md +8 -3
  79. package/data/cards/styleclass.md +4 -2
  80. package/data/cards/table.md +46 -11
  81. package/data/cards/tabs.md +2 -1
  82. package/data/cards/tag.md +2 -1
  83. package/data/cards/terminal.md +31 -22
  84. package/data/cards/textarea.md +3 -2
  85. package/data/cards/tieredmenu.md +1 -6
  86. package/data/cards/timeline.md +5 -5
  87. package/data/cards/toast.md +7 -8
  88. package/data/cards/togglebutton.md +1 -1
  89. package/data/cards/toggleswitch.md +4 -3
  90. package/data/cards/toolbar.md +8 -8
  91. package/data/cards/tooltip.md +2 -1
  92. package/data/cards/tree.md +3 -6
  93. package/data/cards/treeselect.md +6 -7
  94. package/data/cards/treetable.md +52 -31
  95. package/data/components/accordion.md +31 -23
  96. package/data/components/animateonscroll.md +18 -15
  97. package/data/components/autocomplete.md +162 -93
  98. package/data/components/autofocus.md +9 -7
  99. package/data/components/avatar.md +56 -43
  100. package/data/components/badge.md +27 -18
  101. package/data/components/blockui.md +15 -8
  102. package/data/components/breadcrumb.md +20 -14
  103. package/data/components/button.md +121 -94
  104. package/data/components/card.md +12 -10
  105. package/data/components/carousel.md +75 -53
  106. package/data/components/cascadeselect.md +271 -238
  107. package/data/components/chart.md +88 -74
  108. package/data/components/checkbox.md +107 -73
  109. package/data/components/chip.md +20 -16
  110. package/data/components/classnames.md +22 -4
  111. package/data/components/colorpicker.md +54 -36
  112. package/data/components/confirmdialog.md +146 -43
  113. package/data/components/confirmpopup.md +95 -22
  114. package/data/components/contextmenu.md +110 -39
  115. package/data/components/dataview.md +176 -83
  116. package/data/components/datepicker.md +171 -141
  117. package/data/components/dialog.md +80 -68
  118. package/data/components/divider.md +17 -12
  119. package/data/components/dock.md +63 -27
  120. package/data/components/dragdrop.md +26 -12
  121. package/data/components/drawer.md +67 -48
  122. package/data/components/dynamicdialog.md +22 -13
  123. package/data/components/editor.md +42 -33
  124. package/data/components/fieldset.md +20 -17
  125. package/data/components/fileinput.md +92 -35
  126. package/data/components/fileupload.md +101 -61
  127. package/data/components/floatlabel.md +20 -11
  128. package/data/components/fluid.md +11 -9
  129. package/data/components/focustrap.md +11 -7
  130. package/data/components/galleria.md +224 -83
  131. package/data/components/iconfield.md +23 -15
  132. package/data/components/iftalabel.md +15 -9
  133. package/data/components/image.md +31 -26
  134. package/data/components/imagecompare.md +8 -6
  135. package/data/components/inplace.md +27 -22
  136. package/data/components/inputgroup.md +53 -29
  137. package/data/components/inputmask.md +107 -85
  138. package/data/components/inputnumber.md +127 -89
  139. package/data/components/inputotp.md +55 -42
  140. package/data/components/inputtext.md +72 -50
  141. package/data/components/keyfilter.md +6 -3
  142. package/data/components/knob.md +70 -58
  143. package/data/components/listbox.md +171 -141
  144. package/data/components/megamenu.md +24 -23
  145. package/data/components/menu.md +37 -34
  146. package/data/components/menubar.md +27 -22
  147. package/data/components/message.md +44 -32
  148. package/data/components/metergroup.md +48 -17
  149. package/data/components/multiselect.md +232 -168
  150. package/data/components/orderlist.md +55 -48
  151. package/data/components/organizationchart.md +182 -13
  152. package/data/components/overlay.md +31 -26
  153. package/data/components/paginator.md +49 -34
  154. package/data/components/panel.md +23 -19
  155. package/data/components/panelmenu.md +51 -25
  156. package/data/components/password.md +104 -91
  157. package/data/components/picklist.md +92 -70
  158. package/data/components/popover.md +68 -46
  159. package/data/components/progressbar.md +28 -22
  160. package/data/components/progressspinner.md +13 -11
  161. package/data/components/radiobutton.md +69 -35
  162. package/data/components/rating.md +48 -40
  163. package/data/components/ripple.md +8 -6
  164. package/data/components/scroller.md +29 -29
  165. package/data/components/scrollpanel.md +9 -7
  166. package/data/components/scrolltop.md +20 -18
  167. package/data/components/select.md +248 -169
  168. package/data/components/selectbutton.md +118 -56
  169. package/data/components/skeleton.md +22 -18
  170. package/data/components/slider.md +73 -49
  171. package/data/components/speeddial.md +77 -59
  172. package/data/components/splitbutton.md +354 -329
  173. package/data/components/splitter.md +22 -18
  174. package/data/components/stepper.md +38 -21
  175. package/data/components/styleclass.md +12 -6
  176. package/data/components/table.md +523 -314
  177. package/data/components/tabs.md +44 -26
  178. package/data/components/tag.md +18 -14
  179. package/data/components/terminal.md +38 -27
  180. package/data/components/textarea.md +82 -47
  181. package/data/components/tieredmenu.md +34 -29
  182. package/data/components/timeline.md +29 -28
  183. package/data/components/toast.md +115 -57
  184. package/data/components/togglebutton.md +53 -39
  185. package/data/components/toggleswitch.md +41 -28
  186. package/data/components/toolbar.md +19 -18
  187. package/data/components/tooltip.md +43 -32
  188. package/data/components/tree.md +114 -81
  189. package/data/components/treeselect.md +176 -174
  190. package/data/components/treetable.md +1250 -1045
  191. package/data/components.json +4122 -4080
  192. package/data/llms-full.txt +8784 -6249
  193. package/data/manifest.json +154 -15
  194. package/data/pages/tailwind.md +20 -10
  195. package/data/snapshot.json +2 -2
  196. package/dist/index.d.mts +2 -0
  197. package/dist/index.mjs +3 -3
  198. package/dist/index.mjs.map +1 -1
  199. package/package.json +1 -1
@@ -4,7 +4,7 @@ Select is used to choose an item from a collection of options.
4
4
 
5
5
  ## Accessibility
6
6
 
7
- Screen Reader Value to describe the component can either be provided with ariaLabelledBy or ariaLabel props. The select element has a combobox role in addition to aria-haspopup and aria-expanded attributes. If the editable option is enabled aria-autocomplete is also added. The relation between the combobox and the popup is created with aria-controls and aria-activedescendant attribute is used to instruct screen reader which option to read during keyboard navigation within the popup list. The popup list has an id that refers to the aria-controls attribute of the combobox element and uses listbox as the role. Each list item has an option role, an id to match the aria-activedescendant of the input element along with aria-label , aria-selected and aria-disabled attributes. If filtering is enabled, filterInputProps can be defined to give aria-* props to the filter input element.
7
+ Screen Reader Value to describe the component can either be provided with ariaLabelledBy or ariaLabel props. The select element has a combobox role in addition to aria-haspopup and aria-expanded attributes. If the editable option is enabled aria-autocomplete is also added. The relation between the combobox and the popup is created with aria-controls and aria-activedescendant attribute is used to instruct screen reader which option to read during keyboard navigation within the popup list. The popup list has an id that refers to the aria-controls attribute of the combobox element and uses listbox as the role. Each list item has an option role, an id to match the aria-activedescendant of the input element along with aria-label , aria-selected and aria-disabled attributes. If filtering is enabled, ariaFilterLabel can be defined to give an aria-label to the filter input element.
8
8
 
9
9
  ## Basic
10
10
 
@@ -27,10 +27,11 @@ interface City {
27
27
  </div>
28
28
  `,
29
29
  standalone: true,
30
- imports: [SelectModule, FormsModule]
30
+ imports: [FormsModule, SelectModule]
31
31
  })
32
32
  export class SelectBasicDemo implements OnInit {
33
33
  cities: City[];
34
+
34
35
  selectedCity: City | undefined;
35
36
 
36
37
  ngOnInit() {
@@ -66,10 +67,11 @@ interface City {
66
67
  </div>
67
68
  `,
68
69
  standalone: true,
69
- imports: [SelectModule, FormsModule]
70
+ imports: [FormsModule, SelectModule]
70
71
  })
71
72
  export class SelectCheckmarkDemo implements OnInit {
72
73
  cities: City[];
74
+
73
75
  selectedCity: City | undefined;
74
76
 
75
77
  ngOnInit() {
@@ -91,7 +93,7 @@ When showClear is enabled, a clear icon is displayed to clear the value.
91
93
  ```typescript
92
94
  import { Component, OnInit } from '@angular/core';
93
95
  import { FormsModule } from '@angular/forms';
94
- import { SelectModule } from '@exhaustive-ui/core/select';
96
+ import { Select } from '@exhaustive-ui/core/select';
95
97
 
96
98
  interface City {
97
99
  name: string;
@@ -105,10 +107,11 @@ interface City {
105
107
  </div>
106
108
  `,
107
109
  standalone: true,
108
- imports: [SelectModule, FormsModule]
110
+ imports: [FormsModule, Select]
109
111
  })
110
112
  export class SelectCleariconDemo implements OnInit {
111
113
  cities: City[];
114
+
112
115
  selectedCity: City | undefined;
113
116
 
114
117
  ngOnInit() {
@@ -125,16 +128,18 @@ export class SelectCleariconDemo implements OnInit {
125
128
 
126
129
  ## customfilter-doc
127
130
 
128
- Custom filter can be applied with the filterTemplate .
131
+ Custom filter can be applied with the filter template.
129
132
 
130
133
  ```typescript
131
134
  import { Component, OnInit } from '@angular/core';
132
135
  import { FormsModule } from '@angular/forms';
133
- import { ButtonModule } from '@exhaustive-ui/core/button';
134
- import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
136
+ import { CommonModule } from '@angular/common';
137
+ import { SelectFilterOptions } from '@exhaustive-ui/core/select';
135
138
  import { SelectModule } from '@exhaustive-ui/core/select';
139
+ import { InputGroupModule } from '@exhaustive-ui/core/inputgroup';
140
+ import { InputGroupAddonModule } from '@exhaustive-ui/core/inputgroupaddon';
141
+ import { ButtonModule } from '@exhaustive-ui/core/button';
136
142
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
137
- import { Country } from '@/domain/customer';
138
143
 
139
144
  interface City {
140
145
  name: string;
@@ -145,7 +150,7 @@ interface City {
145
150
  template: `
146
151
  <div class="card flex justify-center">
147
152
  <p-select [options]="countries" [(ngModel)]="selectedCountry" optionLabel="name" [filter]="true" filterBy="name" [showClear]="true" placeholder="Select a Country">
148
- <ng-template pTemplate="filter" let-options="options">
153
+ <ng-template #filter let-options="options">
149
154
  <div class="flex gap-1">
150
155
  <p-input-group (click)="$event.stopPropagation()">
151
156
  <p-input-group-addon><i class="pi pi-search"></i></p-input-group-addon>
@@ -154,13 +159,13 @@ interface City {
154
159
  <p-button icon="pi pi-times" (click)="resetFunction(options)" severity="secondary" />
155
160
  </div>
156
161
  </ng-template>
157
- <ng-template pTemplate="selectedItem" let-selectedOption>
162
+ <ng-template #selectedItem let-selectedOption>
158
163
  <div class="flex items-center gap-2">
159
164
  <img src="https://exhaustive-ui.com/demo/flag/flag_placeholder.png" [class]="'flag flag-' + selectedCountry.code.toLowerCase()" style="width: 18px" />
160
165
  <div>{{ selectedOption.name }}</div>
161
166
  </div>
162
167
  </ng-template>
163
- <ng-template let-country pTemplate="item">
168
+ <ng-template let-country #item>
164
169
  <div class="flex items-center gap-2">
165
170
  <img src="https://exhaustive-ui.com/demo/flag/flag_placeholder.png" [class]="'flag flag-' + country.code.toLowerCase()" style="width: 18px" />
166
171
  <div>{{ country.name }}</div>
@@ -170,11 +175,13 @@ interface City {
170
175
  </div>
171
176
  `,
172
177
  standalone: true,
173
- imports: [ButtonModule, InputGroupModule, SelectModule, InputTextModule, FormsModule]
178
+ imports: [CommonModule, FormsModule, SelectModule, InputGroupModule, InputGroupAddonModule, ButtonModule, InputTextModule]
174
179
  })
175
180
  export class SelectCustomfilterDemo implements OnInit {
176
181
  countries: City[] | undefined;
182
+
177
183
  selectedCountry: string | undefined;
184
+
178
185
  filterValue: string | undefined = '';
179
186
 
180
187
  ngOnInit() {
@@ -208,7 +215,7 @@ export class SelectCustomfilterDemo implements OnInit {
208
215
  When disabled is present, the element cannot be edited and focused.
209
216
 
210
217
  ```typescript
211
- import { Component, OnInit } from '@angular/core';
218
+ import { Component } from '@angular/core';
212
219
  import { FormsModule } from '@angular/forms';
213
220
  import { SelectModule } from '@exhaustive-ui/core/select';
214
221
 
@@ -224,10 +231,11 @@ interface City {
224
231
  </div>
225
232
  `,
226
233
  standalone: true,
227
- imports: [SelectModule, FormsModule]
234
+ imports: [FormsModule, SelectModule]
228
235
  })
229
- export class SelectDisabledDemo implements OnInit {
236
+ export class SelectDisabledDemo {
230
237
  cities: City[] | undefined;
238
+
231
239
  selectedCity: City | undefined;
232
240
 
233
241
  ngOnInit() {
@@ -263,10 +271,11 @@ interface City {
263
271
  </div>
264
272
  `,
265
273
  standalone: true,
266
- imports: [SelectModule, FormsModule]
274
+ imports: [FormsModule, SelectModule]
267
275
  })
268
276
  export class SelectEditableDemo implements OnInit {
269
277
  cities: City[] | undefined;
278
+
270
279
  selectedCity: City | undefined;
271
280
 
272
281
  ngOnInit() {
@@ -302,10 +311,11 @@ interface City {
302
311
  </div>
303
312
  `,
304
313
  standalone: true,
305
- imports: [SelectModule, FormsModule]
314
+ imports: [FormsModule, SelectModule]
306
315
  })
307
316
  export class SelectFilledDemo implements OnInit {
308
317
  cities: City[];
318
+
309
319
  selectedCity: City | undefined;
310
320
 
311
321
  ngOnInit() {
@@ -327,8 +337,8 @@ Select provides built-in filtering that is enabled by adding the filter property
327
337
  ```typescript
328
338
  import { Component, OnInit } from '@angular/core';
329
339
  import { FormsModule } from '@angular/forms';
340
+ import { CommonModule } from '@angular/common';
330
341
  import { SelectModule } from '@exhaustive-ui/core/select';
331
- import { Country } from '@/domain/customer';
332
342
 
333
343
  @Component({
334
344
  template: `
@@ -350,11 +360,12 @@ import { Country } from '@/domain/customer';
350
360
  </div>
351
361
  `,
352
362
  standalone: true,
353
- imports: [SelectModule, FormsModule]
363
+ imports: [CommonModule, FormsModule, SelectModule]
354
364
  })
355
365
  export class SelectFilterDemo implements OnInit {
356
366
  countries: any[] | undefined;
357
- selectedCountry: string | undefined;
367
+
368
+ selectedCountry: any | undefined;
358
369
 
359
370
  ngOnInit() {
360
371
  this.countries = [
@@ -380,8 +391,9 @@ A floating label appears on top of the input field when focused. Visit FloatLabe
380
391
  ```typescript
381
392
  import { Component, OnInit } from '@angular/core';
382
393
  import { FormsModule } from '@angular/forms';
383
- import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
394
+ import { RouterModule } from '@angular/router';
384
395
  import { SelectModule } from '@exhaustive-ui/core/select';
396
+ import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
385
397
 
386
398
  interface City {
387
399
  name: string;
@@ -406,12 +418,15 @@ interface City {
406
418
  </div>
407
419
  `,
408
420
  standalone: true,
409
- imports: [FloatLabelModule, SelectModule, FormsModule]
421
+ imports: [FormsModule, SelectModule, FloatLabelModule, RouterModule]
410
422
  })
411
423
  export class SelectFloatlabelDemo implements OnInit {
412
424
  cities: City[] | undefined;
425
+
413
426
  value1: City | undefined;
427
+
414
428
  value2: City | undefined;
429
+
415
430
  value3: City | undefined;
416
431
 
417
432
  ngOnInit() {
@@ -447,10 +462,11 @@ interface City {
447
462
  </div>
448
463
  `,
449
464
  standalone: true,
450
- imports: [SelectModule, FormsModule]
465
+ imports: [FormsModule, SelectModule]
451
466
  })
452
467
  export class SelectFluidDemo implements OnInit {
453
468
  cities: City[];
469
+
454
470
  selectedCity: City | undefined;
455
471
 
456
472
  ngOnInit() {
@@ -472,8 +488,9 @@ Options can be grouped when a nested data structures is provided.
472
488
  ```typescript
473
489
  import { Component } from '@angular/core';
474
490
  import { FormsModule } from '@angular/forms';
475
- import { SelectModule } from '@exhaustive-ui/core/select';
491
+ import { CommonModule } from '@angular/common';
476
492
  import { SelectItemGroup } from '@exhaustive-ui/core/api';
493
+ import { SelectModule } from '@exhaustive-ui/core/select';
477
494
 
478
495
  @Component({
479
496
  template: `
@@ -489,45 +506,46 @@ import { SelectItemGroup } from '@exhaustive-ui/core/api';
489
506
  </div>
490
507
  `,
491
508
  standalone: true,
492
- imports: [SelectModule, FormsModule]
509
+ imports: [CommonModule, FormsModule, SelectModule]
493
510
  })
494
511
  export class SelectGroupDemo {
495
512
  groupedCities: SelectItemGroup[];
513
+
496
514
  selectedCity: string | undefined;
497
515
 
498
516
  constructor() {
499
517
  this.groupedCities = [
500
- {
501
- label: 'Germany',
502
- value: 'de',
503
- items: [
504
- { label: 'Berlin', value: 'Berlin' },
505
- { label: 'Frankfurt', value: 'Frankfurt' },
506
- { label: 'Hamburg', value: 'Hamburg' },
507
- { label: 'Munich', value: 'Munich' }
508
- ]
509
- },
510
- {
511
- label: 'USA',
512
- value: 'us',
513
- items: [
514
- { label: 'Chicago', value: 'Chicago' },
515
- { label: 'Los Angeles', value: 'Los Angeles' },
516
- { label: 'New York', value: 'New York' },
517
- { label: 'San Francisco', value: 'San Francisco' }
518
- ]
519
- },
520
- {
521
- label: 'Japan',
522
- value: 'jp',
523
- items: [
524
- { label: 'Kyoto', value: 'Kyoto' },
525
- { label: 'Osaka', value: 'Osaka' },
526
- { label: 'Tokyo', value: 'Tokyo' },
527
- { label: 'Yokohama', value: 'Yokohama' }
528
- ]
529
- }
530
- ];
518
+ {
519
+ label: 'Germany',
520
+ value: 'de',
521
+ items: [
522
+ { label: 'Berlin', value: 'Berlin' },
523
+ { label: 'Frankfurt', value: 'Frankfurt' },
524
+ { label: 'Hamburg', value: 'Hamburg' },
525
+ { label: 'Munich', value: 'Munich' }
526
+ ]
527
+ },
528
+ {
529
+ label: 'USA',
530
+ value: 'us',
531
+ items: [
532
+ { label: 'Chicago', value: 'Chicago' },
533
+ { label: 'Los Angeles', value: 'Los Angeles' },
534
+ { label: 'New York', value: 'New York' },
535
+ { label: 'San Francisco', value: 'San Francisco' }
536
+ ]
537
+ },
538
+ {
539
+ label: 'Japan',
540
+ value: 'jp',
541
+ items: [
542
+ { label: 'Kyoto', value: 'Kyoto' },
543
+ { label: 'Osaka', value: 'Osaka' },
544
+ { label: 'Tokyo', value: 'Tokyo' },
545
+ { label: 'Yokohama', value: 'Yokohama' }
546
+ ]
547
+ }
548
+ ];
531
549
  }
532
550
  }
533
551
  ```
@@ -539,8 +557,9 @@ IftaLabel is used to create infield top aligned labels. Visit IftaLabel document
539
557
  ```typescript
540
558
  import { Component, OnInit } from '@angular/core';
541
559
  import { FormsModule } from '@angular/forms';
542
- import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
560
+ import { RouterModule } from '@angular/router';
543
561
  import { SelectModule } from '@exhaustive-ui/core/select';
562
+ import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
544
563
 
545
564
  interface City {
546
565
  name: string;
@@ -557,10 +576,11 @@ interface City {
557
576
  </div>
558
577
  `,
559
578
  standalone: true,
560
- imports: [IftaLabelModule, SelectModule, FormsModule]
579
+ imports: [FormsModule, SelectModule, IftaLabelModule, RouterModule]
561
580
  })
562
581
  export class SelectIftalabelDemo implements OnInit {
563
582
  cities: City[] | undefined;
583
+
564
584
  selectedCity: City | undefined;
565
585
 
566
586
  ngOnInit() {
@@ -597,14 +617,24 @@ interface City {
597
617
  </div>
598
618
  `,
599
619
  standalone: true,
600
- imports: [SelectModule, FormsModule]
620
+ imports: [FormsModule, SelectModule]
601
621
  })
602
622
  export class SelectInvalidDemo {
603
- cities: City[];
623
+ cities: City[] = [
624
+ { name: 'New York', code: 'NY' },
625
+ { name: 'Rome', code: 'RM' },
626
+ { name: 'London', code: 'LDN' },
627
+ { name: 'Istanbul', code: 'IST' },
628
+ { name: 'Paris', code: 'PRS' }
629
+ ];
630
+
604
631
  selectedCity1: City | undefined;
632
+
605
633
  selectedCity2: City | undefined;
606
- value1: boolean = true;
607
- value2: boolean = true;
634
+
635
+ value1 = true;
636
+
637
+ value2 = true;
608
638
  }
609
639
  ```
610
640
 
@@ -613,8 +643,8 @@ export class SelectInvalidDemo {
613
643
  ```typescript
614
644
  import { Component } from '@angular/core';
615
645
  import { FormsModule } from '@angular/forms';
646
+ import { ScrollerOptions, SelectItem } from '@exhaustive-ui/core/api';
616
647
  import { SelectModule } from '@exhaustive-ui/core/select';
617
- import { SelectItem } from '@exhaustive-ui/core/api';
618
648
 
619
649
  @Component({
620
650
  template: `
@@ -623,39 +653,47 @@ import { SelectItem } from '@exhaustive-ui/core/api';
623
653
  </div>
624
654
  `,
625
655
  standalone: true,
626
- imports: [SelectModule, FormsModule]
656
+ imports: [FormsModule, SelectModule]
627
657
  })
628
658
  export class SelectLazyvirtualscrollDemo {
629
659
  items: SelectItem[];
660
+
630
661
  selectedItem: string | undefined;
662
+
631
663
  loading: boolean = false;
632
- loadLazyTimeout: any = null;
633
- options: ScrollerOptions;
664
+
665
+ loadLazyTimeout = null;
666
+
667
+ options: ScrollerOptions = {
668
+ delay: 250,
669
+ showLoader: true,
670
+ lazy: true,
671
+ onLazyLoad: this.onLazyLoad.bind(this)
672
+ };
634
673
 
635
674
  constructor() {
636
675
  this.items = [];
637
- for (let i = 0; i < 10000; i++) {
638
- this.items.push({ label: 'Item ' + i, value: 'Item ' + i });
639
- }
676
+ for (let i = 0; i < 10000; i++) {
677
+ this.items.push({ label: 'Item ' + i, value: 'Item ' + i });
678
+ }
640
679
  }
641
-
642
680
  onLazyLoad(event) {
643
681
  this.loading = true;
644
-
682
+
645
683
  if (this.loadLazyTimeout) {
646
684
  clearTimeout(this.loadLazyTimeout);
647
685
  }
648
-
686
+
649
687
  //imitate delay of a backend call
650
688
  this.loadLazyTimeout = setTimeout(
651
689
  () => {
652
690
  const { first, last } = event;
653
691
  const items = [...this.items];
654
-
692
+
655
693
  for (let i = first; i < last; i++) {
656
694
  items[i] = { label: `Item #${i}`, value: i };
657
695
  }
658
-
696
+
659
697
  this.items = items;
660
698
  this.loading = false;
661
699
  },
@@ -686,10 +724,11 @@ interface City {
686
724
  </div>
687
725
  `,
688
726
  standalone: true,
689
- imports: [SelectModule, FormsModule]
727
+ imports: [FormsModule, SelectModule]
690
728
  })
691
729
  export class SelectLoadingstateDemo implements OnInit {
692
730
  cities: City[];
731
+
693
732
  selectedCity: City | undefined;
694
733
 
695
734
  ngOnInit() {
@@ -710,12 +749,14 @@ Select can also be used with reactive forms. In this case, the formControlName p
710
749
 
711
750
  ```typescript
712
751
  import { Component, inject } from '@angular/core';
752
+ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
713
753
  import { ReactiveFormsModule } from '@angular/forms';
714
- import { MessageModule } from '@exhaustive-ui/core/message';
754
+ import { CommonModule } from '@angular/common';
755
+ import { MessageService } from '@exhaustive-ui/core/api';
715
756
  import { SelectModule } from '@exhaustive-ui/core/select';
716
757
  import { ToastModule } from '@exhaustive-ui/core/toast';
758
+ import { MessageModule } from '@exhaustive-ui/core/message';
717
759
  import { ButtonModule } from '@exhaustive-ui/core/button';
718
- import { MessageService } from '@exhaustive-ui/core/api';
719
760
 
720
761
  interface City {
721
762
  name: string;
@@ -738,18 +779,30 @@ interface City {
738
779
  </div>
739
780
  `,
740
781
  standalone: true,
741
- imports: [MessageModule, SelectModule, ToastModule, ButtonModule, ReactiveFormsModule]
782
+ imports: [CommonModule, ReactiveFormsModule, SelectModule, ToastModule, MessageModule, ButtonModule],
783
+ providers: [MessageService]
742
784
  })
743
785
  export class SelectReactiveformsDemo {
786
+ private fb = inject(FormBuilder);
787
+
744
788
  messageService = inject(MessageService);
745
- cities: City[];
789
+
790
+ cities: City[] = [
791
+ { name: 'New York', code: 'NY' },
792
+ { name: 'Rome', code: 'RM' },
793
+ { name: 'London', code: 'LDN' },
794
+ { name: 'Istanbul', code: 'IST' },
795
+ { name: 'Paris', code: 'PRS' }
796
+ ];
797
+
746
798
  exampleForm: FormGroup | undefined;
747
- formSubmitted: boolean = false;
799
+
800
+ formSubmitted = false;
748
801
 
749
802
  constructor() {
750
803
  this.exampleForm = this.fb.group({
751
- city: ['', Validators.required]
752
- });
804
+ city: ['', Validators.required]
805
+ });
753
806
  }
754
807
 
755
808
  onSubmit() {
@@ -775,11 +828,11 @@ Select can also be used with Angular Signal Forms , the @angular/forms/signals A
775
828
  ```typescript
776
829
  import { Component, inject, signal } from '@angular/core';
777
830
  import { form, FormField, required, submit } from '@angular/forms/signals';
778
- import { MessageModule } from '@exhaustive-ui/core/message';
831
+ import { MessageService } from '@exhaustive-ui/core/api';
779
832
  import { SelectModule } from '@exhaustive-ui/core/select';
780
- import { ToastModule } from '@exhaustive-ui/core/toast';
781
833
  import { ButtonModule } from '@exhaustive-ui/core/button';
782
- import { MessageService } from '@exhaustive-ui/core/api';
834
+ import { ToastModule } from '@exhaustive-ui/core/toast';
835
+ import { MessageModule } from '@exhaustive-ui/core/message';
783
836
 
784
837
  interface City {
785
838
  name: string;
@@ -803,12 +856,22 @@ interface City {
803
856
  </div>
804
857
  `,
805
858
  standalone: true,
806
- imports: [MessageModule, SelectModule, ToastModule, ButtonModule, FormField]
859
+ imports: [FormField, SelectModule, ButtonModule, ToastModule, MessageModule],
860
+ providers: [MessageService]
807
861
  })
808
862
  export class SelectSignalformsDemo {
809
863
  messageService = inject(MessageService);
810
- cities: City[];
864
+
865
+ cities: City[] = [
866
+ { name: 'New York', code: 'NY' },
867
+ { name: 'Rome', code: 'RM' },
868
+ { name: 'London', code: 'LDN' },
869
+ { name: 'Istanbul', code: 'IST' },
870
+ { name: 'Paris', code: 'PRS' }
871
+ ];
872
+
811
873
  model = signal<{ city: City | null }>({ city: null });
874
+
812
875
  exampleForm = form(this.model, (f) => {
813
876
  required(f.city);
814
877
  });
@@ -846,12 +909,15 @@ interface City {
846
909
  </div>
847
910
  `,
848
911
  standalone: true,
849
- imports: [SelectModule, FormsModule]
912
+ imports: [FormsModule, SelectModule]
850
913
  })
851
914
  export class SelectSizesDemo implements OnInit {
852
915
  value1: City | undefined;
916
+
853
917
  value2: City | undefined;
918
+
854
919
  value3: City | undefined;
920
+
855
921
  cities: City[];
856
922
 
857
923
  ngOnInit() {
@@ -873,8 +939,9 @@ Both the selected option and the options list can be templated to provide custom
873
939
  ```typescript
874
940
  import { Component, OnInit } from '@angular/core';
875
941
  import { FormsModule } from '@angular/forms';
876
- import { ButtonModule } from '@exhaustive-ui/core/button';
942
+ import { CommonModule } from '@angular/common';
877
943
  import { SelectModule } from '@exhaustive-ui/core/select';
944
+ import { ButtonModule } from '@exhaustive-ui/core/button';
878
945
 
879
946
  @Component({
880
947
  template: `
@@ -907,10 +974,11 @@ import { SelectModule } from '@exhaustive-ui/core/select';
907
974
  </div>
908
975
  `,
909
976
  standalone: true,
910
- imports: [ButtonModule, SelectModule, FormsModule]
977
+ imports: [CommonModule, FormsModule, SelectModule, ButtonModule]
911
978
  })
912
979
  export class SelectTemplateDemo implements OnInit {
913
980
  countries: any[] | undefined;
981
+
914
982
  selectedCountry: string | undefined;
915
983
 
916
984
  ngOnInit() {
@@ -935,11 +1003,12 @@ export class SelectTemplateDemo implements OnInit {
935
1003
  ```typescript
936
1004
  import { Component, inject } from '@angular/core';
937
1005
  import { FormsModule } from '@angular/forms';
938
- import { MessageModule } from '@exhaustive-ui/core/message';
1006
+ import { CommonModule } from '@angular/common';
1007
+ import { MessageService } from '@exhaustive-ui/core/api';
939
1008
  import { SelectModule } from '@exhaustive-ui/core/select';
940
1009
  import { ToastModule } from '@exhaustive-ui/core/toast';
1010
+ import { MessageModule } from '@exhaustive-ui/core/message';
941
1011
  import { ButtonModule } from '@exhaustive-ui/core/button';
942
- import { MessageService } from '@exhaustive-ui/core/api';
943
1012
 
944
1013
  interface City {
945
1014
  name: string;
@@ -972,11 +1041,20 @@ interface City {
972
1041
  </div>
973
1042
  `,
974
1043
  standalone: true,
975
- imports: [MessageModule, SelectModule, ToastModule, ButtonModule, FormsModule]
1044
+ imports: [CommonModule, FormsModule, SelectModule, ToastModule, MessageModule, ButtonModule, CommonModule],
1045
+ providers: [MessageService]
976
1046
  })
977
1047
  export class SelectTemplatedrivenformsDemo {
978
1048
  messageService = inject(MessageService);
979
- cities: City[];
1049
+
1050
+ cities: City[] = [
1051
+ { name: 'New York', code: 'NY' },
1052
+ { name: 'Rome', code: 'RM' },
1053
+ { name: 'London', code: 'LDN' },
1054
+ { name: 'Istanbul', code: 'IST' },
1055
+ { name: 'Paris', code: 'PRS' }
1056
+ ];
1057
+
980
1058
  selectedCity: City | undefined;
981
1059
 
982
1060
  onSubmit(form: any) {
@@ -995,8 +1073,8 @@ VirtualScrolling is an efficient way of rendering the options by displaying a sm
995
1073
  ```typescript
996
1074
  import { Component } from '@angular/core';
997
1075
  import { FormsModule } from '@angular/forms';
998
- import { SelectModule } from '@exhaustive-ui/core/select';
999
1076
  import { SelectItem } from '@exhaustive-ui/core/api';
1077
+ import { SelectModule } from '@exhaustive-ui/core/select';
1000
1078
 
1001
1079
  @Component({
1002
1080
  template: `
@@ -1005,17 +1083,18 @@ import { SelectItem } from '@exhaustive-ui/core/api';
1005
1083
  </div>
1006
1084
  `,
1007
1085
  standalone: true,
1008
- imports: [SelectModule, FormsModule]
1086
+ imports: [FormsModule, SelectModule]
1009
1087
  })
1010
1088
  export class SelectVirtualscrollDemo {
1011
1089
  items: SelectItem[];
1090
+
1012
1091
  selectedItem: string | undefined;
1013
1092
 
1014
1093
  constructor() {
1015
1094
  this.items = [];
1016
- for (let i = 0; i < 10000; i++) {
1017
- this.items.push({ label: 'Item ' + i, value: 'Item ' + i });
1018
- }
1095
+ for (let i = 0; i < 10000; i++) {
1096
+ this.items.push({ label: 'Item ' + i, value: 'Item ' + i });
1097
+ }
1019
1098
  }
1020
1099
  }
1021
1100
  ```
@@ -1028,75 +1107,75 @@ Select is used to choose an item from a collection of options.
1028
1107
 
1029
1108
  | Name | Type | Default | Description |
1030
1109
  |------|------|---------|-------------|
1031
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
1032
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
1033
- | pt | InputSignal<SelectPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
1034
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
1035
- | required | InputSignalWithTransform<boolean, unknown> | false | There must be a value (if set). |
1036
- | invalid | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have invalid state style. |
1037
- | disabled | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have disabled state style. |
1038
- | name | InputSignal<string> | undefined | When present, it specifies that the name of the input. |
1039
- | fluid | InputSignalWithTransform<boolean, unknown> | false | Spans 100% width of the container when enabled. |
1040
- | variant | InputSignal<"outlined" \| "filled"> | 'outlined' | Specifies the input variant of the component. |
1041
- | size | InputSignal<"small" \| "large"> | undefined | Specifies the size of the component. |
1042
- | inputSize | InputSignal<number> | undefined | Specifies the visible width of the input element in characters. |
1043
- | pattern | InputSignalWithTransform<string, string \| readonly RegExp[]> | undefined | Specifies the value must match the pattern. |
1044
- | min | InputSignalWithTransform<number, unknown> | undefined | The value must be greater than or equal to the value. |
1045
- | max | InputSignalWithTransform<number, unknown> | undefined | The value must be less than or equal to the value. |
1046
- | step | InputSignal<number> | undefined | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. |
1047
- | minlength | InputSignal<number> | undefined | The number of characters (code points) must not be less than the value of the attribute, if non-empty. |
1048
- | maxlength | InputSignal<number> | undefined | The number of characters (code points) must not exceed the value of the attribute. |
1049
- | id | InputSignal<string> | ... | Unique identifier of the component |
1050
- | scrollHeight | InputSignal<string> | ... | Height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value. |
1051
- | filter | InputSignalWithTransform<boolean, unknown> | ... | When specified, displays an input field to filter the items on keyup. |
1052
- | panelStyle | InputSignal<{ [klass: string]: any }> | ... | Inline style of the overlay panel element. |
1053
- | panelStyleClass | InputSignal<string> | ... | Style class of the overlay panel element. |
1054
- | readonly | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the component cannot be edited. |
1055
- | editable | InputSignalWithTransform<boolean, unknown> | ... | When present, custom value instead of predefined options can be entered using the editable input field. |
1056
- | tabindex | InputSignalWithTransform<number, unknown> | ... | Index of the element in tabbing order. |
1057
- | placeholder | InputSignal<string> | ... | Default text to display when no option is selected. |
1058
- | loadingIcon | InputSignal<string> | ... | Icon to display in loading state. |
1059
- | filterPlaceholder | InputSignal<string> | ... | Placeholder text to show when filter input is empty. |
1060
- | filterLocale | InputSignal<string> | ... | Locale to use in filtering. The default locale is the host environment's current locale. |
1061
- | inputId | InputSignal<string> | ... | Identifier of the accessible input element. |
1062
- | dataKey | InputSignal<string> | ... | A property to uniquely identify a value in options. |
1063
- | filterBy | InputSignal<string> | ... | When filtering is enabled, filterBy decides which field or fields (comma separated) to search against. |
1064
- | filterFields | InputSignal<any[]> | ... | Fields used when filtering the options, defaults to optionLabel. |
1065
- | autofocus | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the component should automatically get focus on load. |
1066
- | resetFilterOnHide | InputSignalWithTransform<boolean, unknown> | ... | Clears the filter value when hiding the select. |
1067
- | checkmark | InputSignalWithTransform<boolean, unknown> | ... | Whether the selected option will be shown with a check mark. |
1068
- | dropdownIcon | InputSignal<string> | ... | Icon class of the select icon. |
1069
- | loading | InputSignalWithTransform<boolean, unknown> | ... | Whether the select is in loading state. |
1070
- | optionLabel | InputSignal<string> | ... | Name of the label field of an option. |
1071
- | optionValue | InputSignal<string> | ... | Name of the value field of an option. |
1072
- | optionDisabled | InputSignal<string> | ... | Name of the disabled field of an option. |
1073
- | optionGroupLabel | InputSignal<string> | ... | Name of the label field of an option group. |
1074
- | optionGroupChildren | InputSignal<string> | ... | Name of the options field of an option group. |
1075
- | group | InputSignalWithTransform<boolean, unknown> | ... | Whether to display options as grouped when nested options are provided. |
1076
- | showClear | InputSignalWithTransform<boolean, unknown> | ... | When enabled, a clear icon is displayed to clear the value. |
1077
- | emptyFilterMessage | InputSignal<string> | ... | Text to display when filtering does not return any results. Defaults to global value in i18n translation configuration. |
1078
- | emptyMessage | InputSignal<string> | ... | Text to display when there is no data. Defaults to global value in i18n translation configuration. |
1079
- | lazy | InputSignalWithTransform<boolean, unknown> | ... | Defines if data is loaded and interacted with in lazy manner. |
1080
- | virtualScroll | InputSignalWithTransform<boolean, unknown> | ... | Whether the data should be loaded on demand during scroll. |
1081
- | virtualScrollItemSize | InputSignalWithTransform<number, unknown> | ... | Height of an item in the list for VirtualScrolling. |
1082
- | virtualScrollOptions | InputSignal<ScrollerOptions> | ... | Whether to use the scroller feature. The properties of scroller component can be used like an object in it. |
1083
- | overlayOptions | InputSignal<OverlayOptions> | ... | Whether to use overlay API feature. The properties of overlay API can be used like an object in it. |
1084
- | ariaFilterLabel | InputSignal<string> | ... | Defines a string that labels the filter input. |
1085
- | ariaLabel | InputSignal<string> | ... | Used to define a aria label attribute the current element. |
1086
- | ariaLabelledBy | InputSignal<string> | ... | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
1087
- | filterMatchMode | InputSignal<"gt" \| "lt" \| "in" \| "startsWith" \| "contains" \| "endsWith" \| "equals" \| "notEquals" \| "lte" \| "gte"> | ... | Defines how the items are filtered. |
1088
- | tooltip | InputSignal<string> | ... | Advisory information to display in a tooltip on hover. |
1089
- | tooltipPosition | InputSignal<"top" \| "bottom" \| "left" \| "right"> | ... | Position of the tooltip. |
1090
- | tooltipPositionStyle | InputSignal<string> | ... | Type of CSS position. |
1091
- | tooltipStyleClass | InputSignal<string> | ... | Style class of the tooltip. |
1092
- | focusOnHover | InputSignalWithTransform<boolean, unknown> | ... | Fields used when filtering the options, defaults to optionLabel. |
1093
- | selectOnFocus | InputSignalWithTransform<boolean, unknown> | ... | Determines if the option will be selected on focus. |
1094
- | autoOptionFocus | InputSignalWithTransform<boolean, unknown> | ... | Whether to focus on the first visible or selected element when the overlay panel is shown. |
1095
- | autofocusFilter | InputSignalWithTransform<boolean, unknown> | ... | Applies focus to the filter element when the overlay is shown. |
1096
- | filterValue | InputSignal<string> | ... | When specified, filter displays with this value. |
1097
- | options | InputSignal<any[]> | ... | An array of objects to display as the available options. |
1098
- | appendTo | InputSignal<any> | 'self' | Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). |
1099
- | motionOptions | InputSignal<MotionOptions> | ... | The motion options. |
1110
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
1111
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
1112
+ | pt | SelectPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
1113
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
1114
+ | required | boolean | false | There must be a value (if set). |
1115
+ | invalid | boolean | false | When present, it specifies that the component should have invalid state style. |
1116
+ | disabled | boolean | false | When present, it specifies that the component should have disabled state style. |
1117
+ | name | string | undefined | When present, it specifies that the name of the input. |
1118
+ | fluid | boolean | false | Spans 100% width of the container when enabled. |
1119
+ | variant | "outlined" \| "filled" | 'outlined' | Specifies the input variant of the component. |
1120
+ | size | "small" \| "large" | undefined | Specifies the size of the component. |
1121
+ | inputSize | number | undefined | Specifies the visible width of the input element in characters. |
1122
+ | pattern | string | undefined | Specifies the value must match the pattern. |
1123
+ | min | number | undefined | The value must be greater than or equal to the value. |
1124
+ | max | number | undefined | The value must be less than or equal to the value. |
1125
+ | step | number | undefined | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. |
1126
+ | minlength | number | undefined | The number of characters (code points) must not be less than the value of the attribute, if non-empty. |
1127
+ | maxlength | number | undefined | The number of characters (code points) must not exceed the value of the attribute. |
1128
+ | id | string | - | Unique identifier of the component |
1129
+ | scrollHeight | string | '200px' | Height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value. |
1130
+ | filter | boolean | - | When specified, displays an input field to filter the items on keyup. |
1131
+ | panelStyle | { [klass: string]: any } | - | Inline style of the overlay panel element. |
1132
+ | panelStyleClass | string | - | Style class of the overlay panel element. |
1133
+ | readonly | boolean | - | When present, it specifies that the component cannot be edited. |
1134
+ | editable | boolean | - | When present, custom value instead of predefined options can be entered using the editable input field. |
1135
+ | tabindex | number | 0 | Index of the element in tabbing order. |
1136
+ | placeholder | string | - | Default text to display when no option is selected. |
1137
+ | loadingIcon | string | - | Icon to display in loading state. |
1138
+ | filterPlaceholder | string | - | Placeholder text to show when filter input is empty. |
1139
+ | filterLocale | string | - | Locale to use in filtering. The default locale is the host environment's current locale. |
1140
+ | inputId | string | - | Identifier of the accessible input element. |
1141
+ | dataKey | string | - | A property to uniquely identify a value in options. |
1142
+ | filterBy | string | - | When filtering is enabled, filterBy decides which field or fields (comma separated) to search against. |
1143
+ | filterFields | any[] | - | Fields used when filtering the options, defaults to optionLabel. |
1144
+ | autofocus | boolean | - | When present, it specifies that the component should automatically get focus on load. |
1145
+ | resetFilterOnHide | boolean | false | Clears the filter value when hiding the select. |
1146
+ | checkmark | boolean | false | Whether the selected option will be shown with a check mark. |
1147
+ | dropdownIcon | string | - | Icon class of the select icon. |
1148
+ | loading | boolean | false | Whether the select is in loading state. |
1149
+ | optionLabel | string | - | Name of the label field of an option. |
1150
+ | optionValue | string | - | Name of the value field of an option. |
1151
+ | optionDisabled | string | - | Name of the disabled field of an option. |
1152
+ | optionGroupLabel | string | 'label' | Name of the label field of an option group. |
1153
+ | optionGroupChildren | string | 'items' | Name of the options field of an option group. |
1154
+ | group | boolean | - | Whether to display options as grouped when nested options are provided. |
1155
+ | showClear | boolean | - | When enabled, a clear icon is displayed to clear the value. |
1156
+ | emptyFilterMessage | string | '' | Text to display when filtering does not return any results. Defaults to global value in i18n translation configuration. |
1157
+ | emptyMessage | string | '' | Text to display when there is no data. Defaults to global value in i18n translation configuration. |
1158
+ | lazy | boolean | false | Defines if data is loaded and interacted with in lazy manner. |
1159
+ | virtualScroll | boolean | - | Whether the data should be loaded on demand during scroll. |
1160
+ | virtualScrollItemSize | number | - | Height of an item in the list for VirtualScrolling. |
1161
+ | virtualScrollOptions | ScrollerOptions | - | Whether to use the scroller feature. The properties of scroller component can be used like an object in it. |
1162
+ | overlayOptions | OverlayOptions | - | Whether to use overlay API feature. The properties of overlay API can be used like an object in it. |
1163
+ | ariaFilterLabel | string | - | Defines a string that labels the filter input. |
1164
+ | ariaLabel | string | - | Used to define a aria label attribute the current element. |
1165
+ | ariaLabelledBy | string | - | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
1166
+ | filterMatchMode | "gt" \| "lt" \| "in" \| "startsWith" \| "contains" \| "endsWith" \| "equals" \| "notEquals" \| "lte" \| "gte" | 'contains' | Defines how the items are filtered. |
1167
+ | tooltip | string | '' | Advisory information to display in a tooltip on hover. |
1168
+ | tooltipPosition | "top" \| "bottom" \| "left" \| "right" | 'right' | Position of the tooltip. |
1169
+ | tooltipPositionStyle | string | 'absolute' | Type of CSS position. |
1170
+ | tooltipStyleClass | string | - | Style class of the tooltip. |
1171
+ | focusOnHover | boolean | true | Fields used when filtering the options, defaults to optionLabel. |
1172
+ | selectOnFocus | boolean | false | Determines if the option will be selected on focus. |
1173
+ | autoOptionFocus | boolean | false | Whether to focus on the first visible or selected element when the overlay panel is shown. |
1174
+ | autofocusFilter | boolean | true | Applies focus to the filter element when the overlay is shown. |
1175
+ | filterValue | string | - | When specified, filter displays with this value. |
1176
+ | options | any[] | - | An array of objects to display as the available options. |
1177
+ | appendTo | any | 'self' | Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). |
1178
+ | motionOptions | MotionOptions | - | The motion options. |
1100
1179
 
1101
1180
  ### Emits
1102
1181