@angular/material 7.0.3 → 7.2.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 (447) hide show
  1. package/_theming.scss +57 -49
  2. package/autocomplete/typings/index.d.ts +1 -1
  3. package/autocomplete/typings/index.metadata.json +1 -1
  4. package/badge/typings/index.metadata.json +1 -1
  5. package/bottom-sheet/typings/bottom-sheet-config.d.ts +5 -0
  6. package/bottom-sheet/typings/bottom-sheet-container.d.ts +1 -1
  7. package/bottom-sheet/typings/index.metadata.json +1 -1
  8. package/bundles/material-autocomplete.umd.js +124 -30
  9. package/bundles/material-autocomplete.umd.js.map +1 -1
  10. package/bundles/material-autocomplete.umd.min.js +1 -1
  11. package/bundles/material-autocomplete.umd.min.js.map +1 -1
  12. package/bundles/material-badge.umd.js +38 -5
  13. package/bundles/material-badge.umd.js.map +1 -1
  14. package/bundles/material-badge.umd.min.js +1 -1
  15. package/bundles/material-badge.umd.min.js.map +1 -1
  16. package/bundles/material-bottom-sheet.umd.js +68 -25
  17. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  18. package/bundles/material-bottom-sheet.umd.min.js +1 -1
  19. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  20. package/bundles/material-button-toggle.umd.js +40 -15
  21. package/bundles/material-button-toggle.umd.js.map +1 -1
  22. package/bundles/material-button-toggle.umd.min.js +1 -1
  23. package/bundles/material-button-toggle.umd.min.js.map +1 -1
  24. package/bundles/material-button.umd.js +19 -12
  25. package/bundles/material-button.umd.js.map +1 -1
  26. package/bundles/material-button.umd.min.js +1 -1
  27. package/bundles/material-button.umd.min.js.map +1 -1
  28. package/bundles/material-card.umd.js +2 -2
  29. package/bundles/material-card.umd.js.map +1 -1
  30. package/bundles/material-card.umd.min.js.map +1 -1
  31. package/bundles/material-checkbox.umd.js +56 -15
  32. package/bundles/material-checkbox.umd.js.map +1 -1
  33. package/bundles/material-checkbox.umd.min.js +1 -1
  34. package/bundles/material-checkbox.umd.min.js.map +1 -1
  35. package/bundles/material-chips.umd.js +124 -34
  36. package/bundles/material-chips.umd.js.map +1 -1
  37. package/bundles/material-chips.umd.min.js +1 -1
  38. package/bundles/material-chips.umd.min.js.map +1 -1
  39. package/bundles/material-core.umd.js +186 -123
  40. package/bundles/material-core.umd.js.map +1 -1
  41. package/bundles/material-core.umd.min.js +2 -1
  42. package/bundles/material-core.umd.min.js.map +1 -1
  43. package/bundles/material-datepicker.umd.js +241 -59
  44. package/bundles/material-datepicker.umd.js.map +1 -1
  45. package/bundles/material-datepicker.umd.min.js +2 -2
  46. package/bundles/material-datepicker.umd.min.js.map +1 -1
  47. package/bundles/material-dialog.umd.js +136 -44
  48. package/bundles/material-dialog.umd.js.map +1 -1
  49. package/bundles/material-dialog.umd.min.js +1 -1
  50. package/bundles/material-dialog.umd.min.js.map +1 -1
  51. package/bundles/material-divider.umd.js +2 -2
  52. package/bundles/material-divider.umd.js.map +1 -1
  53. package/bundles/material-divider.umd.min.js.map +1 -1
  54. package/bundles/material-expansion.umd.js +32 -22
  55. package/bundles/material-expansion.umd.js.map +1 -1
  56. package/bundles/material-expansion.umd.min.js +1 -1
  57. package/bundles/material-expansion.umd.min.js.map +1 -1
  58. package/bundles/material-form-field.umd.js +120 -32
  59. package/bundles/material-form-field.umd.js.map +1 -1
  60. package/bundles/material-form-field.umd.min.js +1 -1
  61. package/bundles/material-form-field.umd.min.js.map +1 -1
  62. package/bundles/material-grid-list.umd.js +66 -15
  63. package/bundles/material-grid-list.umd.js.map +1 -1
  64. package/bundles/material-grid-list.umd.min.js +1 -1
  65. package/bundles/material-grid-list.umd.min.js.map +1 -1
  66. package/bundles/material-icon.umd.js +280 -79
  67. package/bundles/material-icon.umd.js.map +1 -1
  68. package/bundles/material-icon.umd.min.js +1 -1
  69. package/bundles/material-icon.umd.min.js.map +1 -1
  70. package/bundles/material-input.umd.js +46 -24
  71. package/bundles/material-input.umd.js.map +1 -1
  72. package/bundles/material-input.umd.min.js +1 -1
  73. package/bundles/material-input.umd.min.js.map +1 -1
  74. package/bundles/material-list.umd.js +71 -22
  75. package/bundles/material-list.umd.js.map +1 -1
  76. package/bundles/material-list.umd.min.js +2 -6
  77. package/bundles/material-list.umd.min.js.map +1 -1
  78. package/bundles/material-menu.umd.js +157 -55
  79. package/bundles/material-menu.umd.js.map +1 -1
  80. package/bundles/material-menu.umd.min.js +1 -1
  81. package/bundles/material-menu.umd.min.js.map +1 -1
  82. package/bundles/material-paginator.umd.js +52 -10
  83. package/bundles/material-paginator.umd.js.map +1 -1
  84. package/bundles/material-paginator.umd.min.js +1 -1
  85. package/bundles/material-paginator.umd.min.js.map +1 -1
  86. package/bundles/material-progress-bar.umd.js +35 -14
  87. package/bundles/material-progress-bar.umd.js.map +1 -1
  88. package/bundles/material-progress-bar.umd.min.js +1 -1
  89. package/bundles/material-progress-bar.umd.min.js.map +1 -1
  90. package/bundles/material-progress-spinner.umd.js +29 -13
  91. package/bundles/material-progress-spinner.umd.js.map +1 -1
  92. package/bundles/material-progress-spinner.umd.min.js.map +1 -1
  93. package/bundles/material-radio.umd.js +26 -7
  94. package/bundles/material-radio.umd.js.map +1 -1
  95. package/bundles/material-radio.umd.min.js.map +1 -1
  96. package/bundles/material-select.umd.js +178 -49
  97. package/bundles/material-select.umd.js.map +1 -1
  98. package/bundles/material-select.umd.min.js +1 -1
  99. package/bundles/material-select.umd.min.js.map +1 -1
  100. package/bundles/material-sidenav.umd.js +102 -23
  101. package/bundles/material-sidenav.umd.js.map +1 -1
  102. package/bundles/material-sidenav.umd.min.js +1 -1
  103. package/bundles/material-sidenav.umd.min.js.map +1 -1
  104. package/bundles/material-slide-toggle.umd.js +33 -15
  105. package/bundles/material-slide-toggle.umd.js.map +1 -1
  106. package/bundles/material-slide-toggle.umd.min.js +1 -1
  107. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  108. package/bundles/material-slider.umd.js +89 -19
  109. package/bundles/material-slider.umd.js.map +1 -1
  110. package/bundles/material-slider.umd.min.js +1 -1
  111. package/bundles/material-slider.umd.min.js.map +1 -1
  112. package/bundles/material-snack-bar.umd.js +74 -22
  113. package/bundles/material-snack-bar.umd.js.map +1 -1
  114. package/bundles/material-snack-bar.umd.min.js +1 -1
  115. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  116. package/bundles/material-sort.umd.js +45 -23
  117. package/bundles/material-sort.umd.js.map +1 -1
  118. package/bundles/material-sort.umd.min.js.map +1 -1
  119. package/bundles/material-stepper.umd.js +37 -44
  120. package/bundles/material-stepper.umd.js.map +1 -1
  121. package/bundles/material-stepper.umd.min.js +1 -1
  122. package/bundles/material-stepper.umd.min.js.map +1 -1
  123. package/bundles/material-table.umd.js +29 -19
  124. package/bundles/material-table.umd.js.map +1 -1
  125. package/bundles/material-table.umd.min.js +1 -1
  126. package/bundles/material-table.umd.min.js.map +1 -1
  127. package/bundles/material-tabs.umd.js +156 -56
  128. package/bundles/material-tabs.umd.js.map +1 -1
  129. package/bundles/material-tabs.umd.min.js +2 -2
  130. package/bundles/material-tabs.umd.min.js.map +1 -1
  131. package/bundles/material-toolbar.umd.js +13 -3
  132. package/bundles/material-toolbar.umd.js.map +1 -1
  133. package/bundles/material-toolbar.umd.min.js.map +1 -1
  134. package/bundles/material-tooltip.umd.js +52 -25
  135. package/bundles/material-tooltip.umd.js.map +1 -1
  136. package/bundles/material-tooltip.umd.min.js.map +1 -1
  137. package/bundles/material-tree.umd.js +25 -26
  138. package/bundles/material-tree.umd.js.map +1 -1
  139. package/bundles/material-tree.umd.min.js +1 -1
  140. package/bundles/material-tree.umd.min.js.map +1 -1
  141. package/bundles/material.umd.js +2780 -979
  142. package/bundles/material.umd.js.map +1 -1
  143. package/bundles/material.umd.min.js +19 -21
  144. package/bundles/material.umd.min.js.map +1 -1
  145. package/button/typings/button.d.ts +0 -5
  146. package/button/typings/index.metadata.json +1 -1
  147. package/button-toggle/typings/index.metadata.json +1 -1
  148. package/checkbox/typings/index.metadata.json +1 -1
  149. package/chips/typings/chip-list.d.ts +1 -1
  150. package/chips/typings/chip.d.ts +2 -2
  151. package/chips/typings/index.metadata.json +1 -1
  152. package/core/typings/index.metadata.json +1 -1
  153. package/core/typings/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  154. package/core/typings/public-api.d.ts +1 -1
  155. package/datepicker/typings/calendar-body.d.ts +21 -5
  156. package/datepicker/typings/calendar.d.ts +4 -1
  157. package/datepicker/typings/datepicker-toggle.d.ts +5 -0
  158. package/datepicker/typings/datepicker.d.ts +3 -0
  159. package/datepicker/typings/index.metadata.json +1 -1
  160. package/datepicker/typings/month-view.d.ts +4 -2
  161. package/dialog/typings/index.metadata.json +1 -1
  162. package/esm2015/autocomplete.js +58 -27
  163. package/esm2015/autocomplete.js.map +1 -1
  164. package/esm2015/badge.js +29 -6
  165. package/esm2015/badge.js.map +1 -1
  166. package/esm2015/bottom-sheet.js +46 -27
  167. package/esm2015/bottom-sheet.js.map +1 -1
  168. package/esm2015/button-toggle.js +24 -13
  169. package/esm2015/button-toggle.js.map +1 -1
  170. package/esm2015/button.js +18 -13
  171. package/esm2015/button.js.map +1 -1
  172. package/esm2015/card.js +4 -4
  173. package/esm2015/card.js.map +1 -1
  174. package/esm2015/checkbox.js +30 -12
  175. package/esm2015/checkbox.js.map +1 -1
  176. package/esm2015/chips.js +64 -28
  177. package/esm2015/chips.js.map +1 -1
  178. package/esm2015/core.js +145 -126
  179. package/esm2015/core.js.map +1 -1
  180. package/esm2015/datepicker.js +131 -44
  181. package/esm2015/datepicker.js.map +1 -1
  182. package/esm2015/dialog.js +76 -45
  183. package/esm2015/dialog.js.map +1 -1
  184. package/esm2015/divider.js +4 -4
  185. package/esm2015/divider.js.map +1 -1
  186. package/esm2015/expansion.js +35 -25
  187. package/esm2015/expansion.js.map +1 -1
  188. package/esm2015/form-field.js +93 -34
  189. package/esm2015/form-field.js.map +1 -1
  190. package/esm2015/grid-list.js +45 -17
  191. package/esm2015/grid-list.js.map +1 -1
  192. package/esm2015/icon.js +139 -68
  193. package/esm2015/icon.js.map +1 -1
  194. package/esm2015/input.js +40 -23
  195. package/esm2015/input.js.map +1 -1
  196. package/esm2015/list.js +49 -23
  197. package/esm2015/list.js.map +1 -1
  198. package/esm2015/material.js +10 -9
  199. package/esm2015/material.js.map +1 -1
  200. package/esm2015/menu.js +100 -53
  201. package/esm2015/menu.js.map +1 -1
  202. package/esm2015/paginator.js +35 -12
  203. package/esm2015/paginator.js.map +1 -1
  204. package/esm2015/progress-bar.js +30 -15
  205. package/esm2015/progress-bar.js.map +1 -1
  206. package/esm2015/progress-spinner.js +24 -14
  207. package/esm2015/progress-spinner.js.map +1 -1
  208. package/esm2015/radio.js +17 -7
  209. package/esm2015/radio.js.map +1 -1
  210. package/esm2015/select.js +103 -50
  211. package/esm2015/select.js.map +1 -1
  212. package/esm2015/sidenav.js +73 -26
  213. package/esm2015/sidenav.js.map +1 -1
  214. package/esm2015/slide-toggle.js +26 -16
  215. package/esm2015/slide-toggle.js.map +1 -1
  216. package/esm2015/slider.js +50 -20
  217. package/esm2015/slider.js.map +1 -1
  218. package/esm2015/snack-bar.js +44 -24
  219. package/esm2015/snack-bar.js.map +1 -1
  220. package/esm2015/sort.js +46 -23
  221. package/esm2015/sort.js.map +1 -1
  222. package/esm2015/stepper.js +35 -39
  223. package/esm2015/stepper.js.map +1 -1
  224. package/esm2015/table.js +31 -21
  225. package/esm2015/table.js.map +1 -1
  226. package/esm2015/tabs.js +110 -52
  227. package/esm2015/tabs.js.map +1 -1
  228. package/esm2015/toolbar.js +8 -4
  229. package/esm2015/toolbar.js.map +1 -1
  230. package/esm2015/tooltip.js +42 -27
  231. package/esm2015/tooltip.js.map +1 -1
  232. package/esm2015/tree.js +22 -25
  233. package/esm2015/tree.js.map +1 -1
  234. package/esm5/autocomplete.es5.js +126 -32
  235. package/esm5/autocomplete.es5.js.map +1 -1
  236. package/esm5/badge.es5.js +40 -7
  237. package/esm5/badge.es5.js.map +1 -1
  238. package/esm5/bottom-sheet.es5.js +71 -28
  239. package/esm5/bottom-sheet.es5.js.map +1 -1
  240. package/esm5/button-toggle.es5.js +42 -17
  241. package/esm5/button-toggle.es5.js.map +1 -1
  242. package/esm5/button.es5.js +21 -14
  243. package/esm5/button.es5.js.map +1 -1
  244. package/esm5/card.es5.js +4 -4
  245. package/esm5/card.es5.js.map +1 -1
  246. package/esm5/checkbox.es5.js +58 -17
  247. package/esm5/checkbox.es5.js.map +1 -1
  248. package/esm5/chips.es5.js +127 -37
  249. package/esm5/chips.es5.js.map +1 -1
  250. package/esm5/core.es5.js +189 -126
  251. package/esm5/core.es5.js.map +1 -1
  252. package/esm5/datepicker.es5.js +240 -58
  253. package/esm5/datepicker.es5.js.map +1 -1
  254. package/esm5/dialog.es5.js +139 -47
  255. package/esm5/dialog.es5.js.map +1 -1
  256. package/esm5/divider.es5.js +4 -4
  257. package/esm5/divider.es5.js.map +1 -1
  258. package/esm5/expansion.es5.js +35 -25
  259. package/esm5/expansion.es5.js.map +1 -1
  260. package/esm5/form-field.es5.js +124 -36
  261. package/esm5/form-field.es5.js.map +1 -1
  262. package/esm5/grid-list.es5.js +68 -17
  263. package/esm5/grid-list.es5.js.map +1 -1
  264. package/esm5/icon.es5.js +282 -81
  265. package/esm5/icon.es5.js.map +1 -1
  266. package/esm5/input.es5.js +48 -26
  267. package/esm5/input.es5.js.map +1 -1
  268. package/esm5/list.es5.js +74 -25
  269. package/esm5/list.es5.js.map +1 -1
  270. package/esm5/material.es5.js +10 -9
  271. package/esm5/material.es5.js.map +1 -1
  272. package/esm5/menu.es5.js +158 -55
  273. package/esm5/menu.es5.js.map +1 -1
  274. package/esm5/paginator.es5.js +55 -13
  275. package/esm5/paginator.es5.js.map +1 -1
  276. package/esm5/progress-bar.es5.js +37 -16
  277. package/esm5/progress-bar.es5.js.map +1 -1
  278. package/esm5/progress-spinner.es5.js +31 -15
  279. package/esm5/progress-spinner.es5.js.map +1 -1
  280. package/esm5/radio.es5.js +28 -9
  281. package/esm5/radio.es5.js.map +1 -1
  282. package/esm5/select.es5.js +181 -52
  283. package/esm5/select.es5.js.map +1 -1
  284. package/esm5/sidenav.es5.js +105 -26
  285. package/esm5/sidenav.es5.js.map +1 -1
  286. package/esm5/slide-toggle.es5.js +35 -17
  287. package/esm5/slide-toggle.es5.js.map +1 -1
  288. package/esm5/slider.es5.js +91 -21
  289. package/esm5/slider.es5.js.map +1 -1
  290. package/esm5/snack-bar.es5.js +76 -24
  291. package/esm5/snack-bar.es5.js.map +1 -1
  292. package/esm5/sort.es5.js +52 -25
  293. package/esm5/sort.es5.js.map +1 -1
  294. package/esm5/stepper.es5.js +40 -47
  295. package/esm5/stepper.es5.js.map +1 -1
  296. package/esm5/table.es5.js +31 -21
  297. package/esm5/table.es5.js.map +1 -1
  298. package/esm5/tabs.es5.js +159 -60
  299. package/esm5/tabs.es5.js.map +1 -1
  300. package/esm5/toolbar.es5.js +15 -5
  301. package/esm5/toolbar.es5.js.map +1 -1
  302. package/esm5/tooltip.es5.js +54 -27
  303. package/esm5/tooltip.es5.js.map +1 -1
  304. package/esm5/tree.es5.js +27 -28
  305. package/esm5/tree.es5.js.map +1 -1
  306. package/form-field/typings/form-field.d.ts +15 -4
  307. package/form-field/typings/index.metadata.json +1 -1
  308. package/grid-list/typings/index.d.ts +1 -1
  309. package/grid-list/typings/index.metadata.json +1 -1
  310. package/icon/typings/index.metadata.json +1 -1
  311. package/list/typings/index.metadata.json +1 -1
  312. package/material.d.ts +1 -1
  313. package/material.metadata.json +3 -3
  314. package/menu/typings/index.metadata.json +1 -1
  315. package/menu/typings/menu-item.d.ts +2 -0
  316. package/menu/typings/menu-trigger.d.ts +5 -0
  317. package/package.json +5 -5
  318. package/paginator/typings/index.metadata.json +1 -1
  319. package/paginator/typings/paginator.d.ts +7 -3
  320. package/prebuilt-themes/deeppurple-amber.css +1 -1
  321. package/prebuilt-themes/indigo-pink.css +1 -1
  322. package/prebuilt-themes/pink-bluegrey.css +1 -1
  323. package/prebuilt-themes/purple-green.css +1 -1
  324. package/progress-bar/typings/index.metadata.json +1 -1
  325. package/schematics/ng-add/theming/{custom-theme.d.ts → create-custom-theme.d.ts} +0 -0
  326. package/schematics/ng-add/theming/{custom-theme.js → create-custom-theme.js} +1 -1
  327. package/schematics/ng-add/theming/create-custom-theme.js.map +1 -0
  328. package/schematics/ng-add/theming/theming.js +35 -19
  329. package/schematics/ng-add/theming/theming.js.map +1 -1
  330. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  331. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  332. package/schematics/ng-generate/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  333. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  334. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  335. package/select/typings/index.metadata.json +1 -1
  336. package/sidenav/typings/drawer.d.ts +9 -2
  337. package/sidenav/typings/index.metadata.json +1 -1
  338. package/slide-toggle/typings/index.metadata.json +1 -1
  339. package/stepper/typings/index.metadata.json +1 -1
  340. package/stepper/typings/step-header.d.ts +3 -5
  341. package/table/typings/index.metadata.json +1 -1
  342. package/tabs/typings/index.metadata.json +1 -1
  343. package/tabs/typings/tab-body.d.ts +2 -0
  344. package/tabs/typings/tab-group.d.ts +11 -2
  345. package/tabs/typings/tab-header.d.ts +9 -3
  346. package/tree/typings/data-source/flat-data-source.d.ts +2 -2
  347. package/tree/typings/index.metadata.json +1 -1
  348. package/typings/autocomplete/index.d.ts +1 -1
  349. package/typings/autocomplete/index.metadata.json +1 -1
  350. package/typings/badge/index.metadata.json +1 -1
  351. package/typings/bottom-sheet/bottom-sheet-config.d.ts +5 -0
  352. package/typings/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  353. package/typings/bottom-sheet/index.metadata.json +1 -1
  354. package/typings/button/button.d.ts +0 -5
  355. package/typings/button/index.metadata.json +1 -1
  356. package/typings/button-toggle/index.metadata.json +1 -1
  357. package/typings/checkbox/index.metadata.json +1 -1
  358. package/typings/chips/chip-list.d.ts +1 -1
  359. package/typings/chips/chip.d.ts +2 -2
  360. package/typings/chips/index.metadata.json +1 -1
  361. package/typings/core/index.metadata.json +1 -1
  362. package/typings/core/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  363. package/typings/core/public-api.d.ts +1 -1
  364. package/typings/datepicker/calendar-body.d.ts +21 -5
  365. package/typings/datepicker/calendar.d.ts +4 -1
  366. package/typings/datepicker/datepicker-toggle.d.ts +5 -0
  367. package/typings/datepicker/datepicker.d.ts +3 -0
  368. package/typings/datepicker/index.metadata.json +1 -1
  369. package/typings/datepicker/month-view.d.ts +4 -2
  370. package/typings/dialog/index.metadata.json +1 -1
  371. package/typings/esm5/autocomplete/index.d.ts +1 -1
  372. package/typings/esm5/autocomplete/index.metadata.json +1 -1
  373. package/typings/esm5/badge/index.metadata.json +1 -1
  374. package/typings/esm5/bottom-sheet/bottom-sheet-config.d.ts +5 -0
  375. package/typings/esm5/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  376. package/typings/esm5/bottom-sheet/index.metadata.json +1 -1
  377. package/typings/esm5/button/button.d.ts +0 -5
  378. package/typings/esm5/button/index.metadata.json +1 -1
  379. package/typings/esm5/button-toggle/index.metadata.json +1 -1
  380. package/typings/esm5/checkbox/index.metadata.json +1 -1
  381. package/typings/esm5/chips/chip-list.d.ts +1 -1
  382. package/typings/esm5/chips/chip.d.ts +2 -2
  383. package/typings/esm5/chips/index.metadata.json +1 -1
  384. package/typings/esm5/core/index.metadata.json +1 -1
  385. package/typings/esm5/core/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  386. package/typings/esm5/core/public-api.d.ts +1 -1
  387. package/typings/esm5/datepicker/calendar-body.d.ts +21 -5
  388. package/typings/esm5/datepicker/calendar.d.ts +4 -1
  389. package/typings/esm5/datepicker/datepicker-toggle.d.ts +5 -0
  390. package/typings/esm5/datepicker/datepicker.d.ts +3 -0
  391. package/typings/esm5/datepicker/index.metadata.json +1 -1
  392. package/typings/esm5/datepicker/month-view.d.ts +4 -2
  393. package/typings/esm5/dialog/index.metadata.json +1 -1
  394. package/typings/esm5/form-field/form-field.d.ts +15 -4
  395. package/typings/esm5/form-field/index.metadata.json +1 -1
  396. package/typings/esm5/grid-list/index.d.ts +1 -1
  397. package/typings/esm5/grid-list/index.metadata.json +1 -1
  398. package/typings/esm5/icon/index.metadata.json +1 -1
  399. package/typings/esm5/index.metadata.json +1 -1
  400. package/typings/esm5/list/index.metadata.json +1 -1
  401. package/typings/esm5/menu/index.metadata.json +1 -1
  402. package/typings/esm5/menu/menu-item.d.ts +2 -0
  403. package/typings/esm5/menu/menu-trigger.d.ts +5 -0
  404. package/typings/esm5/paginator/index.metadata.json +1 -1
  405. package/typings/esm5/paginator/paginator.d.ts +7 -3
  406. package/typings/esm5/progress-bar/index.metadata.json +1 -1
  407. package/typings/esm5/select/index.metadata.json +1 -1
  408. package/typings/esm5/sidenav/drawer.d.ts +9 -2
  409. package/typings/esm5/sidenav/index.metadata.json +1 -1
  410. package/typings/esm5/slide-toggle/index.metadata.json +1 -1
  411. package/typings/esm5/stepper/index.metadata.json +1 -1
  412. package/typings/esm5/stepper/step-header.d.ts +3 -5
  413. package/typings/esm5/table/index.metadata.json +1 -1
  414. package/typings/esm5/tabs/index.metadata.json +1 -1
  415. package/typings/esm5/tabs/tab-body.d.ts +2 -0
  416. package/typings/esm5/tabs/tab-group.d.ts +11 -2
  417. package/typings/esm5/tabs/tab-header.d.ts +9 -3
  418. package/typings/esm5/tree/data-source/flat-data-source.d.ts +2 -2
  419. package/typings/esm5/tree/index.metadata.json +1 -1
  420. package/typings/form-field/form-field.d.ts +15 -4
  421. package/typings/form-field/index.metadata.json +1 -1
  422. package/typings/grid-list/index.d.ts +1 -1
  423. package/typings/grid-list/index.metadata.json +1 -1
  424. package/typings/icon/index.metadata.json +1 -1
  425. package/typings/index.metadata.json +1 -1
  426. package/typings/list/index.metadata.json +1 -1
  427. package/typings/menu/index.metadata.json +1 -1
  428. package/typings/menu/menu-item.d.ts +2 -0
  429. package/typings/menu/menu-trigger.d.ts +5 -0
  430. package/typings/paginator/index.metadata.json +1 -1
  431. package/typings/paginator/paginator.d.ts +7 -3
  432. package/typings/progress-bar/index.metadata.json +1 -1
  433. package/typings/schematics/ng-add/theming/{custom-theme.d.ts → create-custom-theme.d.ts} +0 -0
  434. package/typings/select/index.metadata.json +1 -1
  435. package/typings/sidenav/drawer.d.ts +9 -2
  436. package/typings/sidenav/index.metadata.json +1 -1
  437. package/typings/slide-toggle/index.metadata.json +1 -1
  438. package/typings/stepper/index.metadata.json +1 -1
  439. package/typings/stepper/step-header.d.ts +3 -5
  440. package/typings/table/index.metadata.json +1 -1
  441. package/typings/tabs/index.metadata.json +1 -1
  442. package/typings/tabs/tab-body.d.ts +2 -0
  443. package/typings/tabs/tab-group.d.ts +11 -2
  444. package/typings/tabs/tab-header.d.ts +9 -3
  445. package/typings/tree/data-source/flat-data-source.d.ts +2 -2
  446. package/typings/tree/index.metadata.json +1 -1
  447. package/schematics/ng-add/theming/custom-theme.js.map +0 -1
