@angular/material 14.0.0-next.8 → 14.0.0-rc.1

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 (953) hide show
  1. package/_index.scss +20 -1
  2. package/autocomplete/index.d.ts +436 -6
  3. package/autocomplete/testing/index.d.ts +71 -8
  4. package/badge/_badge-theme.scss +3 -2
  5. package/badge/index.d.ts +107 -8
  6. package/badge/testing/index.d.ts +36 -8
  7. package/bottom-sheet/index.d.ts +199 -6
  8. package/bottom-sheet/testing/index.d.ts +27 -8
  9. package/button/index.d.ts +77 -6
  10. package/button/testing/index.d.ts +44 -8
  11. package/button-toggle/index.d.ts +245 -6
  12. package/button-toggle/testing/index.d.ts +91 -8
  13. package/card/index.d.ts +165 -5
  14. package/card/testing/index.d.ts +44 -8
  15. package/checkbox/index.d.ts +277 -6
  16. package/checkbox/testing/index.d.ts +91 -8
  17. package/chips/index.d.ts +650 -5
  18. package/chips/testing/index.d.ts +256 -8
  19. package/core/_core.scss +5 -7
  20. package/core/index.d.ts +1079 -5
  21. package/core/ripple/_ripple.scss +2 -2
  22. package/core/style/_menu-common.scss +3 -2
  23. package/core/style/_private.scss +5 -14
  24. package/core/style/_vendor-prefixes.scss +1 -1
  25. package/core/testing/index.d.ts +64 -8
  26. package/core/theming/_theming.scss +2 -2
  27. package/core/typography/_typography.scss +51 -14
  28. package/datepicker/index.d.ts +1782 -6
  29. package/datepicker/testing/index.d.ts +307 -8
  30. package/dialog/index.d.ts +489 -6
  31. package/dialog/testing/index.d.ts +97 -8
  32. package/divider/index.d.ts +30 -8
  33. package/divider/testing/index.d.ts +16 -8
  34. package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
  35. package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
  36. package/esm2020/autocomplete/autocomplete-trigger.mjs +26 -13
  37. package/esm2020/autocomplete/autocomplete.mjs +9 -9
  38. package/esm2020/autocomplete/testing/autocomplete-harness.mjs +5 -1
  39. package/esm2020/badge/badge-module.mjs +5 -5
  40. package/esm2020/badge/badge.mjs +4 -4
  41. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +24 -176
  42. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +7 -7
  43. package/esm2020/bottom-sheet/bottom-sheet-ref.mjs +34 -34
  44. package/esm2020/bottom-sheet/bottom-sheet.mjs +30 -89
  45. package/esm2020/button/button-module.mjs +5 -5
  46. package/esm2020/button/button.mjs +9 -9
  47. package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
  48. package/esm2020/button-toggle/button-toggle.mjs +8 -8
  49. package/esm2020/card/card-module.mjs +5 -5
  50. package/esm2020/card/card.mjs +44 -44
  51. package/esm2020/checkbox/checkbox-module.mjs +9 -9
  52. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  53. package/esm2020/checkbox/checkbox.mjs +151 -133
  54. package/esm2020/chips/chip-input.mjs +4 -4
  55. package/esm2020/chips/chip-list.mjs +5 -5
  56. package/esm2020/chips/chip.mjs +15 -16
  57. package/esm2020/chips/chips-module.mjs +6 -6
  58. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  59. package/esm2020/core/common-behaviors/error-state.mjs +1 -1
  60. package/esm2020/core/datetime/index.mjs +9 -9
  61. package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
  62. package/esm2020/core/error/error-options.mjs +7 -7
  63. package/esm2020/core/line/line.mjs +8 -8
  64. package/esm2020/core/option/index.mjs +5 -5
  65. package/esm2020/core/option/optgroup.mjs +8 -8
  66. package/esm2020/core/option/option.mjs +10 -10
  67. package/esm2020/core/ripple/index.mjs +5 -5
  68. package/esm2020/core/ripple/ripple-ref.mjs +2 -2
  69. package/esm2020/core/ripple/ripple-renderer.mjs +36 -19
  70. package/esm2020/core/ripple/ripple.mjs +4 -4
  71. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  72. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  73. package/esm2020/core/version.mjs +1 -1
  74. package/esm2020/datepicker/calendar-body.mjs +5 -5
  75. package/esm2020/datepicker/calendar.mjs +26 -15
  76. package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
  77. package/esm2020/datepicker/date-range-input.mjs +6 -6
  78. package/esm2020/datepicker/date-range-picker.mjs +4 -4
  79. package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
  80. package/esm2020/datepicker/date-selection-model.mjs +10 -10
  81. package/esm2020/datepicker/datepicker-actions.mjs +12 -12
  82. package/esm2020/datepicker/datepicker-base.mjs +11 -11
  83. package/esm2020/datepicker/datepicker-input-base.mjs +6 -7
  84. package/esm2020/datepicker/datepicker-input.mjs +4 -4
  85. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  86. package/esm2020/datepicker/datepicker-module.mjs +10 -12
  87. package/esm2020/datepicker/datepicker-toggle.mjs +10 -10
  88. package/esm2020/datepicker/datepicker.mjs +4 -4
  89. package/esm2020/datepicker/month-view.mjs +6 -6
  90. package/esm2020/datepicker/multi-year-view.mjs +4 -4
  91. package/esm2020/datepicker/testing/calendar-harness.mjs +4 -4
  92. package/esm2020/datepicker/year-view.mjs +4 -4
  93. package/esm2020/dialog/dialog-config.mjs +1 -1
  94. package/esm2020/dialog/dialog-container.mjs +42 -220
  95. package/esm2020/dialog/dialog-content-directives.mjs +14 -14
  96. package/esm2020/dialog/dialog-module.mjs +8 -7
  97. package/esm2020/dialog/dialog-ref.mjs +28 -60
  98. package/esm2020/dialog/dialog.mjs +74 -197
  99. package/esm2020/dialog/testing/dialog-harness.mjs +4 -4
  100. package/esm2020/divider/divider-module.mjs +5 -5
  101. package/esm2020/divider/divider.mjs +5 -5
  102. package/esm2020/expansion/accordion.mjs +4 -4
  103. package/esm2020/expansion/expansion-module.mjs +5 -5
  104. package/esm2020/expansion/expansion-panel-content.mjs +4 -4
  105. package/esm2020/expansion/expansion-panel-header.mjs +11 -11
  106. package/esm2020/expansion/expansion-panel.mjs +9 -9
  107. package/esm2020/expansion/testing/expansion-harness.mjs +6 -6
  108. package/esm2020/form-field/error.mjs +4 -4
  109. package/esm2020/form-field/form-field-control.mjs +4 -4
  110. package/esm2020/form-field/form-field-module.mjs +5 -5
  111. package/esm2020/form-field/form-field.mjs +5 -5
  112. package/esm2020/form-field/hint.mjs +4 -4
  113. package/esm2020/form-field/label.mjs +4 -4
  114. package/esm2020/form-field/placeholder.mjs +4 -4
  115. package/esm2020/form-field/prefix.mjs +4 -4
  116. package/esm2020/form-field/suffix.mjs +4 -4
  117. package/esm2020/form-field/testing/public-api.mjs +4 -4
  118. package/esm2020/grid-list/grid-list-module.mjs +5 -5
  119. package/esm2020/grid-list/grid-list.mjs +6 -6
  120. package/esm2020/grid-list/grid-tile.mjs +17 -17
  121. package/esm2020/grid-list/testing/grid-tile-harness.mjs +3 -3
  122. package/esm2020/icon/icon-module.mjs +5 -5
  123. package/esm2020/icon/icon-registry.mjs +4 -4
  124. package/esm2020/icon/icon.mjs +5 -5
  125. package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
  126. package/esm2020/icon/testing/icon-harness.mjs +3 -3
  127. package/esm2020/input/input-module.mjs +5 -5
  128. package/esm2020/input/input.mjs +4 -4
  129. package/esm2020/list/list-module.mjs +5 -5
  130. package/esm2020/list/list.mjs +21 -21
  131. package/esm2020/list/selection-list.mjs +9 -9
  132. package/esm2020/menu/menu-content.mjs +7 -7
  133. package/esm2020/menu/menu-item.mjs +6 -6
  134. package/esm2020/menu/menu-module.mjs +5 -5
  135. package/esm2020/menu/menu-trigger.mjs +7 -7
  136. package/esm2020/menu/menu.mjs +28 -40
  137. package/esm2020/paginator/paginator-intl.mjs +4 -4
  138. package/esm2020/paginator/paginator-module.mjs +5 -5
  139. package/esm2020/paginator/paginator.mjs +13 -13
  140. package/esm2020/paginator/testing/paginator-harness.mjs +11 -1
  141. package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
  142. package/esm2020/progress-bar/progress-bar.mjs +8 -5
  143. package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
  144. package/esm2020/progress-spinner/progress-spinner.mjs +5 -5
  145. package/esm2020/radio/radio-module.mjs +5 -5
  146. package/esm2020/radio/radio.mjs +42 -14
  147. package/esm2020/select/select-module.mjs +5 -5
  148. package/esm2020/select/select.mjs +25 -18
  149. package/esm2020/sidenav/drawer.mjs +12 -12
  150. package/esm2020/sidenav/sidenav-module.mjs +5 -5
  151. package/esm2020/sidenav/sidenav.mjs +12 -12
  152. package/esm2020/slide-toggle/slide-toggle-module.mjs +12 -14
  153. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  154. package/esm2020/slide-toggle/slide-toggle.mjs +89 -77
  155. package/esm2020/slide-toggle/testing/slide-toggle-harness-filters.mjs +1 -1
  156. package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +3 -2
  157. package/esm2020/slider/slider-module.mjs +5 -5
  158. package/esm2020/slider/slider.mjs +5 -5
  159. package/esm2020/snack-bar/simple-snack-bar.mjs +7 -7
  160. package/esm2020/snack-bar/snack-bar-container.mjs +24 -18
  161. package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
  162. package/esm2020/snack-bar/snack-bar-ref.mjs +2 -3
  163. package/esm2020/snack-bar/snack-bar.mjs +7 -7
  164. package/esm2020/sort/sort-header-intl.mjs +4 -4
  165. package/esm2020/sort/sort-header.mjs +5 -5
  166. package/esm2020/sort/sort-module.mjs +5 -5
  167. package/esm2020/sort/sort.mjs +4 -4
  168. package/esm2020/stepper/step-content.mjs +4 -4
  169. package/esm2020/stepper/step-header.mjs +8 -8
  170. package/esm2020/stepper/step-label.mjs +4 -4
  171. package/esm2020/stepper/stepper-button.mjs +7 -7
  172. package/esm2020/stepper/stepper-icon.mjs +4 -4
  173. package/esm2020/stepper/stepper-intl.mjs +4 -4
  174. package/esm2020/stepper/stepper-module.mjs +11 -13
  175. package/esm2020/stepper/stepper.mjs +11 -11
  176. package/esm2020/stepper/testing/stepper-harness.mjs +3 -3
  177. package/esm2020/table/cell.mjs +22 -22
  178. package/esm2020/table/row.mjs +22 -22
  179. package/esm2020/table/table-data-source.mjs +1 -1
  180. package/esm2020/table/table-module.mjs +5 -5
  181. package/esm2020/table/table.mjs +9 -9
  182. package/esm2020/table/text-column.mjs +5 -5
  183. package/esm2020/tabs/ink-bar.mjs +4 -4
  184. package/esm2020/tabs/paginated-tab-header.mjs +34 -8
  185. package/esm2020/tabs/tab-body.mjs +11 -11
  186. package/esm2020/tabs/tab-content.mjs +4 -4
  187. package/esm2020/tabs/tab-group.mjs +35 -18
  188. package/esm2020/tabs/tab-header.mjs +8 -8
  189. package/esm2020/tabs/tab-label-wrapper.mjs +4 -4
  190. package/esm2020/tabs/tab-label.mjs +4 -4
  191. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +17 -17
  192. package/esm2020/tabs/tab.mjs +4 -4
  193. package/esm2020/tabs/tabs-module.mjs +10 -12
  194. package/esm2020/toolbar/testing/toolbar-harness.mjs +2 -2
  195. package/esm2020/toolbar/toolbar-module.mjs +5 -5
  196. package/esm2020/toolbar/toolbar.mjs +8 -8
  197. package/esm2020/tooltip/tooltip-module.mjs +5 -5
  198. package/esm2020/tooltip/tooltip.mjs +14 -14
  199. package/esm2020/tree/node.mjs +10 -10
  200. package/esm2020/tree/outlet.mjs +4 -4
  201. package/esm2020/tree/padding.mjs +4 -4
  202. package/esm2020/tree/toggle.mjs +4 -4
  203. package/esm2020/tree/tree-module.mjs +5 -5
  204. package/esm2020/tree/tree.mjs +5 -5
  205. package/expansion/index.d.ts +343 -5
  206. package/expansion/testing/index.d.ts +106 -8
  207. package/fesm2015/autocomplete/testing.mjs +6 -0
  208. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  209. package/fesm2015/autocomplete.mjs +43 -30
  210. package/fesm2015/autocomplete.mjs.map +1 -1
  211. package/fesm2015/badge.mjs +7 -7
  212. package/fesm2015/badge.mjs.map +1 -1
  213. package/fesm2015/bottom-sheet.mjs +126 -344
  214. package/fesm2015/bottom-sheet.mjs.map +1 -1
  215. package/fesm2015/button-toggle.mjs +11 -11
  216. package/fesm2015/button-toggle.mjs.map +1 -1
  217. package/fesm2015/button.mjs +12 -12
  218. package/fesm2015/button.mjs.map +1 -1
  219. package/fesm2015/card.mjs +47 -47
  220. package/fesm2015/card.mjs.map +1 -1
  221. package/fesm2015/checkbox.mjs +164 -146
  222. package/fesm2015/checkbox.mjs.map +1 -1
  223. package/fesm2015/chips.mjs +26 -27
  224. package/fesm2015/chips.mjs.map +1 -1
  225. package/fesm2015/core.mjs +99 -81
  226. package/fesm2015/core.mjs.map +1 -1
  227. package/fesm2015/datepicker/testing.mjs +3 -3
  228. package/fesm2015/datepicker/testing.mjs.map +1 -1
  229. package/fesm2015/datepicker.mjs +111 -103
  230. package/fesm2015/datepicker.mjs.map +1 -1
  231. package/fesm2015/dialog/testing.mjs +3 -3
  232. package/fesm2015/dialog/testing.mjs.map +1 -1
  233. package/fesm2015/dialog.mjs +152 -490
  234. package/fesm2015/dialog.mjs.map +1 -1
  235. package/fesm2015/divider.mjs +8 -8
  236. package/fesm2015/divider.mjs.map +1 -1
  237. package/fesm2015/expansion/testing.mjs +5 -5
  238. package/fesm2015/expansion/testing.mjs.map +1 -1
  239. package/fesm2015/expansion.mjs +28 -28
  240. package/fesm2015/expansion.mjs.map +1 -1
  241. package/fesm2015/form-field/testing.mjs +1 -1
  242. package/fesm2015/form-field/testing.mjs.map +1 -1
  243. package/fesm2015/form-field.mjs +29 -29
  244. package/fesm2015/form-field.mjs.map +1 -1
  245. package/fesm2015/grid-list/testing.mjs +2 -2
  246. package/fesm2015/grid-list/testing.mjs.map +1 -1
  247. package/fesm2015/grid-list.mjs +25 -25
  248. package/fesm2015/grid-list.mjs.map +1 -1
  249. package/fesm2015/icon/testing.mjs +9 -9
  250. package/fesm2015/icon/testing.mjs.map +1 -1
  251. package/fesm2015/icon.mjs +11 -11
  252. package/fesm2015/icon.mjs.map +1 -1
  253. package/fesm2015/input.mjs +7 -7
  254. package/fesm2015/input.mjs.map +1 -1
  255. package/fesm2015/list.mjs +32 -32
  256. package/fesm2015/list.mjs.map +1 -1
  257. package/fesm2015/menu.mjs +48 -60
  258. package/fesm2015/menu.mjs.map +1 -1
  259. package/fesm2015/paginator/testing.mjs +14 -0
  260. package/fesm2015/paginator/testing.mjs.map +1 -1
  261. package/fesm2015/paginator.mjs +19 -19
  262. package/fesm2015/paginator.mjs.map +1 -1
  263. package/fesm2015/progress-bar.mjs +11 -8
  264. package/fesm2015/progress-bar.mjs.map +1 -1
  265. package/fesm2015/progress-spinner.mjs +8 -8
  266. package/fesm2015/progress-spinner.mjs.map +1 -1
  267. package/fesm2015/radio.mjs +46 -17
  268. package/fesm2015/radio.mjs.map +1 -1
  269. package/fesm2015/select.mjs +29 -22
  270. package/fesm2015/select.mjs.map +1 -1
  271. package/fesm2015/sidenav.mjs +26 -26
  272. package/fesm2015/sidenav.mjs.map +1 -1
  273. package/fesm2015/slide-toggle/testing.mjs +2 -1
  274. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  275. package/fesm2015/slide-toggle.mjs +103 -93
  276. package/fesm2015/slide-toggle.mjs.map +1 -1
  277. package/fesm2015/slider.mjs +8 -8
  278. package/fesm2015/slider.mjs.map +1 -1
  279. package/fesm2015/snack-bar.mjs +40 -35
  280. package/fesm2015/snack-bar.mjs.map +1 -1
  281. package/fesm2015/sort.mjs +14 -14
  282. package/fesm2015/sort.mjs.map +1 -1
  283. package/fesm2015/stepper/testing.mjs +2 -2
  284. package/fesm2015/stepper/testing.mjs.map +1 -1
  285. package/fesm2015/stepper.mjs +42 -44
  286. package/fesm2015/stepper.mjs.map +1 -1
  287. package/fesm2015/table.mjs +58 -58
  288. package/fesm2015/table.mjs.map +1 -1
  289. package/fesm2015/tabs.mjs +120 -78
  290. package/fesm2015/tabs.mjs.map +1 -1
  291. package/fesm2015/toolbar/testing.mjs +1 -1
  292. package/fesm2015/toolbar/testing.mjs.map +1 -1
  293. package/fesm2015/toolbar.mjs +11 -11
  294. package/fesm2015/toolbar.mjs.map +1 -1
  295. package/fesm2015/tooltip.mjs +17 -17
  296. package/fesm2015/tooltip.mjs.map +1 -1
  297. package/fesm2015/tree.mjs +26 -26
  298. package/fesm2015/tree.mjs.map +1 -1
  299. package/fesm2020/autocomplete/testing.mjs +4 -0
  300. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  301. package/fesm2020/autocomplete.mjs +43 -30
  302. package/fesm2020/autocomplete.mjs.map +1 -1
  303. package/fesm2020/badge.mjs +7 -7
  304. package/fesm2020/badge.mjs.map +1 -1
  305. package/fesm2020/bottom-sheet.mjs +133 -343
  306. package/fesm2020/bottom-sheet.mjs.map +1 -1
  307. package/fesm2020/button-toggle.mjs +11 -11
  308. package/fesm2020/button-toggle.mjs.map +1 -1
  309. package/fesm2020/button.mjs +12 -12
  310. package/fesm2020/button.mjs.map +1 -1
  311. package/fesm2020/card.mjs +47 -47
  312. package/fesm2020/card.mjs.map +1 -1
  313. package/fesm2020/checkbox.mjs +162 -144
  314. package/fesm2020/checkbox.mjs.map +1 -1
  315. package/fesm2020/chips.mjs +26 -27
  316. package/fesm2020/chips.mjs.map +1 -1
  317. package/fesm2020/core.mjs +98 -81
  318. package/fesm2020/core.mjs.map +1 -1
  319. package/fesm2020/datepicker/testing.mjs +3 -3
  320. package/fesm2020/datepicker/testing.mjs.map +1 -1
  321. package/fesm2020/datepicker.mjs +111 -103
  322. package/fesm2020/datepicker.mjs.map +1 -1
  323. package/fesm2020/dialog/testing.mjs +3 -3
  324. package/fesm2020/dialog/testing.mjs.map +1 -1
  325. package/fesm2020/dialog.mjs +155 -489
  326. package/fesm2020/dialog.mjs.map +1 -1
  327. package/fesm2020/divider.mjs +8 -8
  328. package/fesm2020/divider.mjs.map +1 -1
  329. package/fesm2020/expansion/testing.mjs +5 -5
  330. package/fesm2020/expansion/testing.mjs.map +1 -1
  331. package/fesm2020/expansion.mjs +28 -28
  332. package/fesm2020/expansion.mjs.map +1 -1
  333. package/fesm2020/form-field/testing.mjs +1 -1
  334. package/fesm2020/form-field/testing.mjs.map +1 -1
  335. package/fesm2020/form-field.mjs +29 -29
  336. package/fesm2020/form-field.mjs.map +1 -1
  337. package/fesm2020/grid-list/testing.mjs +2 -2
  338. package/fesm2020/grid-list/testing.mjs.map +1 -1
  339. package/fesm2020/grid-list.mjs +25 -25
  340. package/fesm2020/grid-list.mjs.map +1 -1
  341. package/fesm2020/icon/testing.mjs +9 -9
  342. package/fesm2020/icon/testing.mjs.map +1 -1
  343. package/fesm2020/icon.mjs +11 -11
  344. package/fesm2020/icon.mjs.map +1 -1
  345. package/fesm2020/input.mjs +7 -7
  346. package/fesm2020/input.mjs.map +1 -1
  347. package/fesm2020/list.mjs +32 -32
  348. package/fesm2020/list.mjs.map +1 -1
  349. package/fesm2020/menu.mjs +48 -60
  350. package/fesm2020/menu.mjs.map +1 -1
  351. package/fesm2020/paginator/testing.mjs +10 -0
  352. package/fesm2020/paginator/testing.mjs.map +1 -1
  353. package/fesm2020/paginator.mjs +19 -19
  354. package/fesm2020/paginator.mjs.map +1 -1
  355. package/fesm2020/progress-bar.mjs +11 -8
  356. package/fesm2020/progress-bar.mjs.map +1 -1
  357. package/fesm2020/progress-spinner.mjs +8 -8
  358. package/fesm2020/progress-spinner.mjs.map +1 -1
  359. package/fesm2020/radio.mjs +45 -17
  360. package/fesm2020/radio.mjs.map +1 -1
  361. package/fesm2020/select.mjs +29 -22
  362. package/fesm2020/select.mjs.map +1 -1
  363. package/fesm2020/sidenav.mjs +26 -26
  364. package/fesm2020/sidenav.mjs.map +1 -1
  365. package/fesm2020/slide-toggle/testing.mjs +2 -1
  366. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  367. package/fesm2020/slide-toggle.mjs +103 -93
  368. package/fesm2020/slide-toggle.mjs.map +1 -1
  369. package/fesm2020/slider.mjs +8 -8
  370. package/fesm2020/slider.mjs.map +1 -1
  371. package/fesm2020/snack-bar.mjs +40 -35
  372. package/fesm2020/snack-bar.mjs.map +1 -1
  373. package/fesm2020/sort.mjs +14 -14
  374. package/fesm2020/sort.mjs.map +1 -1
  375. package/fesm2020/stepper/testing.mjs +2 -2
  376. package/fesm2020/stepper/testing.mjs.map +1 -1
  377. package/fesm2020/stepper.mjs +42 -44
  378. package/fesm2020/stepper.mjs.map +1 -1
  379. package/fesm2020/table.mjs +58 -58
  380. package/fesm2020/table.mjs.map +1 -1
  381. package/fesm2020/tabs.mjs +119 -78
  382. package/fesm2020/tabs.mjs.map +1 -1
  383. package/fesm2020/toolbar/testing.mjs +1 -1
  384. package/fesm2020/toolbar/testing.mjs.map +1 -1
  385. package/fesm2020/toolbar.mjs +11 -11
  386. package/fesm2020/toolbar.mjs.map +1 -1
  387. package/fesm2020/tooltip.mjs +17 -17
  388. package/fesm2020/tooltip.mjs.map +1 -1
  389. package/fesm2020/tree.mjs +26 -26
  390. package/fesm2020/tree.mjs.map +1 -1
  391. package/form-field/index.d.ts +401 -5
  392. package/form-field/testing/control/index.d.ts +8 -6
  393. package/form-field/testing/index.d.ts +127 -8
  394. package/grid-list/index.d.ts +232 -5
  395. package/grid-list/testing/index.d.ts +86 -8
  396. package/icon/index.d.ts +443 -5
  397. package/icon/testing/index.d.ts +81 -6
  398. package/index.d.ts +3 -7
  399. package/input/index.d.ts +209 -6
  400. package/input/testing/index.d.ts +129 -8
  401. package/list/index.d.ts +369 -6
  402. package/list/testing/index.d.ts +329 -6
  403. package/menu/index.d.ts +613 -6
  404. package/menu/testing/index.d.ts +115 -8
  405. package/package.json +38 -38
  406. package/paginator/index.d.ts +224 -6
  407. package/paginator/testing/index.d.ts +65 -8
  408. package/prebuilt-themes/deeppurple-amber.css +1 -1
  409. package/prebuilt-themes/indigo-pink.css +1 -1
  410. package/prebuilt-themes/pink-bluegrey.css +1 -1
  411. package/prebuilt-themes/purple-green.css +1 -1
  412. package/progress-bar/index.d.ts +147 -6
  413. package/progress-bar/testing/index.d.ts +26 -8
  414. package/progress-spinner/index.d.ts +138 -6
  415. package/progress-spinner/testing/index.d.ts +27 -8
  416. package/radio/index.d.ts +305 -6
  417. package/radio/testing/index.d.ts +130 -8
  418. package/schematics/ng-add/index.js +1 -1
  419. package/schematics/ng-add/index.mjs +1 -1
  420. package/schematics/ng-add/setup-project.js +59 -18
  421. package/schematics/ng-add/setup-project.mjs +59 -18
  422. package/schematics/ng-update/migrations/hammer-gestures-v9/gesture-config.template +1 -1
  423. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +5 -5
  424. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +5 -5
  425. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +22 -22
  426. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +22 -22
  427. package/select/index.d.ts +534 -5
  428. package/select/testing/index.d.ts +79 -8
  429. package/sidenav/index.d.ts +395 -5
  430. package/sidenav/testing/index.d.ts +124 -6
  431. package/slide-toggle/index.d.ts +186 -5
  432. package/slide-toggle/testing/index.d.ts +77 -8
  433. package/slider/index.d.ts +289 -6
  434. package/slider/testing/index.d.ts +60 -8
  435. package/snack-bar/index.d.ts +372 -6
  436. package/snack-bar/testing/index.d.ts +72 -8
  437. package/sort/index.d.ts +326 -5
  438. package/sort/testing/index.d.ts +50 -8
  439. package/stepper/index.d.ts +288 -6
  440. package/stepper/testing/index.d.ts +142 -6
  441. package/table/index.d.ts +382 -5
  442. package/table/testing/index.d.ts +178 -8
  443. package/tabs/_tabs-common.scss +6 -5
  444. package/tabs/index.d.ts +965 -5
  445. package/tabs/testing/index.d.ts +153 -8
  446. package/toolbar/index.d.ts +56 -6
  447. package/toolbar/testing/index.d.ts +35 -8
  448. package/tooltip/index.d.ts +362 -5
  449. package/tooltip/testing/index.d.ts +42 -8
  450. package/tree/index.d.ts +243 -5
  451. package/tree/testing/index.d.ts +122 -8
  452. package/autocomplete/autocomplete-module.d.ts +0 -13
  453. package/autocomplete/autocomplete-origin.d.ts +0 -27
  454. package/autocomplete/autocomplete-trigger.d.ts +0 -211
  455. package/autocomplete/autocomplete.d.ts +0 -150
  456. package/autocomplete/autocomplete_public_index.d.ts +0 -4
  457. package/autocomplete/package.json +0 -9
  458. package/autocomplete/public-api.d.ts +0 -11
  459. package/autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
  460. package/autocomplete/testing/autocomplete-harness.d.ts +0 -61
  461. package/autocomplete/testing/package.json +0 -9
  462. package/autocomplete/testing/public-api.d.ts +0 -9
  463. package/badge/badge-module.d.ts +0 -9
  464. package/badge/badge.d.ts +0 -86
  465. package/badge/badge_public_index.d.ts +0 -4
  466. package/badge/package.json +0 -9
  467. package/badge/public-api.d.ts +0 -9
  468. package/badge/testing/badge-harness-filters.d.ts +0 -11
  469. package/badge/testing/badge-harness.d.ts +0 -34
  470. package/badge/testing/package.json +0 -9
  471. package/badge/testing/public-api.d.ts +0 -9
  472. package/bottom-sheet/bottom-sheet-animations.d.ts +0 -12
  473. package/bottom-sheet/bottom-sheet-config.d.ts +0 -54
  474. package/bottom-sheet/bottom-sheet-container.d.ts +0 -87
  475. package/bottom-sheet/bottom-sheet-module.d.ts +0 -10
  476. package/bottom-sheet/bottom-sheet-ref.d.ts +0 -51
  477. package/bottom-sheet/bottom-sheet.d.ts +0 -59
  478. package/bottom-sheet/bottom-sheet_public_index.d.ts +0 -4
  479. package/bottom-sheet/package.json +0 -9
  480. package/bottom-sheet/public-api.d.ts +0 -13
  481. package/bottom-sheet/testing/bottom-sheet-harness-filters.d.ts +0 -10
  482. package/bottom-sheet/testing/bottom-sheet-harness.d.ts +0 -27
  483. package/bottom-sheet/testing/package.json +0 -9
  484. package/bottom-sheet/testing/public-api.d.ts +0 -9
  485. package/button/button-module.d.ts +0 -8
  486. package/button/button.d.ts +0 -58
  487. package/button/button_public_index.d.ts +0 -4
  488. package/button/package.json +0 -9
  489. package/button/public-api.d.ts +0 -9
  490. package/button/testing/button-harness-filters.d.ts +0 -13
  491. package/button/testing/button-harness.d.ts +0 -41
  492. package/button/testing/package.json +0 -9
  493. package/button/testing/public-api.d.ts +0 -9
  494. package/button-toggle/button-toggle-module.d.ts +0 -8
  495. package/button-toggle/button-toggle.d.ts +0 -212
  496. package/button-toggle/button-toggle_public_index.d.ts +0 -4
  497. package/button-toggle/package.json +0 -9
  498. package/button-toggle/public-api.d.ts +0 -9
  499. package/button-toggle/testing/button-toggle-group-harness-filters.d.ts +0 -11
  500. package/button-toggle/testing/button-toggle-group-harness.d.ts +0 -35
  501. package/button-toggle/testing/button-toggle-harness-filters.d.ts +0 -17
  502. package/button-toggle/testing/button-toggle-harness.d.ts +0 -56
  503. package/button-toggle/testing/package.json +0 -9
  504. package/button-toggle/testing/public-api.d.ts +0 -11
  505. package/card/card-module.d.ts +0 -8
  506. package/card/card.d.ts +0 -126
  507. package/card/card_public_index.d.ts +0 -4
  508. package/card/package.json +0 -9
  509. package/card/public-api.d.ts +0 -9
  510. package/card/testing/card-harness-filters.d.ts +0 -17
  511. package/card/testing/card-harness.d.ts +0 -36
  512. package/card/testing/package.json +0 -9
  513. package/card/testing/public-api.d.ts +0 -9
  514. package/checkbox/checkbox-config.d.ts +0 -28
  515. package/checkbox/checkbox-module.d.ts +0 -16
  516. package/checkbox/checkbox-required-validator.d.ts +0 -20
  517. package/checkbox/checkbox.d.ts +0 -166
  518. package/checkbox/checkbox_public_index.d.ts +0 -4
  519. package/checkbox/package.json +0 -9
  520. package/checkbox/public-api.d.ts +0 -11
  521. package/checkbox/testing/checkbox-harness-filters.d.ts +0 -17
  522. package/checkbox/testing/checkbox-harness.d.ts +0 -81
  523. package/checkbox/testing/package.json +0 -9
  524. package/checkbox/testing/public-api.d.ts +0 -9
  525. package/chips/chip-default-options.d.ts +0 -15
  526. package/chips/chip-input.d.ts +0 -91
  527. package/chips/chip-list.d.ts +0 -289
  528. package/chips/chip-text-control.d.ts +0 -20
  529. package/chips/chip.d.ts +0 -210
  530. package/chips/chips-module.d.ts +0 -10
  531. package/chips/chips_public_index.d.ts +0 -4
  532. package/chips/package.json +0 -9
  533. package/chips/public-api.d.ts +0 -12
  534. package/chips/testing/chip-avatar-harness.d.ts +0 -20
  535. package/chips/testing/chip-harness-filters.d.ts +0 -43
  536. package/chips/testing/chip-harness.d.ts +0 -63
  537. package/chips/testing/chip-input-harness.d.ts +0 -47
  538. package/chips/testing/chip-list-harness.d.ts +0 -54
  539. package/chips/testing/chip-listbox-harness.d.ts +0 -34
  540. package/chips/testing/chip-option-harness.d.ts +0 -29
  541. package/chips/testing/chip-remove-harness.d.ts +0 -22
  542. package/chips/testing/package.json +0 -9
  543. package/chips/testing/public-api.d.ts +0 -14
  544. package/core/animation/animation.d.ts +0 -20
  545. package/core/common-behaviors/color.d.ts +0 -26
  546. package/core/common-behaviors/common-module.d.ts +0 -44
  547. package/core/common-behaviors/constructor.d.ts +0 -14
  548. package/core/common-behaviors/disable-ripple.d.ts +0 -17
  549. package/core/common-behaviors/disabled.d.ts +0 -17
  550. package/core/common-behaviors/error-state.d.ts +0 -35
  551. package/core/common-behaviors/index.d.ts +0 -15
  552. package/core/common-behaviors/initialized.d.ts +0 -30
  553. package/core/common-behaviors/tabindex.d.ts +0 -20
  554. package/core/core_public_index.d.ts +0 -4
  555. package/core/datetime/date-adapter.d.ts +0 -215
  556. package/core/datetime/date-formats.d.ts +0 -21
  557. package/core/datetime/index.d.ts +0 -15
  558. package/core/datetime/native-date-adapter.d.ts +0 -74
  559. package/core/datetime/native-date-formats.d.ts +0 -9
  560. package/core/error/error-options.d.ts +0 -14
  561. package/core/line/line.d.ts +0 -29
  562. package/core/option/index.d.ts +0 -15
  563. package/core/option/optgroup.d.ts +0 -40
  564. package/core/option/option-parent.d.ts +0 -22
  565. package/core/option/option.d.ts +0 -135
  566. package/core/package.json +0 -9
  567. package/core/public-api.d.ts +0 -16
  568. package/core/ripple/index.d.ts +0 -11
  569. package/core/ripple/ripple-ref.d.ts +0 -54
  570. package/core/ripple/ripple-renderer.d.ts +0 -99
  571. package/core/ripple/ripple.d.ts +0 -113
  572. package/core/selection/index.d.ts +0 -9
  573. package/core/selection/pseudo-checkbox/pseudo-checkbox-module.d.ts +0 -8
  574. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +0 -29
  575. package/core/testing/optgroup-harness-filters.d.ts +0 -11
  576. package/core/testing/optgroup-harness.d.ts +0 -33
  577. package/core/testing/option-harness-filters.d.ts +0 -12
  578. package/core/testing/option-harness.d.ts +0 -35
  579. package/core/testing/package.json +0 -9
  580. package/core/testing/public-api.d.ts +0 -11
  581. package/core/version.d.ts +0 -10
  582. package/datepicker/calendar-body.d.ts +0 -176
  583. package/datepicker/calendar.d.ts +0 -156
  584. package/datepicker/date-range-input-parts.d.ts +0 -108
  585. package/datepicker/date-range-input.d.ts +0 -133
  586. package/datepicker/date-range-picker.d.ts +0 -17
  587. package/datepicker/date-range-selection-strategy.d.ts +0 -48
  588. package/datepicker/date-selection-model.d.ts +0 -139
  589. package/datepicker/datepicker-actions.d.ts +0 -40
  590. package/datepicker/datepicker-animations.d.ts +0 -16
  591. package/datepicker/datepicker-base.d.ts +0 -272
  592. package/datepicker/datepicker-errors.d.ts +0 -9
  593. package/datepicker/datepicker-input-base.d.ts +0 -136
  594. package/datepicker/datepicker-input.d.ts +0 -67
  595. package/datepicker/datepicker-intl.d.ts +0 -36
  596. package/datepicker/datepicker-module.d.ts +0 -26
  597. package/datepicker/datepicker-toggle.d.ts +0 -47
  598. package/datepicker/datepicker.d.ts +0 -7
  599. package/datepicker/datepicker_public_index.d.ts +0 -4
  600. package/datepicker/month-view.d.ts +0 -139
  601. package/datepicker/multi-year-view.d.ts +0 -103
  602. package/datepicker/package.json +0 -9
  603. package/datepicker/public-api.d.ts +0 -26
  604. package/datepicker/testing/calendar-cell-harness.d.ts +0 -64
  605. package/datepicker/testing/calendar-harness.d.ts +0 -53
  606. package/datepicker/testing/date-range-input-harness.d.ts +0 -59
  607. package/datepicker/testing/datepicker-harness-filters.d.ts +0 -45
  608. package/datepicker/testing/datepicker-input-harness-base.d.ts +0 -44
  609. package/datepicker/testing/datepicker-input-harness.d.ts +0 -36
  610. package/datepicker/testing/datepicker-toggle-harness.d.ts +0 -28
  611. package/datepicker/testing/datepicker-trigger-harness-base.d.ts +0 -44
  612. package/datepicker/testing/package.json +0 -9
  613. package/datepicker/testing/public-api.d.ts +0 -13
  614. package/datepicker/year-view.d.ts +0 -114
  615. package/dialog/dialog-animations.d.ts +0 -25
  616. package/dialog/dialog-config.d.ts +0 -100
  617. package/dialog/dialog-container.d.ts +0 -133
  618. package/dialog/dialog-content-directives.d.ts +0 -76
  619. package/dialog/dialog-module.d.ts +0 -11
  620. package/dialog/dialog-ref.d.ts +0 -101
  621. package/dialog/dialog.d.ts +0 -154
  622. package/dialog/dialog_public_index.d.ts +0 -4
  623. package/dialog/package.json +0 -9
  624. package/dialog/public-api.d.ts +0 -14
  625. package/dialog/testing/dialog-harness-filters.d.ts +0 -11
  626. package/dialog/testing/dialog-harness.d.ts +0 -58
  627. package/dialog/testing/dialog-opener.d.ts +0 -33
  628. package/dialog/testing/package.json +0 -9
  629. package/dialog/testing/public-api.d.ts +0 -10
  630. package/divider/divider-module.d.ts +0 -8
  631. package/divider/divider.d.ts +0 -14
  632. package/divider/divider_public_index.d.ts +0 -4
  633. package/divider/package.json +0 -9
  634. package/divider/public-api.d.ts +0 -9
  635. package/divider/testing/divider-harness-filters.d.ts +0 -10
  636. package/divider/testing/divider-harness.d.ts +0 -16
  637. package/divider/testing/package.json +0 -9
  638. package/divider/testing/public-api.d.ts +0 -9
  639. package/expansion/accordion-base.d.ts +0 -34
  640. package/expansion/accordion.d.ts +0 -45
  641. package/expansion/expansion-animations.d.ts +0 -36
  642. package/expansion/expansion-module.d.ts +0 -14
  643. package/expansion/expansion-panel-base.d.ts +0 -22
  644. package/expansion/expansion-panel-content.d.ts +0 -21
  645. package/expansion/expansion-panel-header.d.ts +0 -83
  646. package/expansion/expansion-panel.d.ts +0 -96
  647. package/expansion/expansion_public_index.d.ts +0 -4
  648. package/expansion/package.json +0 -9
  649. package/expansion/public-api.d.ts +0 -15
  650. package/expansion/testing/accordion-harness.d.ts +0 -25
  651. package/expansion/testing/expansion-harness-filters.d.ts +0 -17
  652. package/expansion/testing/expansion-harness.d.ts +0 -79
  653. package/expansion/testing/package.json +0 -9
  654. package/expansion/testing/public-api.d.ts +0 -10
  655. package/form-field/error.d.ts +0 -22
  656. package/form-field/form-field-animations.d.ts +0 -15
  657. package/form-field/form-field-control.d.ts +0 -60
  658. package/form-field/form-field-errors.d.ts +0 -13
  659. package/form-field/form-field-module.d.ts +0 -16
  660. package/form-field/form-field.d.ts +0 -189
  661. package/form-field/form-field_public_index.d.ts +0 -4
  662. package/form-field/hint.d.ts +0 -27
  663. package/form-field/label.d.ts +0 -6
  664. package/form-field/package.json +0 -9
  665. package/form-field/placeholder.d.ts +0 -11
  666. package/form-field/prefix.d.ts +0 -20
  667. package/form-field/public-api.d.ts +0 -18
  668. package/form-field/suffix.d.ts +0 -20
  669. package/form-field/testing/control/form-field-control-harness.d.ts +0 -14
  670. package/form-field/testing/control/package.json +0 -9
  671. package/form-field/testing/form-field-harness-filters.d.ts +0 -15
  672. package/form-field/testing/form-field-harness.d.ts +0 -114
  673. package/form-field/testing/package.json +0 -9
  674. package/form-field/testing/public-api.d.ts +0 -10
  675. package/grid-list/grid-list-base.d.ts +0 -22
  676. package/grid-list/grid-list-module.d.ts +0 -9
  677. package/grid-list/grid-list.d.ts +0 -63
  678. package/grid-list/grid-list_public_index.d.ts +0 -4
  679. package/grid-list/grid-tile.d.ts +0 -64
  680. package/grid-list/package.json +0 -9
  681. package/grid-list/public-api.d.ts +0 -12
  682. package/grid-list/testing/grid-list-harness-filters.d.ts +0 -18
  683. package/grid-list/testing/grid-list-harness.d.ts +0 -41
  684. package/grid-list/testing/grid-tile-harness.d.ts +0 -43
  685. package/grid-list/testing/package.json +0 -9
  686. package/grid-list/testing/public-api.d.ts +0 -10
  687. package/grid-list/tile-coordinator.d.ts +0 -79
  688. package/grid-list/tile-styler.d.ts +0 -134
  689. package/icon/fake-svgs.d.ts +0 -23
  690. package/icon/icon-module.d.ts +0 -8
  691. package/icon/icon-registry.d.ts +0 -262
  692. package/icon/icon.d.ts +0 -147
  693. package/icon/icon_public_index.d.ts +0 -4
  694. package/icon/package.json +0 -9
  695. package/icon/public-api.d.ts +0 -10
  696. package/icon/testing/fake-icon-registry.d.ts +0 -46
  697. package/icon/testing/icon-harness-filters.d.ts +0 -22
  698. package/icon/testing/icon-harness.d.ts +0 -29
  699. package/icon/testing/package.json +0 -9
  700. package/icon/testing/public-api.d.ts +0 -10
  701. package/icon/testing/testing_public_index.d.ts +0 -4
  702. package/icon/trusted-types.d.ts +0 -37
  703. package/input/input-errors.d.ts +0 -9
  704. package/input/input-module.d.ts +0 -10
  705. package/input/input-value-accessor.d.ts +0 -17
  706. package/input/input.d.ts +0 -174
  707. package/input/input_public_index.d.ts +0 -4
  708. package/input/package.json +0 -9
  709. package/input/public-api.d.ts +0 -11
  710. package/input/testing/input-harness-filters.d.ts +0 -15
  711. package/input/testing/input-harness.d.ts +0 -57
  712. package/input/testing/native-option-harness.d.ts +0 -29
  713. package/input/testing/native-select-harness-filters.d.ts +0 -17
  714. package/input/testing/native-select-harness.d.ts +0 -45
  715. package/input/testing/package.json +0 -9
  716. package/input/testing/public-api.d.ts +0 -12
  717. package/list/list-module.d.ts +0 -11
  718. package/list/list.d.ts +0 -99
  719. package/list/list_public_index.d.ts +0 -4
  720. package/list/package.json +0 -9
  721. package/list/public-api.d.ts +0 -10
  722. package/list/selection-list.d.ts +0 -226
  723. package/list/testing/action-list-harness.d.ts +0 -44
  724. package/list/testing/list-harness-base.d.ts +0 -100
  725. package/list/testing/list-harness-filters.d.ts +0 -32
  726. package/list/testing/list-harness.d.ts +0 -36
  727. package/list/testing/list-item-harness-base.d.ts +0 -48
  728. package/list/testing/nav-list-harness.d.ts +0 -46
  729. package/list/testing/package.json +0 -9
  730. package/list/testing/public-api.d.ts +0 -13
  731. package/list/testing/selection-list-harness.d.ts +0 -74
  732. package/menu/menu-animations.d.ts +0 -30
  733. package/menu/menu-content.d.ts +0 -47
  734. package/menu/menu-errors.d.ts +0 -25
  735. package/menu/menu-item.d.ts +0 -61
  736. package/menu/menu-module.d.ts +0 -14
  737. package/menu/menu-panel.d.ts +0 -49
  738. package/menu/menu-positions.d.ts +0 -9
  739. package/menu/menu-trigger.d.ts +0 -180
  740. package/menu/menu.d.ts +0 -207
  741. package/menu/menu_public_index.d.ts +0 -4
  742. package/menu/package.json +0 -9
  743. package/menu/public-api.d.ts +0 -15
  744. package/menu/testing/menu-harness-filters.d.ts +0 -20
  745. package/menu/testing/menu-harness.d.ts +0 -98
  746. package/menu/testing/package.json +0 -9
  747. package/menu/testing/public-api.d.ts +0 -9
  748. package/paginator/package.json +0 -9
  749. package/paginator/paginator-intl.d.ts +0 -43
  750. package/paginator/paginator-module.d.ts +0 -12
  751. package/paginator/paginator.d.ts +0 -157
  752. package/paginator/paginator_public_index.d.ts +0 -4
  753. package/paginator/public-api.d.ts +0 -10
  754. package/paginator/testing/package.json +0 -9
  755. package/paginator/testing/paginator-harness-filters.d.ts +0 -11
  756. package/paginator/testing/paginator-harness.d.ts +0 -58
  757. package/paginator/testing/public-api.d.ts +0 -9
  758. package/progress-bar/package.json +0 -9
  759. package/progress-bar/progress-bar-module.d.ts +0 -9
  760. package/progress-bar/progress-bar.d.ts +0 -116
  761. package/progress-bar/progress-bar_public_index.d.ts +0 -4
  762. package/progress-bar/public-api.d.ts +0 -9
  763. package/progress-bar/testing/package.json +0 -9
  764. package/progress-bar/testing/progress-bar-harness-filters.d.ts +0 -11
  765. package/progress-bar/testing/progress-bar-harness.d.ts +0 -25
  766. package/progress-bar/testing/public-api.d.ts +0 -9
  767. package/progress-spinner/package.json +0 -9
  768. package/progress-spinner/progress-spinner-module.d.ts +0 -9
  769. package/progress-spinner/progress-spinner.d.ts +0 -107
  770. package/progress-spinner/progress-spinner_public_index.d.ts +0 -4
  771. package/progress-spinner/public-api.d.ts +0 -16
  772. package/progress-spinner/testing/package.json +0 -9
  773. package/progress-spinner/testing/progress-spinner-harness-filters.d.ts +0 -11
  774. package/progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
  775. package/progress-spinner/testing/public-api.d.ts +0 -9
  776. package/radio/package.json +0 -9
  777. package/radio/public-api.d.ts +0 -9
  778. package/radio/radio-module.d.ts +0 -8
  779. package/radio/radio.d.ts +0 -260
  780. package/radio/radio_public_index.d.ts +0 -4
  781. package/radio/testing/package.json +0 -9
  782. package/radio/testing/public-api.d.ts +0 -9
  783. package/radio/testing/radio-harness-filters.d.ts +0 -22
  784. package/radio/testing/radio-harness.d.ts +0 -111
  785. package/select/package.json +0 -9
  786. package/select/public-api.d.ts +0 -10
  787. package/select/select-animations.d.ts +0 -19
  788. package/select/select-errors.d.ts +0 -26
  789. package/select/select-module.d.ts +0 -12
  790. package/select/select.d.ts +0 -452
  791. package/select/select_public_index.d.ts +0 -4
  792. package/select/testing/package.json +0 -9
  793. package/select/testing/public-api.d.ts +0 -9
  794. package/select/testing/select-harness-filters.d.ts +0 -11
  795. package/select/testing/select-harness.d.ts +0 -73
  796. package/sidenav/drawer-animations.d.ts +0 -15
  797. package/sidenav/drawer.d.ts +0 -299
  798. package/sidenav/package.json +0 -9
  799. package/sidenav/public-api.d.ts +0 -11
  800. package/sidenav/sidenav-module.d.ts +0 -11
  801. package/sidenav/sidenav.d.ts +0 -45
  802. package/sidenav/sidenav_public_index.d.ts +0 -4
  803. package/sidenav/testing/drawer-container-harness.d.ts +0 -30
  804. package/sidenav/testing/drawer-content-harness.d.ts +0 -21
  805. package/sidenav/testing/drawer-harness-filters.d.ts +0 -19
  806. package/sidenav/testing/drawer-harness.d.ts +0 -33
  807. package/sidenav/testing/package.json +0 -9
  808. package/sidenav/testing/public-api.d.ts +0 -14
  809. package/sidenav/testing/sidenav-container-harness.d.ts +0 -30
  810. package/sidenav/testing/sidenav-content-harness.d.ts +0 -21
  811. package/sidenav/testing/sidenav-harness.d.ts +0 -24
  812. package/slide-toggle/package.json +0 -9
  813. package/slide-toggle/public-api.d.ts +0 -11
  814. package/slide-toggle/slide-toggle-config.d.ts +0 -18
  815. package/slide-toggle/slide-toggle-module.d.ts +0 -16
  816. package/slide-toggle/slide-toggle-required-validator.d.ts +0 -23
  817. package/slide-toggle/slide-toggle.d.ts +0 -109
  818. package/slide-toggle/slide-toggle_public_index.d.ts +0 -4
  819. package/slide-toggle/testing/package.json +0 -9
  820. package/slide-toggle/testing/public-api.d.ts +0 -9
  821. package/slide-toggle/testing/slide-toggle-harness-filters.d.ts +0 -17
  822. package/slide-toggle/testing/slide-toggle-harness.d.ts +0 -65
  823. package/slider/package.json +0 -9
  824. package/slider/public-api.d.ts +0 -9
  825. package/slider/slider-module.d.ts +0 -9
  826. package/slider/slider.d.ts +0 -267
  827. package/slider/slider_public_index.d.ts +0 -4
  828. package/slider/testing/package.json +0 -9
  829. package/slider/testing/public-api.d.ts +0 -9
  830. package/slider/testing/slider-harness-filters.d.ts +0 -11
  831. package/slider/testing/slider-harness.d.ts +0 -59
  832. package/snack-bar/package.json +0 -9
  833. package/snack-bar/public-api.d.ts +0 -14
  834. package/snack-bar/simple-snack-bar.d.ts +0 -33
  835. package/snack-bar/snack-bar-animations.d.ts +0 -15
  836. package/snack-bar/snack-bar-config.d.ts +0 -45
  837. package/snack-bar/snack-bar-container.d.ts +0 -101
  838. package/snack-bar/snack-bar-module.d.ts +0 -13
  839. package/snack-bar/snack-bar-ref.d.ts +0 -64
  840. package/snack-bar/snack-bar.d.ts +0 -107
  841. package/snack-bar/snack-bar_public_index.d.ts +0 -4
  842. package/snack-bar/testing/package.json +0 -9
  843. package/snack-bar/testing/public-api.d.ts +0 -9
  844. package/snack-bar/testing/snack-bar-harness-filters.d.ts +0 -11
  845. package/snack-bar/testing/snack-bar-harness.d.ts +0 -71
  846. package/sort/package.json +0 -9
  847. package/sort/public-api.d.ts +0 -13
  848. package/sort/sort-animations.d.ts +0 -20
  849. package/sort/sort-direction.d.ts +0 -8
  850. package/sort/sort-errors.d.ts +0 -15
  851. package/sort/sort-header-intl.d.ts +0 -31
  852. package/sort/sort-header.d.ts +0 -166
  853. package/sort/sort-module.d.ts +0 -10
  854. package/sort/sort.d.ts +0 -93
  855. package/sort/sort_public_index.d.ts +0 -4
  856. package/sort/testing/package.json +0 -9
  857. package/sort/testing/public-api.d.ts +0 -10
  858. package/sort/testing/sort-harness-filters.d.ts +0 -15
  859. package/sort/testing/sort-harness.d.ts +0 -24
  860. package/sort/testing/sort-header-harness.d.ts +0 -30
  861. package/stepper/package.json +0 -9
  862. package/stepper/public-api.d.ts +0 -17
  863. package/stepper/step-content.d.ts +0 -18
  864. package/stepper/step-header.d.ts +0 -66
  865. package/stepper/step-label.d.ts +0 -6
  866. package/stepper/stepper-animations.d.ts +0 -18
  867. package/stepper/stepper-button.d.ts +0 -19
  868. package/stepper/stepper-icon.d.ts +0 -30
  869. package/stepper/stepper-intl.d.ts +0 -34
  870. package/stepper/stepper-module.d.ts +0 -18
  871. package/stepper/stepper.d.ts +0 -80
  872. package/stepper/stepper_public_index.d.ts +0 -4
  873. package/stepper/testing/package.json +0 -9
  874. package/stepper/testing/public-api.d.ts +0 -11
  875. package/stepper/testing/step-harness-filters.d.ts +0 -37
  876. package/stepper/testing/step-harness.d.ts +0 -52
  877. package/stepper/testing/stepper-button-harnesses.d.ts +0 -41
  878. package/stepper/testing/stepper-harness.d.ts +0 -35
  879. package/table/cell.d.ts +0 -59
  880. package/table/package.json +0 -9
  881. package/table/public-api.d.ts +0 -13
  882. package/table/row.d.ts +0 -55
  883. package/table/table-data-source.d.ts +0 -169
  884. package/table/table-module.d.ts +0 -12
  885. package/table/table.d.ts +0 -28
  886. package/table/table_public_index.d.ts +0 -4
  887. package/table/testing/cell-harness.d.ts +0 -49
  888. package/table/testing/package.json +0 -9
  889. package/table/testing/public-api.d.ts +0 -11
  890. package/table/testing/row-harness.d.ts +0 -66
  891. package/table/testing/table-harness-filters.d.ts +0 -21
  892. package/table/testing/table-harness.d.ts +0 -58
  893. package/table/text-column.d.ts +0 -22
  894. package/tabs/ink-bar.d.ts +0 -49
  895. package/tabs/package.json +0 -9
  896. package/tabs/paginated-tab-header.d.ts +0 -196
  897. package/tabs/public-api.d.ts +0 -20
  898. package/tabs/tab-body.d.ts +0 -116
  899. package/tabs/tab-config.d.ts +0 -35
  900. package/tabs/tab-content.d.ts +0 -22
  901. package/tabs/tab-group.d.ts +0 -181
  902. package/tabs/tab-header.d.ts +0 -49
  903. package/tabs/tab-label-wrapper.d.ts +0 -29
  904. package/tabs/tab-label.d.ts +0 -28
  905. package/tabs/tab-nav-bar/index.d.ts +0 -8
  906. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -134
  907. package/tabs/tab.d.ts +0 -89
  908. package/tabs/tabs-animations.d.ts +0 -15
  909. package/tabs/tabs-module.d.ts +0 -20
  910. package/tabs/tabs_public_index.d.ts +0 -4
  911. package/tabs/testing/package.json +0 -9
  912. package/tabs/testing/public-api.d.ts +0 -12
  913. package/tabs/testing/tab-group-harness.d.ts +0 -35
  914. package/tabs/testing/tab-harness-filters.d.ts +0 -29
  915. package/tabs/testing/tab-harness.d.ts +0 -38
  916. package/tabs/testing/tab-link-harness.d.ts +0 -29
  917. package/tabs/testing/tab-nav-bar-harness.d.ts +0 -38
  918. package/tabs/testing/tab-nav-panel-harness.d.ts +0 -23
  919. package/toolbar/package.json +0 -9
  920. package/toolbar/public-api.d.ts +0 -9
  921. package/toolbar/testing/package.json +0 -9
  922. package/toolbar/testing/public-api.d.ts +0 -9
  923. package/toolbar/testing/toolbar-harness-filters.d.ts +0 -13
  924. package/toolbar/testing/toolbar-harness.d.ts +0 -31
  925. package/toolbar/toolbar-module.d.ts +0 -8
  926. package/toolbar/toolbar.d.ts +0 -41
  927. package/toolbar/toolbar_public_index.d.ts +0 -4
  928. package/tooltip/package.json +0 -9
  929. package/tooltip/public-api.d.ts +0 -10
  930. package/tooltip/testing/package.json +0 -9
  931. package/tooltip/testing/public-api.d.ts +0 -9
  932. package/tooltip/testing/tooltip-harness-filters.d.ts +0 -11
  933. package/tooltip/testing/tooltip-harness.d.ts +0 -38
  934. package/tooltip/tooltip-animations.d.ts +0 -15
  935. package/tooltip/tooltip-module.d.ts +0 -12
  936. package/tooltip/tooltip.d.ts +0 -299
  937. package/tooltip/tooltip_public_index.d.ts +0 -4
  938. package/tree/data-source/flat-data-source.d.ts +0 -83
  939. package/tree/data-source/nested-data-source.d.ts +0 -25
  940. package/tree/node.d.ts +0 -53
  941. package/tree/outlet.d.ts +0 -21
  942. package/tree/package.json +0 -9
  943. package/tree/padding.d.ts +0 -23
  944. package/tree/public-api.d.ts +0 -15
  945. package/tree/testing/node-harness.d.ts +0 -35
  946. package/tree/testing/package.json +0 -9
  947. package/tree/testing/public-api.d.ts +0 -10
  948. package/tree/testing/tree-harness-filters.d.ts +0 -22
  949. package/tree/testing/tree-harness.d.ts +0 -79
  950. package/tree/toggle.d.ts +0 -16
  951. package/tree/tree-module.d.ts +0 -13
  952. package/tree/tree.d.ts +0 -18
  953. package/tree/tree_public_index.d.ts +0 -4
