@angular/material 14.0.0-next.9 → 14.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (935) 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/style/_private.scss +5 -14
  19. package/core/testing/index.d.ts +64 -8
  20. package/core/theming/_theming.scss +2 -2
  21. package/datepicker/index.d.ts +1782 -6
  22. package/datepicker/testing/index.d.ts +307 -8
  23. package/dialog/index.d.ts +489 -6
  24. package/dialog/testing/index.d.ts +97 -8
  25. package/divider/index.d.ts +30 -8
  26. package/divider/testing/index.d.ts +16 -8
  27. package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
  28. package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
  29. package/esm2020/autocomplete/autocomplete-trigger.mjs +13 -8
  30. package/esm2020/autocomplete/autocomplete.mjs +8 -8
  31. package/esm2020/autocomplete/testing/autocomplete-harness.mjs +5 -1
  32. package/esm2020/badge/badge-module.mjs +5 -5
  33. package/esm2020/badge/badge.mjs +4 -4
  34. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +4 -4
  35. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
  36. package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
  37. package/esm2020/button/button-module.mjs +5 -5
  38. package/esm2020/button/button.mjs +9 -9
  39. package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
  40. package/esm2020/button-toggle/button-toggle.mjs +8 -8
  41. package/esm2020/card/card-module.mjs +5 -5
  42. package/esm2020/card/card.mjs +44 -44
  43. package/esm2020/checkbox/checkbox-module.mjs +9 -9
  44. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  45. package/esm2020/checkbox/checkbox.mjs +21 -20
  46. package/esm2020/chips/chip-input.mjs +4 -4
  47. package/esm2020/chips/chip-list.mjs +5 -5
  48. package/esm2020/chips/chip.mjs +15 -16
  49. package/esm2020/chips/chips-module.mjs +6 -6
  50. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  51. package/esm2020/core/datetime/index.mjs +9 -9
  52. package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
  53. package/esm2020/core/error/error-options.mjs +7 -7
  54. package/esm2020/core/line/line.mjs +8 -8
  55. package/esm2020/core/option/index.mjs +5 -5
  56. package/esm2020/core/option/optgroup.mjs +7 -7
  57. package/esm2020/core/option/option.mjs +10 -10
  58. package/esm2020/core/ripple/index.mjs +5 -5
  59. package/esm2020/core/ripple/ripple-ref.mjs +2 -2
  60. package/esm2020/core/ripple/ripple-renderer.mjs +10 -10
  61. package/esm2020/core/ripple/ripple.mjs +4 -4
  62. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  63. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  64. package/esm2020/core/version.mjs +1 -1
  65. package/esm2020/datepicker/calendar-body.mjs +5 -5
  66. package/esm2020/datepicker/calendar.mjs +25 -14
  67. package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
  68. package/esm2020/datepicker/date-range-input.mjs +6 -6
  69. package/esm2020/datepicker/date-range-picker.mjs +4 -4
  70. package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
  71. package/esm2020/datepicker/date-selection-model.mjs +10 -10
  72. package/esm2020/datepicker/datepicker-actions.mjs +10 -10
  73. package/esm2020/datepicker/datepicker-base.mjs +10 -10
  74. package/esm2020/datepicker/datepicker-input-base.mjs +6 -7
  75. package/esm2020/datepicker/datepicker-input.mjs +4 -4
  76. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  77. package/esm2020/datepicker/datepicker-module.mjs +10 -12
  78. package/esm2020/datepicker/datepicker-toggle.mjs +9 -9
  79. package/esm2020/datepicker/datepicker.mjs +4 -4
  80. package/esm2020/datepicker/month-view.mjs +6 -6
  81. package/esm2020/datepicker/multi-year-view.mjs +4 -4
  82. package/esm2020/datepicker/testing/calendar-harness.mjs +4 -4
  83. package/esm2020/datepicker/year-view.mjs +4 -4
  84. package/esm2020/dialog/dialog-container.mjs +41 -219
  85. package/esm2020/dialog/dialog-content-directives.mjs +14 -14
  86. package/esm2020/dialog/dialog-module.mjs +8 -7
  87. package/esm2020/dialog/dialog-ref.mjs +28 -60
  88. package/esm2020/dialog/dialog.mjs +74 -197
  89. package/esm2020/dialog/testing/dialog-harness.mjs +4 -4
  90. package/esm2020/divider/divider-module.mjs +5 -5
  91. package/esm2020/divider/divider.mjs +4 -4
  92. package/esm2020/expansion/accordion.mjs +4 -4
  93. package/esm2020/expansion/expansion-module.mjs +5 -5
  94. package/esm2020/expansion/expansion-panel-content.mjs +4 -4
  95. package/esm2020/expansion/expansion-panel-header.mjs +10 -10
  96. package/esm2020/expansion/expansion-panel.mjs +9 -9
  97. package/esm2020/expansion/testing/expansion-harness.mjs +6 -6
  98. package/esm2020/form-field/error.mjs +4 -4
  99. package/esm2020/form-field/form-field-control.mjs +4 -4
  100. package/esm2020/form-field/form-field-module.mjs +5 -5
  101. package/esm2020/form-field/form-field.mjs +5 -5
  102. package/esm2020/form-field/hint.mjs +4 -4
  103. package/esm2020/form-field/label.mjs +4 -4
  104. package/esm2020/form-field/placeholder.mjs +4 -4
  105. package/esm2020/form-field/prefix.mjs +4 -4
  106. package/esm2020/form-field/suffix.mjs +4 -4
  107. package/esm2020/grid-list/grid-list-module.mjs +5 -5
  108. package/esm2020/grid-list/grid-list.mjs +4 -4
  109. package/esm2020/grid-list/grid-tile.mjs +16 -16
  110. package/esm2020/grid-list/testing/grid-tile-harness.mjs +3 -3
  111. package/esm2020/icon/icon-module.mjs +5 -5
  112. package/esm2020/icon/icon-registry.mjs +4 -4
  113. package/esm2020/icon/icon.mjs +4 -4
  114. package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
  115. package/esm2020/icon/testing/icon-harness.mjs +3 -3
  116. package/esm2020/input/input-module.mjs +5 -5
  117. package/esm2020/input/input.mjs +4 -4
  118. package/esm2020/list/list-module.mjs +5 -5
  119. package/esm2020/list/list.mjs +21 -21
  120. package/esm2020/list/selection-list.mjs +9 -9
  121. package/esm2020/menu/menu-content.mjs +7 -7
  122. package/esm2020/menu/menu-item.mjs +6 -6
  123. package/esm2020/menu/menu-module.mjs +5 -5
  124. package/esm2020/menu/menu-trigger.mjs +7 -7
  125. package/esm2020/menu/menu.mjs +28 -40
  126. package/esm2020/paginator/paginator-intl.mjs +4 -4
  127. package/esm2020/paginator/paginator-module.mjs +5 -5
  128. package/esm2020/paginator/paginator.mjs +12 -12
  129. package/esm2020/paginator/testing/paginator-harness.mjs +11 -1
  130. package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
  131. package/esm2020/progress-bar/progress-bar.mjs +8 -5
  132. package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
  133. package/esm2020/progress-spinner/progress-spinner.mjs +5 -5
  134. package/esm2020/radio/radio-module.mjs +5 -5
  135. package/esm2020/radio/radio.mjs +14 -14
  136. package/esm2020/select/select-module.mjs +5 -5
  137. package/esm2020/select/select.mjs +25 -18
  138. package/esm2020/sidenav/drawer.mjs +11 -11
  139. package/esm2020/sidenav/sidenav-module.mjs +5 -5
  140. package/esm2020/sidenav/sidenav.mjs +11 -11
  141. package/esm2020/slide-toggle/slide-toggle-module.mjs +12 -14
  142. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  143. package/esm2020/slide-toggle/slide-toggle.mjs +5 -5
  144. package/esm2020/slide-toggle/testing/slide-toggle-harness-filters.mjs +1 -1
  145. package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +3 -2
  146. package/esm2020/slider/slider-module.mjs +5 -5
  147. package/esm2020/slider/slider.mjs +5 -5
  148. package/esm2020/snack-bar/simple-snack-bar.mjs +6 -6
  149. package/esm2020/snack-bar/snack-bar-container.mjs +4 -4
  150. package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
  151. package/esm2020/snack-bar/snack-bar-ref.mjs +2 -3
  152. package/esm2020/snack-bar/snack-bar.mjs +7 -7
  153. package/esm2020/sort/sort-header-intl.mjs +4 -4
  154. package/esm2020/sort/sort-header.mjs +4 -4
  155. package/esm2020/sort/sort-module.mjs +5 -5
  156. package/esm2020/sort/sort.mjs +4 -4
  157. package/esm2020/stepper/step-content.mjs +4 -4
  158. package/esm2020/stepper/step-header.mjs +8 -8
  159. package/esm2020/stepper/step-label.mjs +4 -4
  160. package/esm2020/stepper/stepper-button.mjs +7 -7
  161. package/esm2020/stepper/stepper-icon.mjs +4 -4
  162. package/esm2020/stepper/stepper-intl.mjs +4 -4
  163. package/esm2020/stepper/stepper-module.mjs +11 -13
  164. package/esm2020/stepper/stepper.mjs +10 -10
  165. package/esm2020/stepper/testing/stepper-harness.mjs +3 -3
  166. package/esm2020/table/cell.mjs +22 -22
  167. package/esm2020/table/row.mjs +22 -22
  168. package/esm2020/table/table-data-source.mjs +1 -1
  169. package/esm2020/table/table-module.mjs +5 -5
  170. package/esm2020/table/table.mjs +8 -8
  171. package/esm2020/table/text-column.mjs +5 -5
  172. package/esm2020/tabs/ink-bar.mjs +4 -4
  173. package/esm2020/tabs/paginated-tab-header.mjs +11 -5
  174. package/esm2020/tabs/tab-body.mjs +10 -10
  175. package/esm2020/tabs/tab-content.mjs +4 -4
  176. package/esm2020/tabs/tab-group.mjs +16 -16
  177. package/esm2020/tabs/tab-header.mjs +8 -8
  178. package/esm2020/tabs/tab-label-wrapper.mjs +4 -4
  179. package/esm2020/tabs/tab-label.mjs +4 -4
  180. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +17 -17
  181. package/esm2020/tabs/tab.mjs +4 -4
  182. package/esm2020/tabs/tabs-module.mjs +10 -12
  183. package/esm2020/toolbar/testing/toolbar-harness.mjs +2 -2
  184. package/esm2020/toolbar/toolbar-module.mjs +5 -5
  185. package/esm2020/toolbar/toolbar.mjs +7 -7
  186. package/esm2020/tooltip/tooltip-module.mjs +5 -5
  187. package/esm2020/tooltip/tooltip.mjs +13 -13
  188. package/esm2020/tree/node.mjs +10 -10
  189. package/esm2020/tree/outlet.mjs +4 -4
  190. package/esm2020/tree/padding.mjs +4 -4
  191. package/esm2020/tree/toggle.mjs +4 -4
  192. package/esm2020/tree/tree-module.mjs +5 -5
  193. package/esm2020/tree/tree.mjs +4 -4
  194. package/expansion/index.d.ts +343 -5
  195. package/expansion/testing/index.d.ts +106 -8
  196. package/fesm2015/autocomplete/testing.mjs +6 -0
  197. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  198. package/fesm2015/autocomplete.mjs +29 -24
  199. package/fesm2015/autocomplete.mjs.map +1 -1
  200. package/fesm2015/badge.mjs +7 -7
  201. package/fesm2015/badge.mjs.map +1 -1
  202. package/fesm2015/bottom-sheet.mjs +10 -10
  203. package/fesm2015/bottom-sheet.mjs.map +1 -1
  204. package/fesm2015/button-toggle.mjs +11 -11
  205. package/fesm2015/button-toggle.mjs.map +1 -1
  206. package/fesm2015/button.mjs +12 -12
  207. package/fesm2015/button.mjs.map +1 -1
  208. package/fesm2015/card.mjs +47 -47
  209. package/fesm2015/card.mjs.map +1 -1
  210. package/fesm2015/checkbox.mjs +31 -30
  211. package/fesm2015/checkbox.mjs.map +1 -1
  212. package/fesm2015/chips.mjs +26 -27
  213. package/fesm2015/chips.mjs.map +1 -1
  214. package/fesm2015/core.mjs +71 -71
  215. package/fesm2015/core.mjs.map +1 -1
  216. package/fesm2015/datepicker/testing.mjs +3 -3
  217. package/fesm2015/datepicker/testing.mjs.map +1 -1
  218. package/fesm2015/datepicker.mjs +106 -98
  219. package/fesm2015/datepicker.mjs.map +1 -1
  220. package/fesm2015/dialog/testing.mjs +3 -3
  221. package/fesm2015/dialog/testing.mjs.map +1 -1
  222. package/fesm2015/dialog.mjs +151 -490
  223. package/fesm2015/dialog.mjs.map +1 -1
  224. package/fesm2015/divider.mjs +7 -7
  225. package/fesm2015/divider.mjs.map +1 -1
  226. package/fesm2015/expansion/testing.mjs +5 -5
  227. package/fesm2015/expansion/testing.mjs.map +1 -1
  228. package/fesm2015/expansion.mjs +27 -27
  229. package/fesm2015/expansion.mjs.map +1 -1
  230. package/fesm2015/form-field.mjs +29 -29
  231. package/fesm2015/form-field.mjs.map +1 -1
  232. package/fesm2015/grid-list/testing.mjs +2 -2
  233. package/fesm2015/grid-list/testing.mjs.map +1 -1
  234. package/fesm2015/grid-list.mjs +22 -22
  235. package/fesm2015/grid-list.mjs.map +1 -1
  236. package/fesm2015/icon/testing.mjs +9 -9
  237. package/fesm2015/icon/testing.mjs.map +1 -1
  238. package/fesm2015/icon.mjs +10 -10
  239. package/fesm2015/icon.mjs.map +1 -1
  240. package/fesm2015/input.mjs +7 -7
  241. package/fesm2015/input.mjs.map +1 -1
  242. package/fesm2015/list.mjs +32 -32
  243. package/fesm2015/list.mjs.map +1 -1
  244. package/fesm2015/menu.mjs +48 -60
  245. package/fesm2015/menu.mjs.map +1 -1
  246. package/fesm2015/paginator/testing.mjs +14 -0
  247. package/fesm2015/paginator/testing.mjs.map +1 -1
  248. package/fesm2015/paginator.mjs +18 -18
  249. package/fesm2015/paginator.mjs.map +1 -1
  250. package/fesm2015/progress-bar.mjs +11 -8
  251. package/fesm2015/progress-bar.mjs.map +1 -1
  252. package/fesm2015/progress-spinner.mjs +8 -8
  253. package/fesm2015/progress-spinner.mjs.map +1 -1
  254. package/fesm2015/radio.mjs +17 -17
  255. package/fesm2015/radio.mjs.map +1 -1
  256. package/fesm2015/select.mjs +29 -22
  257. package/fesm2015/select.mjs.map +1 -1
  258. package/fesm2015/sidenav.mjs +24 -24
  259. package/fesm2015/sidenav.mjs.map +1 -1
  260. package/fesm2015/slide-toggle/testing.mjs +2 -1
  261. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  262. package/fesm2015/slide-toggle.mjs +18 -20
  263. package/fesm2015/slide-toggle.mjs.map +1 -1
  264. package/fesm2015/slider.mjs +8 -8
  265. package/fesm2015/slider.mjs.map +1 -1
  266. package/fesm2015/snack-bar.mjs +19 -20
  267. package/fesm2015/snack-bar.mjs.map +1 -1
  268. package/fesm2015/sort.mjs +13 -13
  269. package/fesm2015/sort.mjs.map +1 -1
  270. package/fesm2015/stepper/testing.mjs +2 -2
  271. package/fesm2015/stepper/testing.mjs.map +1 -1
  272. package/fesm2015/stepper.mjs +41 -43
  273. package/fesm2015/stepper.mjs.map +1 -1
  274. package/fesm2015/table.mjs +57 -57
  275. package/fesm2015/table.mjs.map +1 -1
  276. package/fesm2015/tabs.mjs +76 -72
  277. package/fesm2015/tabs.mjs.map +1 -1
  278. package/fesm2015/toolbar/testing.mjs +1 -1
  279. package/fesm2015/toolbar/testing.mjs.map +1 -1
  280. package/fesm2015/toolbar.mjs +10 -10
  281. package/fesm2015/toolbar.mjs.map +1 -1
  282. package/fesm2015/tooltip.mjs +16 -16
  283. package/fesm2015/tooltip.mjs.map +1 -1
  284. package/fesm2015/tree.mjs +25 -25
  285. package/fesm2015/tree.mjs.map +1 -1
  286. package/fesm2020/autocomplete/testing.mjs +4 -0
  287. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  288. package/fesm2020/autocomplete.mjs +29 -24
  289. package/fesm2020/autocomplete.mjs.map +1 -1
  290. package/fesm2020/badge.mjs +7 -7
  291. package/fesm2020/badge.mjs.map +1 -1
  292. package/fesm2020/bottom-sheet.mjs +10 -10
  293. package/fesm2020/bottom-sheet.mjs.map +1 -1
  294. package/fesm2020/button-toggle.mjs +11 -11
  295. package/fesm2020/button-toggle.mjs.map +1 -1
  296. package/fesm2020/button.mjs +12 -12
  297. package/fesm2020/button.mjs.map +1 -1
  298. package/fesm2020/card.mjs +47 -47
  299. package/fesm2020/card.mjs.map +1 -1
  300. package/fesm2020/checkbox.mjs +31 -30
  301. package/fesm2020/checkbox.mjs.map +1 -1
  302. package/fesm2020/chips.mjs +26 -27
  303. package/fesm2020/chips.mjs.map +1 -1
  304. package/fesm2020/core.mjs +71 -71
  305. package/fesm2020/core.mjs.map +1 -1
  306. package/fesm2020/datepicker/testing.mjs +3 -3
  307. package/fesm2020/datepicker/testing.mjs.map +1 -1
  308. package/fesm2020/datepicker.mjs +106 -98
  309. package/fesm2020/datepicker.mjs.map +1 -1
  310. package/fesm2020/dialog/testing.mjs +3 -3
  311. package/fesm2020/dialog/testing.mjs.map +1 -1
  312. package/fesm2020/dialog.mjs +154 -488
  313. package/fesm2020/dialog.mjs.map +1 -1
  314. package/fesm2020/divider.mjs +7 -7
  315. package/fesm2020/divider.mjs.map +1 -1
  316. package/fesm2020/expansion/testing.mjs +5 -5
  317. package/fesm2020/expansion/testing.mjs.map +1 -1
  318. package/fesm2020/expansion.mjs +27 -27
  319. package/fesm2020/expansion.mjs.map +1 -1
  320. package/fesm2020/form-field.mjs +29 -29
  321. package/fesm2020/form-field.mjs.map +1 -1
  322. package/fesm2020/grid-list/testing.mjs +2 -2
  323. package/fesm2020/grid-list/testing.mjs.map +1 -1
  324. package/fesm2020/grid-list.mjs +22 -22
  325. package/fesm2020/grid-list.mjs.map +1 -1
  326. package/fesm2020/icon/testing.mjs +9 -9
  327. package/fesm2020/icon/testing.mjs.map +1 -1
  328. package/fesm2020/icon.mjs +10 -10
  329. package/fesm2020/icon.mjs.map +1 -1
  330. package/fesm2020/input.mjs +7 -7
  331. package/fesm2020/input.mjs.map +1 -1
  332. package/fesm2020/list.mjs +32 -32
  333. package/fesm2020/list.mjs.map +1 -1
  334. package/fesm2020/menu.mjs +48 -60
  335. package/fesm2020/menu.mjs.map +1 -1
  336. package/fesm2020/paginator/testing.mjs +10 -0
  337. package/fesm2020/paginator/testing.mjs.map +1 -1
  338. package/fesm2020/paginator.mjs +18 -18
  339. package/fesm2020/paginator.mjs.map +1 -1
  340. package/fesm2020/progress-bar.mjs +11 -8
  341. package/fesm2020/progress-bar.mjs.map +1 -1
  342. package/fesm2020/progress-spinner.mjs +8 -8
  343. package/fesm2020/progress-spinner.mjs.map +1 -1
  344. package/fesm2020/radio.mjs +17 -17
  345. package/fesm2020/radio.mjs.map +1 -1
  346. package/fesm2020/select.mjs +29 -22
  347. package/fesm2020/select.mjs.map +1 -1
  348. package/fesm2020/sidenav.mjs +24 -24
  349. package/fesm2020/sidenav.mjs.map +1 -1
  350. package/fesm2020/slide-toggle/testing.mjs +2 -1
  351. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  352. package/fesm2020/slide-toggle.mjs +18 -20
  353. package/fesm2020/slide-toggle.mjs.map +1 -1
  354. package/fesm2020/slider.mjs +8 -8
  355. package/fesm2020/slider.mjs.map +1 -1
  356. package/fesm2020/snack-bar.mjs +19 -20
  357. package/fesm2020/snack-bar.mjs.map +1 -1
  358. package/fesm2020/sort.mjs +13 -13
  359. package/fesm2020/sort.mjs.map +1 -1
  360. package/fesm2020/stepper/testing.mjs +2 -2
  361. package/fesm2020/stepper/testing.mjs.map +1 -1
  362. package/fesm2020/stepper.mjs +41 -43
  363. package/fesm2020/stepper.mjs.map +1 -1
  364. package/fesm2020/table.mjs +57 -57
  365. package/fesm2020/table.mjs.map +1 -1
  366. package/fesm2020/tabs.mjs +76 -72
  367. package/fesm2020/tabs.mjs.map +1 -1
  368. package/fesm2020/toolbar/testing.mjs +1 -1
  369. package/fesm2020/toolbar/testing.mjs.map +1 -1
  370. package/fesm2020/toolbar.mjs +10 -10
  371. package/fesm2020/toolbar.mjs.map +1 -1
  372. package/fesm2020/tooltip.mjs +16 -16
  373. package/fesm2020/tooltip.mjs.map +1 -1
  374. package/fesm2020/tree.mjs +25 -25
  375. package/fesm2020/tree.mjs.map +1 -1
  376. package/form-field/index.d.ts +401 -5
  377. package/form-field/testing/control/index.d.ts +8 -6
  378. package/form-field/testing/index.d.ts +127 -8
  379. package/grid-list/index.d.ts +232 -5
  380. package/grid-list/testing/index.d.ts +86 -8
  381. package/icon/index.d.ts +443 -5
  382. package/icon/testing/index.d.ts +81 -6
  383. package/index.d.ts +3 -7
  384. package/input/index.d.ts +209 -6
  385. package/input/testing/index.d.ts +129 -8
  386. package/list/index.d.ts +369 -6
  387. package/list/testing/index.d.ts +329 -6
  388. package/menu/index.d.ts +613 -6
  389. package/menu/testing/index.d.ts +115 -8
  390. package/package.json +38 -38
  391. package/paginator/index.d.ts +224 -6
  392. package/paginator/testing/index.d.ts +65 -8
  393. package/prebuilt-themes/deeppurple-amber.css +1 -1
  394. package/prebuilt-themes/indigo-pink.css +1 -1
  395. package/prebuilt-themes/pink-bluegrey.css +1 -1
  396. package/prebuilt-themes/purple-green.css +1 -1
  397. package/progress-bar/index.d.ts +147 -6
  398. package/progress-bar/testing/index.d.ts +26 -8
  399. package/progress-spinner/index.d.ts +138 -6
  400. package/progress-spinner/testing/index.d.ts +27 -8
  401. package/radio/index.d.ts +305 -6
  402. package/radio/testing/index.d.ts +130 -8
  403. package/schematics/ng-add/index.js +1 -1
  404. package/schematics/ng-add/index.mjs +1 -1
  405. package/schematics/ng-update/migrations/hammer-gestures-v9/gesture-config.template +1 -1
  406. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +5 -5
  407. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +5 -5
  408. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +22 -22
  409. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +22 -22
  410. package/select/index.d.ts +534 -5
  411. package/select/testing/index.d.ts +79 -8
  412. package/sidenav/index.d.ts +395 -5
  413. package/sidenav/testing/index.d.ts +124 -6
  414. package/slide-toggle/index.d.ts +173 -5
  415. package/slide-toggle/testing/index.d.ts +77 -8
  416. package/slider/index.d.ts +289 -6
  417. package/slider/testing/index.d.ts +60 -8
  418. package/snack-bar/index.d.ts +372 -6
  419. package/snack-bar/testing/index.d.ts +72 -8
  420. package/sort/index.d.ts +326 -5
  421. package/sort/testing/index.d.ts +50 -8
  422. package/stepper/index.d.ts +288 -6
  423. package/stepper/testing/index.d.ts +142 -6
  424. package/table/index.d.ts +382 -5
  425. package/table/testing/index.d.ts +178 -8
  426. package/tabs/index.d.ts +963 -5
  427. package/tabs/testing/index.d.ts +153 -8
  428. package/toolbar/index.d.ts +56 -6
  429. package/toolbar/testing/index.d.ts +35 -8
  430. package/tooltip/index.d.ts +362 -5
  431. package/tooltip/testing/index.d.ts +42 -8
  432. package/tree/index.d.ts +243 -5
  433. package/tree/testing/index.d.ts +122 -8
  434. package/autocomplete/autocomplete-module.d.ts +0 -13
  435. package/autocomplete/autocomplete-origin.d.ts +0 -27
  436. package/autocomplete/autocomplete-trigger.d.ts +0 -211
  437. package/autocomplete/autocomplete.d.ts +0 -150
  438. package/autocomplete/autocomplete_public_index.d.ts +0 -4
  439. package/autocomplete/package.json +0 -9
  440. package/autocomplete/public-api.d.ts +0 -11
  441. package/autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
  442. package/autocomplete/testing/autocomplete-harness.d.ts +0 -61
  443. package/autocomplete/testing/package.json +0 -9
  444. package/autocomplete/testing/public-api.d.ts +0 -9
  445. package/badge/badge-module.d.ts +0 -9
  446. package/badge/badge.d.ts +0 -86
  447. package/badge/badge_public_index.d.ts +0 -4
  448. package/badge/package.json +0 -9
  449. package/badge/public-api.d.ts +0 -9
  450. package/badge/testing/badge-harness-filters.d.ts +0 -11
  451. package/badge/testing/badge-harness.d.ts +0 -34
  452. package/badge/testing/package.json +0 -9
  453. package/badge/testing/public-api.d.ts +0 -9
  454. package/bottom-sheet/bottom-sheet-animations.d.ts +0 -12
  455. package/bottom-sheet/bottom-sheet-config.d.ts +0 -54
  456. package/bottom-sheet/bottom-sheet-container.d.ts +0 -87
  457. package/bottom-sheet/bottom-sheet-module.d.ts +0 -10
  458. package/bottom-sheet/bottom-sheet-ref.d.ts +0 -51
  459. package/bottom-sheet/bottom-sheet.d.ts +0 -59
  460. package/bottom-sheet/bottom-sheet_public_index.d.ts +0 -4
  461. package/bottom-sheet/package.json +0 -9
  462. package/bottom-sheet/public-api.d.ts +0 -13
  463. package/bottom-sheet/testing/bottom-sheet-harness-filters.d.ts +0 -10
  464. package/bottom-sheet/testing/bottom-sheet-harness.d.ts +0 -27
  465. package/bottom-sheet/testing/package.json +0 -9
  466. package/bottom-sheet/testing/public-api.d.ts +0 -9
  467. package/button/button-module.d.ts +0 -8
  468. package/button/button.d.ts +0 -58
  469. package/button/button_public_index.d.ts +0 -4
  470. package/button/package.json +0 -9
  471. package/button/public-api.d.ts +0 -9
  472. package/button/testing/button-harness-filters.d.ts +0 -13
  473. package/button/testing/button-harness.d.ts +0 -41
  474. package/button/testing/package.json +0 -9
  475. package/button/testing/public-api.d.ts +0 -9
  476. package/button-toggle/button-toggle-module.d.ts +0 -8
  477. package/button-toggle/button-toggle.d.ts +0 -212
  478. package/button-toggle/button-toggle_public_index.d.ts +0 -4
  479. package/button-toggle/package.json +0 -9
  480. package/button-toggle/public-api.d.ts +0 -9
  481. package/button-toggle/testing/button-toggle-group-harness-filters.d.ts +0 -11
  482. package/button-toggle/testing/button-toggle-group-harness.d.ts +0 -35
  483. package/button-toggle/testing/button-toggle-harness-filters.d.ts +0 -17
  484. package/button-toggle/testing/button-toggle-harness.d.ts +0 -56
  485. package/button-toggle/testing/package.json +0 -9
  486. package/button-toggle/testing/public-api.d.ts +0 -11
  487. package/card/card-module.d.ts +0 -8
  488. package/card/card.d.ts +0 -126
  489. package/card/card_public_index.d.ts +0 -4
  490. package/card/package.json +0 -9
  491. package/card/public-api.d.ts +0 -9
  492. package/card/testing/card-harness-filters.d.ts +0 -17
  493. package/card/testing/card-harness.d.ts +0 -36
  494. package/card/testing/package.json +0 -9
  495. package/card/testing/public-api.d.ts +0 -9
  496. package/checkbox/checkbox-config.d.ts +0 -28
  497. package/checkbox/checkbox-module.d.ts +0 -16
  498. package/checkbox/checkbox-required-validator.d.ts +0 -20
  499. package/checkbox/checkbox.d.ts +0 -166
  500. package/checkbox/checkbox_public_index.d.ts +0 -4
  501. package/checkbox/package.json +0 -9
  502. package/checkbox/public-api.d.ts +0 -11
  503. package/checkbox/testing/checkbox-harness-filters.d.ts +0 -17
  504. package/checkbox/testing/checkbox-harness.d.ts +0 -81
  505. package/checkbox/testing/package.json +0 -9
  506. package/checkbox/testing/public-api.d.ts +0 -9
  507. package/chips/chip-default-options.d.ts +0 -15
  508. package/chips/chip-input.d.ts +0 -91
  509. package/chips/chip-list.d.ts +0 -289
  510. package/chips/chip-text-control.d.ts +0 -20
  511. package/chips/chip.d.ts +0 -210
  512. package/chips/chips-module.d.ts +0 -10
  513. package/chips/chips_public_index.d.ts +0 -4
  514. package/chips/package.json +0 -9
  515. package/chips/public-api.d.ts +0 -12
  516. package/chips/testing/chip-avatar-harness.d.ts +0 -20
  517. package/chips/testing/chip-harness-filters.d.ts +0 -43
  518. package/chips/testing/chip-harness.d.ts +0 -63
  519. package/chips/testing/chip-input-harness.d.ts +0 -47
  520. package/chips/testing/chip-list-harness.d.ts +0 -54
  521. package/chips/testing/chip-listbox-harness.d.ts +0 -34
  522. package/chips/testing/chip-option-harness.d.ts +0 -29
  523. package/chips/testing/chip-remove-harness.d.ts +0 -22
  524. package/chips/testing/package.json +0 -9
  525. package/chips/testing/public-api.d.ts +0 -14
  526. package/core/animation/animation.d.ts +0 -20
  527. package/core/common-behaviors/color.d.ts +0 -26
  528. package/core/common-behaviors/common-module.d.ts +0 -44
  529. package/core/common-behaviors/constructor.d.ts +0 -14
  530. package/core/common-behaviors/disable-ripple.d.ts +0 -17
  531. package/core/common-behaviors/disabled.d.ts +0 -17
  532. package/core/common-behaviors/error-state.d.ts +0 -35
  533. package/core/common-behaviors/index.d.ts +0 -15
  534. package/core/common-behaviors/initialized.d.ts +0 -30
  535. package/core/common-behaviors/tabindex.d.ts +0 -20
  536. package/core/core_public_index.d.ts +0 -4
  537. package/core/datetime/date-adapter.d.ts +0 -215
  538. package/core/datetime/date-formats.d.ts +0 -21
  539. package/core/datetime/index.d.ts +0 -15
  540. package/core/datetime/native-date-adapter.d.ts +0 -74
  541. package/core/datetime/native-date-formats.d.ts +0 -9
  542. package/core/error/error-options.d.ts +0 -14
  543. package/core/line/line.d.ts +0 -29
  544. package/core/option/index.d.ts +0 -15
  545. package/core/option/optgroup.d.ts +0 -40
  546. package/core/option/option-parent.d.ts +0 -22
  547. package/core/option/option.d.ts +0 -135
  548. package/core/package.json +0 -9
  549. package/core/public-api.d.ts +0 -16
  550. package/core/ripple/index.d.ts +0 -11
  551. package/core/ripple/ripple-ref.d.ts +0 -54
  552. package/core/ripple/ripple-renderer.d.ts +0 -105
  553. package/core/ripple/ripple.d.ts +0 -113
  554. package/core/selection/index.d.ts +0 -9
  555. package/core/selection/pseudo-checkbox/pseudo-checkbox-module.d.ts +0 -8
  556. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +0 -29
  557. package/core/testing/optgroup-harness-filters.d.ts +0 -11
  558. package/core/testing/optgroup-harness.d.ts +0 -33
  559. package/core/testing/option-harness-filters.d.ts +0 -12
  560. package/core/testing/option-harness.d.ts +0 -35
  561. package/core/testing/package.json +0 -9
  562. package/core/testing/public-api.d.ts +0 -11
  563. package/core/version.d.ts +0 -10
  564. package/datepicker/calendar-body.d.ts +0 -176
  565. package/datepicker/calendar.d.ts +0 -156
  566. package/datepicker/date-range-input-parts.d.ts +0 -108
  567. package/datepicker/date-range-input.d.ts +0 -133
  568. package/datepicker/date-range-picker.d.ts +0 -17
  569. package/datepicker/date-range-selection-strategy.d.ts +0 -48
  570. package/datepicker/date-selection-model.d.ts +0 -139
  571. package/datepicker/datepicker-actions.d.ts +0 -40
  572. package/datepicker/datepicker-animations.d.ts +0 -16
  573. package/datepicker/datepicker-base.d.ts +0 -272
  574. package/datepicker/datepicker-errors.d.ts +0 -9
  575. package/datepicker/datepicker-input-base.d.ts +0 -136
  576. package/datepicker/datepicker-input.d.ts +0 -67
  577. package/datepicker/datepicker-intl.d.ts +0 -36
  578. package/datepicker/datepicker-module.d.ts +0 -26
  579. package/datepicker/datepicker-toggle.d.ts +0 -47
  580. package/datepicker/datepicker.d.ts +0 -7
  581. package/datepicker/datepicker_public_index.d.ts +0 -4
  582. package/datepicker/month-view.d.ts +0 -139
  583. package/datepicker/multi-year-view.d.ts +0 -103
  584. package/datepicker/package.json +0 -9
  585. package/datepicker/public-api.d.ts +0 -26
  586. package/datepicker/testing/calendar-cell-harness.d.ts +0 -64
  587. package/datepicker/testing/calendar-harness.d.ts +0 -53
  588. package/datepicker/testing/date-range-input-harness.d.ts +0 -59
  589. package/datepicker/testing/datepicker-harness-filters.d.ts +0 -45
  590. package/datepicker/testing/datepicker-input-harness-base.d.ts +0 -44
  591. package/datepicker/testing/datepicker-input-harness.d.ts +0 -36
  592. package/datepicker/testing/datepicker-toggle-harness.d.ts +0 -28
  593. package/datepicker/testing/datepicker-trigger-harness-base.d.ts +0 -44
  594. package/datepicker/testing/package.json +0 -9
  595. package/datepicker/testing/public-api.d.ts +0 -13
  596. package/datepicker/year-view.d.ts +0 -114
  597. package/dialog/dialog-animations.d.ts +0 -25
  598. package/dialog/dialog-config.d.ts +0 -105
  599. package/dialog/dialog-container.d.ts +0 -133
  600. package/dialog/dialog-content-directives.d.ts +0 -76
  601. package/dialog/dialog-module.d.ts +0 -11
  602. package/dialog/dialog-ref.d.ts +0 -101
  603. package/dialog/dialog.d.ts +0 -154
  604. package/dialog/dialog_public_index.d.ts +0 -4
  605. package/dialog/package.json +0 -9
  606. package/dialog/public-api.d.ts +0 -14
  607. package/dialog/testing/dialog-harness-filters.d.ts +0 -11
  608. package/dialog/testing/dialog-harness.d.ts +0 -58
  609. package/dialog/testing/dialog-opener.d.ts +0 -33
  610. package/dialog/testing/package.json +0 -9
  611. package/dialog/testing/public-api.d.ts +0 -10
  612. package/divider/divider-module.d.ts +0 -8
  613. package/divider/divider.d.ts +0 -14
  614. package/divider/divider_public_index.d.ts +0 -4
  615. package/divider/package.json +0 -9
  616. package/divider/public-api.d.ts +0 -9
  617. package/divider/testing/divider-harness-filters.d.ts +0 -10
  618. package/divider/testing/divider-harness.d.ts +0 -16
  619. package/divider/testing/package.json +0 -9
  620. package/divider/testing/public-api.d.ts +0 -9
  621. package/expansion/accordion-base.d.ts +0 -34
  622. package/expansion/accordion.d.ts +0 -45
  623. package/expansion/expansion-animations.d.ts +0 -36
  624. package/expansion/expansion-module.d.ts +0 -14
  625. package/expansion/expansion-panel-base.d.ts +0 -22
  626. package/expansion/expansion-panel-content.d.ts +0 -21
  627. package/expansion/expansion-panel-header.d.ts +0 -83
  628. package/expansion/expansion-panel.d.ts +0 -96
  629. package/expansion/expansion_public_index.d.ts +0 -4
  630. package/expansion/package.json +0 -9
  631. package/expansion/public-api.d.ts +0 -15
  632. package/expansion/testing/accordion-harness.d.ts +0 -25
  633. package/expansion/testing/expansion-harness-filters.d.ts +0 -17
  634. package/expansion/testing/expansion-harness.d.ts +0 -79
  635. package/expansion/testing/package.json +0 -9
  636. package/expansion/testing/public-api.d.ts +0 -10
  637. package/form-field/error.d.ts +0 -22
  638. package/form-field/form-field-animations.d.ts +0 -15
  639. package/form-field/form-field-control.d.ts +0 -60
  640. package/form-field/form-field-errors.d.ts +0 -13
  641. package/form-field/form-field-module.d.ts +0 -16
  642. package/form-field/form-field.d.ts +0 -189
  643. package/form-field/form-field_public_index.d.ts +0 -4
  644. package/form-field/hint.d.ts +0 -27
  645. package/form-field/label.d.ts +0 -6
  646. package/form-field/package.json +0 -9
  647. package/form-field/placeholder.d.ts +0 -11
  648. package/form-field/prefix.d.ts +0 -20
  649. package/form-field/public-api.d.ts +0 -18
  650. package/form-field/suffix.d.ts +0 -20
  651. package/form-field/testing/control/form-field-control-harness.d.ts +0 -14
  652. package/form-field/testing/control/package.json +0 -9
  653. package/form-field/testing/form-field-harness-filters.d.ts +0 -15
  654. package/form-field/testing/form-field-harness.d.ts +0 -114
  655. package/form-field/testing/package.json +0 -9
  656. package/form-field/testing/public-api.d.ts +0 -10
  657. package/grid-list/grid-list-base.d.ts +0 -22
  658. package/grid-list/grid-list-module.d.ts +0 -9
  659. package/grid-list/grid-list.d.ts +0 -63
  660. package/grid-list/grid-list_public_index.d.ts +0 -4
  661. package/grid-list/grid-tile.d.ts +0 -64
  662. package/grid-list/package.json +0 -9
  663. package/grid-list/public-api.d.ts +0 -12
  664. package/grid-list/testing/grid-list-harness-filters.d.ts +0 -18
  665. package/grid-list/testing/grid-list-harness.d.ts +0 -41
  666. package/grid-list/testing/grid-tile-harness.d.ts +0 -43
  667. package/grid-list/testing/package.json +0 -9
  668. package/grid-list/testing/public-api.d.ts +0 -10
  669. package/grid-list/tile-coordinator.d.ts +0 -79
  670. package/grid-list/tile-styler.d.ts +0 -134
  671. package/icon/fake-svgs.d.ts +0 -23
  672. package/icon/icon-module.d.ts +0 -8
  673. package/icon/icon-registry.d.ts +0 -262
  674. package/icon/icon.d.ts +0 -147
  675. package/icon/icon_public_index.d.ts +0 -4
  676. package/icon/package.json +0 -9
  677. package/icon/public-api.d.ts +0 -10
  678. package/icon/testing/fake-icon-registry.d.ts +0 -46
  679. package/icon/testing/icon-harness-filters.d.ts +0 -22
  680. package/icon/testing/icon-harness.d.ts +0 -29
  681. package/icon/testing/package.json +0 -9
  682. package/icon/testing/public-api.d.ts +0 -10
  683. package/icon/testing/testing_public_index.d.ts +0 -4
  684. package/icon/trusted-types.d.ts +0 -37
  685. package/input/input-errors.d.ts +0 -9
  686. package/input/input-module.d.ts +0 -10
  687. package/input/input-value-accessor.d.ts +0 -17
  688. package/input/input.d.ts +0 -174
  689. package/input/input_public_index.d.ts +0 -4
  690. package/input/package.json +0 -9
  691. package/input/public-api.d.ts +0 -11
  692. package/input/testing/input-harness-filters.d.ts +0 -15
  693. package/input/testing/input-harness.d.ts +0 -57
  694. package/input/testing/native-option-harness.d.ts +0 -29
  695. package/input/testing/native-select-harness-filters.d.ts +0 -17
  696. package/input/testing/native-select-harness.d.ts +0 -45
  697. package/input/testing/package.json +0 -9
  698. package/input/testing/public-api.d.ts +0 -12
  699. package/list/list-module.d.ts +0 -11
  700. package/list/list.d.ts +0 -99
  701. package/list/list_public_index.d.ts +0 -4
  702. package/list/package.json +0 -9
  703. package/list/public-api.d.ts +0 -10
  704. package/list/selection-list.d.ts +0 -226
  705. package/list/testing/action-list-harness.d.ts +0 -44
  706. package/list/testing/list-harness-base.d.ts +0 -100
  707. package/list/testing/list-harness-filters.d.ts +0 -32
  708. package/list/testing/list-harness.d.ts +0 -36
  709. package/list/testing/list-item-harness-base.d.ts +0 -48
  710. package/list/testing/nav-list-harness.d.ts +0 -46
  711. package/list/testing/package.json +0 -9
  712. package/list/testing/public-api.d.ts +0 -13
  713. package/list/testing/selection-list-harness.d.ts +0 -74
  714. package/menu/menu-animations.d.ts +0 -30
  715. package/menu/menu-content.d.ts +0 -47
  716. package/menu/menu-errors.d.ts +0 -25
  717. package/menu/menu-item.d.ts +0 -61
  718. package/menu/menu-module.d.ts +0 -14
  719. package/menu/menu-panel.d.ts +0 -49
  720. package/menu/menu-positions.d.ts +0 -9
  721. package/menu/menu-trigger.d.ts +0 -180
  722. package/menu/menu.d.ts +0 -207
  723. package/menu/menu_public_index.d.ts +0 -4
  724. package/menu/package.json +0 -9
  725. package/menu/public-api.d.ts +0 -15
  726. package/menu/testing/menu-harness-filters.d.ts +0 -20
  727. package/menu/testing/menu-harness.d.ts +0 -98
  728. package/menu/testing/package.json +0 -9
  729. package/menu/testing/public-api.d.ts +0 -9
  730. package/paginator/package.json +0 -9
  731. package/paginator/paginator-intl.d.ts +0 -43
  732. package/paginator/paginator-module.d.ts +0 -12
  733. package/paginator/paginator.d.ts +0 -157
  734. package/paginator/paginator_public_index.d.ts +0 -4
  735. package/paginator/public-api.d.ts +0 -10
  736. package/paginator/testing/package.json +0 -9
  737. package/paginator/testing/paginator-harness-filters.d.ts +0 -11
  738. package/paginator/testing/paginator-harness.d.ts +0 -58
  739. package/paginator/testing/public-api.d.ts +0 -9
  740. package/progress-bar/package.json +0 -9
  741. package/progress-bar/progress-bar-module.d.ts +0 -9
  742. package/progress-bar/progress-bar.d.ts +0 -116
  743. package/progress-bar/progress-bar_public_index.d.ts +0 -4
  744. package/progress-bar/public-api.d.ts +0 -9
  745. package/progress-bar/testing/package.json +0 -9
  746. package/progress-bar/testing/progress-bar-harness-filters.d.ts +0 -11
  747. package/progress-bar/testing/progress-bar-harness.d.ts +0 -25
  748. package/progress-bar/testing/public-api.d.ts +0 -9
  749. package/progress-spinner/package.json +0 -9
  750. package/progress-spinner/progress-spinner-module.d.ts +0 -9
  751. package/progress-spinner/progress-spinner.d.ts +0 -107
  752. package/progress-spinner/progress-spinner_public_index.d.ts +0 -4
  753. package/progress-spinner/public-api.d.ts +0 -16
  754. package/progress-spinner/testing/package.json +0 -9
  755. package/progress-spinner/testing/progress-spinner-harness-filters.d.ts +0 -11
  756. package/progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
  757. package/progress-spinner/testing/public-api.d.ts +0 -9
  758. package/radio/package.json +0 -9
  759. package/radio/public-api.d.ts +0 -9
  760. package/radio/radio-module.d.ts +0 -8
  761. package/radio/radio.d.ts +0 -265
  762. package/radio/radio_public_index.d.ts +0 -4
  763. package/radio/testing/package.json +0 -9
  764. package/radio/testing/public-api.d.ts +0 -9
  765. package/radio/testing/radio-harness-filters.d.ts +0 -22
  766. package/radio/testing/radio-harness.d.ts +0 -111
  767. package/select/package.json +0 -9
  768. package/select/public-api.d.ts +0 -10
  769. package/select/select-animations.d.ts +0 -19
  770. package/select/select-errors.d.ts +0 -26
  771. package/select/select-module.d.ts +0 -12
  772. package/select/select.d.ts +0 -452
  773. package/select/select_public_index.d.ts +0 -4
  774. package/select/testing/package.json +0 -9
  775. package/select/testing/public-api.d.ts +0 -9
  776. package/select/testing/select-harness-filters.d.ts +0 -11
  777. package/select/testing/select-harness.d.ts +0 -73
  778. package/sidenav/drawer-animations.d.ts +0 -15
  779. package/sidenav/drawer.d.ts +0 -299
  780. package/sidenav/package.json +0 -9
  781. package/sidenav/public-api.d.ts +0 -11
  782. package/sidenav/sidenav-module.d.ts +0 -11
  783. package/sidenav/sidenav.d.ts +0 -45
  784. package/sidenav/sidenav_public_index.d.ts +0 -4
  785. package/sidenav/testing/drawer-container-harness.d.ts +0 -30
  786. package/sidenav/testing/drawer-content-harness.d.ts +0 -21
  787. package/sidenav/testing/drawer-harness-filters.d.ts +0 -19
  788. package/sidenav/testing/drawer-harness.d.ts +0 -33
  789. package/sidenav/testing/package.json +0 -9
  790. package/sidenav/testing/public-api.d.ts +0 -14
  791. package/sidenav/testing/sidenav-container-harness.d.ts +0 -30
  792. package/sidenav/testing/sidenav-content-harness.d.ts +0 -21
  793. package/sidenav/testing/sidenav-harness.d.ts +0 -24
  794. package/slide-toggle/package.json +0 -9
  795. package/slide-toggle/public-api.d.ts +0 -11
  796. package/slide-toggle/slide-toggle-config.d.ts +0 -18
  797. package/slide-toggle/slide-toggle-module.d.ts +0 -16
  798. package/slide-toggle/slide-toggle-required-validator.d.ts +0 -23
  799. package/slide-toggle/slide-toggle.d.ts +0 -109
  800. package/slide-toggle/slide-toggle_public_index.d.ts +0 -4
  801. package/slide-toggle/testing/package.json +0 -9
  802. package/slide-toggle/testing/public-api.d.ts +0 -9
  803. package/slide-toggle/testing/slide-toggle-harness-filters.d.ts +0 -17
  804. package/slide-toggle/testing/slide-toggle-harness.d.ts +0 -65
  805. package/slider/package.json +0 -9
  806. package/slider/public-api.d.ts +0 -9
  807. package/slider/slider-module.d.ts +0 -9
  808. package/slider/slider.d.ts +0 -267
  809. package/slider/slider_public_index.d.ts +0 -4
  810. package/slider/testing/package.json +0 -9
  811. package/slider/testing/public-api.d.ts +0 -9
  812. package/slider/testing/slider-harness-filters.d.ts +0 -11
  813. package/slider/testing/slider-harness.d.ts +0 -59
  814. package/snack-bar/package.json +0 -9
  815. package/snack-bar/public-api.d.ts +0 -14
  816. package/snack-bar/simple-snack-bar.d.ts +0 -33
  817. package/snack-bar/snack-bar-animations.d.ts +0 -15
  818. package/snack-bar/snack-bar-config.d.ts +0 -45
  819. package/snack-bar/snack-bar-container.d.ts +0 -101
  820. package/snack-bar/snack-bar-module.d.ts +0 -13
  821. package/snack-bar/snack-bar-ref.d.ts +0 -64
  822. package/snack-bar/snack-bar.d.ts +0 -107
  823. package/snack-bar/snack-bar_public_index.d.ts +0 -4
  824. package/snack-bar/testing/package.json +0 -9
  825. package/snack-bar/testing/public-api.d.ts +0 -9
  826. package/snack-bar/testing/snack-bar-harness-filters.d.ts +0 -11
  827. package/snack-bar/testing/snack-bar-harness.d.ts +0 -71
  828. package/sort/package.json +0 -9
  829. package/sort/public-api.d.ts +0 -13
  830. package/sort/sort-animations.d.ts +0 -20
  831. package/sort/sort-direction.d.ts +0 -8
  832. package/sort/sort-errors.d.ts +0 -15
  833. package/sort/sort-header-intl.d.ts +0 -31
  834. package/sort/sort-header.d.ts +0 -166
  835. package/sort/sort-module.d.ts +0 -10
  836. package/sort/sort.d.ts +0 -93
  837. package/sort/sort_public_index.d.ts +0 -4
  838. package/sort/testing/package.json +0 -9
  839. package/sort/testing/public-api.d.ts +0 -10
  840. package/sort/testing/sort-harness-filters.d.ts +0 -15
  841. package/sort/testing/sort-harness.d.ts +0 -24
  842. package/sort/testing/sort-header-harness.d.ts +0 -30
  843. package/stepper/package.json +0 -9
  844. package/stepper/public-api.d.ts +0 -17
  845. package/stepper/step-content.d.ts +0 -18
  846. package/stepper/step-header.d.ts +0 -66
  847. package/stepper/step-label.d.ts +0 -6
  848. package/stepper/stepper-animations.d.ts +0 -18
  849. package/stepper/stepper-button.d.ts +0 -19
  850. package/stepper/stepper-icon.d.ts +0 -30
  851. package/stepper/stepper-intl.d.ts +0 -34
  852. package/stepper/stepper-module.d.ts +0 -18
  853. package/stepper/stepper.d.ts +0 -80
  854. package/stepper/stepper_public_index.d.ts +0 -4
  855. package/stepper/testing/package.json +0 -9
  856. package/stepper/testing/public-api.d.ts +0 -11
  857. package/stepper/testing/step-harness-filters.d.ts +0 -37
  858. package/stepper/testing/step-harness.d.ts +0 -52
  859. package/stepper/testing/stepper-button-harnesses.d.ts +0 -41
  860. package/stepper/testing/stepper-harness.d.ts +0 -35
  861. package/table/cell.d.ts +0 -59
  862. package/table/package.json +0 -9
  863. package/table/public-api.d.ts +0 -13
  864. package/table/row.d.ts +0 -55
  865. package/table/table-data-source.d.ts +0 -169
  866. package/table/table-module.d.ts +0 -12
  867. package/table/table.d.ts +0 -28
  868. package/table/table_public_index.d.ts +0 -4
  869. package/table/testing/cell-harness.d.ts +0 -49
  870. package/table/testing/package.json +0 -9
  871. package/table/testing/public-api.d.ts +0 -11
  872. package/table/testing/row-harness.d.ts +0 -66
  873. package/table/testing/table-harness-filters.d.ts +0 -21
  874. package/table/testing/table-harness.d.ts +0 -58
  875. package/table/text-column.d.ts +0 -22
  876. package/tabs/ink-bar.d.ts +0 -49
  877. package/tabs/package.json +0 -9
  878. package/tabs/paginated-tab-header.d.ts +0 -196
  879. package/tabs/public-api.d.ts +0 -20
  880. package/tabs/tab-body.d.ts +0 -116
  881. package/tabs/tab-config.d.ts +0 -35
  882. package/tabs/tab-content.d.ts +0 -22
  883. package/tabs/tab-group.d.ts +0 -183
  884. package/tabs/tab-header.d.ts +0 -49
  885. package/tabs/tab-label-wrapper.d.ts +0 -29
  886. package/tabs/tab-label.d.ts +0 -28
  887. package/tabs/tab-nav-bar/index.d.ts +0 -8
  888. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -134
  889. package/tabs/tab.d.ts +0 -89
  890. package/tabs/tabs-animations.d.ts +0 -15
  891. package/tabs/tabs-module.d.ts +0 -20
  892. package/tabs/tabs_public_index.d.ts +0 -4
  893. package/tabs/testing/package.json +0 -9
  894. package/tabs/testing/public-api.d.ts +0 -12
  895. package/tabs/testing/tab-group-harness.d.ts +0 -35
  896. package/tabs/testing/tab-harness-filters.d.ts +0 -29
  897. package/tabs/testing/tab-harness.d.ts +0 -38
  898. package/tabs/testing/tab-link-harness.d.ts +0 -29
  899. package/tabs/testing/tab-nav-bar-harness.d.ts +0 -38
  900. package/tabs/testing/tab-nav-panel-harness.d.ts +0 -23
  901. package/toolbar/package.json +0 -9
  902. package/toolbar/public-api.d.ts +0 -9
  903. package/toolbar/testing/package.json +0 -9
  904. package/toolbar/testing/public-api.d.ts +0 -9
  905. package/toolbar/testing/toolbar-harness-filters.d.ts +0 -13
  906. package/toolbar/testing/toolbar-harness.d.ts +0 -31
  907. package/toolbar/toolbar-module.d.ts +0 -8
  908. package/toolbar/toolbar.d.ts +0 -41
  909. package/toolbar/toolbar_public_index.d.ts +0 -4
  910. package/tooltip/package.json +0 -9
  911. package/tooltip/public-api.d.ts +0 -10
  912. package/tooltip/testing/package.json +0 -9
  913. package/tooltip/testing/public-api.d.ts +0 -9
  914. package/tooltip/testing/tooltip-harness-filters.d.ts +0 -11
  915. package/tooltip/testing/tooltip-harness.d.ts +0 -38
  916. package/tooltip/tooltip-animations.d.ts +0 -15
  917. package/tooltip/tooltip-module.d.ts +0 -12
  918. package/tooltip/tooltip.d.ts +0 -299
  919. package/tooltip/tooltip_public_index.d.ts +0 -4
  920. package/tree/data-source/flat-data-source.d.ts +0 -83
  921. package/tree/data-source/nested-data-source.d.ts +0 -25
  922. package/tree/node.d.ts +0 -53
  923. package/tree/outlet.d.ts +0 -21
  924. package/tree/package.json +0 -9
  925. package/tree/padding.d.ts +0 -23
  926. package/tree/public-api.d.ts +0 -15
  927. package/tree/testing/node-harness.d.ts +0 -35
  928. package/tree/testing/package.json +0 -9
  929. package/tree/testing/public-api.d.ts +0 -10
  930. package/tree/testing/tree-harness-filters.d.ts +0 -22
  931. package/tree/testing/tree-harness.d.ts +0 -79
  932. package/tree/toggle.d.ts +0 -16
  933. package/tree/tree-module.d.ts +0 -13
  934. package/tree/tree.d.ts +0 -18
  935. package/tree/tree_public_index.d.ts +0 -4
