@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
@@ -5,7 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import { animate, state, style, transition, trigger, query, animateChild, group } from '@angular/animations';
8
+ import { animate, state, style, transition, trigger } from '@angular/animations';
9
9
  import { __assign, __extends } from 'tslib';
10
10
  import { Component, ElementRef, EventEmitter, Inject, Optional, ChangeDetectorRef, ViewChild, ViewEncapsulation, ChangeDetectionStrategy, Injectable, InjectionToken, Injector, SkipSelf, TemplateRef, Directive, Input, NgModule } from '@angular/core';
11
11
  import { DOCUMENT, Location, CommonModule } from '@angular/common';
@@ -20,7 +20,7 @@ import { MatCommonModule } from '@angular/material/core';
20
20
 
21
21
  /**
22
22
  * @fileoverview added by tsickle
23
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
23
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
24
24
  */
25
25
  /**
26
26
  * Configuration for opening a modal dialog with the MatDialog service.
@@ -91,13 +91,14 @@ MatDialogConfig = /** @class */ (function () {
91
91
  * the `HashLocationStrategy`).
92
92
  */
93
93
  this.closeOnNavigation = true;
94
+ // TODO(jelbourn): add configuration for lifecycle hooks, ARIA labelling.
94
95
  }
95
96
  return MatDialogConfig;
96
97
  }());
97
98
 
98
99
  /**
99
100
  * @fileoverview added by tsickle
100
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
101
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
101
102
  */
102
103
  /** @type {?} */
