@angular/material 10.0.2 → 10.1.3

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 (521) hide show
  1. package/_theming.scss +14 -9
  2. package/autocomplete/index.metadata.json +1 -1
  3. package/autocomplete/testing/autocomplete-harness.d.ts +2 -0
  4. package/bundles/material-autocomplete-testing.umd.js +327 -248
  5. package/bundles/material-autocomplete-testing.umd.js.map +1 -1
  6. package/bundles/material-autocomplete-testing.umd.min.js +2 -9
  7. package/bundles/material-autocomplete-testing.umd.min.js.map +1 -1
  8. package/bundles/material-autocomplete.umd.js +421 -355
  9. package/bundles/material-autocomplete.umd.js.map +1 -1
  10. package/bundles/material-autocomplete.umd.min.js +2 -24
  11. package/bundles/material-autocomplete.umd.min.js.map +1 -1
  12. package/bundles/material-badge-testing.umd.js +301 -235
  13. package/bundles/material-badge-testing.umd.js.map +1 -1
  14. package/bundles/material-badge-testing.umd.min.js +2 -9
  15. package/bundles/material-badge-testing.umd.min.js.map +1 -1
  16. package/bundles/material-badge.umd.js +344 -278
  17. package/bundles/material-badge.umd.js.map +1 -1
  18. package/bundles/material-badge.umd.min.js +3 -3
  19. package/bundles/material-badge.umd.min.js.map +1 -1
  20. package/bundles/material-bottom-sheet-testing.umd.js +302 -236
  21. package/bundles/material-bottom-sheet-testing.umd.js.map +1 -1
  22. package/bundles/material-bottom-sheet-testing.umd.min.js +2 -9
  23. package/bundles/material-bottom-sheet-testing.umd.min.js.map +1 -1
  24. package/bundles/material-bottom-sheet.umd.js +361 -288
  25. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  26. package/bundles/material-bottom-sheet.umd.min.js +17 -2
  27. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  28. package/bundles/material-button-testing.umd.js +321 -244
  29. package/bundles/material-button-testing.umd.js.map +1 -1
  30. package/bundles/material-button-testing.umd.min.js +2 -9
  31. package/bundles/material-button-testing.umd.min.js.map +1 -1
  32. package/bundles/material-button-toggle-testing.umd.js +315 -245
  33. package/bundles/material-button-toggle-testing.umd.js.map +1 -1
  34. package/bundles/material-button-toggle-testing.umd.min.js +3 -17
  35. package/bundles/material-button-toggle-testing.umd.min.js.map +1 -1
  36. package/bundles/material-button-toggle.umd.js +394 -318
  37. package/bundles/material-button-toggle.umd.js.map +1 -1
  38. package/bundles/material-button-toggle.umd.min.js +2 -10
  39. package/bundles/material-button-toggle.umd.min.js.map +1 -1
  40. package/bundles/material-button.umd.js +375 -304
  41. package/bundles/material-button.umd.js.map +1 -1
  42. package/bundles/material-button.umd.min.js +3 -11
  43. package/bundles/material-button.umd.min.js.map +1 -1
  44. package/bundles/material-card-testing.umd.js +399 -0
  45. package/bundles/material-card-testing.umd.js.map +1 -0
  46. package/bundles/material-card-testing.umd.min.js +37 -0
  47. package/bundles/material-card-testing.umd.min.js.map +1 -0
  48. package/bundles/material-card.umd.js +139 -139
  49. package/bundles/material-card.umd.js.map +1 -1
  50. package/bundles/material-card.umd.min.js +2 -2
  51. package/bundles/material-card.umd.min.js.map +1 -1
  52. package/bundles/material-checkbox-testing.umd.js +313 -236
  53. package/bundles/material-checkbox-testing.umd.js.map +1 -1
  54. package/bundles/material-checkbox-testing.umd.min.js +2 -9
  55. package/bundles/material-checkbox-testing.umd.min.js.map +1 -1
  56. package/bundles/material-checkbox.umd.js +370 -311
  57. package/bundles/material-checkbox.umd.js.map +1 -1
  58. package/bundles/material-checkbox.umd.min.js +2 -9
  59. package/bundles/material-checkbox.umd.min.js.map +1 -1
  60. package/bundles/material-chips.umd.js +625 -542
  61. package/bundles/material-chips.umd.js.map +1 -1
  62. package/bundles/material-chips.umd.min.js +19 -4
  63. package/bundles/material-chips.umd.min.js.map +1 -1
  64. package/bundles/material-core-testing.umd.js +304 -245
  65. package/bundles/material-core-testing.umd.js.map +1 -1
  66. package/bundles/material-core-testing.umd.min.js +3 -17
  67. package/bundles/material-core-testing.umd.min.js.map +1 -1
  68. package/bundles/material-core.umd.js +563 -510
  69. package/bundles/material-core.umd.js.map +1 -1
  70. package/bundles/material-core.umd.min.js +37 -12
  71. package/bundles/material-core.umd.min.js.map +1 -1
  72. package/bundles/material-datepicker.umd.js +935 -880
  73. package/bundles/material-datepicker.umd.js.map +1 -1
  74. package/bundles/material-datepicker.umd.min.js +44 -10
  75. package/bundles/material-datepicker.umd.min.js.map +1 -1
  76. package/bundles/material-dialog-testing.umd.js +303 -237
  77. package/bundles/material-dialog-testing.umd.js.map +1 -1
  78. package/bundles/material-dialog-testing.umd.min.js +2 -9
  79. package/bundles/material-dialog-testing.umd.min.js.map +1 -1
  80. package/bundles/material-dialog.umd.js +438 -376
  81. package/bundles/material-dialog.umd.js.map +1 -1
  82. package/bundles/material-dialog.umd.min.js +15 -14
  83. package/bundles/material-dialog.umd.min.js.map +1 -1
  84. package/bundles/material-divider-testing.umd.js +300 -234
  85. package/bundles/material-divider-testing.umd.js.map +1 -1
  86. package/bundles/material-divider-testing.umd.min.js +2 -9
  87. package/bundles/material-divider-testing.umd.min.js.map +1 -1
  88. package/bundles/material-divider.umd.js +28 -28
  89. package/bundles/material-divider.umd.js.map +1 -1
  90. package/bundles/material-divider.umd.min.js +2 -9
  91. package/bundles/material-divider.umd.min.js.map +1 -1
  92. package/bundles/material-expansion-testing.umd.js +314 -246
  93. package/bundles/material-expansion-testing.umd.js.map +1 -1
  94. package/bundles/material-expansion-testing.umd.min.js +2 -10
  95. package/bundles/material-expansion-testing.umd.min.js.map +1 -1
  96. package/bundles/material-expansion.umd.js +459 -400
  97. package/bundles/material-expansion.umd.js.map +1 -1
  98. package/bundles/material-expansion.umd.min.js +11 -3
  99. package/bundles/material-expansion.umd.min.js.map +1 -1
  100. package/bundles/material-form-field-testing-control.umd.js +299 -233
  101. package/bundles/material-form-field-testing-control.umd.js.map +1 -1
  102. package/bundles/material-form-field-testing-control.umd.min.js.map +1 -1
  103. package/bundles/material-form-field-testing.umd.js +301 -235
  104. package/bundles/material-form-field-testing.umd.js.map +1 -1
  105. package/bundles/material-form-field-testing.umd.min.js +3 -10
  106. package/bundles/material-form-field-testing.umd.min.js.map +1 -1
  107. package/bundles/material-form-field.umd.js +493 -406
  108. package/bundles/material-form-field.umd.js.map +1 -1
  109. package/bundles/material-form-field.umd.min.js +36 -5
  110. package/bundles/material-form-field.umd.min.js.map +1 -1
  111. package/bundles/material-grid-list-testing.umd.js +311 -252
  112. package/bundles/material-grid-list-testing.umd.js.map +1 -1
  113. package/bundles/material-grid-list-testing.umd.min.js +2 -17
  114. package/bundles/material-grid-list-testing.umd.min.js.map +1 -1
  115. package/bundles/material-grid-list.umd.js +409 -336
  116. package/bundles/material-grid-list.umd.js.map +1 -1
  117. package/bundles/material-grid-list.umd.min.js +19 -4
  118. package/bundles/material-grid-list.umd.min.js.map +1 -1
  119. package/bundles/material-icon-testing.umd.js +8 -8
  120. package/bundles/material-icon-testing.umd.js.map +1 -1
  121. package/bundles/material-icon-testing.umd.min.js +2 -2
  122. package/bundles/material-icon-testing.umd.min.js.map +1 -1
  123. package/bundles/material-icon.umd.js +349 -283
  124. package/bundles/material-icon.umd.js.map +1 -1
  125. package/bundles/material-icon.umd.min.js +2 -9
  126. package/bundles/material-icon.umd.min.js.map +1 -1
  127. package/bundles/material-input-testing.umd.js +326 -243
  128. package/bundles/material-input-testing.umd.js.map +1 -1
  129. package/bundles/material-input-testing.umd.min.js +2 -9
  130. package/bundles/material-input-testing.umd.min.js.map +1 -1
  131. package/bundles/material-input.umd.js +409 -326
  132. package/bundles/material-input.umd.js.map +1 -1
  133. package/bundles/material-input.umd.min.js +5 -19
  134. package/bundles/material-input.umd.min.js.map +1 -1
  135. package/bundles/material-list-testing.umd.js +366 -303
  136. package/bundles/material-list-testing.umd.js.map +1 -1
  137. package/bundles/material-list-testing.umd.min.js +2 -2
  138. package/bundles/material-list-testing.umd.min.js.map +1 -1
  139. package/bundles/material-list.umd.js +492 -433
  140. package/bundles/material-list.umd.js.map +1 -1
  141. package/bundles/material-list.umd.min.js +2 -10
  142. package/bundles/material-list.umd.min.js.map +1 -1
  143. package/bundles/material-menu-testing.umd.js +327 -239
  144. package/bundles/material-menu-testing.umd.js.map +1 -1
  145. package/bundles/material-menu-testing.umd.min.js +2 -10
  146. package/bundles/material-menu-testing.umd.min.js.map +1 -1
  147. package/bundles/material-menu.umd.js +483 -408
  148. package/bundles/material-menu.umd.js.map +1 -1
  149. package/bundles/material-menu.umd.min.js +5 -4
  150. package/bundles/material-menu.umd.min.js.map +1 -1
  151. package/bundles/material-paginator-testing.umd.js +302 -236
  152. package/bundles/material-paginator-testing.umd.js.map +1 -1
  153. package/bundles/material-paginator-testing.umd.min.js +2 -9
  154. package/bundles/material-paginator-testing.umd.min.js.map +1 -1
  155. package/bundles/material-paginator.umd.js +345 -279
  156. package/bundles/material-paginator.umd.js.map +1 -1
  157. package/bundles/material-paginator.umd.min.js +2 -9
  158. package/bundles/material-paginator.umd.min.js.map +1 -1
  159. package/bundles/material-progress-bar-testing.umd.js +301 -235
  160. package/bundles/material-progress-bar-testing.umd.js.map +1 -1
  161. package/bundles/material-progress-bar-testing.umd.min.js +2 -9
  162. package/bundles/material-progress-bar-testing.umd.min.js.map +1 -1
  163. package/bundles/material-progress-bar.umd.js +339 -266
  164. package/bundles/material-progress-bar.umd.js.map +1 -1
  165. package/bundles/material-progress-bar.umd.min.js +4 -3
  166. package/bundles/material-progress-bar.umd.min.js.map +1 -1
  167. package/bundles/material-progress-spinner-testing.umd.js +301 -235
  168. package/bundles/material-progress-spinner-testing.umd.js.map +1 -1
  169. package/bundles/material-progress-spinner-testing.umd.min.js +2 -9
  170. package/bundles/material-progress-spinner-testing.umd.min.js.map +1 -1
  171. package/bundles/material-progress-spinner.umd.js +411 -364
  172. package/bundles/material-progress-spinner.umd.js.map +1 -1
  173. package/bundles/material-progress-spinner.umd.min.js +2 -10
  174. package/bundles/material-progress-spinner.umd.min.js.map +1 -1
  175. package/bundles/material-radio-testing.umd.js +315 -238
  176. package/bundles/material-radio-testing.umd.js.map +1 -1
  177. package/bundles/material-radio-testing.umd.min.js +2 -10
  178. package/bundles/material-radio-testing.umd.min.js.map +1 -1
  179. package/bundles/material-radio.umd.js +412 -336
  180. package/bundles/material-radio.umd.js.map +1 -1
  181. package/bundles/material-radio.umd.min.js +2 -10
  182. package/bundles/material-radio.umd.min.js.map +1 -1
  183. package/bundles/material-select-testing.umd.js +326 -247
  184. package/bundles/material-select-testing.umd.js.map +1 -1
  185. package/bundles/material-select-testing.umd.min.js +2 -9
  186. package/bundles/material-select-testing.umd.min.js.map +1 -1
  187. package/bundles/material-select.umd.js +424 -348
  188. package/bundles/material-select.umd.js.map +1 -1
  189. package/bundles/material-select.umd.min.js +5 -12
  190. package/bundles/material-select.umd.min.js.map +1 -1
  191. package/bundles/material-sidenav-testing.umd.js +303 -244
  192. package/bundles/material-sidenav-testing.umd.js.map +1 -1
  193. package/bundles/material-sidenav-testing.umd.min.js +2 -16
  194. package/bundles/material-sidenav-testing.umd.min.js.map +1 -1
  195. package/bundles/material-sidenav.umd.js +528 -477
  196. package/bundles/material-sidenav.umd.js.map +1 -1
  197. package/bundles/material-sidenav.umd.min.js +3 -3
  198. package/bundles/material-sidenav.umd.min.js.map +1 -1
  199. package/bundles/material-slide-toggle-testing.umd.js +313 -236
  200. package/bundles/material-slide-toggle-testing.umd.js.map +1 -1
  201. package/bundles/material-slide-toggle-testing.umd.min.js +2 -9
  202. package/bundles/material-slide-toggle-testing.umd.min.js.map +1 -1
  203. package/bundles/material-slide-toggle.umd.js +373 -314
  204. package/bundles/material-slide-toggle.umd.js.map +1 -1
  205. package/bundles/material-slide-toggle.umd.min.js +2 -9
  206. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  207. package/bundles/material-slider-testing.umd.js +313 -236
  208. package/bundles/material-slider-testing.umd.js.map +1 -1
  209. package/bundles/material-slider-testing.umd.min.js +2 -9
  210. package/bundles/material-slider-testing.umd.min.js.map +1 -1
  211. package/bundles/material-slider.umd.js +476 -439
  212. package/bundles/material-slider.umd.js.map +1 -1
  213. package/bundles/material-slider.umd.min.js +4 -3
  214. package/bundles/material-slider.umd.min.js.map +1 -1
  215. package/bundles/material-snack-bar-testing.umd.js +304 -238
  216. package/bundles/material-snack-bar-testing.umd.js.map +1 -1
  217. package/bundles/material-snack-bar-testing.umd.min.js +2 -9
  218. package/bundles/material-snack-bar-testing.umd.min.js.map +1 -1
  219. package/bundles/material-snack-bar.umd.js +383 -308
  220. package/bundles/material-snack-bar.umd.js.map +1 -1
  221. package/bundles/material-snack-bar.umd.min.js +26 -2
  222. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  223. package/bundles/material-sort-testing.umd.js +312 -253
  224. package/bundles/material-sort-testing.umd.js.map +1 -1
  225. package/bundles/material-sort-testing.umd.min.js +1 -16
  226. package/bundles/material-sort-testing.umd.min.js.map +1 -1
  227. package/bundles/material-sort.umd.js +391 -319
  228. package/bundles/material-sort.umd.js.map +1 -1
  229. package/bundles/material-sort.umd.min.js +4 -19
  230. package/bundles/material-sort.umd.min.js.map +1 -1
  231. package/bundles/material-stepper.umd.js +490 -445
  232. package/bundles/material-stepper.umd.js.map +1 -1
  233. package/bundles/material-stepper.umd.min.js +5 -12
  234. package/bundles/material-stepper.umd.min.js.map +1 -1
  235. package/bundles/material-table-testing.umd.js +317 -265
  236. package/bundles/material-table-testing.umd.js.map +1 -1
  237. package/bundles/material-table-testing.umd.min.js +2 -24
  238. package/bundles/material-table-testing.umd.min.js.map +1 -1
  239. package/bundles/material-table.umd.js +494 -461
  240. package/bundles/material-table.umd.js.map +1 -1
  241. package/bundles/material-table.umd.min.js +3 -10
  242. package/bundles/material-table.umd.min.js.map +1 -1
  243. package/bundles/material-tabs-testing.umd.js +303 -244
  244. package/bundles/material-tabs-testing.umd.js.map +1 -1
  245. package/bundles/material-tabs-testing.umd.min.js +1 -16
  246. package/bundles/material-tabs-testing.umd.min.js.map +1 -1
  247. package/bundles/material-tabs.umd.js +675 -625
  248. package/bundles/material-tabs.umd.js.map +1 -1
  249. package/bundles/material-tabs.umd.min.js +23 -5
  250. package/bundles/material-tabs.umd.min.js.map +1 -1
  251. package/bundles/material-toolbar-testing.umd.js +396 -0
  252. package/bundles/material-toolbar-testing.umd.js.map +1 -0
  253. package/bundles/material-toolbar-testing.umd.min.js +37 -0
  254. package/bundles/material-toolbar-testing.umd.min.js.map +1 -0
  255. package/bundles/material-toolbar.umd.js +337 -271
  256. package/bundles/material-toolbar.umd.js.map +1 -1
  257. package/bundles/material-toolbar.umd.min.js +4 -3
  258. package/bundles/material-toolbar.umd.min.js.map +1 -1
  259. package/bundles/material-tooltip-testing.umd.js +301 -235
  260. package/bundles/material-tooltip-testing.umd.js.map +1 -1
  261. package/bundles/material-tooltip-testing.umd.min.js +2 -9
  262. package/bundles/material-tooltip-testing.umd.min.js.map +1 -1
  263. package/bundles/material-tooltip.umd.js +427 -314
  264. package/bundles/material-tooltip.umd.js.map +1 -1
  265. package/bundles/material-tooltip.umd.min.js +11 -3
  266. package/bundles/material-tooltip.umd.min.js.map +1 -1
  267. package/bundles/material-tree.umd.js +421 -383
  268. package/bundles/material-tree.umd.js.map +1 -1
  269. package/bundles/material-tree.umd.min.js +3 -3
  270. package/bundles/material-tree.umd.min.js.map +1 -1
  271. package/button/_button-base.scss +1 -1
  272. package/button/_button-theme.scss +8 -8
  273. package/button/index.metadata.json +1 -1
  274. package/button/testing/button-harness.d.ts +2 -0
  275. package/button-toggle/button-toggle.d.ts +6 -0
  276. package/button-toggle/index.metadata.json +1 -1
  277. package/button-toggle/testing/button-toggle-harness.d.ts +2 -0
  278. package/card/testing/card-harness-filters.d.ts +17 -0
  279. package/card/testing/card-harness.d.ts +36 -0
  280. package/card/testing/index.d.ts +8 -0
  281. package/card/testing/package.json +9 -0
  282. package/card/testing/public-api.d.ts +9 -0
  283. package/checkbox/checkbox.d.ts +2 -1
  284. package/checkbox/testing/checkbox-harness.d.ts +2 -0
  285. package/chips/chip.d.ts +21 -2
  286. package/chips/index.metadata.json +1 -1
  287. package/core/focus-indicators/_focus-indicators.scss +1 -1
  288. package/core/index.metadata.json +1 -1
  289. package/core/option/optgroup.d.ts +13 -4
  290. package/core/option/option.d.ts +10 -7
  291. package/core/style/_vendor-prefixes.scss +5 -0
  292. package/datepicker/date-range-input-parts.d.ts +3 -1
  293. package/datepicker/date-range-input.d.ts +5 -4
  294. package/datepicker/datepicker-base.d.ts +8 -6
  295. package/datepicker/datepicker-input-base.d.ts +9 -5
  296. package/datepicker/datepicker-input.d.ts +1 -0
  297. package/datepicker/index.metadata.json +1 -1
  298. package/dialog/dialog.d.ts +1 -1
  299. package/dialog/index.metadata.json +1 -1
  300. package/esm2015/autocomplete/autocomplete.js +3 -3
  301. package/esm2015/autocomplete/testing/autocomplete-harness.js +7 -1
  302. package/esm2015/bottom-sheet/bottom-sheet.js +1 -1
  303. package/esm2015/button/button.js +8 -3
  304. package/esm2015/button/testing/button-harness.js +7 -1
  305. package/esm2015/button-toggle/button-toggle.js +12 -3
  306. package/esm2015/button-toggle/testing/button-toggle-harness.js +7 -1
  307. package/esm2015/card/testing/card-harness-filters.js +8 -0
  308. package/esm2015/card/testing/card-harness.js +52 -0
  309. package/esm2015/card/testing/index.js +9 -0
  310. package/esm2015/card/testing/public-api.js +10 -0
  311. package/esm2015/card/testing/testing.externs.js +0 -0
  312. package/esm2015/checkbox/checkbox.js +1 -1
  313. package/esm2015/checkbox/testing/checkbox-harness.js +7 -1
  314. package/esm2015/chips/chip-list.js +3 -3
  315. package/esm2015/chips/chip.js +32 -11
  316. package/esm2015/core/common-behaviors/common-module.js +1 -1
  317. package/esm2015/core/common-behaviors/tabindex.js +3 -2
  318. package/esm2015/core/option/optgroup.js +22 -9
  319. package/esm2015/core/option/option.js +29 -14
  320. package/esm2015/core/version.js +1 -1
  321. package/esm2015/datepicker/date-range-input-parts.js +7 -1
  322. package/esm2015/datepicker/date-range-input.js +14 -11
  323. package/esm2015/datepicker/datepicker-base.js +24 -10
  324. package/esm2015/datepicker/datepicker-input-base.js +16 -8
  325. package/esm2015/datepicker/datepicker-input.js +4 -1
  326. package/esm2015/datepicker/datepicker-toggle.js +5 -5
  327. package/esm2015/dialog/dialog.js +6 -6
  328. package/esm2015/expansion/testing/expansion-harness.js +7 -1
  329. package/esm2015/form-field/error.js +10 -3
  330. package/esm2015/form-field/form-field.js +17 -19
  331. package/esm2015/form-field/hint.js +13 -3
  332. package/esm2015/form-field/prefix.js +9 -2
  333. package/esm2015/form-field/suffix.js +9 -2
  334. package/esm2015/grid-list/grid-list.js +2 -2
  335. package/esm2015/grid-list/tile-styler.js +1 -1
  336. package/esm2015/input/input.js +29 -5
  337. package/esm2015/input/testing/input-harness.js +13 -3
  338. package/esm2015/list/testing/action-list-harness.js +7 -1
  339. package/esm2015/list/testing/nav-list-harness.js +7 -1
  340. package/esm2015/list/testing/selection-list-harness.js +7 -1
  341. package/esm2015/menu/menu-content.js +10 -3
  342. package/esm2015/menu/menu-errors.js +10 -1
  343. package/esm2015/menu/menu-panel.js +1 -1
  344. package/esm2015/menu/menu-trigger.js +8 -4
  345. package/esm2015/menu/menu.js +8 -6
  346. package/esm2015/menu/testing/menu-harness.js +13 -1
  347. package/esm2015/progress-spinner/progress-spinner.js +17 -16
  348. package/esm2015/radio/radio.js +15 -6
  349. package/esm2015/radio/testing/radio-harness.js +7 -1
  350. package/esm2015/select/select.js +21 -12
  351. package/esm2015/select/testing/select-harness.js +7 -1
  352. package/esm2015/sidenav/drawer.js +15 -16
  353. package/esm2015/slide-toggle/slide-toggle.js +1 -1
  354. package/esm2015/slide-toggle/testing/slide-toggle-harness.js +7 -1
  355. package/esm2015/slider/slider.js +25 -22
  356. package/esm2015/slider/testing/slider-harness.js +7 -1
  357. package/esm2015/snack-bar/snack-bar.js +5 -3
  358. package/esm2015/sort/sort-header-intl.js +6 -2
  359. package/esm2015/sort/sort-header.js +18 -8
  360. package/esm2015/sort/testing/sort-header-harness.js +10 -7
  361. package/esm2015/stepper/stepper.js +3 -3
  362. package/esm2015/table/cell.js +12 -26
  363. package/esm2015/table/table.js +7 -4
  364. package/esm2015/tabs/index.js +4 -2
  365. package/esm2015/tabs/tab-content.js +12 -3
  366. package/esm2015/tabs/tab-label.js +9 -2
  367. package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +1 -1
  368. package/esm2015/tabs/tab.js +6 -5
  369. package/esm2015/toolbar/testing/index.js +9 -0
  370. package/esm2015/toolbar/testing/public-api.js +10 -0
  371. package/esm2015/toolbar/testing/testing.externs.js +0 -0
  372. package/esm2015/toolbar/testing/toolbar-harness-filters.js +8 -0
  373. package/esm2015/toolbar/testing/toolbar-harness.js +47 -0
  374. package/esm2015/tooltip/tooltip.js +56 -21
  375. package/esm2015/tree/data-source/flat-data-source.js +1 -1
  376. package/esm2015/tree/node.js +2 -2
  377. package/expansion/testing/expansion-harness.d.ts +2 -0
  378. package/fesm2015/autocomplete/testing.js +6 -0
  379. package/fesm2015/autocomplete/testing.js.map +1 -1
  380. package/fesm2015/autocomplete.js +2 -2
  381. package/fesm2015/autocomplete.js.map +1 -1
  382. package/fesm2015/button/testing.js +6 -0
  383. package/fesm2015/button/testing.js.map +1 -1
  384. package/fesm2015/button-toggle/testing.js +6 -0
  385. package/fesm2015/button-toggle/testing.js.map +1 -1
  386. package/fesm2015/button-toggle.js +12 -3
  387. package/fesm2015/button-toggle.js.map +1 -1
  388. package/fesm2015/button.js +7 -2
  389. package/fesm2015/button.js.map +1 -1
  390. package/fesm2015/card/testing.js +79 -0
  391. package/fesm2015/card/testing.js.map +1 -0
  392. package/fesm2015/checkbox/testing.js +6 -0
  393. package/fesm2015/checkbox/testing.js.map +1 -1
  394. package/fesm2015/checkbox.js.map +1 -1
  395. package/fesm2015/chips.js +33 -12
  396. package/fesm2015/chips.js.map +1 -1
  397. package/fesm2015/core.js +51 -23
  398. package/fesm2015/core.js.map +1 -1
  399. package/fesm2015/datepicker.js +60 -26
  400. package/fesm2015/datepicker.js.map +1 -1
  401. package/fesm2015/dialog.js +5 -5
  402. package/fesm2015/dialog.js.map +1 -1
  403. package/fesm2015/expansion/testing.js +6 -0
  404. package/fesm2015/expansion/testing.js.map +1 -1
  405. package/fesm2015/form-field.js +47 -18
  406. package/fesm2015/form-field.js.map +1 -1
  407. package/fesm2015/grid-list.js.map +1 -1
  408. package/fesm2015/input/testing.js +12 -2
  409. package/fesm2015/input/testing.js.map +1 -1
  410. package/fesm2015/input.js +28 -4
  411. package/fesm2015/input.js.map +1 -1
  412. package/fesm2015/list/testing.js +18 -0
  413. package/fesm2015/list/testing.js.map +1 -1
  414. package/fesm2015/menu/testing.js +12 -0
  415. package/fesm2015/menu/testing.js.map +1 -1
  416. package/fesm2015/menu.js +29 -7
  417. package/fesm2015/menu.js.map +1 -1
  418. package/fesm2015/progress-spinner.js +16 -15
  419. package/fesm2015/progress-spinner.js.map +1 -1
  420. package/fesm2015/radio/testing.js +6 -0
  421. package/fesm2015/radio/testing.js.map +1 -1
  422. package/fesm2015/radio.js +16 -7
  423. package/fesm2015/radio.js.map +1 -1
  424. package/fesm2015/select/testing.js +6 -0
  425. package/fesm2015/select/testing.js.map +1 -1
  426. package/fesm2015/select.js +21 -12
  427. package/fesm2015/select.js.map +1 -1
  428. package/fesm2015/sidenav.js +15 -16
  429. package/fesm2015/sidenav.js.map +1 -1
  430. package/fesm2015/slide-toggle/testing.js +6 -0
  431. package/fesm2015/slide-toggle/testing.js.map +1 -1
  432. package/fesm2015/slide-toggle.js.map +1 -1
  433. package/fesm2015/slider/testing.js +6 -0
  434. package/fesm2015/slider/testing.js.map +1 -1
  435. package/fesm2015/slider.js +24 -21
  436. package/fesm2015/slider.js.map +1 -1
  437. package/fesm2015/snack-bar.js +4 -2
  438. package/fesm2015/snack-bar.js.map +1 -1
  439. package/fesm2015/sort/testing.js +9 -6
  440. package/fesm2015/sort/testing.js.map +1 -1
  441. package/fesm2015/sort.js +22 -8
  442. package/fesm2015/sort.js.map +1 -1
  443. package/fesm2015/stepper.js +2 -2
  444. package/fesm2015/stepper.js.map +1 -1
  445. package/fesm2015/table.js +17 -28
  446. package/fesm2015/table.js.map +1 -1
  447. package/fesm2015/tabs.js +21 -4
  448. package/fesm2015/tabs.js.map +1 -1
  449. package/fesm2015/toolbar/testing.js +74 -0
  450. package/fesm2015/toolbar/testing.js.map +1 -0
  451. package/fesm2015/tooltip.js +55 -20
  452. package/fesm2015/tooltip.js.map +1 -1
  453. package/fesm2015/tree.js +1 -1
  454. package/fesm2015/tree.js.map +1 -1
  455. package/form-field/error.d.ts +7 -0
  456. package/form-field/form-field.d.ts +2 -3
  457. package/form-field/hint.d.ts +10 -0
  458. package/form-field/index.metadata.json +1 -1
  459. package/form-field/prefix.d.ts +7 -0
  460. package/form-field/suffix.d.ts +7 -0
  461. package/grid-list/grid-list.d.ts +2 -1
  462. package/grid-list/index.metadata.json +1 -1
  463. package/grid-list/tile-styler.d.ts +10 -5
  464. package/input/index.metadata.json +1 -1
  465. package/input/input.d.ts +6 -2
  466. package/input/testing/input-harness.d.ts +2 -0
  467. package/list/testing/action-list-harness.d.ts +2 -0
  468. package/list/testing/nav-list-harness.d.ts +2 -0
  469. package/list/testing/selection-list-harness.d.ts +2 -0
  470. package/menu/index.metadata.json +1 -1
  471. package/menu/menu-content.d.ts +7 -1
  472. package/menu/menu-errors.d.ts +6 -0
  473. package/menu/menu-panel.d.ts +1 -0
  474. package/menu/menu.d.ts +4 -0
  475. package/menu/testing/menu-harness.d.ts +4 -0
  476. package/package.json +2 -2
  477. package/prebuilt-themes/deeppurple-amber.css +1 -1
  478. package/prebuilt-themes/indigo-pink.css +1 -1
  479. package/prebuilt-themes/pink-bluegrey.css +1 -1
  480. package/prebuilt-themes/purple-green.css +1 -1
  481. package/progress-spinner/index.metadata.json +1 -1
  482. package/progress-spinner/progress-spinner.d.ts +5 -5
  483. package/radio/index.metadata.json +1 -1
  484. package/radio/radio.d.ts +8 -1
  485. package/radio/testing/radio-harness.d.ts +2 -0
  486. package/schematics/ng-add/index.js +1 -1
  487. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +3 -3
  488. package/schematics/ng-generate/navigation/schema.json +5 -0
  489. package/select/index.metadata.json +1 -1
  490. package/select/select.d.ts +7 -0
  491. package/select/testing/select-harness.d.ts +2 -0
  492. package/sidenav/drawer.d.ts +3 -3
  493. package/sidenav/index.metadata.json +1 -1
  494. package/slide-toggle/slide-toggle.d.ts +2 -1
  495. package/slide-toggle/testing/slide-toggle-harness.d.ts +2 -0
  496. package/slider/index.metadata.json +1 -1
  497. package/slider/slider.d.ts +9 -8
  498. package/slider/testing/slider-harness.d.ts +2 -0
  499. package/sort/index.metadata.json +1 -1
  500. package/sort/sort-header-intl.d.ts +5 -1
  501. package/sort/sort-header.d.ts +3 -1
  502. package/sort/testing/sort-header-harness.d.ts +6 -2
  503. package/stepper/index.metadata.json +1 -1
  504. package/table/cell.d.ts +7 -4
  505. package/table/index.metadata.json +1 -1
  506. package/table/table.d.ts +2 -0
  507. package/tabs/index.d.ts +3 -1
  508. package/tabs/index.metadata.json +1 -1
  509. package/tabs/tab-content.d.ts +7 -1
  510. package/tabs/tab-label.d.ts +7 -0
  511. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -1
  512. package/toolbar/testing/index.d.ts +8 -0
  513. package/toolbar/testing/package.json +9 -0
  514. package/toolbar/testing/public-api.d.ts +9 -0
  515. package/toolbar/testing/toolbar-harness-filters.d.ts +13 -0
  516. package/toolbar/testing/toolbar-harness.d.ts +31 -0
  517. package/tooltip/index.metadata.json +1 -1
  518. package/tooltip/tooltip.d.ts +7 -2
  519. package/tree/data-source/flat-data-source.d.ts +4 -4
  520. package/tree/index.metadata.json +1 -1
  521. package/tree/node.d.ts +2 -1
