@angular/material 7.0.4 → 7.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (488) hide show
  1. package/LICENSE +1 -1
  2. package/_theming.scss +61 -44
  3. package/autocomplete/typings/index.d.ts +1 -1
  4. package/autocomplete/typings/index.metadata.json +1 -1
  5. package/badge/typings/index.metadata.json +1 -1
  6. package/bottom-sheet/typings/bottom-sheet-config.d.ts +5 -0
  7. package/bottom-sheet/typings/bottom-sheet-container.d.ts +1 -1
  8. package/bottom-sheet/typings/index.metadata.json +1 -1
  9. package/bundles/material-autocomplete.umd.js +126 -32
  10. package/bundles/material-autocomplete.umd.js.map +1 -1
  11. package/bundles/material-autocomplete.umd.min.js +1 -1
  12. package/bundles/material-autocomplete.umd.min.js.map +1 -1
  13. package/bundles/material-badge.umd.js +38 -5
  14. package/bundles/material-badge.umd.js.map +1 -1
  15. package/bundles/material-badge.umd.min.js +1 -1
  16. package/bundles/material-badge.umd.min.js.map +1 -1
  17. package/bundles/material-bottom-sheet.umd.js +68 -21
  18. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  19. package/bundles/material-bottom-sheet.umd.min.js +1 -1
  20. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  21. package/bundles/material-button-toggle.umd.js +36 -13
  22. package/bundles/material-button-toggle.umd.js.map +1 -1
  23. package/bundles/material-button-toggle.umd.min.js +1 -1
  24. package/bundles/material-button-toggle.umd.min.js.map +1 -1
  25. package/bundles/material-button.umd.js +21 -14
  26. package/bundles/material-button.umd.js.map +1 -1
  27. package/bundles/material-button.umd.min.js +1 -1
  28. package/bundles/material-button.umd.min.js.map +1 -1
  29. package/bundles/material-card.umd.js +3 -3
  30. package/bundles/material-card.umd.js.map +1 -1
  31. package/bundles/material-card.umd.min.js +1 -1
  32. package/bundles/material-card.umd.min.js.map +1 -1
  33. package/bundles/material-checkbox.umd.js +56 -15
  34. package/bundles/material-checkbox.umd.js.map +1 -1
  35. package/bundles/material-checkbox.umd.min.js +1 -1
  36. package/bundles/material-checkbox.umd.min.js.map +1 -1
  37. package/bundles/material-chips.umd.js +124 -34
  38. package/bundles/material-chips.umd.js.map +1 -1
  39. package/bundles/material-chips.umd.min.js +1 -1
  40. package/bundles/material-chips.umd.min.js.map +1 -1
  41. package/bundles/material-core.umd.js +189 -126
  42. package/bundles/material-core.umd.js.map +1 -1
  43. package/bundles/material-core.umd.min.js +1 -1
  44. package/bundles/material-core.umd.min.js.map +1 -1
  45. package/bundles/material-datepicker.umd.js +231 -53
  46. package/bundles/material-datepicker.umd.js.map +1 -1
  47. package/bundles/material-datepicker.umd.min.js +2 -2
  48. package/bundles/material-datepicker.umd.min.js.map +1 -1
  49. package/bundles/material-dialog.umd.js +138 -40
  50. package/bundles/material-dialog.umd.js.map +1 -1
  51. package/bundles/material-dialog.umd.min.js +1 -1
  52. package/bundles/material-dialog.umd.min.js.map +1 -1
  53. package/bundles/material-divider.umd.js +2 -2
  54. package/bundles/material-divider.umd.js.map +1 -1
  55. package/bundles/material-divider.umd.min.js.map +1 -1
  56. package/bundles/material-expansion.umd.js +53 -27
  57. package/bundles/material-expansion.umd.js.map +1 -1
  58. package/bundles/material-expansion.umd.min.js +1 -1
  59. package/bundles/material-expansion.umd.min.js.map +1 -1
  60. package/bundles/material-form-field.umd.js +121 -32
  61. package/bundles/material-form-field.umd.js.map +1 -1
  62. package/bundles/material-form-field.umd.min.js +1 -1
  63. package/bundles/material-form-field.umd.min.js.map +1 -1
  64. package/bundles/material-grid-list.umd.js +66 -15
  65. package/bundles/material-grid-list.umd.js.map +1 -1
  66. package/bundles/material-grid-list.umd.min.js +1 -1
  67. package/bundles/material-grid-list.umd.min.js.map +1 -1
  68. package/bundles/material-icon.umd.js +277 -78
  69. package/bundles/material-icon.umd.js.map +1 -1
  70. package/bundles/material-icon.umd.min.js +1 -1
  71. package/bundles/material-icon.umd.min.js.map +1 -1
  72. package/bundles/material-input.umd.js +50 -22
  73. package/bundles/material-input.umd.js.map +1 -1
  74. package/bundles/material-input.umd.min.js +1 -1
  75. package/bundles/material-input.umd.min.js.map +1 -1
  76. package/bundles/material-list.umd.js +69 -21
  77. package/bundles/material-list.umd.js.map +1 -1
  78. package/bundles/material-list.umd.min.js +2 -6
  79. package/bundles/material-list.umd.min.js.map +1 -1
  80. package/bundles/material-menu.umd.js +171 -66
  81. package/bundles/material-menu.umd.js.map +1 -1
  82. package/bundles/material-menu.umd.min.js +1 -1
  83. package/bundles/material-menu.umd.min.js.map +1 -1
  84. package/bundles/material-paginator.umd.js +52 -10
  85. package/bundles/material-paginator.umd.js.map +1 -1
  86. package/bundles/material-paginator.umd.min.js +1 -1
  87. package/bundles/material-paginator.umd.min.js.map +1 -1
  88. package/bundles/material-progress-bar.umd.js +31 -12
  89. package/bundles/material-progress-bar.umd.js.map +1 -1
  90. package/bundles/material-progress-bar.umd.min.js +1 -1
  91. package/bundles/material-progress-bar.umd.min.js.map +1 -1
  92. package/bundles/material-progress-spinner.umd.js +29 -13
  93. package/bundles/material-progress-spinner.umd.js.map +1 -1
  94. package/bundles/material-progress-spinner.umd.min.js.map +1 -1
  95. package/bundles/material-radio.umd.js +38 -40
  96. package/bundles/material-radio.umd.js.map +1 -1
  97. package/bundles/material-radio.umd.min.js +1 -1
  98. package/bundles/material-radio.umd.min.js.map +1 -1
  99. package/bundles/material-select.umd.js +189 -51
  100. package/bundles/material-select.umd.js.map +1 -1
  101. package/bundles/material-select.umd.min.js +1 -1
  102. package/bundles/material-select.umd.min.js.map +1 -1
  103. package/bundles/material-sidenav.umd.js +104 -25
  104. package/bundles/material-sidenav.umd.js.map +1 -1
  105. package/bundles/material-sidenav.umd.min.js +1 -1
  106. package/bundles/material-sidenav.umd.min.js.map +1 -1
  107. package/bundles/material-slide-toggle.umd.js +30 -14
  108. package/bundles/material-slide-toggle.umd.js.map +1 -1
  109. package/bundles/material-slide-toggle.umd.min.js +1 -1
  110. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  111. package/bundles/material-slider.umd.js +91 -21
  112. package/bundles/material-slider.umd.js.map +1 -1
  113. package/bundles/material-slider.umd.min.js +1 -1
  114. package/bundles/material-slider.umd.min.js.map +1 -1
  115. package/bundles/material-snack-bar.umd.js +71 -19
  116. package/bundles/material-snack-bar.umd.js.map +1 -1
  117. package/bundles/material-snack-bar.umd.min.js +1 -1
  118. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  119. package/bundles/material-sort.umd.js +46 -24
  120. package/bundles/material-sort.umd.js.map +1 -1
  121. package/bundles/material-sort.umd.min.js +1 -1
  122. package/bundles/material-sort.umd.min.js.map +1 -1
  123. package/bundles/material-stepper.umd.js +37 -35
  124. package/bundles/material-stepper.umd.js.map +1 -1
  125. package/bundles/material-stepper.umd.min.js +1 -1
  126. package/bundles/material-stepper.umd.min.js.map +1 -1
  127. package/bundles/material-table.umd.js +29 -9
  128. package/bundles/material-table.umd.js.map +1 -1
  129. package/bundles/material-table.umd.min.js.map +1 -1
  130. package/bundles/material-tabs.umd.js +170 -68
  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 +14 -4
  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 +53 -26
  139. package/bundles/material-tooltip.umd.js.map +1 -1
  140. package/bundles/material-tooltip.umd.min.js +1 -1
  141. package/bundles/material-tooltip.umd.min.js.map +1 -1
  142. package/bundles/material-tree.umd.js +25 -16
  143. package/bundles/material-tree.umd.js.map +1 -1
  144. package/bundles/material-tree.umd.min.js +1 -1
  145. package/bundles/material-tree.umd.min.js.map +1 -1
  146. package/bundles/material.umd.js +2853 -1010
  147. package/bundles/material.umd.js.map +1 -1
  148. package/bundles/material.umd.min.js +19 -21
  149. package/bundles/material.umd.min.js.map +1 -1
  150. package/button/typings/button.d.ts +0 -5
  151. package/button/typings/index.metadata.json +1 -1
  152. package/button-toggle/typings/index.metadata.json +1 -1
  153. package/card/typings/index.metadata.json +1 -1
  154. package/checkbox/typings/index.metadata.json +1 -1
  155. package/chips/typings/chip-list.d.ts +1 -1
  156. package/chips/typings/chip.d.ts +2 -2
  157. package/chips/typings/index.metadata.json +1 -1
  158. package/core/typings/index.metadata.json +1 -1
  159. package/core/typings/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  160. package/core/typings/public-api.d.ts +1 -1
  161. package/datepicker/typings/calendar-body.d.ts +21 -5
  162. package/datepicker/typings/calendar.d.ts +4 -1
  163. package/datepicker/typings/datepicker.d.ts +3 -0
  164. package/datepicker/typings/index.metadata.json +1 -1
  165. package/datepicker/typings/month-view.d.ts +4 -2
  166. package/dialog/typings/index.metadata.json +1 -1
  167. package/esm2015/autocomplete.js +60 -29
  168. package/esm2015/autocomplete.js.map +1 -1
  169. package/esm2015/badge.js +29 -6
  170. package/esm2015/badge.js.map +1 -1
  171. package/esm2015/bottom-sheet.js +45 -22
  172. package/esm2015/bottom-sheet.js.map +1 -1
  173. package/esm2015/button-toggle.js +20 -11
  174. package/esm2015/button-toggle.js.map +1 -1
  175. package/esm2015/button.js +20 -15
  176. package/esm2015/button.js.map +1 -1
  177. package/esm2015/card.js +5 -5
  178. package/esm2015/card.js.map +1 -1
  179. package/esm2015/checkbox.js +30 -12
  180. package/esm2015/checkbox.js.map +1 -1
  181. package/esm2015/chips.js +64 -28
  182. package/esm2015/chips.js.map +1 -1
  183. package/esm2015/core.js +148 -129
  184. package/esm2015/core.js.map +1 -1
  185. package/esm2015/datepicker.js +124 -41
  186. package/esm2015/datepicker.js.map +1 -1
  187. package/esm2015/dialog.js +77 -40
  188. package/esm2015/dialog.js.map +1 -1
  189. package/esm2015/divider.js +4 -4
  190. package/esm2015/divider.js.map +1 -1
  191. package/esm2015/expansion.js +58 -31
  192. package/esm2015/expansion.js.map +1 -1
  193. package/esm2015/form-field.js +94 -34
  194. package/esm2015/form-field.js.map +1 -1
  195. package/esm2015/grid-list.js +45 -17
  196. package/esm2015/grid-list.js.map +1 -1
  197. package/esm2015/icon.js +136 -67
  198. package/esm2015/icon.js.map +1 -1
  199. package/esm2015/input.js +44 -23
  200. package/esm2015/input.js.map +1 -1
  201. package/esm2015/list.js +47 -22
  202. package/esm2015/list.js.map +1 -1
  203. package/esm2015/material.js +13 -12
  204. package/esm2015/material.js.map +1 -1
  205. package/esm2015/menu.js +109 -63
  206. package/esm2015/menu.js.map +1 -1
  207. package/esm2015/paginator.js +35 -12
  208. package/esm2015/paginator.js.map +1 -1
  209. package/esm2015/progress-bar.js +26 -13
  210. package/esm2015/progress-bar.js.map +1 -1
  211. package/esm2015/progress-spinner.js +24 -14
  212. package/esm2015/progress-spinner.js.map +1 -1
  213. package/esm2015/radio.js +22 -21
  214. package/esm2015/radio.js.map +1 -1
  215. package/esm2015/select.js +116 -53
  216. package/esm2015/select.js.map +1 -1
  217. package/esm2015/sidenav.js +75 -28
  218. package/esm2015/sidenav.js.map +1 -1
  219. package/esm2015/slide-toggle.js +23 -15
  220. package/esm2015/slide-toggle.js.map +1 -1
  221. package/esm2015/slider.js +54 -24
  222. package/esm2015/slider.js.map +1 -1
  223. package/esm2015/snack-bar.js +41 -21
  224. package/esm2015/snack-bar.js.map +1 -1
  225. package/esm2015/sort.js +47 -24
  226. package/esm2015/sort.js.map +1 -1
  227. package/esm2015/stepper.js +35 -32
  228. package/esm2015/stepper.js.map +1 -1
  229. package/esm2015/table.js +31 -11
  230. package/esm2015/table.js.map +1 -1
  231. package/esm2015/tabs.js +113 -53
  232. package/esm2015/tabs.js.map +1 -1
  233. package/esm2015/toolbar.js +9 -5
  234. package/esm2015/toolbar.js.map +1 -1
  235. package/esm2015/tooltip.js +43 -28
  236. package/esm2015/tooltip.js.map +1 -1
  237. package/esm2015/tree.js +22 -17
  238. package/esm2015/tree.js.map +1 -1
  239. package/esm5/autocomplete.es5.js +128 -34
  240. package/esm5/autocomplete.es5.js.map +1 -1
  241. package/esm5/badge.es5.js +40 -7
  242. package/esm5/badge.es5.js.map +1 -1
  243. package/esm5/bottom-sheet.es5.js +70 -23
  244. package/esm5/bottom-sheet.es5.js.map +1 -1
  245. package/esm5/button-toggle.es5.js +38 -15
  246. package/esm5/button-toggle.es5.js.map +1 -1
  247. package/esm5/button.es5.js +23 -16
  248. package/esm5/button.es5.js.map +1 -1
  249. package/esm5/card.es5.js +5 -5
  250. package/esm5/card.es5.js.map +1 -1
  251. package/esm5/checkbox.es5.js +58 -17
  252. package/esm5/checkbox.es5.js.map +1 -1
  253. package/esm5/chips.es5.js +127 -37
  254. package/esm5/chips.es5.js.map +1 -1
  255. package/esm5/core.es5.js +192 -129
  256. package/esm5/core.es5.js.map +1 -1
  257. package/esm5/datepicker.es5.js +233 -55
  258. package/esm5/datepicker.es5.js.map +1 -1
  259. package/esm5/dialog.es5.js +140 -42
  260. package/esm5/dialog.es5.js.map +1 -1
  261. package/esm5/divider.es5.js +4 -4
  262. package/esm5/divider.es5.js.map +1 -1
  263. package/esm5/expansion.es5.js +56 -31
  264. package/esm5/expansion.es5.js.map +1 -1
  265. package/esm5/form-field.es5.js +125 -36
  266. package/esm5/form-field.es5.js.map +1 -1
  267. package/esm5/grid-list.es5.js +68 -17
  268. package/esm5/grid-list.es5.js.map +1 -1
  269. package/esm5/icon.es5.js +279 -80
  270. package/esm5/icon.es5.js.map +1 -1
  271. package/esm5/input.es5.js +52 -24
  272. package/esm5/input.es5.js.map +1 -1
  273. package/esm5/list.es5.js +72 -24
  274. package/esm5/list.es5.js.map +1 -1
  275. package/esm5/material.es5.js +13 -12
  276. package/esm5/material.es5.js.map +1 -1
  277. package/esm5/menu.es5.js +170 -65
  278. package/esm5/menu.es5.js.map +1 -1
  279. package/esm5/paginator.es5.js +55 -13
  280. package/esm5/paginator.es5.js.map +1 -1
  281. package/esm5/progress-bar.es5.js +33 -14
  282. package/esm5/progress-bar.es5.js.map +1 -1
  283. package/esm5/progress-spinner.es5.js +31 -15
  284. package/esm5/progress-spinner.es5.js.map +1 -1
  285. package/esm5/radio.es5.js +42 -42
  286. package/esm5/radio.es5.js.map +1 -1
  287. package/esm5/select.es5.js +193 -55
  288. package/esm5/select.es5.js.map +1 -1
  289. package/esm5/sidenav.es5.js +107 -28
  290. package/esm5/sidenav.es5.js.map +1 -1
  291. package/esm5/slide-toggle.es5.js +32 -16
  292. package/esm5/slide-toggle.es5.js.map +1 -1
  293. package/esm5/slider.es5.js +94 -24
  294. package/esm5/slider.es5.js.map +1 -1
  295. package/esm5/snack-bar.es5.js +73 -21
  296. package/esm5/snack-bar.es5.js.map +1 -1
  297. package/esm5/sort.es5.js +53 -26
  298. package/esm5/sort.es5.js.map +1 -1
  299. package/esm5/stepper.es5.js +40 -38
  300. package/esm5/stepper.es5.js.map +1 -1
  301. package/esm5/table.es5.js +31 -11
  302. package/esm5/table.es5.js.map +1 -1
  303. package/esm5/tabs.es5.js +162 -61
  304. package/esm5/tabs.es5.js.map +1 -1
  305. package/esm5/toolbar.es5.js +16 -6
  306. package/esm5/toolbar.es5.js.map +1 -1
  307. package/esm5/tooltip.es5.js +55 -28
  308. package/esm5/tooltip.es5.js.map +1 -1
  309. package/esm5/tree.es5.js +27 -18
  310. package/esm5/tree.es5.js.map +1 -1
  311. package/expansion/typings/expansion-panel-header.d.ts +2 -2
  312. package/expansion/typings/expansion-panel.d.ts +19 -2
  313. package/expansion/typings/index.metadata.json +1 -1
  314. package/form-field/typings/form-field.d.ts +15 -4
  315. package/form-field/typings/index.metadata.json +1 -1
  316. package/grid-list/typings/index.d.ts +1 -1
  317. package/grid-list/typings/index.metadata.json +1 -1
  318. package/icon/typings/index.metadata.json +1 -1
  319. package/list/typings/index.metadata.json +1 -1
  320. package/material.d.ts +1 -1
  321. package/material.metadata.json +3 -3
  322. package/menu/typings/index.d.ts +4 -4
  323. package/menu/typings/index.metadata.json +1 -1
  324. package/menu/typings/menu-directive.d.ts +1 -0
  325. package/menu/typings/menu-item.d.ts +2 -0
  326. package/package.json +5 -5
  327. package/paginator/typings/index.metadata.json +1 -1
  328. package/paginator/typings/paginator.d.ts +7 -3
  329. package/prebuilt-themes/deeppurple-amber.css +1 -1
  330. package/prebuilt-themes/indigo-pink.css +1 -1
  331. package/prebuilt-themes/pink-bluegrey.css +1 -1
  332. package/prebuilt-themes/purple-green.css +1 -1
  333. package/progress-bar/typings/index.metadata.json +1 -1
  334. package/radio/typings/index.metadata.json +1 -1
  335. package/radio/typings/radio.d.ts +2 -6
  336. package/schematics/ng-add/theming/{custom-theme.d.ts → create-custom-theme.d.ts} +0 -0
  337. package/schematics/ng-add/theming/{custom-theme.js → create-custom-theme.js} +1 -1
  338. package/schematics/ng-add/theming/create-custom-theme.js.map +1 -0
  339. package/schematics/ng-add/theming/theming.js +35 -19
  340. package/schematics/ng-add/theming/theming.js.map +1 -1
  341. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  342. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  343. package/schematics/ng-generate/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  344. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  345. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  346. package/select/typings/index.metadata.json +1 -1
  347. package/select/typings/select.d.ts +12 -2
  348. package/sidenav/typings/drawer.d.ts +9 -2
  349. package/sidenav/typings/index.metadata.json +1 -1
  350. package/slide-toggle/typings/index.metadata.json +1 -1
  351. package/slider/typings/index.metadata.json +1 -1
  352. package/snack-bar/typings/index.metadata.json +1 -1
  353. package/sort/typings/index.metadata.json +1 -1
  354. package/stepper/typings/index.metadata.json +1 -1
  355. package/stepper/typings/step-header.d.ts +3 -5
  356. package/tabs/typings/index.d.ts +5 -5
  357. package/tabs/typings/index.metadata.json +1 -1
  358. package/tabs/typings/tab-body.d.ts +2 -0
  359. package/tabs/typings/tab-group.d.ts +11 -2
  360. package/tabs/typings/tab-header.d.ts +9 -3
  361. package/toolbar/typings/index.metadata.json +1 -1
  362. package/tooltip/typings/index.metadata.json +1 -1
  363. package/tree/typings/data-source/flat-data-source.d.ts +2 -2
  364. package/tree/typings/index.metadata.json +1 -1
  365. package/typings/autocomplete/index.d.ts +1 -1
  366. package/typings/autocomplete/index.metadata.json +1 -1
  367. package/typings/badge/index.metadata.json +1 -1
  368. package/typings/bottom-sheet/bottom-sheet-config.d.ts +5 -0
  369. package/typings/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  370. package/typings/bottom-sheet/index.metadata.json +1 -1
  371. package/typings/button/button.d.ts +0 -5
  372. package/typings/button/index.metadata.json +1 -1
  373. package/typings/button-toggle/index.metadata.json +1 -1
  374. package/typings/card/index.metadata.json +1 -1
  375. package/typings/checkbox/index.metadata.json +1 -1
  376. package/typings/chips/chip-list.d.ts +1 -1
  377. package/typings/chips/chip.d.ts +2 -2
  378. package/typings/chips/index.metadata.json +1 -1
  379. package/typings/core/index.metadata.json +1 -1
  380. package/typings/core/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  381. package/typings/core/public-api.d.ts +1 -1
  382. package/typings/datepicker/calendar-body.d.ts +21 -5
  383. package/typings/datepicker/calendar.d.ts +4 -1
  384. package/typings/datepicker/datepicker.d.ts +3 -0
  385. package/typings/datepicker/index.metadata.json +1 -1
  386. package/typings/datepicker/month-view.d.ts +4 -2
  387. package/typings/dialog/index.metadata.json +1 -1
  388. package/typings/esm5/autocomplete/index.d.ts +1 -1
  389. package/typings/esm5/autocomplete/index.metadata.json +1 -1
  390. package/typings/esm5/badge/index.metadata.json +1 -1
  391. package/typings/esm5/bottom-sheet/bottom-sheet-config.d.ts +5 -0
  392. package/typings/esm5/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  393. package/typings/esm5/bottom-sheet/index.metadata.json +1 -1
  394. package/typings/esm5/button/button.d.ts +0 -5
  395. package/typings/esm5/button/index.metadata.json +1 -1
  396. package/typings/esm5/button-toggle/index.metadata.json +1 -1
  397. package/typings/esm5/card/index.metadata.json +1 -1
  398. package/typings/esm5/checkbox/index.metadata.json +1 -1
  399. package/typings/esm5/chips/chip-list.d.ts +1 -1
  400. package/typings/esm5/chips/chip.d.ts +2 -2
  401. package/typings/esm5/chips/index.metadata.json +1 -1
  402. package/typings/esm5/core/index.metadata.json +1 -1
  403. package/typings/esm5/core/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  404. package/typings/esm5/core/public-api.d.ts +1 -1
  405. package/typings/esm5/datepicker/calendar-body.d.ts +21 -5
  406. package/typings/esm5/datepicker/calendar.d.ts +4 -1
  407. package/typings/esm5/datepicker/datepicker.d.ts +3 -0
  408. package/typings/esm5/datepicker/index.metadata.json +1 -1
  409. package/typings/esm5/datepicker/month-view.d.ts +4 -2
  410. package/typings/esm5/dialog/index.metadata.json +1 -1
  411. package/typings/esm5/expansion/expansion-panel-header.d.ts +2 -2
  412. package/typings/esm5/expansion/expansion-panel.d.ts +19 -2
  413. package/typings/esm5/expansion/index.metadata.json +1 -1
  414. package/typings/esm5/form-field/form-field.d.ts +15 -4
  415. package/typings/esm5/form-field/index.metadata.json +1 -1
  416. package/typings/esm5/grid-list/index.d.ts +1 -1
  417. package/typings/esm5/grid-list/index.metadata.json +1 -1
  418. package/typings/esm5/icon/index.metadata.json +1 -1
  419. package/typings/esm5/index.metadata.json +1 -1
  420. package/typings/esm5/list/index.metadata.json +1 -1
  421. package/typings/esm5/menu/index.d.ts +4 -4
  422. package/typings/esm5/menu/index.metadata.json +1 -1
  423. package/typings/esm5/menu/menu-directive.d.ts +1 -0
  424. package/typings/esm5/menu/menu-item.d.ts +2 -0
  425. package/typings/esm5/paginator/index.metadata.json +1 -1
  426. package/typings/esm5/paginator/paginator.d.ts +7 -3
  427. package/typings/esm5/progress-bar/index.metadata.json +1 -1
  428. package/typings/esm5/radio/index.metadata.json +1 -1
  429. package/typings/esm5/radio/radio.d.ts +2 -6
  430. package/typings/esm5/select/index.metadata.json +1 -1
  431. package/typings/esm5/select/select.d.ts +12 -2
  432. package/typings/esm5/sidenav/drawer.d.ts +9 -2
  433. package/typings/esm5/sidenav/index.metadata.json +1 -1
  434. package/typings/esm5/slide-toggle/index.metadata.json +1 -1
  435. package/typings/esm5/slider/index.metadata.json +1 -1
  436. package/typings/esm5/snack-bar/index.metadata.json +1 -1
  437. package/typings/esm5/sort/index.metadata.json +1 -1
  438. package/typings/esm5/stepper/index.metadata.json +1 -1
  439. package/typings/esm5/stepper/step-header.d.ts +3 -5
  440. package/typings/esm5/tabs/index.d.ts +5 -5
  441. package/typings/esm5/tabs/index.metadata.json +1 -1
  442. package/typings/esm5/tabs/tab-body.d.ts +2 -0
  443. package/typings/esm5/tabs/tab-group.d.ts +11 -2
  444. package/typings/esm5/tabs/tab-header.d.ts +9 -3
  445. package/typings/esm5/toolbar/index.metadata.json +1 -1
  446. package/typings/esm5/tooltip/index.metadata.json +1 -1
  447. package/typings/esm5/tree/data-source/flat-data-source.d.ts +2 -2
  448. package/typings/esm5/tree/index.metadata.json +1 -1
  449. package/typings/expansion/expansion-panel-header.d.ts +2 -2
  450. package/typings/expansion/expansion-panel.d.ts +19 -2
  451. package/typings/expansion/index.metadata.json +1 -1
  452. package/typings/form-field/form-field.d.ts +15 -4
  453. package/typings/form-field/index.metadata.json +1 -1
  454. package/typings/grid-list/index.d.ts +1 -1
  455. package/typings/grid-list/index.metadata.json +1 -1
  456. package/typings/icon/index.metadata.json +1 -1
  457. package/typings/index.metadata.json +1 -1
  458. package/typings/list/index.metadata.json +1 -1
  459. package/typings/menu/index.d.ts +4 -4
  460. package/typings/menu/index.metadata.json +1 -1
  461. package/typings/menu/menu-directive.d.ts +1 -0
  462. package/typings/menu/menu-item.d.ts +2 -0
  463. package/typings/paginator/index.metadata.json +1 -1
  464. package/typings/paginator/paginator.d.ts +7 -3
  465. package/typings/progress-bar/index.metadata.json +1 -1
  466. package/typings/radio/index.metadata.json +1 -1
  467. package/typings/radio/radio.d.ts +2 -6
  468. package/typings/schematics/ng-add/theming/{custom-theme.d.ts → create-custom-theme.d.ts} +0 -0
  469. package/typings/select/index.metadata.json +1 -1
  470. package/typings/select/select.d.ts +12 -2
  471. package/typings/sidenav/drawer.d.ts +9 -2
  472. package/typings/sidenav/index.metadata.json +1 -1
  473. package/typings/slide-toggle/index.metadata.json +1 -1
  474. package/typings/slider/index.metadata.json +1 -1
  475. package/typings/snack-bar/index.metadata.json +1 -1
  476. package/typings/sort/index.metadata.json +1 -1
  477. package/typings/stepper/index.metadata.json +1 -1
  478. package/typings/stepper/step-header.d.ts +3 -5
  479. package/typings/tabs/index.d.ts +5 -5
  480. package/typings/tabs/index.metadata.json +1 -1
  481. package/typings/tabs/tab-body.d.ts +2 -0
  482. package/typings/tabs/tab-group.d.ts +11 -2
  483. package/typings/tabs/tab-header.d.ts +9 -3
  484. package/typings/toolbar/index.metadata.json +1 -1
  485. package/typings/tooltip/index.metadata.json +1 -1
  486. package/typings/tree/data-source/flat-data-source.d.ts +2 -2
  487. package/typings/tree/index.metadata.json +1 -1
  488. package/schematics/ng-add/theming/custom-theme.js.map +0 -1
