@angular/material 2.0.0-beta.0 → 2.0.0-beta.12

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 (1664) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -165
  3. package/_theming.scss +3878 -0
  4. package/autocomplete/index.d.ts +8 -5
  5. package/autocomplete/index.metadata.json +12 -1
  6. package/autocomplete/package.json +7 -0
  7. package/autocomplete/typings/autocomplete-module.d.ts +2 -0
  8. package/autocomplete/typings/autocomplete-trigger.d.ts +159 -0
  9. package/autocomplete/typings/autocomplete.d.ts +62 -0
  10. package/autocomplete/typings/index.d.ts +4 -0
  11. package/autocomplete/typings/index.metadata.json +1 -0
  12. package/autocomplete/typings/public-api.d.ts +10 -0
  13. package/autocomplete.d.ts +8 -0
  14. package/autocomplete.metadata.json +12 -0
  15. package/bundles/material-autocomplete.umd.js +2969 -0
  16. package/bundles/material-autocomplete.umd.js.map +1 -0
  17. package/bundles/material-autocomplete.umd.min.js +10 -0
  18. package/bundles/material-autocomplete.umd.min.js.map +1 -0
  19. package/bundles/material-button-toggle.umd.js +2284 -0
  20. package/bundles/material-button-toggle.umd.js.map +1 -0
  21. package/bundles/material-button-toggle.umd.min.js +10 -0
  22. package/bundles/material-button-toggle.umd.min.js.map +1 -0
  23. package/bundles/material-button.umd.js +2092 -0
  24. package/bundles/material-button.umd.js.map +1 -0
  25. package/bundles/material-button.umd.min.js +10 -0
  26. package/bundles/material-button.umd.min.js.map +1 -0
  27. package/bundles/material-card.umd.js +2006 -0
  28. package/bundles/material-card.umd.js.map +1 -0
  29. package/bundles/material-card.umd.min.js +9 -0
  30. package/bundles/material-card.umd.min.js.map +1 -0
  31. package/bundles/material-checkbox.umd.js +2327 -0
  32. package/bundles/material-checkbox.umd.js.map +1 -0
  33. package/bundles/material-checkbox.umd.min.js +10 -0
  34. package/bundles/material-checkbox.umd.min.js.map +1 -0
  35. package/bundles/material-chips.umd.js +3542 -0
  36. package/bundles/material-chips.umd.js.map +1 -0
  37. package/bundles/material-chips.umd.min.js +10 -0
  38. package/bundles/material-chips.umd.min.js.map +1 -0
  39. package/bundles/material-core.umd.js +2206 -0
  40. package/bundles/material-core.umd.js.map +1 -0
  41. package/bundles/material-core.umd.min.js +9 -0
  42. package/bundles/material-core.umd.min.js.map +1 -0
  43. package/bundles/material-datepicker.umd.js +6128 -0
  44. package/bundles/material-datepicker.umd.js.map +1 -0
  45. package/bundles/material-datepicker.umd.min.js +12 -0
  46. package/bundles/material-datepicker.umd.min.js.map +1 -0
  47. package/bundles/material-dialog.umd.js +2530 -0
  48. package/bundles/material-dialog.umd.js.map +1 -0
  49. package/bundles/material-dialog.umd.min.js +10 -0
  50. package/bundles/material-dialog.umd.min.js.map +1 -0
  51. package/bundles/material-expansion.umd.js +2128 -0
  52. package/bundles/material-expansion.umd.js.map +1 -0
  53. package/bundles/material-expansion.umd.min.js +9 -0
  54. package/bundles/material-expansion.umd.min.js.map +1 -0
  55. package/bundles/material-form-field.umd.js +2091 -0
  56. package/bundles/material-form-field.umd.js.map +1 -0
  57. package/bundles/material-form-field.umd.min.js +10 -0
  58. package/bundles/material-form-field.umd.min.js.map +1 -0
  59. package/bundles/material-grid-list.umd.js +2621 -0
  60. package/bundles/material-grid-list.umd.js.map +1 -0
  61. package/bundles/material-grid-list.umd.min.js +10 -0
  62. package/bundles/material-grid-list.umd.min.js.map +1 -0
  63. package/bundles/material-icon.umd.js +2442 -0
  64. package/bundles/material-icon.umd.js.map +1 -0
  65. package/bundles/material-icon.umd.min.js +10 -0
  66. package/bundles/material-icon.umd.min.js.map +1 -0
  67. package/bundles/material-input.umd.js +2716 -0
  68. package/bundles/material-input.umd.js.map +1 -0
  69. package/bundles/material-input.umd.min.js +10 -0
  70. package/bundles/material-input.umd.min.js.map +1 -0
  71. package/bundles/material-list.umd.js +2611 -0
  72. package/bundles/material-list.umd.js.map +1 -0
  73. package/bundles/material-list.umd.min.js +11 -0
  74. package/bundles/material-list.umd.min.js.map +1 -0
  75. package/bundles/material-menu.umd.js +2613 -0
  76. package/bundles/material-menu.umd.js.map +1 -0
  77. package/bundles/material-menu.umd.min.js +10 -0
  78. package/bundles/material-menu.umd.min.js.map +1 -0
  79. package/bundles/material-paginator.umd.js +5228 -0
  80. package/bundles/material-paginator.umd.js.map +1 -0
  81. package/bundles/material-paginator.umd.min.js +11 -0
  82. package/bundles/material-paginator.umd.min.js.map +1 -0
  83. package/bundles/material-progress-bar.umd.js +1784 -0
  84. package/bundles/material-progress-bar.umd.js.map +1 -0
  85. package/bundles/material-progress-bar.umd.min.js +9 -0
  86. package/bundles/material-progress-bar.umd.min.js.map +1 -0
  87. package/bundles/material-progress-spinner.umd.js +2005 -0
  88. package/bundles/material-progress-spinner.umd.js.map +1 -0
  89. package/bundles/material-progress-spinner.umd.min.js +10 -0
  90. package/bundles/material-progress-spinner.umd.min.js.map +1 -0
  91. package/bundles/material-radio.umd.js +2530 -0
  92. package/bundles/material-radio.umd.js.map +1 -0
  93. package/bundles/material-radio.umd.min.js +10 -0
  94. package/bundles/material-radio.umd.min.js.map +1 -0
  95. package/bundles/material-select.umd.js +3843 -0
  96. package/bundles/material-select.umd.js.map +1 -0
  97. package/bundles/material-select.umd.min.js +10 -0
  98. package/bundles/material-select.umd.min.js.map +1 -0
  99. package/bundles/material-sidenav.umd.js +2577 -0
  100. package/bundles/material-sidenav.umd.js.map +1 -0
  101. package/bundles/material-sidenav.umd.min.js +10 -0
  102. package/bundles/material-sidenav.umd.min.js.map +1 -0
  103. package/bundles/material-slide-toggle.umd.js +2253 -0
  104. package/bundles/material-slide-toggle.umd.js.map +1 -0
  105. package/bundles/material-slide-toggle.umd.min.js +10 -0
  106. package/bundles/material-slide-toggle.umd.min.js.map +1 -0
  107. package/bundles/material-slider.umd.js +2621 -0
  108. package/bundles/material-slider.umd.js.map +1 -0
  109. package/bundles/material-slider.umd.min.js +10 -0
  110. package/bundles/material-slider.umd.min.js.map +1 -0
  111. package/bundles/material-snack-bar.umd.js +2258 -0
  112. package/bundles/material-snack-bar.umd.js.map +1 -0
  113. package/bundles/material-snack-bar.umd.min.js +10 -0
  114. package/bundles/material-snack-bar.umd.min.js.map +1 -0
  115. package/bundles/material-sort.umd.js +1917 -0
  116. package/bundles/material-sort.umd.js.map +1 -0
  117. package/bundles/material-sort.umd.min.js +9 -0
  118. package/bundles/material-sort.umd.min.js.map +1 -0
  119. package/bundles/material-stepper.umd.js +3271 -0
  120. package/bundles/material-stepper.umd.js.map +1 -0
  121. package/bundles/material-stepper.umd.min.js +10 -0
  122. package/bundles/material-stepper.umd.min.js.map +1 -0
  123. package/bundles/material-table.umd.js +1976 -0
  124. package/bundles/material-table.umd.js.map +1 -0
  125. package/bundles/material-table.umd.min.js +9 -0
  126. package/bundles/material-table.umd.min.js.map +1 -0
  127. package/bundles/material-tabs.umd.js +3341 -0
  128. package/bundles/material-tabs.umd.js.map +1 -0
  129. package/bundles/material-tabs.umd.min.js +10 -0
  130. package/bundles/material-tabs.umd.min.js.map +1 -0
  131. package/bundles/material-toolbar.umd.js +1790 -0
  132. package/bundles/material-toolbar.umd.js.map +1 -0
  133. package/bundles/material-toolbar.umd.min.js +9 -0
  134. package/bundles/material-toolbar.umd.min.js.map +1 -0
  135. package/bundles/material-tooltip.umd.js +2339 -0
  136. package/bundles/material-tooltip.umd.js.map +1 -0
  137. package/bundles/material-tooltip.umd.min.js +10 -0
  138. package/bundles/material-tooltip.umd.min.js.map +1 -0
  139. package/bundles/material.umd.js +21541 -12552
  140. package/bundles/material.umd.js.map +1 -0
  141. package/bundles/material.umd.min.js +22 -0
  142. package/bundles/material.umd.min.js.map +1 -0
  143. package/button/index.d.ts +8 -1
  144. package/button/index.metadata.json +12 -1
  145. package/button/package.json +7 -0
  146. package/button/typings/button-module.d.ts +2 -0
  147. package/button/typings/button.d.ts +77 -0
  148. package/button/typings/index.d.ts +4 -0
  149. package/button/typings/index.metadata.json +1 -0
  150. package/button/typings/public-api.d.ts +9 -0
  151. package/button-toggle/index.d.ts +8 -1
  152. package/button-toggle/index.metadata.json +12 -1
  153. package/button-toggle/package.json +7 -0
  154. package/button-toggle/typings/button-toggle-module.d.ts +2 -0
  155. package/button-toggle/typings/button-toggle.d.ts +163 -0
  156. package/button-toggle/typings/index.d.ts +4 -0
  157. package/button-toggle/typings/index.metadata.json +1 -0
  158. package/button-toggle/typings/public-api.d.ts +9 -0
  159. package/button-toggle.d.ts +8 -0
  160. package/button-toggle.metadata.json +12 -0
  161. package/button.d.ts +8 -0
  162. package/button.metadata.json +12 -0
  163. package/card/index.d.ts +8 -1
  164. package/card/index.metadata.json +12 -1
  165. package/card/package.json +7 -0
  166. package/card/typings/card-module.d.ts +2 -0
  167. package/card/typings/card.d.ts +95 -0
  168. package/card/typings/index.d.ts +4 -0
  169. package/card/typings/index.metadata.json +1 -0
  170. package/card/typings/public-api.d.ts +9 -0
  171. package/card.d.ts +8 -0
  172. package/card.metadata.json +12 -0
  173. package/checkbox/index.d.ts +8 -1
  174. package/checkbox/index.metadata.json +12 -1
  175. package/checkbox/package.json +7 -0
  176. package/checkbox/typings/checkbox-module.d.ts +2 -0
  177. package/checkbox/typings/checkbox-required-validator.d.ts +18 -0
  178. package/checkbox/typings/checkbox.d.ts +157 -0
  179. package/checkbox/typings/index.d.ts +4 -0
  180. package/checkbox/typings/index.metadata.json +1 -0
  181. package/checkbox/typings/public-api.d.ts +10 -0
  182. package/checkbox.d.ts +8 -0
  183. package/checkbox.metadata.json +12 -0
  184. package/chips/index.d.ts +8 -2
  185. package/chips/index.metadata.json +12 -1
  186. package/chips/package.json +7 -0
  187. package/chips/typings/chip-input.d.ts +43 -0
  188. package/chips/typings/chip-list.d.ts +222 -0
  189. package/chips/typings/chip.d.ts +123 -0
  190. package/chips/typings/chips-module.d.ts +2 -0
  191. package/chips/typings/index.d.ts +4 -0
  192. package/chips/typings/index.metadata.json +1 -0
  193. package/chips/typings/public-api.d.ts +11 -0
  194. package/chips.d.ts +8 -0
  195. package/chips.metadata.json +12 -0
  196. package/core/index.d.ts +8 -1
  197. package/core/index.metadata.json +12 -1
  198. package/core/package.json +7 -0
  199. package/core/typings/animation/animation.d.ts +20 -0
  200. package/core/typings/common-behaviors/color.d.ts +22 -0
  201. package/core/typings/common-behaviors/common-module.d.ts +25 -0
  202. package/core/typings/common-behaviors/constructor.d.ts +9 -0
  203. package/core/typings/common-behaviors/disable-ripple.d.ts +7 -0
  204. package/core/typings/common-behaviors/disabled.d.ts +7 -0
  205. package/core/typings/common-behaviors/index.d.ts +12 -0
  206. package/core/typings/common-behaviors/tabindex.d.ts +15 -0
  207. package/core/typings/compatibility/compatibility.d.ts +32 -0
  208. package/core/typings/datetime/date-adapter.d.ts +198 -0
  209. package/core/typings/datetime/date-formats.d.ts +20 -0
  210. package/core/typings/datetime/index.d.ts +8 -0
  211. package/core/typings/datetime/native-date-adapter.d.ts +50 -0
  212. package/core/typings/datetime/native-date-formats.d.ts +9 -0
  213. package/core/typings/error/error-options.d.ts +9 -0
  214. package/core/typings/gestures/gesture-annotations.d.ts +51 -0
  215. package/core/{gestures → typings/gestures}/gesture-config.d.ts +0 -0
  216. package/core/typings/index.d.ts +5 -0
  217. package/core/typings/index.metadata.json +1 -0
  218. package/core/typings/line/line.d.ts +30 -0
  219. package/core/typings/option/index.d.ts +4 -0
  220. package/core/typings/option/optgroup.d.ts +14 -0
  221. package/core/typings/option/option.d.ts +90 -0
  222. package/core/typings/placeholder/placeholder-options.d.ts +15 -0
  223. package/core/typings/public-api.d.ts +22 -0
  224. package/core/typings/ripple/index.d.ts +5 -0
  225. package/core/typings/ripple/ripple-ref.d.ts +28 -0
  226. package/core/typings/ripple/ripple-renderer.d.ts +69 -0
  227. package/core/typings/ripple/ripple.d.ts +65 -0
  228. package/core/typings/selection/index.d.ts +3 -0
  229. package/core/typings/selection/pseudo-checkbox/pseudo-checkbox.d.ts +20 -0
  230. package/core/typings/style/apply-transform.d.ts +13 -0
  231. package/core/typings/style/index.d.ts +8 -0
  232. package/core/typings/testing/month-constants.d.ts +12 -0
  233. package/core/typings/util/object-extend.d.ts +15 -0
  234. package/core.d.ts +7 -0
  235. package/core.metadata.json +12 -1
  236. package/datepicker/index.d.ts +8 -0
  237. package/datepicker/index.metadata.json +12 -0
  238. package/datepicker/package.json +7 -0
  239. package/datepicker/typings/calendar-body.d.ts +52 -0
  240. package/datepicker/typings/calendar.d.ts +97 -0
  241. package/datepicker/typings/coerce-date-property.d.ts +19 -0
  242. package/datepicker/typings/datepicker-errors.d.ts +9 -0
  243. package/datepicker/typings/datepicker-input.d.ts +92 -0
  244. package/datepicker/typings/datepicker-intl.d.ts +25 -0
  245. package/datepicker/typings/datepicker-module.d.ts +2 -0
  246. package/datepicker/typings/datepicker-toggle.d.ts +24 -0
  247. package/datepicker/typings/datepicker.d.ts +117 -0
  248. package/datepicker/typings/index.d.ts +4 -0
  249. package/datepicker/typings/index.metadata.json +1 -0
  250. package/datepicker/typings/month-view.d.ts +66 -0
  251. package/datepicker/typings/public-api.d.ts +17 -0
  252. package/datepicker/typings/year-view.d.ts +55 -0
  253. package/datepicker.d.ts +8 -0
  254. package/datepicker.metadata.json +12 -0
  255. package/dialog/index.d.ts +8 -9
  256. package/dialog/index.metadata.json +12 -1
  257. package/dialog/package.json +7 -0
  258. package/dialog/typings/dialog-config.d.ts +54 -0
  259. package/dialog/typings/dialog-container.d.ts +68 -0
  260. package/dialog/typings/dialog-content-directives.d.ts +43 -0
  261. package/dialog/typings/dialog-module.d.ts +2 -0
  262. package/dialog/typings/dialog-ref.d.ts +68 -0
  263. package/dialog/typings/dialog.d.ts +108 -0
  264. package/dialog/typings/index.d.ts +4 -0
  265. package/dialog/typings/index.metadata.json +1 -0
  266. package/dialog/typings/public-api.d.ts +13 -0
  267. package/dialog.d.ts +8 -0
  268. package/dialog.metadata.json +12 -0
  269. package/esm2015/autocomplete.js +673 -0
  270. package/esm2015/autocomplete.js.map +1 -0
  271. package/esm2015/button-toggle.js +589 -0
  272. package/esm2015/button-toggle.js.map +1 -0
  273. package/esm2015/button.js +318 -0
  274. package/esm2015/button.js.map +1 -0
  275. package/esm2015/card.js +312 -0
  276. package/esm2015/card.js.map +1 -0
  277. package/esm2015/checkbox.js +500 -0
  278. package/esm2015/checkbox.js.map +1 -0
  279. package/esm2015/chips.js +1330 -0
  280. package/esm2015/chips.js.map +1 -0
  281. package/esm2015/core.js +2117 -0
  282. package/esm2015/core.js.map +1 -0
  283. package/esm2015/datepicker.js +1813 -0
  284. package/esm2015/datepicker.js.map +1 -0
  285. package/esm2015/dialog.js +854 -0
  286. package/esm2015/dialog.js.map +1 -0
  287. package/esm2015/expansion.js +587 -0
  288. package/esm2015/expansion.js.map +1 -0
  289. package/esm2015/form-field.js +535 -0
  290. package/esm2015/form-field.js.map +1 -0
  291. package/esm2015/grid-list.js +827 -0
  292. package/esm2015/grid-list.js.map +1 -0
  293. package/esm2015/icon.js +735 -0
  294. package/esm2015/icon.js.map +1 -0
  295. package/esm2015/input.js +585 -0
  296. package/esm2015/input.js.map +1 -0
  297. package/esm2015/list.js +640 -0
  298. package/esm2015/list.js.map +1 -0
  299. package/esm2015/material.js +51 -0
  300. package/esm2015/material.js.map +1 -0
  301. package/esm2015/menu.js +923 -0
  302. package/esm2015/menu.js.map +1 -0
  303. package/esm2015/paginator.js +303 -0
  304. package/esm2015/paginator.js.map +1 -0
  305. package/esm2015/progress-bar.js +133 -0
  306. package/esm2015/progress-bar.js.map +1 -0
  307. package/esm2015/progress-spinner.js +303 -0
  308. package/esm2015/progress-spinner.js.map +1 -0
  309. package/esm2015/radio.js +709 -0
  310. package/esm2015/radio.js.map +1 -0
  311. package/esm2015/select.js +1394 -0
  312. package/esm2015/select.js.map +1 -0
  313. package/esm2015/sidenav.js +866 -0
  314. package/esm2015/sidenav.js.map +1 -0
  315. package/esm2015/slide-toggle.js +428 -0
  316. package/esm2015/slide-toggle.js.map +1 -0
  317. package/esm2015/slider.js +834 -0
  318. package/esm2015/slider.js.map +1 -0
  319. package/esm2015/snack-bar.js +596 -0
  320. package/esm2015/snack-bar.js.map +1 -0
  321. package/esm2015/sort.js +371 -0
  322. package/esm2015/sort.js.map +1 -0
  323. package/esm2015/stepper.js +395 -0
  324. package/esm2015/stepper.js.map +1 -0
  325. package/esm2015/table.js +272 -0
  326. package/esm2015/table.js.map +1 -0
  327. package/esm2015/tabs.js +1480 -0
  328. package/esm2015/tabs.js.map +1 -0
  329. package/esm2015/toolbar.js +89 -0
  330. package/esm2015/toolbar.js.map +1 -0
  331. package/esm2015/tooltip.js +671 -0
  332. package/esm2015/tooltip.js.map +1 -0
  333. package/esm5/autocomplete.es5.js +712 -0
  334. package/esm5/autocomplete.es5.js.map +1 -0
  335. package/esm5/button-toggle.es5.js +646 -0
  336. package/esm5/button-toggle.es5.js.map +1 -0
  337. package/esm5/button.es5.js +344 -0
  338. package/esm5/button.es5.js.map +1 -0
  339. package/esm5/card.es5.js +355 -0
  340. package/esm5/card.es5.js.map +1 -0
  341. package/esm5/checkbox.es5.js +538 -0
  342. package/esm5/checkbox.es5.js.map +1 -0
  343. package/esm5/chips.es5.js +1464 -0
  344. package/esm5/chips.es5.js.map +1 -0
  345. package/esm5/core.es5.js +2126 -0
  346. package/esm5/core.es5.js.map +1 -0
  347. package/esm5/datepicker.es5.js +1946 -0
  348. package/esm5/datepicker.es5.js.map +1 -0
  349. package/esm5/dialog.es5.js +894 -0
  350. package/esm5/dialog.es5.js.map +1 -0
  351. package/esm5/expansion.es5.js +622 -0
  352. package/esm5/expansion.es5.js.map +1 -0
  353. package/esm5/form-field.es5.js +580 -0
  354. package/esm5/form-field.es5.js.map +1 -0
  355. package/esm5/grid-list.es5.js +888 -0
  356. package/esm5/grid-list.es5.js.map +1 -0
  357. package/esm5/icon.es5.js +754 -0
  358. package/esm5/icon.es5.js.map +1 -0
  359. package/esm5/input.es5.js +630 -0
  360. package/esm5/input.es5.js.map +1 -0
  361. package/esm5/list.es5.js +704 -0
  362. package/esm5/list.es5.js.map +1 -0
  363. package/esm5/material.es5.js +51 -0
  364. package/esm5/material.es5.js.map +1 -0
  365. package/esm5/menu.es5.js +962 -0
  366. package/esm5/menu.es5.js.map +1 -0
  367. package/esm5/paginator.es5.js +328 -0
  368. package/esm5/paginator.es5.js.map +1 -0
  369. package/esm5/progress-bar.es5.js +147 -0
  370. package/esm5/progress-bar.es5.js.map +1 -0
  371. package/esm5/progress-spinner.es5.js +317 -0
  372. package/esm5/progress-spinner.es5.js.map +1 -0
  373. package/esm5/radio.es5.js +786 -0
  374. package/esm5/radio.es5.js.map +1 -0
  375. package/esm5/select.es5.js +1481 -0
  376. package/esm5/select.es5.js.map +1 -0
  377. package/esm5/sidenav.es5.js +946 -0
  378. package/esm5/sidenav.es5.js.map +1 -0
  379. package/esm5/slide-toggle.es5.js +455 -0
  380. package/esm5/slide-toggle.es5.js.map +1 -0
  381. package/esm5/slider.es5.js +938 -0
  382. package/esm5/slider.es5.js.map +1 -0
  383. package/esm5/snack-bar.es5.js +622 -0
  384. package/esm5/snack-bar.es5.js.map +1 -0
  385. package/esm5/sort.es5.js +389 -0
  386. package/esm5/sort.es5.js.map +1 -0
  387. package/esm5/stepper.es5.js +448 -0
  388. package/esm5/stepper.es5.js.map +1 -0
  389. package/esm5/table.es5.js +323 -0
  390. package/esm5/table.es5.js.map +1 -0
  391. package/esm5/tabs.es5.js +1591 -0
  392. package/esm5/tabs.es5.js.map +1 -0
  393. package/esm5/toolbar.es5.js +100 -0
  394. package/esm5/toolbar.es5.js.map +1 -0
  395. package/esm5/tooltip.es5.js +705 -0
  396. package/esm5/tooltip.es5.js.map +1 -0
  397. package/expansion/index.d.ts +8 -0
  398. package/expansion/index.metadata.json +12 -0
  399. package/expansion/package.json +7 -0
  400. package/expansion/typings/accordion-item.d.ts +41 -0
  401. package/expansion/typings/accordion.d.ts +29 -0
  402. package/expansion/typings/expansion-module.d.ts +2 -0
  403. package/expansion/typings/expansion-panel-header.d.ts +49 -0
  404. package/expansion/typings/expansion-panel.d.ts +40 -0
  405. package/expansion/typings/index.d.ts +5 -0
  406. package/expansion/typings/index.metadata.json +1 -0
  407. package/expansion/typings/public-api.d.ts +12 -0
  408. package/expansion.d.ts +8 -0
  409. package/expansion.metadata.json +12 -0
  410. package/form-field/index.d.ts +8 -0
  411. package/form-field/index.metadata.json +12 -0
  412. package/form-field/package.json +7 -0
  413. package/form-field/typings/error.d.ts +4 -0
  414. package/form-field/typings/form-field-control.d.ts +47 -0
  415. package/form-field/typings/form-field-errors.d.ts +13 -0
  416. package/form-field/typings/form-field-module.d.ts +2 -0
  417. package/form-field/typings/form-field.d.ts +78 -0
  418. package/form-field/typings/hint.d.ts +7 -0
  419. package/form-field/typings/index.d.ts +4 -0
  420. package/form-field/typings/index.metadata.json +1 -0
  421. package/form-field/typings/placeholder.d.ts +3 -0
  422. package/form-field/typings/prefix.d.ts +3 -0
  423. package/form-field/typings/public-api.d.ts +16 -0
  424. package/form-field/typings/suffix.d.ts +3 -0
  425. package/form-field.d.ts +8 -0
  426. package/form-field.metadata.json +12 -0
  427. package/grid-list/index.d.ts +8 -1
  428. package/grid-list/index.metadata.json +12 -1
  429. package/grid-list/package.json +7 -0
  430. package/grid-list/typings/grid-list-measure.d.ts +17 -0
  431. package/grid-list/typings/grid-list-module.d.ts +2 -0
  432. package/grid-list/typings/grid-list.d.ts +53 -0
  433. package/grid-list/typings/grid-tile.d.ts +55 -0
  434. package/grid-list/typings/index.d.ts +5 -0
  435. package/grid-list/typings/index.metadata.json +1 -0
  436. package/grid-list/typings/public-api.d.ts +10 -0
  437. package/grid-list/typings/tile-coordinator.d.ts +64 -0
  438. package/grid-list/typings/tile-styler.d.ts +129 -0
  439. package/grid-list.d.ts +8 -0
  440. package/grid-list.metadata.json +12 -0
  441. package/icon/index.d.ts +8 -1
  442. package/icon/index.metadata.json +12 -1
  443. package/icon/package.json +7 -0
  444. package/icon/typings/icon-module.d.ts +2 -0
  445. package/icon/typings/icon-registry.d.ts +187 -0
  446. package/icon/typings/icon.d.ts +69 -0
  447. package/icon/typings/index.d.ts +4 -0
  448. package/icon/typings/index.metadata.json +1 -0
  449. package/icon/typings/public-api.d.ts +10 -0
  450. package/icon.d.ts +8 -0
  451. package/icon.metadata.json +12 -0
  452. package/input/index.d.ts +8 -4
  453. package/input/index.metadata.json +12 -1
  454. package/input/package.json +7 -0
  455. package/input/typings/autosize.d.ts +43 -0
  456. package/input/typings/index.d.ts +4 -0
  457. package/input/typings/index.metadata.json +1 -0
  458. package/input/typings/input-errors.d.ts +9 -0
  459. package/input/typings/input-module.d.ts +2 -0
  460. package/input/typings/input.d.ts +85 -0
  461. package/input/typings/public-api.d.ts +11 -0
  462. package/input.d.ts +8 -0
  463. package/input.metadata.json +12 -0
  464. package/list/index.d.ts +8 -1
  465. package/list/index.metadata.json +12 -1
  466. package/list/package.json +7 -0
  467. package/list/typings/index.d.ts +4 -0
  468. package/list/typings/index.metadata.json +1 -0
  469. package/list/typings/list-module.d.ts +2 -0
  470. package/list/typings/list.d.ts +77 -0
  471. package/list/typings/public-api.d.ts +10 -0
  472. package/list/typings/selection-list.d.ts +103 -0
  473. package/list.d.ts +8 -0
  474. package/list.metadata.json +12 -0
  475. package/material.d.ts +39 -0
  476. package/material.metadata.json +105 -0
  477. package/menu/index.d.ts +8 -5
  478. package/menu/index.metadata.json +12 -1
  479. package/menu/package.json +7 -0
  480. package/menu/typings/index.d.ts +6 -0
  481. package/menu/typings/index.metadata.json +1 -0
  482. package/menu/typings/menu-animations.d.ts +27 -0
  483. package/menu/typings/menu-directive.d.ts +89 -0
  484. package/menu/typings/menu-errors.d.ts +24 -0
  485. package/menu/typings/menu-item.d.ts +42 -0
  486. package/menu/typings/menu-module.d.ts +2 -0
  487. package/menu/typings/menu-panel.d.ts +22 -0
  488. package/menu/typings/menu-positions.d.ts +9 -0
  489. package/menu/typings/menu-trigger.d.ts +115 -0
  490. package/menu/typings/menu.d.ts +12 -0
  491. package/menu/typings/public-api.d.ts +11 -0
  492. package/menu.d.ts +8 -0
  493. package/menu.metadata.json +12 -0
  494. package/package.json +10 -9
  495. package/paginator/index.d.ts +8 -0
  496. package/paginator/index.metadata.json +12 -0
  497. package/paginator/package.json +7 -0
  498. package/paginator/typings/index.d.ts +4 -0
  499. package/paginator/typings/index.metadata.json +1 -0
  500. package/paginator/typings/paginator-intl.d.ts +20 -0
  501. package/paginator/typings/paginator-module.d.ts +2 -0
  502. package/paginator/typings/paginator.d.ts +75 -0
  503. package/paginator/typings/public-api.d.ts +10 -0
  504. package/paginator.d.ts +8 -0
  505. package/paginator.metadata.json +12 -0
  506. package/prebuilt-themes/deeppurple-amber.css +1 -0
  507. package/prebuilt-themes/indigo-pink.css +1 -0
  508. package/prebuilt-themes/pink-bluegrey.css +1 -0
  509. package/prebuilt-themes/purple-green.css +1 -0
  510. package/progress-bar/index.d.ts +8 -1
  511. package/progress-bar/index.metadata.json +12 -1
  512. package/progress-bar/package.json +7 -0
  513. package/progress-bar/typings/index.d.ts +4 -0
  514. package/progress-bar/typings/index.metadata.json +1 -0
  515. package/progress-bar/typings/progress-bar-module.d.ts +2 -0
  516. package/progress-bar/typings/progress-bar.d.ts +32 -0
  517. package/progress-bar/typings/public-api.d.ts +9 -0
  518. package/progress-bar.d.ts +8 -0
  519. package/progress-bar.metadata.json +12 -0
  520. package/progress-spinner/index.d.ts +8 -2
  521. package/progress-spinner/index.metadata.json +12 -1
  522. package/progress-spinner/package.json +7 -0
  523. package/progress-spinner/typings/index.d.ts +4 -0
  524. package/progress-spinner/typings/index.metadata.json +1 -0
  525. package/progress-spinner/typings/progress-spinner-module.d.ts +3 -0
  526. package/progress-spinner/typings/progress-spinner.d.ts +69 -0
  527. package/progress-spinner/typings/public-api.d.ts +9 -0
  528. package/progress-spinner.d.ts +8 -0
  529. package/progress-spinner.metadata.json +12 -0
  530. package/radio/index.d.ts +8 -1
  531. package/radio/index.metadata.json +12 -1
  532. package/radio/package.json +7 -0
  533. package/radio/typings/index.d.ts +4 -0
  534. package/radio/typings/index.metadata.json +1 -0
  535. package/radio/typings/public-api.d.ts +9 -0
  536. package/radio/typings/radio-module.d.ts +2 -0
  537. package/radio/typings/radio.d.ts +215 -0
  538. package/radio.d.ts +8 -0
  539. package/radio.metadata.json +12 -0
  540. package/select/index.d.ts +8 -7
  541. package/select/index.metadata.json +12 -1
  542. package/select/package.json +7 -0
  543. package/select/typings/index.d.ts +4 -0
  544. package/select/typings/index.metadata.json +1 -0
  545. package/select/typings/public-api.d.ts +10 -0
  546. package/select/typings/select-animations.d.ts +30 -0
  547. package/select/typings/select-errors.d.ts +26 -0
  548. package/select/typings/select-module.d.ts +2 -0
  549. package/select/typings/select.d.ts +393 -0
  550. package/select.d.ts +8 -0
  551. package/select.metadata.json +12 -0
  552. package/sidenav/index.d.ts +8 -1
  553. package/sidenav/index.metadata.json +12 -1
  554. package/sidenav/package.json +7 -0
  555. package/sidenav/typings/drawer.d.ts +190 -0
  556. package/sidenav/typings/index.d.ts +4 -0
  557. package/sidenav/typings/index.metadata.json +1 -0
  558. package/sidenav/typings/public-api.d.ts +10 -0
  559. package/sidenav/typings/sidenav-module.d.ts +2 -0
  560. package/sidenav/typings/sidenav.d.ts +33 -0
  561. package/sidenav.d.ts +8 -0
  562. package/sidenav.metadata.json +12 -0
  563. package/slide-toggle/index.d.ts +8 -1
  564. package/slide-toggle/index.metadata.json +12 -1
  565. package/slide-toggle/package.json +7 -0
  566. package/slide-toggle/typings/index.d.ts +4 -0
  567. package/slide-toggle/typings/index.metadata.json +1 -0
  568. package/slide-toggle/typings/public-api.d.ts +9 -0
  569. package/slide-toggle/typings/slide-toggle-module.d.ts +2 -0
  570. package/slide-toggle/typings/slide-toggle.d.ts +93 -0
  571. package/slide-toggle.d.ts +8 -0
  572. package/slide-toggle.metadata.json +12 -0
  573. package/slider/index.d.ts +8 -1
  574. package/slider/index.metadata.json +12 -1
  575. package/slider/package.json +7 -0
  576. package/slider/typings/index.d.ts +4 -0
  577. package/slider/typings/index.metadata.json +1 -0
  578. package/slider/typings/public-api.d.ts +9 -0
  579. package/slider/typings/slider-module.d.ts +2 -0
  580. package/slider/typings/slider.d.ts +207 -0
  581. package/slider.d.ts +8 -0
  582. package/slider.metadata.json +12 -0
  583. package/snack-bar/index.d.ts +8 -4
  584. package/snack-bar/index.metadata.json +12 -1
  585. package/snack-bar/package.json +7 -0
  586. package/snack-bar/typings/index.d.ts +4 -0
  587. package/snack-bar/typings/index.metadata.json +1 -0
  588. package/snack-bar/typings/public-api.d.ts +13 -0
  589. package/snack-bar/typings/simple-snack-bar.d.ts +18 -0
  590. package/snack-bar/typings/snack-bar-config.d.ts +38 -0
  591. package/snack-bar/typings/snack-bar-container.d.ts +55 -0
  592. package/snack-bar/typings/snack-bar-module.d.ts +2 -0
  593. package/snack-bar/typings/snack-bar-ref.d.ts +51 -0
  594. package/snack-bar/typings/snack-bar.d.ts +70 -0
  595. package/snack-bar.d.ts +8 -0
  596. package/snack-bar.metadata.json +12 -0
  597. package/sort/index.d.ts +8 -0
  598. package/sort/index.metadata.json +12 -0
  599. package/sort/package.json +7 -0
  600. package/sort/typings/index.d.ts +4 -0
  601. package/sort/typings/index.metadata.json +1 -0
  602. package/sort/typings/public-api.d.ts +12 -0
  603. package/sort/typings/sort-direction.d.ts +8 -0
  604. package/sort/typings/sort-errors.d.ts +15 -0
  605. package/sort/typings/sort-header-intl.d.ts +17 -0
  606. package/sort/typings/sort-header.d.ts +43 -0
  607. package/sort/typings/sort-module.d.ts +2 -0
  608. package/sort/typings/sort.d.ts +55 -0
  609. package/sort.d.ts +8 -0
  610. package/sort.metadata.json +12 -0
  611. package/stepper/index.d.ts +8 -0
  612. package/stepper/index.metadata.json +12 -0
  613. package/stepper/package.json +7 -0
  614. package/stepper/typings/index.d.ts +4 -0
  615. package/stepper/typings/index.metadata.json +1 -0
  616. package/stepper/typings/public-api.d.ts +13 -0
  617. package/stepper/typings/step-header.d.ts +41 -0
  618. package/stepper/typings/step-label.d.ts +14 -0
  619. package/stepper/typings/stepper-button.d.ts +10 -0
  620. package/stepper/typings/stepper-intl.d.ts +11 -0
  621. package/stepper/typings/stepper-module.d.ts +2 -0
  622. package/stepper/typings/stepper.d.ts +26 -0
  623. package/stepper.d.ts +8 -0
  624. package/stepper.metadata.json +12 -0
  625. package/table/index.d.ts +8 -0
  626. package/table/index.metadata.json +12 -0
  627. package/table/package.json +7 -0
  628. package/table/typings/cell.d.ts +43 -0
  629. package/table/typings/index.d.ts +4 -0
  630. package/table/typings/index.metadata.json +1 -0
  631. package/table/typings/public-api.d.ts +11 -0
  632. package/table/typings/row.d.ts +25 -0
  633. package/table/typings/table-module.d.ts +2 -0
  634. package/table/typings/table.d.ts +8 -0
  635. package/table.d.ts +8 -0
  636. package/table.metadata.json +12 -0
  637. package/tabs/index.d.ts +8 -7
  638. package/tabs/index.metadata.json +12 -1
  639. package/tabs/package.json +7 -0
  640. package/tabs/typings/index.d.ts +8 -0
  641. package/tabs/typings/index.metadata.json +1 -0
  642. package/tabs/typings/ink-bar.d.ts +33 -0
  643. package/tabs/typings/public-api.d.ts +16 -0
  644. package/tabs/typings/tab-body.d.ts +69 -0
  645. package/tabs/typings/tab-group.d.ts +104 -0
  646. package/tabs/typings/tab-header.d.ts +158 -0
  647. package/tabs/typings/tab-label-wrapper.d.ts +25 -0
  648. package/tabs/typings/tab-label.d.ts +15 -0
  649. package/tabs/typings/tab-nav-bar/index.d.ts +8 -0
  650. package/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts +78 -0
  651. package/tabs/typings/tab.d.ts +50 -0
  652. package/tabs/typings/tabs-module.d.ts +2 -0
  653. package/tabs.d.ts +8 -0
  654. package/tabs.metadata.json +12 -0
  655. package/toolbar/index.d.ts +8 -1
  656. package/toolbar/index.metadata.json +12 -1
  657. package/toolbar/package.json +7 -0
  658. package/toolbar/typings/index.d.ts +4 -0
  659. package/toolbar/typings/index.metadata.json +1 -0
  660. package/toolbar/typings/public-api.d.ts +9 -0
  661. package/toolbar/typings/toolbar-module.d.ts +2 -0
  662. package/toolbar/typings/toolbar.d.ts +21 -0
  663. package/toolbar.d.ts +8 -0
  664. package/toolbar.metadata.json +12 -0
  665. package/tooltip/index.d.ts +8 -1
  666. package/tooltip/index.metadata.json +12 -1
  667. package/tooltip/package.json +7 -0
  668. package/tooltip/typings/index.d.ts +4 -0
  669. package/tooltip/typings/index.metadata.json +1 -0
  670. package/tooltip/typings/public-api.d.ts +9 -0
  671. package/tooltip/typings/tooltip-module.d.ts +2 -0
  672. package/tooltip/typings/tooltip.d.ts +175 -0
  673. package/tooltip.d.ts +8 -0
  674. package/tooltip.metadata.json +12 -0
  675. package/typings/autocomplete/autocomplete-module.d.ts +2 -0
  676. package/typings/autocomplete/autocomplete-trigger.d.ts +159 -0
  677. package/typings/autocomplete/autocomplete.d.ts +62 -0
  678. package/typings/autocomplete/index.d.ts +4 -0
  679. package/typings/autocomplete/index.metadata.json +1 -0
  680. package/typings/autocomplete/public-api.d.ts +10 -0
  681. package/typings/button/button-module.d.ts +2 -0
  682. package/typings/button/button.d.ts +77 -0
  683. package/typings/button/index.d.ts +4 -0
  684. package/typings/button/index.metadata.json +1 -0
  685. package/typings/button/public-api.d.ts +9 -0
  686. package/typings/button-toggle/button-toggle-module.d.ts +2 -0
  687. package/typings/button-toggle/button-toggle.d.ts +163 -0
  688. package/typings/button-toggle/index.d.ts +4 -0
  689. package/typings/button-toggle/index.metadata.json +1 -0
  690. package/typings/button-toggle/public-api.d.ts +9 -0
  691. package/typings/card/card-module.d.ts +2 -0
  692. package/typings/card/card.d.ts +95 -0
  693. package/typings/card/index.d.ts +4 -0
  694. package/typings/card/index.metadata.json +1 -0
  695. package/typings/card/public-api.d.ts +9 -0
  696. package/typings/checkbox/checkbox-module.d.ts +2 -0
  697. package/typings/checkbox/checkbox-required-validator.d.ts +18 -0
  698. package/typings/checkbox/checkbox.d.ts +157 -0
  699. package/typings/checkbox/index.d.ts +4 -0
  700. package/typings/checkbox/index.metadata.json +1 -0
  701. package/typings/checkbox/public-api.d.ts +10 -0
  702. package/typings/chips/chip-input.d.ts +43 -0
  703. package/typings/chips/chip-list.d.ts +222 -0
  704. package/typings/chips/chip.d.ts +123 -0
  705. package/typings/chips/chips-module.d.ts +2 -0
  706. package/typings/chips/index.d.ts +4 -0
  707. package/typings/chips/index.metadata.json +1 -0
  708. package/typings/chips/public-api.d.ts +11 -0
  709. package/typings/core/animation/animation.d.ts +20 -0
  710. package/typings/core/common-behaviors/color.d.ts +22 -0
  711. package/typings/core/common-behaviors/common-module.d.ts +25 -0
  712. package/typings/core/common-behaviors/constructor.d.ts +9 -0
  713. package/typings/core/common-behaviors/disable-ripple.d.ts +7 -0
  714. package/typings/core/common-behaviors/disabled.d.ts +7 -0
  715. package/typings/core/common-behaviors/index.d.ts +12 -0
  716. package/typings/core/common-behaviors/tabindex.d.ts +15 -0
  717. package/typings/core/compatibility/compatibility.d.ts +32 -0
  718. package/typings/core/datetime/date-adapter.d.ts +198 -0
  719. package/typings/core/datetime/date-formats.d.ts +20 -0
  720. package/typings/core/datetime/index.d.ts +8 -0
  721. package/typings/core/datetime/native-date-adapter.d.ts +50 -0
  722. package/typings/core/datetime/native-date-formats.d.ts +9 -0
  723. package/typings/core/error/error-options.d.ts +9 -0
  724. package/typings/core/gestures/gesture-annotations.d.ts +51 -0
  725. package/typings/core/gestures/gesture-config.d.ts +23 -0
  726. package/typings/core/index.d.ts +5 -0
  727. package/typings/core/index.metadata.json +1 -0
  728. package/typings/core/line/line.d.ts +30 -0
  729. package/typings/core/option/index.d.ts +4 -0
  730. package/typings/core/option/optgroup.d.ts +14 -0
  731. package/typings/core/option/option.d.ts +90 -0
  732. package/typings/core/placeholder/placeholder-options.d.ts +15 -0
  733. package/typings/core/public-api.d.ts +22 -0
  734. package/typings/core/ripple/index.d.ts +5 -0
  735. package/typings/core/ripple/ripple-ref.d.ts +28 -0
  736. package/typings/core/ripple/ripple-renderer.d.ts +69 -0
  737. package/typings/core/ripple/ripple.d.ts +65 -0
  738. package/typings/core/selection/index.d.ts +3 -0
  739. package/typings/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +20 -0
  740. package/typings/core/style/apply-transform.d.ts +13 -0
  741. package/typings/core/style/index.d.ts +8 -0
  742. package/typings/core/testing/month-constants.d.ts +12 -0
  743. package/typings/core/util/object-extend.d.ts +15 -0
  744. package/typings/datepicker/calendar-body.d.ts +52 -0
  745. package/typings/datepicker/calendar.d.ts +97 -0
  746. package/typings/datepicker/coerce-date-property.d.ts +19 -0
  747. package/typings/datepicker/datepicker-errors.d.ts +9 -0
  748. package/typings/datepicker/datepicker-input.d.ts +92 -0
  749. package/typings/datepicker/datepicker-intl.d.ts +25 -0
  750. package/typings/datepicker/datepicker-module.d.ts +2 -0
  751. package/typings/datepicker/datepicker-toggle.d.ts +24 -0
  752. package/typings/datepicker/datepicker.d.ts +117 -0
  753. package/typings/datepicker/index.d.ts +4 -0
  754. package/typings/datepicker/index.metadata.json +1 -0
  755. package/typings/datepicker/month-view.d.ts +66 -0
  756. package/typings/datepicker/public-api.d.ts +17 -0
  757. package/typings/datepicker/year-view.d.ts +55 -0
  758. package/typings/dialog/dialog-config.d.ts +54 -0
  759. package/typings/dialog/dialog-container.d.ts +68 -0
  760. package/typings/dialog/dialog-content-directives.d.ts +43 -0
  761. package/typings/dialog/dialog-module.d.ts +2 -0
  762. package/typings/dialog/dialog-ref.d.ts +68 -0
  763. package/typings/dialog/dialog.d.ts +108 -0
  764. package/typings/dialog/index.d.ts +4 -0
  765. package/typings/dialog/index.metadata.json +1 -0
  766. package/typings/dialog/public-api.d.ts +13 -0
  767. package/typings/expansion/accordion-item.d.ts +41 -0
  768. package/typings/expansion/accordion.d.ts +29 -0
  769. package/typings/expansion/expansion-module.d.ts +2 -0
  770. package/typings/expansion/expansion-panel-header.d.ts +49 -0
  771. package/typings/expansion/expansion-panel.d.ts +40 -0
  772. package/typings/expansion/index.d.ts +5 -0
  773. package/typings/expansion/index.metadata.json +1 -0
  774. package/typings/expansion/public-api.d.ts +12 -0
  775. package/typings/form-field/error.d.ts +4 -0
  776. package/typings/form-field/form-field-control.d.ts +47 -0
  777. package/typings/form-field/form-field-errors.d.ts +13 -0
  778. package/typings/form-field/form-field-module.d.ts +2 -0
  779. package/typings/form-field/form-field.d.ts +78 -0
  780. package/typings/form-field/hint.d.ts +7 -0
  781. package/typings/form-field/index.d.ts +4 -0
  782. package/typings/form-field/index.metadata.json +1 -0
  783. package/typings/form-field/placeholder.d.ts +3 -0
  784. package/typings/form-field/prefix.d.ts +3 -0
  785. package/typings/form-field/public-api.d.ts +16 -0
  786. package/typings/form-field/suffix.d.ts +3 -0
  787. package/typings/grid-list/grid-list-measure.d.ts +17 -0
  788. package/typings/grid-list/grid-list-module.d.ts +2 -0
  789. package/typings/grid-list/grid-list.d.ts +53 -0
  790. package/typings/grid-list/grid-tile.d.ts +55 -0
  791. package/typings/grid-list/index.d.ts +5 -0
  792. package/typings/grid-list/index.metadata.json +1 -0
  793. package/typings/grid-list/public-api.d.ts +10 -0
  794. package/typings/grid-list/tile-coordinator.d.ts +64 -0
  795. package/typings/grid-list/tile-styler.d.ts +129 -0
  796. package/typings/icon/icon-module.d.ts +2 -0
  797. package/typings/icon/icon-registry.d.ts +187 -0
  798. package/typings/icon/icon.d.ts +69 -0
  799. package/typings/icon/index.d.ts +4 -0
  800. package/typings/icon/index.metadata.json +1 -0
  801. package/typings/icon/public-api.d.ts +10 -0
  802. package/typings/index.d.ts +4 -0
  803. package/typings/index.metadata.json +1 -0
  804. package/typings/input/autosize.d.ts +43 -0
  805. package/typings/input/index.d.ts +4 -0
  806. package/typings/input/index.metadata.json +1 -0
  807. package/typings/input/input-errors.d.ts +9 -0
  808. package/typings/input/input-module.d.ts +2 -0
  809. package/typings/input/input.d.ts +85 -0
  810. package/typings/input/public-api.d.ts +11 -0
  811. package/typings/list/index.d.ts +4 -0
  812. package/typings/list/index.metadata.json +1 -0
  813. package/typings/list/list-module.d.ts +2 -0
  814. package/typings/list/list.d.ts +77 -0
  815. package/typings/list/public-api.d.ts +10 -0
  816. package/typings/list/selection-list.d.ts +103 -0
  817. package/typings/menu/index.d.ts +6 -0
  818. package/typings/menu/index.metadata.json +1 -0
  819. package/typings/menu/menu-animations.d.ts +27 -0
  820. package/typings/menu/menu-directive.d.ts +89 -0
  821. package/typings/menu/menu-errors.d.ts +24 -0
  822. package/typings/menu/menu-item.d.ts +42 -0
  823. package/typings/menu/menu-module.d.ts +2 -0
  824. package/typings/menu/menu-panel.d.ts +22 -0
  825. package/typings/menu/menu-positions.d.ts +9 -0
  826. package/typings/menu/menu-trigger.d.ts +115 -0
  827. package/typings/menu/menu.d.ts +12 -0
  828. package/typings/menu/public-api.d.ts +11 -0
  829. package/typings/paginator/index.d.ts +4 -0
  830. package/typings/paginator/index.metadata.json +1 -0
  831. package/typings/paginator/paginator-intl.d.ts +20 -0
  832. package/typings/paginator/paginator-module.d.ts +2 -0
  833. package/typings/paginator/paginator.d.ts +75 -0
  834. package/typings/paginator/public-api.d.ts +10 -0
  835. package/typings/progress-bar/index.d.ts +4 -0
  836. package/typings/progress-bar/index.metadata.json +1 -0
  837. package/typings/progress-bar/progress-bar-module.d.ts +2 -0
  838. package/typings/progress-bar/progress-bar.d.ts +32 -0
  839. package/typings/progress-bar/public-api.d.ts +9 -0
  840. package/typings/progress-spinner/index.d.ts +4 -0
  841. package/typings/progress-spinner/index.metadata.json +1 -0
  842. package/typings/progress-spinner/progress-spinner-module.d.ts +3 -0
  843. package/typings/progress-spinner/progress-spinner.d.ts +69 -0
  844. package/typings/progress-spinner/public-api.d.ts +9 -0
  845. package/typings/public-api.d.ts +39 -0
  846. package/typings/radio/index.d.ts +4 -0
  847. package/typings/radio/index.metadata.json +1 -0
  848. package/typings/radio/public-api.d.ts +9 -0
  849. package/typings/radio/radio-module.d.ts +2 -0
  850. package/typings/radio/radio.d.ts +215 -0
  851. package/typings/select/index.d.ts +4 -0
  852. package/typings/select/index.metadata.json +1 -0
  853. package/typings/select/public-api.d.ts +10 -0
  854. package/typings/select/select-animations.d.ts +30 -0
  855. package/typings/select/select-errors.d.ts +26 -0
  856. package/typings/select/select-module.d.ts +2 -0
  857. package/typings/select/select.d.ts +393 -0
  858. package/typings/sidenav/drawer.d.ts +190 -0
  859. package/typings/sidenav/index.d.ts +4 -0
  860. package/typings/sidenav/index.metadata.json +1 -0
  861. package/typings/sidenav/public-api.d.ts +10 -0
  862. package/typings/sidenav/sidenav-module.d.ts +2 -0
  863. package/typings/sidenav/sidenav.d.ts +33 -0
  864. package/typings/slide-toggle/index.d.ts +4 -0
  865. package/typings/slide-toggle/index.metadata.json +1 -0
  866. package/typings/slide-toggle/public-api.d.ts +9 -0
  867. package/typings/slide-toggle/slide-toggle-module.d.ts +2 -0
  868. package/typings/slide-toggle/slide-toggle.d.ts +93 -0
  869. package/typings/slider/index.d.ts +4 -0
  870. package/typings/slider/index.metadata.json +1 -0
  871. package/typings/slider/public-api.d.ts +9 -0
  872. package/typings/slider/slider-module.d.ts +2 -0
  873. package/typings/slider/slider.d.ts +207 -0
  874. package/typings/snack-bar/index.d.ts +4 -0
  875. package/typings/snack-bar/index.metadata.json +1 -0
  876. package/typings/snack-bar/public-api.d.ts +13 -0
  877. package/typings/snack-bar/simple-snack-bar.d.ts +18 -0
  878. package/typings/snack-bar/snack-bar-config.d.ts +38 -0
  879. package/typings/snack-bar/snack-bar-container.d.ts +55 -0
  880. package/typings/snack-bar/snack-bar-module.d.ts +2 -0
  881. package/typings/snack-bar/snack-bar-ref.d.ts +51 -0
  882. package/typings/snack-bar/snack-bar.d.ts +70 -0
  883. package/typings/sort/index.d.ts +4 -0
  884. package/typings/sort/index.metadata.json +1 -0
  885. package/typings/sort/public-api.d.ts +12 -0
  886. package/typings/sort/sort-direction.d.ts +8 -0
  887. package/typings/sort/sort-errors.d.ts +15 -0
  888. package/typings/sort/sort-header-intl.d.ts +17 -0
  889. package/typings/sort/sort-header.d.ts +43 -0
  890. package/typings/sort/sort-module.d.ts +2 -0
  891. package/typings/sort/sort.d.ts +55 -0
  892. package/typings/stepper/index.d.ts +4 -0
  893. package/typings/stepper/index.metadata.json +1 -0
  894. package/typings/stepper/public-api.d.ts +13 -0
  895. package/typings/stepper/step-header.d.ts +41 -0
  896. package/typings/stepper/step-label.d.ts +14 -0
  897. package/typings/stepper/stepper-button.d.ts +10 -0
  898. package/typings/stepper/stepper-intl.d.ts +11 -0
  899. package/typings/stepper/stepper-module.d.ts +2 -0
  900. package/typings/stepper/stepper.d.ts +26 -0
  901. package/typings/table/cell.d.ts +43 -0
  902. package/typings/table/index.d.ts +4 -0
  903. package/typings/table/index.metadata.json +1 -0
  904. package/typings/table/public-api.d.ts +11 -0
  905. package/typings/table/row.d.ts +25 -0
  906. package/typings/table/table-module.d.ts +2 -0
  907. package/typings/table/table.d.ts +8 -0
  908. package/typings/tabs/index.d.ts +8 -0
  909. package/typings/tabs/index.metadata.json +1 -0
  910. package/typings/tabs/ink-bar.d.ts +33 -0
  911. package/typings/tabs/public-api.d.ts +16 -0
  912. package/typings/tabs/tab-body.d.ts +69 -0
  913. package/typings/tabs/tab-group.d.ts +104 -0
  914. package/typings/tabs/tab-header.d.ts +158 -0
  915. package/typings/tabs/tab-label-wrapper.d.ts +25 -0
  916. package/typings/tabs/tab-label.d.ts +15 -0
  917. package/typings/tabs/tab-nav-bar/index.d.ts +8 -0
  918. package/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts +78 -0
  919. package/typings/tabs/tab.d.ts +50 -0
  920. package/typings/tabs/tabs-module.d.ts +2 -0
  921. package/typings/toolbar/index.d.ts +4 -0
  922. package/typings/toolbar/index.metadata.json +1 -0
  923. package/typings/toolbar/public-api.d.ts +9 -0
  924. package/typings/toolbar/toolbar-module.d.ts +2 -0
  925. package/typings/toolbar/toolbar.d.ts +21 -0
  926. package/typings/tooltip/index.d.ts +4 -0
  927. package/typings/tooltip/index.metadata.json +1 -0
  928. package/typings/tooltip/public-api.d.ts +9 -0
  929. package/typings/tooltip/tooltip-module.d.ts +2 -0
  930. package/typings/tooltip/tooltip.d.ts +175 -0
  931. package/typings/version.d.ts +10 -0
  932. package/autocomplete/README.md +0 -5
  933. package/autocomplete/_autocomplete-theme.scss +0 -5
  934. package/autocomplete/autocomplete.css +0 -0
  935. package/autocomplete/autocomplete.css.map +0 -1
  936. package/autocomplete/autocomplete.d.ts +0 -2
  937. package/autocomplete/autocomplete.html +0 -1
  938. package/autocomplete/autocomplete.js +0 -25
  939. package/autocomplete/autocomplete.js.map +0 -1
  940. package/autocomplete/autocomplete.metadata.json +0 -1
  941. package/autocomplete/autocomplete.scss +0 -0
  942. package/autocomplete/index.js +0 -34
  943. package/autocomplete/index.js.map +0 -1
  944. package/button/OVERVIEW.md +0 -25
  945. package/button/README.md +0 -116
  946. package/button/_button-base.scss +0 -111
  947. package/button/_button-theme.scss +0 -85
  948. package/button/button.css +0 -1
  949. package/button/button.css.map +0 -1
  950. package/button/button.d.ts +0 -46
  951. package/button/button.html +0 -1
  952. package/button/button.js +0 -203
  953. package/button/button.js.map +0 -1
  954. package/button/button.metadata.json +0 -1
  955. package/button/button.scss +0 -105
  956. package/button/index.js +0 -3
  957. package/button/index.js.map +0 -1
  958. package/button-toggle/OVERVIEW.md +0 -22
  959. package/button-toggle/README.md +0 -139
  960. package/button-toggle/_button-toggle-theme.scss +0 -14
  961. package/button-toggle/button-toggle.css +0 -1
  962. package/button-toggle/button-toggle.css.map +0 -1
  963. package/button-toggle/button-toggle.d.ts +0 -136
  964. package/button-toggle/button-toggle.html +0 -1
  965. package/button-toggle/button-toggle.js +0 -502
  966. package/button-toggle/button-toggle.js.map +0 -1
  967. package/button-toggle/button-toggle.metadata.json +0 -1
  968. package/button-toggle/button-toggle.scss +0 -49
  969. package/button-toggle/index.js +0 -3
  970. package/button-toggle/index.js.map +0 -1
  971. package/card/OVERVIEW.md +0 -45
  972. package/card/README.md +0 -116
  973. package/card/_card-theme.scss +0 -17
  974. package/card/card-header.html +0 -1
  975. package/card/card-title-group.html +0 -1
  976. package/card/card.css +0 -1
  977. package/card/card.css.map +0 -1
  978. package/card/card.d.ts +0 -54
  979. package/card/card.html +0 -1
  980. package/card/card.js +0 -174
  981. package/card/card.js.map +0 -1
  982. package/card/card.metadata.json +0 -1
  983. package/card/card.scss +0 -227
  984. package/card/index.js +0 -3
  985. package/card/index.js.map +0 -1
  986. package/checkbox/OVERVIEW.md +0 -28
  987. package/checkbox/README.md +0 -93
  988. package/checkbox/_checkbox-theme.scss +0 -84
  989. package/checkbox/checkbox.css +0 -1
  990. package/checkbox/checkbox.css.map +0 -1
  991. package/checkbox/checkbox.d.ts +0 -155
  992. package/checkbox/checkbox.html +0 -1
  993. package/checkbox/checkbox.js +0 -432
  994. package/checkbox/checkbox.js.map +0 -1
  995. package/checkbox/checkbox.metadata.json +0 -1
  996. package/checkbox/checkbox.scss +0 -431
  997. package/checkbox/index.js +0 -3
  998. package/checkbox/index.js.map +0 -1
  999. package/chips/OVERVIEW.md +0 -40
  1000. package/chips/README.md +0 -7
  1001. package/chips/_chips-theme.scss +0 -49
  1002. package/chips/chip-list.d.ts +0 -66
  1003. package/chips/chip-list.js +0 -210
  1004. package/chips/chip-list.js.map +0 -1
  1005. package/chips/chip-list.metadata.json +0 -1
  1006. package/chips/chip.d.ts +0 -53
  1007. package/chips/chip.js +0 -177
  1008. package/chips/chip.js.map +0 -1
  1009. package/chips/chip.metadata.json +0 -1
  1010. package/chips/chips.css +0 -1
  1011. package/chips/chips.css.map +0 -1
  1012. package/chips/chips.scss +0 -80
  1013. package/chips/index.js +0 -4
  1014. package/chips/index.js.map +0 -1
  1015. package/core/README.md +0 -1
  1016. package/core/_core.scss +0 -27
  1017. package/core/a11y/README.md +0 -30
  1018. package/core/a11y/_a11y.scss +0 -24
  1019. package/core/a11y/fake-mousedown.d.ts +0 -8
  1020. package/core/a11y/fake-mousedown.js +0 -12
  1021. package/core/a11y/fake-mousedown.js.map +0 -1
  1022. package/core/a11y/fake-mousedown.metadata.json +0 -1
  1023. package/core/a11y/focus-trap.d.ts +0 -41
  1024. package/core/a11y/focus-trap.html +0 -1
  1025. package/core/a11y/focus-trap.js +0 -129
  1026. package/core/a11y/focus-trap.js.map +0 -1
  1027. package/core/a11y/focus-trap.metadata.json +0 -1
  1028. package/core/a11y/index.d.ts +0 -7
  1029. package/core/a11y/index.js +0 -40
  1030. package/core/a11y/index.js.map +0 -1
  1031. package/core/a11y/index.metadata.json +0 -1
  1032. package/core/a11y/interactivity-checker.d.ts +0 -45
  1033. package/core/a11y/interactivity-checker.js +0 -210
  1034. package/core/a11y/interactivity-checker.js.map +0 -1
  1035. package/core/a11y/interactivity-checker.metadata.json +0 -1
  1036. package/core/a11y/list-key-manager.d.ts +0 -83
  1037. package/core/a11y/list-key-manager.js +0 -157
  1038. package/core/a11y/list-key-manager.js.map +0 -1
  1039. package/core/a11y/list-key-manager.metadata.json +0 -1
  1040. package/core/a11y/live-announcer.d.ts +0 -17
  1041. package/core/a11y/live-announcer.js +0 -63
  1042. package/core/a11y/live-announcer.js.map +0 -1
  1043. package/core/a11y/live-announcer.metadata.json +0 -1
  1044. package/core/animation/animation.d.ts +0 -13
  1045. package/core/animation/animation.js +0 -21
  1046. package/core/animation/animation.js.map +0 -1
  1047. package/core/animation/animation.metadata.json +0 -1
  1048. package/core/async/promise-completer.d.ts +0 -7
  1049. package/core/async/promise-completer.js +0 -13
  1050. package/core/async/promise-completer.js.map +0 -1
  1051. package/core/async/promise-completer.metadata.json +0 -1
  1052. package/core/coercion/boolean-property.d.ts +0 -2
  1053. package/core/coercion/boolean-property.js +0 -6
  1054. package/core/coercion/boolean-property.js.map +0 -1
  1055. package/core/coercion/boolean-property.metadata.json +0 -1
  1056. package/core/coercion/number-property.d.ts +0 -2
  1057. package/core/coercion/number-property.js +0 -10
  1058. package/core/coercion/number-property.js.map +0 -1
  1059. package/core/coercion/number-property.metadata.json +0 -1
  1060. package/core/compatibility/default-mode.d.ts +0 -19
  1061. package/core/compatibility/default-mode.js +0 -61
  1062. package/core/compatibility/default-mode.js.map +0 -1
  1063. package/core/compatibility/default-mode.metadata.json +0 -1
  1064. package/core/compatibility/no-conflict-mode.d.ts +0 -10
  1065. package/core/compatibility/no-conflict-mode.js +0 -47
  1066. package/core/compatibility/no-conflict-mode.js.map +0 -1
  1067. package/core/compatibility/no-conflict-mode.metadata.json +0 -1
  1068. package/core/coordination/unique-selection-dispatcher.d.ts +0 -21
  1069. package/core/coordination/unique-selection-dispatcher.js +0 -46
  1070. package/core/coordination/unique-selection-dispatcher.js.map +0 -1
  1071. package/core/coordination/unique-selection-dispatcher.metadata.json +0 -1
  1072. package/core/core.d.ts +0 -45
  1073. package/core/core.js +0 -110
  1074. package/core/core.js.map +0 -1
  1075. package/core/core.metadata.json +0 -1
  1076. package/core/errors/error.d.ts +0 -7
  1077. package/core/errors/error.js +0 -20
  1078. package/core/errors/error.js.map +0 -1
  1079. package/core/errors/error.metadata.json +0 -1
  1080. package/core/gestures/gesture-annotations.d.ts +0 -44
  1081. package/core/gestures/gesture-annotations.js +0 -7
  1082. package/core/gestures/gesture-annotations.js.map +0 -1
  1083. package/core/gestures/gesture-config.js +0 -85
  1084. package/core/gestures/gesture-config.js.map +0 -1
  1085. package/core/gestures/gesture-config.metadata.json +0 -1
  1086. package/core/index.js +0 -3
  1087. package/core/index.js.map +0 -1
  1088. package/core/keyboard/keycodes.d.ts +0 -14
  1089. package/core/keyboard/keycodes.js +0 -20
  1090. package/core/keyboard/keycodes.js.map +0 -1
  1091. package/core/keyboard/keycodes.metadata.json +0 -1
  1092. package/core/line/line.d.ts +0 -23
  1093. package/core/line/line.js +0 -74
  1094. package/core/line/line.js.map +0 -1
  1095. package/core/line/line.metadata.json +0 -1
  1096. package/core/observe-content/observe-content.d.ts +0 -17
  1097. package/core/observe-content/observe-content.js +0 -66
  1098. package/core/observe-content/observe-content.js.map +0 -1
  1099. package/core/observe-content/observe-content.metadata.json +0 -1
  1100. package/core/overlay/_overlay.scss +0 -68
  1101. package/core/overlay/generic-component-type.d.ts +0 -3
  1102. package/core/overlay/generic-component-type.js +0 -3
  1103. package/core/overlay/generic-component-type.js.map +0 -1
  1104. package/core/overlay/overlay-container.d.ts +0 -19
  1105. package/core/overlay/overlay-container.js +0 -33
  1106. package/core/overlay/overlay-container.js.map +0 -1
  1107. package/core/overlay/overlay-container.metadata.json +0 -1
  1108. package/core/overlay/overlay-directives.d.ts +0 -80
  1109. package/core/overlay/overlay-directives.js +0 -316
  1110. package/core/overlay/overlay-directives.js.map +0 -1
  1111. package/core/overlay/overlay-directives.metadata.json +0 -1
  1112. package/core/overlay/overlay-ref.d.ts +0 -56
  1113. package/core/overlay/overlay-ref.js +0 -155
  1114. package/core/overlay/overlay-ref.js.map +0 -1
  1115. package/core/overlay/overlay-ref.metadata.json +0 -1
  1116. package/core/overlay/overlay-state.d.ts +0 -24
  1117. package/core/overlay/overlay-state.js +0 -17
  1118. package/core/overlay/overlay-state.js.map +0 -1
  1119. package/core/overlay/overlay-state.metadata.json +0 -1
  1120. package/core/overlay/overlay.d.ts +0 -54
  1121. package/core/overlay/overlay.js +0 -97
  1122. package/core/overlay/overlay.js.map +0 -1
  1123. package/core/overlay/overlay.metadata.json +0 -1
  1124. package/core/overlay/position/connected-position-strategy.d.ts +0 -133
  1125. package/core/overlay/position/connected-position-strategy.js +0 -292
  1126. package/core/overlay/position/connected-position-strategy.js.map +0 -1
  1127. package/core/overlay/position/connected-position-strategy.metadata.json +0 -1
  1128. package/core/overlay/position/connected-position.d.ts +0 -56
  1129. package/core/overlay/position/connected-position.js +0 -65
  1130. package/core/overlay/position/connected-position.js.map +0 -1
  1131. package/core/overlay/position/connected-position.metadata.json +0 -1
  1132. package/core/overlay/position/fake-viewport-ruler.d.ts +0 -15
  1133. package/core/overlay/position/fake-viewport-ruler.js +0 -16
  1134. package/core/overlay/position/fake-viewport-ruler.js.map +0 -1
  1135. package/core/overlay/position/fake-viewport-ruler.metadata.json +0 -1
  1136. package/core/overlay/position/global-position-strategy.d.ts +0 -75
  1137. package/core/overlay/position/global-position-strategy.js +0 -148
  1138. package/core/overlay/position/global-position-strategy.js.map +0 -1
  1139. package/core/overlay/position/global-position-strategy.metadata.json +0 -1
  1140. package/core/overlay/position/overlay-position-builder.d.ts +0 -21
  1141. package/core/overlay/position/overlay-position-builder.js +0 -41
  1142. package/core/overlay/position/overlay-position-builder.js.map +0 -1
  1143. package/core/overlay/position/overlay-position-builder.metadata.json +0 -1
  1144. package/core/overlay/position/position-strategy.d.ts +0 -7
  1145. package/core/overlay/position/position-strategy.js +0 -3
  1146. package/core/overlay/position/position-strategy.js.map +0 -1
  1147. package/core/overlay/position/relative-position-strategy.d.ts +0 -9
  1148. package/core/overlay/position/relative-position-strategy.js +0 -16
  1149. package/core/overlay/position/relative-position-strategy.js.map +0 -1
  1150. package/core/overlay/position/relative-position-strategy.metadata.json +0 -1
  1151. package/core/overlay/position/viewport-ruler.d.ts +0 -16
  1152. package/core/overlay/position/viewport-ruler.js +0 -67
  1153. package/core/overlay/position/viewport-ruler.js.map +0 -1
  1154. package/core/overlay/position/viewport-ruler.metadata.json +0 -1
  1155. package/core/overlay/scroll/scroll-dispatcher.d.ts +0 -44
  1156. package/core/overlay/scroll/scroll-dispatcher.js +0 -94
  1157. package/core/overlay/scroll/scroll-dispatcher.js.map +0 -1
  1158. package/core/overlay/scroll/scroll-dispatcher.metadata.json +0 -1
  1159. package/core/overlay/scroll/scrollable.d.ts +0 -21
  1160. package/core/overlay/scroll/scrollable.js +0 -48
  1161. package/core/overlay/scroll/scrollable.js.map +0 -1
  1162. package/core/overlay/scroll/scrollable.metadata.json +0 -1
  1163. package/core/platform/features.d.ts +0 -2
  1164. package/core/platform/features.js +0 -37
  1165. package/core/platform/features.js.map +0 -1
  1166. package/core/platform/features.metadata.json +0 -1
  1167. package/core/platform/index.d.ts +0 -6
  1168. package/core/platform/index.js +0 -30
  1169. package/core/platform/index.js.map +0 -1
  1170. package/core/platform/index.metadata.json +0 -1
  1171. package/core/platform/platform.d.ts +0 -16
  1172. package/core/platform/platform.js +0 -48
  1173. package/core/platform/platform.js.map +0 -1
  1174. package/core/platform/platform.metadata.json +0 -1
  1175. package/core/portal/README.md +0 -72
  1176. package/core/portal/dom-portal-host.d.ts +0 -31
  1177. package/core/portal/dom-portal-host.js +0 -108
  1178. package/core/portal/dom-portal-host.js.map +0 -1
  1179. package/core/portal/dom-portal-host.metadata.json +0 -1
  1180. package/core/portal/portal-directives.d.ts +0 -49
  1181. package/core/portal/portal-directives.js +0 -148
  1182. package/core/portal/portal-directives.js.map +0 -1
  1183. package/core/portal/portal-directives.metadata.json +0 -1
  1184. package/core/portal/portal-errors.d.ts +0 -43
  1185. package/core/portal/portal-errors.js +0 -75
  1186. package/core/portal/portal-errors.js.map +0 -1
  1187. package/core/portal/portal-errors.metadata.json +0 -1
  1188. package/core/portal/portal.d.ts +0 -85
  1189. package/core/portal/portal.js +0 -155
  1190. package/core/portal/portal.js.map +0 -1
  1191. package/core/portal/portal.metadata.json +0 -1
  1192. package/core/projection/projection.d.ts +0 -45
  1193. package/core/projection/projection.js +0 -111
  1194. package/core/projection/projection.js.map +0 -1
  1195. package/core/projection/projection.metadata.json +0 -1
  1196. package/core/ripple/README.md +0 -27
  1197. package/core/ripple/_ripple.scss +0 -106
  1198. package/core/ripple/ripple-renderer.d.ts +0 -76
  1199. package/core/ripple/ripple-renderer.js +0 -177
  1200. package/core/ripple/ripple-renderer.js.map +0 -1
  1201. package/core/ripple/ripple-renderer.metadata.json +0 -1
  1202. package/core/ripple/ripple.d.ts +0 -92
  1203. package/core/ripple/ripple.js +0 -295
  1204. package/core/ripple/ripple.js.map +0 -1
  1205. package/core/ripple/ripple.metadata.json +0 -1
  1206. package/core/rtl/dir.d.ts +0 -21
  1207. package/core/rtl/dir.js +0 -87
  1208. package/core/rtl/dir.js.map +0 -1
  1209. package/core/rtl/dir.metadata.json +0 -1
  1210. package/core/style/_button-common.scss +0 -7
  1211. package/core/style/_elevation.scss +0 -174
  1212. package/core/style/_form-common.scss +0 -12
  1213. package/core/style/_layout-common.scss +0 -8
  1214. package/core/style/_list-common.scss +0 -49
  1215. package/core/style/_menu-common.scss +0 -89
  1216. package/core/style/_variables.scss +0 -64
  1217. package/core/style/apply-transform.d.ts +0 -6
  1218. package/core/style/apply-transform.js +0 -14
  1219. package/core/style/apply-transform.js.map +0 -1
  1220. package/core/style/apply-transform.metadata.json +0 -1
  1221. package/core/theming/_all-theme.scss +0 -52
  1222. package/core/theming/_palette.scss +0 -694
  1223. package/core/theming/_theming.scss +0 -84
  1224. package/core/theming/prebuilt/deeppurple-amber.css +0 -1
  1225. package/core/theming/prebuilt/deeppurple-amber.css.map +0 -1
  1226. package/core/theming/prebuilt/deeppurple-amber.scss +0 -14
  1227. package/core/theming/prebuilt/indigo-pink.css +0 -1
  1228. package/core/theming/prebuilt/indigo-pink.css.map +0 -1
  1229. package/core/theming/prebuilt/indigo-pink.scss +0 -14
  1230. package/core/theming/prebuilt/pink-bluegrey.css +0 -1
  1231. package/core/theming/prebuilt/pink-bluegrey.css.map +0 -1
  1232. package/core/theming/prebuilt/pink-bluegrey.scss +0 -14
  1233. package/core/theming/prebuilt/purple-green.css +0 -1
  1234. package/core/theming/prebuilt/purple-green.css.map +0 -1
  1235. package/core/theming/prebuilt/purple-green.scss +0 -14
  1236. package/core/typography/_typography.scss +0 -6
  1237. package/core/util/object-extend.d.ts +0 -8
  1238. package/core/util/object-extend.js +0 -29
  1239. package/core/util/object-extend.js.map +0 -1
  1240. package/core/util/object-extend.metadata.json +0 -1
  1241. package/core.js +0 -3
  1242. package/core.js.map +0 -1
  1243. package/dialog/OVERVIEW.md +0 -39
  1244. package/dialog/README.md +0 -102
  1245. package/dialog/_dialog-theme.scss +0 -11
  1246. package/dialog/dialog-config.d.ts +0 -26
  1247. package/dialog/dialog-config.js +0 -19
  1248. package/dialog/dialog-config.js.map +0 -1
  1249. package/dialog/dialog-config.metadata.json +0 -1
  1250. package/dialog/dialog-container.d.ts +0 -37
  1251. package/dialog/dialog-container.html +0 -1
  1252. package/dialog/dialog-container.js +0 -97
  1253. package/dialog/dialog-container.js.map +0 -1
  1254. package/dialog/dialog-container.metadata.json +0 -1
  1255. package/dialog/dialog-content-directives.d.ts +0 -26
  1256. package/dialog/dialog-content-directives.js +0 -81
  1257. package/dialog/dialog-content-directives.js.map +0 -1
  1258. package/dialog/dialog-content-directives.metadata.json +0 -1
  1259. package/dialog/dialog-errors.d.ts +0 -8
  1260. package/dialog/dialog-errors.js +0 -19
  1261. package/dialog/dialog-errors.js.map +0 -1
  1262. package/dialog/dialog-errors.metadata.json +0 -1
  1263. package/dialog/dialog-injector.d.ts +0 -9
  1264. package/dialog/dialog-injector.js +0 -17
  1265. package/dialog/dialog-injector.js.map +0 -1
  1266. package/dialog/dialog-injector.metadata.json +0 -1
  1267. package/dialog/dialog-ref.d.ts +0 -22
  1268. package/dialog/dialog-ref.js +0 -31
  1269. package/dialog/dialog-ref.js.map +0 -1
  1270. package/dialog/dialog-ref.metadata.json +0 -1
  1271. package/dialog/dialog.css +0 -1
  1272. package/dialog/dialog.css.map +0 -1
  1273. package/dialog/dialog.d.ts +0 -57
  1274. package/dialog/dialog.js +0 -157
  1275. package/dialog/dialog.js.map +0 -1
  1276. package/dialog/dialog.metadata.json +0 -1
  1277. package/dialog/dialog.scss +0 -54
  1278. package/dialog/index.js +0 -59
  1279. package/dialog/index.js.map +0 -1
  1280. package/grid-list/OVERVIEW.md +0 -43
  1281. package/grid-list/README.md +0 -105
  1282. package/grid-list/_grid-list-theme.scss +0 -6
  1283. package/grid-list/grid-list-errors.d.ts +0 -22
  1284. package/grid-list/grid-list-errors.js +0 -41
  1285. package/grid-list/grid-list-errors.js.map +0 -1
  1286. package/grid-list/grid-list-errors.metadata.json +0 -1
  1287. package/grid-list/grid-list-measure.d.ts +0 -10
  1288. package/grid-list/grid-list-measure.js +0 -16
  1289. package/grid-list/grid-list-measure.js.map +0 -1
  1290. package/grid-list/grid-list-measure.metadata.json +0 -1
  1291. package/grid-list/grid-list.css +0 -1
  1292. package/grid-list/grid-list.css.map +0 -1
  1293. package/grid-list/grid-list.d.ts +0 -49
  1294. package/grid-list/grid-list.html +0 -1
  1295. package/grid-list/grid-list.js +0 -166
  1296. package/grid-list/grid-list.js.map +0 -1
  1297. package/grid-list/grid-list.metadata.json +0 -1
  1298. package/grid-list/grid-list.scss +0 -91
  1299. package/grid-list/grid-tile-text.html +0 -1
  1300. package/grid-list/grid-tile.d.ts +0 -30
  1301. package/grid-list/grid-tile.html +0 -1
  1302. package/grid-list/grid-tile.js +0 -81
  1303. package/grid-list/grid-tile.js.map +0 -1
  1304. package/grid-list/grid-tile.metadata.json +0 -1
  1305. package/grid-list/index.js +0 -3
  1306. package/grid-list/index.js.map +0 -1
  1307. package/grid-list/tile-coordinator.d.ts +0 -56
  1308. package/grid-list/tile-coordinator.js +0 -129
  1309. package/grid-list/tile-coordinator.js.map +0 -1
  1310. package/grid-list/tile-coordinator.metadata.json +0 -1
  1311. package/grid-list/tile-styler.d.ts +0 -112
  1312. package/grid-list/tile-styler.js +0 -211
  1313. package/grid-list/tile-styler.js.map +0 -1
  1314. package/grid-list/tile-styler.metadata.json +0 -1
  1315. package/icon/OVERVIEW.md +0 -88
  1316. package/icon/README.md +0 -129
  1317. package/icon/_icon-theme.scss +0 -25
  1318. package/icon/fake-svgs.d.ts +0 -6
  1319. package/icon/fake-svgs.js +0 -31
  1320. package/icon/fake-svgs.js.map +0 -1
  1321. package/icon/fake-svgs.metadata.json +0 -1
  1322. package/icon/icon-registry.d.ts +0 -180
  1323. package/icon/icon-registry.js +0 -413
  1324. package/icon/icon-registry.js.map +0 -1
  1325. package/icon/icon-registry.metadata.json +0 -1
  1326. package/icon/icon.css +0 -1
  1327. package/icon/icon.css.map +0 -1
  1328. package/icon/icon.d.ts +0 -91
  1329. package/icon/icon.js +0 -264
  1330. package/icon/icon.js.map +0 -1
  1331. package/icon/icon.metadata.json +0 -1
  1332. package/icon/icon.scss +0 -13
  1333. package/icon/index.js +0 -3
  1334. package/icon/index.js.map +0 -1
  1335. package/index.d.ts +0 -25
  1336. package/index.js +0 -27
  1337. package/index.js.map +0 -1
  1338. package/index.metadata.json +0 -1
  1339. package/input/OVERVIEW.md +0 -72
  1340. package/input/README.md +0 -183
  1341. package/input/_input-theme.scss +0 -62
  1342. package/input/autosize.d.ts +0 -29
  1343. package/input/autosize.js +0 -94
  1344. package/input/autosize.js.map +0 -1
  1345. package/input/autosize.metadata.json +0 -1
  1346. package/input/index.js +0 -6
  1347. package/input/index.js.map +0 -1
  1348. package/input/input-container-errors.d.ts +0 -17
  1349. package/input/input-container-errors.js +0 -41
  1350. package/input/input-container-errors.js.map +0 -1
  1351. package/input/input-container-errors.metadata.json +0 -1
  1352. package/input/input-container.css +0 -1
  1353. package/input/input-container.css.map +0 -1
  1354. package/input/input-container.d.ts +0 -95
  1355. package/input/input-container.html +0 -1
  1356. package/input/input-container.js +0 -352
  1357. package/input/input-container.js.map +0 -1
  1358. package/input/input-container.metadata.json +0 -1
  1359. package/input/input-container.scss +0 -32
  1360. package/input/input.css +0 -1
  1361. package/input/input.css.map +0 -1
  1362. package/input/input.d.ts +0 -184
  1363. package/input/input.html +0 -1
  1364. package/input/input.js +0 -564
  1365. package/input/input.js.map +0 -1
  1366. package/input/input.metadata.json +0 -1
  1367. package/input/input.scss +0 -202
  1368. package/list/OVERVIEW.md +0 -124
  1369. package/list/README.md +0 -154
  1370. package/list/_list-theme.scss +0 -28
  1371. package/list/index.js +0 -3
  1372. package/list/index.js.map +0 -1
  1373. package/list/list-item.html +0 -1
  1374. package/list/list.css +0 -1
  1375. package/list/list.css.map +0 -1
  1376. package/list/list.d.ts +0 -23
  1377. package/list/list.js +0 -119
  1378. package/list/list.js.map +0 -1
  1379. package/list/list.metadata.json +0 -1
  1380. package/list/list.scss +0 -181
  1381. package/menu/OVERVIEW.md +0 -62
  1382. package/menu/README.md +0 -171
  1383. package/menu/_menu-theme.scss +0 -29
  1384. package/menu/index.js +0 -7
  1385. package/menu/index.js.map +0 -1
  1386. package/menu/menu-animations.d.ts +0 -19
  1387. package/menu/menu-animations.js +0 -43
  1388. package/menu/menu-animations.js.map +0 -1
  1389. package/menu/menu-animations.metadata.json +0 -1
  1390. package/menu/menu-directive.d.ts +0 -46
  1391. package/menu/menu-directive.js +0 -136
  1392. package/menu/menu-directive.js.map +0 -1
  1393. package/menu/menu-directive.metadata.json +0 -1
  1394. package/menu/menu-errors.d.ts +0 -24
  1395. package/menu/menu-errors.js +0 -43
  1396. package/menu/menu-errors.js.map +0 -1
  1397. package/menu/menu-errors.metadata.json +0 -1
  1398. package/menu/menu-item.d.ts +0 -20
  1399. package/menu/menu-item.html +0 -1
  1400. package/menu/menu-item.js +0 -77
  1401. package/menu/menu-item.js.map +0 -1
  1402. package/menu/menu-item.metadata.json +0 -1
  1403. package/menu/menu-panel.d.ts +0 -10
  1404. package/menu/menu-panel.js +0 -3
  1405. package/menu/menu-panel.js.map +0 -1
  1406. package/menu/menu-positions.d.ts +0 -2
  1407. package/menu/menu-positions.js +0 -3
  1408. package/menu/menu-positions.js.map +0 -1
  1409. package/menu/menu-trigger.d.ts +0 -92
  1410. package/menu/menu-trigger.js +0 -246
  1411. package/menu/menu-trigger.js.map +0 -1
  1412. package/menu/menu-trigger.metadata.json +0 -1
  1413. package/menu/menu.css +0 -1
  1414. package/menu/menu.css.map +0 -1
  1415. package/menu/menu.d.ts +0 -9
  1416. package/menu/menu.html +0 -1
  1417. package/menu/menu.js +0 -40
  1418. package/menu/menu.js.map +0 -1
  1419. package/menu/menu.metadata.json +0 -1
  1420. package/menu/menu.scss +0 -44
  1421. package/module.d.ts +0 -6
  1422. package/module.js +0 -132
  1423. package/module.js.map +0 -1
  1424. package/module.metadata.json +0 -1
  1425. package/progress-bar/OVERVIEW.md +0 -30
  1426. package/progress-bar/README.md +0 -54
  1427. package/progress-bar/_progress-bar-theme.scss +0 -70
  1428. package/progress-bar/index.js +0 -3
  1429. package/progress-bar/index.js.map +0 -1
  1430. package/progress-bar/progress-bar.css +0 -1
  1431. package/progress-bar/progress-bar.css.map +0 -1
  1432. package/progress-bar/progress-bar.d.ts +0 -36
  1433. package/progress-bar/progress-bar.html +0 -1
  1434. package/progress-bar/progress-bar.js +0 -124
  1435. package/progress-bar/progress-bar.js.map +0 -1
  1436. package/progress-bar/progress-bar.metadata.json +0 -1
  1437. package/progress-bar/progress-bar.scss +0 -230
  1438. package/progress-spinner/OVERVIEW.md +0 -23
  1439. package/progress-spinner/README.md +0 -51
  1440. package/progress-spinner/_progress-spinner-theme.scss +0 -23
  1441. package/progress-spinner/index.js +0 -4
  1442. package/progress-spinner/index.js.map +0 -1
  1443. package/progress-spinner/progress-circle.d.ts +0 -4
  1444. package/progress-spinner/progress-circle.js +0 -6
  1445. package/progress-spinner/progress-circle.js.map +0 -1
  1446. package/progress-spinner/progress-circle.metadata.json +0 -1
  1447. package/progress-spinner/progress-spinner.css +0 -1
  1448. package/progress-spinner/progress-spinner.css.map +0 -1
  1449. package/progress-spinner/progress-spinner.d.ts +0 -80
  1450. package/progress-spinner/progress-spinner.html +0 -1
  1451. package/progress-spinner/progress-spinner.js +0 -337
  1452. package/progress-spinner/progress-spinner.js.map +0 -1
  1453. package/progress-spinner/progress-spinner.metadata.json +0 -1
  1454. package/progress-spinner/progress-spinner.scss +0 -68
  1455. package/radio/OVERVIEW.md +0 -29
  1456. package/radio/README.md +0 -55
  1457. package/radio/_radio-theme.scss +0 -39
  1458. package/radio/index.js +0 -3
  1459. package/radio/index.js.map +0 -1
  1460. package/radio/radio.css +0 -1
  1461. package/radio/radio.css.map +0 -1
  1462. package/radio/radio.d.ts +0 -179
  1463. package/radio/radio.html +0 -1
  1464. package/radio/radio.js +0 -552
  1465. package/radio/radio.js.map +0 -1
  1466. package/radio/radio.metadata.json +0 -1
  1467. package/radio/radio.scss +0 -102
  1468. package/select/OVERVIEW.md +0 -8
  1469. package/select/README.md +0 -3
  1470. package/select/_select-theme.scss +0 -64
  1471. package/select/index.js +0 -38
  1472. package/select/index.js.map +0 -1
  1473. package/select/option.d.ts +0 -44
  1474. package/select/option.html +0 -1
  1475. package/select/option.js +0 -135
  1476. package/select/option.js.map +0 -1
  1477. package/select/option.metadata.json +0 -1
  1478. package/select/select-animations.d.ts +0 -29
  1479. package/select/select-animations.js +0 -66
  1480. package/select/select-animations.js.map +0 -1
  1481. package/select/select-animations.metadata.json +0 -1
  1482. package/select/select.css +0 -1
  1483. package/select/select.css.map +0 -1
  1484. package/select/select.d.ts +0 -258
  1485. package/select/select.html +0 -1
  1486. package/select/select.js +0 -604
  1487. package/select/select.js.map +0 -1
  1488. package/select/select.metadata.json +0 -1
  1489. package/select/select.scss +0 -131
  1490. package/sidenav/OVERVIEW.md +0 -70
  1491. package/sidenav/README.md +0 -166
  1492. package/sidenav/_sidenav-theme.scss +0 -37
  1493. package/sidenav/index.js +0 -3
  1494. package/sidenav/index.js.map +0 -1
  1495. package/sidenav/sidenav-container.html +0 -1
  1496. package/sidenav/sidenav-transitions.css +0 -1
  1497. package/sidenav/sidenav-transitions.css.map +0 -1
  1498. package/sidenav/sidenav-transitions.scss +0 -14
  1499. package/sidenav/sidenav.css +0 -1
  1500. package/sidenav/sidenav.css.map +0 -1
  1501. package/sidenav/sidenav.d.ts +0 -182
  1502. package/sidenav/sidenav.html +0 -1
  1503. package/sidenav/sidenav.js +0 -580
  1504. package/sidenav/sidenav.js.map +0 -1
  1505. package/sidenav/sidenav.metadata.json +0 -1
  1506. package/sidenav/sidenav.scss +0 -151
  1507. package/slide-toggle/OVERVIEW.md +0 -24
  1508. package/slide-toggle/README.md +0 -66
  1509. package/slide-toggle/_slide-toggle-theme.scss +0 -89
  1510. package/slide-toggle/index.js +0 -3
  1511. package/slide-toggle/index.js.map +0 -1
  1512. package/slide-toggle/slide-toggle.css +0 -1
  1513. package/slide-toggle/slide-toggle.css.map +0 -1
  1514. package/slide-toggle/slide-toggle.d.ts +0 -84
  1515. package/slide-toggle/slide-toggle.html +0 -1
  1516. package/slide-toggle/slide-toggle.js +0 -347
  1517. package/slide-toggle/slide-toggle.js.map +0 -1
  1518. package/slide-toggle/slide-toggle.metadata.json +0 -1
  1519. package/slide-toggle/slide-toggle.scss +0 -158
  1520. package/slider/OVERVIEW.md +0 -87
  1521. package/slider/README.md +0 -150
  1522. package/slider/_slider-theme.scss +0 -32
  1523. package/slider/index.js +0 -3
  1524. package/slider/index.js.map +0 -1
  1525. package/slider/slider.css +0 -1
  1526. package/slider/slider.css.map +0 -1
  1527. package/slider/slider.d.ts +0 -176
  1528. package/slider/slider.html +0 -1
  1529. package/slider/slider.js +0 -609
  1530. package/slider/slider.js.map +0 -1
  1531. package/slider/slider.metadata.json +0 -1
  1532. package/slider/slider.scss +0 -307
  1533. package/slider/test-gesture-config.d.ts +0 -21
  1534. package/slider/test-gesture-config.js +0 -60
  1535. package/slider/test-gesture-config.js.map +0 -1
  1536. package/slider/test-gesture-config.metadata.json +0 -1
  1537. package/snack-bar/OVERVIEW.md +0 -47
  1538. package/snack-bar/README.md +0 -37
  1539. package/snack-bar/index.js +0 -6
  1540. package/snack-bar/index.js.map +0 -1
  1541. package/snack-bar/simple-snack-bar.css +0 -1
  1542. package/snack-bar/simple-snack-bar.css.map +0 -1
  1543. package/snack-bar/simple-snack-bar.d.ts +0 -17
  1544. package/snack-bar/simple-snack-bar.html +0 -1
  1545. package/snack-bar/simple-snack-bar.js +0 -38
  1546. package/snack-bar/simple-snack-bar.js.map +0 -1
  1547. package/snack-bar/simple-snack-bar.metadata.json +0 -1
  1548. package/snack-bar/simple-snack-bar.scss +0 -28
  1549. package/snack-bar/snack-bar-config.d.ts +0 -15
  1550. package/snack-bar/snack-bar-config.js +0 -18
  1551. package/snack-bar/snack-bar-config.js.map +0 -1
  1552. package/snack-bar/snack-bar-config.metadata.json +0 -1
  1553. package/snack-bar/snack-bar-container.css +0 -1
  1554. package/snack-bar/snack-bar-container.css.map +0 -1
  1555. package/snack-bar/snack-bar-container.d.ts +0 -43
  1556. package/snack-bar/snack-bar-container.html +0 -1
  1557. package/snack-bar/snack-bar-container.js +0 -124
  1558. package/snack-bar/snack-bar-container.js.map +0 -1
  1559. package/snack-bar/snack-bar-container.metadata.json +0 -1
  1560. package/snack-bar/snack-bar-container.scss +0 -27
  1561. package/snack-bar/snack-bar-errors.d.ts +0 -8
  1562. package/snack-bar/snack-bar-errors.js +0 -19
  1563. package/snack-bar/snack-bar-errors.js.map +0 -1
  1564. package/snack-bar/snack-bar-errors.metadata.json +0 -1
  1565. package/snack-bar/snack-bar-ref.d.ts +0 -38
  1566. package/snack-bar/snack-bar-ref.js +0 -70
  1567. package/snack-bar/snack-bar-ref.js.map +0 -1
  1568. package/snack-bar/snack-bar-ref.metadata.json +0 -1
  1569. package/snack-bar/snack-bar.d.ts +0 -45
  1570. package/snack-bar/snack-bar.js +0 -145
  1571. package/snack-bar/snack-bar.js.map +0 -1
  1572. package/snack-bar/snack-bar.metadata.json +0 -1
  1573. package/system-config-spec.d.ts +0 -2
  1574. package/tabs/OVERVIEW.md +0 -81
  1575. package/tabs/README.md +0 -64
  1576. package/tabs/Tabs Pagination.png +0 -0
  1577. package/tabs/_tabs-common.scss +0 -42
  1578. package/tabs/_tabs-theme.scss +0 -24
  1579. package/tabs/index.js +0 -9
  1580. package/tabs/index.js.map +0 -1
  1581. package/tabs/ink-bar.d.ts +0 -27
  1582. package/tabs/ink-bar.js +0 -58
  1583. package/tabs/ink-bar.js.map +0 -1
  1584. package/tabs/ink-bar.metadata.json +0 -1
  1585. package/tabs/tab-body.d.ts +0 -59
  1586. package/tabs/tab-body.html +0 -1
  1587. package/tabs/tab-body.js +0 -157
  1588. package/tabs/tab-body.js.map +0 -1
  1589. package/tabs/tab-body.metadata.json +0 -1
  1590. package/tabs/tab-group.css +0 -1
  1591. package/tabs/tab-group.css.map +0 -1
  1592. package/tabs/tab-group.d.ts +0 -71
  1593. package/tabs/tab-group.html +0 -1
  1594. package/tabs/tab-group.js +0 -236
  1595. package/tabs/tab-group.js.map +0 -1
  1596. package/tabs/tab-group.metadata.json +0 -1
  1597. package/tabs/tab-group.scss +0 -59
  1598. package/tabs/tab-header.css +0 -1
  1599. package/tabs/tab-header.css.map +0 -1
  1600. package/tabs/tab-header.d.ts +0 -137
  1601. package/tabs/tab-header.html +0 -1
  1602. package/tabs/tab-header.js +0 -354
  1603. package/tabs/tab-header.js.map +0 -1
  1604. package/tabs/tab-header.metadata.json +0 -1
  1605. package/tabs/tab-header.scss +0 -85
  1606. package/tabs/tab-label-wrapper.d.ts +0 -15
  1607. package/tabs/tab-label-wrapper.js +0 -53
  1608. package/tabs/tab-label-wrapper.js.map +0 -1
  1609. package/tabs/tab-label-wrapper.metadata.json +0 -1
  1610. package/tabs/tab-label.d.ts +0 -6
  1611. package/tabs/tab-label.js +0 -32
  1612. package/tabs/tab-label.js.map +0 -1
  1613. package/tabs/tab-label.metadata.json +0 -1
  1614. package/tabs/tab-nav-bar/index.d.ts +0 -1
  1615. package/tabs/tab-nav-bar/index.js +0 -3
  1616. package/tabs/tab-nav-bar/index.js.map +0 -1
  1617. package/tabs/tab-nav-bar/index.metadata.json +0 -1
  1618. package/tabs/tab-nav-bar/tab-nav-bar.css +0 -1
  1619. package/tabs/tab-nav-bar/tab-nav-bar.css.map +0 -1
  1620. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -37
  1621. package/tabs/tab-nav-bar/tab-nav-bar.html +0 -1
  1622. package/tabs/tab-nav-bar/tab-nav-bar.js +0 -103
  1623. package/tabs/tab-nav-bar/tab-nav-bar.js.map +0 -1
  1624. package/tabs/tab-nav-bar/tab-nav-bar.metadata.json +0 -1
  1625. package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -26
  1626. package/tabs/tab.d.ts +0 -30
  1627. package/tabs/tab.html +0 -1
  1628. package/tabs/tab.js +0 -74
  1629. package/tabs/tab.js.map +0 -1
  1630. package/tabs/tab.metadata.json +0 -1
  1631. package/toolbar/OVERVIEW.md +0 -51
  1632. package/toolbar/README.md +0 -68
  1633. package/toolbar/_toolbar-theme.scss +0 -33
  1634. package/toolbar/index.js +0 -3
  1635. package/toolbar/index.js.map +0 -1
  1636. package/toolbar/toolbar.css +0 -1
  1637. package/toolbar/toolbar.css.map +0 -1
  1638. package/toolbar/toolbar.d.ts +0 -16
  1639. package/toolbar/toolbar.html +0 -1
  1640. package/toolbar/toolbar.js +0 -84
  1641. package/toolbar/toolbar.js.map +0 -1
  1642. package/toolbar/toolbar.metadata.json +0 -1
  1643. package/toolbar/toolbar.scss +0 -58
  1644. package/tooltip/OVERVIEW.md +0 -35
  1645. package/tooltip/README.md +0 -28
  1646. package/tooltip/_tooltip-theme.scss +0 -9
  1647. package/tooltip/index.js +0 -3
  1648. package/tooltip/index.js.map +0 -1
  1649. package/tooltip/tooltip-errors.d.ts +0 -8
  1650. package/tooltip/tooltip-errors.js +0 -19
  1651. package/tooltip/tooltip-errors.js.map +0 -1
  1652. package/tooltip/tooltip-errors.metadata.json +0 -1
  1653. package/tooltip/tooltip.css +0 -1
  1654. package/tooltip/tooltip.css.map +0 -1
  1655. package/tooltip/tooltip.d.ts +0 -116
  1656. package/tooltip/tooltip.html +0 -1
  1657. package/tooltip/tooltip.js +0 -387
  1658. package/tooltip/tooltip.js.map +0 -1
  1659. package/tooltip/tooltip.metadata.json +0 -1
  1660. package/tooltip/tooltip.scss +0 -26
  1661. package/tsconfig-srcs.json +0 -31
  1662. package/tsconfig.json +0 -34
  1663. package/typedoc.json +0 -20
  1664. package/typings.d.ts +0 -1