@@ -12,7 +12,7 @@
12
12
  * found in the LICENSE file at https://angular.io/license
13
13
  */
14
14
  /** Current version of Angular Material. */
15
- var VERSION = new i0.Version('10.0.2');
15
+ var VERSION = new i0.Version('10.1.3');
16
16
 
17
17
  /**
18
18
  * @license
@@ -25,21 +25,21 @@
25
25
  var AnimationCurves = /** @class */ (function () {
26
26
  function AnimationCurves() {
27
27
  }
28
- AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
29
- AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
30
- AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';
31
- AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';
32
28
  return AnimationCurves;
33
29
  }());
30
+ AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
31
+ AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
32
+ AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';
33
+ AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';
34
34
  /** @docs-private */
35
35
  var AnimationDurations = /** @class */ (function () {
36
36
  function AnimationDurations() {
37
37
  }
38
- AnimationDurations.COMPLEX = '375ms';
39
- AnimationDurations.ENTERING = '225ms';
40
- AnimationDurations.EXITING = '195ms';
41
38
  return AnimationDurations;
42
39
  }());
40
+ AnimationDurations.COMPLEX = '375ms';
41
+ AnimationDurations.ENTERING = '225ms';
42
+ AnimationDurations.EXITING = '195ms';
43
43
 
