@4sh/ui-kit 0.15.0 → 0.17.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 (220) hide show
  1. package/README.fr.md +18 -10
  2. package/README.md +18 -10
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
  4. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
  6. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
  8. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  9. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
  10. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
  11. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
  12. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
  14. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -953
  16. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  17. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
  18. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
  19. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2039
  20. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  21. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
  22. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  23. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
  24. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
  25. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
  26. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  27. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
  28. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
  30. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
  31. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
  32. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
  33. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -130
  34. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  35. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -246
  36. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  37. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -291
  38. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  39. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
  40. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  41. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -194
  42. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  43. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
  44. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
  45. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
  46. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
  47. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
  48. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  49. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
  50. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  51. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
  52. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  53. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
  54. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  55. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
  56. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  57. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
  58. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  59. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
  60. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
  61. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -131
  62. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  63. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
  64. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
  65. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
  66. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
  67. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
  68. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  69. package/fesm2022/4sh-ui-kit-forms.mjs +723 -596
  70. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  71. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
  72. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  73. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
  74. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
  75. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
  76. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
  77. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
  78. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
  79. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
  80. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
  81. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
  82. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  83. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
  84. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
  85. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
  86. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
  87. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
  88. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  89. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
  90. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  91. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
  92. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
  93. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
  94. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
  95. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
  96. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  97. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
  98. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  99. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
  100. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  101. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
  102. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  103. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
  104. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
  105. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
  106. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
  107. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
  108. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  109. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
  110. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  111. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
  112. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  113. package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
  114. package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
  115. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
  116. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
  117. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
  118. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  119. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
  120. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
  121. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
  122. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  123. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
  124. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  125. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
  126. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  127. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
  128. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  129. package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
  130. package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
  131. package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
  132. package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
  133. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
  134. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  135. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
  136. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  137. package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
  138. package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
  139. package/fesm2022/4sh-ui-kit-types.mjs +0 -12
  140. package/fesm2022/4sh-ui-kit.mjs +3 -15
  141. package/fesm2022/4sh-ui-kit.mjs.map +1 -1
  142. package/mcp/data/component-api.json +313 -2
  143. package/mcp/data/text-search-docs.json +177 -17
  144. package/mcp/data/ui-config.json +378 -1
  145. package/mcp/index.js +8190 -2876
  146. package/mcp/package.json +1 -1
  147. package/package.json +5 -1
  148. package/styles/component-vars.scss +22 -1
  149. package/styles/utils/_mixins.scss +11 -0
  150. package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
  151. package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
  152. package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
  153. package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
  154. package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
  155. package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
  156. package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +577 -367
  157. package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
  158. package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
  159. package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
  160. package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
  161. package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
  162. package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
  163. package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
  164. package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
  165. package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -57
  166. package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -93
  167. package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -100
  168. package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
  169. package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -116
  170. package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
  171. package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
  172. package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
  173. package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
  174. package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
  175. package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
  176. package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
  177. package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
  178. package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
  179. package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -54
  180. package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
  181. package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
  182. package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
  183. package/types/4sh-ui-kit-forms.d.ts +291 -186
  184. package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
  185. package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
  186. package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
  187. package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
  188. package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
  189. package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
  190. package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
  191. package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
  192. package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
  193. package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
  194. package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
  195. package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
  196. package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
  197. package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
  198. package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
  199. package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
  200. package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
  201. package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
  202. package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
  203. package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
  204. package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
  205. package/types/4sh-ui-kit-motion.d.ts +117 -67
  206. package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
  207. package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
  208. package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
  209. package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
  210. package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
  211. package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
  212. package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
  213. package/types/4sh-ui-kit-overlay.d.ts +6 -6
  214. package/types/4sh-ui-kit-ripple.d.ts +99 -74
  215. package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
  216. package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
  217. package/types/4sh-ui-kit-theming.d.ts +27 -29
  218. package/types/4sh-ui-kit-types.d.ts +6 -5
  219. package/types/4sh-ui-kit.d.ts +4 -3
  220. package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
@@ -1,14 +1,15 @@
1
- import * as _angular_cdk_overlay from '@angular/cdk/overlay';
2
- import * as _angular_core from '@angular/core';
3
- import { TemplateRef } from '@angular/core';
4
- import { BaseFormField } from '@4sh/ui-kit/forms';
5
- import { UiInputIconContext } from '@4sh/ui-kit/forms/ui-input';
6
-
7
- type DatepickerHourFormat = '12' | '24';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { OnInit, TemplateRef } from "@angular/core";
6
+ import { BaseFormField } from "@4sh/ui-kit/forms";
7
+ import { UiInputIconContext } from "@4sh/ui-kit/forms/ui-input";
8
+ export type DatepickerHourFormat = '12' | '24';
8
9
  /** Base picking granularity — also the drill-down levels of the panel. */
9
- type DatepickerView = 'date' | 'month' | 'year';
10
+ export type DatepickerView = 'date' | 'month' | 'year';
10
11
  /** Selection quantity. */
11
- type DatepickerSelectionMode = 'single' | 'multiple' | 'range';
12
+ export type DatepickerSelectionMode = 'single' | 'multiple' | 'range';
12
13
  /**
13
14
  * Shape of the value crossing the CVA boundary — see {@link DatepickerValue}. Mandatory
14
15
  * (`input.required`, no default): the consumer must pick one explicitly rather than accidentally
@@ -20,7 +21,7 @@ type DatepickerSelectionMode = 'single' | 'multiple' | 'range';
20
21
  * against a backend `LocalDate` without going through a DTO layer that already handles the
21
22
  * conversion.
22
23
  */
23
- type DatepickerValueType = 'date' | 'iso';
24
+ export type DatepickerValueType = 'date' | 'iso';
24
25
  /**
25
26
  * Model value. `writeValue` accepts `Date` **or** ISO string transparently (auto-detected,
26
27
  * mixable in `multiple`/`range` arrays) — whatever the host app already has at hand. What gets
@@ -28,48 +29,48 @@ type DatepickerValueType = 'date' | 'iso';
28
29
  * follows {@link valueType}: always `Date` in `'date'` mode, always `string` in `'iso'` mode —
29
30
  * never a silent mix, so the consumer's own model type stays predictable in either mode.
30
31
  */
31
- type DatepickerValue = Date | Date[] | string | string[] | null;
32
+ export type DatepickerValue = Date | Date[] | string | string[] | null;
32
33
  /** @ignore Internal calendar representation — the only shape `selectedDates`/`buildDay`/grid
33
34
  * navigation ever see. `writeValue`/`commit` are the sole two conversion points to/from
34
35
  * {@link DatepickerValue} (`Date` or ISO string depending on {@link DatepickerValueType}). */
35
36
  type DatepickerDateValue = Date | Date[] | null;
36
37
  /** A single day cell of the month grid. Also the `$implicit` context of the `#date` template. */