103
104
  var animationBody = [
@@ -106,27 +107,28 @@ var animationBody = [
106
107
  // decimate the animation performance. Leaving it as `none` solves both issues.
107
108
  state('void, exit', style({ opacity: 0, transform: 'scale(0.7)' })),
108
109
  state('enter', style({ transform: 'none' })),
109
- transition('* => enter', group([
110
- // `animateChild` allows for child component to animate at the same time. See #13870.
111
- query('@*', animateChild(), { optional: true }),
112
- animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'none', opacity: 1 })),
113
- ])),
110
+ transition('* => enter', animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'none', opacity: 1 }))),
114
111
  transition('* => void, * => exit', animate('75ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ opacity: 0 }))),
115
112
  ];
116
- /** *
113
+ /**
117
114
  * Animations used by MatDialog.
118
115
  * \@docs-private
119
- @type {?} */
116
+ * @type {?}
117
+ */
120
118
  var matDialogAnimations = {
121
- /** Animation that is applied on the dialog container by defalt. */
119
+ /**
120
+ * Animation that is applied on the dialog container by defalt.
121
+ */
122
122
  dialogContainer: trigger('dialogContainer', animationBody),
123
- /** @deprecated @breaking-change 8.0.0 Use `matDialogAnimations.dialogContainer` instead. */
123
+ /**
124
+ * @deprecated \@breaking-change 8.0.0 Use `matDialogAnimations.dialogContainer` instead.
125
+ */
124
126
  slideDialog: trigger('slideDialog', animationBody)
125
127
  };
126
128
 
127
129
  /**
128
130
  * @fileoverview added by tsickle
129
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
131
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
130
132
  */
131
133
  /**
132
134
  * Throws an exception for the case when a ComponentPortal is
@@ -215,12 +217,15 @@ var MatDialogContainer = /** @class */ (function (_super) {
215
217
  this._savePreviouslyFocusedElement();
216
218
  return this._portalOutlet.attachTemplatePortal(portal);
217
219
  };
220
+ /** Moves the focus inside the focus trap. */
218
221
  /**
219
222
  * Moves the focus inside the focus trap.
223
+ * @private
220
224
  * @return {?}
221
225
  */
222
226
  MatDialogContainer.prototype._trapFocus = /**
223
227
  * Moves the focus inside the focus trap.
228
+ * @private
224
229
  * @return {?}
225
230
  */
226
231
  function () {
@@ -234,12 +239,15 @@ var MatDialogContainer = /** @class */ (function (_super) {
234
239
  this._focusTrap.focusInitialElementWhenReady();
235
240
  }
236
241
  };
242
+ /** Restores focus to the element that was focused before the dialog opened. */
237
243
  /**
238
244
  * Restores focus to the element that was focused before the dialog opened.
245
+ * @private
239
246
  * @return {?}
240
247
  */
241
248
  MatDialogContainer.prototype._restoreFocus = /**
242
249
  * Restores focus to the element that was focused before the dialog opened.
250
+ * @private
243
251
  * @return {?}
244
252
  */
245
253
  function () {
@@ -253,18 +261,21 @@ var MatDialogContainer = /** @class */ (function (_super) {
253
261
  this._focusTrap.destroy();
254
262
  }
255
263
  };
264
+ /** Saves a reference to the element that was focused before the dialog was opened. */
256
265
  /**
257
266
  * Saves a reference to the element that was focused before the dialog was opened.
267
+ * @private
258
268
  * @return {?}
259
269
  */
260
270
  MatDialogContainer.prototype._savePreviouslyFocusedElement = /**
261
271
  * Saves a reference to the element that was focused before the dialog was opened.
272
+ * @private
262
273
  * @return {?}
263
274
  */
264
275
  function () {
265
276
  var _this = this;
266
277
  if (this._document) {
267
- this._elementFocusedBeforeDialogWasOpened = /** @type {?} */ (this._document.activeElement);
278
+ this._elementFocusedBeforeDialogWasOpened = (/** @type {?} */ (this._document.activeElement));
268
279
  // Note that there is no focus method when rendering on the server.
269
280
  if (this._elementRef.nativeElement.focus) {
270
281
  // Move focus onto the dialog immediately in order to prevent the user from accidentally
@@ -363,8 +374,10 @@ var MatDialogContainer = /** @class */ (function (_super) {
363
374
 
364
375
  /**
365
376
  * @fileoverview added by tsickle
366
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
377
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
367
378
  */
379
+ // TODO(jelbourn): resizing
380
+ // Counter for unique dialog ids.
368
381
  /** @type {?} */
369
382
  var uniqueId = 0;
370
383
  /**
@@ -415,7 +428,7 @@ MatDialogRef = /** @class */ (function () {
415
428
  _this._beforeClosed.complete();
416
429
  _this._afterClosed.next(_this._result);
417
430
  _this._afterClosed.complete();
418
- _this.componentInstance = /** @type {?} */ ((null));
431
+ _this.componentInstance = (/** @type {?} */ (null));
419
432
  _this._overlayRef.dispose();
420
433
  });
421
434
  _overlayRef.keydownEvents()
@@ -524,17 +537,21 @@ MatDialogRef = /** @class */ (function () {
524
537
  */
525
538
  /**
526
539
  * Updates the dialog's position.
540
+ * @template THIS
541
+ * @this {THIS}
527
542
  * @param {?=} position New dialog position.
528
- * @return {?}
543
+ * @return {THIS}
529
544
  */
530
545
  MatDialogRef.prototype.updatePosition = /**
531
546
  * Updates the dialog's position.
547
+ * @template THIS
548
+ * @this {THIS}
532
549
  * @param {?=} position New dialog position.
533
- * @return {?}
550
+ * @return {THIS}
534
551
  */
535
552
  function (position) {
536
553
  /** @type {?} */
537
- var strategy = this._getPositionStrategy();
554
+ var strategy = (/** @type {?} */ (this))._getPositionStrategy();
538
555
  if (position && (position.left || position.right)) {
539
556
  position.left ? strategy.left(position.left) : strategy.right(position.right);
540
557
  }
@@ -547,8 +564,8 @@ MatDialogRef = /** @class */ (function () {
547
564
  else {
548
565
  strategy.centerVertically();
549
566
  }
550
- this._overlayRef.updatePosition();
551
- return this;
567
+ (/** @type {?} */ (this))._overlayRef.updatePosition();
568
+ return (/** @type {?} */ (this));
552
569
  };
553
570
  /**
554
571
  * Updates the dialog's width and height.
@@ -557,22 +574,26 @@ MatDialogRef = /** @class */ (function () {
557
574
  */
558
575
  /**
559
576
  * Updates the dialog's width and height.
577
+ * @template THIS
578
+ * @this {THIS}
560
579
  * @param {?=} width New width of the dialog.
561
580
  * @param {?=} height New height of the dialog.
562
- * @return {?}
581
+ * @return {THIS}
563
582
  */
564
583
  MatDialogRef.prototype.updateSize = /**
565
584
  * Updates the dialog's width and height.
585
+ * @template THIS
586
+ * @this {THIS}
566
587
  * @param {?=} width New width of the dialog.
567
588
  * @param {?=} height New height of the dialog.
568
- * @return {?}
589
+ * @return {THIS}
569
590
  */
570
591
  function (width, height) {
571
592
  if (width === void 0) { width = ''; }
572
593
  if (height === void 0) { height = ''; }
573
- this._getPositionStrategy().width(width).height(height);
574
- this._overlayRef.updatePosition();
575
- return this;
594
+ (/** @type {?} */ (this))._getPositionStrategy().width(width).height(height);
595
+ (/** @type {?} */ (this))._overlayRef.updatePosition();
596
+ return (/** @type {?} */ (this));
576
597
  };
577
598
  /**
578
599
  * Gets an observable that is notified when the dialog is finished opening.
@@ -614,35 +635,41 @@ MatDialogRef = /** @class */ (function () {
614
635
  function () {
615
636
  return this.beforeClosed();
616
637
  };
638
+ /** Fetches the position strategy object from the overlay ref. */
617
639
  /**
618
640
  * Fetches the position strategy object from the overlay ref.
641
+ * @private
619
642
  * @return {?}
620
643
  */
621
644
  MatDialogRef.prototype._getPositionStrategy = /**
622
645
  * Fetches the position strategy object from the overlay ref.
646
+ * @private
623
647
  * @return {?}
624
648
  */
625
649
  function () {
626
- return /** @type {?} */ (this._overlayRef.getConfig().positionStrategy);
650
+ return (/** @type {?} */ (this._overlayRef.getConfig().positionStrategy));
627
651
  };
628
652
  return MatDialogRef;
629
653
  }());
630
654
 
631
655
  /**
632
656
  * @fileoverview added by tsickle
633
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
657
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
634
658
  */
635
- /** *
659
+ /**
636
660
  * Injection token that can be used to access the data that was passed in to a dialog.
637
- @type {?} */
661
+ * @type {?}
662
+ */
638
663
  var MAT_DIALOG_DATA = new InjectionToken('MatDialogData');
639
- /** *
664
+ /**
640
665
  * Injection token that can be used to specify default dialog options.
641
- @type {?} */
666
+ * @type {?}
667
+ */
642
668
  var MAT_DIALOG_DEFAULT_OPTIONS = new InjectionToken('mat-dialog-default-options');
643
- /** *
669
+ /**
644
670
  * Injection token that determines the scroll handling while the dialog is open.
645
- @type {?} */
671
+ * @type {?}
672
+ */
646
673
  var MAT_DIALOG_SCROLL_STRATEGY = new InjectionToken('mat-dialog-scroll-strategy');
647
674
  /**
648
675
  * \@docs-private
@@ -660,9 +687,10 @@ function MAT_DIALOG_SCROLL_STRATEGY_FACTORY(overlay) {
660
687
  function MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {
661
688
  return function () { return overlay.scrollStrategies.block(); };
662
689
  }
663
- /** *
690
+ /**
664
691
  * \@docs-private
665
- @type {?} */
692
+ * @type {?}
693
+ */
666
694
  var MAT_DIALOG_SCROLL_STRATEGY_PROVIDER = {
667
695
  provide: MAT_DIALOG_SCROLL_STRATEGY,
668
696
  deps: [Overlay],
@@ -835,11 +863,18 @@ var MatDialog = /** @class */ (function () {
835
863
  };
836
864
  /**
837
865
  * Creates the overlay into which the dialog will be loaded.
866
+ * @param config The dialog configuration.
867
+ * @returns A promise resolving to the OverlayRef for the created overlay.
868
+ */
869
+ /**
870
+ * Creates the overlay into which the dialog will be loaded.
871
+ * @private
838
872
  * @param {?} config The dialog configuration.
839
873
  * @return {?} A promise resolving to the OverlayRef for the created overlay.
840
874
  */
841
875
  MatDialog.prototype._createOverlay = /**
842
876
  * Creates the overlay into which the dialog will be loaded.
877
+ * @private
843
878
  * @param {?} config The dialog configuration.
844
879
  * @return {?} A promise resolving to the OverlayRef for the created overlay.
845
880
  */
@@ -850,11 +885,18 @@ var MatDialog = /** @class */ (function () {
850
885
  };
851
886
  /**
852
887
  * Creates an overlay config from a dialog config.
888
+ * @param dialogConfig The dialog configuration.
889
+ * @returns The overlay configuration.
890
+ */
891
+ /**
892
+ * Creates an overlay config from a dialog config.
893
+ * @private
853
894
  * @param {?} dialogConfig The dialog configuration.
854
895
  * @return {?} The overlay configuration.
855
896
  */
856
897
  MatDialog.prototype._getOverlayConfig = /**
857
898
  * Creates an overlay config from a dialog config.
899
+ * @private
858
900
  * @param {?} dialogConfig The dialog configuration.
859
901
  * @return {?} The overlay configuration.
860
902
  */
@@ -879,12 +921,20 @@ var MatDialog = /** @class */ (function () {
879
921
  };
880
922
  /**
881
923
  * Attaches an MatDialogContainer to a dialog's already-created overlay.
924
+ * @param overlay Reference to the dialog's underlying overlay.
925
+ * @param config The dialog configuration.
926
+ * @returns A promise resolving to a ComponentRef for the attached container.
927
+ */
928
+ /**
929
+ * Attaches an MatDialogContainer to a dialog's already-created overlay.
930
+ * @private
882
931
  * @param {?} overlay Reference to the dialog's underlying overlay.
883
932
  * @param {?} config The dialog configuration.
884
933
  * @return {?} A promise resolving to a ComponentRef for the attached container.
885
934
  */
886
935
  MatDialog.prototype._attachDialogContainer = /**
887
936
  * Attaches an MatDialogContainer to a dialog's already-created overlay.
937
+ * @private
888
938
  * @param {?} overlay Reference to the dialog's underlying overlay.
889
939
  * @param {?} config The dialog configuration.
890
940
  * @return {?} A promise resolving to a ComponentRef for the attached container.
@@ -904,6 +954,16 @@ var MatDialog = /** @class */ (function () {
904
954
  };
905
955
  /**
906
956
  * Attaches the user-provided component to the already-created MatDialogContainer.
957
+ * @param componentOrTemplateRef The type of component being loaded into the dialog,
958
+ * or a TemplateRef to instantiate as the content.
959
+ * @param dialogContainer Reference to the wrapping MatDialogContainer.
960
+ * @param overlayRef Reference to the overlay in which the dialog resides.
961
+ * @param config The dialog configuration.
962
+ * @returns A promise resolving to the MatDialogRef that should be returned to the user.
963
+ */
964
+ /**
965
+ * Attaches the user-provided component to the already-created MatDialogContainer.
966
+ * @private
907
967
  * @template T, R
908
968
  * @param {?} componentOrTemplateRef The type of component being loaded into the dialog,
909
969
  * or a TemplateRef to instantiate as the content.
@@ -914,6 +974,7 @@ var MatDialog = /** @class */ (function () {
914
974
  */
915
975
  MatDialog.prototype._attachDialogContent = /**
916
976
  * Attaches the user-provided component to the already-created MatDialogContainer.
977
+ * @private
917
978
  * @template T, R
918
979
  * @param {?} componentOrTemplateRef The type of component being loaded into the dialog,
919
980
  * or a TemplateRef to instantiate as the content.
@@ -923,6 +984,8 @@ var MatDialog = /** @class */ (function () {
923
984
  * @return {?} A promise resolving to the MatDialogRef that should be returned to the user.
924
985
  */
925
986
  function (componentOrTemplateRef, dialogContainer, overlayRef, config) {
987
+ // Create a reference to the dialog we're creating in order to give the user a handle
988
+ // to modify and close it.
926
989
  /** @type {?} */
927
990
  var dialogRef = new MatDialogRef(overlayRef, dialogContainer, this._location, config.id);
928
991
  // When the dialog backdrop is clicked, we want to close it.
@@ -934,7 +997,7 @@ var MatDialog = /** @class */ (function () {
934
997
  });
935
998
  }
936
999
  if (componentOrTemplateRef instanceof TemplateRef) {
937
- dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, /** @type {?} */ ((null)), /** @type {?} */ ({ $implicit: config.data, dialogRef: dialogRef })));
1000
+ dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, (/** @type {?} */ (null)), (/** @type {?} */ ({ $implicit: config.data, dialogRef: dialogRef }))));
938
1001
  }
939
1002
  else {
940
1003
  /** @type {?} */
@@ -951,6 +1014,15 @@ var MatDialog = /** @class */ (function () {
951
1014
  /**
952
1015
  * Creates a custom injector to be used inside the dialog. This allows a component loaded inside
953
1016
  * of a dialog to close itself and, optionally, to return a value.
1017
+ * @param config Config object that is used to construct the dialog.
1018
+ * @param dialogRef Reference to the dialog.
1019
+ * @param container Dialog container element that wraps all of the contents.
1020
+ * @returns The custom injector that can be used inside the dialog.
1021
+ */
1022
+ /**
1023
+ * Creates a custom injector to be used inside the dialog. This allows a component loaded inside
1024
+ * of a dialog to close itself and, optionally, to return a value.
1025
+ * @private
954
1026
  * @template T
955
1027
  * @param {?} config Config object that is used to construct the dialog.
956
1028
  * @param {?} dialogRef Reference to the dialog.
@@ -960,6 +1032,7 @@ var MatDialog = /** @class */ (function () {
960
1032
  MatDialog.prototype._createInjector = /**
961
1033
  * Creates a custom injector to be used inside the dialog. This allows a component loaded inside
962
1034
  * of a dialog to close itself and, optionally, to return a value.
1035
+ * @private
963
1036
  * @template T
964
1037
  * @param {?} config Config object that is used to construct the dialog.
965
1038
  * @param {?} dialogRef Reference to the dialog.
@@ -969,6 +1042,10 @@ var MatDialog = /** @class */ (function () {
969
1042
  function (config, dialogRef, dialogContainer) {
970
1043
  /** @type {?} */
971
1044
  var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
1045
+ // The MatDialogContainer is injected in the portal as the MatDialogContainer and the dialog's
1046
+ // content are created out of the same ViewContainerRef and as such, are siblings for injector
1047
+ // purposes. To allow the hierarchy that is expected, the MatDialogContainer is explicitly
1048
+ // added to the injection tokens.
972
1049
  /** @type {?} */
973
1050
  var injectionTokens = new WeakMap([
974
1051
  [MatDialogContainer, dialogContainer],
@@ -986,11 +1063,17 @@ var MatDialog = /** @class */ (function () {
986
1063
  };
987
1064
  /**
988
1065
  * Removes a dialog from the array of open dialogs.
1066
+ * @param dialogRef Dialog to be removed.
1067
+ */
1068
+ /**
1069
+ * Removes a dialog from the array of open dialogs.
1070
+ * @private
989
1071
  * @param {?} dialogRef Dialog to be removed.
990
1072
  * @return {?}
991
1073
  */
992
1074
  MatDialog.prototype._removeOpenDialog = /**
993
1075
  * Removes a dialog from the array of open dialogs.
1076
+ * @private
994
1077
  * @param {?} dialogRef Dialog to be removed.
995
1078
  * @return {?}
996
1079
  */
@@ -1017,10 +1100,15 @@ var MatDialog = /** @class */ (function () {
1017
1100
  };
1018
1101
  /**
1019
1102
  * Hides all of the content that isn't an overlay from assistive technology.
1103
+ */
1104
+ /**
1105
+ * Hides all of the content that isn't an overlay from assistive technology.
1106
+ * @private
1020
1107
  * @return {?}
1021
1108
  */
1022
1109
  MatDialog.prototype._hideNonDialogContentFromAssistiveTechnology = /**
1023
1110
  * Hides all of the content that isn't an overlay from assistive technology.
1111
+ * @private
1024
1112
  * @return {?}
1025
1113
  */
1026
1114
  function () {
@@ -1043,13 +1131,16 @@ var MatDialog = /** @class */ (function () {
1043
1131
  }
1044
1132
  }
1045
1133
  };
1134
+ /** Closes all of the dialogs in an array. */
1046
1135
  /**
1047
1136
  * Closes all of the dialogs in an array.
1137
+ * @private
1048
1138
  * @param {?} dialogs
1049
1139
  * @return {?}
1050
1140
  */
1051
1141
  MatDialog.prototype._closeDialogs = /**
1052
1142
  * Closes all of the dialogs in an array.
1143
+ * @private
1053
1144
  * @param {?} dialogs
1054
1145
  * @return {?}
1055
1146
  */
@@ -1091,11 +1182,12 @@ function _applyConfigDefaults(config, defaultOptions) {
1091
1182
 
1092
1183
  /**
1093
1184
  * @fileoverview added by tsickle
1094
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1185
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1095
1186
  */
1096
- /** *
1187
+ /**
1097
1188
  * Counter used to generate unique IDs for dialog elements.
1098
- @type {?} */
1189
+ * @type {?}
1190
+ */
1099
1191
  var dialogElementUid = 0;
1100
1192
  /**
1101
1193
  * Button that will close the current dialog.
@@ -1123,7 +1215,7 @@ var MatDialogClose = /** @class */ (function () {
1123
1215
  // views cannot be given a custom injector. Instead, we look up the DialogRef by
1124
1216
  // ID. This must occur in `onInit`, as the ID binding for the dialog container won't
1125
1217
  // be resolved at constructor time.
1126
- this.dialogRef = /** @type {?} */ ((getClosestDialog(this._elementRef, this._dialog.openDialogs)));
1218
+ this.dialogRef = (/** @type {?} */ (getClosestDialog(this._elementRef, this._dialog.openDialogs)));
1127
1219
  }
1128
1220
  };
1129
1221
  /**
@@ -1136,7 +1228,7 @@ var MatDialogClose = /** @class */ (function () {
1136
1228
  */
1137
1229
  function (changes) {
1138
1230
  /** @type {?} */
1139
- var proxiedChange = changes["_matDialogClose"] || changes["_matDialogCloseResult"];
1231
+ var proxiedChange = changes._matDialogClose || changes._matDialogCloseResult;
1140
1232
  if (proxiedChange) {
1141
1233
  this.dialogResult = proxiedChange.currentValue;
1142
1234
  }
@@ -1184,7 +1276,7 @@ var MatDialogTitle = /** @class */ (function () {
1184
1276
  function () {
1185
1277
  var _this = this;
1186
1278
  if (!this._dialogRef) {
1187
- this._dialogRef = /** @type {?} */ ((getClosestDialog(this._elementRef, this._dialog.openDialogs)));
1279
+ this._dialogRef = (/** @type {?} */ (getClosestDialog(this._elementRef, this._dialog.openDialogs)));
1188
1280
  }
1189
1281
  if (this._dialogRef) {
1190
1282
  Promise.resolve().then(function () {
@@ -1258,12 +1350,12 @@ function getClosestDialog(element, openDialogs) {
1258
1350
  while (parent && !parent.classList.contains('mat-dialog-container')) {
1259
1351
  parent = parent.parentElement;
1260
1352
  }
1261
- return parent ? openDialogs.find(function (dialog) { return dialog.id === /** @type {?} */ ((parent)).id; }) : null;
1353
+ return parent ? openDialogs.find(function (dialog) { return dialog.id === (/** @type {?} */ (parent)).id; }) : null;
1262
1354
  }
1263
1355
 
1264
1356
  /**
1265
1357
  * @fileoverview added by tsickle
1266
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1358
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1267
1359
  */
1268
1360
  var MatDialogModule = /** @class */ (function () {
1269
1361
  function MatDialogModule() {
@@ -1303,12 +1395,12 @@ var MatDialogModule = /** @class */ (function () {
1303
1395
 
1304
1396
  /**
1305
1397
  * @fileoverview added by tsickle
1306
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1398
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1307
1399
  */
1308
1400
 
1309
1401
  /**
1310
1402
  * @fileoverview added by tsickle
1311
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1403
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1312
1404
  */
1313
1405
 
1314
1406
  export { MatDialogModule, MAT_DIALOG_SCROLL_STRATEGY_FACTORY, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY, MAT_DIALOG_DATA, MAT_DIALOG_DEFAULT_OPTIONS, MAT_DIALOG_SCROLL_STRATEGY, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER, MatDialog, throwMatDialogContentAlreadyAttachedError, MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialogContent, MatDialogActions, MatDialogConfig, MatDialogRef, matDialogAnimations };