44
44
  /**
45
45
  * @license
@@ -52,7 +52,7 @@
52
52
  // i.e. avoid core to depend on the @angular/material primary entry-point
53
53
  // Can be removed once the Material primary entry-point no longer
54
54
  // re-exports all secondary entry-points
55
- var VERSION$1 = new i0.Version('10.0.2');
55
+ var VERSION$1 = new i0.Version('10.1.3');
56
56
  /** @docs-private */
57
57
  function MATERIAL_SANITY_CHECKS_FACTORY() {
58
58
  return true;
@@ -151,255 +151,321 @@
151
151
  'Please ensure the versions of these two packages exactly match.');
152
152
  }
153
153
  };
154
- MatCommonModule.decorators = [
155
- { type: i0.NgModule, args: [{
156
- imports: [bidi.BidiModule],
157
- exports: [bidi.BidiModule],
158
- },] }
159
- ];
160
- MatCommonModule.ctorParameters = function () { return [
161
- { type: a11y.HighContrastModeDetector },
162
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MATERIAL_SANITY_CHECKS,] }] },
163
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [common.DOCUMENT,] }] }
164
- ]; };
165
154
  return MatCommonModule;
166
155
  }());
156
+ MatCommonModule.decorators = [
157
+ { type: i0.NgModule, args: [{
158
+ imports: [bidi.BidiModule],
159
+ exports: [bidi.BidiModule],
160
+ },] }
161
+ ];
162
+ MatCommonModule.ctorParameters = function () { return [
163
+ { type: a11y.HighContrastModeDetector },
164
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MATERIAL_SANITY_CHECKS,] }] },
165
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [common.DOCUMENT,] }] }
166
+ ]; };
167
167
 