@@ -0,0 +1,1481 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google Inc. All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ import { Attribute, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ContentChildren, Directive, ElementRef, EventEmitter, Inject, InjectionToken, Input, NgModule, NgZone, Optional, Output, Renderer2, Self, ViewChild, ViewEncapsulation, isDevMode } from '@angular/core';
9
+ import { CommonModule } from '@angular/common';
10
+ import { __extends } from 'tslib';
11
+ import * as tslib_1 from 'tslib';
12
+ import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
13
+ import { Directionality } from '@angular/cdk/bidi';
14
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
15
+ import { SelectionModel } from '@angular/cdk/collections';
16
+ import { DOWN_ARROW, END, ENTER, HOME, SPACE, UP_ARROW } from '@angular/cdk/keycodes';
17
+ import { ConnectedOverlayDirective, Overlay, OverlayModule, ViewportRuler } from '@angular/cdk/overlay';
18
+ import { filter, first, startWith } from '@angular/cdk/rxjs';
19
+ import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
20
+ import { ErrorStateMatcher, MatCommonModule, MatOptgroup, MatOption, MatOptionModule, mixinDisabled, mixinTabIndex } from '@angular/material/core';
21
+ import { MatFormField, MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
22
+ import { merge } from 'rxjs/observable/merge';
23
+ import { Subject } from 'rxjs/Subject';
24
+ import { Subscription } from 'rxjs/Subscription';
25
+ import { animate, state, style, transition, trigger } from '@angular/animations';
26
+
27
+ /**
28
+ * This animation transforms the select's overlay panel on and off the page.
29
+ *
30
+ * When the panel is attached to the DOM, it expands its width by the amount of padding, scales it
31
+ * up to 100% on the Y axis, fades in its border, and translates slightly up and to the
32
+ * side to ensure the option text correctly overlaps the trigger text.
33
+ *
34
+ * When the panel is removed from the DOM, it simply fades out linearly.
35
+ */
36
+ var transformPanel = trigger('transformPanel', [
37
+ state('showing', style({
38
+ opacity: 1,
39
+ minWidth: 'calc(100% + 32px)',
40
+ transform: 'scaleY(1)'
41
+ })),
42
+ state('showing-multiple', style({
43
+ opacity: 1,
44
+ minWidth: 'calc(100% + 64px)',
45
+ transform: 'scaleY(1)'
46
+ })),
47
+ transition('void => *', [
48
+ style({
49
+ opacity: 0,
50
+ minWidth: '100%',
51
+ transform: 'scaleY(0)'
52
+ }),
53
+ animate('150ms cubic-bezier(0.25, 0.8, 0.25, 1)')
54
+ ]),
55
+ transition('* => void', [
56
+ animate('250ms 100ms linear', style({ opacity: 0 }))
57
+ ])
58
+ ]);
59
+ /**
60
+ * This animation fades in the background color and text content of the
61
+ * select's options. It is time delayed to occur 100ms after the overlay
62
+ * panel has transformed in.
63
+ */
64
+ var fadeInContent = trigger('fadeInContent', [
65
+ state('showing', style({ opacity: 1 })),
66
+ transition('void => showing', [
67
+ style({ opacity: 0 }),
68
+ animate('150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)')
69
+ ])
70
+ ]);
71
+
72
+ /**
73
+ * Returns an exception to be thrown when attempting to change a select's `multiple` option
74
+ * after initialization.
75
+ * \@docs-private
76
+ * @return {?}
77
+ */
78
+ function getMatSelectDynamicMultipleError() {
79
+ return Error('Cannot change `multiple` mode of select after initialization.');
80
+ }
81
+ /**
82
+ * Returns an exception to be thrown when attempting to assign a non-array value to a select
83
+ * in `multiple` mode. Note that `undefined` and `null` are still valid values to allow for
84
+ * resetting the value.
85
+ * \@docs-private
86
+ * @return {?}
87
+ */
88
+ function getMatSelectNonArrayValueError() {
89
+ return Error('Cannot assign truthy non-array value to select in `multiple` mode.');
90
+ }
91
+ /**
92
+ * Returns an exception to be thrown when assigning a non-function value to the comparator
93
+ * used to determine if a value corresponds to an option. Note that whether the function
94
+ * actually takes two values and returns a boolean is not checked.
95
+ * @return {?}
96
+ */
97
+ function getMatSelectNonFunctionValueError() {
98
+ return Error('Cannot assign a non-function value to `compareWith`.');
99
+ }
100
+
101
+ var nextUniqueId = 0;
102
+ /**
103
+ * The max height of the select's overlay panel
104
+ */
105
+ var SELECT_PANEL_MAX_HEIGHT = 256;
106
+ /**
107
+ * The panel's padding on the x-axis
108
+ */
109
+ var SELECT_PANEL_PADDING_X = 16;
110
+ /**
111
+ * The panel's x axis padding if it is indented (e.g. there is an option group).
112
+ */
113
+ var SELECT_PANEL_INDENT_PADDING_X = SELECT_PANEL_PADDING_X * 2;
114
+ /**
115
+ * The height of the select items in `em` units.
116
+ */
117
+ var SELECT_ITEM_HEIGHT_EM = 3;
118
+ /**
119
+ * Distance between the panel edge and the option text in
120
+ * multi-selection mode.
121
+ *
122
+ * (SELECT_PANEL_PADDING_X * 1.5) + 20 = 44
123
+ * The padding is multiplied by 1.5 because the checkbox's margin is half the padding.
124
+ * The checkbox width is 20px.
125
+ */
126
+ var SELECT_MULTIPLE_PANEL_PADDING_X = SELECT_PANEL_PADDING_X * 1.5 + 20;
127
+ /**
128
+ * The select panel will only "fit" inside the viewport if it is positioned at
129
+ * this value or more away from the viewport boundary.
130
+ */
131
+ var SELECT_PANEL_VIEWPORT_PADDING = 8;
132
+ /**
133
+ * Injection token that determines the scroll handling while a select is open.
134
+ */
135
+ var MAT_SELECT_SCROLL_STRATEGY = new InjectionToken('mat-select-scroll-strategy');
136
+ /**
137
+ * \@docs-private
138
+ * @param {?} overlay
139
+ * @return {?}
140
+ */
141
+ function MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {
142
+ return function () { return overlay.scrollStrategies.reposition(); };
143
+ }
144
+ /**
145
+ * \@docs-private
146
+ */
147
+ var MAT_SELECT_SCROLL_STRATEGY_PROVIDER = {
148
+ provide: MAT_SELECT_SCROLL_STRATEGY,
149
+ deps: [Overlay],
150
+ useFactory: MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY,
151
+ };
152
+ /**
153
+ * Change event object that is emitted when the select value has changed.
154
+ */
155
+ var MatSelectChange = (function () {
156
+ /**
157
+ * @param {?} source
158
+ * @param {?} value
159
+ */
160
+ function MatSelectChange(source, value) {
161
+ this.source = source;
162
+ this.value = value;
163
+ }
164
+ return MatSelectChange;
165
+ }());
166
+ /**
167
+ * \@docs-private
168
+ */
169
+ var MatSelectBase = (function () {
170
+ /**
171
+ * @param {?} _renderer
172
+ * @param {?} _elementRef
173
+ */
174
+ function MatSelectBase(_renderer, _elementRef) {
175
+ this._renderer = _renderer;
176
+ this._elementRef = _elementRef;
177
+ }
178
+ return MatSelectBase;
179
+ }());
180
+ var _MatSelectMixinBase = mixinTabIndex(mixinDisabled(MatSelectBase));
181
+ /**
182
+ * Allows the user to customize the trigger that is displayed when the select has a value.
183
+ */
184
+ var MatSelectTrigger = (function () {
185
+ function MatSelectTrigger() {
186
+ }
187
+ MatSelectTrigger.decorators = [
188
+ { type: Directive, args: [{
189
+ selector: 'mat-select-trigger'
190
+ },] },
191
+ ];
192
+ /**
193
+ * @nocollapse
194
+ */
195
+ MatSelectTrigger.ctorParameters = function () { return []; };
196
+ return MatSelectTrigger;
197
+ }());
198
+ var MatSelect = (function (_super) {
199
+ __extends(MatSelect, _super);
200
+ /**
201
+ * @param {?} _viewportRuler
202
+ * @param {?} _changeDetectorRef
203
+ * @param {?} _ngZone
204
+ * @param {?} _defaultErrorStateMatcher
205
+ * @param {?} renderer
206
+ * @param {?} elementRef
207
+ * @param {?} _dir
208
+ * @param {?} _parentForm
209
+ * @param {?} _parentFormGroup
210
+ * @param {?} _parentFormField
211
+ * @param {?} ngControl
212
+ * @param {?} tabIndex
213
+ * @param {?} _scrollStrategyFactory
214
+ */
215
+ function MatSelect(_viewportRuler, _changeDetectorRef, _ngZone, _defaultErrorStateMatcher, renderer, elementRef, _dir, _parentForm, _parentFormGroup, _parentFormField, ngControl, tabIndex, _scrollStrategyFactory) {
216
+ var _this = _super.call(this, renderer, elementRef) || this;
217
+ _this._viewportRuler = _viewportRuler;
218
+ _this._changeDetectorRef = _changeDetectorRef;
219
+ _this._ngZone = _ngZone;
220
+ _this._defaultErrorStateMatcher = _defaultErrorStateMatcher;
221
+ _this._dir = _dir;
222
+ _this._parentForm = _parentForm;
223
+ _this._parentFormGroup = _parentFormGroup;
224
+ _this._parentFormField = _parentFormField;
225
+ _this.ngControl = ngControl;
226
+ _this._scrollStrategyFactory = _scrollStrategyFactory;
227
+ /**
228
+ * Whether or not the overlay panel is open.
229
+ */
230
+ _this._panelOpen = false;
231
+ /**
232
+ * Subscriptions to option events.
233
+ */
234
+ _this._optionSubscription = Subscription.EMPTY;
235
+ /**
236
+ * Subscription to changes in the option list.
237
+ */
238
+ _this._changeSubscription = Subscription.EMPTY;
239
+ /**
240
+ * Subscription to tab events while overlay is focused.
241
+ */
242
+ _this._tabSubscription = Subscription.EMPTY;
243
+ /**
244
+ * Whether filling out the select is required in the form.
245
+ */
246
+ _this._required = false;
247
+ /**
248
+ * The scroll position of the overlay panel, calculated to center the selected option.
249
+ */
250
+ _this._scrollTop = 0;
251
+ /**
252
+ * Whether the component is in multiple selection mode.
253
+ */
254
+ _this._multiple = false;
255
+ /**
256
+ * Comparison function to specify which option is displayed. Defaults to object equality.
257
+ */
258
+ _this._compareWith = function (o1, o2) { return o1 === o2; };
259
+ /**
260
+ * Unique id for this input.
261
+ */
262
+ _this._uid = "mat-select-" + nextUniqueId++;
263
+ /**
264
+ * The cached font-size of the trigger element.
265
+ */
266
+ _this._triggerFontSize = 0;
267
+ /**
268
+ * View -> model callback called when value changes
269
+ */
270
+ _this._onChange = function () { };
271
+ /**
272
+ * View -> model callback called when select has been touched
273
+ */
274
+ _this._onTouched = function () { };
275
+ /**
276
+ * The IDs of child options to be passed to the aria-owns attribute.
277
+ */
278
+ _this._optionIds = '';
279
+ /**
280
+ * The value of the select panel's transform-origin property.
281
+ */
282
+ _this._transformOrigin = 'top';
283
+ /**
284
+ * Whether the panel's animation is done.
285
+ */
286
+ _this._panelDoneAnimating = false;
287
+ /**
288
+ * Strategy that will be used to handle scrolling while the select panel is open.
289
+ */
290
+ _this._scrollStrategy = _this._scrollStrategyFactory();
291
+ /**
292
+ * The y-offset of the overlay panel in relation to the trigger's top start corner.
293
+ * This must be adjusted to align the selected option text over the trigger text.
294
+ * when the panel opens. Will change based on the y-position of the selected option.
295
+ */
296
+ _this._offsetY = 0;
297
+ /**
298
+ * This position config ensures that the top "start" corner of the overlay
299
+ * is aligned with with the top "start" of the origin by default (overlapping
300
+ * the trigger completely). If the panel cannot fit below the trigger, it
301
+ * will fall back to a position above the trigger.
302
+ */
303
+ _this._positions = [
304
+ {
305
+ originX: 'start',
306
+ originY: 'top',
307
+ overlayX: 'start',
308
+ overlayY: 'top',
309
+ },
310
+ {
311
+ originX: 'start',
312
+ originY: 'bottom',
313
+ overlayX: 'start',
314
+ overlayY: 'bottom',
315
+ },
316
+ ];
317
+ /**
318
+ * Stream that emits whenever the state of the select changes such that the wrapping
319
+ * `MatFormField` needs to run change detection.
320
+ */
321
+ _this.stateChanges = new Subject();
322
+ /**
323
+ * Whether the select is focused.
324
+ */
325
+ _this.focused = false;
326
+ /**
327
+ * A name for this control that can be used by `mat-form-field`.
328
+ */
329
+ _this.controlType = 'mat-select';
330
+ _this._disableRipple = false;
331
+ /**
332
+ * Aria label of the select. If not specified, the placeholder will be used as label.
333
+ */
334
+ _this.ariaLabel = '';
335
+ /**
336
+ * Event emitted when the select has been opened.
337
+ */
338
+ _this.onOpen = new EventEmitter();
339
+ /**
340
+ * Event emitted when the select has been closed.
341
+ */
342
+ _this.onClose = new EventEmitter();
343
+ /**
344
+ * Event emitted when the selected value has been changed by the user.
345
+ */
346
+ _this.change = new EventEmitter();
347
+ /**
348
+ * Event that emits whenever the raw value of the select changes. This is here primarily
349
+ * to facilitate the two-way binding for the `value` input.
350
+ * \@docs-private
351
+ */
352
+ _this.valueChange = new EventEmitter();
353
+ if (_this.ngControl) {
354
+ _this.ngControl.valueAccessor = _this;
355
+ }
356
+ _this.tabIndex = parseInt(tabIndex) || 0;
357
+ // Force setter to be called in case id was not specified.
358
+ _this.id = _this.id;
359
+ return _this;
360
+ }
361
+ Object.defineProperty(MatSelect.prototype, "placeholder", {
362
+ /**
363
+ * Placeholder to be shown if no value has been selected.
364
+ * @return {?}
365
+ */
366
+ get: function () { return this._placeholder; },
367
+ /**
368
+ * @param {?} value
369
+ * @return {?}
370
+ */
371
+ set: function (value) {
372
+ this._placeholder = value;
373
+ this.stateChanges.next();
374
+ },
375
+ enumerable: true,
376
+ configurable: true
377
+ });
378
+ Object.defineProperty(MatSelect.prototype, "required", {
379
+ /**
380
+ * Whether the component is required.
381
+ * @return {?}
382
+ */
383
+ get: function () { return this._required; },
384
+ /**
385
+ * @param {?} value
386
+ * @return {?}
387
+ */
388
+ set: function (value) {
389
+ this._required = coerceBooleanProperty(value);
390
+ this.stateChanges.next();
391
+ },
392
+ enumerable: true,
393
+ configurable: true
394
+ });
395
+ Object.defineProperty(MatSelect.prototype, "multiple", {
396
+ /**
397
+ * Whether the user should be allowed to select multiple options.
398
+ * @return {?}
399
+ */
400
+ get: function () { return this._multiple; },
401
+ /**
402
+ * @param {?} value
403
+ * @return {?}
404
+ */
405
+ set: function (value) {
406
+ if (this._selectionModel) {
407
+ throw getMatSelectDynamicMultipleError();
408
+ }
409
+ this._multiple = coerceBooleanProperty(value);
410
+ },
411
+ enumerable: true,
412
+ configurable: true
413
+ });
414
+ Object.defineProperty(MatSelect.prototype, "compareWith", {
415
+ /**
416
+ * A function to compare the option values with the selected values. The first argument
417
+ * is a value from an option. The second is a value from the selection. A boolean
418
+ * should be returned.
419
+ * @return {?}
420
+ */
421
+ get: function () { return this._compareWith; },
422
+ /**
423
+ * @param {?} fn
424
+ * @return {?}
425
+ */
426
+ set: function (fn) {
427
+ if (typeof fn !== 'function') {
428
+ throw getMatSelectNonFunctionValueError();
429
+ }
430
+ this._compareWith = fn;
431
+ if (this._selectionModel) {
432
+ // A different comparator means the selection could change.
433
+ this._initializeSelection();
434
+ }
435
+ },
436
+ enumerable: true,
437
+ configurable: true
438
+ });
439
+ Object.defineProperty(MatSelect.prototype, "value", {
440
+ /**
441
+ * Value of the select control.
442
+ * @return {?}
443
+ */
444
+ get: function () { return this._value; },
445
+ /**
446
+ * @param {?} newValue
447
+ * @return {?}
448
+ */
449
+ set: function (newValue) {
450
+ if (newValue !== this._value) {
451
+ this.writeValue(newValue);
452
+ this._value = newValue;
453
+ }
454
+ },
455
+ enumerable: true,
456
+ configurable: true
457
+ });
458
+ Object.defineProperty(MatSelect.prototype, "disableRipple", {
459
+ /**
460
+ * Whether ripples for all options in the select are disabled.
461
+ * @return {?}
462
+ */
463
+ get: function () { return this._disableRipple; },
464
+ /**
465
+ * @param {?} value
466
+ * @return {?}
467
+ */
468
+ set: function (value) {
469
+ this._disableRipple = coerceBooleanProperty(value);
470
+ this._setOptionDisableRipple();
471
+ },
472
+ enumerable: true,
473
+ configurable: true
474
+ });
475
+ Object.defineProperty(MatSelect.prototype, "id", {
476
+ /**
477
+ * Unique id of the element.
478
+ * @return {?}
479
+ */
480
+ get: function () { return this._id; },
481
+ /**
482
+ * @param {?} value
483
+ * @return {?}
484
+ */
485
+ set: function (value) {
486
+ this._id = value || this._uid;
487
+ this.stateChanges.next();
488
+ },
489
+ enumerable: true,
490
+ configurable: true
491
+ });
492
+ Object.defineProperty(MatSelect.prototype, "optionSelectionChanges", {
493
+ /**
494
+ * Combined stream of all of the child options' change events.
495
+ * @return {?}
496
+ */
497
+ get: function () {
498
+ return merge.apply(void 0, this.options.map(function (option) { return option.onSelectionChange; }));
499
+ },
500
+ enumerable: true,
501
+ configurable: true
502
+ });
503
+ /**
504
+ * @return {?}
505
+ */
506
+ MatSelect.prototype.ngOnInit = function () {
507
+ this._selectionModel = new SelectionModel(this.multiple, undefined, false);
508
+ this.stateChanges.next();
509
+ };
510
+ /**
511
+ * @return {?}
512
+ */
513
+ MatSelect.prototype.ngAfterContentInit = function () {
514
+ var _this = this;
515
+ this._initKeyManager();
516
+ this._changeSubscription = startWith.call(this.options.changes, null).subscribe(function () {
517
+ _this._resetOptions();
518
+ _this._initializeSelection();
519
+ });
520
+ };
521
+ /**
522
+ * @return {?}
523
+ */
524
+ MatSelect.prototype.ngOnDestroy = function () {
525
+ this._dropSubscriptions();
526
+ this._changeSubscription.unsubscribe();
527
+ this._tabSubscription.unsubscribe();
528
+ };
529
+ /**
530
+ * Toggles the overlay panel open or closed.
531
+ * @return {?}
532
+ */
533
+ MatSelect.prototype.toggle = function () {
534
+ this.panelOpen ? this.close() : this.open();
535
+ };
536
+ /**
537
+ * Opens the overlay panel.
538
+ * @return {?}
539
+ */
540
+ MatSelect.prototype.open = function () {
541
+ var _this = this;
542
+ if (this.disabled || !this.options.length) {
543
+ return;
544
+ }
545
+ this._triggerRect = this.trigger.nativeElement.getBoundingClientRect();
546
+ // Note: The computed font-size will be a string pixel value (e.g. "16px").
547
+ // `parseInt` ignores the trailing 'px' and converts this to a number.
548
+ this._triggerFontSize = parseInt(getComputedStyle(this.trigger.nativeElement)['font-size']);
549
+ this._calculateOverlayPosition();
550
+ this._highlightCorrectOption();
551
+ this._panelOpen = true;
552
+ this._changeDetectorRef.markForCheck();
553
+ // Set the font size on the panel element once it exists.
554
+ first.call(this._ngZone.onStable).subscribe(function () {
555
+ if (_this._triggerFontSize && _this.overlayDir.overlayRef &&
556
+ _this.overlayDir.overlayRef.overlayElement) {
557
+ _this.overlayDir.overlayRef.overlayElement.style.fontSize = _this._triggerFontSize + "px";
558
+ }
559
+ });
560
+ };
561
+ /**
562
+ * Closes the overlay panel and focuses the host element.
563
+ * @return {?}
564
+ */
565
+ MatSelect.prototype.close = function () {
566
+ if (this._panelOpen) {
567
+ this._panelOpen = false;
568
+ this._changeDetectorRef.markForCheck();
569
+ this.focus();
570
+ }
571
+ };
572
+ /**
573
+ * Sets the select's value. Part of the ControlValueAccessor interface
574
+ * required to integrate with Angular's core forms API.
575
+ *
576
+ * @param {?} value New value to be written to the model.
577
+ * @return {?}
578
+ */
579
+ MatSelect.prototype.writeValue = function (value) {
580
+ if (this.options) {
581
+ this._setSelectionByValue(value);
582
+ }
583
+ };
584
+ /**
585
+ * Saves a callback function to be invoked when the select's value
586
+ * changes from user input. Part of the ControlValueAccessor interface
587
+ * required to integrate with Angular's core forms API.
588
+ *
589
+ * @param {?} fn Callback to be triggered when the value changes.
590
+ * @return {?}
591
+ */
592
+ MatSelect.prototype.registerOnChange = function (fn) {
593
+ this._onChange = fn;
594
+ };
595
+ /**
596
+ * Saves a callback function to be invoked when the select is blurred
597
+ * by the user. Part of the ControlValueAccessor interface required
598
+ * to integrate with Angular's core forms API.
599
+ *
600
+ * @param {?} fn Callback to be triggered when the component has been touched.
601
+ * @return {?}
602
+ */
603
+ MatSelect.prototype.registerOnTouched = function (fn) {
604
+ this._onTouched = fn;
605
+ };
606
+ /**
607
+ * Disables the select. Part of the ControlValueAccessor interface required
608
+ * to integrate with Angular's core forms API.
609
+ *
610
+ * @param {?} isDisabled Sets whether the component is disabled.
611
+ * @return {?}
612
+ */
613
+ MatSelect.prototype.setDisabledState = function (isDisabled) {
614
+ this.disabled = isDisabled;
615
+ this._changeDetectorRef.markForCheck();
616
+ this.stateChanges.next();
617
+ };
618
+ Object.defineProperty(MatSelect.prototype, "panelOpen", {
619
+ /**
620
+ * Whether or not the overlay panel is open.
621
+ * @return {?}
622
+ */
623
+ get: function () {
624
+ return this._panelOpen;
625
+ },
626
+ enumerable: true,
627
+ configurable: true
628
+ });
629
+ Object.defineProperty(MatSelect.prototype, "selected", {
630
+ /**
631
+ * The currently selected option.
632
+ * @return {?}
633
+ */
634
+ get: function () {
635
+ return this.multiple ? this._selectionModel.selected : this._selectionModel.selected[0];
636
+ },
637
+ enumerable: true,
638
+ configurable: true
639
+ });
640
+ Object.defineProperty(MatSelect.prototype, "triggerValue", {
641
+ /**
642
+ * The value displayed in the trigger.
643
+ * @return {?}
644
+ */
645
+ get: function () {
646
+ if (!this._selectionModel || this._selectionModel.isEmpty()) {
647
+ return '';
648
+ }
649
+ if (this._multiple) {
650
+ var /** @type {?} */ selectedOptions = this._selectionModel.selected.map(function (option) { return option.viewValue; });
651
+ if (this._isRtl()) {
652
+ selectedOptions.reverse();
653
+ }
654
+ // TODO(crisbeto): delimiter should be configurable for proper localization.
655
+ return selectedOptions.join(', ');
656
+ }
657
+ return this._selectionModel.selected[0].viewValue;
658
+ },
659
+ enumerable: true,
660
+ configurable: true
661
+ });
662
+ /**
663
+ * Whether the element is in RTL mode.
664
+ * @return {?}
665
+ */
666
+ MatSelect.prototype._isRtl = function () {
667
+ return this._dir ? this._dir.value === 'rtl' : false;
668
+ };
669
+ /**
670
+ * Handles all keydown events on the select.
671
+ * @param {?} event
672
+ * @return {?}
673
+ */
674
+ MatSelect.prototype._handleKeydown = function (event) {
675
+ if (!this.disabled) {
676
+ this.panelOpen ? this._handleOpenKeydown(event) : this._handleClosedKeydown(event);
677
+ }
678
+ };
679
+ /**
680
+ * Handles keyboard events while the select is closed.
681
+ * @param {?} event
682
+ * @return {?}
683
+ */
684
+ MatSelect.prototype._handleClosedKeydown = function (event) {
685
+ if (event.keyCode === ENTER || event.keyCode === SPACE) {
686
+ event.preventDefault(); // prevents the page from scrolling down when pressing space
687
+ this.open();
688
+ }
689
+ else if (event.keyCode === UP_ARROW || event.keyCode === DOWN_ARROW) {
690
+ this._handleClosedArrowKey(event);
691
+ }
692
+ };
693
+ /**
694
+ * Handles keyboard events when the selected is open.
695
+ * @param {?} event
696
+ * @return {?}
697
+ */
698
+ MatSelect.prototype._handleOpenKeydown = function (event) {
699
+ var _this = this;
700
+ var /** @type {?} */ keyCode = event.keyCode;
701
+ if (keyCode === HOME || keyCode === END) {
702
+ event.preventDefault();
703
+ keyCode === HOME ? this._keyManager.setFirstItemActive() :
704
+ this._keyManager.setLastItemActive();
705
+ }
706
+ else if ((keyCode === ENTER || keyCode === SPACE) && this._keyManager.activeItem) {
707
+ event.preventDefault();
708
+ this._keyManager.activeItem._selectViaInteraction();
709
+ }
710
+ else {
711
+ this._keyManager.onKeydown(event);
712
+ // TODO(crisbeto): get rid of the Promise.resolve when #6441 gets in.
713
+ Promise.resolve().then(function () {
714
+ if (_this.panelOpen) {
715
+ _this._scrollActiveOptionIntoView();
716
+ }
717
+ });
718
+ }
719
+ };
720
+ /**
721
+ * When the panel element is finished transforming in (though not fading in), it
722
+ * emits an event and focuses an option if the panel is open.
723
+ * @return {?}
724
+ */
725
+ MatSelect.prototype._onPanelDone = function () {
726
+ if (this.panelOpen) {
727
+ this._scrollTop = 0;
728
+ this.onOpen.emit();
729
+ }
730
+ else {
731
+ this.onClose.emit();
732
+ this._panelDoneAnimating = false;
733
+ this.overlayDir.offsetX = 0;
734
+ this._changeDetectorRef.markForCheck();
735
+ }
736
+ };
737
+ /**
738
+ * When the panel content is done fading in, the _panelDoneAnimating property is
739
+ * set so the proper class can be added to the panel.
740
+ * @return {?}
741
+ */
742
+ MatSelect.prototype._onFadeInDone = function () {
743
+ this._panelDoneAnimating = this.panelOpen;
744
+ this.panel.nativeElement.focus();
745
+ this._changeDetectorRef.markForCheck();
746
+ };
747
+ /**
748
+ * @return {?}
749
+ */
750
+ MatSelect.prototype._onFocus = function () {
751
+ if (!this.disabled) {
752
+ this.focused = true;
753
+ this.stateChanges.next();
754
+ }
755
+ };
756
+ /**
757
+ * Calls the touched callback only if the panel is closed. Otherwise, the trigger will
758
+ * "blur" to the panel when it opens, causing a false positive.
759
+ * @return {?}
760
+ */
761
+ MatSelect.prototype._onBlur = function () {
762
+ if (!this.disabled && !this.panelOpen) {
763
+ this.focused = false;
764
+ this._onTouched();
765
+ this._changeDetectorRef.markForCheck();
766
+ this.stateChanges.next();
767
+ }
768
+ };
769
+ /**
770
+ * Callback that is invoked when the overlay panel has been attached.
771
+ * @return {?}
772
+ */
773
+ MatSelect.prototype._onAttached = function () {
774
+ this._changeDetectorRef.detectChanges();
775
+ this._calculateOverlayOffsetX();
776
+ this.panel.nativeElement.scrollTop = this._scrollTop;
777
+ };
778
+ /**
779
+ * Returns the theme to be used on the panel.
780
+ * @return {?}
781
+ */
782
+ MatSelect.prototype._getPanelTheme = function () {
783
+ return this._parentFormField ? "mat-" + this._parentFormField.color : '';
784
+ };
785
+ Object.defineProperty(MatSelect.prototype, "empty", {
786
+ /**
787
+ * Whether the select has a value.
788
+ * @return {?}
789
+ */
790
+ get: function () {
791
+ return !this._selectionModel || this._selectionModel.isEmpty();
792
+ },
793
+ enumerable: true,
794
+ configurable: true
795
+ });
796
+ Object.defineProperty(MatSelect.prototype, "errorState", {
797
+ /**
798
+ * Whether the select is in an error state.
799
+ * @return {?}
800
+ */
801
+ get: function () {
802
+ var /** @type {?} */ parent = this._parentFormGroup || this._parentForm;
803
+ var /** @type {?} */ matcher = this.errorStateMatcher || this._defaultErrorStateMatcher;
804
+ var /** @type {?} */ control = this.ngControl ? (this.ngControl.control) : null;
805
+ return matcher.isErrorState(control, parent);
806
+ },
807
+ enumerable: true,
808
+ configurable: true
809
+ });
810
+ /**
811
+ * @return {?}
812
+ */
813
+ MatSelect.prototype._initializeSelection = function () {
814
+ var _this = this;
815
+ // Defer setting the value in order to avoid the "Expression
816
+ // has changed after it was checked" errors from Angular.
817
+ Promise.resolve().then(function () {
818
+ _this._setSelectionByValue(_this.ngControl ? _this.ngControl.value : _this._value);
819
+ });
820
+ };
821
+ /**
822
+ * Sets the selected option based on a value. If no option can be
823
+ * found with the designated value, the select trigger is cleared.
824
+ * @param {?} value
825
+ * @param {?=} isUserInput
826
+ * @return {?}
827
+ */
828
+ MatSelect.prototype._setSelectionByValue = function (value, isUserInput) {
829
+ var _this = this;
830
+ if (isUserInput === void 0) { isUserInput = false; }
831
+ var /** @type {?} */ isArray = Array.isArray(value);
832
+ if (this.multiple && value && !isArray) {
833
+ throw getMatSelectNonArrayValueError();
834
+ }
835
+ this._clearSelection();
836
+ if (isArray) {
837
+ value.forEach(function (currentValue) { return _this._selectValue(currentValue, isUserInput); });
838
+ this._sortValues();
839
+ }
840
+ else {
841
+ var /** @type {?} */ correspondingOption = this._selectValue(value, isUserInput);
842
+ // Shift focus to the active item. Note that we shouldn't do this in multiple
843
+ // mode, because we don't know what option the user interacted with last.
844
+ if (correspondingOption) {
845
+ this._keyManager.setActiveItem(this.options.toArray().indexOf(correspondingOption));
846
+ }
847
+ }
848
+ this._changeDetectorRef.markForCheck();
849
+ };
850
+ /**
851
+ * Finds and selects and option based on its value.
852
+ * @param {?} value
853
+ * @param {?=} isUserInput
854
+ * @return {?} Option that has the corresponding value.
855
+ */
856
+ MatSelect.prototype._selectValue = function (value, isUserInput) {
857
+ var _this = this;
858
+ if (isUserInput === void 0) { isUserInput = false; }
859
+ var /** @type {?} */ correspondingOption = this.options.find(function (option) {
860
+ try {
861
+ // Treat null as a special reset value.
862
+ return option.value != null && _this._compareWith(option.value, value);
863
+ }
864
+ catch (error) {
865
+ if (isDevMode()) {
866
+ // Notify developers of errors in their comparator.
867
+ console.warn(error);
868
+ }
869
+ return false;
870
+ }
871
+ });
872
+ if (correspondingOption) {
873
+ isUserInput ? correspondingOption._selectViaInteraction() : correspondingOption.select();
874
+ this._selectionModel.select(correspondingOption);
875
+ this.stateChanges.next();
876
+ }
877
+ return correspondingOption;
878
+ };
879
+ /**
880
+ * Clears the select trigger and deselects every option in the list.
881
+ * @param {?=} skip Option that should not be deselected.
882
+ * @return {?}
883
+ */
884
+ MatSelect.prototype._clearSelection = function (skip) {
885
+ this._selectionModel.clear();
886
+ this.options.forEach(function (option) {
887
+ if (option !== skip) {
888
+ option.deselect();
889
+ }
890
+ });
891
+ this.stateChanges.next();
892
+ };
893
+ /**
894
+ * Sets up a key manager to listen to keyboard events on the overlay panel.
895
+ * @return {?}
896
+ */
897
+ MatSelect.prototype._initKeyManager = function () {
898
+ var _this = this;
899
+ this._keyManager = new ActiveDescendantKeyManager(this.options).withTypeAhead();
900
+ this._tabSubscription = this._keyManager.tabOut.subscribe(function () { return _this.close(); });
901
+ };
902
+ /**
903
+ * Drops current option subscriptions and IDs and resets from scratch.
904
+ * @return {?}
905
+ */
906
+ MatSelect.prototype._resetOptions = function () {
907
+ this._dropSubscriptions();
908
+ this._listenToOptions();
909
+ this._setOptionIds();
910
+ this._setOptionMultiple();
911
+ this._setOptionDisableRipple();
912
+ };
913
+ /**
914
+ * Listens to user-generated selection events on each option.
915
+ * @return {?}
916
+ */
917
+ MatSelect.prototype._listenToOptions = function () {
918
+ var _this = this;
919
+ this._optionSubscription = filter.call(this.optionSelectionChanges, function (event) { return event.isUserInput; }).subscribe(function (event) {
920
+ _this._onSelect(event.source);
921
+ if (!_this.multiple) {
922
+ _this.close();
923
+ }
924
+ });
925
+ };
926
+ /**
927
+ * Invoked when an option is clicked.
928
+ * @param {?} option
929
+ * @return {?}
930
+ */
931
+ MatSelect.prototype._onSelect = function (option) {
932
+ var /** @type {?} */ wasSelected = this._selectionModel.isSelected(option);
933
+ // TODO(crisbeto): handle blank/null options inside multi-select.
934
+ if (this.multiple) {
935
+ this._selectionModel.toggle(option);
936
+ this.stateChanges.next();
937
+ wasSelected ? option.deselect() : option.select();
938
+ this._sortValues();
939
+ }
940
+ else {
941
+ this._clearSelection(option.value == null ? undefined : option);
942
+ if (option.value == null) {
943
+ this._propagateChanges(option.value);
944
+ }
945
+ else {
946
+ this._selectionModel.select(option);
947
+ this.stateChanges.next();
948
+ }
949
+ }
950
+ if (wasSelected !== this._selectionModel.isSelected(option)) {
951
+ this._propagateChanges();
952
+ }
953
+ };
954
+ /**
955
+ * Sorts the model values, ensuring that they keep the same
956
+ * order that they have in the panel.
957
+ * @return {?}
958
+ */
959
+ MatSelect.prototype._sortValues = function () {
960
+ var _this = this;
961
+ if (this._multiple) {
962
+ this._selectionModel.clear();
963
+ this.options.forEach(function (option) {
964
+ if (option.selected) {
965
+ _this._selectionModel.select(option);
966
+ }
967
+ });
968
+ this.stateChanges.next();
969
+ }
970
+ };
971
+ /**
972
+ * Unsubscribes from all option subscriptions.
973
+ * @return {?}
974
+ */
975
+ MatSelect.prototype._dropSubscriptions = function () {
976
+ this._optionSubscription.unsubscribe();
977
+ };
978
+ /**
979
+ * Emits change event to set the model value.
980
+ * @param {?=} fallbackValue
981
+ * @return {?}
982
+ */
983
+ MatSelect.prototype._propagateChanges = function (fallbackValue) {
984
+ var /** @type {?} */ valueToEmit = null;
985
+ if (Array.isArray(this.selected)) {
986
+ valueToEmit = this.selected.map(function (option) { return option.value; });
987
+ }
988
+ else {
989
+ valueToEmit = this.selected ? this.selected.value : fallbackValue;
990
+ }
991
+ this._value = valueToEmit;
992
+ this._onChange(valueToEmit);
993
+ this.change.emit(new MatSelectChange(this, valueToEmit));
994
+ this.valueChange.emit(valueToEmit);
995
+ this._changeDetectorRef.markForCheck();
996
+ };
997
+ /**
998
+ * Records option IDs to pass to the aria-owns property.
999
+ * @return {?}
1000
+ */
1001
+ MatSelect.prototype._setOptionIds = function () {
1002
+ this._optionIds = this.options.map(function (option) { return option.id; }).join(' ');
1003
+ };
1004
+ /**
1005
+ * Sets the `multiple` property on each option. The promise is necessary
1006
+ * in order to avoid Angular errors when modifying the property after init.
1007
+ * @return {?}
1008
+ */
1009
+ MatSelect.prototype._setOptionMultiple = function () {
1010
+ var _this = this;
1011
+ if (this.multiple) {
1012
+ Promise.resolve(null).then(function () {
1013
+ _this.options.forEach(function (option) { return option.multiple = _this.multiple; });
1014
+ });
1015
+ }
1016
+ };
1017
+ /**
1018
+ * Sets the `disableRipple` property on each option.
1019
+ * @return {?}
1020
+ */
1021
+ MatSelect.prototype._setOptionDisableRipple = function () {
1022
+ var _this = this;
1023
+ if (this.options) {
1024
+ this.options.forEach(function (option) { return option.disableRipple = _this.disableRipple; });
1025
+ }
1026
+ };
1027
+ /**
1028
+ * Highlights the selected item. If no option is selected, it will highlight
1029
+ * the first item instead.
1030
+ * @return {?}
1031
+ */
1032
+ MatSelect.prototype._highlightCorrectOption = function () {
1033
+ if (this._selectionModel.isEmpty()) {
1034
+ this._keyManager.setFirstItemActive();
1035
+ }
1036
+ else {
1037
+ this._keyManager.setActiveItem(/** @type {?} */ ((this._getOptionIndex(this._selectionModel.selected[0]))));
1038
+ }
1039
+ };
1040
+ /**
1041
+ * Scrolls the active option into view.
1042
+ * @return {?}
1043
+ */
1044
+ MatSelect.prototype._scrollActiveOptionIntoView = function () {
1045
+ var /** @type {?} */ itemHeight = this._getItemHeight();
1046
+ var /** @type {?} */ activeOptionIndex = this._keyManager.activeItemIndex || 0;
1047
+ var /** @type {?} */ labelCount = MatOption.countGroupLabelsBeforeOption(activeOptionIndex, this.options, this.optionGroups);
1048
+ var /** @type {?} */ scrollOffset = (activeOptionIndex + labelCount) * itemHeight;
1049
+ var /** @type {?} */ panelTop = this.panel.nativeElement.scrollTop;
1050
+ if (scrollOffset < panelTop) {
1051
+ this.panel.nativeElement.scrollTop = scrollOffset;
1052
+ }
1053
+ else if (scrollOffset + itemHeight > panelTop + SELECT_PANEL_MAX_HEIGHT) {
1054
+ this.panel.nativeElement.scrollTop =
1055
+ Math.max(0, scrollOffset - SELECT_PANEL_MAX_HEIGHT + itemHeight);
1056
+ }
1057
+ };
1058
+ /**
1059
+ * Focuses the select element.
1060
+ * @return {?}
1061
+ */
1062
+ MatSelect.prototype.focus = function () {
1063
+ this._elementRef.nativeElement.focus();
1064
+ };
1065
+ /**
1066
+ * Gets the index of the provided option in the option list.
1067
+ * @param {?} option
1068
+ * @return {?}
1069
+ */
1070
+ MatSelect.prototype._getOptionIndex = function (option) {
1071
+ return this.options.reduce(function (result, current, index) {
1072
+ return result === undefined ? (option === current ? index : undefined) : result;
1073
+ }, undefined);
1074
+ };
1075
+ /**
1076
+ * Calculates the scroll position and x- and y-offsets of the overlay panel.
1077
+ * @return {?}
1078
+ */
1079
+ MatSelect.prototype._calculateOverlayPosition = function () {
1080
+ var /** @type {?} */ itemHeight = this._getItemHeight();
1081
+ var /** @type {?} */ items = this._getItemCount();
1082
+ var /** @type {?} */ panelHeight = Math.min(items * itemHeight, SELECT_PANEL_MAX_HEIGHT);
1083
+ var /** @type {?} */ scrollContainerHeight = items * itemHeight;
1084
+ // The farthest the panel can be scrolled before it hits the bottom
1085
+ var /** @type {?} */ maxScroll = scrollContainerHeight - panelHeight;
1086
+ // If no value is selected we open the popup to the first item.
1087
+ var /** @type {?} */ selectedOptionOffset = this.empty ? 0 : ((this._getOptionIndex(this._selectionModel.selected[0])));
1088
+ selectedOptionOffset += MatOption.countGroupLabelsBeforeOption(selectedOptionOffset, this.options, this.optionGroups);
1089
+ // We must maintain a scroll buffer so the selected option will be scrolled to the
1090
+ // center of the overlay panel rather than the top.
1091
+ var /** @type {?} */ scrollBuffer = panelHeight / 2;
1092
+ this._scrollTop = this._calculateOverlayScroll(selectedOptionOffset, scrollBuffer, maxScroll);
1093
+ this._offsetY = this._calculateOverlayOffsetY(selectedOptionOffset, scrollBuffer, maxScroll);
1094
+ this._checkOverlayWithinViewport(maxScroll);
1095
+ };
1096
+ /**
1097
+ * Calculates the scroll position of the select's overlay panel.
1098
+ *
1099
+ * Attempts to center the selected option in the panel. If the option is
1100
+ * too high or too low in the panel to be scrolled to the center, it clamps the
1101
+ * scroll position to the min or max scroll positions respectively.
1102
+ * @param {?} selectedIndex
1103
+ * @param {?} scrollBuffer
1104
+ * @param {?} maxScroll
1105
+ * @return {?}
1106
+ */
1107
+ MatSelect.prototype._calculateOverlayScroll = function (selectedIndex, scrollBuffer, maxScroll) {
1108
+ var /** @type {?} */ itemHeight = this._getItemHeight();
1109
+ var /** @type {?} */ optionOffsetFromScrollTop = itemHeight * selectedIndex;
1110
+ var /** @type {?} */ halfOptionHeight = itemHeight / 2;
1111
+ // Starts at the optionOffsetFromScrollTop, which scrolls the option to the top of the
1112
+ // scroll container, then subtracts the scroll buffer to scroll the option down to
1113
+ // the center of the overlay panel. Half the option height must be re-added to the
1114
+ // scrollTop so the option is centered based on its middle, not its top edge.
1115
+ var /** @type {?} */ optimalScrollPosition = optionOffsetFromScrollTop - scrollBuffer + halfOptionHeight;
1116
+ return Math.min(Math.max(0, optimalScrollPosition), maxScroll);
1117
+ };
1118
+ Object.defineProperty(MatSelect.prototype, "_ariaLabel", {
1119
+ /**
1120
+ * Returns the aria-label of the select component.
1121
+ * @return {?}
1122
+ */
1123
+ get: function () {
1124
+ // If an ariaLabelledby value has been set, the select should not overwrite the
1125
+ // `aria-labelledby` value by setting the ariaLabel to the placeholder.
1126
+ return this.ariaLabelledby ? null : this.ariaLabel || this.placeholder;
1127
+ },
1128
+ enumerable: true,
1129
+ configurable: true
1130
+ });
1131
+ /**
1132
+ * Determines the `aria-activedescendant` to be set on the host.
1133
+ * @return {?}
1134
+ */
1135
+ MatSelect.prototype._getAriaActiveDescendant = function () {
1136
+ if (this.panelOpen && this._keyManager && this._keyManager.activeItem) {
1137
+ return this._keyManager.activeItem.id;
1138
+ }
1139
+ return null;
1140
+ };
1141
+ /**
1142
+ * Sets the x-offset of the overlay panel in relation to the trigger's top start corner.
1143
+ * This must be adjusted to align the selected option text over the trigger text when
1144
+ * the panel opens. Will change based on LTR or RTL text direction. Note that the offset
1145
+ * can't be calculated until the panel has been attached, because we need to know the
1146
+ * content width in order to constrain the panel within the viewport.
1147
+ * @return {?}
1148
+ */
1149
+ MatSelect.prototype._calculateOverlayOffsetX = function () {
1150
+ var /** @type {?} */ overlayRect = this.overlayDir.overlayRef.overlayElement.getBoundingClientRect();
1151
+ var /** @type {?} */ viewportRect = this._viewportRuler.getViewportRect();
1152
+ var /** @type {?} */ isRtl = this._isRtl();
1153
+ var /** @type {?} */ paddingWidth = this.multiple ? SELECT_MULTIPLE_PANEL_PADDING_X + SELECT_PANEL_PADDING_X :
1154
+ SELECT_PANEL_PADDING_X * 2;
1155
+ var /** @type {?} */ offsetX;
1156
+ // Adjust the offset, depending on the option padding.
1157
+ if (this.multiple) {
1158
+ offsetX = SELECT_MULTIPLE_PANEL_PADDING_X;
1159
+ }
1160
+ else {
1161
+ var /** @type {?} */ selected = this._selectionModel.selected[0] || this.options.first;
1162
+ offsetX = selected && selected.group ? SELECT_PANEL_INDENT_PADDING_X : SELECT_PANEL_PADDING_X;
1163
+ }
1164
+ // Invert the offset in LTR.
1165
+ if (!isRtl) {
1166
+ offsetX *= -1;
1167
+ }
1168
+ // Determine how much the select overflows on each side.
1169
+ var /** @type {?} */ leftOverflow = 0 - (overlayRect.left + offsetX - (isRtl ? paddingWidth : 0));
1170
+ var /** @type {?} */ rightOverflow = overlayRect.right + offsetX - viewportRect.width
1171
+ + (isRtl ? 0 : paddingWidth);
1172
+ // If the element overflows on either side, reduce the offset to allow it to fit.
1173
+ if (leftOverflow > 0) {
1174
+ offsetX += leftOverflow + SELECT_PANEL_VIEWPORT_PADDING;
1175
+ }
1176
+ else if (rightOverflow > 0) {
1177
+ offsetX -= rightOverflow + SELECT_PANEL_VIEWPORT_PADDING;
1178
+ }
1179
+ // Set the offset directly in order to avoid having to go through change detection and
1180
+ // potentially triggering "changed after it was checked" errors.
1181
+ this.overlayDir.offsetX = offsetX;
1182
+ this.overlayDir.overlayRef.updatePosition();
1183
+ };
1184
+ /**
1185
+ * Calculates the y-offset of the select's overlay panel in relation to the
1186
+ * top start corner of the trigger. It has to be adjusted in order for the
1187
+ * selected option to be aligned over the trigger when the panel opens.
1188
+ * @param {?} selectedIndex
1189
+ * @param {?} scrollBuffer
1190
+ * @param {?} maxScroll
1191
+ * @return {?}
1192
+ */
1193
+ MatSelect.prototype._calculateOverlayOffsetY = function (selectedIndex, scrollBuffer, maxScroll) {
1194
+ var /** @type {?} */ itemHeight = this._getItemHeight();
1195
+ var /** @type {?} */ optionHeightAdjustment = (itemHeight - this._triggerRect.height) / 2;
1196
+ var /** @type {?} */ maxOptionsDisplayed = Math.floor(SELECT_PANEL_MAX_HEIGHT / itemHeight);
1197
+ var /** @type {?} */ optionOffsetFromPanelTop;
1198
+ if (this._scrollTop === 0) {
1199
+ optionOffsetFromPanelTop = selectedIndex * itemHeight;
1200
+ }
1201
+ else if (this._scrollTop === maxScroll) {
1202
+ var /** @type {?} */ firstDisplayedIndex = this._getItemCount() - maxOptionsDisplayed;
1203
+ var /** @type {?} */ selectedDisplayIndex = selectedIndex - firstDisplayedIndex;
1204
+ // The first item is partially out of the viewport. Therefore we need to calculate what
1205
+ // portion of it is shown in the viewport and account for it in our offset.
1206
+ var /** @type {?} */ partialItemHeight = itemHeight - (this._getItemCount() * itemHeight - SELECT_PANEL_MAX_HEIGHT) % itemHeight;
1207
+ // Because the panel height is longer than the height of the options alone,
1208
+ // there is always extra padding at the top or bottom of the panel. When
1209
+ // scrolled to the very bottom, this padding is at the top of the panel and
1210
+ // must be added to the offset.
1211
+ optionOffsetFromPanelTop = selectedDisplayIndex * itemHeight + partialItemHeight;
1212
+ }
1213
+ else {
1214
+ // If the option was scrolled to the middle of the panel using a scroll buffer,
1215
+ // its offset will be the scroll buffer minus the half height that was added to
1216
+ // center it.
1217
+ optionOffsetFromPanelTop = scrollBuffer - itemHeight / 2;
1218
+ }
1219
+ // The final offset is the option's offset from the top, adjusted for the height
1220
+ // difference, multiplied by -1 to ensure that the overlay moves in the correct
1221
+ // direction up the page.
1222
+ return optionOffsetFromPanelTop * -1 - optionHeightAdjustment;
1223
+ };
1224
+ /**
1225
+ * Checks that the attempted overlay position will fit within the viewport.
1226
+ * If it will not fit, tries to adjust the scroll position and the associated
1227
+ * y-offset so the panel can open fully on-screen. If it still won't fit,
1228
+ * sets the offset back to 0 to allow the fallback position to take over.
1229
+ * @param {?} maxScroll
1230
+ * @return {?}
1231
+ */
1232
+ MatSelect.prototype._checkOverlayWithinViewport = function (maxScroll) {
1233
+ var /** @type {?} */ itemHeight = this._getItemHeight();
1234
+ var /** @type {?} */ viewportRect = this._viewportRuler.getViewportRect();
1235
+ var /** @type {?} */ topSpaceAvailable = this._triggerRect.top - SELECT_PANEL_VIEWPORT_PADDING;
1236
+ var /** @type {?} */ bottomSpaceAvailable = viewportRect.height - this._triggerRect.bottom - SELECT_PANEL_VIEWPORT_PADDING;
1237
+ var /** @type {?} */ panelHeightTop = Math.abs(this._offsetY);
1238
+ var /** @type {?} */ totalPanelHeight = Math.min(this._getItemCount() * itemHeight, SELECT_PANEL_MAX_HEIGHT);
1239
+ var /** @type {?} */ panelHeightBottom = totalPanelHeight - panelHeightTop - this._triggerRect.height;
1240
+ if (panelHeightBottom > bottomSpaceAvailable) {
1241
+ this._adjustPanelUp(panelHeightBottom, bottomSpaceAvailable);
1242
+ }
1243
+ else if (panelHeightTop > topSpaceAvailable) {
1244
+ this._adjustPanelDown(panelHeightTop, topSpaceAvailable, maxScroll);
1245
+ }
1246
+ else {
1247
+ this._transformOrigin = this._getOriginBasedOnOption();
1248
+ }
1249
+ };
1250
+ /**
1251
+ * Adjusts the overlay panel up to fit in the viewport.
1252
+ * @param {?} panelHeightBottom
1253
+ * @param {?} bottomSpaceAvailable
1254
+ * @return {?}
1255
+ */
1256
+ MatSelect.prototype._adjustPanelUp = function (panelHeightBottom, bottomSpaceAvailable) {
1257
+ // Browsers ignore fractional scroll offsets, so we need to round.
1258
+ var /** @type {?} */ distanceBelowViewport = Math.round(panelHeightBottom - bottomSpaceAvailable);
1259
+ // Scrolls the panel up by the distance it was extending past the boundary, then
1260
+ // adjusts the offset by that amount to move the panel up into the viewport.
1261
+ this._scrollTop -= distanceBelowViewport;
1262
+ this._offsetY -= distanceBelowViewport;
1263
+ this._transformOrigin = this._getOriginBasedOnOption();
1264
+ // If the panel is scrolled to the very top, it won't be able to fit the panel
1265
+ // by scrolling, so set the offset to 0 to allow the fallback position to take
1266
+ // effect.
1267
+ if (this._scrollTop <= 0) {
1268
+ this._scrollTop = 0;
1269
+ this._offsetY = 0;
1270
+ this._transformOrigin = "50% bottom 0px";
1271
+ }
1272
+ };
1273
+ /**
1274
+ * Adjusts the overlay panel down to fit in the viewport.
1275
+ * @param {?} panelHeightTop
1276
+ * @param {?} topSpaceAvailable
1277
+ * @param {?} maxScroll
1278
+ * @return {?}
1279
+ */
1280
+ MatSelect.prototype._adjustPanelDown = function (panelHeightTop, topSpaceAvailable, maxScroll) {
1281
+ // Browsers ignore fractional scroll offsets, so we need to round.
1282
+ var /** @type {?} */ distanceAboveViewport = Math.round(panelHeightTop - topSpaceAvailable);
1283
+ // Scrolls the panel down by the distance it was extending past the boundary, then
1284
+ // adjusts the offset by that amount to move the panel down into the viewport.
1285
+ this._scrollTop += distanceAboveViewport;
1286
+ this._offsetY += distanceAboveViewport;
1287
+ this._transformOrigin = this._getOriginBasedOnOption();
1288
+ // If the panel is scrolled to the very bottom, it won't be able to fit the
1289
+ // panel by scrolling, so set the offset to 0 to allow the fallback position
1290
+ // to take effect.
1291
+ if (this._scrollTop >= maxScroll) {
1292
+ this._scrollTop = maxScroll;
1293
+ this._offsetY = 0;
1294
+ this._transformOrigin = "50% top 0px";
1295
+ return;
1296
+ }
1297
+ };
1298
+ /**
1299
+ * Sets the transform origin point based on the selected option.
1300
+ * @return {?}
1301
+ */
1302
+ MatSelect.prototype._getOriginBasedOnOption = function () {
1303
+ var /** @type {?} */ itemHeight = this._getItemHeight();
1304
+ var /** @type {?} */ optionHeightAdjustment = (itemHeight - this._triggerRect.height) / 2;
1305
+ var /** @type {?} */ originY = Math.abs(this._offsetY) - optionHeightAdjustment + itemHeight / 2;
1306
+ return "50% " + originY + "px 0px";
1307
+ };
1308
+ /**
1309
+ * Handles the user pressing the arrow keys on a closed select.
1310
+ * @param {?} event
1311
+ * @return {?}
1312
+ */
1313
+ MatSelect.prototype._handleClosedArrowKey = function (event) {
1314
+ var _this = this;
1315
+ if (this._multiple) {
1316
+ event.preventDefault();
1317
+ this.open();
1318
+ }
1319
+ else {
1320
+ var /** @type {?} */ prevActiveItem_1 = this._keyManager.activeItem;
1321
+ // Cycle though the select options even when the select is closed,
1322
+ // matching the behavior of the native select element.
1323
+ // TODO(crisbeto): native selects also cycle through the options with left/right arrows,
1324
+ // however the key manager only supports up/down at the moment.
1325
+ this._keyManager.onKeydown(event);
1326
+ // TODO(crisbeto): get rid of the Promise.resolve when #6441 gets in.
1327
+ Promise.resolve().then(function () {
1328
+ var /** @type {?} */ currentActiveItem = _this._keyManager.activeItem;
1329
+ if (currentActiveItem && currentActiveItem !== prevActiveItem_1) {
1330
+ _this._clearSelection();
1331
+ _this._setSelectionByValue(currentActiveItem.value, true);
1332
+ }
1333
+ });
1334
+ }
1335
+ };
1336
+ /**
1337
+ * Calculates the amount of items in the select. This includes options and group labels.
1338
+ * @return {?}
1339
+ */
1340
+ MatSelect.prototype._getItemCount = function () {
1341
+ return this.options.length + this.optionGroups.length;
1342
+ };
1343
+ /**
1344
+ * Calculates the height of the select's options.
1345
+ * @return {?}
1346
+ */
1347
+ MatSelect.prototype._getItemHeight = function () {
1348
+ return this._triggerFontSize * SELECT_ITEM_HEIGHT_EM;
1349
+ };
1350
+ /**
1351
+ * @param {?} ids
1352
+ * @return {?}
1353
+ */
1354
+ MatSelect.prototype.setDescribedByIds = function (ids) {
1355
+ this._ariaDescribedby = ids.join(' ');
1356
+ };
1357
+ /**
1358
+ * @return {?}
1359
+ */
1360
+ MatSelect.prototype.onContainerClick = function () {
1361
+ this.focus();
1362
+ this.open();
1363
+ };
1364
+ Object.defineProperty(MatSelect.prototype, "shouldPlaceholderFloat", {
1365
+ /**
1366
+ * @return {?}
1367
+ */
1368
+ get: function () { return this._panelOpen || !this.empty; },
1369
+ enumerable: true,
1370
+ configurable: true
1371
+ });
1372
+ MatSelect.decorators = [
1373
+ { type: Component, args: [{selector: 'mat-select',
1374
+ exportAs: 'matSelect',
1375
+ template: "<div cdk-overlay-origin class=\"mat-select-trigger\" aria-hidden=\"true\" (click)=\"toggle()\" #origin=\"cdkOverlayOrigin\" #trigger><div class=\"mat-select-value\"><ng-container *ngIf=\"empty\">&nbsp;</ng-container><span class=\"mat-select-value-text\" *ngIf=\"!empty\" [ngSwitch]=\"!!customTrigger\"><span *ngSwitchDefault>{{ triggerValue }}</span><ng-content select=\"mat-select-trigger\" *ngSwitchCase=\"true\"></ng-content></span></div><div class=\"mat-select-arrow-wrapper\"><div class=\"mat-select-arrow\"></div></div></div><ng-template cdk-connected-overlay hasBackdrop backdropClass=\"cdk-overlay-transparent-backdrop\" [scrollStrategy]=\"_scrollStrategy\" [origin]=\"origin\" [open]=\"panelOpen\" [positions]=\"_positions\" [minWidth]=\"_triggerRect?.width\" [offsetY]=\"_offsetY\" (backdropClick)=\"close()\" (attach)=\"_onAttached()\" (detach)=\"close()\"><div #panel class=\"mat-select-panel {{ _getPanelTheme() }}\" [ngClass]=\"panelClass\" [@transformPanel]=\"multiple ? 'showing-multiple' : 'showing'\" (@transformPanel.done)=\"_onPanelDone()\" [style.transformOrigin]=\"_transformOrigin\" [class.mat-select-panel-done-animating]=\"_panelDoneAnimating\" [style.font-size.px]=\"_triggerFontSize\"><div class=\"mat-select-content\" [@fadeInContent]=\"'showing'\" (@fadeInContent.done)=\"_onFadeInDone()\"><ng-content></ng-content></div></div></ng-template>",
1376
+ styles: [".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-placeholder{width:calc(100% - 18px)}"],
1377
+ inputs: ['disabled', 'tabIndex'],
1378
+ encapsulation: ViewEncapsulation.None,
1379
+ preserveWhitespaces: false,
1380
+ changeDetection: ChangeDetectionStrategy.OnPush,
1381
+ host: {
1382
+ 'role': 'listbox',
1383
+ '[attr.id]': 'id',
1384
+ '[attr.tabindex]': 'tabIndex',
1385
+ '[attr.aria-label]': '_ariaLabel',
1386
+ '[attr.aria-labelledby]': 'ariaLabelledby',
1387
+ '[attr.aria-required]': 'required.toString()',
1388
+ '[attr.aria-disabled]': 'disabled.toString()',
1389
+ '[attr.aria-invalid]': 'errorState',
1390
+ '[attr.aria-owns]': '_optionIds',
1391
+ '[attr.aria-multiselectable]': 'multiple',
1392
+ '[attr.aria-describedby]': '_ariaDescribedby || null',
1393
+ '[attr.aria-activedescendant]': '_getAriaActiveDescendant()',
1394
+ '[class.mat-select-disabled]': 'disabled',
1395
+ '[class.mat-select-invalid]': 'errorState',
1396
+ '[class.mat-select-required]': 'required',
1397
+ 'class': 'mat-select',
1398
+ '(keydown)': '_handleKeydown($event)',
1399
+ '(focus)': '_onFocus()',
1400
+ '(blur)': '_onBlur()',
1401
+ },
1402
+ animations: [
1403
+ transformPanel,
1404
+ fadeInContent
1405
+ ],
1406
+ providers: [{ provide: MatFormFieldControl, useExisting: MatSelect }],
1407
+ },] },
1408
+ ];
1409
+ /**
1410
+ * @nocollapse
1411
+ */
1412
+ MatSelect.ctorParameters = function () { return [
1413
+ { type: ViewportRuler, },
1414
+ { type: ChangeDetectorRef, },
1415
+ { type: NgZone, },
1416
+ { type: ErrorStateMatcher, },
1417
+ { type: Renderer2, },
1418
+ { type: ElementRef, },
1419
+ { type: Directionality, decorators: [{ type: Optional },] },
1420
+ { type: NgForm, decorators: [{ type: Optional },] },
1421
+ { type: FormGroupDirective, decorators: [{ type: Optional },] },
1422
+ { type: MatFormField, decorators: [{ type: Optional },] },
1423
+ { type: NgControl, decorators: [{ type: Self }, { type: Optional },] },
1424
+ { type: undefined, decorators: [{ type: Attribute, args: ['tabindex',] },] },
1425
+ { type: undefined, decorators: [{ type: Inject, args: [MAT_SELECT_SCROLL_STRATEGY,] },] },
1426
+ ]; };
1427
+ MatSelect.propDecorators = {
1428
+ 'trigger': [{ type: ViewChild, args: ['trigger',] },],
1429
+ 'panel': [{ type: ViewChild, args: ['panel',] },],
1430
+ 'overlayDir': [{ type: ViewChild, args: [ConnectedOverlayDirective,] },],
1431
+ 'options': [{ type: ContentChildren, args: [MatOption, { descendants: true },] },],
1432
+ 'optionGroups': [{ type: ContentChildren, args: [MatOptgroup,] },],
1433
+ 'panelClass': [{ type: Input },],
1434
+ 'customTrigger': [{ type: ContentChild, args: [MatSelectTrigger,] },],
1435
+ 'placeholder': [{ type: Input },],
1436
+ 'required': [{ type: Input },],
1437
+ 'multiple': [{ type: Input },],
1438
+ 'compareWith': [{ type: Input },],
1439
+ 'value': [{ type: Input },],
1440
+ 'disableRipple': [{ type: Input },],
1441
+ 'ariaLabel': [{ type: Input, args: ['aria-label',] },],
1442
+ 'ariaLabelledby': [{ type: Input, args: ['aria-labelledby',] },],
1443
+ 'errorStateMatcher': [{ type: Input },],
1444
+ 'id': [{ type: Input },],
1445
+ 'onOpen': [{ type: Output },],
1446
+ 'onClose': [{ type: Output },],
1447
+ 'change': [{ type: Output },],
1448
+ 'valueChange': [{ type: Output },],
1449
+ };
1450
+ return MatSelect;
1451
+ }(_MatSelectMixinBase));
1452
+
1453
+ var MatSelectModule = (function () {
1454
+ function MatSelectModule() {
1455
+ }
1456
+ MatSelectModule.decorators = [
1457
+ { type: NgModule, args: [{
1458
+ imports: [
1459
+ CommonModule,
1460
+ OverlayModule,
1461
+ MatOptionModule,
1462
+ MatCommonModule,
1463
+ ],
1464
+ exports: [MatFormFieldModule, MatSelect, MatSelectTrigger, MatOptionModule, MatCommonModule],
1465
+ declarations: [MatSelect, MatSelectTrigger],
1466
+ providers: [MAT_SELECT_SCROLL_STRATEGY_PROVIDER, ErrorStateMatcher]
1467
+ },] },
1468
+ ];
1469
+ /**
1470
+ * @nocollapse
1471
+ */
1472
+ MatSelectModule.ctorParameters = function () { return []; };
1473
+ return MatSelectModule;
1474
+ }());
1475
+
1476
+ /**
1477
+ * Generated bundle index. Do not edit.
1478
+ */
1479
+
1480
+ export { MatSelectModule, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_INDENT_PADDING_X, SELECT_ITEM_HEIGHT_EM, SELECT_MULTIPLE_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, MAT_SELECT_SCROLL_STRATEGY, MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY, MAT_SELECT_SCROLL_STRATEGY_PROVIDER, MatSelectChange, MatSelectBase, _MatSelectMixinBase, MatSelectTrigger, MatSelect, transformPanel, fadeInContent };
1481
+ //# sourceMappingURL=select.es5.js.map