@@ -53,7 +53,7 @@ var __assign = function() {
53
53
 
54
54
  /**
55
55
  * @fileoverview added by tsickle
56
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
56
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
57
57
  */
58
58
  /**
59
59
  * Configuration for opening a modal dialog with the MatDialog service.
@@ -124,13 +124,14 @@ MatDialogConfig = /** @class */ (function () {
124
124
  * the `HashLocationStrategy`).
125
125
  */
126
126
  this.closeOnNavigation = true;
127
+ // TODO(jelbourn): add configuration for lifecycle hooks, ARIA labelling.
127
128
  }
128
129
  return MatDialogConfig;
129
130
  }());
130
131
 
131
132
  /**
132
133
  * @fileoverview added by tsickle
133
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
134
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
134
135
  */
135
136
  /** @type {?} */
136
137
  var animationBody = [
@@ -139,27 +140,28 @@ var animationBody = [
139
140
  // decimate the animation performance. Leaving it as `none` solves both issues.
140
141
  animations.state('void, exit', animations.style({ opacity: 0, transform: 'scale(0.7)' })),
141
142
  animations.state('enter', animations.style({ transform: 'none' })),
142
- animations.transition('* => enter', animations.group([
143
- // `animateChild` allows for child component to animate at the same time. See #13870.
144
- animations.query('@*', animations.animateChild(), { optional: true }),
145
- animations.animate('150ms cubic-bezier(0, 0, 0.2, 1)', animations.style({ transform: 'none', opacity: 1 })),
146
- ])),
143
+ animations.transition('* => enter', animations.animate('150ms cubic-bezier(0, 0, 0.2, 1)', animations.style({ transform: 'none', opacity: 1 }))),
147
144
  animations.transition('* => void, * => exit', animations.animate('75ms cubic-bezier(0.4, 0.0, 0.2, 1)', animations.style({ opacity: 0 }))),
148
145
  ];
149
- /** *
146
+ /**
150
147
  * Animations used by MatDialog.
151
148
  * \@docs-private
152
- @type {?} */
149
+ * @type {?}
150
+ */
153
151
  var matDialogAnimations = {
154
- /** Animation that is applied on the dialog container by defalt. */
152
+ /**
153
+ * Animation that is applied on the dialog container by defalt.
154
+ */
155
155
  dialogContainer: animations.trigger('dialogContainer', animationBody),
156
- /** @deprecated @breaking-change 8.0.0 Use `matDialogAnimations.dialogContainer` instead. */
156
+ /**
157
+ * @deprecated \@breaking-change 8.0.0 Use `matDialogAnimations.dialogContainer` instead.
158
+ */
157
159
  slideDialog: animations.trigger('slideDialog', animationBody)
158
160
  };
159
161
 
160
162
  /**
161
163
  * @fileoverview added by tsickle
162
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
164
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
163
165
  */
164
166
  /**
165
167
  * Throws an exception for the case when a ComponentPortal is
@@ -248,12 +250,15 @@ var MatDialogContainer = /** @class */ (function (_super) {
248
250
  this._savePreviouslyFocusedElement();
249
251
  return this._portalOutlet.attachTemplatePortal(portal$$1);
250
252
  };
253
+ /** Moves the focus inside the focus trap. */
251
254
  /**
252
255
  * Moves the focus inside the focus trap.
256
+ * @private
253
257
  * @return {?}
254
258
  */
255
259
  MatDialogContainer.prototype._trapFocus = /**
256
260
  * Moves the focus inside the focus trap.
261
+ * @private
257
262
  * @return {?}
258
263
  */
259
264
  function () {
@@ -267,12 +272,15 @@ var MatDialogContainer = /** @class */ (function (_super) {
267
272
  this._focusTrap.focusInitialElementWhenReady();
268
273
  }
269
274
  };
275
+ /** Restores focus to the element that was focused before the dialog opened. */
270
276
  /**
271
277
  * Restores focus to the element that was focused before the dialog opened.
278
+ * @private
272
279
  * @return {?}
273
280
  */
274
281
  MatDialogContainer.prototype._restoreFocus = /**
275
282
  * Restores focus to the element that was focused before the dialog opened.
283
+ * @private
276
284
  * @return {?}
277
285
  */
278
286
  function () {
@@ -286,18 +294,21 @@ var MatDialogContainer = /** @class */ (function (_super) {
286
294
  this._focusTrap.destroy();
287
295
  }
288
296
  };
297
+ /** Saves a reference to the element that was focused before the dialog was opened. */
289
298
  /**
290
299
  * Saves a reference to the element that was focused before the dialog was opened.
300
+ * @private
291
301
  * @return {?}
292
302
  */
293
303
  MatDialogContainer.prototype._savePreviouslyFocusedElement = /**
294
304
  * Saves a reference to the element that was focused before the dialog was opened.
305
+ * @private
295
306
  * @return {?}
296
307
  */
297
308
  function () {
298
309
  var _this = this;
299
310
  if (this._document) {
300
- this._elementFocusedBeforeDialogWasOpened = /** @type {?} */ (this._document.activeElement);
311
+ this._elementFocusedBeforeDialogWasOpened = (/** @type {?} */ (this._document.activeElement));
301
312
  // Note that there is no focus method when rendering on the server.
302
313
  if (this._elementRef.nativeElement.focus) {
303
314
  // Move focus onto the dialog immediately in order to prevent the user from accidentally
@@ -396,8 +407,10 @@ var MatDialogContainer = /** @class */ (function (_super) {
396
407
 
397
408
  /**
398
409
  * @fileoverview added by tsickle
399
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
410
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
400
411
  */
412
+ // TODO(jelbourn): resizing
413
+ // Counter for unique dialog ids.
401
414
  /** @type {?} */
402
415
  var uniqueId = 0;
403
416
  /**
@@ -448,7 +461,7 @@ MatDialogRef = /** @class */ (function () {
448
461
  _this._beforeClosed.complete();
449
462
  _this._afterClosed.next(_this._result);
450
463
  _this._afterClosed.complete();
451
- _this.componentInstance = /** @type {?} */ ((null));
464
+ _this.componentInstance = (/** @type {?} */ (null));
452
465
  _this._overlayRef.dispose();
453
466
  });
454
467
  _overlayRef.keydownEvents()
@@ -557,17 +570,21 @@ MatDialogRef = /** @class */ (function () {
557
570
  */
558
571
  /**
559
572
  * Updates the dialog's position.
573
+ * @template THIS
574
+ * @this {THIS}
560
575
  * @param {?=} position New dialog position.
561
- * @return {?}
576
+ * @return {THIS}
562
577
  */
563
578
  MatDialogRef.prototype.updatePosition = /**
564
579
  * Updates the dialog's position.
580
+ * @template THIS
581
+ * @this {THIS}
565
582
  * @param {?=} position New dialog position.
566
- * @return {?}
583
+ * @return {THIS}
567
584
  */
568
585
  function (position) {
569
586
  /** @type {?} */
570
- var strategy = this._getPositionStrategy();
587
+ var strategy = (/** @type {?} */ (this))._getPositionStrategy();
571
588
  if (position && (position.left || position.right)) {
572
589
  position.left ? strategy.left(position.left) : strategy.right(position.right);
573
590
  }
@@ -580,8 +597,8 @@ MatDialogRef = /** @class */ (function () {
580
597
  else {
581
598
  strategy.centerVertically();
582
599
  }
583
- this._overlayRef.updatePosition();
584
- return this;
600
+ (/** @type {?} */ (this))._overlayRef.updatePosition();
601
+ return (/** @type {?} */ (this));
585
602
  };
586
603
  /**
587
604
  * Updates the dialog's width and height.
@@ -590,22 +607,26 @@ MatDialogRef = /** @class */ (function () {
590
607
  */
591
608
  /**
592
609
  * Updates the dialog's width and height.
610
+ * @template THIS
611
+ * @this {THIS}
593
612
  * @param {?=} width New width of the dialog.
594
613
  * @param {?=} height New height of the dialog.
595
- * @return {?}
614
+ * @return {THIS}
596
615
  */
597
616
  MatDialogRef.prototype.updateSize = /**
598
617
  * Updates the dialog's width and height.
618
+ * @template THIS
619
+ * @this {THIS}
599
620
  * @param {?=} width New width of the dialog.
600
621
  * @param {?=} height New height of the dialog.
601
- * @return {?}
622
+ * @return {THIS}
602
623
  */
603
624
  function (width, height) {
604
625
  if (width === void 0) { width = ''; }
605
626
  if (height === void 0) { height = ''; }
606
- this._getPositionStrategy().width(width).height(height);
607
- this._overlayRef.updatePosition();
608
- return this;
627
+ (/** @type {?} */ (this))._getPositionStrategy().width(width).height(height);
628
+ (/** @type {?} */ (this))._overlayRef.updatePosition();
629
+ return (/** @type {?} */ (this));
609
630
  };
610
631
  /**
611
632
  * Gets an observable that is notified when the dialog is finished opening.
@@ -647,35 +668,41 @@ MatDialogRef = /** @class */ (function () {
647
668
  function () {
648
669
  return this.beforeClosed();
649
670
  };
671
+ /** Fetches the position strategy object from the overlay ref. */
650
672
  /**
651
673
  * Fetches the position strategy object from the overlay ref.
674
+ * @private
652
675
  * @return {?}
653
676
  */
654
677
  MatDialogRef.prototype._getPositionStrategy = /**
655
678
  * Fetches the position strategy object from the overlay ref.
679
+ * @private
656
680
  * @return {?}
657
681
  */
658
682
  function () {
659
- return /** @type {?} */ (this._overlayRef.getConfig().positionStrategy);
683
+ return (/** @type {?} */ (this._overlayRef.getConfig().positionStrategy));
660
684
  };
661
685
  return MatDialogRef;
662
686
  }());
663
687
 
664
688
  /**
665
689
  * @fileoverview added by tsickle
666
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
690
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
667
691
  */
668
- /** *
692
+ /**
669
693
  * Injection token that can be used to access the data that was passed in to a dialog.
670
- @type {?} */
694
+ * @type {?}
695
+ */
671
696
  var MAT_DIALOG_DATA = new core.InjectionToken('MatDialogData');
672
- /** *
697
+ /**
673
698
  * Injection token that can be used to specify default dialog options.
674
- @type {?} */
699
+ * @type {?}
700
+ */
675
701
  var MAT_DIALOG_DEFAULT_OPTIONS = new core.InjectionToken('mat-dialog-default-options');
676
- /** *
702
+ /**
677
703
  * Injection token that determines the scroll handling while the dialog is open.
678
- @type {?} */
704
+ * @type {?}
705
+ */
679
706
  var MAT_DIALOG_SCROLL_STRATEGY = new core.InjectionToken('mat-dialog-scroll-strategy');
680
707
  /**
681
708
  * \@docs-private
@@ -693,9 +720,10 @@ function MAT_DIALOG_SCROLL_STRATEGY_FACTORY(overlay$$1) {
693
720
  function MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay$$1) {
694
721
  return function () { return overlay$$1.scrollStrategies.block(); };
695
722
  }
696
- /** *
723
+ /**
697
724
  * \@docs-private
698
- @type {?} */
725
+ * @type {?}
726
+ */
699
727
  var MAT_DIALOG_SCROLL_STRATEGY_PROVIDER = {
700
728
  provide: MAT_DIALOG_SCROLL_STRATEGY,
701
729
  deps: [overlay.Overlay],
@@ -868,11 +896,18 @@ var MatDialog = /** @class */ (function () {
868
896
  };
869
897
  /**
870
898
  * Creates the overlay into which the dialog will be loaded.
899
+ * @param config The dialog configuration.
900
+ * @returns A promise resolving to the OverlayRef for the created overlay.
901
+ */
902
+ /**
903
+ * Creates the overlay into which the dialog will be loaded.
904
+ * @private
871
905
  * @param {?} config The dialog configuration.
872
906
  * @return {?} A promise resolving to the OverlayRef for the created overlay.
873
907
  */
874
908
  MatDialog.prototype._createOverlay = /**
875
909
  * Creates the overlay into which the dialog will be loaded.
910
+ * @private
876
911
  * @param {?} config The dialog configuration.
877
912
  * @return {?} A promise resolving to the OverlayRef for the created overlay.
878
913
  */
@@ -883,11 +918,18 @@ var MatDialog = /** @class */ (function () {
883
918
  };
884
919
  /**
885
920
  * Creates an overlay config from a dialog config.
921
+ * @param dialogConfig The dialog configuration.
922
+ * @returns The overlay configuration.
923
+ */
924
+ /**
925
+ * Creates an overlay config from a dialog config.
926
+ * @private
886
927
  * @param {?} dialogConfig The dialog configuration.
887
928
  * @return {?} The overlay configuration.
888
929
  */
889
930
  MatDialog.prototype._getOverlayConfig = /**
890
931
  * Creates an overlay config from a dialog config.
932
+ * @private
891
933
  * @param {?} dialogConfig The dialog configuration.
892
934
  * @return {?} The overlay configuration.
893
935
  */
@@ -912,12 +954,20 @@ var MatDialog = /** @class */ (function () {
912
954
  };
913
955
  /**
914
956
  * Attaches an MatDialogContainer to a dialog's already-created overlay.
957
+ * @param overlay Reference to the dialog's underlying overlay.
958
+ * @param config The dialog configuration.
959
+ * @returns A promise resolving to a ComponentRef for the attached container.
960
+ */
961
+ /**
962
+ * Attaches an MatDialogContainer to a dialog's already-created overlay.
963
+ * @private
915
964
  * @param {?} overlay Reference to the dialog's underlying overlay.
916
965
  * @param {?} config The dialog configuration.
917
966
  * @return {?} A promise resolving to a ComponentRef for the attached container.
918
967
  */
919
968
  MatDialog.prototype._attachDialogContainer = /**
920
969
  * Attaches an MatDialogContainer to a dialog's already-created overlay.
970
+ * @private
921
971
  * @param {?} overlay Reference to the dialog's underlying overlay.
922
972
  * @param {?} config The dialog configuration.
923
973
  * @return {?} A promise resolving to a ComponentRef for the attached container.
@@ -937,6 +987,16 @@ var MatDialog = /** @class */ (function () {
937
987
  };
938
988
  /**
939
989
  * Attaches the user-provided component to the already-created MatDialogContainer.
990
+ * @param componentOrTemplateRef The type of component being loaded into the dialog,
991
+ * or a TemplateRef to instantiate as the content.
992
+ * @param dialogContainer Reference to the wrapping MatDialogContainer.
993
+ * @param overlayRef Reference to the overlay in which the dialog resides.
994
+ * @param config The dialog configuration.
995
+ * @returns A promise resolving to the MatDialogRef that should be returned to the user.
996
+ */
997
+ /**
998
+ * Attaches the user-provided component to the already-created MatDialogContainer.
999
+ * @private
940
1000
  * @template T, R
941
1001
  * @param {?} componentOrTemplateRef The type of component being loaded into the dialog,
942
1002
  * or a TemplateRef to instantiate as the content.
@@ -947,6 +1007,7 @@ var MatDialog = /** @class */ (function () {
947
1007
  */
948
1008
  MatDialog.prototype._attachDialogContent = /**
949
1009
  * Attaches the user-provided component to the already-created MatDialogContainer.
1010
+ * @private
950
1011
  * @template T, R
951
1012
  * @param {?} componentOrTemplateRef The type of component being loaded into the dialog,
952
1013
  * or a TemplateRef to instantiate as the content.
@@ -956,6 +1017,8 @@ var MatDialog = /** @class */ (function () {
956
1017
  * @return {?} A promise resolving to the MatDialogRef that should be returned to the user.
957
1018
  */
958
1019
  function (componentOrTemplateRef, dialogContainer, overlayRef, config) {
1020
+ // Create a reference to the dialog we're creating in order to give the user a handle
1021
+ // to modify and close it.
959
1022
  /** @type {?} */
960
1023
  var dialogRef = new MatDialogRef(overlayRef, dialogContainer, this._location, config.id);
961
1024
  // When the dialog backdrop is clicked, we want to close it.
@@ -967,7 +1030,7 @@ var MatDialog = /** @class */ (function () {
967
1030
  });
968
1031
  }
969
1032
  if (componentOrTemplateRef instanceof core.TemplateRef) {
970
- dialogContainer.attachTemplatePortal(new portal.TemplatePortal(componentOrTemplateRef, /** @type {?} */ ((null)), /** @type {?} */ ({ $implicit: config.data, dialogRef: dialogRef })));
1033
+ dialogContainer.attachTemplatePortal(new portal.TemplatePortal(componentOrTemplateRef, (/** @type {?} */ (null)), (/** @type {?} */ ({ $implicit: config.data, dialogRef: dialogRef }))));
971
1034
  }
972
1035
  else {
973
1036
  /** @type {?} */
@@ -984,6 +1047,15 @@ var MatDialog = /** @class */ (function () {
984
1047
  /**
985
1048
  * Creates a custom injector to be used inside the dialog. This allows a component loaded inside
986
1049
  * of a dialog to close itself and, optionally, to return a value.
1050
+ * @param config Config object that is used to construct the dialog.
1051
+ * @param dialogRef Reference to the dialog.
1052
+ * @param container Dialog container element that wraps all of the contents.
1053
+ * @returns The custom injector that can be used inside the dialog.
1054
+ */
1055
+ /**
1056
+ * Creates a custom injector to be used inside the dialog. This allows a component loaded inside
1057
+ * of a dialog to close itself and, optionally, to return a value.
1058
+ * @private
987
1059
  * @template T
988
1060
  * @param {?} config Config object that is used to construct the dialog.
989
1061
  * @param {?} dialogRef Reference to the dialog.
@@ -993,6 +1065,7 @@ var MatDialog = /** @class */ (function () {
993
1065
  MatDialog.prototype._createInjector = /**
994
1066
  * Creates a custom injector to be used inside the dialog. This allows a component loaded inside
995
1067
  * of a dialog to close itself and, optionally, to return a value.
1068
+ * @private
996
1069
  * @template T
997
1070
  * @param {?} config Config object that is used to construct the dialog.
998
1071
  * @param {?} dialogRef Reference to the dialog.
@@ -1002,6 +1075,10 @@ var MatDialog = /** @class */ (function () {
1002
1075
  function (config, dialogRef, dialogContainer) {
1003
1076
  /** @type {?} */
1004
1077
  var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
1078
+ // The MatDialogContainer is injected in the portal as the MatDialogContainer and the dialog's
1079
+ // content are created out of the same ViewContainerRef and as such, are siblings for injector
1080
+ // purposes. To allow the hierarchy that is expected, the MatDialogContainer is explicitly
1081
+ // added to the injection tokens.
1005
1082
  /** @type {?} */
1006
1083
  var injectionTokens = new WeakMap([
1007
1084
  [MatDialogContainer, dialogContainer],
@@ -1019,11 +1096,17 @@ var MatDialog = /** @class */ (function () {
1019
1096
  };
1020
1097
  /**
1021
1098
  * Removes a dialog from the array of open dialogs.
1099
+ * @param dialogRef Dialog to be removed.
1100
+ */
1101
+ /**
1102
+ * Removes a dialog from the array of open dialogs.
1103
+ * @private
1022
1104
  * @param {?} dialogRef Dialog to be removed.
1023
1105
  * @return {?}
1024
1106
  */
1025
1107
  MatDialog.prototype._removeOpenDialog = /**
1026
1108
  * Removes a dialog from the array of open dialogs.
1109
+ * @private
1027
1110
  * @param {?} dialogRef Dialog to be removed.
1028
1111
  * @return {?}
1029
1112
  */
@@ -1050,10 +1133,15 @@ var MatDialog = /** @class */ (function () {
1050
1133
  };
1051
1134
  /**
1052
1135
  * Hides all of the content that isn't an overlay from assistive technology.
1136
+ */
1137
+ /**
1138
+ * Hides all of the content that isn't an overlay from assistive technology.
1139
+ * @private
1053
1140
  * @return {?}
1054
1141
  */
1055
1142
  MatDialog.prototype._hideNonDialogContentFromAssistiveTechnology = /**
1056
1143
  * Hides all of the content that isn't an overlay from assistive technology.
1144
+ * @private
1057
1145
  * @return {?}
1058
1146
  */
1059
1147
  function () {
@@ -1076,13 +1164,16 @@ var MatDialog = /** @class */ (function () {
1076
1164
  }
1077
1165
  }
1078
1166
  };
1167
+ /** Closes all of the dialogs in an array. */
1079
1168
  /**
1080
1169
  * Closes all of the dialogs in an array.
1170
+ * @private
1081
1171
  * @param {?} dialogs
1082
1172
  * @return {?}
1083
1173
  */
1084
1174
  MatDialog.prototype._closeDialogs = /**
1085
1175
  * Closes all of the dialogs in an array.
1176
+ * @private
1086
1177
  * @param {?} dialogs
1087
1178
  * @return {?}
1088
1179
  */
@@ -1124,11 +1215,12 @@ function _applyConfigDefaults(config, defaultOptions) {
1124
1215
 
1125
1216
  /**
1126
1217
  * @fileoverview added by tsickle
1127
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1218
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1128
1219
  */
1129
- /** *
1220
+ /**
1130
1221
  * Counter used to generate unique IDs for dialog elements.
1131
- @type {?} */
1222
+ * @type {?}
1223
+ */
1132
1224
  var dialogElementUid = 0;
1133
1225
  /**
1134
1226
  * Button that will close the current dialog.
@@ -1156,7 +1248,7 @@ var MatDialogClose = /** @class */ (function () {
1156
1248
  // views cannot be given a custom injector. Instead, we look up the DialogRef by
1157
1249
  // ID. This must occur in `onInit`, as the ID binding for the dialog container won't
1158
1250
  // be resolved at constructor time.
1159
- this.dialogRef = /** @type {?} */ ((getClosestDialog(this._elementRef, this._dialog.openDialogs)));
1251
+ this.dialogRef = (/** @type {?} */ (getClosestDialog(this._elementRef, this._dialog.openDialogs)));
1160
1252
  }
1161
1253
  };
1162
1254
  /**
@@ -1169,7 +1261,7 @@ var MatDialogClose = /** @class */ (function () {
1169
1261
  */
1170
1262
  function (changes) {
1171
1263
  /** @type {?} */
1172
- var proxiedChange = changes["_matDialogClose"] || changes["_matDialogCloseResult"];
1264
+ var proxiedChange = changes._matDialogClose || changes._matDialogCloseResult;
1173
1265
  if (proxiedChange) {
1174
1266
  this.dialogResult = proxiedChange.currentValue;
1175
1267
  }
@@ -1217,7 +1309,7 @@ var MatDialogTitle = /** @class */ (function () {
1217
1309
  function () {
1218
1310
  var _this = this;
1219
1311
  if (!this._dialogRef) {
1220
- this._dialogRef = /** @type {?} */ ((getClosestDialog(this._elementRef, this._dialog.openDialogs)));
1312
+ this._dialogRef = (/** @type {?} */ (getClosestDialog(this._elementRef, this._dialog.openDialogs)));
1221
1313
  }
1222
1314
  if (this._dialogRef) {
1223
1315
  Promise.resolve().then(function () {
@@ -1291,12 +1383,12 @@ function getClosestDialog(element, openDialogs) {
1291
1383
  while (parent && !parent.classList.contains('mat-dialog-container')) {
1292
1384
  parent = parent.parentElement;
1293
1385
  }
1294
- return parent ? openDialogs.find(function (dialog) { return dialog.id === /** @type {?} */ ((parent)).id; }) : null;
1386
+ return parent ? openDialogs.find(function (dialog) { return dialog.id === (/** @type {?} */ (parent)).id; }) : null;
1295
1387
  }
1296
1388
 
1297
1389
  /**
1298
1390
  * @fileoverview added by tsickle
1299
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1391
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1300
1392
  */
1301
1393
  var MatDialogModule = /** @class */ (function () {
1302
1394
  function MatDialogModule() {