168
- /*! *****************************************************************************
169
- Copyright (c) Microsoft Corporation.
170
-
171
- Permission to use, copy, modify, and/or distribute this software for any
172
- purpose with or without fee is hereby granted.
173
-
174
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
175
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
176
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
177
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
178
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
179
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
180
- PERFORMANCE OF THIS SOFTWARE.
181
- ***************************************************************************** */
182
- /* global Reflect, Promise */
183
-
184
- var extendStatics = function(d, b) {
185
- extendStatics = Object.setPrototypeOf ||
186
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
187
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
188
- return extendStatics(d, b);
189
- };
190
-
191
- function __extends(d, b) {
192
- extendStatics(d, b);
193
- function __() { this.constructor = d; }
194
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
195
- }
196
-
197
- var __assign = function() {
198
- __assign = Object.assign || function __assign(t) {
199
- for (var s, i = 1, n = arguments.length; i < n; i++) {
200
- s = arguments[i];
201
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
202
- }
203
- return t;
204
- };
205
- return __assign.apply(this, arguments);
206
- };
207
-
208
- function __rest(s, e) {
209
- var t = {};
210
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
211
- t[p] = s[p];
212
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
213
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
214
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
215
- t[p[i]] = s[p[i]];
216
- }
217
- return t;
218
- }
219
-
220
- function __decorate(decorators, target, key, desc) {
221
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
222
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
223
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
224
- return c > 3 && r && Object.defineProperty(target, key, r), r;
225
- }
226
-
227
- function __param(paramIndex, decorator) {
228
- return function (target, key) { decorator(target, key, paramIndex); }
229
- }
230
-
231
- function __metadata(metadataKey, metadataValue) {
232
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
233
- }
234
-
235
- function __awaiter(thisArg, _arguments, P, generator) {
236
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
237
- return new (P || (P = Promise))(function (resolve, reject) {
238
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
239
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
240
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
241
- step((generator = generator.apply(thisArg, _arguments || [])).next());
242
- });
243
- }
244
-
245
- function __generator(thisArg, body) {
246
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
247
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
248
- function verb(n) { return function (v) { return step([n, v]); }; }
249
- function step(op) {
250
- if (f) throw new TypeError("Generator is already executing.");
251
- while (_) try {
252
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
253
- if (y = 0, t) op = [op[0] & 2, t.value];
254
- switch (op[0]) {
255
- case 0: case 1: t = op; break;
256
- case 4: _.label++; return { value: op[1], done: false };
257
- case 5: _.label++; y = op[1]; op = [0]; continue;
258
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
259
- default:
260
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
261
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
262
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
263
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
264
- if (t[2]) _.ops.pop();
265
- _.trys.pop(); continue;
266
- }
267
- op = body.call(thisArg, _);
268
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
269
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
270
- }
271
- }
272
-
273
- var __createBinding = Object.create ? (function(o, m, k, k2) {
274
- if (k2 === undefined) k2 = k;
275
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
276
- }) : (function(o, m, k, k2) {
277
- if (k2 === undefined) k2 = k;
278
- o[k2] = m[k];
279
- });
280
-
281
- function __exportStar(m, exports) {
282
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
283
- }
284
-
285
- function __values(o) {
286
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
287
- if (m) return m.call(o);
288
- if (o && typeof o.length === "number") return {
289
- next: function () {
290
- if (o && i >= o.length) o = void 0;
291
- return { value: o && o[i++], done: !o };
292
- }
293
- };
294
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
295
- }
296
-
297
- function __read(o, n) {
298
- var m = typeof Symbol === "function" && o[Symbol.iterator];
299
- if (!m) return o;
300
- var i = m.call(o), r, ar = [], e;
301
- try {
302
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
303
- }
304
- catch (error) { e = { error: error }; }
305
- finally {
306
- try {
307
- if (r && !r.done && (m = i["return"])) m.call(i);
308
- }
309
- finally { if (e) throw e.error; }
310
- }
311
- return ar;
312
- }
313
-
314
- function __spread() {
315
- for (var ar = [], i = 0; i < arguments.length; i++)
316
- ar = ar.concat(__read(arguments[i]));
317
- return ar;
318
- }
319
-
320
- function __spreadArrays() {
321
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
322
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
323
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
324
- r[k] = a[j];
325
- return r;
326
- };
327
-
328
- function __await(v) {
329
- return this instanceof __await ? (this.v = v, this) : new __await(v);
330
- }
331
-
332
- function __asyncGenerator(thisArg, _arguments, generator) {
333
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
334
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
335
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
336
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
337
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
338
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
339
- function fulfill(value) { resume("next", value); }
340
- function reject(value) { resume("throw", value); }
341
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
342
- }
343
-
344
- function __asyncDelegator(o) {
345
- var i, p;
346
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
347
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
348
- }
349
-
350
- function __asyncValues(o) {
351
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
352
- var m = o[Symbol.asyncIterator], i;
353
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
354
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
355
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
356
- }
357
-
358
- function __makeTemplateObject(cooked, raw) {
359
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
360
- return cooked;
361
- };
362
-
363
- var __setModuleDefault = Object.create ? (function(o, v) {
364
- Object.defineProperty(o, "default", { enumerable: true, value: v });
365
- }) : function(o, v) {
366
- o["default"] = v;
367
- };
368
-
369
- function __importStar(mod) {
370
- if (mod && mod.__esModule) return mod;
371
- var result = {};
372
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
373
- __setModuleDefault(result, mod);
374
- return result;
375
- }
376
-
377
- function __importDefault(mod) {
378
- return (mod && mod.__esModule) ? mod : { default: mod };
379
- }
380
-
381
- function __classPrivateFieldGet(receiver, privateMap) {
382
- if (!privateMap.has(receiver)) {
383
- throw new TypeError("attempted to get private field on non-instance");
384
- }
385
- return privateMap.get(receiver);
386
- }
387
-
388
- function __classPrivateFieldSet(receiver, privateMap, value) {
389
- if (!privateMap.has(receiver)) {
390
- throw new TypeError("attempted to set private field on non-instance");
391
- }
392
- privateMap.set(receiver, value);
393
- return value;
168
+ /*! *****************************************************************************
169
+ Copyright (c) Microsoft Corporation.
170
+
171
+ Permission to use, copy, modify, and/or distribute this software for any
172
+ purpose with or without fee is hereby granted.
173
+
174
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
175
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
176
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
177
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
178
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
179
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
180
+ PERFORMANCE OF THIS SOFTWARE.
181
+ ***************************************************************************** */
182
+ /* global Reflect, Promise */
183
+ var extendStatics = function (d, b) {
184
+ extendStatics = Object.setPrototypeOf ||
185
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
186
+ function (d, b) { for (var p in b)
187
+ if (b.hasOwnProperty(p))
188
+ d[p] = b[p]; };
189
+ return extendStatics(d, b);
190
+ };
191
+ function __extends(d, b) {
192
+ extendStatics(d, b);
193
+ function __() { this.constructor = d; }
194
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
195
+ }
196
+ var __assign = function () {
197
+ __assign = Object.assign || function __assign(t) {
198
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
199
+ s = arguments[i];
200
+ for (var p in s)
201
+ if (Object.prototype.hasOwnProperty.call(s, p))
202
+ t[p] = s[p];
203
+ }
204
+ return t;
205
+ };
206
+ return __assign.apply(this, arguments);
207
+ };
208
+ function __rest(s, e) {
209
+ var t = {};
210
+ for (var p in s)
211
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
212
+ t[p] = s[p];
213
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
214
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
215
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
216
+ t[p[i]] = s[p[i]];
217
+ }
218
+ return t;
219
+ }
220
+ function __decorate(decorators, target, key, desc) {
221
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
222
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
223
+ r = Reflect.decorate(decorators, target, key, desc);
224
+ else
225
+ for (var i = decorators.length - 1; i >= 0; i--)
226
+ if (d = decorators[i])
227
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
228
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
229
+ }
230
+ function __param(paramIndex, decorator) {
231
+ return function (target, key) { decorator(target, key, paramIndex); };
232
+ }
233
+ function __metadata(metadataKey, metadataValue) {
234
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
235
+ return Reflect.metadata(metadataKey, metadataValue);
236
+ }
237
+ function __awaiter(thisArg, _arguments, P, generator) {
238
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
239
+ return new (P || (P = Promise))(function (resolve, reject) {
240
+ function fulfilled(value) { try {
241
+ step(generator.next(value));
242
+ }
243
+ catch (e) {
244
+ reject(e);
245
+ } }
246
+ function rejected(value) { try {
247
+ step(generator["throw"](value));
248
+ }
249
+ catch (e) {
250
+ reject(e);
251
+ } }
252
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
253
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
254
+ });
255
+ }
256
+ function __generator(thisArg, body) {
257
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
258
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
259
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
260
+ function verb(n) { return function (v) { return step([n, v]); }; }
261
+ function step(op) {
262
+ if (f)
263
+ throw new TypeError("Generator is already executing.");
264
+ while (_)
265
+ try {
266
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
267
+ return t;
268
+ if (y = 0, t)
269
+ op = [op[0] & 2, t.value];
270
+ switch (op[0]) {
271
+ case 0:
272
+ case 1:
273
+ t = op;
274
+ break;
275
+ case 4:
276
+ _.label++;
277
+ return { value: op[1], done: false };
278
+ case 5:
279
+ _.label++;
280
+ y = op[1];
281
+ op = [0];
282
+ continue;
283
+ case 7:
284
+ op = _.ops.pop();
285
+ _.trys.pop();
286
+ continue;
287
+ default:
288
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
289
+ _ = 0;
290
+ continue;
291
+ }
292
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
293
+ _.label = op[1];
294
+ break;
295
+ }
296
+ if (op[0] === 6 && _.label < t[1]) {
297
+ _.label = t[1];
298
+ t = op;
299
+ break;
300
+ }
301
+ if (t && _.label < t[2]) {
302
+ _.label = t[2];
303
+ _.ops.push(op);
304
+ break;
305
+ }
306
+ if (t[2])
307
+ _.ops.pop();
308
+ _.trys.pop();
309
+ continue;
310
+ }
311
+ op = body.call(thisArg, _);
312
+ }
313
+ catch (e) {
314
+ op = [6, e];
315
+ y = 0;
316
+ }
317
+ finally {
318
+ f = t = 0;
319
+ }
320
+ if (op[0] & 5)
321
+ throw op[1];
322
+ return { value: op[0] ? op[1] : void 0, done: true };
323
+ }
324
+ }
325
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
326
+ if (k2 === undefined)
327
+ k2 = k;
328
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
329
+ }) : (function (o, m, k, k2) {
330
+ if (k2 === undefined)
331
+ k2 = k;
332
+ o[k2] = m[k];
333
+ });
334
+ function __exportStar(m, exports) {
335
+ for (var p in m)
336
+ if (p !== "default" && !exports.hasOwnProperty(p))
337
+ __createBinding(exports, m, p);
338
+ }
339
+ function __values(o) {
340
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
341
+ if (m)
342
+ return m.call(o);
343
+ if (o && typeof o.length === "number")
344
+ return {
345
+ next: function () {
346
+ if (o && i >= o.length)
347
+ o = void 0;
348
+ return { value: o && o[i++], done: !o };
349
+ }
350
+ };
351
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
352
+ }
353
+ function __read(o, n) {
354
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
355
+ if (!m)
356
+ return o;
357
+ var i = m.call(o), r, ar = [], e;
358
+ try {
359
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
360
+ ar.push(r.value);
361
+ }
362
+ catch (error) {
363
+ e = { error: error };
364
+ }
365
+ finally {
366
+ try {
367
+ if (r && !r.done && (m = i["return"]))
368
+ m.call(i);
369
+ }
370
+ finally {
371
+ if (e)
372
+ throw e.error;
373
+ }
374
+ }
375
+ return ar;
376
+ }
377
+ function __spread() {
378
+ for (var ar = [], i = 0; i < arguments.length; i++)
379
+ ar = ar.concat(__read(arguments[i]));
380
+ return ar;
381
+ }
382
+ function __spreadArrays() {
383
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
384
+ s += arguments[i].length;
385
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
386
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
387
+ r[k] = a[j];
388
+ return r;
389
+ }
390
+ ;
391
+ function __await(v) {
392
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
393
+ }
394
+ function __asyncGenerator(thisArg, _arguments, generator) {
395
+ if (!Symbol.asyncIterator)
396
+ throw new TypeError("Symbol.asyncIterator is not defined.");
397
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
398
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
399
+ function verb(n) { if (g[n])
400
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
401
+ function resume(n, v) { try {
402
+ step(g[n](v));
403
+ }
404
+ catch (e) {
405
+ settle(q[0][3], e);
406
+ } }
407
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
408
+ function fulfill(value) { resume("next", value); }
409
+ function reject(value) { resume("throw", value); }
410
+ function settle(f, v) { if (f(v), q.shift(), q.length)
411
+ resume(q[0][0], q[0][1]); }
412
+ }
413
+ function __asyncDelegator(o) {
414
+ var i, p;
415
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
416
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
417
+ }
418
+ function __asyncValues(o) {
419
+ if (!Symbol.asyncIterator)
420
+ throw new TypeError("Symbol.asyncIterator is not defined.");
421
+ var m = o[Symbol.asyncIterator], i;
422
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
423
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
424
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
425
+ }
426
+ function __makeTemplateObject(cooked, raw) {
427
+ if (Object.defineProperty) {
428
+ Object.defineProperty(cooked, "raw", { value: raw });
429
+ }
430
+ else {
431
+ cooked.raw = raw;
432
+ }
433
+ return cooked;
434
+ }
435
+ ;
436
+ var __setModuleDefault = Object.create ? (function (o, v) {
437
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
438
+ }) : function (o, v) {
439
+ o["default"] = v;
440
+ };
441
+ function __importStar(mod) {
442
+ if (mod && mod.__esModule)
443
+ return mod;
444
+ var result = {};
445
+ if (mod != null)
446
+ for (var k in mod)
447
+ if (Object.hasOwnProperty.call(mod, k))
448
+ __createBinding(result, mod, k);
449
+ __setModuleDefault(result, mod);
450
+ return result;
451
+ }
452
+ function __importDefault(mod) {
453
+ return (mod && mod.__esModule) ? mod : { default: mod };
454
+ }
455
+ function __classPrivateFieldGet(receiver, privateMap) {
456
+ if (!privateMap.has(receiver)) {
457
+ throw new TypeError("attempted to get private field on non-instance");
458
+ }
459
+ return privateMap.get(receiver);
460
+ }
461
+ function __classPrivateFieldSet(receiver, privateMap, value) {
462
+ if (!privateMap.has(receiver)) {
463
+ throw new TypeError("attempted to set private field on non-instance");
464
+ }
465
+ privateMap.set(receiver, value);
466
+ return value;
394
467
  }
395
468
 
396
- /**
397
- * @license
398
- * Copyright Google LLC All Rights Reserved.
399
- *
400
- * Use of this source code is governed by an MIT-style license that can be
401
- * found in the LICENSE file at https://angular.io/license
402
- */
403
469
  /** Mixin to augment a directive with a `disabled` property. */
404
470
  function mixinDisabled(base) {
405
471
  return /** @class */ (function (_super) {
@@ -465,13 +531,6 @@
465
531
  }(base));
466
532
  }
467
533
 
468
- /**
469
- * @license
470
- * Copyright Google LLC All Rights Reserved.
471
- *
472
- * Use of this source code is governed by an MIT-style license that can be
473
- * found in the LICENSE file at https://angular.io/license
474
- */
475
534
  /** Mixin to augment a directive with a `disableRipple` property. */
476
535
  function mixinDisableRipple(base) {
477
536
  return /** @class */ (function (_super) {
@@ -496,13 +555,6 @@
496
555
  }(base));
497
556
  }
498
557
 
499
- /**
500
- * @license
501
- * Copyright Google LLC All Rights Reserved.
502
- *
503
- * Use of this source code is governed by an MIT-style license that can be
504
- * found in the LICENSE file at https://angular.io/license
505
- */
506
558
  /** Mixin to augment a directive with a `tabIndex` property. */
507
559
  function mixinTabIndex(base, defaultTabIndex) {
508
560
  if (defaultTabIndex === void 0) { defaultTabIndex = 0; }
@@ -521,7 +573,7 @@
521
573
  get: function () { return this.disabled ? -1 : this._tabIndex; },
522
574
  set: function (value) {
523
575
  // If the specified tabIndex value is null or undefined, fall back to the default value.
524
- this._tabIndex = value != null ? value : defaultTabIndex;
576
+ this._tabIndex = value != null ? coercion.coerceNumberProperty(value) : defaultTabIndex;
525
577
  },
526
578
  enumerable: false,
527
579
  configurable: true
@@ -530,13 +582,6 @@
530
582
  }(base));
