@exhaustive-ui/mcp 22.4.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 (205) hide show
  1. package/README.md +13 -1
  2. package/data/cards/accordion.md +91 -0
  3. package/data/cards/animateonscroll.md +155 -0
  4. package/data/cards/autocomplete.md +109 -0
  5. package/data/cards/autofocus.md +36 -0
  6. package/data/cards/avatar.md +45 -0
  7. package/data/cards/badge.md +44 -0
  8. package/data/cards/blockui.md +51 -0
  9. package/data/cards/breadcrumb.md +56 -0
  10. package/data/cards/button.md +83 -0
  11. package/data/cards/card.md +49 -0
  12. package/data/cards/carousel.md +101 -0
  13. package/data/cards/cascadeselect.md +77 -0
  14. package/data/cards/chart.md +105 -0
  15. package/data/cards/checkbox.md +59 -0
  16. package/data/cards/chip.md +50 -0
  17. package/data/cards/classnames.md +91 -0
  18. package/data/cards/colorpicker.md +52 -0
  19. package/data/cards/confirmdialog.md +119 -0
  20. package/data/cards/confirmpopup.md +96 -0
  21. package/data/cards/contextmenu.md +60 -0
  22. package/data/cards/dataview.md +134 -0
  23. package/data/cards/datepicker.md +103 -0
  24. package/data/cards/dialog.md +89 -0
  25. package/data/cards/divider.md +55 -0
  26. package/data/cards/dock.md +106 -0
  27. package/data/cards/dragdrop.md +106 -0
  28. package/data/cards/drawer.md +62 -0
  29. package/data/cards/dynamicdialog.md +103 -0
  30. package/data/cards/editor.md +55 -0
  31. package/data/cards/fieldset.md +54 -0
  32. package/data/cards/fileinput.md +72 -0
  33. package/data/cards/fileupload.md +88 -0
  34. package/data/cards/floatlabel.md +41 -0
  35. package/data/cards/fluid.md +49 -0
  36. package/data/cards/focustrap.md +64 -0
  37. package/data/cards/galleria.md +94 -0
  38. package/data/cards/iconfield.md +45 -0
  39. package/data/cards/iftalabel.md +38 -0
  40. package/data/cards/image.md +58 -0
  41. package/data/cards/imagecompare.md +45 -0
  42. package/data/cards/inplace.md +56 -0
  43. package/data/cards/inputgroup.md +77 -0
  44. package/data/cards/inputmask.md +71 -0
  45. package/data/cards/inputnumber.md +78 -0
  46. package/data/cards/inputotp.md +60 -0
  47. package/data/cards/inputtext.md +41 -0
  48. package/data/cards/keyfilter.md +49 -0
  49. package/data/cards/knob.md +55 -0
  50. package/data/cards/listbox.md +105 -0
  51. package/data/cards/megamenu.md +96 -0
  52. package/data/cards/menu.md +64 -0
  53. package/data/cards/menubar.md +102 -0
  54. package/data/cards/message.md +51 -0
  55. package/data/cards/metergroup.md +53 -0
  56. package/data/cards/multiselect.md +115 -0
  57. package/data/cards/orderlist.md +96 -0
  58. package/data/cards/organizationchart.md +84 -0
  59. package/data/cards/overlay.md +63 -0
  60. package/data/cards/paginator.md +62 -0
  61. package/data/cards/panel.md +57 -0
  62. package/data/cards/panelmenu.md +94 -0
  63. package/data/cards/password.md +81 -0
  64. package/data/cards/picklist.md +106 -0
  65. package/data/cards/popover.md +53 -0
  66. package/data/cards/progressbar.md +42 -0
  67. package/data/cards/progressspinner.md +38 -0
  68. package/data/cards/radiobutton.md +52 -0
  69. package/data/cards/rating.md +56 -0
  70. package/data/cards/ripple.md +37 -0
  71. package/data/cards/scroller.md +32 -0
  72. package/data/cards/scrollpanel.md +50 -0
  73. package/data/cards/scrolltop.md +48 -0
  74. package/data/cards/select.md +108 -0
  75. package/data/cards/selectbutton.md +64 -0
  76. package/data/cards/skeleton.md +54 -0
  77. package/data/cards/slider.md +52 -0
  78. package/data/cards/speeddial.md +102 -0
  79. package/data/cards/splitbutton.md +96 -0
  80. package/data/cards/splitter.md +52 -0
  81. package/data/cards/stepper.md +125 -0
  82. package/data/cards/styleclass.md +46 -0
  83. package/data/cards/table.md +305 -0
  84. package/data/cards/tabs.md +97 -0
  85. package/data/cards/tag.md +41 -0
  86. package/data/cards/terminal.md +76 -0
  87. package/data/cards/textarea.md +45 -0
  88. package/data/cards/tieredmenu.md +121 -0
  89. package/data/cards/timeline.md +58 -0
  90. package/data/cards/toast.md +58 -0
  91. package/data/cards/togglebutton.md +59 -0
  92. package/data/cards/toggleswitch.md +52 -0
  93. package/data/cards/toolbar.md +74 -0
  94. package/data/cards/tooltip.md +43 -0
  95. package/data/cards/tree.md +93 -0
  96. package/data/cards/treeselect.md +98 -0
  97. package/data/cards/treetable.md +231 -0
  98. package/data/components/accordion.md +31 -23
  99. package/data/components/animateonscroll.md +18 -15
  100. package/data/components/autocomplete.md +162 -93
  101. package/data/components/autofocus.md +9 -7
  102. package/data/components/avatar.md +56 -43
  103. package/data/components/badge.md +27 -18
  104. package/data/components/blockui.md +15 -8
  105. package/data/components/breadcrumb.md +20 -14
  106. package/data/components/button.md +121 -94
  107. package/data/components/card.md +12 -10
  108. package/data/components/carousel.md +75 -53
  109. package/data/components/cascadeselect.md +271 -238
  110. package/data/components/chart.md +88 -74
  111. package/data/components/checkbox.md +107 -97
  112. package/data/components/chip.md +20 -16
  113. package/data/components/classnames.md +22 -4
  114. package/data/components/colorpicker.md +54 -36
  115. package/data/components/confirmdialog.md +146 -43
  116. package/data/components/confirmpopup.md +95 -22
  117. package/data/components/contextmenu.md +110 -39
  118. package/data/components/dataview.md +176 -83
  119. package/data/components/datepicker.md +171 -141
  120. package/data/components/dialog.md +80 -68
  121. package/data/components/divider.md +17 -12
  122. package/data/components/dock.md +65 -29
  123. package/data/components/dragdrop.md +26 -12
  124. package/data/components/drawer.md +67 -48
  125. package/data/components/dynamicdialog.md +22 -13
  126. package/data/components/editor.md +42 -33
  127. package/data/components/fieldset.md +20 -17
  128. package/data/components/fileinput.md +92 -35
  129. package/data/components/fileupload.md +101 -61
  130. package/data/components/floatlabel.md +20 -11
  131. package/data/components/fluid.md +11 -9
  132. package/data/components/focustrap.md +11 -7
  133. package/data/components/galleria.md +231 -90
  134. package/data/components/iconfield.md +23 -15
  135. package/data/components/iftalabel.md +15 -9
  136. package/data/components/image.md +31 -26
  137. package/data/components/imagecompare.md +8 -6
  138. package/data/components/inplace.md +27 -22
  139. package/data/components/inputgroup.md +53 -29
  140. package/data/components/inputmask.md +107 -85
  141. package/data/components/inputnumber.md +128 -90
  142. package/data/components/inputotp.md +55 -42
  143. package/data/components/inputtext.md +72 -50
  144. package/data/components/keyfilter.md +6 -3
  145. package/data/components/knob.md +70 -58
  146. package/data/components/listbox.md +171 -141
  147. package/data/components/llms.md +4 -0
  148. package/data/components/megamenu.md +24 -23
  149. package/data/components/menu.md +37 -34
  150. package/data/components/menubar.md +27 -22
  151. package/data/components/message.md +44 -32
  152. package/data/components/metergroup.md +48 -17
  153. package/data/components/multiselect.md +232 -168
  154. package/data/components/orderlist.md +55 -48
  155. package/data/components/organizationchart.md +182 -13
  156. package/data/components/overlay.md +31 -26
  157. package/data/components/paginator.md +49 -34
  158. package/data/components/panel.md +23 -19
  159. package/data/components/panelmenu.md +51 -25
  160. package/data/components/password.md +104 -91
  161. package/data/components/picklist.md +93 -71
  162. package/data/components/popover.md +68 -46
  163. package/data/components/progressbar.md +28 -22
  164. package/data/components/progressspinner.md +13 -11
  165. package/data/components/radiobutton.md +69 -35
  166. package/data/components/rating.md +48 -40
  167. package/data/components/ripple.md +8 -6
  168. package/data/components/scroller.md +29 -29
  169. package/data/components/scrollpanel.md +9 -7
  170. package/data/components/scrolltop.md +20 -18
  171. package/data/components/select.md +248 -169
  172. package/data/components/selectbutton.md +118 -56
  173. package/data/components/skeleton.md +22 -18
  174. package/data/components/slider.md +73 -49
  175. package/data/components/speeddial.md +77 -59
  176. package/data/components/splitbutton.md +354 -329
  177. package/data/components/splitter.md +22 -18
  178. package/data/components/stepper.md +38 -21
  179. package/data/components/styleclass.md +12 -6
  180. package/data/components/table.md +524 -315
  181. package/data/components/tabs.md +44 -26
  182. package/data/components/tag.md +18 -14
  183. package/data/components/terminal.md +38 -27
  184. package/data/components/textarea.md +82 -47
  185. package/data/components/tieredmenu.md +34 -29
  186. package/data/components/timeline.md +29 -28
  187. package/data/components/toast.md +115 -57
  188. package/data/components/togglebutton.md +53 -39
  189. package/data/components/toggleswitch.md +41 -28
  190. package/data/components/toolbar.md +19 -18
  191. package/data/components/tooltip.md +43 -32
  192. package/data/components/tree.md +114 -81
  193. package/data/components/treeselect.md +176 -174
  194. package/data/components/treetable.md +1250 -1045
  195. package/data/components.json +4134 -4088
  196. package/data/llms-full.txt +8979 -6437
  197. package/data/llms.txt +100 -96
  198. package/data/manifest.json +183 -15
  199. package/data/pages/llms.md +29 -0
  200. package/data/pages/tailwind.md +20 -10
  201. package/data/snapshot.json +2 -2
  202. package/dist/index.d.mts +37 -2
  203. package/dist/index.mjs +1395 -1079
  204. package/dist/index.mjs.map +1 -1
  205. package/package.json +1 -1