package/esm5/core.es5.js CHANGED
@@ -15,12 +15,12 @@ import { Platform, PlatformModule, normalizePassiveListenerOptions } from '@angu
15
15
  import { startWith } from 'rxjs/operators';
16
16
  import { isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';
17
17
  import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
18
- import { ENTER, SPACE } from '@angular/cdk/keycodes';
18
+ import { ENTER, SPACE, hasModifierKey } from '@angular/cdk/keycodes';
19
19
  import { CommonModule } from '@angular/common';
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
  /**
@@ -49,11 +49,12 @@ var AnimationDurations = /** @class */ (function () {
49
49
 
50
50
  /**
51
51
  * @fileoverview added by tsickle
52
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
52
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
53
53
  */
54
- /** *
54
+ /**
55
55
  * Injection token that configures whether the Material sanity checks are enabled.
56
- @type {?} */
56
+ * @type {?}
57
+ */
57
58
  var MATERIAL_SANITY_CHECKS = new InjectionToken('mat-sanity-checks', {
58
59
  providedIn: 'root',
59
60
  factory: MATERIAL_SANITY_CHECKS_FACTORY,
@@ -97,34 +98,42 @@ var MatCommonModule = /** @class */ (function () {
97
98
  this._hasDoneGlobalChecks = true;
98
99
  }
99
100
  }
101
+ /** Whether any sanity checks are enabled */
100
102
  /**
101
103
  * Whether any sanity checks are enabled
104
+ * @private
102
105
  * @return {?}
103
106
  */
104
107
  MatCommonModule.prototype._areChecksEnabled = /**
105
108
  * Whether any sanity checks are enabled
109
+ * @private
106
110
  * @return {?}
107
111
  */
108
112
  function () {
109
113
  return this._sanityChecksEnabled && isDevMode() && !this._isTestEnv();
110
114
  };
115
+ /** Whether the code is running in tests. */
111
116
  /**
112
117
  * Whether the code is running in tests.
118
+ * @private
113
119
  * @return {?}
114
120
  */
115
121
  MatCommonModule.prototype._isTestEnv = /**
116
122
  * Whether the code is running in tests.
123
+ * @private
117
124
  * @return {?}
118
125
  */
119
126
  function () {
120
127
  /** @type {?} */
121
- var window = /** @type {?} */ (this._window);
128
+ var window = (/** @type {?} */ (this._window));
122
129
  return window && (window.__karma__ || window.jasmine);
123
130
  };
124
131
  /**
132
+ * @private
125
133
  * @return {?}
126
134
  */
127
135
  MatCommonModule.prototype._checkDoctypeIsDefined = /**
136
+ * @private
128
137
  * @return {?}
129
138
  */
130
139
  function () {
@@ -134,9 +143,11 @@ var MatCommonModule = /** @class */ (function () {
134
143
  }
135
144
  };
136
145
  /**
146
+ * @private
137
147
  * @return {?}
138
148
  */
139
149
  MatCommonModule.prototype._checkThemeIsPresent = /**
150
+ * @private
140
151
  * @return {?}
141
152
  */
142
153
  function () {
@@ -174,7 +185,7 @@ var MatCommonModule = /** @class */ (function () {
174
185
  if (this._hasCheckedHammer || !this._window) {
175
186
  return;
176
187
  }
177
- if (this._areChecksEnabled() && !(/** @type {?} */ (this._window))['Hammer'] && !this._hammerLoader) {
188
+ if (this._areChecksEnabled() && !((/** @type {?} */ (this._window)))['Hammer'] && !this._hammerLoader) {
178
189
  console.warn('Could not find HammerJS. Certain Angular Material components may not work correctly.');
179
190
  }
180
191
  this._hasCheckedHammer = true;
@@ -195,7 +206,7 @@ var MatCommonModule = /** @class */ (function () {
195
206
 
196
207
  /**
197
208
  * @fileoverview added by tsickle
198
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
209
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
199
210
  */
200
211
  /**
201
212
  * Mixin to augment a directive with a `disabled` property.
@@ -234,7 +245,7 @@ function mixinDisabled(base) {
234
245
 
235
246
  /**
236
247
  * @fileoverview added by tsickle
237
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
248
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
238
249
  */
239
250
  /**
240
251
  * Mixin to augment a directive with a `color` property.
@@ -287,7 +298,7 @@ function mixinColor(base, defaultColor) {
287
298
 
288
299
  /**
289
300
  * @fileoverview added by tsickle
290
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
301
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
291
302
  */
292
303
  /**
293
304
  * Mixin to augment a directive with a `disableRipple` property.
@@ -328,7 +339,7 @@ function mixinDisableRipple(base) {
328
339
 
329
340
  /**
330
341
  * @fileoverview added by tsickle
331
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
342
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
332
343
  */
333
344
  /**
334
345
  * Mixin to augment a directive with a `tabIndex` property.
@@ -372,7 +383,7 @@ function mixinTabIndex(base, defaultTabIndex) {
372
383
 
373
384
  /**
374
385
  * @fileoverview added by tsickle
375
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
386
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
376
387
  */
377
388
  /**
378
389
  * Mixin to augment a directive with updateErrorState method.
@@ -415,7 +426,7 @@ function mixinErrorState(base) {
415
426
  /** @type {?} */
416
427
  var matcher = this.errorStateMatcher || this._defaultErrorStateMatcher;
417
428
  /** @type {?} */
418
- var control = this.ngControl ? /** @type {?} */ (this.ngControl.control) : null;
429
+ var control = this.ngControl ? (/** @type {?} */ (this.ngControl.control)) : null;
419
430
  /** @type {?} */
420
431
  var newState = matcher.isErrorState(control, parent);
421
432
  if (newState !== oldState) {
@@ -429,7 +440,7 @@ function mixinErrorState(base) {
429
440
 
430
441
  /**
431
442
  * @fileoverview added by tsickle
432
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
443
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
433
444
  */
434
445
  /**
435
446
  * Mixin to augment a directive with an initialized property that will emits when ngOnInit ends.
@@ -467,7 +478,7 @@ function mixinInitialized(base) {
467
478
  _this._notifySubscriber(subscriber);
468
479
  }
469
480
  else {
470
- /** @type {?} */ ((_this._pendingSubscribers)).push(subscriber);
481
+ (/** @type {?} */ (_this._pendingSubscribers)).push(subscriber);
471
482
  }
472
483
  });
473
484
  return _this;
@@ -494,8 +505,8 @@ function mixinInitialized(base) {
494
505
  throw Error('This directive has already been marked as initialized and ' +
495
506
  'should not be called twice.');
496
507
  }
497
- this._isInitialized = true; /** @type {?} */
498
- ((this._pendingSubscribers)).forEach(this._notifySubscriber);
508
+ this._isInitialized = true;
509
+ (/** @type {?} */ (this._pendingSubscribers)).forEach(this._notifySubscriber);
499
510
  this._pendingSubscribers = null;
500
511
  };
501
512
  /** Emits and completes the subscriber stream (should only emit once). */
@@ -519,16 +530,17 @@ function mixinInitialized(base) {
519
530
 
520
531
  /**
521
532
  * @fileoverview added by tsickle
522
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
533
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
523
534
  */
524
535
 
525
536
  /**
526
537
  * @fileoverview added by tsickle
527
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
538
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
528
539
  */
529
- /** *
540
+ /**
530
541
  * InjectionToken for datepicker that can be used to override default locale code.
531
- @type {?} */
542
+ * @type {?}
543
+ */
532
544
  var MAT_DATE_LOCALE = new InjectionToken('MAT_DATE_LOCALE', {
533
545
  providedIn: 'root',
534
546
  factory: MAT_DATE_LOCALE_FACTORY,
@@ -540,12 +552,13 @@ var MAT_DATE_LOCALE = new InjectionToken('MAT_DATE_LOCALE', {
540
552
  function MAT_DATE_LOCALE_FACTORY() {
541
553
  return inject(LOCALE_ID);
542
554
  }
543
- /** *
555
+ /**
544
556
  * No longer needed since MAT_DATE_LOCALE has been changed to a scoped injectable.
545
557
  * If you are importing and providing this in your code you can simply remove it.
546
558
  * @deprecated
547
559
  * \@breaking-change 8.0.0
548
- @type {?} */
560
+ * @type {?}
561
+ */
549
562
  var MAT_DATE_LOCALE_PROVIDER = { provide: MAT_DATE_LOCALE, useExisting: LOCALE_ID };
550
563
  /**
551
564
  * Adapts type `D` to be usable as a date by cdk-based components that work with dates.
@@ -729,22 +742,25 @@ DateAdapter = /** @class */ (function () {
729
742
 
730
743
  /**
731
744
  * @fileoverview added by tsickle
732
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
745
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
733
746
  */
734
747
  /** @type {?} */
735
748
  var MAT_DATE_FORMATS = new InjectionToken('mat-date-formats');
736
749
 
737
750
  /**
738
751
  * @fileoverview added by tsickle
739
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
752
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
740
753
  */
741
- /** *
754
+ // TODO(mmalerba): Remove when we no longer support safari 9.
755
+ /**
742
756
  * Whether the browser supports the Intl API.
743
- @type {?} */
757
+ * @type {?}
758
+ */
744
759
  var SUPPORTS_INTL_API = typeof Intl != 'undefined';
745
- /** *
760
+ /**
746
761
  * The default month names to use if Intl API is not available.
747
- @type {?} */
762
+ * @type {?}
763
+ */
748
764
  var DEFAULT_MONTH_NAMES = {
749
765
  'long': [
750
766
  'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
@@ -754,23 +770,26 @@ var DEFAULT_MONTH_NAMES = {
754
770
  'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D']
755
771
  };
756
772
  var ɵ0 = function (i) { return String(i + 1); };
757
- /** *
773
+ /**
758
774
  * The default date names to use if Intl API is not available.
759
- @type {?} */
775
+ * @type {?}
776
+ */
760
777
  var DEFAULT_DATE_NAMES = range(31, ɵ0);
761
- /** *
778
+ /**
762
779
  * The default day of the week names to use if Intl API is not available.
763
- @type {?} */
780
+ * @type {?}
781
+ */
764
782
  var DEFAULT_DAY_OF_WEEK_NAMES = {
765
783
  'long': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
766
784
  'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
767
785
  'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S']
768
786
  };
769
- /** *
787
+ /**
770
788
  * Matches strings that have the form of a valid RFC 3339 string
771
789
  * (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date
772
790
  * because the regex will match strings an with out of bounds month, date, etc.
773
- @type {?} */
791
+ * @type {?}
792
+ */
774
793
  var ISO_8601_REGEX = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;
775
794
  /**
776
795
  * Creates an array and fills it with values.
@@ -953,7 +972,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
953
972
  * @return {?}
954
973
  */
955
974
  function (date) {
956
- return this.createDate(this.getYear(date), this.getMonth(date), this.getDate(date));
975
+ return new Date(date.getTime());
957
976
  };
958
977
  /**
959
978
  * @param {?} year
@@ -1167,8 +1186,10 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1167
1186
  function () {
1168
1187
  return new Date(NaN);
1169
1188
  };
1189
+ /** Creates a date but allows the month and date to overflow. */
1170
1190
  /**
1171
1191
  * Creates a date but allows the month and date to overflow.
1192
+ * @private
1172
1193
  * @param {?} year
1173
1194
  * @param {?} month
1174
1195
  * @param {?} date
@@ -1176,6 +1197,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1176
1197
  */
1177
1198
  NativeDateAdapter.prototype._createDateWithOverflow = /**
1178
1199
  * Creates a date but allows the month and date to overflow.
1200
+ * @private
1179
1201
  * @param {?} year
1180
1202
  * @param {?} month
1181
1203
  * @param {?} date
@@ -1193,11 +1215,18 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1193
1215
  };
1194
1216
  /**
1195
1217
  * Pads a number to make it two digits.
1218
+ * @param n The number to pad.
1219
+ * @returns The padded number.
1220
+ */
1221
+ /**
1222
+ * Pads a number to make it two digits.
1223
+ * @private
1196
1224
  * @param {?} n The number to pad.
1197
1225
  * @return {?} The padded number.
1198
1226
  */
1199
1227
  NativeDateAdapter.prototype._2digit = /**
1200
1228
  * Pads a number to make it two digits.
1229
+ * @private
1201
1230
  * @param {?} n The number to pad.
1202
1231
  * @return {?} The padded number.
1203
1232
  */
@@ -1208,6 +1237,14 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1208
1237
  * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
1209
1238
  * other browsers do not. We remove them to make output consistent and because they interfere with
1210
1239
  * date parsing.
1240
+ * @param str The string to strip direction characters from.
1241
+ * @returns The stripped string.
1242
+ */
1243
+ /**
1244
+ * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
1245
+ * other browsers do not. We remove them to make output consistent and because they interfere with
1246
+ * date parsing.
1247
+ * @private
1211
1248
  * @param {?} str The string to strip direction characters from.
1212
1249
  * @return {?} The stripped string.
1213
1250
  */
@@ -1215,6 +1252,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1215
1252
  * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
1216
1253
  * other browsers do not. We remove them to make output consistent and because they interfere with
1217
1254
  * date parsing.
1255
+ * @private
1218
1256
  * @param {?} str The string to strip direction characters from.
1219
1257
  * @return {?} The stripped string.
1220
1258
  */
@@ -1227,6 +1265,18 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1227
1265
  * very frequently, and the current valid rule is not always valid in previous years though.
1228
1266
  * We work around this problem building a new Date object which has its internal UTC
1229
1267
  * representation with the local date and time.
1268
+ * @param dtf Intl.DateTimeFormat object, containg the desired string format. It must have
1269
+ * timeZone set to 'utc' to work fine.
1270
+ * @param date Date from which we want to get the string representation according to dtf
1271
+ * @returns A Date object with its UTC representation based on the passed in date info
1272
+ */
1273
+ /**
1274
+ * When converting Date object to string, javascript built-in functions may return wrong
1275
+ * results because it applies its internal DST rules. The DST rules around the world change
1276
+ * very frequently, and the current valid rule is not always valid in previous years though.
1277
+ * We work around this problem building a new Date object which has its internal UTC
1278
+ * representation with the local date and time.
1279
+ * @private
1230
1280
  * @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have
1231
1281
  * timeZone set to 'utc' to work fine.
1232
1282
  * @param {?} date Date from which we want to get the string representation according to dtf
@@ -1238,6 +1288,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1238
1288
  * very frequently, and the current valid rule is not always valid in previous years though.
1239
1289
  * We work around this problem building a new Date object which has its internal UTC
1240
1290
  * representation with the local date and time.
1291
+ * @private
1241
1292
  * @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have
1242
1293
  * timeZone set to 'utc' to work fine.
1243
1294
  * @param {?} date Date from which we want to get the string representation according to dtf
@@ -1261,7 +1312,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1261
1312
 
1262
1313
  /**
1263
1314
  * @fileoverview added by tsickle
1264
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1315
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1265
1316
  */
1266
1317
 
1267
1318
  /** @type {?} */
@@ -1279,7 +1330,7 @@ var MAT_NATIVE_DATE_FORMATS = {
1279
1330
 
1280
1331
  /**
1281
1332
  * @fileoverview added by tsickle
1282
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1333
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1283
1334
  */
1284
1335
  var NativeDateModule = /** @class */ (function () {
1285
1336
  function NativeDateModule() {
@@ -1309,7 +1360,7 @@ var MatNativeDateModule = /** @class */ (function () {
1309
1360
 
1310
1361
  /**
1311
1362
  * @fileoverview added by tsickle
1312
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1363
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1313
1364
  */
1314
1365
  /**
1315
1366
  * Error state matcher that matches when a control is invalid and dirty.
@@ -1363,12 +1414,18 @@ var ErrorStateMatcher = /** @class */ (function () {
1363
1414
 
1364
1415
  /**
1365
1416
  * @fileoverview added by tsickle
1366
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1417
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1367
1418
  */
1368
- /** *
1419
+
1420
+ /**
1421
+ * @fileoverview added by tsickle
1422
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1423
+ */
1424
+ /**
1369
1425
  * Injection token that can be used to provide options to the Hammerjs instance.
1370
1426
  * More info at http://hammerjs.github.io/api/.
1371
- @type {?} */
1427
+ * @type {?}
1428
+ */
1372
1429
  var MAT_HAMMER_OPTIONS = new InjectionToken('MAT_HAMMER_OPTIONS');
1373
1430
  /** @type {?} */
1374
1431
  var ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES = [
@@ -1380,10 +1437,11 @@ var ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES = [
1380
1437
  'slideleft'
1381
1438
  ];
1382
1439
  var ɵ0$2 = function () { }, ɵ1 = function () { };
1383
- /** *
1440
+ /**
1384
1441
  * Fake HammerInstance that is used when a Hammer instance is requested when HammerJS has not
1385
1442
  * been loaded on the page.
1386
- @type {?} */
1443
+ * @type {?}
1444
+ */
1387
1445
  var noopHammerInstance = {
1388
1446
  on: ɵ0$2,
1389
1447
  off: ɵ1,
@@ -1446,7 +1504,7 @@ var GestureConfig = /** @class */ (function (_super) {
1446
1504
  */
1447
1505
  function (element) {
1448
1506
  /** @type {?} */
1449
- var hammer = typeof window !== 'undefined' ? (/** @type {?} */ (window)).Hammer : null;
1507
+ var hammer = typeof window !== 'undefined' ? ((/** @type {?} */ (window))).Hammer : null;
1450
1508
  if (!hammer) {
1451
1509
  // If HammerJS is not loaded here, return the noop HammerInstance. This is necessary to
1452
1510
  // ensure that omitting HammerJS completely will not cause any errors while *also* supporting
@@ -1460,12 +1518,16 @@ var GestureConfig = /** @class */ (function (_super) {
1460
1518
  }
1461
1519
  /** @type {?} */
1462
1520
  var mc = new hammer(element, this._hammerOptions || undefined);
1521
+ // Default Hammer Recognizers.
1463
1522
  /** @type {?} */
1464
1523
  var pan = new hammer.Pan();
1465
1524
  /** @type {?} */
1466
1525
  var swipe = new hammer.Swipe();
1467
1526
  /** @type {?} */
1468
1527
  var press = new hammer.Press();
1528
+ // Notice that a HammerJS recognizer can only depend on one other recognizer once.
1529
+ // Otherwise the previous `recognizeWith` will be dropped.
1530
+ // TODO: Confirm threshold numbers with Material Design UX Team
1469
1531
  /** @type {?} */
1470
1532
  var slide = this._createRecognizer(pan, { event: 'slide', threshold: 0 }, swipe);
1471
1533
  /** @type {?} */
@@ -1480,10 +1542,12 @@ var GestureConfig = /** @class */ (function (_super) {
1480
1542
  longpress.recognizeWith(slide);
1481
1543
  // Add customized gestures to Hammer manager
1482
1544
  mc.add([swipe, press, pan, slide, longpress]);
1483
- return /** @type {?} */ (mc);
1545
+ return (/** @type {?} */ (mc));
1484
1546
  };
1547
+ /** Creates a new recognizer, without affecting the default recognizers of HammerJS */
1485
1548
  /**
1486
1549
  * Creates a new recognizer, without affecting the default recognizers of HammerJS
1550
+ * @private
1487
1551
  * @param {?} base
1488
1552
  * @param {?} options
1489
1553
  * @param {...?} inheritances
@@ -1491,6 +1555,7 @@ var GestureConfig = /** @class */ (function (_super) {
1491
1555
  */
1492
1556
  GestureConfig.prototype._createRecognizer = /**
1493
1557
  * Creates a new recognizer, without affecting the default recognizers of HammerJS
1558
+ * @private
1494
1559
  * @param {?} base
1495
1560
  * @param {?} options
1496
1561
  * @param {...?} inheritances
@@ -1502,7 +1567,7 @@ var GestureConfig = /** @class */ (function (_super) {
1502
1567
  inheritances[_i - 2] = arguments[_i];
1503
1568
  }
1504
1569
  /** @type {?} */
1505
- var recognizer = new (/** @type {?} */ (base.constructor))(options);
1570
+ var recognizer = new ((/** @type {?} */ (base.constructor)))(options);
1506
1571
  inheritances.push(base);
1507
1572
  inheritances.forEach(function (item) { return recognizer.recognizeWith(item); });
1508
1573
  return recognizer;
@@ -1520,7 +1585,7 @@ var GestureConfig = /** @class */ (function (_super) {
1520
1585
 
1521
1586
  /**
1522
1587
  * @fileoverview added by tsickle
1523
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1588
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1524
1589
  */
1525
1590
  /**
1526
1591
  * Shared directive to count lines inside a text area, such as a list item.
@@ -1606,7 +1671,7 @@ var MatLineModule = /** @class */ (function () {
1606
1671
 
1607
1672
  /**
1608
1673
  * @fileoverview added by tsickle
1609
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1674
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1610
1675
  */
1611
1676
 
1612
1677
  /** @enum {number} */
@@ -1650,24 +1715,27 @@ RippleRef = /** @class */ (function () {
1650
1715
 
1651
1716
  /**
1652
1717
  * @fileoverview added by tsickle
1653
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1718
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1654
1719
  */
1655
- /** *
1720
+ /**
1656
1721
  * Default ripple animation configuration for ripples without an explicit
1657
1722
  * animation config specified.
1658
- @type {?} */
1723
+ * @type {?}
1724
+ */
1659
1725
  var defaultRippleAnimationConfig = {
1660
1726
  enterDuration: 450,
1661
1727
  exitDuration: 400
1662
1728
  };
1663
- /** *
1729
+ /**
1664
1730
  * Timeout for ignoring mouse events. Mouse events will be temporary ignored after touch
1665
1731
  * events to avoid synthetic mouse events.
1666
- @type {?} */
1732
+ * @type {?}
1733
+ */
1667
1734
  var ignoreMouseEventsTimeout = 800;
1668
- /** *
1735
+ /**
1669
1736
  * Options that apply to all the event listeners that are bound by the ripple renderer.
1670
- @type {?} */
1737
+ * @type {?}
1738
+ */
1671
1739
  var passiveEventOptions = normalizePassiveListenerOptions({ passive: true });
1672
1740
  /**
1673
1741
  * Helper service that performs DOM manipulations. Not intended to be used outside this module.
@@ -1704,6 +1772,8 @@ RippleRenderer = /** @class */ (function () {
1704
1772
  * Function being called whenever the trigger is being pressed using mouse.
1705
1773
  */
1706
1774
  this.onMousedown = function (event) {
1775
+ // Screen readers will fire fake mouse events for space/enter. Skip launching a
1776
+ // ripple in this case for consistency with the non-screen-reader experience.
1707
1777
  /** @type {?} */
1708
1778
  var isFakeMousedown = isFakeMousedownFromScreenReader(event);
1709
1779
  /** @type {?} */
@@ -1724,6 +1794,8 @@ RippleRenderer = /** @class */ (function () {
1724
1794
  // time after a touchstart event.
1725
1795
  _this._lastTouchStartEvent = Date.now();
1726
1796
  _this._isPointerDown = true;
1797
+ // Use `changedTouches` so we skip any touches where the user put
1798
+ // their finger down, but used another finger to tap the element again.
1727
1799
  /** @type {?} */
1728
1800
  var touches = event.changedTouches;
1729
1801
  for (var i = 0; i < touches.length; i++) {
@@ -1741,6 +1813,8 @@ RippleRenderer = /** @class */ (function () {
1741
1813
  _this._isPointerDown = false;
1742
1814
  // Fade-out all ripples that are visible and not persistent.
1743
1815
  _this._activeRipples.forEach(function (ripple) {
1816
+ // By default, only ripples that are completely visible will fade out on pointer release.
1817
+ // If the `terminateOnPointerUp` option is set, ripples that still fade in will also fade out.
1744
1818
  /** @type {?} */
1745
1819
  var isVisible = ripple.state === RippleState.VISIBLE ||
1746
1820
  ripple.config.terminateOnPointerUp && ripple.state === RippleState.FADING_IN;
@@ -1817,6 +1891,7 @@ RippleRenderer = /** @class */ (function () {
1817
1891
  // ripple elements. This is critical because then the `scale` would not animate properly.
1818
1892
  enforceStyleRecalculation(ripple);
1819
1893
  ripple.style.transform = 'scale(1)';
1894
+ // Exposed reference to the ripple that will be returned.
1820
1895
  /** @type {?} */
1821
1896
  var rippleRef = new RippleRef(this, ripple, config);
1822
1897
  rippleRef.state = RippleState.FADING_IN;
@@ -1862,7 +1937,7 @@ RippleRenderer = /** @class */ (function () {
1862
1937
  if (!this._activeRipples.size) {
1863
1938
  this._containerRect = null;
1864
1939
  }
1865
- // For ripples that are not active anymore, don't re-un the fade-out animation.
1940
+ // For ripples that are not active anymore, don't re-run the fade-out animation.
1866
1941
  if (!wasActive) {
1867
1942
  return;
1868
1943
  }
@@ -1875,8 +1950,8 @@ RippleRenderer = /** @class */ (function () {
1875
1950
  rippleRef.state = RippleState.FADING_OUT;
1876
1951
  // Once the ripple faded out, the ripple can be safely removed from the DOM.
1877
1952
  this.runTimeoutOutsideZone(function () {
1878
- rippleRef.state = RippleState.HIDDEN; /** @type {?} */
1879
- ((rippleEl.parentNode)).removeChild(rippleEl);
1953
+ rippleRef.state = RippleState.HIDDEN;
1954
+ (/** @type {?} */ (rippleEl.parentNode)).removeChild(rippleEl);
1880
1955
  }, animationConfig.exitDuration);
1881
1956
  };
1882
1957
  /** Fades out all currently active ripples. */
@@ -1916,14 +1991,17 @@ RippleRenderer = /** @class */ (function () {
1916
1991
  });
1917
1992
  this._triggerElement = element;
1918
1993
  };
1994
+ /** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */
1919
1995
  /**
1920
1996
  * Runs a timeout outside of the Angular zone to avoid triggering the change detection.
1997
+ * @private
1921
1998
  * @param {?} fn
1922
1999
  * @param {?=} delay
1923
2000
  * @return {?}
1924
2001
  */
1925
2002
  RippleRenderer.prototype.runTimeoutOutsideZone = /**
1926
2003
  * Runs a timeout outside of the Angular zone to avoid triggering the change detection.
2004
+ * @private
1927
2005
  * @param {?} fn
1928
2006
  * @param {?=} delay
1929
2007
  * @return {?}
@@ -1945,7 +2023,7 @@ RippleRenderer = /** @class */ (function () {
1945
2023
  var _this = this;
1946
2024
  if (this._triggerElement) {
1947
2025
  this._triggerEvents.forEach(function (fn, type) {
1948
- /** @type {?} */ ((_this._triggerElement)).removeEventListener(type, fn, passiveEventOptions);
2026
+ (/** @type {?} */ (_this._triggerElement)).removeEventListener(type, fn, passiveEventOptions);
1949
2027
  });
1950
2028
  }
1951
2029
  };
@@ -1979,11 +2057,12 @@ function distanceToFurthestCorner(x, y, rect) {
1979
2057
 
1980
2058
  /**
1981
2059
  * @fileoverview added by tsickle
1982
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2060
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1983
2061
  */
1984
- /** *
2062
+ /**
1985
2063
  * Injection token that can be used to specify the global ripple options.
1986
- @type {?} */
2064
+ * @type {?}
2065
+ */
1987
2066
  var MAT_RIPPLE_GLOBAL_OPTIONS = new InjectionToken('mat-ripple-global-options');
1988
2067
  var MatRipple = /** @class */ (function () {
1989
2068
  function MatRipple(_elementRef, ngZone, platform, globalOptions, animationMode) {
@@ -2118,12 +2197,15 @@ var MatRipple = /** @class */ (function () {
2118
2197
  enumerable: true,
2119
2198
  configurable: true
2120
2199
  });
2200
+ /** Sets up the the trigger event listeners if ripples are enabled. */
2121
2201
  /**
2122
2202
  * Sets up the the trigger event listeners if ripples are enabled.
2203
+ * @private
2123
2204
  * @return {?}
2124
2205
  */
2125
2206
  MatRipple.prototype._setupTriggerEventsIfEnabled = /**
2126
2207
  * Sets up the the trigger event listeners if ripples are enabled.
2208
+ * @private
2127
2209
  * @return {?}
2128
2210
  */
2129
2211
  function () {
@@ -2187,7 +2269,7 @@ var MatRipple = /** @class */ (function () {
2187
2269
 
2188
2270
  /**
2189
2271
  * @fileoverview added by tsickle
2190
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2272
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2191
2273
  */
2192
2274
  var MatRippleModule = /** @class */ (function () {
2193
2275
  function MatRippleModule() {
@@ -2204,7 +2286,7 @@ var MatRippleModule = /** @class */ (function () {
2204
2286
 
2205
2287
  /**
2206
2288
  * @fileoverview added by tsickle
2207
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2289
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2208
2290
  */
2209
2291
  /**
2210
2292
  * Component that shows a simplified checkbox without including any kind of "real" checkbox.
@@ -2235,7 +2317,7 @@ var MatPseudoCheckbox = /** @class */ (function () {
2235
2317
  { type: Component, args: [{encapsulation: ViewEncapsulation.None,
2236
2318
  changeDetection: ChangeDetectionStrategy.OnPush,
2237
2319
  selector: 'mat-pseudo-checkbox',
2238
- styles: [".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate{opacity:.5}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],
2320
+ styles: [".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],
2239
2321
  template: '',
2240
2322
  host: {
2241
2323
  'class': 'mat-pseudo-checkbox',
@@ -2259,7 +2341,7 @@ var MatPseudoCheckbox = /** @class */ (function () {
2259
2341
 
2260
2342
  /**
2261
2343
  * @fileoverview added by tsickle
2262
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2344
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2263
2345
  */
2264
2346
  var MatPseudoCheckboxModule = /** @class */ (function () {
2265
2347
  function MatPseudoCheckboxModule() {
@@ -2275,12 +2357,15 @@ var MatPseudoCheckboxModule = /** @class */ (function () {
2275
2357
 
2276
2358
  /**
2277
2359
  * @fileoverview added by tsickle
2278
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2360
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2279
2361
  */
2362
+ // Boilerplate for applying mixins to MatOptgroup.
2280
2363
  /**
2281
2364
  * \@docs-private
2282
2365
  */
2283
- var /**
2366
+ var
2367
+ // Boilerplate for applying mixins to MatOptgroup.
2368
+ /**
2284
2369
  * \@docs-private
2285
2370
  */
2286
2371
  MatOptgroupBase = /** @class */ (function () {
@@ -2290,6 +2375,7 @@ MatOptgroupBase = /** @class */ (function () {
2290
2375
  }());
2291
2376
  /** @type {?} */
2292
2377
  var _MatOptgroupMixinBase = mixinDisabled(MatOptgroupBase);
2378
+ // Counter for unique group ids.
2293
2379
  /** @type {?} */
2294
2380
  var _uniqueOptgroupIdCounter = 0;
2295
2381
  /**
@@ -2330,12 +2416,13 @@ var MatOptgroup = /** @class */ (function (_super) {
2330
2416
 
2331
2417
  /**
2332
2418
  * @fileoverview added by tsickle
2333
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2419
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2334
2420
  */
2335
- /** *
2421
+ /**
2336
2422
  * Option IDs need to be unique across components, so this counter exists outside of
2337
2423
  * the component definition.
2338
- @type {?} */
2424
+ * @type {?}
2425
+ */
2339
2426
  var _uniqueIdCounter = 0;
2340
2427
  /**
2341
2428
  * Event object emitted by MatOption when selected or deselected.
@@ -2351,9 +2438,10 @@ MatOptionSelectionChange = /** @class */ (function () {
2351
2438
  }
2352
2439
  return MatOptionSelectionChange;
2353
2440
  }());
2354
- /** *
2441
+ /**
2355
2442
  * Injection token used to provide the parent component to options.
2356
- @type {?} */
2443
+ * @type {?}
2444
+ */
2357
2445
  var MAT_OPTION_PARENT_COMPONENT = new InjectionToken('MAT_OPTION_PARENT_COMPONENT');
2358
2446
  /**
2359
2447
  * Single option inside of a `<mat-select>` element.
@@ -2375,6 +2463,7 @@ var MatOption = /** @class */ (function () {
2375
2463
  /**
2376
2464
  * Event emitted when the option is selected or deselected.
2377
2465
  */
2466
+ // tslint:disable-next-line:no-output-on-prefix
2378
2467
  this.onSelectionChange = new EventEmitter();
2379
2468
  /**
2380
2469
  * Emits when the state of the option changes and any parents have to be notified.
@@ -2581,7 +2670,7 @@ var MatOption = /** @class */ (function () {
2581
2670
  * @return {?}
2582
2671
  */
2583
2672
  function (event) {
2584
- if (event.keyCode === ENTER || event.keyCode === SPACE) {
2673
+ if ((event.keyCode === ENTER || event.keyCode === SPACE) && !hasModifierKey(event)) {
2585
2674
  this._selectViaInteraction();
2586
2675
  // Prevent the page from scrolling down and form submits.
2587
2676
  event.preventDefault();
@@ -2662,13 +2751,16 @@ var MatOption = /** @class */ (function () {
2662
2751
  function () {
2663
2752
  this._stateChanges.complete();
2664
2753
  };
2754
+ /** Emits the selection change event. */
2665
2755
  /**
2666
2756
  * Emits the selection change event.
2757
+ * @private
2667
2758
  * @param {?=} isUserInput
2668
2759
  * @return {?}
2669
2760
  */
2670
2761
  MatOption.prototype._emitSelectionChangeEvent = /**
2671
2762
  * Emits the selection change event.
2763
+ * @private
2672
2764
  * @param {?=} isUserInput
2673
2765
  * @return {?}
2674
2766
  */
@@ -2693,7 +2785,7 @@ var MatOption = /** @class */ (function () {
2693
2785
  '(keydown)': '_handleKeydown($event)',
2694
2786
  'class': 'mat-option',
2695
2787
  },
2696
- styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media screen and (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],
2788
+ styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],
2697
2789
  template: "<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\" [state]=\"selected ? 'checked' : ''\" [disabled]=\"disabled\"></mat-pseudo-checkbox><span class=\"mat-option-text\"><ng-content></ng-content></span><div class=\"mat-option-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\" [matRippleDisabled]=\"disabled || disableRipple\"></div>",
2698
2790
  encapsulation: ViewEncapsulation.None,
2699
2791
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -2762,7 +2854,7 @@ function _getOptionScrollPosition(optionIndex, optionHeight, currentScrollPositi
2762
2854
 
2763
2855
  /**
2764
2856
  * @fileoverview added by tsickle
2765
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2857
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2766
2858
  */
2767
2859
  var MatOptionModule = /** @class */ (function () {
2768
2860
  function MatOptionModule() {
@@ -2779,87 +2871,58 @@ var MatOptionModule = /** @class */ (function () {
2779
2871
 
2780
2872
  /**
2781
2873
  * @fileoverview added by tsickle
2782
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2874
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2783
2875
  */
2784
- /** *
2876
+ /**
2785
2877
  * InjectionToken that can be used to specify the global label options.
2786
- @type {?} */
2878
+ * @type {?}
2879
+ */
2787
2880
  var MAT_LABEL_GLOBAL_OPTIONS = new InjectionToken('mat-label-global-options');
2788
2881
 
2789
2882
  /**
2790
2883
  * @fileoverview added by tsickle
2791
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2884
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2792
2885
  */
2793
2886
 
2794
- /** *
2887
+ /**
2795
2888
  * When constructing a Date, the month is zero-based. This can be confusing, since people are
2796
2889
  * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2797
- @type {?} */
2890
+ * \@docs-private
2891
+ * \@breaking-change 8.0.0 Remove this with V8 since it was only targeted for testing.
2892
+ * @type {?}
2893
+ */
2798
2894
  var JAN = 0;
2799
- /** *
2800
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2801
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2802
- @type {?} */
2895
+ /** @type {?} */
2803
2896
  var FEB = 1;
2804
- /** *
2805
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2806
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2807
- @type {?} */
2897
+ /** @type {?} */
2808
2898
  var MAR = 2;
2809
- /** *
2810
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2811
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2812
- @type {?} */
2899
+ /** @type {?} */
2813
2900
  var APR = 3;
2814
- /** *
2815
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2816
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2817
- @type {?} */
2901
+ /** @type {?} */
2818
2902
  var MAY = 4;
2819
- /** *
2820
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2821
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2822
- @type {?} */
2903
+ /** @type {?} */
2823
2904
  var JUN = 5;
2824
- /** *
2825
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2826
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2827
- @type {?} */
2905
+ /** @type {?} */
2828
2906
  var JUL = 6;
2829
- /** *
2830
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2831
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2832
- @type {?} */
2907
+ /** @type {?} */
2833
2908
  var AUG = 7;
2834
- /** *
2835
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2836
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2837
- @type {?} */
2909
+ /** @type {?} */
2838
2910
  var SEP = 8;
2839
- /** *
2840
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2841
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2842
- @type {?} */
2911
+ /** @type {?} */
2843
2912
  var OCT = 9;
2844
- /** *
2845
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2846
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2847
- @type {?} */
2913
+ /** @type {?} */
2848
2914
  var NOV = 10;
2849
- /** *
2850
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2851
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2852
- @type {?} */
2915
+ /** @type {?} */
2853
2916
  var DEC = 11;
2854
2917
 
2855
2918
  /**
2856
2919
  * @fileoverview added by tsickle
2857
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2920
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2858
2921
  */
2859
2922
 
2860
2923
  /**
2861
2924
  * @fileoverview added by tsickle
2862
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2925
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2863
2926
  */
2864
2927
 
2865
2928
  export { AnimationCurves, AnimationDurations, MatCommonModule, MATERIAL_SANITY_CHECKS, mixinDisabled, mixinColor, mixinDisableRipple, mixinTabIndex, mixinErrorState, mixinInitialized, NativeDateModule, MatNativeDateModule, MAT_DATE_LOCALE_FACTORY, MAT_DATE_LOCALE, MAT_DATE_LOCALE_PROVIDER, DateAdapter, MAT_DATE_FORMATS, NativeDateAdapter, MAT_NATIVE_DATE_FORMATS, ShowOnDirtyErrorStateMatcher, ErrorStateMatcher, MAT_HAMMER_OPTIONS, GestureConfig, setLines, MatLine, MatLineSetter, MatLineModule, MatOptionModule, _countGroupLabelsBeforeOption, _getOptionScrollPosition, MatOptionSelectionChange, MAT_OPTION_PARENT_COMPONENT, MatOption, MatOptgroupBase, _MatOptgroupMixinBase, MatOptgroup, MAT_LABEL_GLOBAL_OPTIONS, MatRippleModule, MAT_RIPPLE_GLOBAL_OPTIONS, MatRipple, RippleState, RippleRef, defaultRippleAnimationConfig, RippleRenderer, MatPseudoCheckboxModule, MatPseudoCheckbox, JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, MATERIAL_SANITY_CHECKS_FACTORY as ɵa1 };