@@ -1,44 +0,0 @@
1
- /**
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
7
- */
8
- import { ComponentHarness, LocatorFactory, TestElement } from '@angular/cdk/testing';
9
- import { CalendarHarnessFilters } from './datepicker-harness-filters';
10
- import { MatCalendarHarness } from './calendar-harness';
11
- /** Interface for a test harness that can open and close a calendar. */
12
- export interface DatepickerTrigger {
13
- isCalendarOpen(): Promise<boolean>;
14
- openCalendar(): Promise<void>;
15
- closeCalendar(): Promise<void>;
16
- hasCalendar(): Promise<boolean>;
17
- getCalendar(filter?: CalendarHarnessFilters): Promise<MatCalendarHarness>;
18
- }
19
- /** Base class for harnesses that can trigger a calendar. */
20
- export declare abstract class DatepickerTriggerHarnessBase extends ComponentHarness implements DatepickerTrigger {
21
- /** Whether the trigger is disabled. */
22
- abstract isDisabled(): Promise<boolean>;
23
- /** Whether the calendar associated with the trigger is open. */
24
- abstract isCalendarOpen(): Promise<boolean>;
25
- /** Opens the calendar associated with the trigger. */
26
- protected abstract _openCalendar(): Promise<void>;
27
- /** Opens the calendar if the trigger is enabled and it has a calendar. */
28
- openCalendar(): Promise<void>;
29
- /** Closes the calendar if it is open. */
30
- closeCalendar(): Promise<void>;
31
- /** Gets whether there is a calendar associated with the trigger. */
32
- hasCalendar(): Promise<boolean>;
33
- /**
34
- * Gets the `MatCalendarHarness` that is associated with the trigger.
35
- * @param filter Optionally filters which calendar is included.
36
- */
37
- getCalendar(filter?: CalendarHarnessFilters): Promise<MatCalendarHarness>;
38
- }
39
- /** Gets the ID of the calendar that a particular test element can trigger. */
40
- export declare function getCalendarId(host: Promise<TestElement>): Promise<string | null>;
41
- /** Closes the calendar with a specific ID. */
42
- export declare function closeCalendar(calendarId: Promise<string | null>, documentLocator: LocatorFactory): Promise<void>;
43
- /** Gets the test harness for a calendar associated with a particular host. */
44
- export declare function getCalendar(filter: CalendarHarnessFilters, host: Promise<TestElement>, documentLocator: LocatorFactory): Promise<MatCalendarHarness>;
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@angular/material/datepicker/testing",
3
- "fesm2020": "../../fesm2020/datepicker/testing.mjs",
4
- "fesm2015": "../../fesm2015/datepicker/testing.mjs",
5
- "esm2020": "../../esm2020/datepicker/testing/index.mjs",
6
- "typings": "./index.d.ts",
7
- "module": "../../fesm2015/datepicker/testing.mjs",
8
- "es2020": "../../fesm2020/datepicker/testing.mjs"
9
- }
@@ -1,13 +0,0 @@
1
- /**
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
7
- */
8
- export * from './datepicker-harness-filters';
9
- export * from './datepicker-input-harness';
10
- export * from './datepicker-toggle-harness';
11
- export * from './date-range-input-harness';
12
- export * from './calendar-harness';
13
- export * from './calendar-cell-harness';
@@ -1,114 +0,0 @@
1
- import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
2
- import { DateAdapter, MatDateFormats } from '@angular/material/core';
3
- import { Directionality } from '@angular/cdk/bidi';
4
- import { MatCalendarBody, MatCalendarCell, MatCalendarUserEvent, MatCalendarCellClassFunction } from './calendar-body';
5
- import { DateRange } from './date-selection-model';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * An internal component used to display a single year in the datepicker.
9
- * @docs-private
10
- */
11
- export declare class MatYearView<D> implements AfterContentInit, OnDestroy {
12
- readonly _changeDetectorRef: ChangeDetectorRef;
13
- private _dateFormats;
14
- _dateAdapter: DateAdapter<D>;
15
- private _dir?;
16
- private _rerenderSubscription;
17
- /** Flag used to filter out space/enter keyup events that originated outside of the view. */
18
- private _selectionKeyPressed;
19
- /** The date to display in this year view (everything other than the year is ignored). */
20
- get activeDate(): D;
21
- set activeDate(value: D);
22
- private _activeDate;
23
- /** The currently selected date. */
24
- get selected(): DateRange<D> | D | null;
25
- set selected(value: DateRange<D> | D | null);
26
- private _selected;
27
- /** The minimum selectable date. */
28
- get minDate(): D | null;
29
- set minDate(value: D | null);
30
- private _minDate;
31
- /** The maximum selectable date. */
32
- get maxDate(): D | null;
33
- set maxDate(value: D | null);
34
- private _maxDate;
35
- /** A function used to filter which dates are selectable. */
36
- dateFilter: (date: D) => boolean;
37
- /** Function that can be used to add custom CSS classes to date cells. */
38
- dateClass: MatCalendarCellClassFunction<D>;
39
- /** Emits when a new month is selected. */
40
- readonly selectedChange: EventEmitter<D>;
41
- /** Emits the selected month. This doesn't imply a change on the selected date */
42
- readonly monthSelected: EventEmitter<D>;
43
- /** Emits when any date is activated. */
44
- readonly activeDateChange: EventEmitter<D>;
45
- /** The body of calendar table */
46
- _matCalendarBody: MatCalendarBody;
47
- /** Grid of calendar cells representing the months of the year. */
48
- _months: MatCalendarCell[][];
49
- /** The label for this year (e.g. "2017"). */
50
- _yearLabel: string;
51
- /** The month in this year that today falls on. Null if today is in a different year. */
52
- _todayMonth: number | null;
53
- /**
54
- * The month in this year that the selected Date falls on.
55
- * Null if the selected Date is in a different year.
56
- */
57
- _selectedMonth: number | null;
58
- constructor(_changeDetectorRef: ChangeDetectorRef, _dateFormats: MatDateFormats, _dateAdapter: DateAdapter<D>, _dir?: Directionality | undefined);
59
- ngAfterContentInit(): void;
60
- ngOnDestroy(): void;
61
- /** Handles when a new month is selected. */
62
- _monthSelected(event: MatCalendarUserEvent<number>): void;
63
- /**
64
- * Takes the index of a calendar body cell wrapped in in an event as argument. For the date that
65
- * corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
66
- * that date.
67
- *
68
- * This fucntion is used to match each component's model of the active date with the calendar
69
- * body cell that was focused. It updates its value of `activeDate` synchronously and updates the
70
- * parent's value asynchonously via the `activeDateChange` event. The child component receives an
71
- * updated value asynchronously via the `activeCell` Input.
72
- */
73
- _updateActiveDate(event: MatCalendarUserEvent<number>): void;
74
- /** Handles keydown events on the calendar body when calendar is in year view. */
75
- _handleCalendarBodyKeydown(event: KeyboardEvent): void;
76
- /** Handles keyup events on the calendar body when calendar is in year view. */
77
- _handleCalendarBodyKeyup(event: KeyboardEvent): void;
78
- /** Initializes this year view. */
79
- _init(): void;
80
- /** Focuses the active cell after the microtask queue is empty. */
81
- _focusActiveCell(): void;
82
- /** Schedules the matCalendarBody to focus the active cell after change detection has run */
83
- _focusActiveCellAfterViewChecked(): void;
84
- /**
85
- * Gets the month in this year that the given Date falls on.
86
- * Returns null if the given Date is in another year.
87
- */
88
- private _getMonthInCurrentYear;
89
- /**
90
- * Takes a month and returns a new date in the same day and year as the currently active date.
91
- * The returned date will have the same month as the argument date.
92
- */
93
- private _getDateFromMonth;
94
- /** Creates an MatCalendarCell for the given month. */
95
- private _createCellForMonth;
96
- /** Whether the given month is enabled. */
97
- private _shouldEnableMonth;
98
- /**
99
- * Tests whether the combination month/year is after this.maxDate, considering
100
- * just the month and year of this.maxDate
101
- */
102
- private _isYearAndMonthAfterMaxDate;
103
- /**
104
- * Tests whether the combination month/year is before this.minDate, considering
105
- * just the month and year of this.minDate
106
- */
107
- private _isYearAndMonthBeforeMinDate;
108
- /** Determines whether the user has the RTL layout direction. */
109
- private _isRtl;
110
- /** Sets the currently-selected month based on a model value. */
111
- private _setSelectedMonth;
112
- static ɵfac: i0.ɵɵFactoryDeclaration<MatYearView<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
113
- 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>;
114
- }
@@ -1,25 +0,0 @@
1
- /**
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
7
- */
8
- import { AnimationTriggerMetadata } from '@angular/animations';
9
- /**
10
- * Default parameters for the animation for backwards compatibility.
11
- * @docs-private
12
- */
13
- export declare const defaultParams: {
14
- params: {
15
- enterAnimationDuration: string;
16
- exitAnimationDuration: string;
17
- };
18
- };
19
- /**
20
- * Animations used by MatDialog.
21
- * @docs-private
22
- */
23
- export declare const matDialogAnimations: {
24
- readonly dialogContainer: AnimationTriggerMetadata;
25
- };
@@ -1,100 +0,0 @@
1
- /**
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
7
- */
8
- import { ViewContainerRef, ComponentFactoryResolver } from '@angular/core';
9
- import { Direction } from '@angular/cdk/bidi';
10
- import { ScrollStrategy } from '@angular/cdk/overlay';
11
- /** Options for where to set focus to automatically on dialog open */
12
- export declare type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
13
- /** Valid ARIA roles for a dialog element. */
14
- export declare type DialogRole = 'dialog' | 'alertdialog';
15
- /** Possible overrides for a dialog's position. */
16
- export interface DialogPosition {
17
- /** Override for the dialog's top position. */
18
- top?: string;
19
- /** Override for the dialog's bottom position. */
20
- bottom?: string;
21
- /** Override for the dialog's left position. */
22
- left?: string;
23
- /** Override for the dialog's right position. */
24
- right?: string;
25
- }
26
- /**
27
- * Configuration for opening a modal dialog with the MatDialog service.
28
- */
29
- export declare class MatDialogConfig<D = any> {
30
- /**
31
- * Where the attached component should live in Angular's *logical* component tree.
32
- * This affects what is available for injection and the change detection order for the
33
- * component instantiated inside of the dialog. This does not affect where the dialog
34
- * content will be rendered.
35
- */
36
- viewContainerRef?: ViewContainerRef;
37
- /** ID for the dialog. If omitted, a unique one will be generated. */
38
- id?: string;
39
- /** The ARIA role of the dialog element. */
40
- role?: DialogRole;
41
- /** Custom class for the overlay pane. */
42
- panelClass?: string | string[];
43
- /** Whether the dialog has a backdrop. */
44
- hasBackdrop?: boolean;
45
- /** Custom class for the backdrop. */
46
- backdropClass?: string | string[];
47
- /** Whether the user can use escape or clicking on the backdrop to close the modal. */
48
- disableClose?: boolean;
49
- /** Width of the dialog. */
50
- width?: string;
51
- /** Height of the dialog. */
52
- height?: string;
53
- /** Min-width of the dialog. If a number is provided, assumes pixel units. */
54
- minWidth?: number | string;
55
- /** Min-height of the dialog. If a number is provided, assumes pixel units. */
56
- minHeight?: number | string;
57
- /** Max-width of the dialog. If a number is provided, assumes pixel units. Defaults to 80vw. */
58
- maxWidth?: number | string;
59
- /** Max-height of the dialog. If a number is provided, assumes pixel units. */
60
- maxHeight?: number | string;
61
- /** Position overrides. */
62
- position?: DialogPosition;
63
- /** Data being injected into the child component. */
64
- data?: D | null;
65
- /** Layout direction for the dialog's content. */
66
- direction?: Direction;
67
- /** ID of the element that describes the dialog. */
68
- ariaDescribedBy?: string | null;
69
- /** ID of the element that labels the dialog. */
70
- ariaLabelledBy?: string | null;
71
- /** Aria label to assign to the dialog element. */
72
- ariaLabel?: string | null;
73
- /**
74
- * Where the dialog should focus on open.
75
- * @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or
76
- * AutoFocusTarget instead.
77
- */
78
- autoFocus?: AutoFocusTarget | string | boolean;
79
- /**
80
- * Whether the dialog should restore focus to the
81
- * previously-focused element, after it's closed.
82
- */
83
- restoreFocus?: boolean;
84
- /** Whether to wait for the opening animation to finish before trapping focus. */
85
- delayFocusTrap?: boolean;
86
- /** Scroll strategy to be used for the dialog. */
87
- scrollStrategy?: ScrollStrategy;
88
- /**
89
- * Whether the dialog should close when the user goes backwards/forwards in history.
90
- * Note that this usually doesn't include clicking on links (unless the user is using
91
- * the `HashLocationStrategy`).
92
- */
93
- closeOnNavigation?: boolean;
94
- /** Alternate `ComponentFactoryResolver` to use when resolving the associated component. */
95
- componentFactoryResolver?: ComponentFactoryResolver;
96
- /** Duration of the enter animation. Has to be a valid CSS value (e.g. 100ms). */
97
- enterAnimationDuration?: string;
98
- /** Duration of the exit animation. Has to be a valid CSS value (e.g. 50ms). */
99
- exitAnimationDuration?: string;
100
- }
@@ -1,133 +0,0 @@
1
- /**
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
7
- */
8
- import { AnimationEvent } from '@angular/animations';
9
- import { FocusMonitor, FocusOrigin, FocusTrapFactory, InteractivityChecker } from '@angular/cdk/a11y';
10
- import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, DomPortal, TemplatePortal } from '@angular/cdk/portal';
11
- import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, NgZone } from '@angular/core';
12
- import { MatDialogConfig } from './dialog-config';
13
- import * as i0 from "@angular/core";
14
- /** Event that captures the state of dialog container animations. */
15
- interface DialogAnimationEvent {
16
- state: 'opened' | 'opening' | 'closing' | 'closed';
17
- totalTime: number;
18
- }
19
- /**
20
- * Throws an exception for the case when a ComponentPortal is
21
- * attached to a DomPortalOutlet without an origin.
22
- * @docs-private
23
- */
24
- export declare function throwMatDialogContentAlreadyAttachedError(): void;
25
- /**
26
- * Base class for the `MatDialogContainer`. The base class does not implement
27
- * animations as these are left to implementers of the dialog container.
28
- */
29
- export declare abstract class _MatDialogContainerBase extends BasePortalOutlet {
30
- protected _elementRef: ElementRef;
31
- protected _focusTrapFactory: FocusTrapFactory;
32
- protected _changeDetectorRef: ChangeDetectorRef;
33
- /** The dialog configuration. */
34
- _config: MatDialogConfig;
35
- private readonly _interactivityChecker;
36
- private readonly _ngZone;
37
- private _focusMonitor?;
38
- protected _document: Document;
39
- /** The portal outlet inside of this container into which the dialog content will be loaded. */
40
- _portalOutlet: CdkPortalOutlet;
41
- /** The class that traps and manages focus within the dialog. */
42
- private _focusTrap;
43
- /** Emits when an animation state changes. */
44
- _animationStateChanged: EventEmitter<DialogAnimationEvent>;
45
- /** Element that was focused before the dialog was opened. Save this to restore upon close. */
46
- private _elementFocusedBeforeDialogWasOpened;
47
- /**
48
- * Type of interaction that led to the dialog being closed. This is used to determine
49
- * whether the focus style will be applied when returning focus to its original location
50
- * after the dialog is closed.
51
- */
52
- _closeInteractionType: FocusOrigin | null;
53
- /** ID of the element that should be considered as the dialog's label. */
54
- _ariaLabelledBy: string | null;
55
- /** ID for the container DOM element. */
56
- _id: string;
57
- constructor(_elementRef: ElementRef, _focusTrapFactory: FocusTrapFactory, _changeDetectorRef: ChangeDetectorRef, _document: any,
58
- /** The dialog configuration. */
59
- _config: MatDialogConfig, _interactivityChecker: InteractivityChecker, _ngZone: NgZone, _focusMonitor?: FocusMonitor | undefined);
60
- /** Starts the dialog exit animation. */
61
- abstract _startExitAnimation(): void;
62
- /** Initializes the dialog container with the attached content. */
63
- _initializeWithAttachedContent(): void;
64
- /**
65
- * Attach a ComponentPortal as content to this dialog container.
66
- * @param portal Portal to be attached as the dialog content.
67
- */
68
- attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
69
- /**
70
- * Attach a TemplatePortal as content to this dialog container.
71
- * @param portal Portal to be attached as the dialog content.
72
- */
73
- attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
74
- /**
75
- * Attaches a DOM portal to the dialog container.
76
- * @param portal Portal to be attached.
77
- * @deprecated To be turned into a method.
78
- * @breaking-change 10.0.0
79
- */
80
- attachDomPortal: (portal: DomPortal) => void;
81
- /** Moves focus back into the dialog if it was moved out. */
82
- _recaptureFocus(): void;
83
- /**
84
- * Focuses the provided element. If the element is not focusable, it will add a tabIndex
85
- * attribute to forcefully focus it. The attribute is removed after focus is moved.
86
- * @param element The element to focus.
87
- */
88
- private _forceFocus;
89
- /**
90
- * Focuses the first element that matches the given selector within the focus trap.
91
- * @param selector The CSS selector for the element to set focus to.
92
- */
93
- private _focusByCssSelector;
94
- /**
95
- * Moves the focus inside the focus trap. When autoFocus is not set to 'dialog', if focus
96
- * cannot be moved then focus will go to the dialog container.
97
- */
98
- protected _trapFocus(): void;
99
- /** Restores focus to the element that was focused before the dialog opened. */
100
- protected _restoreFocus(): void;
101
- /** Focuses the dialog container. */
102
- private _focusDialogContainer;
103
- /** Returns whether focus is inside the dialog. */
104
- private _containsFocus;
105
- static ɵfac: i0.ɵɵFactoryDeclaration<_MatDialogContainerBase, [null, null, null, { optional: true; }, null, null, null, null]>;
106
- static ɵdir: i0.ɵɵDirectiveDeclaration<_MatDialogContainerBase, never, never, {}, {}, never>;
107
- }
108
- /**
109
- * Internal component that wraps user-provided dialog content.
110
- * Animation is based on https://material.io/guidelines/motion/choreography.html.
111
- * @docs-private
112
- */
113
- export declare class MatDialogContainer extends _MatDialogContainerBase {
114
- /** State of the dialog animation. */
115
- _state: 'void' | 'enter' | 'exit';
116
- /** Callback, invoked whenever an animation on the host completes. */
117
- _onAnimationDone({ toState, totalTime }: AnimationEvent): void;
118
- /** Callback, invoked when an animation on the host starts. */
119
- _onAnimationStart({ toState, totalTime }: AnimationEvent): void;
120
- /** Starts the dialog exit animation. */
121
- _startExitAnimation(): void;
122
- _initializeWithAttachedContent(): void;
123
- _getAnimationState(): {
124
- value: "enter" | "void" | "exit";
125
- params: {
126
- enterAnimationDuration: string;
127
- exitAnimationDuration: string;
128
- };
129
- };
130
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, never>;
131
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDialogContainer, "mat-dialog-container", never, {}, {}, never, never>;
132
- }
133
- export {};
@@ -1,76 +0,0 @@
1
- /**
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
7
- */
8
- import { OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core';
9
- import { MatDialog } from './dialog';
10
- import { MatDialogRef } from './dialog-ref';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * Button that will close the current dialog.
14
- */
15
- export declare class MatDialogClose implements OnInit, OnChanges {
16
- /**
17
- * Reference to the containing dialog.
18
- * @deprecated `dialogRef` property to become private.
19
- * @breaking-change 13.0.0
20
- */
21
- dialogRef: MatDialogRef<any>;
22
- private _elementRef;
23
- private _dialog;
24
- /** Screenreader label for the button. */
25
- ariaLabel: string;
26
- /** Default to "button" to prevents accidental form submits. */
27
- type: 'submit' | 'button' | 'reset';
28
- /** Dialog close input. */
29
- dialogResult: any;
30
- _matDialogClose: any;
31
- constructor(
32
- /**
33
- * Reference to the containing dialog.
34
- * @deprecated `dialogRef` property to become private.
35
- * @breaking-change 13.0.0
36
- */
37
- dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
38
- ngOnInit(): void;
39
- ngOnChanges(changes: SimpleChanges): void;
40
- _onButtonClick(event: MouseEvent): void;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, [{ optional: true; }, null, null]>;
42
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogClose, "[mat-dialog-close], [matDialogClose]", ["matDialogClose"], { "ariaLabel": "aria-label"; "type": "type"; "dialogResult": "mat-dialog-close"; "_matDialogClose": "matDialogClose"; }, {}, never>;
43
- }
44
- /**
45
- * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.
46
- */
47
- export declare class MatDialogTitle implements OnInit {
48
- private _dialogRef;
49
- private _elementRef;
50
- private _dialog;
51
- /** Unique id for the dialog title. If none is supplied, it will be auto-generated. */
52
- id: string;
53
- constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
54
- ngOnInit(): void;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogTitle, [{ optional: true; }, null, null]>;
56
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogTitle, "[mat-dialog-title], [matDialogTitle]", ["matDialogTitle"], { "id": "id"; }, {}, never>;
57
- }
58
- /**
59
- * Scrollable content container of a dialog.
60
- */
61
- export declare class MatDialogContent {
62
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContent, never>;
63
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogContent, "[mat-dialog-content], mat-dialog-content, [matDialogContent]", never, {}, {}, never>;
64
- }
65
- /**
66
- * Container for the bottom action buttons in a dialog.
67
- * Stays fixed to the bottom when scrolling.
68
- */
69
- export declare class MatDialogActions {
70
- /**
71
- * Horizontal alignment of action buttons.
72
- */
73
- align?: 'start' | 'center' | 'end';
74
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogActions, never>;
75
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogActions, "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", never, { "align": "align"; }, {}, never>;
76
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./dialog-container";
3
- import * as i2 from "./dialog-content-directives";
4
- import * as i3 from "@angular/cdk/overlay";
5
- import * as i4 from "@angular/cdk/portal";
6
- import * as i5 from "@angular/material/core";
7
- export declare class MatDialogModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatDialogModule, [typeof i1.MatDialogContainer, typeof i2.MatDialogClose, typeof i2.MatDialogTitle, typeof i2.MatDialogActions, typeof i2.MatDialogContent], [typeof i3.OverlayModule, typeof i4.PortalModule, typeof i5.MatCommonModule], [typeof i1.MatDialogContainer, typeof i2.MatDialogClose, typeof i2.MatDialogTitle, typeof i2.MatDialogContent, typeof i2.MatDialogActions, typeof i5.MatCommonModule]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<MatDialogModule>;
11
- }
@@ -1,101 +0,0 @@
1
- /**
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
7
- */
8
- import { FocusOrigin } from '@angular/cdk/a11y';
9
- import { OverlayRef } from '@angular/cdk/overlay';
10
- import { Observable } from 'rxjs';
11
- import { DialogPosition } from './dialog-config';
12
- import { _MatDialogContainerBase } from './dialog-container';
13
- /** Possible states of the lifecycle of a dialog. */
14
- export declare const enum MatDialogState {
15
- OPEN = 0,
16
- CLOSING = 1,
17
- CLOSED = 2
18
- }
19
- /**
20
- * Reference to a dialog opened via the MatDialog service.
21
- */
22
- export declare class MatDialogRef<T, R = any> {
23
- private _overlayRef;
24
- _containerInstance: _MatDialogContainerBase;
25
- /** Id of the dialog. */
26
- readonly id: string;
27
- /** The instance of component opened into the dialog. */
28
- componentInstance: T;
29
- /** Whether the user is allowed to close the dialog. */
30
- disableClose: boolean | undefined;
31
- /** Subject for notifying the user that the dialog has finished opening. */
32
- private readonly _afterOpened;
33
- /** Subject for notifying the user that the dialog has finished closing. */
34
- private readonly _afterClosed;
35
- /** Subject for notifying the user that the dialog has started closing. */
36
- private readonly _beforeClosed;
37
- /** Result to be passed to afterClosed. */
38
- private _result;
39
- /** Handle to the timeout that's running as a fallback in case the exit animation doesn't fire. */
40
- private _closeFallbackTimeout;
41
- /** Current state of the dialog. */
42
- private _state;
43
- constructor(_overlayRef: OverlayRef, _containerInstance: _MatDialogContainerBase,
44
- /** Id of the dialog. */
45
- id?: string);
46
- /**
47
- * Close the dialog.
48
- * @param dialogResult Optional result to return to the dialog opener.
49
- */
50
- close(dialogResult?: R): void;
51
- /**
52
- * Gets an observable that is notified when the dialog is finished opening.
53
- */
54
- afterOpened(): Observable<void>;
55
- /**
56
- * Gets an observable that is notified when the dialog is finished closing.
57
- */
58
- afterClosed(): Observable<R | undefined>;
59
- /**
60
- * Gets an observable that is notified when the dialog has started closing.
61
- */
62
- beforeClosed(): Observable<R | undefined>;
63
- /**
64
- * Gets an observable that emits when the overlay's backdrop has been clicked.
65
- */
66
- backdropClick(): Observable<MouseEvent>;
67
- /**
68
- * Gets an observable that emits when keydown events are targeted on the overlay.
69
- */
70
- keydownEvents(): Observable<KeyboardEvent>;
71
- /**
72
- * Updates the dialog's position.
73
- * @param position New dialog position.
74
- */
75
- updatePosition(position?: DialogPosition): this;
76
- /**
77
- * Updates the dialog's width and height.
78
- * @param width New width of the dialog.
79
- * @param height New height of the dialog.
80
- */
81
- updateSize(width?: string, height?: string): this;
82
- /** Add a CSS class or an array of classes to the overlay pane. */
83
- addPanelClass(classes: string | string[]): this;
84
- /** Remove a CSS class or an array of classes from the overlay pane. */
85
- removePanelClass(classes: string | string[]): this;
86
- /** Gets the current state of the dialog's lifecycle. */
87
- getState(): MatDialogState;
88
- /**
89
- * Finishes the dialog close by updating the state of the dialog
90
- * and disposing the overlay.
91
- */
92
- private _finishDialogClose;
93
- /** Fetches the position strategy object from the overlay ref. */
94
- private _getPositionStrategy;
95
- }
96
- /**
97
- * Closes the dialog with the specified interaction type. This is currently not part of
98
- * `MatDialogRef` as that would conflict with custom dialog ref mocks provided in tests.
99
- * More details. See: https://github.com/angular/components/pull/9257#issuecomment-651342226.
100
- */
101
- export declare function _closeDialogVia<R>(ref: MatDialogRef<R>, interactionType: FocusOrigin, result?: R): void;