531
583
  }
532
584
 
533
- /**
534
- * @license
535
- * Copyright Google LLC All Rights Reserved.
536
- *
537
- * Use of this source code is governed by an MIT-style license that can be
538
- * found in the LICENSE file at https://angular.io/license
539
- */
540
585
  /**
541
586
  * Mixin to augment a directive with updateErrorState method.
542
587
  * For component with `errorState` and need to update `errorState`.
@@ -574,13 +619,6 @@
574
619
  }(base));
575
620
  }
576
621
 
577
- /**
578
- * @license
579
- * Copyright Google LLC All Rights Reserved.
580
- *
581
- * Use of this source code is governed by an MIT-style license that can be
582
- * found in the LICENSE file at https://angular.io/license
583
- */
584
622
  /** Mixin to augment a directive with an initialized property that will emits when ngOnInit ends. */
585
623
  function mixinInitialized(base) {
586
624
  return /** @class */ (function (_super) {
@@ -765,13 +803,6 @@
765
803
  */
766
804
  var MAT_DATE_FORMATS = new i0.InjectionToken('mat-date-formats');
767
805
 
768
- /**
769
- * @license
770
- * Copyright Google LLC All Rights Reserved.
771
- *
772
- * Use of this source code is governed by an MIT-style license that can be
773
- * found in the LICENSE file at https://angular.io/license
774
- */
775
806
  // TODO(mmalerba): Remove when we no longer support safari 9.
776
807
  /** Whether the browser supports the Intl API. */
777
808
  var SUPPORTS_INTL_API;
@@ -857,9 +888,7 @@
857
888
  var _this = this;
858
889
  if (SUPPORTS_INTL_API) {
859
890
  var dtf_1 = new Intl.DateTimeFormat(this.locale, { month: style, timeZone: 'utc' });
860
- return range(12, function (i) {
861
- return _this._stripDirectionalityCharacters(_this._format(dtf_1, new Date(2017, i, 1)));
862
- });
891
+ return range(12, function (i) { return _this._stripDirectionalityCharacters(_this._format(dtf_1, new Date(2017, i, 1))); });
863
892
  }
864
893
  return DEFAULT_MONTH_NAMES[style];
865
894
  };
@@ -934,7 +963,7 @@
934
963
  date = this.clone(date);
935
964
  date.setFullYear(Math.max(1, Math.min(9999, date.getFullYear())));
936
965
  }
937
- displayFormat = __assign(__assign({}, displayFormat), { timeZone: 'utc' });
966
+ displayFormat = Object.assign(Object.assign({}, displayFormat), { timeZone: 'utc' });
938
967
  var dtf = new Intl.DateTimeFormat(this.locale, displayFormat);
939
968
  return this._stripDirectionalityCharacters(this._format(dtf, date));
940
969
  }
@@ -1037,15 +1066,15 @@
1037
1066
  var d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
1038
1067
  return dtf.format(d);
1039
1068
  };
1040
- NativeDateAdapter.decorators = [
1041
- { type: i0.Injectable }
1042
- ];
1043
- NativeDateAdapter.ctorParameters = function () { return [
1044
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_DATE_LOCALE,] }] },
1045
- { type: platform.Platform }
1046
- ]; };
1047
1069
  return NativeDateAdapter;
1048
1070
  }(DateAdapter));
1071
+ NativeDateAdapter.decorators = [
1072
+ { type: i0.Injectable }
1073
+ ];
1074
+ NativeDateAdapter.ctorParameters = function () { return [
1075
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_DATE_LOCALE,] }] },
1076
+ { type: platform.Platform }
1077
+ ]; };
1049
1078
 
1050
1079
  /**
1051
1080
  * @license
@@ -1076,28 +1105,28 @@
1076
1105
  var NativeDateModule = /** @class */ (function () {
1077
1106
  function NativeDateModule() {
1078
1107
  }
1079
- NativeDateModule.decorators = [
1080
- { type: i0.NgModule, args: [{
1081
- imports: [platform.PlatformModule],
1082
- providers: [
1083
- { provide: DateAdapter, useClass: NativeDateAdapter },
1084
- ],
1085
- },] }
1086
- ];
1087
1108
  return NativeDateModule;
1088
1109
  }());
1110
+ NativeDateModule.decorators = [
1111
+ { type: i0.NgModule, args: [{
1112
+ imports: [platform.PlatformModule],
1113
+ providers: [
1114
+ { provide: DateAdapter, useClass: NativeDateAdapter },
1115
+ ],
1116
+ },] }
1117
+ ];
1089
1118
  var ɵ0$1 = MAT_NATIVE_DATE_FORMATS;
1090
1119
  var MatNativeDateModule = /** @class */ (function () {
1091
1120
  function MatNativeDateModule() {
1092
1121
  }
1093
- MatNativeDateModule.decorators = [
1094
- { type: i0.NgModule, args: [{
1095
- imports: [NativeDateModule],
1096
- providers: [{ provide: MAT_DATE_FORMATS, useValue: ɵ0$1 }],
1097
- },] }
1098
- ];
1099
1122
  return MatNativeDateModule;
1100
1123
  }());
