@angular/material 8.0.0-beta.2 → 8.0.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 (599) hide show
  1. package/README.md +2 -2
  2. package/_theming.scss +18 -11
  3. package/autocomplete/typings/autocomplete-trigger.d.ts +13 -2
  4. package/autocomplete/typings/autocomplete.d.ts +3 -2
  5. package/autocomplete/typings/index.metadata.json +1 -1
  6. package/badge/typings/badge.d.ts +8 -2
  7. package/badge/typings/index.metadata.json +1 -1
  8. package/bundles/material-autocomplete.umd.js +196 -68
  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 +37 -9
  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 +72 -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 +97 -28
  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 +11 -9
  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 +69 -25
  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 +229 -82
  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 +159 -75
  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 +157 -62
  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 +98 -33
  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 +63 -23
  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 +114 -42
  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 +42 -17
  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 +101 -31
  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 +29 -16
  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 +97 -38
  75. package/bundles/material-list.umd.js.map +1 -1
  76. package/bundles/material-list.umd.min.js +2 -2
  77. package/bundles/material-list.umd.min.js.map +1 -1
  78. package/bundles/material-menu.umd.js +308 -167
  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 +28 -12
  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 +26 -16
  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 +10 -12
  91. package/bundles/material-progress-spinner.umd.js.map +1 -1
  92. package/bundles/material-progress-spinner.umd.min.js +1 -1
  93. package/bundles/material-progress-spinner.umd.min.js.map +1 -1
  94. package/bundles/material-radio.umd.js +77 -21
  95. package/bundles/material-radio.umd.js.map +1 -1
  96. package/bundles/material-radio.umd.min.js +1 -1
  97. package/bundles/material-radio.umd.min.js.map +1 -1
  98. package/bundles/material-select.umd.js +186 -57
  99. package/bundles/material-select.umd.js.map +1 -1
  100. package/bundles/material-select.umd.min.js +1 -1
  101. package/bundles/material-select.umd.min.js.map +1 -1
  102. package/bundles/material-sidenav.umd.js +323 -145
  103. package/bundles/material-sidenav.umd.js.map +1 -1
  104. package/bundles/material-sidenav.umd.min.js +1 -1
  105. package/bundles/material-sidenav.umd.min.js.map +1 -1
  106. package/bundles/material-slide-toggle.umd.js +49 -31
  107. package/bundles/material-slide-toggle.umd.js.map +1 -1
  108. package/bundles/material-slide-toggle.umd.min.js +1 -1
  109. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  110. package/bundles/material-slider.umd.js +26 -12
  111. package/bundles/material-slider.umd.js.map +1 -1
  112. package/bundles/material-slider.umd.min.js +1 -1
  113. package/bundles/material-slider.umd.min.js.map +1 -1
  114. package/bundles/material-snack-bar.umd.js +55 -23
  115. package/bundles/material-snack-bar.umd.js.map +1 -1
  116. package/bundles/material-snack-bar.umd.min.js +1 -1
  117. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  118. package/bundles/material-sort.umd.js +20 -17
  119. package/bundles/material-sort.umd.js.map +1 -1
  120. package/bundles/material-sort.umd.min.js +1 -1
  121. package/bundles/material-sort.umd.min.js.map +1 -1
  122. package/bundles/material-stepper.umd.js +50 -16
  123. package/bundles/material-stepper.umd.js.map +1 -1
  124. package/bundles/material-stepper.umd.min.js +1 -1
  125. package/bundles/material-stepper.umd.min.js.map +1 -1
  126. package/bundles/material-table.umd.js +116 -26
  127. package/bundles/material-table.umd.js.map +1 -1
  128. package/bundles/material-table.umd.min.js +1 -1
  129. package/bundles/material-table.umd.min.js.map +1 -1
  130. package/bundles/material-tabs.umd.js +162 -77
  131. package/bundles/material-tabs.umd.js.map +1 -1
  132. package/bundles/material-tabs.umd.min.js +2 -2
  133. package/bundles/material-tabs.umd.min.js.map +1 -1
  134. package/bundles/material-toolbar.umd.js +22 -9
  135. package/bundles/material-toolbar.umd.js.map +1 -1
  136. package/bundles/material-toolbar.umd.min.js +1 -1
  137. package/bundles/material-toolbar.umd.min.js.map +1 -1
  138. package/bundles/material-tooltip.umd.js +79 -25
  139. package/bundles/material-tooltip.umd.js.map +1 -1
  140. package/bundles/material-tooltip.umd.min.js.map +1 -1
  141. package/bundles/material-tree.umd.js +49 -28
  142. package/bundles/material-tree.umd.js.map +1 -1
  143. package/bundles/material-tree.umd.min.js +1 -1
  144. package/bundles/material-tree.umd.min.js.map +1 -1
  145. package/bundles/material.umd.js +3157 -1278
  146. package/bundles/material.umd.js.map +1 -1
  147. package/bundles/material.umd.min.js +19 -19
  148. package/bundles/material.umd.min.js.map +1 -1
  149. package/button/typings/button.d.ts +4 -3
  150. package/button/typings/index.metadata.json +1 -1
  151. package/button-toggle/typings/button-toggle.d.ts +7 -3
  152. package/button-toggle/typings/index.metadata.json +1 -1
  153. package/checkbox/typings/checkbox-module.d.ts +3 -0
  154. package/checkbox/typings/checkbox.d.ts +3 -2
  155. package/checkbox/typings/index.metadata.json +1 -1
  156. package/chips/typings/chip-list.d.ts +9 -2
  157. package/chips/typings/chip.d.ts +3 -2
  158. package/chips/typings/index.metadata.json +1 -1
  159. package/core/typings/index.metadata.json +1 -1
  160. package/core/typings/option/optgroup.d.ts +3 -2
  161. package/core/typings/public-api.d.ts +1 -0
  162. package/core/typings/ripple/ripple-renderer.d.ts +4 -4
  163. package/{typings/esm5 → core/typings}/version.d.ts +0 -0
  164. package/datepicker/typings/datepicker.d.ts +3 -2
  165. package/datepicker/typings/index.d.ts +0 -1
  166. package/datepicker/typings/index.metadata.json +1 -1
  167. package/datepicker/typings/public-api.d.ts +1 -0
  168. package/esm2015/autocomplete.js +187 -68
  169. package/esm2015/autocomplete.js.map +1 -1
  170. package/esm2015/badge.js +31 -10
  171. package/esm2015/badge.js.map +1 -1
  172. package/esm2015/bottom-sheet.js +75 -28
  173. package/esm2015/bottom-sheet.js.map +1 -1
  174. package/esm2015/button-toggle.js +89 -27
  175. package/esm2015/button-toggle.js.map +1 -1
  176. package/esm2015/button.js +13 -9
  177. package/esm2015/button.js.map +1 -1
  178. package/esm2015/card.js +4 -4
  179. package/esm2015/card.js.map +1 -1
  180. package/esm2015/checkbox.js +68 -25
  181. package/esm2015/checkbox.js.map +1 -1
  182. package/esm2015/chips.js +219 -79
  183. package/esm2015/chips.js.map +1 -1
  184. package/esm2015/core.js +160 -75
  185. package/esm2015/core.js.map +1 -1
  186. package/esm2015/datepicker.js +157 -62
  187. package/esm2015/datepicker.js.map +1 -1
  188. package/esm2015/dialog.js +99 -34
  189. package/esm2015/dialog.js.map +1 -1
  190. package/esm2015/divider.js +4 -4
  191. package/esm2015/divider.js.map +1 -1
  192. package/esm2015/expansion.js +65 -25
  193. package/esm2015/expansion.js.map +1 -1
  194. package/esm2015/form-field.js +108 -42
  195. package/esm2015/form-field.js.map +1 -1
  196. package/esm2015/grid-list.js +44 -19
  197. package/esm2015/grid-list.js.map +1 -1
  198. package/esm2015/icon.js +104 -32
  199. package/esm2015/icon.js.map +1 -1
  200. package/esm2015/input.js +31 -16
  201. package/esm2015/input.js.map +1 -1
  202. package/esm2015/list.js +96 -29
  203. package/esm2015/list.js.map +1 -1
  204. package/esm2015/material.js +28 -41
  205. package/esm2015/material.js.map +1 -1
  206. package/esm2015/menu.js +254 -131
  207. package/esm2015/menu.js.map +1 -1
  208. package/esm2015/paginator.js +31 -13
  209. package/esm2015/paginator.js.map +1 -1
  210. package/esm2015/progress-bar.js +28 -14
  211. package/esm2015/progress-bar.js.map +1 -1
  212. package/esm2015/progress-spinner.js +12 -12
  213. package/esm2015/progress-spinner.js.map +1 -1
  214. package/esm2015/radio.js +75 -22
  215. package/esm2015/radio.js.map +1 -1
  216. package/esm2015/select.js +188 -57
  217. package/esm2015/select.js.map +1 -1
  218. package/esm2015/sidenav.js +285 -136
  219. package/esm2015/sidenav.js.map +1 -1
  220. package/esm2015/slide-toggle.js +47 -29
  221. package/esm2015/slide-toggle.js.map +1 -1
  222. package/esm2015/slider.js +28 -12
  223. package/esm2015/slider.js.map +1 -1
  224. package/esm2015/snack-bar.js +58 -26
  225. package/esm2015/snack-bar.js.map +1 -1
  226. package/esm2015/sort.js +23 -16
  227. package/esm2015/sort.js.map +1 -1
  228. package/esm2015/stepper.js +47 -18
  229. package/esm2015/stepper.js.map +1 -1
  230. package/esm2015/table.js +120 -27
  231. package/esm2015/table.js.map +1 -1
  232. package/esm2015/tabs.js +160 -63
  233. package/esm2015/tabs.js.map +1 -1
  234. package/esm2015/toolbar.js +24 -9
  235. package/esm2015/toolbar.js.map +1 -1
  236. package/esm2015/tooltip.js +82 -28
  237. package/esm2015/tooltip.js.map +1 -1
  238. package/esm2015/tree.js +54 -31
  239. package/esm2015/tree.js.map +1 -1
  240. package/esm5/autocomplete.es5.js +199 -69
  241. package/esm5/autocomplete.es5.js.map +1 -1
  242. package/esm5/badge.es5.js +41 -11
  243. package/esm5/badge.es5.js.map +1 -1
  244. package/esm5/bottom-sheet.es5.js +75 -28
  245. package/esm5/bottom-sheet.es5.js.map +1 -1
  246. package/esm5/button-toggle.es5.js +100 -29
  247. package/esm5/button-toggle.es5.js.map +1 -1
  248. package/esm5/button.es5.js +14 -10
  249. package/esm5/button.es5.js.map +1 -1
  250. package/esm5/card.es5.js +4 -4
  251. package/esm5/card.es5.js.map +1 -1
  252. package/esm5/checkbox.es5.js +71 -26
  253. package/esm5/checkbox.es5.js.map +1 -1
  254. package/esm5/chips.es5.js +233 -82
  255. package/esm5/chips.es5.js.map +1 -1
  256. package/esm5/core.es5.js +162 -77
  257. package/esm5/core.es5.js.map +1 -1
  258. package/esm5/datepicker.es5.js +158 -63
  259. package/esm5/datepicker.es5.js.map +1 -1
  260. package/esm5/dialog.es5.js +100 -35
  261. package/esm5/dialog.es5.js.map +1 -1
  262. package/esm5/divider.es5.js +4 -4
  263. package/esm5/divider.es5.js.map +1 -1
  264. package/esm5/expansion.es5.js +65 -25
  265. package/esm5/expansion.es5.js.map +1 -1
  266. package/esm5/form-field.es5.js +117 -43
  267. package/esm5/form-field.es5.js.map +1 -1
  268. package/esm5/grid-list.es5.js +44 -19
  269. package/esm5/grid-list.es5.js.map +1 -1
  270. package/esm5/icon.es5.js +105 -33
  271. package/esm5/icon.es5.js.map +1 -1
  272. package/esm5/input.es5.js +32 -17
  273. package/esm5/input.es5.js.map +1 -1
  274. package/esm5/list.es5.js +100 -33
  275. package/esm5/list.es5.js.map +1 -1
  276. package/esm5/material.es5.js +28 -41
  277. package/esm5/material.es5.js.map +1 -1
  278. package/esm5/menu.es5.js +301 -161
  279. package/esm5/menu.es5.js.map +1 -1
  280. package/esm5/paginator.es5.js +32 -14
  281. package/esm5/paginator.es5.js.map +1 -1
  282. package/esm5/progress-bar.es5.js +29 -17
  283. package/esm5/progress-bar.es5.js.map +1 -1
  284. package/esm5/progress-spinner.es5.js +13 -13
  285. package/esm5/progress-spinner.es5.js.map +1 -1
  286. package/esm5/radio.es5.js +81 -23
  287. package/esm5/radio.es5.js.map +1 -1
  288. package/esm5/select.es5.js +189 -58
  289. package/esm5/select.es5.js.map +1 -1
  290. package/esm5/sidenav.es5.js +326 -148
  291. package/esm5/sidenav.es5.js.map +1 -1
  292. package/esm5/slide-toggle.es5.js +48 -29
  293. package/esm5/slide-toggle.es5.js.map +1 -1
  294. package/esm5/slider.es5.js +29 -13
  295. package/esm5/slider.es5.js.map +1 -1
  296. package/esm5/snack-bar.es5.js +58 -26
  297. package/esm5/snack-bar.es5.js.map +1 -1
  298. package/esm5/sort.es5.js +25 -18
  299. package/esm5/sort.es5.js.map +1 -1
  300. package/esm5/stepper.es5.js +53 -19
  301. package/esm5/stepper.es5.js.map +1 -1
  302. package/esm5/table.es5.js +119 -30
  303. package/esm5/table.es5.js.map +1 -1
  304. package/esm5/tabs.es5.js +165 -68
  305. package/esm5/tabs.es5.js.map +1 -1
  306. package/esm5/toolbar.es5.js +25 -10
  307. package/esm5/toolbar.es5.js.map +1 -1
  308. package/esm5/tooltip.es5.js +81 -27
  309. package/esm5/tooltip.es5.js.map +1 -1
  310. package/esm5/tree.es5.js +52 -29
  311. package/esm5/tree.es5.js.map +1 -1
  312. package/form-field/typings/form-field.d.ts +9 -3
  313. package/form-field/typings/index.metadata.json +1 -1
  314. package/grid-list/typings/index.d.ts +1 -1
  315. package/grid-list/typings/index.metadata.json +1 -1
  316. package/icon/typings/icon.d.ts +3 -2
  317. package/icon/typings/index.metadata.json +1 -1
  318. package/input/typings/index.metadata.json +1 -1
  319. package/input/typings/input.d.ts +3 -2
  320. package/list/typings/index.metadata.json +1 -1
  321. package/list/typings/list.d.ts +5 -4
  322. package/list/typings/selection-list.d.ts +7 -4
  323. package/material.d.ts +1 -1
  324. package/material.metadata.json +3 -3
  325. package/menu/typings/index.d.ts +2 -4
  326. package/menu/typings/index.metadata.json +1 -1
  327. package/menu/typings/menu-item.d.ts +3 -2
  328. package/menu/typings/menu-module.d.ts +6 -0
  329. package/menu/typings/menu-trigger.d.ts +1 -3
  330. package/menu/typings/menu.d.ts +158 -5
  331. package/menu/typings/public-api.d.ts +5 -2
  332. package/package.json +11 -11
  333. package/paginator/typings/index.metadata.json +1 -1
  334. package/paginator/typings/paginator.d.ts +3 -2
  335. package/prebuilt-themes/deeppurple-amber.css +1 -1
  336. package/prebuilt-themes/indigo-pink.css +1 -1
  337. package/prebuilt-themes/pink-bluegrey.css +1 -1
  338. package/prebuilt-themes/purple-green.css +1 -1
  339. package/progress-bar/typings/index.metadata.json +1 -1
  340. package/progress-bar/typings/progress-bar.d.ts +8 -7
  341. package/progress-spinner/typings/index.metadata.json +1 -1
  342. package/progress-spinner/typings/progress-spinner.d.ts +5 -4
  343. package/radio/typings/index.metadata.json +1 -1
  344. package/radio/typings/radio.d.ts +10 -4
  345. package/schematics/ng-add/fonts/material-fonts.js.map +1 -1
  346. package/schematics/ng-add/fonts/project-index-html.d.ts +1 -1
  347. package/schematics/ng-add/fonts/project-index-html.js.map +1 -1
  348. package/schematics/ng-add/gestures/hammerjs-import.js.map +1 -1
  349. package/schematics/ng-add/index.js.map +1 -1
  350. package/schematics/ng-add/package-config.js.map +1 -1
  351. package/schematics/ng-add/schema.js.map +1 -1
  352. package/schematics/ng-add/setup-project.js.map +1 -1
  353. package/schematics/ng-add/theming/create-custom-theme.js.map +1 -1
  354. package/schematics/ng-add/theming/theming.js +1 -1
  355. package/schematics/ng-add/theming/theming.js.map +1 -1
  356. package/schematics/ng-add/version-names.d.ts +1 -1
  357. package/schematics/ng-add/version-names.js +1 -1
  358. package/schematics/ng-add/version-names.js.map +1 -1
  359. package/schematics/ng-generate/address-form/index.js.map +1 -1
  360. package/schematics/ng-generate/address-form/schema.js.map +1 -1
  361. package/schematics/ng-generate/dashboard/index.js.map +1 -1
  362. package/schematics/ng-generate/dashboard/schema.js.map +1 -1
  363. package/schematics/ng-generate/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +2 -2
  364. package/schematics/ng-generate/nav/index.js.map +1 -1
  365. package/schematics/ng-generate/nav/schema.js.map +1 -1
  366. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__-datasource.ts +3 -4
  367. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +2 -2
  368. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +11 -4
  369. package/schematics/ng-generate/table/index.js.map +1 -1
  370. package/schematics/ng-generate/table/schema.js.map +1 -1
  371. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/example-data.ts +1 -1
  372. package/schematics/ng-generate/tree/index.js.map +1 -1
  373. package/schematics/ng-generate/tree/schema.js.map +1 -1
  374. package/schematics/ng-update/data/attribute-selectors.js.map +1 -1
  375. package/schematics/ng-update/data/class-names.js +1 -1
  376. package/schematics/ng-update/data/class-names.js.map +1 -1
  377. package/schematics/ng-update/data/constructor-checks.js +22 -14
  378. package/schematics/ng-update/data/constructor-checks.js.map +1 -1
  379. package/schematics/ng-update/data/css-selectors.js +2 -2
  380. package/schematics/ng-update/data/css-selectors.js.map +1 -1
  381. package/schematics/ng-update/data/element-selectors.js +1 -1
  382. package/schematics/ng-update/data/element-selectors.js.map +1 -1
  383. package/schematics/ng-update/data/index.js.map +1 -1
  384. package/schematics/ng-update/data/input-names.js +7 -7
  385. package/schematics/ng-update/data/input-names.js.map +1 -1
  386. package/schematics/ng-update/data/method-call-checks.js.map +1 -1
  387. package/schematics/ng-update/data/output-names.js +4 -4
  388. package/schematics/ng-update/data/output-names.js.map +1 -1
  389. package/schematics/ng-update/data/property-names.js +11 -11
  390. package/schematics/ng-update/data/property-names.js.map +1 -1
  391. package/schematics/ng-update/index.js.map +1 -1
  392. package/schematics/ng-update/typescript/module-specifiers.js.map +1 -1
  393. package/schematics/ng-update/upgrade-data.js.map +1 -1
  394. package/schematics/ng-update/upgrade-rules/misc-checks/checkClassInheritanceMiscRule.js.map +1 -1
  395. package/schematics/ng-update/upgrade-rules/misc-checks/checkClassNamesMiscRule.js.map +1 -1
  396. package/schematics/ng-update/upgrade-rules/misc-checks/checkImportsMiscRule.d.ts +1 -1
  397. package/schematics/ng-update/upgrade-rules/misc-checks/checkImportsMiscRule.js +1 -1
  398. package/schematics/ng-update/upgrade-rules/misc-checks/checkImportsMiscRule.js.map +1 -1
  399. package/schematics/ng-update/upgrade-rules/misc-checks/checkPropertyNamesMiscRule.js.map +1 -1
  400. package/schematics/ng-update/upgrade-rules/misc-checks/checkTemplateMiscRule.js.map +1 -1
  401. package/schematics/ng-update/upgrade-rules/misc-ripples-v7/ripple-speed-factor.js.map +1 -1
  402. package/schematics/ng-update/upgrade-rules/misc-ripples-v7/rippleSpeedFactorAssignmentRule.js.map +1 -1
  403. package/schematics/ng-update/upgrade-rules/misc-ripples-v7/rippleSpeedFactorTemplateRule.js.map +1 -1
  404. package/schematics/ng-update/upgrade-rules/package-imports-v8/updateAngularMaterialImportsRule.js +21 -10
  405. package/schematics/ng-update/upgrade-rules/package-imports-v8/updateAngularMaterialImportsRule.js.map +1 -1
  406. package/select/typings/index.metadata.json +1 -1
  407. package/select/typings/select.d.ts +3 -2
  408. package/sidenav/typings/drawer.d.ts +8 -11
  409. package/sidenav/typings/index.metadata.json +1 -1
  410. package/slide-toggle/typings/index.metadata.json +1 -1
  411. package/slide-toggle/typings/slide-toggle.d.ts +6 -11
  412. package/slider/typings/index.metadata.json +1 -1
  413. package/slider/typings/slider.d.ts +3 -2
  414. package/sort/typings/index.metadata.json +1 -1
  415. package/sort/typings/sort-header.d.ts +2 -2
  416. package/sort/typings/sort.d.ts +3 -2
  417. package/stepper/typings/index.metadata.json +1 -1
  418. package/stepper/typings/step-header.d.ts +2 -0
  419. package/table/typings/index.metadata.json +1 -1
  420. package/table/typings/public-api.d.ts +1 -0
  421. package/table/typings/text-column.d.ts +19 -0
  422. package/tabs/typings/index.d.ts +1 -5
  423. package/tabs/typings/index.metadata.json +1 -1
  424. package/tabs/typings/tab-group.d.ts +3 -2
  425. package/tabs/typings/tab-header.d.ts +3 -2
  426. package/tabs/typings/tab-label-wrapper.d.ts +3 -2
  427. package/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts +5 -4
  428. package/tabs/typings/tab.d.ts +3 -2
  429. package/toolbar/typings/index.metadata.json +1 -1
  430. package/toolbar/typings/toolbar.d.ts +3 -2
  431. package/tree/typings/data-source/flat-data-source.d.ts +3 -3
  432. package/tree/typings/index.metadata.json +1 -1
  433. package/tree/typings/node.d.ts +3 -2
  434. package/typings/autocomplete/autocomplete-trigger.d.ts +13 -2
  435. package/typings/autocomplete/autocomplete.d.ts +3 -2
  436. package/typings/autocomplete/index.metadata.json +1 -1
  437. package/typings/badge/badge.d.ts +8 -2
  438. package/typings/badge/index.metadata.json +1 -1
  439. package/typings/button/button.d.ts +4 -3
  440. package/typings/button/index.metadata.json +1 -1
  441. package/typings/button-toggle/button-toggle.d.ts +7 -3
  442. package/typings/button-toggle/index.metadata.json +1 -1
  443. package/typings/checkbox/checkbox-module.d.ts +3 -0
  444. package/typings/checkbox/checkbox.d.ts +3 -2
  445. package/typings/checkbox/index.metadata.json +1 -1
  446. package/typings/chips/chip-list.d.ts +9 -2
  447. package/typings/chips/chip.d.ts +3 -2
  448. package/typings/chips/index.metadata.json +1 -1
  449. package/typings/core/index.metadata.json +1 -1
  450. package/typings/core/option/optgroup.d.ts +3 -2
  451. package/typings/core/public-api.d.ts +1 -0
  452. package/typings/core/ripple/ripple-renderer.d.ts +4 -4
  453. package/typings/{version.d.ts → core/version.d.ts} +0 -0
  454. package/typings/datepicker/datepicker.d.ts +3 -2
  455. package/typings/datepicker/index.d.ts +0 -1
  456. package/typings/datepicker/index.metadata.json +1 -1
  457. package/typings/datepicker/public-api.d.ts +1 -0
  458. package/typings/esm5/autocomplete/autocomplete-trigger.d.ts +13 -2
  459. package/typings/esm5/autocomplete/autocomplete.d.ts +3 -2
  460. package/typings/esm5/autocomplete/index.metadata.json +1 -1
  461. package/typings/esm5/badge/badge.d.ts +8 -2
  462. package/typings/esm5/badge/index.metadata.json +1 -1
  463. package/typings/esm5/button/button.d.ts +4 -3
  464. package/typings/esm5/button/index.metadata.json +1 -1
  465. package/typings/esm5/button-toggle/button-toggle.d.ts +7 -3
  466. package/typings/esm5/button-toggle/index.metadata.json +1 -1
  467. package/typings/esm5/checkbox/checkbox-module.d.ts +3 -0
  468. package/typings/esm5/checkbox/checkbox.d.ts +3 -2
  469. package/typings/esm5/checkbox/index.metadata.json +1 -1
  470. package/typings/esm5/chips/chip-list.d.ts +9 -2
  471. package/typings/esm5/chips/chip.d.ts +3 -2
  472. package/typings/esm5/chips/index.metadata.json +1 -1
  473. package/typings/esm5/core/index.metadata.json +1 -1
  474. package/typings/esm5/core/option/optgroup.d.ts +3 -2
  475. package/typings/esm5/core/public-api.d.ts +1 -0
  476. package/typings/esm5/core/ripple/ripple-renderer.d.ts +4 -4
  477. package/typings/esm5/core/version.d.ts +10 -0
  478. package/typings/esm5/datepicker/datepicker.d.ts +3 -2
  479. package/typings/esm5/datepicker/index.d.ts +0 -1
  480. package/typings/esm5/datepicker/index.metadata.json +1 -1
  481. package/typings/esm5/datepicker/public-api.d.ts +1 -0
  482. package/typings/esm5/form-field/form-field.d.ts +9 -3
  483. package/typings/esm5/form-field/index.metadata.json +1 -1
  484. package/typings/esm5/grid-list/index.d.ts +1 -1
  485. package/typings/esm5/grid-list/index.metadata.json +1 -1
  486. package/typings/esm5/icon/icon.d.ts +3 -2
  487. package/typings/esm5/icon/index.metadata.json +1 -1
  488. package/typings/esm5/index.metadata.json +1 -1
  489. package/typings/esm5/input/index.metadata.json +1 -1
  490. package/typings/esm5/input/input.d.ts +3 -2
  491. package/typings/esm5/list/index.metadata.json +1 -1
  492. package/typings/esm5/list/list.d.ts +5 -4
  493. package/typings/esm5/list/selection-list.d.ts +7 -4
  494. package/typings/esm5/menu/index.d.ts +2 -4
  495. package/typings/esm5/menu/index.metadata.json +1 -1
  496. package/typings/esm5/menu/menu-item.d.ts +3 -2
  497. package/typings/esm5/menu/menu-module.d.ts +6 -0
  498. package/typings/esm5/menu/menu-trigger.d.ts +1 -3
  499. package/typings/esm5/menu/menu.d.ts +158 -5
  500. package/typings/esm5/menu/public-api.d.ts +5 -2
  501. package/typings/esm5/paginator/index.metadata.json +1 -1
  502. package/typings/esm5/paginator/paginator.d.ts +3 -2
  503. package/typings/esm5/progress-bar/index.metadata.json +1 -1
  504. package/typings/esm5/progress-bar/progress-bar.d.ts +8 -7
  505. package/typings/esm5/progress-spinner/index.metadata.json +1 -1
  506. package/typings/esm5/progress-spinner/progress-spinner.d.ts +5 -4
  507. package/typings/esm5/public-api.d.ts +0 -1
  508. package/typings/esm5/radio/index.metadata.json +1 -1
  509. package/typings/esm5/radio/radio.d.ts +10 -4
  510. package/typings/esm5/select/index.metadata.json +1 -1
  511. package/typings/esm5/select/select.d.ts +3 -2
  512. package/typings/esm5/sidenav/drawer.d.ts +8 -11
  513. package/typings/esm5/sidenav/index.metadata.json +1 -1
  514. package/typings/esm5/slide-toggle/index.metadata.json +1 -1
  515. package/typings/esm5/slide-toggle/slide-toggle.d.ts +6 -11
  516. package/typings/esm5/slider/index.metadata.json +1 -1
  517. package/typings/esm5/slider/slider.d.ts +3 -2
  518. package/typings/esm5/sort/index.metadata.json +1 -1
  519. package/typings/esm5/sort/sort-header.d.ts +2 -2
  520. package/typings/esm5/sort/sort.d.ts +3 -2
  521. package/typings/esm5/stepper/index.metadata.json +1 -1
  522. package/typings/esm5/stepper/step-header.d.ts +2 -0
  523. package/typings/esm5/table/index.metadata.json +1 -1
  524. package/typings/esm5/table/public-api.d.ts +1 -0
  525. package/typings/esm5/table/text-column.d.ts +19 -0
  526. package/typings/esm5/tabs/index.d.ts +1 -5
  527. package/typings/esm5/tabs/index.metadata.json +1 -1
  528. package/typings/esm5/tabs/tab-group.d.ts +3 -2
  529. package/typings/esm5/tabs/tab-header.d.ts +3 -2
  530. package/typings/esm5/tabs/tab-label-wrapper.d.ts +3 -2
  531. package/typings/esm5/tabs/tab-nav-bar/tab-nav-bar.d.ts +5 -4
  532. package/typings/esm5/tabs/tab.d.ts +3 -2
  533. package/typings/esm5/toolbar/index.metadata.json +1 -1
  534. package/typings/esm5/toolbar/toolbar.d.ts +3 -2
  535. package/typings/esm5/tree/data-source/flat-data-source.d.ts +3 -3
  536. package/typings/esm5/tree/index.metadata.json +1 -1
  537. package/typings/esm5/tree/node.d.ts +3 -2
  538. package/typings/form-field/form-field.d.ts +9 -3
  539. package/typings/form-field/index.metadata.json +1 -1
  540. package/typings/grid-list/index.d.ts +1 -1
  541. package/typings/grid-list/index.metadata.json +1 -1
  542. package/typings/icon/icon.d.ts +3 -2
  543. package/typings/icon/index.metadata.json +1 -1
  544. package/typings/index.metadata.json +1 -1
  545. package/typings/input/index.metadata.json +1 -1
  546. package/typings/input/input.d.ts +3 -2
  547. package/typings/list/index.metadata.json +1 -1
  548. package/typings/list/list.d.ts +5 -4
  549. package/typings/list/selection-list.d.ts +7 -4
  550. package/typings/menu/index.d.ts +2 -4
  551. package/typings/menu/index.metadata.json +1 -1
  552. package/typings/menu/menu-item.d.ts +3 -2
  553. package/typings/menu/menu-module.d.ts +6 -0
  554. package/typings/menu/menu-trigger.d.ts +1 -3
  555. package/typings/menu/menu.d.ts +158 -5
  556. package/typings/menu/public-api.d.ts +5 -2
  557. package/typings/paginator/index.metadata.json +1 -1
  558. package/typings/paginator/paginator.d.ts +3 -2
  559. package/typings/progress-bar/index.metadata.json +1 -1
  560. package/typings/progress-bar/progress-bar.d.ts +8 -7
  561. package/typings/progress-spinner/index.metadata.json +1 -1
  562. package/typings/progress-spinner/progress-spinner.d.ts +5 -4
  563. package/typings/public-api.d.ts +0 -1
  564. package/typings/radio/index.metadata.json +1 -1
  565. package/typings/radio/radio.d.ts +10 -4
  566. package/typings/schematics/ng-add/fonts/project-index-html.d.ts +1 -1
  567. package/typings/schematics/ng-add/version-names.d.ts +1 -1
  568. package/typings/schematics/ng-update/upgrade-rules/misc-checks/checkImportsMiscRule.d.ts +1 -1
  569. package/typings/select/index.metadata.json +1 -1
  570. package/typings/select/select.d.ts +3 -2
  571. package/typings/sidenav/drawer.d.ts +8 -11
  572. package/typings/sidenav/index.metadata.json +1 -1
  573. package/typings/slide-toggle/index.metadata.json +1 -1
  574. package/typings/slide-toggle/slide-toggle.d.ts +6 -11
  575. package/typings/slider/index.metadata.json +1 -1
  576. package/typings/slider/slider.d.ts +3 -2
  577. package/typings/sort/index.metadata.json +1 -1
  578. package/typings/sort/sort-header.d.ts +2 -2
  579. package/typings/sort/sort.d.ts +3 -2
  580. package/typings/stepper/index.metadata.json +1 -1
  581. package/typings/stepper/step-header.d.ts +2 -0
  582. package/typings/table/index.metadata.json +1 -1
  583. package/typings/table/public-api.d.ts +1 -0
  584. package/typings/table/text-column.d.ts +19 -0
  585. package/typings/tabs/index.d.ts +1 -5
  586. package/typings/tabs/index.metadata.json +1 -1
  587. package/typings/tabs/tab-group.d.ts +3 -2
  588. package/typings/tabs/tab-header.d.ts +3 -2
  589. package/typings/tabs/tab-label-wrapper.d.ts +3 -2
  590. package/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts +5 -4
  591. package/typings/tabs/tab.d.ts +3 -2
  592. package/typings/toolbar/index.metadata.json +1 -1
  593. package/typings/toolbar/toolbar.d.ts +3 -2
  594. package/typings/tree/data-source/flat-data-source.d.ts +3 -3
  595. package/typings/tree/index.metadata.json +1 -1
  596. package/typings/tree/node.d.ts +3 -2
  597. package/menu/typings/menu-directive.d.ts +0 -159
  598. package/typings/esm5/menu/menu-directive.d.ts +0 -159
  599. package/typings/menu/menu-directive.d.ts +0 -159
