@angular/material 7.1.0 → 7.2.2

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 (495) hide show
  1. package/LICENSE +1 -1
  2. package/_theming.scss +50 -19
  3. package/autocomplete/typings/index.d.ts +0 -1
  4. package/autocomplete/typings/index.metadata.json +1 -1
  5. package/autocomplete/typings/public-api.d.ts +1 -0
  6. package/badge/typings/index.metadata.json +1 -1
  7. package/bottom-sheet/typings/bottom-sheet-ref.d.ts +2 -0
  8. package/bottom-sheet/typings/index.metadata.json +1 -1
  9. package/bundles/material-autocomplete.umd.js +139 -39
  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 +67 -22
  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 +45 -14
  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 +126 -38
  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 +190 -127
  42. package/bundles/material-core.umd.js.map +1 -1
  43. package/bundles/material-core.umd.min.js +1 -2
  44. package/bundles/material-core.umd.min.js.map +1 -1
  45. package/bundles/material-datepicker.umd.js +205 -42
  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 +52 -26
  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 +123 -34
  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 +67 -16
  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 +288 -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 +159 -26
  77. package/bundles/material-list.umd.js.map +1 -1
  78. package/bundles/material-list.umd.min.js +2 -2
  79. package/bundles/material-list.umd.min.js.map +1 -1
  80. package/bundles/material-menu.umd.js +176 -70
  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 +25 -8
  85. package/bundles/material-paginator.umd.js.map +1 -1
  86. package/bundles/material-paginator.umd.min.js.map +1 -1
  87. package/bundles/material-progress-bar.umd.js +32 -13
  88. package/bundles/material-progress-bar.umd.js.map +1 -1
  89. package/bundles/material-progress-bar.umd.min.js +1 -1
  90. package/bundles/material-progress-bar.umd.min.js.map +1 -1
  91. package/bundles/material-progress-spinner.umd.js +30 -14
  92. package/bundles/material-progress-spinner.umd.js.map +1 -1
  93. package/bundles/material-progress-spinner.umd.min.js +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 +186 -49
  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 +31 -15
  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 +88 -20
  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 +69 -20
  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 +29 -20
  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 +48 -15
  128. package/bundles/material-table.umd.js.map +1 -1
  129. package/bundles/material-table.umd.min.js +1 -1
  130. package/bundles/material-table.umd.min.js.map +1 -1
  131. package/bundles/material-tabs.umd.js +162 -61
  132. package/bundles/material-tabs.umd.js.map +1 -1
  133. package/bundles/material-tabs.umd.min.js +2 -2
  134. package/bundles/material-tabs.umd.min.js.map +1 -1
  135. package/bundles/material-toolbar.umd.js +14 -4
  136. package/bundles/material-toolbar.umd.js.map +1 -1
  137. package/bundles/material-toolbar.umd.min.js +1 -1
  138. package/bundles/material-toolbar.umd.min.js.map +1 -1
  139. package/bundles/material-tooltip.umd.js +62 -26
  140. package/bundles/material-tooltip.umd.js.map +1 -1
  141. package/bundles/material-tooltip.umd.min.js +1 -1
  142. package/bundles/material-tooltip.umd.min.js.map +1 -1
  143. package/bundles/material-tree.umd.js +25 -16
  144. package/bundles/material-tree.umd.js.map +1 -1
  145. package/bundles/material-tree.umd.min.js +1 -1
  146. package/bundles/material-tree.umd.min.js.map +1 -1
  147. package/bundles/material.umd.js +2927 -995
  148. package/bundles/material.umd.js.map +1 -1
  149. package/bundles/material.umd.min.js +18 -18
  150. package/bundles/material.umd.min.js.map +1 -1
  151. package/button/typings/button.d.ts +0 -5
  152. package/button/typings/index.metadata.json +1 -1
  153. package/button-toggle/typings/index.metadata.json +1 -1
  154. package/card/typings/index.metadata.json +1 -1
  155. package/checkbox/typings/index.metadata.json +1 -1
  156. package/chips/typings/chip-list.d.ts +2 -2
  157. package/chips/typings/chip.d.ts +2 -2
  158. package/chips/typings/index.metadata.json +1 -1
  159. package/core/typings/index.metadata.json +1 -1
  160. package/core/typings/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  161. package/core/typings/public-api.d.ts +1 -1
  162. package/core/typings/ripple/ripple.d.ts +1 -1
  163. package/datepicker/typings/calendar.d.ts +2 -2
  164. package/datepicker/typings/index.metadata.json +1 -1
  165. package/dialog/typings/index.metadata.json +1 -1
  166. package/esm2015/autocomplete.js +73 -36
  167. package/esm2015/autocomplete.js.map +1 -1
  168. package/esm2015/badge.js +29 -6
  169. package/esm2015/badge.js.map +1 -1
  170. package/esm2015/bottom-sheet.js +44 -23
  171. package/esm2015/bottom-sheet.js.map +1 -1
  172. package/esm2015/button-toggle.js +27 -11
  173. package/esm2015/button-toggle.js.map +1 -1
  174. package/esm2015/button.js +20 -15
  175. package/esm2015/button.js.map +1 -1
  176. package/esm2015/card.js +5 -5
  177. package/esm2015/card.js.map +1 -1
  178. package/esm2015/checkbox.js +30 -12
  179. package/esm2015/checkbox.js.map +1 -1
  180. package/esm2015/chips.js +64 -30
  181. package/esm2015/chips.js.map +1 -1
  182. package/esm2015/core.js +147 -128
  183. package/esm2015/core.js.map +1 -1
  184. package/esm2015/datepicker.js +103 -37
  185. package/esm2015/datepicker.js.map +1 -1
  186. package/esm2015/dialog.js +77 -40
  187. package/esm2015/dialog.js.map +1 -1
  188. package/esm2015/divider.js +4 -4
  189. package/esm2015/divider.js.map +1 -1
  190. package/esm2015/expansion.js +56 -29
  191. package/esm2015/expansion.js.map +1 -1
  192. package/esm2015/form-field.js +95 -35
  193. package/esm2015/form-field.js.map +1 -1
  194. package/esm2015/grid-list.js +45 -17
  195. package/esm2015/grid-list.js.map +1 -1
  196. package/esm2015/icon.js +144 -67
  197. package/esm2015/icon.js.map +1 -1
  198. package/esm2015/input.js +44 -23
  199. package/esm2015/input.js.map +1 -1
  200. package/esm2015/list.js +118 -24
  201. package/esm2015/list.js.map +1 -1
  202. package/esm2015/material.js +13 -12
  203. package/esm2015/material.js.map +1 -1
  204. package/esm2015/menu.js +114 -67
  205. package/esm2015/menu.js.map +1 -1
  206. package/esm2015/paginator.js +17 -9
  207. package/esm2015/paginator.js.map +1 -1
  208. package/esm2015/progress-bar.js +26 -13
  209. package/esm2015/progress-bar.js.map +1 -1
  210. package/esm2015/progress-spinner.js +24 -14
  211. package/esm2015/progress-spinner.js.map +1 -1
  212. package/esm2015/radio.js +22 -21
  213. package/esm2015/radio.js.map +1 -1
  214. package/esm2015/select.js +112 -50
  215. package/esm2015/select.js.map +1 -1
  216. package/esm2015/sidenav.js +75 -28
  217. package/esm2015/sidenav.js.map +1 -1
  218. package/esm2015/slide-toggle.js +23 -15
  219. package/esm2015/slide-toggle.js.map +1 -1
  220. package/esm2015/slider.js +51 -23
  221. package/esm2015/slider.js.map +1 -1
  222. package/esm2015/snack-bar.js +38 -21
  223. package/esm2015/snack-bar.js.map +1 -1
  224. package/esm2015/sort.js +47 -24
  225. package/esm2015/sort.js.map +1 -1
  226. package/esm2015/stepper.js +32 -23
  227. package/esm2015/stepper.js.map +1 -1
  228. package/esm2015/table.js +51 -18
  229. package/esm2015/table.js.map +1 -1
  230. package/esm2015/tabs.js +112 -49
  231. package/esm2015/tabs.js.map +1 -1
  232. package/esm2015/toolbar.js +9 -5
  233. package/esm2015/toolbar.js.map +1 -1
  234. package/esm2015/tooltip.js +49 -28
  235. package/esm2015/tooltip.js.map +1 -1
  236. package/esm2015/tree.js +22 -17
  237. package/esm2015/tree.js.map +1 -1
  238. package/esm5/autocomplete.es5.js +141 -41
  239. package/esm5/autocomplete.es5.js.map +1 -1
  240. package/esm5/badge.es5.js +40 -7
  241. package/esm5/badge.es5.js.map +1 -1
  242. package/esm5/bottom-sheet.es5.js +68 -23
  243. package/esm5/bottom-sheet.es5.js.map +1 -1
  244. package/esm5/button-toggle.es5.js +46 -15
  245. package/esm5/button-toggle.es5.js.map +1 -1
  246. package/esm5/button.es5.js +23 -16
  247. package/esm5/button.es5.js.map +1 -1
  248. package/esm5/card.es5.js +5 -5
  249. package/esm5/card.es5.js.map +1 -1
  250. package/esm5/checkbox.es5.js +58 -17
  251. package/esm5/checkbox.es5.js.map +1 -1
  252. package/esm5/chips.es5.js +129 -41
  253. package/esm5/chips.es5.js.map +1 -1
  254. package/esm5/core.es5.js +192 -129
  255. package/esm5/core.es5.js.map +1 -1
  256. package/esm5/datepicker.es5.js +207 -44
  257. package/esm5/datepicker.es5.js.map +1 -1
  258. package/esm5/dialog.es5.js +140 -42
  259. package/esm5/dialog.es5.js.map +1 -1
  260. package/esm5/divider.es5.js +4 -4
  261. package/esm5/divider.es5.js.map +1 -1
  262. package/esm5/expansion.es5.js +54 -29
  263. package/esm5/expansion.es5.js.map +1 -1
  264. package/esm5/form-field.es5.js +126 -37
  265. package/esm5/form-field.es5.js.map +1 -1
  266. package/esm5/grid-list.es5.js +68 -17
  267. package/esm5/grid-list.es5.js.map +1 -1
  268. package/esm5/icon.es5.js +290 -80
  269. package/esm5/icon.es5.js.map +1 -1
  270. package/esm5/input.es5.js +52 -24
  271. package/esm5/input.es5.js.map +1 -1
  272. package/esm5/list.es5.js +161 -27
  273. package/esm5/list.es5.js.map +1 -1
  274. package/esm5/material.es5.js +13 -12
  275. package/esm5/material.es5.js.map +1 -1
  276. package/esm5/menu.es5.js +175 -69
  277. package/esm5/menu.es5.js.map +1 -1
  278. package/esm5/paginator.es5.js +27 -10
  279. package/esm5/paginator.es5.js.map +1 -1
  280. package/esm5/progress-bar.es5.js +33 -14
  281. package/esm5/progress-bar.es5.js.map +1 -1
  282. package/esm5/progress-spinner.es5.js +31 -15
  283. package/esm5/progress-spinner.es5.js.map +1 -1
  284. package/esm5/radio.es5.js +42 -42
  285. package/esm5/radio.es5.js.map +1 -1
  286. package/esm5/select.es5.js +189 -52
  287. package/esm5/select.es5.js.map +1 -1
  288. package/esm5/sidenav.es5.js +107 -28
  289. package/esm5/sidenav.es5.js.map +1 -1
  290. package/esm5/slide-toggle.es5.js +32 -16
  291. package/esm5/slide-toggle.es5.js.map +1 -1
  292. package/esm5/slider.es5.js +91 -23
  293. package/esm5/slider.es5.js.map +1 -1
  294. package/esm5/snack-bar.es5.js +70 -21
  295. package/esm5/snack-bar.es5.js.map +1 -1
  296. package/esm5/sort.es5.js +53 -26
  297. package/esm5/sort.es5.js.map +1 -1
  298. package/esm5/stepper.es5.js +32 -23
  299. package/esm5/stepper.es5.js.map +1 -1
  300. package/esm5/table.es5.js +51 -18
  301. package/esm5/table.es5.js.map +1 -1
  302. package/esm5/tabs.es5.js +156 -55
  303. package/esm5/tabs.es5.js.map +1 -1
  304. package/esm5/toolbar.es5.js +16 -6
  305. package/esm5/toolbar.es5.js.map +1 -1
  306. package/esm5/tooltip.es5.js +64 -28
  307. package/esm5/tooltip.es5.js.map +1 -1
  308. package/esm5/tree.es5.js +27 -18
  309. package/esm5/tree.es5.js.map +1 -1
  310. package/expansion/typings/expansion-panel-header.d.ts +2 -2
  311. package/expansion/typings/expansion-panel.d.ts +19 -2
  312. package/expansion/typings/index.metadata.json +1 -1
  313. package/form-field/typings/form-field.d.ts +15 -4
  314. package/form-field/typings/index.metadata.json +1 -1
  315. package/form-field/typings/prefix.d.ts +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/icon-registry.d.ts +3 -2
  319. package/icon/typings/index.metadata.json +1 -1
  320. package/list/typings/index.metadata.json +1 -1
  321. package/list/typings/list.d.ts +16 -5
  322. package/list/typings/selection-list.d.ts +1 -0
  323. package/material.d.ts +1 -1
  324. package/material.metadata.json +3 -3
  325. package/menu/typings/index.d.ts +4 -4
  326. package/menu/typings/index.metadata.json +1 -1
  327. package/menu/typings/menu-directive.d.ts +1 -0
  328. package/menu/typings/menu-item.d.ts +2 -0
  329. package/menu/typings/menu-trigger.d.ts +1 -1
  330. package/package.json +5 -5
  331. package/prebuilt-themes/deeppurple-amber.css +1 -1
  332. package/prebuilt-themes/indigo-pink.css +1 -1
  333. package/prebuilt-themes/pink-bluegrey.css +1 -1
  334. package/prebuilt-themes/purple-green.css +1 -1
  335. package/progress-bar/typings/index.metadata.json +1 -1
  336. package/radio/typings/index.metadata.json +1 -1
  337. package/radio/typings/radio.d.ts +2 -6
  338. package/schematics/ng-add/theming/{custom-theme.d.ts → create-custom-theme.d.ts} +0 -0
  339. package/schematics/ng-add/theming/{custom-theme.js → create-custom-theme.js} +1 -1
  340. package/schematics/ng-add/theming/create-custom-theme.js.map +1 -0
  341. package/schematics/ng-add/theming/theming.js +35 -19
  342. package/schematics/ng-add/theming/theming.js.map +1 -1
  343. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  344. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  345. package/schematics/ng-generate/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  346. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  347. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
  348. package/select/typings/index.metadata.json +1 -1
  349. package/select/typings/select.d.ts +12 -2
  350. package/sidenav/typings/drawer.d.ts +9 -2
  351. package/sidenav/typings/index.metadata.json +1 -1
  352. package/slide-toggle/typings/index.metadata.json +1 -1
  353. package/slider/typings/index.metadata.json +1 -1
  354. package/snack-bar/typings/index.metadata.json +1 -1
  355. package/sort/typings/index.metadata.json +1 -1
  356. package/stepper/typings/index.metadata.json +1 -1
  357. package/table/typings/index.metadata.json +1 -1
  358. package/table/typings/table-data-source.d.ts +2 -0
  359. package/tabs/typings/index.d.ts +5 -5
  360. package/tabs/typings/index.metadata.json +1 -1
  361. package/tabs/typings/tab-group.d.ts +2 -1
  362. package/tabs/typings/tab-header.d.ts +8 -4
  363. package/toolbar/typings/index.metadata.json +1 -1
  364. package/tooltip/typings/index.metadata.json +1 -1
  365. package/tooltip/typings/tooltip.d.ts +2 -1
  366. package/tree/typings/data-source/flat-data-source.d.ts +2 -2
  367. package/tree/typings/index.metadata.json +1 -1
  368. package/typings/autocomplete/index.d.ts +0 -1
  369. package/typings/autocomplete/index.metadata.json +1 -1
  370. package/typings/autocomplete/public-api.d.ts +1 -0
  371. package/typings/badge/index.metadata.json +1 -1
  372. package/typings/bottom-sheet/bottom-sheet-ref.d.ts +2 -0
  373. package/typings/bottom-sheet/index.metadata.json +1 -1
  374. package/typings/button/button.d.ts +0 -5
  375. package/typings/button/index.metadata.json +1 -1
  376. package/typings/button-toggle/index.metadata.json +1 -1
  377. package/typings/card/index.metadata.json +1 -1
  378. package/typings/checkbox/index.metadata.json +1 -1
  379. package/typings/chips/chip-list.d.ts +2 -2
  380. package/typings/chips/chip.d.ts +2 -2
  381. package/typings/chips/index.metadata.json +1 -1
  382. package/typings/core/index.metadata.json +1 -1
  383. package/typings/core/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  384. package/typings/core/public-api.d.ts +1 -1
  385. package/typings/core/ripple/ripple.d.ts +1 -1
  386. package/typings/datepicker/calendar.d.ts +2 -2
  387. package/typings/datepicker/index.metadata.json +1 -1
  388. package/typings/dialog/index.metadata.json +1 -1
  389. package/typings/esm5/autocomplete/index.d.ts +0 -1
  390. package/typings/esm5/autocomplete/index.metadata.json +1 -1
  391. package/typings/esm5/autocomplete/public-api.d.ts +1 -0
  392. package/typings/esm5/badge/index.metadata.json +1 -1
  393. package/typings/esm5/bottom-sheet/bottom-sheet-ref.d.ts +2 -0
  394. package/typings/esm5/bottom-sheet/index.metadata.json +1 -1
  395. package/typings/esm5/button/button.d.ts +0 -5
  396. package/typings/esm5/button/index.metadata.json +1 -1
  397. package/typings/esm5/button-toggle/index.metadata.json +1 -1
  398. package/typings/esm5/card/index.metadata.json +1 -1
  399. package/typings/esm5/checkbox/index.metadata.json +1 -1
  400. package/typings/esm5/chips/chip-list.d.ts +2 -2
  401. package/typings/esm5/chips/chip.d.ts +2 -2
  402. package/typings/esm5/chips/index.metadata.json +1 -1
  403. package/typings/esm5/core/index.metadata.json +1 -1
  404. package/typings/esm5/core/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
  405. package/typings/esm5/core/public-api.d.ts +1 -1
  406. package/typings/esm5/core/ripple/ripple.d.ts +1 -1
  407. package/typings/esm5/datepicker/calendar.d.ts +2 -2
  408. package/typings/esm5/datepicker/index.metadata.json +1 -1
  409. package/typings/esm5/dialog/index.metadata.json +1 -1
  410. package/typings/esm5/expansion/expansion-panel-header.d.ts +2 -2
  411. package/typings/esm5/expansion/expansion-panel.d.ts +19 -2
  412. package/typings/esm5/expansion/index.metadata.json +1 -1
  413. package/typings/esm5/form-field/form-field.d.ts +15 -4
  414. package/typings/esm5/form-field/index.metadata.json +1 -1
  415. package/typings/esm5/form-field/prefix.d.ts +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/icon-registry.d.ts +3 -2
  419. package/typings/esm5/icon/index.metadata.json +1 -1
  420. package/typings/esm5/index.metadata.json +1 -1
  421. package/typings/esm5/list/index.metadata.json +1 -1
  422. package/typings/esm5/list/list.d.ts +16 -5
  423. package/typings/esm5/list/selection-list.d.ts +1 -0
  424. package/typings/esm5/menu/index.d.ts +4 -4
  425. package/typings/esm5/menu/index.metadata.json +1 -1
  426. package/typings/esm5/menu/menu-directive.d.ts +1 -0
  427. package/typings/esm5/menu/menu-item.d.ts +2 -0
  428. package/typings/esm5/menu/menu-trigger.d.ts +1 -1
  429. package/typings/esm5/progress-bar/index.metadata.json +1 -1
  430. package/typings/esm5/radio/index.metadata.json +1 -1
  431. package/typings/esm5/radio/radio.d.ts +2 -6
  432. package/typings/esm5/select/index.metadata.json +1 -1
  433. package/typings/esm5/select/select.d.ts +12 -2
  434. package/typings/esm5/sidenav/drawer.d.ts +9 -2
  435. package/typings/esm5/sidenav/index.metadata.json +1 -1
  436. package/typings/esm5/slide-toggle/index.metadata.json +1 -1
  437. package/typings/esm5/slider/index.metadata.json +1 -1
  438. package/typings/esm5/snack-bar/index.metadata.json +1 -1
  439. package/typings/esm5/sort/index.metadata.json +1 -1
  440. package/typings/esm5/stepper/index.metadata.json +1 -1
  441. package/typings/esm5/table/index.metadata.json +1 -1
  442. package/typings/esm5/table/table-data-source.d.ts +2 -0
  443. package/typings/esm5/tabs/index.d.ts +5 -5
  444. package/typings/esm5/tabs/index.metadata.json +1 -1
  445. package/typings/esm5/tabs/tab-group.d.ts +2 -1
  446. package/typings/esm5/tabs/tab-header.d.ts +8 -4
  447. package/typings/esm5/toolbar/index.metadata.json +1 -1
  448. package/typings/esm5/tooltip/index.metadata.json +1 -1
  449. package/typings/esm5/tooltip/tooltip.d.ts +2 -1
  450. package/typings/esm5/tree/data-source/flat-data-source.d.ts +2 -2
  451. package/typings/esm5/tree/index.metadata.json +1 -1
  452. package/typings/expansion/expansion-panel-header.d.ts +2 -2
  453. package/typings/expansion/expansion-panel.d.ts +19 -2
  454. package/typings/expansion/index.metadata.json +1 -1
  455. package/typings/form-field/form-field.d.ts +15 -4
  456. package/typings/form-field/index.metadata.json +1 -1
  457. package/typings/form-field/prefix.d.ts +1 -1
  458. package/typings/grid-list/index.d.ts +1 -1
  459. package/typings/grid-list/index.metadata.json +1 -1
  460. package/typings/icon/icon-registry.d.ts +3 -2
  461. package/typings/icon/index.metadata.json +1 -1
  462. package/typings/index.metadata.json +1 -1
  463. package/typings/list/index.metadata.json +1 -1
  464. package/typings/list/list.d.ts +16 -5
  465. package/typings/list/selection-list.d.ts +1 -0
  466. package/typings/menu/index.d.ts +4 -4
  467. package/typings/menu/index.metadata.json +1 -1
  468. package/typings/menu/menu-directive.d.ts +1 -0
  469. package/typings/menu/menu-item.d.ts +2 -0
  470. package/typings/menu/menu-trigger.d.ts +1 -1
  471. package/typings/progress-bar/index.metadata.json +1 -1
  472. package/typings/radio/index.metadata.json +1 -1
  473. package/typings/radio/radio.d.ts +2 -6
  474. package/typings/schematics/ng-add/theming/{custom-theme.d.ts → create-custom-theme.d.ts} +0 -0
  475. package/typings/select/index.metadata.json +1 -1
  476. package/typings/select/select.d.ts +12 -2
  477. package/typings/sidenav/drawer.d.ts +9 -2
  478. package/typings/sidenav/index.metadata.json +1 -1
  479. package/typings/slide-toggle/index.metadata.json +1 -1
  480. package/typings/slider/index.metadata.json +1 -1
  481. package/typings/snack-bar/index.metadata.json +1 -1
  482. package/typings/sort/index.metadata.json +1 -1
  483. package/typings/stepper/index.metadata.json +1 -1
  484. package/typings/table/index.metadata.json +1 -1
  485. package/typings/table/table-data-source.d.ts +2 -0
  486. package/typings/tabs/index.d.ts +5 -5
  487. package/typings/tabs/index.metadata.json +1 -1
  488. package/typings/tabs/tab-group.d.ts +2 -1
  489. package/typings/tabs/tab-header.d.ts +8 -4
  490. package/typings/toolbar/index.metadata.json +1 -1
  491. package/typings/tooltip/index.metadata.json +1 -1
  492. package/typings/tooltip/tooltip.d.ts +2 -1
  493. package/typings/tree/data-source/flat-data-source.d.ts +2 -2
  494. package/typings/tree/index.metadata.json +1 -1
  495. package/schematics/ng-add/theming/custom-theme.js.map +0 -1