1124
+ MatNativeDateModule.decorators = [
1125
+ { type: i0.NgModule, args: [{
1126
+ imports: [NativeDateModule],
1127
+ providers: [{ provide: MAT_DATE_FORMATS, useValue: ɵ0$1 }],
1128
+ },] }
1129
+ ];
1101
1130
 
1102
1131
  /**
1103
1132
  * @license
@@ -1113,11 +1142,11 @@
1113
1142
  ShowOnDirtyErrorStateMatcher.prototype.isErrorState = function (control, form) {
1114
1143
  return !!(control && control.invalid && (control.dirty || (form && form.submitted)));
1115
1144
  };
1116
- ShowOnDirtyErrorStateMatcher.decorators = [
1117
- { type: i0.Injectable }
1118
- ];
1119
1145
  return ShowOnDirtyErrorStateMatcher;
1120
1146
  }());
1147
+ ShowOnDirtyErrorStateMatcher.decorators = [
1148
+ { type: i0.Injectable }
1149
+ ];
1121
1150
  /** Provider that defines how form controls behave with regards to displaying error messages. */
1122
1151
  var ErrorStateMatcher = /** @class */ (function () {
1123
1152
  function ErrorStateMatcher() {
@@ -1125,12 +1154,12 @@
1125
1154
  ErrorStateMatcher.prototype.isErrorState = function (control, form) {
1126
1155
  return !!(control && control.invalid && (control.touched || (form && form.submitted)));
1127
1156
  };
1128
- ErrorStateMatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function ErrorStateMatcher_Factory() { return new ErrorStateMatcher(); }, token: ErrorStateMatcher, providedIn: "root" });
1129
- ErrorStateMatcher.decorators = [
1130
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1131
- ];
1132
1157
  return ErrorStateMatcher;
1133
1158
  }());
1159
+ ErrorStateMatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function ErrorStateMatcher_Factory() { return new ErrorStateMatcher(); }, token: ErrorStateMatcher, providedIn: "root" });
1160
+ ErrorStateMatcher.decorators = [
1161
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1162
+ ];
1134
1163
 
1135
1164
  /**
1136
1165
  * @license
@@ -1147,14 +1176,14 @@
1147
1176
  var MatLine = /** @class */ (function () {
1148
1177
  function MatLine() {
1149
1178
  }
1150
- MatLine.decorators = [
1151
- { type: i0.Directive, args: [{
1152
- selector: '[mat-line], [matLine]',
1153
- host: { 'class': 'mat-line' }
1154
- },] }
1155
- ];
1156
1179
  return MatLine;
1157
1180
  }());
1181
+ MatLine.decorators = [
1182
+ { type: i0.Directive, args: [{
1183
+ selector: '[mat-line], [matLine]',
1184
+ host: { 'class': 'mat-line' }
1185
+ },] }
1186
+ ];
1158
1187
  /**
1159
1188
  * Helper that takes a query list of lines and sets the correct class on the host.
1160
1189
  * @docs-private
@@ -1196,15 +1225,15 @@
1196
1225
  var MatLineModule = /** @class */ (function () {
1197
1226
  function MatLineModule() {
1198
1227
  }
1199
- MatLineModule.decorators = [
1200
- { type: i0.NgModule, args: [{
1201
- imports: [MatCommonModule],
1202
- exports: [MatLine, MatCommonModule],
1203
- declarations: [MatLine],
1204
- },] }
1205
- ];
1206
1228
  return MatLineModule;
1207
1229
  }());
1230
+ MatLineModule.decorators = [
1231
+ { type: i0.NgModule, args: [{
1232
+ imports: [MatCommonModule],
1233
+ exports: [MatLine, MatCommonModule],
1234
+ declarations: [MatLine],
1235
+ },] }
1236
+ ];
1208
1237
 
1209
1238
  /**
1210
1239
  * @license
@@ -1287,7 +1316,7 @@
1287
1316
  if (config === void 0) { config = {}; }
1288
1317
  var containerRect = this._containerRect =
1289
1318
  this._containerRect || this._containerElement.getBoundingClientRect();
1290
- var animationConfig = __assign(__assign({}, defaultRippleAnimationConfig), config.animation);
1319
+ var animationConfig = Object.assign(Object.assign({}, defaultRippleAnimationConfig), config.animation);
1291
1320
  if (config.centered) {
1292
1321
  x = containerRect.left + containerRect.width / 2;
1293
1322
  y = containerRect.top + containerRect.height / 2;
@@ -1351,7 +1380,7 @@
1351
1380
  return;
1352
1381
  }
1353
1382
  var rippleEl = rippleRef.element;
1354
- var animationConfig = __assign(__assign({}, defaultRippleAnimationConfig), rippleRef.config.animation);
1383
+ var animationConfig = Object.assign(Object.assign({}, defaultRippleAnimationConfig), rippleRef.config.animation);
1355
1384
  rippleEl.style.transitionDuration = animationConfig.exitDuration + "ms";
1356
1385
  rippleEl.style.opacity = '0';
1357
1386
  rippleRef.state = 2 /* FADING_OUT */;
@@ -1561,7 +1590,7 @@
1561
1590
  centered: this.centered,
1562
1591
  radius: this.radius,
1563
1592
  color: this.color,
1564
- animation: __assign(__assign(__assign({}, this._globalOptions.animation), (this._animationMode === 'NoopAnimations' ? { enterDuration: 0, exitDuration: 0 } : {})), this.animation),
1593
+ animation: Object.assign(Object.assign(Object.assign({}, this._globalOptions.animation), (this._animationMode === 'NoopAnimations' ? { enterDuration: 0, exitDuration: 0 } : {})), this.animation),
1565
1594
  terminateOnPointerUp: this._globalOptions.terminateOnPointerUp,
1566
1595
  };
1567
1596
  },
@@ -1589,40 +1618,40 @@
1589
1618
  MatRipple.prototype.launch = function (configOrX, y, config) {
1590
1619
  if (y === void 0) { y = 0; }
1591
1620
  if (typeof configOrX === 'number') {
1592
- return this._rippleRenderer.fadeInRipple(configOrX, y, __assign(__assign({}, this.rippleConfig), config));
1621
+ return this._rippleRenderer.fadeInRipple(configOrX, y, Object.assign(Object.assign({}, this.rippleConfig), config));
1593
1622
  }
1594
1623
  else {
1595
- return this._rippleRenderer.fadeInRipple(0, 0, __assign(__assign({}, this.rippleConfig), configOrX));
1624
+ return this._rippleRenderer.fadeInRipple(0, 0, Object.assign(Object.assign({}, this.rippleConfig), configOrX));
1596
1625
  }
1597
1626
  };
1598
- MatRipple.decorators = [
1599
- { type: i0.Directive, args: [{
1600
- selector: '[mat-ripple], [matRipple]',
1601
- exportAs: 'matRipple',
1602
- host: {
1603
- 'class': 'mat-ripple',
1604
- '[class.mat-ripple-unbounded]': 'unbounded'
1605
- }
1606
- },] }
1607
- ];
1608
- MatRipple.ctorParameters = function () { return [
1609
- { type: i0.ElementRef },
1610
- { type: i0.NgZone },
1611
- { type: platform.Platform },
1612
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_RIPPLE_GLOBAL_OPTIONS,] }] },
1613
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1614
- ]; };
1615
- MatRipple.propDecorators = {
1616
- color: [{ type: i0.Input, args: ['matRippleColor',] }],
1617
- unbounded: [{ type: i0.Input, args: ['matRippleUnbounded',] }],
1618
- centered: [{ type: i0.Input, args: ['matRippleCentered',] }],
1619
- radius: [{ type: i0.Input, args: ['matRippleRadius',] }],
1620
- animation: [{ type: i0.Input, args: ['matRippleAnimation',] }],
1621
- disabled: [{ type: i0.Input, args: ['matRippleDisabled',] }],
1622
- trigger: [{ type: i0.Input, args: ['matRippleTrigger',] }]
1623
- };
1624
1627
  return MatRipple;
1625
1628
  }());
1629
+ MatRipple.decorators = [
1630
+ { type: i0.Directive, args: [{
1631
+ selector: '[mat-ripple], [matRipple]',
1632
+ exportAs: 'matRipple',
1633
+ host: {
1634
+ 'class': 'mat-ripple',
1635
+ '[class.mat-ripple-unbounded]': 'unbounded'
1636
+ }
1637
+ },] }
1638
+ ];
1639
+ MatRipple.ctorParameters = function () { return [
1640
+ { type: i0.ElementRef },
1641
+ { type: i0.NgZone },
1642
+ { type: platform.Platform },
1643
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_RIPPLE_GLOBAL_OPTIONS,] }] },
1644
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1645
+ ]; };
1646
+ MatRipple.propDecorators = {
1647
+ color: [{ type: i0.Input, args: ['matRippleColor',] }],
1648
+ unbounded: [{ type: i0.Input, args: ['matRippleUnbounded',] }],
1649
+ centered: [{ type: i0.Input, args: ['matRippleCentered',] }],
1650
+ radius: [{ type: i0.Input, args: ['matRippleRadius',] }],
1651
+ animation: [{ type: i0.Input, args: ['matRippleAnimation',] }],
1652
+ disabled: [{ type: i0.Input, args: ['matRippleDisabled',] }],
1653
+ trigger: [{ type: i0.Input, args: ['matRippleTrigger',] }]
1654
+ };
1626
1655
 
1627
1656
  /**
1628
1657
  * @license
@@ -1634,15 +1663,15 @@
1634
1663
  var MatRippleModule = /** @class */ (function () {
1635
1664
  function MatRippleModule() {
1636
1665
  }
1637
- MatRippleModule.decorators = [
1638
- { type: i0.NgModule, args: [{
1639
- imports: [MatCommonModule, platform.PlatformModule],
1640
- exports: [MatRipple, MatCommonModule],
1641
- declarations: [MatRipple],
1642
- },] }
1643
- ];
1644
1666
  return MatRippleModule;
1645
1667
  }());
1668
+ MatRippleModule.decorators = [
1669
+ { type: i0.NgModule, args: [{
1670
+ imports: [MatCommonModule, platform.PlatformModule],
1671
+ exports: [MatRipple, MatCommonModule],
1672
+ declarations: [MatRipple],
1673
+ },] }
1674
+ ];
1646
1675
 
1647
1676
  /**
1648
1677
  * @license
@@ -1672,31 +1701,31 @@
1672
1701
  /** Whether the checkbox is disabled. */
1673
1702
  this.disabled = false;
1674
1703
  }
1675
- MatPseudoCheckbox.decorators = [
1676
- { type: i0.Component, args: [{
1677
- encapsulation: i0.ViewEncapsulation.None,
1678
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1679
- selector: 'mat-pseudo-checkbox',
1680
- template: '',
1681
- host: {
1682
- 'class': 'mat-pseudo-checkbox',
1683
- '[class.mat-pseudo-checkbox-indeterminate]': 'state === "indeterminate"',
1684
- '[class.mat-pseudo-checkbox-checked]': 'state === "checked"',
1685
- '[class.mat-pseudo-checkbox-disabled]': 'disabled',
1686
- '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
1687
- },
1688
- 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, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\"\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.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;box-sizing:content-box}\n"]
1689
- },] }
1690
- ];
1691
- MatPseudoCheckbox.ctorParameters = function () { return [
1692
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1693
- ]; };
1694
- MatPseudoCheckbox.propDecorators = {
1695
- state: [{ type: i0.Input }],
1696
- disabled: [{ type: i0.Input }]
1697
- };
1698
1704
  return MatPseudoCheckbox;
