@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,2117 @@
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 { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, ElementRef, EventEmitter, Inject, Injectable, InjectionToken, Input, LOCALE_ID, NgModule, NgZone, Optional, Output, ViewEncapsulation, isDevMode } from '@angular/core';
9
+ import { BidiModule } from '@angular/cdk/bidi';
10
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
11
+ import { Subject } from 'rxjs/Subject';
12
+ import { HammerGestureConfig } from '@angular/platform-browser';
13
+ import { CommonModule } from '@angular/common';
14
+ import { Platform, PlatformModule } from '@angular/cdk/platform';
15
+ import { ENTER, SPACE } from '@angular/cdk/keycodes';
16
+
17
+ /**
18
+ * \@docs-private
19
+ */
20
+ class AnimationCurves {
21
+ }
22
+ AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
23
+ AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
24
+ AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';
25
+ AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';
26
+ /**
27
+ * \@docs-private
28
+ */
29
+ class AnimationDurations {
30
+ }
31
+ AnimationDurations.COMPLEX = '375ms';
32
+ AnimationDurations.ENTERING = '225ms';
33
+ AnimationDurations.EXITING = '195ms';
34
+
35
+ const MATERIAL_COMPATIBILITY_MODE = new InjectionToken('md-compatibility-mode');
36
+ /**
37
+ * Selector that matches all elements that may have style collisions with AngularJS Material.
38
+ */
39
+ const MAT_ELEMENTS_SELECTOR = `
40
+ [mat-button],
41
+ [mat-fab],
42
+ [mat-icon-button],
43
+ [mat-mini-fab],
44
+ [mat-raised-button],
45
+ [matCardSubtitle],
46
+ [matCardTitle],
47
+ [matCellDef],
48
+ [matColumnDef],
49
+ [matDialogActions],
50
+ [matDialogClose],
51
+ [matDialogContent],
52
+ [matDialogTitle],
53
+ [matHeaderCellDef],
54
+ [matHeaderRowDef],
55
+ [matLine],
56
+ [matRowDef],
57
+ [matStepLabel],
58
+ [matStepperNext],
59
+ [matStepperPrevious],
60
+ [matTabLabel],
61
+ [matTabLink],
62
+ [matTabNav],
63
+ [matTooltip],
64
+ [matInput],
65
+ [matPrefix],
66
+ [matSuffix],
67
+ mat-autocomplete,
68
+ mat-button-toggle,
69
+ mat-button-toggle,
70
+ mat-button-toggle-group,
71
+ mat-card,
72
+ mat-card-actions,
73
+ mat-card-content,
74
+ mat-card-footer,
75
+ mat-card-header,
76
+ mat-card-subtitle,
77
+ mat-card-title,
78
+ mat-card-title-group,
79
+ mat-cell,
80
+ mat-checkbox,
81
+ mat-chip,
82
+ mat-dialog-actions,
83
+ mat-dialog-container,
84
+ mat-dialog-content,
85
+ mat-divider,
86
+ mat-error,
87
+ mat-grid-list,
88
+ mat-grid-tile,
89
+ mat-grid-tile-footer,
90
+ mat-grid-tile-header,
91
+ mat-header-cell,
92
+ mat-header-row,
93
+ mat-hint,
94
+ mat-horizontal-stepper,
95
+ mat-icon,
96
+ mat-input-container,
97
+ mat-form-field,
98
+ mat-list,
99
+ mat-list-item,
100
+ mat-menu,
101
+ mat-nav-list,
102
+ mat-option,
103
+ mat-placeholder,
104
+ mat-progress-bar,
105
+ mat-pseudo-checkbox,
106
+ mat-radio-button,
107
+ mat-radio-group,
108
+ mat-row,
109
+ mat-select,
110
+ mat-sidenav,
111
+ mat-sidenav-container,
112
+ mat-slider,
113
+ mat-spinner,
114
+ mat-step,
115
+ mat-tab,
116
+ mat-table,
117
+ mat-tab-group,
118
+ mat-toolbar,
119
+ mat-vertical-stepper`;
120
+ /**
121
+ * Selector that matches all elements that may have style collisions with AngularJS Material.
122
+ */
123
+ const MD_ELEMENTS_SELECTOR = `
124
+ [md-button],
125
+ [md-fab],
126
+ [md-icon-button],
127
+ [md-mini-fab],
128
+ [md-raised-button],
129
+ [mdCardSubtitle],
130
+ [mdCardTitle],
131
+ [mdCellDef],
132
+ [mdColumnDef],
133
+ [mdDialogActions],
134
+ [mdDialogClose],
135
+ [mdDialogContent],
136
+ [mdDialogTitle],
137
+ [mdHeaderCellDef],
138
+ [mdHeaderRowDef],
139
+ [mdLine],
140
+ [mdRowDef],
141
+ [mdStepLabel],
142
+ [mdStepperNext],
143
+ [mdStepperPrevious],
144
+ [mdTabLabel],
145
+ [mdTabLink],
146
+ [mdTabNav],
147
+ [mdTooltip],
148
+ [mdInput],
149
+ [mdPrefix],
150
+ [mdSuffix],
151
+ md-autocomplete,
152
+ md-button-toggle,
153
+ md-button-toggle,
154
+ md-button-toggle-group,
155
+ md-card,
156
+ md-card-actions,
157
+ md-card-content,
158
+ md-card-footer,
159
+ md-card-header,
160
+ md-card-subtitle,
161
+ md-card-title,
162
+ md-card-title-group,
163
+ md-cell,
164
+ md-checkbox,
165
+ md-chip,
166
+ md-dialog-actions,
167
+ md-dialog-container,
168
+ md-dialog-content,
169
+ md-divider,
170
+ md-error,
171
+ md-grid-list,
172
+ md-grid-tile,
173
+ md-grid-tile-footer,
174
+ md-grid-tile-header,
175
+ md-header-cell,
176
+ md-header-row,
177
+ md-hint,
178
+ md-horizontal-stepper,
179
+ md-icon,
180
+ md-input-container,
181
+ md-form-field,
182
+ md-list,
183
+ md-list-item,
184
+ md-menu,
185
+ md-nav-list,
186
+ md-option,
187
+ md-placeholder,
188
+ md-progress-bar,
189
+ md-pseudo-checkbox,
190
+ md-radio-button,
191
+ md-radio-group,
192
+ md-row,
193
+ md-select,
194
+ md-sidenav,
195
+ md-sidenav-container,
196
+ md-slider,
197
+ md-spinner,
198
+ md-step,
199
+ md-tab,
200
+ md-table,
201
+ md-tab-group,
202
+ md-toolbar,
203
+ md-vertical-stepper`;
204
+ /**
205
+ * Directive that enforces that the `mat-` prefix cannot be used.
206
+ */
207
+ class MatPrefixRejector {
208
+ }
209
+ MatPrefixRejector.decorators = [
210
+ { type: Directive, args: [{ selector: MAT_ELEMENTS_SELECTOR },] },
211
+ ];
212
+ /**
213
+ * @nocollapse
214
+ */
215
+ MatPrefixRejector.ctorParameters = () => [];
216
+ /**
217
+ * Directive that enforces that the `md-` prefix cannot be used.
218
+ */
219
+ class MdPrefixRejector {
220
+ }
221
+ MdPrefixRejector.decorators = [
222
+ { type: Directive, args: [{ selector: MD_ELEMENTS_SELECTOR },] },
223
+ ];
224
+ /**
225
+ * @nocollapse
226
+ */
227
+ MdPrefixRejector.ctorParameters = () => [];
228
+ /**
229
+ * Module that enforces the default compatibility mode settings. When this module is loaded
230
+ * without NoConflictStyleCompatibilityMode also being imported, it will throw an error if
231
+ * there are any uses of the `mat-` prefix.
232
+ */
233
+ class CompatibilityModule {
234
+ }
235
+ CompatibilityModule.decorators = [
236
+ { type: NgModule, args: [{
237
+ declarations: [MatPrefixRejector, MdPrefixRejector],
238
+ exports: [MatPrefixRejector, MdPrefixRejector],
239
+ },] },
240
+ ];
241
+ /**
242
+ * @nocollapse
243
+ */
244
+ CompatibilityModule.ctorParameters = () => [];
245
+ /**
246
+ * Module that enforces "no-conflict" compatibility mode settings. When this module is loaded,
247
+ * it will throw an error if there are any uses of the `md-` prefix.
248
+ */
249
+ class NoConflictStyleCompatibilityMode {
250
+ }
251
+ NoConflictStyleCompatibilityMode.decorators = [
252
+ { type: NgModule },
253
+ ];
254
+ /**
255
+ * @nocollapse
256
+ */
257
+ NoConflictStyleCompatibilityMode.ctorParameters = () => [];
258
+
259
+ /**
260
+ * Injection token that configures whether the Material sanity checks are enabled.
261
+ */
262
+ const MATERIAL_SANITY_CHECKS = new InjectionToken('mat-sanity-checks');
263
+ /**
264
+ * Module that captures anything that should be loaded and/or run for *all* Angular Material
265
+ * components. This includes Bidi, compatibility mode, etc.
266
+ *
267
+ * This module should be imported to each top-level component module (e.g., MatTabsModule).
268
+ */
269
+ class MatCommonModule {
270
+ /**
271
+ * @param {?} sanityChecksEnabled
272
+ */
273
+ constructor(sanityChecksEnabled) {
274
+ /**
275
+ * Whether we've done the global sanity checks (e.g. a theme is loaded, there is a doctype).
276
+ */
277
+ this._hasDoneGlobalChecks = false;
278
+ /**
279
+ * Reference to the global `document` object.
280
+ */
281
+ this._document = typeof document === 'object' && document ? document : null;
282
+ if (sanityChecksEnabled && !this._hasDoneGlobalChecks && isDevMode()) {
283
+ this._checkDoctype();
284
+ this._checkTheme();
285
+ this._hasDoneGlobalChecks = true;
286
+ }
287
+ }
288
+ /**
289
+ * @return {?}
290
+ */
291
+ _checkDoctype() {
292
+ if (this._document && !this._document.doctype) {
293
+ console.warn('Current document does not have a doctype. This may cause ' +
294
+ 'some Angular Material components not to behave as expected.');
295
+ }
296
+ }
297
+ /**
298
+ * @return {?}
299
+ */
300
+ _checkTheme() {
301
+ if (this._document && typeof getComputedStyle === 'function') {
302
+ const /** @type {?} */ testElement = this._document.createElement('div');
303
+ testElement.classList.add('mat-theme-loaded-marker');
304
+ this._document.body.appendChild(testElement);
305
+ const /** @type {?} */ computedStyle = getComputedStyle(testElement);
306
+ // In some situations, the computed style of the test element can be null. For example in
307
+ // Firefox, the computed style is null if an application is running inside of a hidden iframe.
308
+ // See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397
309
+ if (computedStyle && computedStyle.display !== 'none') {
310
+ console.warn('Could not find Angular Material core theme. Most Material ' +
311
+ 'components may not work as expected. For more info refer ' +
312
+ 'to the theming guide: https://material.angular.io/guide/theming');
313
+ }
314
+ this._document.body.removeChild(testElement);
315
+ }
316
+ }
317
+ }
318
+ MatCommonModule.decorators = [
319
+ { type: NgModule, args: [{
320
+ imports: [CompatibilityModule, BidiModule],
321
+ exports: [CompatibilityModule, BidiModule],
322
+ providers: [{
323
+ provide: MATERIAL_SANITY_CHECKS, useValue: true,
324
+ }],
325
+ },] },
326
+ ];
327
+ /**
328
+ * @nocollapse
329
+ */
330
+ MatCommonModule.ctorParameters = () => [
331
+ { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [MATERIAL_SANITY_CHECKS,] },] },
332
+ ];
333
+
334
+ /**
335
+ * Mixin to augment a directive with a `disabled` property.
336
+ * @template T
337
+ * @param {?} base
338
+ * @return {?}
339
+ */
340
+ function mixinDisabled(base) {
341
+ return class extends base {
342
+ /**
343
+ * @param {...?} args
344
+ */
345
+ constructor(...args) {
346
+ super(...args);
347
+ this._disabled = false;
348
+ }
349
+ /**
350
+ * @return {?}
351
+ */
352
+ get disabled() { return this._disabled; }
353
+ /**
354
+ * @param {?} value
355
+ * @return {?}
356
+ */
357
+ set disabled(value) { this._disabled = coerceBooleanProperty(value); }
358
+ };
359
+ }
360
+
361
+ /**
362
+ * Mixin to augment a directive with a `color` property.
363
+ * @template T
364
+ * @param {?} base
365
+ * @param {?=} defaultColor
366
+ * @return {?}
367
+ */
368
+ function mixinColor(base, defaultColor) {
369
+ return class extends base {
370
+ /**
371
+ * @return {?}
372
+ */
373
+ get color() { return this._color; }
374
+ /**
375
+ * @param {?} value
376
+ * @return {?}
377
+ */
378
+ set color(value) {
379
+ const /** @type {?} */ colorPalette = value || defaultColor;
380
+ if (colorPalette !== this._color) {
381
+ if (this._color) {
382
+ this._renderer.removeClass(this._elementRef.nativeElement, `mat-${this._color}`);
383
+ }
384
+ if (colorPalette) {
385
+ this._renderer.addClass(this._elementRef.nativeElement, `mat-${colorPalette}`);
386
+ }
387
+ this._color = colorPalette;
388
+ }
389
+ }
390
+ /**
391
+ * @param {...?} args
392
+ */
393
+ constructor(...args) {
394
+ super(...args);
395
+ // Set the default color that can be specified from the mixin.
396
+ this.color = defaultColor;
397
+ }
398
+ };
399
+ }
400
+
401
+ /**
402
+ * Mixin to augment a directive with a `disableRipple` property.
403
+ * @template T
404
+ * @param {?} base
405
+ * @return {?}
406
+ */
407
+ function mixinDisableRipple(base) {
408
+ return class extends base {
409
+ /**
410
+ * @param {...?} args
411
+ */
412
+ constructor(...args) {
413
+ super(...args);
414
+ this._disableRipple = false;
415
+ }
416
+ /**
417
+ * Whether the ripple effect is disabled or not.
418
+ * @return {?}
419
+ */
420
+ get disableRipple() { return this._disableRipple; }
421
+ /**
422
+ * @param {?} value
423
+ * @return {?}
424
+ */
425
+ set disableRipple(value) { this._disableRipple = coerceBooleanProperty(value); }
426
+ };
427
+ }
428
+
429
+ /**
430
+ * Mixin to augment a directive with a `tabIndex` property.
431
+ * @template T
432
+ * @param {?} base
433
+ * @param {?=} defaultTabIndex
434
+ * @return {?}
435
+ */
436
+ function mixinTabIndex(base, defaultTabIndex = 0) {
437
+ return class extends base {
438
+ /**
439
+ * @param {...?} args
440
+ */
441
+ constructor(...args) {
442
+ super(...args);
443
+ this._tabIndex = defaultTabIndex;
444
+ }
445
+ /**
446
+ * @return {?}
447
+ */
448
+ get tabIndex() { return this.disabled ? -1 : this._tabIndex; }
449
+ /**
450
+ * @param {?} value
451
+ * @return {?}
452
+ */
453
+ set tabIndex(value) {
454
+ // If the specified tabIndex value is null or undefined, fall back to the default value.
455
+ this._tabIndex = value != null ? value : defaultTabIndex;
456
+ }
457
+ };
458
+ }
459
+
460
+ /**
461
+ * InjectionToken for datepicker that can be used to override default locale code.
462
+ */
463
+ const MAT_DATE_LOCALE = new InjectionToken('MAT_DATE_LOCALE');
464
+ /**
465
+ * Provider for MAT_DATE_LOCALE injection token.
466
+ */
467
+ const MAT_DATE_LOCALE_PROVIDER = { provide: MAT_DATE_LOCALE, useExisting: LOCALE_ID };
468
+ /**
469
+ * Adapts type `D` to be usable as a date by cdk-based components that work with dates.
470
+ * @abstract
471
+ */
472
+ class DateAdapter {
473
+ constructor() {
474
+ this._localeChanges = new Subject();
475
+ }
476
+ /**
477
+ * A stream that emits when the locale changes.
478
+ * @return {?}
479
+ */
480
+ get localeChanges() { return this._localeChanges; }
481
+ /**
482
+ * Gets the year component of the given date.
483
+ * @abstract
484
+ * @param {?} date The date to extract the year from.
485
+ * @return {?} The year component.
486
+ */
487
+ getYear(date) { }
488
+ /**
489
+ * Gets the month component of the given date.
490
+ * @abstract
491
+ * @param {?} date The date to extract the month from.
492
+ * @return {?} The month component (0-indexed, 0 = January).
493
+ */
494
+ getMonth(date) { }
495
+ /**
496
+ * Gets the date of the month component of the given date.
497
+ * @abstract
498
+ * @param {?} date The date to extract the date of the month from.
499
+ * @return {?} The month component (1-indexed, 1 = first of month).
500
+ */
501
+ getDate(date) { }
502
+ /**
503
+ * Gets the day of the week component of the given date.
504
+ * @abstract
505
+ * @param {?} date The date to extract the day of the week from.
506
+ * @return {?} The month component (0-indexed, 0 = Sunday).
507
+ */
508
+ getDayOfWeek(date) { }
509
+ /**
510
+ * Gets a list of names for the months.
511
+ * @abstract
512
+ * @param {?} style The naming style (e.g. long = 'January', short = 'Jan', narrow = 'J').
513
+ * @return {?} An ordered list of all month names, starting with January.
514
+ */
515
+ getMonthNames(style) { }
516
+ /**
517
+ * Gets a list of names for the dates of the month.
518
+ * @abstract
519
+ * @return {?} An ordered list of all date of the month names, starting with '1'.
520
+ */
521
+ getDateNames() { }
522
+ /**
523
+ * Gets a list of names for the days of the week.
524
+ * @abstract
525
+ * @param {?} style The naming style (e.g. long = 'Sunday', short = 'Sun', narrow = 'S').
526
+ * @return {?} An ordered list of all weekday names, starting with Sunday.
527
+ */
528
+ getDayOfWeekNames(style) { }
529
+ /**
530
+ * Gets the name for the year of the given date.
531
+ * @abstract
532
+ * @param {?} date The date to get the year name for.
533
+ * @return {?} The name of the given year (e.g. '2017').
534
+ */
535
+ getYearName(date) { }
536
+ /**
537
+ * Gets the first day of the week.
538
+ * @abstract
539
+ * @return {?} The first day of the week (0-indexed, 0 = Sunday).
540
+ */
541
+ getFirstDayOfWeek() { }
542
+ /**
543
+ * Gets the number of days in the month of the given date.
544
+ * @abstract
545
+ * @param {?} date The date whose month should be checked.
546
+ * @return {?} The number of days in the month of the given date.
547
+ */
548
+ getNumDaysInMonth(date) { }
549
+ /**
550
+ * Clones the given date.
551
+ * @abstract
552
+ * @param {?} date The date to clone
553
+ * @return {?} A new date equal to the given date.
554
+ */
555
+ clone(date) { }
556
+ /**
557
+ * Creates a date with the given year, month, and date. Does not allow over/under-flow of the
558
+ * month and date.
559
+ * @abstract
560
+ * @param {?} year The full year of the date. (e.g. 89 means the year 89, not the year 1989).
561
+ * @param {?} month The month of the date (0-indexed, 0 = January). Must be an integer 0 - 11.
562
+ * @param {?} date The date of month of the date. Must be an integer 1 - length of the given month.
563
+ * @return {?} The new date, or null if invalid.
564
+ */
565
+ createDate(year, month, date) { }
566
+ /**
567
+ * Gets today's date.
568
+ * @abstract
569
+ * @return {?} Today's date.
570
+ */
571
+ today() { }
572
+ /**
573
+ * Parses a date from a value.
574
+ * @abstract
575
+ * @param {?} value The value to parse.
576
+ * @param {?} parseFormat The expected format of the value being parsed
577
+ * (type is implementation-dependent).
578
+ * @return {?} The parsed date.
579
+ */
580
+ parse(value, parseFormat) { }
581
+ /**
582
+ * Formats a date as a string.
583
+ * @abstract
584
+ * @param {?} date The value to format.
585
+ * @param {?} displayFormat The format to use to display the date as a string.
586
+ * @return {?} The formatted date string.
587
+ */
588
+ format(date, displayFormat) { }
589
+ /**
590
+ * Adds the given number of years to the date. Years are counted as if flipping 12 pages on the
591
+ * calendar for each year and then finding the closest date in the new month. For example when
592
+ * adding 1 year to Feb 29, 2016, the resulting date will be Feb 28, 2017.
593
+ * @abstract
594
+ * @param {?} date The date to add years to.
595
+ * @param {?} years The number of years to add (may be negative).
596
+ * @return {?} A new date equal to the given one with the specified number of years added.
597
+ */
598
+ addCalendarYears(date, years) { }
599
+ /**
600
+ * Adds the given number of months to the date. Months are counted as if flipping a page on the
601
+ * calendar for each month and then finding the closest date in the new month. For example when
602
+ * adding 1 month to Jan 31, 2017, the resulting date will be Feb 28, 2017.
603
+ * @abstract
604
+ * @param {?} date The date to add months to.
605
+ * @param {?} months The number of months to add (may be negative).
606
+ * @return {?} A new date equal to the given one with the specified number of months added.
607
+ */
608
+ addCalendarMonths(date, months) { }
609
+ /**
610
+ * Adds the given number of days to the date. Days are counted as if moving one cell on the
611
+ * calendar for each day.
612
+ * @abstract
613
+ * @param {?} date The date to add days to.
614
+ * @param {?} days The number of days to add (may be negative).
615
+ * @return {?} A new date equal to the given one with the specified number of days added.
616
+ */
617
+ addCalendarDays(date, days) { }
618
+ /**
619
+ * Gets the RFC 3339 compatible string (https://tools.ietf.org/html/rfc3339) for the given date.
620
+ * @abstract
621
+ * @param {?} date The date to get the ISO date string for.
622
+ * @return {?} The ISO date string date string.
623
+ */
624
+ toIso8601(date) { }
625
+ /**
626
+ * Creates a date from an RFC 3339 compatible string (https://tools.ietf.org/html/rfc3339).
627
+ * @abstract
628
+ * @param {?} iso8601String The ISO date string to create a date from
629
+ * @return {?} The date created from the ISO date string.
630
+ */
631
+ fromIso8601(iso8601String) { }
632
+ /**
633
+ * Checks whether the given object is considered a date instance by this DateAdapter.
634
+ * @abstract
635
+ * @param {?} obj The object to check
636
+ * @return {?} Whether the object is a date instance.
637
+ */
638
+ isDateInstance(obj) { }
639
+ /**
640
+ * Checks whether the given date is valid.
641
+ * @abstract
642
+ * @param {?} date The date to check.
643
+ * @return {?} Whether the date is valid.
644
+ */
645
+ isValid(date) { }
646
+ /**
647
+ * Sets the locale used for all dates.
648
+ * @param {?} locale The new locale.
649
+ * @return {?}
650
+ */
651
+ setLocale(locale) {
652
+ this.locale = locale;
653
+ this._localeChanges.next();
654
+ }
655
+ /**
656
+ * Compares two dates.
657
+ * @param {?} first The first date to compare.
658
+ * @param {?} second The second date to compare.
659
+ * @return {?} 0 if the dates are equal, a number less than 0 if the first date is earlier,
660
+ * a number greater than 0 if the first date is later.
661
+ */
662
+ compareDate(first, second) {
663
+ return this.getYear(first) - this.getYear(second) ||
664
+ this.getMonth(first) - this.getMonth(second) ||
665
+ this.getDate(first) - this.getDate(second);
666
+ }
667
+ /**
668
+ * Checks if two dates are equal.
669
+ * @param {?} first The first date to check.
670
+ * @param {?} second The second date to check.
671
+ * Null dates are considered equal to other null dates.
672
+ * @return {?}
673
+ */
674
+ sameDate(first, second) {
675
+ return first && second ? !this.compareDate(first, second) : first == second;
676
+ }
677
+ /**
678
+ * Clamp the given date between min and max dates.
679
+ * @param {?} date The date to clamp.
680
+ * @param {?=} min The minimum value to allow. If null or omitted no min is enforced.
681
+ * @param {?=} max The maximum value to allow. If null or omitted no max is enforced.
682
+ * @return {?} `min` if `date` is less than `min`, `max` if date is greater than `max`,
683
+ * otherwise `date`.
684
+ */
685
+ clampDate(date, min, max) {
686
+ if (min && this.compareDate(date, min) < 0) {
687
+ return min;
688
+ }
689
+ if (max && this.compareDate(date, max) > 0) {
690
+ return max;
691
+ }
692
+ return date;
693
+ }
694
+ }
695
+
696
+ /**
697
+ * Extends an object with the *enumerable* and *own* properties of one or more source objects,
698
+ * similar to Object.assign.
699
+ *
700
+ * @param {?} dest The object which will have properties copied to it.
701
+ * @param {...?} sources The source objects from which properties will be copied.
702
+ * @return {?}
703
+ */
704
+ function extendObject(dest, ...sources) {
705
+ if (dest == null) {
706
+ throw TypeError('Cannot convert undefined or null to object');
707
+ }
708
+ for (let /** @type {?} */ source of sources) {
709
+ if (source != null) {
710
+ for (let /** @type {?} */ key in source) {
711
+ if (source.hasOwnProperty(key)) {
712
+ dest[key] = source[key];
713
+ }
714
+ }
715
+ }
716
+ }
717
+ return dest;
718
+ }
719
+
720
+ /**
721
+ * Whether the browser supports the Intl API.
722
+ */
723
+ const SUPPORTS_INTL_API = typeof Intl != 'undefined';
724
+ /**
725
+ * The default month names to use if Intl API is not available.
726
+ */
727
+ const DEFAULT_MONTH_NAMES = {
728
+ 'long': [
729
+ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
730
+ 'October', 'November', 'December'
731
+ ],
732
+ 'short': ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
733
+ 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D']
734
+ };
735
+ /**
736
+ * The default date names to use if Intl API is not available.
737
+ */
738
+ const DEFAULT_DATE_NAMES = range(31, i => String(i + 1));
739
+ /**
740
+ * The default day of the week names to use if Intl API is not available.
741
+ */
742
+ const DEFAULT_DAY_OF_WEEK_NAMES = {
743
+ 'long': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
744
+ 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
745
+ 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S']
746
+ };
747
+ /**
748
+ * Matches strings that have the form of a valid RFC 3339 string
749
+ * (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date
750
+ * because the regex will match strings an with out of bounds month, date, etc.
751
+ */
752
+ const ISO_8601_REGEX = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;
753
+ /**
754
+ * Creates an array and fills it with values.
755
+ * @template T
756
+ * @param {?} length
757
+ * @param {?} valueFunction
758
+ * @return {?}
759
+ */
760
+ function range(length, valueFunction) {
761
+ const /** @type {?} */ valuesArray = Array(length);
762
+ for (let /** @type {?} */ i = 0; i < length; i++) {
763
+ valuesArray[i] = valueFunction(i);
764
+ }
765
+ return valuesArray;
766
+ }
767
+ /**
768
+ * Adapts the native JS Date for use with cdk-based components that work with dates.
769
+ */
770
+ class NativeDateAdapter extends DateAdapter {
771
+ /**
772
+ * @param {?} matDateLocale
773
+ */
774
+ constructor(matDateLocale) {
775
+ super();
776
+ /**
777
+ * Whether to use `timeZone: 'utc'` with `Intl.DateTimeFormat` when formatting dates.
778
+ * Without this `Intl.DateTimeFormat` sometimes chooses the wrong timeZone, which can throw off
779
+ * the result. (e.g. in the en-US locale `new Date(1800, 7, 14).toLocaleDateString()`
780
+ * will produce `'8/13/1800'`.
781
+ */
782
+ this.useUtcForDisplay = true;
783
+ super.setLocale(matDateLocale);
784
+ }
785
+ /**
786
+ * @param {?} date
787
+ * @return {?}
788
+ */
789
+ getYear(date) {
790
+ return date.getFullYear();
791
+ }
792
+ /**
793
+ * @param {?} date
794
+ * @return {?}
795
+ */
796
+ getMonth(date) {
797
+ return date.getMonth();
798
+ }
799
+ /**
800
+ * @param {?} date
801
+ * @return {?}
802
+ */
803
+ getDate(date) {
804
+ return date.getDate();
805
+ }
806
+ /**
807
+ * @param {?} date
808
+ * @return {?}
809
+ */
810
+ getDayOfWeek(date) {
811
+ return date.getDay();
812
+ }
813
+ /**
814
+ * @param {?} style
815
+ * @return {?}
816
+ */
817
+ getMonthNames(style) {
818
+ if (SUPPORTS_INTL_API) {
819
+ let /** @type {?} */ dtf = new Intl.DateTimeFormat(this.locale, { month: style });
820
+ return range(12, i => this._stripDirectionalityCharacters(dtf.format(new Date(2017, i, 1))));
821
+ }
822
+ return DEFAULT_MONTH_NAMES[style];
823
+ }
824
+ /**
825
+ * @return {?}
826
+ */
827
+ getDateNames() {
828
+ if (SUPPORTS_INTL_API) {
829
+ let /** @type {?} */ dtf = new Intl.DateTimeFormat(this.locale, { day: 'numeric' });
830
+ return range(31, i => this._stripDirectionalityCharacters(dtf.format(new Date(2017, 0, i + 1))));
831
+ }
832
+ return DEFAULT_DATE_NAMES;
833
+ }
834
+ /**
835
+ * @param {?} style
836
+ * @return {?}
837
+ */
838
+ getDayOfWeekNames(style) {
839
+ if (SUPPORTS_INTL_API) {
840
+ let /** @type {?} */ dtf = new Intl.DateTimeFormat(this.locale, { weekday: style });
841
+ return range(7, i => this._stripDirectionalityCharacters(dtf.format(new Date(2017, 0, i + 1))));
842
+ }
843
+ return DEFAULT_DAY_OF_WEEK_NAMES[style];
844
+ }
845
+ /**
846
+ * @param {?} date
847
+ * @return {?}
848
+ */
849
+ getYearName(date) {
850
+ if (SUPPORTS_INTL_API) {
851
+ let /** @type {?} */ dtf = new Intl.DateTimeFormat(this.locale, { year: 'numeric' });
852
+ return this._stripDirectionalityCharacters(dtf.format(date));
853
+ }
854
+ return String(this.getYear(date));
855
+ }
856
+ /**
857
+ * @return {?}
858
+ */
859
+ getFirstDayOfWeek() {
860
+ // We can't tell using native JS Date what the first day of the week is, we default to Sunday.
861
+ return 0;
862
+ }
863
+ /**
864
+ * @param {?} date
865
+ * @return {?}
866
+ */
867
+ getNumDaysInMonth(date) {
868
+ return this.getDate(this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + 1, 0));
869
+ }
870
+ /**
871
+ * @param {?} date
872
+ * @return {?}
873
+ */
874
+ clone(date) {
875
+ return this.createDate(this.getYear(date), this.getMonth(date), this.getDate(date));
876
+ }
877
+ /**
878
+ * @param {?} year
879
+ * @param {?} month
880
+ * @param {?} date
881
+ * @return {?}
882
+ */
883
+ createDate(year, month, date) {
884
+ // Check for invalid month and date (except upper bound on date which we have to check after
885
+ // creating the Date).
886
+ if (month < 0 || month > 11) {
887
+ throw Error(`Invalid month index "${month}". Month index has to be between 0 and 11.`);
888
+ }
889
+ if (date < 1) {
890
+ throw Error(`Invalid date "${date}". Date has to be greater than 0.`);
891
+ }
892
+ let /** @type {?} */ result = this._createDateWithOverflow(year, month, date);
893
+ // Check that the date wasn't above the upper bound for the month, causing the month to overflow
894
+ if (result.getMonth() != month) {
895
+ throw Error(`Invalid date "${date}" for month with index "${month}".`);
896
+ }
897
+ return result;
898
+ }
899
+ /**
900
+ * @return {?}
901
+ */
902
+ today() {
903
+ return new Date();
904
+ }
905
+ /**
906
+ * @param {?} value
907
+ * @return {?}
908
+ */
909
+ parse(value) {
910
+ // We have no way using the native JS Date to set the parse format or locale, so we ignore these
911
+ // parameters.
912
+ if (typeof value == 'number') {
913
+ return new Date(value);
914
+ }
915
+ return value ? new Date(Date.parse(value)) : null;
916
+ }
917
+ /**
918
+ * @param {?} date
919
+ * @param {?} displayFormat
920
+ * @return {?}
921
+ */
922
+ format(date, displayFormat) {
923
+ if (!this.isValid(date)) {
924
+ throw Error('NativeDateAdapter: Cannot format invalid date.');
925
+ }
926
+ if (SUPPORTS_INTL_API) {
927
+ if (this.useUtcForDisplay) {
928
+ date = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
929
+ displayFormat = extendObject({}, displayFormat, { timeZone: 'utc' });
930
+ }
931
+ let /** @type {?} */ dtf = new Intl.DateTimeFormat(this.locale, displayFormat);
932
+ return this._stripDirectionalityCharacters(dtf.format(date));
933
+ }
934
+ return this._stripDirectionalityCharacters(date.toDateString());
935
+ }
936
+ /**
937
+ * @param {?} date
938
+ * @param {?} years
939
+ * @return {?}
940
+ */
941
+ addCalendarYears(date, years) {
942
+ return this.addCalendarMonths(date, years * 12);
943
+ }
944
+ /**
945
+ * @param {?} date
946
+ * @param {?} months
947
+ * @return {?}
948
+ */
949
+ addCalendarMonths(date, months) {
950
+ let /** @type {?} */ newDate = this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + months, this.getDate(date));
951
+ // It's possible to wind up in the wrong month if the original month has more days than the new
952
+ // month. In this case we want to go to the last day of the desired month.
953
+ // Note: the additional + 12 % 12 ensures we end up with a positive number, since JS % doesn't
954
+ // guarantee this.
955
+ if (this.getMonth(newDate) != ((this.getMonth(date) + months) % 12 + 12) % 12) {
956
+ newDate = this._createDateWithOverflow(this.getYear(newDate), this.getMonth(newDate), 0);
957
+ }
958
+ return newDate;
959
+ }
960
+ /**
961
+ * @param {?} date
962
+ * @param {?} days
963
+ * @return {?}
964
+ */
965
+ addCalendarDays(date, days) {
966
+ return this._createDateWithOverflow(this.getYear(date), this.getMonth(date), this.getDate(date) + days);
967
+ }
968
+ /**
969
+ * @param {?} date
970
+ * @return {?}
971
+ */
972
+ toIso8601(date) {
973
+ return [
974
+ date.getUTCFullYear(),
975
+ this._2digit(date.getUTCMonth() + 1),
976
+ this._2digit(date.getUTCDate())
977
+ ].join('-');
978
+ }
979
+ /**
980
+ * @param {?} iso8601String
981
+ * @return {?}
982
+ */
983
+ fromIso8601(iso8601String) {
984
+ // The `Date` constructor accepts formats other than ISO 8601, so we need to make sure the
985
+ // string is the right format first.
986
+ if (ISO_8601_REGEX.test(iso8601String)) {
987
+ let /** @type {?} */ d = new Date(iso8601String);
988
+ if (this.isValid(d)) {
989
+ return d;
990
+ }
991
+ }
992
+ return null;
993
+ }
994
+ /**
995
+ * @param {?} obj
996
+ * @return {?}
997
+ */
998
+ isDateInstance(obj) {
999
+ return obj instanceof Date;
1000
+ }
1001
+ /**
1002
+ * @param {?} date
1003
+ * @return {?}
1004
+ */
1005
+ isValid(date) {
1006
+ return !isNaN(date.getTime());
1007
+ }
1008
+ /**
1009
+ * Creates a date but allows the month and date to overflow.
1010
+ * @param {?} year
1011
+ * @param {?} month
1012
+ * @param {?} date
1013
+ * @return {?}
1014
+ */
1015
+ _createDateWithOverflow(year, month, date) {
1016
+ let /** @type {?} */ result = new Date(year, month, date);
1017
+ // We need to correct for the fact that JS native Date treats years in range [0, 99] as
1018
+ // abbreviations for 19xx.
1019
+ if (year >= 0 && year < 100) {
1020
+ result.setFullYear(this.getYear(result) - 1900);
1021
+ }
1022
+ return result;
1023
+ }
1024
+ /**
1025
+ * Pads a number to make it two digits.
1026
+ * @param {?} n The number to pad.
1027
+ * @return {?} The padded number.
1028
+ */
1029
+ _2digit(n) {
1030
+ return ('00' + n).slice(-2);
1031
+ }
1032
+ /**
1033
+ * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
1034
+ * other browsers do not. We remove them to make output consistent and because they interfere with
1035
+ * date parsing.
1036
+ * @param {?} str The string to strip direction characters from.
1037
+ * @return {?} The stripped string.
1038
+ */
1039
+ _stripDirectionalityCharacters(str) {
1040
+ return str.replace(/[\u200e\u200f]/g, '');
1041
+ }
1042
+ }
1043
+ NativeDateAdapter.decorators = [
1044
+ { type: Injectable },
1045
+ ];
1046
+ /**
1047
+ * @nocollapse
1048
+ */
1049
+ NativeDateAdapter.ctorParameters = () => [
1050
+ { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [MAT_DATE_LOCALE,] },] },
1051
+ ];
1052
+
1053
+ const MAT_DATE_FORMATS = new InjectionToken('mat-date-formats');
1054
+
1055
+ const MAT_NATIVE_DATE_FORMATS = {
1056
+ parse: {
1057
+ dateInput: null,
1058
+ },
1059
+ display: {
1060
+ dateInput: { year: 'numeric', month: 'numeric', day: 'numeric' },
1061
+ monthYearLabel: { year: 'numeric', month: 'short' },
1062
+ dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' },
1063
+ monthYearA11yLabel: { year: 'numeric', month: 'long' },
1064
+ }
1065
+ };
1066
+
1067
+ class NativeDateModule {
1068
+ }
1069
+ NativeDateModule.decorators = [
1070
+ { type: NgModule, args: [{
1071
+ providers: [
1072
+ { provide: DateAdapter, useClass: NativeDateAdapter },
1073
+ MAT_DATE_LOCALE_PROVIDER
1074
+ ],
1075
+ },] },
1076
+ ];
1077
+ /**
1078
+ * @nocollapse
1079
+ */
1080
+ NativeDateModule.ctorParameters = () => [];
1081
+ class MatNativeDateModule {
1082
+ }
1083
+ MatNativeDateModule.decorators = [
1084
+ { type: NgModule, args: [{
1085
+ imports: [NativeDateModule],
1086
+ providers: [{ provide: MAT_DATE_FORMATS, useValue: MAT_NATIVE_DATE_FORMATS }],
1087
+ },] },
1088
+ ];
1089
+ /**
1090
+ * @nocollapse
1091
+ */
1092
+ MatNativeDateModule.ctorParameters = () => [];
1093
+
1094
+ /**
1095
+ * Error state matcher that matches when a control is invalid and dirty.
1096
+ */
1097
+ class ShowOnDirtyErrorStateMatcher {
1098
+ /**
1099
+ * @param {?} control
1100
+ * @param {?} form
1101
+ * @return {?}
1102
+ */
1103
+ isErrorState(control, form) {
1104
+ return !!(control && control.invalid && (control.dirty || (form && form.submitted)));
1105
+ }
1106
+ }
1107
+ ShowOnDirtyErrorStateMatcher.decorators = [
1108
+ { type: Injectable },
1109
+ ];
1110
+ /**
1111
+ * @nocollapse
1112
+ */
1113
+ ShowOnDirtyErrorStateMatcher.ctorParameters = () => [];
1114
+ /**
1115
+ * Provider that defines how form controls behave with regards to displaying error messages.
1116
+ */
1117
+ class ErrorStateMatcher {
1118
+ /**
1119
+ * @param {?} control
1120
+ * @param {?} form
1121
+ * @return {?}
1122
+ */
1123
+ isErrorState(control, form) {
1124
+ return !!(control && control.invalid && (control.touched || (form && form.submitted)));
1125
+ }
1126
+ }
1127
+ ErrorStateMatcher.decorators = [
1128
+ { type: Injectable },
1129
+ ];
1130
+ /**
1131
+ * @nocollapse
1132
+ */
1133
+ ErrorStateMatcher.ctorParameters = () => [];
1134
+
1135
+ class GestureConfig extends HammerGestureConfig {
1136
+ constructor() {
1137
+ super();
1138
+ this._hammer = typeof window !== 'undefined' ? ((window)).Hammer : null;
1139
+ /* List of new event names to add to the gesture support list */
1140
+ this.events = this._hammer ? [
1141
+ 'longpress',
1142
+ 'slide',
1143
+ 'slidestart',
1144
+ 'slideend',
1145
+ 'slideright',
1146
+ 'slideleft'
1147
+ ] : [];
1148
+ if (!this._hammer && isDevMode()) {
1149
+ console.warn('Could not find HammerJS. Certain Angular Material ' +
1150
+ 'components may not work correctly.');
1151
+ }
1152
+ }
1153
+ /**
1154
+ * Builds Hammer instance manually to add custom recognizers that match the Material Design spec.
1155
+ *
1156
+ * Our gesture names come from the Material Design gestures spec:
1157
+ * https://www.google.com/design/spec/patterns/gestures.html#gestures-touch-mechanics
1158
+ *
1159
+ * More information on default recognizers can be found in Hammer docs:
1160
+ * http://hammerjs.github.io/recognizer-pan/
1161
+ * http://hammerjs.github.io/recognizer-press/
1162
+ *
1163
+ * @param {?} element Element to which to assign the new HammerJS gestures.
1164
+ * @return {?} Newly-created HammerJS instance.
1165
+ */
1166
+ buildHammer(element) {
1167
+ const /** @type {?} */ mc = new this._hammer(element);
1168
+ // Default Hammer Recognizers.
1169
+ let /** @type {?} */ pan = new this._hammer.Pan();
1170
+ let /** @type {?} */ swipe = new this._hammer.Swipe();
1171
+ let /** @type {?} */ press = new this._hammer.Press();
1172
+ // Notice that a HammerJS recognizer can only depend on one other recognizer once.
1173
+ // Otherwise the previous `recognizeWith` will be dropped.
1174
+ // TODO: Confirm threshold numbers with Material Design UX Team
1175
+ let /** @type {?} */ slide = this._createRecognizer(pan, { event: 'slide', threshold: 0 }, swipe);
1176
+ let /** @type {?} */ longpress = this._createRecognizer(press, { event: 'longpress', time: 500 });
1177
+ // Overwrite the default `pan` event to use the swipe event.
1178
+ pan.recognizeWith(swipe);
1179
+ // Add customized gestures to Hammer manager
1180
+ mc.add([swipe, press, pan, slide, longpress]);
1181
+ return (mc);
1182
+ }
1183
+ /**
1184
+ * Creates a new recognizer, without affecting the default recognizers of HammerJS
1185
+ * @param {?} base
1186
+ * @param {?} options
1187
+ * @param {...?} inheritances
1188
+ * @return {?}
1189
+ */
1190
+ _createRecognizer(base, options, ...inheritances) {
1191
+ let /** @type {?} */ recognizer = new ((base.constructor))(options);
1192
+ inheritances.push(base);
1193
+ inheritances.forEach(item => recognizer.recognizeWith(item));
1194
+ return recognizer;
1195
+ }
1196
+ }
1197
+ GestureConfig.decorators = [
1198
+ { type: Injectable },
1199
+ ];
1200
+ /**
1201
+ * @nocollapse
1202
+ */
1203
+ GestureConfig.ctorParameters = () => [];
1204
+
1205
+ /**
1206
+ * Shared directive to count lines inside a text area, such as a list item.
1207
+ * Line elements can be extracted with a \@ContentChildren(MatLine) query, then
1208
+ * counted by checking the query list's length.
1209
+ */
1210
+ class MatLine {
1211
+ }
1212
+ MatLine.decorators = [
1213
+ { type: Directive, args: [{
1214
+ selector: '[mat-line], [matLine]',
1215
+ host: { 'class': 'mat-line' }
1216
+ },] },
1217
+ ];
1218
+ /**
1219
+ * @nocollapse
1220
+ */
1221
+ MatLine.ctorParameters = () => [];
1222
+ /**
1223
+ * Helper that takes a query list of lines and sets the correct class on the host.
1224
+ * \@docs-private
1225
+ */
1226
+ class MatLineSetter {
1227
+ /**
1228
+ * @param {?} _lines
1229
+ * @param {?} _renderer
1230
+ * @param {?} _element
1231
+ */
1232
+ constructor(_lines, _renderer, _element) {
1233
+ this._lines = _lines;
1234
+ this._renderer = _renderer;
1235
+ this._element = _element;
1236
+ this._setLineClass(this._lines.length);
1237
+ this._lines.changes.subscribe(() => {
1238
+ this._setLineClass(this._lines.length);
1239
+ });
1240
+ }
1241
+ /**
1242
+ * @param {?} count
1243
+ * @return {?}
1244
+ */
1245
+ _setLineClass(count) {
1246
+ this._resetClasses();
1247
+ if (count === 2 || count === 3) {
1248
+ this._setClass(`mat-${count}-line`, true);
1249
+ }
1250
+ else if (count > 3) {
1251
+ this._setClass(`mat-multi-line`, true);
1252
+ }
1253
+ }
1254
+ /**
1255
+ * @return {?}
1256
+ */
1257
+ _resetClasses() {
1258
+ this._setClass('mat-2-line', false);
1259
+ this._setClass('mat-3-line', false);
1260
+ this._setClass('mat-multi-line', false);
1261
+ }
1262
+ /**
1263
+ * @param {?} className
1264
+ * @param {?} isAdd
1265
+ * @return {?}
1266
+ */
1267
+ _setClass(className, isAdd) {
1268
+ if (isAdd) {
1269
+ this._renderer.addClass(this._element.nativeElement, className);
1270
+ }
1271
+ else {
1272
+ this._renderer.removeClass(this._element.nativeElement, className);
1273
+ }
1274
+ }
1275
+ }
1276
+ class MatLineModule {
1277
+ }
1278
+ MatLineModule.decorators = [
1279
+ { type: NgModule, args: [{
1280
+ imports: [MatCommonModule],
1281
+ exports: [MatLine, MatCommonModule],
1282
+ declarations: [MatLine],
1283
+ },] },
1284
+ ];
1285
+ /**
1286
+ * @nocollapse
1287
+ */
1288
+ MatLineModule.ctorParameters = () => [];
1289
+
1290
+ let RippleState = {};
1291
+ RippleState.FADING_IN = 0;
1292
+ RippleState.VISIBLE = 1;
1293
+ RippleState.FADING_OUT = 2;
1294
+ RippleState.HIDDEN = 3;
1295
+ RippleState[RippleState.FADING_IN] = "FADING_IN";
1296
+ RippleState[RippleState.VISIBLE] = "VISIBLE";
1297
+ RippleState[RippleState.FADING_OUT] = "FADING_OUT";
1298
+ RippleState[RippleState.HIDDEN] = "HIDDEN";
1299
+ /**
1300
+ * Reference to a previously launched ripple element.
1301
+ */
1302
+ class RippleRef {
1303
+ /**
1304
+ * @param {?} _renderer
1305
+ * @param {?} element
1306
+ * @param {?} config
1307
+ */
1308
+ constructor(_renderer, element, config) {
1309
+ this._renderer = _renderer;
1310
+ this.element = element;
1311
+ this.config = config;
1312
+ /**
1313
+ * Current state of the ripple reference.
1314
+ */
1315
+ this.state = RippleState.HIDDEN;
1316
+ }
1317
+ /**
1318
+ * Fades out the ripple element.
1319
+ * @return {?}
1320
+ */
1321
+ fadeOut() {
1322
+ this._renderer.fadeOutRipple(this);
1323
+ }
1324
+ }
1325
+
1326
+ /**
1327
+ * Fade-in duration for the ripples. Can be modified with the speedFactor option.
1328
+ */
1329
+ const RIPPLE_FADE_IN_DURATION = 450;
1330
+ /**
1331
+ * Fade-out duration for the ripples in milliseconds. This can't be modified by the speedFactor.
1332
+ */
1333
+ const RIPPLE_FADE_OUT_DURATION = 400;
1334
+ /**
1335
+ * Helper service that performs DOM manipulations. Not intended to be used outside this module.
1336
+ * The constructor takes a reference to the ripple directive's host element and a map of DOM
1337
+ * event handlers to be installed on the element that triggers ripple animations.
1338
+ * This will eventually become a custom renderer once Angular support exists.
1339
+ * \@docs-private
1340
+ */
1341
+ class RippleRenderer {
1342
+ /**
1343
+ * @param {?} elementRef
1344
+ * @param {?} _ngZone
1345
+ * @param {?} platform
1346
+ */
1347
+ constructor(elementRef, _ngZone, platform) {
1348
+ this._ngZone = _ngZone;
1349
+ /**
1350
+ * Whether the pointer is currently being held on the trigger or not.
1351
+ */
1352
+ this._isPointerDown = false;
1353
+ /**
1354
+ * Events to be registered on the trigger element.
1355
+ */
1356
+ this._triggerEvents = new Map();
1357
+ /**
1358
+ * Set of currently active ripple references.
1359
+ */
1360
+ this._activeRipples = new Set();
1361
+ /**
1362
+ * Ripple config for all ripples created by events.
1363
+ */
1364
+ this.rippleConfig = {};
1365
+ /**
1366
+ * Whether mouse ripples should be created or not.
1367
+ */
1368
+ this.rippleDisabled = false;
1369
+ // Only do anything if we're on the browser.
1370
+ if (platform.isBrowser) {
1371
+ this._containerElement = elementRef.nativeElement;
1372
+ // Specify events which need to be registered on the trigger.
1373
+ this._triggerEvents.set('mousedown', this.onMousedown.bind(this));
1374
+ this._triggerEvents.set('touchstart', this.onTouchstart.bind(this));
1375
+ this._triggerEvents.set('mouseup', this.onPointerUp.bind(this));
1376
+ this._triggerEvents.set('touchend', this.onPointerUp.bind(this));
1377
+ this._triggerEvents.set('mouseleave', this.onPointerLeave.bind(this));
1378
+ // By default use the host element as trigger element.
1379
+ this.setTriggerElement(this._containerElement);
1380
+ }
1381
+ }
1382
+ /**
1383
+ * Fades in a ripple at the given coordinates.
1384
+ * @param {?} x Coordinate within the element, along the X axis at which to start the ripple.
1385
+ * @param {?} y
1386
+ * @param {?=} config Extra ripple options.
1387
+ * @return {?}
1388
+ */
1389
+ fadeInRipple(x, y, config = {}) {
1390
+ const /** @type {?} */ containerRect = this._containerElement.getBoundingClientRect();
1391
+ if (config.centered) {
1392
+ x = containerRect.left + containerRect.width / 2;
1393
+ y = containerRect.top + containerRect.height / 2;
1394
+ }
1395
+ const /** @type {?} */ radius = config.radius || distanceToFurthestCorner(x, y, containerRect);
1396
+ const /** @type {?} */ duration = RIPPLE_FADE_IN_DURATION * (1 / (config.speedFactor || 1));
1397
+ const /** @type {?} */ offsetX = x - containerRect.left;
1398
+ const /** @type {?} */ offsetY = y - containerRect.top;
1399
+ const /** @type {?} */ ripple = document.createElement('div');
1400
+ ripple.classList.add('mat-ripple-element');
1401
+ ripple.style.left = `${offsetX - radius}px`;
1402
+ ripple.style.top = `${offsetY - radius}px`;
1403
+ ripple.style.height = `${radius * 2}px`;
1404
+ ripple.style.width = `${radius * 2}px`;
1405
+ // If the color is not set, the default CSS color will be used.
1406
+ ripple.style.backgroundColor = config.color || null;
1407
+ ripple.style.transitionDuration = `${duration}ms`;
1408
+ this._containerElement.appendChild(ripple);
1409
+ // By default the browser does not recalculate the styles of dynamically created
1410
+ // ripple elements. This is critical because then the `scale` would not animate properly.
1411
+ enforceStyleRecalculation(ripple);
1412
+ ripple.style.transform = 'scale(1)';
1413
+ // Exposed reference to the ripple that will be returned.
1414
+ let /** @type {?} */ rippleRef = new RippleRef(this, ripple, config);
1415
+ rippleRef.state = RippleState.FADING_IN;
1416
+ // Add the ripple reference to the list of all active ripples.
1417
+ this._activeRipples.add(rippleRef);
1418
+ // Wait for the ripple element to be completely faded in.
1419
+ // Once it's faded in, the ripple can be hidden immediately if the mouse is released.
1420
+ this.runTimeoutOutsideZone(() => {
1421
+ rippleRef.state = RippleState.VISIBLE;
1422
+ if (!config.persistent && !this._isPointerDown) {
1423
+ rippleRef.fadeOut();
1424
+ }
1425
+ }, duration);
1426
+ return rippleRef;
1427
+ }
1428
+ /**
1429
+ * Fades out a ripple reference.
1430
+ * @param {?} rippleRef
1431
+ * @return {?}
1432
+ */
1433
+ fadeOutRipple(rippleRef) {
1434
+ // For ripples that are not active anymore, don't re-un the fade-out animation.
1435
+ if (!this._activeRipples.delete(rippleRef)) {
1436
+ return;
1437
+ }
1438
+ let /** @type {?} */ rippleEl = rippleRef.element;
1439
+ rippleEl.style.transitionDuration = `${RIPPLE_FADE_OUT_DURATION}ms`;
1440
+ rippleEl.style.opacity = '0';
1441
+ rippleRef.state = RippleState.FADING_OUT;
1442
+ // Once the ripple faded out, the ripple can be safely removed from the DOM.
1443
+ this.runTimeoutOutsideZone(() => {
1444
+ rippleRef.state = RippleState.HIDDEN; /** @type {?} */
1445
+ ((rippleEl.parentNode)).removeChild(rippleEl);
1446
+ }, RIPPLE_FADE_OUT_DURATION);
1447
+ }
1448
+ /**
1449
+ * Fades out all currently active ripples.
1450
+ * @return {?}
1451
+ */
1452
+ fadeOutAll() {
1453
+ this._activeRipples.forEach(ripple => ripple.fadeOut());
1454
+ }
1455
+ /**
1456
+ * Sets the trigger element and registers the mouse events.
1457
+ * @param {?} element
1458
+ * @return {?}
1459
+ */
1460
+ setTriggerElement(element) {
1461
+ // Remove all previously register event listeners from the trigger element.
1462
+ if (this._triggerElement) {
1463
+ this._triggerEvents.forEach((fn, type) => {
1464
+ ((this._triggerElement)).removeEventListener(type, fn);
1465
+ });
1466
+ }
1467
+ if (element) {
1468
+ // If the element is not null, register all event listeners on the trigger element.
1469
+ this._ngZone.runOutsideAngular(() => {
1470
+ this._triggerEvents.forEach((fn, type) => element.addEventListener(type, fn));
1471
+ });
1472
+ }
1473
+ this._triggerElement = element;
1474
+ }
1475
+ /**
1476
+ * Function being called whenever the trigger is being pressed.
1477
+ * @param {?} event
1478
+ * @return {?}
1479
+ */
1480
+ onMousedown(event) {
1481
+ if (!this.rippleDisabled) {
1482
+ this._isPointerDown = true;
1483
+ this.fadeInRipple(event.clientX, event.clientY, this.rippleConfig);
1484
+ }
1485
+ }
1486
+ /**
1487
+ * Function being called whenever the pointer is being released.
1488
+ * @return {?}
1489
+ */
1490
+ onPointerUp() {
1491
+ this._isPointerDown = false;
1492
+ // Fade-out all ripples that are completely visible and not persistent.
1493
+ this._activeRipples.forEach(ripple => {
1494
+ if (!ripple.config.persistent && ripple.state === RippleState.VISIBLE) {
1495
+ ripple.fadeOut();
1496
+ }
1497
+ });
1498
+ }
1499
+ /**
1500
+ * Function being called whenever the pointer leaves the trigger.
1501
+ * @return {?}
1502
+ */
1503
+ onPointerLeave() {
1504
+ if (this._isPointerDown) {
1505
+ this.onPointerUp();
1506
+ }
1507
+ }
1508
+ /**
1509
+ * Function being called whenever the trigger is being touched.
1510
+ * @param {?} event
1511
+ * @return {?}
1512
+ */
1513
+ onTouchstart(event) {
1514
+ if (!this.rippleDisabled) {
1515
+ const { clientX, clientY } = event.touches[0];
1516
+ this._isPointerDown = true;
1517
+ this.fadeInRipple(clientX, clientY, this.rippleConfig);
1518
+ }
1519
+ }
1520
+ /**
1521
+ * Runs a timeout outside of the Angular zone to avoid triggering the change detection.
1522
+ * @param {?} fn
1523
+ * @param {?=} delay
1524
+ * @return {?}
1525
+ */
1526
+ runTimeoutOutsideZone(fn, delay = 0) {
1527
+ this._ngZone.runOutsideAngular(() => setTimeout(fn, delay));
1528
+ }
1529
+ }
1530
+ /**
1531
+ * @param {?} element
1532
+ * @return {?}
1533
+ */
1534
+ function enforceStyleRecalculation(element) {
1535
+ // Enforce a style recalculation by calling `getComputedStyle` and accessing any property.
1536
+ // Calling `getPropertyValue` is important to let optimizers know that this is not a noop.
1537
+ // See: https://gist.github.com/paulirish/5d52fb081b3570c81e3a
1538
+ window.getComputedStyle(element).getPropertyValue('opacity');
1539
+ }
1540
+ /**
1541
+ * Returns the distance from the point (x, y) to the furthest corner of a rectangle.
1542
+ * @param {?} x
1543
+ * @param {?} y
1544
+ * @param {?} rect
1545
+ * @return {?}
1546
+ */
1547
+ function distanceToFurthestCorner(x, y, rect) {
1548
+ const /** @type {?} */ distX = Math.max(Math.abs(x - rect.left), Math.abs(x - rect.right));
1549
+ const /** @type {?} */ distY = Math.max(Math.abs(y - rect.top), Math.abs(y - rect.bottom));
1550
+ return Math.sqrt(distX * distX + distY * distY);
1551
+ }
1552
+
1553
+ /**
1554
+ * Injection token that can be used to specify the global ripple options.
1555
+ */
1556
+ const MAT_RIPPLE_GLOBAL_OPTIONS = new InjectionToken('mat-ripple-global-options');
1557
+ class MatRipple {
1558
+ /**
1559
+ * @param {?} elementRef
1560
+ * @param {?} ngZone
1561
+ * @param {?} platform
1562
+ * @param {?} globalOptions
1563
+ */
1564
+ constructor(elementRef, ngZone, platform, globalOptions) {
1565
+ /**
1566
+ * If set, the radius in pixels of foreground ripples when fully expanded. If unset, the radius
1567
+ * will be the distance from the center of the ripple to the furthest corner of the host element's
1568
+ * bounding rectangle.
1569
+ */
1570
+ this.radius = 0;
1571
+ /**
1572
+ * If set, the normal duration of ripple animations is divided by this value. For example,
1573
+ * setting it to 0.5 will cause the animations to take twice as long.
1574
+ * A changed speedFactor will not modify the fade-out duration of the ripples.
1575
+ */
1576
+ this.speedFactor = 1;
1577
+ this._rippleRenderer = new RippleRenderer(elementRef, ngZone, platform);
1578
+ this._globalOptions = globalOptions ? globalOptions : {};
1579
+ this._updateRippleRenderer();
1580
+ }
1581
+ /**
1582
+ * @param {?} changes
1583
+ * @return {?}
1584
+ */
1585
+ ngOnChanges(changes) {
1586
+ if ((changes['trigger'] || changes['_matRippleTrigger']) && this.trigger) {
1587
+ this._rippleRenderer.setTriggerElement(this.trigger);
1588
+ }
1589
+ this._updateRippleRenderer();
1590
+ }
1591
+ /**
1592
+ * @return {?}
1593
+ */
1594
+ ngOnDestroy() {
1595
+ // Set the trigger element to null to cleanup all listeners.
1596
+ this._rippleRenderer.setTriggerElement(null);
1597
+ }
1598
+ /**
1599
+ * Launches a manual ripple at the specified position.
1600
+ * @param {?} x
1601
+ * @param {?} y
1602
+ * @param {?=} config
1603
+ * @return {?}
1604
+ */
1605
+ launch(x, y, config = this.rippleConfig) {
1606
+ return this._rippleRenderer.fadeInRipple(x, y, config);
1607
+ }
1608
+ /**
1609
+ * Fades out all currently showing ripple elements.
1610
+ * @return {?}
1611
+ */
1612
+ fadeOutAll() {
1613
+ this._rippleRenderer.fadeOutAll();
1614
+ }
1615
+ /**
1616
+ * Ripple configuration from the directive's input values.
1617
+ * @return {?}
1618
+ */
1619
+ get rippleConfig() {
1620
+ return {
1621
+ centered: this.centered,
1622
+ speedFactor: this.speedFactor * (this._globalOptions.baseSpeedFactor || 1),
1623
+ radius: this.radius,
1624
+ color: this.color
1625
+ };
1626
+ }
1627
+ /**
1628
+ * Updates the ripple renderer with the latest ripple configuration.
1629
+ * @return {?}
1630
+ */
1631
+ _updateRippleRenderer() {
1632
+ this._rippleRenderer.rippleDisabled = this._globalOptions.disabled || this.disabled;
1633
+ this._rippleRenderer.rippleConfig = this.rippleConfig;
1634
+ }
1635
+ }
1636
+ MatRipple.decorators = [
1637
+ { type: Directive, args: [{
1638
+ selector: '[mat-ripple], [matRipple]',
1639
+ exportAs: 'matRipple',
1640
+ host: {
1641
+ 'class': 'mat-ripple',
1642
+ '[class.mat-ripple-unbounded]': 'unbounded'
1643
+ }
1644
+ },] },
1645
+ ];
1646
+ /**
1647
+ * @nocollapse
1648
+ */
1649
+ MatRipple.ctorParameters = () => [
1650
+ { type: ElementRef, },
1651
+ { type: NgZone, },
1652
+ { type: Platform, },
1653
+ { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [MAT_RIPPLE_GLOBAL_OPTIONS,] },] },
1654
+ ];
1655
+ MatRipple.propDecorators = {
1656
+ 'trigger': [{ type: Input, args: ['matRippleTrigger',] },],
1657
+ 'centered': [{ type: Input, args: ['matRippleCentered',] },],
1658
+ 'disabled': [{ type: Input, args: ['matRippleDisabled',] },],
1659
+ 'radius': [{ type: Input, args: ['matRippleRadius',] },],
1660
+ 'speedFactor': [{ type: Input, args: ['matRippleSpeedFactor',] },],
1661
+ 'color': [{ type: Input, args: ['matRippleColor',] },],
1662
+ 'unbounded': [{ type: Input, args: ['matRippleUnbounded',] },],
1663
+ };
1664
+
1665
+ class MatRippleModule {
1666
+ }
1667
+ MatRippleModule.decorators = [
1668
+ { type: NgModule, args: [{
1669
+ imports: [MatCommonModule, PlatformModule],
1670
+ exports: [MatRipple, MatCommonModule],
1671
+ declarations: [MatRipple],
1672
+ },] },
1673
+ ];
1674
+ /**
1675
+ * @nocollapse
1676
+ */
1677
+ MatRippleModule.ctorParameters = () => [];
1678
+
1679
+ /**
1680
+ * Component that shows a simplified checkbox without including any kind of "real" checkbox.
1681
+ * Meant to be used when the checkbox is purely decorative and a large number of them will be
1682
+ * included, such as for the options in a multi-select. Uses no SVGs or complex animations.
1683
+ * Note that theming is meant to be handled by the parent element, e.g.
1684
+ * `mat-primary .mat-pseudo-checkbox`.
1685
+ *
1686
+ * Note that this component will be completely invisible to screen-reader users. This is *not*
1687
+ * interchangeable with <mat-checkbox> and should *not* be used if the user would directly interact
1688
+ * with the checkbox. The pseudo-checkbox should only be used as an implementation detail of
1689
+ * more complex components that appropriately handle selected / checked state.
1690
+ * \@docs-private
1691
+ */
1692
+ class MatPseudoCheckbox {
1693
+ constructor() {
1694
+ /**
1695
+ * Display state of the checkbox.
1696
+ */
1697
+ this.state = 'unchecked';
1698
+ /**
1699
+ * Whether the checkbox is disabled.
1700
+ */
1701
+ this.disabled = false;
1702
+ }
1703
+ }
1704
+ MatPseudoCheckbox.decorators = [
1705
+ { type: Component, args: [{encapsulation: ViewEncapsulation.None,
1706
+ preserveWhitespaces: false,
1707
+ changeDetection: ChangeDetectionStrategy.OnPush,
1708
+ selector: 'mat-pseudo-checkbox',
1709
+ styles: [".mat-pseudo-checkbox{width:20px;height:20px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:9px;left:2px;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:5px;left:3px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],
1710
+ template: '',
1711
+ host: {
1712
+ 'class': 'mat-pseudo-checkbox',
1713
+ '[class.mat-pseudo-checkbox-indeterminate]': 'state === "indeterminate"',
1714
+ '[class.mat-pseudo-checkbox-checked]': 'state === "checked"',
1715
+ '[class.mat-pseudo-checkbox-disabled]': 'disabled',
1716
+ },
1717
+ },] },
1718
+ ];
1719
+ /**
1720
+ * @nocollapse
1721
+ */
1722
+ MatPseudoCheckbox.ctorParameters = () => [];
1723
+ MatPseudoCheckbox.propDecorators = {
1724
+ 'state': [{ type: Input },],
1725
+ 'disabled': [{ type: Input },],
1726
+ };
1727
+
1728
+ class MatPseudoCheckboxModule {
1729
+ }
1730
+ MatPseudoCheckboxModule.decorators = [
1731
+ { type: NgModule, args: [{
1732
+ exports: [MatPseudoCheckbox],
1733
+ declarations: [MatPseudoCheckbox]
1734
+ },] },
1735
+ ];
1736
+ /**
1737
+ * @nocollapse
1738
+ */
1739
+ MatPseudoCheckboxModule.ctorParameters = () => [];
1740
+
1741
+ /**
1742
+ * \@docs-private
1743
+ */
1744
+ class MatOptgroupBase {
1745
+ }
1746
+ const _MatOptgroupMixinBase = mixinDisabled(MatOptgroupBase);
1747
+ // Counter for unique group ids.
1748
+ let _uniqueOptgroupIdCounter = 0;
1749
+ /**
1750
+ * Component that is used to group instances of `mat-option`.
1751
+ */
1752
+ class MatOptgroup extends _MatOptgroupMixinBase {
1753
+ constructor() {
1754
+ super(...arguments);
1755
+ /**
1756
+ * Unique id for the underlying label.
1757
+ */
1758
+ this._labelId = `mat-optgroup-label-${_uniqueOptgroupIdCounter++}`;
1759
+ }
1760
+ }
1761
+ MatOptgroup.decorators = [
1762
+ { type: Component, args: [{selector: 'mat-optgroup',
1763
+ exportAs: 'matOptgroup',
1764
+ template: "<label class=\"mat-optgroup-label\" [id]=\"_labelId\">{{ label }}</label><ng-content select=\"mat-option\"></ng-content>",
1765
+ encapsulation: ViewEncapsulation.None,
1766
+ preserveWhitespaces: false,
1767
+ changeDetection: ChangeDetectionStrategy.OnPush,
1768
+ inputs: ['disabled'],
1769
+ host: {
1770
+ 'class': 'mat-optgroup',
1771
+ 'role': 'group',
1772
+ '[class.mat-optgroup-disabled]': 'disabled',
1773
+ '[attr.aria-disabled]': 'disabled.toString()',
1774
+ '[attr.aria-labelledby]': '_labelId',
1775
+ }
1776
+ },] },
1777
+ ];
1778
+ /**
1779
+ * @nocollapse
1780
+ */
1781
+ MatOptgroup.ctorParameters = () => [];
1782
+ MatOptgroup.propDecorators = {
1783
+ 'label': [{ type: Input },],
1784
+ };
1785
+
1786
+ /**
1787
+ * Option IDs need to be unique across components, so this counter exists outside of
1788
+ * the component definition.
1789
+ */
1790
+ let _uniqueIdCounter = 0;
1791
+ /**
1792
+ * Event object emitted by MatOption when selected or deselected.
1793
+ */
1794
+ class MatOptionSelectionChange {
1795
+ /**
1796
+ * @param {?} source
1797
+ * @param {?=} isUserInput
1798
+ */
1799
+ constructor(source, isUserInput = false) {
1800
+ this.source = source;
1801
+ this.isUserInput = isUserInput;
1802
+ }
1803
+ }
1804
+ /**
1805
+ * Single option inside of a `<mat-select>` element.
1806
+ */
1807
+ class MatOption {
1808
+ /**
1809
+ * @param {?} _element
1810
+ * @param {?} _changeDetectorRef
1811
+ * @param {?} group
1812
+ */
1813
+ constructor(_element, _changeDetectorRef, group) {
1814
+ this._element = _element;
1815
+ this._changeDetectorRef = _changeDetectorRef;
1816
+ this.group = group;
1817
+ this._selected = false;
1818
+ this._active = false;
1819
+ this._multiple = false;
1820
+ this._disableRipple = false;
1821
+ /**
1822
+ * Whether the option is disabled.
1823
+ */
1824
+ this._disabled = false;
1825
+ this._id = `mat-option-${_uniqueIdCounter++}`;
1826
+ /**
1827
+ * Event emitted when the option is selected or deselected.
1828
+ */
1829
+ this.onSelectionChange = new EventEmitter();
1830
+ }
1831
+ /**
1832
+ * Whether the wrapping component is in multiple selection mode.
1833
+ * @return {?}
1834
+ */
1835
+ get multiple() { return this._multiple; }
1836
+ /**
1837
+ * @param {?} value
1838
+ * @return {?}
1839
+ */
1840
+ set multiple(value) {
1841
+ if (value !== this._multiple) {
1842
+ this._multiple = value;
1843
+ this._changeDetectorRef.markForCheck();
1844
+ }
1845
+ }
1846
+ /**
1847
+ * The unique ID of the option.
1848
+ * @return {?}
1849
+ */
1850
+ get id() { return this._id; }
1851
+ /**
1852
+ * Whether or not the option is currently selected.
1853
+ * @return {?}
1854
+ */
1855
+ get selected() { return this._selected; }
1856
+ /**
1857
+ * Whether the option is disabled.
1858
+ * @return {?}
1859
+ */
1860
+ get disabled() { return (this.group && this.group.disabled) || this._disabled; }
1861
+ /**
1862
+ * @param {?} value
1863
+ * @return {?}
1864
+ */
1865
+ set disabled(value) { this._disabled = coerceBooleanProperty(value); }
1866
+ /**
1867
+ * Whether ripples for the option are disabled.
1868
+ * @return {?}
1869
+ */
1870
+ get disableRipple() { return this._disableRipple; }
1871
+ /**
1872
+ * @param {?} value
1873
+ * @return {?}
1874
+ */
1875
+ set disableRipple(value) {
1876
+ this._disableRipple = value;
1877
+ this._changeDetectorRef.markForCheck();
1878
+ }
1879
+ /**
1880
+ * Whether or not the option is currently active and ready to be selected.
1881
+ * An active option displays styles as if it is focused, but the
1882
+ * focus is actually retained somewhere else. This comes in handy
1883
+ * for components like autocomplete where focus must remain on the input.
1884
+ * @return {?}
1885
+ */
1886
+ get active() {
1887
+ return this._active;
1888
+ }
1889
+ /**
1890
+ * The displayed value of the option. It is necessary to show the selected option in the
1891
+ * select's trigger.
1892
+ * @return {?}
1893
+ */
1894
+ get viewValue() {
1895
+ // TODO(kara): Add input property alternative for node envs.
1896
+ return (this._getHostElement().textContent || '').trim();
1897
+ }
1898
+ /**
1899
+ * Selects the option.
1900
+ * @return {?}
1901
+ */
1902
+ select() {
1903
+ this._selected = true;
1904
+ this._changeDetectorRef.markForCheck();
1905
+ this._emitSelectionChangeEvent();
1906
+ }
1907
+ /**
1908
+ * Deselects the option.
1909
+ * @return {?}
1910
+ */
1911
+ deselect() {
1912
+ this._selected = false;
1913
+ this._changeDetectorRef.markForCheck();
1914
+ this._emitSelectionChangeEvent();
1915
+ }
1916
+ /**
1917
+ * Sets focus onto this option.
1918
+ * @return {?}
1919
+ */
1920
+ focus() {
1921
+ const /** @type {?} */ element = this._getHostElement();
1922
+ if (typeof element.focus === 'function') {
1923
+ element.focus();
1924
+ }
1925
+ }
1926
+ /**
1927
+ * This method sets display styles on the option to make it appear
1928
+ * active. This is used by the ActiveDescendantKeyManager so key
1929
+ * events will display the proper options as active on arrow key events.
1930
+ * @return {?}
1931
+ */
1932
+ setActiveStyles() {
1933
+ if (!this._active) {
1934
+ this._active = true;
1935
+ this._changeDetectorRef.markForCheck();
1936
+ }
1937
+ }
1938
+ /**
1939
+ * This method removes display styles on the option that made it appear
1940
+ * active. This is used by the ActiveDescendantKeyManager so key
1941
+ * events will display the proper options as active on arrow key events.
1942
+ * @return {?}
1943
+ */
1944
+ setInactiveStyles() {
1945
+ if (this._active) {
1946
+ this._active = false;
1947
+ this._changeDetectorRef.markForCheck();
1948
+ }
1949
+ }
1950
+ /**
1951
+ * Gets the label to be used when determining whether the option should be focused.
1952
+ * @return {?}
1953
+ */
1954
+ getLabel() {
1955
+ return this.viewValue;
1956
+ }
1957
+ /**
1958
+ * Ensures the option is selected when activated from the keyboard.
1959
+ * @param {?} event
1960
+ * @return {?}
1961
+ */
1962
+ _handleKeydown(event) {
1963
+ if (event.keyCode === ENTER || event.keyCode === SPACE) {
1964
+ this._selectViaInteraction();
1965
+ // Prevent the page from scrolling down and form submits.
1966
+ event.preventDefault();
1967
+ }
1968
+ }
1969
+ /**
1970
+ * Selects the option while indicating the selection came from the user. Used to
1971
+ * determine if the select's view -> model callback should be invoked.
1972
+ * @return {?}
1973
+ */
1974
+ _selectViaInteraction() {
1975
+ if (!this.disabled) {
1976
+ this._selected = this.multiple ? !this._selected : true;
1977
+ this._changeDetectorRef.markForCheck();
1978
+ this._emitSelectionChangeEvent(true);
1979
+ }
1980
+ }
1981
+ /**
1982
+ * Returns the correct tabindex for the option depending on disabled state.
1983
+ * @return {?}
1984
+ */
1985
+ _getTabIndex() {
1986
+ return this.disabled ? '-1' : '0';
1987
+ }
1988
+ /**
1989
+ * Gets the host DOM element.
1990
+ * @return {?}
1991
+ */
1992
+ _getHostElement() {
1993
+ return this._element.nativeElement;
1994
+ }
1995
+ /**
1996
+ * Emits the selection change event.
1997
+ * @param {?=} isUserInput
1998
+ * @return {?}
1999
+ */
2000
+ _emitSelectionChangeEvent(isUserInput = false) {
2001
+ this.onSelectionChange.emit(new MatOptionSelectionChange(this, isUserInput));
2002
+ }
2003
+ /**
2004
+ * Counts the amount of option group labels that precede the specified option.
2005
+ * @param {?} optionIndex Index of the option at which to start counting.
2006
+ * @param {?} options Flat list of all of the options.
2007
+ * @param {?} optionGroups Flat list of all of the option groups.
2008
+ * @return {?}
2009
+ */
2010
+ static countGroupLabelsBeforeOption(optionIndex, options, optionGroups) {
2011
+ if (optionGroups.length) {
2012
+ let /** @type {?} */ optionsArray = options.toArray();
2013
+ let /** @type {?} */ groups = optionGroups.toArray();
2014
+ let /** @type {?} */ groupCounter = 0;
2015
+ for (let /** @type {?} */ i = 0; i < optionIndex + 1; i++) {
2016
+ if (optionsArray[i].group && optionsArray[i].group === groups[groupCounter]) {
2017
+ groupCounter++;
2018
+ }
2019
+ }
2020
+ return groupCounter;
2021
+ }
2022
+ return 0;
2023
+ }
2024
+ }
2025
+ MatOption.decorators = [
2026
+ { type: Component, args: [{selector: 'mat-option',
2027
+ exportAs: 'matOption',
2028
+ host: {
2029
+ 'role': 'option',
2030
+ '[attr.tabindex]': '_getTabIndex()',
2031
+ '[class.mat-selected]': 'selected',
2032
+ '[class.mat-option-multiple]': 'multiple',
2033
+ '[class.mat-active]': 'active',
2034
+ '[id]': 'id',
2035
+ '[attr.aria-selected]': 'selected.toString()',
2036
+ '[attr.aria-disabled]': 'disabled.toString()',
2037
+ '[class.mat-option-disabled]': 'disabled',
2038
+ '(click)': '_selectViaInteraction()',
2039
+ '(keydown)': '_handleKeydown($event)',
2040
+ 'class': 'mat-option',
2041
+ },
2042
+ template: "<span *ngIf=\"multiple\"><mat-pseudo-checkbox class=\"mat-option-pseudo-checkbox\" [state]=\"selected ? 'checked' : ''\" [disabled]=\"disabled\"></mat-pseudo-checkbox></span><span class=\"mat-option-text\"><ng-content></ng-content></span><div class=\"mat-option-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\" [matRippleDisabled]=\"disabled || disableRipple\"></div>",
2043
+ encapsulation: ViewEncapsulation.None,
2044
+ preserveWhitespaces: false,
2045
+ changeDetection: ChangeDetectionStrategy.OnPush,
2046
+ },] },
2047
+ ];
2048
+ /**
2049
+ * @nocollapse
2050
+ */
2051
+ MatOption.ctorParameters = () => [
2052
+ { type: ElementRef, },
2053
+ { type: ChangeDetectorRef, },
2054
+ { type: MatOptgroup, decorators: [{ type: Optional },] },
2055
+ ];
2056
+ MatOption.propDecorators = {
2057
+ 'value': [{ type: Input },],
2058
+ 'disabled': [{ type: Input },],
2059
+ 'onSelectionChange': [{ type: Output },],
2060
+ };
2061
+
2062
+ class MatOptionModule {
2063
+ }
2064
+ MatOptionModule.decorators = [
2065
+ { type: NgModule, args: [{
2066
+ imports: [MatRippleModule, CommonModule, MatPseudoCheckboxModule],
2067
+ exports: [MatOption, MatOptgroup],
2068
+ declarations: [MatOption, MatOptgroup]
2069
+ },] },
2070
+ ];
2071
+ /**
2072
+ * @nocollapse
2073
+ */
2074
+ MatOptionModule.ctorParameters = () => [];
2075
+
2076
+ /**
2077
+ * InjectionToken that can be used to specify the global placeholder options.
2078
+ */
2079
+ const MAT_PLACEHOLDER_GLOBAL_OPTIONS = new InjectionToken('mat-placeholder-global-options');
2080
+
2081
+ /**
2082
+ * Applies a CSS transform to an element, including browser-prefixed properties.
2083
+ * @param {?} element
2084
+ * @param {?} transformValue
2085
+ * @return {?}
2086
+ */
2087
+ function applyCssTransform(element, transformValue) {
2088
+ // It's important to trim the result, because the browser will ignore the set operation
2089
+ // if the string contains only whitespace.
2090
+ let /** @type {?} */ value = transformValue.trim();
2091
+ element.style.transform = value;
2092
+ element.style.webkitTransform = value;
2093
+ }
2094
+
2095
+ /**
2096
+ * When constructing a Date, the month is zero-based. This can be confusing, since people are
2097
+ * used to seeing them one-based. So we create these aliases to make writing the tests easier.
2098
+ */
2099
+ const JAN = 0;
2100
+ const FEB = 1;
2101
+ const MAR = 2;
2102
+ const APR = 3;
2103
+ const MAY = 4;
2104
+ const JUN = 5;
2105
+ const JUL = 6;
2106
+ const AUG = 7;
2107
+ const SEP = 8;
2108
+ const OCT = 9;
2109
+ const NOV = 10;
2110
+ const DEC = 11;
2111
+
2112
+ /**
2113
+ * Generated bundle index. Do not edit.
2114
+ */
2115
+
2116
+ export { AnimationCurves, AnimationDurations, MatCommonModule, MATERIAL_SANITY_CHECKS, mixinDisabled, mixinColor, mixinDisableRipple, mixinTabIndex, MATERIAL_COMPATIBILITY_MODE, MAT_ELEMENTS_SELECTOR, MD_ELEMENTS_SELECTOR, MatPrefixRejector, MdPrefixRejector, CompatibilityModule, NoConflictStyleCompatibilityMode, NativeDateModule, MatNativeDateModule, MAT_DATE_LOCALE, MAT_DATE_LOCALE_PROVIDER, DateAdapter, MAT_DATE_FORMATS, NativeDateAdapter, MAT_NATIVE_DATE_FORMATS, ShowOnDirtyErrorStateMatcher, ErrorStateMatcher, GestureConfig, MatLine, MatLineSetter, MatLineModule, MatOptionModule, MatOptionSelectionChange, MatOption, MatOptgroupBase, _MatOptgroupMixinBase, MatOptgroup, MAT_PLACEHOLDER_GLOBAL_OPTIONS, MatRipple, MAT_RIPPLE_GLOBAL_OPTIONS, RippleRef, RippleState, RIPPLE_FADE_IN_DURATION, RIPPLE_FADE_OUT_DURATION, MatRippleModule, MatPseudoCheckboxModule, MatPseudoCheckbox, applyCssTransform, extendObject, JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, RippleRenderer as ɵa0 };
2117
+ //# sourceMappingURL=core.js.map