@angular/material 14.0.0-next.12 → 14.0.0-next.13

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 (878) hide show
  1. package/autocomplete/index.d.ts +436 -6
  2. package/autocomplete/testing/index.d.ts +71 -8
  3. package/badge/index.d.ts +107 -8
  4. package/badge/testing/index.d.ts +36 -8
  5. package/bottom-sheet/index.d.ts +266 -6
  6. package/bottom-sheet/testing/index.d.ts +27 -8
  7. package/button/index.d.ts +77 -6
  8. package/button/testing/index.d.ts +44 -8
  9. package/button-toggle/index.d.ts +245 -6
  10. package/button-toggle/testing/index.d.ts +91 -8
  11. package/card/index.d.ts +165 -5
  12. package/card/testing/index.d.ts +44 -8
  13. package/checkbox/index.d.ts +246 -6
  14. package/checkbox/testing/index.d.ts +91 -8
  15. package/chips/index.d.ts +650 -5
  16. package/chips/testing/index.d.ts +256 -8
  17. package/core/index.d.ts +1079 -5
  18. package/core/testing/index.d.ts +64 -8
  19. package/core/theming/_theming.scss +1 -1
  20. package/datepicker/index.d.ts +1782 -6
  21. package/datepicker/testing/index.d.ts +307 -8
  22. package/dialog/index.d.ts +489 -6
  23. package/dialog/testing/index.d.ts +97 -8
  24. package/divider/index.d.ts +30 -8
  25. package/divider/testing/index.d.ts +16 -8
  26. package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
  27. package/esm2020/autocomplete/autocomplete-origin.mjs +6 -6
  28. package/esm2020/autocomplete/autocomplete-trigger.mjs +6 -6
  29. package/esm2020/autocomplete/autocomplete.mjs +8 -8
  30. package/esm2020/autocomplete/testing/autocomplete-harness.mjs +5 -1
  31. package/esm2020/badge/badge-module.mjs +5 -5
  32. package/esm2020/badge/badge.mjs +3 -3
  33. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +3 -3
  34. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
  35. package/esm2020/bottom-sheet/bottom-sheet.mjs +3 -3
  36. package/esm2020/button/button-module.mjs +5 -5
  37. package/esm2020/button/button.mjs +6 -6
  38. package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
  39. package/esm2020/button-toggle/button-toggle.mjs +6 -6
  40. package/esm2020/card/card-module.mjs +5 -5
  41. package/esm2020/card/card.mjs +42 -42
  42. package/esm2020/checkbox/checkbox-module.mjs +9 -9
  43. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  44. package/esm2020/checkbox/checkbox.mjs +3 -3
  45. package/esm2020/chips/chip-input.mjs +3 -3
  46. package/esm2020/chips/chip-list.mjs +3 -3
  47. package/esm2020/chips/chip.mjs +12 -12
  48. package/esm2020/chips/chips-module.mjs +6 -6
  49. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  50. package/esm2020/core/datetime/index.mjs +9 -9
  51. package/esm2020/core/datetime/native-date-adapter.mjs +3 -3
  52. package/esm2020/core/error/error-options.mjs +6 -6
  53. package/esm2020/core/line/line.mjs +8 -8
  54. package/esm2020/core/option/index.mjs +5 -5
  55. package/esm2020/core/option/optgroup.mjs +6 -6
  56. package/esm2020/core/option/option.mjs +6 -6
  57. package/esm2020/core/ripple/index.mjs +5 -5
  58. package/esm2020/core/ripple/ripple.mjs +3 -3
  59. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  60. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  61. package/esm2020/core/version.mjs +1 -1
  62. package/esm2020/datepicker/calendar-body.mjs +3 -3
  63. package/esm2020/datepicker/calendar.mjs +6 -6
  64. package/esm2020/datepicker/date-range-input-parts.mjs +9 -9
  65. package/esm2020/datepicker/date-range-input.mjs +3 -3
  66. package/esm2020/datepicker/date-range-picker.mjs +3 -3
  67. package/esm2020/datepicker/date-range-selection-strategy.mjs +3 -3
  68. package/esm2020/datepicker/date-selection-model.mjs +9 -9
  69. package/esm2020/datepicker/datepicker-actions.mjs +9 -9
  70. package/esm2020/datepicker/datepicker-base.mjs +6 -6
  71. package/esm2020/datepicker/datepicker-input-base.mjs +3 -3
  72. package/esm2020/datepicker/datepicker-input.mjs +3 -3
  73. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  74. package/esm2020/datepicker/datepicker-module.mjs +10 -12
  75. package/esm2020/datepicker/datepicker-toggle.mjs +6 -6
  76. package/esm2020/datepicker/datepicker.mjs +3 -3
  77. package/esm2020/datepicker/month-view.mjs +3 -3
  78. package/esm2020/datepicker/multi-year-view.mjs +3 -3
  79. package/esm2020/datepicker/year-view.mjs +3 -3
  80. package/esm2020/dialog/dialog-container.mjs +33 -215
  81. package/esm2020/dialog/dialog-content-directives.mjs +14 -14
  82. package/esm2020/dialog/dialog-module.mjs +8 -7
  83. package/esm2020/dialog/dialog-ref.mjs +25 -57
  84. package/esm2020/dialog/dialog.mjs +74 -197
  85. package/esm2020/divider/divider-module.mjs +5 -5
  86. package/esm2020/divider/divider.mjs +3 -3
  87. package/esm2020/expansion/accordion.mjs +3 -3
  88. package/esm2020/expansion/expansion-module.mjs +5 -5
  89. package/esm2020/expansion/expansion-panel-content.mjs +3 -3
  90. package/esm2020/expansion/expansion-panel-header.mjs +9 -9
  91. package/esm2020/expansion/expansion-panel.mjs +6 -6
  92. package/esm2020/form-field/error.mjs +3 -3
  93. package/esm2020/form-field/form-field-control.mjs +3 -3
  94. package/esm2020/form-field/form-field-module.mjs +5 -5
  95. package/esm2020/form-field/form-field.mjs +3 -3
  96. package/esm2020/form-field/hint.mjs +3 -3
  97. package/esm2020/form-field/label.mjs +3 -3
  98. package/esm2020/form-field/placeholder.mjs +3 -3
  99. package/esm2020/form-field/prefix.mjs +3 -3
  100. package/esm2020/form-field/suffix.mjs +3 -3
  101. package/esm2020/grid-list/grid-list-module.mjs +5 -5
  102. package/esm2020/grid-list/grid-list.mjs +3 -3
  103. package/esm2020/grid-list/grid-tile.mjs +15 -15
  104. package/esm2020/icon/icon-module.mjs +5 -5
  105. package/esm2020/icon/icon-registry.mjs +3 -3
  106. package/esm2020/icon/icon.mjs +3 -3
  107. package/esm2020/icon/testing/fake-icon-registry.mjs +7 -7
  108. package/esm2020/input/input-module.mjs +5 -5
  109. package/esm2020/input/input.mjs +3 -3
  110. package/esm2020/list/list-module.mjs +5 -5
  111. package/esm2020/list/list.mjs +18 -18
  112. package/esm2020/list/selection-list.mjs +6 -6
  113. package/esm2020/menu/menu-content.mjs +7 -7
  114. package/esm2020/menu/menu-item.mjs +4 -4
  115. package/esm2020/menu/menu-module.mjs +5 -5
  116. package/esm2020/menu/menu-trigger.mjs +7 -7
  117. package/esm2020/menu/menu.mjs +7 -7
  118. package/esm2020/paginator/paginator-intl.mjs +3 -3
  119. package/esm2020/paginator/paginator-module.mjs +5 -5
  120. package/esm2020/paginator/paginator.mjs +6 -6
  121. package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
  122. package/esm2020/progress-bar/progress-bar.mjs +3 -3
  123. package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
  124. package/esm2020/progress-spinner/progress-spinner.mjs +3 -3
  125. package/esm2020/radio/radio-module.mjs +5 -5
  126. package/esm2020/radio/radio.mjs +12 -12
  127. package/esm2020/select/select-module.mjs +5 -5
  128. package/esm2020/select/select.mjs +9 -9
  129. package/esm2020/sidenav/drawer.mjs +9 -9
  130. package/esm2020/sidenav/sidenav-module.mjs +5 -5
  131. package/esm2020/sidenav/sidenav.mjs +9 -9
  132. package/esm2020/slide-toggle/slide-toggle-module.mjs +12 -14
  133. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +3 -3
  134. package/esm2020/slide-toggle/slide-toggle.mjs +3 -3
  135. package/esm2020/slider/slider-module.mjs +5 -5
  136. package/esm2020/slider/slider.mjs +3 -3
  137. package/esm2020/snack-bar/simple-snack-bar.mjs +3 -3
  138. package/esm2020/snack-bar/snack-bar-container.mjs +3 -3
  139. package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
  140. package/esm2020/snack-bar/snack-bar-ref.mjs +2 -3
  141. package/esm2020/snack-bar/snack-bar.mjs +6 -6
  142. package/esm2020/sort/sort-header-intl.mjs +3 -3
  143. package/esm2020/sort/sort-header.mjs +3 -3
  144. package/esm2020/sort/sort-module.mjs +5 -5
  145. package/esm2020/sort/sort.mjs +3 -3
  146. package/esm2020/stepper/step-content.mjs +3 -3
  147. package/esm2020/stepper/step-header.mjs +3 -3
  148. package/esm2020/stepper/step-label.mjs +3 -3
  149. package/esm2020/stepper/stepper-button.mjs +6 -6
  150. package/esm2020/stepper/stepper-icon.mjs +3 -3
  151. package/esm2020/stepper/stepper-intl.mjs +3 -3
  152. package/esm2020/stepper/stepper-module.mjs +11 -13
  153. package/esm2020/stepper/stepper.mjs +6 -6
  154. package/esm2020/table/cell.mjs +21 -21
  155. package/esm2020/table/row.mjs +21 -21
  156. package/esm2020/table/table-module.mjs +5 -5
  157. package/esm2020/table/table.mjs +6 -6
  158. package/esm2020/table/text-column.mjs +3 -3
  159. package/esm2020/tabs/ink-bar.mjs +3 -3
  160. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  161. package/esm2020/tabs/tab-body.mjs +9 -9
  162. package/esm2020/tabs/tab-content.mjs +3 -3
  163. package/esm2020/tabs/tab-group.mjs +6 -6
  164. package/esm2020/tabs/tab-header.mjs +6 -6
  165. package/esm2020/tabs/tab-label-wrapper.mjs +3 -3
  166. package/esm2020/tabs/tab-label.mjs +3 -3
  167. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +15 -15
  168. package/esm2020/tabs/tab.mjs +3 -3
  169. package/esm2020/tabs/tabs-module.mjs +10 -12
  170. package/esm2020/toolbar/toolbar-module.mjs +5 -5
  171. package/esm2020/toolbar/toolbar.mjs +6 -6
  172. package/esm2020/tooltip/tooltip-module.mjs +5 -5
  173. package/esm2020/tooltip/tooltip.mjs +12 -12
  174. package/esm2020/tree/node.mjs +9 -9
  175. package/esm2020/tree/outlet.mjs +3 -3
  176. package/esm2020/tree/padding.mjs +3 -3
  177. package/esm2020/tree/toggle.mjs +3 -3
  178. package/esm2020/tree/tree-module.mjs +5 -5
  179. package/esm2020/tree/tree.mjs +3 -3
  180. package/expansion/index.d.ts +343 -5
  181. package/expansion/testing/index.d.ts +106 -8
  182. package/fesm2015/autocomplete/testing.mjs +6 -0
  183. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  184. package/fesm2015/autocomplete.mjs +23 -23
  185. package/fesm2015/autocomplete.mjs.map +1 -1
  186. package/fesm2015/badge.mjs +7 -7
  187. package/fesm2015/badge.mjs.map +1 -1
  188. package/fesm2015/bottom-sheet.mjs +10 -10
  189. package/fesm2015/bottom-sheet.mjs.map +1 -1
  190. package/fesm2015/button-toggle.mjs +10 -10
  191. package/fesm2015/button-toggle.mjs.map +1 -1
  192. package/fesm2015/button.mjs +10 -10
  193. package/fesm2015/button.mjs.map +1 -1
  194. package/fesm2015/card.mjs +46 -46
  195. package/fesm2015/card.mjs.map +1 -1
  196. package/fesm2015/checkbox.mjs +14 -14
  197. package/fesm2015/checkbox.mjs.map +1 -1
  198. package/fesm2015/chips.mjs +23 -23
  199. package/fesm2015/chips.mjs.map +1 -1
  200. package/fesm2015/core.mjs +59 -59
  201. package/fesm2015/core.mjs.map +1 -1
  202. package/fesm2015/datepicker.mjs +87 -89
  203. package/fesm2015/datepicker.mjs.map +1 -1
  204. package/fesm2015/dialog.mjs +140 -483
  205. package/fesm2015/dialog.mjs.map +1 -1
  206. package/fesm2015/divider.mjs +7 -7
  207. package/fesm2015/divider.mjs.map +1 -1
  208. package/fesm2015/expansion.mjs +25 -25
  209. package/fesm2015/expansion.mjs.map +1 -1
  210. package/fesm2015/form-field.mjs +28 -28
  211. package/fesm2015/form-field.mjs.map +1 -1
  212. package/fesm2015/grid-list.mjs +22 -22
  213. package/fesm2015/grid-list.mjs.map +1 -1
  214. package/fesm2015/icon/testing.mjs +7 -7
  215. package/fesm2015/icon.mjs +10 -10
  216. package/fesm2015/icon.mjs.map +1 -1
  217. package/fesm2015/input.mjs +7 -7
  218. package/fesm2015/input.mjs.map +1 -1
  219. package/fesm2015/list.mjs +28 -28
  220. package/fesm2015/list.mjs.map +1 -1
  221. package/fesm2015/menu.mjs +25 -25
  222. package/fesm2015/menu.mjs.map +1 -1
  223. package/fesm2015/paginator.mjs +13 -13
  224. package/fesm2015/paginator.mjs.map +1 -1
  225. package/fesm2015/progress-bar.mjs +7 -7
  226. package/fesm2015/progress-bar.mjs.map +1 -1
  227. package/fesm2015/progress-spinner.mjs +7 -7
  228. package/fesm2015/progress-spinner.mjs.map +1 -1
  229. package/fesm2015/radio.mjs +16 -16
  230. package/fesm2015/radio.mjs.map +1 -1
  231. package/fesm2015/select.mjs +13 -13
  232. package/fesm2015/select.mjs.map +1 -1
  233. package/fesm2015/sidenav.mjs +22 -22
  234. package/fesm2015/sidenav.mjs.map +1 -1
  235. package/fesm2015/slide-toggle.mjs +17 -19
  236. package/fesm2015/slide-toggle.mjs.map +1 -1
  237. package/fesm2015/slider.mjs +7 -7
  238. package/fesm2015/slider.mjs.map +1 -1
  239. package/fesm2015/snack-bar.mjs +17 -18
  240. package/fesm2015/snack-bar.mjs.map +1 -1
  241. package/fesm2015/sort.mjs +13 -13
  242. package/fesm2015/sort.mjs.map +1 -1
  243. package/fesm2015/stepper.mjs +37 -39
  244. package/fesm2015/stepper.mjs.map +1 -1
  245. package/fesm2015/table.mjs +55 -55
  246. package/fesm2015/table.mjs.map +1 -1
  247. package/fesm2015/tabs.mjs +63 -65
  248. package/fesm2015/tabs.mjs.map +1 -1
  249. package/fesm2015/toolbar.mjs +10 -10
  250. package/fesm2015/toolbar.mjs.map +1 -1
  251. package/fesm2015/tooltip.mjs +16 -16
  252. package/fesm2015/tooltip.mjs.map +1 -1
  253. package/fesm2015/tree.mjs +25 -25
  254. package/fesm2015/tree.mjs.map +1 -1
  255. package/fesm2020/autocomplete/testing.mjs +4 -0
  256. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  257. package/fesm2020/autocomplete.mjs +23 -23
  258. package/fesm2020/autocomplete.mjs.map +1 -1
  259. package/fesm2020/badge.mjs +7 -7
  260. package/fesm2020/badge.mjs.map +1 -1
  261. package/fesm2020/bottom-sheet.mjs +10 -10
  262. package/fesm2020/bottom-sheet.mjs.map +1 -1
  263. package/fesm2020/button-toggle.mjs +10 -10
  264. package/fesm2020/button-toggle.mjs.map +1 -1
  265. package/fesm2020/button.mjs +10 -10
  266. package/fesm2020/button.mjs.map +1 -1
  267. package/fesm2020/card.mjs +46 -46
  268. package/fesm2020/card.mjs.map +1 -1
  269. package/fesm2020/checkbox.mjs +14 -14
  270. package/fesm2020/checkbox.mjs.map +1 -1
  271. package/fesm2020/chips.mjs +23 -23
  272. package/fesm2020/chips.mjs.map +1 -1
  273. package/fesm2020/core.mjs +59 -59
  274. package/fesm2020/core.mjs.map +1 -1
  275. package/fesm2020/datepicker.mjs +87 -89
  276. package/fesm2020/datepicker.mjs.map +1 -1
  277. package/fesm2020/dialog.mjs +143 -481
  278. package/fesm2020/dialog.mjs.map +1 -1
  279. package/fesm2020/divider.mjs +7 -7
  280. package/fesm2020/divider.mjs.map +1 -1
  281. package/fesm2020/expansion.mjs +25 -25
  282. package/fesm2020/expansion.mjs.map +1 -1
  283. package/fesm2020/form-field.mjs +28 -28
  284. package/fesm2020/form-field.mjs.map +1 -1
  285. package/fesm2020/grid-list.mjs +22 -22
  286. package/fesm2020/grid-list.mjs.map +1 -1
  287. package/fesm2020/icon/testing.mjs +7 -7
  288. package/fesm2020/icon.mjs +10 -10
  289. package/fesm2020/icon.mjs.map +1 -1
  290. package/fesm2020/input.mjs +7 -7
  291. package/fesm2020/input.mjs.map +1 -1
  292. package/fesm2020/list.mjs +28 -28
  293. package/fesm2020/list.mjs.map +1 -1
  294. package/fesm2020/menu.mjs +25 -25
  295. package/fesm2020/menu.mjs.map +1 -1
  296. package/fesm2020/paginator.mjs +13 -13
  297. package/fesm2020/paginator.mjs.map +1 -1
  298. package/fesm2020/progress-bar.mjs +7 -7
  299. package/fesm2020/progress-bar.mjs.map +1 -1
  300. package/fesm2020/progress-spinner.mjs +7 -7
  301. package/fesm2020/progress-spinner.mjs.map +1 -1
  302. package/fesm2020/radio.mjs +16 -16
  303. package/fesm2020/radio.mjs.map +1 -1
  304. package/fesm2020/select.mjs +13 -13
  305. package/fesm2020/select.mjs.map +1 -1
  306. package/fesm2020/sidenav.mjs +22 -22
  307. package/fesm2020/sidenav.mjs.map +1 -1
  308. package/fesm2020/slide-toggle.mjs +17 -19
  309. package/fesm2020/slide-toggle.mjs.map +1 -1
  310. package/fesm2020/slider.mjs +7 -7
  311. package/fesm2020/slider.mjs.map +1 -1
  312. package/fesm2020/snack-bar.mjs +17 -18
  313. package/fesm2020/snack-bar.mjs.map +1 -1
  314. package/fesm2020/sort.mjs +13 -13
  315. package/fesm2020/sort.mjs.map +1 -1
  316. package/fesm2020/stepper.mjs +37 -39
  317. package/fesm2020/stepper.mjs.map +1 -1
  318. package/fesm2020/table.mjs +55 -55
  319. package/fesm2020/table.mjs.map +1 -1
  320. package/fesm2020/tabs.mjs +63 -65
  321. package/fesm2020/tabs.mjs.map +1 -1
  322. package/fesm2020/toolbar.mjs +10 -10
  323. package/fesm2020/toolbar.mjs.map +1 -1
  324. package/fesm2020/tooltip.mjs +16 -16
  325. package/fesm2020/tooltip.mjs.map +1 -1
  326. package/fesm2020/tree.mjs +25 -25
  327. package/fesm2020/tree.mjs.map +1 -1
  328. package/form-field/index.d.ts +401 -5
  329. package/form-field/testing/control/index.d.ts +8 -6
  330. package/form-field/testing/index.d.ts +127 -8
  331. package/grid-list/index.d.ts +232 -5
  332. package/grid-list/testing/index.d.ts +86 -8
  333. package/icon/index.d.ts +443 -5
  334. package/icon/testing/index.d.ts +81 -6
  335. package/index.d.ts +3 -7
  336. package/input/index.d.ts +209 -6
  337. package/input/testing/index.d.ts +129 -8
  338. package/list/index.d.ts +369 -6
  339. package/list/testing/index.d.ts +329 -6
  340. package/menu/index.d.ts +618 -6
  341. package/menu/testing/index.d.ts +115 -8
  342. package/package.json +38 -38
  343. package/paginator/index.d.ts +224 -6
  344. package/paginator/testing/index.d.ts +65 -8
  345. package/progress-bar/index.d.ts +147 -6
  346. package/progress-bar/testing/index.d.ts +26 -8
  347. package/progress-spinner/index.d.ts +138 -6
  348. package/progress-spinner/testing/index.d.ts +27 -8
  349. package/radio/index.d.ts +305 -6
  350. package/radio/testing/index.d.ts +130 -8
  351. package/schematics/ng-add/index.js +1 -1
  352. package/schematics/ng-add/index.mjs +1 -1
  353. package/select/index.d.ts +534 -5
  354. package/select/testing/index.d.ts +79 -8
  355. package/sidenav/index.d.ts +395 -5
  356. package/sidenav/testing/index.d.ts +124 -6
  357. package/slide-toggle/index.d.ts +173 -5
  358. package/slide-toggle/testing/index.d.ts +77 -8
  359. package/slider/index.d.ts +289 -6
  360. package/slider/testing/index.d.ts +60 -8
  361. package/snack-bar/index.d.ts +372 -6
  362. package/snack-bar/testing/index.d.ts +72 -8
  363. package/sort/index.d.ts +326 -5
  364. package/sort/testing/index.d.ts +50 -8
  365. package/stepper/index.d.ts +288 -6
  366. package/stepper/testing/index.d.ts +142 -6
  367. package/table/index.d.ts +382 -5
  368. package/table/testing/index.d.ts +178 -8
  369. package/tabs/index.d.ts +963 -5
  370. package/tabs/testing/index.d.ts +153 -8
  371. package/toolbar/index.d.ts +56 -6
  372. package/toolbar/testing/index.d.ts +35 -8
  373. package/tooltip/index.d.ts +362 -5
  374. package/tooltip/testing/index.d.ts +42 -8
  375. package/tree/index.d.ts +243 -5
  376. package/tree/testing/index.d.ts +122 -8
  377. package/autocomplete/autocomplete-module.d.ts +0 -13
  378. package/autocomplete/autocomplete-origin.d.ts +0 -27
  379. package/autocomplete/autocomplete-trigger.d.ts +0 -211
  380. package/autocomplete/autocomplete.d.ts +0 -150
  381. package/autocomplete/autocomplete_public_index.d.ts +0 -4
  382. package/autocomplete/package.json +0 -9
  383. package/autocomplete/public-api.d.ts +0 -11
  384. package/autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
  385. package/autocomplete/testing/autocomplete-harness.d.ts +0 -61
  386. package/autocomplete/testing/package.json +0 -9
  387. package/autocomplete/testing/public-api.d.ts +0 -9
  388. package/badge/badge-module.d.ts +0 -9
  389. package/badge/badge.d.ts +0 -86
  390. package/badge/badge_public_index.d.ts +0 -4
  391. package/badge/package.json +0 -9
  392. package/badge/public-api.d.ts +0 -9
  393. package/badge/testing/badge-harness-filters.d.ts +0 -11
  394. package/badge/testing/badge-harness.d.ts +0 -34
  395. package/badge/testing/package.json +0 -9
  396. package/badge/testing/public-api.d.ts +0 -9
  397. package/bottom-sheet/bottom-sheet-animations.d.ts +0 -12
  398. package/bottom-sheet/bottom-sheet-config.d.ts +0 -54
  399. package/bottom-sheet/bottom-sheet-container.d.ts +0 -87
  400. package/bottom-sheet/bottom-sheet-module.d.ts +0 -10
  401. package/bottom-sheet/bottom-sheet-ref.d.ts +0 -51
  402. package/bottom-sheet/bottom-sheet.d.ts +0 -59
  403. package/bottom-sheet/bottom-sheet_public_index.d.ts +0 -4
  404. package/bottom-sheet/package.json +0 -9
  405. package/bottom-sheet/public-api.d.ts +0 -13
  406. package/bottom-sheet/testing/bottom-sheet-harness-filters.d.ts +0 -10
  407. package/bottom-sheet/testing/bottom-sheet-harness.d.ts +0 -27
  408. package/bottom-sheet/testing/package.json +0 -9
  409. package/bottom-sheet/testing/public-api.d.ts +0 -9
  410. package/button/button-module.d.ts +0 -8
  411. package/button/button.d.ts +0 -58
  412. package/button/button_public_index.d.ts +0 -4
  413. package/button/package.json +0 -9
  414. package/button/public-api.d.ts +0 -9
  415. package/button/testing/button-harness-filters.d.ts +0 -13
  416. package/button/testing/button-harness.d.ts +0 -41
  417. package/button/testing/package.json +0 -9
  418. package/button/testing/public-api.d.ts +0 -9
  419. package/button-toggle/button-toggle-module.d.ts +0 -8
  420. package/button-toggle/button-toggle.d.ts +0 -212
  421. package/button-toggle/button-toggle_public_index.d.ts +0 -4
  422. package/button-toggle/package.json +0 -9
  423. package/button-toggle/public-api.d.ts +0 -9
  424. package/button-toggle/testing/button-toggle-group-harness-filters.d.ts +0 -11
  425. package/button-toggle/testing/button-toggle-group-harness.d.ts +0 -35
  426. package/button-toggle/testing/button-toggle-harness-filters.d.ts +0 -17
  427. package/button-toggle/testing/button-toggle-harness.d.ts +0 -56
  428. package/button-toggle/testing/package.json +0 -9
  429. package/button-toggle/testing/public-api.d.ts +0 -11
  430. package/card/card-module.d.ts +0 -8
  431. package/card/card.d.ts +0 -126
  432. package/card/card_public_index.d.ts +0 -4
  433. package/card/package.json +0 -9
  434. package/card/public-api.d.ts +0 -9
  435. package/card/testing/card-harness-filters.d.ts +0 -17
  436. package/card/testing/card-harness.d.ts +0 -36
  437. package/card/testing/package.json +0 -9
  438. package/card/testing/public-api.d.ts +0 -9
  439. package/checkbox/checkbox-config.d.ts +0 -28
  440. package/checkbox/checkbox-module.d.ts +0 -16
  441. package/checkbox/checkbox-required-validator.d.ts +0 -20
  442. package/checkbox/checkbox.d.ts +0 -166
  443. package/checkbox/checkbox_public_index.d.ts +0 -4
  444. package/checkbox/package.json +0 -9
  445. package/checkbox/public-api.d.ts +0 -11
  446. package/checkbox/testing/checkbox-harness-filters.d.ts +0 -17
  447. package/checkbox/testing/checkbox-harness.d.ts +0 -81
  448. package/checkbox/testing/package.json +0 -9
  449. package/checkbox/testing/public-api.d.ts +0 -9
  450. package/chips/chip-default-options.d.ts +0 -15
  451. package/chips/chip-input.d.ts +0 -91
  452. package/chips/chip-list.d.ts +0 -289
  453. package/chips/chip-text-control.d.ts +0 -20
  454. package/chips/chip.d.ts +0 -208
  455. package/chips/chips-module.d.ts +0 -10
  456. package/chips/chips_public_index.d.ts +0 -4
  457. package/chips/package.json +0 -9
  458. package/chips/public-api.d.ts +0 -12
  459. package/chips/testing/chip-avatar-harness.d.ts +0 -20
  460. package/chips/testing/chip-harness-filters.d.ts +0 -43
  461. package/chips/testing/chip-harness.d.ts +0 -63
  462. package/chips/testing/chip-input-harness.d.ts +0 -47
  463. package/chips/testing/chip-list-harness.d.ts +0 -54
  464. package/chips/testing/chip-listbox-harness.d.ts +0 -34
  465. package/chips/testing/chip-option-harness.d.ts +0 -29
  466. package/chips/testing/chip-remove-harness.d.ts +0 -22
  467. package/chips/testing/package.json +0 -9
  468. package/chips/testing/public-api.d.ts +0 -14
  469. package/core/animation/animation.d.ts +0 -20
  470. package/core/common-behaviors/color.d.ts +0 -26
  471. package/core/common-behaviors/common-module.d.ts +0 -44
  472. package/core/common-behaviors/constructor.d.ts +0 -14
  473. package/core/common-behaviors/disable-ripple.d.ts +0 -17
  474. package/core/common-behaviors/disabled.d.ts +0 -17
  475. package/core/common-behaviors/error-state.d.ts +0 -35
  476. package/core/common-behaviors/index.d.ts +0 -15
  477. package/core/common-behaviors/initialized.d.ts +0 -30
  478. package/core/common-behaviors/tabindex.d.ts +0 -20
  479. package/core/core_public_index.d.ts +0 -4
  480. package/core/datetime/date-adapter.d.ts +0 -215
  481. package/core/datetime/date-formats.d.ts +0 -21
  482. package/core/datetime/index.d.ts +0 -15
  483. package/core/datetime/native-date-adapter.d.ts +0 -74
  484. package/core/datetime/native-date-formats.d.ts +0 -9
  485. package/core/error/error-options.d.ts +0 -14
  486. package/core/line/line.d.ts +0 -29
  487. package/core/option/index.d.ts +0 -15
  488. package/core/option/optgroup.d.ts +0 -40
  489. package/core/option/option-parent.d.ts +0 -22
  490. package/core/option/option.d.ts +0 -135
  491. package/core/package.json +0 -9
  492. package/core/public-api.d.ts +0 -16
  493. package/core/ripple/index.d.ts +0 -11
  494. package/core/ripple/ripple-ref.d.ts +0 -54
  495. package/core/ripple/ripple-renderer.d.ts +0 -105
  496. package/core/ripple/ripple.d.ts +0 -113
  497. package/core/selection/index.d.ts +0 -9
  498. package/core/selection/pseudo-checkbox/pseudo-checkbox-module.d.ts +0 -8
  499. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +0 -29
  500. package/core/testing/optgroup-harness-filters.d.ts +0 -11
  501. package/core/testing/optgroup-harness.d.ts +0 -33
  502. package/core/testing/option-harness-filters.d.ts +0 -12
  503. package/core/testing/option-harness.d.ts +0 -35
  504. package/core/testing/package.json +0 -9
  505. package/core/testing/public-api.d.ts +0 -11
  506. package/core/version.d.ts +0 -10
  507. package/datepicker/calendar-body.d.ts +0 -176
  508. package/datepicker/calendar.d.ts +0 -156
  509. package/datepicker/date-range-input-parts.d.ts +0 -108
  510. package/datepicker/date-range-input.d.ts +0 -133
  511. package/datepicker/date-range-picker.d.ts +0 -17
  512. package/datepicker/date-range-selection-strategy.d.ts +0 -48
  513. package/datepicker/date-selection-model.d.ts +0 -139
  514. package/datepicker/datepicker-actions.d.ts +0 -40
  515. package/datepicker/datepicker-animations.d.ts +0 -16
  516. package/datepicker/datepicker-base.d.ts +0 -272
  517. package/datepicker/datepicker-errors.d.ts +0 -9
  518. package/datepicker/datepicker-input-base.d.ts +0 -136
  519. package/datepicker/datepicker-input.d.ts +0 -67
  520. package/datepicker/datepicker-intl.d.ts +0 -36
  521. package/datepicker/datepicker-module.d.ts +0 -26
  522. package/datepicker/datepicker-toggle.d.ts +0 -47
  523. package/datepicker/datepicker.d.ts +0 -7
  524. package/datepicker/datepicker_public_index.d.ts +0 -4
  525. package/datepicker/month-view.d.ts +0 -139
  526. package/datepicker/multi-year-view.d.ts +0 -103
  527. package/datepicker/package.json +0 -9
  528. package/datepicker/public-api.d.ts +0 -26
  529. package/datepicker/testing/calendar-cell-harness.d.ts +0 -64
  530. package/datepicker/testing/calendar-harness.d.ts +0 -53
  531. package/datepicker/testing/date-range-input-harness.d.ts +0 -59
  532. package/datepicker/testing/datepicker-harness-filters.d.ts +0 -45
  533. package/datepicker/testing/datepicker-input-harness-base.d.ts +0 -44
  534. package/datepicker/testing/datepicker-input-harness.d.ts +0 -36
  535. package/datepicker/testing/datepicker-toggle-harness.d.ts +0 -28
  536. package/datepicker/testing/datepicker-trigger-harness-base.d.ts +0 -44
  537. package/datepicker/testing/package.json +0 -9
  538. package/datepicker/testing/public-api.d.ts +0 -13
  539. package/datepicker/year-view.d.ts +0 -114
  540. package/dialog/dialog-animations.d.ts +0 -25
  541. package/dialog/dialog-config.d.ts +0 -105
  542. package/dialog/dialog-container.d.ts +0 -137
  543. package/dialog/dialog-content-directives.d.ts +0 -76
  544. package/dialog/dialog-module.d.ts +0 -11
  545. package/dialog/dialog-ref.d.ts +0 -101
  546. package/dialog/dialog.d.ts +0 -154
  547. package/dialog/dialog_public_index.d.ts +0 -4
  548. package/dialog/package.json +0 -9
  549. package/dialog/public-api.d.ts +0 -14
  550. package/dialog/testing/dialog-harness-filters.d.ts +0 -11
  551. package/dialog/testing/dialog-harness.d.ts +0 -58
  552. package/dialog/testing/dialog-opener.d.ts +0 -33
  553. package/dialog/testing/package.json +0 -9
  554. package/dialog/testing/public-api.d.ts +0 -10
  555. package/divider/divider-module.d.ts +0 -8
  556. package/divider/divider.d.ts +0 -14
  557. package/divider/divider_public_index.d.ts +0 -4
  558. package/divider/package.json +0 -9
  559. package/divider/public-api.d.ts +0 -9
  560. package/divider/testing/divider-harness-filters.d.ts +0 -10
  561. package/divider/testing/divider-harness.d.ts +0 -16
  562. package/divider/testing/package.json +0 -9
  563. package/divider/testing/public-api.d.ts +0 -9
  564. package/expansion/accordion-base.d.ts +0 -34
  565. package/expansion/accordion.d.ts +0 -45
  566. package/expansion/expansion-animations.d.ts +0 -36
  567. package/expansion/expansion-module.d.ts +0 -14
  568. package/expansion/expansion-panel-base.d.ts +0 -22
  569. package/expansion/expansion-panel-content.d.ts +0 -21
  570. package/expansion/expansion-panel-header.d.ts +0 -83
  571. package/expansion/expansion-panel.d.ts +0 -96
  572. package/expansion/expansion_public_index.d.ts +0 -4
  573. package/expansion/package.json +0 -9
  574. package/expansion/public-api.d.ts +0 -15
  575. package/expansion/testing/accordion-harness.d.ts +0 -25
  576. package/expansion/testing/expansion-harness-filters.d.ts +0 -17
  577. package/expansion/testing/expansion-harness.d.ts +0 -79
  578. package/expansion/testing/package.json +0 -9
  579. package/expansion/testing/public-api.d.ts +0 -10
  580. package/form-field/error.d.ts +0 -22
  581. package/form-field/form-field-animations.d.ts +0 -15
  582. package/form-field/form-field-control.d.ts +0 -60
  583. package/form-field/form-field-errors.d.ts +0 -13
  584. package/form-field/form-field-module.d.ts +0 -16
  585. package/form-field/form-field.d.ts +0 -189
  586. package/form-field/form-field_public_index.d.ts +0 -4
  587. package/form-field/hint.d.ts +0 -27
  588. package/form-field/label.d.ts +0 -6
  589. package/form-field/package.json +0 -9
  590. package/form-field/placeholder.d.ts +0 -11
  591. package/form-field/prefix.d.ts +0 -20
  592. package/form-field/public-api.d.ts +0 -18
  593. package/form-field/suffix.d.ts +0 -20
  594. package/form-field/testing/control/form-field-control-harness.d.ts +0 -14
  595. package/form-field/testing/control/package.json +0 -9
  596. package/form-field/testing/form-field-harness-filters.d.ts +0 -15
  597. package/form-field/testing/form-field-harness.d.ts +0 -114
  598. package/form-field/testing/package.json +0 -9
  599. package/form-field/testing/public-api.d.ts +0 -10
  600. package/grid-list/grid-list-base.d.ts +0 -22
  601. package/grid-list/grid-list-module.d.ts +0 -9
  602. package/grid-list/grid-list.d.ts +0 -63
  603. package/grid-list/grid-list_public_index.d.ts +0 -4
  604. package/grid-list/grid-tile.d.ts +0 -64
  605. package/grid-list/package.json +0 -9
  606. package/grid-list/public-api.d.ts +0 -12
  607. package/grid-list/testing/grid-list-harness-filters.d.ts +0 -18
  608. package/grid-list/testing/grid-list-harness.d.ts +0 -41
  609. package/grid-list/testing/grid-tile-harness.d.ts +0 -43
  610. package/grid-list/testing/package.json +0 -9
  611. package/grid-list/testing/public-api.d.ts +0 -10
  612. package/grid-list/tile-coordinator.d.ts +0 -79
  613. package/grid-list/tile-styler.d.ts +0 -134
  614. package/icon/fake-svgs.d.ts +0 -23
  615. package/icon/icon-module.d.ts +0 -8
  616. package/icon/icon-registry.d.ts +0 -262
  617. package/icon/icon.d.ts +0 -147
  618. package/icon/icon_public_index.d.ts +0 -4
  619. package/icon/package.json +0 -9
  620. package/icon/public-api.d.ts +0 -10
  621. package/icon/testing/fake-icon-registry.d.ts +0 -46
  622. package/icon/testing/icon-harness-filters.d.ts +0 -22
  623. package/icon/testing/icon-harness.d.ts +0 -29
  624. package/icon/testing/package.json +0 -9
  625. package/icon/testing/public-api.d.ts +0 -10
  626. package/icon/testing/testing_public_index.d.ts +0 -4
  627. package/icon/trusted-types.d.ts +0 -37
  628. package/input/input-errors.d.ts +0 -9
  629. package/input/input-module.d.ts +0 -10
  630. package/input/input-value-accessor.d.ts +0 -17
  631. package/input/input.d.ts +0 -174
  632. package/input/input_public_index.d.ts +0 -4
  633. package/input/package.json +0 -9
  634. package/input/public-api.d.ts +0 -11
  635. package/input/testing/input-harness-filters.d.ts +0 -15
  636. package/input/testing/input-harness.d.ts +0 -57
  637. package/input/testing/native-option-harness.d.ts +0 -29
  638. package/input/testing/native-select-harness-filters.d.ts +0 -17
  639. package/input/testing/native-select-harness.d.ts +0 -45
  640. package/input/testing/package.json +0 -9
  641. package/input/testing/public-api.d.ts +0 -12
  642. package/list/list-module.d.ts +0 -11
  643. package/list/list.d.ts +0 -99
  644. package/list/list_public_index.d.ts +0 -4
  645. package/list/package.json +0 -9
  646. package/list/public-api.d.ts +0 -10
  647. package/list/selection-list.d.ts +0 -226
  648. package/list/testing/action-list-harness.d.ts +0 -44
  649. package/list/testing/list-harness-base.d.ts +0 -100
  650. package/list/testing/list-harness-filters.d.ts +0 -32
  651. package/list/testing/list-harness.d.ts +0 -36
  652. package/list/testing/list-item-harness-base.d.ts +0 -48
  653. package/list/testing/nav-list-harness.d.ts +0 -46
  654. package/list/testing/package.json +0 -9
  655. package/list/testing/public-api.d.ts +0 -13
  656. package/list/testing/selection-list-harness.d.ts +0 -74
  657. package/menu/menu-animations.d.ts +0 -30
  658. package/menu/menu-content.d.ts +0 -47
  659. package/menu/menu-errors.d.ts +0 -25
  660. package/menu/menu-item.d.ts +0 -61
  661. package/menu/menu-module.d.ts +0 -14
  662. package/menu/menu-panel.d.ts +0 -49
  663. package/menu/menu-positions.d.ts +0 -9
  664. package/menu/menu-trigger.d.ts +0 -180
  665. package/menu/menu.d.ts +0 -207
  666. package/menu/menu_public_index.d.ts +0 -4
  667. package/menu/package.json +0 -9
  668. package/menu/public-api.d.ts +0 -15
  669. package/menu/testing/menu-harness-filters.d.ts +0 -20
  670. package/menu/testing/menu-harness.d.ts +0 -98
  671. package/menu/testing/package.json +0 -9
  672. package/menu/testing/public-api.d.ts +0 -9
  673. package/paginator/package.json +0 -9
  674. package/paginator/paginator-intl.d.ts +0 -43
  675. package/paginator/paginator-module.d.ts +0 -12
  676. package/paginator/paginator.d.ts +0 -157
  677. package/paginator/paginator_public_index.d.ts +0 -4
  678. package/paginator/public-api.d.ts +0 -10
  679. package/paginator/testing/package.json +0 -9
  680. package/paginator/testing/paginator-harness-filters.d.ts +0 -11
  681. package/paginator/testing/paginator-harness.d.ts +0 -61
  682. package/paginator/testing/public-api.d.ts +0 -9
  683. package/progress-bar/package.json +0 -9
  684. package/progress-bar/progress-bar-module.d.ts +0 -9
  685. package/progress-bar/progress-bar.d.ts +0 -116
  686. package/progress-bar/progress-bar_public_index.d.ts +0 -4
  687. package/progress-bar/public-api.d.ts +0 -9
  688. package/progress-bar/testing/package.json +0 -9
  689. package/progress-bar/testing/progress-bar-harness-filters.d.ts +0 -11
  690. package/progress-bar/testing/progress-bar-harness.d.ts +0 -25
  691. package/progress-bar/testing/public-api.d.ts +0 -9
  692. package/progress-spinner/package.json +0 -9
  693. package/progress-spinner/progress-spinner-module.d.ts +0 -9
  694. package/progress-spinner/progress-spinner.d.ts +0 -107
  695. package/progress-spinner/progress-spinner_public_index.d.ts +0 -4
  696. package/progress-spinner/public-api.d.ts +0 -16
  697. package/progress-spinner/testing/package.json +0 -9
  698. package/progress-spinner/testing/progress-spinner-harness-filters.d.ts +0 -11
  699. package/progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
  700. package/progress-spinner/testing/public-api.d.ts +0 -9
  701. package/radio/package.json +0 -9
  702. package/radio/public-api.d.ts +0 -9
  703. package/radio/radio-module.d.ts +0 -8
  704. package/radio/radio.d.ts +0 -265
  705. package/radio/radio_public_index.d.ts +0 -4
  706. package/radio/testing/package.json +0 -9
  707. package/radio/testing/public-api.d.ts +0 -9
  708. package/radio/testing/radio-harness-filters.d.ts +0 -22
  709. package/radio/testing/radio-harness.d.ts +0 -111
  710. package/select/package.json +0 -9
  711. package/select/public-api.d.ts +0 -10
  712. package/select/select-animations.d.ts +0 -19
  713. package/select/select-errors.d.ts +0 -26
  714. package/select/select-module.d.ts +0 -12
  715. package/select/select.d.ts +0 -455
  716. package/select/select_public_index.d.ts +0 -4
  717. package/select/testing/package.json +0 -9
  718. package/select/testing/public-api.d.ts +0 -9
  719. package/select/testing/select-harness-filters.d.ts +0 -11
  720. package/select/testing/select-harness.d.ts +0 -73
  721. package/sidenav/drawer-animations.d.ts +0 -15
  722. package/sidenav/drawer.d.ts +0 -299
  723. package/sidenav/package.json +0 -9
  724. package/sidenav/public-api.d.ts +0 -11
  725. package/sidenav/sidenav-module.d.ts +0 -11
  726. package/sidenav/sidenav.d.ts +0 -45
  727. package/sidenav/sidenav_public_index.d.ts +0 -4
  728. package/sidenav/testing/drawer-container-harness.d.ts +0 -30
  729. package/sidenav/testing/drawer-content-harness.d.ts +0 -21
  730. package/sidenav/testing/drawer-harness-filters.d.ts +0 -19
  731. package/sidenav/testing/drawer-harness.d.ts +0 -33
  732. package/sidenav/testing/package.json +0 -9
  733. package/sidenav/testing/public-api.d.ts +0 -14
  734. package/sidenav/testing/sidenav-container-harness.d.ts +0 -30
  735. package/sidenav/testing/sidenav-content-harness.d.ts +0 -21
  736. package/sidenav/testing/sidenav-harness.d.ts +0 -24
  737. package/slide-toggle/package.json +0 -9
  738. package/slide-toggle/public-api.d.ts +0 -11
  739. package/slide-toggle/slide-toggle-config.d.ts +0 -18
  740. package/slide-toggle/slide-toggle-module.d.ts +0 -16
  741. package/slide-toggle/slide-toggle-required-validator.d.ts +0 -23
  742. package/slide-toggle/slide-toggle.d.ts +0 -109
  743. package/slide-toggle/slide-toggle_public_index.d.ts +0 -4
  744. package/slide-toggle/testing/package.json +0 -9
  745. package/slide-toggle/testing/public-api.d.ts +0 -9
  746. package/slide-toggle/testing/slide-toggle-harness-filters.d.ts +0 -19
  747. package/slide-toggle/testing/slide-toggle-harness.d.ts +0 -65
  748. package/slider/package.json +0 -9
  749. package/slider/public-api.d.ts +0 -9
  750. package/slider/slider-module.d.ts +0 -9
  751. package/slider/slider.d.ts +0 -267
  752. package/slider/slider_public_index.d.ts +0 -4
  753. package/slider/testing/package.json +0 -9
  754. package/slider/testing/public-api.d.ts +0 -9
  755. package/slider/testing/slider-harness-filters.d.ts +0 -11
  756. package/slider/testing/slider-harness.d.ts +0 -59
  757. package/snack-bar/package.json +0 -9
  758. package/snack-bar/public-api.d.ts +0 -14
  759. package/snack-bar/simple-snack-bar.d.ts +0 -33
  760. package/snack-bar/snack-bar-animations.d.ts +0 -15
  761. package/snack-bar/snack-bar-config.d.ts +0 -45
  762. package/snack-bar/snack-bar-container.d.ts +0 -101
  763. package/snack-bar/snack-bar-module.d.ts +0 -13
  764. package/snack-bar/snack-bar-ref.d.ts +0 -64
  765. package/snack-bar/snack-bar.d.ts +0 -107
  766. package/snack-bar/snack-bar_public_index.d.ts +0 -4
  767. package/snack-bar/testing/package.json +0 -9
  768. package/snack-bar/testing/public-api.d.ts +0 -9
  769. package/snack-bar/testing/snack-bar-harness-filters.d.ts +0 -11
  770. package/snack-bar/testing/snack-bar-harness.d.ts +0 -71
  771. package/sort/package.json +0 -9
  772. package/sort/public-api.d.ts +0 -13
  773. package/sort/sort-animations.d.ts +0 -20
  774. package/sort/sort-direction.d.ts +0 -8
  775. package/sort/sort-errors.d.ts +0 -15
  776. package/sort/sort-header-intl.d.ts +0 -31
  777. package/sort/sort-header.d.ts +0 -166
  778. package/sort/sort-module.d.ts +0 -10
  779. package/sort/sort.d.ts +0 -93
  780. package/sort/sort_public_index.d.ts +0 -4
  781. package/sort/testing/package.json +0 -9
  782. package/sort/testing/public-api.d.ts +0 -10
  783. package/sort/testing/sort-harness-filters.d.ts +0 -15
  784. package/sort/testing/sort-harness.d.ts +0 -24
  785. package/sort/testing/sort-header-harness.d.ts +0 -30
  786. package/stepper/package.json +0 -9
  787. package/stepper/public-api.d.ts +0 -17
  788. package/stepper/step-content.d.ts +0 -18
  789. package/stepper/step-header.d.ts +0 -66
  790. package/stepper/step-label.d.ts +0 -6
  791. package/stepper/stepper-animations.d.ts +0 -18
  792. package/stepper/stepper-button.d.ts +0 -19
  793. package/stepper/stepper-icon.d.ts +0 -30
  794. package/stepper/stepper-intl.d.ts +0 -34
  795. package/stepper/stepper-module.d.ts +0 -18
  796. package/stepper/stepper.d.ts +0 -80
  797. package/stepper/stepper_public_index.d.ts +0 -4
  798. package/stepper/testing/package.json +0 -9
  799. package/stepper/testing/public-api.d.ts +0 -11
  800. package/stepper/testing/step-harness-filters.d.ts +0 -37
  801. package/stepper/testing/step-harness.d.ts +0 -52
  802. package/stepper/testing/stepper-button-harnesses.d.ts +0 -41
  803. package/stepper/testing/stepper-harness.d.ts +0 -35
  804. package/table/cell.d.ts +0 -59
  805. package/table/package.json +0 -9
  806. package/table/public-api.d.ts +0 -13
  807. package/table/row.d.ts +0 -55
  808. package/table/table-data-source.d.ts +0 -169
  809. package/table/table-module.d.ts +0 -12
  810. package/table/table.d.ts +0 -28
  811. package/table/table_public_index.d.ts +0 -4
  812. package/table/testing/cell-harness.d.ts +0 -49
  813. package/table/testing/package.json +0 -9
  814. package/table/testing/public-api.d.ts +0 -11
  815. package/table/testing/row-harness.d.ts +0 -66
  816. package/table/testing/table-harness-filters.d.ts +0 -21
  817. package/table/testing/table-harness.d.ts +0 -58
  818. package/table/text-column.d.ts +0 -22
  819. package/tabs/ink-bar.d.ts +0 -49
  820. package/tabs/package.json +0 -9
  821. package/tabs/paginated-tab-header.d.ts +0 -196
  822. package/tabs/public-api.d.ts +0 -20
  823. package/tabs/tab-body.d.ts +0 -116
  824. package/tabs/tab-config.d.ts +0 -35
  825. package/tabs/tab-content.d.ts +0 -22
  826. package/tabs/tab-group.d.ts +0 -183
  827. package/tabs/tab-header.d.ts +0 -49
  828. package/tabs/tab-label-wrapper.d.ts +0 -29
  829. package/tabs/tab-label.d.ts +0 -28
  830. package/tabs/tab-nav-bar/index.d.ts +0 -8
  831. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -134
  832. package/tabs/tab.d.ts +0 -89
  833. package/tabs/tabs-animations.d.ts +0 -15
  834. package/tabs/tabs-module.d.ts +0 -20
  835. package/tabs/tabs_public_index.d.ts +0 -4
  836. package/tabs/testing/package.json +0 -9
  837. package/tabs/testing/public-api.d.ts +0 -12
  838. package/tabs/testing/tab-group-harness.d.ts +0 -35
  839. package/tabs/testing/tab-harness-filters.d.ts +0 -29
  840. package/tabs/testing/tab-harness.d.ts +0 -38
  841. package/tabs/testing/tab-link-harness.d.ts +0 -29
  842. package/tabs/testing/tab-nav-bar-harness.d.ts +0 -38
  843. package/tabs/testing/tab-nav-panel-harness.d.ts +0 -23
  844. package/toolbar/package.json +0 -9
  845. package/toolbar/public-api.d.ts +0 -9
  846. package/toolbar/testing/package.json +0 -9
  847. package/toolbar/testing/public-api.d.ts +0 -9
  848. package/toolbar/testing/toolbar-harness-filters.d.ts +0 -13
  849. package/toolbar/testing/toolbar-harness.d.ts +0 -31
  850. package/toolbar/toolbar-module.d.ts +0 -8
  851. package/toolbar/toolbar.d.ts +0 -41
  852. package/toolbar/toolbar_public_index.d.ts +0 -4
  853. package/tooltip/package.json +0 -9
  854. package/tooltip/public-api.d.ts +0 -10
  855. package/tooltip/testing/package.json +0 -9
  856. package/tooltip/testing/public-api.d.ts +0 -9
  857. package/tooltip/testing/tooltip-harness-filters.d.ts +0 -11
  858. package/tooltip/testing/tooltip-harness.d.ts +0 -38
  859. package/tooltip/tooltip-animations.d.ts +0 -15
  860. package/tooltip/tooltip-module.d.ts +0 -12
  861. package/tooltip/tooltip.d.ts +0 -299
  862. package/tooltip/tooltip_public_index.d.ts +0 -4
  863. package/tree/data-source/flat-data-source.d.ts +0 -83
  864. package/tree/data-source/nested-data-source.d.ts +0 -25
  865. package/tree/node.d.ts +0 -53
  866. package/tree/outlet.d.ts +0 -21
  867. package/tree/package.json +0 -9
  868. package/tree/padding.d.ts +0 -23
  869. package/tree/public-api.d.ts +0 -15
  870. package/tree/testing/node-harness.d.ts +0 -35
  871. package/tree/testing/package.json +0 -9
  872. package/tree/testing/public-api.d.ts +0 -10
  873. package/tree/testing/tree-harness-filters.d.ts +0 -22
  874. package/tree/testing/tree-harness.d.ts +0 -79
  875. package/tree/toggle.d.ts +0 -16
  876. package/tree/tree-module.d.ts +0 -13
  877. package/tree/tree.d.ts +0 -18
  878. package/tree/tree_public_index.d.ts +0 -4