1699
1705
  }());
1706
+ MatPseudoCheckbox.decorators = [
1707
+ { type: i0.Component, args: [{
1708
+ encapsulation: i0.ViewEncapsulation.None,
1709
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1710
+ selector: 'mat-pseudo-checkbox',
1711
+ template: '',
1712
+ host: {
1713
+ 'class': 'mat-pseudo-checkbox',
1714
+ '[class.mat-pseudo-checkbox-indeterminate]': 'state === "indeterminate"',
1715
+ '[class.mat-pseudo-checkbox-checked]': 'state === "checked"',
1716
+ '[class.mat-pseudo-checkbox-disabled]': 'disabled',
1717
+ '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
1718
+ },
1719
+ 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, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\"\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.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;box-sizing:content-box}\n"]
1720
+ },] }
1721
+ ];
1722
+ MatPseudoCheckbox.ctorParameters = function () { return [
1723
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1724
+ ]; };
1725
+ MatPseudoCheckbox.propDecorators = {
1726
+ state: [{ type: i0.Input }],
1727
+ disabled: [{ type: i0.Input }]
1728
+ };
1700
1729
 
1701
1730
  /**
1702
1731
  * @license
@@ -1708,22 +1737,15 @@
1708
1737
  var MatPseudoCheckboxModule = /** @class */ (function () {
1709
1738
  function MatPseudoCheckboxModule() {
1710
1739
  }
1711
- MatPseudoCheckboxModule.decorators = [
1712
- { type: i0.NgModule, args: [{
1713
- exports: [MatPseudoCheckbox],
1714
- declarations: [MatPseudoCheckbox]
1715
- },] }
1716
- ];
1717
1740
  return MatPseudoCheckboxModule;
1718
1741
  }());
1742
+ MatPseudoCheckboxModule.decorators = [
1743
+ { type: i0.NgModule, args: [{
1744
+ exports: [MatPseudoCheckbox],
1745
+ declarations: [MatPseudoCheckbox]
1746
+ },] }
1747
+ ];
1719
1748
 
1720
- /**
1721
- * @license
1722
- * Copyright Google LLC All Rights Reserved.
1723
- *
1724
- * Use of this source code is governed by an MIT-style license that can be
1725
- * found in the LICENSE file at https://angular.io/license
1726
- */
1727
1749
  // Boilerplate for applying mixins to MatOptgroup.
1728
1750
  /** @docs-private */
1729
1751
  var MatOptgroupBase = /** @class */ (function () {
@@ -1734,48 +1756,59 @@
1734
1756
  var _MatOptgroupMixinBase = mixinDisabled(MatOptgroupBase);
1735
1757
  // Counter for unique group ids.
1736
1758
  var _uniqueOptgroupIdCounter = 0;
1759
+ // tslint:disable-next-line:class-name
1760
+ var _MatOptgroupBase = /** @class */ (function (_super) {
1761
+ __extends(_MatOptgroupBase, _super);
1762
+ function _MatOptgroupBase() {
1763
+ var _this = _super.apply(this, __spread(arguments)) || this;
1764
+ /** Unique id for the underlying label. */
1765
+ _this._labelId = "mat-optgroup-label-" + _uniqueOptgroupIdCounter++;
1766
+ return _this;
1767
+ }
1768
+ return _MatOptgroupBase;
1769
+ }(_MatOptgroupMixinBase));
1770
+ _MatOptgroupBase.decorators = [
1771
+ { type: i0.Directive }
1772
+ ];
1773
+ _MatOptgroupBase.propDecorators = {
1774
+ label: [{ type: i0.Input }]
1775
+ };
1776
+ /**
1777
+ * Injection token that can be used to reference instances of `MatOptgroup`. It serves as
1778
+ * alternative token to the actual `MatOptgroup` class which could cause unnecessary
1779
+ * retention of the class and its component metadata.
1780
+ */
1781
+ var MAT_OPTGROUP = new i0.InjectionToken('MatOptgroup');
1737
1782
  /**
1738
1783
  * Component that is used to group instances of `mat-option`.
1739
1784
  */
1740
1785
  var MatOptgroup = /** @class */ (function (_super) {
1741
1786
  __extends(MatOptgroup, _super);
1742
1787
  function MatOptgroup() {
1743
- var _this = _super !== null && _super.apply(this, arguments) || this;
1744
- /** Unique id for the underlying label. */
1745
- _this._labelId = "mat-optgroup-label-" + _uniqueOptgroupIdCounter++;
1746
- return _this;
1788
+ return _super !== null && _super.apply(this, arguments) || this;
1747
1789
  }
1748
- MatOptgroup.decorators = [
1749
- { type: i0.Component, args: [{
1750
- selector: 'mat-optgroup',
1751
- exportAs: 'matOptgroup',
1752
- template: "<label class=\"mat-optgroup-label\" [id]=\"_labelId\">{{ label }} <ng-content></ng-content></label>\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n",
1753
- encapsulation: i0.ViewEncapsulation.None,
1754
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1755
- inputs: ['disabled'],
1756
- host: {
1757
- 'class': 'mat-optgroup',
1758
- 'role': 'group',
1759
- '[class.mat-optgroup-disabled]': 'disabled',
1760
- '[attr.aria-disabled]': 'disabled.toString()',
1761
- '[attr.aria-labelledby]': '_labelId',
1762
- },
1763
- styles: [".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"]
1764
- },] }
1765
- ];
1766
- MatOptgroup.propDecorators = {
1767
- label: [{ type: i0.Input }]
1768
- };
1769
1790
  return MatOptgroup;
1770
- }(_MatOptgroupMixinBase));
1791
+ }(_MatOptgroupBase));
1792
+ MatOptgroup.decorators = [
1793
+ { type: i0.Component, args: [{
1794
+ selector: 'mat-optgroup',
1795
+ exportAs: 'matOptgroup',
1796
+ template: "<label class=\"mat-optgroup-label\" [id]=\"_labelId\">{{ label }} <ng-content></ng-content></label>\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n",
1797
+ encapsulation: i0.ViewEncapsulation.None,
1798
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1799
+ inputs: ['disabled'],
1800
+ host: {
1801
+ 'class': 'mat-optgroup',
1802
+ 'role': 'group',
1803
+ '[class.mat-optgroup-disabled]': 'disabled',
1804
+ '[attr.aria-disabled]': 'disabled.toString()',
1805
+ '[attr.aria-labelledby]': '_labelId',
1806
+ },
1807
+ providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }],
1808
+ styles: [".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"]
1809
+ },] }
1810
+ ];
1771
1811
 
1772
- /**
1773
- * @license
1774
- * Copyright Google LLC All Rights Reserved.
1775
- *
1776
- * Use of this source code is governed by an MIT-style license that can be
1777
- * found in the LICENSE file at https://angular.io/license
1778
- */
1779
1812
  /**
1780
1813
  * Option IDs need to be unique across components, so this counter exists outside of
1781
1814
  * the component definition.
@@ -1798,11 +1831,9 @@
1798
1831
  * Injection token used to provide the parent component to options.
1799
1832
  */
1800
1833
  var MAT_OPTION_PARENT_COMPONENT = new i0.InjectionToken('MAT_OPTION_PARENT_COMPONENT');