@@ -1,8 +1,374 @@
1
+ import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
2
+ import { AnimationTriggerMetadata } from '@angular/animations';
3
+ import { AriaLivePoliteness } from '@angular/cdk/a11y';
4
+ import { BasePortalOutlet } from '@angular/cdk/portal';
5
+ import { BreakpointObserver } from '@angular/cdk/layout';
6
+ import { CdkPortalOutlet } from '@angular/cdk/portal';
7
+ import { ChangeDetectorRef } from '@angular/core';
8
+ import { ComponentPortal } from '@angular/cdk/portal';
9
+ import { ComponentRef } from '@angular/core';
10
+ import { ComponentType } from '@angular/cdk/portal';
11
+ import { Direction } from '@angular/cdk/bidi';
12
+ import { DomPortal } from '@angular/cdk/portal';
13
+ import { ElementRef } from '@angular/core';
14
+ import { EmbeddedViewRef } from '@angular/core';
15
+ import * as i0 from '@angular/core';
16
+ import * as i3 from '@angular/cdk/overlay';
17
+ import * as i4 from '@angular/cdk/portal';
18
+ import * as i5 from '@angular/common';
19
+ import * as i6 from '@angular/material/button';
20
+ import * as i7 from '@angular/material/core';
21
+ import { InjectionToken } from '@angular/core';
22
+ import { Injector } from '@angular/core';
23
+ import { LiveAnnouncer } from '@angular/cdk/a11y';
24
+ import { NgZone } from '@angular/core';
25
+ import { Observable } from 'rxjs';
26
+ import { OnDestroy } from '@angular/core';
27
+ import { Overlay } from '@angular/cdk/overlay';
28
+ import { OverlayRef } from '@angular/cdk/overlay';
29
+ import { Platform } from '@angular/cdk/platform';
30
+ import { Subject } from 'rxjs';
31
+ import { TemplatePortal } from '@angular/cdk/portal';
32
+ import { TemplateRef } from '@angular/core';
33
+ import { Type } from '@angular/core';
34
+ import { ViewContainerRef } from '@angular/core';
35
+
36
+ declare namespace i1 {
37
+ export {
38
+ _SnackBarContainer,
39
+ MatSnackBarContainer
40
+ }
41
+ }
42
+
43
+ declare namespace i2 {
44
+ export {
45
+ TextOnlySnackBar,
46
+ SimpleSnackBar
47
+ }
48
+ }
49
+
50
+ /** Injection token that can be used to access the data that was passed in to a snack bar. */
51
+ export declare const MAT_SNACK_BAR_DATA: InjectionToken<any>;
52
+
53
+ /** Injection token that can be used to specify default snack bar. */
54
+ export declare const MAT_SNACK_BAR_DEFAULT_OPTIONS: InjectionToken<MatSnackBarConfig<any>>;
55
+
56
+ /** @docs-private */
57
+ export declare function MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY(): MatSnackBarConfig;
58
+
1
59
  /**
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
60
+ * Service to dispatch Material Design snack bar messages.
7
61
  */