@@ -1,8 +1,1784 @@
1
+ import { _AbstractConstructor } from '@angular/material/core';
2
+ import { AbstractControl } from '@angular/forms';
3
+ import { AfterContentInit } from '@angular/core';
4
+ import { AfterViewChecked } from '@angular/core';
5
+ import { AfterViewInit } from '@angular/core';
6
+ import { AnimationTriggerMetadata } from '@angular/animations';
7
+ import { BooleanInput } from '@angular/cdk/coercion';
8
+ import { CanColor } from '@angular/material/core';
9
+ import { CanUpdateErrorState } from '@angular/material/core';
10
+ import { ChangeDetectorRef } from '@angular/core';
11
+ import { ComponentType } from '@angular/cdk/portal';
12
+ import { _Constructor } from '@angular/material/core';
13
+ import { ControlContainer } from '@angular/forms';
14
+ import { ControlValueAccessor } from '@angular/forms';
15
+ import { DateAdapter } from '@angular/material/core';
16
+ import { Directionality } from '@angular/cdk/bidi';
17
+ import { DoCheck } from '@angular/core';
18
+ import { ElementRef } from '@angular/core';
19
+ import { ErrorStateMatcher } from '@angular/material/core';
20
+ import { EventEmitter } from '@angular/core';
21
+ import { FactoryProvider } from '@angular/core';
22
+ import { FocusOrigin } from '@angular/cdk/a11y';
23
+ import { FormGroupDirective } from '@angular/forms';
24
+ import * as i0 from '@angular/core';
25
+ import * as i14 from '@angular/common';
26
+ import * as i15 from '@angular/material/button';
27
+ import * as i16 from '@angular/cdk/overlay';
28
+ import * as i17 from '@angular/cdk/a11y';
29
+ import * as i18 from '@angular/cdk/portal';
30
+ import * as i19 from '@angular/material/core';
31
+ import * as i20 from '@angular/cdk/scrolling';
32
+ import { InjectionToken } from '@angular/core';
33
+ import { Injector } from '@angular/core';
34
+ import { MatButton } from '@angular/material/button';
35
+ import { MatDateFormats } from '@angular/material/core';
36
+ import { MatFormField } from '@angular/material/form-field';
37
+ import { MatFormFieldControl } from '@angular/material/form-field';
38
+ import { NgControl } from '@angular/forms';
39
+ import { NgForm } from '@angular/forms';
40
+ import { NgZone } from '@angular/core';
41
+ import { Observable } from 'rxjs';
42
+ import { OnChanges } from '@angular/core';
43
+ import { OnDestroy } from '@angular/core';
44
+ import { OnInit } from '@angular/core';
45
+ import { Overlay } from '@angular/cdk/overlay';
46
+ import { Portal } from '@angular/cdk/portal';
47
+ import { ScrollStrategy } from '@angular/cdk/overlay';
48
+ import { SimpleChanges } from '@angular/core';
49
+ import { Subject } from 'rxjs';
50
+ import { TemplatePortal } from '@angular/cdk/portal';
51
+ import { TemplateRef } from '@angular/core';
52
+ import { ThemePalette } from '@angular/material/core';
53
+ import { ValidationErrors } from '@angular/forms';
54
+ import { Validator } from '@angular/forms';
55
+ import { ValidatorFn } from '@angular/forms';
56
+ import { ViewContainerRef } from '@angular/core';
57
+
58
+ /** Function that can be used to filter out dates from a calendar. */
59
+ export declare type DateFilterFn<D> = (date: D | null) => boolean;
60
+
61
+ /** Possible positions for the datepicker dropdown along the X axis. */
62
+ export declare type DatepickerDropdownPositionX = 'start' | 'end';
63
+
64
+ /** Possible positions for the datepicker dropdown along the Y axis. */
65
+ export declare type DatepickerDropdownPositionY = 'above' | 'below';
66
+
67
+ /** A class representing a range of dates. */
68
+ export declare class DateRange<D> {
69
+ /** The start date of the range. */
70
+ readonly start: D | null;
71
+ /** The end date of the range. */
72
+ readonly end: D | null;
73
+ /**
74
+ * Ensures that objects with a `start` and `end` property can't be assigned to a variable that
75
+ * expects a `DateRange`
76
+ */
77
+ private _disableStructuralEquivalency;
78
+ constructor(
79
+ /** The start date of the range. */
80
+ start: D | null,
81
+ /** The end date of the range. */
82
+ end: D | null);
83
+ }
84
+
1
85
  /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