1801
- /**
1802
- * Single option inside of a `<mat-select>` element.
1803
- */
1804
- var MatOption = /** @class */ (function () {
1805
- function MatOption(_element, _changeDetectorRef, _parent, group) {
1834
+ // tslint:disable-next-line:class-name
1835
+ var _MatOptionBase = /** @class */ (function () {
1836
+ function _MatOptionBase(_element, _changeDetectorRef, _parent, group) {
1806
1837
  this._element = _element;
1807
1838
  this._changeDetectorRef = _changeDetectorRef;
1808
1839
  this._parent = _parent;
@@ -1819,32 +1850,32 @@
1819
1850
  /** Emits when the state of the option changes and any parents have to be notified. */
1820
1851
  this._stateChanges = new rxjs.Subject();
1821
1852
  }
1822
- Object.defineProperty(MatOption.prototype, "multiple", {
1853
+ Object.defineProperty(_MatOptionBase.prototype, "multiple", {
1823
1854
  /** Whether the wrapping component is in multiple selection mode. */
1824
1855
  get: function () { return this._parent && this._parent.multiple; },
1825
1856
  enumerable: false,
1826
1857
  configurable: true
1827
1858
  });
1828
- Object.defineProperty(MatOption.prototype, "selected", {
1859
+ Object.defineProperty(_MatOptionBase.prototype, "selected", {
1829
1860
  /** Whether or not the option is currently selected. */
1830
1861
  get: function () { return this._selected; },
1831
1862
  enumerable: false,
1832
1863
  configurable: true
1833
1864
  });
1834
- Object.defineProperty(MatOption.prototype, "disabled", {
1865
+ Object.defineProperty(_MatOptionBase.prototype, "disabled", {
1835
1866
  /** Whether the option is disabled. */
1836
1867
  get: function () { return (this.group && this.group.disabled) || this._disabled; },
1837
1868
  set: function (value) { this._disabled = coercion.coerceBooleanProperty(value); },
1838
1869
  enumerable: false,
1839
1870
  configurable: true
1840
1871
  });
1841
- Object.defineProperty(MatOption.prototype, "disableRipple", {
1872
+ Object.defineProperty(_MatOptionBase.prototype, "disableRipple", {
1842
1873
  /** Whether ripples for the option are disabled. */
1843
1874
  get: function () { return this._parent && this._parent.disableRipple; },
1844
1875
  enumerable: false,
1845
1876
  configurable: true
1846
1877
  });
1847
- Object.defineProperty(MatOption.prototype, "active", {
1878
+ Object.defineProperty(_MatOptionBase.prototype, "active", {
1848
1879
  /**
1849
1880
  * Whether or not the option is currently active and ready to be selected.
1850
1881
  * An active option displays styles as if it is focused, but the
@@ -1857,7 +1888,7 @@
1857
1888
  enumerable: false,
1858
1889
  configurable: true
1859
1890
  });
1860
- Object.defineProperty(MatOption.prototype, "viewValue", {
1891
+ Object.defineProperty(_MatOptionBase.prototype, "viewValue", {
1861
1892
  /**
1862
1893
  * The displayed value of the option. It is necessary to show the selected option in the
1863
1894
  * select's trigger.
@@ -1870,7 +1901,7 @@
1870
1901
  configurable: true
1871
1902
  });
1872
1903
  /** Selects the option. */
1873
- MatOption.prototype.select = function () {
1904
+ _MatOptionBase.prototype.select = function () {
1874
1905
  if (!this._selected) {
1875
1906
  this._selected = true;
1876
1907
  this._changeDetectorRef.markForCheck();
@@ -1878,7 +1909,7 @@
1878
1909
  }
1879
1910
  };
1880
1911
  /** Deselects the option. */
1881
- MatOption.prototype.deselect = function () {
1912
+ _MatOptionBase.prototype.deselect = function () {
1882
1913
  if (this._selected) {
1883
1914
  this._selected = false;
1884
1915
  this._changeDetectorRef.markForCheck();
@@ -1886,7 +1917,7 @@
1886
1917
  }
1887
1918
  };
1888
1919
  /** Sets focus onto this option. */
1889
- MatOption.prototype.focus = function (_origin, options) {
1920
+ _MatOptionBase.prototype.focus = function (_origin, options) {
1890
1921
  // Note that we aren't using `_origin`, but we need to keep it because some internal consumers
1891
1922
  // use `MatOption` in a `FocusKeyManager` and we need it to match `FocusableOption`.
1892
1923
  var element = this._getHostElement();
@@ -1899,7 +1930,7 @@
1899
1930
  * active. This is used by the ActiveDescendantKeyManager so key
1900
1931
  * events will display the proper options as active on arrow key events.
1901
1932
  */
1902
- MatOption.prototype.setActiveStyles = function () {
1933
+ _MatOptionBase.prototype.setActiveStyles = function () {
1903
1934
  if (!this._active) {
1904
1935
  this._active = true;
1905
1936
  this._changeDetectorRef.markForCheck();
@@ -1910,18 +1941,18 @@
1910
1941
  * active. This is used by the ActiveDescendantKeyManager so key
1911
1942
  * events will display the proper options as active on arrow key events.
1912
1943
  */
1913
- MatOption.prototype.setInactiveStyles = function () {
1944
+ _MatOptionBase.prototype.setInactiveStyles = function () {
1914
1945
  if (this._active) {
1915
1946
  this._active = false;
1916
1947
  this._changeDetectorRef.markForCheck();
1917
1948
  }
1918
1949
  };
1919
1950
  /** Gets the label to be used when determining whether the option should be focused. */
1920
- MatOption.prototype.getLabel = function () {
1951
+ _MatOptionBase.prototype.getLabel = function () {
1921
1952
  return this.viewValue;
1922
1953
  };
1923
1954
  /** Ensures the option is selected when activated from the keyboard. */
1924
- MatOption.prototype._handleKeydown = function (event) {
1955
+ _MatOptionBase.prototype._handleKeydown = function (event) {
1925
1956
  if ((event.keyCode === keycodes.ENTER || event.keyCode === keycodes.SPACE) && !keycodes.hasModifierKey(event)) {
1926
1957
  this._selectViaInteraction();
1927
1958
  // Prevent the page from scrolling down and form submits.
@@ -1932,7 +1963,7 @@
1932
1963
  * `Selects the option while indicating the selection came from the user. Used to
1933
1964
  * determine if the select's view -> model callback should be invoked.`
1934
1965
  */
1935
- MatOption.prototype._selectViaInteraction = function () {
1966
+ _MatOptionBase.prototype._selectViaInteraction = function () {
1936
1967
  if (!this.disabled) {
1937
1968
  this._selected = this.multiple ? !this._selected : true;
1938
1969
  this._changeDetectorRef.markForCheck();
@@ -1945,18 +1976,18 @@
1945
1976
  * attributes adds a significant amount of noise to screen-reader users without providing useful
1946
1977
  * information.
1947
1978
  */
1948
- MatOption.prototype._getAriaSelected = function () {
1979
+ _MatOptionBase.prototype._getAriaSelected = function () {
1949
1980
  return this.selected || (this.multiple ? false : null);
1950
1981
  };
1951
1982
  /** Returns the correct tabindex for the option depending on disabled state. */
1952
- MatOption.prototype._getTabIndex = function () {
1983
+ _MatOptionBase.prototype._getTabIndex = function () {
1953
1984
  return this.disabled ? '-1' : '0';
1954
1985
  };
1955
1986
  /** Gets the host DOM element. */
1956
- MatOption.prototype._getHostElement = function () {
1987
+ _MatOptionBase.prototype._getHostElement = function () {
1957
1988
  return this._element.nativeElement;
1958
1989
  };
1959
- MatOption.prototype.ngAfterViewChecked = function () {
1990
+ _MatOptionBase.prototype.ngAfterViewChecked = function () {
1960
1991
  // Since parent components could be using the option's label to display the selected values
1961
1992
  // (e.g. `mat-select`) and they don't have a way of knowing if the option's label has changed
1962
1993
  // we have to check for changes in the DOM ourselves and dispatch an event. These checks are
@@ -1970,52 +2001,71 @@
1970
2001
  }
1971
2002
  }
1972
2003
  };
1973
- MatOption.prototype.ngOnDestroy = function () {
2004
+ _MatOptionBase.prototype.ngOnDestroy = function () {
1974
2005
  this._stateChanges.complete();
1975
2006
  };
1976
2007
  /** Emits the selection change event. */
1977
- MatOption.prototype._emitSelectionChangeEvent = function (isUserInput) {
2008
+ _MatOptionBase.prototype._emitSelectionChangeEvent = function (isUserInput) {
1978
2009
  if (isUserInput === void 0) { isUserInput = false; }
1979
2010
  this.onSelectionChange.emit(new MatOptionSelectionChange(this, isUserInput));
1980
2011
  };
1981
- MatOption.decorators = [
1982
- { type: i0.Component, args: [{
1983
- selector: 'mat-option',
1984
- exportAs: 'matOption',
1985
- host: {
1986
- 'role': 'option',
1987
- '[attr.tabindex]': '_getTabIndex()',
1988
- '[class.mat-selected]': 'selected',
1989
- '[class.mat-option-multiple]': 'multiple',
1990
- '[class.mat-active]': 'active',
1991
- '[id]': 'id',
1992
- '[attr.aria-selected]': '_getAriaSelected()',
1993
- '[attr.aria-disabled]': 'disabled.toString()',
1994
- '[class.mat-option-disabled]': 'disabled',
1995
- '(click)': '_selectViaInteraction()',
1996
- '(keydown)': '_handleKeydown($event)',
1997
- 'class': 'mat-option mat-focus-indicator',
1998
- },
1999
- template: "<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\" [disabled]=\"disabled\"></mat-pseudo-checkbox>\n\n<span class=\"mat-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mat-option-ripple\" mat-ripple\n [matRippleTrigger]=\"_getHostElement()\"\n [matRippleDisabled]=\"disabled || disableRipple\">\n</div>\n",
2000
- encapsulation: i0.ViewEncapsulation.None,
2001
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2002
- 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:none;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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .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}.cdk-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}\n"]
2003
- },] }
2004
- ];
2005
- MatOption.ctorParameters = function () { return [
2006
- { type: i0.ElementRef },
2007
- { type: i0.ChangeDetectorRef },
2008
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTION_PARENT_COMPONENT,] }] },
2009
- { type: MatOptgroup, decorators: [{ type: i0.Optional }] }
2010
- ]; };
2011
- MatOption.propDecorators = {
2012
- value: [{ type: i0.Input }],
2013
- id: [{ type: i0.Input }],
2014
- disabled: [{ type: i0.Input }],
2015
- onSelectionChange: [{ type: i0.Output }]
2016
- };
2017
- return MatOption;
2012
+ return _MatOptionBase;
2018
2013
  }());
2014
+ _MatOptionBase.decorators = [
2015
+ { type: i0.Directive }
2016
+ ];
2017
+ _MatOptionBase.ctorParameters = function () { return [
2018
+ { type: i0.ElementRef },
2019
+ { type: i0.ChangeDetectorRef },
2020
+ { type: undefined },
2021
+ { type: _MatOptgroupBase }
2022
+ ]; };
2023
+ _MatOptionBase.propDecorators = {
2024
+ value: [{ type: i0.Input }],
2025
+ id: [{ type: i0.Input }],
2026
+ disabled: [{ type: i0.Input }],
2027
+ onSelectionChange: [{ type: i0.Output }]
2028
+ };
2029
+ /**
2030
+ * Single option inside of a `<mat-select>` element.
2031
+ */
2032
+ var MatOption = /** @class */ (function (_super) {
2033
+ __extends(MatOption, _super);
2034
+ function MatOption(element, changeDetectorRef, parent, group) {
2035
+ return _super.call(this, element, changeDetectorRef, parent, group) || this;
2036
+ }
2037
+ return MatOption;
2038
+ }(_MatOptionBase));
2039
+ MatOption.decorators = [
2040
+ { type: i0.Component, args: [{
2041
+ selector: 'mat-option',
2042
+ exportAs: 'matOption',
2043
+ host: {
2044
+ 'role': 'option',
2045
+ '[attr.tabindex]': '_getTabIndex()',
2046
+ '[class.mat-selected]': 'selected',
2047
+ '[class.mat-option-multiple]': 'multiple',
2048
+ '[class.mat-active]': 'active',
2049
+ '[id]': 'id',
2050
+ '[attr.aria-selected]': '_getAriaSelected()',
2051
+ '[attr.aria-disabled]': 'disabled.toString()',
2052
+ '[class.mat-option-disabled]': 'disabled',
2053
+ '(click)': '_selectViaInteraction()',
2054
+ '(keydown)': '_handleKeydown($event)',
2055
+ 'class': 'mat-option mat-focus-indicator',
2056
+ },
2057
+ template: "<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\" [disabled]=\"disabled\"></mat-pseudo-checkbox>\n\n<span class=\"mat-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mat-option-ripple\" mat-ripple\n [matRippleTrigger]=\"_getHostElement()\"\n [matRippleDisabled]=\"disabled || disableRipple\">\n</div>\n",
2058
+ encapsulation: i0.ViewEncapsulation.None,
2059
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2060
+ 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:none;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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .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}.cdk-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}\n"]
2061
+ },] }
2062
+ ];
2063
+ MatOption.ctorParameters = function () { return [
2064
+ { type: i0.ElementRef },
2065
+ { type: i0.ChangeDetectorRef },
2066
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTION_PARENT_COMPONENT,] }] },
2067
+ { type: MatOptgroup, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTGROUP,] }] }
2068
+ ]; };
2019
2069
  /**
2020
2070
  * Counts the amount of option group labels that precede the specified option.
2021
2071
  * @param optionIndex Index of the option at which to start counting.
@@ -2066,15 +2116,15 @@
2066
2116
  var MatOptionModule = /** @class */ (function () {
2067
2117
  function MatOptionModule() {
2068
2118
  }
2069
- MatOptionModule.decorators = [
2070
- { type: i0.NgModule, args: [{
2071
- imports: [MatRippleModule, common.CommonModule, MatPseudoCheckboxModule],
2072
- exports: [MatOption, MatOptgroup],
2073
- declarations: [MatOption, MatOptgroup]
2074
- },] }
2075
- ];
2076
2119
  return MatOptionModule;
2077
2120
  }());
2121
+ MatOptionModule.decorators = [
2122
+ { type: i0.NgModule, args: [{
2123
+ imports: [MatRippleModule, common.CommonModule, MatPseudoCheckboxModule],
2124
+ exports: [MatOption, MatOptgroup],
2125
+ declarations: [MatOption, MatOptgroup]
2126
+ },] }
2127
+ ];
2078
2128
 
2079
2129
  /**
2080
2130
  * @license
@@ -2137,6 +2187,7 @@
2137
2187
  exports.MAT_DATE_LOCALE_PROVIDER = MAT_DATE_LOCALE_PROVIDER;
2138
2188
  exports.MAT_LABEL_GLOBAL_OPTIONS = MAT_LABEL_GLOBAL_OPTIONS;
2139
2189
  exports.MAT_NATIVE_DATE_FORMATS = MAT_NATIVE_DATE_FORMATS;
2190
+ exports.MAT_OPTGROUP = MAT_OPTGROUP;
2140
2191
  exports.MAT_OPTION_PARENT_COMPONENT = MAT_OPTION_PARENT_COMPONENT;
2141
2192
  exports.MAT_RIPPLE_GLOBAL_OPTIONS = MAT_RIPPLE_GLOBAL_OPTIONS;
2142
2193
  exports.MAY = MAY;
@@ -2162,6 +2213,8 @@
2162
2213
  exports.SEP = SEP;
2163
2214
  exports.ShowOnDirtyErrorStateMatcher = ShowOnDirtyErrorStateMatcher;
2164
2215
  exports.VERSION = VERSION;
2216
+ exports._MatOptgroupBase = _MatOptgroupBase;
2217
+ exports._MatOptionBase = _MatOptionBase;
2165
2218
  exports._countGroupLabelsBeforeOption = _countGroupLabelsBeforeOption;
2166
2219
  exports._getOptionScrollPosition = _getOptionScrollPosition;
2167
2220
  exports.defaultRippleAnimationConfig = defaultRippleAnimationConfig;