8
- export * from './public-api';
62
+ export declare class MatSnackBar extends _MatSnackBarBase {
63
+ protected simpleSnackBarComponent: typeof SimpleSnackBar;
64
+ protected snackBarContainerComponent: typeof MatSnackBarContainer;
65
+ protected handsetCssClass: string;
66
+ constructor(overlay: Overlay, live: LiveAnnouncer, injector: Injector, breakpointObserver: BreakpointObserver, parentSnackBar: MatSnackBar, defaultConfig: MatSnackBarConfig);
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBar, [null, null, null, null, { optional: true; skipSelf: true; }, null]>;
68
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatSnackBar>;
69
+ }
70
+
71
+ /**
72
+ * Animations used by the Material snack bar.
73
+ * @docs-private
74
+ */
75
+ export declare const matSnackBarAnimations: {
76
+ readonly snackBarState: AnimationTriggerMetadata;
77
+ };
78
+
79
+ export declare abstract class _MatSnackBarBase implements OnDestroy {
80
+ private _overlay;
81
+ private _live;
82
+ private _injector;
83
+ private _breakpointObserver;
84
+ private _parentSnackBar;
85
+ private _defaultConfig;
86
+ /**
87
+ * Reference to the current snack bar in the view *at this level* (in the Angular injector tree).
88
+ * If there is a parent snack-bar service, all operations should delegate to that parent
89
+ * via `_openedSnackBarRef`.
90
+ */
91
+ private _snackBarRefAtThisLevel;
92
+ /** The component that should be rendered as the snack bar's simple component. */
93
+ protected abstract simpleSnackBarComponent: Type<TextOnlySnackBar>;
94
+ /** The container component that attaches the provided template or component. */
95
+ protected abstract snackBarContainerComponent: Type<_SnackBarContainer>;
96
+ /** The CSS class to apply for handset mode. */
97
+ protected abstract handsetCssClass: string;
98
+ /** Reference to the currently opened snackbar at *any* level. */
99
+ get _openedSnackBarRef(): MatSnackBarRef<any> | null;
100
+ set _openedSnackBarRef(value: MatSnackBarRef<any> | null);
101
+ constructor(_overlay: Overlay, _live: LiveAnnouncer, _injector: Injector, _breakpointObserver: BreakpointObserver, _parentSnackBar: _MatSnackBarBase, _defaultConfig: MatSnackBarConfig);
102
+ /**
103
+ * Creates and dispatches a snack bar with a custom component for the content, removing any
104
+ * currently opened snack bars.
105
+ *
106
+ * @param component Component to be instantiated.
107
+ * @param config Extra configuration for the snack bar.
108
+ */
109
+ openFromComponent<T, D = any>(component: ComponentType<T>, config?: MatSnackBarConfig<D>): MatSnackBarRef<T>;
110
+ /**
111
+ * Creates and dispatches a snack bar with a custom template for the content, removing any
112
+ * currently opened snack bars.
113
+ *
114
+ * @param template Template to be instantiated.
115
+ * @param config Extra configuration for the snack bar.
116
+ */
117
+ openFromTemplate(template: TemplateRef<any>, config?: MatSnackBarConfig): MatSnackBarRef<EmbeddedViewRef<any>>;
118
+ /**
119
+ * Opens a snackbar with a message and an optional action.
120
+ * @param message The message to show in the snackbar.
121
+ * @param action The label for the snackbar action.
122
+ * @param config Additional configuration options for the snackbar.
123
+ */
124
+ open(message: string, action?: string, config?: MatSnackBarConfig): MatSnackBarRef<TextOnlySnackBar>;
125
+ /**
126
+ * Dismisses the currently-visible snack bar.
127
+ */
128
+ dismiss(): void;
129
+ ngOnDestroy(): void;
130
+ /**
131
+ * Attaches the snack bar container component to the overlay.
132
+ */
133
+ private _attachSnackBarContainer;
134
+ /**
135
+ * Places a new component or a template as the content of the snack bar container.
136
+ */
137
+ private _attach;
138
+ /** Animates the old snack bar out and the new one in. */
139
+ private _animateSnackBar;
140
+ /**
141
+ * Creates a new overlay and places it in the correct location.
142
+ * @param config The user-specified snack bar config.
143
+ */
144
+ private _createOverlay;
145
+ /**
146
+ * Creates an injector to be used inside of a snack bar component.
147
+ * @param config Config that was used to create the snack bar.
148
+ * @param snackBarRef Reference to the snack bar.
149
+ */
150
+ private _createInjector;
151
+ static ɵfac: i0.ɵɵFactoryDeclaration<_MatSnackBarBase, [null, null, null, null, { optional: true; skipSelf: true; }, null]>;
152
+ static ɵprov: i0.ɵɵInjectableDeclaration<_MatSnackBarBase>;
153
+ }
154
+
155
+ /**
156
+ * Configuration used when opening a snack-bar.
157
+ */
158
+ export declare class MatSnackBarConfig<D = any> {
159
+ /** The politeness level for the MatAriaLiveAnnouncer announcement. */
160
+ politeness?: AriaLivePoliteness;
161
+ /**
162
+ * Message to be announced by the LiveAnnouncer. When opening a snackbar without a custom
163
+ * component or template, the announcement message will default to the specified message.
164
+ */
165
+ announcementMessage?: string;
166
+ /**
167
+ * The view container that serves as the parent for the snackbar for the purposes of dependency
168
+ * injection. Note: this does not affect where the snackbar is inserted in the DOM.
169
+ */
170
+ viewContainerRef?: ViewContainerRef;
171
+ /** The length of time in milliseconds to wait before automatically dismissing the snack bar. */
172
+ duration?: number;
173
+ /** Extra CSS classes to be added to the snack bar container. */
174
+ panelClass?: string | string[];
175
+ /** Text layout direction for the snack bar. */
176
+ direction?: Direction;
177
+ /** Data being injected into the child component. */
178
+ data?: D | null;
179
+ /** The horizontal position to place the snack bar. */
180
+ horizontalPosition?: MatSnackBarHorizontalPosition;
181
+ /** The vertical position to place the snack bar. */
182
+ verticalPosition?: MatSnackBarVerticalPosition;
183
+ }
184
+
185
+ /**
186
+ * Internal component that wraps user-provided snack bar content.
187
+ * @docs-private
188
+ */
189
+ export declare class MatSnackBarContainer extends BasePortalOutlet implements OnDestroy, _SnackBarContainer {
190
+ private _ngZone;
191
+ private _elementRef;
192
+ private _changeDetectorRef;
193
+ private _platform;
194
+ /** The snack bar configuration. */
195
+ snackBarConfig: MatSnackBarConfig;
196
+ /** The number of milliseconds to wait before announcing the snack bar's content. */
197
+ private readonly _announceDelay;
198
+ /** The timeout for announcing the snack bar's content. */
199
+ private _announceTimeoutId;
200
+ /** Whether the component has been destroyed. */
201
+ private _destroyed;
202
+ /** The portal outlet inside of this container into which the snack bar content will be loaded. */
203
+ _portalOutlet: CdkPortalOutlet;
204
+ /** Subject for notifying that the snack bar has announced to screen readers. */
205
+ readonly _onAnnounce: Subject<void>;
206
+ /** Subject for notifying that the snack bar has exited from view. */
207
+ readonly _onExit: Subject<void>;
208
+ /** Subject for notifying that the snack bar has finished entering the view. */
209
+ readonly _onEnter: Subject<void>;
210
+ /** The state of the snack bar animations. */
211
+ _animationState: string;
212
+ /** aria-live value for the live region. */
213
+ _live: AriaLivePoliteness;
214
+ /**
215
+ * Role of the live region. This is only for Firefox as there is a known issue where Firefox +
216
+ * JAWS does not read out aria-live message.
217
+ */
218
+ _role?: 'status' | 'alert';
219
+ constructor(_ngZone: NgZone, _elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _platform: Platform,
220
+ /** The snack bar configuration. */
221
+ snackBarConfig: MatSnackBarConfig);
222
+ /** Attach a component portal as content to this snack bar container. */
223
+ attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
224
+ /** Attach a template portal as content to this snack bar container. */
225
+ attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
226
+ /**
227
+ * Attaches a DOM portal to the snack bar container.
228
+ * @deprecated To be turned into a method.
229
+ * @breaking-change 10.0.0
230
+ */
231
+ attachDomPortal: (portal: DomPortal) => void;
232
+ /** Handle end of animations, updating the state of the snackbar. */
233
+ onAnimationEnd(event: AnimationEvent_2): void;
234
+ /** Begin animation of snack bar entrance into view. */
235
+ enter(): void;
236
+ /** Begin animation of the snack bar exiting from view. */
237
+ exit(): Observable<void>;
238
+ /** Makes sure the exit callbacks have been invoked when the element is destroyed. */
239
+ ngOnDestroy(): void;
240
+ /**
241
+ * Waits for the zone to settle before removing the element. Helps prevent
242
+ * errors where we end up removing an element which is in the middle of an animation.
243
+ */
244
+ private _completeExit;
245
+ /** Applies the various positioning and user-configured CSS classes to the snack bar. */
246
+ private _applySnackBarClasses;
247
+ /** Asserts that no content is already attached to the container. */
248
+ private _assertNotAttached;
249
+ /**
250
+ * Starts a timeout to move the snack bar content to the live region so screen readers will
251
+ * announce it.
252
+ */
253
+ private _screenReaderAnnounce;
254
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarContainer, never>;
255
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatSnackBarContainer, "snack-bar-container", never, {}, {}, never, never, false>;
256
+ }
257
+
258
+ /** Event that is emitted when a snack bar is dismissed. */
259
+ export declare interface MatSnackBarDismiss {
260
+ /** Whether the snack bar was dismissed using the action button. */
261
+ dismissedByAction: boolean;
262
+ }
263
+
264
+ /** Possible values for horizontalPosition on MatSnackBarConfig. */
265
+ export declare type MatSnackBarHorizontalPosition = 'start' | 'center' | 'end' | 'left' | 'right';
266
+
267
+ export declare class MatSnackBarModule {
268
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarModule, never>;
269
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatSnackBarModule, [typeof i1.MatSnackBarContainer, typeof i2.SimpleSnackBar], [typeof i3.OverlayModule, typeof i4.PortalModule, typeof i5.CommonModule, typeof i6.MatButtonModule, typeof i7.MatCommonModule], [typeof i1.MatSnackBarContainer, typeof i7.MatCommonModule]>;
270
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatSnackBarModule>;
271
+ }
272
+
273
+ /**
274
+ * Reference to a snack bar dispatched from the snack bar service.
275
+ */
276
+ export declare class MatSnackBarRef<T> {
277
+ private _overlayRef;
278
+ /** The instance of the component making up the content of the snack bar. */
279
+ instance: T;
280
+ /**
281
+ * The instance of the component making up the content of the snack bar.
282
+ * @docs-private
283
+ */
284
+ containerInstance: _SnackBarContainer;
285
+ /** Subject for notifying the user that the snack bar has been dismissed. */
286
+ private readonly _afterDismissed;
287
+ /** Subject for notifying the user that the snack bar has opened and appeared. */
288
+ private readonly _afterOpened;
289
+ /** Subject for notifying the user that the snack bar action was called. */
290
+ private readonly _onAction;
291
+ /**
292
+ * Timeout ID for the duration setTimeout call. Used to clear the timeout if the snackbar is
293
+ * dismissed before the duration passes.
294
+ */
295
+ private _durationTimeoutId;
296
+ /** Whether the snack bar was dismissed using the action button. */
297
+ private _dismissedByAction;
298
+ constructor(containerInstance: _SnackBarContainer, _overlayRef: OverlayRef);
299
+ /** Dismisses the snack bar. */
300
+ dismiss(): void;
301
+ /** Marks the snackbar action clicked. */
302
+ dismissWithAction(): void;
303
+ /**
304
+ * Marks the snackbar action clicked.
305
+ * @deprecated Use `dismissWithAction` instead.
306
+ * @breaking-change 8.0.0
307
+ */
308
+ closeWithAction(): void;
309
+ /** Dismisses the snack bar after some duration */
310
+ _dismissAfter(duration: number): void;
311
+ /** Marks the snackbar as opened */
312
+ _open(): void;
313
+ /** Cleans up the DOM after closing. */
314
+ private _finishDismiss;
315
+ /** Gets an observable that is notified when the snack bar is finished closing. */
316
+ afterDismissed(): Observable<MatSnackBarDismiss>;
317
+ /** Gets an observable that is notified when the snack bar has opened and appeared. */
318
+ afterOpened(): Observable<void>;
319
+ /** Gets an observable that is notified when the snack bar action is called. */
320
+ onAction(): Observable<void>;
321
+ }
322
+
323
+ /** Possible values for verticalPosition on MatSnackBarConfig. */
324
+ export declare type MatSnackBarVerticalPosition = 'top' | 'bottom';
325
+
326
+ /**
327
+ * A component used to open as the default snack bar, matching material spec.
328
+ * This should only be used internally by the snack bar service.
329
+ */
330
+ export declare class SimpleSnackBar implements TextOnlySnackBar {
331
+ snackBarRef: MatSnackBarRef<SimpleSnackBar>;
332
+ /** Data that was injected into the snack bar. */
333
+ data: {
334
+ message: string;
335
+ action: string;
336
+ };
337
+ constructor(snackBarRef: MatSnackBarRef<SimpleSnackBar>, data: any);
338
+ /** Performs the action on the snack bar. */
339
+ action(): void;
340
+ /** If the action button should be shown. */
341
+ get hasAction(): boolean;
342
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpleSnackBar, never>;
343
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpleSnackBar, "simple-snack-bar", never, {}, {}, never, never, false>;
344
+ }
345
+
346
+ /**
347
+ * Internal interface for a snack bar container.
348
+ * @docs-private
349
+ */
350
+ export declare interface _SnackBarContainer {
351
+ snackBarConfig: MatSnackBarConfig;
352
+ readonly _onAnnounce: Subject<any>;
353
+ readonly _onExit: Subject<any>;
354
+ readonly _onEnter: Subject<any>;
355
+ enter: () => void;
356
+ exit: () => Observable<void>;
357
+ attachTemplatePortal: <C>(portal: TemplatePortal<C>) => EmbeddedViewRef<C>;
358
+ attachComponentPortal: <T>(portal: ComponentPortal<T>) => ComponentRef<T>;
359
+ }
360
+
361
+ /**
362
+ * Interface for a simple snack bar component that has a message and a single action.
363
+ */
364
+ export declare interface TextOnlySnackBar {
365
+ data: {
366
+ message: string;
367
+ action: string;
368
+ };
369
+ snackBarRef: MatSnackBarRef<TextOnlySnackBar>;
370
+ action: () => void;
371
+ hasAction: boolean;
372
+ }
373
+
374
+ export { }
@@ -1,8 +1,72 @@
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 './public-api';
1
+ import { AriaLivePoliteness } from '@angular/cdk/a11y';
2
+ import { BaseHarnessFilters } from '@angular/cdk/testing';
3
+ import { ContentContainerComponentHarness } from '@angular/cdk/testing';
4
+ import { HarnessPredicate } from '@angular/cdk/testing';
5
+
6
+ /** Harness for interacting with a standard mat-snack-bar in tests. */
7
+ export declare class MatSnackBarHarness extends ContentContainerComponentHarness<string> {
8
+ /** The selector for the host element of a `MatSnackBar` instance. */
9
+ static hostSelector: string;
10
+ protected _messageSelector: string;
11
+ protected _actionButtonSelector: string;
12
+ private _snackBarLiveRegion;
13
+ /**
14
+ * Gets a `HarnessPredicate` that can be used to search for a `MatSnackBarHarness` that meets
15
+ * certain criteria.
16
+ * @param options Options for filtering which snack bar instances are considered a match.
17
+ * @return a `HarnessPredicate` configured with the given options.
18
+ */
19
+ static with(options?: SnackBarHarnessFilters): HarnessPredicate<MatSnackBarHarness>;
20
+ /**
21
+ * Gets the role of the snack-bar. The role of a snack-bar is determined based
22
+ * on the ARIA politeness specified in the snack-bar config.
23
+ * @deprecated Use `getAriaLive` instead.
24
+ * @breaking-change 13.0.0
25
+ */
26
+ getRole(): Promise<'alert' | 'status' | null>;
27
+ /**
28
+ * Gets the aria-live of the snack-bar's live region. The aria-live of a snack-bar is
29
+ * determined based on the ARIA politeness specified in the snack-bar config.
30
+ */
31
+ getAriaLive(): Promise<AriaLivePoliteness>;
32
+ /**
33
+ * Whether the snack-bar has an action. Method cannot be used for snack-bar's with custom content.
34
+ */
35
+ hasAction(): Promise<boolean>;
36
+ /**
37
+ * Gets the description of the snack-bar. Method cannot be used for snack-bar's without action or
38
+ * with custom content.
39
+ */
40
+ getActionDescription(): Promise<string>;
41
+ /**
42
+ * Dismisses the snack-bar by clicking the action button. Method cannot be used for snack-bar's
43
+ * without action or with custom content.
44
+ */
45
+ dismissWithAction(): Promise<void>;
46
+ /**
47
+ * Gets the message of the snack-bar. Method cannot be used for snack-bar's with custom content.
48
+ */
49
+ getMessage(): Promise<string>;
50
+ /** Gets whether the snack-bar has been dismissed. */
51
+ isDismissed(): Promise<boolean>;
52
+ /**
53
+ * Asserts that the current snack-bar has annotated content. Promise reject
54
+ * if content is not annotated.
55
+ */
56
+ protected _assertContentAnnotated(): Promise<void>;
57
+ /**
58
+ * Asserts that the current snack-bar has an action defined. Otherwise the
59
+ * promise will reject.
60
+ */
61
+ protected _assertHasAction(): Promise<void>;
62
+ /** Whether the snack-bar is using the default content template. */
63
+ private _isSimpleSnackBar;
64
+ /** Gets the simple snack bar action button. */
65
+ private _getActionButton;
66
+ }
67
+
68
+ /** A set of criteria that can be used to filter a list of `MatSnackBarHarness` instances. */
69
+ export declare interface SnackBarHarnessFilters extends BaseHarnessFilters {
70
+ }
71
+
72
+ export { }