@@ -42,7 +42,7 @@ function __extends(d, b) {
42
42
 
43
43
  /**
44
44
  * @fileoverview added by tsickle
45
- * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
45
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
46
46
  */
47
47
  /**
48
48
  * Animations used by the Material drawers.
@@ -74,7 +74,7 @@ var matDrawerAnimations = {
74
74
 
75
75
  /**
76
76
  * @fileoverview added by tsickle
77
- * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
77
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
78
78
  */
79
79
  /**
80
80
  * Throws an exception when two MatDrawer are matching the same position.
@@ -116,9 +116,12 @@ var MatDrawerContent = /** @class */ (function (_super) {
116
116
  */
117
117
  function () {
118
118
  var _this = this;
119
- this._container._contentMarginChanges.subscribe(function () {
119
+ this._container._contentMarginChanges.subscribe((/**
120
+ * @return {?}
121
+ */
122
+ function () {
120
123
  _this._changeDetectorRef.markForCheck();
121
- });
124
+ }));
122
125
  };
123
126
  MatDrawerContent.decorators = [
124
127
  { type: core.Component, args: [{selector: 'mat-drawer-content',
@@ -135,7 +138,10 @@ var MatDrawerContent = /** @class */ (function (_super) {
135
138
  /** @nocollapse */
136
139
  MatDrawerContent.ctorParameters = function () { return [
137
140
  { type: core.ChangeDetectorRef },
138
- { type: MatDrawerContainer, decorators: [{ type: core.Inject, args: [core.forwardRef(function () { return MatDrawerContainer; }),] }] },
141
+ { type: MatDrawerContainer, decorators: [{ type: core.Inject, args: [core.forwardRef((/**
142
+ * @return {?}
143
+ */
144
+ function () { return MatDrawerContainer; })),] }] },
139
145
  { type: core.ElementRef },
140
146
  { type: scrolling.ScrollDispatcher },
141
147
  { type: core.NgZone }
@@ -174,6 +180,10 @@ var MatDrawer = /** @class */ (function () {
174
180
  /**
175
181
  * Current state of the sidenav animation.
176
182
  */
183
+ // @HostBinding is used in the class as it is expected to be extended. Since @Component decorator
184
+ // metadata is not inherited by child classes, instead the host binding data is defined in a way
185
+ // that can be inherited.
186
+ // tslint:disable:no-host-decorator-in-concrete
177
187
  this._animationState = 'void';
178
188
  /**
179
189
  * Event emitted when the drawer open state is changed.
@@ -196,7 +206,11 @@ var MatDrawer = /** @class */ (function () {
196
206
  */
197
207
  this._modeChanged = new rxjs.Subject();
198
208
  this._opened = false;
199
- this.openedChange.subscribe(function (opened) {
209
+ this.openedChange.subscribe((/**
210
+ * @param {?} opened
211
+ * @return {?}
212
+ */
213
+ function (opened) {
200
214
  if (opened) {
201
215
  if (_this._doc) {
202
216
  _this._elementFocusedBeforeDrawerWasOpened = (/** @type {?} */ (_this._doc.activeElement));
@@ -208,29 +222,52 @@ var MatDrawer = /** @class */ (function () {
208
222
  else {
209
223
  _this._restoreFocus();
210
224
  }
211
- });
225
+ }));
212
226
  /**
213
227
  * Listen to `keydown` events outside the zone so that change detection is not run every
214
228
  * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed
215
229
  * and we don't have close disabled.
216
230
  */
217
- this._ngZone.runOutsideAngular(function () {
218
- ((/** @type {?} */ (rxjs.fromEvent(_this._elementRef.nativeElement, 'keydown')))).pipe(operators.filter(function (event) { return event.keyCode === keycodes.ESCAPE && !_this.disableClose; }), operators.takeUntil(_this._destroyed)).subscribe(function (event) { return _this._ngZone.run(function () {
231
+ this._ngZone.runOutsideAngular((/**
232
+ * @return {?}
233
+ */
234
+ function () {
235
+ ((/** @type {?} */ (rxjs.fromEvent(_this._elementRef.nativeElement, 'keydown')))).pipe(operators.filter((/**
236
+ * @param {?} event
237
+ * @return {?}
238
+ */
239
+ function (event) { return event.keyCode === keycodes.ESCAPE && !_this.disableClose; })), operators.takeUntil(_this._destroyed)).subscribe((/**
240
+ * @param {?} event
241
+ * @return {?}
242
+ */
243
+ function (event) { return _this._ngZone.run((/**
244
+ * @return {?}
245
+ */
246
+ function () {
219
247
  _this.close();
220
248
  event.stopPropagation();
221
- }); });
222
- });
249
+ })); }));
250
+ }));
223
251
  // We need a Subject with distinctUntilChanged, because the `done` event
224
252
  // fires twice on some browsers. See https://github.com/angular/angular/issues/24084
225
- this._animationEnd.pipe(operators.distinctUntilChanged(function (x, y) {
253
+ this._animationEnd.pipe(operators.distinctUntilChanged((/**
254
+ * @param {?} x
255
+ * @param {?} y
256
+ * @return {?}
257
+ */
258
+ function (x, y) {
226
259
  return x.fromState === y.fromState && x.toState === y.toState;
227
- })).subscribe(function (event) {
260
+ }))).subscribe((/**
261
+ * @param {?} event
262
+ * @return {?}
263
+ */
264
+ function (event) {
228
265
  var fromState = event.fromState, toState = event.toState;
229
266
  if ((toState.indexOf('open') === 0 && fromState === 'void') ||
230
267
  (toState === 'void' && fromState.indexOf('open') === 0)) {
231
268
  _this.openedChange.emit(_this._opened);
232
269
  }
233
- });
270
+ }));
234
271
  }
235
272
  Object.defineProperty(MatDrawer.prototype, "position", {
236
273
  /** The side that the drawer is attached to. */
@@ -309,7 +346,14 @@ var MatDrawer = /** @class */ (function () {
309
346
  * @return {?}
310
347
  */
311
348
  function () {
312
- return this.openedChange.pipe(operators.filter(function (o) { return o; }), operators.map(function () { }));
349
+ return this.openedChange.pipe(operators.filter((/**
350
+ * @param {?} o
351
+ * @return {?}
352
+ */
353
+ function (o) { return o; })), operators.map((/**
354
+ * @return {?}
355
+ */
356
+ function () { })));
313
357
  },
314
358
  enumerable: true,
315
359
  configurable: true
@@ -321,7 +365,14 @@ var MatDrawer = /** @class */ (function () {
321
365
  * @return {?}
322
366
  */
323
367
  function () {
324
- return this._animationStarted.pipe(operators.filter(function (e) { return e.fromState !== e.toState && e.toState.indexOf('open') === 0; }), operators.map(function () { }));
368
+ return this._animationStarted.pipe(operators.filter((/**
369
+ * @param {?} e
370
+ * @return {?}
371
+ */
372
+ function (e) { return e.fromState !== e.toState && e.toState.indexOf('open') === 0; })), operators.map((/**
373
+ * @return {?}
374
+ */
375
+ function () { })));
325
376
  },
326
377
  enumerable: true,
327
378
  configurable: true
@@ -333,7 +384,14 @@ var MatDrawer = /** @class */ (function () {
333
384
  * @return {?}
334
385
  */
335
386
  function () {
336
- return this.openedChange.pipe(operators.filter(function (o) { return !o; }), operators.map(function () { }));
387
+ return this.openedChange.pipe(operators.filter((/**
388
+ * @param {?} o
389
+ * @return {?}
390
+ */
391
+ function (o) { return !o; })), operators.map((/**
392
+ * @return {?}
393
+ */
394
+ function () { })));
337
395
  },
338
396
  enumerable: true,
339
397
  configurable: true
@@ -345,7 +403,14 @@ var MatDrawer = /** @class */ (function () {
345
403
  * @return {?}
346
404
  */
347
405
  function () {
348
- return this._animationStarted.pipe(operators.filter(function (e) { return e.fromState !== e.toState && e.toState === 'void'; }), operators.map(function () { }));
406
+ return this._animationStarted.pipe(operators.filter((/**
407
+ * @param {?} e
408
+ * @return {?}
409
+ */
410
+ function (e) { return e.fromState !== e.toState && e.toState === 'void'; })), operators.map((/**
411
+ * @return {?}
412
+ */
413
+ function () { })));
349
414
  },
350
415
  enumerable: true,
351
416
  configurable: true
@@ -377,13 +442,17 @@ var MatDrawer = /** @class */ (function () {
377
442
  if (!this.autoFocus) {
378
443
  return;
379
444
  }
380
- this._focusTrap.focusInitialElementWhenReady().then(function (hasMovedFocus) {
445
+ this._focusTrap.focusInitialElementWhenReady().then((/**
446
+ * @param {?} hasMovedFocus
447
+ * @return {?}
448
+ */
449
+ function (hasMovedFocus) {
381
450
  // If there were no focusable elements, focus the sidenav itself so the keyboard navigation
382
451
  // still works. We need to check that `focus` is a function due to Universal.
383
452
  if (!hasMovedFocus && typeof _this._elementRef.nativeElement.focus === 'function') {
384
453
  _this._elementRef.nativeElement.focus();
385
454
  }
386
- });
455
+ }));
387
456
  };
388
457
  /**
389
458
  * If focus is currently inside the drawer, restores it to where it was before the drawer
@@ -546,9 +615,17 @@ var MatDrawer = /** @class */ (function () {
546
615
  if (this._focusTrap) {
547
616
  this._focusTrap.enabled = this._isFocusTrapEnabled;
548
617
  }
549
- return new Promise(function (resolve) {
550
- _this.openedChange.pipe(operators.take(1)).subscribe(function (open) { return resolve(open ? 'open' : 'close'); });
551
- });
618
+ return new Promise((/**
619
+ * @param {?} resolve
620
+ * @return {?}
621
+ */
622
+ function (resolve) {
623
+ _this.openedChange.pipe(operators.take(1)).subscribe((/**
624
+ * @param {?} open
625
+ * @return {?}
626
+ */
627
+ function (open) { return resolve(open ? 'open' : 'close'); }));
628
+ }));
552
629
  };
553
630
  Object.defineProperty(MatDrawer.prototype, "_width", {
554
631
  get: /**
@@ -560,6 +637,60 @@ var MatDrawer = /** @class */ (function () {
560
637
  enumerable: true,
561
638
  configurable: true
562
639
  });
640
+ // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
641
+ // In Ivy the `host` bindings will be merged when this class is extended, whereas in
642
+ // ViewEngine they're overwritte.
643
+ // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
644
+ // tslint:disable-next-line:no-host-decorator-in-concrete
645
+ // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
646
+ // In Ivy the `host` bindings will be merged when this class is extended, whereas in
647
+ // ViewEngine they're overwritte.
648
+ // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
649
+ // tslint:disable-next-line:no-host-decorator-in-concrete
650
+ /**
651
+ * @param {?} event
652
+ * @return {?}
653
+ */
654
+ MatDrawer.prototype._animationStartListener =
655
+ // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
656
+ // In Ivy the `host` bindings will be merged when this class is extended, whereas in
657
+ // ViewEngine they're overwritte.
658
+ // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
659
+ // tslint:disable-next-line:no-host-decorator-in-concrete
660
+ /**
661
+ * @param {?} event
662
+ * @return {?}
663
+ */
664
+ function (event) {
665
+ this._animationStarted.next(event);
666
+ };
667
+ // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
668
+ // In Ivy the `host` bindings will be merged when this class is extended, whereas in
669
+ // ViewEngine they're overwritte.
670
+ // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
671
+ // tslint:disable-next-line:no-host-decorator-in-concrete
672
+ // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
673
+ // In Ivy the `host` bindings will be merged when this class is extended, whereas in
674
+ // ViewEngine they're overwritte.
675
+ // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
676
+ // tslint:disable-next-line:no-host-decorator-in-concrete
677
+ /**
678
+ * @param {?} event
679
+ * @return {?}
680
+ */
681
+ MatDrawer.prototype._animationDoneListener =
682
+ // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
683
+ // In Ivy the `host` bindings will be merged when this class is extended, whereas in
684
+ // ViewEngine they're overwritte.
685
+ // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
686
+ // tslint:disable-next-line:no-host-decorator-in-concrete
687
+ /**
688
+ * @param {?} event
689
+ * @return {?}
690
+ */
691
+ function (event) {
692
+ this._animationEnd.next(event);
693
+ };
563
694
  MatDrawer.decorators = [
564
695
  { type: core.Component, args: [{selector: 'mat-drawer',
565
696
  exportAs: 'matDrawer',
@@ -567,9 +698,6 @@ var MatDrawer = /** @class */ (function () {
567
698
  animations: [matDrawerAnimations.transformDrawer],
568
699
  host: {
569
700
  'class': 'mat-drawer',
570
- '[@transform]': '_animationState',
571
- '(@transform.start)': '_animationStarted.next($event)',
572
- '(@transform.done)': '_animationEnd.next($event)',
573
701
  // must prevent the browser from aligning text based on value
574
702
  '[attr.align]': 'null',
575
703
  '[class.mat-drawer-end]': 'position === "end"',
@@ -596,13 +724,16 @@ var MatDrawer = /** @class */ (function () {
596
724
  mode: [{ type: core.Input }],
597
725
  disableClose: [{ type: core.Input }],
598
726
  autoFocus: [{ type: core.Input }],
727
+ _animationState: [{ type: core.HostBinding, args: ['@transform',] }],
599
728
  openedChange: [{ type: core.Output }],
600
729
  _openedStream: [{ type: core.Output, args: ['opened',] }],
601
730
  openedStart: [{ type: core.Output }],
602
731
  _closedStream: [{ type: core.Output, args: ['closed',] }],
603
732
  closedStart: [{ type: core.Output }],
604
733
  onPositionChanged: [{ type: core.Output, args: ['positionChanged',] }],
605
- opened: [{ type: core.Input }]
734
+ opened: [{ type: core.Input }],
735
+ _animationStartListener: [{ type: core.HostListener, args: ['@transform.start', ['$event'],] }],
736
+ _animationDoneListener: [{ type: core.HostListener, args: ['@transform.done', ['$event'],] }]
606
737
  };
607
738
  return MatDrawer;
608
739
  }());
@@ -613,14 +744,9 @@ var MatDrawer = /** @class */ (function () {
613
744
  * and coordinates the backdrop and content styling.
614
745
  */
615
746
  var MatDrawerContainer = /** @class */ (function () {
616
- function MatDrawerContainer(_dir, _element, _ngZone, _changeDetectorRef, defaultAutosize, _animationMode,
617
- /**
618
- * @deprecated viewportRuler to become a required parameter.
619
- * @breaking-change 8.0.0
620
- */
621
- viewportRuler) {
622
- if (defaultAutosize === void 0) { defaultAutosize = false; }
747
+ function MatDrawerContainer(_dir, _element, _ngZone, _changeDetectorRef, viewportRuler, defaultAutosize, _animationMode) {
623
748
  var _this = this;
749
+ if (defaultAutosize === void 0) { defaultAutosize = false; }
624
750
  this._dir = _dir;
625
751
  this._element = _element;
626
752
  this._ngZone = _ngZone;
@@ -648,18 +774,22 @@ var MatDrawerContainer = /** @class */ (function () {
648
774
  // If a `Dir` directive exists up the tree, listen direction changes
649
775
  // and update the left/right properties to point to the proper start/end.
650
776
  if (_dir) {
651
- _dir.change.pipe(operators.takeUntil(this._destroyed)).subscribe(function () {
777
+ _dir.change.pipe(operators.takeUntil(this._destroyed)).subscribe((/**
778
+ * @return {?}
779
+ */
780
+ function () {
652
781
  _this._validateDrawers();
653
- _this._updateContentMargins();
654
- });
782
+ _this.updateContentMargins();
783
+ }));
655
784
  }
656
785
  // Since the minimum width of the sidenav depends on the viewport width,
657
786
  // we need to recompute the margins if the viewport changes.
658
- if (viewportRuler) {
659
- viewportRuler.change()
660
- .pipe(operators.takeUntil(this._destroyed))
661
- .subscribe(function () { return _this._updateContentMargins(); });
662
- }
787
+ viewportRuler.change()
788
+ .pipe(operators.takeUntil(this._destroyed))
789
+ .subscribe((/**
790
+ * @return {?}
791
+ */
792
+ function () { return _this.updateContentMargins(); }));
663
793
  this._autosize = defaultAutosize;
664
794
  }
665
795
  Object.defineProperty(MatDrawerContainer.prototype, "start", {
@@ -757,22 +887,32 @@ var MatDrawerContainer = /** @class */ (function () {
757
887
  */
758
888
  function () {
759
889
  var _this = this;
760
- this._drawers.changes.pipe(operators.startWith(null)).subscribe(function () {
890
+ this._drawers.changes.pipe(operators.startWith(null)).subscribe((/**
891
+ * @return {?}
892
+ */
893
+ function () {
761
894
  _this._validateDrawers();
762
- _this._drawers.forEach(function (drawer) {
895
+ _this._drawers.forEach((/**
896
+ * @param {?} drawer
897
+ * @return {?}
898
+ */
899
+ function (drawer) {
763
900
  _this._watchDrawerToggle(drawer);
764
901
  _this._watchDrawerPosition(drawer);
765
902
  _this._watchDrawerMode(drawer);
766
- });
903
+ }));
767
904
  if (!_this._drawers.length ||
768
905
  _this._isDrawerOpen(_this._start) ||
769
906
  _this._isDrawerOpen(_this._end)) {
770
- _this._updateContentMargins();
907
+ _this.updateContentMargins();
771
908
  }
772
909
  _this._changeDetectorRef.markForCheck();
773
- });
910
+ }));
774
911
  this._doCheckSubject.pipe(operators.debounceTime(10), // Arbitrary debounce time, less than a frame at 60fps
775
- operators.takeUntil(this._destroyed)).subscribe(function () { return _this._updateContentMargins(); });
912
+ operators.takeUntil(this._destroyed)).subscribe((/**
913
+ * @return {?}
914
+ */
915
+ function () { return _this.updateContentMargins(); }));
776
916
  };
777
917
  /**
778
918
  * @return {?}
@@ -796,7 +936,11 @@ var MatDrawerContainer = /** @class */ (function () {
796
936
  * @return {?}
797
937
  */
798
938
  function () {
799
- this._drawers.forEach(function (drawer) { return drawer.open(); });
939
+ this._drawers.forEach((/**
940
+ * @param {?} drawer
941
+ * @return {?}
942
+ */
943
+ function (drawer) { return drawer.open(); }));
800
944
  };
801
945
  /** Calls `close` of both start and end drawers */
802
946
  /**
@@ -808,7 +952,75 @@ var MatDrawerContainer = /** @class */ (function () {
808
952
  * @return {?}
809
953
  */
810
954
  function () {
811
- this._drawers.forEach(function (drawer) { return drawer.close(); });
955
+ this._drawers.forEach((/**
956
+ * @param {?} drawer
957
+ * @return {?}
958
+ */
959
+ function (drawer) { return drawer.close(); }));
960
+ };
961
+ /**
962
+ * Recalculates and updates the inline styles for the content. Note that this should be used
963
+ * sparingly, because it causes a reflow.
964
+ */
965
+ /**
966
+ * Recalculates and updates the inline styles for the content. Note that this should be used
967
+ * sparingly, because it causes a reflow.
968
+ * @return {?}
969
+ */
970
+ MatDrawerContainer.prototype.updateContentMargins = /**
971
+ * Recalculates and updates the inline styles for the content. Note that this should be used
972
+ * sparingly, because it causes a reflow.
973
+ * @return {?}
974
+ */
975
+ function () {
976
+ var _this = this;
977
+ // 1. For drawers in `over` mode, they don't affect the content.
978
+ // 2. For drawers in `side` mode they should shrink the content. We do this by adding to the
979
+ // left margin (for left drawer) or right margin (for right the drawer).
980
+ // 3. For drawers in `push` mode the should shift the content without resizing it. We do this by
981
+ // adding to the left or right margin and simultaneously subtracting the same amount of
982
+ // margin from the other side.
983
+ /** @type {?} */
984
+ var left = 0;
985
+ /** @type {?} */
986
+ var right = 0;
987
+ if (this._left && this._left.opened) {
988
+ if (this._left.mode == 'side') {
989
+ left += this._left._width;
990
+ }
991
+ else if (this._left.mode == 'push') {
992
+ /** @type {?} */
993
+ var width = this._left._width;
994
+ left += width;
995
+ right -= width;
996
+ }
997
+ }
998
+ if (this._right && this._right.opened) {
999
+ if (this._right.mode == 'side') {
1000
+ right += this._right._width;
1001
+ }
1002
+ else if (this._right.mode == 'push') {
1003
+ /** @type {?} */
1004
+ var width = this._right._width;
1005
+ right += width;
1006
+ left -= width;
1007
+ }
1008
+ }
1009
+ // If either `right` or `left` is zero, don't set a style to the element. This
1010
+ // allows users to specify a custom size via CSS class in SSR scenarios where the
1011
+ // measured widths will always be zero. Note that we reset to `null` here, rather
1012
+ // than below, in order to ensure that the types in the `if` below are consistent.
1013
+ left = left || (/** @type {?} */ (null));
1014
+ right = right || (/** @type {?} */ (null));
1015
+ if (left !== this._contentMargins.left || right !== this._contentMargins.right) {
1016
+ this._contentMargins = { left: left, right: right };
1017
+ // Pull back into the NgZone since in some cases we could be outside. We need to be careful
1018
+ // to do it only when something changed, otherwise we can end up hitting the zone too often.
1019
+ this._ngZone.run((/**
1020
+ * @return {?}
1021
+ */
1022
+ function () { return _this._contentMarginChanges.next(_this._contentMargins); }));
1023
+ }
812
1024
  };
813
1025
  /**
814
1026
  * @return {?}
@@ -821,7 +1033,10 @@ var MatDrawerContainer = /** @class */ (function () {
821
1033
  // If users opted into autosizing, do a check every change detection cycle.
822
1034
  if (this._autosize && this._isPushed()) {
823
1035
  // Run outside the NgZone, otherwise the debouncer will throw us into an infinite loop.
824
- this._ngZone.runOutsideAngular(function () { return _this._doCheckSubject.next(); });
1036
+ this._ngZone.runOutsideAngular((/**
1037
+ * @return {?}
1038
+ */
1039
+ function () { return _this._doCheckSubject.next(); }));
825
1040
  }
826
1041
  };
827
1042
  /**
@@ -847,20 +1062,31 @@ var MatDrawerContainer = /** @class */ (function () {
847
1062
  */
848
1063
  function (drawer) {
849
1064
  var _this = this;
850
- drawer._animationStarted.pipe(operators.filter(function (event) { return event.fromState !== event.toState; }), operators.takeUntil(this._drawers.changes))
851
- .subscribe(function (event) {
1065
+ drawer._animationStarted.pipe(operators.filter((/**
1066
+ * @param {?} event
1067
+ * @return {?}
1068
+ */
1069
+ function (event) { return event.fromState !== event.toState; })), operators.takeUntil(this._drawers.changes))
1070
+ .subscribe((/**
1071
+ * @param {?} event
1072
+ * @return {?}
1073
+ */
1074
+ function (event) {
852
1075
  // Set the transition class on the container so that the animations occur. This should not
853
1076
  // be set initially because animations should only be triggered via a change in state.
854
1077
  if (event.toState !== 'open-instant' && _this._animationMode !== 'NoopAnimations') {
855
1078
  _this._element.nativeElement.classList.add('mat-drawer-transition');
856
1079
  }
857
- _this._updateContentMargins();
1080
+ _this.updateContentMargins();
858
1081
  _this._changeDetectorRef.markForCheck();
859
- });
1082
+ }));
860
1083
  if (drawer.mode !== 'side') {
861
- drawer.openedChange.pipe(operators.takeUntil(this._drawers.changes)).subscribe(function () {
1084
+ drawer.openedChange.pipe(operators.takeUntil(this._drawers.changes)).subscribe((/**
1085
+ * @return {?}
1086
+ */
1087
+ function () {
862
1088
  return _this._setContainerClass(drawer.opened);
863
- });
1089
+ }));
864
1090
  }
865
1091
  };
866
1092
  /**
@@ -888,11 +1114,17 @@ var MatDrawerContainer = /** @class */ (function () {
888
1114
  }
889
1115
  // NOTE: We need to wait for the microtask queue to be empty before validating,
890
1116
  // since both drawers may be swapping positions at the same time.
891
- drawer.onPositionChanged.pipe(operators.takeUntil(this._drawers.changes)).subscribe(function () {
892
- _this._ngZone.onMicrotaskEmpty.asObservable().pipe(operators.take(1)).subscribe(function () {
1117
+ drawer.onPositionChanged.pipe(operators.takeUntil(this._drawers.changes)).subscribe((/**
1118
+ * @return {?}
1119
+ */
1120
+ function () {
1121
+ _this._ngZone.onMicrotaskEmpty.asObservable().pipe(operators.take(1)).subscribe((/**
1122
+ * @return {?}
1123
+ */
1124
+ function () {
893
1125
  _this._validateDrawers();
894
- });
895
- });
1126
+ }));
1127
+ }));
896
1128
  };
897
1129
  /** Subscribes to changes in drawer mode so we can run change detection. */
898
1130
  /**
@@ -911,10 +1143,13 @@ var MatDrawerContainer = /** @class */ (function () {
911
1143
  var _this = this;
912
1144
  if (drawer) {
913
1145
  drawer._modeChanged.pipe(operators.takeUntil(rxjs.merge(this._drawers.changes, this._destroyed)))
914
- .subscribe(function () {
915
- _this._updateContentMargins();
1146
+ .subscribe((/**
1147
+ * @return {?}
1148
+ */
1149
+ function () {
1150
+ _this.updateContentMargins();
916
1151
  _this._changeDetectorRef.markForCheck();
917
- });
1152
+ }));
918
1153
  }
919
1154
  };
920
1155
  /** Toggles the 'mat-drawer-opened' class on the main 'mat-drawer-container' element. */
@@ -953,7 +1188,11 @@ var MatDrawerContainer = /** @class */ (function () {
953
1188
  var _this = this;
954
1189
  this._start = this._end = null;
955
1190
  // Ensure that we have at most one start and one end drawer.
956
- this._drawers.forEach(function (drawer) {
1191
+ this._drawers.forEach((/**
1192
+ * @param {?} drawer
1193
+ * @return {?}
1194
+ */
1195
+ function (drawer) {
957
1196
  if (drawer.position == 'end') {
958
1197
  if (_this._end != null) {
959
1198
  throwMatDuplicatedDrawerError('end');
@@ -966,7 +1205,7 @@ var MatDrawerContainer = /** @class */ (function () {
966
1205
  }
967
1206
  _this._start = drawer;
968
1207
  }
969
- });
1208
+ }));
970
1209
  this._right = this._left = null;
971
1210
  // Detect if we're LTR or RTL.
972
1211
  if (this._dir && this._dir.value === 'rtl') {
@@ -1013,8 +1252,16 @@ var MatDrawerContainer = /** @class */ (function () {
1013
1252
  var _this = this;
1014
1253
  // Close all open drawers where closing is not disabled and the mode is not `side`.
1015
1254
  [this._start, this._end]
1016
- .filter(function (drawer) { return drawer && !drawer.disableClose && _this._canHaveBackdrop(drawer); })
1017
- .forEach(function (drawer) { return (/** @type {?} */ (drawer)).close(); });
1255
+ .filter((/**
1256
+ * @param {?} drawer
1257
+ * @return {?}
1258
+ */
1259
+ function (drawer) { return drawer && !drawer.disableClose && _this._canHaveBackdrop(drawer); }))
1260
+ .forEach((/**
1261
+ * @param {?} drawer
1262
+ * @return {?}
1263
+ */
1264
+ function (drawer) { return (/** @type {?} */ (drawer)).close(); }));
1018
1265
  };
1019
1266
  /**
1020
1267
  * @return {?}
@@ -1052,75 +1299,6 @@ var MatDrawerContainer = /** @class */ (function () {
1052
1299
  function (drawer) {
1053
1300
  return drawer != null && drawer.opened;
1054
1301
  };
1055
- /**
1056
- * Recalculates and updates the inline styles for the content. Note that this should be used
1057
- * sparingly, because it causes a reflow.
1058
- */
1059
- /**
1060
- * Recalculates and updates the inline styles for the content. Note that this should be used
1061
- * sparingly, because it causes a reflow.
1062
- * @private
1063
- * @return {?}
1064
- */
1065
- MatDrawerContainer.prototype._updateContentMargins = /**
1066
- * Recalculates and updates the inline styles for the content. Note that this should be used
1067
- * sparingly, because it causes a reflow.
1068
- * @private
1069
- * @return {?}
1070
- */
1071
- function () {
1072
- // 1. For drawers in `over` mode, they don't affect the content.
1073
- // 2. For drawers in `side` mode they should shrink the content. We do this by adding to the
1074
- // left margin (for left drawer) or right margin (for right the drawer).
1075
- // 3. For drawers in `push` mode the should shift the content without resizing it. We do this by
1076
- // adding to the left or right margin and simultaneously subtracting the same amount of
1077
- // margin from the other side.
1078
- var _this = this;
1079
- // 1. For drawers in `over` mode, they don't affect the content.
1080
- // 2. For drawers in `side` mode they should shrink the content. We do this by adding to the
1081
- // left margin (for left drawer) or right margin (for right the drawer).
1082
- // 3. For drawers in `push` mode the should shift the content without resizing it. We do this by
1083
- // adding to the left or right margin and simultaneously subtracting the same amount of
1084
- // margin from the other side.
1085
- /** @type {?} */
1086
- var left = 0;
1087
- /** @type {?} */
1088
- var right = 0;
1089
- if (this._left && this._left.opened) {
1090
- if (this._left.mode == 'side') {
1091
- left += this._left._width;
1092
- }
1093
- else if (this._left.mode == 'push') {
1094
- /** @type {?} */
1095
- var width = this._left._width;
1096
- left += width;
1097
- right -= width;
1098
- }
1099
- }
1100
- if (this._right && this._right.opened) {
1101
- if (this._right.mode == 'side') {
1102
- right += this._right._width;
1103
- }
1104
- else if (this._right.mode == 'push') {
1105
- /** @type {?} */
1106
- var width = this._right._width;
1107
- right += width;
1108
- left -= width;
1109
- }
1110
- }
1111
- // If either `right` or `left` is zero, don't set a style to the element. This
1112
- // allows users to specify a custom size via CSS class in SSR scenarios where the
1113
- // measured widths will always be zero. Note that we reset to `null` here, rather
1114
- // than below, in order to ensure that the types in the `if` below are consistent.
1115
- left = left || (/** @type {?} */ (null));
1116
- right = right || (/** @type {?} */ (null));
1117
- if (left !== this._contentMargins.left || right !== this._contentMargins.right) {
1118
- this._contentMargins = { left: left, right: right };
1119
- // Pull back into the NgZone since in some cases we could be outside. We need to be careful
1120
- // to do it only when something changed, otherwise we can end up hitting the zone too often.
1121
- this._ngZone.run(function () { return _this._contentMarginChanges.next(_this._contentMargins); });
1122
- }
1123
- };
1124
1302
  MatDrawerContainer.decorators = [
1125
1303
  { type: core.Component, args: [{selector: 'mat-drawer-container',
1126
1304
  exportAs: 'matDrawerContainer',
@@ -1140,9 +1318,9 @@ var MatDrawerContainer = /** @class */ (function () {
1140
1318
  { type: core.ElementRef },
1141
1319
  { type: core.NgZone },
1142
1320
  { type: core.ChangeDetectorRef },
1321
+ { type: scrolling.ViewportRuler },
1143
1322
  { type: undefined, decorators: [{ type: core.Inject, args: [MAT_DRAWER_DEFAULT_AUTOSIZE,] }] },
1144
- { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations$1.ANIMATION_MODULE_TYPE,] }] },
1145
- { type: scrolling.ViewportRuler, decorators: [{ type: core.Optional }] }
1323
+ { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations$1.ANIMATION_MODULE_TYPE,] }] }
1146
1324
  ]; };
1147
1325
  MatDrawerContainer.propDecorators = {
1148
1326
  _drawers: [{ type: core.ContentChildren, args: [MatDrawer,] }],
@@ -1157,7 +1335,7 @@ var MatDrawerContainer = /** @class */ (function () {
1157
1335
 
1158
1336
  /**
1159
1337
  * @fileoverview added by tsickle
1160
- * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1338
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1161
1339
  */
1162
1340
  var MatSidenavContent = /** @class */ (function (_super) {
1163
1341
  __extends(MatSidenavContent, _super);
@@ -1179,7 +1357,10 @@ var MatSidenavContent = /** @class */ (function (_super) {
1179
1357
  /** @nocollapse */
1180
1358
  MatSidenavContent.ctorParameters = function () { return [
1181
1359
  { type: core.ChangeDetectorRef },
1182
- { type: MatSidenavContainer, decorators: [{ type: core.Inject, args: [core.forwardRef(function () { return MatSidenavContainer; }),] }] },
1360
+ { type: MatSidenavContainer, decorators: [{ type: core.Inject, args: [core.forwardRef((/**
1361
+ * @return {?}
1362
+ */
1363
+ function () { return MatSidenavContainer; })),] }] },
1183
1364
  { type: core.ElementRef },
1184
1365
  { type: scrolling.ScrollDispatcher },
1185
1366
  { type: core.NgZone }
@@ -1256,9 +1437,6 @@ var MatSidenav = /** @class */ (function (_super) {
1256
1437
  host: {
1257
1438
  'class': 'mat-drawer mat-sidenav',
1258
1439
  'tabIndex': '-1',
1259
- '[@transform]': '_animationState',
1260
- '(@transform.start)': '_animationStarted.next($event)',
1261
- '(@transform.done)': '_animationEnd.next($event)',
1262
1440
  // must prevent the browser from aligning text based on value
1263
1441
  '[attr.align]': 'null',
1264
1442
  '[class.mat-drawer-end]': 'position === "end"',
@@ -1307,7 +1485,7 @@ var MatSidenavContainer = /** @class */ (function (_super) {
1307
1485
 
1308
1486
  /**
1309
1487
  * @fileoverview added by tsickle
1310
- * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1488
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1311
1489
  */
1312
1490
  var MatSidenavModule = /** @class */ (function () {
1313
1491
  function MatSidenavModule() {