86
+ * Event emitted by the date selection model when its selection changes.
87
+ * @docs-private
7
88
  */
8
- export * from './public-api';
89
+ export declare interface DateSelectionModelChange<S> {
90
+ /** New value for the selection. */
91
+ selection: S;
92
+ /** Object that triggered the change. */
93
+ source: unknown;
94
+ /** Previous value */
95
+ oldValue?: S;
96
+ }
97
+
98
+ /** Provides the default date range selection behavior. */
99
+ export declare class DefaultMatCalendarRangeStrategy<D> implements MatDateRangeSelectionStrategy<D> {
100
+ private _dateAdapter;
101
+ constructor(_dateAdapter: DateAdapter<D>);
102
+ selectionFinished(date: D, currentRange: DateRange<D>): DateRange<D>;
103
+ createPreview(activeDate: D | null, currentRange: DateRange<D>): DateRange<D>;
104
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultMatCalendarRangeStrategy<any>, never>;
105
+ static ɵprov: i0.ɵɵInjectableDeclaration<DefaultMatCalendarRangeStrategy<any>>;
106
+ }
107
+
108
+ /**
109
+ * Conditionally picks the date type, if a DateRange is passed in.
110
+ * @docs-private
111
+ */
112
+ export declare type ExtractDateTypeFromSelection<T> = T extends DateRange<infer D> ? D : NonNullable<T>;
113
+
114
+ /**
115
+ * When the multi-year view is first opened, the active year will be in view.
116
+ * So we compute how many years are between the active year and the *slot* where our
117
+ * "startingYear" will render when paged into view.
118
+ */
119
+ declare function getActiveOffset<D>(dateAdapter: DateAdapter<D>, activeDate: D, minDate: D | null, maxDate: D | null): number;
120
+
121
+ declare namespace i1 {
122
+ export {
123
+ MatCalendarView,
124
+ MatCalendarHeader,
125
+ MatCalendar
126
+ }
127
+ }
128
+
129
+ declare namespace i10 {
130
+ export {
131
+ MatDateRangeInput
132
+ }
133
+ }
134
+
135
+ declare namespace i11 {
136
+ export {
137
+ MatDateRangeInputParent,
138
+ MAT_DATE_RANGE_INPUT_PARENT,
139
+ MatStartDate,
140
+ MatEndDate
141
+ }
142
+ }
143
+
144
+ declare namespace i12 {
145
+ export {
146
+ MatDateRangePickerInput,
147
+ MatDateRangePicker
148
+ }
149
+ }
150
+
151
+ declare namespace i13 {
152
+ export {
153
+ MatDatepickerApply,
154
+ MatDatepickerCancel,
155
+ MatDatepickerActions
156
+ }
157
+ }
158
+
159
+ declare namespace i2 {
160
+ export {
161
+ MatCalendarCellCssClasses,
162
+ MatCalendarCellClassFunction,
163
+ MatCalendarCell,
164
+ MatCalendarUserEvent,
165
+ MatCalendarBody
166
+ }
167
+ }
168
+
169
+ declare namespace i3 {
170
+ export {
171
+ MatDatepicker
172
+ }
173
+ }
174
+
175
+ declare namespace i4 {
176
+ export {
177
+ MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY,
178
+ MAT_DATEPICKER_SCROLL_STRATEGY,
179
+ DatepickerDropdownPositionX,
180
+ DatepickerDropdownPositionY,
181
+ MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER,
182
+ MatDatepickerContent,
183
+ MatDatepickerControl,
184
+ MatDatepickerPanel,
185
+ MatDatepickerBase
186
+ }
187
+ }
188
+
189
+ declare namespace i5 {
190
+ export {
191
+ MAT_DATEPICKER_VALUE_ACCESSOR,
192
+ MAT_DATEPICKER_VALIDATORS,
193
+ MatDatepickerInput
194
+ }
195
+ }
196
+
197
+ declare namespace i6 {
198
+ export {
199
+ MatDatepickerToggleIcon,
200
+ MatDatepickerToggle
201
+ }
202
+ }
203
+
204
+ declare namespace i7 {
205
+ export {
206
+ MatMonthView
207
+ }
208
+ }
209
+
210
+ declare namespace i8 {
211
+ export {
212
+ MatYearView
213
+ }
214
+ }
215
+
216
+ declare namespace i9 {
217
+ export {
218
+ isSameMultiYearView,
219
+ getActiveOffset,
220
+ yearsPerPage,
221
+ yearsPerRow,
222
+ MatMultiYearView
223
+ }
224
+ }
225
+
226
+ declare function isSameMultiYearView<D>(dateAdapter: DateAdapter<D>, date1: D, date2: D, minDate: D | null, maxDate: D | null): boolean;
227
+
228
+ /**
229
+ * Used to provide the date range input wrapper component
230
+ * to the parts without circular dependencies.
231
+ */
232
+ declare const MAT_DATE_RANGE_INPUT_PARENT: InjectionToken<MatDateRangeInputParent<unknown>>;
233
+
234
+ /** Injection token used to customize the date range selection behavior. */
235
+ export declare const MAT_DATE_RANGE_SELECTION_STRATEGY: InjectionToken<MatDateRangeSelectionStrategy<any>>;
236
+
237
+ /** Injection token that determines the scroll handling while the calendar is open. */
238
+ export declare const MAT_DATEPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
239
+
240
+ /** @docs-private */
241
+ export declare function MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
242
+
243
+ /** @docs-private */
244
+ export declare const MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
245
+ provide: InjectionToken<() => ScrollStrategy>;
246
+ deps: (typeof Overlay)[];
247
+ useFactory: typeof MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY;
248
+ };
249
+
250
+ /** @docs-private */
251
+ export declare const MAT_DATEPICKER_VALIDATORS: any;
252
+
253
+ /** @docs-private */
254
+ export declare const MAT_DATEPICKER_VALUE_ACCESSOR: any;
255
+
256
+ /** @docs-private */
257
+ export declare function MAT_RANGE_DATE_SELECTION_MODEL_FACTORY(parent: MatSingleDateSelectionModel<unknown>, adapter: DateAdapter<unknown>): MatSingleDateSelectionModel<unknown>;
258
+
259
+ /**
260
+ * Used to provide a range selection model to a component.
261
+ * @docs-private
262
+ */
263
+ export declare const MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;
264
+
265
+ /** @docs-private */
266
+ export declare function MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY(parent: MatSingleDateSelectionModel<unknown>, adapter: DateAdapter<unknown>): MatSingleDateSelectionModel<unknown>;
267
+
268
+ /**
269
+ * Used to provide a single selection model to a component.
270
+ * @docs-private
271
+ */
272
+ export declare const MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;
273
+
274
+ /** A calendar that is used as part of the datepicker. */
275
+ export declare class MatCalendar<D> implements AfterContentInit, AfterViewChecked, OnDestroy, OnChanges {
276
+ private _dateAdapter;
277
+ private _dateFormats;
278
+ private _changeDetectorRef;
279
+ /** An input indicating the type of the header component, if set. */
280
+ headerComponent: ComponentType<any>;
281
+ /** A portal containing the header component type for this calendar. */
282
+ _calendarHeaderPortal: Portal<any>;
283
+ private _intlChanges;
284
+ /**
285
+ * Used for scheduling that focus should be moved to the active cell on the next tick.
286
+ * We need to schedule it, rather than do it immediately, because we have to wait
287
+ * for Angular to re-evaluate the view children.
288
+ */
289
+ private _moveFocusOnNextTick;
290
+ /** A date representing the period (month or year) to start the calendar in. */
291
+ get startAt(): D | null;
292
+ set startAt(value: D | null);
293
+ private _startAt;
294
+ /** Whether the calendar should be started in month or year view. */
295
+ startView: MatCalendarView;
296
+ /** The currently selected date. */
297
+ get selected(): DateRange<D> | D | null;
298
+ set selected(value: DateRange<D> | D | null);
299
+ private _selected;
300
+ /** The minimum selectable date. */
301
+ get minDate(): D | null;
302
+ set minDate(value: D | null);
303
+ private _minDate;
304
+ /** The maximum selectable date. */
305
+ get maxDate(): D | null;
306
+ set maxDate(value: D | null);
307
+ private _maxDate;
308
+ /** Function used to filter which dates are selectable. */
309
+ dateFilter: (date: D) => boolean;
310
+ /** Function that can be used to add custom CSS classes to dates. */
311
+ dateClass: MatCalendarCellClassFunction<D>;
312
+ /** Start of the comparison range. */
313
+ comparisonStart: D | null;
314
+ /** End of the comparison range. */
315
+ comparisonEnd: D | null;
316
+ /** Emits when the currently selected date changes. */
317
+ readonly selectedChange: EventEmitter<D | null>;
318
+ /**
319
+ * Emits the year chosen in multiyear view.
320
+ * This doesn't imply a change on the selected date.
321
+ */
322
+ readonly yearSelected: EventEmitter<D>;
323
+ /**
324
+ * Emits the month chosen in year view.
325
+ * This doesn't imply a change on the selected date.
326
+ */
327
+ readonly monthSelected: EventEmitter<D>;
328
+ /**
329
+ * Emits when the current view changes.
330
+ */
331
+ readonly viewChanged: EventEmitter<MatCalendarView>;
332
+ /** Emits when any date is selected. */
333
+ readonly _userSelection: EventEmitter<MatCalendarUserEvent<D | null>>;
334
+ /** Reference to the current month view component. */
335
+ monthView: MatMonthView<D>;
336
+ /** Reference to the current year view component. */
337
+ yearView: MatYearView<D>;
338
+ /** Reference to the current multi-year view component. */
339
+ multiYearView: MatMultiYearView<D>;
340
+ /**
341
+ * The current active date. This determines which time period is shown and which date is
342
+ * highlighted when using keyboard navigation.
343
+ */
344
+ get activeDate(): D;
345
+ set activeDate(value: D);
346
+ private _clampedActiveDate;
347
+ /** Whether the calendar is in month view. */
348
+ get currentView(): MatCalendarView;
349
+ set currentView(value: MatCalendarView);
350
+ private _currentView;
351
+ /**
352
+ * Emits whenever there is a state change that the header may need to respond to.
353
+ */
354
+ readonly stateChanges: Subject<void>;
355
+ constructor(_intl: MatDatepickerIntl, _dateAdapter: DateAdapter<D>, _dateFormats: MatDateFormats, _changeDetectorRef: ChangeDetectorRef);
356
+ ngAfterContentInit(): void;
357
+ ngAfterViewChecked(): void;
358
+ ngOnDestroy(): void;
359
+ ngOnChanges(changes: SimpleChanges): void;
360
+ /** Focuses the active date. */
361
+ focusActiveCell(): void;
362
+ /** Updates today's date after an update of the active date */
363
+ updateTodaysDate(): void;
364
+ /** Handles date selection in the month view. */
365
+ _dateSelected(event: MatCalendarUserEvent<D | null>): void;
366
+ /** Handles year selection in the multiyear view. */
367
+ _yearSelectedInMultiYearView(normalizedYear: D): void;
368
+ /** Handles month selection in the year view. */
369
+ _monthSelectedInYearView(normalizedMonth: D): void;
370
+ /** Handles year/month selection in the multi-year/year views. */
371
+ _goToDateInView(date: D, view: 'month' | 'year' | 'multi-year'): void;
372
+ /** Returns the component instance that corresponds to the current calendar view. */
373
+ private _getCurrentViewComponent;
374
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendar<any>, [null, { optional: true; }, { optional: true; }, null]>;
375
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendar<any>, "mat-calendar", ["matCalendar"], { "headerComponent": "headerComponent"; "startAt": "startAt"; "startView": "startView"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "_userSelection": "_userSelection"; }, never, never, false>;
376
+ }
377
+
378
+ /**
379
+ * An internal component used to display calendar data in a table.
380
+ * @docs-private
381
+ */
382
+ export declare class MatCalendarBody implements OnChanges, OnDestroy, AfterViewChecked {
383
+ private _elementRef;
384
+ private _ngZone;
385
+ /**
386
+ * Used to skip the next focus event when rendering the preview range.
387
+ * We need a flag like this, because some browsers fire focus events asynchronously.
388
+ */
389
+ private _skipNextFocus;
390
+ /**
391
+ * Used to focus the active cell after change detection has run.
392
+ */
393
+ private _focusActiveCellAfterViewChecked;
394
+ /** The label for the table. (e.g. "Jan 2017"). */
395
+ label: string;
396
+ /** The cells to display in the table. */
397
+ rows: MatCalendarCell[][];
398
+ /** The value in the table that corresponds to today. */
399
+ todayValue: number;
400
+ /** Start value of the selected date range. */
401
+ startValue: number;
402
+ /** End value of the selected date range. */
403
+ endValue: number;
404
+ /** The minimum number of free cells needed to fit the label in the first row. */
405
+ labelMinRequiredCells: number;
406
+ /** The number of columns in the table. */
407
+ numCols: number;
408
+ /** The cell number of the active cell in the table. */
409
+ activeCell: number;
410
+ ngAfterViewChecked(): void;
411
+ /** Whether a range is being selected. */
412
+ isRange: boolean;
413
+ /**
414
+ * The aspect ratio (width / height) to use for the cells in the table. This aspect ratio will be
415
+ * maintained even as the table resizes.
416
+ */
417
+ cellAspectRatio: number;
418
+ /** Start of the comparison range. */
419
+ comparisonStart: number | null;
420
+ /** End of the comparison range. */
421
+ comparisonEnd: number | null;
422
+ /** Start of the preview range. */
423
+ previewStart: number | null;
424
+ /** End of the preview range. */
425
+ previewEnd: number | null;
426
+ /** Emits when a new value is selected. */
427
+ readonly selectedValueChange: EventEmitter<MatCalendarUserEvent<number>>;
428
+ /** Emits when the preview has changed as a result of a user action. */
429
+ readonly previewChange: EventEmitter<MatCalendarUserEvent<MatCalendarCell<any> | null>>;
430
+ readonly activeDateChange: EventEmitter<MatCalendarUserEvent<number>>;
431
+ /** The number of blank cells to put at the beginning for the first row. */
432
+ _firstRowOffset: number;
433
+ /** Padding for the individual date cells. */
434
+ _cellPadding: string;
435
+ /** Width of an individual cell. */
436
+ _cellWidth: string;
437
+ constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
438
+ /** Called when a cell is clicked. */
439
+ _cellClicked(cell: MatCalendarCell, event: MouseEvent): void;
440
+ _emitActiveDateChange(cell: MatCalendarCell, event: FocusEvent): void;
441
+ /** Returns whether a cell should be marked as selected. */
442
+ _isSelected(value: number): boolean;
443
+ ngOnChanges(changes: SimpleChanges): void;
444
+ ngOnDestroy(): void;
445
+ /** Returns whether a cell is active. */
446
+ _isActiveCell(rowIndex: number, colIndex: number): boolean;
447
+ /**
448
+ * Focuses the active cell after the microtask queue is empty.
449
+ *
450
+ * Adding a 0ms setTimeout seems to fix Voiceover losing focus when pressing PageUp/PageDown
451
+ * (issue #24330).
452
+ *
453
+ * Determined a 0ms by gradually increasing duration from 0 and testing two use cases with screen
454
+ * reader enabled:
455
+ *
456
+ * 1. Pressing PageUp/PageDown repeatedly with pausing between each key press.
457
+ * 2. Pressing and holding the PageDown key with repeated keys enabled.
458
+ *
459
+ * Test 1 worked roughly 95-99% of the time with 0ms and got a little bit better as the duration
460
+ * increased. Test 2 got slightly better until the duration was long enough to interfere with
461
+ * repeated keys. If the repeated key speed was faster than the timeout duration, then pressing
462
+ * and holding pagedown caused the entire page to scroll.
463
+ *
464
+ * Since repeated key speed can verify across machines, determined that any duration could
465
+ * potentially interfere with repeated keys. 0ms would be best because it almost entirely
466
+ * eliminates the focus being lost in Voiceover (#24330) without causing unintended side effects.
467
+ * Adding delay also complicates writing tests.
468
+ */
469
+ _focusActiveCell(movePreview?: boolean): void;
470
+ /** Focuses the active cell after change detection has run and the microtask queue is empty. */
471
+ _scheduleFocusActiveCellAfterViewChecked(): void;
472
+ /** Gets whether a value is the start of the main range. */
473
+ _isRangeStart(value: number): boolean;
474
+ /** Gets whether a value is the end of the main range. */
475
+ _isRangeEnd(value: number): boolean;
476
+ /** Gets whether a value is within the currently-selected range. */
477
+ _isInRange(value: number): boolean;
478
+ /** Gets whether a value is the start of the comparison range. */
479
+ _isComparisonStart(value: number): boolean;
480
+ /** Whether the cell is a start bridge cell between the main and comparison ranges. */
481
+ _isComparisonBridgeStart(value: number, rowIndex: number, colIndex: number): boolean;
482
+ /** Whether the cell is an end bridge cell between the main and comparison ranges. */
483
+ _isComparisonBridgeEnd(value: number, rowIndex: number, colIndex: number): boolean;
484
+ /** Gets whether a value is the end of the comparison range. */
485
+ _isComparisonEnd(value: number): boolean;
486
+ /** Gets whether a value is within the current comparison range. */
487
+ _isInComparisonRange(value: number): boolean;
488
+ /**
489
+ * Gets whether a value is the same as the start and end of the comparison range.
490
+ * For context, the functions that we use to determine whether something is the start/end of
491
+ * a range don't allow for the start and end to be on the same day, because we'd have to use
492
+ * much more specific CSS selectors to style them correctly in all scenarios. This is fine for
493
+ * the regular range, because when it happens, the selected styles take over and still show where
494
+ * the range would've been, however we don't have these selected styles for a comparison range.
495
+ * This function is used to apply a class that serves the same purpose as the one for selected
496
+ * dates, but it only applies in the context of a comparison range.
497
+ */
498
+ _isComparisonIdentical(value: number): boolean;
499
+ /** Gets whether a value is the start of the preview range. */
500
+ _isPreviewStart(value: number): boolean;
501
+ /** Gets whether a value is the end of the preview range. */
502
+ _isPreviewEnd(value: number): boolean;
503
+ /** Gets whether a value is inside the preview range. */
504
+ _isInPreview(value: number): boolean;
505
+ /**
506
+ * Event handler for when the user enters an element
507
+ * inside the calendar body (e.g. by hovering in or focus).
508
+ */
509
+ private _enterHandler;
510
+ /**
511
+ * Event handler for when the user's pointer leaves an element
512
+ * inside the calendar body (e.g. by hovering out or blurring).
513
+ */
514
+ private _leaveHandler;
515
+ /** Finds the MatCalendarCell that corresponds to a DOM node. */
516
+ private _getCellFromElement;
517
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendarBody, never>;
518
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarBody, "[mat-calendar-body]", ["matCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "startValue": "startValue"; "endValue": "endValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "isRange": "isRange"; "cellAspectRatio": "cellAspectRatio"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; "previewStart": "previewStart"; "previewEnd": "previewEnd"; }, { "selectedValueChange": "selectedValueChange"; "previewChange": "previewChange"; "activeDateChange": "activeDateChange"; }, never, never, false>;
519
+ }
520
+
521
+ /**
522
+ * An internal class that represents the data corresponding to a single calendar cell.
523
+ * @docs-private
524
+ */
525
+ export declare class MatCalendarCell<D = any> {
526
+ value: number;
527
+ displayValue: string;
528
+ ariaLabel: string;
529
+ enabled: boolean;
530
+ cssClasses: MatCalendarCellCssClasses;
531
+ compareValue: number;
532
+ rawValue?: D | undefined;
533
+ constructor(value: number, displayValue: string, ariaLabel: string, enabled: boolean, cssClasses?: MatCalendarCellCssClasses, compareValue?: number, rawValue?: D | undefined);
534
+ }
535
+
536
+ /** Function that can generate the extra classes that should be added to a calendar cell. */
537
+ export declare type MatCalendarCellClassFunction<D> = (date: D, view: 'month' | 'year' | 'multi-year') => MatCalendarCellCssClasses;
538
+
539
+ /** Extra CSS classes that can be associated with a calendar cell. */
540
+ export declare type MatCalendarCellCssClasses = string | string[] | Set<string> | {
541
+ [key: string]: any;
542
+ };
543
+
544
+ /** Default header for MatCalendar */
545
+ export declare class MatCalendarHeader<D> {
546
+ private _intl;
547
+ calendar: MatCalendar<D>;
548
+ private _dateAdapter;
549
+ private _dateFormats;
550
+ _buttonDescriptionId: string;
551
+ constructor(_intl: MatDatepickerIntl, calendar: MatCalendar<D>, _dateAdapter: DateAdapter<D>, _dateFormats: MatDateFormats, changeDetectorRef: ChangeDetectorRef);
552
+ /** The label for the current calendar view. */
553
+ get periodButtonText(): string;
554
+ get periodButtonLabel(): string;
555
+ /** The label for the previous button. */
556
+ get prevButtonLabel(): string;
557
+ /** The label for the next button. */
558
+ get nextButtonLabel(): string;
559
+ /** Handles user clicks on the period label. */
560
+ currentPeriodClicked(): void;
561
+ /** Handles user clicks on the previous button. */
562
+ previousClicked(): void;
563
+ /** Handles user clicks on the next button. */
564
+ nextClicked(): void;
565
+ /** Whether the previous period button is enabled. */
566
+ previousEnabled(): boolean;
567
+ /** Whether the next period button is enabled. */
568
+ nextEnabled(): boolean;
569
+ /** Whether the two dates represent the same view in the current view mode (month or year). */
570
+ private _isSameView;
571
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendarHeader<any>, [null, null, { optional: true; }, { optional: true; }, null]>;
572
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarHeader<any>, "mat-calendar-header", ["matCalendarHeader"], {}, {}, never, ["*"], false>;
573
+ }
574
+
575
+ /** Event emitted when a date inside the calendar is triggered as a result of a user action. */
576
+ export declare interface MatCalendarUserEvent<D> {
577
+ value: D;
578
+ event: Event;
579
+ }
580
+
581
+ /**
582
+ * Possible views for the calendar.
583
+ * @docs-private
584
+ */
585
+ export declare type MatCalendarView = 'month' | 'year' | 'multi-year';
586
+
587
+ /** Component responsible for managing the datepicker popup/dialog. */
588
+ export declare class MatDatepicker<D> extends MatDatepickerBase<MatDatepickerControl<D>, D | null, D> {
589
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepicker<any>, never>;
590
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepicker<any>, "mat-datepicker", ["matDatepicker"], {}, {}, never, never, false>;
591
+ }
592
+
593
+ /**
594
+ * Container that can be used to project a row of action buttons
595
+ * to the bottom of a datepicker or date range picker.
596
+ */
597
+ export declare class MatDatepickerActions implements AfterViewInit, OnDestroy {
598
+ private _datepicker;
599
+ private _viewContainerRef;
600
+ _template: TemplateRef<unknown>;
601
+ private _portal;
602
+ constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>, _viewContainerRef: ViewContainerRef);
603
+ ngAfterViewInit(): void;
604
+ ngOnDestroy(): void;
605
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerActions, never>;
606
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerActions, "mat-datepicker-actions, mat-date-range-picker-actions", never, {}, {}, never, ["*"], false>;
607
+ }
608
+
609
+ /**
610
+ * Animations used by the Material datepicker.
611
+ * @docs-private
612
+ */
613
+ export declare const matDatepickerAnimations: {
614
+ readonly transformPanel: AnimationTriggerMetadata;
615
+ readonly fadeInCalendar: AnimationTriggerMetadata;
616
+ };
617
+
618
+ /** Button that will close the datepicker and assign the current selection to the data model. */
619
+ export declare class MatDatepickerApply {
620
+ private _datepicker;
621
+ constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>);
622
+ _applySelection(): void;
623
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerApply, never>;
624
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerApply, "[matDatepickerApply], [matDateRangePickerApply]", never, {}, {}, never, never, false>;
625
+ }
626
+
627
+ /** Base class for a datepicker. */
628
+ declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D>, S, D = ExtractDateTypeFromSelection<S>> implements MatDatepickerPanel<C, S, D>, OnDestroy, OnChanges {
629
+ private _overlay;
630
+ private _ngZone;
631
+ private _viewContainerRef;
632
+ private _dateAdapter;
633
+ private _dir;
634
+ private _model;
635
+ private _scrollStrategy;
636
+ private _inputStateChanges;
637
+ /** An input indicating the type of the custom header component for the calendar, if set. */
638
+ calendarHeaderComponent: ComponentType<any>;
639
+ /** The date to open the calendar to initially. */
640
+ get startAt(): D | null;
641
+ set startAt(value: D | null);
642
+ private _startAt;
643
+ /** The view that the calendar should start in. */
644
+ startView: 'month' | 'year' | 'multi-year';
645
+ /** Color palette to use on the datepicker's calendar. */
646
+ get color(): ThemePalette;
647
+ set color(value: ThemePalette);
648
+ _color: ThemePalette;
649
+ /**
650
+ * Whether the calendar UI is in touch mode. In touch mode the calendar opens in a dialog rather
651
+ * than a dropdown and elements have more padding to allow for bigger touch targets.
652
+ */
653
+ get touchUi(): boolean;
654
+ set touchUi(value: BooleanInput);
655
+ private _touchUi;
656
+ /** Whether the datepicker pop-up should be disabled. */
657
+ get disabled(): boolean;
658
+ set disabled(value: BooleanInput);
659
+ private _disabled;
660
+ /** Preferred position of the datepicker in the X axis. */
661
+ xPosition: DatepickerDropdownPositionX;
662
+ /** Preferred position of the datepicker in the Y axis. */
663
+ yPosition: DatepickerDropdownPositionY;
664
+ /**
665
+ * Whether to restore focus to the previously-focused element when the calendar is closed.
666
+ * Note that automatic focus restoration is an accessibility feature and it is recommended that
667
+ * you provide your own equivalent, if you decide to turn it off.
668
+ */
669
+ get restoreFocus(): boolean;
670
+ set restoreFocus(value: BooleanInput);
671
+ private _restoreFocus;
672
+ /**
673
+ * Emits selected year in multiyear view.
674
+ * This doesn't imply a change on the selected date.
675
+ */
676
+ readonly yearSelected: EventEmitter<D>;
677
+ /**
678
+ * Emits selected month in year view.
679
+ * This doesn't imply a change on the selected date.
680
+ */
681
+ readonly monthSelected: EventEmitter<D>;
682
+ /**
683
+ * Emits when the current view changes.
684
+ */
685
+ readonly viewChanged: EventEmitter<MatCalendarView>;
686
+ /** Function that can be used to add custom CSS classes to dates. */
687
+ dateClass: MatCalendarCellClassFunction<D>;
688
+ /** Emits when the datepicker has been opened. */
689
+ readonly openedStream: EventEmitter<void>;
690
+ /** Emits when the datepicker has been closed. */
691
+ readonly closedStream: EventEmitter<void>;
692
+ /**
693
+ * Classes to be passed to the date picker panel.
694
+ * Supports string and string array values, similar to `ngClass`.
695
+ */
696
+ get panelClass(): string | string[];
697
+ set panelClass(value: string | string[]);
698
+ private _panelClass;
699
+ /** Whether the calendar is open. */
700
+ get opened(): boolean;
701
+ set opened(value: BooleanInput);
702
+ private _opened;
703
+ /** The id for the datepicker calendar. */
704
+ id: string;
705
+ /** The minimum selectable date. */
706
+ _getMinDate(): D | null;
707
+ /** The maximum selectable date. */
708
+ _getMaxDate(): D | null;
709
+ _getDateFilter(): DateFilterFn<D>;
710
+ /** A reference to the overlay into which we've rendered the calendar. */
711
+ private _overlayRef;
712
+ /** Reference to the component instance rendered in the overlay. */
713
+ private _componentRef;
714
+ /** The element that was focused before the datepicker was opened. */
715
+ private _focusedElementBeforeOpen;
716
+ /** Unique class that will be added to the backdrop so that the test harnesses can look it up. */
717
+ private _backdropHarnessClass;
718
+ /** Currently-registered actions portal. */
719
+ private _actionsPortal;
720
+ /** The input element this datepicker is associated with. */
721
+ datepickerInput: C;
722
+ /** Emits when the datepicker's state changes. */
723
+ readonly stateChanges: Subject<void>;
724
+ constructor(_overlay: Overlay, _ngZone: NgZone, _viewContainerRef: ViewContainerRef, scrollStrategy: any, _dateAdapter: DateAdapter<D>, _dir: Directionality, _model: MatDateSelectionModel<S, D>);
725
+ ngOnChanges(changes: SimpleChanges): void;
726
+ ngOnDestroy(): void;
727
+ /** Selects the given date */
728
+ select(date: D): void;
729
+ /** Emits the selected year in multiyear view */
730
+ _selectYear(normalizedYear: D): void;
731
+ /** Emits selected month in year view */
732
+ _selectMonth(normalizedMonth: D): void;
733
+ /** Emits changed view */
734
+ _viewChanged(view: MatCalendarView): void;
735
+ /**
736
+ * Register an input with this datepicker.
737
+ * @param input The datepicker input to register with this datepicker.
738
+ * @returns Selection model that the input should hook itself up to.
739
+ */
740
+ registerInput(input: C): MatDateSelectionModel<S, D>;
741
+ /**
742
+ * Registers a portal containing action buttons with the datepicker.
743
+ * @param portal Portal to be registered.
744
+ */
745
+ registerActions(portal: TemplatePortal): void;
746
+ /**
747
+ * Removes a portal containing action buttons from the datepicker.
748
+ * @param portal Portal to be removed.
749
+ */
750
+ removeActions(portal: TemplatePortal): void;
751
+ /** Open the calendar. */
752
+ open(): void;
753
+ /** Close the calendar. */
754
+ close(): void;
755
+ /** Applies the current pending selection on the overlay to the model. */
756
+ _applyPendingSelection(): void;
757
+ /** Forwards relevant values from the datepicker to the datepicker content inside the overlay. */
758
+ protected _forwardContentValues(instance: MatDatepickerContent<S, D>): void;
759
+ /** Opens the overlay with the calendar. */
760
+ private _openOverlay;
761
+ /** Destroys the current overlay. */
762
+ private _destroyOverlay;
763
+ /** Gets a position strategy that will open the calendar as a dropdown. */
764
+ private _getDialogStrategy;
765
+ /** Gets a position strategy that will open the calendar as a dropdown. */
766
+ private _getDropdownStrategy;
767
+ /** Sets the positions of the datepicker in dropdown mode based on the current configuration. */
768
+ private _setConnectedPositions;
769
+ /** Gets an observable that will emit when the overlay is supposed to be closed. */
770
+ private _getCloseStream;
771
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerBase<any, any, any>, [null, null, null, null, { optional: true; }, { optional: true; }, null]>;
772
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerBase<any, any, any>, never, never, { "calendarHeaderComponent": "calendarHeaderComponent"; "startAt": "startAt"; "startView": "startView"; "color": "color"; "touchUi": "touchUi"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; "dateClass": "dateClass"; "panelClass": "panelClass"; "opened": "opened"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "openedStream": "opened"; "closedStream": "closed"; }, never, never, false>;
773
+ }
774
+
775
+ /** Button that will close the datepicker and discard the current selection. */
776
+ export declare class MatDatepickerCancel {
777
+ _datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>;
778
+ constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>);
779
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerCancel, never>;
780
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerCancel, "[matDatepickerCancel], [matDateRangePickerCancel]", never, {}, {}, never, never, false>;
781
+ }
782
+
783
+ /**
784
+ * Component used as the content for the datepicker overlay. We use this instead of using
785
+ * MatCalendar directly as the content so we can control the initial focus. This also gives us a
786
+ * place to put additional features of the overlay that are not part of the calendar itself in the
787
+ * future. (e.g. confirmation buttons).
788
+ * @docs-private
789
+ */
790
+ export declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>> extends _MatDatepickerContentBase implements OnInit, AfterViewInit, OnDestroy, CanColor {
791
+ private _changeDetectorRef;
792
+ private _globalModel;
793
+ private _dateAdapter;
794
+ private _rangeSelectionStrategy;
795
+ private _subscriptions;
796
+ private _model;
797
+ /** Reference to the internal calendar component. */
798
+ _calendar: MatCalendar<D>;
799
+ /** Reference to the datepicker that created the overlay. */
800
+ datepicker: MatDatepickerBase<any, S, D>;
801
+ /** Start of the comparison range. */
802
+ comparisonStart: D | null;
803
+ /** End of the comparison range. */
804
+ comparisonEnd: D | null;
805
+ /** Whether the datepicker is above or below the input. */
806
+ _isAbove: boolean;
807
+ /** Current state of the animation. */
808
+ _animationState: 'enter-dropdown' | 'enter-dialog' | 'void';
809
+ /** Emits when an animation has finished. */
810
+ readonly _animationDone: Subject<void>;
811
+ /** Text for the close button. */
812
+ _closeButtonText: string;
813
+ /** Whether the close button currently has focus. */
814
+ _closeButtonFocused: boolean;
815
+ /** Portal with projected action buttons. */
816
+ _actionsPortal: TemplatePortal | null;
817
+ /** Id of the label for the `role="dialog"` element. */
818
+ _dialogLabelId: string | null;
819
+ constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _globalModel: MatDateSelectionModel<S, D>, _dateAdapter: DateAdapter<D>, _rangeSelectionStrategy: MatDateRangeSelectionStrategy<D>, intl: MatDatepickerIntl);
820
+ ngOnInit(): void;
821
+ ngAfterViewInit(): void;
822
+ ngOnDestroy(): void;
823
+ _handleUserSelection(event: MatCalendarUserEvent<D | null>): void;
824
+ _startExitAnimation(): void;
825
+ _getSelected(): D | DateRange<D> | null;
826
+ /** Applies the current pending selection to the global model. */
827
+ _applyPendingSelection(): void;
828
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerContent<any, any>, [null, null, null, null, { optional: true; }, null]>;
829
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerContent<any, any>, "mat-datepicker-content", ["matDatepickerContent"], { "color": "color"; }, {}, never, never, false>;
830
+ }
831
+
832
+ /** @docs-private */
833
+ declare const _MatDatepickerContentBase: _Constructor<CanColor> & _AbstractConstructor<CanColor> & {
834
+ new (_elementRef: ElementRef): {
835
+ _elementRef: ElementRef;
836
+ };
837
+ };
838
+
839
+ /** Form control that can be associated with a datepicker. */
840
+ declare interface MatDatepickerControl<D> {
841
+ getStartValue(): D | null;
842
+ getThemePalette(): ThemePalette;
843
+ min: D | null;
844
+ max: D | null;
845
+ disabled: boolean;
846
+ dateFilter: DateFilterFn<D>;
847
+ getConnectedOverlayOrigin(): ElementRef;
848
+ getOverlayLabelId(): string | null;
849
+ stateChanges: Observable<void>;
850
+ }
851
+
852
+ /** Directive used to connect an input to a MatDatepicker. */
853
+ export declare class MatDatepickerInput<D> extends MatDatepickerInputBase<D | null, D> implements MatDatepickerControl<D | null>, OnDestroy {
854
+ private _formField?;
855
+ private _closedSubscription;
856
+ /** The datepicker that this input is associated with. */
857
+ set matDatepicker(datepicker: MatDatepickerPanel<MatDatepickerControl<D>, D | null, D>);
858
+ _datepicker: MatDatepickerPanel<MatDatepickerControl<D>, D | null, D>;
859
+ /** The minimum valid date. */
860
+ get min(): D | null;
861
+ set min(value: D | null);
862
+ private _min;
863
+ /** The maximum valid date. */
864
+ get max(): D | null;
865
+ set max(value: D | null);
866
+ private _max;
867
+ /** Function that can be used to filter out dates within the datepicker. */
868
+ get dateFilter(): DateFilterFn<D | null>;
869
+ set dateFilter(value: DateFilterFn<D | null>);
870
+ private _dateFilter;
871
+ /** The combined form control validator for this input. */
872
+ protected _validator: ValidatorFn | null;
873
+ constructor(elementRef: ElementRef<HTMLInputElement>, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats, _formField?: MatFormField | undefined);
874
+ /**
875
+ * Gets the element that the datepicker popup should be connected to.
876
+ * @return The element to connect the popup to.
877
+ */
878
+ getConnectedOverlayOrigin(): ElementRef;
879
+ /** Gets the ID of an element that should be used a description for the calendar overlay. */
880
+ getOverlayLabelId(): string | null;
881
+ /** Returns the palette used by the input's form field, if any. */
882
+ getThemePalette(): ThemePalette;
883
+ /** Gets the value at which the calendar should start. */
884
+ getStartValue(): D | null;
885
+ ngOnDestroy(): void;
886
+ /** Opens the associated datepicker. */
887
+ protected _openPopup(): void;
888
+ protected _getValueFromModel(modelValue: D | null): D | null;
889
+ protected _assignValueToModel(value: D | null): void;
890
+ /** Gets the input's minimum date. */
891
+ _getMinDate(): D | null;
892
+ /** Gets the input's maximum date. */
893
+ _getMaxDate(): D | null;
894
+ /** Gets the input's date filtering function. */
895
+ protected _getDateFilter(): DateFilterFn<D | null>;
896
+ protected _shouldHandleChangeEvent(event: DateSelectionModelChange<D>): boolean;
897
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerInput<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
898
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerInput<any>, "input[matDatepicker]", ["matDatepickerInput"], { "matDatepicker": "matDatepicker"; "min": "min"; "max": "max"; "dateFilter": "matDatepickerFilter"; }, {}, never, never, false>;
899
+ }
900
+
901
+ /** Base class for datepicker inputs. */
902
+ declare abstract class MatDatepickerInputBase<S, D = ExtractDateTypeFromSelection<S>> implements ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy, Validator {
903
+ protected _elementRef: ElementRef<HTMLInputElement>;
904
+ _dateAdapter: DateAdapter<D>;
905
+ private _dateFormats;
906
+ /** Whether the component has been initialized. */
907
+ private _isInitialized;
908
+ /** The value of the input. */
909
+ get value(): D | null;
910
+ set value(value: any);
911
+ protected _model: MatDateSelectionModel<S, D> | undefined;
912
+ /** Whether the datepicker-input is disabled. */
913
+ get disabled(): boolean;
914
+ set disabled(value: BooleanInput);
915
+ private _disabled;
916
+ /** Emits when a `change` event is fired on this `<input>`. */
917
+ readonly dateChange: EventEmitter<MatDatepickerInputEvent<D, S>>;
918
+ /** Emits when an `input` event is fired on this `<input>`. */
919
+ readonly dateInput: EventEmitter<MatDatepickerInputEvent<D, S>>;
920
+ /** Emits when the internal state has changed */
921
+ readonly stateChanges: Subject<void>;
922
+ _onTouched: () => void;
923
+ _validatorOnChange: () => void;
924
+ private _cvaOnChange;
925
+ private _valueChangesSubscription;
926
+ private _localeSubscription;
927
+ /**
928
+ * Since the value is kept on the model which is assigned in an Input,
929
+ * we might get a value before we have a model. This property keeps track
930
+ * of the value until we have somewhere to assign it.
931
+ */
932
+ private _pendingValue;
933
+ /** The form control validator for whether the input parses. */
934
+ private _parseValidator;
935
+ /** The form control validator for the date filter. */
936
+ private _filterValidator;
937
+ /** The form control validator for the min date. */
938
+ private _minValidator;
939
+ /** The form control validator for the max date. */
940
+ private _maxValidator;
941
+ /** Gets the base validator functions. */
942
+ protected _getValidators(): ValidatorFn[];
943
+ /** Gets the minimum date for the input. Used for validation. */
944
+ abstract _getMinDate(): D | null;
945
+ /** Gets the maximum date for the input. Used for validation. */
946
+ abstract _getMaxDate(): D | null;
947
+ /** Gets the date filter function. Used for validation. */
948
+ protected abstract _getDateFilter(): DateFilterFn<D> | undefined;
949
+ /** Registers a date selection model with the input. */
950
+ _registerModel(model: MatDateSelectionModel<S, D>): void;
951
+ /** Opens the popup associated with the input. */
952
+ protected abstract _openPopup(): void;
953
+ /** Assigns a value to the input's model. */
954
+ protected abstract _assignValueToModel(model: D | null): void;
955
+ /** Converts a value from the model into a native value for the input. */
956
+ protected abstract _getValueFromModel(modelValue: S): D | null;
957
+ /** Combined form control validator for this input. */
958
+ protected abstract _validator: ValidatorFn | null;
959
+ /** Predicate that determines whether the input should handle a particular change event. */
960
+ protected abstract _shouldHandleChangeEvent(event: DateSelectionModelChange<S>): boolean;
961
+ /** Whether the last value set on the input was valid. */
962
+ protected _lastValueValid: boolean;
963
+ constructor(_elementRef: ElementRef<HTMLInputElement>, _dateAdapter: DateAdapter<D>, _dateFormats: MatDateFormats);
964
+ ngAfterViewInit(): void;
965
+ ngOnChanges(changes: SimpleChanges): void;
966
+ ngOnDestroy(): void;
967
+ /** @docs-private */
968
+ registerOnValidatorChange(fn: () => void): void;
969
+ /** @docs-private */
970
+ validate(c: AbstractControl): ValidationErrors | null;
971
+ writeValue(value: D): void;
972
+ registerOnChange(fn: (value: any) => void): void;
973
+ registerOnTouched(fn: () => void): void;
974
+ setDisabledState(isDisabled: boolean): void;
975
+ _onKeydown(event: KeyboardEvent): void;
976
+ _onInput(value: string): void;
977
+ _onChange(): void;
978
+ /** Handles blur events on the input. */
979
+ _onBlur(): void;
980
+ /** Formats a value and sets it on the input element. */
981
+ protected _formatValue(value: D | null): void;
982
+ /** Assigns a value to the model. */
983
+ private _assignValue;
984
+ /** Whether a value is considered valid. */
985
+ private _isValidValue;
986
+ /**
987
+ * Checks whether a parent control is disabled. This is in place so that it can be overridden
988
+ * by inputs extending this one which can be placed inside of a group that can be disabled.
989
+ */
990
+ protected _parentDisabled(): boolean;
991
+ /** Programmatically assigns a value to the input. */
992
+ protected _assignValueProgrammatically(value: D | null): void;
993
+ /** Gets whether a value matches the current date filter. */
994
+ _matchesFilter(value: D | null): boolean;
995
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerInputBase<any, any>, [null, { optional: true; }, { optional: true; }]>;
996
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerInputBase<any, any>, never, never, { "value": "value"; "disabled": "disabled"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
997
+ }
998
+
999
+ /**
1000
+ * An event used for datepicker input and change events. We don't always have access to a native
1001
+ * input or change event because the event may have been triggered by the user clicking on the
1002
+ * calendar popup. For consistency, we always use MatDatepickerInputEvent instead.
1003
+ */
1004
+ export declare class MatDatepickerInputEvent<D, S = unknown> {
1005
+ /** Reference to the datepicker input component that emitted the event. */
1006
+ target: MatDatepickerInputBase<S, D>;
1007
+ /** Reference to the native input element associated with the datepicker input. */
1008
+ targetElement: HTMLElement;
1009
+ /** The new value for the target datepicker input. */
1010
+ value: D | null;
1011
+ constructor(
1012
+ /** Reference to the datepicker input component that emitted the event. */
1013
+ target: MatDatepickerInputBase<S, D>,
1014
+ /** Reference to the native input element associated with the datepicker input. */
1015
+ targetElement: HTMLElement);
1016
+ }
1017
+
1018
+ /** Datepicker data that requires internationalization. */
1019
+ export declare class MatDatepickerIntl {
1020
+ /**
1021
+ * Stream that emits whenever the labels here are changed. Use this to notify
1022
+ * components if the labels have changed after initialization.
1023
+ */
1024
+ readonly changes: Subject<void>;
1025
+ /** A label for the calendar popup (used by screen readers). */
1026
+ calendarLabel: string;
1027
+ /** A label for the button used to open the calendar popup (used by screen readers). */
1028
+ openCalendarLabel: string;
1029
+ /** Label for the button used to close the calendar popup. */
1030
+ closeCalendarLabel: string;
1031
+ /** A label for the previous month button (used by screen readers). */
1032
+ prevMonthLabel: string;
1033
+ /** A label for the next month button (used by screen readers). */
1034
+ nextMonthLabel: string;
1035
+ /** A label for the previous year button (used by screen readers). */
1036
+ prevYearLabel: string;
1037
+ /** A label for the next year button (used by screen readers). */
1038
+ nextYearLabel: string;
1039
+ /** A label for the previous multi-year button (used by screen readers). */
1040
+ prevMultiYearLabel: string;
1041
+ /** A label for the next multi-year button (used by screen readers). */
1042
+ nextMultiYearLabel: string;
1043
+ /** A label for the 'switch to month view' button (used by screen readers). */
1044
+ switchToMonthViewLabel: string;
1045
+ /** A label for the 'switch to year view' button (used by screen readers). */
1046
+ switchToMultiYearViewLabel: string;
1047
+ /** Formats a range of years. */
1048
+ formatYearRange(start: string, end: string): string;
1049
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerIntl, never>;
1050
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatDatepickerIntl>;
1051
+ }
1052
+
1053
+ export declare class MatDatepickerModule {
1054
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerModule, never>;
1055
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatDatepickerModule, [typeof i1.MatCalendar, typeof i2.MatCalendarBody, typeof i3.MatDatepicker, typeof i4.MatDatepickerContent, typeof i5.MatDatepickerInput, typeof i6.MatDatepickerToggle, typeof i6.MatDatepickerToggleIcon, typeof i7.MatMonthView, typeof i8.MatYearView, typeof i9.MatMultiYearView, typeof i1.MatCalendarHeader, typeof i10.MatDateRangeInput, typeof i11.MatStartDate, typeof i11.MatEndDate, typeof i12.MatDateRangePicker, typeof i13.MatDatepickerActions, typeof i13.MatDatepickerCancel, typeof i13.MatDatepickerApply], [typeof i14.CommonModule, typeof i15.MatButtonModule, typeof i16.OverlayModule, typeof i17.A11yModule, typeof i18.PortalModule, typeof i19.MatCommonModule], [typeof i20.CdkScrollableModule, typeof i1.MatCalendar, typeof i2.MatCalendarBody, typeof i3.MatDatepicker, typeof i4.MatDatepickerContent, typeof i5.MatDatepickerInput, typeof i6.MatDatepickerToggle, typeof i6.MatDatepickerToggleIcon, typeof i7.MatMonthView, typeof i8.MatYearView, typeof i9.MatMultiYearView, typeof i1.MatCalendarHeader, typeof i10.MatDateRangeInput, typeof i11.MatStartDate, typeof i11.MatEndDate, typeof i12.MatDateRangePicker, typeof i13.MatDatepickerActions, typeof i13.MatDatepickerCancel, typeof i13.MatDatepickerApply]>;
1056
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatDatepickerModule>;
1057
+ }
1058
+
1059
+ /** A datepicker that can be attached to a {@link MatDatepickerControl}. */
1060
+ declare interface MatDatepickerPanel<C extends MatDatepickerControl<D>, S, D = ExtractDateTypeFromSelection<S>> {
1061
+ /** Stream that emits whenever the date picker is closed. */
1062
+ closedStream: EventEmitter<void>;
1063
+ /** Color palette to use on the datepicker's calendar. */
1064
+ color: ThemePalette;
1065
+ /** The input element the datepicker is associated with. */
1066
+ datepickerInput: C;
1067
+ /** Whether the datepicker pop-up should be disabled. */
1068
+ disabled: boolean;
1069
+ /** The id for the datepicker's calendar. */
1070
+ id: string;
1071
+ /** Whether the datepicker is open. */
1072
+ opened: boolean;
1073
+ /** Stream that emits whenever the date picker is opened. */
1074
+ openedStream: EventEmitter<void>;
1075
+ /** Emits when the datepicker's state changes. */
1076
+ stateChanges: Subject<void>;
1077
+ /** Opens the datepicker. */
1078
+ open(): void;
1079
+ /** Register an input with the datepicker. */
1080
+ registerInput(input: C): MatDateSelectionModel<S, D>;
1081
+ }
1082
+
1083
+ export declare class MatDatepickerToggle<D> implements AfterContentInit, OnChanges, OnDestroy {
1084
+ _intl: MatDatepickerIntl;
1085
+ private _changeDetectorRef;
1086
+ private _stateChanges;
1087
+ /** Datepicker instance that the button will toggle. */
1088
+ datepicker: MatDatepickerPanel<MatDatepickerControl<any>, D>;
1089
+ /** Tabindex for the toggle. */
1090
+ tabIndex: number | null;
1091
+ /** Screenreader label for the button. */
1092
+ ariaLabel: string;
1093
+ /** Whether the toggle button is disabled. */
1094
+ get disabled(): boolean;
1095
+ set disabled(value: BooleanInput);
1096
+ private _disabled;
1097
+ /** Whether ripples on the toggle should be disabled. */
1098
+ disableRipple: boolean;
1099
+ /** Custom icon set by the consumer. */
1100
+ _customIcon: MatDatepickerToggleIcon;
1101
+ /** Underlying button element. */
1102
+ _button: MatButton;
1103
+ constructor(_intl: MatDatepickerIntl, _changeDetectorRef: ChangeDetectorRef, defaultTabIndex: string);
1104
+ ngOnChanges(changes: SimpleChanges): void;
1105
+ ngOnDestroy(): void;
1106
+ ngAfterContentInit(): void;
1107
+ _open(event: Event): void;
1108
+ private _watchStateChanges;
1109
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerToggle<any>, [null, null, { attribute: "tabindex"; }]>;
1110
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerToggle<any>, "mat-datepicker-toggle", ["matDatepickerToggle"], { "datepicker": "for"; "tabIndex": "tabIndex"; "ariaLabel": "aria-label"; "disabled": "disabled"; "disableRipple": "disableRipple"; }, {}, ["_customIcon"], ["[matDatepickerToggleIcon]"], false>;
1111
+ }
1112
+
1113
+ /** Can be used to override the icon of a `matDatepickerToggle`. */
1114
+ export declare class MatDatepickerToggleIcon {
1115
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerToggleIcon, never>;
1116
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerToggleIcon, "[matDatepickerToggleIcon]", never, {}, {}, never, never, false>;
1117
+ }
1118
+
1119
+ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>, MatDatepickerControl<D>, MatDateRangeInputParent<D>, MatDateRangePickerInput<D>, AfterContentInit, OnChanges, OnDestroy {
1120
+ private _changeDetectorRef;
1121
+ private _elementRef;
1122
+ private _dateAdapter;
1123
+ private _formField?;
1124
+ private _closedSubscription;
1125
+ /** Current value of the range input. */
1126
+ get value(): DateRange<D> | null;
1127
+ /** Unique ID for the input. */
1128
+ id: string;
1129
+ /** Whether the control is focused. */
1130
+ focused: boolean;
1131
+ /** Whether the control's label should float. */
1132
+ get shouldLabelFloat(): boolean;
1133
+ /** Name of the form control. */
1134
+ controlType: string;
1135
+ /**
1136
+ * Implemented as a part of `MatFormFieldControl`.
1137
+ * Set the placeholder attribute on `matStartDate` and `matEndDate`.
1138
+ * @docs-private
1139
+ */
1140
+ get placeholder(): string;
1141
+ /** The range picker that this input is associated with. */
1142
+ get rangePicker(): MatDatepickerPanel<MatDatepickerControl<D>, DateRange<D>, D>;
1143
+ set rangePicker(rangePicker: MatDatepickerPanel<MatDatepickerControl<D>, DateRange<D>, D>);
1144
+ private _rangePicker;
1145
+ /** Whether the input is required. */
1146
+ get required(): boolean;
1147
+ set required(value: BooleanInput);
1148
+ private _required;
1149
+ /** Function that can be used to filter out dates within the date range picker. */
1150
+ get dateFilter(): DateFilterFn<D>;
1151
+ set dateFilter(value: DateFilterFn<D>);
1152
+ private _dateFilter;
1153
+ /** The minimum valid date. */
1154
+ get min(): D | null;
1155
+ set min(value: D | null);
1156
+ private _min;
1157
+ /** The maximum valid date. */
1158
+ get max(): D | null;
1159
+ set max(value: D | null);
1160
+ private _max;
1161
+ /** Whether the input is disabled. */
1162
+ get disabled(): boolean;
1163
+ set disabled(value: BooleanInput);
1164
+ _groupDisabled: boolean;
1165
+ /** Whether the input is in an error state. */
1166
+ get errorState(): boolean;
1167
+ /** Whether the datepicker input is empty. */
1168
+ get empty(): boolean;
1169
+ /** Value for the `aria-describedby` attribute of the inputs. */
1170
+ _ariaDescribedBy: string | null;
1171
+ /** Date selection model currently registered with the input. */
1172
+ private _model;
1173
+ /** Separator text to be shown between the inputs. */
1174
+ separator: string;
1175
+ /** Start of the comparison range that should be shown in the calendar. */
1176
+ comparisonStart: D | null;
1177
+ /** End of the comparison range that should be shown in the calendar. */
1178
+ comparisonEnd: D | null;
1179
+ _startInput: MatStartDate<D>;
1180
+ _endInput: MatEndDate<D>;
1181
+ /**
1182
+ * Implemented as a part of `MatFormFieldControl`.
1183
+ * TODO(crisbeto): change type to `AbstractControlDirective` after #18206 lands.
1184
+ * @docs-private
1185
+ */
1186
+ ngControl: NgControl | null;
1187
+ /** Emits when the input's state has changed. */
1188
+ readonly stateChanges: Subject<void>;
1189
+ constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, control: ControlContainer, _dateAdapter: DateAdapter<D>, _formField?: MatFormField | undefined);
1190
+ /**
1191
+ * Implemented as a part of `MatFormFieldControl`.
1192
+ * @docs-private
1193
+ */
1194
+ setDescribedByIds(ids: string[]): void;
1195
+ /**
1196
+ * Implemented as a part of `MatFormFieldControl`.
1197
+ * @docs-private
1198
+ */
1199
+ onContainerClick(): void;
1200
+ ngAfterContentInit(): void;
1201
+ ngOnChanges(changes: SimpleChanges): void;
1202
+ ngOnDestroy(): void;
1203
+ /** Gets the date at which the calendar should start. */
1204
+ getStartValue(): D | null;
1205
+ /** Gets the input's theme palette. */
1206
+ getThemePalette(): ThemePalette;
1207
+ /** Gets the element to which the calendar overlay should be attached. */
1208
+ getConnectedOverlayOrigin(): ElementRef;
1209
+ /** Gets the ID of an element that should be used a description for the calendar overlay. */
1210
+ getOverlayLabelId(): string | null;
1211
+ /** Gets the value that is used to mirror the state input. */
1212
+ _getInputMirrorValue(): string;
1213
+ /** Whether the input placeholders should be hidden. */
1214
+ _shouldHidePlaceholders(): boolean;
1215
+ /** Handles the value in one of the child inputs changing. */
1216
+ _handleChildValueChange(): void;
1217
+ /** Opens the date range picker associated with the input. */
1218
+ _openDatepicker(): void;
1219
+ /** Whether the separate text should be hidden. */
1220
+ _shouldHideSeparator(): boolean | "" | null;
1221
+ /** Gets the value for the `aria-labelledby` attribute of the inputs. */
1222
+ _getAriaLabelledby(): string | null;
1223
+ /** Updates the focused state of the range input. */
1224
+ _updateFocus(origin: FocusOrigin): void;
1225
+ /** Re-runs the validators on the start/end inputs. */
1226
+ private _revalidate;
1227
+ /** Registers the current date selection model with the start/end inputs. */
1228
+ private _registerModel;
1229
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInput<any>, [null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
1230
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangeInput<any>, "mat-date-range-input", ["matDateRangeInput"], { "rangePicker": "rangePicker"; "required": "required"; "dateFilter": "dateFilter"; "min": "min"; "max": "max"; "disabled": "disabled"; "separator": "separator"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, {}, ["_startInput", "_endInput"], ["input[matStartDate]", "input[matEndDate]"], false>;
1231
+ }
1232
+
1233
+ declare const _MatDateRangeInputBase: _Constructor<CanUpdateErrorState> & _AbstractConstructor<CanUpdateErrorState> & typeof MatDateRangeInputPartBase;
1234
+
1235
+ /** Parent component that should be wrapped around `MatStartDate` and `MatEndDate`. */
1236
+ declare interface MatDateRangeInputParent<D> {
1237
+ id: string;
1238
+ min: D | null;
1239
+ max: D | null;
1240
+ dateFilter: DateFilterFn<D>;
1241
+ rangePicker: {
1242
+ opened: boolean;
1243
+ id: string;
1244
+ };
1245
+ _startInput: MatDateRangeInputPartBase<D>;
1246
+ _endInput: MatDateRangeInputPartBase<D>;
1247
+ _groupDisabled: boolean;
1248
+ _handleChildValueChange(): void;
1249
+ _openDatepicker(): void;
1250
+ }
1251
+
1252
+ /**
1253
+ * Base class for the individual inputs that can be projected inside a `mat-date-range-input`.
1254
+ */
1255
+ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBase<DateRange<D>> implements OnInit, DoCheck {
1256
+ _rangeInput: MatDateRangeInputParent<D>;
1257
+ _defaultErrorStateMatcher: ErrorStateMatcher;
1258
+ private _injector;
1259
+ _parentForm: NgForm;
1260
+ _parentFormGroup: FormGroupDirective;
1261
+ /**
1262
+ * Form control bound to this input part.
1263
+ * @docs-private
1264
+ */
1265
+ ngControl: NgControl;
1266
+ /** @docs-private */
1267
+ abstract updateErrorState(): void;
1268
+ protected abstract _validator: ValidatorFn | null;
1269
+ protected abstract _assignValueToModel(value: D | null): void;
1270
+ protected abstract _getValueFromModel(modelValue: DateRange<D>): D | null;
1271
+ constructor(_rangeInput: MatDateRangeInputParent<D>, elementRef: ElementRef<HTMLInputElement>, _defaultErrorStateMatcher: ErrorStateMatcher, _injector: Injector, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats);
1272
+ ngOnInit(): void;
1273
+ ngDoCheck(): void;
1274
+ /** Gets whether the input is empty. */
1275
+ isEmpty(): boolean;
1276
+ /** Gets the placeholder of the input. */
1277
+ _getPlaceholder(): string;
1278
+ /** Focuses the input. */
1279
+ focus(): void;
1280
+ /** Handles `input` events on the input element. */
1281
+ _onInput(value: string): void;
1282
+ /** Opens the datepicker associated with the input. */
1283
+ protected _openPopup(): void;
1284
+ /** Gets the minimum date from the range input. */
1285
+ _getMinDate(): D | null;
1286
+ /** Gets the maximum date from the range input. */
1287
+ _getMaxDate(): D | null;
1288
+ /** Gets the date filter function from the range input. */
1289
+ protected _getDateFilter(): DateFilterFn<D>;
1290
+ protected _parentDisabled(): boolean;
1291
+ protected _shouldHandleChangeEvent({ source }: DateSelectionModelChange<DateRange<D>>): boolean;
1292
+ protected _assignValueProgrammatically(value: D | null): void;
1293
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInputPartBase<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
1294
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDateRangeInputPartBase<any>, never, never, {}, {}, never, never, false>;
1295
+ }
1296
+
1297
+ /** Component responsible for managing the date range picker popup/dialog. */
1298
+ export declare class MatDateRangePicker<D> extends MatDatepickerBase<MatDateRangePickerInput<D>, DateRange<D>, D> {
1299
+ protected _forwardContentValues(instance: MatDatepickerContent<DateRange<D>, D>): void;
1300
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangePicker<any>, never>;
1301
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangePicker<any>, "mat-date-range-picker", ["matDateRangePicker"], {}, {}, never, never, false>;
1302
+ }
1303
+
1304
+ /**
1305
+ * Input that can be associated with a date range picker.
1306
+ * @docs-private
1307
+ */
1308
+ declare interface MatDateRangePickerInput<D> extends MatDatepickerControl<D> {
1309
+ comparisonStart: D | null;
1310
+ comparisonEnd: D | null;
1311
+ }
1312
+
1313
+ /** Object that can be provided in order to customize the date range selection behavior. */
1314
+ export declare interface MatDateRangeSelectionStrategy<D> {
1315
+ /**
1316
+ * Called when the user has finished selecting a value.
1317
+ * @param date Date that was selected. Will be null if the user cleared the selection.
1318
+ * @param currentRange Range that is currently show in the calendar.
1319
+ * @param event DOM event that triggered the selection. Currently only corresponds to a `click`
1320
+ * event, but it may get expanded in the future.
1321
+ */
1322
+ selectionFinished(date: D | null, currentRange: DateRange<D>, event: Event): DateRange<D>;
1323
+ /**
1324
+ * Called when the user has activated a new date (e.g. by hovering over
1325
+ * it or moving focus) and the calendar tries to display a date range.
1326
+ *
1327
+ * @param activeDate Date that the user has activated. Will be null if the user moved
1328
+ * focus to an element that's no a calendar cell.
1329
+ * @param currentRange Range that is currently shown in the calendar.
1330
+ * @param event DOM event that caused the preview to be changed. Will be either a
1331
+ * `mouseenter`/`mouseleave` or `focus`/`blur` depending on how the user is navigating.
1332
+ */
1333
+ createPreview(activeDate: D | null, currentRange: DateRange<D>, event: Event): DateRange<D>;
1334
+ }
1335
+
1336
+ /**
1337
+ * A selection model containing a date selection.
1338
+ * @docs-private
1339
+ */
1340
+ export declare abstract class MatDateSelectionModel<S, D = ExtractDateTypeFromSelection<S>> implements OnDestroy {
1341
+ /** The current selection. */
1342
+ readonly selection: S;
1343
+ protected _adapter: DateAdapter<D>;
1344
+ private readonly _selectionChanged;
1345
+ /** Emits when the selection has changed. */
1346
+ selectionChanged: Observable<DateSelectionModelChange<S>>;
1347
+ protected constructor(
1348
+ /** The current selection. */
1349
+ selection: S, _adapter: DateAdapter<D>);
1350
+ /**
1351
+ * Updates the current selection in the model.
1352
+ * @param value New selection that should be assigned.
1353
+ * @param source Object that triggered the selection change.
1354
+ */
1355
+ updateSelection(value: S, source: unknown): void;
1356
+ ngOnDestroy(): void;
1357
+ protected _isValidDateInstance(date: D): boolean;
1358
+ /** Adds a date to the current selection. */
1359
+ abstract add(date: D | null): void;
1360
+ /** Checks whether the current selection is valid. */
1361
+ abstract isValid(): boolean;
1362
+ /** Checks whether the current selection is complete. */
1363
+ abstract isComplete(): boolean;
1364
+ /** Clones the selection model. */
1365
+ abstract clone(): MatDateSelectionModel<S, D>;
1366
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDateSelectionModel<any, any>, never>;
1367
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatDateSelectionModel<any, any>>;
1368
+ }
1369
+
1370
+ /** Input for entering the end date in a `mat-date-range-input`. */
1371
+ export declare class MatEndDate<D> extends _MatDateRangeInputBase<D> implements CanUpdateErrorState {
1372
+ /** Validator that checks that the end date isn't before the start date. */
1373
+ private _endValidator;
1374
+ constructor(rangeInput: MatDateRangeInputParent<D>, elementRef: ElementRef<HTMLInputElement>, defaultErrorStateMatcher: ErrorStateMatcher, injector: Injector, parentForm: NgForm, parentFormGroup: FormGroupDirective, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats);
1375
+ protected _validator: ValidatorFn | null;
1376
+ protected _getValueFromModel(modelValue: DateRange<D>): D | null;
1377
+ protected _shouldHandleChangeEvent(change: DateSelectionModelChange<DateRange<D>>): boolean;
1378
+ protected _assignValueToModel(value: D | null): void;
1379
+ _onKeydown(event: KeyboardEvent): void;
1380
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatEndDate<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
1381
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatEndDate<any>, "input[matEndDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
1382
+ }
1383
+
1384
+ /**
1385
+ * An internal component used to display a single month in the datepicker.
1386
+ * @docs-private
1387
+ */
1388
+ export declare class MatMonthView<D> implements AfterContentInit, OnChanges, OnDestroy {
1389
+ readonly _changeDetectorRef: ChangeDetectorRef;
1390
+ private _dateFormats;
1391
+ _dateAdapter: DateAdapter<D>;
1392
+ private _dir?;
1393
+ private _rangeStrategy?;
1394
+ private _rerenderSubscription;
1395
+ /** Flag used to filter out space/enter keyup events that originated outside of the view. */
1396
+ private _selectionKeyPressed;
1397
+ /**
1398
+ * The date to display in this month view (everything other than the month and year is ignored).
1399
+ */
1400
+ get activeDate(): D;
1401
+ set activeDate(value: D);
1402
+ private _activeDate;
1403
+ /** The currently selected date. */
1404
+ get selected(): DateRange<D> | D | null;
1405
+ set selected(value: DateRange<D> | D | null);
1406
+ private _selected;
1407
+ /** The minimum selectable date. */
1408
+ get minDate(): D | null;
1409
+ set minDate(value: D | null);
1410
+ private _minDate;
1411
+ /** The maximum selectable date. */
1412
+ get maxDate(): D | null;
1413
+ set maxDate(value: D | null);
1414
+ private _maxDate;
1415
+ /** Function used to filter which dates are selectable. */
1416
+ dateFilter: (date: D) => boolean;
1417
+ /** Function that can be used to add custom CSS classes to dates. */
1418
+ dateClass: MatCalendarCellClassFunction<D>;
1419
+ /** Start of the comparison range. */
1420
+ comparisonStart: D | null;
1421
+ /** End of the comparison range. */
1422
+ comparisonEnd: D | null;
1423
+ /** Emits when a new date is selected. */
1424
+ readonly selectedChange: EventEmitter<D | null>;
1425
+ /** Emits when any date is selected. */
1426
+ readonly _userSelection: EventEmitter<MatCalendarUserEvent<D | null>>;
1427
+ /** Emits when any date is activated. */
1428
+ readonly activeDateChange: EventEmitter<D>;
1429
+ /** The body of calendar table */
1430
+ _matCalendarBody: MatCalendarBody;
1431
+ /** The label for this month (e.g. "January 2017"). */
1432
+ _monthLabel: string;
1433
+ /** Grid of calendar cells representing the dates of the month. */
1434
+ _weeks: MatCalendarCell[][];
1435
+ /** The number of blank cells in the first row before the 1st of the month. */
1436
+ _firstWeekOffset: number;
1437
+ /** Start value of the currently-shown date range. */
1438
+ _rangeStart: number | null;
1439
+ /** End value of the currently-shown date range. */
1440
+ _rangeEnd: number | null;
1441
+ /** Start value of the currently-shown comparison date range. */
1442
+ _comparisonRangeStart: number | null;
1443
+ /** End value of the currently-shown comparison date range. */
1444
+ _comparisonRangeEnd: number | null;
1445
+ /** Start of the preview range. */
1446
+ _previewStart: number | null;
1447
+ /** End of the preview range. */
1448
+ _previewEnd: number | null;
1449
+ /** Whether the user is currently selecting a range of dates. */
1450
+ _isRange: boolean;
1451
+ /** The date of the month that today falls on. Null if today is in another month. */
1452
+ _todayDate: number | null;
1453
+ /** The names of the weekdays. */
1454
+ _weekdays: {
1455
+ long: string;
1456
+ narrow: string;
1457
+ }[];
1458
+ constructor(_changeDetectorRef: ChangeDetectorRef, _dateFormats: MatDateFormats, _dateAdapter: DateAdapter<D>, _dir?: Directionality | undefined, _rangeStrategy?: MatDateRangeSelectionStrategy<D> | undefined);
1459
+ ngAfterContentInit(): void;
1460
+ ngOnChanges(changes: SimpleChanges): void;
1461
+ ngOnDestroy(): void;
1462
+ /** Handles when a new date is selected. */
1463
+ _dateSelected(event: MatCalendarUserEvent<number>): void;
1464
+ /**
1465
+ * Takes the index of a calendar body cell wrapped in in an event as argument. For the date that
1466
+ * corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
1467
+ * that date.
1468
+ *
1469
+ * This fucntion is used to match each component's model of the active date with the calendar
1470
+ * body cell that was focused. It updates its value of `activeDate` synchronously and updates the
1471
+ * parent's value asynchonously via the `activeDateChange` event. The child component receives an
1472
+ * updated value asynchronously via the `activeCell` Input.
1473
+ */
1474
+ _updateActiveDate(event: MatCalendarUserEvent<number>): void;
1475
+ /** Handles keydown events on the calendar body when calendar is in month view. */
1476
+ _handleCalendarBodyKeydown(event: KeyboardEvent): void;
1477
+ /** Handles keyup events on the calendar body when calendar is in month view. */
1478
+ _handleCalendarBodyKeyup(event: KeyboardEvent): void;
1479
+ /** Initializes this month view. */
1480
+ _init(): void;
1481
+ /** Focuses the active cell after the microtask queue is empty. */
1482
+ _focusActiveCell(movePreview?: boolean): void;
1483
+ /** Focuses the active cell after change detection has run and the microtask queue is empty. */
1484
+ _focusActiveCellAfterViewChecked(): void;
1485
+ /** Called when the user has activated a new cell and the preview needs to be updated. */
1486
+ _previewChanged({ event, value: cell }: MatCalendarUserEvent<MatCalendarCell<D> | null>): void;
1487
+ /**
1488
+ * Takes a day of the month and returns a new date in the same month and year as the currently
1489
+ * active date. The returned date will have the same day of the month as the argument date.
1490
+ */
1491
+ private _getDateFromDayOfMonth;
1492
+ /** Initializes the weekdays. */
1493
+ private _initWeekdays;
1494
+ /** Creates MatCalendarCells for the dates in this month. */
1495
+ private _createWeekCells;
1496
+ /** Date filter for the month */
1497
+ private _shouldEnableDate;
1498
+ /**
1499
+ * Gets the date in this month that the given Date falls on.
1500
+ * Returns null if the given Date is in another month.
1501
+ */
1502
+ private _getDateInCurrentMonth;
1503
+ /** Checks whether the 2 dates are non-null and fall within the same month of the same year. */
1504
+ private _hasSameMonthAndYear;
1505
+ /** Gets the value that will be used to one cell to another. */
1506
+ private _getCellCompareValue;
1507
+ /** Determines whether the user has the RTL layout direction. */
1508
+ private _isRtl;
1509
+ /** Sets the current range based on a model value. */
1510
+ private _setRanges;
1511
+ /** Gets whether a date can be selected in the month view. */
1512
+ private _canSelect;
1513
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatMonthView<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
1514
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatMonthView<any>, "mat-month-view", ["matMonthView"], { "activeDate": "activeDate"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; "activeDateChange": "activeDateChange"; }, never, never, false>;
1515
+ }
1516
+
1517
+ /**
1518
+ * An internal component used to display a year selector in the datepicker.
1519
+ * @docs-private
1520
+ */
1521
+ export declare class MatMultiYearView<D> implements AfterContentInit, OnDestroy {
1522
+ private _changeDetectorRef;
1523
+ _dateAdapter: DateAdapter<D>;
1524
+ private _dir?;
1525
+ private _rerenderSubscription;
1526
+ /** Flag used to filter out space/enter keyup events that originated outside of the view. */
1527
+ private _selectionKeyPressed;
1528
+ /** The date to display in this multi-year view (everything other than the year is ignored). */
1529
+ get activeDate(): D;
1530
+ set activeDate(value: D);
1531
+ private _activeDate;
1532
+ /** The currently selected date. */
1533
+ get selected(): DateRange<D> | D | null;
1534
+ set selected(value: DateRange<D> | D | null);
1535
+ private _selected;
1536
+ /** The minimum selectable date. */
1537
+ get minDate(): D | null;
1538
+ set minDate(value: D | null);
1539
+ private _minDate;
1540
+ /** The maximum selectable date. */
1541
+ get maxDate(): D | null;
1542
+ set maxDate(value: D | null);
1543
+ private _maxDate;
1544
+ /** A function used to filter which dates are selectable. */
1545
+ dateFilter: (date: D) => boolean;
1546
+ /** Function that can be used to add custom CSS classes to date cells. */
1547
+ dateClass: MatCalendarCellClassFunction<D>;
1548
+ /** Emits when a new year is selected. */
1549
+ readonly selectedChange: EventEmitter<D>;
1550
+ /** Emits the selected year. This doesn't imply a change on the selected date */
1551
+ readonly yearSelected: EventEmitter<D>;
1552
+ /** Emits when any date is activated. */
1553
+ readonly activeDateChange: EventEmitter<D>;
1554
+ /** The body of calendar table */
1555
+ _matCalendarBody: MatCalendarBody;
1556
+ /** Grid of calendar cells representing the currently displayed years. */
1557
+ _years: MatCalendarCell[][];
1558
+ /** The year that today falls on. */
1559
+ _todayYear: number;
1560
+ /** The year of the selected date. Null if the selected date is null. */
1561
+ _selectedYear: number | null;
1562
+ constructor(_changeDetectorRef: ChangeDetectorRef, _dateAdapter: DateAdapter<D>, _dir?: Directionality | undefined);
1563
+ ngAfterContentInit(): void;
1564
+ ngOnDestroy(): void;
1565
+ /** Initializes this multi-year view. */
1566
+ _init(): void;
1567
+ /** Handles when a new year is selected. */
1568
+ _yearSelected(event: MatCalendarUserEvent<number>): void;
1569
+ /**
1570
+ * Takes the index of a calendar body cell wrapped in in an event as argument. For the date that
1571
+ * corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
1572
+ * that date.
1573
+ *
1574
+ * This fucntion is used to match each component's model of the active date with the calendar
1575
+ * body cell that was focused. It updates its value of `activeDate` synchronously and updates the
1576
+ * parent's value asynchonously via the `activeDateChange` event. The child component receives an
1577
+ * updated value asynchronously via the `activeCell` Input.
1578
+ */
1579
+ _updateActiveDate(event: MatCalendarUserEvent<number>): void;
1580
+ /** Handles keydown events on the calendar body when calendar is in multi-year view. */
1581
+ _handleCalendarBodyKeydown(event: KeyboardEvent): void;
1582
+ /** Handles keyup events on the calendar body when calendar is in multi-year view. */
1583
+ _handleCalendarBodyKeyup(event: KeyboardEvent): void;
1584
+ _getActiveCell(): number;
1585
+ /** Focuses the active cell after the microtask queue is empty. */
1586
+ _focusActiveCell(): void;
1587
+ /** Focuses the active cell after change detection has run and the microtask queue is empty. */
1588
+ _focusActiveCellAfterViewChecked(): void;
1589
+ /**
1590
+ * Takes a year and returns a new date on the same day and month as the currently active date
1591
+ * The returned date will have the same year as the argument date.
1592
+ */
1593
+ private _getDateFromYear;
1594
+ /** Creates an MatCalendarCell for the given year. */
1595
+ private _createCellForYear;
1596
+ /** Whether the given year is enabled. */
1597
+ private _shouldEnableYear;
1598
+ /** Determines whether the user has the RTL layout direction. */
1599
+ private _isRtl;
1600
+ /** Sets the currently-highlighted year based on a model value. */
1601
+ private _setSelectedYear;
1602
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatMultiYearView<any>, [null, { optional: true; }, { optional: true; }]>;
1603
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatMultiYearView<any>, "mat-multi-year-view", ["matMultiYearView"], { "activeDate": "activeDate"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "activeDateChange": "activeDateChange"; }, never, never, false>;
1604
+ }
1605
+
1606
+ /**
1607
+ * A selection model that contains a date range.
1608
+ * @docs-private
1609
+ */
1610
+ export declare class MatRangeDateSelectionModel<D> extends MatDateSelectionModel<DateRange<D>, D> {
1611
+ constructor(adapter: DateAdapter<D>);
1612
+ /**
1613
+ * Adds a date to the current selection. In the case of a date range selection, the added date
1614
+ * fills in the next `null` value in the range. If both the start and the end already have a date,
1615
+ * the selection is reset so that the given date is the new `start` and the `end` is null.
1616
+ */
1617
+ add(date: D | null): void;
1618
+ /** Checks whether the current selection is valid. */
1619
+ isValid(): boolean;
1620
+ /**
1621
+ * Checks whether the current selection is complete. In the case of a date range selection, this
1622
+ * is true if the current selection has a non-null `start` and `end`.
1623
+ */
1624
+ isComplete(): boolean;
1625
+ /** Clones the selection model. */
1626
+ clone(): MatRangeDateSelectionModel<D>;
1627
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatRangeDateSelectionModel<any>, never>;
1628
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatRangeDateSelectionModel<any>>;
1629
+ }
1630
+
1631
+ /**
1632
+ * A selection model that contains a single date.
1633
+ * @docs-private
1634
+ */
1635
+ export declare class MatSingleDateSelectionModel<D> extends MatDateSelectionModel<D | null, D> {
1636
+ constructor(adapter: DateAdapter<D>);
1637
+ /**
1638
+ * Adds a date to the current selection. In the case of a single date selection, the added date
1639
+ * simply overwrites the previous selection
1640
+ */
1641
+ add(date: D | null): void;
1642
+ /** Checks whether the current selection is valid. */
1643
+ isValid(): boolean;
1644
+ /**
1645
+ * Checks whether the current selection is complete. In the case of a single date selection, this
1646
+ * is true if the current selection is not null.
1647
+ */
1648
+ isComplete(): boolean;
1649
+ /** Clones the selection model. */
1650
+ clone(): MatSingleDateSelectionModel<D>;
1651
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSingleDateSelectionModel<any>, never>;
1652
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatSingleDateSelectionModel<any>>;
1653
+ }
1654
+
1655
+ /** Input for entering the start date in a `mat-date-range-input`. */
1656
+ export declare class MatStartDate<D> extends _MatDateRangeInputBase<D> implements CanUpdateErrorState {
1657
+ /** Validator that checks that the start date isn't after the end date. */
1658
+ private _startValidator;
1659
+ constructor(rangeInput: MatDateRangeInputParent<D>, elementRef: ElementRef<HTMLInputElement>, defaultErrorStateMatcher: ErrorStateMatcher, injector: Injector, parentForm: NgForm, parentFormGroup: FormGroupDirective, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats);
1660
+ protected _validator: ValidatorFn | null;
1661
+ protected _getValueFromModel(modelValue: DateRange<D>): D | null;
1662
+ protected _shouldHandleChangeEvent(change: DateSelectionModelChange<DateRange<D>>): boolean;
1663
+ protected _assignValueToModel(value: D | null): void;
1664
+ protected _formatValue(value: D | null): void;
1665
+ /** Gets the value that should be used when mirroring the input's size. */
1666
+ getMirrorValue(): string;
1667
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatStartDate<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
1668
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatStartDate<any>, "input[matStartDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
1669
+ }
1670
+
1671
+ /**
1672
+ * An internal component used to display a single year in the datepicker.
1673
+ * @docs-private
1674
+ */
1675
+ export declare class MatYearView<D> implements AfterContentInit, OnDestroy {
1676
+ readonly _changeDetectorRef: ChangeDetectorRef;
1677
+ private _dateFormats;
1678
+ _dateAdapter: DateAdapter<D>;
1679
+ private _dir?;
1680
+ private _rerenderSubscription;
1681
+ /** Flag used to filter out space/enter keyup events that originated outside of the view. */
1682
+ private _selectionKeyPressed;
1683
+ /** The date to display in this year view (everything other than the year is ignored). */
1684
+ get activeDate(): D;
1685
+ set activeDate(value: D);
1686
+ private _activeDate;
1687
+ /** The currently selected date. */
1688
+ get selected(): DateRange<D> | D | null;
1689
+ set selected(value: DateRange<D> | D | null);
1690
+ private _selected;
1691
+ /** The minimum selectable date. */
1692
+ get minDate(): D | null;
1693
+ set minDate(value: D | null);
1694
+ private _minDate;
1695
+ /** The maximum selectable date. */
1696
+ get maxDate(): D | null;
1697
+ set maxDate(value: D | null);
1698
+ private _maxDate;
1699
+ /** A function used to filter which dates are selectable. */
1700
+ dateFilter: (date: D) => boolean;
1701
+ /** Function that can be used to add custom CSS classes to date cells. */
1702
+ dateClass: MatCalendarCellClassFunction<D>;
1703
+ /** Emits when a new month is selected. */
1704
+ readonly selectedChange: EventEmitter<D>;
1705
+ /** Emits the selected month. This doesn't imply a change on the selected date */
1706
+ readonly monthSelected: EventEmitter<D>;
1707
+ /** Emits when any date is activated. */
1708
+ readonly activeDateChange: EventEmitter<D>;
1709
+ /** The body of calendar table */
1710
+ _matCalendarBody: MatCalendarBody;
1711
+ /** Grid of calendar cells representing the months of the year. */
1712
+ _months: MatCalendarCell[][];
1713
+ /** The label for this year (e.g. "2017"). */
1714
+ _yearLabel: string;
1715
+ /** The month in this year that today falls on. Null if today is in a different year. */
1716
+ _todayMonth: number | null;
1717
+ /**
1718
+ * The month in this year that the selected Date falls on.
1719
+ * Null if the selected Date is in a different year.
1720
+ */
1721
+ _selectedMonth: number | null;
1722
+ constructor(_changeDetectorRef: ChangeDetectorRef, _dateFormats: MatDateFormats, _dateAdapter: DateAdapter<D>, _dir?: Directionality | undefined);
1723
+ ngAfterContentInit(): void;
1724
+ ngOnDestroy(): void;
1725
+ /** Handles when a new month is selected. */
1726
+ _monthSelected(event: MatCalendarUserEvent<number>): void;
1727
+ /**
1728
+ * Takes the index of a calendar body cell wrapped in in an event as argument. For the date that
1729
+ * corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
1730
+ * that date.
1731
+ *
1732
+ * This fucntion is used to match each component's model of the active date with the calendar
1733
+ * body cell that was focused. It updates its value of `activeDate` synchronously and updates the
1734
+ * parent's value asynchonously via the `activeDateChange` event. The child component receives an
1735
+ * updated value asynchronously via the `activeCell` Input.
1736
+ */
1737
+ _updateActiveDate(event: MatCalendarUserEvent<number>): void;
1738
+ /** Handles keydown events on the calendar body when calendar is in year view. */
1739
+ _handleCalendarBodyKeydown(event: KeyboardEvent): void;
1740
+ /** Handles keyup events on the calendar body when calendar is in year view. */
1741
+ _handleCalendarBodyKeyup(event: KeyboardEvent): void;
1742
+ /** Initializes this year view. */
1743
+ _init(): void;
1744
+ /** Focuses the active cell after the microtask queue is empty. */
1745
+ _focusActiveCell(): void;
1746
+ /** Schedules the matCalendarBody to focus the active cell after change detection has run */
1747
+ _focusActiveCellAfterViewChecked(): void;
1748
+ /**
1749
+ * Gets the month in this year that the given Date falls on.
1750
+ * Returns null if the given Date is in another year.
1751
+ */
1752
+ private _getMonthInCurrentYear;
1753
+ /**
1754
+ * Takes a month and returns a new date in the same day and year as the currently active date.
1755
+ * The returned date will have the same month as the argument date.
1756
+ */
1757
+ private _getDateFromMonth;
1758
+ /** Creates an MatCalendarCell for the given month. */
1759
+ private _createCellForMonth;
1760
+ /** Whether the given month is enabled. */
1761
+ private _shouldEnableMonth;
1762
+ /**
1763
+ * Tests whether the combination month/year is after this.maxDate, considering
1764
+ * just the month and year of this.maxDate
1765
+ */
1766
+ private _isYearAndMonthAfterMaxDate;
1767
+ /**
1768
+ * Tests whether the combination month/year is before this.minDate, considering
1769
+ * just the month and year of this.minDate
1770
+ */
1771
+ private _isYearAndMonthBeforeMinDate;
1772
+ /** Determines whether the user has the RTL layout direction. */
1773
+ private _isRtl;
1774
+ /** Sets the currently-selected month based on a model value. */
1775
+ private _setSelectedMonth;
1776
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatYearView<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
1777
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatYearView<any>, "mat-year-view", ["matYearView"], { "activeDate": "activeDate"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; }, { "selectedChange": "selectedChange"; "monthSelected": "monthSelected"; "activeDateChange": "activeDateChange"; }, never, never, false>;
1778
+ }
1779
+
1780
+ export declare const yearsPerPage = 24;
1781
+
1782
+ export declare const yearsPerRow = 4;
1783
+
1784
+ export { }