@@ -18,11 +18,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
18
18
  @Component({
19
19
  template: `
20
20
  <div class="card flex justify-center">
21
- <p-date-picker [(ngModel)]="date" />
21
+ <p-date-picker [(ngModel)]="date" ariaLabel="Date" />
22
22
  </div>
23
23
  `,
24
24
  standalone: true,
25
- imports: [DatePickerModule, FormsModule]
25
+ imports: [FormsModule, DatePickerModule]
26
26
  })
27
27
  export class DatepickerBasicDemo {
28
28
  date: Date | undefined;
@@ -42,8 +42,8 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
42
42
  @Component({
43
43
  template: `
44
44
  <div class="card flex justify-center gap-4 flex-wrap">
45
- <p-date-picker [(ngModel)]="date" [showButtonBar]="true" placeholder="Basic" />
46
- <p-date-picker [(ngModel)]="dates" [showButtonBar]="true" placeholder="Customized" selectionMode="range" [readonlyInput]="true">
45
+ <p-date-picker [(ngModel)]="date" [showButtonBar]="true" placeholder="Basic" ariaLabel="Date" />
46
+ <p-date-picker [(ngModel)]="dates" [showButtonBar]="true" placeholder="Customized" selectionMode="range" [readonlyInput]="true" ariaLabel="Date range">
47
47
  <ng-template #buttonbar let-todayCallback="todayCallback" let-clearCallback="clearCallback">
48
48
  <div class="flex justify-between w-full">
49
49
  <div class="flex gap-2">
@@ -60,10 +60,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
60
60
  </div>
61
61
  `,
62
62
  standalone: true,
63
- imports: [ButtonModule, DatePickerModule, FormsModule]
63
+ imports: [FormsModule, DatePickerModule, ButtonModule]
64
64
  })
65
65
  export class DatepickerButtonbarDemo {
66
66
  date: Date | undefined;
67
+
67
68
  dates: Date[] | undefined;
68
69
  }
69
70
  ```
@@ -80,11 +81,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
80
81
  @Component({
81
82
  template: `
82
83
  <div class="card flex justify-center">
83
- <p-date-picker [(ngModel)]="date" [showClear]="true" inputStyleClass="w-56" />
84
+ <p-date-picker [(ngModel)]="date" [showClear]="true" inputStyleClass="w-56" ariaLabel="Date" />
84
85
  </div>
85
86
  `,
86
87
  standalone: true,
87
- imports: [DatePickerModule, FormsModule]
88
+ imports: [FormsModule, DatePickerModule]
88
89
  })
89
90
  export class DatepickerCleariconDemo {
90
91
  date: Date | undefined;
@@ -96,6 +97,7 @@ export class DatepickerCleariconDemo {
96
97
  Custom content can be placed inside date cells with the ng-template property that takes a Date as a parameter.
97
98
 
98
99
  ```typescript
100
+ import { CommonModule } from '@angular/common';
99
101
  import { Component } from '@angular/core';
100
102
  import { FormsModule } from '@angular/forms';
101
103
  import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
@@ -103,7 +105,7 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
103
105
  @Component({
104
106
  template: `
105
107
  <div class="card flex justify-center">
106
- <p-date-picker [(ngModel)]="date">
108
+ <p-date-picker [(ngModel)]="date" ariaLabel="Date">
107
109
  <ng-template #date let-date>
108
110
  <strong *ngIf="date.day > 10 && date.day < 15; else elseBlock" style="text-decoration: line-through">{{ date.day }}</strong>
109
111
  <ng-template #elseBlock>{{ date.day }}</ng-template>
@@ -112,7 +114,7 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
112
114
  </div>
113
115
  `,
114
116
  standalone: true,
115
- imports: [DatePickerModule, FormsModule]
117
+ imports: [CommonModule, FormsModule, DatePickerModule]
116
118
  })
117
119
  export class DatepickerDatetemplateDemo {
118
120
  date: Date[] | undefined;
@@ -131,11 +133,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
131
133
  @Component({
132
134
  template: `
133
135
  <div class="card flex justify-center">
134
- <p-date-picker [(ngModel)]="date" [disabled]="true" />
136
+ <p-date-picker [(ngModel)]="date" [disabled]="true" ariaLabel="Date" />
135
137
  </div>
136
138
  `,
137
139
  standalone: true,
138
- imports: [DatePickerModule, FormsModule]
140
+ imports: [FormsModule, DatePickerModule]
139
141
  })
140
142
  export class DatepickerDisabledDemo {
141
143
  date: Date | undefined;
@@ -234,7 +236,8 @@ import { Component } from '@angular/core';
234
236
  standalone: true,
235
237
  imports: []
236
238
  })
237
- export class DatepickerEventsDemo {}
239
+ export class DatepickerEventsDemo {
240
+ }
238
241
  ```
239
242
 
240
243
  ## Filled
@@ -249,11 +252,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
249
252
  @Component({
250
253
  template: `
251
254
  <div class="card flex justify-center">
252
- <p-date-picker [(ngModel)]="date" variant="filled" />
255
+ <p-date-picker [(ngModel)]="date" variant="filled" ariaLabel="Date" />
253
256
  </div>
254
257
  `,
255
258
  standalone: true,
256
- imports: [DatePickerModule, FormsModule]
259
+ imports: [FormsModule, DatePickerModule]
257
260
  })
258
261
  export class DatepickerFilledDemo {
259
262
  date: Date[] | undefined;
@@ -267,6 +270,7 @@ A floating label appears on top of the input field when focused. Visit FloatLabe
267
270
  ```typescript
268
271
  import { Component } from '@angular/core';
269
272
  import { FormsModule } from '@angular/forms';
273
+ import { RouterModule } from '@angular/router';
270
274
  import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
271
275
  import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
272
276
 
@@ -288,11 +292,13 @@ import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
288
292
  </div>
289
293
  `,
290
294
  standalone: true,
291
- imports: [DatePickerModule, FloatLabelModule, FormsModule]
295
+ imports: [FormsModule, RouterModule, DatePickerModule, FloatLabelModule]
292
296
  })
293
297
  export class DatepickerFloatlabelDemo {
294
298
  value1: Date | undefined;
299
+
295
300
  value2: Date | undefined;
301
+
296
302
  value3: Date | undefined;
297
303
  }
298
304
  ```
@@ -309,11 +315,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
309
315
  @Component({
310
316
  template: `
311
317
  <div class="card">
312
- <p-date-picker [(ngModel)]="date" fluid />
318
+ <p-date-picker [(ngModel)]="date" fluid ariaLabel="Date" />
313
319
  </div>
314
320
  `,
315
321
  standalone: true,
316
- imports: [DatePickerModule, FormsModule]
322
+ imports: [FormsModule, DatePickerModule]
317
323
  })
318
324
  export class DatepickerFluidDemo {
319
325
  date: Date | undefined;
@@ -332,11 +338,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
332
338
  @Component({
333
339
  template: `
334
340
  <div class="card flex justify-center">
335
- <p-date-picker [(ngModel)]="date" dateFormat="dd.mm.yy" />
341
+ <p-date-picker [(ngModel)]="date" dateFormat="dd.mm.yy" ariaLabel="Date" />
336
342
  </div>
337
343
  `,
338
344
  standalone: true,
339
- imports: [DatePickerModule, FormsModule]
345
+ imports: [FormsModule, DatePickerModule]
340
346
  })
341
347
  export class DatepickerFormatDemo {
342
348
  date: Date | undefined;
@@ -351,6 +357,7 @@ An additional icon is displayed next to the input field when showIcon is present
351
357
  import { Component } from '@angular/core';
352
358
  import { FormsModule } from '@angular/forms';
353
359
  import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
360
+ import { FluidModule } from '@exhaustive-ui/core/fluid';
354
361
 
355
362
  @Component({
356
363
  template: `
@@ -374,11 +381,13 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
374
381
  </p-fluid>
375
382
  `,
376
383
  standalone: true,
377
- imports: [DatePickerModule, FormsModule]
384
+ imports: [FormsModule, DatePickerModule, FluidModule]
378
385
  })
379
386
  export class DatepickerIconDemo {
380
387
  date1: Date | undefined;
388
+
381
389
  date2: Date | undefined;
390
+
382
391
  date3: Date | undefined;
383
392
  }
384
393
  ```
@@ -390,6 +399,7 @@ IftaLabel is used to create infield top aligned labels. Visit IftaLabel document
390
399
  ```typescript
391
400
  import { Component } from '@angular/core';
392
401
  import { FormsModule } from '@angular/forms';
402
+ import { RouterModule } from '@angular/router';
393
403
  import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
394
404
  import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
395
405
 
@@ -403,7 +413,7 @@ import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
403
413
  </div>
404
414
  `,
405
415
  standalone: true,
406
- imports: [DatePickerModule, IftaLabelModule, FormsModule]
416
+ imports: [FormsModule, RouterModule, DatePickerModule, IftaLabelModule]
407
417
  })
408
418
  export class DatepickerIftalabelDemo {
409
419
  value: Date | undefined;
@@ -426,7 +436,7 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
426
436
  </div>
427
437
  `,
428
438
  standalone: true,
429
- imports: [DatePickerModule, FormsModule]
439
+ imports: [FormsModule, DatePickerModule]
430
440
  })
431
441
  export class DatepickerInlineDemo {
432
442
  date: Date[] | undefined;
@@ -445,15 +455,16 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
445
455
  @Component({
446
456
  template: `
447
457
  <div class="card flex flex-wrap justify-center gap-4">
448
- <p-date-picker [(ngModel)]="date1" [invalid]="!date1" placeholder="Date" />
449
- <p-date-picker [(ngModel)]="date2" [invalid]="!date2" variant="filled" placeholder="Date" />
458
+ <p-date-picker [(ngModel)]="date1" [invalid]="!date1" placeholder="Date" ariaLabel="Date" />
459
+ <p-date-picker [(ngModel)]="date2" [invalid]="!date2" variant="filled" placeholder="Date" ariaLabel="Date" />
450
460
  </div>
451
461
  `,
452
462
  standalone: true,
453
- imports: [DatePickerModule, FormsModule]
463
+ imports: [FormsModule, DatePickerModule]
454
464
  })
455
465
  export class DatepickerInvalidDemo {
456
466
  date1: Date | undefined;
467
+
457
468
  date2: Date | undefined;
458
469
  }
459
470
  ```
@@ -475,11 +486,11 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
475
486
  @Component({
476
487
  template: `
477
488
  <div class="card flex justify-center">
478
- <p-date-picker [(ngModel)]="date" dateFormat="dd/mm/yy" placeholder="dd/mm/yyyy" pInputMask="99/99/9999" />
489
+ <p-date-picker [(ngModel)]="date" dateFormat="dd/mm/yy" placeholder="dd/mm/yyyy" pInputMask="99/99/9999" ariaLabel="Date" />
479
490
  </div>
480
491
  `,
481
492
  standalone: true,
482
- imports: [DatePickerModule, InputMaskModule, FormsModule]
493
+ imports: [FormsModule, DatePickerModule, InputMaskModule]
483
494
  })
484
495
  export class DatepickerMaskDemo {
485
496
  date: Date | undefined;
@@ -517,7 +528,8 @@ import { Component } from '@angular/core';
517
528
  standalone: true,
518
529
  imports: []
519
530
  })
520
- export class DatepickerMethodsDemo {}
531
+ export class DatepickerMethodsDemo {
532
+ }
521
533
  ```
522
534
 
523
535
  ## Min / Max
@@ -532,15 +544,17 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
532
544
  @Component({
533
545
  template: `
534
546
  <div class="card flex justify-center">
535
- <p-date-picker [(ngModel)]="date" [minDate]="minDate" [maxDate]="maxDate" [readonlyInput]="true" />
547
+ <p-date-picker [(ngModel)]="date" [minDate]="minDate" [maxDate]="maxDate" [readonlyInput]="true" ariaLabel="Date" />
536
548
  </div>
537
549
  `,
538
550
  standalone: true,
539
- imports: [DatePickerModule, FormsModule]
551
+ imports: [FormsModule, DatePickerModule]
540
552
  })
541
553
  export class DatepickerMinmaxDemo implements OnInit {
542
554
  date: Date | undefined;
555
+
543
556
  minDate: Date | undefined;
557
+
544
558
  maxDate: Date | undefined;
545
559
 
546
560
  ngOnInit() {
@@ -573,11 +587,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
573
587
  @Component({
574
588
  template: `
575
589
  <div class="card flex justify-center">
576
- <p-date-picker [(ngModel)]="date" view="month" dateFormat="mm/yy" [readonlyInput]="true" />
590
+ <p-date-picker [(ngModel)]="date" view="month" dateFormat="mm/yy" [readonlyInput]="true" ariaLabel="Month" />
577
591
  </div>
578
592
  `,
579
593
  standalone: true,
580
- imports: [DatePickerModule, FormsModule]
594
+ imports: [FormsModule, DatePickerModule]
581
595
  })
582
596
  export class DatepickerMonthDemo {
583
597
  date: Date[] | undefined;
@@ -596,11 +610,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
596
610
  @Component({
597
611
  template: `
598
612
  <div class="card flex justify-center">
599
- <p-date-picker [(ngModel)]="dates" selectionMode="multiple" [readonlyInput]="true" />
613
+ <p-date-picker [(ngModel)]="dates" selectionMode="multiple" [readonlyInput]="true" ariaLabel="Dates" />
600
614
  </div>
601
615
  `,
602
616
  standalone: true,
603
- imports: [DatePickerModule, FormsModule]
617
+ imports: [FormsModule, DatePickerModule]
604
618
  })
605
619
  export class DatepickerMultipleDemo {
606
620
  dates: Date[] | undefined;
@@ -619,11 +633,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
619
633
  @Component({
620
634
  template: `
621
635
  <div class="card flex justify-center">
622
- <p-date-picker [(ngModel)]="date" [numberOfMonths]="2" />
636
+ <p-date-picker [(ngModel)]="date" [numberOfMonths]="2" ariaLabel="Date" />
623
637
  </div>
624
638
  `,
625
639
  standalone: true,
626
- imports: [DatePickerModule, FormsModule]
640
+ imports: [FormsModule, DatePickerModule]
627
641
  })
628
642
  export class DatepickerMultiplemonthsDemo {
629
643
  date: Date[] | undefined;
@@ -642,11 +656,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
642
656
  @Component({
643
657
  template: `
644
658
  <div class="card flex justify-center">
645
- <p-date-picker [(ngModel)]="rangeDates" selectionMode="range" [readonlyInput]="true" />
659
+ <p-date-picker [(ngModel)]="rangeDates" selectionMode="range" [readonlyInput]="true" ariaLabel="Date range" />
646
660
  </div>
647
661
  `,
648
662
  standalone: true,
649
- imports: [DatePickerModule, FormsModule]
663
+ imports: [FormsModule, DatePickerModule]
650
664
  })
651
665
  export class DatepickerRangeDemo {
652
666
  rangeDates: Date[] | undefined;
@@ -659,12 +673,12 @@ DatePicker can also be used with reactive forms. In this case, the formControlNa
659
673
 
660
674
  ```typescript
661
675
  import { Component, inject } from '@angular/core';
662
- import { ReactiveFormsModule } from '@angular/forms';
676
+ import { FormBuilder, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';
677
+ import { MessageService } from '@exhaustive-ui/core/api';
678
+ import { ButtonModule } from '@exhaustive-ui/core/button';
663
679
  import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
664
680
  import { MessageModule } from '@exhaustive-ui/core/message';
665
681
  import { ToastModule } from '@exhaustive-ui/core/toast';
666
- import { ButtonModule } from '@exhaustive-ui/core/button';
667
- import { MessageService } from '@exhaustive-ui/core/api';
668
682
 
669
683
  @Component({
670
684
  template: `
@@ -672,7 +686,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
672
686
  <div class="card flex justify-center">
673
687
  <form [formGroup]="exampleForm" (ngSubmit)="onSubmit()" class="flex flex-col gap-4">
674
688
  <div class="flex flex-col gap-1">
675
- <p-date-picker formControlName="selectedDate" [invalid]="isInvalid('selectedDate')" />
689
+ <p-date-picker formControlName="selectedDate" [invalid]="isInvalid('selectedDate')" ariaLabel="Date" />
676
690
  @if (isInvalid('selectedDate')) {
677
691
  <p-message severity="error" size="small" variant="simple">Date is required.</p-message>
678
692
  }
@@ -682,17 +696,22 @@ import { MessageService } from '@exhaustive-ui/core/api';
682
696
  </div>
683
697
  `,
684
698
  standalone: true,
685
- imports: [DatePickerModule, MessageModule, ToastModule, ButtonModule, ReactiveFormsModule]
699
+ imports: [ReactiveFormsModule, DatePickerModule, MessageModule, ToastModule, ButtonModule],
700
+ providers: [MessageService]
686
701
  })
687
702
  export class DatepickerReactiveformsDemo {
703
+ private fb = inject(FormBuilder);
704
+
688
705
  messageService = inject(MessageService);
706
+
689
707
  exampleForm: FormGroup | undefined;
708
+
690
709
  formSubmitted: boolean = false;
691
710
 
692
711
  constructor() {
693
712
  this.exampleForm = this.fb.group({
694
- selectedDate: ['', Validators.required]
695
- });
713
+ selectedDate: ['', Validators.required]
714
+ });
696
715
  }
697
716
 
698
717
  onSubmit() {
@@ -718,11 +737,11 @@ DatePicker can also be used with Angular Signal Forms , the @angular/forms/signa
718
737
  ```typescript
719
738
  import { Component, inject, signal } from '@angular/core';
720
739
  import { form, FormField, required, submit } from '@angular/forms/signals';
740
+ import { MessageService } from '@exhaustive-ui/core/api';
721
741
  import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
722
- import { MessageModule } from '@exhaustive-ui/core/message';
723
- import { ToastModule } from '@exhaustive-ui/core/toast';
724
742
  import { ButtonModule } from '@exhaustive-ui/core/button';
725
- import { MessageService } from '@exhaustive-ui/core/api';
743
+ import { ToastModule } from '@exhaustive-ui/core/toast';
744
+ import { MessageModule } from '@exhaustive-ui/core/message';
726
745
 
727
746
  @Component({
728
747
  template: `
@@ -730,7 +749,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
730
749
  <div class="card flex justify-center">
731
750
  <form novalidate (submit)="onSubmit($event)" class="flex flex-col gap-4">
732
751
  <div class="flex flex-col gap-1">
733
- <p-date-picker [formField]="exampleForm.selectedDate" />
752
+ <p-date-picker [formField]="exampleForm.selectedDate" ariaLabel="Date" />
734
753
  @let selectedDate = exampleForm.selectedDate();
735
754
  @if (selectedDate.invalid() && selectedDate.touched()) {
736
755
  <p-message severity="error" size="small" variant="simple">Date is required.</p-message>
@@ -741,11 +760,14 @@ import { MessageService } from '@exhaustive-ui/core/api';
741
760
  </div>
742
761
  `,
743
762
  standalone: true,
744
- imports: [DatePickerModule, MessageModule, ToastModule, ButtonModule, FormField]
763
+ imports: [FormField, DatePickerModule, ButtonModule, ToastModule, MessageModule],
764
+ providers: [MessageService]
745
765
  })
746
766
  export class DatepickerSignalformsDemo {
747
767
  messageService = inject(MessageService);
768
+
748
769
  model = signal<{ selectedDate: Date | null }>({ selectedDate: null });
770
+
749
771
  exampleForm = form(this.model, (f) => {
750
772
  required(f.selectedDate);
751
773
  });
@@ -772,17 +794,19 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
772
794
  @Component({
773
795
  template: `
774
796
  <div class="card flex flex-col items-center gap-4">
775
- <p-date-picker [(ngModel)]="value1" size="small" placeholder="Small" showIcon iconDisplay="input" />
776
- <p-date-picker [(ngModel)]="value2" placeholder="Normal" showIcon iconDisplay="input" />
777
- <p-date-picker [(ngModel)]="value3" size="large" placeholder="Large" showIcon iconDisplay="input" />
797
+ <p-date-picker [(ngModel)]="value1" size="small" placeholder="Small" showIcon iconDisplay="input" ariaLabel="Small" />
798
+ <p-date-picker [(ngModel)]="value2" placeholder="Normal" showIcon iconDisplay="input" ariaLabel="Normal" />
799
+ <p-date-picker [(ngModel)]="value3" size="large" placeholder="Large" showIcon iconDisplay="input" ariaLabel="Large" />
778
800
  </div>
779
801
  `,
780
802
  standalone: true,
781
- imports: [DatePickerModule, FormsModule]
803
+ imports: [FormsModule, DatePickerModule]
782
804
  })
783
805
  export class DatepickerSizesDemo {
784
806
  value1: Date | undefined;
807
+
785
808
  value2: Date | undefined;
809
+
786
810
  value3: Date | undefined;
787
811
  }
788
812
  ```
@@ -799,14 +823,14 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
799
823
  @Component({
800
824
  template: `
801
825
  <div class="card flex justify-center">
802
- <p-date-picker [(ngModel)]="date">
826
+ <p-date-picker [(ngModel)]="date" ariaLabel="Date">
803
827
  <ng-template #header>Header</ng-template>
804
828
  <ng-template #footer>Footer</ng-template>
805
829
  </p-date-picker>
806
830
  </div>
807
831
  `,
808
832
  standalone: true,
809
- imports: [DatePickerModule, FormsModule]
833
+ imports: [FormsModule, DatePickerModule]
810
834
  })
811
835
  export class DatepickerTemplateDemo {
812
836
  date: Date[] | undefined;
@@ -818,11 +842,11 @@ export class DatepickerTemplateDemo {
818
842
  ```typescript
819
843
  import { Component, inject } from '@angular/core';
820
844
  import { FormsModule } from '@angular/forms';
845
+ import { MessageService } from '@exhaustive-ui/core/api';
846
+ import { ButtonModule } from '@exhaustive-ui/core/button';
821
847
  import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
822
848
  import { MessageModule } from '@exhaustive-ui/core/message';
823
849
  import { ToastModule } from '@exhaustive-ui/core/toast';
824
- import { ButtonModule } from '@exhaustive-ui/core/button';
825
- import { MessageService } from '@exhaustive-ui/core/api';
826
850
 
827
851
  @Component({
828
852
  template: `
@@ -830,7 +854,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
830
854
  <div class="card flex justify-center">
831
855
  <form #exampleForm="ngForm" (ngSubmit)="onSubmit(exampleForm)" class="flex flex-col gap-4">
832
856
  <div class="flex flex-col gap-1">
833
- <p-date-picker name="date" [invalid]="dateModel.invalid && (dateModel.touched || exampleForm.submitted)" #dateModel="ngModel" [(ngModel)]="date" required />
857
+ <p-date-picker name="date" [invalid]="dateModel.invalid && (dateModel.touched || exampleForm.submitted)" #dateModel="ngModel" [(ngModel)]="date" required ariaLabel="Date" />
834
858
  @if (dateModel.invalid && (dateModel.touched || exampleForm.submitted)) {
835
859
  <p-message severity="error" size="small" variant="simple">Date is required.</p-message>
836
860
  }
@@ -840,10 +864,12 @@ import { MessageService } from '@exhaustive-ui/core/api';
840
864
  </div>
841
865
  `,
842
866
  standalone: true,
843
- imports: [DatePickerModule, MessageModule, ToastModule, ButtonModule, FormsModule]
867
+ imports: [FormsModule, DatePickerModule, MessageModule, ToastModule, ButtonModule],
868
+ providers: [MessageService]
844
869
  })
845
870
  export class DatepickerTemplatedrivenformsDemo {
846
871
  messageService = inject(MessageService);
872
+
847
873
  date: Date | undefined;
848
874
 
849
875
  onSubmit(form: any) {
@@ -918,7 +944,8 @@ import { Component } from '@angular/core';
918
944
  standalone: true,
919
945
  imports: []
920
946
  })
921
- export class DatepickerTemplatesDemo {}
947
+ export class DatepickerTemplatesDemo {
948
+ }
922
949
  ```
923
950
 
924
951
  ## Time
@@ -929,6 +956,7 @@ A time picker is displayed when showTime is enabled where 12/24 hour format is c
929
956
  import { Component } from '@angular/core';
930
957
  import { FormsModule } from '@angular/forms';
931
958
  import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
959
+ import { FluidModule } from '@exhaustive-ui/core/fluid';
932
960
 
933
961
  @Component({
934
962
  template: `
@@ -948,11 +976,13 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
948
976
  </p-fluid>
949
977
  `,
950
978
  standalone: true,
951
- imports: [DatePickerModule, FormsModule]
979
+ imports: [FormsModule, DatePickerModule, FluidModule]
952
980
  })
953
981
  export class DatepickerTimeDemo {
954
982
  datetime12h: Date[] | undefined;
983
+
955
984
  datetime24h: Date[] | undefined;
985
+
956
986
  time: Date[] | undefined;
957
987
  }
958
988
  ```
@@ -969,11 +999,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
969
999
  @Component({
970
1000
  template: `
971
1001
  <div class="card flex justify-center">
972
- <p-date-picker [(ngModel)]="date" [touchUI]="true" [readonlyInput]="true" />
1002
+ <p-date-picker [(ngModel)]="date" [touchUI]="true" [readonlyInput]="true" ariaLabel="Date" />
973
1003
  </div>
974
1004
  `,
975
1005
  standalone: true,
976
- imports: [DatePickerModule, FormsModule]
1006
+ imports: [FormsModule, DatePickerModule]
977
1007
  })
978
1008
  export class DatepickerTouchuiDemo {
979
1009
  date: Date[] | undefined;
@@ -992,11 +1022,11 @@ import { DatePickerModule } from '@exhaustive-ui/core/datepicker';
992
1022
  @Component({
993
1023
  template: `
994
1024
  <div class="card flex justify-center">
995
- <p-date-picker [(ngModel)]="date" view="year" dateFormat="yy" />
1025
+ <p-date-picker [(ngModel)]="date" view="year" dateFormat="yy" ariaLabel="Year" />
996
1026
  </div>
997
1027
  `,
998
1028
  standalone: true,
999
- imports: [DatePickerModule, FormsModule]
1029
+ imports: [FormsModule, DatePickerModule]
1000
1030
  })
1001
1031
  export class DatepickerYearDemo {
1002
1032
  date: Date[] | undefined;
@@ -1011,81 +1041,81 @@ DatePicker is a form component to work with dates.
1011
1041
 
1012
1042
  | Name | Type | Default | Description |
1013
1043
  |------|------|---------|-------------|
1014
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
1015
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
1016
- | pt | InputSignal<DatePickerPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
1017
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
1018
- | required | InputSignalWithTransform<boolean, unknown> | false | There must be a value (if set). |
1019
- | invalid | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have invalid state style. |
1020
- | disabled | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have disabled state style. |
1021
- | name | InputSignal<string> | undefined | When present, it specifies that the name of the input. |
1022
- | fluid | InputSignalWithTransform<boolean, unknown> | false | Spans 100% width of the container when enabled. |
1023
- | variant | InputSignal<"outlined" \| "filled"> | 'outlined' | Specifies the input variant of the component. |
1024
- | size | InputSignal<"small" \| "large"> | undefined | Specifies the size of the component. |
1025
- | inputSize | InputSignal<number> | undefined | Specifies the visible width of the input element in characters. |
1026
- | pattern | InputSignalWithTransform<string, string \| readonly RegExp[]> | undefined | Specifies the value must match the pattern. |
1027
- | min | InputSignalWithTransform<number, unknown> | undefined | The value must be greater than or equal to the value. |
1028
- | max | InputSignalWithTransform<number, unknown> | undefined | The value must be less than or equal to the value. |
1029
- | step | InputSignal<number> | undefined | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. |
1030
- | minlength | InputSignal<number> | undefined | The number of characters (code points) must not be less than the value of the attribute, if non-empty. |
1031
- | maxlength | InputSignal<number> | undefined | The number of characters (code points) must not exceed the value of the attribute. |
1032
- | inputStyle | InputSignal<{ [klass: string]: any }> | ... | Inline style of the input field. |
1033
- | inputId | InputSignal<string> | ... | Identifier of the focus input to match a label defined for the component. |
1034
- | inputStyleClass | InputSignal<string> | ... | Style class of the input field. |
1035
- | placeholder | InputSignal<string> | ... | Placeholder text for the input. |
1036
- | ariaLabelledBy | InputSignal<string> | ... | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
1037
- | ariaLabel | InputSignal<string> | ... | Defines a string that labels the input for accessibility. |
1038
- | ariaDescribedBy | InputSignal<string> | ... | Establishes relationships between the input and the element(s) that describe it, as one or more element IDs. |
1039
- | iconAriaLabel | InputSignal<string> | ... | Defines a string that labels the icon button for accessibility. |
1040
- | dateFormat | InputSignal<string> | ... | Format of the date which can also be defined at locale settings. |
1041
- | multipleSeparator | InputSignal<string> | ... | Separator for multiple selection mode. |
1042
- | rangeSeparator | InputSignal<string> | ... | Separator for joining start and end dates on range selection mode. |
1043
- | inline | InputSignalWithTransform<boolean, unknown> | ... | When enabled, displays the datepicker as inline. Default is false for popup mode. |
1044
- | showOtherMonths | InputSignalWithTransform<boolean, unknown> | ... | Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option. |
1045
- | selectOtherMonths | InputSignalWithTransform<boolean, unknown> | ... | Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true. |
1046
- | showIcon | InputSignalWithTransform<boolean, unknown> | ... | When enabled, displays a button with icon next to input. |
1047
- | icon | InputSignal<string> | ... | Icon of the datepicker button. |
1048
- | readonlyInput | InputSignalWithTransform<boolean, unknown> | ... | When specified, prevents entering the date manually with keyboard. |
1049
- | shortYearCutoff | InputSignal<any> | ... | The cutoff year for determining the century for a date. |
1050
- | hourFormat | InputSignalWithTransform<string, string \| number> | ... | Specifies 12 or 24 hour format. |
1051
- | timeOnly | InputSignalWithTransform<boolean, unknown> | ... | Whether to display timepicker only. |
1052
- | stepHour | InputSignalWithTransform<number, unknown> | ... | Hours to change per step. |
1053
- | stepMinute | InputSignalWithTransform<number, unknown> | ... | Minutes to change per step. |
1054
- | stepSecond | InputSignalWithTransform<number, unknown> | ... | Seconds to change per step. |
1055
- | showSeconds | InputSignalWithTransform<boolean, unknown> | ... | Whether to show the seconds in time picker. |
1056
- | showOnFocus | InputSignalWithTransform<boolean, unknown> | ... | When disabled, datepicker will not be visible with input focus. |
1057
- | showWeek | InputSignalWithTransform<boolean, unknown> | ... | When enabled, datepicker will show week numbers. |
1058
- | startWeekFromFirstDayOfYear | InputSignal<boolean> | ... | When enabled, datepicker will start week numbers from first day of the year. |
1059
- | showClear | InputSignalWithTransform<boolean, unknown> | ... | When enabled, a clear icon is displayed to clear the value. |
1060
- | dataType | InputSignal<string> | ... | Type of the value to write back to ngModel, default is date and alternative is string. |
1061
- | selectionMode | InputSignal<"multiple" \| "single" \| "range"> | ... | Defines the quantity of the selection, valid values are "single", "multiple" and "range". |
1062
- | maxDateCount | InputSignalWithTransform<number, unknown> | ... | Maximum number of selectable dates in multiple mode. |
1063
- | showButtonBar | InputSignalWithTransform<boolean, unknown> | ... | Whether to display today and clear buttons at the footer |
1064
- | todayButtonStyleClass | InputSignal<string> | ... | Style class of the today button. |
1065
- | clearButtonStyleClass | InputSignal<string> | ... | Style class of the clear button. |
1066
- | autofocus | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the component should automatically get focus on load. |
1067
- | autoZIndex | InputSignalWithTransform<boolean, unknown> | ... | Whether to automatically manage layering. |
1068
- | baseZIndex | InputSignalWithTransform<number, unknown> | ... | Base zIndex value to use in layering. |
1069
- | panelStyleClass | InputSignal<string> | ... | Style class of the datetimepicker container element. |
1070
- | panelStyle | InputSignal<any> | ... | Inline style of the datetimepicker container element. |
1071
- | keepInvalid | InputSignalWithTransform<boolean, unknown> | ... | Keep invalid value when input blur. |
1072
- | hideOnDateTimeSelect | InputSignalWithTransform<boolean, unknown> | ... | Whether to hide the overlay on date selection. |
1073
- | touchUI | InputSignalWithTransform<boolean, unknown> | ... | When enabled, datepicker overlay is displayed as optimized for touch devices. |
1074
- | timeSeparator | InputSignal<string> | ... | Separator of time selector. |
1075
- | focusTrap | InputSignalWithTransform<boolean, unknown> | ... | When enabled, can only focus on elements inside the datepicker. |
1076
- | tabindex | InputSignalWithTransform<number, unknown> | ... | Index of the element in tabbing order. |
1077
- | minDate | InputSignal<Date> | ... | The minimum selectable date. |
1078
- | maxDate | InputSignal<Date> | ... | The maximum selectable date. |
1079
- | disabledDates | InputSignal<Date[]> | ... | Array with dates that should be disabled (not selectable). |
1080
- | disabledDays | InputSignal<number[]> | ... | Array with weekday numbers that should be disabled (not selectable). |
1081
- | showTime | InputSignal<boolean> | ... | Whether to display timepicker. |
1082
- | responsiveOptions | InputSignal<DatePickerResponsiveOptions[]> | ... | An array of options for responsive design. |
1083
- | numberOfMonths | InputSignal<number> | ... | Number of months to display. |
1084
- | firstDayOfWeek | InputSignal<number> | ... | Defines the first of the week for various date calculations. |
1085
- | view | InputSignal<DatePickerTypeView> | ... | Type of view to display, valid values are "date" for datepicker and "month" for month picker. |
1086
- | defaultDate | InputSignal<Date> | ... | Set the date to highlight on first opening if the field is blank. |
1087
- | 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). |
1088
- | motionOptions | InputSignal<MotionOptions> | ... | The motion options. |
1044
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
1045
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
1046
+ | pt | DatePickerPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
1047
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
1048
+ | required | boolean | false | There must be a value (if set). |
1049
+ | invalid | boolean | false | When present, it specifies that the component should have invalid state style. |
1050
+ | disabled | boolean | false | When present, it specifies that the component should have disabled state style. |
1051
+ | name | string | undefined | When present, it specifies that the name of the input. |
1052
+ | fluid | boolean | false | Spans 100% width of the container when enabled. |
1053
+ | variant | "outlined" \| "filled" | 'outlined' | Specifies the input variant of the component. |
1054
+ | size | "small" \| "large" | undefined | Specifies the size of the component. |
1055
+ | inputSize | number | undefined | Specifies the visible width of the input element in characters. |
1056
+ | pattern | string | undefined | Specifies the value must match the pattern. |
1057
+ | min | number | undefined | The value must be greater than or equal to the value. |
1058
+ | max | number | undefined | The value must be less than or equal to the value. |
1059
+ | step | number | undefined | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. |
1060
+ | minlength | number | undefined | The number of characters (code points) must not be less than the value of the attribute, if non-empty. |
1061
+ | maxlength | number | undefined | The number of characters (code points) must not exceed the value of the attribute. |
1062
+ | inputStyle | { [klass: string]: any } | - | Inline style of the input field. |
1063
+ | inputId | string | - | Identifier of the focus input to match a label defined for the component. |
1064
+ | inputStyleClass | string | - | Style class of the input field. |
1065
+ | placeholder | string | - | Placeholder text for the input. |
1066
+ | ariaLabelledBy | string | - | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
1067
+ | ariaLabel | string | - | Defines a string that labels the input for accessibility. |
1068
+ | ariaDescribedBy | string | - | Establishes relationships between the input and the element(s) that describe it, as one or more element IDs. |
1069
+ | iconAriaLabel | string | - | Defines a string that labels the icon button for accessibility. |
1070
+ | dateFormat | string | - | Format of the date which can also be defined at locale settings. |
1071
+ | multipleSeparator | string | ',' | Separator for multiple selection mode. |
1072
+ | rangeSeparator | string | '-' | Separator for joining start and end dates on range selection mode. |
1073
+ | inline | boolean | false | When enabled, displays the datepicker as inline. Default is false for popup mode. |
1074
+ | showOtherMonths | boolean | true | Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option. |
1075
+ | selectOtherMonths | boolean | - | Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true. |
1076
+ | showIcon | boolean | - | When enabled, displays a button with icon next to input. |
1077
+ | icon | string | - | Icon of the datepicker button. |
1078
+ | readonlyInput | boolean | - | When specified, prevents entering the date manually with keyboard. |
1079
+ | shortYearCutoff | any | '+10' | The cutoff year for determining the century for a date. |
1080
+ | hourFormat | string | '24' | Specifies 12 or 24 hour format. |
1081
+ | timeOnly | boolean | - | Whether to display timepicker only. |
1082
+ | stepHour | number | 1 | Hours to change per step. |
1083
+ | stepMinute | number | 1 | Minutes to change per step. |
1084
+ | stepSecond | number | 1 | Seconds to change per step. |
1085
+ | showSeconds | boolean | false | Whether to show the seconds in time picker. |
1086
+ | showOnFocus | boolean | true | When disabled, datepicker will not be visible with input focus. |
1087
+ | showWeek | boolean | false | When enabled, datepicker will show week numbers. |
1088
+ | startWeekFromFirstDayOfYear | boolean | false | When enabled, datepicker will start week numbers from first day of the year. |
1089
+ | showClear | boolean | false | When enabled, a clear icon is displayed to clear the value. |
1090
+ | dataType | string | 'date' | Type of the value to write back to ngModel, default is date and alternative is string. |
1091
+ | selectionMode | "multiple" \| "single" \| "range" | 'single' | Defines the quantity of the selection, valid values are "single", "multiple" and "range". |
1092
+ | maxDateCount | number | - | Maximum number of selectable dates in multiple mode. |
1093
+ | showButtonBar | boolean | - | Whether to display today and clear buttons at the footer |
1094
+ | todayButtonStyleClass | string | - | Style class of the today button. |
1095
+ | clearButtonStyleClass | string | - | Style class of the clear button. |
1096
+ | autofocus | boolean | - | When present, it specifies that the component should automatically get focus on load. |
1097
+ | autoZIndex | boolean | true | Whether to automatically manage layering. |
1098
+ | baseZIndex | number | 0 | Base zIndex value to use in layering. |
1099
+ | panelStyleClass | string | - | Style class of the datetimepicker container element. |
1100
+ | panelStyle | any | - | Inline style of the datetimepicker container element. |
1101
+ | keepInvalid | boolean | false | Keep invalid value when input blur. |
1102
+ | hideOnDateTimeSelect | boolean | true | Whether to hide the overlay on date selection. |
1103
+ | touchUI | boolean | - | When enabled, datepicker overlay is displayed as optimized for touch devices. |
1104
+ | timeSeparator | string | ':' | Separator of time selector. |
1105
+ | focusTrap | boolean | true | When enabled, can only focus on elements inside the datepicker. |
1106
+ | tabindex | number | - | Index of the element in tabbing order. |
1107
+ | minDate | Date | - | The minimum selectable date. |
1108
+ | maxDate | Date | - | The maximum selectable date. |
1109
+ | disabledDates | Date[] | - | Array with dates that should be disabled (not selectable). |
1110
+ | disabledDays | number[] | - | Array with weekday numbers that should be disabled (not selectable). |
1111
+ | showTime | boolean | - | Whether to display timepicker. |
1112
+ | responsiveOptions | DatePickerResponsiveOptions[] | - | An array of options for responsive design. |
1113
+ | numberOfMonths | number | 1 | Number of months to display. |
1114
+ | firstDayOfWeek | number | - | Defines the first of the week for various date calculations. |
1115
+ | view | DatePickerTypeView | 'date' | Type of view to display, valid values are "date" for datepicker and "month" for month picker. |
1116
+ | defaultDate | Date | - | Set the date to highlight on first opening if the field is blank. |
1117
+ | 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). |
1118
+ | motionOptions | MotionOptions | - | The motion options. |
1089
1119
 
1090
1120
  ### Emits
1091
1121