@@ -42,7 +42,7 @@ function __extends(d, b) {
42
42
 
43
43
  /**
44
44
  * @fileoverview added by tsickle
45
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
45
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
46
46
  */
47
47
 
48
48
  /**
@@ -58,7 +58,7 @@ function createMissingDateImplError(provider) {
58
58
 
59
59
  /**
60
60
  * @fileoverview added by tsickle
61
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
61
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
62
62
  */
63
63
  /**
64
64
  * Datepicker data that requires internationalization.
@@ -120,7 +120,7 @@ var MatDatepickerIntl = /** @class */ (function () {
120
120
 
121
121
  /**
122
122
  * @fileoverview added by tsickle
123
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
123
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
124
124
  */
125
125
  /**
126
126
  * An internal class that represents the data corresponding to a single calendar cell.
@@ -189,12 +189,12 @@ var MatCalendarBody = /** @class */ (function () {
189
189
  */
190
190
  function (changes) {
191
191
  /** @type {?} */
192
- var columnChanges = changes["numCols"];
192
+ var columnChanges = changes.numCols;
193
193
  var _a = this, rows = _a.rows, numCols = _a.numCols;
194
- if (changes["rows"] || columnChanges) {
194
+ if (changes.rows || columnChanges) {
195
195
  this._firstRowOffset = rows && rows.length && rows[0].length ? numCols - rows[0].length : 0;
196
196
  }
197
- if (changes["cellAspectRatio"] || columnChanges || !this._cellPadding) {
197
+ if (changes.cellAspectRatio || columnChanges || !this._cellPadding) {
198
198
  this._cellPadding = 50 * this.cellAspectRatio / numCols + "%";
199
199
  }
200
200
  if (columnChanges || !this._cellWidth) {
@@ -244,7 +244,7 @@ var MatCalendarBody = /** @class */ (function () {
244
244
  MatCalendarBody.decorators = [
245
245
  { type: core.Component, args: [{selector: '[mat-calendar-body]',
246
246
  template: "<tr *ngIf=\"_firstRowOffset < labelMinRequiredCells\" aria-hidden=\"true\"><td class=\"mat-calendar-body-label\" [attr.colspan]=\"numCols\" [style.paddingTop]=\"_cellPadding\" [style.paddingBottom]=\"_cellPadding\">{{label}}</td></tr><tr *ngFor=\"let row of rows; let rowIndex = index\" role=\"row\"><td *ngIf=\"rowIndex === 0 && _firstRowOffset\" aria-hidden=\"true\" class=\"mat-calendar-body-label\" [attr.colspan]=\"_firstRowOffset\" [style.paddingTop]=\"_cellPadding\" [style.paddingBottom]=\"_cellPadding\">{{_firstRowOffset >= labelMinRequiredCells ? label : ''}}</td><td *ngFor=\"let item of row; let colIndex = index\" role=\"gridcell\" class=\"mat-calendar-body-cell\" [ngClass]=\"item.cssClasses\" [tabindex]=\"_isActiveCell(rowIndex, colIndex) ? 0 : -1\" [class.mat-calendar-body-disabled]=\"!item.enabled\" [class.mat-calendar-body-active]=\"_isActiveCell(rowIndex, colIndex)\" [attr.aria-label]=\"item.ariaLabel\" [attr.aria-disabled]=\"!item.enabled || null\" [attr.aria-selected]=\"selectedValue === item.value\" (click)=\"_cellClicked(item)\" [style.width]=\"_cellWidth\" [style.paddingTop]=\"_cellPadding\" [style.paddingBottom]=\"_cellPadding\"><div class=\"mat-calendar-body-cell-content\" [class.mat-calendar-body-selected]=\"selectedValue === item.value\" [class.mat-calendar-body-today]=\"todayValue === item.value\">{{item.displayValue}}</div></td></tr>",
247
- styles: [".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}@media screen and (-ms-high-contrast:active){.mat-calendar-body-cell-content{border:none}}@media screen and (-ms-high-contrast:active){.mat-calendar-body-selected,.mat-datepicker-popup:not(:empty){outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}}[dir=rtl] .mat-calendar-body-label{text-align:right}"],
247
+ styles: [".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}@media (-ms-high-contrast:active){.mat-calendar-body-cell-content{border:none}}@media (-ms-high-contrast:active){.mat-calendar-body-selected,.mat-datepicker-popup:not(:empty){outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}}[dir=rtl] .mat-calendar-body-label{text-align:right}"],
248
248
  host: {
249
249
  'class': 'mat-calendar-body',
250
250
  'role': 'grid',
@@ -276,7 +276,7 @@ var MatCalendarBody = /** @class */ (function () {
276
276
 
277
277
  /**
278
278
  * @fileoverview added by tsickle
279
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
279
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
280
280
  */
281
281
  /** @type {?} */
282
282
  var DAYS_PER_WEEK = 7;
@@ -315,6 +315,7 @@ var MatMonthView = /** @class */ (function () {
315
315
  var narrowWeekdays = this._dateAdapter.getDayOfWeekNames('narrow');
316
316
  /** @type {?} */
317
317
  var longWeekdays = this._dateAdapter.getDayOfWeekNames('long');
318
+ // Rotate the labels for days of the week based on the configured first day of the week.
318
319
  /** @type {?} */
319
320
  var weekdays = longWeekdays.map(function (long, i) {
320
321
  return { long: long, narrow: narrowWeekdays[i] };
@@ -444,6 +445,12 @@ var MatMonthView = /** @class */ (function () {
444
445
  * @return {?}
445
446
  */
446
447
  function (event) {
448
+ // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent
449
+ // disabled ones from being selected. This may not be ideal, we should look into whether
450
+ // navigation should skip over disabled dates, and if so, how to implement that efficiently.
451
+ // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent
452
+ // disabled ones from being selected. This may not be ideal, we should look into whether
453
+ // navigation should skip over disabled dates, and if so, how to implement that efficiently.
447
454
  /** @type {?} */
448
455
  var oldActiveDate = this._activeDate;
449
456
  /** @type {?} */
@@ -533,12 +540,15 @@ var MatMonthView = /** @class */ (function () {
533
540
  function () {
534
541
  this._matCalendarBody._focusActiveCell();
535
542
  };
543
+ /** Creates MatCalendarCells for the dates in this month. */
536
544
  /**
537
545
  * Creates MatCalendarCells for the dates in this month.
546
+ * @private
538
547
  * @return {?}
539
548
  */
540
549
  MatMonthView.prototype._createWeekCells = /**
541
550
  * Creates MatCalendarCells for the dates in this month.
551
+ * @private
542
552
  * @return {?}
543
553
  */
544
554
  function () {
@@ -564,13 +574,16 @@ var MatMonthView = /** @class */ (function () {
564
574
  .push(new MatCalendarCell(i + 1, dateNames[i], ariaLabel, enabled, cellClasses));
565
575
  }
566
576
  };
577
+ /** Date filter for the month */
567
578
  /**
568
579
  * Date filter for the month
580
+ * @private
569
581
  * @param {?} date
570
582
  * @return {?}
571
583
  */
572
584
  MatMonthView.prototype._shouldEnableDate = /**
573
585
  * Date filter for the month
586
+ * @private
574
587
  * @param {?} date
575
588
  * @return {?}
576
589
  */
@@ -583,12 +596,18 @@ var MatMonthView = /** @class */ (function () {
583
596
  /**
584
597
  * Gets the date in this month that the given Date falls on.
585
598
  * Returns null if the given Date is in another month.
599
+ */
600
+ /**
601
+ * Gets the date in this month that the given Date falls on.
602
+ * Returns null if the given Date is in another month.
603
+ * @private
586
604
  * @param {?} date
587
605
  * @return {?}
588
606
  */
589
607
  MatMonthView.prototype._getDateInCurrentMonth = /**
590
608
  * Gets the date in this month that the given Date falls on.
591
609
  * Returns null if the given Date is in another month.
610
+ * @private
592
611
  * @param {?} date
593
612
  * @return {?}
594
613
  */
@@ -596,14 +615,17 @@ var MatMonthView = /** @class */ (function () {
596
615
  return date && this._hasSameMonthAndYear(date, this.activeDate) ?
597
616
  this._dateAdapter.getDate(date) : null;
598
617
  };
618
+ /** Checks whether the 2 dates are non-null and fall within the same month of the same year. */
599
619
  /**
600
620
  * Checks whether the 2 dates are non-null and fall within the same month of the same year.
621
+ * @private
601
622
  * @param {?} d1
602
623
  * @param {?} d2
603
624
  * @return {?}
604
625
  */
605
626
  MatMonthView.prototype._hasSameMonthAndYear = /**
606
627
  * Checks whether the 2 dates are non-null and fall within the same month of the same year.
628
+ * @private
607
629
  * @param {?} d1
608
630
  * @param {?} d2
609
631
  * @return {?}
@@ -613,22 +635,31 @@ var MatMonthView = /** @class */ (function () {
613
635
  this._dateAdapter.getYear(d1) == this._dateAdapter.getYear(d2));
614
636
  };
615
637
  /**
638
+ * @param obj The object to check.
639
+ * @returns The given object if it is both a date instance and valid, otherwise null.
640
+ */
641
+ /**
642
+ * @private
616
643
  * @param {?} obj The object to check.
617
644
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
618
645
  */
619
646
  MatMonthView.prototype._getValidDateOrNull = /**
647
+ * @private
620
648
  * @param {?} obj The object to check.
621
649
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
622
650
  */
623
651
  function (obj) {
624
652
  return (this._dateAdapter.isDateInstance(obj) && this._dateAdapter.isValid(obj)) ? obj : null;
625
653
  };
654
+ /** Determines whether the user has the RTL layout direction. */
626
655
  /**
627
656
  * Determines whether the user has the RTL layout direction.
657
+ * @private
628
658
  * @return {?}
629
659
  */
630
660
  MatMonthView.prototype._isRtl = /**
631
661
  * Determines whether the user has the RTL layout direction.
662
+ * @private
632
663
  * @return {?}
633
664
  */
634
665
  function () {
@@ -666,7 +697,7 @@ var MatMonthView = /** @class */ (function () {
666
697
 
667
698
  /**
668
699
  * @fileoverview added by tsickle
669
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
700
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
670
701
  */
671
702
  /** @type {?} */
672
703
  var yearsPerPage = 24;
@@ -842,6 +873,12 @@ var MatMultiYearView = /** @class */ (function () {
842
873
  * @return {?}
843
874
  */
844
875
  function (event) {
876
+ // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent
877
+ // disabled ones from being selected. This may not be ideal, we should look into whether
878
+ // navigation should skip over disabled dates, and if so, how to implement that efficiently.
879
+ // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent
880
+ // disabled ones from being selected. This may not be ideal, we should look into whether
881
+ // navigation should skip over disabled dates, and if so, how to implement that efficiently.
845
882
  /** @type {?} */
846
883
  var oldActiveDate = this._activeDate;
847
884
  /** @type {?} */
@@ -909,13 +946,16 @@ var MatMultiYearView = /** @class */ (function () {
909
946
  function () {
910
947
  this._matCalendarBody._focusActiveCell();
911
948
  };
949
+ /** Creates an MatCalendarCell for the given year. */
912
950
  /**
913
951
  * Creates an MatCalendarCell for the given year.
952
+ * @private
914
953
  * @param {?} year
915
954
  * @return {?}
916
955
  */
917
956
  MatMultiYearView.prototype._createCellForYear = /**
918
957
  * Creates an MatCalendarCell for the given year.
958
+ * @private
919
959
  * @param {?} year
920
960
  * @return {?}
921
961
  */
@@ -924,13 +964,16 @@ var MatMultiYearView = /** @class */ (function () {
924
964
  var yearName = this._dateAdapter.getYearName(this._dateAdapter.createDate(year, 0, 1));
925
965
  return new MatCalendarCell(year, yearName, yearName, this._shouldEnableYear(year));
926
966
  };
967
+ /** Whether the given year is enabled. */
927
968
  /**
928
969
  * Whether the given year is enabled.
970
+ * @private
929
971
  * @param {?} year
930
972
  * @return {?}
931
973
  */
932
974
  MatMultiYearView.prototype._shouldEnableYear = /**
933
975
  * Whether the given year is enabled.
976
+ * @private
934
977
  * @param {?} year
935
978
  * @return {?}
936
979
  */
@@ -956,22 +999,31 @@ var MatMultiYearView = /** @class */ (function () {
956
999
  return false;
957
1000
  };
958
1001
  /**
1002
+ * @param obj The object to check.
1003
+ * @returns The given object if it is both a date instance and valid, otherwise null.
1004
+ */
1005
+ /**
1006
+ * @private
959
1007
  * @param {?} obj The object to check.
960
1008
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
961
1009
  */
962
1010
  MatMultiYearView.prototype._getValidDateOrNull = /**
1011
+ * @private
963
1012
  * @param {?} obj The object to check.
964
1013
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
965
1014
  */
966
1015
  function (obj) {
967
1016
  return (this._dateAdapter.isDateInstance(obj) && this._dateAdapter.isValid(obj)) ? obj : null;
968
1017
  };
1018
+ /** Determines whether the user has the RTL layout direction. */
969
1019
  /**
970
1020
  * Determines whether the user has the RTL layout direction.
1021
+ * @private
971
1022
  * @return {?}
972
1023
  */
973
1024
  MatMultiYearView.prototype._isRtl = /**
974
1025
  * Determines whether the user has the RTL layout direction.
1026
+ * @private
975
1027
  * @return {?}
976
1028
  */
977
1029
  function () {
@@ -1007,7 +1059,7 @@ var MatMultiYearView = /** @class */ (function () {
1007
1059
 
1008
1060
  /**
1009
1061
  * @fileoverview added by tsickle
1010
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1062
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1011
1063
  */
1012
1064
  /**
1013
1065
  * An internal component used to display a single year in the datepicker.
@@ -1156,6 +1208,12 @@ var MatYearView = /** @class */ (function () {
1156
1208
  * @return {?}
1157
1209
  */
1158
1210
  function (event) {
1211
+ // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent
1212
+ // disabled ones from being selected. This may not be ideal, we should look into whether
1213
+ // navigation should skip over disabled dates, and if so, how to implement that efficiently.
1214
+ // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent
1215
+ // disabled ones from being selected. This may not be ideal, we should look into whether
1216
+ // navigation should skip over disabled dates, and if so, how to implement that efficiently.
1159
1217
  /** @type {?} */
1160
1218
  var oldActiveDate = this._activeDate;
1161
1219
  /** @type {?} */
@@ -1237,12 +1295,18 @@ var MatYearView = /** @class */ (function () {
1237
1295
  /**
1238
1296
  * Gets the month in this year that the given Date falls on.
1239
1297
  * Returns null if the given Date is in another year.
1298
+ */
1299
+ /**
1300
+ * Gets the month in this year that the given Date falls on.
1301
+ * Returns null if the given Date is in another year.
1302
+ * @private
1240
1303
  * @param {?} date
1241
1304
  * @return {?}
1242
1305
  */
1243
1306
  MatYearView.prototype._getMonthInCurrentYear = /**
1244
1307
  * Gets the month in this year that the given Date falls on.
1245
1308
  * Returns null if the given Date is in another year.
1309
+ * @private
1246
1310
  * @param {?} date
1247
1311
  * @return {?}
1248
1312
  */
@@ -1250,14 +1314,17 @@ var MatYearView = /** @class */ (function () {
1250
1314
  return date && this._dateAdapter.getYear(date) == this._dateAdapter.getYear(this.activeDate) ?
1251
1315
  this._dateAdapter.getMonth(date) : null;
1252
1316
  };
1317
+ /** Creates an MatCalendarCell for the given month. */
1253
1318
  /**
1254
1319
  * Creates an MatCalendarCell for the given month.
1320
+ * @private
1255
1321
  * @param {?} month
1256
1322
  * @param {?} monthName
1257
1323
  * @return {?}
1258
1324
  */
1259
1325
  MatYearView.prototype._createCellForMonth = /**
1260
1326
  * Creates an MatCalendarCell for the given month.
1327
+ * @private
1261
1328
  * @param {?} month
1262
1329
  * @param {?} monthName
1263
1330
  * @return {?}
@@ -1267,13 +1334,16 @@ var MatYearView = /** @class */ (function () {
1267
1334
  var ariaLabel = this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate), month, 1), this._dateFormats.display.monthYearA11yLabel);
1268
1335
  return new MatCalendarCell(month, monthName.toLocaleUpperCase(), ariaLabel, this._shouldEnableMonth(month));
1269
1336
  };
1337
+ /** Whether the given month is enabled. */
1270
1338
  /**
1271
1339
  * Whether the given month is enabled.
1340
+ * @private
1272
1341
  * @param {?} month
1273
1342
  * @return {?}
1274
1343
  */
1275
1344
  MatYearView.prototype._shouldEnableMonth = /**
1276
1345
  * Whether the given month is enabled.
1346
+ * @private
1277
1347
  * @param {?} month
1278
1348
  * @return {?}
1279
1349
  */
@@ -1301,6 +1371,11 @@ var MatYearView = /** @class */ (function () {
1301
1371
  /**
1302
1372
  * Tests whether the combination month/year is after this.maxDate, considering
1303
1373
  * just the month and year of this.maxDate
1374
+ */
1375
+ /**
1376
+ * Tests whether the combination month/year is after this.maxDate, considering
1377
+ * just the month and year of this.maxDate
1378
+ * @private
1304
1379
  * @param {?} year
1305
1380
  * @param {?} month
1306
1381
  * @return {?}
@@ -1308,6 +1383,7 @@ var MatYearView = /** @class */ (function () {
1308
1383
  MatYearView.prototype._isYearAndMonthAfterMaxDate = /**
1309
1384
  * Tests whether the combination month/year is after this.maxDate, considering
1310
1385
  * just the month and year of this.maxDate
1386
+ * @private
1311
1387
  * @param {?} year
1312
1388
  * @param {?} month
1313
1389
  * @return {?}
@@ -1325,6 +1401,11 @@ var MatYearView = /** @class */ (function () {
1325
1401
  /**
1326
1402
  * Tests whether the combination month/year is before this.minDate, considering
1327
1403
  * just the month and year of this.minDate
1404
+ */
1405
+ /**
1406
+ * Tests whether the combination month/year is before this.minDate, considering
1407
+ * just the month and year of this.minDate
1408
+ * @private
1328
1409
  * @param {?} year
1329
1410
  * @param {?} month
1330
1411
  * @return {?}
@@ -1332,6 +1413,7 @@ var MatYearView = /** @class */ (function () {
1332
1413
  MatYearView.prototype._isYearAndMonthBeforeMinDate = /**
1333
1414
  * Tests whether the combination month/year is before this.minDate, considering
1334
1415
  * just the month and year of this.minDate
1416
+ * @private
1335
1417
  * @param {?} year
1336
1418
  * @param {?} month
1337
1419
  * @return {?}
@@ -1347,22 +1429,31 @@ var MatYearView = /** @class */ (function () {
1347
1429
  return false;
1348
1430
  };
1349
1431
  /**
1432
+ * @param obj The object to check.
1433
+ * @returns The given object if it is both a date instance and valid, otherwise null.
1434
+ */
1435
+ /**
1436
+ * @private
1350
1437
  * @param {?} obj The object to check.
1351
1438
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
1352
1439
  */
1353
1440
  MatYearView.prototype._getValidDateOrNull = /**
1441
+ * @private
1354
1442
  * @param {?} obj The object to check.
1355
1443
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
1356
1444
  */
1357
1445
  function (obj) {
1358
1446
  return (this._dateAdapter.isDateInstance(obj) && this._dateAdapter.isValid(obj)) ? obj : null;
1359
1447
  };
1448
+ /** Determines whether the user has the RTL layout direction. */
1360
1449
  /**
1361
1450
  * Determines whether the user has the RTL layout direction.
1451
+ * @private
1362
1452
  * @return {?}
1363
1453
  */
1364
1454
  MatYearView.prototype._isRtl = /**
1365
1455
  * Determines whether the user has the RTL layout direction.
1456
+ * @private
1366
1457
  * @return {?}
1367
1458
  */
1368
1459
  function () {
@@ -1399,7 +1490,7 @@ var MatYearView = /** @class */ (function () {
1399
1490
 
1400
1491
  /**
1401
1492
  * @fileoverview added by tsickle
1402
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
1493
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1403
1494
  */
1404
1495
  /**
1405
1496
  * Default header for MatCalendar
@@ -1451,9 +1542,9 @@ var MatCalendarHeader = /** @class */ (function () {
1451
1542
  configurable: true
1452
1543
  });
1453
1544
  Object.defineProperty(MatCalendarHeader.prototype, "prevButtonLabel", {
1454
- /** The label for the the previous button. */
1545
+ /** The label for the previous button. */
1455
1546
  get: /**
1456
- * The label for the the previous button.
1547
+ * The label for the previous button.
1457
1548
  * @return {?}
1458
1549
  */
1459
1550
  function () {
@@ -1467,9 +1558,9 @@ var MatCalendarHeader = /** @class */ (function () {
1467
1558
  configurable: true
1468
1559
  });
1469
1560
  Object.defineProperty(MatCalendarHeader.prototype, "nextButtonLabel", {
1470
- /** The label for the the next button. */
1561
+ /** The label for the next button. */
1471
1562
  get: /**
1472
- * The label for the the next button.
1563
+ * The label for the next button.
1473
1564
  * @return {?}
1474
1565
  */
1475
1566
  function () {
@@ -1551,14 +1642,17 @@ var MatCalendarHeader = /** @class */ (function () {
1551
1642
  return !this.calendar.maxDate ||
1552
1643
  !this._isSameView(this.calendar.activeDate, this.calendar.maxDate);
1553
1644
  };
1645
+ /** Whether the two dates represent the same view in the current view mode (month or year). */
1554
1646
  /**
1555
1647
  * Whether the two dates represent the same view in the current view mode (month or year).
1648
+ * @private
1556
1649
  * @param {?} date1
1557
1650
  * @param {?} date2
1558
1651
  * @return {?}
1559
1652
  */
1560
1653
  MatCalendarHeader.prototype._isSameView = /**
1561
1654
  * Whether the two dates represent the same view in the current view mode (month or year).
1655
+ * @private
1562
1656
  * @param {?} date1
1563
1657
  * @param {?} date2
1564
1658
  * @return {?}
@@ -1799,7 +1893,7 @@ var MatCalendar = /** @class */ (function () {
1799
1893
  */
1800
1894
  function (changes) {
1801
1895
  /** @type {?} */
1802
- var change = changes["minDate"] || changes["maxDate"] || changes["dateFilter"];
1896
+ var change = changes.minDate || changes.maxDate || changes.dateFilter;
1803
1897
  if (change && !change.firstChange) {
1804
1898
  /** @type {?} */
1805
1899
  var view = this._getCurrentViewComponent();
@@ -1907,22 +2001,31 @@ var MatCalendar = /** @class */ (function () {
1907
2001
  this.currentView = view;
1908
2002
  };
1909
2003
  /**
2004
+ * @param obj The object to check.
2005
+ * @returns The given object if it is both a date instance and valid, otherwise null.
2006
+ */
2007
+ /**
2008
+ * @private
1910
2009
  * @param {?} obj The object to check.
1911
2010
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
1912
2011
  */
1913
2012
  MatCalendar.prototype._getValidDateOrNull = /**
2013
+ * @private
1914
2014
  * @param {?} obj The object to check.
1915
2015
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
1916
2016
  */
1917
2017
  function (obj) {
1918
2018
  return (this._dateAdapter.isDateInstance(obj) && this._dateAdapter.isValid(obj)) ? obj : null;
1919
2019
  };
2020
+ /** Returns the component instance that corresponds to the current calendar view. */
1920
2021
  /**
1921
2022
  * Returns the component instance that corresponds to the current calendar view.
2023
+ * @private
1922
2024
  * @return {?}
1923
2025
  */
1924
2026
  MatCalendar.prototype._getCurrentViewComponent = /**
1925
2027
  * Returns the component instance that corresponds to the current calendar view.
2028
+ * @private
1926
2029
  * @return {?}
1927
2030
  */
1928
2031
  function () {
@@ -1969,14 +2072,17 @@ var MatCalendar = /** @class */ (function () {
1969
2072
 
1970
2073
  /**
1971
2074
  * @fileoverview added by tsickle
1972
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2075
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1973
2076
  */
1974
- /** *
2077
+ /**
1975
2078
  * Animations used by the Material datepicker.
1976
2079
  * \@docs-private
1977
- @type {?} */
2080
+ * @type {?}
2081
+ */
1978
2082
  var matDatepickerAnimations = {
1979
- /** Transforms the height of the datepicker's calendar. */
2083
+ /**
2084
+ * Transforms the height of the datepicker's calendar.
2085
+ */
1980
2086
  transformPanel: animations.trigger('transformPanel', [
1981
2087
  animations.state('void', animations.style({
1982
2088
  opacity: 0,
@@ -1988,7 +2094,9 @@ var matDatepickerAnimations = {
1988
2094
  }))),
1989
2095
  animations.transition('* => void', animations.animate('100ms linear', animations.style({ opacity: 0 })))
1990
2096
  ]),
1991
- /** Fades in the content of the calendar. */
2097
+ /**
2098
+ * Fades in the content of the calendar.
2099
+ */
1992
2100
  fadeInCalendar: animations.trigger('fadeInCalendar', [
1993
2101
  animations.state('void', animations.style({ opacity: 0 })),
1994
2102
  animations.state('enter', animations.style({ opacity: 1 })),
@@ -2000,15 +2108,17 @@ var matDatepickerAnimations = {
2000
2108
 
2001
2109
  /**
2002
2110
  * @fileoverview added by tsickle
2003
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2111
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2004
2112
  */
2005
- /** *
2113
+ /**
2006
2114
  * Used to generate a unique ID for each datepicker instance.
2007
- @type {?} */
2115
+ * @type {?}
2116
+ */
2008
2117
  var datepickerUid = 0;
2009
- /** *
2118
+ /**
2010
2119
  * Injection token that determines the scroll handling while the calendar is open.
2011
- @type {?} */
2120
+ * @type {?}
2121
+ */
2012
2122
  var MAT_DATEPICKER_SCROLL_STRATEGY = new core.InjectionToken('mat-datepicker-scroll-strategy');
2013
2123
  /**
2014
2124
  * \@docs-private
@@ -2018,18 +2128,22 @@ var MAT_DATEPICKER_SCROLL_STRATEGY = new core.InjectionToken('mat-datepicker-scr
2018
2128
  function MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY(overlay$$1) {
2019
2129
  return function () { return overlay$$1.scrollStrategies.reposition(); };
2020
2130
  }
2021
- /** *
2131
+ /**
2022
2132
  * \@docs-private
2023
- @type {?} */
2133
+ * @type {?}
2134
+ */
2024
2135
  var MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER = {
2025
2136
  provide: MAT_DATEPICKER_SCROLL_STRATEGY,
2026
2137
  deps: [overlay.Overlay],
2027
2138
  useFactory: MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY,
2028
2139
  };
2140
+ // Boilerplate for applying mixins to MatDatepickerContent.
2029
2141
  /**
2030
2142
  * \@docs-private
2031
2143
  */
2032
- var /**
2144
+ var
2145
+ // Boilerplate for applying mixins to MatDatepickerContent.
2146
+ /**
2033
2147
  * \@docs-private
2034
2148
  */
2035
2149
  MatDatepickerContentBase = /** @class */ (function () {
@@ -2090,6 +2204,9 @@ var MatDatepickerContent = /** @class */ (function (_super) {
2090
2204
  };
2091
2205
  return MatDatepickerContent;
2092
2206
  }(_MatDatepickerContentMixinBase));
2207
+ // TODO(mmalerba): We use a component instead of a directive here so the user can use implicit
2208
+ // template reference variables (e.g. #d vs #d="matDatepicker"). We can change this to a directive
2209
+ // if angular adds support for `exportAs: '$implicit'` on directives.
2093
2210
  /**
2094
2211
  * Component responsible for managing the datepicker popup/dialog.
2095
2212
  * @template D
@@ -2460,12 +2577,15 @@ var MatDatepicker = /** @class */ (function () {
2460
2577
  completeClose();
2461
2578
  }
2462
2579
  };
2580
+ /** Open the calendar as a dialog. */
2463
2581
  /**
2464
2582
  * Open the calendar as a dialog.
2583
+ * @private
2465
2584
  * @return {?}
2466
2585
  */
2467
2586
  MatDatepicker.prototype._openAsDialog = /**
2468
2587
  * Open the calendar as a dialog.
2588
+ * @private
2469
2589
  * @return {?}
2470
2590
  */
2471
2591
  function () {
@@ -2486,12 +2606,15 @@ var MatDatepicker = /** @class */ (function () {
2486
2606
  this._dialogRef.componentInstance.datepicker = this;
2487
2607
  this._setColor();
2488
2608
  };
2609
+ /** Open the calendar as a popup. */
2489
2610
  /**
2490
2611
  * Open the calendar as a popup.
2612
+ * @private
2491
2613
  * @return {?}
2492
2614
  */
2493
2615
  MatDatepicker.prototype._openAsPopup = /**
2494
2616
  * Open the calendar as a popup.
2617
+ * @private
2495
2618
  * @return {?}
2496
2619
  */
2497
2620
  function () {
@@ -2512,12 +2635,15 @@ var MatDatepicker = /** @class */ (function () {
2512
2635
  });
2513
2636
  }
2514
2637
  };
2638
+ /** Create the popup. */
2515
2639
  /**
2516
2640
  * Create the popup.
2641
+ * @private
2517
2642
  * @return {?}
2518
2643
  */
2519
2644
  MatDatepicker.prototype._createPopup = /**
2520
2645
  * Create the popup.
2646
+ * @private
2521
2647
  * @return {?}
2522
2648
  */
2523
2649
  function () {
@@ -2539,12 +2665,15 @@ var MatDatepicker = /** @class */ (function () {
2539
2665
  (_this._datepickerInput && event.altKey && event.keyCode === keycodes.UP_ARROW);
2540
2666
  }))).subscribe(function () { return _this.close(); });
2541
2667
  };
2668
+ /** Create the popup PositionStrategy. */
2542
2669
  /**
2543
2670
  * Create the popup PositionStrategy.
2671
+ * @private
2544
2672
  * @return {?}
2545
2673
  */
2546
2674
  MatDatepicker.prototype._createPopupPositionStrategy = /**
2547
2675
  * Create the popup PositionStrategy.
2676
+ * @private
2548
2677
  * @return {?}
2549
2678
  */
2550
2679
  function () {
@@ -2582,22 +2711,31 @@ var MatDatepicker = /** @class */ (function () {
2582
2711
  ]);
2583
2712
  };
2584
2713
  /**
2714
+ * @param obj The object to check.
2715
+ * @returns The given object if it is both a date instance and valid, otherwise null.
2716
+ */
2717
+ /**
2718
+ * @private
2585
2719
  * @param {?} obj The object to check.
2586
2720
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
2587
2721
  */
2588
2722
  MatDatepicker.prototype._getValidDateOrNull = /**
2723
+ * @private
2589
2724
  * @param {?} obj The object to check.
2590
2725
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
2591
2726
  */
2592
2727
  function (obj) {
2593
2728
  return (this._dateAdapter.isDateInstance(obj) && this._dateAdapter.isValid(obj)) ? obj : null;
2594
2729
  };
2730
+ /** Passes the current theme color along to the calendar overlay. */
2595
2731
  /**
2596
2732
  * Passes the current theme color along to the calendar overlay.
2733
+ * @private
2597
2734
  * @return {?}
2598
2735
  */
2599
2736
  MatDatepicker.prototype._setColor = /**
2600
2737
  * Passes the current theme color along to the calendar overlay.
2738
+ * @private
2601
2739
  * @return {?}
2602
2740
  */
2603
2741
  function () {
@@ -2649,19 +2787,21 @@ var MatDatepicker = /** @class */ (function () {
2649
2787
 
2650
2788
  /**
2651
2789
  * @fileoverview added by tsickle
2652
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
2790
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2653
2791
  */
2654
- /** *
2792
+ /**
2655
2793
  * \@docs-private
2656
- @type {?} */
2794
+ * @type {?}
2795
+ */
2657
2796
  var MAT_DATEPICKER_VALUE_ACCESSOR = {
2658
2797
  provide: forms.NG_VALUE_ACCESSOR,
2659
2798
  useExisting: core.forwardRef(function () { return MatDatepickerInput; }),
2660
2799
  multi: true
2661
2800
  };
2662
- /** *
2801
+ /**
2663
2802
  * \@docs-private
2664
- @type {?} */
2803
+ * @type {?}
2804
+ */
2665
2805
  var MAT_DATEPICKER_VALIDATORS = {
2666
2806
  provide: forms.NG_VALIDATORS,
2667
2807
  useExisting: core.forwardRef(function () { return MatDatepickerInput; }),
@@ -2980,11 +3120,14 @@ var MatDatepickerInput = /** @class */ (function () {
2980
3120
  return this._formField ? this._formField.getConnectedOverlayOrigin() : this._elementRef;
2981
3121
  };
2982
3122
  // Implemented as part of ControlValueAccessor.
3123
+ // Implemented as part of ControlValueAccessor.
2983
3124
  /**
2984
3125
  * @param {?} value
2985
3126
  * @return {?}
2986
3127
  */
2987
- MatDatepickerInput.prototype.writeValue = /**
3128
+ MatDatepickerInput.prototype.writeValue =
3129
+ // Implemented as part of ControlValueAccessor.
3130
+ /**
2988
3131
  * @param {?} value
2989
3132
  * @return {?}
2990
3133
  */
@@ -2992,11 +3135,14 @@ var MatDatepickerInput = /** @class */ (function () {
2992
3135
  this.value = value;
2993
3136
  };
2994
3137
  // Implemented as part of ControlValueAccessor.
3138
+ // Implemented as part of ControlValueAccessor.
2995
3139
  /**
2996
3140
  * @param {?} fn
2997
3141
  * @return {?}
2998
3142
  */
2999
- MatDatepickerInput.prototype.registerOnChange = /**
3143
+ MatDatepickerInput.prototype.registerOnChange =
3144
+ // Implemented as part of ControlValueAccessor.
3145
+ /**
3000
3146
  * @param {?} fn
3001
3147
  * @return {?}
3002
3148
  */
@@ -3004,11 +3150,14 @@ var MatDatepickerInput = /** @class */ (function () {
3004
3150
  this._cvaOnChange = fn;
3005
3151
  };
3006
3152
  // Implemented as part of ControlValueAccessor.
3153
+ // Implemented as part of ControlValueAccessor.
3007
3154
  /**
3008
3155
  * @param {?} fn
3009
3156
  * @return {?}
3010
3157
  */
3011
- MatDatepickerInput.prototype.registerOnTouched = /**
3158
+ MatDatepickerInput.prototype.registerOnTouched =
3159
+ // Implemented as part of ControlValueAccessor.
3160
+ /**
3012
3161
  * @param {?} fn
3013
3162
  * @return {?}
3014
3163
  */
@@ -3016,11 +3165,14 @@ var MatDatepickerInput = /** @class */ (function () {
3016
3165
  this._onTouched = fn;
3017
3166
  };
3018
3167
  // Implemented as part of ControlValueAccessor.
3168
+ // Implemented as part of ControlValueAccessor.
3019
3169
  /**
3020
3170
  * @param {?} isDisabled
3021
3171
  * @return {?}
3022
3172
  */
3023
- MatDatepickerInput.prototype.setDisabledState = /**
3173
+ MatDatepickerInput.prototype.setDisabledState =
3174
+ // Implemented as part of ControlValueAccessor.
3175
+ /**
3024
3176
  * @param {?} isDisabled
3025
3177
  * @return {?}
3026
3178
  */
@@ -3100,13 +3252,16 @@ var MatDatepickerInput = /** @class */ (function () {
3100
3252
  }
3101
3253
  this._onTouched();
3102
3254
  };
3255
+ /** Formats a value and sets it on the input element. */
3103
3256
  /**
3104
3257
  * Formats a value and sets it on the input element.
3258
+ * @private
3105
3259
  * @param {?} value
3106
3260
  * @return {?}
3107
3261
  */
3108
3262
  MatDatepickerInput.prototype._formatValue = /**
3109
3263
  * Formats a value and sets it on the input element.
3264
+ * @private
3110
3265
  * @param {?} value
3111
3266
  * @return {?}
3112
3267
  */
@@ -3115,10 +3270,16 @@ var MatDatepickerInput = /** @class */ (function () {
3115
3270
  value ? this._dateAdapter.format(value, this._dateFormats.display.dateInput) : '';
3116
3271
  };
3117
3272
  /**
3273
+ * @param obj The object to check.
3274
+ * @returns The given object if it is both a date instance and valid, otherwise null.
3275
+ */
3276
+ /**
3277
+ * @private
3118
3278
  * @param {?} obj The object to check.
3119
3279
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
3120
3280
  */
3121
3281
  MatDatepickerInput.prototype._getValidDateOrNull = /**
3282
+ * @private
3122
3283
  * @param {?} obj The object to check.
3123
3284
  * @return {?} The given object if it is both a date instance and valid, otherwise null.
3124
3285
  */
@@ -3169,7 +3330,7 @@ var MatDatepickerInput = /** @class */ (function () {
3169
3330
 
3170
3331
  /**
3171
3332
  * @fileoverview added by tsickle
3172
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
3333
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3173
3334
  */
3174
3335
  /**
3175
3336
  * Can be used to override the icon of a `matDatepickerToggle`.
@@ -3224,7 +3385,7 @@ var MatDatepickerToggle = /** @class */ (function () {
3224
3385
  * @return {?}
3225
3386
  */
3226
3387
  function (changes) {
3227
- if (changes["datepicker"]) {
3388
+ if (changes.datepicker) {
3228
3389
  this._watchStateChanges();
3229
3390
  }
3230
3391
  };
@@ -3261,9 +3422,11 @@ var MatDatepickerToggle = /** @class */ (function () {
3261
3422
  }
3262
3423
  };
3263
3424
  /**
3425
+ * @private
3264
3426
  * @return {?}
3265
3427
  */
3266
3428
  MatDatepickerToggle.prototype._watchStateChanges = /**
3429
+ * @private
3267
3430
  * @return {?}
3268
3431
  */
3269
3432
  function () {
@@ -3282,7 +3445,7 @@ var MatDatepickerToggle = /** @class */ (function () {
3282
3445
  };
3283
3446
  MatDatepickerToggle.decorators = [
3284
3447
  { type: core.Component, args: [{selector: 'mat-datepicker-toggle',
3285
- template: "<button #button mat-icon-button type=\"button\" aria-haspopup=\"true\" [attr.aria-label]=\"_intl.openCalendarLabel\" [attr.tabindex]=\"disabled ? -1 : tabIndex\" [disabled]=\"disabled\" [disableRipple]=\"disableRipple\" (click)=\"_open($event)\"><svg *ngIf=\"!_customIcon\" class=\"mat-datepicker-toggle-default-icon\" viewBox=\"0 0 24 24\" width=\"24px\" height=\"24px\" fill=\"currentColor\" focusable=\"false\"><path d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\"/></svg><ng-content select=\"[matDatepickerToggleIcon]\"></ng-content></button>",
3448
+ template: "<button #button mat-icon-button type=\"button\" aria-haspopup=\"true\" [attr.aria-label]=\"_intl.openCalendarLabel\" [attr.tabindex]=\"disabled ? -1 : tabIndex\" [disabled]=\"disabled\" [disableRipple]=\"disableRipple\" (click)=\"_open($event)\"><svg *ngIf=\"!_customIcon\" class=\"mat-datepicker-toggle-default-icon\" viewBox=\"0 0 24 24\" width=\"24px\" height=\"24px\" fill=\"currentColor\" focusable=\"false\"><path d=\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\"/></svg><ng-content select=\"[matDatepickerToggleIcon]\"></ng-content></button>",
3286
3449
  styles: [".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}"],
3287
3450
  host: {
3288
3451
  'class': 'mat-datepicker-toggle',
@@ -3318,7 +3481,7 @@ var MatDatepickerToggle = /** @class */ (function () {
3318
3481
 
3319
3482
  /**
3320
3483
  * @fileoverview added by tsickle
3321
- * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
3484
+ * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3322
3485
  */
3323
3486
  var MatDatepickerModule = /** @class */ (function () {
3324
3487
  function MatDatepickerModule() {