@angular/material 2.0.0-alpha.9-3 → 2.0.0-beta.11

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 (1546) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -145
  3. package/_theming.scss +3872 -0
  4. package/autocomplete/index.d.ts +8 -0
  5. package/autocomplete/index.metadata.json +11 -0
  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 +55 -0
  10. package/autocomplete/typings/index.d.ts +4 -0
  11. package/autocomplete/typings/index.metadata.json +1 -0
  12. package/autocomplete/typings/mat-exports.d.ts +17 -0
  13. package/autocomplete/typings/public_api.d.ts +11 -0
  14. package/autocomplete.d.ts +8 -0
  15. package/autocomplete.metadata.json +11 -0
  16. package/bundles/material-autocomplete.umd.js +3293 -0
  17. package/bundles/material-autocomplete.umd.js.map +1 -0
  18. package/bundles/material-autocomplete.umd.min.js +10 -0
  19. package/bundles/material-autocomplete.umd.min.js.map +1 -0
  20. package/bundles/material-button-toggle.umd.js +2689 -0
  21. package/bundles/material-button-toggle.umd.js.map +1 -0
  22. package/bundles/material-button-toggle.umd.min.js +10 -0
  23. package/bundles/material-button-toggle.umd.min.js.map +1 -0
  24. package/bundles/material-button.umd.js +2503 -0
  25. package/bundles/material-button.umd.js.map +1 -0
  26. package/bundles/material-button.umd.min.js +10 -0
  27. package/bundles/material-button.umd.min.js.map +1 -0
  28. package/bundles/material-card.umd.js +2438 -0
  29. package/bundles/material-card.umd.js.map +1 -0
  30. package/bundles/material-card.umd.min.js +10 -0
  31. package/bundles/material-card.umd.min.js.map +1 -0
  32. package/bundles/material-checkbox.umd.js +2692 -0
  33. package/bundles/material-checkbox.umd.js.map +1 -0
  34. package/bundles/material-checkbox.umd.min.js +10 -0
  35. package/bundles/material-checkbox.umd.min.js.map +1 -0
  36. package/bundles/material-chips.umd.js +4121 -0
  37. package/bundles/material-chips.umd.js.map +1 -0
  38. package/bundles/material-chips.umd.min.js +11 -0
  39. package/bundles/material-chips.umd.min.js.map +1 -0
  40. package/bundles/material-core.umd.js +2505 -0
  41. package/bundles/material-core.umd.js.map +1 -0
  42. package/bundles/material-core.umd.min.js +10 -0
  43. package/bundles/material-core.umd.min.js.map +1 -0
  44. package/bundles/material-datepicker.umd.js +6568 -0
  45. package/bundles/material-datepicker.umd.js.map +1 -0
  46. package/bundles/material-datepicker.umd.min.js +12 -0
  47. package/bundles/material-datepicker.umd.min.js.map +1 -0
  48. package/bundles/material-dialog.umd.js +2980 -0
  49. package/bundles/material-dialog.umd.js.map +1 -0
  50. package/bundles/material-dialog.umd.min.js +10 -0
  51. package/bundles/material-dialog.umd.min.js.map +1 -0
  52. package/bundles/material-examples.umd.js +3627 -0
  53. package/bundles/material-examples.umd.js.map +1 -0
  54. package/bundles/material-examples.umd.min.js +12 -0
  55. package/bundles/material-examples.umd.min.js.map +1 -0
  56. package/bundles/material-expansion.umd.js +2678 -0
  57. package/bundles/material-expansion.umd.js.map +1 -0
  58. package/bundles/material-expansion.umd.min.js +10 -0
  59. package/bundles/material-expansion.umd.min.js.map +1 -0
  60. package/bundles/material-form-field.umd.js +2629 -0
  61. package/bundles/material-form-field.umd.js.map +1 -0
  62. package/bundles/material-form-field.umd.min.js +10 -0
  63. package/bundles/material-form-field.umd.min.js.map +1 -0
  64. package/bundles/material-grid-list.umd.js +3000 -0
  65. package/bundles/material-grid-list.umd.js.map +1 -0
  66. package/bundles/material-grid-list.umd.min.js +10 -0
  67. package/bundles/material-grid-list.umd.min.js.map +1 -0
  68. package/bundles/material-icon.umd.js +2862 -0
  69. package/bundles/material-icon.umd.js.map +1 -0
  70. package/bundles/material-icon.umd.min.js +10 -0
  71. package/bundles/material-icon.umd.min.js.map +1 -0
  72. package/bundles/material-input.umd.js +3214 -0
  73. package/bundles/material-input.umd.js.map +1 -0
  74. package/bundles/material-input.umd.min.js +10 -0
  75. package/bundles/material-input.umd.min.js.map +1 -0
  76. package/bundles/material-list.umd.js +2908 -0
  77. package/bundles/material-list.umd.js.map +1 -0
  78. package/bundles/material-list.umd.min.js +11 -0
  79. package/bundles/material-list.umd.min.js.map +1 -0
  80. package/bundles/material-menu.umd.js +3016 -0
  81. package/bundles/material-menu.umd.js.map +1 -0
  82. package/bundles/material-menu.umd.min.js +10 -0
  83. package/bundles/material-menu.umd.min.js.map +1 -0
  84. package/bundles/material-paginator.umd.js +4990 -0
  85. package/bundles/material-paginator.umd.js.map +1 -0
  86. package/bundles/material-paginator.umd.min.js +11 -0
  87. package/bundles/material-paginator.umd.min.js.map +1 -0
  88. package/bundles/material-progress-bar.umd.js +2204 -0
  89. package/bundles/material-progress-bar.umd.js.map +1 -0
  90. package/bundles/material-progress-bar.umd.min.js +10 -0
  91. package/bundles/material-progress-bar.umd.min.js.map +1 -0
  92. package/bundles/material-progress-spinner.umd.js +2594 -0
  93. package/bundles/material-progress-spinner.umd.js.map +1 -0
  94. package/bundles/material-progress-spinner.umd.min.js +10 -0
  95. package/bundles/material-progress-spinner.umd.min.js.map +1 -0
  96. package/bundles/material-radio.umd.js +2936 -0
  97. package/bundles/material-radio.umd.js.map +1 -0
  98. package/bundles/material-radio.umd.min.js +10 -0
  99. package/bundles/material-radio.umd.min.js.map +1 -0
  100. package/bundles/material-select.umd.js +3611 -0
  101. package/bundles/material-select.umd.js.map +1 -0
  102. package/bundles/material-select.umd.min.js +10 -0
  103. package/bundles/material-select.umd.min.js.map +1 -0
  104. package/bundles/material-sidenav.umd.js +2781 -0
  105. package/bundles/material-sidenav.umd.js.map +1 -0
  106. package/bundles/material-sidenav.umd.min.js +10 -0
  107. package/bundles/material-sidenav.umd.min.js.map +1 -0
  108. package/bundles/material-slide-toggle.umd.js +2657 -0
  109. package/bundles/material-slide-toggle.umd.js.map +1 -0
  110. package/bundles/material-slide-toggle.umd.min.js +10 -0
  111. package/bundles/material-slide-toggle.umd.min.js.map +1 -0
  112. package/bundles/material-slider.umd.js +3043 -0
  113. package/bundles/material-slider.umd.js.map +1 -0
  114. package/bundles/material-slider.umd.min.js +10 -0
  115. package/bundles/material-slider.umd.min.js.map +1 -0
  116. package/bundles/material-snack-bar.umd.js +2717 -0
  117. package/bundles/material-snack-bar.umd.js.map +1 -0
  118. package/bundles/material-snack-bar.umd.min.js +10 -0
  119. package/bundles/material-snack-bar.umd.min.js.map +1 -0
  120. package/bundles/material-sort.umd.js +2479 -0
  121. package/bundles/material-sort.umd.js.map +1 -0
  122. package/bundles/material-sort.umd.min.js +10 -0
  123. package/bundles/material-sort.umd.min.js.map +1 -0
  124. package/bundles/material-stepper.umd.js +3598 -0
  125. package/bundles/material-stepper.umd.js.map +1 -0
  126. package/bundles/material-stepper.umd.min.js +11 -0
  127. package/bundles/material-stepper.umd.min.js.map +1 -0
  128. package/bundles/material-table.umd.js +2458 -0
  129. package/bundles/material-table.umd.js.map +1 -0
  130. package/bundles/material-table.umd.min.js +10 -0
  131. package/bundles/material-table.umd.min.js.map +1 -0
  132. package/bundles/material-tabs.umd.js +3742 -0
  133. package/bundles/material-tabs.umd.js.map +1 -0
  134. package/bundles/material-tabs.umd.min.js +10 -0
  135. package/bundles/material-tabs.umd.min.js.map +1 -0
  136. package/bundles/material-toolbar.umd.js +2211 -0
  137. package/bundles/material-toolbar.umd.js.map +1 -0
  138. package/bundles/material-toolbar.umd.min.js +9 -0
  139. package/bundles/material-toolbar.umd.min.js.map +1 -0
  140. package/bundles/material-tooltip.umd.js +2821 -0
  141. package/bundles/material-tooltip.umd.js.map +1 -0
  142. package/bundles/material-tooltip.umd.min.js +10 -0
  143. package/bundles/material-tooltip.umd.min.js.map +1 -0
  144. package/bundles/material.umd.js +23785 -0
  145. package/bundles/material.umd.js.map +1 -0
  146. package/bundles/material.umd.min.js +23 -0
  147. package/bundles/material.umd.min.js.map +1 -0
  148. package/button/index.d.ts +8 -1
  149. package/button/index.metadata.json +11 -1
  150. package/button/package.json +7 -0
  151. package/button/typings/button-module.d.ts +2 -0
  152. package/button/typings/button.d.ts +80 -0
  153. package/button/typings/index.d.ts +4 -0
  154. package/button/typings/index.metadata.json +1 -0
  155. package/button/typings/mat-exports.d.ts +18 -0
  156. package/button/typings/public_api.d.ts +10 -0
  157. package/button-toggle/index.d.ts +8 -1
  158. package/button-toggle/index.metadata.json +11 -1
  159. package/button-toggle/package.json +7 -0
  160. package/button-toggle/typings/button-toggle-module.d.ts +2 -0
  161. package/button-toggle/typings/button-toggle.d.ts +156 -0
  162. package/button-toggle/typings/index.d.ts +4 -0
  163. package/button-toggle/typings/index.metadata.json +1 -0
  164. package/button-toggle/typings/mat-exports.d.ts +16 -0
  165. package/button-toggle/typings/public_api.d.ts +10 -0
  166. package/button-toggle.d.ts +8 -0
  167. package/button-toggle.metadata.json +11 -0
  168. package/button.d.ts +8 -0
  169. package/button.metadata.json +11 -0
  170. package/card/index.d.ts +8 -1
  171. package/card/index.metadata.json +11 -1
  172. package/card/package.json +7 -0
  173. package/card/typings/card-module.d.ts +2 -0
  174. package/card/typings/card.d.ts +95 -0
  175. package/card/typings/index.d.ts +4 -0
  176. package/card/typings/index.metadata.json +1 -0
  177. package/card/typings/mat-exports.d.ts +24 -0
  178. package/card/typings/public_api.d.ts +10 -0
  179. package/card.d.ts +8 -0
  180. package/card.metadata.json +11 -0
  181. package/checkbox/index.d.ts +8 -1
  182. package/checkbox/index.metadata.json +11 -1
  183. package/checkbox/package.json +7 -0
  184. package/checkbox/typings/checkbox-module.d.ts +2 -0
  185. package/checkbox/typings/checkbox-required-validator.d.ts +18 -0
  186. package/checkbox/typings/checkbox.d.ts +159 -0
  187. package/checkbox/typings/index.d.ts +4 -0
  188. package/checkbox/typings/index.metadata.json +1 -0
  189. package/checkbox/typings/mat-exports.d.ts +17 -0
  190. package/checkbox/typings/public_api.d.ts +11 -0
  191. package/checkbox.d.ts +8 -0
  192. package/checkbox.metadata.json +11 -0
  193. package/chips/index.d.ts +8 -0
  194. package/chips/index.metadata.json +11 -0
  195. package/chips/package.json +7 -0
  196. package/chips/typings/chip-input.d.ts +54 -0
  197. package/chips/typings/chip-list.d.ts +219 -0
  198. package/chips/typings/chip.d.ts +123 -0
  199. package/chips/typings/chips-module.d.ts +2 -0
  200. package/chips/typings/index.d.ts +4 -0
  201. package/chips/typings/index.metadata.json +1 -0
  202. package/chips/typings/mat-exports.d.ts +21 -0
  203. package/chips/typings/public_api.d.ts +12 -0
  204. package/chips.d.ts +8 -0
  205. package/chips.metadata.json +11 -0
  206. package/core/index.d.ts +8 -1
  207. package/core/index.metadata.json +11 -1
  208. package/core/package.json +7 -0
  209. package/core/typings/a11y/index.d.ts +8 -0
  210. package/core/typings/animation/animation.d.ts +20 -0
  211. package/core/typings/bidi/index.d.ts +8 -0
  212. package/core/typings/common-behaviors/color.d.ts +22 -0
  213. package/core/typings/common-behaviors/common-module.d.ts +24 -0
  214. package/core/typings/common-behaviors/constructor.d.ts +9 -0
  215. package/core/typings/common-behaviors/disable-ripple.d.ts +7 -0
  216. package/core/typings/common-behaviors/disabled.d.ts +7 -0
  217. package/core/typings/common-behaviors/index.d.ts +12 -0
  218. package/core/typings/common-behaviors/tabindex.d.ts +15 -0
  219. package/core/typings/compatibility/compatibility.d.ts +40 -0
  220. package/core/typings/coordination/unique-selection-dispatcher.d.ts +40 -0
  221. package/core/typings/datetime/date-adapter.d.ts +198 -0
  222. package/core/typings/datetime/date-formats.d.ts +20 -0
  223. package/core/typings/datetime/index.d.ts +8 -0
  224. package/core/typings/datetime/native-date-adapter.d.ts +50 -0
  225. package/core/typings/datetime/native-date-formats.d.ts +9 -0
  226. package/core/typings/error/error-options.d.ts +19 -0
  227. package/core/typings/gestures/gesture-annotations.d.ts +51 -0
  228. package/core/typings/gestures/gesture-config.d.ts +23 -0
  229. package/core/typings/index.d.ts +5 -0
  230. package/core/typings/index.metadata.json +1 -0
  231. package/core/typings/keyboard/keycodes.d.ts +8 -0
  232. package/core/typings/line/line.d.ts +30 -0
  233. package/core/typings/mat-exports.d.ts +36 -0
  234. package/core/typings/option/index.d.ts +4 -0
  235. package/core/typings/option/optgroup.d.ts +14 -0
  236. package/core/typings/option/option.d.ts +97 -0
  237. package/core/typings/overlay/index.d.ts +8 -0
  238. package/core/typings/placeholder/placeholder-options.d.ts +15 -0
  239. package/core/typings/platform/features.d.ts +8 -0
  240. package/core/typings/platform/index.d.ts +10 -0
  241. package/core/typings/platform/platform.d.ts +8 -0
  242. package/core/typings/portal/dom-portal-host.d.ts +8 -0
  243. package/core/typings/portal/portal-directives.d.ts +8 -0
  244. package/core/typings/portal/portal-injector.d.ts +19 -0
  245. package/core/typings/portal/portal.d.ts +8 -0
  246. package/core/typings/public_api.d.ts +34 -0
  247. package/core/typings/ripple/index.d.ts +5 -0
  248. package/core/typings/ripple/ripple-ref.d.ts +28 -0
  249. package/core/typings/ripple/ripple-renderer.d.ts +64 -0
  250. package/core/typings/ripple/ripple.d.ts +73 -0
  251. package/core/typings/rxjs/index.d.ts +9 -0
  252. package/core/typings/rxjs/rx-chain.d.ts +8 -0
  253. package/core/typings/rxjs/rx-operators.d.ts +8 -0
  254. package/core/typings/selection/index.d.ts +3 -0
  255. package/core/typings/selection/pseudo-checkbox/pseudo-checkbox.d.ts +20 -0
  256. package/core/typings/style/apply-transform.d.ts +13 -0
  257. package/core/typings/style/index.d.ts +5 -0
  258. package/core/typings/testing/month-constants.d.ts +12 -0
  259. package/core/typings/util/object-extend.d.ts +15 -0
  260. package/core.d.ts +7 -0
  261. package/core.metadata.json +11 -1
  262. package/datepicker/index.d.ts +8 -0
  263. package/datepicker/index.metadata.json +11 -0
  264. package/datepicker/package.json +7 -0
  265. package/datepicker/typings/calendar-body.d.ts +52 -0
  266. package/datepicker/typings/calendar.d.ts +90 -0
  267. package/datepicker/typings/coerce-date-property.d.ts +19 -0
  268. package/datepicker/typings/datepicker-errors.d.ts +9 -0
  269. package/datepicker/typings/datepicker-input.d.ts +94 -0
  270. package/datepicker/typings/datepicker-intl.d.ts +25 -0
  271. package/datepicker/typings/datepicker-module.d.ts +2 -0
  272. package/datepicker/typings/datepicker-toggle.d.ts +24 -0
  273. package/datepicker/typings/datepicker.d.ts +117 -0
  274. package/datepicker/typings/index.d.ts +4 -0
  275. package/datepicker/typings/index.metadata.json +1 -0
  276. package/datepicker/typings/mat-exports.d.ts +33 -0
  277. package/datepicker/typings/month-view.d.ts +65 -0
  278. package/datepicker/typings/public_api.d.ts +18 -0
  279. package/datepicker/typings/year-view.d.ts +54 -0
  280. package/datepicker.d.ts +8 -0
  281. package/datepicker.metadata.json +11 -0
  282. package/dialog/index.d.ts +8 -4
  283. package/dialog/index.metadata.json +11 -1
  284. package/dialog/package.json +7 -0
  285. package/dialog/typings/dialog-config.d.ts +54 -0
  286. package/dialog/typings/dialog-container.d.ts +68 -0
  287. package/dialog/typings/dialog-content-directives.d.ts +45 -0
  288. package/dialog/typings/dialog-module.d.ts +2 -0
  289. package/dialog/typings/dialog-ref.d.ts +68 -0
  290. package/dialog/typings/dialog.d.ts +108 -0
  291. package/dialog/typings/index.d.ts +4 -0
  292. package/dialog/typings/index.metadata.json +1 -0
  293. package/dialog/typings/mat-exports.d.ts +26 -0
  294. package/dialog/typings/public_api.d.ts +14 -0
  295. package/dialog.d.ts +8 -0
  296. package/dialog.metadata.json +11 -0
  297. package/esm2015/autocomplete.js +661 -0
  298. package/esm2015/autocomplete.js.map +1 -0
  299. package/esm2015/button-toggle.js +567 -0
  300. package/esm2015/button-toggle.js.map +1 -0
  301. package/esm2015/button.js +323 -0
  302. package/esm2015/button.js.map +1 -0
  303. package/esm2015/card.js +312 -0
  304. package/esm2015/card.js.map +1 -0
  305. package/esm2015/checkbox.js +504 -0
  306. package/esm2015/checkbox.js.map +1 -0
  307. package/esm2015/chips.js +1332 -0
  308. package/esm2015/chips.js.map +1 -0
  309. package/esm2015/core.js +2316 -0
  310. package/esm2015/core.js.map +1 -0
  311. package/esm2015/datepicker.js +1808 -0
  312. package/esm2015/datepicker.js.map +1 -0
  313. package/esm2015/dialog.js +849 -0
  314. package/esm2015/dialog.js.map +1 -0
  315. package/esm2015/expansion.js +581 -0
  316. package/esm2015/expansion.js.map +1 -0
  317. package/esm2015/form-field.js +522 -0
  318. package/esm2015/form-field.js.map +1 -0
  319. package/esm2015/grid-list.js +825 -0
  320. package/esm2015/grid-list.js.map +1 -0
  321. package/esm2015/icon.js +733 -0
  322. package/esm2015/icon.js.map +1 -0
  323. package/esm2015/input.js +568 -0
  324. package/esm2015/input.js.map +1 -0
  325. package/esm2015/list.js +666 -0
  326. package/esm2015/list.js.map +1 -0
  327. package/esm2015/material.js +51 -0
  328. package/esm2015/material.js.map +1 -0
  329. package/esm2015/menu.js +917 -0
  330. package/esm2015/menu.js.map +1 -0
  331. package/esm2015/paginator.js +304 -0
  332. package/esm2015/paginator.js.map +1 -0
  333. package/esm2015/progress-bar.js +132 -0
  334. package/esm2015/progress-bar.js.map +1 -0
  335. package/esm2015/progress-spinner.js +438 -0
  336. package/esm2015/progress-spinner.js.map +1 -0
  337. package/esm2015/radio.js +707 -0
  338. package/esm2015/radio.js.map +1 -0
  339. package/esm2015/select.js +1378 -0
  340. package/esm2015/select.js.map +1 -0
  341. package/esm2015/sidenav.js +666 -0
  342. package/esm2015/sidenav.js.map +1 -0
  343. package/esm2015/slide-toggle.js +429 -0
  344. package/esm2015/slide-toggle.js.map +1 -0
  345. package/esm2015/slider.js +833 -0
  346. package/esm2015/slider.js.map +1 -0
  347. package/esm2015/snack-bar.js +606 -0
  348. package/esm2015/snack-bar.js.map +1 -0
  349. package/esm2015/sort.js +387 -0
  350. package/esm2015/sort.js.map +1 -0
  351. package/esm2015/stepper.js +330 -0
  352. package/esm2015/stepper.js.map +1 -0
  353. package/esm2015/table.js +312 -0
  354. package/esm2015/table.js.map +1 -0
  355. package/esm2015/tabs.js +1477 -0
  356. package/esm2015/tabs.js.map +1 -0
  357. package/esm2015/toolbar.js +88 -0
  358. package/esm2015/toolbar.js.map +1 -0
  359. package/esm2015/tooltip.js +701 -0
  360. package/esm2015/tooltip.js.map +1 -0
  361. package/esm5/autocomplete.es5.js +691 -0
  362. package/esm5/autocomplete.es5.js.map +1 -0
  363. package/esm5/button-toggle.es5.js +619 -0
  364. package/esm5/button-toggle.es5.js.map +1 -0
  365. package/esm5/button.es5.js +341 -0
  366. package/esm5/button.es5.js.map +1 -0
  367. package/esm5/card.es5.js +349 -0
  368. package/esm5/card.es5.js.map +1 -0
  369. package/esm5/checkbox.es5.js +534 -0
  370. package/esm5/checkbox.es5.js.map +1 -0
  371. package/esm5/chips.es5.js +1466 -0
  372. package/esm5/chips.es5.js.map +1 -0
  373. package/esm5/core.es5.js +2316 -0
  374. package/esm5/core.es5.js.map +1 -0
  375. package/esm5/datepicker.es5.js +1936 -0
  376. package/esm5/datepicker.es5.js.map +1 -0
  377. package/esm5/dialog.es5.js +877 -0
  378. package/esm5/dialog.es5.js.map +1 -0
  379. package/esm5/expansion.es5.js +608 -0
  380. package/esm5/expansion.es5.js.map +1 -0
  381. package/esm5/form-field.es5.js +556 -0
  382. package/esm5/form-field.es5.js.map +1 -0
  383. package/esm5/grid-list.es5.js +877 -0
  384. package/esm5/grid-list.es5.js.map +1 -0
  385. package/esm5/icon.es5.js +746 -0
  386. package/esm5/icon.es5.js.map +1 -0
  387. package/esm5/input.es5.js +606 -0
  388. package/esm5/input.es5.js.map +1 -0
  389. package/esm5/list.es5.js +726 -0
  390. package/esm5/list.es5.js.map +1 -0
  391. package/esm5/material.es5.js +48 -0
  392. package/esm5/material.es5.js.map +1 -0
  393. package/esm5/menu.es5.js +953 -0
  394. package/esm5/menu.es5.js.map +1 -0
  395. package/esm5/paginator.es5.js +324 -0
  396. package/esm5/paginator.es5.js.map +1 -0
  397. package/esm5/progress-bar.es5.js +142 -0
  398. package/esm5/progress-bar.es5.js.map +1 -0
  399. package/esm5/progress-spinner.es5.js +474 -0
  400. package/esm5/progress-spinner.es5.js.map +1 -0
  401. package/esm5/radio.es5.js +779 -0
  402. package/esm5/radio.es5.js.map +1 -0
  403. package/esm5/select.es5.js +1444 -0
  404. package/esm5/select.es5.js.map +1 -0
  405. package/esm5/sidenav.es5.js +719 -0
  406. package/esm5/sidenav.es5.js.map +1 -0
  407. package/esm5/slide-toggle.es5.js +451 -0
  408. package/esm5/slide-toggle.es5.js.map +1 -0
  409. package/esm5/slider.es5.js +932 -0
  410. package/esm5/slider.es5.js.map +1 -0
  411. package/esm5/snack-bar.es5.js +623 -0
  412. package/esm5/snack-bar.es5.js.map +1 -0
  413. package/esm5/sort.es5.js +418 -0
  414. package/esm5/sort.es5.js.map +1 -0
  415. package/esm5/stepper.es5.js +376 -0
  416. package/esm5/stepper.es5.js.map +1 -0
  417. package/esm5/table.es5.js +370 -0
  418. package/esm5/table.es5.js.map +1 -0
  419. package/esm5/tabs.es5.js +1576 -0
  420. package/esm5/tabs.es5.js.map +1 -0
  421. package/esm5/toolbar.es5.js +94 -0
  422. package/esm5/toolbar.es5.js.map +1 -0
  423. package/esm5/tooltip.es5.js +759 -0
  424. package/esm5/tooltip.es5.js.map +1 -0
  425. package/expansion/index.d.ts +8 -0
  426. package/expansion/index.metadata.json +11 -0
  427. package/expansion/package.json +7 -0
  428. package/expansion/typings/accordion-item.d.ts +41 -0
  429. package/expansion/typings/accordion.d.ts +29 -0
  430. package/expansion/typings/expansion-module.d.ts +2 -0
  431. package/expansion/typings/expansion-panel-header.d.ts +56 -0
  432. package/expansion/typings/expansion-panel.d.ts +39 -0
  433. package/expansion/typings/index.d.ts +5 -0
  434. package/expansion/typings/index.metadata.json +1 -0
  435. package/expansion/typings/mat-exports.d.ts +20 -0
  436. package/expansion/typings/public_api.d.ts +13 -0
  437. package/expansion.d.ts +8 -0
  438. package/expansion.metadata.json +11 -0
  439. package/form-field/index.d.ts +8 -0
  440. package/form-field/index.metadata.json +11 -0
  441. package/form-field/package.json +7 -0
  442. package/form-field/typings/error.d.ts +4 -0
  443. package/form-field/typings/form-field-control.d.ts +39 -0
  444. package/form-field/typings/form-field-errors.d.ts +13 -0
  445. package/form-field/typings/form-field-module.d.ts +2 -0
  446. package/form-field/typings/form-field.d.ts +77 -0
  447. package/form-field/typings/hint.d.ts +7 -0
  448. package/form-field/typings/index.d.ts +4 -0
  449. package/form-field/typings/index.metadata.json +1 -0
  450. package/form-field/typings/mat-exports.d.ts +23 -0
  451. package/form-field/typings/placeholder.d.ts +3 -0
  452. package/form-field/typings/prefix.d.ts +3 -0
  453. package/form-field/typings/public_api.d.ts +17 -0
  454. package/form-field/typings/suffix.d.ts +3 -0
  455. package/form-field.d.ts +8 -0
  456. package/form-field.metadata.json +11 -0
  457. package/grid-list/index.d.ts +8 -1
  458. package/grid-list/index.metadata.json +11 -1
  459. package/grid-list/package.json +7 -0
  460. package/grid-list/typings/grid-list-measure.d.ts +17 -0
  461. package/grid-list/typings/grid-list-module.d.ts +2 -0
  462. package/grid-list/typings/grid-list.d.ts +53 -0
  463. package/grid-list/typings/grid-tile.d.ts +55 -0
  464. package/grid-list/typings/index.d.ts +5 -0
  465. package/grid-list/typings/index.metadata.json +1 -0
  466. package/grid-list/typings/mat-exports.d.ts +13 -0
  467. package/grid-list/typings/public_api.d.ts +11 -0
  468. package/grid-list/typings/tile-coordinator.d.ts +64 -0
  469. package/grid-list/typings/tile-styler.d.ts +129 -0
  470. package/grid-list.d.ts +8 -0
  471. package/grid-list.metadata.json +11 -0
  472. package/icon/index.d.ts +8 -1
  473. package/icon/index.metadata.json +11 -1
  474. package/icon/package.json +7 -0
  475. package/icon/typings/icon-module.d.ts +2 -0
  476. package/icon/typings/icon-registry.d.ts +194 -0
  477. package/icon/typings/icon.d.ts +76 -0
  478. package/icon/typings/index.d.ts +4 -0
  479. package/icon/typings/index.metadata.json +1 -0
  480. package/icon/typings/mat-exports.d.ts +14 -0
  481. package/icon/typings/public_api.d.ts +11 -0
  482. package/icon.d.ts +8 -0
  483. package/icon.metadata.json +11 -0
  484. package/input/index.d.ts +8 -1
  485. package/input/index.metadata.json +11 -1
  486. package/input/package.json +7 -0
  487. package/input/typings/autosize.d.ts +45 -0
  488. package/input/typings/index.d.ts +4 -0
  489. package/input/typings/index.metadata.json +1 -0
  490. package/input/typings/input-errors.d.ts +9 -0
  491. package/input/typings/input-module.d.ts +2 -0
  492. package/input/typings/input.d.ts +78 -0
  493. package/input/typings/mat-exports.d.ts +13 -0
  494. package/input/typings/public_api.d.ts +12 -0
  495. package/input.d.ts +8 -0
  496. package/input.metadata.json +11 -0
  497. package/list/index.d.ts +8 -1
  498. package/list/index.metadata.json +11 -1
  499. package/list/package.json +7 -0
  500. package/list/typings/index.d.ts +4 -0
  501. package/list/typings/index.metadata.json +1 -0
  502. package/list/typings/list-module.d.ts +2 -0
  503. package/list/typings/list.d.ts +78 -0
  504. package/list/typings/mat-exports.d.ts +27 -0
  505. package/list/typings/public_api.d.ts +11 -0
  506. package/list/typings/selection-list.d.ts +112 -0
  507. package/list.d.ts +8 -0
  508. package/list.metadata.json +11 -0
  509. package/material.d.ts +39 -0
  510. package/material.metadata.json +102 -0
  511. package/menu/index.d.ts +8 -1
  512. package/menu/index.metadata.json +11 -1
  513. package/menu/package.json +7 -0
  514. package/menu/typings/index.d.ts +6 -0
  515. package/menu/typings/index.metadata.json +1 -0
  516. package/menu/typings/mat-exports.d.ts +16 -0
  517. package/menu/typings/menu-animations.d.ts +27 -0
  518. package/menu/typings/menu-directive.d.ts +86 -0
  519. package/menu/typings/menu-errors.d.ts +24 -0
  520. package/menu/typings/menu-item.d.ts +40 -0
  521. package/menu/typings/menu-module.d.ts +2 -0
  522. package/menu/typings/menu-panel.d.ts +22 -0
  523. package/menu/typings/menu-positions.d.ts +9 -0
  524. package/menu/typings/menu-trigger.d.ts +116 -0
  525. package/menu/typings/menu.d.ts +12 -0
  526. package/menu/typings/public_api.d.ts +12 -0
  527. package/menu.d.ts +8 -0
  528. package/menu.metadata.json +11 -0
  529. package/package.json +10 -8
  530. package/paginator/index.d.ts +8 -0
  531. package/paginator/index.metadata.json +11 -0
  532. package/paginator/package.json +7 -0
  533. package/paginator/typings/index.d.ts +4 -0
  534. package/paginator/typings/index.metadata.json +1 -0
  535. package/paginator/typings/mat-exports.d.ts +13 -0
  536. package/paginator/typings/paginator-intl.d.ts +20 -0
  537. package/paginator/typings/paginator-module.d.ts +2 -0
  538. package/paginator/typings/paginator.d.ts +75 -0
  539. package/paginator/typings/public_api.d.ts +11 -0
  540. package/paginator.d.ts +8 -0
  541. package/paginator.metadata.json +11 -0
  542. package/prebuilt-themes/deeppurple-amber.css +1 -0
  543. package/prebuilt-themes/indigo-pink.css +1 -0
  544. package/prebuilt-themes/pink-bluegrey.css +1 -0
  545. package/prebuilt-themes/purple-green.css +1 -0
  546. package/progress-bar/index.d.ts +8 -1
  547. package/progress-bar/index.metadata.json +11 -1
  548. package/progress-bar/package.json +7 -0
  549. package/progress-bar/typings/index.d.ts +4 -0
  550. package/progress-bar/typings/index.metadata.json +1 -0
  551. package/progress-bar/typings/mat-exports.d.ts +11 -0
  552. package/progress-bar/typings/progress-bar-module.d.ts +2 -0
  553. package/progress-bar/typings/progress-bar.d.ts +32 -0
  554. package/progress-bar/typings/public_api.d.ts +10 -0
  555. package/progress-bar.d.ts +8 -0
  556. package/progress-bar.metadata.json +11 -0
  557. package/progress-spinner/index.d.ts +8 -0
  558. package/progress-spinner/index.metadata.json +11 -0
  559. package/progress-spinner/package.json +7 -0
  560. package/progress-spinner/typings/index.d.ts +4 -0
  561. package/progress-spinner/typings/index.metadata.json +1 -0
  562. package/progress-spinner/typings/mat-exports.d.ts +14 -0
  563. package/progress-spinner/typings/progress-spinner-module.d.ts +2 -0
  564. package/progress-spinner/typings/progress-spinner.d.ts +98 -0
  565. package/progress-spinner/typings/public_api.d.ts +10 -0
  566. package/progress-spinner.d.ts +8 -0
  567. package/progress-spinner.metadata.json +11 -0
  568. package/radio/index.d.ts +8 -1
  569. package/radio/index.metadata.json +11 -1
  570. package/radio/package.json +7 -0
  571. package/radio/typings/index.d.ts +4 -0
  572. package/radio/typings/index.metadata.json +1 -0
  573. package/radio/typings/mat-exports.d.ts +16 -0
  574. package/radio/typings/public_api.d.ts +10 -0
  575. package/radio/typings/radio-module.d.ts +2 -0
  576. package/radio/typings/radio.d.ts +217 -0
  577. package/radio.d.ts +8 -0
  578. package/radio.metadata.json +11 -0
  579. package/select/index.d.ts +8 -5
  580. package/select/index.metadata.json +11 -1
  581. package/select/package.json +7 -0
  582. package/select/typings/index.d.ts +4 -0
  583. package/select/typings/index.metadata.json +1 -0
  584. package/select/typings/mat-exports.d.ts +17 -0
  585. package/select/typings/public_api.d.ts +11 -0
  586. package/select/typings/select-animations.d.ts +36 -0
  587. package/select/typings/select-errors.d.ts +26 -0
  588. package/select/typings/select-module.d.ts +2 -0
  589. package/select/typings/select.d.ts +412 -0
  590. package/select.d.ts +8 -0
  591. package/select.metadata.json +11 -0
  592. package/sidenav/index.d.ts +8 -1
  593. package/sidenav/index.metadata.json +11 -1
  594. package/sidenav/package.json +7 -0
  595. package/sidenav/typings/drawer.d.ts +178 -0
  596. package/sidenav/typings/index.d.ts +4 -0
  597. package/sidenav/typings/index.metadata.json +1 -0
  598. package/sidenav/typings/mat-exports.d.ts +16 -0
  599. package/sidenav/typings/public_api.d.ts +11 -0
  600. package/sidenav/typings/sidenav-module.d.ts +2 -0
  601. package/sidenav/typings/sidenav.d.ts +6 -0
  602. package/sidenav.d.ts +8 -0
  603. package/sidenav.metadata.json +11 -0
  604. package/slide-toggle/index.d.ts +8 -1
  605. package/slide-toggle/index.metadata.json +11 -1
  606. package/slide-toggle/package.json +7 -0
  607. package/slide-toggle/typings/index.d.ts +4 -0
  608. package/slide-toggle/typings/index.metadata.json +1 -0
  609. package/slide-toggle/typings/mat-exports.d.ts +14 -0
  610. package/slide-toggle/typings/public_api.d.ts +10 -0
  611. package/slide-toggle/typings/slide-toggle-module.d.ts +2 -0
  612. package/slide-toggle/typings/slide-toggle.d.ts +93 -0
  613. package/slide-toggle.d.ts +8 -0
  614. package/slide-toggle.metadata.json +11 -0
  615. package/slider/index.d.ts +8 -1
  616. package/slider/index.metadata.json +11 -1
  617. package/slider/package.json +7 -0
  618. package/slider/typings/index.d.ts +4 -0
  619. package/slider/typings/index.metadata.json +1 -0
  620. package/slider/typings/mat-exports.d.ts +14 -0
  621. package/slider/typings/public_api.d.ts +10 -0
  622. package/slider/typings/slider-module.d.ts +2 -0
  623. package/slider/typings/slider.d.ts +207 -0
  624. package/slider.d.ts +8 -0
  625. package/slider.metadata.json +11 -0
  626. package/snack-bar/index.d.ts +8 -4
  627. package/snack-bar/index.metadata.json +11 -1
  628. package/snack-bar/package.json +7 -0
  629. package/snack-bar/typings/index.d.ts +4 -0
  630. package/snack-bar/typings/index.metadata.json +1 -0
  631. package/snack-bar/typings/mat-exports.d.ts +18 -0
  632. package/snack-bar/typings/public_api.d.ts +14 -0
  633. package/snack-bar/typings/simple-snack-bar.d.ts +18 -0
  634. package/snack-bar/typings/snack-bar-config.d.ts +38 -0
  635. package/snack-bar/typings/snack-bar-container.d.ts +61 -0
  636. package/snack-bar/typings/snack-bar-module.d.ts +2 -0
  637. package/snack-bar/typings/snack-bar-ref.d.ts +51 -0
  638. package/snack-bar/typings/snack-bar.d.ts +70 -0
  639. package/snack-bar.d.ts +8 -0
  640. package/snack-bar.metadata.json +11 -0
  641. package/sort/index.d.ts +8 -0
  642. package/sort/index.metadata.json +11 -0
  643. package/sort/package.json +7 -0
  644. package/sort/typings/index.d.ts +4 -0
  645. package/sort/typings/index.metadata.json +1 -0
  646. package/sort/typings/mat-exports.d.ts +16 -0
  647. package/sort/typings/public_api.d.ts +13 -0
  648. package/sort/typings/sort-direction.d.ts +8 -0
  649. package/sort/typings/sort-errors.d.ts +13 -0
  650. package/sort/typings/sort-header-intl.d.ts +17 -0
  651. package/sort/typings/sort-header.d.ts +44 -0
  652. package/sort/typings/sort-module.d.ts +2 -0
  653. package/sort/typings/sort.d.ts +59 -0
  654. package/sort.d.ts +8 -0
  655. package/sort.metadata.json +11 -0
  656. package/stepper/index.d.ts +8 -0
  657. package/stepper/index.metadata.json +11 -0
  658. package/stepper/package.json +7 -0
  659. package/stepper/typings/index.d.ts +4 -0
  660. package/stepper/typings/index.metadata.json +1 -0
  661. package/stepper/typings/mat-exports.d.ts +21 -0
  662. package/stepper/typings/public_api.d.ts +13 -0
  663. package/stepper/typings/step-header.d.ts +23 -0
  664. package/stepper/typings/step-label.d.ts +14 -0
  665. package/stepper/typings/stepper-button.d.ts +10 -0
  666. package/stepper/typings/stepper-module.d.ts +2 -0
  667. package/stepper/typings/stepper.d.ts +27 -0
  668. package/stepper.d.ts +8 -0
  669. package/stepper.metadata.json +11 -0
  670. package/table/index.d.ts +8 -0
  671. package/table/index.metadata.json +11 -0
  672. package/table/package.json +7 -0
  673. package/table/typings/cell.d.ts +44 -0
  674. package/table/typings/index.d.ts +4 -0
  675. package/table/typings/index.metadata.json +1 -0
  676. package/table/typings/mat-exports.d.ts +20 -0
  677. package/table/typings/public_api.d.ts +12 -0
  678. package/table/typings/row.d.ts +30 -0
  679. package/table/typings/table-module.d.ts +2 -0
  680. package/table/typings/table.d.ts +8 -0
  681. package/table.d.ts +8 -0
  682. package/table.metadata.json +11 -0
  683. package/tabs/index.d.ts +8 -1
  684. package/tabs/index.metadata.json +11 -1
  685. package/tabs/package.json +7 -0
  686. package/tabs/typings/index.d.ts +8 -0
  687. package/tabs/typings/index.metadata.json +1 -0
  688. package/tabs/typings/ink-bar.d.ts +33 -0
  689. package/tabs/typings/mat-exports.d.ts +31 -0
  690. package/tabs/typings/public_api.d.ts +17 -0
  691. package/tabs/typings/tab-body.d.ts +69 -0
  692. package/tabs/typings/tab-group.d.ts +100 -0
  693. package/tabs/typings/tab-header.d.ts +156 -0
  694. package/tabs/typings/tab-label-wrapper.d.ts +25 -0
  695. package/tabs/typings/tab-label.d.ts +15 -0
  696. package/tabs/typings/tab-nav-bar/index.d.ts +8 -0
  697. package/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts +77 -0
  698. package/tabs/typings/tab.d.ts +50 -0
  699. package/tabs/typings/tabs-module.d.ts +2 -0
  700. package/tabs.d.ts +8 -0
  701. package/tabs.metadata.json +11 -0
  702. package/toolbar/index.d.ts +8 -1
  703. package/toolbar/index.metadata.json +11 -1
  704. package/toolbar/package.json +7 -0
  705. package/toolbar/typings/index.d.ts +4 -0
  706. package/toolbar/typings/index.metadata.json +1 -0
  707. package/toolbar/typings/mat-exports.d.ts +13 -0
  708. package/toolbar/typings/public_api.d.ts +10 -0
  709. package/toolbar/typings/toolbar-module.d.ts +2 -0
  710. package/toolbar/typings/toolbar.d.ts +21 -0
  711. package/toolbar.d.ts +8 -0
  712. package/toolbar.metadata.json +11 -0
  713. package/tooltip/index.d.ts +8 -1
  714. package/tooltip/index.metadata.json +11 -1
  715. package/tooltip/package.json +7 -0
  716. package/tooltip/typings/index.d.ts +4 -0
  717. package/tooltip/typings/index.metadata.json +1 -0
  718. package/tooltip/typings/mat-exports.d.ts +14 -0
  719. package/tooltip/typings/public_api.d.ts +10 -0
  720. package/tooltip/typings/tooltip-module.d.ts +2 -0
  721. package/tooltip/typings/tooltip.d.ts +177 -0
  722. package/tooltip.d.ts +8 -0
  723. package/tooltip.metadata.json +11 -0
  724. package/typings/autocomplete/autocomplete-module.d.ts +2 -0
  725. package/typings/autocomplete/autocomplete-trigger.d.ts +159 -0
  726. package/typings/autocomplete/autocomplete.d.ts +55 -0
  727. package/typings/autocomplete/index.d.ts +4 -0
  728. package/typings/autocomplete/index.metadata.json +1 -0
  729. package/typings/autocomplete/mat-exports.d.ts +17 -0
  730. package/typings/autocomplete/public_api.d.ts +11 -0
  731. package/typings/button/button-module.d.ts +2 -0
  732. package/typings/button/button.d.ts +80 -0
  733. package/typings/button/index.d.ts +4 -0
  734. package/typings/button/index.metadata.json +1 -0
  735. package/typings/button/mat-exports.d.ts +18 -0
  736. package/typings/button/public_api.d.ts +10 -0
  737. package/typings/button-toggle/button-toggle-module.d.ts +2 -0
  738. package/typings/button-toggle/button-toggle.d.ts +156 -0
  739. package/typings/button-toggle/index.d.ts +4 -0
  740. package/typings/button-toggle/index.metadata.json +1 -0
  741. package/typings/button-toggle/mat-exports.d.ts +16 -0
  742. package/typings/button-toggle/public_api.d.ts +10 -0
  743. package/typings/card/card-module.d.ts +2 -0
  744. package/typings/card/card.d.ts +95 -0
  745. package/typings/card/index.d.ts +4 -0
  746. package/typings/card/index.metadata.json +1 -0
  747. package/typings/card/mat-exports.d.ts +24 -0
  748. package/typings/card/public_api.d.ts +10 -0
  749. package/typings/checkbox/checkbox-module.d.ts +2 -0
  750. package/typings/checkbox/checkbox-required-validator.d.ts +18 -0
  751. package/typings/checkbox/checkbox.d.ts +159 -0
  752. package/typings/checkbox/index.d.ts +4 -0
  753. package/typings/checkbox/index.metadata.json +1 -0
  754. package/typings/checkbox/mat-exports.d.ts +17 -0
  755. package/typings/checkbox/public_api.d.ts +11 -0
  756. package/typings/chips/chip-input.d.ts +54 -0
  757. package/typings/chips/chip-list.d.ts +219 -0
  758. package/typings/chips/chip.d.ts +123 -0
  759. package/typings/chips/chips-module.d.ts +2 -0
  760. package/typings/chips/index.d.ts +4 -0
  761. package/typings/chips/index.metadata.json +1 -0
  762. package/typings/chips/mat-exports.d.ts +21 -0
  763. package/typings/chips/public_api.d.ts +12 -0
  764. package/typings/core/a11y/index.d.ts +8 -0
  765. package/typings/core/animation/animation.d.ts +20 -0
  766. package/typings/core/bidi/index.d.ts +8 -0
  767. package/typings/core/common-behaviors/color.d.ts +22 -0
  768. package/typings/core/common-behaviors/common-module.d.ts +24 -0
  769. package/typings/core/common-behaviors/constructor.d.ts +9 -0
  770. package/typings/core/common-behaviors/disable-ripple.d.ts +7 -0
  771. package/typings/core/common-behaviors/disabled.d.ts +7 -0
  772. package/typings/core/common-behaviors/index.d.ts +12 -0
  773. package/typings/core/common-behaviors/tabindex.d.ts +15 -0
  774. package/typings/core/compatibility/compatibility.d.ts +40 -0
  775. package/typings/core/coordination/unique-selection-dispatcher.d.ts +40 -0
  776. package/typings/core/datetime/date-adapter.d.ts +198 -0
  777. package/typings/core/datetime/date-formats.d.ts +20 -0
  778. package/typings/core/datetime/index.d.ts +8 -0
  779. package/typings/core/datetime/native-date-adapter.d.ts +50 -0
  780. package/typings/core/datetime/native-date-formats.d.ts +9 -0
  781. package/typings/core/error/error-options.d.ts +19 -0
  782. package/typings/core/gestures/gesture-annotations.d.ts +51 -0
  783. package/typings/core/gestures/gesture-config.d.ts +23 -0
  784. package/typings/core/index.d.ts +5 -0
  785. package/typings/core/index.metadata.json +1 -0
  786. package/typings/core/keyboard/keycodes.d.ts +8 -0
  787. package/typings/core/line/line.d.ts +30 -0
  788. package/typings/core/mat-exports.d.ts +36 -0
  789. package/typings/core/option/index.d.ts +4 -0
  790. package/typings/core/option/optgroup.d.ts +14 -0
  791. package/typings/core/option/option.d.ts +97 -0
  792. package/typings/core/overlay/index.d.ts +8 -0
  793. package/typings/core/placeholder/placeholder-options.d.ts +15 -0
  794. package/typings/core/platform/features.d.ts +8 -0
  795. package/typings/core/platform/index.d.ts +10 -0
  796. package/typings/core/platform/platform.d.ts +8 -0
  797. package/typings/core/portal/dom-portal-host.d.ts +8 -0
  798. package/typings/core/portal/portal-directives.d.ts +8 -0
  799. package/typings/core/portal/portal-injector.d.ts +19 -0
  800. package/typings/core/portal/portal.d.ts +8 -0
  801. package/typings/core/public_api.d.ts +34 -0
  802. package/typings/core/ripple/index.d.ts +5 -0
  803. package/typings/core/ripple/ripple-ref.d.ts +28 -0
  804. package/typings/core/ripple/ripple-renderer.d.ts +64 -0
  805. package/typings/core/ripple/ripple.d.ts +73 -0
  806. package/typings/core/rxjs/index.d.ts +9 -0
  807. package/typings/core/rxjs/rx-chain.d.ts +8 -0
  808. package/typings/core/rxjs/rx-operators.d.ts +8 -0
  809. package/typings/core/selection/index.d.ts +3 -0
  810. package/typings/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +20 -0
  811. package/typings/core/style/apply-transform.d.ts +13 -0
  812. package/typings/core/style/index.d.ts +5 -0
  813. package/typings/core/testing/month-constants.d.ts +12 -0
  814. package/typings/core/util/object-extend.d.ts +15 -0
  815. package/typings/datepicker/calendar-body.d.ts +52 -0
  816. package/typings/datepicker/calendar.d.ts +90 -0
  817. package/typings/datepicker/coerce-date-property.d.ts +19 -0
  818. package/typings/datepicker/datepicker-errors.d.ts +9 -0
  819. package/typings/datepicker/datepicker-input.d.ts +94 -0
  820. package/typings/datepicker/datepicker-intl.d.ts +25 -0
  821. package/typings/datepicker/datepicker-module.d.ts +2 -0
  822. package/typings/datepicker/datepicker-toggle.d.ts +24 -0
  823. package/typings/datepicker/datepicker.d.ts +117 -0
  824. package/typings/datepicker/index.d.ts +4 -0
  825. package/typings/datepicker/index.metadata.json +1 -0
  826. package/typings/datepicker/mat-exports.d.ts +33 -0
  827. package/typings/datepicker/month-view.d.ts +65 -0
  828. package/typings/datepicker/public_api.d.ts +18 -0
  829. package/typings/datepicker/year-view.d.ts +54 -0
  830. package/typings/dialog/dialog-config.d.ts +54 -0
  831. package/typings/dialog/dialog-container.d.ts +68 -0
  832. package/typings/dialog/dialog-content-directives.d.ts +45 -0
  833. package/typings/dialog/dialog-module.d.ts +2 -0
  834. package/typings/dialog/dialog-ref.d.ts +68 -0
  835. package/typings/dialog/dialog.d.ts +108 -0
  836. package/typings/dialog/index.d.ts +4 -0
  837. package/typings/dialog/index.metadata.json +1 -0
  838. package/typings/dialog/mat-exports.d.ts +26 -0
  839. package/typings/dialog/public_api.d.ts +14 -0
  840. package/typings/expansion/accordion-item.d.ts +41 -0
  841. package/typings/expansion/accordion.d.ts +29 -0
  842. package/typings/expansion/expansion-module.d.ts +2 -0
  843. package/typings/expansion/expansion-panel-header.d.ts +56 -0
  844. package/typings/expansion/expansion-panel.d.ts +39 -0
  845. package/typings/expansion/index.d.ts +5 -0
  846. package/typings/expansion/index.metadata.json +1 -0
  847. package/typings/expansion/mat-exports.d.ts +20 -0
  848. package/typings/expansion/public_api.d.ts +13 -0
  849. package/typings/form-field/error.d.ts +4 -0
  850. package/typings/form-field/form-field-control.d.ts +39 -0
  851. package/typings/form-field/form-field-errors.d.ts +13 -0
  852. package/typings/form-field/form-field-module.d.ts +2 -0
  853. package/typings/form-field/form-field.d.ts +77 -0
  854. package/typings/form-field/hint.d.ts +7 -0
  855. package/typings/form-field/index.d.ts +4 -0
  856. package/typings/form-field/index.metadata.json +1 -0
  857. package/typings/form-field/mat-exports.d.ts +23 -0
  858. package/typings/form-field/placeholder.d.ts +3 -0
  859. package/typings/form-field/prefix.d.ts +3 -0
  860. package/typings/form-field/public_api.d.ts +17 -0
  861. package/typings/form-field/suffix.d.ts +3 -0
  862. package/typings/grid-list/grid-list-measure.d.ts +17 -0
  863. package/typings/grid-list/grid-list-module.d.ts +2 -0
  864. package/typings/grid-list/grid-list.d.ts +53 -0
  865. package/typings/grid-list/grid-tile.d.ts +55 -0
  866. package/typings/grid-list/index.d.ts +5 -0
  867. package/typings/grid-list/index.metadata.json +1 -0
  868. package/typings/grid-list/mat-exports.d.ts +13 -0
  869. package/typings/grid-list/public_api.d.ts +11 -0
  870. package/typings/grid-list/tile-coordinator.d.ts +64 -0
  871. package/typings/grid-list/tile-styler.d.ts +129 -0
  872. package/typings/icon/icon-module.d.ts +2 -0
  873. package/typings/icon/icon-registry.d.ts +194 -0
  874. package/typings/icon/icon.d.ts +76 -0
  875. package/typings/icon/index.d.ts +4 -0
  876. package/typings/icon/index.metadata.json +1 -0
  877. package/typings/icon/mat-exports.d.ts +14 -0
  878. package/typings/icon/public_api.d.ts +11 -0
  879. package/typings/index.d.ts +4 -0
  880. package/typings/index.metadata.json +26 -0
  881. package/typings/input/autosize.d.ts +45 -0
  882. package/typings/input/index.d.ts +4 -0
  883. package/typings/input/index.metadata.json +1 -0
  884. package/typings/input/input-errors.d.ts +9 -0
  885. package/typings/input/input-module.d.ts +2 -0
  886. package/typings/input/input.d.ts +78 -0
  887. package/typings/input/mat-exports.d.ts +13 -0
  888. package/typings/input/public_api.d.ts +12 -0
  889. package/typings/list/index.d.ts +4 -0
  890. package/typings/list/index.metadata.json +1 -0
  891. package/typings/list/list-module.d.ts +2 -0
  892. package/typings/list/list.d.ts +78 -0
  893. package/typings/list/mat-exports.d.ts +27 -0
  894. package/typings/list/public_api.d.ts +11 -0
  895. package/typings/list/selection-list.d.ts +112 -0
  896. package/typings/menu/index.d.ts +6 -0
  897. package/typings/menu/index.metadata.json +1 -0
  898. package/typings/menu/mat-exports.d.ts +16 -0
  899. package/typings/menu/menu-animations.d.ts +27 -0
  900. package/typings/menu/menu-directive.d.ts +86 -0
  901. package/typings/menu/menu-errors.d.ts +24 -0
  902. package/typings/menu/menu-item.d.ts +40 -0
  903. package/typings/menu/menu-module.d.ts +2 -0
  904. package/typings/menu/menu-panel.d.ts +22 -0
  905. package/typings/menu/menu-positions.d.ts +9 -0
  906. package/typings/menu/menu-trigger.d.ts +116 -0
  907. package/typings/menu/menu.d.ts +12 -0
  908. package/typings/menu/public_api.d.ts +12 -0
  909. package/typings/paginator/index.d.ts +4 -0
  910. package/typings/paginator/index.metadata.json +1 -0
  911. package/typings/paginator/mat-exports.d.ts +13 -0
  912. package/typings/paginator/paginator-intl.d.ts +20 -0
  913. package/typings/paginator/paginator-module.d.ts +2 -0
  914. package/typings/paginator/paginator.d.ts +75 -0
  915. package/typings/paginator/public_api.d.ts +11 -0
  916. package/typings/progress-bar/index.d.ts +4 -0
  917. package/typings/progress-bar/index.metadata.json +1 -0
  918. package/typings/progress-bar/mat-exports.d.ts +11 -0
  919. package/typings/progress-bar/progress-bar-module.d.ts +2 -0
  920. package/typings/progress-bar/progress-bar.d.ts +32 -0
  921. package/typings/progress-bar/public_api.d.ts +10 -0
  922. package/typings/progress-spinner/index.d.ts +4 -0
  923. package/typings/progress-spinner/index.metadata.json +1 -0
  924. package/typings/progress-spinner/mat-exports.d.ts +14 -0
  925. package/typings/progress-spinner/progress-spinner-module.d.ts +2 -0
  926. package/typings/progress-spinner/progress-spinner.d.ts +98 -0
  927. package/typings/progress-spinner/public_api.d.ts +10 -0
  928. package/typings/public_api.d.ts +39 -0
  929. package/typings/radio/index.d.ts +4 -0
  930. package/typings/radio/index.metadata.json +1 -0
  931. package/typings/radio/mat-exports.d.ts +16 -0
  932. package/typings/radio/public_api.d.ts +10 -0
  933. package/typings/radio/radio-module.d.ts +2 -0
  934. package/typings/radio/radio.d.ts +217 -0
  935. package/typings/select/index.d.ts +4 -0
  936. package/typings/select/index.metadata.json +1 -0
  937. package/typings/select/mat-exports.d.ts +17 -0
  938. package/typings/select/public_api.d.ts +11 -0
  939. package/typings/select/select-animations.d.ts +36 -0
  940. package/typings/select/select-errors.d.ts +26 -0
  941. package/typings/select/select-module.d.ts +2 -0
  942. package/typings/select/select.d.ts +412 -0
  943. package/typings/sidenav/drawer.d.ts +178 -0
  944. package/typings/sidenav/index.d.ts +4 -0
  945. package/typings/sidenav/index.metadata.json +1 -0
  946. package/typings/sidenav/mat-exports.d.ts +16 -0
  947. package/typings/sidenav/public_api.d.ts +11 -0
  948. package/typings/sidenav/sidenav-module.d.ts +2 -0
  949. package/typings/sidenav/sidenav.d.ts +6 -0
  950. package/typings/slide-toggle/index.d.ts +4 -0
  951. package/typings/slide-toggle/index.metadata.json +1 -0
  952. package/typings/slide-toggle/mat-exports.d.ts +14 -0
  953. package/typings/slide-toggle/public_api.d.ts +10 -0
  954. package/typings/slide-toggle/slide-toggle-module.d.ts +2 -0
  955. package/typings/slide-toggle/slide-toggle.d.ts +93 -0
  956. package/typings/slider/index.d.ts +4 -0
  957. package/typings/slider/index.metadata.json +1 -0
  958. package/typings/slider/mat-exports.d.ts +14 -0
  959. package/typings/slider/public_api.d.ts +10 -0
  960. package/typings/slider/slider-module.d.ts +2 -0
  961. package/typings/slider/slider.d.ts +207 -0
  962. package/typings/snack-bar/index.d.ts +4 -0
  963. package/typings/snack-bar/index.metadata.json +1 -0
  964. package/typings/snack-bar/mat-exports.d.ts +18 -0
  965. package/typings/snack-bar/public_api.d.ts +14 -0
  966. package/typings/snack-bar/simple-snack-bar.d.ts +18 -0
  967. package/typings/snack-bar/snack-bar-config.d.ts +38 -0
  968. package/typings/snack-bar/snack-bar-container.d.ts +61 -0
  969. package/typings/snack-bar/snack-bar-module.d.ts +2 -0
  970. package/typings/snack-bar/snack-bar-ref.d.ts +51 -0
  971. package/typings/snack-bar/snack-bar.d.ts +70 -0
  972. package/typings/sort/index.d.ts +4 -0
  973. package/typings/sort/index.metadata.json +1 -0
  974. package/typings/sort/mat-exports.d.ts +16 -0
  975. package/typings/sort/public_api.d.ts +13 -0
  976. package/typings/sort/sort-direction.d.ts +8 -0
  977. package/typings/sort/sort-errors.d.ts +13 -0
  978. package/typings/sort/sort-header-intl.d.ts +17 -0
  979. package/typings/sort/sort-header.d.ts +44 -0
  980. package/typings/sort/sort-module.d.ts +2 -0
  981. package/typings/sort/sort.d.ts +59 -0
  982. package/typings/stepper/index.d.ts +4 -0
  983. package/typings/stepper/index.metadata.json +1 -0
  984. package/typings/stepper/mat-exports.d.ts +21 -0
  985. package/typings/stepper/public_api.d.ts +13 -0
  986. package/typings/stepper/step-header.d.ts +23 -0
  987. package/typings/stepper/step-label.d.ts +14 -0
  988. package/typings/stepper/stepper-button.d.ts +10 -0
  989. package/typings/stepper/stepper-module.d.ts +2 -0
  990. package/typings/stepper/stepper.d.ts +27 -0
  991. package/typings/table/cell.d.ts +44 -0
  992. package/typings/table/index.d.ts +4 -0
  993. package/typings/table/index.metadata.json +1 -0
  994. package/typings/table/mat-exports.d.ts +20 -0
  995. package/typings/table/public_api.d.ts +12 -0
  996. package/typings/table/row.d.ts +30 -0
  997. package/typings/table/table-module.d.ts +2 -0
  998. package/typings/table/table.d.ts +8 -0
  999. package/typings/tabs/index.d.ts +8 -0
  1000. package/typings/tabs/index.metadata.json +1 -0
  1001. package/typings/tabs/ink-bar.d.ts +33 -0
  1002. package/typings/tabs/mat-exports.d.ts +31 -0
  1003. package/typings/tabs/public_api.d.ts +17 -0
  1004. package/typings/tabs/tab-body.d.ts +69 -0
  1005. package/typings/tabs/tab-group.d.ts +100 -0
  1006. package/typings/tabs/tab-header.d.ts +156 -0
  1007. package/typings/tabs/tab-label-wrapper.d.ts +25 -0
  1008. package/typings/tabs/tab-label.d.ts +15 -0
  1009. package/typings/tabs/tab-nav-bar/index.d.ts +8 -0
  1010. package/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts +77 -0
  1011. package/typings/tabs/tab.d.ts +50 -0
  1012. package/typings/tabs/tabs-module.d.ts +2 -0
  1013. package/typings/toolbar/index.d.ts +4 -0
  1014. package/typings/toolbar/index.metadata.json +1 -0
  1015. package/typings/toolbar/mat-exports.d.ts +13 -0
  1016. package/typings/toolbar/public_api.d.ts +10 -0
  1017. package/typings/toolbar/toolbar-module.d.ts +2 -0
  1018. package/typings/toolbar/toolbar.d.ts +21 -0
  1019. package/typings/tooltip/index.d.ts +4 -0
  1020. package/typings/tooltip/index.metadata.json +1 -0
  1021. package/typings/tooltip/mat-exports.d.ts +14 -0
  1022. package/typings/tooltip/public_api.d.ts +10 -0
  1023. package/typings/tooltip/tooltip-module.d.ts +2 -0
  1024. package/typings/tooltip/tooltip.d.ts +177 -0
  1025. package/typings/version.d.ts +10 -0
  1026. package/button/README.md +0 -115
  1027. package/button/_button-base.scss +0 -116
  1028. package/button/_button-theme.scss +0 -85
  1029. package/button/button.css +0 -101
  1030. package/button/button.css.map +0 -1
  1031. package/button/button.d.ts +0 -35
  1032. package/button/button.html +0 -6
  1033. package/button/button.js +0 -196
  1034. package/button/button.js.map +0 -1
  1035. package/button/button.metadata.json +0 -1
  1036. package/button/button.scss +0 -72
  1037. package/button/index.js +0 -3
  1038. package/button/index.js.map +0 -1
  1039. package/button-toggle/README.md +0 -149
  1040. package/button-toggle/_button-toggle-theme.scss +0 -14
  1041. package/button-toggle/button-toggle.css +0 -24
  1042. package/button-toggle/button-toggle.css.map +0 -1
  1043. package/button-toggle/button-toggle.d.ts +0 -110
  1044. package/button-toggle/button-toggle.html +0 -14
  1045. package/button-toggle/button-toggle.js +0 -436
  1046. package/button-toggle/button-toggle.js.map +0 -1
  1047. package/button-toggle/button-toggle.metadata.json +0 -1
  1048. package/button-toggle/button-toggle.scss +0 -34
  1049. package/button-toggle/index.js +0 -3
  1050. package/button-toggle/index.js.map +0 -1
  1051. package/card/README.md +0 -116
  1052. package/card/_card-theme.scss +0 -17
  1053. package/card/card-header.html +0 -5
  1054. package/card/card-title-group.html +0 -5
  1055. package/card/card.css +0 -140
  1056. package/card/card.css.map +0 -1
  1057. package/card/card.d.ts +0 -35
  1058. package/card/card.html +0 -1
  1059. package/card/card.js +0 -187
  1060. package/card/card.js.map +0 -1
  1061. package/card/card.metadata.json +0 -1
  1062. package/card/card.scss +0 -226
  1063. package/card/index.js +0 -3
  1064. package/card/index.js.map +0 -1
  1065. package/checkbox/README.md +0 -79
  1066. package/checkbox/_checkbox-theme.scss +0 -69
  1067. package/checkbox/checkbox.css +0 -241
  1068. package/checkbox/checkbox.css.map +0 -1
  1069. package/checkbox/checkbox.d.ts +0 -127
  1070. package/checkbox/checkbox.html +0 -37
  1071. package/checkbox/checkbox.js +0 -344
  1072. package/checkbox/checkbox.js.map +0 -1
  1073. package/checkbox/checkbox.metadata.json +0 -1
  1074. package/checkbox/checkbox.scss +0 -412
  1075. package/checkbox/index.js +0 -3
  1076. package/checkbox/index.js.map +0 -1
  1077. package/core/README.md +0 -2
  1078. package/core/_core.scss +0 -27
  1079. package/core/a11y/README.md +0 -30
  1080. package/core/a11y/_a11y.scss +0 -13
  1081. package/core/a11y/focus-trap.d.ts +0 -23
  1082. package/core/a11y/focus-trap.js +0 -82
  1083. package/core/a11y/focus-trap.js.map +0 -1
  1084. package/core/a11y/focus-trap.metadata.json +0 -1
  1085. package/core/a11y/index.d.ts +0 -10
  1086. package/core/a11y/index.js +0 -37
  1087. package/core/a11y/index.js.map +0 -1
  1088. package/core/a11y/index.metadata.json +0 -1
  1089. package/core/a11y/interactivity-checker.d.ts +0 -31
  1090. package/core/a11y/interactivity-checker.js +0 -122
  1091. package/core/a11y/interactivity-checker.js.map +0 -1
  1092. package/core/a11y/interactivity-checker.metadata.json +0 -1
  1093. package/core/a11y/live-announcer.d.ts +0 -13
  1094. package/core/a11y/live-announcer.js +0 -56
  1095. package/core/a11y/live-announcer.js.map +0 -1
  1096. package/core/a11y/live-announcer.metadata.json +0 -1
  1097. package/core/annotations/field-value.d.ts +0 -16
  1098. package/core/annotations/field-value.js +0 -30
  1099. package/core/annotations/field-value.js.map +0 -1
  1100. package/core/async/promise-completer.d.ts +0 -6
  1101. package/core/async/promise-completer.js +0 -12
  1102. package/core/async/promise-completer.js.map +0 -1
  1103. package/core/coordination/unique-selection-dispatcher.d.ts +0 -17
  1104. package/core/coordination/unique-selection-dispatcher.js +0 -42
  1105. package/core/coordination/unique-selection-dispatcher.js.map +0 -1
  1106. package/core/coordination/unique-selection-dispatcher.metadata.json +0 -1
  1107. package/core/core.d.ts +0 -28
  1108. package/core/core.js +0 -71
  1109. package/core/core.js.map +0 -1
  1110. package/core/core.metadata.json +0 -1
  1111. package/core/errors/error.d.ts +0 -6
  1112. package/core/errors/error.js +0 -19
  1113. package/core/errors/error.js.map +0 -1
  1114. package/core/gestures/MdGestureConfig.d.ts +0 -7
  1115. package/core/gestures/MdGestureConfig.js +0 -84
  1116. package/core/gestures/MdGestureConfig.js.map +0 -1
  1117. package/core/gestures/MdGestureConfig.metadata.json +0 -1
  1118. package/core/index.js +0 -3
  1119. package/core/index.js.map +0 -1
  1120. package/core/keyboard/keycodes.d.ts +0 -6
  1121. package/core/keyboard/keycodes.js +0 -12
  1122. package/core/keyboard/keycodes.js.map +0 -1
  1123. package/core/keyboard/keycodes.metadata.json +0 -1
  1124. package/core/line/line.d.ts +0 -19
  1125. package/core/line/line.js +0 -65
  1126. package/core/line/line.js.map +0 -1
  1127. package/core/line/line.metadata.json +0 -1
  1128. package/core/overlay/generic-component-type.d.ts +0 -3
  1129. package/core/overlay/generic-component-type.js +0 -3
  1130. package/core/overlay/generic-component-type.js.map +0 -1
  1131. package/core/overlay/overlay-container.d.ts +0 -19
  1132. package/core/overlay/overlay-container.js +0 -33
  1133. package/core/overlay/overlay-container.js.map +0 -1
  1134. package/core/overlay/overlay-directives.d.ts +0 -36
  1135. package/core/overlay/overlay-directives.js +0 -120
  1136. package/core/overlay/overlay-directives.js.map +0 -1
  1137. package/core/overlay/overlay-directives.metadata.json +0 -1
  1138. package/core/overlay/overlay-ref.d.ts +0 -28
  1139. package/core/overlay/overlay-ref.js +0 -82
  1140. package/core/overlay/overlay-ref.js.map +0 -1
  1141. package/core/overlay/overlay-state.d.ts +0 -11
  1142. package/core/overlay/overlay-state.js +0 -13
  1143. package/core/overlay/overlay-state.js.map +0 -1
  1144. package/core/overlay/overlay.css +0 -2
  1145. package/core/overlay/overlay.css.map +0 -1
  1146. package/core/overlay/overlay.d.ts +0 -51
  1147. package/core/overlay/overlay.js +0 -93
  1148. package/core/overlay/overlay.js.map +0 -1
  1149. package/core/overlay/overlay.metadata.json +0 -1
  1150. package/core/overlay/overlay.scss +0 -55
  1151. package/core/overlay/position/connected-position-strategy.d.ts +0 -69
  1152. package/core/overlay/position/connected-position-strategy.js +0 -164
  1153. package/core/overlay/position/connected-position-strategy.js.map +0 -1
  1154. package/core/overlay/position/connected-position.d.ts +0 -22
  1155. package/core/overlay/position/connected-position.js +0 -12
  1156. package/core/overlay/position/connected-position.js.map +0 -1
  1157. package/core/overlay/position/global-position-strategy.d.ts +0 -45
  1158. package/core/overlay/position/global-position-strategy.js +0 -102
  1159. package/core/overlay/position/global-position-strategy.js.map +0 -1
  1160. package/core/overlay/position/overlay-position-builder.d.ts +0 -14
  1161. package/core/overlay/position/overlay-position-builder.js +0 -34
  1162. package/core/overlay/position/overlay-position-builder.js.map +0 -1
  1163. package/core/overlay/position/overlay-position-builder.metadata.json +0 -1
  1164. package/core/overlay/position/position-strategy.d.ts +0 -5
  1165. package/core/overlay/position/position-strategy.js +0 -3
  1166. package/core/overlay/position/position-strategy.js.map +0 -1
  1167. package/core/overlay/position/relative-position-strategy.d.ts +0 -7
  1168. package/core/overlay/position/relative-position-strategy.js +0 -12
  1169. package/core/overlay/position/relative-position-strategy.js.map +0 -1
  1170. package/core/overlay/position/viewport-ruler.d.ts +0 -16
  1171. package/core/overlay/position/viewport-ruler.js +0 -71
  1172. package/core/overlay/position/viewport-ruler.js.map +0 -1
  1173. package/core/overlay/position/viewport-ruler.metadata.json +0 -1
  1174. package/core/portal/README.md +0 -72
  1175. package/core/portal/dom-portal-host.d.ts +0 -17
  1176. package/core/portal/dom-portal-host.js +0 -56
  1177. package/core/portal/dom-portal-host.js.map +0 -1
  1178. package/core/portal/portal-directives.d.ts +0 -38
  1179. package/core/portal/portal-directives.js +0 -124
  1180. package/core/portal/portal-directives.js.map +0 -1
  1181. package/core/portal/portal-directives.metadata.json +0 -1
  1182. package/core/portal/portal-errors.d.ts +0 -29
  1183. package/core/portal/portal-errors.js +0 -66
  1184. package/core/portal/portal-errors.js.map +0 -1
  1185. package/core/portal/portal.d.ts +0 -85
  1186. package/core/portal/portal.js +0 -155
  1187. package/core/portal/portal.js.map +0 -1
  1188. package/core/ripple/README.md +0 -27
  1189. package/core/ripple/_ripple.scss +0 -106
  1190. package/core/ripple/ripple-renderer.d.ts +0 -65
  1191. package/core/ripple/ripple-renderer.js +0 -149
  1192. package/core/ripple/ripple-renderer.js.map +0 -1
  1193. package/core/ripple/ripple-renderer.metadata.json +0 -1
  1194. package/core/ripple/ripple.d.ts +0 -75
  1195. package/core/ripple/ripple.js +0 -179
  1196. package/core/ripple/ripple.js.map +0 -1
  1197. package/core/ripple/ripple.metadata.json +0 -1
  1198. package/core/rtl/dir.d.ts +0 -17
  1199. package/core/rtl/dir.js +0 -83
  1200. package/core/rtl/dir.js.map +0 -1
  1201. package/core/rtl/dir.metadata.json +0 -1
  1202. package/core/style/_button-common.scss +0 -7
  1203. package/core/style/_elevation.scss +0 -174
  1204. package/core/style/_list-common.scss +0 -49
  1205. package/core/style/_sidenav-common.scss +0 -8
  1206. package/core/style/_variables.scss +0 -55
  1207. package/core/style/apply-transform.d.ts +0 -6
  1208. package/core/style/apply-transform.js +0 -14
  1209. package/core/style/apply-transform.js.map +0 -1
  1210. package/core/theming/_all-theme.scss +0 -46
  1211. package/core/theming/_palette.scss +0 -694
  1212. package/core/theming/_theming.scss +0 -84
  1213. package/core/theming/prebuilt/deeppurple-amber.css +0 -446
  1214. package/core/theming/prebuilt/deeppurple-amber.css.map +0 -1
  1215. package/core/theming/prebuilt/deeppurple-amber.scss +0 -14
  1216. package/core/theming/prebuilt/indigo-pink.css +0 -446
  1217. package/core/theming/prebuilt/indigo-pink.css.map +0 -1
  1218. package/core/theming/prebuilt/indigo-pink.scss +0 -14
  1219. package/core/theming/prebuilt/pink-bluegrey.css +0 -446
  1220. package/core/theming/prebuilt/pink-bluegrey.css.map +0 -1
  1221. package/core/theming/prebuilt/pink-bluegrey.scss +0 -14
  1222. package/core/theming/prebuilt/purple-green.css +0 -446
  1223. package/core/theming/prebuilt/purple-green.css.map +0 -1
  1224. package/core/theming/prebuilt/purple-green.scss +0 -14
  1225. package/core/typography/_typography.scss +0 -6
  1226. package/core.js +0 -3
  1227. package/core.js.map +0 -1
  1228. package/dialog/README.md +0 -0
  1229. package/dialog/_dialog-theme.scss +0 -11
  1230. package/dialog/dialog-config.d.ts +0 -11
  1231. package/dialog/dialog-config.js +0 -12
  1232. package/dialog/dialog-config.js.map +0 -1
  1233. package/dialog/dialog-container.css +0 -7
  1234. package/dialog/dialog-container.css.map +0 -1
  1235. package/dialog/dialog-container.d.ts +0 -29
  1236. package/dialog/dialog-container.html +0 -3
  1237. package/dialog/dialog-container.js +0 -88
  1238. package/dialog/dialog-container.js.map +0 -1
  1239. package/dialog/dialog-container.metadata.json +0 -1
  1240. package/dialog/dialog-container.scss +0 -12
  1241. package/dialog/dialog-errors.d.ts +0 -5
  1242. package/dialog/dialog-errors.js +0 -16
  1243. package/dialog/dialog-errors.js.map +0 -1
  1244. package/dialog/dialog-injector.d.ts +0 -9
  1245. package/dialog/dialog-injector.js +0 -17
  1246. package/dialog/dialog-injector.js.map +0 -1
  1247. package/dialog/dialog-ref.d.ts +0 -20
  1248. package/dialog/dialog-ref.js +0 -29
  1249. package/dialog/dialog-ref.js.map +0 -1
  1250. package/dialog/dialog.d.ts +0 -51
  1251. package/dialog/dialog.js +0 -128
  1252. package/dialog/dialog.js.map +0 -1
  1253. package/dialog/dialog.metadata.json +0 -1
  1254. package/dialog/index.js +0 -6
  1255. package/dialog/index.js.map +0 -1
  1256. package/grid-list/README.md +0 -118
  1257. package/grid-list/_grid-list-theme.scss +0 -6
  1258. package/grid-list/grid-list-errors.d.ts +0 -19
  1259. package/grid-list/grid-list-errors.js +0 -38
  1260. package/grid-list/grid-list-errors.js.map +0 -1
  1261. package/grid-list/grid-list-measure.d.ts +0 -10
  1262. package/grid-list/grid-list-measure.js +0 -16
  1263. package/grid-list/grid-list-measure.js.map +0 -1
  1264. package/grid-list/grid-list-measure.metadata.json +0 -1
  1265. package/grid-list/grid-list.css +0 -78
  1266. package/grid-list/grid-list.css.map +0 -1
  1267. package/grid-list/grid-list.d.ts +0 -49
  1268. package/grid-list/grid-list.html +0 -3
  1269. package/grid-list/grid-list.js +0 -165
  1270. package/grid-list/grid-list.js.map +0 -1
  1271. package/grid-list/grid-list.metadata.json +0 -1
  1272. package/grid-list/grid-list.scss +0 -91
  1273. package/grid-list/grid-tile-text.html +0 -3
  1274. package/grid-list/grid-tile.d.ts +0 -28
  1275. package/grid-list/grid-tile.html +0 -4
  1276. package/grid-list/grid-tile.js +0 -87
  1277. package/grid-list/grid-tile.js.map +0 -1
  1278. package/grid-list/grid-tile.metadata.json +0 -1
  1279. package/grid-list/index.js +0 -3
  1280. package/grid-list/index.js.map +0 -1
  1281. package/grid-list/tile-coordinator.d.ts +0 -51
  1282. package/grid-list/tile-coordinator.js +0 -124
  1283. package/grid-list/tile-coordinator.js.map +0 -1
  1284. package/grid-list/tile-styler.d.ts +0 -88
  1285. package/grid-list/tile-styler.js +0 -190
  1286. package/grid-list/tile-styler.js.map +0 -1
  1287. package/icon/README.md +0 -116
  1288. package/icon/_icon-theme.scss +0 -6
  1289. package/icon/fake-svgs.d.ts +0 -5
  1290. package/icon/fake-svgs.js +0 -29
  1291. package/icon/fake-svgs.js.map +0 -1
  1292. package/icon/icon-registry.d.ts +0 -148
  1293. package/icon/icon-registry.js +0 -375
  1294. package/icon/icon-registry.js.map +0 -1
  1295. package/icon/icon-registry.metadata.json +0 -1
  1296. package/icon/icon.css +0 -8
  1297. package/icon/icon.css.map +0 -1
  1298. package/icon/icon.d.ts +0 -85
  1299. package/icon/icon.js +0 -252
  1300. package/icon/icon.js.map +0 -1
  1301. package/icon/icon.metadata.json +0 -1
  1302. package/icon/icon.scss +0 -13
  1303. package/icon/index.js +0 -3
  1304. package/icon/index.js.map +0 -1
  1305. package/index.d.ts +0 -23
  1306. package/index.js +0 -25
  1307. package/index.js.map +0 -1
  1308. package/index.metadata.json +0 -1
  1309. package/input/README.md +0 -121
  1310. package/input/_input-theme.scss +0 -64
  1311. package/input/index.js +0 -3
  1312. package/input/index.js.map +0 -1
  1313. package/input/input.css +0 -109
  1314. package/input/input.css.map +0 -1
  1315. package/input/input.d.ts +0 -134
  1316. package/input/input.html +0 -65
  1317. package/input/input.js +0 -471
  1318. package/input/input.js.map +0 -1
  1319. package/input/input.metadata.json +0 -1
  1320. package/input/input.scss +0 -198
  1321. package/list/README.md +0 -167
  1322. package/list/_list-theme.scss +0 -28
  1323. package/list/index.js +0 -3
  1324. package/list/index.js.map +0 -1
  1325. package/list/list-item.html +0 -5
  1326. package/list/list.css +0 -139
  1327. package/list/list.css.map +0 -1
  1328. package/list/list.d.ts +0 -24
  1329. package/list/list.js +0 -113
  1330. package/list/list.js.map +0 -1
  1331. package/list/list.metadata.json +0 -1
  1332. package/list/list.scss +0 -168
  1333. package/material.umd.js +0 -9017
  1334. package/material.umd.js.map +0 -1
  1335. package/menu/README.md +0 -164
  1336. package/menu/_menu-theme.scss +0 -25
  1337. package/menu/index.js +0 -3
  1338. package/menu/index.js.map +0 -1
  1339. package/menu/menu-directive.d.ts +0 -54
  1340. package/menu/menu-directive.js +0 -158
  1341. package/menu/menu-directive.js.map +0 -1
  1342. package/menu/menu-directive.metadata.json +0 -1
  1343. package/menu/menu-errors.d.ts +0 -21
  1344. package/menu/menu-errors.js +0 -40
  1345. package/menu/menu-errors.js.map +0 -1
  1346. package/menu/menu-item.d.ts +0 -18
  1347. package/menu/menu-item.js +0 -74
  1348. package/menu/menu-item.js.map +0 -1
  1349. package/menu/menu-item.metadata.json +0 -1
  1350. package/menu/menu-positions.d.ts +0 -2
  1351. package/menu/menu-positions.js +0 -3
  1352. package/menu/menu-positions.js.map +0 -1
  1353. package/menu/menu-trigger.d.ts +0 -62
  1354. package/menu/menu-trigger.js +0 -169
  1355. package/menu/menu-trigger.js.map +0 -1
  1356. package/menu/menu-trigger.metadata.json +0 -1
  1357. package/menu/menu.css +0 -41
  1358. package/menu/menu.css.map +0 -1
  1359. package/menu/menu.d.ts +0 -7
  1360. package/menu/menu.html +0 -6
  1361. package/menu/menu.js +0 -39
  1362. package/menu/menu.js.map +0 -1
  1363. package/menu/menu.metadata.json +0 -1
  1364. package/menu/menu.scss +0 -59
  1365. package/module.d.ts +0 -6
  1366. package/module.js +0 -117
  1367. package/module.js.map +0 -1
  1368. package/module.metadata.json +0 -1
  1369. package/progress-bar/README.md +0 -54
  1370. package/progress-bar/_progress-bar-theme.scss +0 -78
  1371. package/progress-bar/index.js +0 -3
  1372. package/progress-bar/index.js.map +0 -1
  1373. package/progress-bar/progress-bar.css +0 -114
  1374. package/progress-bar/progress-bar.css.map +0 -1
  1375. package/progress-bar/progress-bar.d.ts +0 -34
  1376. package/progress-bar/progress-bar.html +0 -5
  1377. package/progress-bar/progress-bar.js +0 -122
  1378. package/progress-bar/progress-bar.js.map +0 -1
  1379. package/progress-bar/progress-bar.metadata.json +0 -1
  1380. package/progress-bar/progress-bar.scss +0 -229
  1381. package/progress-circle/README.md +0 -51
  1382. package/progress-circle/_progress-circle-theme.scss +0 -23
  1383. package/progress-circle/index.d.ts +0 -1
  1384. package/progress-circle/index.js +0 -3
  1385. package/progress-circle/index.js.map +0 -1
  1386. package/progress-circle/index.metadata.json +0 -1
  1387. package/progress-circle/progress-circle.css +0 -43
  1388. package/progress-circle/progress-circle.css.map +0 -1
  1389. package/progress-circle/progress-circle.d.ts +0 -76
  1390. package/progress-circle/progress-circle.html +0 -9
  1391. package/progress-circle/progress-circle.js +0 -315
  1392. package/progress-circle/progress-circle.js.map +0 -1
  1393. package/progress-circle/progress-circle.metadata.json +0 -1
  1394. package/progress-circle/progress-circle.scss +0 -67
  1395. package/radio/README.md +0 -79
  1396. package/radio/_radio-theme.scss +0 -36
  1397. package/radio/index.js +0 -3
  1398. package/radio/index.js.map +0 -1
  1399. package/radio/radio.css +0 -82
  1400. package/radio/radio.css.map +0 -1
  1401. package/radio/radio.d.ts +0 -127
  1402. package/radio/radio.html +0 -27
  1403. package/radio/radio.js +0 -445
  1404. package/radio/radio.js.map +0 -1
  1405. package/radio/radio.metadata.json +0 -1
  1406. package/radio/radio.scss +0 -92
  1407. package/select/index.js +0 -33
  1408. package/select/index.js.map +0 -1
  1409. package/select/select.css +0 -2
  1410. package/select/select.css.map +0 -1
  1411. package/select/select.d.ts +0 -2
  1412. package/select/select.html +0 -1
  1413. package/select/select.js +0 -25
  1414. package/select/select.js.map +0 -1
  1415. package/select/select.metadata.json +0 -1
  1416. package/select/select.scss +0 -0
  1417. package/sidenav/README.md +0 -83
  1418. package/sidenav/_sidenav-theme.scss +0 -37
  1419. package/sidenav/index.js +0 -3
  1420. package/sidenav/index.js.map +0 -1
  1421. package/sidenav/sidenav-transitions.css +0 -10
  1422. package/sidenav/sidenav-transitions.css.map +0 -1
  1423. package/sidenav/sidenav-transitions.scss +0 -14
  1424. package/sidenav/sidenav.css +0 -111
  1425. package/sidenav/sidenav.css.map +0 -1
  1426. package/sidenav/sidenav.d.ts +0 -141
  1427. package/sidenav/sidenav.html +0 -8
  1428. package/sidenav/sidenav.js +0 -479
  1429. package/sidenav/sidenav.js.map +0 -1
  1430. package/sidenav/sidenav.metadata.json +0 -1
  1431. package/sidenav/sidenav.scss +0 -133
  1432. package/slide-toggle/README.md +0 -66
  1433. package/slide-toggle/_slide-toggle-theme.scss +0 -77
  1434. package/slide-toggle/index.js +0 -3
  1435. package/slide-toggle/index.js.map +0 -1
  1436. package/slide-toggle/slide-toggle.css +0 -88
  1437. package/slide-toggle/slide-toggle.css.map +0 -1
  1438. package/slide-toggle/slide-toggle.d.ts +0 -74
  1439. package/slide-toggle/slide-toggle.html +0 -33
  1440. package/slide-toggle/slide-toggle.js +0 -317
  1441. package/slide-toggle/slide-toggle.js.map +0 -1
  1442. package/slide-toggle/slide-toggle.metadata.json +0 -1
  1443. package/slide-toggle/slide-toggle.scss +0 -140
  1444. package/slider/README.md +0 -97
  1445. package/slider/_slider-theme.scss +0 -33
  1446. package/slider/index.js +0 -3
  1447. package/slider/index.js.map +0 -1
  1448. package/slider/slider.css +0 -122
  1449. package/slider/slider.css.map +0 -1
  1450. package/slider/slider.d.ts +0 -155
  1451. package/slider/slider.html +0 -21
  1452. package/slider/slider.js +0 -433
  1453. package/slider/slider.js.map +0 -1
  1454. package/slider/slider.metadata.json +0 -1
  1455. package/slider/slider.scss +0 -186
  1456. package/slider/test-gesture-config.d.ts +0 -21
  1457. package/slider/test-gesture-config.js +0 -59
  1458. package/slider/test-gesture-config.js.map +0 -1
  1459. package/slider/test-gesture-config.metadata.json +0 -1
  1460. package/snack-bar/README.md +0 -38
  1461. package/snack-bar/index.js +0 -6
  1462. package/snack-bar/index.js.map +0 -1
  1463. package/snack-bar/simple-snack-bar.css +0 -27
  1464. package/snack-bar/simple-snack-bar.css.map +0 -1
  1465. package/snack-bar/simple-snack-bar.d.ts +0 -17
  1466. package/snack-bar/simple-snack-bar.html +0 -3
  1467. package/snack-bar/simple-snack-bar.js +0 -38
  1468. package/snack-bar/simple-snack-bar.js.map +0 -1
  1469. package/snack-bar/simple-snack-bar.metadata.json +0 -1
  1470. package/snack-bar/simple-snack-bar.scss +0 -28
  1471. package/snack-bar/snack-bar-config.d.ts +0 -11
  1472. package/snack-bar/snack-bar-config.js +0 -10
  1473. package/snack-bar/snack-bar-config.js.map +0 -1
  1474. package/snack-bar/snack-bar-container.css +0 -12
  1475. package/snack-bar/snack-bar-container.css.map +0 -1
  1476. package/snack-bar/snack-bar-container.d.ts +0 -15
  1477. package/snack-bar/snack-bar-container.html +0 -1
  1478. package/snack-bar/snack-bar-container.js +0 -53
  1479. package/snack-bar/snack-bar-container.js.map +0 -1
  1480. package/snack-bar/snack-bar-container.metadata.json +0 -1
  1481. package/snack-bar/snack-bar-container.scss +0 -19
  1482. package/snack-bar/snack-bar-errors.d.ts +0 -4
  1483. package/snack-bar/snack-bar-errors.js +0 -15
  1484. package/snack-bar/snack-bar-errors.js.map +0 -1
  1485. package/snack-bar/snack-bar-ref.d.ts +0 -17
  1486. package/snack-bar/snack-bar-ref.js +0 -28
  1487. package/snack-bar/snack-bar-ref.js.map +0 -1
  1488. package/snack-bar/snack-bar.d.ts +0 -41
  1489. package/snack-bar/snack-bar.js +0 -110
  1490. package/snack-bar/snack-bar.js.map +0 -1
  1491. package/snack-bar/snack-bar.metadata.json +0 -1
  1492. package/tabs/README.md +0 -47
  1493. package/tabs/_tabs-theme.scss +0 -23
  1494. package/tabs/index.js +0 -3
  1495. package/tabs/index.js.map +0 -1
  1496. package/tabs/ink-bar.d.ts +0 -24
  1497. package/tabs/ink-bar.js +0 -50
  1498. package/tabs/ink-bar.js.map +0 -1
  1499. package/tabs/ink-bar.metadata.json +0 -1
  1500. package/tabs/tab-content.d.ts +0 -6
  1501. package/tabs/tab-content.js +0 -32
  1502. package/tabs/tab-content.js.map +0 -1
  1503. package/tabs/tab-content.metadata.json +0 -1
  1504. package/tabs/tab-group.css +0 -55
  1505. package/tabs/tab-group.css.map +0 -1
  1506. package/tabs/tab-group.html +0 -27
  1507. package/tabs/tab-group.scss +0 -72
  1508. package/tabs/tab-label-wrapper.d.ts +0 -10
  1509. package/tabs/tab-label-wrapper.js +0 -31
  1510. package/tabs/tab-label-wrapper.js.map +0 -1
  1511. package/tabs/tab-label-wrapper.metadata.json +0 -1
  1512. package/tabs/tab-label.d.ts +0 -6
  1513. package/tabs/tab-label.js +0 -32
  1514. package/tabs/tab-label.js.map +0 -1
  1515. package/tabs/tab-label.metadata.json +0 -1
  1516. package/tabs/tabs.d.ts +0 -79
  1517. package/tabs/tabs.js +0 -290
  1518. package/tabs/tabs.js.map +0 -1
  1519. package/tabs/tabs.metadata.json +0 -1
  1520. package/toolbar/README.md +0 -68
  1521. package/toolbar/_toolbar-theme.scss +0 -33
  1522. package/toolbar/index.js +0 -3
  1523. package/toolbar/index.js.map +0 -1
  1524. package/toolbar/toolbar.css +0 -19
  1525. package/toolbar/toolbar.css.map +0 -1
  1526. package/toolbar/toolbar.d.ts +0 -17
  1527. package/toolbar/toolbar.html +0 -6
  1528. package/toolbar/toolbar.js +0 -83
  1529. package/toolbar/toolbar.js.map +0 -1
  1530. package/toolbar/toolbar.metadata.json +0 -1
  1531. package/toolbar/toolbar.scss +0 -36
  1532. package/tooltip/README.md +0 -32
  1533. package/tooltip/_tooltip-theme.scss +0 -9
  1534. package/tooltip/index.js +0 -3
  1535. package/tooltip/index.js.map +0 -1
  1536. package/tooltip/tooltip.css +0 -14
  1537. package/tooltip/tooltip.css.map +0 -1
  1538. package/tooltip/tooltip.d.ts +0 -67
  1539. package/tooltip/tooltip.html +0 -0
  1540. package/tooltip/tooltip.js +0 -210
  1541. package/tooltip/tooltip.js.map +0 -1
  1542. package/tooltip/tooltip.metadata.json +0 -1
  1543. package/tooltip/tooltip.scss +0 -21
  1544. package/tsconfig-spec.json +0 -33
  1545. package/tsconfig.json +0 -33
  1546. package/typings.d.ts +0 -1
