@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
@@ -53,7 +53,7 @@ var __assign = function() {
53
53
 
54
54
  /**
55
55
  * @fileoverview added by tsickle
56
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
56
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
57
57
  */
58
58
 
59
59
  /**
@@ -82,11 +82,12 @@ var AnimationDurations = /** @class */ (function () {
82
82
 
83
83
  /**
84
84
  * @fileoverview added by tsickle
85
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
85
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
86
86
  */
87
- /** *
87
+ /**
88
88
  * Injection token that configures whether the Material sanity checks are enabled.
89
- @type {?} */
89
+ * @type {?}
90
+ */
90
91
  var MATERIAL_SANITY_CHECKS = new core.InjectionToken('mat-sanity-checks', {
91
92
  providedIn: 'root',
92
93
  factory: MATERIAL_SANITY_CHECKS_FACTORY,
@@ -130,34 +131,42 @@ var MatCommonModule = /** @class */ (function () {
130
131
  this._hasDoneGlobalChecks = true;
131
132
  }
132
133
  }
134
+ /** Whether any sanity checks are enabled */
133
135
  /**
134
136
  * Whether any sanity checks are enabled
137
+ * @private
135
138
  * @return {?}
136
139
  */
137
140
  MatCommonModule.prototype._areChecksEnabled = /**
138
141
  * Whether any sanity checks are enabled
142
+ * @private
139
143
  * @return {?}
140
144
  */
141
145
  function () {
142
146
  return this._sanityChecksEnabled && core.isDevMode() && !this._isTestEnv();
143
147
  };
148
+ /** Whether the code is running in tests. */
144
149
  /**
145
150
  * Whether the code is running in tests.
151
+ * @private
146
152
  * @return {?}
147
153
  */
148
154
  MatCommonModule.prototype._isTestEnv = /**
149
155
  * Whether the code is running in tests.
156
+ * @private
150
157
  * @return {?}
151
158
  */
152
159
  function () {
153
160
  /** @type {?} */
154
- var window = /** @type {?} */ (this._window);
161
+ var window = (/** @type {?} */ (this._window));
155
162
  return window && (window.__karma__ || window.jasmine);
156
163
  };
157
164
  /**
165
+ * @private
158
166
  * @return {?}
159
167
  */
160
168
  MatCommonModule.prototype._checkDoctypeIsDefined = /**
169
+ * @private
161
170
  * @return {?}
162
171
  */
163
172
  function () {
@@ -167,9 +176,11 @@ var MatCommonModule = /** @class */ (function () {
167
176
  }
168
177
  };
169
178
  /**
179
+ * @private
170
180
  * @return {?}
171
181
  */
172
182
  MatCommonModule.prototype._checkThemeIsPresent = /**
183
+ * @private
173
184
  * @return {?}
174
185
  */
175
186
  function () {
@@ -207,7 +218,7 @@ var MatCommonModule = /** @class */ (function () {
207
218
  if (this._hasCheckedHammer || !this._window) {
208
219
  return;
209
220
  }
210
- if (this._areChecksEnabled() && !(/** @type {?} */ (this._window))['Hammer'] && !this._hammerLoader) {
221
+ if (this._areChecksEnabled() && !((/** @type {?} */ (this._window)))['Hammer'] && !this._hammerLoader) {
211
222
  console.warn('Could not find HammerJS. Certain Angular Material components may not work correctly.');
212
223
  }
213
224
  this._hasCheckedHammer = true;
@@ -228,7 +239,7 @@ var MatCommonModule = /** @class */ (function () {
228
239
 
229
240
  /**
230
241
  * @fileoverview added by tsickle
231
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
242
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
232
243
  */
233
244
  /**
234
245
  * Mixin to augment a directive with a `disabled` property.
@@ -267,7 +278,7 @@ function mixinDisabled(base) {
267
278
 
268
279
  /**
269
280
  * @fileoverview added by tsickle
270
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
281
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
271
282
  */
272
283
  /**
273
284
  * Mixin to augment a directive with a `color` property.
@@ -320,7 +331,7 @@ function mixinColor(base, defaultColor) {
320
331
 
321
332
  /**
322
333
  * @fileoverview added by tsickle
323
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
334
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
324
335
  */
325
336
  /**
326
337
  * Mixin to augment a directive with a `disableRipple` property.
@@ -361,7 +372,7 @@ function mixinDisableRipple(base) {
361
372
 
362
373
  /**
363
374
  * @fileoverview added by tsickle
364
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
375
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
365
376
  */
366
377
  /**
367
378
  * Mixin to augment a directive with a `tabIndex` property.
@@ -405,7 +416,7 @@ function mixinTabIndex(base, defaultTabIndex) {
405
416
 
406
417
  /**
407
418
  * @fileoverview added by tsickle
408
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
419
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
409
420
  */
410
421
  /**
411
422
  * Mixin to augment a directive with updateErrorState method.
@@ -448,7 +459,7 @@ function mixinErrorState(base) {
448
459
  /** @type {?} */
449
460
  var matcher = this.errorStateMatcher || this._defaultErrorStateMatcher;
450
461
  /** @type {?} */
451
- var control = this.ngControl ? /** @type {?} */ (this.ngControl.control) : null;
462
+ var control = this.ngControl ? (/** @type {?} */ (this.ngControl.control)) : null;
452
463
  /** @type {?} */
453
464
  var newState = matcher.isErrorState(control, parent);
454
465
  if (newState !== oldState) {
@@ -462,7 +473,7 @@ function mixinErrorState(base) {
462
473
 
463
474
  /**
464
475
  * @fileoverview added by tsickle
465
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
476
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
466
477
  */
467
478
  /**
468
479
  * Mixin to augment a directive with an initialized property that will emits when ngOnInit ends.
@@ -500,7 +511,7 @@ function mixinInitialized(base) {
500
511
  _this._notifySubscriber(subscriber);
501
512
  }
502
513
  else {
503
- /** @type {?} */ ((_this._pendingSubscribers)).push(subscriber);
514
+ (/** @type {?} */ (_this._pendingSubscribers)).push(subscriber);
504
515
  }
505
516
  });
506
517
  return _this;
@@ -527,8 +538,8 @@ function mixinInitialized(base) {
527
538
  throw Error('This directive has already been marked as initialized and ' +
528
539
  'should not be called twice.');
529
540
  }
530
- this._isInitialized = true; /** @type {?} */
531
- ((this._pendingSubscribers)).forEach(this._notifySubscriber);
541
+ this._isInitialized = true;
542
+ (/** @type {?} */ (this._pendingSubscribers)).forEach(this._notifySubscriber);
532
543
  this._pendingSubscribers = null;
533
544
  };
534
545
  /** Emits and completes the subscriber stream (should only emit once). */
@@ -552,16 +563,17 @@ function mixinInitialized(base) {
552
563
 
553
564
  /**
554
565
  * @fileoverview added by tsickle
555
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
566
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
556
567
  */
557
568
 
558
569
  /**
559
570
  * @fileoverview added by tsickle
560
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
571
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
561
572
  */
562
- /** *
573
+ /**
563
574
  * InjectionToken for datepicker that can be used to override default locale code.
564
- @type {?} */
575
+ * @type {?}
576
+ */
565
577
  var MAT_DATE_LOCALE = new core.InjectionToken('MAT_DATE_LOCALE', {
566
578
  providedIn: 'root',
567
579
  factory: MAT_DATE_LOCALE_FACTORY,
@@ -573,12 +585,13 @@ var MAT_DATE_LOCALE = new core.InjectionToken('MAT_DATE_LOCALE', {
573
585
  function MAT_DATE_LOCALE_FACTORY() {
574
586
  return core.inject(core.LOCALE_ID);
575
587
  }
576
- /** *
588
+ /**
577
589
  * No longer needed since MAT_DATE_LOCALE has been changed to a scoped injectable.
578
590
  * If you are importing and providing this in your code you can simply remove it.
579
591
  * @deprecated
580
592
  * \@breaking-change 8.0.0
581
- @type {?} */
593
+ * @type {?}
594
+ */
582
595
  var MAT_DATE_LOCALE_PROVIDER = { provide: MAT_DATE_LOCALE, useExisting: core.LOCALE_ID };
583
596
  /**
584
597
  * Adapts type `D` to be usable as a date by cdk-based components that work with dates.
@@ -762,22 +775,25 @@ DateAdapter = /** @class */ (function () {
762
775
 
763
776
  /**
764
777
  * @fileoverview added by tsickle
765
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
778
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
766
779
  */
767
780
  /** @type {?} */
768
781
  var MAT_DATE_FORMATS = new core.InjectionToken('mat-date-formats');
769
782
 
770
783
  /**
771
784
  * @fileoverview added by tsickle
772
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
785
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
773
786
  */
774
- /** *
787
+ // TODO(mmalerba): Remove when we no longer support safari 9.
788
+ /**
775
789
  * Whether the browser supports the Intl API.
776
- @type {?} */
790
+ * @type {?}
791
+ */
777
792
  var SUPPORTS_INTL_API = typeof Intl != 'undefined';
778
- /** *
793
+ /**
779
794
  * The default month names to use if Intl API is not available.
780
- @type {?} */
795
+ * @type {?}
796
+ */
781
797
  var DEFAULT_MONTH_NAMES = {
782
798
  'long': [
783
799
  'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
@@ -787,23 +803,26 @@ var DEFAULT_MONTH_NAMES = {
787
803
  'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D']
788
804
  };
789
805
  var ɵ0 = function (i) { return String(i + 1); };
790
- /** *
806
+ /**
791
807
  * The default date names to use if Intl API is not available.
792
- @type {?} */
808
+ * @type {?}
809
+ */
793
810
  var DEFAULT_DATE_NAMES = range(31, ɵ0);
794
- /** *
811
+ /**
795
812
  * The default day of the week names to use if Intl API is not available.
796
- @type {?} */
813
+ * @type {?}
814
+ */
797
815
  var DEFAULT_DAY_OF_WEEK_NAMES = {
798
816
  'long': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
799
817
  'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
800
818
  'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S']
801
819
  };
802
- /** *
820
+ /**
803
821
  * Matches strings that have the form of a valid RFC 3339 string
804
822
  * (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date
805
823
  * because the regex will match strings an with out of bounds month, date, etc.
806
- @type {?} */
824
+ * @type {?}
825
+ */
807
826
  var ISO_8601_REGEX = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;
808
827
  /**
809
828
  * Creates an array and fills it with values.
@@ -986,7 +1005,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
986
1005
  * @return {?}
987
1006
  */
988
1007
  function (date) {
989
- return this.createDate(this.getYear(date), this.getMonth(date), this.getDate(date));
1008
+ return new Date(date.getTime());
990
1009
  };
991
1010
  /**
992
1011
  * @param {?} year
@@ -1200,8 +1219,10 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1200
1219
  function () {
1201
1220
  return new Date(NaN);
1202
1221
  };
1222
+ /** Creates a date but allows the month and date to overflow. */
1203
1223
  /**
1204
1224
  * Creates a date but allows the month and date to overflow.
1225
+ * @private
1205
1226
  * @param {?} year
1206
1227
  * @param {?} month
1207
1228
  * @param {?} date
@@ -1209,6 +1230,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1209
1230
  */
1210
1231
  NativeDateAdapter.prototype._createDateWithOverflow = /**
1211
1232
  * Creates a date but allows the month and date to overflow.
1233
+ * @private
1212
1234
  * @param {?} year
1213
1235
  * @param {?} month
1214
1236
  * @param {?} date
@@ -1226,11 +1248,18 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1226
1248
  };
1227
1249
  /**
1228
1250
  * Pads a number to make it two digits.
1251
+ * @param n The number to pad.
1252
+ * @returns The padded number.
1253
+ */
1254
+ /**
1255
+ * Pads a number to make it two digits.
1256
+ * @private
1229
1257
  * @param {?} n The number to pad.
1230
1258
  * @return {?} The padded number.
1231
1259
  */
1232
1260
  NativeDateAdapter.prototype._2digit = /**
1233
1261
  * Pads a number to make it two digits.
1262
+ * @private
1234
1263
  * @param {?} n The number to pad.
1235
1264
  * @return {?} The padded number.
1236
1265
  */
@@ -1241,6 +1270,14 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1241
1270
  * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
1242
1271
  * other browsers do not. We remove them to make output consistent and because they interfere with
1243
1272
  * date parsing.
1273
+ * @param str The string to strip direction characters from.
1274
+ * @returns The stripped string.
1275
+ */
1276
+ /**
1277
+ * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
1278
+ * other browsers do not. We remove them to make output consistent and because they interfere with
1279
+ * date parsing.
1280
+ * @private
1244
1281
  * @param {?} str The string to strip direction characters from.
1245
1282
  * @return {?} The stripped string.
1246
1283
  */
@@ -1248,6 +1285,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1248
1285
  * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
1249
1286
  * other browsers do not. We remove them to make output consistent and because they interfere with
1250
1287
  * date parsing.
1288
+ * @private
1251
1289
  * @param {?} str The string to strip direction characters from.
1252
1290
  * @return {?} The stripped string.
1253
1291
  */
@@ -1260,6 +1298,18 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1260
1298
  * very frequently, and the current valid rule is not always valid in previous years though.
1261
1299
  * We work around this problem building a new Date object which has its internal UTC
1262
1300
  * representation with the local date and time.
1301
+ * @param dtf Intl.DateTimeFormat object, containg the desired string format. It must have
1302
+ * timeZone set to 'utc' to work fine.
1303
+ * @param date Date from which we want to get the string representation according to dtf
1304
+ * @returns A Date object with its UTC representation based on the passed in date info
1305
+ */
1306
+ /**
1307
+ * When converting Date object to string, javascript built-in functions may return wrong
1308
+ * results because it applies its internal DST rules. The DST rules around the world change
1309
+ * very frequently, and the current valid rule is not always valid in previous years though.
1310
+ * We work around this problem building a new Date object which has its internal UTC
1311
+ * representation with the local date and time.
1312
+ * @private
1263
1313
  * @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have
1264
1314
  * timeZone set to 'utc' to work fine.
1265
1315
  * @param {?} date Date from which we want to get the string representation according to dtf
@@ -1271,6 +1321,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1271
1321
  * very frequently, and the current valid rule is not always valid in previous years though.
1272
1322
  * We work around this problem building a new Date object which has its internal UTC
1273
1323
  * representation with the local date and time.
1324
+ * @private
1274
1325
  * @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have
1275
1326
  * timeZone set to 'utc' to work fine.
1276
1327
  * @param {?} date Date from which we want to get the string representation according to dtf
@@ -1294,7 +1345,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
1294
1345
 
1295
1346
  /**
1296
1347
  * @fileoverview added by tsickle
1297
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1348
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1298
1349
  */
1299
1350
 
1300
1351
  /** @type {?} */
@@ -1312,7 +1363,7 @@ var MAT_NATIVE_DATE_FORMATS = {
1312
1363
 
1313
1364
  /**
1314
1365
  * @fileoverview added by tsickle
1315
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1366
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1316
1367
  */
1317
1368
  var NativeDateModule = /** @class */ (function () {
1318
1369
  function NativeDateModule() {
@@ -1342,7 +1393,7 @@ var MatNativeDateModule = /** @class */ (function () {
1342
1393
 
1343
1394
  /**
1344
1395
  * @fileoverview added by tsickle
1345
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1396
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1346
1397
  */
1347
1398
  /**
1348
1399
  * Error state matcher that matches when a control is invalid and dirty.
@@ -1396,12 +1447,18 @@ var ErrorStateMatcher = /** @class */ (function () {
1396
1447
 
1397
1448
  /**
1398
1449
  * @fileoverview added by tsickle
1399
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1450
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1400
1451
  */
1401
- /** *
1452
+
1453
+ /**
1454
+ * @fileoverview added by tsickle
1455
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1456
+ */
1457
+ /**
1402
1458
  * Injection token that can be used to provide options to the Hammerjs instance.
1403
1459
  * More info at http://hammerjs.github.io/api/.
1404
- @type {?} */
1460
+ * @type {?}
1461
+ */
1405
1462
  var MAT_HAMMER_OPTIONS = new core.InjectionToken('MAT_HAMMER_OPTIONS');
1406
1463
  /** @type {?} */
1407
1464
  var ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES = [
@@ -1413,10 +1470,11 @@ var ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES = [
1413
1470
  'slideleft'
1414
1471
  ];
1415
1472
  var ɵ0$2 = function () { }, ɵ1 = function () { };
1416
- /** *
1473
+ /**
1417
1474
  * Fake HammerInstance that is used when a Hammer instance is requested when HammerJS has not
1418
1475
  * been loaded on the page.
1419
- @type {?} */
1476
+ * @type {?}
1477
+ */
1420
1478
  var noopHammerInstance = {
1421
1479
  on: ɵ0$2,
1422
1480
  off: ɵ1,
@@ -1479,7 +1537,7 @@ var GestureConfig = /** @class */ (function (_super) {
1479
1537
  */
1480
1538
  function (element) {
1481
1539
  /** @type {?} */
1482
- var hammer = typeof window !== 'undefined' ? (/** @type {?} */ (window)).Hammer : null;
1540
+ var hammer = typeof window !== 'undefined' ? ((/** @type {?} */ (window))).Hammer : null;
1483
1541
  if (!hammer) {
1484
1542
  // If HammerJS is not loaded here, return the noop HammerInstance. This is necessary to
1485
1543
  // ensure that omitting HammerJS completely will not cause any errors while *also* supporting
@@ -1493,12 +1551,16 @@ var GestureConfig = /** @class */ (function (_super) {
1493
1551
  }
1494
1552
  /** @type {?} */
1495
1553
  var mc = new hammer(element, this._hammerOptions || undefined);
1554
+ // Default Hammer Recognizers.
1496
1555
  /** @type {?} */
1497
1556
  var pan = new hammer.Pan();
1498
1557
  /** @type {?} */
1499
1558
  var swipe = new hammer.Swipe();
1500
1559
  /** @type {?} */
1501
1560
  var press = new hammer.Press();
1561
+ // Notice that a HammerJS recognizer can only depend on one other recognizer once.
1562
+ // Otherwise the previous `recognizeWith` will be dropped.
1563
+ // TODO: Confirm threshold numbers with Material Design UX Team
1502
1564
  /** @type {?} */
1503
1565
  var slide = this._createRecognizer(pan, { event: 'slide', threshold: 0 }, swipe);
1504
1566
  /** @type {?} */
@@ -1513,10 +1575,12 @@ var GestureConfig = /** @class */ (function (_super) {
1513
1575
  longpress.recognizeWith(slide);
1514
1576
  // Add customized gestures to Hammer manager
1515
1577
  mc.add([swipe, press, pan, slide, longpress]);
1516
- return /** @type {?} */ (mc);
1578
+ return (/** @type {?} */ (mc));
1517
1579
  };
1580
+ /** Creates a new recognizer, without affecting the default recognizers of HammerJS */
1518
1581
  /**
1519
1582
  * Creates a new recognizer, without affecting the default recognizers of HammerJS
1583
+ * @private
1520
1584
  * @param {?} base
1521
1585
  * @param {?} options
1522
1586
  * @param {...?} inheritances
@@ -1524,6 +1588,7 @@ var GestureConfig = /** @class */ (function (_super) {
1524
1588
  */
1525
1589
  GestureConfig.prototype._createRecognizer = /**
1526
1590
  * Creates a new recognizer, without affecting the default recognizers of HammerJS
1591
+ * @private
1527
1592
  * @param {?} base
1528
1593
  * @param {?} options
1529
1594
  * @param {...?} inheritances
@@ -1535,7 +1600,7 @@ var GestureConfig = /** @class */ (function (_super) {
1535
1600
  inheritances[_i - 2] = arguments[_i];
1536
1601
  }
1537
1602
  /** @type {?} */
1538
- var recognizer = new (/** @type {?} */ (base.constructor))(options);
1603
+ var recognizer = new ((/** @type {?} */ (base.constructor)))(options);
1539
1604
  inheritances.push(base);
1540
1605
  inheritances.forEach(function (item) { return recognizer.recognizeWith(item); });
1541
1606
  return recognizer;
@@ -1553,7 +1618,7 @@ var GestureConfig = /** @class */ (function (_super) {
1553
1618
 
1554
1619
  /**
1555
1620
  * @fileoverview added by tsickle
1556
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1621
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1557
1622
  */
1558
1623
  /**
1559
1624
  * Shared directive to count lines inside a text area, such as a list item.
@@ -1639,7 +1704,7 @@ var MatLineModule = /** @class */ (function () {
1639
1704
 
1640
1705
  /**
1641
1706
  * @fileoverview added by tsickle
1642
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1707
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1643
1708
  */
1644
1709
 
1645
1710
  /** @enum {number} */
@@ -1683,24 +1748,27 @@ RippleRef = /** @class */ (function () {
1683
1748
 
1684
1749
  /**
1685
1750
  * @fileoverview added by tsickle
1686
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1751
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1687
1752
  */
1688
- /** *
1753
+ /**
1689
1754
  * Default ripple animation configuration for ripples without an explicit
1690
1755
  * animation config specified.
1691
- @type {?} */
1756
+ * @type {?}
1757
+ */
1692
1758
  var defaultRippleAnimationConfig = {
1693
1759
  enterDuration: 450,
1694
1760
  exitDuration: 400
1695
1761
  };
1696
- /** *
1762
+ /**
1697
1763
  * Timeout for ignoring mouse events. Mouse events will be temporary ignored after touch
1698
1764
  * events to avoid synthetic mouse events.
1699
- @type {?} */
1765
+ * @type {?}
1766
+ */
1700
1767
  var ignoreMouseEventsTimeout = 800;
1701
- /** *
1768
+ /**
1702
1769
  * Options that apply to all the event listeners that are bound by the ripple renderer.
1703
- @type {?} */
1770
+ * @type {?}
1771
+ */
1704
1772
  var passiveEventOptions = platform.normalizePassiveListenerOptions({ passive: true });
1705
1773
  /**
1706
1774
  * Helper service that performs DOM manipulations. Not intended to be used outside this module.
@@ -1737,6 +1805,8 @@ RippleRenderer = /** @class */ (function () {
1737
1805
  * Function being called whenever the trigger is being pressed using mouse.
1738
1806
  */
1739
1807
  this.onMousedown = function (event) {
1808
+ // Screen readers will fire fake mouse events for space/enter. Skip launching a
1809
+ // ripple in this case for consistency with the non-screen-reader experience.
1740
1810
  /** @type {?} */
1741
1811
  var isFakeMousedown = a11y.isFakeMousedownFromScreenReader(event);
1742
1812
  /** @type {?} */
@@ -1757,6 +1827,8 @@ RippleRenderer = /** @class */ (function () {
1757
1827
  // time after a touchstart event.
1758
1828
  _this._lastTouchStartEvent = Date.now();
1759
1829
  _this._isPointerDown = true;
1830
+ // Use `changedTouches` so we skip any touches where the user put
1831
+ // their finger down, but used another finger to tap the element again.
1760
1832
  /** @type {?} */
1761
1833
  var touches = event.changedTouches;
1762
1834
  for (var i = 0; i < touches.length; i++) {
@@ -1774,6 +1846,8 @@ RippleRenderer = /** @class */ (function () {
1774
1846
  _this._isPointerDown = false;
1775
1847
  // Fade-out all ripples that are visible and not persistent.
1776
1848
  _this._activeRipples.forEach(function (ripple) {
1849
+ // By default, only ripples that are completely visible will fade out on pointer release.
1850
+ // If the `terminateOnPointerUp` option is set, ripples that still fade in will also fade out.
1777
1851
  /** @type {?} */
1778
1852
  var isVisible = ripple.state === RippleState.VISIBLE ||
1779
1853
  ripple.config.terminateOnPointerUp && ripple.state === RippleState.FADING_IN;
@@ -1850,6 +1924,7 @@ RippleRenderer = /** @class */ (function () {
1850
1924
  // ripple elements. This is critical because then the `scale` would not animate properly.
1851
1925
  enforceStyleRecalculation(ripple);
1852
1926
  ripple.style.transform = 'scale(1)';
1927
+ // Exposed reference to the ripple that will be returned.
1853
1928
  /** @type {?} */
1854
1929
  var rippleRef = new RippleRef(this, ripple, config);
1855
1930
  rippleRef.state = RippleState.FADING_IN;
@@ -1895,7 +1970,7 @@ RippleRenderer = /** @class */ (function () {
1895
1970
  if (!this._activeRipples.size) {
1896
1971
  this._containerRect = null;
1897
1972
  }
1898
- // For ripples that are not active anymore, don't re-un the fade-out animation.
1973
+ // For ripples that are not active anymore, don't re-run the fade-out animation.
1899
1974
  if (!wasActive) {
1900
1975
  return;
1901
1976
  }
@@ -1908,8 +1983,8 @@ RippleRenderer = /** @class */ (function () {
1908
1983
  rippleRef.state = RippleState.FADING_OUT;
1909
1984
  // Once the ripple faded out, the ripple can be safely removed from the DOM.
1910
1985
  this.runTimeoutOutsideZone(function () {
1911
- rippleRef.state = RippleState.HIDDEN; /** @type {?} */
1912
- ((rippleEl.parentNode)).removeChild(rippleEl);
1986
+ rippleRef.state = RippleState.HIDDEN;
1987
+ (/** @type {?} */ (rippleEl.parentNode)).removeChild(rippleEl);
1913
1988
  }, animationConfig.exitDuration);
1914
1989
  };
1915
1990
  /** Fades out all currently active ripples. */
@@ -1949,14 +2024,17 @@ RippleRenderer = /** @class */ (function () {
1949
2024
  });
1950
2025
  this._triggerElement = element;
1951
2026
  };
2027
+ /** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */
1952
2028
  /**
1953
2029
  * Runs a timeout outside of the Angular zone to avoid triggering the change detection.
2030
+ * @private
1954
2031
  * @param {?} fn
1955
2032
  * @param {?=} delay
1956
2033
  * @return {?}
1957
2034
  */
1958
2035
  RippleRenderer.prototype.runTimeoutOutsideZone = /**
1959
2036
  * Runs a timeout outside of the Angular zone to avoid triggering the change detection.
2037
+ * @private
1960
2038
  * @param {?} fn
1961
2039
  * @param {?=} delay
1962
2040
  * @return {?}
@@ -1978,7 +2056,7 @@ RippleRenderer = /** @class */ (function () {
1978
2056
  var _this = this;
1979
2057
  if (this._triggerElement) {
1980
2058
  this._triggerEvents.forEach(function (fn, type) {
1981
- /** @type {?} */ ((_this._triggerElement)).removeEventListener(type, fn, passiveEventOptions);
2059
+ (/** @type {?} */ (_this._triggerElement)).removeEventListener(type, fn, passiveEventOptions);
1982
2060
  });
1983
2061
  }
1984
2062
  };
@@ -2012,11 +2090,12 @@ function distanceToFurthestCorner(x, y, rect) {
2012
2090
 
2013
2091
  /**
2014
2092
  * @fileoverview added by tsickle
2015
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2093
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2016
2094
  */
2017
- /** *
2095
+ /**
2018
2096
  * Injection token that can be used to specify the global ripple options.
2019
- @type {?} */
2097
+ * @type {?}
2098
+ */
2020
2099
  var MAT_RIPPLE_GLOBAL_OPTIONS = new core.InjectionToken('mat-ripple-global-options');
2021
2100
  var MatRipple = /** @class */ (function () {
2022
2101
  function MatRipple(_elementRef, ngZone, platform$$1, globalOptions, animationMode) {
@@ -2151,12 +2230,15 @@ var MatRipple = /** @class */ (function () {
2151
2230
  enumerable: true,
2152
2231
  configurable: true
2153
2232
  });
2233
+ /** Sets up the the trigger event listeners if ripples are enabled. */
2154
2234
  /**
2155
2235
  * Sets up the the trigger event listeners if ripples are enabled.
2236
+ * @private
2156
2237
  * @return {?}
2157
2238
  */
2158
2239
  MatRipple.prototype._setupTriggerEventsIfEnabled = /**
2159
2240
  * Sets up the the trigger event listeners if ripples are enabled.
2241
+ * @private
2160
2242
  * @return {?}
2161
2243
  */
2162
2244
  function () {
@@ -2220,7 +2302,7 @@ var MatRipple = /** @class */ (function () {
2220
2302
 
2221
2303
  /**
2222
2304
  * @fileoverview added by tsickle
2223
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2305
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2224
2306
  */
2225
2307
  var MatRippleModule = /** @class */ (function () {
2226
2308
  function MatRippleModule() {
@@ -2237,7 +2319,7 @@ var MatRippleModule = /** @class */ (function () {
2237
2319
 
2238
2320
  /**
2239
2321
  * @fileoverview added by tsickle
2240
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2322
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2241
2323
  */
2242
2324
  /**
2243
2325
  * Component that shows a simplified checkbox without including any kind of "real" checkbox.
@@ -2268,7 +2350,7 @@ var MatPseudoCheckbox = /** @class */ (function () {
2268
2350
  { type: core.Component, args: [{encapsulation: core.ViewEncapsulation.None,
2269
2351
  changeDetection: core.ChangeDetectionStrategy.OnPush,
2270
2352
  selector: 'mat-pseudo-checkbox',
2271
- 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}"],
2353
+ 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}"],
2272
2354
  template: '',
2273
2355
  host: {
2274
2356
  'class': 'mat-pseudo-checkbox',
@@ -2292,7 +2374,7 @@ var MatPseudoCheckbox = /** @class */ (function () {
2292
2374
 
2293
2375
  /**
2294
2376
  * @fileoverview added by tsickle
2295
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2377
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2296
2378
  */
2297
2379
  var MatPseudoCheckboxModule = /** @class */ (function () {
2298
2380
  function MatPseudoCheckboxModule() {
@@ -2308,12 +2390,15 @@ var MatPseudoCheckboxModule = /** @class */ (function () {
2308
2390
 
2309
2391
  /**
2310
2392
  * @fileoverview added by tsickle
2311
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2393
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2312
2394
  */
2395
+ // Boilerplate for applying mixins to MatOptgroup.
2313
2396
  /**
2314
2397
  * \@docs-private
2315
2398
  */
2316
- var /**
2399
+ var
2400
+ // Boilerplate for applying mixins to MatOptgroup.
2401
+ /**
2317
2402
  * \@docs-private
2318
2403
  */
2319
2404
  MatOptgroupBase = /** @class */ (function () {
@@ -2323,6 +2408,7 @@ MatOptgroupBase = /** @class */ (function () {
2323
2408
  }());
2324
2409
  /** @type {?} */
2325
2410
  var _MatOptgroupMixinBase = mixinDisabled(MatOptgroupBase);
2411
+ // Counter for unique group ids.
2326
2412
  /** @type {?} */
2327
2413
  var _uniqueOptgroupIdCounter = 0;
2328
2414
  /**
@@ -2363,12 +2449,13 @@ var MatOptgroup = /** @class */ (function (_super) {
2363
2449
 
2364
2450
  /**
2365
2451
  * @fileoverview added by tsickle
2366
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2452
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2367
2453
  */
2368
- /** *
2454
+ /**
2369
2455
  * Option IDs need to be unique across components, so this counter exists outside of
2370
2456
  * the component definition.
2371
- @type {?} */
2457
+ * @type {?}
2458
+ */
2372
2459
  var _uniqueIdCounter = 0;
2373
2460
  /**
2374
2461
  * Event object emitted by MatOption when selected or deselected.
@@ -2384,9 +2471,10 @@ MatOptionSelectionChange = /** @class */ (function () {
2384
2471
  }
2385
2472
  return MatOptionSelectionChange;
2386
2473
  }());
2387
- /** *
2474
+ /**
2388
2475
  * Injection token used to provide the parent component to options.
2389
- @type {?} */
2476
+ * @type {?}
2477
+ */
2390
2478
  var MAT_OPTION_PARENT_COMPONENT = new core.InjectionToken('MAT_OPTION_PARENT_COMPONENT');
2391
2479
  /**
2392
2480
  * Single option inside of a `<mat-select>` element.
@@ -2408,6 +2496,7 @@ var MatOption = /** @class */ (function () {
2408
2496
  /**
2409
2497
  * Event emitted when the option is selected or deselected.
2410
2498
  */
2499
+ // tslint:disable-next-line:no-output-on-prefix
2411
2500
  this.onSelectionChange = new core.EventEmitter();
2412
2501
  /**
2413
2502
  * Emits when the state of the option changes and any parents have to be notified.
@@ -2614,7 +2703,7 @@ var MatOption = /** @class */ (function () {
2614
2703
  * @return {?}
2615
2704
  */
2616
2705
  function (event) {
2617
- if (event.keyCode === keycodes.ENTER || event.keyCode === keycodes.SPACE) {
2706
+ if ((event.keyCode === keycodes.ENTER || event.keyCode === keycodes.SPACE) && !keycodes.hasModifierKey(event)) {
2618
2707
  this._selectViaInteraction();
2619
2708
  // Prevent the page from scrolling down and form submits.
2620
2709
  event.preventDefault();
@@ -2695,13 +2784,16 @@ var MatOption = /** @class */ (function () {
2695
2784
  function () {
2696
2785
  this._stateChanges.complete();
2697
2786
  };
2787
+ /** Emits the selection change event. */
2698
2788
  /**
2699
2789
  * Emits the selection change event.
2790
+ * @private
2700
2791
  * @param {?=} isUserInput
2701
2792
  * @return {?}
2702
2793
  */
2703
2794
  MatOption.prototype._emitSelectionChangeEvent = /**
2704
2795
  * Emits the selection change event.
2796
+ * @private
2705
2797
  * @param {?=} isUserInput
2706
2798
  * @return {?}
2707
2799
  */
@@ -2726,7 +2818,7 @@ var MatOption = /** @class */ (function () {
2726
2818
  '(keydown)': '_handleKeydown($event)',
2727
2819
  'class': 'mat-option',
2728
2820
  },
2729
- 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}"],
2821
+ 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}"],
2730
2822
  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>",
2731
2823
  encapsulation: core.ViewEncapsulation.None,
2732
2824
  changeDetection: core.ChangeDetectionStrategy.OnPush,
@@ -2795,7 +2887,7 @@ function _getOptionScrollPosition(optionIndex, optionHeight, currentScrollPositi
2795
2887
 
2796
2888
  /**
2797
2889
  * @fileoverview added by tsickle
2798
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2890
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2799
2891
  */
2800
2892
  var MatOptionModule = /** @class */ (function () {
2801
2893
  function MatOptionModule() {
@@ -2812,77 +2904,48 @@ var MatOptionModule = /** @class */ (function () {
2812
2904
 
2813
2905
  /**
2814
2906
  * @fileoverview added by tsickle
2815
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2907
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2816
2908
  */
2817
- /** *
2909
+ /**
2818
2910
  * InjectionToken that can be used to specify the global label options.
2819
- @type {?} */
2911
+ * @type {?}
2912
+ */
2820
2913
  var MAT_LABEL_GLOBAL_OPTIONS = new core.InjectionToken('mat-label-global-options');
2821
2914
 
2822
2915
  /**
2823
2916
  * @fileoverview added by tsickle
2824
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2917
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2825
2918
  */
2826
2919
 
2827
- /** *
2920
+ /**
2828
2921
  * When constructing a Date, the month is zero-based. This can be confusing, since people are
2829
2922
  * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2830
- @type {?} */
2923
+ * \@docs-private
2924
+ * \@breaking-change 8.0.0 Remove this with V8 since it was only targeted for testing.
2925
+ * @type {?}
2926
+ */
2831
2927
  var JAN = 0;
2832
- /** *
2833
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2834
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2835
- @type {?} */
2928
+ /** @type {?} */
2836
2929
  var FEB = 1;
2837
- /** *
2838
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2839
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2840
- @type {?} */
2930
+ /** @type {?} */
2841
2931
  var MAR = 2;
2842
- /** *
2843
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2844
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2845
- @type {?} */
2932
+ /** @type {?} */
2846
2933
  var APR = 3;
2847
- /** *
2848
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2849
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2850
- @type {?} */
2934
+ /** @type {?} */
2851
2935
  var MAY = 4;
2852
- /** *
2853
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2854
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2855
- @type {?} */
2936
+ /** @type {?} */
2856
2937
  var JUN = 5;
2857
- /** *
2858
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2859
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2860
- @type {?} */
2938
+ /** @type {?} */
2861
2939
  var JUL = 6;
2862
- /** *
2863
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2864
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2865
- @type {?} */
2940
+ /** @type {?} */
2866
2941
  var AUG = 7;
2867
- /** *
2868
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2869
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2870
- @type {?} */
2942
+ /** @type {?} */
2871
2943
  var SEP = 8;
2872
- /** *
2873
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2874
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2875
- @type {?} */
2944
+ /** @type {?} */
2876
2945
  var OCT = 9;
2877
- /** *
2878
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2879
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2880
- @type {?} */
2946
+ /** @type {?} */
2881
2947
  var NOV = 10;
2882
- /** *
2883
- * When constructing a Date, the month is zero-based. This can be confusing, since people are
2884
- * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2885
- @type {?} */
2948
+ /** @type {?} */
2886
2949
  var DEC = 11;
2887
2950
 
2888
2951
  exports.AnimationCurves = AnimationCurves;