37
- interface DatepickerDay {
38
- date: Date;
39
- day: number;
40
- month: number;
41
- year: number;
42
- otherMonth: boolean;
43
- today: boolean;
44
- selected: boolean;
45
- disabled: boolean;
46
- rangeStart: boolean;
47
- rangeEnd: boolean;
48
- inRange: boolean;
49
- ts: number;
50
- /** Full date, locale-formatted (e.g. "8 juillet 2026") — the gridcell's `aria-label`. */
51
- ariaLabel: string;
38
+ export interface DatepickerDay {
39
+ date: Date;
40
+ day: number;
41
+ month: number;
42
+ year: number;
43
+ otherMonth: boolean;
44
+ today: boolean;
45
+ selected: boolean;
46
+ disabled: boolean;
47
+ rangeStart: boolean;
48
+ rangeEnd: boolean;
49
+ inRange: boolean;
50
+ ts: number;
51
+ /** Full date, locale-formatted (e.g. "8 juillet 2026") — the gridcell's `aria-label`. */
52
+ ariaLabel: string;
52
53
  }
53
54
  /** A month cell of the month-picker grid. */
54
- interface DatepickerMonthCell {
55
- index: number;
56
- label: string;
57
- selected: boolean;
58
- disabled: boolean;
55
+ export interface DatepickerMonthCell {
56
+ index: number;
57
+ label: string;
58
+ selected: boolean;
59
+ disabled: boolean;
59
60
  }
60
61
  /** A year cell of the year-picker grid. */
61
- interface DatepickerYearCell {
62
- year: number;
63
- selected: boolean;
64
- disabled: boolean;
62
+ export interface DatepickerYearCell {
63
+ year: number;
64
+ selected: boolean;
65
+ disabled: boolean;
65
66
  }
66
67
  /** One rendered month panel (supports `numberOfMonths`). */
67
- interface DatepickerMonthPanel {
68
- monthDate: Date;
69
- label: string;
70
- weeks: DatepickerDay[][];
71
- showPrev: boolean;
72
- showNext: boolean;
68
+ export interface DatepickerMonthPanel {
69
+ monthDate: Date;
70
+ label: string;
71
+ weeks: DatepickerDay[][];
72
+ showPrev: boolean;
73
+ showNext: boolean;
73
74
  }
74
75
  /**
75
76
  * ui-datepicker — headless date / month / year (and optional time) picker.
@@ -89,663 +90,915 @@ interface DatepickerMonthPanel {
89
90
  * (`let-date let-selected="selected"`) and the `#buttonbar` template
90
91
  * (`let-todayCallback let-clearCallback`), plus the local SCSS variables.
91
92
  */
92
- declare class UiDatepicker extends BaseFormField<DatepickerValue> {
93
- /** Placeholder shown in the trigger when nothing is selected. */
94
- placeholder: _angular_core.InputSignal<string | undefined>;
95
- /** FontAwesome icon of the trigger's toggle button. */
96
- icon: _angular_core.InputSignal<string>;
97
- /** Show the trigger's calendar toggle button. */
98
- showIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
99
- /** Accessible name of the toggle button (a11y). */
100
- iconAriaLabel: _angular_core.InputSignal<string>;
101
- /**
102
- * Show a clear (×) button in the trigger when a value is set. **Default `true`** (FSHSP-118):
103
- * only takes effect when `showIcon` is `false` — the calendar/clock toggle otherwise always
104
- * wins the trigger's single icon slot, so the panel stays reachable by click even once a value
105
- * is set. With `showIcon` at its own default (`true`), clearing goes through the keyboard
106
- * (`allowInput`, itself `true` by default) instead: select the text and delete it.
107
- */
108
- showClear: _angular_core.InputSignalWithTransform<boolean, unknown>;
109
- /**
110
- * Shape of the emitted value: `'date'` (a plain `Date` — matches a DTO round-tripped through
111
- * `class-transformer`) or `'iso'` (ISO `"yyyy-MM-dd"` string, for a value read/written directly
112
- * against a backend `LocalDate`). `writeValue` always accepts either shape regardless of this
113
- * setting — it only governs what `valueChange`/`dateSelect` emit. **Required, no default**: the
114
- * consumer must pick the one matching its own model's type rather than inherit a silent default.
115
- */
116
- valueType: _angular_core.InputSignal<DatepickerValueType>;
117
- /** Selection quantity: `single` (default), `multiple` or `range`. */
118
- selectionMode: _angular_core.InputSignal<DatepickerSelectionMode>;
119
- /** Base picking granularity: `date` (default), `month` (MonthPicker) or `year` (YearPicker). */
120
- view: _angular_core.InputSignal<DatepickerView>;
121
- /** Number of month panels shown side-by-side (date view only). */
122
- numberOfMonths: _angular_core.InputSignalWithTransform<number, unknown>;
123
- /** Earliest selectable date (inclusive). `Date` or ISO `"yyyy-MM-dd"`. */
124
- minDate: _angular_core.InputSignal<string | Date | null>;
125
- /** Latest selectable date (inclusive). `Date` or ISO `"yyyy-MM-dd"`. */
126
- maxDate: _angular_core.InputSignal<string | Date | null>;
127
- /** Individual dates to disable. `Date` or ISO `"yyyy-MM-dd"`, mixable. */
128
- disabledDates: _angular_core.InputSignal<(string | Date)[]>;
129
- /** Week days to disable (0 = Sunday … 6 = Saturday). */
130
- disabledDays: _angular_core.InputSignal<number[]>;
131
- /** First day of the week (0 = Sunday … 6 = Saturday). Defaults to Monday. */
132
- firstDayOfWeek: _angular_core.InputSignalWithTransform<number, unknown>;
133
- /** BCP-47 locale for names and default formatting. Defaults to `LOCALE_ID`. */
134
- locale: _angular_core.InputSignal<string | undefined>;
135
- /**
136
- * Custom display formatter for a single date (overrides the default `Intl` format) — also
137
- * used, unchanged, as the time formatter in `timeOnly` mode.
138
- *
139
- * With `allowInput` and no `parseDate`, the typed text is read back in the day/month/year
140
- * order **this formatter writes** (probed from its own output, whatever locale it uses
141
- * internally), not the resolved locale's — so entry and display always agree. A non-numeric
142
- * format (e.g. `"22 novembre 2023"`) can't be probed: pair it with a matching `parseDate`.
143
- */
144
- dateFormat: _angular_core.InputSignal<((date: Date) => string) | undefined>;
145
- /**
146
- * Allow typing the date directly in the trigger. **Default `true`** (FSHSP-118): a calendar
147
- * grid alone forces a screen-reader user through ~30 cells to pick a date, when typing it is
148
- * far faster — set `false` to force the grid-only path instead. The typed text is parsed on
149
- * blur / `Enter`; an unparsable value reverts to the previously displayed one. When enabled
150
- * (and no custom `dateFormat`), the value is displayed in a numeric locale format so it
151
- * round-trips with typing.
152
- *
153
- * `single` gets the full experience: a live auto-"/" mask while constructing a date from an
154
- * empty field (see `typingSlots`), free-form text editing otherwise — no live reformatting,
155
- * parsed on blur/Enter. "Otherwise" covers both a value that already exists and an edit made
156
- * inside the text being typed rather than at its tail: editing a segment in place, e.g. just
157
- * the month, never shifts what follows (FSHSP-118, FSHSP-179).
158
- *
159
- * `range`/`multiple` are typeable too (FSHSP-118), but always as plain text — no live mask,
160
- * only parsed on blur/Enter: `"jj/mm/aaaa - jj/mm/aaaa"` for `range` (exactly two dates,
161
- * reordered chronologically if typed backwards), `"jj/mm/aaaa, jj/mm/aaaa, ..."` for `multiple`
162
- * (any count, duplicates collapsed) — see `parseTypedMulti`. The grid keeps working exactly as
163
- * before either way; typing is a complement, not a replacement.
164
- *
165
- * A typeable field is a text field first: **a click in it no longer opens the panel**
166
- * (FSHSP-180) — the calendar icon, `↓` and the keyboard do. `allowInput="false"` (or
167
- * `readonly`/`timeOnly`) restores the click-to-open, the field being the affordance there; so
168
- * does `showIcon="false"`, which leaves no icon to click. See `onTriggerClick`.
169
- *
170
- * Has no effect in `timeOnly` mode: the trigger stays read-only there (no parser/formatter for
171
- * a bare time string).
172
- */
173
- allowInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
174
- /**
175
- * Custom parser for the typed text (symmetric with `dateFormat`). Return `null`
176
- * to reject the input. When omitted, a locale-aware numeric parser is used.
177
- */
178
- parseDate: _angular_core.InputSignal<((value: string) => Date | null) | undefined>;
179
- /** Enable the time selection row. */
180
- showTime: _angular_core.InputSignalWithTransform<boolean, unknown>;
181
- /** Time-only mode: hide the calendar, keep the time row. */
182
- timeOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
183
- /** 12h (AM/PM) or 24h clock. */
184
- hourFormat: _angular_core.InputSignal<DatepickerHourFormat>;
185
- /** Minute increment of the time stepper (buttons / arrow keys — typing stays exact). */
186
- stepMinute: _angular_core.InputSignalWithTransform<number, unknown>;
187
- /**
188
- * Let the hours and minutes be typed directly in the time row (default).
189
- */
190
- editableTime: _angular_core.InputSignalWithTransform<boolean, unknown>;
191
- /** Show the bottom button bar (Today / Clear) — or the `#buttonbar` template. */
192
- showButtonBar: _angular_core.InputSignalWithTransform<boolean, unknown>;
193
- /** Ripple Effect */
194
- ripple: _angular_core.InputSignalWithTransform<boolean, unknown>;
195
- /** Label of the default "Today" button. */
196
- todayLabel: _angular_core.InputSignal<string>;
197
- /** Label of the default "Clear" button. */
198
- clearLabel: _angular_core.InputSignal<string>;
199
- /**
200
- * Accessible hint announcing the expected typed format, chained onto the trigger's
201
- * `aria-describedby` (alongside the helper/error message, never replacing it) whenever it's
202
- * typeable (FSHSP-118): the `placeholder` alone is unreliable across screen readers, and it
203
- * disappears the moment the user starts typing. Defaults to a sentence built from the resolved
204
- * placeholder (e.g. "Format attendu : jj/mm/aaaa"); pass an explicit string to override it, or
205
- * `''` to omit it.
206
- */
207
- formatHintLabel: _angular_core.InputSignal<string | undefined>;
208
- /** Accessible name of the calendar panel (fallback when no `label`/`ariaLabel`). */
209
- panelAriaLabel: _angular_core.InputSignal<string>;
210
- /** Accessible label of the previous-month/year navigation arrow. */
211
- prevAriaLabel: _angular_core.InputSignal<string>;
212
- /** Accessible label of the next-month/year navigation arrow. */
213
- nextAriaLabel: _angular_core.InputSignal<string>;
214
- /** Accessible name of the hours spinbutton. */
215
- hoursAriaLabel: _angular_core.InputSignal<string>;
216
- /** Accessible name of the minutes spinbutton. */
217
- minutesAriaLabel: _angular_core.InputSignal<string>;
218
- /** Accessible name of the AM/PM spinbutton. */
219
- meridiemAriaLabel: _angular_core.InputSignal<string>;
220
- /** Accessible label of the hours increment button. */
221
- incrementHoursAriaLabel: _angular_core.InputSignal<string>;
222
- /** Accessible label of the hours decrement button. */
223
- decrementHoursAriaLabel: _angular_core.InputSignal<string>;
224
- /** Accessible label of the minutes increment button. */
225
- incrementMinutesAriaLabel: _angular_core.InputSignal<string>;
226
- /** Accessible label of the minutes decrement button. */
227
- decrementMinutesAriaLabel: _angular_core.InputSignal<string>;
228
- /** Accessible label of the AM/PM toggle buttons. */
229
- toggleMeridiemAriaLabel: _angular_core.InputSignal<string>;
230
- /** Render the panel inline (no trigger, no overlay). */
231
- inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
232
- /**
233
- * Open the panel as soon as the trigger takes focus, pointer *or* keyboard, never a
234
- * programmatic focus.
235
- */
236
- showOnFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
237
- /**
238
- * Auto-flip the panel above the trigger when there isn't enough room below
239
- * (default). Set `false` to lock it below the trigger regardless of space.
240
- */
241
- autoFlip: _angular_core.InputSignalWithTransform<boolean, unknown>;
242
- /** Close after a complete selection (ignored when `showTime`). */
243
- closeOnSelect: _angular_core.InputSignalWithTransform<boolean, unknown>;
244
- /** Extra class(es) applied to the panel (scoped custom styling). */
245
- panelStyleClass: _angular_core.InputSignal<string | undefined>;
246
- /** Native autocomplete, forwarded to the trigger. */
247
- autocomplete: _angular_core.InputSignal<string | undefined>;
248
- /** Emitted whenever the value changes (selection, time, clear). */
249
- valueChange: _angular_core.OutputEmitterRef<DatepickerValue>;
250
- /** Emitted when a date/month/year is picked — always a single value (in `valueType`'s
251
- * shape), even in `multiple`/`range` (it reports "which day was just clicked", not the model
252
- * value, which is why it never becomes an array there). */
253
- dateSelect: _angular_core.OutputEmitterRef<string | Date>;
254
- /** Emitted when the displayed month changes. */
255
- monthChange: _angular_core.OutputEmitterRef<{
256
- month: number;
257
- year: number;
258
- }>;
259
- /** Emitted when the panel opens. */
260
- opened: _angular_core.OutputEmitterRef<void>;
261
- /** Emitted when the panel closes. */
262
- closed: _angular_core.OutputEmitterRef<void>;
263
- /** Emitted when the value is cleared. */
264
- cleared: _angular_core.OutputEmitterRef<void>;
265
- /** Emitted when the trigger receives focus. */
266
- inputFocus: _angular_core.OutputEmitterRef<FocusEvent>;
267
- /** Emitted when the trigger loses focus. */
268
- inputBlur: _angular_core.OutputEmitterRef<FocusEvent>;
269
- /** Custom day-cell template: `<ng-template #date let-date let-selected="selected">`. */
270
- protected readonly dateTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
271
- /** Custom button-bar template: `<ng-template #buttonbar let-todayCallback let-clearCallback>`. */
272
- protected readonly buttonBarTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
273
- /** Custom trigger-icon template: `<ng-template #icon let-name let-size="size">`. */
274
- private readonly iconTemplate;
275
- /** @ignore */
276
- private readonly localeId;
277
- /** @ignore Focus origin of the trigger, for `showOnFocus`. The CDK is the only thing that can
278
- * tell a user-initiated focus from a programmatic one (`autofocus`, a host app calling
279
- * `focus()`), which must not pop a calendar the user never asked for. */
280
- private readonly focusMonitor;
281
- /** @ignore Only used to detach the overlay *synchronously* on `Tab`, see `onTriggerKeydown`. */
282
- private readonly cdr;
283
- /** @ignore */
284
- private readonly doc;
285
- /** @ignore Element the current press started on, see `onOutsideClick`. */
286
- private pressOrigin;
287
- /** @ignore */
288
- private readonly triggerInput;
289
- /** @ignore Trigger host (to anchor the overlay on the input box, not the helper). */
290
- private readonly triggerRef;
291
- /** @ignore Panel root element (overlay or inline) — used for roving day focus. */
292
- private readonly panelEl;
293
- /** @ignore Trigger wrapper (field + label + format hint). A non-modal panel has no backdrop,
294
- * so outside-click dismissal has to know what "inside the trigger" means. */
295
- private readonly triggerWrapperEl;
296
- /** @ignore */
297
- protected readonly panelId: string;
298
- /** @ignore */
299
- protected readonly panelOpen: _angular_core.WritableSignal<boolean>;
300
- /** @ignore Panel opened without taking the focus (`showOnFocus`): plain popup instead of the
301
- * usual modal dialog — see {@link DatepickerOpenOrigin}. */
302
- protected readonly nonModal: _angular_core.WritableSignal<boolean>;
303
- /** @ignore Set while we hand the focus back to the trigger ourselves (`close`), so the
304
- * returning focus never re-opens the panel that just closed. `focus()` dispatches
305
- * synchronously, so a plain flag is enough, no timer to leak. */
306
- private suppressFocusOpen;
307
- /** @ignore Element the overlay is anchored to (the input box). */
308
- protected readonly overlayOrigin: _angular_core.WritableSignal<Element | null>;
309
- /** @ignore Month currently displayed. */
310
- protected readonly viewDate: _angular_core.WritableSignal<Date>;
311
- /** @ignore Active drill-down level; resets to `view()` when it changes. */
312
- protected readonly currentView: _angular_core.WritableSignal<DatepickerView>;
313
- /** @ignore Day cell owning the roving tabindex. */
314
- protected readonly focusedDate: _angular_core.WritableSignal<Date>;
315
- /** @ignore Month-picker cell (index 0–11) owning the roving tabindex. */
316
- protected readonly focusedMonthIndex: _angular_core.WritableSignal<number>;
317
- /** @ignore Year-picker cell (absolute year) owning the roving tabindex. */
318
- protected readonly focusedYear: _angular_core.WritableSignal<number>;
319
- /** @ignore Time components. */
320
- protected readonly hours: _angular_core.WritableSignal<number>;
321
- protected readonly minutes: _angular_core.WritableSignal<number>;
322
- /** @ignore Raw text while the user edits the trigger (`allowInput`); `null` when not editing. */
323
- protected readonly typedValue: _angular_core.WritableSignal<string | null>;
324
- /** @ignore Live mask given up on for the rest of the current entry, because the user edited
325
- * inside the text instead of appending at its tail (see `onTriggerInput`/`typingSlots`).
326
- * Lifted by any commit, and as soon as the field reads empty. */
327
- private readonly maskSuspended;
328
- /** @ignore Date-based source of truth for all calendar/selection logic; `modelValue`
329
- * (inherited) only ever carries the public value (`Date` or ISO string per `valueType`),
330
- * written in lockstep. */
331
- protected readonly internalValue: _angular_core.WritableSignal<DatepickerDateValue>;
332
- /** @ignore Below the trigger, flipping above when `autoFlip` and space is lacking. */
333
- protected readonly overlayPositions: _angular_core.Signal<_angular_cdk_overlay.ConnectedPosition[]>;
334
- /** @ignore Gutter kept with the viewport edges, matching the one `$panel-max-width`
335
- * reserves; with `cdkConnectedOverlayPush` it keeps the panel fully on screen. */
336
- protected readonly overlayViewportMargin = 12;
337
- /** @ignore Bound (stable) callbacks exposed to the `#buttonbar` template. */
338
- protected readonly todayCallback: (event?: Event) => void;
339
- protected readonly clearCallback: (event?: Event) => void;
340
- /** @ignore */
341
- private readonly resolvedLocale;
342
- /** @ignore `minDate`/`maxDate`/`disabledDates` normalized to `Date` (accept ISO strings too). */
343
- private readonly resolvedMinDate;
344
- private readonly resolvedMaxDate;
345
- private readonly resolvedDisabledDates;
346
- /** @ignore Not typeable: manual input off, read-only, or `timeOnly` (no bare-time parser).
347
- * `range`/`multiple` ARE typeable (FSHSP-118) — see `parseTypedMulti`/`typingSlots`. */
348
- protected readonly triggerReadonly: _angular_core.Signal<boolean>;
349
- /** @ignore Single-date placeholder token (e.g. `jj/mm/aaaa`) — the building block
350
- * `resolvedPlaceholder` composes for `range`/`multiple`. With a custom `dateFormat`, the
351
- * locale's numeric token would be flatly wrong (it describes a format nothing actually
352
- * produces or accepts) — showing that custom formatter's own output for an illustrative date
353
- * instead at least matches what the field really expects. */
354
- private readonly singleDatePlaceholder;
355
- /**
356
- * @ignore Placeholder shown in the typeable trigger. Falls back to a hint derived from the
357
- * resolved locale's field order (e.g. `jj/mm/aaaa` in French, `mm/dd/yyyy` in en-US) — or, with
358
- * a custom `dateFormat`, from that formatter's own output for an illustrative date (see
359
- * `singleDatePlaceholder`), since the locale-numeric token would describe a format nothing
360
- * actually produces or accepts — so the field never advertises the wrong format. Composed into
361
- * `"jj/mm/aaaa - jj/mm/aaaa"` (`range`) or `"jj/mm/aaaa, ..."` (`multiple`), matching
362
- * `RANGE_SEPARATOR`/`MULTIPLE_SEPARATOR` (see `parseTypedMulti`).
363
- */
364
- protected readonly resolvedPlaceholder: _angular_core.Signal<string | undefined>;
365
- /**
366
- * @ignore Format hint text, or `null` when there's nothing to announce: the trigger isn't
367
- * typeable, or `formatHintLabel` was explicitly set to `''` to opt out.
368
- */
369
- protected readonly resolvedFormatHint: _angular_core.Signal<string | null>;
370
- /** @ignore Stable id for the hint element `resolvedFormatHint` renders into. */
371
- protected readonly formatHintId: _angular_core.Signal<string>;
372
- /**
373
- * @ignore Field order a custom `dateFormat` actually writes, probed from its own output for
374
- * {@link probeDate}. `null` when there is no custom formatter, or when its output isn't
375
- * numeric enough to tell (e.g. `"22 novembre 2023"`) — the locale order stands then.
376
- *
377
- * The default parser and the live mask have to read the text back in the order the field
378
- * displays it, and a `dateFormat` is free to use a locale of its own: an `fr-FR` formatter
379
- * under an `en-US` `LOCALE_ID` displayed `"08/07/2026"` but parsed it month-first, so
380
- * finishing the entry silently swapped day and month (FSHSP-179).
381
- */
382
- private readonly customFormatFieldOrder;
383
- /** @ignore Order of day/month/year driving numeric parsing, the live mask and the auto
384
- * placeholder: what a custom `dateFormat` writes when that can be probed
385
- * ({@link customFormatFieldOrder}), the resolved locale's own order otherwise. */
386
- private readonly dateFieldOrder;
387
- /** @ignore `dateFieldOrder`, minus `day` in month view — the fields actually typed. */
388
- private readonly activeFields;
389
- /**
390
- * @ignore Dynamic mask (day/month/year widths, `+` time if `showTime`, `+` a second date for
391
- * `range`) driving the auto-"/"/":"/" - " formatting of the typeable trigger. `null` disables
392
- * it: `triggerReadonly`, `view === 'year'` (free-form field), a custom `parseDate` (non-numeric
393
- * format), `hasValue()`, or `multiple` (unbounded date count, no fixed template fits — plain
394
- * text on blur/Enter instead, see `parseTypedMulti`).
395
- *
396
- * `hasValue()`: re-deriving the mask from the raw digit stream only works for *constructing* a
397
- * value from nothing, not editing one in place (day/month re-validate arbitrary residual digits
398
- * after any edit — see `onTriggerInput`). So it's off once a value exists — plain text instead,
399
- * parsed on blur/Enter — and re-arms the moment the field reads empty (`onTriggerInput` commits
400
- * the clear right there, not just on blur, so `hasValue()` actually flips before the next key).
401
- *
402
- * `maskSuspended()`: the same limitation, hit before any value exists — an edit made *inside*
403
- * the text being typed rather than at its tail (see `onTriggerInput`).
404
- */
405
- private readonly typingSlots;
406
- /** @ignore The panel is visible. */
407
- protected readonly showPanel: _angular_core.Signal<boolean>;
408
- /** @ignore Day grid shown (hidden in `timeOnly`). */
409
- protected readonly showCalendar: _angular_core.Signal<boolean>;
410
- /** @ignore Single-month layout enables the drill-down header + roving focus. */
411
- protected readonly singleMonth: _angular_core.Signal<boolean>;
412
- /** @ignore A value is currently set. */
413
- protected readonly hasValue: _angular_core.Signal<boolean>;
414
- /**
415
- * @ignore A `range` whose two ends are both picked. Between the first and the second click
416
- * the start is selected but there is no zone yet: the grid must then show its chip alone,
417
- * never a half band running off toward an end that does not exist.
418
- */
419
- protected readonly rangeComplete: _angular_core.Signal<boolean>;
420
- /**
421
- * @ignore The trigger's right action clears the value (instead of toggling the panel). Gated
422
- * on `!showIcon()` (FSHSP-118): the calendar/clock toggle always wins the trigger's single icon
423
- * slot when it's shown, so there's always a click target to reopen the panel and pick a
424
- * different date directly — the cross only replaces it in configs that hid it (`showIcon`
425
- * false), where it's the sole remaining affordance to empty the field without a keyboard.
426
- */
427
- protected readonly showClearButton: _angular_core.Signal<boolean>;
428
- /** @ignore Right-side icon: clear (×) when clearable + set + no calendar toggle to show
429
- * (see `showClearButton`), else the calendar/clock toggle. */
430
- protected readonly triggerIcon: _angular_core.Signal<string | undefined>;
431
- /** @ignore Accessible name of the right action. */
432
- protected readonly triggerIconAriaLabel: _angular_core.Signal<string>;
433
- /** @ignore Forwarded to the trigger only when an icon zone is rendered — `showIcon="false"` stays icon-less. */
434
- protected readonly triggerIconTemplate: _angular_core.Signal<TemplateRef<UiInputIconContext> | undefined>;
435
- /** @ignore Flatten the internal (Date-based) value to a list of selected dates. */
436
- private readonly selectedDates;
437
- /** @ignore First selected date (for view seeding / time / display). */
438
- private firstSelectedFrom;
439
- /** @ignore Whether the value carries a time component (date+time ISO / non-midnight `Date`). */
440
- private readonly hasTimeComponent;
441
- /** @ignore Date → ISO string, date-only unless `showTime`/`timeOnly`. */
442
- private toIsoValue;
443
- /** @ignore ISO string → Date, `null` if malformed (never throws). */
444
- private fromIsoValue;
445
- /** @ignore Internal Date → the shape `valueType` commits to emitting: a fresh `Date`
446
- * (normalized to midnight when no time is shown — never the original reference) in `'date'`
447
- * mode, an ISO string in `'iso'` mode. The single point deciding the emitted type. */
448
- private serializeValue;
449
- /** @ignore A single incoming item, `Date` or ISO string, auto-detected — `writeValue` accepts
450
- * either shape regardless of `valueType` (only the emitted side commits to one). Cloned when
451
- * already a `Date` (never the caller's own reference) — symmetric with `serializeValue`,
452
- * which never hands back the internal reference either; protects against the caller later
453
- * mutating that `Date` in place and silently desyncing `internalValue`. */
454
- private parseValue;
455
- /** @ignore Internal Date(s) → public value, right before it reaches `modelValue`/the CVA.
456
- * The cast is safe: `serializeValue` only branches on `valueType()`, constant across the
457
- * `map`, so the array is always homogeneous (`Date[]` or `string[]`, never mixed). */
458
- private toExternalValue;
459
- /** @ignore Public value → internal Date(s), right as it enters via `writeValue`. Invalid
460
- * entries are dropped rather than failing the whole value (a malformed item in a
461
- * `multiple`/`range` array shouldn't wipe out the rest). */
462
- private toInternalValue;
463
- /** @ignore */
464
- private formatDate;
465
- /** @ignore `timeOnly` display — respects `hourFormat` (never the locale's own AM/PM-vs-24h
466
- * default) and `dateFormat` when provided (symmetric with `formatDate`/`formatMonth`, used
467
- * here as a time formatter). */
468
- private formatTime;
469
- /** @ignore Month-view display (numeric + round-trippable when the trigger is typeable). */
470
- private formatMonth;
471
- /** @ignore Value rendered in the trigger. */
472
- protected readonly displayValue: _angular_core.Signal<string>;
473
- /** @ignore Displayed decade start (year view). */
474
- private readonly decadeStart;
475
- /** @ignore Header label depends on the active view. */
476
- protected readonly headerLabel: _angular_core.Signal<string>;
477
- /** @ignore Short (visible) + full (aria-label) weekday names — without both, either the header
478
- * stays `aria-hidden` or the short text alone leaves screen-reader users without column names. */
479
- protected readonly weekDayNames: _angular_core.Signal<{
480
- short: string;
481
- full: string;
482
- }[]>;
483
- /** @ignore Full-date `aria-label` formatter for day gridcells (e.g. "8 juillet 2026"). */
484
- private readonly dayAriaFormatter;
485
- /** @ignore Month panels (1 or more) for the date view. */
486
- protected readonly monthPanels: _angular_core.Signal<DatepickerMonthPanel[]>;
487
- /** @ignore Month-picker grid (12 months of the displayed year). */
488
- protected readonly months: _angular_core.Signal<DatepickerMonthCell[]>;
489
- /** @ignore Year-picker grid (the displayed decade). */
490
- protected readonly years: _angular_core.Signal<DatepickerYearCell[]>;
491
- /** @ignore Month/year cells chunked into the rows the CSS actually renders (3 and 2 columns,
492
- * see `.ui-datepicker-picker._month` / `._year`). A `role="grid"` requires its `gridcell`s to
493
- * sit inside a `role="row"`; without it the whole grid is invalid ARIA and screen readers get
494
- * no row structure to walk. Keep the chunk sizes in step with the SCSS column counts. */
495
- protected readonly monthRows: _angular_core.Signal<DatepickerMonthCell[][]>;
496
- /** @ignore Year-picker rows — 2 columns, see `.ui-datepicker-picker._year`. */
497
- protected readonly yearRows: _angular_core.Signal<DatepickerYearCell[][]>;
498
- /** @ignore Hours as shown in the 12h stepper (1–12). */
499
- protected readonly displayHours: _angular_core.Signal<number>;
500
- /** @ignore */
501
- protected readonly meridiem: _angular_core.Signal<"AM" | "PM">;
502
- constructor();
503
- writeValue(value: DatepickerValue): void;
504
- /**
505
- * @param viaIcon Whether this open was specifically triggered by the calendar icon (vs.
506
- * clicking the field itself, or a keyboard shortcut) — see the rove-into-grid comment below.
507
- */
508
- open(viaIcon?: boolean): void;
509
- /** @ignore Real implementation of {@link open}, keyed on the full {@link DatepickerOpenOrigin}
510
- * (the public `open()` only ever expresses two of the three). */
511
- private openFrom;
512
- close(focusTrigger?: boolean): void;
513
- /** @ignore */
514
- protected toggle(viaIcon?: boolean): void;
515
- /** @ignore Right action: clear when clearable + set, otherwise toggle the panel (via the icon —
516
- * see `open`'s `viaIcon`). `stopPropagation` keeps the click from bubbling to the field (which
517
- * would otherwise also call `open()`, without `viaIcon`, right behind this one). */
518
- protected onIconClick(event: MouseEvent): void;
519
- /**
520
- * @ignore Whether a click on the trigger opens the panel. It does when the field isn't
521
- * typeable (`triggerReadonly`: the field then *is* the button), and when `showIcon` is off
522
- * (no calendar toggle left — without this, nothing would open the panel with a mouse).
523
- *
524
- * On a typeable field it does NOT (FSHSP-180). The panel is an overlay with a permanent
525
- * backdrop, so an open panel swallows every further click on the field: the first click
526
- * placed the caret, the next one lost focus without moving it — correcting a single segment
527
- * with the mouse was impossible. Opening also live-commits the typed text through
528
- * `previewTyped`, which disarms the auto-"/" mask mid-entry (see `typingSlots`). The icon,
529
- * `↓` and typing are unaffected.
530
- */
531
- private readonly openOnTriggerClick;
532
- /** @ignore Click anywhere on the trigger (label, field or format hint — they share the wrapper). */
533
- protected onTriggerClick(): void;
534
- /** @ignore Keys typed anywhere in the trigger wrapper. */
535
- protected onTriggerKeydown(event: KeyboardEvent): void;
536
- /** @ignore `Escape` is consumed only when it really closes the panel. A closed one lets it
537
- * bubble, so a parent dialog stays reachable by the same key. */
538
- private handleEscape;
539
- /**
540
- * @ignore Track the raw text as the user types; live-preview the open panel. When a typing
541
- * mask applies (see `typingSlots`), auto-insert "/" as soon as a segment is complete (same
542
- * pattern as a card-expiry field) and reposition the caret accordingly.
543
- */
544
- protected onTriggerInput(value: string): void;
545
- /** @ignore Whether `text` already has its time portion too, when `showTime` requires one.
546
- * `previewTyped` needs this: without it, `hasValue()` (and the mask) flipped off the moment
547
- * day/month/year were typed, before a single time digit — the next digit then glued onto the
548
- * year with no mask to insert "HH:MM" (FSHSP-118). `commitTyped` doesn't use this: a date typed
549
- * and blurred without a time is still a legitimate commit (time defaults to the steppers). */
550
- private hasCompleteTimeIfNeeded;
551
- /**
552
- * @ignore Reflect a fully-typed date (or `range`/`multiple` set) in the open panel
553
- * (navigate + highlight) without reformatting the field, so the caret stays put while typing.
554
- */
555
- private previewTyped;
556
- /** @ignore Parse the typed text on blur, then forward the blur. */
557
- protected onTriggerBlur(event: FocusEvent): void;
558
- /**
559
- * @ignore Focus leaving the trigger altogether. A non-modal panel has neither backdrop nor
560
- * focus trap, so tabbing on to the next field is a dismissal that nothing else would perform
561
- */
562
- protected onTriggerFocusOut(event: FocusEvent): void;
563
- /** @ignore Focus leaving a non-modal panel altogether (`Tab` out of the grid) — same
564
- * dismissal as {@link onTriggerBlur}, from the other side. */
565
- protected onPanelFocusOut(event: FocusEvent): void;
566
- /** @ignore Pointer landing outside the overlay. A non-modal panel leaves the trigger live
567
- * underneath, and a press there must place the caret, not dismiss the panel it would then
568
- * immediately re-open. */
569
- protected onOutsideClick(event: MouseEvent): void;
570
- /** @ignore Whether this `Tab` walks out of the trigger, rather than between the field and its
571
- * own action button (at most two stops, so an exact list beats any heuristic). */
572
- private tabLeavesTrigger;
573
- /** @ignore Pressing the panel's own chrome must not pull the focus out of the field: a
574
- * non-modal panel would be dismissed by its own focusout. Its controls keep the default. */
575
- protected onPanelMousedown(event: MouseEvent): void;
576
- /** @ignore */
577
- private panelContains;
578
- /** @ignore */
579
- private triggerContains;
580
- /** @ignore Parse and apply the typed text (single date, or `range`/`multiple` set — see
581
- * `parseTypedValue`); revert to the previous value if invalid. */
582
- protected commitTyped(): void;
583
- /**
584
- * @ignore Custom parser when provided, otherwise the locale-aware numeric parser.
585
- * `requireComplete` gates the default parser to fully-typed dates (custom
586
- * parsers decide completeness themselves).
587
- */
588
- private parseTyped;
589
- /**
590
- * @ignore Parses typed text into whatever shape the current `selectionMode` commits: a single
591
- * `Date` for `single`, a `Date[]` for `range`/`multiple` (see `parseTypedMulti`). `null` means
592
- * "not a complete, enabled value for this mode" — the caller reverts.
593
- */
594
- private parseTypedValue;
595
- /** @ignore `range`/`multiple` typed entry (FSHSP-118): splits via `splitTypedSegments`, parses
596
- * each part with `parseTyped` (a custom `parseDate` applies per part, like `dateFormat` does
597
- * per date on display). `range` needs exactly 2 parts, reordered chronologically; `multiple`
598
- * takes any count, deduped. One bad/disabled part fails the whole thing. Always `startOfDay` —
599
- * no `showTime` support here. */
600
- private parseTypedMulti;
601
- /** @ignore Splits typed `range`/`multiple` text into per-date segments (FSHSP-118). A plain
602
- * `text.split(sep)` breaks when a date's own formatted text contains `sep` (e.g. a `", "`
603
- * `dateFormat` in `multiple`, or an ISO dash in `range`) — instead, a `sep` occurrence is only
604
- * accepted as a boundary once the text before it already parses as a complete date. */
605
- private splitTypedSegments;
606
- /**
607
- * @ignore Locale-aware numeric parser (day/month/year order from `dateFieldOrder`).
608
- * With `requireComplete`, returns `null` unless every component is present
609
- * (and the year has 2 or ≥4 digits) — used for live preview to avoid jumps.
610
- */
611
- private defaultParse;
612
- /** @ignore 2-digit years → 2000s. */
613
- private normalizeYear;
614
- /** @ignore Range/disabled check for a parsed value, granular to the base view. */
615
- private isParsedDisabled;
616
- /** @ignore Click the header title → drill up (date → month → year). Single-month only. */
617
- protected onHeaderClick(): void;
618
- /** @ignore Prev/next arrow — steps month / year / decade depending on the view. */
619
- protected onPrev(): void;
620
- protected onNext(): void;
621
- /** @ignore */
622
- private step;
623
- /** @ignore */
624
- protected changeMonth(delta: number): void;
625
- /** @ignore Pick a day from the grid. */
626
- protected selectDay(cell: DatepickerDay): void;
627
- /** @ignore Month-picker / drill-down month selection. */
628
- protected selectMonth(cell: DatepickerMonthCell): void;
629
- /** @ignore Year-picker / drill-down year selection. */
630
- protected selectYear(cell: DatepickerYearCell): void;
631
- /** @ignore Apply the time signals to the value (single selection only). */
632
- protected applyTime(): void;
633
- /** @ignore Zero-padded labels for the steppers. */
634
- protected readonly hoursLabel: _angular_core.Signal<string>;
635
- protected readonly minutesLabel: _angular_core.Signal<string>;
636
- /** @ignore Raw digits while a time field is being typed in; `null` when not editing. */
637
- private readonly hoursDraft;
638
- private readonly minutesDraft;
639
- /** @ignore Text rendered in a time field: the draft while typing, the padded label otherwise. */
640
- protected readonly hoursValue: _angular_core.Signal<string>;
641
- protected readonly minutesValue: _angular_core.Signal<string>;
642
- /** @ignore Accepted hours range (the 12h clock shows 1–12). */
643
- protected readonly hourBounds: _angular_core.Signal<{
644
- min: number;
645
- max: number;
646
- }>;
647
- /** @ignore The hours/minutes fields accept typing. */
648
- protected readonly timeEditable: _angular_core.Signal<boolean>;
649
- /** @ignore The time steppers (chevrons + AM/PM toggle) accept interaction — unlike
650
- * `timeEditable`, not gated on `editableTime` (the steppers stay usable in
651
- * `StepperOnlyTime`-style configs; only `disabled`/`readonly` freeze them). */
652
- protected readonly timeControlsEnabled: _angular_core.Signal<boolean>;
653
- /** @ignore Step hours (wraps 0↔23; also flips meridiem across the 12h boundary). */
654
- protected stepHours(dir: 1 | -1): void;
655
- /** @ignore Step minutes by `stepMinute` (wraps 0↔59). */
656
- protected stepMinutes(dir: 1 | -1): void;
657
- /** @ignore */
658
- protected toggleMeridiem(): void;
659
- /**
660
- * @ignore Typing in the hours field. The digits are held as a draft (so `0` can
661
- * be the start of `09`) and committed as soon as they form a valid hour.
662
- */
663
- protected onHoursInput(event: Event): void;
664
- /** @ignore Typing in the minutes field — exact value (`stepMinute` only drives the steppers). */
665
- protected onMinutesInput(event: Event): void;
666
- /**
667
- * @ignore Keep a time field to at most 2 digits and reject what can never be in
668
- * range (`33`, or `13` on a 12h clock) — the field reverts to `current`, so the
669
- * keystroke is simply refused. Returns the accepted digits, or `null` if rejected.
670
- */
671
- private acceptTimeDigits;
672
- /** @ignore 12h display hour (1–12) + the current meridiem → 24h hour. */
673
- private to24;
674
- /** @ignore Focusing a time field selects it, so typing replaces the value. */
675
- protected onTimeFocus(event: FocusEvent): void;
676
- /** @ignore Leaving a time field drops the draft: the zero-padded label comes back. */
677
- protected onHoursBlur(): void;
678
- /** @ignore */
679
- protected onMinutesBlur(): void;
680
- /** @ignore ARIA spinbutton keyboard: ↑/↓ step, PageUp/PageDown ±, Enter commits. */
681
- protected onHourKeydown(event: KeyboardEvent): void;
682
- /** @ignore */
683
- protected onMinuteKeydown(event: KeyboardEvent): void;
684
- /** @ignore */
685
- protected onMeridiemKeydown(event: KeyboardEvent): void;
686
- /** @ignore */
687
- private pad;
688
- /** @ignore */
689
- protected selectToday(): void;
690
- /** @ignore */
691
- protected clear(): void;
692
- /** @ignore */
693
- protected onGridKeydown(event: KeyboardEvent): void;
694
- /** @ignore The roving-focus cell. `otherMonth` cells are excluded so a date
695
- * shown twice across adjacent panels (multi-month) yields a single tab stop. */
696
- protected isFocusableDay(cell: DatepickerDay): boolean;
697
- /**
698
- * @ignore Shared arrow/Home/End math for a fixed-size, `columns`-wide grid (the month picker's
699
- * 12 cells / 3 columns and the year picker's 10 cells / 2 columns) — the one piece of roving-
700
- * focus logic actually common to all three grids; `PageUp`/`PageDown`/`Enter`/`Escape` differ
701
- * per grid (paging semantics, selecting a month vs. a year) and stay in their own handler.
702
- * Returns `null` for a key it doesn't handle.
703
- */
704
- private navigateGridIndex;
705
- /** @ignore Month-picker grid: ←↑→↓/Home/End move within the 12 months (3 columns), PageUp/PageDown
706
- * step the displayed year (Shift = ×10), Enter/Space picks the focused month. */
707
- protected onMonthGridKeydown(event: KeyboardEvent): void;
708
- /** @ignore Year-picker grid: ←↑→↓/Home/End move within the displayed decade (2 columns),
709
- * PageUp/PageDown step by a decade (Shift = ×10 decades), Enter/Space picks the focused year. */
710
- protected onYearGridKeydown(event: KeyboardEvent): void;
711
- /** @ignore The month-picker roving-focus cell. */
712
- protected isFocusableMonth(cell: DatepickerMonthCell): boolean;
713
- /** @ignore The year-picker roving-focus cell. */
714
- protected isFocusableYear(cell: DatepickerYearCell): boolean;
715
- /** @ignore Shift the visible month window just enough to contain `date`. */
716
- private ensureMonthVisible;
717
- /** @ignore Sole "normal" write path: takes internal Date(s), serializes to the public ISO
718
- * string(s) right here, before it ever reaches `modelValue`/the CVA. Callers keep passing
719
- * `Date`/`Date[]`/`null` exactly as before — the ISO contract lives entirely in this method. */
720
- private commit;
721
- /** @ignore Build a day-cell descriptor with its selection/range flags. */
722
- private buildDay;
723
- /** @ignore 6×7 grid for a given month, incl. adjacent-month spill-over. */
724
- private buildMonthWeeks;
725
- /** @ignore */
726
- private resolveOverlayOrigin;
727
- /** @ignore Focus the roving-tabindex cell matching `selector`, once the DOM reflects the
728
- * just-updated `focusedDate`/`focusedMonthIndex`/`focusedYear` signal. */
729
- private queueCellFocus;
730
- /** @ignore */
731
- private queueDayFocus;
732
- /** @ignore */
733
- private queueMonthFocus;
734
- /** @ignore */
735
- private queueYearFocus;
736
- /** @ignore */
737
- private clampToRange;
738
- /** @ignore */
739
- private isDateDisabled;
740
- /** @ignore Whole month out of [min, max]. */
741
- private isMonthDisabled;
742
- /** @ignore Whole year out of [min, max]. */
743
- private isYearDisabled;
744
- /** @ignore */
745
- private capitalize;
746
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiDatepicker, never>;
747
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiDatepicker, "ui-datepicker", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "iconAriaLabel": { "alias": "iconAriaLabel"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "valueType": { "alias": "valueType"; "required": true; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "numberOfMonths": { "alias": "numberOfMonths"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disabledDates": { "alias": "disabledDates"; "required": false; "isSignal": true; }; "disabledDays": { "alias": "disabledDays"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "allowInput": { "alias": "allowInput"; "required": false; "isSignal": true; }; "parseDate": { "alias": "parseDate"; "required": false; "isSignal": true; }; "showTime": { "alias": "showTime"; "required": false; "isSignal": true; }; "timeOnly": { "alias": "timeOnly"; "required": false; "isSignal": true; }; "hourFormat": { "alias": "hourFormat"; "required": false; "isSignal": true; }; "stepMinute": { "alias": "stepMinute"; "required": false; "isSignal": true; }; "editableTime": { "alias": "editableTime"; "required": false; "isSignal": true; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; "isSignal": true; }; "ripple": { "alias": "ripple"; "required": false; "isSignal": true; }; "todayLabel": { "alias": "todayLabel"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "formatHintLabel": { "alias": "formatHintLabel"; "required": false; "isSignal": true; }; "panelAriaLabel": { "alias": "panelAriaLabel"; "required": false; "isSignal": true; }; "prevAriaLabel": { "alias": "prevAriaLabel"; "required": false; "isSignal": true; }; "nextAriaLabel": { "alias": "nextAriaLabel"; "required": false; "isSignal": true; }; "hoursAriaLabel": { "alias": "hoursAriaLabel"; "required": false; "isSignal": true; }; "minutesAriaLabel": { "alias": "minutesAriaLabel"; "required": false; "isSignal": true; }; "meridiemAriaLabel": { "alias": "meridiemAriaLabel"; "required": false; "isSignal": true; }; "incrementHoursAriaLabel": { "alias": "incrementHoursAriaLabel"; "required": false; "isSignal": true; }; "decrementHoursAriaLabel": { "alias": "decrementHoursAriaLabel"; "required": false; "isSignal": true; }; "incrementMinutesAriaLabel": { "alias": "incrementMinutesAriaLabel"; "required": false; "isSignal": true; }; "decrementMinutesAriaLabel": { "alias": "decrementMinutesAriaLabel"; "required": false; "isSignal": true; }; "toggleMeridiemAriaLabel": { "alias": "toggleMeridiemAriaLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "showOnFocus": { "alias": "showOnFocus"; "required": false; "isSignal": true; }; "autoFlip": { "alias": "autoFlip"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "panelStyleClass": { "alias": "panelStyleClass"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "dateSelect": "dateSelect"; "monthChange": "monthChange"; "opened": "opened"; "closed": "closed"; "cleared": "cleared"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, ["dateTemplate", "buttonBarTemplate", "iconTemplate"], never, true, never>;
93
+ export declare class UiDatepicker extends BaseFormField<DatepickerValue> implements OnInit {
94
+ /** Placeholder shown in the trigger when nothing is selected. */
95
+ placeholder: import("@angular/core").InputSignal<string | undefined>;
96
+ /** FontAwesome icon of the trigger's toggle button. */
97
+ icon: import("@angular/core").InputSignal<string>;
98
+ /** Show the trigger's calendar toggle button. */
99
+ showIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
100
+ /** Accessible name of the toggle button (a11y). */
101
+ iconAriaLabel: import("@angular/core").InputSignal<string>;
102
+ /**
103
+ * Show a clear (×) button in the trigger when a value is set. **Default `true`** (FSHSP-118):
104
+ * only takes effect when `showIcon` is `false` — the calendar/clock toggle otherwise always
105
+ * wins the trigger's single icon slot, so the panel stays reachable by click even once a value
106
+ * is set. With `showIcon` at its own default (`true`), clearing goes through the keyboard
107
+ * (`allowInput`, itself `true` by default) instead: select the text and delete it.
108
+ */
109
+ showClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
110
+ /**
111
+ * Shape of the emitted value: `'date'` (a plain `Date` — matches a DTO round-tripped through
112
+ * `class-transformer`) or `'iso'` (ISO `"yyyy-MM-dd"` string, for a value read/written directly
113
+ * against a backend `LocalDate`). `writeValue` always accepts either shape regardless of this
114
+ * setting — it only governs what `valueChange`/`dateSelect` emit. **Required, no default**: the
115
+ * consumer must pick the one matching its own model's type rather than inherit a silent default.
116
+ */
117
+ valueType: import("@angular/core").InputSignal<DatepickerValueType>;
118
+ /** Selection quantity: `single` (default), `multiple` or `range`. */
119
+ selectionMode: import("@angular/core").InputSignal<DatepickerSelectionMode>;
120
+ /** Base picking granularity: `date` (default), `month` (MonthPicker) or `year` (YearPicker). */
121
+ view: import("@angular/core").InputSignal<DatepickerView>;
122
+ /** Number of month panels shown side-by-side (date view only). */
123
+ numberOfMonths: import("@angular/core").InputSignalWithTransform<number, unknown>;
124
+ /** Earliest selectable date (inclusive). `Date` or ISO `"yyyy-MM-dd"`. */
125
+ minDate: import("@angular/core").InputSignal<string | Date | null>;
126
+ /** Latest selectable date (inclusive). `Date` or ISO `"yyyy-MM-dd"`. */
127
+ maxDate: import("@angular/core").InputSignal<string | Date | null>;
128
+ /**
129
+ * Date the calendar opens on while the field is empty (a selected value always wins), kept
130
+ * within `minDate`/`maxDate`. `Date` or ISO `"yyyy-MM-dd"`. Today when unset.
131
+ */
132
+ defaultViewDate: import("@angular/core").InputSignal<string | Date | null>;
133
+ /** Individual dates to disable. `Date` or ISO `"yyyy-MM-dd"`, mixable. */
134
+ disabledDates: import("@angular/core").InputSignal<(string | Date)[]>;
135
+ /** Week days to disable (0 = Sunday … 6 = Saturday). */
136
+ disabledDays: import("@angular/core").InputSignal<number[]>;
137
+ /** First day of the week (0 = Sunday … 6 = Saturday). Defaults to Monday. */
138
+ firstDayOfWeek: import("@angular/core").InputSignalWithTransform<number, unknown>;
139
+ /** BCP-47 locale for names and default formatting. Defaults to `LOCALE_ID`. */
140
+ locale: import("@angular/core").InputSignal<string | undefined>;
141
+ /**
142
+ * Custom display formatter for a single date (overrides the default `Intl` format) — also
143
+ * used, unchanged, as the time formatter in `timeOnly` mode.
144
+ *
145
+ * With `allowInput` and no `parseDate`, the typed text is read back in the day/month/year
146
+ * order **this formatter writes** (probed from its own output, whatever locale it uses
147
+ * internally), not the resolved locale's — so entry and display always agree. A non-numeric
148
+ * format (e.g. `"22 novembre 2023"`) can't be probed: pair it with a matching `parseDate`.
149
+ */
150
+ dateFormat: import("@angular/core").InputSignal<((date: Date) => string) | undefined>;
151
+ /**
152
+ * Allow typing the date directly in the trigger. **Default `true`** (FSHSP-118): a calendar
153
+ * grid alone forces a screen-reader user through ~30 cells to pick a date, when typing it is
154
+ * far faster — set `false` to force the grid-only path instead. The typed text is parsed on
155
+ * blur / `Enter`; an unparsable value reverts to the previously displayed one. When enabled
156
+ * (and no custom `dateFormat`), the value is displayed in a numeric locale format so it
157
+ * round-trips with typing.
158
+ *
159
+ * `single` gets the full experience: a live auto-"/" mask while constructing a date from an
160
+ * empty field (see `typingSlots`), free-form text editing otherwise — no live reformatting,
161
+ * parsed on blur/Enter. "Otherwise" covers both a value that already exists and an edit made
162
+ * inside the text being typed rather than at its tail: editing a segment in place, e.g. just
163
+ * the month, never shifts what follows (FSHSP-118, FSHSP-179).
164
+ *
165
+ * `range`/`multiple` are typeable too (FSHSP-118), but always as plain text — no live mask,
166
+ * only parsed on blur/Enter: `"jj/mm/aaaa - jj/mm/aaaa"` for `range` (exactly two dates,
167
+ * reordered chronologically if typed backwards), `"jj/mm/aaaa, jj/mm/aaaa, ..."` for `multiple`
168
+ * (any count, duplicates collapsed) — see `parseTypedMulti`. The grid keeps working exactly as
169
+ * before either way; typing is a complement, not a replacement.
170
+ *
171
+ * A typeable field is a text field first: **a click in it no longer opens the panel**
172
+ * (FSHSP-180) — the calendar icon, `↓` and the keyboard do. `allowInput="false"` (or
173
+ * `readonly`/`timeOnly`) restores the click-to-open, the field being the affordance there; so
174
+ * does `showIcon="false"`, which leaves no icon to click. See `onTriggerClick`.
175
+ *
176
+ * Has no effect in `timeOnly` mode: the trigger stays read-only there (no parser/formatter for
177
+ * a bare time string).
178
+ */
179
+ allowInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
180
+ /**
181
+ * Custom parser for the typed text (symmetric with `dateFormat`). Return `null`
182
+ * to reject the input. When omitted, a locale-aware numeric parser is used.
183
+ */
184
+ parseDate: import("@angular/core").InputSignal<((value: string) => Date | null) | undefined>;
185
+ /** Enable the time selection row. */
186
+ showTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
187
+ /** Time-only mode: hide the calendar, keep the time row. */
188
+ timeOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
189
+ /** 12h (AM/PM) or 24h clock. */
190
+ hourFormat: import("@angular/core").InputSignal<DatepickerHourFormat>;
191
+ /** Minute increment of the time stepper (buttons / arrow keys — typing stays exact). */
192
+ stepMinute: import("@angular/core").InputSignalWithTransform<number, unknown>;
193
+ /**
194
+ * Let the hours and minutes be typed directly in the time row (default).
195
+ */
196
+ editableTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
197
+ /** Show the bottom button bar (Today / Clear) — or the `#buttonbar` template. */
198
+ showButtonBar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
199
+ /** Ripple Effect */
200
+ ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
201
+ /** Label of the default "Today" button. */
202
+ todayLabel: import("@angular/core").InputSignal<string>;
203
+ /** Label of the default "Clear" button. */
204
+ clearLabel: import("@angular/core").InputSignal<string>;
205
+ /**
206
+ * Accessible hint announcing the expected typed format, chained onto the trigger's
207
+ * `aria-describedby` (alongside the helper/error message, never replacing it) whenever it's
208
+ * typeable (FSHSP-118): the `placeholder` alone is unreliable across screen readers, and it
209
+ * disappears the moment the user starts typing. Defaults to a sentence built from the resolved
210
+ * placeholder (e.g. "Format attendu : jj/mm/aaaa"); pass an explicit string to override it, or
211
+ * `''` to omit it.
212
+ */
213
+ formatHintLabel: import("@angular/core").InputSignal<string | undefined>;
214
+ /** Accessible name of the calendar panel (fallback when no `label`/`ariaLabel`). */
215
+ panelAriaLabel: import("@angular/core").InputSignal<string>;
216
+ /** Accessible label of the previous-month/year navigation arrow. */
217
+ prevAriaLabel: import("@angular/core").InputSignal<string>;
218
+ /** Accessible label of the next-month/year navigation arrow. */
219
+ nextAriaLabel: import("@angular/core").InputSignal<string>;
220
+ /** Accessible name of the hours spinbutton. */
221
+ hoursAriaLabel: import("@angular/core").InputSignal<string>;
222
+ /** Accessible name of the minutes spinbutton. */
223
+ minutesAriaLabel: import("@angular/core").InputSignal<string>;
224
+ /** Accessible name of the AM/PM spinbutton. */
225
+ meridiemAriaLabel: import("@angular/core").InputSignal<string>;
226
+ /** Accessible label of the hours increment button. */
227
+ incrementHoursAriaLabel: import("@angular/core").InputSignal<string>;
228
+ /** Accessible label of the hours decrement button. */
229
+ decrementHoursAriaLabel: import("@angular/core").InputSignal<string>;
230
+ /** Accessible label of the minutes increment button. */
231
+ incrementMinutesAriaLabel: import("@angular/core").InputSignal<string>;
232
+ /** Accessible label of the minutes decrement button. */
233
+ decrementMinutesAriaLabel: import("@angular/core").InputSignal<string>;
234
+ /** Accessible label of the AM/PM toggle buttons. */
235
+ toggleMeridiemAriaLabel: import("@angular/core").InputSignal<string>;
236
+ /** Render the panel inline (no trigger, no overlay). */
237
+ inline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
238
+ /**
239
+ * Open the panel as soon as the trigger takes focus, pointer *or* keyboard, never a
240
+ * programmatic focus.
241
+ */
242
+ showOnFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
243
+ /**
244
+ * Auto-flip the panel above the trigger when there isn't enough room below
245
+ * (default). Set `false` to lock it below the trigger regardless of space.
246
+ */
247
+ autoFlip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
248
+ /** Close after a complete selection (ignored when `showTime`). */
249
+ closeOnSelect: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
250
+ /** Extra class(es) applied to the panel (scoped custom styling). */
251
+ panelStyleClass: import("@angular/core").InputSignal<string | undefined>;
252
+ /** Native autocomplete, forwarded to the trigger. */
253
+ autocomplete: import("@angular/core").InputSignal<string | undefined>;
254
+ /** Emitted whenever the value changes (selection, time, clear). */
255
+ valueChange: import("@angular/core").OutputEmitterRef<DatepickerValue>;
256
+ /** Emitted when a date/month/year is picked — always a single value (in `valueType`'s
257
+ * shape), even in `multiple`/`range` (it reports "which day was just clicked", not the model
258
+ * value, which is why it never becomes an array there). */
259
+ dateSelect: import("@angular/core").OutputEmitterRef<string | Date>;
260
+ /** Emitted when the displayed month changes. */
261
+ monthChange: import("@angular/core").OutputEmitterRef<{
262
+ month: number;
263
+ year: number;
264
+ }>;
265
+ /** Emitted when the panel opens. */
266
+ opened: import("@angular/core").OutputEmitterRef<void>;
267
+ /** Emitted when the panel closes. */
268
+ closed: import("@angular/core").OutputEmitterRef<void>;
269
+ /** Emitted when the value is cleared. */
270
+ cleared: import("@angular/core").OutputEmitterRef<void>;
271
+ /** Emitted when the trigger receives focus. */
272
+ inputFocus: import("@angular/core").OutputEmitterRef<FocusEvent>;
273
+ /** Emitted when the trigger loses focus. */
274
+ inputBlur: import("@angular/core").OutputEmitterRef<FocusEvent>;
275
+ /** Custom day-cell template: `<ng-template #date let-date let-selected="selected">`. */
276
+ protected readonly dateTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
277
+ /** Custom button-bar template: `<ng-template #buttonbar let-todayCallback let-clearCallback>`. */
278
+ protected readonly buttonBarTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
279
+ /** Custom trigger-icon template: `<ng-template #icon let-name let-size="size">`. */
280
+ private readonly iconTemplate;
281
+ /** @ignore */
282
+ private readonly localeId;
283
+ /** @ignore Focus origin of the trigger, for `showOnFocus`. The CDK is the only thing that can
284
+ * tell a user-initiated focus from a programmatic one (`autofocus`, a host app calling
285
+ * `focus()`), which must not pop a calendar the user never asked for. */
286
+ private readonly focusMonitor;
287
+ /** @ignore Only used to detach the overlay *synchronously* on `Tab`, see `onTriggerKeydown`. */
288
+ private readonly cdr;
289
+ /** @ignore */
290
+ private readonly doc;
291
+ /** @ignore Element the current press started on, see `onOutsideClick`. */
292
+ private pressOrigin;
293
+ /** @ignore */
294
+ private readonly triggerInput;
295
+ /** @ignore Trigger host (to anchor the overlay on the input box, not the helper). */
296
+ private readonly triggerRef;
297
+ /** @ignore Panel root element (overlay or inline) — used for roving day focus. */
298
+ private readonly panelEl;
299
+ /** @ignore Trigger wrapper (field + label + format hint). A non-modal panel has no backdrop,
300
+ * so outside-click dismissal has to know what "inside the trigger" means. */
301
+ private readonly triggerWrapperEl;
302
+ /** @ignore */
303
+ protected readonly panelId: string;
304
+ /** @ignore */
305
+ protected readonly panelOpen: import("@angular/core").WritableSignal<boolean>;
306
+ /** @ignore Panel opened without taking the focus (`showOnFocus`): plain popup instead of the
307
+ * usual modal dialog — see {@link DatepickerOpenOrigin}. */
308
+ protected readonly nonModal: import("@angular/core").WritableSignal<boolean>;
309
+ /** @ignore Set while we hand the focus back to the trigger ourselves (`close`), so the
310
+ * returning focus never re-opens the panel that just closed. `focus()` dispatches
311
+ * synchronously, so a plain flag is enough, no timer to leak. */
312
+ private suppressFocusOpen;
313
+ /** @ignore Element the overlay is anchored to (the input box). */
314
+ protected readonly overlayOrigin: import("@angular/core").WritableSignal<Element | null>;
315
+ /** @ignore Month currently displayed. */
316
+ protected readonly viewDate: import("@angular/core").WritableSignal<Date>;
317
+ /** @ignore Active drill-down level; resets to `view()` when it changes. */
318
+ protected readonly currentView: import("@angular/core").WritableSignal<DatepickerView>;
319
+ /** @ignore Day cell owning the roving tabindex. */
320
+ protected readonly focusedDate: import("@angular/core").WritableSignal<Date>;
321
+ /** @ignore Month-picker cell (index 0–11) owning the roving tabindex. */
322
+ protected readonly focusedMonthIndex: import("@angular/core").WritableSignal<number>;
323
+ /** @ignore Year-picker cell (absolute year) owning the roving tabindex. */
324
+ protected readonly focusedYear: import("@angular/core").WritableSignal<number>;
325
+ /** @ignore Time components. */
326
+ protected readonly hours: import("@angular/core").WritableSignal<number>;
327
+ protected readonly minutes: import("@angular/core").WritableSignal<number>;
328
+ /** @ignore Raw text while the user edits the trigger (`allowInput`); `null` when not editing. */
329
+ protected readonly typedValue: import("@angular/core").WritableSignal<string | null>;
330
+ /** @ignore Live mask given up on for the rest of the current entry, because the user edited
331
+ * inside the text instead of appending at its tail (see `onTriggerInput`/`typingSlots`).
332
+ * Lifted by any commit, and as soon as the field reads empty. */
333
+ private readonly maskSuspended;
334
+ /** @ignore Date-based source of truth for all calendar/selection logic; `modelValue`
335
+ * (inherited) only ever carries the public value (`Date` or ISO string per `valueType`),
336
+ * written in lockstep. */
337
+ protected readonly internalValue: import("@angular/core").WritableSignal<DatepickerDateValue>;
338
+ /** @ignore Below the trigger, flipping above when `autoFlip` and space is lacking. */
339
+ protected readonly overlayPositions: import("@angular/core").Signal<import("@angular/cdk/overlay").ConnectedPosition[]>;
340
+ /** @ignore Gutter kept with the viewport edges, matching the one `$panel-max-width`
341
+ * reserves; with `cdkConnectedOverlayPush` it keeps the panel fully on screen. */
342
+ protected readonly overlayViewportMargin = 12;
343
+ /** @ignore Bound (stable) callbacks exposed to the `#buttonbar` template. */
344
+ protected readonly todayCallback: (event?: Event) => void;
345
+ protected readonly clearCallback: (event?: Event) => void;
346
+ /** @ignore */
347
+ private readonly resolvedLocale;
348
+ /** @ignore `minDate`/`maxDate`/`disabledDates` normalized to `Date` (accept ISO strings too). */
349
+ private readonly resolvedMinDate;
350
+ private readonly resolvedMaxDate;
351
+ private readonly resolvedDefaultViewDate;
352
+ private readonly resolvedDisabledDates;
353
+ /** @ignore Not typeable: manual input off, read-only, or `timeOnly` (no bare-time parser).
354
+ * `range`/`multiple` ARE typeable (FSHSP-118) — see `parseTypedMulti`/`typingSlots`. */
355
+ protected readonly triggerReadonly: import("@angular/core").Signal<boolean>;
356
+ /** @ignore Single-date placeholder token (e.g. `jj/mm/aaaa`) — the building block
357
+ * `resolvedPlaceholder` composes for `range`/`multiple`. With a custom `dateFormat`, the
358
+ * locale's numeric token would be flatly wrong (it describes a format nothing actually
359
+ * produces or accepts) — showing that custom formatter's own output for an illustrative date
360
+ * instead at least matches what the field really expects. */
361
+ private readonly singleDatePlaceholder;
362
+ /**
363
+ * @ignore Placeholder shown in the typeable trigger. Falls back to a hint derived from the
364
+ * resolved locale's field order (e.g. `jj/mm/aaaa` in French, `mm/dd/yyyy` in en-US) — or, with
365
+ * a custom `dateFormat`, from that formatter's own output for an illustrative date (see
366
+ * `singleDatePlaceholder`), since the locale-numeric token would describe a format nothing
367
+ * actually produces or accepts — so the field never advertises the wrong format. Composed into
368
+ * `"jj/mm/aaaa - jj/mm/aaaa"` (`range`) or `"jj/mm/aaaa, ..."` (`multiple`), matching
369
+ * `RANGE_SEPARATOR`/`MULTIPLE_SEPARATOR` (see `parseTypedMulti`).
370
+ */
371
+ protected readonly resolvedPlaceholder: import("@angular/core").Signal<string | undefined>;
372
+ /**
373
+ * @ignore Format hint text, or `null` when there's nothing to announce: the trigger isn't
374
+ * typeable, or `formatHintLabel` was explicitly set to `''` to opt out.
375
+ */
376
+ protected readonly resolvedFormatHint: import("@angular/core").Signal<string | null>;
377
+ /** @ignore Stable id for the hint element `resolvedFormatHint` renders into. */
378
+ protected readonly formatHintId: import("@angular/core").Signal<string>;
379
+ /**
380
+ * @ignore Field order a custom `dateFormat` actually writes, probed from its own output for
381
+ * {@link probeDate}. `null` when there is no custom formatter, or when its output isn't
382
+ * numeric enough to tell (e.g. `"22 novembre 2023"`) — the locale order stands then.
383
+ *
384
+ * The default parser and the live mask have to read the text back in the order the field
385
+ * displays it, and a `dateFormat` is free to use a locale of its own: an `fr-FR` formatter
386
+ * under an `en-US` `LOCALE_ID` displayed `"08/07/2026"` but parsed it month-first, so
387
+ * finishing the entry silently swapped day and month (FSHSP-179).
388
+ */
389
+ private readonly customFormatFieldOrder;
390
+ /** @ignore Order of day/month/year driving numeric parsing, the live mask and the auto
391
+ * placeholder: what a custom `dateFormat` writes when that can be probed
392
+ * ({@link customFormatFieldOrder}), the resolved locale's own order otherwise. */
393
+ private readonly dateFieldOrder;
394
+ /** @ignore `dateFieldOrder`, minus `day` in month view — the fields actually typed. */
395
+ private readonly activeFields;
396
+ /**
397
+ * @ignore Dynamic mask (day/month/year widths, `+` time if `showTime`, `+` a second date for
398
+ * `range`) driving the auto-"/"/":"/" - " formatting of the typeable trigger. `null` disables
399
+ * it: `triggerReadonly`, `view === 'year'` (free-form field), a custom `parseDate` (non-numeric
400
+ * format), `hasValue()`, or `multiple` (unbounded date count, no fixed template fits — plain
401
+ * text on blur/Enter instead, see `parseTypedMulti`).
402
+ *
403
+ * `hasValue()`: re-deriving the mask from the raw digit stream only works for *constructing* a
404
+ * value from nothing, not editing one in place (day/month re-validate arbitrary residual digits
405
+ * after any edit — see `onTriggerInput`). So it's off once a value exists — plain text instead,
406
+ * parsed on blur/Enter — and re-arms the moment the field reads empty (`onTriggerInput` commits
407
+ * the clear right there, not just on blur, so `hasValue()` actually flips before the next key).
408
+ *
409
+ * `maskSuspended()`: the same limitation, hit before any value exists — an edit made *inside*
410
+ * the text being typed rather than at its tail (see `onTriggerInput`).
411
+ */
412
+ private readonly typingSlots;
413
+ /** @ignore The panel is visible. */
414
+ protected readonly showPanel: import("@angular/core").Signal<boolean>;
415
+ /** @ignore Day grid shown (hidden in `timeOnly`). */
416
+ protected readonly showCalendar: import("@angular/core").Signal<boolean>;
417
+ /** @ignore Single-month layout enables the drill-down header + roving focus. */
418
+ protected readonly singleMonth: import("@angular/core").Signal<boolean>;
419
+ /** @ignore A value is currently set. */
420
+ protected readonly hasValue: import("@angular/core").Signal<boolean>;
421
+ /**
422
+ * @ignore A `range` whose two ends are both picked. Between the first and the second click
423
+ * the start is selected but there is no zone yet: the grid must then show its chip alone,
424
+ * never a half band running off toward an end that does not exist.
425
+ */
426
+ protected readonly rangeComplete: import("@angular/core").Signal<boolean>;
427
+ /**
428
+ * @ignore The trigger's right action clears the value (instead of toggling the panel). Gated
429
+ * on `!showIcon()` (FSHSP-118): the calendar/clock toggle always wins the trigger's single icon
430
+ * slot when it's shown, so there's always a click target to reopen the panel and pick a
431
+ * different date directly — the cross only replaces it in configs that hid it (`showIcon`
432
+ * false), where it's the sole remaining affordance to empty the field without a keyboard.
433
+ */
434
+ protected readonly showClearButton: import("@angular/core").Signal<boolean>;
435
+ /** @ignore Right-side icon: clear (×) when clearable + set + no calendar toggle to show
436
+ * (see `showClearButton`), else the calendar/clock toggle. */
437
+ protected readonly triggerIcon: import("@angular/core").Signal<string | undefined>;
438
+ /** @ignore Accessible name of the right action. */
439
+ protected readonly triggerIconAriaLabel: import("@angular/core").Signal<string>;
440
+ /** @ignore Forwarded to the trigger only when an icon zone is rendered — `showIcon="false"` stays icon-less. */
441
+ protected readonly triggerIconTemplate: import("@angular/core").Signal<TemplateRef<UiInputIconContext> | undefined>;
442
+ /** @ignore Flatten the internal (Date-based) value to a list of selected dates. */
443
+ private readonly selectedDates;
444
+ /** @ignore First selected date (for view seeding / time / display). */
445
+ private firstSelectedFrom;
446
+ /** @ignore Whether the value carries a time component (date+time ISO / non-midnight `Date`)
447
+ * — also what shows the time row, which `timeOnly` needs without `showTime` (FSHSP-271). */
448
+ protected readonly hasTimeComponent: import("@angular/core").Signal<boolean>;
449
+ /** @ignore Date → ISO string, date-only unless `showTime`/`timeOnly`. */
450
+ private toIsoValue;
451
+ /** @ignore ISO string → Date, `null` if malformed (never throws). */
452
+ private fromIsoValue;
453
+ /** @ignore Internal Date → the shape `valueType` commits to emitting: a fresh `Date`
454
+ * (normalized to midnight when no time is shown — never the original reference) in `'date'`
455
+ * mode, an ISO string in `'iso'` mode. The single point deciding the emitted type. */
456
+ private serializeValue;
457
+ /** @ignore A single incoming item, `Date` or ISO string, auto-detected — `writeValue` accepts
458
+ * either shape regardless of `valueType` (only the emitted side commits to one). Cloned when
459
+ * already a `Date` (never the caller's own reference) — symmetric with `serializeValue`,
460
+ * which never hands back the internal reference either; protects against the caller later
461
+ * mutating that `Date` in place and silently desyncing `internalValue`. */
462
+ private parseValue;
463
+ /** @ignore Internal Date(s) → public value, right before it reaches `modelValue`/the CVA.
464
+ * The cast is safe: `serializeValue` only branches on `valueType()`, constant across the
465
+ * `map`, so the array is always homogeneous (`Date[]` or `string[]`, never mixed). */
466
+ private toExternalValue;
467
+ /** @ignore Public value → internal Date(s), right as it enters via `writeValue`. Invalid
468
+ * entries are dropped rather than failing the whole value (a malformed item in a
469
+ * `multiple`/`range` array shouldn't wipe out the rest). */
470
+ private toInternalValue;
471
+ /** @ignore */
472
+ private formatDate;
473
+ /** @ignore `timeOnly` display — respects `hourFormat` (never the locale's own AM/PM-vs-24h
474
+ * default) and `dateFormat` when provided (symmetric with `formatDate`/`formatMonth`, used
475
+ * here as a time formatter). */
476
+ private formatTime;
477
+ /** @ignore Month-view display (numeric + round-trippable when the trigger is typeable). */
478
+ private formatMonth;
479
+ /** @ignore Value rendered in the trigger. */
480
+ protected readonly displayValue: import("@angular/core").Signal<string>;
481
+ /** @ignore Displayed decade start (year view). */
482
+ private readonly decadeStart;
483
+ /** @ignore Header label depends on the active view. */
484
+ protected readonly headerLabel: import("@angular/core").Signal<string>;
485
+ /** @ignore Short (visible) + full (aria-label) weekday names — without both, either the header
486
+ * stays `aria-hidden` or the short text alone leaves screen-reader users without column names. */
487
+ protected readonly weekDayNames: import("@angular/core").Signal<{
488
+ short: string;
489
+ full: string;
490
+ }[]>;
491
+ /** @ignore Full-date `aria-label` formatter for day gridcells (e.g. "8 juillet 2026"). */
492
+ private readonly dayAriaFormatter;
493
+ /** @ignore Month panels (1 or more) for the date view. */
494
+ protected readonly monthPanels: import("@angular/core").Signal<DatepickerMonthPanel[]>;
495
+ /** @ignore Month-picker grid (12 months of the displayed year). */
496
+ protected readonly months: import("@angular/core").Signal<DatepickerMonthCell[]>;
497
+ /** @ignore Year-picker grid (the displayed decade). */
498
+ protected readonly years: import("@angular/core").Signal<DatepickerYearCell[]>;
499
+ /** @ignore Month/year cells chunked into the rows the CSS actually renders (3 and 2 columns,
500
+ * see `.ui-datepicker-picker._month` / `._year`). A `role="grid"` requires its `gridcell`s to
501
+ * sit inside a `role="row"`; without it the whole grid is invalid ARIA and screen readers get
502
+ * no row structure to walk. Keep the chunk sizes in step with the SCSS column counts. */
503
+ protected readonly monthRows: import("@angular/core").Signal<DatepickerMonthCell[][]>;
504
+ /** @ignore Year-picker rows — 2 columns, see `.ui-datepicker-picker._year`. */
505
+ protected readonly yearRows: import("@angular/core").Signal<DatepickerYearCell[][]>;
506
+ /** @ignore Hours as shown in the 12h stepper (1–12). */
507
+ protected readonly displayHours: import("@angular/core").Signal<number>;
508
+ /** @ignore */
509
+ protected readonly meridiem: import("@angular/core").Signal<"AM" | "PM">;
510
+ constructor();
511
+ ngOnInit(): void;
512
+ writeValue(value: DatepickerValue): void;
513
+ /**
514
+ * @param viaIcon Whether this open was specifically triggered by the calendar icon (vs.
515
+ * clicking the field itself, or a keyboard shortcut) — see the rove-into-grid comment below.
516
+ */
517
+ open(viaIcon?: boolean): void;
518
+ /** @ignore Real implementation of {@link open}, keyed on the full {@link DatepickerOpenOrigin}
519
+ * (the public `open()` only ever expresses two of the three). */
520
+ private openFrom;
521
+ close(focusTrigger?: boolean): void;
522
+ /** @ignore */
523
+ protected toggle(viaIcon?: boolean): void;
524
+ /** @ignore Right action: clear when clearable + set, otherwise toggle the panel (via the icon —
525
+ * see `open`'s `viaIcon`). `stopPropagation` keeps the click from bubbling to the field (which
526
+ * would otherwise also call `open()`, without `viaIcon`, right behind this one). */
527
+ protected onIconClick(event: MouseEvent): void;
528
+ /**
529
+ * @ignore Whether a click on the trigger opens the panel. It does when the field isn't
530
+ * typeable (`triggerReadonly`: the field then *is* the button), and when `showIcon` is off
531
+ * (no calendar toggle left — without this, nothing would open the panel with a mouse).
532
+ *
533
+ * On a typeable field it does NOT (FSHSP-180). The panel is an overlay with a permanent
534
+ * backdrop, so an open panel swallows every further click on the field: the first click
535
+ * placed the caret, the next one lost focus without moving it — correcting a single segment
536
+ * with the mouse was impossible. Opening also live-commits the typed text through
537
+ * `previewTyped`, which disarms the auto-"/" mask mid-entry (see `typingSlots`). The icon,
538
+ * `↓` and typing are unaffected.
539
+ */
540
+ private readonly openOnTriggerClick;
541
+ /** @ignore Click anywhere on the trigger (label, field or format hint — they share the wrapper). */
542
+ protected onTriggerClick(): void;
543
+ /** @ignore Keys typed anywhere in the trigger wrapper. */
544
+ protected onTriggerKeydown(event: KeyboardEvent): void;
545
+ /** @ignore `Escape` is consumed only when it really closes the panel. A closed one lets it
546
+ * bubble, so a parent dialog stays reachable by the same key. */
547
+ private handleEscape;
548
+ /**
549
+ * @ignore Track the raw text as the user types; live-preview the open panel. When a typing
550
+ * mask applies (see `typingSlots`), auto-insert "/" as soon as a segment is complete (same
551
+ * pattern as a card-expiry field) and reposition the caret accordingly.
552
+ */
553
+ protected onTriggerInput(value: string): void;
554
+ /** @ignore Whether `text` already has its time portion too, when `showTime` requires one.
555
+ * `previewTyped` needs this: without it, `hasValue()` (and the mask) flipped off the moment
556
+ * day/month/year were typed, before a single time digit — the next digit then glued onto the
557
+ * year with no mask to insert "HH:MM" (FSHSP-118). `commitTyped` doesn't use this: a date typed
558
+ * and blurred without a time is still a legitimate commit (time defaults to the steppers). */
559
+ private hasCompleteTimeIfNeeded;
560
+ /**
561
+ * @ignore Reflect a fully-typed date (or `range`/`multiple` set) in the open panel
562
+ * (navigate + highlight) without reformatting the field, so the caret stays put while typing.
563
+ */
564
+ private previewTyped;
565
+ /** @ignore Parse the typed text on blur, then forward the blur. */
566
+ protected onTriggerBlur(event: FocusEvent): void;
567
+ /**
568
+ * @ignore Focus leaving the trigger altogether. A non-modal panel has neither backdrop nor
569
+ * focus trap, so tabbing on to the next field is a dismissal that nothing else would perform
570
+ */
571
+ protected onTriggerFocusOut(event: FocusEvent): void;
572
+ /** @ignore Focus leaving a non-modal panel altogether (`Tab` out of the grid) — same
573
+ * dismissal as {@link onTriggerBlur}, from the other side. */
574
+ protected onPanelFocusOut(event: FocusEvent): void;
575
+ /** @ignore Pointer landing outside the overlay. A non-modal panel leaves the trigger live
576
+ * underneath, and a press there must place the caret, not dismiss the panel it would then
577
+ * immediately re-open. */
578
+ protected onOutsideClick(event: MouseEvent): void;
579
+ /** @ignore Whether this `Tab` walks out of the trigger, rather than between the field and its
580
+ * own action button (at most two stops, so an exact list beats any heuristic). */
581
+ private tabLeavesTrigger;
582
+ /** @ignore Pressing the panel's own chrome must not pull the focus out of the field: a
583
+ * non-modal panel would be dismissed by its own focusout. Its controls keep the default. */
584
+ protected onPanelMousedown(event: MouseEvent): void;
585
+ /** @ignore */
586
+ private panelContains;
587
+ /** @ignore */
588
+ private triggerContains;
589
+ /** @ignore Parse and apply the typed text (single date, or `range`/`multiple` set — see
590
+ * `parseTypedValue`); revert to the previous value if invalid. */
591
+ protected commitTyped(): void;
592
+ /**
593
+ * @ignore Custom parser when provided, otherwise the locale-aware numeric parser.
594
+ * `requireComplete` gates the default parser to fully-typed dates (custom
595
+ * parsers decide completeness themselves).
596
+ */
597
+ private parseTyped;
598
+ /**
599
+ * @ignore Parses typed text into whatever shape the current `selectionMode` commits: a single
600
+ * `Date` for `single`, a `Date[]` for `range`/`multiple` (see `parseTypedMulti`). `null` means
601
+ * "not a complete, enabled value for this mode" — the caller reverts.
602
+ */
603
+ private parseTypedValue;
604
+ /** @ignore `range`/`multiple` typed entry (FSHSP-118): splits via `splitTypedSegments`, parses
605
+ * each part with `parseTyped` (a custom `parseDate` applies per part, like `dateFormat` does
606
+ * per date on display). `range` needs exactly 2 parts, reordered chronologically; `multiple`
607
+ * takes any count, deduped. One bad/disabled part fails the whole thing. Always `startOfDay` —
608
+ * no `showTime` support here. */
609
+ private parseTypedMulti;
610
+ /** @ignore Splits typed `range`/`multiple` text into per-date segments (FSHSP-118). A plain
611
+ * `text.split(sep)` breaks when a date's own formatted text contains `sep` (e.g. a `", "`
612
+ * `dateFormat` in `multiple`, or an ISO dash in `range`) — instead, a `sep` occurrence is only
613
+ * accepted as a boundary once the text before it already parses as a complete date. */
614
+ private splitTypedSegments;
615
+ /**
616
+ * @ignore Locale-aware numeric parser (day/month/year order from `dateFieldOrder`).
617
+ * With `requireComplete`, returns `null` unless every component is present
618
+ * (and the year has 2 or ≥4 digits) — used for live preview to avoid jumps.
619
+ */
620
+ private defaultParse;
621
+ /** @ignore 2-digit years → 2000s. */
622
+ private normalizeYear;
623
+ /** @ignore Range/disabled check for a parsed value, granular to the base view. */
624
+ private isParsedDisabled;
625
+ /** @ignore Click the header title → drill up (date → month → year). Single-month only. */
626
+ protected onHeaderClick(): void;
627
+ /** @ignore Prev/next arrow — steps month / year / decade depending on the view. */
628
+ protected onPrev(): void;
629
+ protected onNext(): void;
630
+ /** @ignore */
631
+ private step;
632
+ /** @ignore */
633
+ protected changeMonth(delta: number): void;
634
+ /** @ignore Pick a day from the grid. */
635
+ protected selectDay(cell: DatepickerDay): void;
636
+ /** @ignore Month-picker / drill-down month selection. */
637
+ protected selectMonth(cell: DatepickerMonthCell): void;
638
+ /** @ignore Year-picker / drill-down year selection. */
639
+ protected selectYear(cell: DatepickerYearCell): void;
640
+ /** @ignore Apply the time signals to the value (single selection only). */
641
+ protected applyTime(): void;
642
+ /** @ignore Zero-padded labels for the steppers. */
643
+ protected readonly hoursLabel: import("@angular/core").Signal<string>;
644
+ protected readonly minutesLabel: import("@angular/core").Signal<string>;
645
+ /** @ignore Raw digits while a time field is being typed in; `null` when not editing. */
646
+ private readonly hoursDraft;
647
+ private readonly minutesDraft;
648
+ /** @ignore Text rendered in a time field: the draft while typing, the padded label otherwise. */
649
+ protected readonly hoursValue: import("@angular/core").Signal<string>;
650
+ protected readonly minutesValue: import("@angular/core").Signal<string>;
651
+ /** @ignore Accepted hours range (the 12h clock shows 1–12). */
652
+ protected readonly hourBounds: import("@angular/core").Signal<{
653
+ min: number;
654
+ max: number;
655
+ }>;
656
+ /** @ignore The hours/minutes fields accept typing. */
657
+ protected readonly timeEditable: import("@angular/core").Signal<boolean>;
658
+ /** @ignore The time steppers (chevrons + AM/PM toggle) accept interaction — unlike
659
+ * `timeEditable`, not gated on `editableTime` (the steppers stay usable in
660
+ * `StepperOnlyTime`-style configs; only `disabled`/`readonly` freeze them). */
661
+ protected readonly timeControlsEnabled: import("@angular/core").Signal<boolean>;
662
+ /** @ignore Step hours (wraps 0↔23; also flips meridiem across the 12h boundary). */
663
+ protected stepHours(dir: 1 | -1): void;
664
+ /** @ignore Step minutes by `stepMinute` (wraps 0↔59). */
665
+ protected stepMinutes(dir: 1 | -1): void;
666
+ /** @ignore */
667
+ protected toggleMeridiem(): void;
668
+ /**
669
+ * @ignore Typing in the hours field. The digits are held as a draft (so `0` can
670
+ * be the start of `09`) and committed as soon as they form a valid hour.
671
+ */
672
+ protected onHoursInput(event: Event): void;
673
+ /** @ignore Typing in the minutes field — exact value (`stepMinute` only drives the steppers). */
674
+ protected onMinutesInput(event: Event): void;
675
+ /**
676
+ * @ignore Keep a time field to at most 2 digits and reject what can never be in
677
+ * range (`33`, or `13` on a 12h clock) — the field reverts to `current`, so the
678
+ * keystroke is simply refused. Returns the accepted digits, or `null` if rejected.
679
+ */
680
+ private acceptTimeDigits;
681
+ /** @ignore 12h display hour (1–12) + the current meridiem → 24h hour. */
682
+ private to24;
683
+ /** @ignore Focusing a time field selects it, so typing replaces the value. */
684
+ protected onTimeFocus(event: FocusEvent): void;
685
+ /** @ignore Leaving a time field drops the draft: the zero-padded label comes back. */
686
+ protected onHoursBlur(): void;
687
+ /** @ignore */
688
+ protected onMinutesBlur(): void;
689
+ /** @ignore ARIA spinbutton keyboard: ↑/↓ step, PageUp/PageDown ±, Enter commits. */
690
+ protected onHourKeydown(event: KeyboardEvent): void;
691
+ /** @ignore */
692
+ protected onMinuteKeydown(event: KeyboardEvent): void;
693
+ /** @ignore */
694
+ protected onMeridiemKeydown(event: KeyboardEvent): void;
695
+ /** @ignore */
696
+ private pad;
697
+ /** @ignore */
698
+ protected selectToday(): void;
699
+ /** @ignore */
700
+ protected clear(): void;
701
+ /** @ignore */
702
+ protected onGridKeydown(event: KeyboardEvent): void;
703
+ /** @ignore The roving-focus cell. `otherMonth` cells are excluded so a date
704
+ * shown twice across adjacent panels (multi-month) yields a single tab stop. */
705
+ protected isFocusableDay(cell: DatepickerDay): boolean;
706
+ /**
707
+ * @ignore Shared arrow/Home/End math for a fixed-size, `columns`-wide grid (the month picker's
708
+ * 12 cells / 3 columns and the year picker's 10 cells / 2 columns) — the one piece of roving-
709
+ * focus logic actually common to all three grids; `PageUp`/`PageDown`/`Enter`/`Escape` differ
710
+ * per grid (paging semantics, selecting a month vs. a year) and stay in their own handler.
711
+ * Returns `null` for a key it doesn't handle.
712
+ */
713
+ private navigateGridIndex;
714
+ /** @ignore Month-picker grid: ←↑→↓/Home/End move within the 12 months (3 columns), PageUp/PageDown
715
+ * step the displayed year (Shift = ×10), Enter/Space picks the focused month. */
716
+ protected onMonthGridKeydown(event: KeyboardEvent): void;
717
+ /** @ignore Year-picker grid: ←↑→↓/Home/End move within the displayed decade (2 columns),
718
+ * PageUp/PageDown step by a decade (Shift = ×10 decades), Enter/Space picks the focused year. */
719
+ protected onYearGridKeydown(event: KeyboardEvent): void;
720
+ /** @ignore The month-picker roving-focus cell. */
721
+ protected isFocusableMonth(cell: DatepickerMonthCell): boolean;
722
+ /** @ignore The year-picker roving-focus cell. */
723
+ protected isFocusableYear(cell: DatepickerYearCell): boolean;
724
+ /** @ignore Shift the visible month window just enough to contain `date`. */
725
+ private ensureMonthVisible;
726
+ /** @ignore Sole "normal" write path: takes internal Date(s), serializes to the public ISO
727
+ * string(s) right here, before it ever reaches `modelValue`/the CVA. Callers keep passing
728
+ * `Date`/`Date[]`/`null` exactly as before — the ISO contract lives entirely in this method. */
729
+ private commit;
730
+ /** @ignore Build a day-cell descriptor with its selection/range flags. */
731
+ private buildDay;
732
+ /** @ignore 6×7 grid for a given month, incl. adjacent-month spill-over. */
733
+ private buildMonthWeeks;
734
+ /** @ignore */
735
+ private resolveOverlayOrigin;
736
+ /** @ignore Focus the roving-tabindex cell matching `selector`, once the DOM reflects the
737
+ * just-updated `focusedDate`/`focusedMonthIndex`/`focusedYear` signal. */
738
+ private queueCellFocus;
739
+ /** @ignore */
740
+ private queueDayFocus;
741
+ /** @ignore */
742
+ private queueMonthFocus;
743
+ /** @ignore */
744
+ private queueYearFocus;
745
+ /** @ignore Where an empty field opens: `defaultViewDate`, else today, never out of bounds. */
746
+ private emptyOpeningDate;
747
+ /** @ignore Shows {@link emptyOpeningDate} once the field is (again) empty: from the first
748
+ * render for an inline calendar, never under the eyes of a user browsing an open panel.
749
+ * Not tied to the bounds on purpose, or rebinding them would undo the user's navigation. */
750
+ private showEmptyOpeningDate;
751
+ /** @ignore */
752
+ private clampToRange;
753
+ /** @ignore */
754
+ private isDateDisabled;
755
+ /** @ignore Whole month out of [min, max]. */
756
+ private isMonthDisabled;
757
+ /** @ignore Whole year out of [min, max]. */
758
+ private isYearDisabled;
759
+ /** @ignore */
760
+ private capitalize;
761
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiDatepicker, never>;
762
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiDatepicker, "ui-datepicker", never, {
763
+ "placeholder": {
764
+ "alias": "placeholder";
765
+ "required": false;
766
+ "isSignal": true;
767
+ };
768
+ "icon": {
769
+ "alias": "icon";
770
+ "required": false;
771
+ "isSignal": true;
772
+ };
773
+ "showIcon": {
774
+ "alias": "showIcon";
775
+ "required": false;
776
+ "isSignal": true;
777
+ };
778
+ "iconAriaLabel": {
779
+ "alias": "iconAriaLabel";
780
+ "required": false;
781
+ "isSignal": true;
782
+ };
783
+ "showClear": {
784
+ "alias": "showClear";
785
+ "required": false;
786
+ "isSignal": true;
787
+ };
788
+ "valueType": {
789
+ "alias": "valueType";
790
+ "required": true;
791
+ "isSignal": true;
792
+ };
793
+ "selectionMode": {
794
+ "alias": "selectionMode";
795
+ "required": false;
796
+ "isSignal": true;
797
+ };
798
+ "view": {
799
+ "alias": "view";
800
+ "required": false;
801
+ "isSignal": true;
802
+ };
803
+ "numberOfMonths": {
804
+ "alias": "numberOfMonths";
805
+ "required": false;
806
+ "isSignal": true;
807
+ };
808
+ "minDate": {
809
+ "alias": "minDate";
810
+ "required": false;
811
+ "isSignal": true;
812
+ };
813
+ "maxDate": {
814
+ "alias": "maxDate";
815
+ "required": false;
816
+ "isSignal": true;
817
+ };
818
+ "defaultViewDate": {
819
+ "alias": "defaultViewDate";
820
+ "required": false;
821
+ "isSignal": true;
822
+ };
823
+ "disabledDates": {
824
+ "alias": "disabledDates";
825
+ "required": false;
826
+ "isSignal": true;
827
+ };
828
+ "disabledDays": {
829
+ "alias": "disabledDays";
830
+ "required": false;
831
+ "isSignal": true;
832
+ };
833
+ "firstDayOfWeek": {
834
+ "alias": "firstDayOfWeek";
835
+ "required": false;
836
+ "isSignal": true;
837
+ };
838
+ "locale": {
839
+ "alias": "locale";
840
+ "required": false;
841
+ "isSignal": true;
842
+ };
843
+ "dateFormat": {
844
+ "alias": "dateFormat";
845
+ "required": false;
846
+ "isSignal": true;
847
+ };
848
+ "allowInput": {
849
+ "alias": "allowInput";
850
+ "required": false;
851
+ "isSignal": true;
852
+ };
853
+ "parseDate": {
854
+ "alias": "parseDate";
855
+ "required": false;
856
+ "isSignal": true;
857
+ };
858
+ "showTime": {
859
+ "alias": "showTime";
860
+ "required": false;
861
+ "isSignal": true;
862
+ };
863
+ "timeOnly": {
864
+ "alias": "timeOnly";
865
+ "required": false;
866
+ "isSignal": true;
867
+ };
868
+ "hourFormat": {
869
+ "alias": "hourFormat";
870
+ "required": false;
871
+ "isSignal": true;
872
+ };
873
+ "stepMinute": {
874
+ "alias": "stepMinute";
875
+ "required": false;
876
+ "isSignal": true;
877
+ };
878
+ "editableTime": {
879
+ "alias": "editableTime";
880
+ "required": false;
881
+ "isSignal": true;
882
+ };
883
+ "showButtonBar": {
884
+ "alias": "showButtonBar";
885
+ "required": false;
886
+ "isSignal": true;
887
+ };
888
+ "ripple": {
889
+ "alias": "ripple";
890
+ "required": false;
891
+ "isSignal": true;
892
+ };
893
+ "todayLabel": {
894
+ "alias": "todayLabel";
895
+ "required": false;
896
+ "isSignal": true;
897
+ };
898
+ "clearLabel": {
899
+ "alias": "clearLabel";
900
+ "required": false;
901
+ "isSignal": true;
902
+ };
903
+ "formatHintLabel": {
904
+ "alias": "formatHintLabel";
905
+ "required": false;
906
+ "isSignal": true;
907
+ };
908
+ "panelAriaLabel": {
909
+ "alias": "panelAriaLabel";
910
+ "required": false;
911
+ "isSignal": true;
912
+ };
913
+ "prevAriaLabel": {
914
+ "alias": "prevAriaLabel";
915
+ "required": false;
916
+ "isSignal": true;
917
+ };
918
+ "nextAriaLabel": {
919
+ "alias": "nextAriaLabel";
920
+ "required": false;
921
+ "isSignal": true;
922
+ };
923
+ "hoursAriaLabel": {
924
+ "alias": "hoursAriaLabel";
925
+ "required": false;
926
+ "isSignal": true;
927
+ };
928
+ "minutesAriaLabel": {
929
+ "alias": "minutesAriaLabel";
930
+ "required": false;
931
+ "isSignal": true;
932
+ };
933
+ "meridiemAriaLabel": {
934
+ "alias": "meridiemAriaLabel";
935
+ "required": false;
936
+ "isSignal": true;
937
+ };
938
+ "incrementHoursAriaLabel": {
939
+ "alias": "incrementHoursAriaLabel";
940
+ "required": false;
941
+ "isSignal": true;
942
+ };
943
+ "decrementHoursAriaLabel": {
944
+ "alias": "decrementHoursAriaLabel";
945
+ "required": false;
946
+ "isSignal": true;
947
+ };
948
+ "incrementMinutesAriaLabel": {
949
+ "alias": "incrementMinutesAriaLabel";
950
+ "required": false;
951
+ "isSignal": true;
952
+ };
953
+ "decrementMinutesAriaLabel": {
954
+ "alias": "decrementMinutesAriaLabel";
955
+ "required": false;
956
+ "isSignal": true;
957
+ };
958
+ "toggleMeridiemAriaLabel": {
959
+ "alias": "toggleMeridiemAriaLabel";
960
+ "required": false;
961
+ "isSignal": true;
962
+ };
963
+ "inline": {
964
+ "alias": "inline";
965
+ "required": false;
966
+ "isSignal": true;
967
+ };
968
+ "showOnFocus": {
969
+ "alias": "showOnFocus";
970
+ "required": false;
971
+ "isSignal": true;
972
+ };
973
+ "autoFlip": {
974
+ "alias": "autoFlip";
975
+ "required": false;
976
+ "isSignal": true;
977
+ };
978
+ "closeOnSelect": {
979
+ "alias": "closeOnSelect";
980
+ "required": false;
981
+ "isSignal": true;
982
+ };
983
+ "panelStyleClass": {
984
+ "alias": "panelStyleClass";
985
+ "required": false;
986
+ "isSignal": true;
987
+ };
988
+ "autocomplete": {
989
+ "alias": "autocomplete";
990
+ "required": false;
991
+ "isSignal": true;
992
+ };
993
+ }, {
994
+ "valueChange": "valueChange";
995
+ "dateSelect": "dateSelect";
996
+ "monthChange": "monthChange";
997
+ "opened": "opened";
998
+ "closed": "closed";
999
+ "cleared": "cleared";
1000
+ "inputFocus": "inputFocus";
1001
+ "inputBlur": "inputBlur";
1002
+ }, ["dateTemplate", "buttonBarTemplate", "iconTemplate"], never, true, never>;
748
1003
  }
749
-
750
- export { UiDatepicker };
751
- export type { DatepickerDay, DatepickerHourFormat, DatepickerMonthCell, DatepickerMonthPanel, DatepickerSelectionMode, DatepickerValue, DatepickerValueType, DatepickerView, DatepickerYearCell };
1004
+ export {};