@@ -0,0 +1,3627 @@
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
+ (function (global, factory) {
9
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@angular/common'), require('@angular/cdk/table'), require('@angular/material'), require('rxjs/add/operator/startWith'), require('rxjs/add/operator/map'), require('@angular/cdk/collections'), require('rxjs/BehaviorSubject'), require('rxjs/add/observable/merge'), require('@angular/platform-browser'), require('rxjs/Observable'), require('rxjs/add/observable/of'), require('rxjs/add/operator/debounceTime'), require('rxjs/add/operator/distinctUntilChanged'), require('rxjs/add/observable/fromEvent'), require('@angular/http'), require('rxjs/add/operator/catch'), require('rxjs/add/operator/switchMap')) :
10
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/forms', '@angular/common', '@angular/cdk/table', '@angular/material', 'rxjs/add/operator/startWith', 'rxjs/add/operator/map', '@angular/cdk/collections', 'rxjs/BehaviorSubject', 'rxjs/add/observable/merge', '@angular/platform-browser', 'rxjs/Observable', 'rxjs/add/observable/of', 'rxjs/add/operator/debounceTime', 'rxjs/add/operator/distinctUntilChanged', 'rxjs/add/observable/fromEvent', '@angular/http', 'rxjs/add/operator/catch', 'rxjs/add/operator/switchMap'], factory) :
11
+ (factory((global.ng = global.ng || {}, global.ng['material-examples'] = global.ng['material-examples'] || {}),global.ng.core,global.ng.forms,global.ng.common,global.ng.cdk.table,global.ng.material,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.ng.cdk.collections,global.Rx,global.Rx.Observable,global.ng.platformBrowser,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable,global.ng.http));
12
+ }(this, (function (exports,_angular_core,_angular_forms,_angular_common,_angular_cdk_table,_angular_material,rxjs_add_operator_startWith,rxjs_add_operator_map,_angular_cdk_collections,rxjs_BehaviorSubject,rxjs_add_observable_merge,_angular_platformBrowser,rxjs_Observable,rxjs_add_observable_of,rxjs_add_operator_debounceTime,rxjs_add_operator_distinctUntilChanged,rxjs_add_observable_fromEvent,_angular_http) { 'use strict';
13
+
14
+ /*! *****************************************************************************
15
+ Copyright (c) Microsoft Corporation. All rights reserved.
16
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
17
+ this file except in compliance with the License. You may obtain a copy of the
18
+ License at http://www.apache.org/licenses/LICENSE-2.0
19
+
20
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
22
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
23
+ MERCHANTABLITY OR NON-INFRINGEMENT.
24
+
25
+ See the Apache Version 2.0 License for specific language governing permissions
26
+ and limitations under the License.
27
+ ***************************************************************************** */
28
+ /* global Reflect, Promise */
29
+
30
+ var extendStatics = Object.setPrototypeOf ||
31
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
33
+
34
+ function __extends(d, b) {
35
+ extendStatics(d, b);
36
+ function __() { this.constructor = d; }
37
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
38
+ }
39
+
40
+ var ExampleMaterialModule = (function () {
41
+ function ExampleMaterialModule() {
42
+ }
43
+ return ExampleMaterialModule;
44
+ }());
45
+ ExampleMaterialModule.decorators = [
46
+ { type: _angular_core.NgModule, args: [{
47
+ exports: [
48
+ _angular_cdk_table.CdkTableModule,
49
+ _angular_material.MdAutocompleteModule,
50
+ _angular_material.MdButtonModule,
51
+ _angular_material.MdButtonToggleModule,
52
+ _angular_material.MdCardModule,
53
+ _angular_material.MdCheckboxModule,
54
+ _angular_material.MdChipsModule,
55
+ _angular_material.MdDatepickerModule,
56
+ _angular_material.MdDialogModule,
57
+ _angular_material.MdExpansionModule,
58
+ _angular_material.MdFormFieldModule,
59
+ _angular_material.MdGridListModule,
60
+ _angular_material.MdIconModule,
61
+ _angular_material.MdInputModule,
62
+ _angular_material.MdListModule,
63
+ _angular_material.MdMenuModule,
64
+ _angular_material.MdProgressBarModule,
65
+ _angular_material.MdProgressSpinnerModule,
66
+ _angular_material.MdRadioModule,
67
+ _angular_material.MdSelectModule,
68
+ _angular_material.MdSlideToggleModule,
69
+ _angular_material.MdSliderModule,
70
+ _angular_material.MdSidenavModule,
71
+ _angular_material.MdSnackBarModule,
72
+ _angular_material.MdStepperModule,
73
+ _angular_material.MdTabsModule,
74
+ _angular_material.MdToolbarModule,
75
+ _angular_material.MdTooltipModule,
76
+ _angular_material.MdPaginatorModule,
77
+ _angular_material.MdSortModule,
78
+ _angular_material.MdTableModule
79
+ ]
80
+ },] },
81
+ ];
82
+ /**
83
+ * @nocollapse
84
+ */
85
+ ExampleMaterialModule.ctorParameters = function () { return []; };
86
+ var User = (function () {
87
+ /**
88
+ * @param {?} name
89
+ */
90
+ function User(name) {
91
+ this.name = name;
92
+ }
93
+ return User;
94
+ }());
95
+ /**
96
+ * \@title Display value autocomplete
97
+ */
98
+ var AutocompleteDisplayExample = (function () {
99
+ function AutocompleteDisplayExample() {
100
+ this.myControl = new _angular_forms.FormControl();
101
+ this.options = [
102
+ new User('Mary'),
103
+ new User('Shelley'),
104
+ new User('Igor')
105
+ ];
106
+ }
107
+ /**
108
+ * @return {?}
109
+ */
110
+ AutocompleteDisplayExample.prototype.ngOnInit = function () {
111
+ var _this = this;
112
+ this.filteredOptions = this.myControl.valueChanges
113
+ .startWith(null)
114
+ .map(function (user) { return user && typeof user === 'object' ? user.name : user; })
115
+ .map(function (name) { return name ? _this.filter(name) : _this.options.slice(); });
116
+ };
117
+ /**
118
+ * @param {?} name
119
+ * @return {?}
120
+ */
121
+ AutocompleteDisplayExample.prototype.filter = function (name) {
122
+ return this.options.filter(function (option) { return option.name.toLowerCase().indexOf(name.toLowerCase()) === 0; });
123
+ };
124
+ /**
125
+ * @param {?} user
126
+ * @return {?}
127
+ */
128
+ AutocompleteDisplayExample.prototype.displayFn = function (user) {
129
+ return user ? user.name : user;
130
+ };
131
+ return AutocompleteDisplayExample;
132
+ }());
133
+ AutocompleteDisplayExample.decorators = [
134
+ { type: _angular_core.Component, args: [{
135
+ selector: 'autocomplete-display-example',
136
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><input type=\"text\" placeholder=\"Assignee\" aria-label=\"Assignee\" mdInput [formControl]=\"myControl\" [mdAutocomplete]=\"auto\"><md-autocomplete #auto=\"mdAutocomplete\" [displayWith]=\"displayFn\"><md-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option\">{{ option.name }}</md-option></md-autocomplete></md-form-field></form>",
137
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "]
138
+ },] },
139
+ ];
140
+ /**
141
+ * @nocollapse
142
+ */
143
+ AutocompleteDisplayExample.ctorParameters = function () { return []; };
144
+ /**
145
+ * \@title Filter autocomplete
146
+ */
147
+ var AutocompleteFilterExample = (function () {
148
+ function AutocompleteFilterExample() {
149
+ this.myControl = new _angular_forms.FormControl();
150
+ this.options = [
151
+ 'One',
152
+ 'Two',
153
+ 'Three'
154
+ ];
155
+ }
156
+ /**
157
+ * @return {?}
158
+ */
159
+ AutocompleteFilterExample.prototype.ngOnInit = function () {
160
+ var _this = this;
161
+ this.filteredOptions = this.myControl.valueChanges
162
+ .startWith(null)
163
+ .map(function (val) { return val ? _this.filter(val) : _this.options.slice(); });
164
+ };
165
+ /**
166
+ * @param {?} val
167
+ * @return {?}
168
+ */
169
+ AutocompleteFilterExample.prototype.filter = function (val) {
170
+ return this.options.filter(function (option) { return option.toLowerCase().indexOf(val.toLowerCase()) === 0; });
171
+ };
172
+ return AutocompleteFilterExample;
173
+ }());
174
+ AutocompleteFilterExample.decorators = [
175
+ { type: _angular_core.Component, args: [{
176
+ selector: 'autocomplete-filter-example',
177
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><input type=\"text\" placeholder=\"Pick one\" aria-label=\"Number\" mdInput [formControl]=\"myControl\" [mdAutocomplete]=\"auto\"><md-autocomplete #auto=\"mdAutocomplete\"><md-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option\">{{ option }}</md-option></md-autocomplete></md-form-field></form>",
178
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "]
179
+ },] },
180
+ ];
181
+ /**
182
+ * @nocollapse
183
+ */
184
+ AutocompleteFilterExample.ctorParameters = function () { return []; };
185
+ /**
186
+ * \@title Autocomplete overview
187
+ */
188
+ var AutocompleteOverviewExample = (function () {
189
+ function AutocompleteOverviewExample() {
190
+ var _this = this;
191
+ this.states = [
192
+ {
193
+ name: 'Arkansas',
194
+ population: '2.978M',
195
+ // https://commons.wikimedia.org/wiki/File:Flag_of_Arkansas.svg
196
+ flag: 'https://upload.wikimedia.org/wikipedia/commons/9/9d/Flag_of_Arkansas.svg'
197
+ },
198
+ {
199
+ name: 'California',
200
+ population: '39.14M',
201
+ // https://commons.wikimedia.org/wiki/File:Flag_of_California.svg
202
+ flag: 'https://upload.wikimedia.org/wikipedia/commons/0/01/Flag_of_California.svg'
203
+ },
204
+ {
205
+ name: 'Florida',
206
+ population: '20.27M',
207
+ // https://commons.wikimedia.org/wiki/File:Flag_of_Florida.svg
208
+ flag: 'https://upload.wikimedia.org/wikipedia/commons/f/f7/Flag_of_Florida.svg'
209
+ },
210
+ {
211
+ name: 'Texas',
212
+ population: '27.47M',
213
+ // https://commons.wikimedia.org/wiki/File:Flag_of_Texas.svg
214
+ flag: 'https://upload.wikimedia.org/wikipedia/commons/f/f7/Flag_of_Texas.svg'
215
+ }
216
+ ];
217
+ this.stateCtrl = new _angular_forms.FormControl();
218
+ this.filteredStates = this.stateCtrl.valueChanges
219
+ .startWith(null)
220
+ .map(function (state) { return state ? _this.filterStates(state) : _this.states.slice(); });
221
+ }
222
+ /**
223
+ * @param {?} name
224
+ * @return {?}
225
+ */
226
+ AutocompleteOverviewExample.prototype.filterStates = function (name) {
227
+ return this.states.filter(function (state) { return state.name.toLowerCase().indexOf(name.toLowerCase()) === 0; });
228
+ };
229
+ return AutocompleteOverviewExample;
230
+ }());
231
+ AutocompleteOverviewExample.decorators = [
232
+ { type: _angular_core.Component, args: [{
233
+ selector: 'autocomplete-overview-example',
234
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><input mdInput placeholder=\"State\" aria-label=\"State\" [mdAutocomplete]=\"auto\" [formControl]=\"stateCtrl\"><md-autocomplete #auto=\"mdAutocomplete\"><md-option *ngFor=\"let state of filteredStates | async\" [value]=\"state.name\"><img style=\"vertical-align:middle\" aria-hidden src=\"{{state.flag}}\" height=\"25\"> <span>{{ state.name }}</span> | <small>Population: {{state.population}}</small></md-option></md-autocomplete></md-form-field><br><md-slide-toggle [checked]=\"stateCtrl.disabled\" (change)=\"stateCtrl.disabled ? stateCtrl.enable() : stateCtrl.disable()\">Disable Input?</md-slide-toggle></form>",
235
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "]
236
+ },] },
237
+ ];
238
+ /**
239
+ * @nocollapse
240
+ */
241
+ AutocompleteOverviewExample.ctorParameters = function () { return []; };
242
+ /**
243
+ * \@title Simple autocomplete
244
+ */
245
+ var AutocompleteSimpleExample = (function () {
246
+ function AutocompleteSimpleExample() {
247
+ this.myControl = new _angular_forms.FormControl();
248
+ this.options = [
249
+ 'One',
250
+ 'Two',
251
+ 'Three'
252
+ ];
253
+ }
254
+ return AutocompleteSimpleExample;
255
+ }());
256
+ AutocompleteSimpleExample.decorators = [
257
+ { type: _angular_core.Component, args: [{
258
+ selector: 'autocomplete-simple-example',
259
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><input type=\"text\" placeholder=\"Pick one\" aria-label=\"Number\" mdInput [formControl]=\"myControl\" [mdAutocomplete]=\"auto\"><md-autocomplete #auto=\"mdAutocomplete\"><md-option *ngFor=\"let option of options\" [value]=\"option\">{{ option }}</md-option></md-autocomplete></md-form-field></form>",
260
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "]
261
+ },] },
262
+ ];
263
+ /**
264
+ * @nocollapse
265
+ */
266
+ AutocompleteSimpleExample.ctorParameters = function () { return []; };
267
+ /**
268
+ * \@title Basic buttons
269
+ */
270
+ var ButtonOverviewExample = (function () {
271
+ function ButtonOverviewExample() {
272
+ }
273
+ return ButtonOverviewExample;
274
+ }());
275
+ ButtonOverviewExample.decorators = [
276
+ { type: _angular_core.Component, args: [{
277
+ selector: 'button-overview-example',
278
+ template: "<button md-button>Click me!</button>",
279
+ },] },
280
+ ];
281
+ /**
282
+ * @nocollapse
283
+ */
284
+ ButtonOverviewExample.ctorParameters = function () { return []; };
285
+ /**
286
+ * \@title Exclusive selection
287
+ */
288
+ var ButtonToggleExclusiveExample = (function () {
289
+ function ButtonToggleExclusiveExample() {
290
+ }
291
+ return ButtonToggleExclusiveExample;
292
+ }());
293
+ ButtonToggleExclusiveExample.decorators = [
294
+ { type: _angular_core.Component, args: [{
295
+ selector: 'button-toggle-exclusive-example',
296
+ template: "<md-button-toggle-group #group=\"mdButtonToggleGroup\"><md-button-toggle value=\"left\"><md-icon>format_align_left</md-icon></md-button-toggle><md-button-toggle value=\"center\"><md-icon>format_align_center</md-icon></md-button-toggle><md-button-toggle value=\"right\"><md-icon>format_align_right</md-icon></md-button-toggle><md-button-toggle value=\"justify\" disabled=\"disabled\"><md-icon>format_align_justify</md-icon></md-button-toggle></md-button-toggle-group><div class=\"example-selected-value\">Selected value: {{group.value}}</div>",
297
+ styles: [".example-selected-value { margin: 15px 0; } "],
298
+ },] },
299
+ ];
300
+ /**
301
+ * @nocollapse
302
+ */
303
+ ButtonToggleExclusiveExample.ctorParameters = function () { return []; };
304
+ /**
305
+ * \@title Basic button-toggles
306
+ */
307
+ var ButtonToggleOverviewExample = (function () {
308
+ function ButtonToggleOverviewExample() {
309
+ }
310
+ return ButtonToggleOverviewExample;
311
+ }());
312
+ ButtonToggleOverviewExample.decorators = [
313
+ { type: _angular_core.Component, args: [{
314
+ selector: 'button-toggle-overview-example',
315
+ template: "<md-button-toggle>Toggle me!</md-button-toggle>",
316
+ },] },
317
+ ];
318
+ /**
319
+ * @nocollapse
320
+ */
321
+ ButtonToggleOverviewExample.ctorParameters = function () { return []; };
322
+ /**
323
+ * \@title Button varieties
324
+ */
325
+ var ButtonTypesExample = (function () {
326
+ function ButtonTypesExample() {
327
+ }
328
+ return ButtonTypesExample;
329
+ }());
330
+ ButtonTypesExample.decorators = [
331
+ { type: _angular_core.Component, args: [{
332
+ selector: 'button-types-example',
333
+ template: "<h3>Basic Buttons</h3><div class=\"button-row\"><button md-button>Basic</button> <button md-button color=\"primary\">Primary</button> <button md-button color=\"accent\">Accent</button> <button md-button color=\"warn\">Warn</button> <button md-button disabled=\"disabled\">Disabled</button> <a md-button routerLink=\".\">Link</a></div><h3>Raised Buttons</h3><div class=\"button-row\"><button md-raised-button>Basic</button> <button md-raised-button color=\"primary\">Primary</button> <button md-raised-button color=\"accent\">Accent</button> <button md-raised-button color=\"warn\">Warn</button> <button md-raised-button disabled=\"disabled\">Disabled</button> <a md-raised-button routerLink=\".\">Link</a></div><h3>Icon Buttons</h3><div class=\"button-row\"><button md-icon-button><md-icon class=\"md-24\" aria-label=\"Example icon-button with a heart icon\">favorite</md-icon></button> <button md-icon-button color=\"primary\"><md-icon class=\"md-24\" aria-label=\"Example icon-button with a heart icon\">favorite</md-icon></button> <button md-icon-button color=\"accent\"><md-icon class=\"md-24\" aria-label=\"Example icon-button with a heart icon\">favorite</md-icon></button> <button md-icon-button color=\"warn\"><md-icon class=\"md-24\" aria-label=\"Example icon-button with a heart icon\">favorite</md-icon></button> <button md-icon-button disabled=\"disabled\"><md-icon class=\"md-24\" aria-label=\"Example icon-button with a heart icon\">favorite</md-icon></button></div><h3>Fab Buttons</h3><div class=\"button-row\"><button md-fab>Basic</button> <button md-fab color=\"primary\">Primary</button> <button md-fab color=\"accent\">Accent</button> <button md-fab color=\"warn\">Warn</button> <button md-fab disabled=\"disabled\">Disabled</button> <button md-fab><md-icon class=\"md-24\" aria-label=\"Example icon-button with a heart icon\">favorite</md-icon></button> <a md-fab routerLink=\".\">Link</a></div><h3>Mini Fab Buttons</h3><div class=\"button-row\"><button md-mini-fab>Basic</button> <button md-mini-fab color=\"primary\">Primary</button> <button md-mini-fab color=\"accent\">Accent</button> <button md-mini-fab color=\"warn\">Warn</button> <button md-mini-fab disabled=\"disabled\">Disabled</button> <button md-mini-fab><md-icon class=\"md-24\" aria-label=\"Example icon-button with a heart icon\">favorite</md-icon></button> <a md-mini-fab routerLink=\".\">Link</a></div>",
334
+ styles: [".example-button-row { display: flex; align-items: center; justify-content: space-around; } "],
335
+ },] },
336
+ ];
337
+ /**
338
+ * @nocollapse
339
+ */
340
+ ButtonTypesExample.ctorParameters = function () { return []; };
341
+ /**
342
+ * \@title Card with multiple sections
343
+ */
344
+ var CardFancyExample = (function () {
345
+ function CardFancyExample() {
346
+ }
347
+ return CardFancyExample;
348
+ }());
349
+ CardFancyExample.decorators = [
350
+ { type: _angular_core.Component, args: [{
351
+ selector: 'card-fancy-example',
352
+ template: "<md-card class=\"example-card\"><md-card-header><div md-card-avatar class=\"example-header-image\"></div><md-card-title>Shiba Inu</md-card-title><md-card-subtitle>Dog Breed</md-card-subtitle></md-card-header><img md-card-image src=\"assets/img/examples/shiba2.jpg\" alt=\"Photo of a Shiba Inu\"><md-card-content><p>The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan. A small, agile dog that copes very well with mountainous terrain, the Shiba Inu was originally bred for hunting.</p></md-card-content><md-card-actions><button md-button>LIKE</button> <button md-button>SHARE</button></md-card-actions></md-card>",
353
+ styles: [".example-card { width: 400px; } .example-header-image { background-image: url('../../../assets/img/examples/shiba1.jpg'); background-size: cover; } "],
354
+ },] },
355
+ ];
356
+ /**
357
+ * @nocollapse
358
+ */
359
+ CardFancyExample.ctorParameters = function () { return []; };
360
+ /**
361
+ * \@title Basic cards
362
+ */
363
+ var CardOverviewExample = (function () {
364
+ function CardOverviewExample() {
365
+ }
366
+ return CardOverviewExample;
367
+ }());
368
+ CardOverviewExample.decorators = [
369
+ { type: _angular_core.Component, args: [{
370
+ selector: 'card-overview-example',
371
+ template: "<md-card>Simple card</md-card>",
372
+ },] },
373
+ ];
374
+ /**
375
+ * @nocollapse
376
+ */
377
+ CardOverviewExample.ctorParameters = function () { return []; };
378
+ /**
379
+ * \@title Basic CDK data-table
380
+ */
381
+ var CdkTableBasicExample = (function () {
382
+ function CdkTableBasicExample() {
383
+ this.displayedColumns = ['userId', 'userName', 'progress', 'color'];
384
+ this.exampleDatabase = new ExampleDatabase();
385
+ }
386
+ /**
387
+ * @return {?}
388
+ */
389
+ CdkTableBasicExample.prototype.ngOnInit = function () {
390
+ this.dataSource = new ExampleDataSource(this.exampleDatabase);
391
+ };
392
+ return CdkTableBasicExample;
393
+ }());
394
+ CdkTableBasicExample.decorators = [
395
+ { type: _angular_core.Component, args: [{
396
+ selector: 'cdk-table-basic-example',
397
+ styles: ["/* Structure */ .example-container { display: flex; flex-direction: column; min-width: 300px; } /* * Styles to make the demo's cdk-table match the material design spec * https://material.io/guidelines/components/data-tables.html */ .example-table { flex: 1 1 auto; overflow: auto; max-height: 500px; } .example-header-row, .example-row { display: flex; border-bottom: 1px solid #ccc; align-items: center; height: 32px; padding: 0 8px; } .example-cell, .example-header-cell { flex: 1; } .example-header-cell { font-size: 12px; font-weight: bold; color: rgba(0, 0, 0, 0.54); } .example-cell { font-size: 13px; color: rgba(0, 0, 0, 0.87); } "],
398
+ template: "<div class=\"example-container mat-elevation-z8\"><cdk-table #table [dataSource]=\"dataSource\" class=\"example-table\"><ng-container cdkColumnDef=\"userId\"><cdk-header-cell *cdkHeaderCellDef class=\"example-header-cell\">ID</cdk-header-cell><cdk-cell *cdkCellDef=\"let row\" class=\"example-cell\">{{row.id}}</cdk-cell></ng-container><ng-container cdkColumnDef=\"progress\"><cdk-header-cell *cdkHeaderCellDef class=\"example-header-cell\">Progress</cdk-header-cell><cdk-cell *cdkCellDef=\"let row\" class=\"example-cell\">{{row.progress}}%</cdk-cell></ng-container><ng-container cdkColumnDef=\"userName\"><cdk-header-cell *cdkHeaderCellDef class=\"example-header-cell\">Name</cdk-header-cell><cdk-cell *cdkCellDef=\"let row\" class=\"example-cell\">{{row.name}}</cdk-cell></ng-container><ng-container cdkColumnDef=\"color\"><cdk-header-cell *cdkHeaderCellDef class=\"example-header-cell\">Color</cdk-header-cell><cdk-cell *cdkCellDef=\"let row\" class=\"example-cell\" [style.color]=\"row.color\">{{row.color}}</cdk-cell></ng-container><cdk-header-row *cdkHeaderRowDef=\"displayedColumns\" class=\"example-header-row\"></cdk-header-row><cdk-row *cdkRowDef=\"let row; columns: displayedColumns;\" class=\"example-row\"></cdk-row></cdk-table></div>",
399
+ },] },
400
+ ];
401
+ /**
402
+ * @nocollapse
403
+ */
404
+ CdkTableBasicExample.ctorParameters = function () { return []; };
405
+ /**
406
+ * Constants used to fill up our data base.
407
+ */
408
+ var COLORS = ['maroon', 'red', 'orange', 'yellow', 'olive', 'green', 'purple',
409
+ 'fuchsia', 'lime', 'teal', 'aqua', 'blue', 'navy', 'black', 'gray'];
410
+ var NAMES = ['Maia', 'Asher', 'Olivia', 'Atticus', 'Amelia', 'Jack',
411
+ 'Charlotte', 'Theodore', 'Isla', 'Oliver', 'Isabella', 'Jasper',
412
+ 'Cora', 'Levi', 'Violet', 'Arthur', 'Mia', 'Thomas', 'Elizabeth'];
413
+ /**
414
+ * An example database that the data source uses to retrieve data for the table.
415
+ */
416
+ var ExampleDatabase = (function () {
417
+ function ExampleDatabase() {
418
+ /**
419
+ * Stream that emits whenever the data has been modified.
420
+ */
421
+ this.dataChange = new rxjs_BehaviorSubject.BehaviorSubject([]);
422
+ // Fill up the database with 100 users.
423
+ for (var i = 0; i < 100; i++) {
424
+ this.addUser();
425
+ }
426
+ }
427
+ Object.defineProperty(ExampleDatabase.prototype, "data", {
428
+ /**
429
+ * @return {?}
430
+ */
431
+ get: function () { return this.dataChange.value; },
432
+ enumerable: true,
433
+ configurable: true
434
+ });
435
+ /**
436
+ * Adds a new user to the database.
437
+ * @return {?}
438
+ */
439
+ ExampleDatabase.prototype.addUser = function () {
440
+ var /** @type {?} */ copiedData = this.data.slice();
441
+ copiedData.push(this.createNewUser());
442
+ this.dataChange.next(copiedData);
443
+ };
444
+ /**
445
+ * Builds and returns a new User.
446
+ * @return {?}
447
+ */
448
+ ExampleDatabase.prototype.createNewUser = function () {
449
+ var /** @type {?} */ name = NAMES[Math.round(Math.random() * (NAMES.length - 1))] + ' ' +
450
+ NAMES[Math.round(Math.random() * (NAMES.length - 1))].charAt(0) + '.';
451
+ return {
452
+ id: (this.data.length + 1).toString(),
453
+ name: name,
454
+ progress: Math.round(Math.random() * 100).toString(),
455
+ color: COLORS[Math.round(Math.random() * (COLORS.length - 1))]
456
+ };
457
+ };
458
+ return ExampleDatabase;
459
+ }());
460
+ /**
461
+ * Data source to provide what data should be rendered in the table. Note that the data source
462
+ * can retrieve its data in any way. In this case, the data source is provided a reference
463
+ * to a common data base, ExampleDatabase. It is not the data source's responsibility to manage
464
+ * the underlying data. Instead, it only needs to take the data and send the table exactly what
465
+ * should be rendered.
466
+ */
467
+ var ExampleDataSource = (function (_super) {
468
+ __extends(ExampleDataSource, _super);
469
+ /**
470
+ * @param {?} _exampleDatabase
471
+ */
472
+ function ExampleDataSource(_exampleDatabase) {
473
+ var _this = _super.call(this) || this;
474
+ _this._exampleDatabase = _exampleDatabase;
475
+ return _this;
476
+ }
477
+ /**
478
+ * Connect function called by the table to retrieve one stream containing the data to render.
479
+ * @return {?}
480
+ */
481
+ ExampleDataSource.prototype.connect = function () {
482
+ return this._exampleDatabase.dataChange;
483
+ };
484
+ /**
485
+ * @return {?}
486
+ */
487
+ ExampleDataSource.prototype.disconnect = function () { };
488
+ return ExampleDataSource;
489
+ }(_angular_cdk_collections.DataSource));
490
+ /**
491
+ * \@title Configurable checkbox
492
+ */
493
+ var CheckboxConfigurableExample = (function () {
494
+ function CheckboxConfigurableExample() {
495
+ this.checked = false;
496
+ this.indeterminate = false;
497
+ this.align = 'start';
498
+ this.disabled = false;
499
+ }
500
+ return CheckboxConfigurableExample;
501
+ }());
502
+ CheckboxConfigurableExample.decorators = [
503
+ { type: _angular_core.Component, args: [{
504
+ selector: 'checkbox-configurable-example',
505
+ template: "<md-card><md-card-content><h2 class=\"example-h2\">Checkbox configuration</h2><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"checked\">Checked</md-checkbox><md-checkbox class=\"example-margin\" [(ngModel)]=\"indeterminate\">Indeterminate</md-checkbox></section><section class=\"example-section\"><label class=\"example-margin\">Align:</label><md-radio-group [(ngModel)]=\"align\"><md-radio-button class=\"example-margin\" value=\"start\">Start</md-radio-button><md-radio-button class=\"example-margin\" value=\"end\">End</md-radio-button></md-radio-group></section><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"disabled\">Disabled</md-checkbox></section></md-card-content></md-card><md-card class=\"result\"><md-card-content><h2 class=\"example-h2\">Result</h2><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"checked\" [(indeterminate)]=\"indeterminate\" [align]=\"align\" [disabled]=\"disabled\">I'm a checkbox</md-checkbox></section></md-card-content></md-card>",
506
+ styles: [".example-h2 { margin: 10px; } .example-section { display: flex; align-content: center; align-items: center; height: 60px; } .example-margin { margin: 0 10px; } "],
507
+ },] },
508
+ ];
509
+ /**
510
+ * @nocollapse
511
+ */
512
+ CheckboxConfigurableExample.ctorParameters = function () { return []; };
513
+ /**
514
+ * \@title Basic checkboxes
515
+ */
516
+ var CheckboxOverviewExample = (function () {
517
+ function CheckboxOverviewExample() {
518
+ }
519
+ return CheckboxOverviewExample;
520
+ }());
521
+ CheckboxOverviewExample.decorators = [
522
+ { type: _angular_core.Component, args: [{
523
+ selector: 'checkbox-overview-example',
524
+ template: "<md-checkbox>Check me!</md-checkbox>",
525
+ },] },
526
+ ];
527
+ /**
528
+ * @nocollapse
529
+ */
530
+ CheckboxOverviewExample.ctorParameters = function () { return []; };
531
+ var COMMA = 188;
532
+ /**
533
+ * \@title Chips with input
534
+ */
535
+ var ChipsInputExample = (function () {
536
+ function ChipsInputExample() {
537
+ this.visible = true;
538
+ this.selectable = true;
539
+ this.removable = true;
540
+ this.addOnBlur = true;
541
+ // Enter, comma
542
+ this.separatorKeysCodes = [_angular_material.ENTER, COMMA];
543
+ this.fruits = [
544
+ { name: 'Lemon' },
545
+ { name: 'Lime' },
546
+ { name: 'Apple' },
547
+ ];
548
+ }
549
+ /**
550
+ * @param {?} event
551
+ * @return {?}
552
+ */
553
+ ChipsInputExample.prototype.add = function (event) {
554
+ var /** @type {?} */ input = event.input;
555
+ var /** @type {?} */ value = event.value;
556
+ // Add our person
557
+ if ((value || '').trim()) {
558
+ this.fruits.push({ name: value.trim() });
559
+ }
560
+ // Reset the input value
561
+ if (input) {
562
+ input.value = '';
563
+ }
564
+ };
565
+ /**
566
+ * @param {?} fruit
567
+ * @return {?}
568
+ */
569
+ ChipsInputExample.prototype.remove = function (fruit) {
570
+ var /** @type {?} */ index = this.fruits.indexOf(fruit);
571
+ if (index >= 0) {
572
+ this.fruits.splice(index, 1);
573
+ }
574
+ };
575
+ return ChipsInputExample;
576
+ }());
577
+ ChipsInputExample.decorators = [
578
+ { type: _angular_core.Component, args: [{
579
+ selector: 'chips-input-example',
580
+ template: "<md-form-field class=\"demo-chip-list\"><md-chip-list mdPrefix #chipList><md-chip *ngFor=\"let fruit of fruits\" [selectable]=\"selectable\" [removable]=\"removable\" (remove)=\"remove(fruit)\">{{fruit.name}}<md-icon mdChipRemove *ngIf=\"removable\">cancel</md-icon></md-chip></md-chip-list><input mdInput placeholder=\"New fruit...\" [mdChipInputFor]=\"chipList\" [mdChipInputSeparatorKeyCodes]=\"separatorKeysCodes\" [mdChipInputAddOnBlur]=\"addOnBlur\" (mdChipInputTokenEnd)=\"add($event)\"></md-form-field>",
581
+ styles: [".demo-chip-list{width:100%}"]
582
+ },] },
583
+ ];
584
+ /**
585
+ * @nocollapse
586
+ */
587
+ ChipsInputExample.ctorParameters = function () { return []; };
588
+ /**
589
+ * \@title Basic chips
590
+ */
591
+ var ChipsOverviewExample = (function () {
592
+ function ChipsOverviewExample() {
593
+ }
594
+ return ChipsOverviewExample;
595
+ }());
596
+ ChipsOverviewExample.decorators = [
597
+ { type: _angular_core.Component, args: [{
598
+ selector: 'chips-overview-example',
599
+ template: "<md-chip-list><md-chip>One fish</md-chip><md-chip>Two fish</md-chip><md-chip color=\"primary\" selected=\"true\">Primary fish</md-chip><md-chip color=\"accent\" selected=\"true\">Accent fish</md-chip></md-chip-list>",
600
+ styles: ["/** No CSS for this example */ "],
601
+ },] },
602
+ ];
603
+ /**
604
+ * @nocollapse
605
+ */
606
+ ChipsOverviewExample.ctorParameters = function () { return []; };
607
+ /**
608
+ * \@title Stacked chips
609
+ */
610
+ var ChipsStackedExample = (function () {
611
+ function ChipsStackedExample() {
612
+ this.availableColors = [
613
+ { name: 'none', color: '' },
614
+ { name: 'Primary', color: 'primary' },
615
+ { name: 'Accent', color: 'accent' },
616
+ { name: 'Warn', color: 'warn' }
617
+ ];
618
+ }
619
+ return ChipsStackedExample;
620
+ }());
621
+ ChipsStackedExample.decorators = [
622
+ { type: _angular_core.Component, args: [{
623
+ selector: 'chips-stacked-example',
624
+ template: "<md-chip-list class=\"mat-chip-list-stacked\"><md-chip *ngFor=\"let chipColor of availableColors\" selected=\"true\" color=\"{{chipColor.color}}\">{{chipColor.name}}</md-chip></md-chip-list>",
625
+ styles: ["md-chip { max-width: 200px; } "],
626
+ },] },
627
+ ];
628
+ /**
629
+ * @nocollapse
630
+ */
631
+ ChipsStackedExample.ctorParameters = function () { return []; };
632
+ /**
633
+ * \@title Datepicker API
634
+ */
635
+ var DatepickerApiExample = (function () {
636
+ function DatepickerApiExample() {
637
+ }
638
+ return DatepickerApiExample;
639
+ }());
640
+ DatepickerApiExample.decorators = [
641
+ { type: _angular_core.Component, args: [{
642
+ selector: 'datepicker-api-example',
643
+ template: "<md-form-field class=\"example-full-width\"><input mdInput [mdDatepicker]=\"picker\" placeholder=\"Choose a date\"><md-datepicker #picker></md-datepicker></md-form-field><button md-raised-button (click)=\"picker.open()\">Open</button>",
644
+ styles: ["/** No CSS for this example */ "],
645
+ },] },
646
+ ];
647
+ /**
648
+ * @nocollapse
649
+ */
650
+ DatepickerApiExample.ctorParameters = function () { return []; };
651
+ /**
652
+ * \@title Datepicker Filter
653
+ */
654
+ var DatepickerFilterExample = (function () {
655
+ function DatepickerFilterExample() {
656
+ this.myFilter = function (d) {
657
+ var /** @type {?} */ day = d.getDay();
658
+ // Prevent Saturday and Sunday from being selected.
659
+ return day !== 0 && day !== 6;
660
+ };
661
+ }
662
+ return DatepickerFilterExample;
663
+ }());
664
+ DatepickerFilterExample.decorators = [
665
+ { type: _angular_core.Component, args: [{
666
+ selector: 'datepicker-filter-example',
667
+ template: "<md-form-field class=\"example-full-width\"><input mdInput [mdDatepickerFilter]=\"myFilter\" [mdDatepicker]=\"picker\" placeholder=\"Choose a date\"><md-datepicker-toggle mdSuffix [for]=\"picker\"></md-datepicker-toggle><md-datepicker #picker></md-datepicker></md-form-field>",
668
+ styles: ["/** No CSS for this example */ "],
669
+ },] },
670
+ ];
671
+ /**
672
+ * @nocollapse
673
+ */
674
+ DatepickerFilterExample.ctorParameters = function () { return []; };
675
+ /**
676
+ * \@title Datepicker Min Max
677
+ */
678
+ var DatepickerMinMaxExample = (function () {
679
+ function DatepickerMinMaxExample() {
680
+ this.minDate = new Date(2000, 0, 1);
681
+ this.maxDate = new Date(2020, 0, 1);
682
+ }
683
+ return DatepickerMinMaxExample;
684
+ }());
685
+ DatepickerMinMaxExample.decorators = [
686
+ { type: _angular_core.Component, args: [{
687
+ selector: 'datepicker-min-max-example',
688
+ template: "<md-form-field class=\"example-full-width\"><input mdInput [min]=\"minDate\" [max]=\"maxDate\" [mdDatepicker]=\"picker\" placeholder=\"Choose a date\"><md-datepicker-toggle mdSuffix [for]=\"picker\"></md-datepicker-toggle><md-datepicker #picker></md-datepicker></md-form-field>",
689
+ styles: ["/** No CSS for this example */ "],
690
+ },] },
691
+ ];
692
+ /**
693
+ * @nocollapse
694
+ */
695
+ DatepickerMinMaxExample.ctorParameters = function () { return []; };
696
+ /**
697
+ * \@title Basic datepicker
698
+ */
699
+ var DatepickerOverviewExample = (function () {
700
+ function DatepickerOverviewExample() {
701
+ }
702
+ return DatepickerOverviewExample;
703
+ }());
704
+ DatepickerOverviewExample.decorators = [
705
+ { type: _angular_core.Component, args: [{
706
+ selector: 'datepicker-overview-example',
707
+ template: "<md-form-field><input mdInput [mdDatepicker]=\"picker\" placeholder=\"Choose a date\"><md-datepicker-toggle mdSuffix [for]=\"picker\"></md-datepicker-toggle><md-datepicker #picker></md-datepicker></md-form-field>",
708
+ styles: ["/** No CSS for this example */ "],
709
+ },] },
710
+ ];
711
+ /**
712
+ * @nocollapse
713
+ */
714
+ DatepickerOverviewExample.ctorParameters = function () { return []; };
715
+ /**
716
+ * \@title Datepicker start date
717
+ */
718
+ var DatepickerStartViewExample = (function () {
719
+ function DatepickerStartViewExample() {
720
+ this.startDate = new Date(1990, 0, 1);
721
+ }
722
+ return DatepickerStartViewExample;
723
+ }());
724
+ DatepickerStartViewExample.decorators = [
725
+ { type: _angular_core.Component, args: [{
726
+ selector: 'datepicker-start-view-example',
727
+ template: "<md-form-field><input mdInput [mdDatepicker]=\"picker\" placeholder=\"Choose a date\"><md-datepicker-toggle mdSuffix [for]=\"picker\"></md-datepicker-toggle><md-datepicker #picker startView=\"year\" [startAt]=\"startDate\"></md-datepicker></md-form-field>",
728
+ styles: ["/** No CSS for this example */ "],
729
+ },] },
730
+ ];
731
+ /**
732
+ * @nocollapse
733
+ */
734
+ DatepickerStartViewExample.ctorParameters = function () { return []; };
735
+ /**
736
+ * \@title Datepicker Touch
737
+ */
738
+ var DatepickerTouchExample = (function () {
739
+ function DatepickerTouchExample() {
740
+ }
741
+ return DatepickerTouchExample;
742
+ }());
743
+ DatepickerTouchExample.decorators = [
744
+ { type: _angular_core.Component, args: [{
745
+ selector: 'datepicker-touch-example',
746
+ template: "<md-form-field class=\"example-full-width\"><input mdInput [mdDatepicker]=\"picker\" placeholder=\"Choose a date\"><md-datepicker-toggle mdSuffix [for]=\"picker\"></md-datepicker-toggle><md-datepicker touchUi=\"true\" #picker></md-datepicker></md-form-field>",
747
+ styles: ["/** No CSS for this example */ "],
748
+ },] },
749
+ ];
750
+ /**
751
+ * @nocollapse
752
+ */
753
+ DatepickerTouchExample.ctorParameters = function () { return []; };
754
+ /**
755
+ * \@title Dialog with header, scrollable content and actions
756
+ */
757
+ var DialogContentExample = (function () {
758
+ /**
759
+ * @param {?} dialog
760
+ */
761
+ function DialogContentExample(dialog) {
762
+ this.dialog = dialog;
763
+ }
764
+ /**
765
+ * @return {?}
766
+ */
767
+ DialogContentExample.prototype.openDialog = function () {
768
+ var /** @type {?} */ dialogRef = this.dialog.open(DialogContentExampleDialog, {
769
+ height: '350px'
770
+ });
771
+ dialogRef.afterClosed().subscribe(function (result) {
772
+ console.log("Dialog result: " + result);
773
+ });
774
+ };
775
+ return DialogContentExample;
776
+ }());
777
+ DialogContentExample.decorators = [
778
+ { type: _angular_core.Component, args: [{
779
+ selector: 'dialog-content-example',
780
+ template: "<button md-button (click)=\"openDialog()\">Open dialog</button>",
781
+ },] },
782
+ ];
783
+ /**
784
+ * @nocollapse
785
+ */
786
+ DialogContentExample.ctorParameters = function () { return [
787
+ { type: _angular_material.MdDialog, },
788
+ ]; };
789
+ var DialogContentExampleDialog = (function () {
790
+ function DialogContentExampleDialog() {
791
+ }
792
+ return DialogContentExampleDialog;
793
+ }());
794
+ DialogContentExampleDialog.decorators = [
795
+ { type: _angular_core.Component, args: [{
796
+ selector: 'dialog-content-example-dialog',
797
+ template: "<h2 md-dialog-title>Install Angular</h2><md-dialog-content><h3>DEVELOP ACROSS ALL PLATFORMS</h3><p>Learn one way to build applications with Angular and reuse your code and abilities to build apps for any deployment target. For web, mobile web, native mobile and native desktop.</p><h3>SPEED & PERFORMANCE</h3><p>Achieve the maximum speed possible on the Web Platform today, and take it further, via Web Workers and server-side rendering. Angular puts you in control over scalability. Meet huge data requirements by building data models on RxJS, Immutable.js or another push-model.</p><h3>INCREDIBLE TOOLING</h3><p>Build features quickly with simple, declarative templates. Extend the template language with your own components and use a wide array of existing components. Get immediate Angular-specific help and feedback with nearly every IDE and editor. All this comes together so you can focus on building amazing apps rather than trying to make the code work.</p><h3>LOVED BY MILLIONS</h3><p>From prototype through global deployment, Angular delivers the productivity and scalable infrastructure that supports Google's largest applications.</p></md-dialog-content><md-dialog-actions><button md-button [md-dialog-close]=\"true\" tabindex=\"1\">Install</button> <button md-button md-dialog-close tabindex=\"-1\">Cancel</button></md-dialog-actions>",
798
+ },] },
799
+ ];
800
+ /**
801
+ * @nocollapse
802
+ */
803
+ DialogContentExampleDialog.ctorParameters = function () { return []; };
804
+ /**
805
+ * \@title Injecting data when opening a dialog
806
+ */
807
+ var DialogDataExample = (function () {
808
+ /**
809
+ * @param {?} dialog
810
+ */
811
+ function DialogDataExample(dialog) {
812
+ this.dialog = dialog;
813
+ }
814
+ /**
815
+ * @return {?}
816
+ */
817
+ DialogDataExample.prototype.openDialog = function () {
818
+ this.dialog.open(DialogDataExampleDialog, {
819
+ data: {
820
+ animal: 'panda'
821
+ }
822
+ });
823
+ };
824
+ return DialogDataExample;
825
+ }());
826
+ DialogDataExample.decorators = [
827
+ { type: _angular_core.Component, args: [{
828
+ selector: 'dialog-data-example',
829
+ template: "<button md-button (click)=\"openDialog()\">Open dialog</button>",
830
+ },] },
831
+ ];
832
+ /**
833
+ * @nocollapse
834
+ */
835
+ DialogDataExample.ctorParameters = function () { return [
836
+ { type: _angular_material.MdDialog, },
837
+ ]; };
838
+ var DialogDataExampleDialog = (function () {
839
+ /**
840
+ * @param {?} data
841
+ */
842
+ function DialogDataExampleDialog(data) {
843
+ this.data = data;
844
+ }
845
+ return DialogDataExampleDialog;
846
+ }());
847
+ DialogDataExampleDialog.decorators = [
848
+ { type: _angular_core.Component, args: [{
849
+ selector: 'dialog-data-example-dialog',
850
+ template: "<h1 md-dialog-title>Favorite Animal</h1><div md-dialog-content>My favorite animal is:<ul><li><span *ngIf=\"data.animal === 'panda'\">&#10003;</span> Panda</li><li><span *ngIf=\"data.animal === 'unicorn'\">&#10003;</span> Unicorn</li><li><span *ngIf=\"data.animal === 'lion'\">&#10003;</span> Lion</li></ul></div>",
851
+ },] },
852
+ ];
853
+ /**
854
+ * @nocollapse
855
+ */
856
+ DialogDataExampleDialog.ctorParameters = function () { return [
857
+ { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_material.MD_DIALOG_DATA,] },] },
858
+ ]; };
859
+ /**
860
+ * \@title Dialog elements
861
+ */
862
+ var DialogElementsExample = (function () {
863
+ /**
864
+ * @param {?} dialog
865
+ */
866
+ function DialogElementsExample(dialog) {
867
+ this.dialog = dialog;
868
+ }
869
+ /**
870
+ * @return {?}
871
+ */
872
+ DialogElementsExample.prototype.openDialog = function () {
873
+ this.dialog.open(DialogElementsExampleDialog);
874
+ };
875
+ return DialogElementsExample;
876
+ }());
877
+ DialogElementsExample.decorators = [
878
+ { type: _angular_core.Component, args: [{
879
+ selector: 'dialog-elements-example',
880
+ template: "<button md-button (click)=\"openDialog()\">Launch dialog</button>",
881
+ },] },
882
+ ];
883
+ /**
884
+ * @nocollapse
885
+ */
886
+ DialogElementsExample.ctorParameters = function () { return [
887
+ { type: _angular_material.MdDialog, },
888
+ ]; };
889
+ var DialogElementsExampleDialog = (function () {
890
+ function DialogElementsExampleDialog() {
891
+ }
892
+ return DialogElementsExampleDialog;
893
+ }());
894
+ DialogElementsExampleDialog.decorators = [
895
+ { type: _angular_core.Component, args: [{
896
+ selector: 'dialog-elements-example-dialog',
897
+ template: "<h1 md-dialog-title>Dialog with elements</h1><div md-dialog-content>This dialog showcases the title, close, content and actions elements.</div><div md-dialog-actions><button md-button md-dialog-close>Close</button></div>",
898
+ },] },
899
+ ];
900
+ /**
901
+ * @nocollapse
902
+ */
903
+ DialogElementsExampleDialog.ctorParameters = function () { return []; };
904
+ /**
905
+ * \@title Dialog Overview
906
+ */
907
+ var DialogOverviewExample = (function () {
908
+ /**
909
+ * @param {?} dialog
910
+ */
911
+ function DialogOverviewExample(dialog) {
912
+ this.dialog = dialog;
913
+ }
914
+ /**
915
+ * @return {?}
916
+ */
917
+ DialogOverviewExample.prototype.openDialog = function () {
918
+ var _this = this;
919
+ var /** @type {?} */ dialogRef = this.dialog.open(DialogOverviewExampleDialog, {
920
+ width: '250px',
921
+ data: { name: this.name, animal: this.animal }
922
+ });
923
+ dialogRef.afterClosed().subscribe(function (result) {
924
+ console.log('The dialog was closed');
925
+ _this.animal = result;
926
+ });
927
+ };
928
+ return DialogOverviewExample;
929
+ }());
930
+ DialogOverviewExample.decorators = [
931
+ { type: _angular_core.Component, args: [{
932
+ selector: 'dialog-overview-example',
933
+ template: "<ol><li><md-form-field><input mdInput [(ngModel)]=\"name\" placeholder=\"What's your name?\"></md-form-field></li><li><button md-raised-button (click)=\"openDialog()\">Pick one</button></li><li *ngIf=\"animal\">You chose: <i>{{animal}}</i></li></ol>"
934
+ },] },
935
+ ];
936
+ /**
937
+ * @nocollapse
938
+ */
939
+ DialogOverviewExample.ctorParameters = function () { return [
940
+ { type: _angular_material.MdDialog, },
941
+ ]; };
942
+ var DialogOverviewExampleDialog = (function () {
943
+ /**
944
+ * @param {?} dialogRef
945
+ * @param {?} data
946
+ */
947
+ function DialogOverviewExampleDialog(dialogRef, data) {
948
+ this.dialogRef = dialogRef;
949
+ this.data = data;
950
+ }
951
+ /**
952
+ * @return {?}
953
+ */
954
+ DialogOverviewExampleDialog.prototype.onNoClick = function () {
955
+ this.dialogRef.close();
956
+ };
957
+ return DialogOverviewExampleDialog;
958
+ }());
959
+ DialogOverviewExampleDialog.decorators = [
960
+ { type: _angular_core.Component, args: [{
961
+ selector: 'dialog-overview-example-dialog',
962
+ template: "<h1 md-dialog-title>Hi {{data.name}}</h1><div md-dialog-content><p>What's your favorite animal?</p><md-form-field><input mdInput tabindex=\"1\" [(ngModel)]=\"data.animal\"></md-form-field></div><div md-dialog-actions><button md-button [md-dialog-close]=\"data.animal\" tabindex=\"2\">Ok</button> <button md-button (click)=\"onNoClick()\" tabindex=\"-1\">No Thanks</button></div>",
963
+ },] },
964
+ ];
965
+ /**
966
+ * @nocollapse
967
+ */
968
+ DialogOverviewExampleDialog.ctorParameters = function () { return [
969
+ { type: _angular_material.MdDialogRef, },
970
+ { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_material.MD_DIALOG_DATA,] },] },
971
+ ]; };
972
+ /**
973
+ * \@title Basic expansion panel
974
+ */
975
+ var ExpansionOverviewExample = (function () {
976
+ function ExpansionOverviewExample() {
977
+ }
978
+ return ExpansionOverviewExample;
979
+ }());
980
+ ExpansionOverviewExample.decorators = [
981
+ { type: _angular_core.Component, args: [{
982
+ selector: 'expansion-overview-example',
983
+ template: "<md-expansion-panel><md-expansion-panel-header><md-panel-title>Personal data</md-panel-title><md-panel-description>Type your name and age</md-panel-description></md-expansion-panel-header><md-form-field><input mdInput placeholder=\"First name\"></md-form-field><md-form-field><input mdInput placeholder=\"Age\"></md-form-field></md-expansion-panel>",
984
+ },] },
985
+ ];
986
+ /**
987
+ * @nocollapse
988
+ */
989
+ ExpansionOverviewExample.ctorParameters = function () { return []; };
990
+ /**
991
+ * \@title Expansion panel as accordion
992
+ */
993
+ var ExpansionStepsExample = (function () {
994
+ function ExpansionStepsExample() {
995
+ this.step = 0;
996
+ }
997
+ /**
998
+ * @param {?} index
999
+ * @return {?}
1000
+ */
1001
+ ExpansionStepsExample.prototype.setStep = function (index) {
1002
+ this.step = index;
1003
+ };
1004
+ /**
1005
+ * @return {?}
1006
+ */
1007
+ ExpansionStepsExample.prototype.nextStep = function () {
1008
+ this.step++;
1009
+ };
1010
+ /**
1011
+ * @return {?}
1012
+ */
1013
+ ExpansionStepsExample.prototype.prevStep = function () {
1014
+ this.step--;
1015
+ };
1016
+ return ExpansionStepsExample;
1017
+ }());
1018
+ ExpansionStepsExample.decorators = [
1019
+ { type: _angular_core.Component, args: [{
1020
+ selector: 'expansion-steps-example',
1021
+ template: "<md-accordion class=\"example-headers-align\"><md-expansion-panel [expanded]=\"step === 0\" (opened)=\"setStep(0)\" hideToggle=\"true\"><md-expansion-panel-header><md-panel-title>Personal data</md-panel-title><md-panel-description>Type your name and age<md-icon>account_circle</md-icon></md-panel-description></md-expansion-panel-header><md-form-field><input mdInput placeholder=\"First name\"></md-form-field><md-form-field><input mdInput type=\"number\" min=\"1\" placeholder=\"Age\"></md-form-field><md-action-row><button md-button color=\"primary\" (click)=\"nextStep()\">Next</button></md-action-row></md-expansion-panel><md-expansion-panel [expanded]=\"step === 1\" (opened)=\"setStep(1)\" hideToggle=\"true\"><md-expansion-panel-header><md-panel-title>Destination</md-panel-title><md-panel-description>Type the country name<md-icon>map</md-icon></md-panel-description></md-expansion-panel-header><md-form-field><input mdInput placeholder=\"Country\"></md-form-field><md-action-row><button md-button color=\"warn\" (click)=\"prevStep()\">Previous</button> <button md-button color=\"primary\" (click)=\"nextStep()\">Next</button></md-action-row></md-expansion-panel><md-expansion-panel [expanded]=\"step === 2\" (opened)=\"setStep(2)\" hideToggle=\"true\"><md-expansion-panel-header><md-panel-title>Day of the trip</md-panel-title><md-panel-description>Inform the date you wish to travel<md-icon>date_range</md-icon></md-panel-description></md-expansion-panel-header><md-form-field><input mdInput placeholder=\"Date\" [mdDatepicker]=\"picker\" (focus)=\"picker.open()\" readonly=\"readonly\"></md-form-field><md-datepicker #picker></md-datepicker><md-action-row><button md-button color=\"warn\" (click)=\"prevStep()\">Previous</button> <button md-button color=\"primary\" (click)=\"nextStep()\">End</button></md-action-row></md-expansion-panel></md-accordion>",
1022
+ styles: [".example-headers-align .mat-expansion-panel-header-title, .example-headers-align .mat-expansion-panel-header-description { flex-basis: 0; } .example-headers-align .mat-expansion-panel-header-description { justify-content: space-between; align-items: center; } "]
1023
+ },] },
1024
+ ];
1025
+ /**
1026
+ * @nocollapse
1027
+ */
1028
+ ExpansionStepsExample.ctorParameters = function () { return []; };
1029
+ /**
1030
+ * \@title Dynamic grid-list
1031
+ */
1032
+ var GridListDynamicExample = (function () {
1033
+ function GridListDynamicExample() {
1034
+ this.tiles = [
1035
+ { text: 'One', cols: 3, rows: 1, color: 'lightblue' },
1036
+ { text: 'Two', cols: 1, rows: 2, color: 'lightgreen' },
1037
+ { text: 'Three', cols: 1, rows: 1, color: 'lightpink' },
1038
+ { text: 'Four', cols: 2, rows: 1, color: '#DDBDF1' },
1039
+ ];
1040
+ }
1041
+ return GridListDynamicExample;
1042
+ }());
1043
+ GridListDynamicExample.decorators = [
1044
+ { type: _angular_core.Component, args: [{
1045
+ selector: 'grid-list-dynamic-example',
1046
+ template: "<md-grid-list cols=\"4\" rowHeight=\"100px\"><md-grid-tile *ngFor=\"let tile of tiles\" [colspan]=\"tile.cols\" [rowspan]=\"tile.rows\" [style.background]=\"tile.color\">{{tile.text}}</md-grid-tile></md-grid-list>",
1047
+ },] },
1048
+ ];
1049
+ /**
1050
+ * @nocollapse
1051
+ */
1052
+ GridListDynamicExample.ctorParameters = function () { return []; };
1053
+ /**
1054
+ * \@title Basic grid-list
1055
+ */
1056
+ var GridListOverviewExample = (function () {
1057
+ function GridListOverviewExample() {
1058
+ }
1059
+ return GridListOverviewExample;
1060
+ }());
1061
+ GridListOverviewExample.decorators = [
1062
+ { type: _angular_core.Component, args: [{
1063
+ selector: 'grid-list-overview-example',
1064
+ styles: ["md-grid-tile { background: lightblue; } "],
1065
+ template: "<md-grid-list cols=\"2\" rowHeight=\"2:1\"><md-grid-tile>1</md-grid-tile><md-grid-tile>2</md-grid-tile><md-grid-tile>3</md-grid-tile><md-grid-tile>4</md-grid-tile></md-grid-list>",
1066
+ },] },
1067
+ ];
1068
+ /**
1069
+ * @nocollapse
1070
+ */
1071
+ GridListOverviewExample.ctorParameters = function () { return []; };
1072
+ /**
1073
+ * \@title Basic icons
1074
+ */
1075
+ var IconOverviewExample = (function () {
1076
+ function IconOverviewExample() {
1077
+ }
1078
+ return IconOverviewExample;
1079
+ }());
1080
+ IconOverviewExample.decorators = [
1081
+ { type: _angular_core.Component, args: [{
1082
+ selector: 'icon-overview-example',
1083
+ template: "<md-icon>home</md-icon>",
1084
+ },] },
1085
+ ];
1086
+ /**
1087
+ * @nocollapse
1088
+ */
1089
+ IconOverviewExample.ctorParameters = function () { return []; };
1090
+ /**
1091
+ * \@title SVG icons
1092
+ */
1093
+ var IconSvgExample = (function () {
1094
+ /**
1095
+ * @param {?} iconRegistry
1096
+ * @param {?} sanitizer
1097
+ */
1098
+ function IconSvgExample(iconRegistry, sanitizer) {
1099
+ iconRegistry.addSvgIcon('thumbs-up', sanitizer.bypassSecurityTrustResourceUrl('assets/img/examples/thumbup-icon.svg'));
1100
+ }
1101
+ return IconSvgExample;
1102
+ }());
1103
+ IconSvgExample.decorators = [
1104
+ { type: _angular_core.Component, args: [{
1105
+ selector: 'icon-svg-example',
1106
+ template: "<md-icon svgIcon=\"thumbs-up\"></md-icon>",
1107
+ },] },
1108
+ ];
1109
+ /**
1110
+ * @nocollapse
1111
+ */
1112
+ IconSvgExample.ctorParameters = function () { return [
1113
+ { type: _angular_material.MdIconRegistry, },
1114
+ { type: _angular_platformBrowser.DomSanitizer, },
1115
+ ]; };
1116
+ /**
1117
+ * \@title Input Clearable
1118
+ */
1119
+ var InputClearableExample = (function () {
1120
+ function InputClearableExample() {
1121
+ this.value = 'Clear me';
1122
+ }
1123
+ return InputClearableExample;
1124
+ }());
1125
+ InputClearableExample.decorators = [
1126
+ { type: _angular_core.Component, args: [{
1127
+ selector: 'input-clearable-example',
1128
+ template: "<md-form-field class=\"example-form-field\"><input mdInput type=\"text\" placeholder=\"Clearable input\" [(ngModel)]=\"value\"> <button md-button *ngIf=\"value\" mdSuffix md-icon-button aria-label=\"Clear\" (click)=\"value=''\"><md-icon>close</md-icon></button></md-form-field>",
1129
+ styles: [".example-form-field { width: 200px; } "],
1130
+ },] },
1131
+ ];
1132
+ /**
1133
+ * @nocollapse
1134
+ */
1135
+ InputClearableExample.ctorParameters = function () { return []; };
1136
+ var EMAIL_REGEX = /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
1137
+ /**
1138
+ * \@title Input Errors
1139
+ */
1140
+ var InputErrorsExample = (function () {
1141
+ function InputErrorsExample() {
1142
+ this.emailFormControl = new _angular_forms.FormControl('', [
1143
+ _angular_forms.Validators.required,
1144
+ _angular_forms.Validators.pattern(EMAIL_REGEX)
1145
+ ]);
1146
+ }
1147
+ return InputErrorsExample;
1148
+ }());
1149
+ InputErrorsExample.decorators = [
1150
+ { type: _angular_core.Component, args: [{
1151
+ selector: 'input-errors-example',
1152
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><input mdInput placeholder=\"Email\" [formControl]=\"emailFormControl\"><md-error *ngIf=\"emailFormControl.hasError('pattern')\">Please enter a valid email address</md-error><md-error *ngIf=\"emailFormControl.hasError('required')\">Email is <strong>required</strong></md-error></md-form-field></form>",
1153
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "],
1154
+ },] },
1155
+ ];
1156
+ /**
1157
+ * @nocollapse
1158
+ */
1159
+ InputErrorsExample.ctorParameters = function () { return []; };
1160
+ /**
1161
+ * \@title Inputs in a form
1162
+ */
1163
+ var InputFormExample = (function () {
1164
+ function InputFormExample() {
1165
+ }
1166
+ return InputFormExample;
1167
+ }());
1168
+ InputFormExample.decorators = [
1169
+ { type: _angular_core.Component, args: [{
1170
+ selector: 'input-form-example',
1171
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><input mdInput placeholder=\"Company (disabled)\" disabled=\"disabled\" value=\"Google\"></md-form-field><table class=\"example-full-width\" cellspacing=\"0\"><tr><td><md-form-field class=\"example-full-width\"><input mdInput placeholder=\"First name\"></md-form-field></td><td><md-form-field class=\"example-full-width\"><input mdInput placeholder=\"Long Last Name That Will Be Truncated\"></md-form-field></td></tr></table><p><md-form-field class=\"example-full-width\"><textarea mdInput placeholder=\"Address\">1600 Amphitheatre Pkwy</textarea></md-form-field><md-form-field class=\"example-full-width\"><textarea mdInput placeholder=\"Address 2\"></textarea></md-form-field></p><table class=\"example-full-width\" cellspacing=\"0\"><tr><td><md-form-field class=\"example-full-width\"><input mdInput placeholder=\"City\"></md-form-field></td><td><md-form-field class=\"example-full-width\"><input mdInput placeholder=\"State\"></md-form-field></td><td><md-form-field class=\"example-full-width\"><input mdInput #postalCode maxlength=\"5\" placeholder=\"Postal Code\" value=\"94043\"><md-hint align=\"end\">{{postalCode.value.length}} / 5</md-hint></md-form-field></td></tr></table></form>",
1172
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "],
1173
+ },] },
1174
+ ];
1175
+ /**
1176
+ * @nocollapse
1177
+ */
1178
+ InputFormExample.ctorParameters = function () { return []; };
1179
+ /**
1180
+ * \@title Input hints
1181
+ */
1182
+ var InputHintExample = (function () {
1183
+ function InputHintExample() {
1184
+ }
1185
+ return InputHintExample;
1186
+ }());
1187
+ InputHintExample.decorators = [
1188
+ { type: _angular_core.Component, args: [{
1189
+ selector: 'input-hint-example',
1190
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><input mdInput #message maxlength=\"256\" placeholder=\"Message\"><md-hint align=\"start\"><strong>Don't disclose personal info</strong></md-hint><md-hint align=\"end\">{{message.value.length}} / 256</md-hint></md-form-field></form>",
1191
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "],
1192
+ },] },
1193
+ ];
1194
+ /**
1195
+ * @nocollapse
1196
+ */
1197
+ InputHintExample.ctorParameters = function () { return []; };
1198
+ /**
1199
+ * \@title Basic Inputs
1200
+ */
1201
+ var InputOverviewExample = (function () {
1202
+ function InputOverviewExample() {
1203
+ }
1204
+ return InputOverviewExample;
1205
+ }());
1206
+ InputOverviewExample.decorators = [
1207
+ { type: _angular_core.Component, args: [{
1208
+ selector: 'input-overview-example',
1209
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "],
1210
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><input mdInput placeholder=\"Favorite food\" value=\"Sushi\"></md-form-field></form>",
1211
+ },] },
1212
+ ];
1213
+ /**
1214
+ * @nocollapse
1215
+ */
1216
+ InputOverviewExample.ctorParameters = function () { return []; };
1217
+ /**
1218
+ * \@title Input Prefixes and Suffixes
1219
+ */
1220
+ var InputPrefixSuffixExample = (function () {
1221
+ function InputPrefixSuffixExample() {
1222
+ }
1223
+ return InputPrefixSuffixExample;
1224
+ }());
1225
+ InputPrefixSuffixExample.decorators = [
1226
+ { type: _angular_core.Component, args: [{
1227
+ selector: 'input-prefix-suffix-example',
1228
+ template: "<form class=\"example-form\"><md-form-field class=\"example-full-width\"><span mdPrefix>+1 &nbsp;</span> <input type=\"tel\" mdInput placeholder=\"Telephone\"><md-icon mdSuffix>mode_edit</md-icon></md-form-field></form>",
1229
+ styles: [".example-form { min-width: 150px; max-width: 500px; width: 100%; } .example-full-width { width: 100%; } "],
1230
+ },] },
1231
+ ];
1232
+ /**
1233
+ * @nocollapse
1234
+ */
1235
+ InputPrefixSuffixExample.ctorParameters = function () { return []; };
1236
+ /**
1237
+ * \@title Basic list
1238
+ */
1239
+ var ListOverviewExample = (function () {
1240
+ function ListOverviewExample() {
1241
+ }
1242
+ return ListOverviewExample;
1243
+ }());
1244
+ ListOverviewExample.decorators = [
1245
+ { type: _angular_core.Component, args: [{
1246
+ selector: 'list-overview-example',
1247
+ template: "<md-list><md-list-item>Item 1</md-list-item><md-list-item>Item 2</md-list-item><md-list-item>Item 3</md-list-item></md-list>",
1248
+ },] },
1249
+ ];
1250
+ /**
1251
+ * @nocollapse
1252
+ */
1253
+ ListOverviewExample.ctorParameters = function () { return []; };
1254
+ /**
1255
+ * \@title List with sections
1256
+ */
1257
+ var ListSectionsExample = (function () {
1258
+ function ListSectionsExample() {
1259
+ this.folders = [
1260
+ {
1261
+ name: 'Photos',
1262
+ updated: new Date('1/1/16'),
1263
+ },
1264
+ {
1265
+ name: 'Recipes',
1266
+ updated: new Date('1/17/16'),
1267
+ },
1268
+ {
1269
+ name: 'Work',
1270
+ updated: new Date('1/28/16'),
1271
+ }
1272
+ ];
1273
+ this.notes = [
1274
+ {
1275
+ name: 'Vacation Itinerary',
1276
+ updated: new Date('2/20/16'),
1277
+ },
1278
+ {
1279
+ name: 'Kitchen Remodel',
1280
+ updated: new Date('1/18/16'),
1281
+ }
1282
+ ];
1283
+ }
1284
+ return ListSectionsExample;
1285
+ }());
1286
+ ListSectionsExample.decorators = [
1287
+ { type: _angular_core.Component, args: [{
1288
+ selector: 'list-sections-example',
1289
+ styles: [".mat-list-icon { color: rgba(0, 0, 0, 0.54); } "],
1290
+ template: "<md-list><h3 md-subheader>Folders</h3><md-list-item *ngFor=\"let folder of folders\"><md-icon md-list-icon>folder</md-icon><h4 md-line>{{folder.name}}</h4><p md-line>{{folder.updated | date}}</p></md-list-item><md-divider></md-divider><h3 md-subheader>Notes</h3><md-list-item *ngFor=\"let note of notes\"><md-icon md-list-icon>note</md-icon><h4 md-line>{{note.name}}</h4><p md-line>{{note.updated | date}}</p></md-list-item></md-list>",
1291
+ },] },
1292
+ ];
1293
+ /**
1294
+ * @nocollapse
1295
+ */
1296
+ ListSectionsExample.ctorParameters = function () { return []; };
1297
+ /**
1298
+ * \@title List with selection
1299
+ */
1300
+ var ListSelectionExample = (function () {
1301
+ function ListSelectionExample() {
1302
+ this.typesOfShoes = ['Boots', 'Clogs', 'Loafers', 'Moccasins', 'Sneakers'];
1303
+ }
1304
+ return ListSelectionExample;
1305
+ }());
1306
+ ListSelectionExample.decorators = [
1307
+ { type: _angular_core.Component, args: [{
1308
+ selector: 'list-selection-example',
1309
+ styles: ["/** No styles for this example. */ "],
1310
+ template: "<md-selection-list #shoes><md-list-option *ngFor=\"let shoe of typesOfShoes\">{{shoe}}</md-list-option></md-selection-list><p>Options selected: {{shoes.selectedOptions.selected.length}}</p>",
1311
+ },] },
1312
+ ];
1313
+ /**
1314
+ * @nocollapse
1315
+ */
1316
+ ListSelectionExample.ctorParameters = function () { return []; };
1317
+ /**
1318
+ * \@title Menu with icons
1319
+ */
1320
+ var MenuIconsExample = (function () {
1321
+ function MenuIconsExample() {
1322
+ }
1323
+ return MenuIconsExample;
1324
+ }());
1325
+ MenuIconsExample.decorators = [
1326
+ { type: _angular_core.Component, args: [{
1327
+ selector: 'menu-icons-example',
1328
+ template: "<button md-icon-button [mdMenuTriggerFor]=\"menu\"><md-icon>more_vert</md-icon></button><md-menu #menu=\"mdMenu\"><button md-menu-item><md-icon>dialpad</md-icon><span>Redial</span></button> <button md-menu-item disabled=\"disabled\"><md-icon>voicemail</md-icon><span>Check voicemail</span></button> <button md-menu-item><md-icon>notifications_off</md-icon><span>Disable alerts</span></button></md-menu>",
1329
+ styles: ["/** No CSS for this example */ "],
1330
+ },] },
1331
+ ];
1332
+ /**
1333
+ * @nocollapse
1334
+ */
1335
+ MenuIconsExample.ctorParameters = function () { return []; };
1336
+ /**
1337
+ * \@title Basic menu
1338
+ */
1339
+ var MenuOverviewExample = (function () {
1340
+ function MenuOverviewExample() {
1341
+ }
1342
+ return MenuOverviewExample;
1343
+ }());
1344
+ MenuOverviewExample.decorators = [
1345
+ { type: _angular_core.Component, args: [{
1346
+ selector: 'menu-overview-example',
1347
+ template: "<button md-button [mdMenuTriggerFor]=\"menu\">Menu</button><md-menu #menu=\"mdMenu\"><button md-menu-item>Item 1</button> <button md-menu-item>Item 2</button></md-menu>",
1348
+ styles: ["/** No CSS for this example */ "],
1349
+ },] },
1350
+ ];
1351
+ /**
1352
+ * @nocollapse
1353
+ */
1354
+ MenuOverviewExample.ctorParameters = function () { return []; };
1355
+ /**
1356
+ * \@title Nested menu
1357
+ */
1358
+ var NestedMenuExample = (function () {
1359
+ function NestedMenuExample() {
1360
+ }
1361
+ return NestedMenuExample;
1362
+ }());
1363
+ NestedMenuExample.decorators = [
1364
+ { type: _angular_core.Component, args: [{
1365
+ selector: 'nested-menu-example',
1366
+ template: "<button md-button [mdMenuTriggerFor]=\"animals\">Animal index</button><md-menu #animals=\"mdMenu\"><button md-menu-item [mdMenuTriggerFor]=\"vertebrates\">Vertebrates</button> <button md-menu-item [mdMenuTriggerFor]=\"invertebrates\">Invertebrates</button></md-menu><md-menu #vertebrates=\"mdMenu\"><button md-menu-item [mdMenuTriggerFor]=\"fish\">Fishes</button> <button md-menu-item [mdMenuTriggerFor]=\"amphibians\">Amphibians</button> <button md-menu-item [mdMenuTriggerFor]=\"reptiles\">Reptiles</button> <button md-menu-item>Birds</button> <button md-menu-item>Mammals</button></md-menu><md-menu #invertebrates=\"mdMenu\"><button md-menu-item>Insects</button> <button md-menu-item>Molluscs</button> <button md-menu-item>Crustaceans</button> <button md-menu-item>Corals</button> <button md-menu-item>Arachnids</button> <button md-menu-item>Velvet worms</button> <button md-menu-item>Horseshoe crabs</button></md-menu><md-menu #fish=\"mdMenu\"><button md-menu-item>Baikal oilfish</button> <button md-menu-item>Bala shark</button> <button md-menu-item>Ballan wrasse</button> <button md-menu-item>Bamboo shark</button> <button md-menu-item>Banded killifish</button></md-menu><md-menu #amphibians=\"mdMenu\"><button md-menu-item>Sonoran desert toad</button> <button md-menu-item>Western toad</button> <button md-menu-item>Arroyo toad</button> <button md-menu-item>Yosemite toad</button></md-menu><md-menu #reptiles=\"mdMenu\"><button md-menu-item>Banded Day Gecko</button> <button md-menu-item>Banded Gila Monster</button> <button md-menu-item>Black Tree Monitor</button> <button md-menu-item>Blue Spiny Lizard</button> <button md-menu-item disabled=\"disabled\">Velociraptor</button></md-menu>",
1367
+ styles: ["/** No CSS for this example */ "]
1368
+ },] },
1369
+ ];
1370
+ /**
1371
+ * @nocollapse
1372
+ */
1373
+ NestedMenuExample.ctorParameters = function () { return []; };
1374
+ /**
1375
+ * \@title Configurable paginator
1376
+ */
1377
+ var PaginatorConfigurableExample = (function () {
1378
+ function PaginatorConfigurableExample() {
1379
+ // MdPaginator Inputs
1380
+ this.length = 100;
1381
+ this.pageSize = 10;
1382
+ this.pageSizeOptions = [5, 10, 25, 100];
1383
+ }
1384
+ /**
1385
+ * @param {?} setPageSizeOptionsInput
1386
+ * @return {?}
1387
+ */
1388
+ PaginatorConfigurableExample.prototype.setPageSizeOptions = function (setPageSizeOptionsInput) {
1389
+ this.pageSizeOptions = setPageSizeOptionsInput.split(',').map(function (str) { return +str; });
1390
+ };
1391
+ return PaginatorConfigurableExample;
1392
+ }());
1393
+ PaginatorConfigurableExample.decorators = [
1394
+ { type: _angular_core.Component, args: [{
1395
+ selector: 'paginator-configurable-example',
1396
+ template: "<md-form-field>List length: <input mdInput [(ngModel)]=\"length\"></md-form-field><md-form-field>Page size: <input mdInput [(ngModel)]=\"pageSize\"></md-form-field><md-form-field>Page size options: <input mdInput [ngModel]=\"pageSizeOptions\" (ngModelChange)=\"setPageSizeOptions($event)\"></md-form-field><md-paginator [length]=\"length\" [pageSize]=\"pageSize\" [pageSizeOptions]=\"pageSizeOptions\" (page)=\"pageEvent = $event\"></md-paginator><div *ngIf=\"pageEvent\"><h5>Page Change Event Properties</h5><div>List length: {{pageEvent.length}}</div><div>Page size: {{pageEvent.pageSize}}</div><div>Page index: {{pageEvent.pageIndex}}</div></div>",
1397
+ },] },
1398
+ ];
1399
+ /**
1400
+ * @nocollapse
1401
+ */
1402
+ PaginatorConfigurableExample.ctorParameters = function () { return []; };
1403
+ /**
1404
+ * \@title Paginator
1405
+ */
1406
+ var PaginatorOverviewExample = (function () {
1407
+ function PaginatorOverviewExample() {
1408
+ }
1409
+ return PaginatorOverviewExample;
1410
+ }());
1411
+ PaginatorOverviewExample.decorators = [
1412
+ { type: _angular_core.Component, args: [{
1413
+ selector: 'paginator-overview-example',
1414
+ template: "<md-paginator [length]=\"100\" [pageSize]=\"10\" [pageSizeOptions]=\"[5, 10, 25, 100]\"></md-paginator>",
1415
+ },] },
1416
+ ];
1417
+ /**
1418
+ * @nocollapse
1419
+ */
1420
+ PaginatorOverviewExample.ctorParameters = function () { return []; };
1421
+ /**
1422
+ * \@title Configurable progress-bar
1423
+ */
1424
+ var ProgressBarConfigurableExample = (function () {
1425
+ function ProgressBarConfigurableExample() {
1426
+ this.color = 'primary';
1427
+ this.mode = 'determinate';
1428
+ this.value = 50;
1429
+ this.bufferValue = 75;
1430
+ }
1431
+ return ProgressBarConfigurableExample;
1432
+ }());
1433
+ ProgressBarConfigurableExample.decorators = [
1434
+ { type: _angular_core.Component, args: [{
1435
+ selector: 'progress-bar-configurable-example',
1436
+ template: "<md-card><md-card-content><h2 class=\"example-h2\">Progress bar configuration</h2><section class=\"example-section\"><label class=\"example-margin\">Color:</label><md-radio-group [(ngModel)]=\"color\"><md-radio-button class=\"example-margin\" value=\"primary\">Primary</md-radio-button><md-radio-button class=\"example-margin\" value=\"accent\">Accent</md-radio-button><md-radio-button class=\"example-margin\" value=\"warn\">Warn</md-radio-button></md-radio-group></section><section class=\"example-section\"><label class=\"example-margin\">Mode:</label><md-radio-group [(ngModel)]=\"mode\"><md-radio-button class=\"example-margin\" value=\"determinate\">Determinate</md-radio-button><md-radio-button class=\"example-margin\" value=\"indeterminate\">Indeterminate</md-radio-button><md-radio-button class=\"example-margin\" value=\"buffer\">Buffer</md-radio-button><md-radio-button class=\"example-margin\" value=\"query\">Query</md-radio-button></md-radio-group></section><section class=\"example-section\" *ngIf=\"mode == 'determinate' || mode == 'buffer'\"><label class=\"example-margin\">Progress:</label><md-slider class=\"example-margin\" [(ngModel)]=\"value\"></md-slider></section><section class=\"example-section\" *ngIf=\"mode == 'buffer'\"><label class=\"example-margin\">Buffer:</label><md-slider class=\"example-margin\" [(ngModel)]=\"bufferValue\"></md-slider></section></md-card-content></md-card><md-card><md-card-content><h2 class=\"example-h2\">Result</h2><section class=\"example-section\"><md-progress-bar class=\"example-margin\" [color]=\"color\" [mode]=\"mode\" [value]=\"value\" [bufferValue]=\"bufferValue\"></md-progress-bar></section></md-card-content></md-card>",
1437
+ styles: [".example-h2 { margin: 10px; } .example-section { display: flex; align-content: center; align-items: center; height: 60px; } .example-margin { margin: 0 10px; } "],
1438
+ },] },
1439
+ ];
1440
+ /**
1441
+ * @nocollapse
1442
+ */
1443
+ ProgressBarConfigurableExample.ctorParameters = function () { return []; };
1444
+ /**
1445
+ * \@title Basic progress-bar
1446
+ */
1447
+ var ProgressBarOverviewExample = (function () {
1448
+ function ProgressBarOverviewExample() {
1449
+ }
1450
+ return ProgressBarOverviewExample;
1451
+ }());
1452
+ ProgressBarOverviewExample.decorators = [
1453
+ { type: _angular_core.Component, args: [{
1454
+ selector: 'progress-bar-overview-example',
1455
+ template: "<md-progress-bar mode=\"indeterminate\"></md-progress-bar>",
1456
+ },] },
1457
+ ];
1458
+ /**
1459
+ * @nocollapse
1460
+ */
1461
+ ProgressBarOverviewExample.ctorParameters = function () { return []; };
1462
+ /**
1463
+ * \@title Configurable progress spinner
1464
+ */
1465
+ var ProgressSpinnerConfigurableExample = (function () {
1466
+ function ProgressSpinnerConfigurableExample() {
1467
+ this.color = 'primary';
1468
+ this.mode = 'determinate';
1469
+ this.value = 50;
1470
+ }
1471
+ return ProgressSpinnerConfigurableExample;
1472
+ }());
1473
+ ProgressSpinnerConfigurableExample.decorators = [
1474
+ { type: _angular_core.Component, args: [{
1475
+ selector: 'progress-spinner-configurable-example',
1476
+ template: "<md-card><md-card-content><h2 class=\"example-h2\">Progress spinner configuration</h2><section class=\"example-section\"><label class=\"example-margin\">Color:</label><md-radio-group [(ngModel)]=\"color\"><md-radio-button class=\"example-margin\" value=\"primary\">Primary</md-radio-button><md-radio-button class=\"example-margin\" value=\"accent\">Accent</md-radio-button><md-radio-button class=\"example-margin\" value=\"warn\">Warn</md-radio-button></md-radio-group></section><section class=\"example-section\"><label class=\"example-margin\">Mode:</label><md-radio-group [(ngModel)]=\"mode\"><md-radio-button class=\"example-margin\" value=\"determinate\">Determinate</md-radio-button><md-radio-button class=\"example-margin\" value=\"indeterminate\">Indeterminate</md-radio-button></md-radio-group></section><section class=\"example-section\" *ngIf=\"mode == 'determinate'\"><label class=\"example-margin\">Progress:</label><md-slider class=\"example-margin\" [(ngModel)]=\"value\"></md-slider></section></md-card-content></md-card><md-card><md-card-content><h2 class=\"example-h2\">Result</h2><md-progress-spinner class=\"example-margin\" [color]=\"color\" [mode]=\"mode\" [value]=\"value\"></md-progress-spinner></md-card-content></md-card>",
1477
+ styles: [".example-h2 { margin: 10px; } .example-section { display: flex; align-content: center; align-items: center; height: 60px; } .example-margin { margin: 0 10px; } "],
1478
+ },] },
1479
+ ];
1480
+ /**
1481
+ * @nocollapse
1482
+ */
1483
+ ProgressSpinnerConfigurableExample.ctorParameters = function () { return []; };
1484
+ /**
1485
+ * \@title Basic progress-spinner
1486
+ */
1487
+ var ProgressSpinnerOverviewExample = (function () {
1488
+ function ProgressSpinnerOverviewExample() {
1489
+ }
1490
+ return ProgressSpinnerOverviewExample;
1491
+ }());
1492
+ ProgressSpinnerOverviewExample.decorators = [
1493
+ { type: _angular_core.Component, args: [{
1494
+ selector: 'progress-spinner-overview-example',
1495
+ template: "<md-spinner></md-spinner>",
1496
+ },] },
1497
+ ];
1498
+ /**
1499
+ * @nocollapse
1500
+ */
1501
+ ProgressSpinnerOverviewExample.ctorParameters = function () { return []; };
1502
+ /**
1503
+ * \@title Radios with ngModel
1504
+ */
1505
+ var RadioNgModelExample = (function () {
1506
+ function RadioNgModelExample() {
1507
+ this.seasons = [
1508
+ 'Winter',
1509
+ 'Spring',
1510
+ 'Summer',
1511
+ 'Autumn',
1512
+ ];
1513
+ }
1514
+ return RadioNgModelExample;
1515
+ }());
1516
+ RadioNgModelExample.decorators = [
1517
+ { type: _angular_core.Component, args: [{
1518
+ selector: 'radio-ng-model-example',
1519
+ template: "<md-radio-group class=\"example-radio-group\" [(ngModel)]=\"favoriteSeason\"><md-radio-button class=\"example-radio-button\" *ngFor=\"let season of seasons\" [value]=\"season\">{{season}}</md-radio-button></md-radio-group><div class=\"example-selected-value\">Your favorite season is: {{favoriteSeason}}</div>",
1520
+ styles: [".example-radio-group { display: inline-flex; flex-direction: column; } .example-radio-button { margin: 5px; } .example-selected-value { margin: 15px 0; } "],
1521
+ },] },
1522
+ ];
1523
+ /**
1524
+ * @nocollapse
1525
+ */
1526
+ RadioNgModelExample.ctorParameters = function () { return []; };
1527
+ /**
1528
+ * \@title Basic radios
1529
+ */
1530
+ var RadioOverviewExample = (function () {
1531
+ function RadioOverviewExample() {
1532
+ }
1533
+ return RadioOverviewExample;
1534
+ }());
1535
+ RadioOverviewExample.decorators = [
1536
+ { type: _angular_core.Component, args: [{
1537
+ selector: 'radio-overview-example',
1538
+ template: "<md-radio-group><md-radio-button value=\"1\">Option 1</md-radio-button><md-radio-button value=\"2\">Option 2</md-radio-button></md-radio-group>",
1539
+ },] },
1540
+ ];
1541
+ /**
1542
+ * @nocollapse
1543
+ */
1544
+ RadioOverviewExample.ctorParameters = function () { return []; };
1545
+ /**
1546
+ * \@title Select in a form
1547
+ */
1548
+ var SelectFormExample = (function () {
1549
+ function SelectFormExample() {
1550
+ this.foods = [
1551
+ { value: 'steak-0', viewValue: 'Steak' },
1552
+ { value: 'pizza-1', viewValue: 'Pizza' },
1553
+ { value: 'tacos-2', viewValue: 'Tacos' }
1554
+ ];
1555
+ }
1556
+ return SelectFormExample;
1557
+ }());
1558
+ SelectFormExample.decorators = [
1559
+ { type: _angular_core.Component, args: [{
1560
+ selector: 'select-form-example',
1561
+ template: "<form><md-select placeholder=\"Favorite food\" [(ngModel)]=\"selectedValue\" name=\"food\"><md-option *ngFor=\"let food of foods\" [value]=\"food.value\">{{food.viewValue}}</md-option></md-select><p>Selected value: {{selectedValue}}</p></form>",
1562
+ },] },
1563
+ ];
1564
+ /**
1565
+ * @nocollapse
1566
+ */
1567
+ SelectFormExample.ctorParameters = function () { return []; };
1568
+ /**
1569
+ * \@title Basic select
1570
+ */
1571
+ var SelectOverviewExample = (function () {
1572
+ function SelectOverviewExample() {
1573
+ this.foods = [
1574
+ { value: 'steak-0', viewValue: 'Steak' },
1575
+ { value: 'pizza-1', viewValue: 'Pizza' },
1576
+ { value: 'tacos-2', viewValue: 'Tacos' }
1577
+ ];
1578
+ }
1579
+ return SelectOverviewExample;
1580
+ }());
1581
+ SelectOverviewExample.decorators = [
1582
+ { type: _angular_core.Component, args: [{
1583
+ selector: 'select-overview-example',
1584
+ template: "<md-select placeholder=\"Favorite food\"><md-option *ngFor=\"let food of foods\" [value]=\"food.value\">{{ food.viewValue }}</md-option></md-select>",
1585
+ },] },
1586
+ ];
1587
+ /**
1588
+ * @nocollapse
1589
+ */
1590
+ SelectOverviewExample.ctorParameters = function () { return []; };
1591
+ /**
1592
+ * \@title Sidenav with a FAB
1593
+ */
1594
+ var SidenavFabExample = (function () {
1595
+ function SidenavFabExample() {
1596
+ }
1597
+ return SidenavFabExample;
1598
+ }());
1599
+ SidenavFabExample.decorators = [
1600
+ { type: _angular_core.Component, args: [{
1601
+ selector: 'sidenav-fab-example',
1602
+ template: "<md-sidenav-container class=\"example-sidenav-fab-container\"><md-sidenav #sidenav mode=\"side\" opened=\"true\"><button md-mini-fab class=\"example-fab\" (click)=\"sidenav.toggle()\"><md-icon>add</md-icon></button><div class=\"example-scrolling-content\">Lorem ipsum dolor sit amet, pede a libero aenean phasellus, lectus metus sint ut risus, fusce vel in pellentesque. Nisl rutrum etiam morbi consectetuer tempor magna, aenean nullam nunc id, neque vivamus interdum sociis nulla scelerisque sem, dolor id wisi turpis magna aliquam magna. Risus accumsan hac eget etiam donec sed, senectus erat mattis quam, tempor vel urna occaecat cras, metus urna augue nec at. Et morbi amet dui praesent, nec eu at, ligula ipsum dui sollicitudin, quis nisl massa viverra ligula, mauris fermentum orci arcu enim fringilla. Arcu erat nulla in aenean lacinia ullamcorper, urna ante nam et sagittis, tristique vehicula nibh ipsum vivamus, proin proin. Porta commodo nibh quis libero amet. Taciti dui, sapien consectetuer.</div></md-sidenav><button md-mini-fab class=\"example-fab\" (click)=\"sidenav.toggle()\"><md-icon>add</md-icon></button><div class=\"example-scrolling-content\">Lorem ipsum dolor sit amet, pede a libero aenean phasellus, lectus metus sint ut risus, fusce vel in pellentesque. Nisl rutrum etiam morbi consectetuer tempor magna, aenean nullam nunc id, neque vivamus interdum sociis nulla scelerisque sem, dolor id wisi turpis magna aliquam magna. Risus accumsan hac eget etiam donec sed, senectus erat mattis quam, tempor vel urna occaecat cras, metus urna augue nec at. Et morbi amet dui praesent, nec eu at, ligula ipsum dui sollicitudin, quis nisl massa viverra ligula, mauris fermentum orci arcu enim fringilla. Arcu erat nulla in aenean lacinia ullamcorper, urna ante nam et sagittis, tristique vehicula nibh ipsum vivamus, proin proin. Porta commodo nibh quis libero amet. Taciti dui, sapien consectetuer.</div></md-sidenav-container>",
1603
+ styles: [".example-sidenav-fab-container { width: 500px; height: 300px; border: 1px solid rgba(0, 0, 0, 0.5); } .example-sidenav-fab-container md-sidenav { max-width: 200px; } .example-sidenav-fab-container .mat-sidenav-content, .example-sidenav-fab-container md-sidenav { display: flex; overflow: visible; } .example-scrolling-content { overflow: auto; height: 100%; } .example-fab.mat-mini-fab { position: absolute; right: 20px; bottom: 10px; } "],
1604
+ encapsulation: _angular_core.ViewEncapsulation.None,
1605
+ preserveWhitespaces: false,
1606
+ },] },
1607
+ ];
1608
+ /**
1609
+ * @nocollapse
1610
+ */
1611
+ SidenavFabExample.ctorParameters = function () { return []; };
1612
+ /**
1613
+ * \@title Basic sidenav
1614
+ */
1615
+ var SidenavOverviewExample = (function () {
1616
+ function SidenavOverviewExample() {
1617
+ }
1618
+ return SidenavOverviewExample;
1619
+ }());
1620
+ SidenavOverviewExample.decorators = [
1621
+ { type: _angular_core.Component, args: [{
1622
+ selector: 'sidenav-overview-example',
1623
+ template: "<md-sidenav-container class=\"example-container\"><md-sidenav #sidenav class=\"example-sidenav\">Jolly good!</md-sidenav><div class=\"example-sidenav-content\"><button type=\"button\" md-button (click)=\"sidenav.open()\">Open sidenav</button></div></md-sidenav-container>",
1624
+ styles: [".example-container { width: 500px; height: 300px; border: 1px solid rgba(0, 0, 0, 0.5); } .example-sidenav-content { display: flex; height: 100%; align-items: center; justify-content: center; } .example-sidenav { padding: 20px; } "],
1625
+ },] },
1626
+ ];
1627
+ /**
1628
+ * @nocollapse
1629
+ */
1630
+ SidenavOverviewExample.ctorParameters = function () { return []; };
1631
+ /**
1632
+ * \@title Configurable slide-toggle
1633
+ */
1634
+ var SlideToggleConfigurableExample = (function () {
1635
+ function SlideToggleConfigurableExample() {
1636
+ this.color = 'accent';
1637
+ this.checked = false;
1638
+ this.disabled = false;
1639
+ }
1640
+ return SlideToggleConfigurableExample;
1641
+ }());
1642
+ SlideToggleConfigurableExample.decorators = [
1643
+ { type: _angular_core.Component, args: [{
1644
+ selector: 'slide-toggle-configurable-example',
1645
+ template: "<md-card><md-card-content><h2 class=\"example-h2\">Slider configuration</h2><section class=\"example-section\"><label class=\"example-margin\">Color:</label><md-radio-group [(ngModel)]=\"color\"><md-radio-button class=\"example-margin\" value=\"primary\">Primary</md-radio-button><md-radio-button class=\"example-margin\" value=\"accent\">Accent</md-radio-button><md-radio-button class=\"example-margin\" value=\"warn\">Warn</md-radio-button></md-radio-group></section><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"checked\">Checked</md-checkbox></section><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"disabled\">Disabled</md-checkbox></section></md-card-content></md-card><md-card class=\"result\"><md-card-content><h2 class=\"example-h2\">Result</h2><section class=\"example-section\"><md-slide-toggle class=\"example-margin\" [color]=\"color\" [checked]=\"checked\" [disabled]=\"disabled\">Slide me!</md-slide-toggle></section></md-card-content></md-card>",
1646
+ styles: [".example-h2 { margin: 10px; } .example-section { display: flex; align-content: center; align-items: center; height: 60px; } .example-margin { margin: 10px; } "],
1647
+ },] },
1648
+ ];
1649
+ /**
1650
+ * @nocollapse
1651
+ */
1652
+ SlideToggleConfigurableExample.ctorParameters = function () { return []; };
1653
+ /**
1654
+ * \@title Slide-toggle with forms
1655
+ */
1656
+ var SlideToggleFormsExample = (function () {
1657
+ /**
1658
+ * @param {?} formBuilder
1659
+ */
1660
+ function SlideToggleFormsExample(formBuilder) {
1661
+ this.isChecked = true;
1662
+ this.formGroup = formBuilder.group({
1663
+ enableWifi: '',
1664
+ acceptTerms: ['', _angular_forms.Validators.requiredTrue]
1665
+ });
1666
+ }
1667
+ /**
1668
+ * @param {?} formValue
1669
+ * @return {?}
1670
+ */
1671
+ SlideToggleFormsExample.prototype.onFormSubmit = function (formValue) {
1672
+ alert(JSON.stringify(formValue, null, 2));
1673
+ };
1674
+ return SlideToggleFormsExample;
1675
+ }());
1676
+ SlideToggleFormsExample.decorators = [
1677
+ { type: _angular_core.Component, args: [{
1678
+ selector: 'slide-toggle-forms-example',
1679
+ template: "<p>Slide Toggle using a simple NgModel.</p><md-slide-toggle [(ngModel)]=\"isChecked\">Slide Toggle Checked: {{ isChecked }}</md-slide-toggle><p>Slide Toggle inside of a Template-driven form</p><form class=\"example-form\" #form=\"ngForm\" (ngSubmit)=\"onFormSubmit(form.value)\" ngNativeValidate><md-slide-toggle ngModel name=\"enableWifi\">Enable Wifi</md-slide-toggle><md-slide-toggle ngModel name=\"acceptTerms\" required>Accept Terms of Service</md-slide-toggle><button md-raised-button type=\"submit\">Save Settings</button></form><p>Slide Toggle inside of a Reactive form</p><form class=\"example-form\" [formGroup]=\"formGroup\" (ngSubmit)=\"onFormSubmit(formGroup.value)\" ngNativeValidate><md-slide-toggle formControlName=\"enableWifi\">Enable Wifi</md-slide-toggle><md-slide-toggle formControlName=\"acceptTerms\">Accept Terms of Service</md-slide-toggle><p>Form Group Status: {{ formGroup.status}}</p><button md-rasied-button type=\"submit\">Save Settings</button></form>",
1680
+ styles: [".example-form md-slide-toggle { margin: 8px 0; display: block; } "],
1681
+ },] },
1682
+ ];
1683
+ /**
1684
+ * @nocollapse
1685
+ */
1686
+ SlideToggleFormsExample.ctorParameters = function () { return [
1687
+ { type: _angular_forms.FormBuilder, },
1688
+ ]; };
1689
+ /**
1690
+ * \@title Basic slide-toggles
1691
+ */
1692
+ var SlideToggleOverviewExample = (function () {
1693
+ function SlideToggleOverviewExample() {
1694
+ }
1695
+ return SlideToggleOverviewExample;
1696
+ }());
1697
+ SlideToggleOverviewExample.decorators = [
1698
+ { type: _angular_core.Component, args: [{
1699
+ selector: 'slide-toggle-overview-example',
1700
+ template: "<md-slide-toggle>Slide me!</md-slide-toggle>",
1701
+ },] },
1702
+ ];
1703
+ /**
1704
+ * @nocollapse
1705
+ */
1706
+ SlideToggleOverviewExample.ctorParameters = function () { return []; };
1707
+ /**
1708
+ * \@title Configurable slider
1709
+ */
1710
+ var SliderConfigurableExample = (function () {
1711
+ function SliderConfigurableExample() {
1712
+ this.autoTicks = false;
1713
+ this.disabled = false;
1714
+ this.invert = false;
1715
+ this.max = 100;
1716
+ this.min = 0;
1717
+ this.showTicks = false;
1718
+ this.step = 1;
1719
+ this.thumbLabel = false;
1720
+ this.value = 0;
1721
+ this.vertical = false;
1722
+ this._tickInterval = 1;
1723
+ }
1724
+ Object.defineProperty(SliderConfigurableExample.prototype, "tickInterval", {
1725
+ /**
1726
+ * @return {?}
1727
+ */
1728
+ get: function () {
1729
+ return this.showTicks ? (this.autoTicks ? 'auto' : this._tickInterval) : 0;
1730
+ },
1731
+ /**
1732
+ * @param {?} v
1733
+ * @return {?}
1734
+ */
1735
+ set: function (v) {
1736
+ this._tickInterval = Number(v);
1737
+ },
1738
+ enumerable: true,
1739
+ configurable: true
1740
+ });
1741
+ return SliderConfigurableExample;
1742
+ }());
1743
+ SliderConfigurableExample.decorators = [
1744
+ { type: _angular_core.Component, args: [{
1745
+ selector: 'slider-configurable-example',
1746
+ template: "<md-card><md-card-content><h2 class=\"example-h2\">Slider configuration</h2><section class=\"example-section\"><md-form-field class=\"example-margin\"><input mdInput type=\"number\" placeholder=\"Value\" [(ngModel)]=\"value\"></md-form-field><md-form-field class=\"example-margin\"><input mdInput type=\"number\" placeholder=\"Min value\" [(ngModel)]=\"min\"></md-form-field><md-form-field class=\"example-margin\"><input mdInput type=\"number\" placeholder=\"Max value\" [(ngModel)]=\"max\"></md-form-field><md-form-field class=\"example-margin\"><input mdInput type=\"number\" placeholder=\"Step size\" [(ngModel)]=\"step\"></md-form-field></section><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"showTicks\">Show ticks</md-checkbox><md-checkbox class=\"example-margin\" [(ngModel)]=\"autoTicks\" *ngIf=\"showTicks\">Auto ticks</md-checkbox><md-form-field class=\"example-margin\" *ngIf=\"showTicks && !autoTicks\"><input mdInput type=\"number\" placeholder=\"Tick interval\" [(ngModel)]=\"tickInterval\"></md-form-field></section><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"thumbLabel\">Show thumb label</md-checkbox></section><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"vertical\">Vertical</md-checkbox><md-checkbox class=\"example-margin\" [(ngModel)]=\"invert\">Inverted</md-checkbox></section><section class=\"example-section\"><md-checkbox class=\"example-margin\" [(ngModel)]=\"disabled\">Disabled</md-checkbox></section></md-card-content></md-card><md-card class=\"result\"><md-card-content><h2 class=\"example-h2\">Result</h2><md-slider class=\"example-margin\" [disabled]=\"disabled\" [invert]=\"invert\" [max]=\"max\" [min]=\"min\" [step]=\"step\" [thumb-label]=\"thumbLabel\" [tick-interval]=\"tickInterval\" [value]=\"value\" [vertical]=\"vertical\"></md-slider></md-card-content></md-card>",
1747
+ styles: [".example-h2 { margin: 10px; } .example-section { display: flex; align-content: center; align-items: center; height: 60px; } .example-margin { margin: 10px; } .mat-slider-horizontal { width: 300px; } .mat-slider-vertical { height: 300px; } "],
1748
+ encapsulation: _angular_core.ViewEncapsulation.None,
1749
+ preserveWhitespaces: false,
1750
+ },] },
1751
+ ];
1752
+ /**
1753
+ * @nocollapse
1754
+ */
1755
+ SliderConfigurableExample.ctorParameters = function () { return []; };
1756
+ /**
1757
+ * \@title Basic slider
1758
+ */
1759
+ var SliderOverviewExample = (function () {
1760
+ function SliderOverviewExample() {
1761
+ }
1762
+ return SliderOverviewExample;
1763
+ }());
1764
+ SliderOverviewExample.decorators = [
1765
+ { type: _angular_core.Component, args: [{
1766
+ selector: 'slider-overview-example',
1767
+ template: "<md-slider></md-slider>",
1768
+ styles: ["/** No CSS for this example */ md-slider { width: 300px; } "],
1769
+ },] },
1770
+ ];
1771
+ /**
1772
+ * @nocollapse
1773
+ */
1774
+ SliderOverviewExample.ctorParameters = function () { return []; };
1775
+ /**
1776
+ * \@title Snack-bar with a custom component
1777
+ */
1778
+ var SnackBarComponentExample = (function () {
1779
+ /**
1780
+ * @param {?} snackBar
1781
+ */
1782
+ function SnackBarComponentExample(snackBar) {
1783
+ this.snackBar = snackBar;
1784
+ }
1785
+ /**
1786
+ * @return {?}
1787
+ */
1788
+ SnackBarComponentExample.prototype.openSnackBar = function () {
1789
+ this.snackBar.openFromComponent(PizzaPartyComponent, {
1790
+ duration: 500,
1791
+ });
1792
+ };
1793
+ return SnackBarComponentExample;
1794
+ }());
1795
+ SnackBarComponentExample.decorators = [
1796
+ { type: _angular_core.Component, args: [{
1797
+ selector: 'snack-bar-component-example',
1798
+ template: "<button md-button (click)=\"openSnackBar()\" aria-label=\"Show an example snack-bar\">Pizza party</button>",
1799
+ },] },
1800
+ ];
1801
+ /**
1802
+ * @nocollapse
1803
+ */
1804
+ SnackBarComponentExample.ctorParameters = function () { return [
1805
+ { type: _angular_material.MdSnackBar, },
1806
+ ]; };
1807
+ var PizzaPartyComponent = (function () {
1808
+ function PizzaPartyComponent() {
1809
+ }
1810
+ return PizzaPartyComponent;
1811
+ }());
1812
+ PizzaPartyComponent.decorators = [
1813
+ { type: _angular_core.Component, args: [{
1814
+ selector: 'snack-bar-component-example-snack',
1815
+ template: "<span class=\"example-pizza-party\">Pizza party!!! 🍕</span>",
1816
+ styles: [".example-pizza-party { color: hotpink; } "],
1817
+ },] },
1818
+ ];
1819
+ /**
1820
+ * @nocollapse
1821
+ */
1822
+ PizzaPartyComponent.ctorParameters = function () { return []; };
1823
+ /**
1824
+ * \@title Basic snack-bar
1825
+ */
1826
+ var SnackBarOverviewExample = (function () {
1827
+ /**
1828
+ * @param {?} snackBar
1829
+ */
1830
+ function SnackBarOverviewExample(snackBar) {
1831
+ this.snackBar = snackBar;
1832
+ }
1833
+ /**
1834
+ * @param {?} message
1835
+ * @param {?} action
1836
+ * @return {?}
1837
+ */
1838
+ SnackBarOverviewExample.prototype.openSnackBar = function (message, action) {
1839
+ this.snackBar.open(message, action, {
1840
+ duration: 2000,
1841
+ });
1842
+ };
1843
+ return SnackBarOverviewExample;
1844
+ }());
1845
+ SnackBarOverviewExample.decorators = [
1846
+ { type: _angular_core.Component, args: [{
1847
+ selector: 'snack-bar-overview-example',
1848
+ template: "<md-form-field><input mdInput value=\"Disco party!\" placeholder=\"Message\" #message></md-form-field><md-form-field><input mdInput value=\"Dance\" placeholder=\"Action\" #action></md-form-field><button md-button (click)=\"openSnackBar(message.value, action.value)\">Show snack-bar</button>",
1849
+ },] },
1850
+ ];
1851
+ /**
1852
+ * @nocollapse
1853
+ */
1854
+ SnackBarOverviewExample.ctorParameters = function () { return [
1855
+ { type: _angular_material.MdSnackBar, },
1856
+ ]; };
1857
+ /**
1858
+ * \@title Sorting overview
1859
+ */
1860
+ var SortOverviewExample = (function () {
1861
+ function SortOverviewExample() {
1862
+ this.desserts = [
1863
+ { name: 'Frozen yogurt', calories: '159', fat: '6', carbs: '24', protein: '4' },
1864
+ { name: 'Ice cream sandwich', calories: '237', fat: '9', carbs: '37', protein: '4' },
1865
+ { name: 'Eclair', calories: '262', fat: '16', carbs: '24', protein: '6' },
1866
+ { name: 'Cupcake', calories: '305', fat: '4', carbs: '67', protein: '4' },
1867
+ { name: 'Gingerbread', calories: '356', fat: '16', carbs: '49', protein: '4' },
1868
+ ];
1869
+ this.sortedData = this.desserts.slice();
1870
+ }
1871
+ /**
1872
+ * @param {?} sort
1873
+ * @return {?}
1874
+ */
1875
+ SortOverviewExample.prototype.sortData = function (sort) {
1876
+ var /** @type {?} */ data = this.desserts.slice();
1877
+ if (!sort.active || sort.direction == '') {
1878
+ this.sortedData = data;
1879
+ return;
1880
+ }
1881
+ this.sortedData = data.sort(function (a, b) {
1882
+ var /** @type {?} */ isAsc = sort.direction == 'asc';
1883
+ switch (sort.active) {
1884
+ case 'name': return compare(a.name, b.name, isAsc);
1885
+ case 'calories': return compare(+a.calories, +b.calories, isAsc);
1886
+ case 'fat': return compare(+a.fat, +b.fat, isAsc);
1887
+ case 'carbs': return compare(+a.carbs, +b.carbs, isAsc);
1888
+ case 'protein': return compare(+a.protein, +b.protein, isAsc);
1889
+ default: return 0;
1890
+ }
1891
+ });
1892
+ };
1893
+ return SortOverviewExample;
1894
+ }());
1895
+ SortOverviewExample.decorators = [
1896
+ { type: _angular_core.Component, args: [{
1897
+ selector: 'sort-overview-example',
1898
+ template: "<table mdSort (mdSortChange)=\"sortData($event)\"><tr><th md-sort-header=\"name\">Dessert (100g)</th><th md-sort-header=\"calories\">Calories</th><th md-sort-header=\"fat\">Fat (g)</th><th md-sort-header=\"carbs\">Carbs (g)</th><th md-sort-header=\"protein\">Protein (g)</th></tr><tr *ngFor=\"let dessert of sortedData\"><td>{{dessert.name}}</td><td>{{dessert.calories}}</td><td>{{dessert.fat}}</td><td>{{dessert.carbs}}</td><td>{{dessert.protein}}</td></tr></table>",
1899
+ styles: [".mat-sort-header-container { align-items: center; } "],
1900
+ },] },
1901
+ ];
1902
+ /**
1903
+ * @nocollapse
1904
+ */
1905
+ SortOverviewExample.ctorParameters = function () { return []; };
1906
+ /**
1907
+ * @param {?} a
1908
+ * @param {?} b
1909
+ * @param {?} isAsc
1910
+ * @return {?}
1911
+ */
1912
+ function compare(a, b, isAsc) {
1913
+ return (a < b ? -1 : 1) * (isAsc ? 1 : -1);
1914
+ }
1915
+ /**
1916
+ * \@title Stepper overview
1917
+ */
1918
+ var StepperOverviewExample = (function () {
1919
+ /**
1920
+ * @param {?} _formBuilder
1921
+ */
1922
+ function StepperOverviewExample(_formBuilder) {
1923
+ this._formBuilder = _formBuilder;
1924
+ this.isLinear = false;
1925
+ }
1926
+ /**
1927
+ * @return {?}
1928
+ */
1929
+ StepperOverviewExample.prototype.ngOnInit = function () {
1930
+ this.firstFormGroup = this._formBuilder.group({
1931
+ firstCtrl: ['', _angular_forms.Validators.required]
1932
+ });
1933
+ this.secondFormGroup = this._formBuilder.group({
1934
+ secondCtrl: ['', _angular_forms.Validators.required]
1935
+ });
1936
+ };
1937
+ return StepperOverviewExample;
1938
+ }());
1939
+ StepperOverviewExample.decorators = [
1940
+ { type: _angular_core.Component, args: [{
1941
+ selector: 'stepper-overview-example',
1942
+ template: "<button (click)=\"isLinear=!isLinear\" id=\"toggle-linear\">Enable linear</button><md-horizontal-stepper [linear]=\"isLinear\"><md-step [stepControl]=\"firstFormGroup\"><form [formGroup]=\"firstFormGroup\"><ng-template mdStepLabel>Fill out your name</ng-template><md-form-field><input mdInput placeholder=\"Last name, First name\" formControlName=\"firstCtrl\" required></md-form-field><div><button md-button mdStepperNext>Next</button></div></form></md-step><md-step [stepControl]=\"secondFormGroup\"><form [formGroup]=\"secondFormGroup\"><ng-template mdStepLabel>Fill out your address</ng-template><md-form-field><input mdInput placeholder=\"Address\" formControlName=\"secondCtrl\" required></md-form-field><div><button md-button mdStepperPrevious>Back</button> <button md-button mdStepperNext>Next</button></div></form></md-step><md-step><ng-template mdStepLabel>Done</ng-template>You are now done.<div><button md-button mdStepperPrevious>Back</button></div></md-step></md-horizontal-stepper>",
1943
+ styles: ["/** No CSS for this example */ "]
1944
+ },] },
1945
+ ];
1946
+ /**
1947
+ * @nocollapse
1948
+ */
1949
+ StepperOverviewExample.ctorParameters = function () { return [
1950
+ { type: _angular_forms.FormBuilder, },
1951
+ ]; };
1952
+ /**
1953
+ * \@title Basic table
1954
+ */
1955
+ var TableBasicExample = (function () {
1956
+ function TableBasicExample() {
1957
+ this.displayedColumns = ['position', 'name', 'weight', 'symbol'];
1958
+ this.dataSource = new ExampleDataSource$1();
1959
+ }
1960
+ return TableBasicExample;
1961
+ }());
1962
+ TableBasicExample.decorators = [
1963
+ { type: _angular_core.Component, args: [{
1964
+ selector: 'table-basic-example',
1965
+ styles: [".example-container { display: flex; flex-direction: column; max-height: 500px; min-width: 300px; } .mat-table { overflow: auto; max-height: 500px; } "],
1966
+ template: "<div class=\"example-container mat-elevation-z8\"><md-table #table [dataSource]=\"dataSource\"><ng-container mdColumnDef=\"position\"><md-header-cell *mdHeaderCellDef>No.</md-header-cell><md-cell *mdCellDef=\"let element\">{{element.position}}</md-cell></ng-container><ng-container mdColumnDef=\"name\"><md-header-cell *mdHeaderCellDef>Name</md-header-cell><md-cell *mdCellDef=\"let element\">{{element.name}}</md-cell></ng-container><ng-container mdColumnDef=\"weight\"><md-header-cell *mdHeaderCellDef>Weight</md-header-cell><md-cell *mdCellDef=\"let element\">{{element.weight}}</md-cell></ng-container><ng-container mdColumnDef=\"symbol\"><md-header-cell *mdHeaderCellDef>Symbol</md-header-cell><md-cell *mdCellDef=\"let element\">{{element.symbol}}</md-cell></ng-container><md-header-row *mdHeaderRowDef=\"displayedColumns\"></md-header-row><md-row *mdRowDef=\"let row; columns: displayedColumns;\"></md-row></md-table></div>",
1967
+ },] },
1968
+ ];
1969
+ /**
1970
+ * @nocollapse
1971
+ */
1972
+ TableBasicExample.ctorParameters = function () { return []; };
1973
+ var data = [
1974
+ { position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H' },
1975
+ { position: 2, name: 'Helium', weight: 4.0026, symbol: 'He' },
1976
+ { position: 3, name: 'Lithium', weight: 6.941, symbol: 'Li' },
1977
+ { position: 4, name: 'Beryllium', weight: 9.0122, symbol: 'Be' },
1978
+ { position: 5, name: 'Boron', weight: 10.811, symbol: 'B' },
1979
+ { position: 6, name: 'Carbon', weight: 12.0107, symbol: 'C' },
1980
+ { position: 7, name: 'Nitrogen', weight: 14.0067, symbol: 'N' },
1981
+ { position: 8, name: 'Oxygen', weight: 15.9994, symbol: 'O' },
1982
+ { position: 9, name: 'Fluorine', weight: 18.9984, symbol: 'F' },
1983
+ { position: 10, name: 'Neon', weight: 20.1797, symbol: 'Ne' },
1984
+ { position: 11, name: 'Sodium', weight: 22.9897, symbol: 'Na' },
1985
+ { position: 12, name: 'Magnesium', weight: 24.305, symbol: 'Mg' },
1986
+ { position: 13, name: 'Aluminum', weight: 26.9815, symbol: 'Al' },
1987
+ { position: 14, name: 'Silicon', weight: 28.0855, symbol: 'Si' },
1988
+ { position: 15, name: 'Phosphorus', weight: 30.9738, symbol: 'P' },
1989
+ { position: 16, name: 'Sulfur', weight: 32.065, symbol: 'S' },
1990
+ { position: 17, name: 'Chlorine', weight: 35.453, symbol: 'Cl' },
1991
+ { position: 18, name: 'Argon', weight: 39.948, symbol: 'Ar' },
1992
+ { position: 19, name: 'Potassium', weight: 39.0983, symbol: 'K' },
1993
+ { position: 20, name: 'Calcium', weight: 40.078, symbol: 'Ca' },
1994
+ ];
1995
+ /**
1996
+ * Data source to provide what data should be rendered in the table. The observable provided
1997
+ * in connect should emit exactly the data that should be rendered by the table. If the data is
1998
+ * altered, the observable should emit that new set of data on the stream. In our case here,
1999
+ * we return a stream that contains only one set of data that doesn't change.
2000
+ */
2001
+ var ExampleDataSource$1 = (function (_super) {
2002
+ __extends(ExampleDataSource$1, _super);
2003
+ function ExampleDataSource$1() {
2004
+ return _super !== null && _super.apply(this, arguments) || this;
2005
+ }
2006
+ /**
2007
+ * Connect function called by the table to retrieve one stream containing the data to render.
2008
+ * @return {?}
2009
+ */
2010
+ ExampleDataSource$1.prototype.connect = function () {
2011
+ return rxjs_Observable.Observable.of(data);
2012
+ };
2013
+ /**
2014
+ * @return {?}
2015
+ */
2016
+ ExampleDataSource$1.prototype.disconnect = function () { };
2017
+ return ExampleDataSource$1;
2018
+ }(_angular_cdk_collections.DataSource));
2019
+ /**
2020
+ * \@title Table with filtering
2021
+ */
2022
+ var TableFilteringExample = (function () {
2023
+ function TableFilteringExample() {
2024
+ this.displayedColumns = ['userId', 'userName', 'progress', 'color'];
2025
+ this.exampleDatabase = new ExampleDatabase$1();
2026
+ }
2027
+ /**
2028
+ * @return {?}
2029
+ */
2030
+ TableFilteringExample.prototype.ngOnInit = function () {
2031
+ var _this = this;
2032
+ this.dataSource = new ExampleDataSource$2(this.exampleDatabase);
2033
+ rxjs_Observable.Observable.fromEvent(this.filter.nativeElement, 'keyup')
2034
+ .debounceTime(150)
2035
+ .distinctUntilChanged()
2036
+ .subscribe(function () {
2037
+ if (!_this.dataSource) {
2038
+ return;
2039
+ }
2040
+ _this.dataSource.filter = _this.filter.nativeElement.value;
2041
+ });
2042
+ };
2043
+ return TableFilteringExample;
2044
+ }());
2045
+ TableFilteringExample.decorators = [
2046
+ { type: _angular_core.Component, args: [{
2047
+ selector: 'table-filtering-example',
2048
+ styles: ["/* Structure */ .example-container { display: flex; flex-direction: column; min-width: 300px; } .example-header { min-height: 64px; display: flex; align-items: baseline; padding: 8px 24px 0; font-size: 20px; justify-content: space-between; } .mat-form-field { font-size: 14px; flex-grow: 1; margin-left: 32px; } .mat-table { overflow: auto; max-height: 500px; } "],
2049
+ template: "<div class=\"example-container mat-elevation-z8\"><div class=\"example-header\"><md-form-field floatPlaceholder=\"never\"><input mdInput #filter placeholder=\"Filter users\"></md-form-field></div><md-table #table [dataSource]=\"dataSource\"><ng-container mdColumnDef=\"userId\"><md-header-cell *mdHeaderCellDef>ID</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.id}}</md-cell></ng-container><ng-container mdColumnDef=\"progress\"><md-header-cell *mdHeaderCellDef>Progress</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.progress}}%</md-cell></ng-container><ng-container mdColumnDef=\"userName\"><md-header-cell *mdHeaderCellDef>Name</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.name}}</md-cell></ng-container><ng-container mdColumnDef=\"color\"><md-header-cell *mdHeaderCellDef>Color</md-header-cell><md-cell *mdCellDef=\"let row\" [style.color]=\"row.color\">{{row.color}}</md-cell></ng-container><md-header-row *mdHeaderRowDef=\"displayedColumns\"></md-header-row><md-row *mdRowDef=\"let row; columns: displayedColumns;\"></md-row></md-table></div>",
2050
+ },] },
2051
+ ];
2052
+ /**
2053
+ * @nocollapse
2054
+ */
2055
+ TableFilteringExample.ctorParameters = function () { return []; };
2056
+ TableFilteringExample.propDecorators = {
2057
+ 'filter': [{ type: _angular_core.ViewChild, args: ['filter',] },],
2058
+ };
2059
+ /**
2060
+ * Constants used to fill up our data base.
2061
+ */
2062
+ var COLORS$1 = ['maroon', 'red', 'orange', 'yellow', 'olive', 'green', 'purple',
2063
+ 'fuchsia', 'lime', 'teal', 'aqua', 'blue', 'navy', 'black', 'gray'];
2064
+ var NAMES$1 = ['Maia', 'Asher', 'Olivia', 'Atticus', 'Amelia', 'Jack',
2065
+ 'Charlotte', 'Theodore', 'Isla', 'Oliver', 'Isabella', 'Jasper',
2066
+ 'Cora', 'Levi', 'Violet', 'Arthur', 'Mia', 'Thomas', 'Elizabeth'];
2067
+ /**
2068
+ * An example database that the data source uses to retrieve data for the table.
2069
+ */
2070
+ var ExampleDatabase$1 = (function () {
2071
+ function ExampleDatabase$1() {
2072
+ /**
2073
+ * Stream that emits whenever the data has been modified.
2074
+ */
2075
+ this.dataChange = new rxjs_BehaviorSubject.BehaviorSubject([]);
2076
+ // Fill up the database with 100 users.
2077
+ for (var i = 0; i < 100; i++) {
2078
+ this.addUser();
2079
+ }
2080
+ }
2081
+ Object.defineProperty(ExampleDatabase$1.prototype, "data", {
2082
+ /**
2083
+ * @return {?}
2084
+ */
2085
+ get: function () { return this.dataChange.value; },
2086
+ enumerable: true,
2087
+ configurable: true
2088
+ });
2089
+ /**
2090
+ * Adds a new user to the database.
2091
+ * @return {?}
2092
+ */
2093
+ ExampleDatabase$1.prototype.addUser = function () {
2094
+ var /** @type {?} */ copiedData = this.data.slice();
2095
+ copiedData.push(this.createNewUser());
2096
+ this.dataChange.next(copiedData);
2097
+ };
2098
+ /**
2099
+ * Builds and returns a new User.
2100
+ * @return {?}
2101
+ */
2102
+ ExampleDatabase$1.prototype.createNewUser = function () {
2103
+ var /** @type {?} */ name = NAMES$1[Math.round(Math.random() * (NAMES$1.length - 1))] + ' ' +
2104
+ NAMES$1[Math.round(Math.random() * (NAMES$1.length - 1))].charAt(0) + '.';
2105
+ return {
2106
+ id: (this.data.length + 1).toString(),
2107
+ name: name,
2108
+ progress: Math.round(Math.random() * 100).toString(),
2109
+ color: COLORS$1[Math.round(Math.random() * (COLORS$1.length - 1))]
2110
+ };
2111
+ };
2112
+ return ExampleDatabase$1;
2113
+ }());
2114
+ /**
2115
+ * Data source to provide what data should be rendered in the table. Note that the data source
2116
+ * can retrieve its data in any way. In this case, the data source is provided a reference
2117
+ * to a common data base, ExampleDatabase. It is not the data source's responsibility to manage
2118
+ * the underlying data. Instead, it only needs to take the data and send the table exactly what
2119
+ * should be rendered.
2120
+ */
2121
+ var ExampleDataSource$2 = (function (_super) {
2122
+ __extends(ExampleDataSource$2, _super);
2123
+ /**
2124
+ * @param {?} _exampleDatabase
2125
+ */
2126
+ function ExampleDataSource$2(_exampleDatabase) {
2127
+ var _this = _super.call(this) || this;
2128
+ _this._exampleDatabase = _exampleDatabase;
2129
+ _this._filterChange = new rxjs_BehaviorSubject.BehaviorSubject('');
2130
+ return _this;
2131
+ }
2132
+ Object.defineProperty(ExampleDataSource$2.prototype, "filter", {
2133
+ /**
2134
+ * @return {?}
2135
+ */
2136
+ get: function () { return this._filterChange.value; },
2137
+ /**
2138
+ * @param {?} filter
2139
+ * @return {?}
2140
+ */
2141
+ set: function (filter) { this._filterChange.next(filter); },
2142
+ enumerable: true,
2143
+ configurable: true
2144
+ });
2145
+ /**
2146
+ * Connect function called by the table to retrieve one stream containing the data to render.
2147
+ * @return {?}
2148
+ */
2149
+ ExampleDataSource$2.prototype.connect = function () {
2150
+ var _this = this;
2151
+ var /** @type {?} */ displayDataChanges = [
2152
+ this._exampleDatabase.dataChange,
2153
+ this._filterChange,
2154
+ ];
2155
+ return rxjs_Observable.Observable.merge.apply(rxjs_Observable.Observable, displayDataChanges).map(function () {
2156
+ return _this._exampleDatabase.data.slice().filter(function (item) {
2157
+ var /** @type {?} */ searchStr = (item.name + item.color).toLowerCase();
2158
+ return searchStr.indexOf(_this.filter.toLowerCase()) != -1;
2159
+ });
2160
+ });
2161
+ };
2162
+ /**
2163
+ * @return {?}
2164
+ */
2165
+ ExampleDataSource$2.prototype.disconnect = function () { };
2166
+ return ExampleDataSource$2;
2167
+ }(_angular_cdk_collections.DataSource));
2168
+ /**
2169
+ * \@title Table retrieving data through HTTP
2170
+ */
2171
+ var TableHttpExample = (function () {
2172
+ /**
2173
+ * @param {?} http
2174
+ */
2175
+ function TableHttpExample(http) {
2176
+ this.http = http;
2177
+ this.displayedColumns = ['created_at', 'state', 'number', 'title'];
2178
+ }
2179
+ /**
2180
+ * @return {?}
2181
+ */
2182
+ TableHttpExample.prototype.ngOnInit = function () {
2183
+ this.exampleDatabase = new ExampleHttpDao(this.http);
2184
+ this.dataSource = new ExampleDataSource$3(/** @type {?} */ ((this.exampleDatabase)), this.paginator, this.sort);
2185
+ };
2186
+ return TableHttpExample;
2187
+ }());
2188
+ TableHttpExample.decorators = [
2189
+ { type: _angular_core.Component, args: [{
2190
+ selector: 'table-http-example',
2191
+ styles: ["/* Structure */ .example-container { display: flex; flex-direction: column; max-height: 500px; min-width: 300px; position: relative; } .example-header { min-height: 64px; display: flex; align-items: center; padding-left: 24px; font-size: 20px; } .example-table { overflow: auto; min-height: 300px; } .mat-column-title { text-overflow: ellipsis; white-space: nowrap; flex: 1; overflow: hidden; } /* Column Widths */ .mat-column-number, .mat-column-state { max-width: 64px; } .mat-column-created { max-width: 124px; } .example-loading-shade { position: absolute; top: 0; left: 0; bottom: 56px; right: 0; background: rgba(0, 0, 0, 0.15); z-index: 1; display: flex; align-items: center; justify-content: center; } .example-rate-limit-reached { color: #980000; max-width: 360px; text-align: center; } "],
2192
+ template: "<div class=\"example-container mat-elevation-z8\"><div class=\"example-loading-shade\" *ngIf=\"dataSource.isLoadingResults || dataSource.isRateLimitReached\"><md-spinner *ngIf=\"dataSource.isLoadingResults\"></md-spinner><div class=\"example-rate-limit-reached\" *ngIf=\"dataSource.isRateLimitReached\">GitHub's API rate limit has been reached. It will be reset in one minute.</div></div><md-table #table [dataSource]=\"dataSource\" class=\"example-table\" mdSort mdSortActive=\"created_at\" mdSortDisableClear mdSortDirection=\"asc\"><ng-container mdColumnDef=\"number\"><md-header-cell *mdHeaderCellDef>#</md-header-cell><md-cell *mdCellDef=\"let row\">{{ row.number }}</md-cell></ng-container><ng-container mdColumnDef=\"title\"><md-header-cell *mdHeaderCellDef>Title</md-header-cell><md-cell *mdCellDef=\"let row\">{{ row.title }}</md-cell></ng-container><ng-container mdColumnDef=\"state\"><md-header-cell *mdHeaderCellDef>State</md-header-cell><md-cell *mdCellDef=\"let row\">{{ row.state }}</md-cell></ng-container><ng-container mdColumnDef=\"created_at\"><md-header-cell *mdHeaderCellDef md-sort-header disableClear=\"true\">Created</md-header-cell><md-cell *mdCellDef=\"let row\">{{ row.created_at | date }}</md-cell></ng-container><md-header-row *mdHeaderRowDef=\"displayedColumns\"></md-header-row><md-row *mdRowDef=\"let row; columns: displayedColumns;\"></md-row></md-table><md-paginator [length]=\"dataSource.resultsLength\" [pageSize]=\"30\"></md-paginator></div>",
2193
+ },] },
2194
+ ];
2195
+ /**
2196
+ * @nocollapse
2197
+ */
2198
+ TableHttpExample.ctorParameters = function () { return [
2199
+ { type: _angular_http.Http, },
2200
+ ]; };
2201
+ TableHttpExample.propDecorators = {
2202
+ 'paginator': [{ type: _angular_core.ViewChild, args: [_angular_material.MdPaginator,] },],
2203
+ 'sort': [{ type: _angular_core.ViewChild, args: [_angular_material.MdSort,] },],
2204
+ };
2205
+ /**
2206
+ * An example database that the data source uses to retrieve data for the table.
2207
+ */
2208
+ var ExampleHttpDao = (function () {
2209
+ /**
2210
+ * @param {?} http
2211
+ */
2212
+ function ExampleHttpDao(http) {
2213
+ this.http = http;
2214
+ }
2215
+ /**
2216
+ * @param {?} sort
2217
+ * @param {?} order
2218
+ * @param {?} page
2219
+ * @return {?}
2220
+ */
2221
+ ExampleHttpDao.prototype.getRepoIssues = function (sort, order, page) {
2222
+ var /** @type {?} */ href = 'https://api.github.com/search/issues';
2223
+ var /** @type {?} */ requestUrl = href + "?q=repo:angular/material2&sort=" + sort + "&order=" + order + "&page=" + (page + 1);
2224
+ return this.http.get(requestUrl)
2225
+ .map(function (response) { return (response.json()); });
2226
+ };
2227
+ return ExampleHttpDao;
2228
+ }());
2229
+ /**
2230
+ * Data source to provide what data should be rendered in the table. Note that the data source
2231
+ * can retrieve its data in any way. In this case, the data source is provided a reference
2232
+ * to a common data base, ExampleHttpDao. It is not the data source's responsibility to manage
2233
+ * the underlying data. Instead, it only needs to take the data and send the table exactly what
2234
+ * should be rendered.
2235
+ */
2236
+ var ExampleDataSource$3 = (function (_super) {
2237
+ __extends(ExampleDataSource$3, _super);
2238
+ /**
2239
+ * @param {?} exampleDatabase
2240
+ * @param {?} paginator
2241
+ * @param {?} sort
2242
+ */
2243
+ function ExampleDataSource$3(exampleDatabase, paginator, sort) {
2244
+ var _this = _super.call(this) || this;
2245
+ _this.exampleDatabase = exampleDatabase;
2246
+ _this.paginator = paginator;
2247
+ _this.sort = sort;
2248
+ // The number of issues returned by github matching the query.
2249
+ _this.resultsLength = 0;
2250
+ _this.isLoadingResults = false;
2251
+ _this.isRateLimitReached = false;
2252
+ return _this;
2253
+ }
2254
+ /**
2255
+ * Connect function called by the table to retrieve one stream containing the data to render.
2256
+ * @return {?}
2257
+ */
2258
+ ExampleDataSource$3.prototype.connect = function () {
2259
+ var _this = this;
2260
+ var /** @type {?} */ displayDataChanges = [
2261
+ this.sort.sortChange,
2262
+ this.paginator.page
2263
+ ];
2264
+ // If the user changes the sort order, reset back to the first page.
2265
+ this.sort.sortChange.subscribe(function () { return _this.paginator.pageIndex = 0; });
2266
+ return rxjs_Observable.Observable.merge.apply(rxjs_Observable.Observable, displayDataChanges).startWith(null)
2267
+ .switchMap(function () {
2268
+ _this.isLoadingResults = true;
2269
+ return _this.exampleDatabase.getRepoIssues(_this.sort.active, _this.sort.direction, _this.paginator.pageIndex);
2270
+ })
2271
+ .map(function (data) {
2272
+ // Flip flag to show that loading has finished.
2273
+ _this.isLoadingResults = false;
2274
+ _this.isRateLimitReached = false;
2275
+ _this.resultsLength = data.total_count;
2276
+ return data.items;
2277
+ })
2278
+ .catch(function () {
2279
+ _this.isLoadingResults = false;
2280
+ // Catch if the GitHub API has reached its rate limit. Return empty data.
2281
+ _this.isRateLimitReached = true;
2282
+ return rxjs_Observable.Observable.of([]);
2283
+ });
2284
+ };
2285
+ /**
2286
+ * @return {?}
2287
+ */
2288
+ ExampleDataSource$3.prototype.disconnect = function () { };
2289
+ return ExampleDataSource$3;
2290
+ }(_angular_cdk_collections.DataSource));
2291
+ /**
2292
+ * \@title Feature-rich data table
2293
+ */
2294
+ var TableOverviewExample = (function () {
2295
+ function TableOverviewExample() {
2296
+ this.displayedColumns = ['select', 'userId', 'userName', 'progress', 'color'];
2297
+ this.exampleDatabase = new ExampleDatabase$2();
2298
+ this.selection = new _angular_cdk_collections.SelectionModel(true, []);
2299
+ }
2300
+ /**
2301
+ * @return {?}
2302
+ */
2303
+ TableOverviewExample.prototype.ngOnInit = function () {
2304
+ var _this = this;
2305
+ this.dataSource = new ExampleDataSource$4(this.exampleDatabase, this.paginator, this.sort);
2306
+ rxjs_Observable.Observable.fromEvent(this.filter.nativeElement, 'keyup')
2307
+ .debounceTime(150)
2308
+ .distinctUntilChanged()
2309
+ .subscribe(function () {
2310
+ if (!_this.dataSource) {
2311
+ return;
2312
+ }
2313
+ _this.dataSource.filter = _this.filter.nativeElement.value;
2314
+ });
2315
+ };
2316
+ /**
2317
+ * @return {?}
2318
+ */
2319
+ TableOverviewExample.prototype.isAllSelected = function () {
2320
+ if (!this.dataSource) {
2321
+ return false;
2322
+ }
2323
+ if (this.selection.isEmpty()) {
2324
+ return false;
2325
+ }
2326
+ if (this.filter.nativeElement.value) {
2327
+ return this.selection.selected.length == this.dataSource.renderedData.length;
2328
+ }
2329
+ else {
2330
+ return this.selection.selected.length == this.exampleDatabase.data.length;
2331
+ }
2332
+ };
2333
+ /**
2334
+ * @return {?}
2335
+ */
2336
+ TableOverviewExample.prototype.masterToggle = function () {
2337
+ var _this = this;
2338
+ if (!this.dataSource) {
2339
+ return;
2340
+ }
2341
+ if (this.isAllSelected()) {
2342
+ this.selection.clear();
2343
+ }
2344
+ else if (this.filter.nativeElement.value) {
2345
+ this.dataSource.renderedData.forEach(function (data) { return _this.selection.select(data.id); });
2346
+ }
2347
+ else {
2348
+ this.exampleDatabase.data.forEach(function (data) { return _this.selection.select(data.id); });
2349
+ }
2350
+ };
2351
+ return TableOverviewExample;
2352
+ }());
2353
+ TableOverviewExample.decorators = [
2354
+ { type: _angular_core.Component, args: [{
2355
+ selector: 'table-overview-example',
2356
+ styles: ["/* Structure */ .example-container { display: flex; flex-direction: column; min-width: 300px; } .example-header { min-height: 56px; max-height: 56px; display: flex; align-items: center; padding: 8px 24px 0; font-size: 20px; justify-content: space-between; border-bottom: 1px solid transparent; } .mat-form-field { font-size: 14px; flex-grow: 1; margin-top: 8px; } .example-no-results { display: flex; justify-content: center; padding: 24px; font-size: 12px; font-style: italic; } /** Selection styles */ .example-selection-header { font-size: 18px; } .mat-column-select { max-width: 54px; } .mat-row:hover, .example-selected-row { background: #f5f5f5; } .mat-row:active, .mat-row.example-selected-row { background: #eaeaea; } .mat-table { overflow: auto; max-height: 500px; } "],
2357
+ template: "<div class=\"example-header\" [style.display]=\"selection.isEmpty() ? '' : 'none'\"><md-form-field floatPlaceholder=\"never\"><input mdInput #filter placeholder=\"Filter users\"></md-form-field></div><div class=\"example-header example-selection-header\" *ngIf=\"!selection.isEmpty()\">{{selection.selected.length}} {{selection.selected.length == 1 ? 'user' : 'users'}} selected</div><div class=\"example-container mat-elevation-z8\"><md-table #table [dataSource]=\"dataSource\" mdSort><ng-container mdColumnDef=\"select\"><md-header-cell *mdHeaderCellDef><md-checkbox (change)=\"$event ? masterToggle() : null\" [checked]=\"isAllSelected()\" [indeterminate]=\"selection.hasValue() && !isAllSelected()\"></md-checkbox></md-header-cell><md-cell *mdCellDef=\"let row\"><md-checkbox (click)=\"$event.stopPropagation()\" (change)=\"$event ? selection.toggle(row.id) : null\" [checked]=\"selection.isSelected(row.id)\"></md-checkbox></md-cell></ng-container><ng-container mdColumnDef=\"userId\"><md-header-cell *mdHeaderCellDef md-sort-header>ID</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.id}}</md-cell></ng-container><ng-container mdColumnDef=\"progress\"><md-header-cell *mdHeaderCellDef md-sort-header>Progress</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.progress}}%</md-cell></ng-container><ng-container mdColumnDef=\"userName\"><md-header-cell *mdHeaderCellDef md-sort-header>Name</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.name}}</md-cell></ng-container><ng-container mdColumnDef=\"color\"><md-header-cell *mdHeaderCellDef md-sort-header>Color</md-header-cell><md-cell *mdCellDef=\"let row\" [style.color]=\"row.color\">{{row.color}}</md-cell></ng-container><md-header-row *mdHeaderRowDef=\"displayedColumns\"></md-header-row><md-row *mdRowDef=\"let row; columns: displayedColumns;\" [class.example-selected-row]=\"selection.isSelected(row.id)\" (click)=\"selection.toggle(row.id)\"></md-row></md-table><div class=\"example-no-results\" [style.display]=\"dataSource.renderedData.length == 0 ? '' : 'none'\">No users found matching filter.</div><md-paginator #paginator [length]=\"dataSource.filteredData.length\" [pageIndex]=\"0\" [pageSize]=\"25\" [pageSizeOptions]=\"[5, 10, 25, 100]\"></md-paginator></div>",
2358
+ },] },
2359
+ ];
2360
+ /**
2361
+ * @nocollapse
2362
+ */
2363
+ TableOverviewExample.ctorParameters = function () { return []; };
2364
+ TableOverviewExample.propDecorators = {
2365
+ 'paginator': [{ type: _angular_core.ViewChild, args: [_angular_material.MdPaginator,] },],
2366
+ 'sort': [{ type: _angular_core.ViewChild, args: [_angular_material.MdSort,] },],
2367
+ 'filter': [{ type: _angular_core.ViewChild, args: ['filter',] },],
2368
+ };
2369
+ /**
2370
+ * Constants used to fill up our data base.
2371
+ */
2372
+ var COLORS$2 = ['maroon', 'red', 'orange', 'yellow', 'olive', 'green', 'purple',
2373
+ 'fuchsia', 'lime', 'teal', 'aqua', 'blue', 'navy', 'black', 'gray'];
2374
+ var NAMES$2 = ['Maia', 'Asher', 'Olivia', 'Atticus', 'Amelia', 'Jack',
2375
+ 'Charlotte', 'Theodore', 'Isla', 'Oliver', 'Isabella', 'Jasper',
2376
+ 'Cora', 'Levi', 'Violet', 'Arthur', 'Mia', 'Thomas', 'Elizabeth'];
2377
+ /**
2378
+ * An example database that the data source uses to retrieve data for the table.
2379
+ */
2380
+ var ExampleDatabase$2 = (function () {
2381
+ function ExampleDatabase$2() {
2382
+ /**
2383
+ * Stream that emits whenever the data has been modified.
2384
+ */
2385
+ this.dataChange = new rxjs_BehaviorSubject.BehaviorSubject([]);
2386
+ // Fill up the database with 100 users.
2387
+ for (var i = 0; i < 100; i++) {
2388
+ this.addUser();
2389
+ }
2390
+ }
2391
+ Object.defineProperty(ExampleDatabase$2.prototype, "data", {
2392
+ /**
2393
+ * @return {?}
2394
+ */
2395
+ get: function () { return this.dataChange.value; },
2396
+ enumerable: true,
2397
+ configurable: true
2398
+ });
2399
+ /**
2400
+ * Adds a new user to the database.
2401
+ * @return {?}
2402
+ */
2403
+ ExampleDatabase$2.prototype.addUser = function () {
2404
+ var /** @type {?} */ copiedData = this.data.slice();
2405
+ copiedData.push(this.createNewUser());
2406
+ this.dataChange.next(copiedData);
2407
+ };
2408
+ /**
2409
+ * Builds and returns a new User.
2410
+ * @return {?}
2411
+ */
2412
+ ExampleDatabase$2.prototype.createNewUser = function () {
2413
+ var /** @type {?} */ name = NAMES$2[Math.round(Math.random() * (NAMES$2.length - 1))] + ' ' +
2414
+ NAMES$2[Math.round(Math.random() * (NAMES$2.length - 1))].charAt(0) + '.';
2415
+ return {
2416
+ id: (this.data.length + 1).toString(),
2417
+ name: name,
2418
+ progress: Math.round(Math.random() * 100).toString(),
2419
+ color: COLORS$2[Math.round(Math.random() * (COLORS$2.length - 1))]
2420
+ };
2421
+ };
2422
+ return ExampleDatabase$2;
2423
+ }());
2424
+ /**
2425
+ * Data source to provide what data should be rendered in the table. Note that the data source
2426
+ * can retrieve its data in any way. In this case, the data source is provided a reference
2427
+ * to a common data base, ExampleDatabase. It is not the data source's responsibility to manage
2428
+ * the underlying data. Instead, it only needs to take the data and send the table exactly what
2429
+ * should be rendered.
2430
+ */
2431
+ var ExampleDataSource$4 = (function (_super) {
2432
+ __extends(ExampleDataSource$4, _super);
2433
+ /**
2434
+ * @param {?} _exampleDatabase
2435
+ * @param {?} _paginator
2436
+ * @param {?} _sort
2437
+ */
2438
+ function ExampleDataSource$4(_exampleDatabase, _paginator, _sort) {
2439
+ var _this = _super.call(this) || this;
2440
+ _this._exampleDatabase = _exampleDatabase;
2441
+ _this._paginator = _paginator;
2442
+ _this._sort = _sort;
2443
+ _this._filterChange = new rxjs_BehaviorSubject.BehaviorSubject('');
2444
+ _this.filteredData = [];
2445
+ _this.renderedData = [];
2446
+ // Reset to the first page when the user changes the filter.
2447
+ _this._filterChange.subscribe(function () { return _this._paginator.pageIndex = 0; });
2448
+ return _this;
2449
+ }
2450
+ Object.defineProperty(ExampleDataSource$4.prototype, "filter", {
2451
+ /**
2452
+ * @return {?}
2453
+ */
2454
+ get: function () { return this._filterChange.value; },
2455
+ /**
2456
+ * @param {?} filter
2457
+ * @return {?}
2458
+ */
2459
+ set: function (filter) { this._filterChange.next(filter); },
2460
+ enumerable: true,
2461
+ configurable: true
2462
+ });
2463
+ /**
2464
+ * Connect function called by the table to retrieve one stream containing the data to render.
2465
+ * @return {?}
2466
+ */
2467
+ ExampleDataSource$4.prototype.connect = function () {
2468
+ var _this = this;
2469
+ // Listen for any changes in the base data, sorting, filtering, or pagination
2470
+ var /** @type {?} */ displayDataChanges = [
2471
+ this._exampleDatabase.dataChange,
2472
+ this._sort.sortChange,
2473
+ this._filterChange,
2474
+ this._paginator.page,
2475
+ ];
2476
+ return rxjs_Observable.Observable.merge.apply(rxjs_Observable.Observable, displayDataChanges).map(function () {
2477
+ // Filter data
2478
+ _this.filteredData = _this._exampleDatabase.data.slice().filter(function (item) {
2479
+ var /** @type {?} */ searchStr = (item.name + item.color).toLowerCase();
2480
+ return searchStr.indexOf(_this.filter.toLowerCase()) != -1;
2481
+ });
2482
+ // Sort filtered data
2483
+ var /** @type {?} */ sortedData = _this.sortData(_this.filteredData.slice());
2484
+ // Grab the page's slice of the filtered sorted data.
2485
+ var /** @type {?} */ startIndex = _this._paginator.pageIndex * _this._paginator.pageSize;
2486
+ _this.renderedData = sortedData.splice(startIndex, _this._paginator.pageSize);
2487
+ return _this.renderedData;
2488
+ });
2489
+ };
2490
+ /**
2491
+ * @return {?}
2492
+ */
2493
+ ExampleDataSource$4.prototype.disconnect = function () { };
2494
+ /**
2495
+ * Returns a sorted copy of the database data.
2496
+ * @param {?} data
2497
+ * @return {?}
2498
+ */
2499
+ ExampleDataSource$4.prototype.sortData = function (data) {
2500
+ var _this = this;
2501
+ if (!this._sort.active || this._sort.direction == '') {
2502
+ return data;
2503
+ }
2504
+ return data.sort(function (a, b) {
2505
+ var /** @type {?} */ propertyA = '';
2506
+ var /** @type {?} */ propertyB = '';
2507
+ switch (_this._sort.active) {
2508
+ case 'userId':
2509
+ _a = [a.id, b.id], propertyA = _a[0], propertyB = _a[1];
2510
+ break;
2511
+ case 'userName':
2512
+ _b = [a.name, b.name], propertyA = _b[0], propertyB = _b[1];
2513
+ break;
2514
+ case 'progress':
2515
+ _c = [a.progress, b.progress], propertyA = _c[0], propertyB = _c[1];
2516
+ break;
2517
+ case 'color':
2518
+ _d = [a.color, b.color], propertyA = _d[0], propertyB = _d[1];
2519
+ break;
2520
+ }
2521
+ var /** @type {?} */ valueA = isNaN(+propertyA) ? propertyA : +propertyA;
2522
+ var /** @type {?} */ valueB = isNaN(+propertyB) ? propertyB : +propertyB;
2523
+ return (valueA < valueB ? -1 : 1) * (_this._sort.direction == 'asc' ? 1 : -1);
2524
+ var _a, _b, _c, _d;
2525
+ });
2526
+ };
2527
+ return ExampleDataSource$4;
2528
+ }(_angular_cdk_collections.DataSource));
2529
+ /**
2530
+ * \@title Table with pagination
2531
+ */
2532
+ var TablePaginationExample = (function () {
2533
+ function TablePaginationExample() {
2534
+ this.displayedColumns = ['userId', 'userName', 'progress', 'color'];
2535
+ this.exampleDatabase = new ExampleDatabase$3();
2536
+ }
2537
+ /**
2538
+ * @return {?}
2539
+ */
2540
+ TablePaginationExample.prototype.ngOnInit = function () {
2541
+ this.dataSource = new ExampleDataSource$5(this.exampleDatabase, this.paginator);
2542
+ };
2543
+ return TablePaginationExample;
2544
+ }());
2545
+ TablePaginationExample.decorators = [
2546
+ { type: _angular_core.Component, args: [{
2547
+ selector: 'table-pagination-example',
2548
+ styles: ["/* Structure */ .example-container { display: flex; flex-direction: column; min-width: 300px; } .example-header { min-height: 64px; display: flex; align-items: center; padding-left: 24px; font-size: 20px; } .mat-table { overflow: auto; max-height: 500px; } "],
2549
+ template: "<div class=\"example-container mat-elevation-z8\"><md-table #table [dataSource]=\"dataSource\"><ng-container mdColumnDef=\"userId\"><md-header-cell *mdHeaderCellDef>ID</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.id}}</md-cell></ng-container><ng-container mdColumnDef=\"progress\"><md-header-cell *mdHeaderCellDef>Progress</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.progress}}%</md-cell></ng-container><ng-container mdColumnDef=\"userName\"><md-header-cell *mdHeaderCellDef>Name</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.name}}</md-cell></ng-container><ng-container mdColumnDef=\"color\"><md-header-cell *mdHeaderCellDef>Color</md-header-cell><md-cell *mdCellDef=\"let row\" [style.color]=\"row.color\">{{row.color}}</md-cell></ng-container><md-header-row *mdHeaderRowDef=\"displayedColumns\"></md-header-row><md-row *mdRowDef=\"let row; columns: displayedColumns;\"></md-row></md-table><md-paginator #paginator [length]=\"exampleDatabase.data.length\" [pageIndex]=\"0\" [pageSize]=\"25\" [pageSizeOptions]=\"[5, 10, 25, 100]\"></md-paginator></div>",
2550
+ },] },
2551
+ ];
2552
+ /**
2553
+ * @nocollapse
2554
+ */
2555
+ TablePaginationExample.ctorParameters = function () { return []; };
2556
+ TablePaginationExample.propDecorators = {
2557
+ 'paginator': [{ type: _angular_core.ViewChild, args: [_angular_material.MdPaginator,] },],
2558
+ };
2559
+ /**
2560
+ * Constants used to fill up our data base.
2561
+ */
2562
+ var COLORS$3 = ['maroon', 'red', 'orange', 'yellow', 'olive', 'green', 'purple',
2563
+ 'fuchsia', 'lime', 'teal', 'aqua', 'blue', 'navy', 'black', 'gray'];
2564
+ var NAMES$3 = ['Maia', 'Asher', 'Olivia', 'Atticus', 'Amelia', 'Jack',
2565
+ 'Charlotte', 'Theodore', 'Isla', 'Oliver', 'Isabella', 'Jasper',
2566
+ 'Cora', 'Levi', 'Violet', 'Arthur', 'Mia', 'Thomas', 'Elizabeth'];
2567
+ /**
2568
+ * An example database that the data source uses to retrieve data for the table.
2569
+ */
2570
+ var ExampleDatabase$3 = (function () {
2571
+ function ExampleDatabase$3() {
2572
+ /**
2573
+ * Stream that emits whenever the data has been modified.
2574
+ */
2575
+ this.dataChange = new rxjs_BehaviorSubject.BehaviorSubject([]);
2576
+ // Fill up the database with 100 users.
2577
+ for (var i = 0; i < 100; i++) {
2578
+ this.addUser();
2579
+ }
2580
+ }
2581
+ Object.defineProperty(ExampleDatabase$3.prototype, "data", {
2582
+ /**
2583
+ * @return {?}
2584
+ */
2585
+ get: function () { return this.dataChange.value; },
2586
+ enumerable: true,
2587
+ configurable: true
2588
+ });
2589
+ /**
2590
+ * Adds a new user to the database.
2591
+ * @return {?}
2592
+ */
2593
+ ExampleDatabase$3.prototype.addUser = function () {
2594
+ var /** @type {?} */ copiedData = this.data.slice();
2595
+ copiedData.push(this.createNewUser());
2596
+ this.dataChange.next(copiedData);
2597
+ };
2598
+ /**
2599
+ * Builds and returns a new User.
2600
+ * @return {?}
2601
+ */
2602
+ ExampleDatabase$3.prototype.createNewUser = function () {
2603
+ var /** @type {?} */ name = NAMES$3[Math.round(Math.random() * (NAMES$3.length - 1))] + ' ' +
2604
+ NAMES$3[Math.round(Math.random() * (NAMES$3.length - 1))].charAt(0) + '.';
2605
+ return {
2606
+ id: (this.data.length + 1).toString(),
2607
+ name: name,
2608
+ progress: Math.round(Math.random() * 100).toString(),
2609
+ color: COLORS$3[Math.round(Math.random() * (COLORS$3.length - 1))]
2610
+ };
2611
+ };
2612
+ return ExampleDatabase$3;
2613
+ }());
2614
+ /**
2615
+ * Data source to provide what data should be rendered in the table. Note that the data source
2616
+ * can retrieve its data in any way. In this case, the data source is provided a reference
2617
+ * to a common data base, ExampleDatabase. It is not the data source's responsibility to manage
2618
+ * the underlying data. Instead, it only needs to take the data and send the table exactly what
2619
+ * should be rendered.
2620
+ */
2621
+ var ExampleDataSource$5 = (function (_super) {
2622
+ __extends(ExampleDataSource$5, _super);
2623
+ /**
2624
+ * @param {?} _exampleDatabase
2625
+ * @param {?} _paginator
2626
+ */
2627
+ function ExampleDataSource$5(_exampleDatabase, _paginator) {
2628
+ var _this = _super.call(this) || this;
2629
+ _this._exampleDatabase = _exampleDatabase;
2630
+ _this._paginator = _paginator;
2631
+ return _this;
2632
+ }
2633
+ /**
2634
+ * Connect function called by the table to retrieve one stream containing the data to render.
2635
+ * @return {?}
2636
+ */
2637
+ ExampleDataSource$5.prototype.connect = function () {
2638
+ var _this = this;
2639
+ var /** @type {?} */ displayDataChanges = [
2640
+ this._exampleDatabase.dataChange,
2641
+ this._paginator.page,
2642
+ ];
2643
+ return rxjs_Observable.Observable.merge.apply(rxjs_Observable.Observable, displayDataChanges).map(function () {
2644
+ var /** @type {?} */ data = _this._exampleDatabase.data.slice();
2645
+ // Grab the page's slice of data.
2646
+ var /** @type {?} */ startIndex = _this._paginator.pageIndex * _this._paginator.pageSize;
2647
+ return data.splice(startIndex, _this._paginator.pageSize);
2648
+ });
2649
+ };
2650
+ /**
2651
+ * @return {?}
2652
+ */
2653
+ ExampleDataSource$5.prototype.disconnect = function () { };
2654
+ return ExampleDataSource$5;
2655
+ }(_angular_cdk_collections.DataSource));
2656
+ /**
2657
+ * \@title Table with sorting
2658
+ */
2659
+ var TableSortingExample = (function () {
2660
+ function TableSortingExample() {
2661
+ this.displayedColumns = ['userId', 'userName', 'progress', 'color'];
2662
+ this.exampleDatabase = new ExampleDatabase$4();
2663
+ }
2664
+ /**
2665
+ * @return {?}
2666
+ */
2667
+ TableSortingExample.prototype.ngOnInit = function () {
2668
+ this.dataSource = new ExampleDataSource$6(this.exampleDatabase, this.sort);
2669
+ };
2670
+ return TableSortingExample;
2671
+ }());
2672
+ TableSortingExample.decorators = [
2673
+ { type: _angular_core.Component, args: [{
2674
+ selector: 'table-sorting-example',
2675
+ styles: ["/* Structure */ .example-container { display: flex; flex-direction: column; min-width: 300px; } .example-header { min-height: 64px; display: flex; align-items: center; padding-left: 24px; font-size: 20px; } .mat-table { overflow: auto; max-height: 500px; } .mat-header-cell .mat-sort-header-sorted { color: black; } "],
2676
+ template: "<div class=\"example-container mat-elevation-z8\"><md-table #table [dataSource]=\"dataSource\" mdSort><ng-container mdColumnDef=\"userId\"><md-header-cell *mdHeaderCellDef md-sort-header>ID</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.id}}</md-cell></ng-container><ng-container mdColumnDef=\"progress\"><md-header-cell *mdHeaderCellDef md-sort-header>Progress</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.progress}}%</md-cell></ng-container><ng-container mdColumnDef=\"userName\"><md-header-cell *mdHeaderCellDef md-sort-header>Name</md-header-cell><md-cell *mdCellDef=\"let row\">{{row.name}}</md-cell></ng-container><ng-container mdColumnDef=\"color\"><md-header-cell *mdHeaderCellDef md-sort-header>Color</md-header-cell><md-cell *mdCellDef=\"let row\" [style.color]=\"row.color\">{{row.color}}</md-cell></ng-container><md-header-row *mdHeaderRowDef=\"displayedColumns\"></md-header-row><md-row *mdRowDef=\"let row; columns: displayedColumns;\"></md-row></md-table></div>",
2677
+ },] },
2678
+ ];
2679
+ /**
2680
+ * @nocollapse
2681
+ */
2682
+ TableSortingExample.ctorParameters = function () { return []; };
2683
+ TableSortingExample.propDecorators = {
2684
+ 'sort': [{ type: _angular_core.ViewChild, args: [_angular_material.MdSort,] },],
2685
+ };
2686
+ /**
2687
+ * Constants used to fill up our data base.
2688
+ */
2689
+ var COLORS$4 = ['maroon', 'red', 'orange', 'yellow', 'olive', 'green', 'purple',
2690
+ 'fuchsia', 'lime', 'teal', 'aqua', 'blue', 'navy', 'black', 'gray'];
2691
+ var NAMES$4 = ['Maia', 'Asher', 'Olivia', 'Atticus', 'Amelia', 'Jack',
2692
+ 'Charlotte', 'Theodore', 'Isla', 'Oliver', 'Isabella', 'Jasper',
2693
+ 'Cora', 'Levi', 'Violet', 'Arthur', 'Mia', 'Thomas', 'Elizabeth'];
2694
+ /**
2695
+ * An example database that the data source uses to retrieve data for the table.
2696
+ */
2697
+ var ExampleDatabase$4 = (function () {
2698
+ function ExampleDatabase$4() {
2699
+ /**
2700
+ * Stream that emits whenever the data has been modified.
2701
+ */
2702
+ this.dataChange = new rxjs_BehaviorSubject.BehaviorSubject([]);
2703
+ // Fill up the database with 100 users.
2704
+ for (var i = 0; i < 100; i++) {
2705
+ this.addUser();
2706
+ }
2707
+ }
2708
+ Object.defineProperty(ExampleDatabase$4.prototype, "data", {
2709
+ /**
2710
+ * @return {?}
2711
+ */
2712
+ get: function () { return this.dataChange.value; },
2713
+ enumerable: true,
2714
+ configurable: true
2715
+ });
2716
+ /**
2717
+ * Adds a new user to the database.
2718
+ * @return {?}
2719
+ */
2720
+ ExampleDatabase$4.prototype.addUser = function () {
2721
+ var /** @type {?} */ copiedData = this.data.slice();
2722
+ copiedData.push(this.createNewUser());
2723
+ this.dataChange.next(copiedData);
2724
+ };
2725
+ /**
2726
+ * Builds and returns a new User.
2727
+ * @return {?}
2728
+ */
2729
+ ExampleDatabase$4.prototype.createNewUser = function () {
2730
+ var /** @type {?} */ name = NAMES$4[Math.round(Math.random() * (NAMES$4.length - 1))] + ' ' +
2731
+ NAMES$4[Math.round(Math.random() * (NAMES$4.length - 1))].charAt(0) + '.';
2732
+ return {
2733
+ id: (this.data.length + 1).toString(),
2734
+ name: name,
2735
+ progress: Math.round(Math.random() * 100).toString(),
2736
+ color: COLORS$4[Math.round(Math.random() * (COLORS$4.length - 1))]
2737
+ };
2738
+ };
2739
+ return ExampleDatabase$4;
2740
+ }());
2741
+ /**
2742
+ * Data source to provide what data should be rendered in the table. Note that the data source
2743
+ * can retrieve its data in any way. In this case, the data source is provided a reference
2744
+ * to a common data base, ExampleDatabase. It is not the data source's responsibility to manage
2745
+ * the underlying data. Instead, it only needs to take the data and send the table exactly what
2746
+ * should be rendered.
2747
+ */
2748
+ var ExampleDataSource$6 = (function (_super) {
2749
+ __extends(ExampleDataSource$6, _super);
2750
+ /**
2751
+ * @param {?} _exampleDatabase
2752
+ * @param {?} _sort
2753
+ */
2754
+ function ExampleDataSource$6(_exampleDatabase, _sort) {
2755
+ var _this = _super.call(this) || this;
2756
+ _this._exampleDatabase = _exampleDatabase;
2757
+ _this._sort = _sort;
2758
+ return _this;
2759
+ }
2760
+ /**
2761
+ * Connect function called by the table to retrieve one stream containing the data to render.
2762
+ * @return {?}
2763
+ */
2764
+ ExampleDataSource$6.prototype.connect = function () {
2765
+ var _this = this;
2766
+ var /** @type {?} */ displayDataChanges = [
2767
+ this._exampleDatabase.dataChange,
2768
+ this._sort.sortChange,
2769
+ ];
2770
+ return rxjs_Observable.Observable.merge.apply(rxjs_Observable.Observable, displayDataChanges).map(function () {
2771
+ return _this.getSortedData();
2772
+ });
2773
+ };
2774
+ /**
2775
+ * @return {?}
2776
+ */
2777
+ ExampleDataSource$6.prototype.disconnect = function () { };
2778
+ /**
2779
+ * Returns a sorted copy of the database data.
2780
+ * @return {?}
2781
+ */
2782
+ ExampleDataSource$6.prototype.getSortedData = function () {
2783
+ var _this = this;
2784
+ var /** @type {?} */ data = this._exampleDatabase.data.slice();
2785
+ if (!this._sort.active || this._sort.direction == '') {
2786
+ return data;
2787
+ }
2788
+ return data.sort(function (a, b) {
2789
+ var /** @type {?} */ propertyA = '';
2790
+ var /** @type {?} */ propertyB = '';
2791
+ switch (_this._sort.active) {
2792
+ case 'userId':
2793
+ _a = [a.id, b.id], propertyA = _a[0], propertyB = _a[1];
2794
+ break;
2795
+ case 'userName':
2796
+ _b = [a.name, b.name], propertyA = _b[0], propertyB = _b[1];
2797
+ break;
2798
+ case 'progress':
2799
+ _c = [a.progress, b.progress], propertyA = _c[0], propertyB = _c[1];
2800
+ break;
2801
+ case 'color':
2802
+ _d = [a.color, b.color], propertyA = _d[0], propertyB = _d[1];
2803
+ break;
2804
+ }
2805
+ var /** @type {?} */ valueA = isNaN(+propertyA) ? propertyA : +propertyA;
2806
+ var /** @type {?} */ valueB = isNaN(+propertyB) ? propertyB : +propertyB;
2807
+ return (valueA < valueB ? -1 : 1) * (_this._sort.direction == 'asc' ? 1 : -1);
2808
+ var _a, _b, _c, _d;
2809
+ });
2810
+ };
2811
+ return ExampleDataSource$6;
2812
+ }(_angular_cdk_collections.DataSource));
2813
+ /**
2814
+ * \@title Basic tabs
2815
+ */
2816
+ var TabsOverviewExample = (function () {
2817
+ function TabsOverviewExample() {
2818
+ }
2819
+ return TabsOverviewExample;
2820
+ }());
2821
+ TabsOverviewExample.decorators = [
2822
+ { type: _angular_core.Component, args: [{
2823
+ selector: 'tabs-overview-example',
2824
+ template: "<md-tab-group><md-tab label=\"Tab 1\">Content 1</md-tab><md-tab label=\"Tab 2\">Content 2</md-tab></md-tab-group>",
2825
+ },] },
2826
+ ];
2827
+ /**
2828
+ * @nocollapse
2829
+ */
2830
+ TabsOverviewExample.ctorParameters = function () { return []; };
2831
+ /**
2832
+ * \@title Complex Example
2833
+ */
2834
+ var TabsTemplateLabelExample = (function () {
2835
+ function TabsTemplateLabelExample() {
2836
+ }
2837
+ return TabsTemplateLabelExample;
2838
+ }());
2839
+ TabsTemplateLabelExample.decorators = [
2840
+ { type: _angular_core.Component, args: [{
2841
+ selector: 'tabs-template-label-example',
2842
+ template: "<md-tab-group class=\"demo-tab-group\"><md-tab label=\"Tab 1\"><div class=\"demo-tab-content\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla venenatis ante augue. Phasellus volutpat neque ac dui mattis vulputate. Etiam consequat aliquam cursus. In sodales pretium ultrices. Maecenas lectus est, sollicitudin consectetur felis nec, feugiat ultricies mi. Aliquam erat volutpat. Nam placerat, tortor in ultrices porttitor, orci enim rutrum enim, vel tempor sapien arcu a tellus.</div></md-tab><md-tab label=\"Tab 2\"><ng-template md-tab-label>⭐</ng-template><div class=\"demo-tab-content\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla venenatis ante augue. Phasellus volutpat neque ac dui mattis vulputate. Etiam consequat aliquam cursus. In sodales pretium ultrices. Maecenas lectus est, sollicitudin consectetur felis nec, feugiat ultricies mi. Aliquam erat volutpat. Nam placerat, tortor in ultrices porttitor, orci enim rutrum enim, vel tempor sapien arcu a tellus.</div></md-tab><md-tab label=\"Tab 3\" disabled=\"disabled\">No content</md-tab><md-tab label=\"Tab 4\"><div class=\"demo-tab-content\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla venenatis ante augue. Phasellus volutpat neque ac dui mattis vulputate. Etiam consequat aliquam cursus. In sodales pretium ultrices. Maecenas lectus est, sollicitudin consectetur felis nec, feugiat ultricies mi. Aliquam erat volutpat. Nam placerat, tortor in ultrices porttitor, orci enim rutrum enim, vel tempor sapien arcu a tellus.<br><br>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla venenatis ante augue. Phasellus volutpat neque ac dui mattis vulputate. Etiam consequat aliquam cursus. In sodales pretium ultrices. Maecenas lectus est, sollicitudin consectetur felis nec, feugiat ultricies mi. Aliquam erat volutpat. Nam placerat, tortor in ultrices porttitor, orci enim rutrum enim, vel tempor sapien arcu a tellus.</div></md-tab><md-tab label=\"Tab 5\">No content</md-tab><md-tab label=\"Tab 6\">No content</md-tab></md-tab-group>",
2843
+ styles: [".demo-tab-group { border: 1px solid #e8e8e8; } .demo-tab-content { padding: 16px; } "]
2844
+ },] },
2845
+ ];
2846
+ /**
2847
+ * @nocollapse
2848
+ */
2849
+ TabsTemplateLabelExample.ctorParameters = function () { return []; };
2850
+ /**
2851
+ * \@title Multi-row toolbar
2852
+ */
2853
+ var ToolbarMultirowExample = (function () {
2854
+ function ToolbarMultirowExample() {
2855
+ }
2856
+ return ToolbarMultirowExample;
2857
+ }());
2858
+ ToolbarMultirowExample.decorators = [
2859
+ { type: _angular_core.Component, args: [{
2860
+ selector: 'toolbar-multirow-example',
2861
+ template: "<md-toolbar color=\"primary\"><span>Custom Toolbar</span><md-toolbar-row><span>Second Line</span> <span class=\"example-spacer\"></span><md-icon class=\"example-icon\">verified_user</md-icon></md-toolbar-row><md-toolbar-row><span>Third Line</span> <span class=\"example-spacer\"></span><md-icon class=\"example-icon\">favorite</md-icon><md-icon class=\"example-icon\">delete</md-icon></md-toolbar-row></md-toolbar>",
2862
+ styles: [".example-icon { padding: 0 14px; } .example-spacer { flex: 1 1 auto; } "],
2863
+ },] },
2864
+ ];
2865
+ /**
2866
+ * @nocollapse
2867
+ */
2868
+ ToolbarMultirowExample.ctorParameters = function () { return []; };
2869
+ /**
2870
+ * \@title Basic toolbar
2871
+ */
2872
+ var ToolbarOverviewExample = (function () {
2873
+ function ToolbarOverviewExample() {
2874
+ }
2875
+ return ToolbarOverviewExample;
2876
+ }());
2877
+ ToolbarOverviewExample.decorators = [
2878
+ { type: _angular_core.Component, args: [{
2879
+ selector: 'toolbar-overview-example',
2880
+ template: "<md-toolbar>My App</md-toolbar>",
2881
+ },] },
2882
+ ];
2883
+ /**
2884
+ * @nocollapse
2885
+ */
2886
+ ToolbarOverviewExample.ctorParameters = function () { return []; };
2887
+ /**
2888
+ * \@title Basic tooltip
2889
+ */
2890
+ var TooltipOverviewExample = (function () {
2891
+ function TooltipOverviewExample() {
2892
+ }
2893
+ return TooltipOverviewExample;
2894
+ }());
2895
+ TooltipOverviewExample.decorators = [
2896
+ { type: _angular_core.Component, args: [{
2897
+ selector: 'tooltip-overview-example',
2898
+ template: "<span mdTooltip=\"Tooltip!\">I have a tooltip</span>",
2899
+ },] },
2900
+ ];
2901
+ /**
2902
+ * @nocollapse
2903
+ */
2904
+ TooltipOverviewExample.ctorParameters = function () { return []; };
2905
+ /**
2906
+ * \@title Tooltip with custom position
2907
+ */
2908
+ var TooltipPositionExample = (function () {
2909
+ function TooltipPositionExample() {
2910
+ this.position = 'before';
2911
+ }
2912
+ return TooltipPositionExample;
2913
+ }());
2914
+ TooltipPositionExample.decorators = [
2915
+ { type: _angular_core.Component, args: [{
2916
+ selector: 'tooltip-position-example',
2917
+ template: "<div class=\"example-tooltip-host\" mdTooltip=\"Tooltip!\" [mdTooltipPosition]=\"position\"><span>Show tooltip</span><md-select class=\"example-select\" [(ngModel)]=\"position\"><md-option value=\"before\">Before</md-option><md-option value=\"after\">After</md-option><md-option value=\"above\">Above</md-option><md-option value=\"below\">Below</md-option><md-option value=\"left\">Left</md-option><md-option value=\"right\">Right</md-option></md-select></div>",
2918
+ styles: [".example-tooltip-host { display: inline-flex; align-items: center; margin: 50px; } .example-select { margin: 0 10px; } "],
2919
+ },] },
2920
+ ];
2921
+ /**
2922
+ * @nocollapse
2923
+ */
2924
+ TooltipPositionExample.ctorParameters = function () { return []; };
2925
+ /* tslint:disable */
2926
+ /** DO NOT MANUALLY EDIT THIS FILE, IT IS GENERATED VIA GULP 'build-examples-module' */
2927
+ var EXAMPLE_COMPONENTS = {
2928
+ 'autocomplete-display': {
2929
+ title: 'Display value autocomplete',
2930
+ component: AutocompleteDisplayExample,
2931
+ additionalFiles: null,
2932
+ selectorName: null
2933
+ },
2934
+ 'autocomplete-filter': {
2935
+ title: 'Filter autocomplete',
2936
+ component: AutocompleteFilterExample,
2937
+ additionalFiles: null,
2938
+ selectorName: null
2939
+ },
2940
+ 'autocomplete-overview': {
2941
+ title: 'Autocomplete overview',
2942
+ component: AutocompleteOverviewExample,
2943
+ additionalFiles: null,
2944
+ selectorName: null
2945
+ },
2946
+ 'autocomplete-simple': {
2947
+ title: 'Simple autocomplete',
2948
+ component: AutocompleteSimpleExample,
2949
+ additionalFiles: null,
2950
+ selectorName: null
2951
+ },
2952
+ 'button-overview': {
2953
+ title: 'Basic buttons',
2954
+ component: ButtonOverviewExample,
2955
+ additionalFiles: null,
2956
+ selectorName: null
2957
+ },
2958
+ 'button-toggle-exclusive': {
2959
+ title: 'Exclusive selection',
2960
+ component: ButtonToggleExclusiveExample,
2961
+ additionalFiles: null,
2962
+ selectorName: null
2963
+ },
2964
+ 'button-toggle-overview': {
2965
+ title: 'Basic button-toggles',
2966
+ component: ButtonToggleOverviewExample,
2967
+ additionalFiles: null,
2968
+ selectorName: null
2969
+ },
2970
+ 'button-types': {
2971
+ title: 'Button varieties',
2972
+ component: ButtonTypesExample,
2973
+ additionalFiles: null,
2974
+ selectorName: null
2975
+ },
2976
+ 'card-fancy': {
2977
+ title: 'Card with multiple sections',
2978
+ component: CardFancyExample,
2979
+ additionalFiles: null,
2980
+ selectorName: null
2981
+ },
2982
+ 'card-overview': {
2983
+ title: 'Basic cards',
2984
+ component: CardOverviewExample,
2985
+ additionalFiles: null,
2986
+ selectorName: null
2987
+ },
2988
+ 'cdk-table-basic': {
2989
+ title: 'Basic CDK data-table',
2990
+ component: CdkTableBasicExample,
2991
+ additionalFiles: null,
2992
+ selectorName: null
2993
+ },
2994
+ 'checkbox-configurable': {
2995
+ title: 'Configurable checkbox',
2996
+ component: CheckboxConfigurableExample,
2997
+ additionalFiles: null,
2998
+ selectorName: null
2999
+ },
3000
+ 'checkbox-overview': {
3001
+ title: 'Basic checkboxes',
3002
+ component: CheckboxOverviewExample,
3003
+ additionalFiles: null,
3004
+ selectorName: null
3005
+ },
3006
+ 'chips-input': {
3007
+ title: 'Chips with input',
3008
+ component: ChipsInputExample,
3009
+ additionalFiles: null,
3010
+ selectorName: null
3011
+ },
3012
+ 'chips-overview': {
3013
+ title: 'Basic chips',
3014
+ component: ChipsOverviewExample,
3015
+ additionalFiles: null,
3016
+ selectorName: null
3017
+ },
3018
+ 'chips-stacked': {
3019
+ title: 'Stacked chips',
3020
+ component: ChipsStackedExample,
3021
+ additionalFiles: null,
3022
+ selectorName: null
3023
+ },
3024
+ 'datepicker-api': {
3025
+ title: 'Datepicker API',
3026
+ component: DatepickerApiExample,
3027
+ additionalFiles: null,
3028
+ selectorName: null
3029
+ },
3030
+ 'datepicker-filter': {
3031
+ title: 'Datepicker Filter',
3032
+ component: DatepickerFilterExample,
3033
+ additionalFiles: null,
3034
+ selectorName: null
3035
+ },
3036
+ 'datepicker-min-max': {
3037
+ title: 'Datepicker Min Max',
3038
+ component: DatepickerMinMaxExample,
3039
+ additionalFiles: null,
3040
+ selectorName: null
3041
+ },
3042
+ 'datepicker-overview': {
3043
+ title: 'Basic datepicker',
3044
+ component: DatepickerOverviewExample,
3045
+ additionalFiles: null,
3046
+ selectorName: null
3047
+ },
3048
+ 'datepicker-start-view': {
3049
+ title: 'Datepicker start date',
3050
+ component: DatepickerStartViewExample,
3051
+ additionalFiles: null,
3052
+ selectorName: null
3053
+ },
3054
+ 'datepicker-touch': {
3055
+ title: 'Datepicker Touch',
3056
+ component: DatepickerTouchExample,
3057
+ additionalFiles: null,
3058
+ selectorName: null
3059
+ },
3060
+ 'dialog-content': {
3061
+ title: 'Dialog with header, scrollable content and actions',
3062
+ component: DialogContentExample,
3063
+ additionalFiles: ["dialog-content-example-dialog.html"],
3064
+ selectorName: 'DialogContentExample, DialogContentExampleDialog'
3065
+ },
3066
+ 'dialog-data': {
3067
+ title: 'Injecting data when opening a dialog',
3068
+ component: DialogDataExample,
3069
+ additionalFiles: ["dialog-data-example-dialog.html"],
3070
+ selectorName: 'DialogDataExample, DialogDataExampleDialog'
3071
+ },
3072
+ 'dialog-elements': {
3073
+ title: 'Dialog elements',
3074
+ component: DialogElementsExample,
3075
+ additionalFiles: ["dialog-elements-example-dialog.html"],
3076
+ selectorName: 'DialogElementsExample, DialogElementsExampleDialog'
3077
+ },
3078
+ 'dialog-overview': {
3079
+ title: 'Dialog Overview',
3080
+ component: DialogOverviewExample,
3081
+ additionalFiles: ["dialog-overview-example-dialog.html"],
3082
+ selectorName: 'DialogOverviewExample, DialogOverviewExampleDialog'
3083
+ },
3084
+ 'expansion-overview': {
3085
+ title: 'Basic expansion panel',
3086
+ component: ExpansionOverviewExample,
3087
+ additionalFiles: null,
3088
+ selectorName: null
3089
+ },
3090
+ 'expansion-steps': {
3091
+ title: 'Expansion panel as accordion',
3092
+ component: ExpansionStepsExample,
3093
+ additionalFiles: null,
3094
+ selectorName: null
3095
+ },
3096
+ 'grid-list-dynamic': {
3097
+ title: 'Dynamic grid-list',
3098
+ component: GridListDynamicExample,
3099
+ additionalFiles: null,
3100
+ selectorName: null
3101
+ },
3102
+ 'grid-list-overview': {
3103
+ title: 'Basic grid-list',
3104
+ component: GridListOverviewExample,
3105
+ additionalFiles: null,
3106
+ selectorName: null
3107
+ },
3108
+ 'icon-overview': {
3109
+ title: 'Basic icons',
3110
+ component: IconOverviewExample,
3111
+ additionalFiles: null,
3112
+ selectorName: null
3113
+ },
3114
+ 'icon-svg': {
3115
+ title: 'SVG icons',
3116
+ component: IconSvgExample,
3117
+ additionalFiles: null,
3118
+ selectorName: null
3119
+ },
3120
+ 'input-clearable': {
3121
+ title: 'Input Clearable',
3122
+ component: InputClearableExample,
3123
+ additionalFiles: null,
3124
+ selectorName: null
3125
+ },
3126
+ 'input-errors': {
3127
+ title: 'Input Errors',
3128
+ component: InputErrorsExample,
3129
+ additionalFiles: null,
3130
+ selectorName: null
3131
+ },
3132
+ 'input-form': {
3133
+ title: 'Inputs in a form',
3134
+ component: InputFormExample,
3135
+ additionalFiles: null,
3136
+ selectorName: null
3137
+ },
3138
+ 'input-hint': {
3139
+ title: 'Input hints',
3140
+ component: InputHintExample,
3141
+ additionalFiles: null,
3142
+ selectorName: null
3143
+ },
3144
+ 'input-overview': {
3145
+ title: 'Basic Inputs',
3146
+ component: InputOverviewExample,
3147
+ additionalFiles: null,
3148
+ selectorName: null
3149
+ },
3150
+ 'input-prefix-suffix': {
3151
+ title: 'Input Prefixes and Suffixes',
3152
+ component: InputPrefixSuffixExample,
3153
+ additionalFiles: null,
3154
+ selectorName: null
3155
+ },
3156
+ 'list-overview': {
3157
+ title: 'Basic list',
3158
+ component: ListOverviewExample,
3159
+ additionalFiles: null,
3160
+ selectorName: null
3161
+ },
3162
+ 'list-sections': {
3163
+ title: 'List with sections',
3164
+ component: ListSectionsExample,
3165
+ additionalFiles: null,
3166
+ selectorName: null
3167
+ },
3168
+ 'list-selection': {
3169
+ title: 'List with selection',
3170
+ component: ListSelectionExample,
3171
+ additionalFiles: null,
3172
+ selectorName: null
3173
+ },
3174
+ 'menu-icons': {
3175
+ title: 'Menu with icons',
3176
+ component: MenuIconsExample,
3177
+ additionalFiles: null,
3178
+ selectorName: null
3179
+ },
3180
+ 'menu-overview': {
3181
+ title: 'Basic menu',
3182
+ component: MenuOverviewExample,
3183
+ additionalFiles: null,
3184
+ selectorName: null
3185
+ },
3186
+ 'nested-menu': {
3187
+ title: 'Nested menu',
3188
+ component: NestedMenuExample,
3189
+ additionalFiles: null,
3190
+ selectorName: null
3191
+ },
3192
+ 'paginator-configurable': {
3193
+ title: 'Configurable paginator',
3194
+ component: PaginatorConfigurableExample,
3195
+ additionalFiles: null,
3196
+ selectorName: null
3197
+ },
3198
+ 'paginator-overview': {
3199
+ title: 'Paginator',
3200
+ component: PaginatorOverviewExample,
3201
+ additionalFiles: null,
3202
+ selectorName: null
3203
+ },
3204
+ 'progress-bar-configurable': {
3205
+ title: 'Configurable progress-bar',
3206
+ component: ProgressBarConfigurableExample,
3207
+ additionalFiles: null,
3208
+ selectorName: null
3209
+ },
3210
+ 'progress-bar-overview': {
3211
+ title: 'Basic progress-bar',
3212
+ component: ProgressBarOverviewExample,
3213
+ additionalFiles: null,
3214
+ selectorName: null
3215
+ },
3216
+ 'progress-spinner-configurable': {
3217
+ title: 'Configurable progress spinner',
3218
+ component: ProgressSpinnerConfigurableExample,
3219
+ additionalFiles: null,
3220
+ selectorName: null
3221
+ },
3222
+ 'progress-spinner-overview': {
3223
+ title: 'Basic progress-spinner',
3224
+ component: ProgressSpinnerOverviewExample,
3225
+ additionalFiles: null,
3226
+ selectorName: null
3227
+ },
3228
+ 'radio-ng-model': {
3229
+ title: 'Radios with ngModel',
3230
+ component: RadioNgModelExample,
3231
+ additionalFiles: null,
3232
+ selectorName: null
3233
+ },
3234
+ 'radio-overview': {
3235
+ title: 'Basic radios',
3236
+ component: RadioOverviewExample,
3237
+ additionalFiles: null,
3238
+ selectorName: null
3239
+ },
3240
+ 'select-form': {
3241
+ title: 'Select in a form',
3242
+ component: SelectFormExample,
3243
+ additionalFiles: null,
3244
+ selectorName: null
3245
+ },
3246
+ 'select-overview': {
3247
+ title: 'Basic select',
3248
+ component: SelectOverviewExample,
3249
+ additionalFiles: null,
3250
+ selectorName: null
3251
+ },
3252
+ 'sidenav-fab': {
3253
+ title: 'Sidenav with a FAB',
3254
+ component: SidenavFabExample,
3255
+ additionalFiles: null,
3256
+ selectorName: null
3257
+ },
3258
+ 'sidenav-overview': {
3259
+ title: 'Basic sidenav',
3260
+ component: SidenavOverviewExample,
3261
+ additionalFiles: null,
3262
+ selectorName: null
3263
+ },
3264
+ 'slide-toggle-configurable': {
3265
+ title: 'Configurable slide-toggle',
3266
+ component: SlideToggleConfigurableExample,
3267
+ additionalFiles: null,
3268
+ selectorName: null
3269
+ },
3270
+ 'slide-toggle-forms': {
3271
+ title: 'Slide-toggle with forms',
3272
+ component: SlideToggleFormsExample,
3273
+ additionalFiles: null,
3274
+ selectorName: null
3275
+ },
3276
+ 'slide-toggle-overview': {
3277
+ title: 'Basic slide-toggles',
3278
+ component: SlideToggleOverviewExample,
3279
+ additionalFiles: null,
3280
+ selectorName: null
3281
+ },
3282
+ 'slider-configurable': {
3283
+ title: 'Configurable slider',
3284
+ component: SliderConfigurableExample,
3285
+ additionalFiles: null,
3286
+ selectorName: null
3287
+ },
3288
+ 'slider-overview': {
3289
+ title: 'Basic slider',
3290
+ component: SliderOverviewExample,
3291
+ additionalFiles: null,
3292
+ selectorName: null
3293
+ },
3294
+ 'snack-bar-component': {
3295
+ title: 'Snack-bar with a custom component',
3296
+ component: SnackBarComponentExample,
3297
+ additionalFiles: ["snack-bar-component-example-snack.html"],
3298
+ selectorName: 'SnackBarComponentExample, PizzaPartyComponent'
3299
+ },
3300
+ 'snack-bar-overview': {
3301
+ title: 'Basic snack-bar',
3302
+ component: SnackBarOverviewExample,
3303
+ additionalFiles: null,
3304
+ selectorName: null
3305
+ },
3306
+ 'sort-overview': {
3307
+ title: 'Sorting overview',
3308
+ component: SortOverviewExample,
3309
+ additionalFiles: null,
3310
+ selectorName: null
3311
+ },
3312
+ 'stepper-overview': {
3313
+ title: 'Stepper overview',
3314
+ component: StepperOverviewExample,
3315
+ additionalFiles: null,
3316
+ selectorName: null
3317
+ },
3318
+ 'table-basic': {
3319
+ title: 'Basic table',
3320
+ component: TableBasicExample,
3321
+ additionalFiles: null,
3322
+ selectorName: null
3323
+ },
3324
+ 'table-filtering': {
3325
+ title: 'Table with filtering',
3326
+ component: TableFilteringExample,
3327
+ additionalFiles: null,
3328
+ selectorName: null
3329
+ },
3330
+ 'table-http': {
3331
+ title: 'Table retrieving data through HTTP',
3332
+ component: TableHttpExample,
3333
+ additionalFiles: null,
3334
+ selectorName: null
3335
+ },
3336
+ 'table-overview': {
3337
+ title: 'Feature-rich data table',
3338
+ component: TableOverviewExample,
3339
+ additionalFiles: null,
3340
+ selectorName: null
3341
+ },
3342
+ 'table-pagination': {
3343
+ title: 'Table with pagination',
3344
+ component: TablePaginationExample,
3345
+ additionalFiles: null,
3346
+ selectorName: null
3347
+ },
3348
+ 'table-sorting': {
3349
+ title: 'Table with sorting',
3350
+ component: TableSortingExample,
3351
+ additionalFiles: null,
3352
+ selectorName: null
3353
+ },
3354
+ 'tabs-overview': {
3355
+ title: 'Basic tabs',
3356
+ component: TabsOverviewExample,
3357
+ additionalFiles: null,
3358
+ selectorName: null
3359
+ },
3360
+ 'tabs-template-label': {
3361
+ title: 'Complex Example',
3362
+ component: TabsTemplateLabelExample,
3363
+ additionalFiles: null,
3364
+ selectorName: null
3365
+ },
3366
+ 'toolbar-multirow': {
3367
+ title: 'Multi-row toolbar',
3368
+ component: ToolbarMultirowExample,
3369
+ additionalFiles: null,
3370
+ selectorName: null
3371
+ },
3372
+ 'toolbar-overview': {
3373
+ title: 'Basic toolbar',
3374
+ component: ToolbarOverviewExample,
3375
+ additionalFiles: null,
3376
+ selectorName: null
3377
+ },
3378
+ 'tooltip-overview': {
3379
+ title: 'Basic tooltip',
3380
+ component: TooltipOverviewExample,
3381
+ additionalFiles: null,
3382
+ selectorName: null
3383
+ },
3384
+ 'tooltip-position': {
3385
+ title: 'Tooltip with custom position',
3386
+ component: TooltipPositionExample,
3387
+ additionalFiles: null,
3388
+ selectorName: null
3389
+ },
3390
+ };
3391
+ var EXAMPLE_LIST = [
3392
+ AutocompleteDisplayExample,
3393
+ AutocompleteFilterExample,
3394
+ AutocompleteOverviewExample,
3395
+ AutocompleteSimpleExample,
3396
+ ButtonOverviewExample,
3397
+ ButtonToggleExclusiveExample,
3398
+ ButtonToggleOverviewExample,
3399
+ ButtonTypesExample,
3400
+ CardFancyExample,
3401
+ CardOverviewExample,
3402
+ CdkTableBasicExample,
3403
+ CheckboxConfigurableExample,
3404
+ CheckboxOverviewExample,
3405
+ ChipsInputExample,
3406
+ ChipsOverviewExample,
3407
+ ChipsStackedExample,
3408
+ DatepickerApiExample,
3409
+ DatepickerFilterExample,
3410
+ DatepickerMinMaxExample,
3411
+ DatepickerOverviewExample,
3412
+ DatepickerStartViewExample,
3413
+ DatepickerTouchExample,
3414
+ DialogContentExampleDialog, DialogContentExample,
3415
+ DialogDataExampleDialog, DialogDataExample,
3416
+ DialogElementsExampleDialog, DialogElementsExample,
3417
+ DialogOverviewExampleDialog, DialogOverviewExample,
3418
+ ExpansionOverviewExample,
3419
+ ExpansionStepsExample,
3420
+ GridListDynamicExample,
3421
+ GridListOverviewExample,
3422
+ IconOverviewExample,
3423
+ IconSvgExample,
3424
+ InputClearableExample,
3425
+ InputErrorsExample,
3426
+ InputFormExample,
3427
+ InputHintExample,
3428
+ InputOverviewExample,
3429
+ InputPrefixSuffixExample,
3430
+ ListOverviewExample,
3431
+ ListSectionsExample,
3432
+ ListSelectionExample,
3433
+ MenuIconsExample,
3434
+ MenuOverviewExample,
3435
+ NestedMenuExample,
3436
+ PaginatorConfigurableExample,
3437
+ PaginatorOverviewExample,
3438
+ ProgressBarConfigurableExample,
3439
+ ProgressBarOverviewExample,
3440
+ ProgressSpinnerConfigurableExample,
3441
+ ProgressSpinnerOverviewExample,
3442
+ RadioNgModelExample,
3443
+ RadioOverviewExample,
3444
+ SelectFormExample,
3445
+ SelectOverviewExample,
3446
+ SidenavFabExample,
3447
+ SidenavOverviewExample,
3448
+ SlideToggleConfigurableExample,
3449
+ SlideToggleFormsExample,
3450
+ SlideToggleOverviewExample,
3451
+ SliderConfigurableExample,
3452
+ SliderOverviewExample,
3453
+ PizzaPartyComponent, SnackBarComponentExample,
3454
+ SnackBarOverviewExample,
3455
+ SortOverviewExample,
3456
+ StepperOverviewExample,
3457
+ TableBasicExample,
3458
+ TableFilteringExample,
3459
+ TableHttpExample,
3460
+ TableOverviewExample,
3461
+ TablePaginationExample,
3462
+ TableSortingExample,
3463
+ TabsOverviewExample,
3464
+ TabsTemplateLabelExample,
3465
+ ToolbarMultirowExample,
3466
+ ToolbarOverviewExample,
3467
+ TooltipOverviewExample,
3468
+ TooltipPositionExample,
3469
+ ];
3470
+ var ExampleModule = (function () {
3471
+ function ExampleModule() {
3472
+ }
3473
+ return ExampleModule;
3474
+ }());
3475
+ ExampleModule.decorators = [
3476
+ { type: _angular_core.NgModule, args: [{
3477
+ declarations: EXAMPLE_LIST,
3478
+ entryComponents: EXAMPLE_LIST,
3479
+ imports: [
3480
+ ExampleMaterialModule,
3481
+ _angular_forms.FormsModule,
3482
+ _angular_forms.ReactiveFormsModule,
3483
+ _angular_common.CommonModule
3484
+ ]
3485
+ },] },
3486
+ ];
3487
+ /**
3488
+ * @nocollapse
3489
+ */
3490
+ ExampleModule.ctorParameters = function () { return []; };
3491
+ /**
3492
+ * Example data
3493
+ * with information about Component name, selector, files used in example, and path to examples
3494
+ */
3495
+ var ExampleData = (function () {
3496
+ /**
3497
+ * @param {?} example
3498
+ */
3499
+ function ExampleData(example) {
3500
+ // TODO: figure out how do we get these variables.
3501
+ this.description = 'Some description for material';
3502
+ // TODO: use real example and delete the example/ folder.
3503
+ this.examplePath = '/assets/example/';
3504
+ this.exampleFiles = ['button-demo.html', 'button-demo.scss', 'button-demo.ts'];
3505
+ // TODO: extract these variables from example code.
3506
+ this.selectorName = 'button-demo';
3507
+ this.indexFilename = 'button-demo';
3508
+ this.componentName = 'ButtonDemo';
3509
+ if (example && EXAMPLE_COMPONENTS[example]) {
3510
+ this.examplePath = "/assets/plunker/examples/" + example + "/";
3511
+ // TODO(tinayuangao): Do not hard-code extensions
3512
+ this.exampleFiles = ['html', 'ts', 'css']
3513
+ .map(function (extension) { return example + "-example." + extension; });
3514
+ if (EXAMPLE_COMPONENTS[example].additionalFiles) {
3515
+ this.exampleFiles = this.exampleFiles.concat(EXAMPLE_COMPONENTS[example].additionalFiles);
3516
+ }
3517
+ this.selectorName = this.indexFilename = example + "-example";
3518
+ var exampleName = example.replace(/(?:^\w|\b\w)/g, function (letter) { return letter.toUpperCase(); });
3519
+ if (EXAMPLE_COMPONENTS[example].title) {
3520
+ this.description = EXAMPLE_COMPONENTS[example].title;
3521
+ }
3522
+ else {
3523
+ this.description = exampleName.replace(/[\-]+/g, ' ') + ' Example';
3524
+ }
3525
+ if (EXAMPLE_COMPONENTS[example].selectorName) {
3526
+ this.componentName = EXAMPLE_COMPONENTS[example].selectorName;
3527
+ }
3528
+ else {
3529
+ this.componentName = exampleName.replace(/[\-]+/g, '') + 'Example';
3530
+ }
3531
+ }
3532
+ }
3533
+ return ExampleData;
3534
+ }());
3535
+
3536
+ exports.ExampleData = ExampleData;
3537
+ exports.EXAMPLE_COMPONENTS = EXAMPLE_COMPONENTS;
3538
+ exports.EXAMPLE_LIST = EXAMPLE_LIST;
3539
+ exports.ExampleModule = ExampleModule;
3540
+ exports.ListOverviewExample = ListOverviewExample;
3541
+ exports.DatepickerOverviewExample = DatepickerOverviewExample;
3542
+ exports.CardFancyExample = CardFancyExample;
3543
+ exports.ToolbarMultirowExample = ToolbarMultirowExample;
3544
+ exports.ButtonToggleOverviewExample = ButtonToggleOverviewExample;
3545
+ exports.ExpansionOverviewExample = ExpansionOverviewExample;
3546
+ exports.StepperOverviewExample = StepperOverviewExample;
3547
+ exports.ɵa = AutocompleteDisplayExample;
3548
+ exports.ɵb = AutocompleteFilterExample;
3549
+ exports.ɵc = AutocompleteOverviewExample;
3550
+ exports.ɵd = AutocompleteSimpleExample;
3551
+ exports.ɵe = ButtonOverviewExample;
3552
+ exports.ɵf = ButtonToggleExclusiveExample;
3553
+ exports.ɵg = ButtonTypesExample;
3554
+ exports.ɵh = CardOverviewExample;
3555
+ exports.ɵi = CdkTableBasicExample;
3556
+ exports.ɵj = CheckboxConfigurableExample;
3557
+ exports.ɵk = CheckboxOverviewExample;
3558
+ exports.ɵl = ChipsInputExample;
3559
+ exports.ɵm = ChipsOverviewExample;
3560
+ exports.ɵn = ChipsStackedExample;
3561
+ exports.ɵo = DatepickerApiExample;
3562
+ exports.ɵp = DatepickerFilterExample;
3563
+ exports.ɵq = DatepickerMinMaxExample;
3564
+ exports.ɵr = DatepickerStartViewExample;
3565
+ exports.ɵs = DatepickerTouchExample;
3566
+ exports.ɵt = DialogContentExample;
3567
+ exports.ɵu = DialogContentExampleDialog;
3568
+ exports.ɵv = DialogDataExample;
3569
+ exports.ɵw = DialogDataExampleDialog;
3570
+ exports.ɵx = DialogElementsExample;
3571
+ exports.ɵy = DialogElementsExampleDialog;
3572
+ exports.ɵz = DialogOverviewExample;
3573
+ exports.ɵba = DialogOverviewExampleDialog;
3574
+ exports.ɵbb = ExpansionStepsExample;
3575
+ exports.ɵbc = GridListDynamicExample;
3576
+ exports.ɵbd = GridListOverviewExample;
3577
+ exports.ɵbe = IconOverviewExample;
3578
+ exports.ɵbf = IconSvgExample;
3579
+ exports.ɵbg = InputClearableExample;
3580
+ exports.ɵbh = InputErrorsExample;
3581
+ exports.ɵbi = InputFormExample;
3582
+ exports.ɵbj = InputHintExample;
3583
+ exports.ɵbk = InputOverviewExample;
3584
+ exports.ɵbl = InputPrefixSuffixExample;
3585
+ exports.ɵbm = ListSectionsExample;
3586
+ exports.ɵbn = ListSelectionExample;
3587
+ exports.ɵcx = ExampleMaterialModule;
3588
+ exports.ɵbo = MenuIconsExample;
3589
+ exports.ɵbp = MenuOverviewExample;
3590
+ exports.ɵbq = NestedMenuExample;
3591
+ exports.ɵbr = PaginatorConfigurableExample;
3592
+ exports.ɵbs = PaginatorOverviewExample;
3593
+ exports.ɵbt = ProgressBarConfigurableExample;
3594
+ exports.ɵbu = ProgressBarOverviewExample;
3595
+ exports.ɵbv = ProgressSpinnerConfigurableExample;
3596
+ exports.ɵbw = ProgressSpinnerOverviewExample;
3597
+ exports.ɵbx = RadioNgModelExample;
3598
+ exports.ɵby = RadioOverviewExample;
3599
+ exports.ɵbz = SelectFormExample;
3600
+ exports.ɵca = SelectOverviewExample;
3601
+ exports.ɵcb = SidenavFabExample;
3602
+ exports.ɵcc = SidenavOverviewExample;
3603
+ exports.ɵcd = SlideToggleConfigurableExample;
3604
+ exports.ɵce = SlideToggleFormsExample;
3605
+ exports.ɵcf = SlideToggleOverviewExample;
3606
+ exports.ɵcg = SliderConfigurableExample;
3607
+ exports.ɵch = SliderOverviewExample;
3608
+ exports.ɵcj = PizzaPartyComponent;
3609
+ exports.ɵci = SnackBarComponentExample;
3610
+ exports.ɵck = SnackBarOverviewExample;
3611
+ exports.ɵcl = SortOverviewExample;
3612
+ exports.ɵcm = TableBasicExample;
3613
+ exports.ɵcn = TableFilteringExample;
3614
+ exports.ɵco = TableHttpExample;
3615
+ exports.ɵcp = TableOverviewExample;
3616
+ exports.ɵcq = TablePaginationExample;
3617
+ exports.ɵcr = TableSortingExample;
3618
+ exports.ɵcs = TabsOverviewExample;
3619
+ exports.ɵct = TabsTemplateLabelExample;
3620
+ exports.ɵcu = ToolbarOverviewExample;
3621
+ exports.ɵcv = TooltipOverviewExample;
3622
+ exports.ɵcw = TooltipPositionExample;
3623
+
3624
+ Object.defineProperty(exports, '__esModule', { value: true });
3625
+
3626
+ })));
3627
+ //# sourceMappingURL=material-examples.umd.js.map