@angular/material 6.4.6 → 6.4.7

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 (479) hide show
  1. package/_theming.scss +5 -2
  2. package/autocomplete/typings/autocomplete-trigger.d.ts +12 -1
  3. package/autocomplete/typings/autocomplete.d.ts +1 -1
  4. package/autocomplete/typings/index.metadata.json +1 -1
  5. package/badge/typings/badge.d.ts +6 -2
  6. package/badge/typings/index.metadata.json +1 -1
  7. package/bottom-sheet/typings/bottom-sheet-container.d.ts +1 -1
  8. package/bottom-sheet/typings/index.metadata.json +1 -1
  9. package/bundles/material-autocomplete.umd.js +32 -1
  10. package/bundles/material-autocomplete.umd.js.map +1 -1
  11. package/bundles/material-autocomplete.umd.min.js +1 -1
  12. package/bundles/material-autocomplete.umd.min.js.map +1 -1
  13. package/bundles/material-badge.umd.js +6 -2
  14. package/bundles/material-badge.umd.js.map +1 -1
  15. package/bundles/material-badge.umd.min.js +1 -1
  16. package/bundles/material-badge.umd.min.js.map +1 -1
  17. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  18. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  19. package/bundles/material-button-toggle.umd.js +2 -1
  20. package/bundles/material-button-toggle.umd.js.map +1 -1
  21. package/bundles/material-button-toggle.umd.min.js +1 -1
  22. package/bundles/material-button-toggle.umd.min.js.map +1 -1
  23. package/bundles/material-card.umd.js +1 -1
  24. package/bundles/material-card.umd.js.map +1 -1
  25. package/bundles/material-card.umd.min.js +1 -1
  26. package/bundles/material-card.umd.min.js.map +1 -1
  27. package/bundles/material-checkbox.umd.js.map +1 -1
  28. package/bundles/material-checkbox.umd.min.js.map +1 -1
  29. package/bundles/material-chips.umd.js +104 -92
  30. package/bundles/material-chips.umd.js.map +1 -1
  31. package/bundles/material-chips.umd.min.js +1 -1
  32. package/bundles/material-chips.umd.min.js.map +1 -1
  33. package/bundles/material-core.umd.js +13 -16
  34. package/bundles/material-core.umd.js.map +1 -1
  35. package/bundles/material-core.umd.min.js +2 -2
  36. package/bundles/material-core.umd.min.js.map +1 -1
  37. package/bundles/material-datepicker.umd.js +20 -4
  38. package/bundles/material-datepicker.umd.js.map +1 -1
  39. package/bundles/material-datepicker.umd.min.js +2 -2
  40. package/bundles/material-datepicker.umd.min.js.map +1 -1
  41. package/bundles/material-dialog.umd.js.map +1 -1
  42. package/bundles/material-dialog.umd.min.js.map +1 -1
  43. package/bundles/material-expansion.umd.js +200 -74
  44. package/bundles/material-expansion.umd.js.map +1 -1
  45. package/bundles/material-expansion.umd.min.js +1 -1
  46. package/bundles/material-expansion.umd.min.js.map +1 -1
  47. package/bundles/material-form-field.umd.js +29 -18
  48. package/bundles/material-form-field.umd.js.map +1 -1
  49. package/bundles/material-form-field.umd.min.js +1 -1
  50. package/bundles/material-form-field.umd.min.js.map +1 -1
  51. package/bundles/material-grid-list.umd.js +10 -34
  52. package/bundles/material-grid-list.umd.js.map +1 -1
  53. package/bundles/material-grid-list.umd.min.js +1 -1
  54. package/bundles/material-grid-list.umd.min.js.map +1 -1
  55. package/bundles/material-icon.umd.js.map +1 -1
  56. package/bundles/material-icon.umd.min.js.map +1 -1
  57. package/bundles/material-input.umd.js +13 -6
  58. package/bundles/material-input.umd.js.map +1 -1
  59. package/bundles/material-input.umd.min.js +1 -1
  60. package/bundles/material-input.umd.min.js.map +1 -1
  61. package/bundles/material-list.umd.js +4 -4
  62. package/bundles/material-list.umd.js.map +1 -1
  63. package/bundles/material-list.umd.min.js +5 -5
  64. package/bundles/material-list.umd.min.js.map +1 -1
  65. package/bundles/material-menu.umd.js +10 -9
  66. package/bundles/material-menu.umd.js.map +1 -1
  67. package/bundles/material-menu.umd.min.js +1 -1
  68. package/bundles/material-menu.umd.min.js.map +1 -1
  69. package/bundles/material-progress-bar.umd.js +28 -10
  70. package/bundles/material-progress-bar.umd.js.map +1 -1
  71. package/bundles/material-progress-bar.umd.min.js +1 -1
  72. package/bundles/material-progress-bar.umd.min.js.map +1 -1
  73. package/bundles/material-radio.umd.js.map +1 -1
  74. package/bundles/material-radio.umd.min.js.map +1 -1
  75. package/bundles/material-select.umd.js +8 -3
  76. package/bundles/material-select.umd.js.map +1 -1
  77. package/bundles/material-select.umd.min.js +1 -1
  78. package/bundles/material-select.umd.min.js.map +1 -1
  79. package/bundles/material-sidenav.umd.js +5 -1
  80. package/bundles/material-sidenav.umd.js.map +1 -1
  81. package/bundles/material-sidenav.umd.min.js +1 -1
  82. package/bundles/material-sidenav.umd.min.js.map +1 -1
  83. package/bundles/material-slide-toggle.umd.js +1 -1
  84. package/bundles/material-slide-toggle.umd.js.map +1 -1
  85. package/bundles/material-slide-toggle.umd.min.js +1 -1
  86. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  87. package/bundles/material-slider.umd.js +1 -1
  88. package/bundles/material-slider.umd.js.map +1 -1
  89. package/bundles/material-slider.umd.min.js +1 -1
  90. package/bundles/material-slider.umd.min.js.map +1 -1
  91. package/bundles/material-snack-bar.umd.js.map +1 -1
  92. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  93. package/bundles/material-stepper.umd.js +30 -18
  94. package/bundles/material-stepper.umd.js.map +1 -1
  95. package/bundles/material-stepper.umd.min.js +1 -1
  96. package/bundles/material-stepper.umd.min.js.map +1 -1
  97. package/bundles/material-table.umd.js +31 -31
  98. package/bundles/material-table.umd.js.map +1 -1
  99. package/bundles/material-table.umd.min.js +1 -1
  100. package/bundles/material-table.umd.min.js.map +1 -1
  101. package/bundles/material-tabs.umd.js +18 -21
  102. package/bundles/material-tabs.umd.js.map +1 -1
  103. package/bundles/material-tabs.umd.min.js +2 -2
  104. package/bundles/material-tabs.umd.min.js.map +1 -1
  105. package/bundles/material-tooltip.umd.js +11 -11
  106. package/bundles/material-tooltip.umd.js.map +1 -1
  107. package/bundles/material-tooltip.umd.min.js +1 -1
  108. package/bundles/material-tooltip.umd.min.js.map +1 -1
  109. package/bundles/material-tree.umd.js +28 -54
  110. package/bundles/material-tree.umd.js.map +1 -1
  111. package/bundles/material-tree.umd.min.js +1 -1
  112. package/bundles/material-tree.umd.min.js.map +1 -1
  113. package/bundles/material.umd.js +578 -386
  114. package/bundles/material.umd.js.map +1 -1
  115. package/bundles/material.umd.min.js +21 -21
  116. package/bundles/material.umd.min.js.map +1 -1
  117. package/button-toggle/typings/button-toggle.d.ts +1 -1
  118. package/button-toggle/typings/index.metadata.json +1 -1
  119. package/card/typings/index.metadata.json +1 -1
  120. package/checkbox/typings/checkbox.d.ts +2 -2
  121. package/checkbox/typings/index.metadata.json +1 -1
  122. package/chips/typings/chip-input.d.ts +5 -2
  123. package/chips/typings/chip-list.d.ts +12 -19
  124. package/chips/typings/chip.d.ts +3 -2
  125. package/chips/typings/index.metadata.json +1 -1
  126. package/core/typings/index.metadata.json +1 -1
  127. package/core/typings/line/line.d.ts +1 -1
  128. package/core/typings/option/option.d.ts +3 -4
  129. package/core/typings/ripple/ripple-renderer.d.ts +1 -1
  130. package/core/typings/ripple/ripple.d.ts +1 -1
  131. package/datepicker/typings/calendar-body.d.ts +1 -1
  132. package/datepicker/typings/datepicker-input.d.ts +1 -1
  133. package/datepicker/typings/datepicker-toggle.d.ts +3 -1
  134. package/datepicker/typings/datepicker.d.ts +1 -1
  135. package/datepicker/typings/index.metadata.json +1 -1
  136. package/dialog/typings/dialog-container.d.ts +1 -1
  137. package/dialog/typings/dialog-content-directives.d.ts +2 -2
  138. package/dialog/typings/index.metadata.json +1 -1
  139. package/esm2015/autocomplete.js +29 -1
  140. package/esm2015/autocomplete.js.map +1 -1
  141. package/esm2015/badge.js +8 -3
  142. package/esm2015/badge.js.map +1 -1
  143. package/esm2015/bottom-sheet.js.map +1 -1
  144. package/esm2015/button-toggle.js +2 -1
  145. package/esm2015/button-toggle.js.map +1 -1
  146. package/esm2015/card.js +1 -1
  147. package/esm2015/card.js.map +1 -1
  148. package/esm2015/checkbox.js.map +1 -1
  149. package/esm2015/chips.js +93 -74
  150. package/esm2015/chips.js.map +1 -1
  151. package/esm2015/core.js +10 -7
  152. package/esm2015/core.js.map +1 -1
  153. package/esm2015/datepicker.js +22 -5
  154. package/esm2015/datepicker.js.map +1 -1
  155. package/esm2015/dialog.js.map +1 -1
  156. package/esm2015/expansion.js +158 -66
  157. package/esm2015/expansion.js.map +1 -1
  158. package/esm2015/form-field.js +29 -19
  159. package/esm2015/form-field.js.map +1 -1
  160. package/esm2015/grid-list.js +7 -30
  161. package/esm2015/grid-list.js.map +1 -1
  162. package/esm2015/icon.js.map +1 -1
  163. package/esm2015/input.js +13 -7
  164. package/esm2015/input.js.map +1 -1
  165. package/esm2015/list.js +4 -4
  166. package/esm2015/list.js.map +1 -1
  167. package/esm2015/material.js +9 -9
  168. package/esm2015/material.js.map +1 -1
  169. package/esm2015/menu.js +7 -6
  170. package/esm2015/menu.js.map +1 -1
  171. package/esm2015/progress-bar.js +25 -6
  172. package/esm2015/progress-bar.js.map +1 -1
  173. package/esm2015/radio.js.map +1 -1
  174. package/esm2015/select.js +8 -3
  175. package/esm2015/select.js.map +1 -1
  176. package/esm2015/sidenav.js +5 -1
  177. package/esm2015/sidenav.js.map +1 -1
  178. package/esm2015/slide-toggle.js +1 -1
  179. package/esm2015/slide-toggle.js.map +1 -1
  180. package/esm2015/slider.js +1 -1
  181. package/esm2015/slider.js.map +1 -1
  182. package/esm2015/snack-bar.js.map +1 -1
  183. package/esm2015/stepper.js +25 -21
  184. package/esm2015/stepper.js.map +1 -1
  185. package/esm2015/table.js +22 -32
  186. package/esm2015/table.js.map +1 -1
  187. package/esm2015/tabs.js +7 -17
  188. package/esm2015/tabs.js.map +1 -1
  189. package/esm2015/tooltip.js +9 -9
  190. package/esm2015/tooltip.js.map +1 -1
  191. package/esm2015/tree.js +16 -54
  192. package/esm2015/tree.js.map +1 -1
  193. package/esm5/autocomplete.es5.js +32 -1
  194. package/esm5/autocomplete.es5.js.map +1 -1
  195. package/esm5/badge.es5.js +7 -3
  196. package/esm5/badge.es5.js.map +1 -1
  197. package/esm5/bottom-sheet.es5.js.map +1 -1
  198. package/esm5/button-toggle.es5.js +2 -1
  199. package/esm5/button-toggle.es5.js.map +1 -1
  200. package/esm5/card.es5.js +1 -1
  201. package/esm5/card.es5.js.map +1 -1
  202. package/esm5/checkbox.es5.js.map +1 -1
  203. package/esm5/chips.es5.js +103 -91
  204. package/esm5/chips.es5.js.map +1 -1
  205. package/esm5/core.es5.js +10 -12
  206. package/esm5/core.es5.js.map +1 -1
  207. package/esm5/datepicker.es5.js +21 -5
  208. package/esm5/datepicker.es5.js.map +1 -1
  209. package/esm5/dialog.es5.js.map +1 -1
  210. package/esm5/expansion.es5.js +202 -78
  211. package/esm5/expansion.es5.js.map +1 -1
  212. package/esm5/form-field.es5.js +29 -18
  213. package/esm5/form-field.es5.js.map +1 -1
  214. package/esm5/grid-list.es5.js +7 -30
  215. package/esm5/grid-list.es5.js.map +1 -1
  216. package/esm5/icon.es5.js.map +1 -1
  217. package/esm5/input.es5.js +13 -7
  218. package/esm5/input.es5.js.map +1 -1
  219. package/esm5/list.es5.js +4 -4
  220. package/esm5/list.es5.js.map +1 -1
  221. package/esm5/material.es5.js +9 -9
  222. package/esm5/material.es5.js.map +1 -1
  223. package/esm5/menu.es5.js +5 -4
  224. package/esm5/menu.es5.js.map +1 -1
  225. package/esm5/progress-bar.es5.js +25 -9
  226. package/esm5/progress-bar.es5.js.map +1 -1
  227. package/esm5/radio.es5.js.map +1 -1
  228. package/esm5/select.es5.js +8 -3
  229. package/esm5/select.es5.js.map +1 -1
  230. package/esm5/sidenav.es5.js +5 -1
  231. package/esm5/sidenav.es5.js.map +1 -1
  232. package/esm5/slide-toggle.es5.js +1 -1
  233. package/esm5/slide-toggle.es5.js.map +1 -1
  234. package/esm5/slider.es5.js +1 -1
  235. package/esm5/slider.es5.js.map +1 -1
  236. package/esm5/snack-bar.es5.js.map +1 -1
  237. package/esm5/stepper.es5.js +25 -17
  238. package/esm5/stepper.es5.js.map +1 -1
  239. package/esm5/table.es5.js +22 -30
  240. package/esm5/table.es5.js.map +1 -1
  241. package/esm5/tabs.es5.js +9 -12
  242. package/esm5/tabs.es5.js.map +1 -1
  243. package/esm5/tooltip.es5.js +11 -11
  244. package/esm5/tooltip.es5.js.map +1 -1
  245. package/esm5/tree.es5.js +22 -53
  246. package/esm5/tree.es5.js.map +1 -1
  247. package/expansion/typings/accordion-base.d.ts +30 -0
  248. package/expansion/typings/accordion.d.ts +18 -4
  249. package/expansion/typings/expansion-panel-header.d.ts +13 -2
  250. package/expansion/typings/expansion-panel.d.ts +10 -6
  251. package/expansion/typings/index.metadata.json +1 -1
  252. package/expansion/typings/public-api.d.ts +1 -0
  253. package/form-field/typings/form-field.d.ts +4 -3
  254. package/form-field/typings/index.metadata.json +1 -1
  255. package/grid-list/typings/grid-list.d.ts +1 -1
  256. package/grid-list/typings/grid-tile.d.ts +2 -2
  257. package/grid-list/typings/index.metadata.json +1 -1
  258. package/icon/typings/icon.d.ts +1 -1
  259. package/icon/typings/index.metadata.json +1 -1
  260. package/input/typings/autosize.d.ts +2 -1
  261. package/input/typings/index.metadata.json +1 -1
  262. package/input/typings/input.d.ts +2 -2
  263. package/list/typings/index.metadata.json +1 -1
  264. package/list/typings/list.d.ts +1 -1
  265. package/list/typings/selection-list.d.ts +2 -2
  266. package/menu/typings/index.d.ts +4 -4
  267. package/menu/typings/index.metadata.json +1 -1
  268. package/menu/typings/menu-directive.d.ts +1 -1
  269. package/menu/typings/menu-item.d.ts +1 -1
  270. package/menu/typings/menu-trigger.d.ts +1 -1
  271. package/package.json +4 -4
  272. package/prebuilt-themes/deeppurple-amber.css +1 -1
  273. package/prebuilt-themes/indigo-pink.css +1 -1
  274. package/prebuilt-themes/pink-bluegrey.css +1 -1
  275. package/prebuilt-themes/purple-green.css +1 -1
  276. package/progress-bar/typings/index.metadata.json +1 -1
  277. package/progress-bar/typings/progress-bar.d.ts +17 -3
  278. package/radio/typings/radio.d.ts +1 -1
  279. package/sidenav/typings/drawer.d.ts +2 -2
  280. package/sidenav/typings/index.metadata.json +1 -1
  281. package/slide-toggle/typings/index.metadata.json +1 -1
  282. package/slide-toggle/typings/slide-toggle.d.ts +3 -3
  283. package/slider/typings/index.metadata.json +1 -1
  284. package/snack-bar/typings/index.metadata.json +1 -1
  285. package/snack-bar/typings/snack-bar-container.d.ts +1 -1
  286. package/stepper/typings/index.metadata.json +1 -1
  287. package/stepper/typings/step-header.d.ts +2 -2
  288. package/stepper/typings/step-label.d.ts +2 -10
  289. package/stepper/typings/stepper-button.d.ts +4 -2
  290. package/stepper/typings/stepper.d.ts +4 -3
  291. package/table/typings/cell.d.ts +8 -5
  292. package/table/typings/index.metadata.json +1 -1
  293. package/table/typings/row.d.ts +6 -3
  294. package/table/typings/table.d.ts +2 -8
  295. package/tabs/typings/index.d.ts +5 -5
  296. package/tabs/typings/index.metadata.json +1 -1
  297. package/tabs/typings/ink-bar.d.ts +1 -1
  298. package/tabs/typings/tab-body.d.ts +1 -1
  299. package/tabs/typings/tab-label.d.ts +2 -10
  300. package/tooltip/typings/index.metadata.json +1 -1
  301. package/tooltip/typings/tooltip.d.ts +3 -3
  302. package/tree/typings/index.metadata.json +1 -1
  303. package/tree/typings/node.d.ts +7 -7
  304. package/tree/typings/padding.d.ts +3 -5
  305. package/tree/typings/toggle.d.ts +10 -3
  306. package/tree/typings/tree.d.ts +2 -3
  307. package/typings/autocomplete/autocomplete-trigger.d.ts +12 -1
  308. package/typings/autocomplete/autocomplete.d.ts +1 -1
  309. package/typings/autocomplete/index.metadata.json +1 -1
  310. package/typings/badge/badge.d.ts +6 -2
  311. package/typings/badge/index.metadata.json +1 -1
  312. package/typings/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  313. package/typings/bottom-sheet/index.metadata.json +1 -1
  314. package/typings/button-toggle/button-toggle.d.ts +1 -1
  315. package/typings/button-toggle/index.metadata.json +1 -1
  316. package/typings/card/index.metadata.json +1 -1
  317. package/typings/checkbox/checkbox.d.ts +2 -2
  318. package/typings/checkbox/index.metadata.json +1 -1
  319. package/typings/chips/chip-input.d.ts +5 -2
  320. package/typings/chips/chip-list.d.ts +12 -19
  321. package/typings/chips/chip.d.ts +3 -2
  322. package/typings/chips/index.metadata.json +1 -1
  323. package/typings/core/index.metadata.json +1 -1
  324. package/typings/core/line/line.d.ts +1 -1
  325. package/typings/core/option/option.d.ts +3 -4
  326. package/typings/core/ripple/ripple-renderer.d.ts +1 -1
  327. package/typings/core/ripple/ripple.d.ts +1 -1
  328. package/typings/datepicker/calendar-body.d.ts +1 -1
  329. package/typings/datepicker/datepicker-input.d.ts +1 -1
  330. package/typings/datepicker/datepicker-toggle.d.ts +3 -1
  331. package/typings/datepicker/datepicker.d.ts +1 -1
  332. package/typings/datepicker/index.metadata.json +1 -1
  333. package/typings/dialog/dialog-container.d.ts +1 -1
  334. package/typings/dialog/dialog-content-directives.d.ts +2 -2
  335. package/typings/dialog/index.metadata.json +1 -1
  336. package/typings/esm5/autocomplete/autocomplete-trigger.d.ts +12 -1
  337. package/typings/esm5/autocomplete/autocomplete.d.ts +1 -1
  338. package/typings/esm5/autocomplete/index.metadata.json +1 -1
  339. package/typings/esm5/badge/badge.d.ts +6 -2
  340. package/typings/esm5/badge/index.metadata.json +1 -1
  341. package/typings/esm5/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  342. package/typings/esm5/bottom-sheet/index.metadata.json +1 -1
  343. package/typings/esm5/button-toggle/button-toggle.d.ts +1 -1
  344. package/typings/esm5/button-toggle/index.metadata.json +1 -1
  345. package/typings/esm5/card/index.metadata.json +1 -1
  346. package/typings/esm5/checkbox/checkbox.d.ts +2 -2
  347. package/typings/esm5/checkbox/index.metadata.json +1 -1
  348. package/typings/esm5/chips/chip-input.d.ts +5 -2
  349. package/typings/esm5/chips/chip-list.d.ts +12 -19
  350. package/typings/esm5/chips/chip.d.ts +3 -2
  351. package/typings/esm5/chips/index.metadata.json +1 -1
  352. package/typings/esm5/core/index.metadata.json +1 -1
  353. package/typings/esm5/core/line/line.d.ts +1 -1
  354. package/typings/esm5/core/option/option.d.ts +3 -4
  355. package/typings/esm5/core/ripple/ripple-renderer.d.ts +1 -1
  356. package/typings/esm5/core/ripple/ripple.d.ts +1 -1
  357. package/typings/esm5/datepicker/calendar-body.d.ts +1 -1
  358. package/typings/esm5/datepicker/datepicker-input.d.ts +1 -1
  359. package/typings/esm5/datepicker/datepicker-toggle.d.ts +3 -1
  360. package/typings/esm5/datepicker/datepicker.d.ts +1 -1
  361. package/typings/esm5/datepicker/index.metadata.json +1 -1
  362. package/typings/esm5/dialog/dialog-container.d.ts +1 -1
  363. package/typings/esm5/dialog/dialog-content-directives.d.ts +2 -2
  364. package/typings/esm5/dialog/index.metadata.json +1 -1
  365. package/typings/esm5/expansion/accordion-base.d.ts +30 -0
  366. package/typings/esm5/expansion/accordion.d.ts +18 -4
  367. package/typings/esm5/expansion/expansion-panel-header.d.ts +13 -2
  368. package/typings/esm5/expansion/expansion-panel.d.ts +10 -6
  369. package/typings/esm5/expansion/index.metadata.json +1 -1
  370. package/typings/esm5/expansion/public-api.d.ts +1 -0
  371. package/typings/esm5/form-field/form-field.d.ts +4 -3
  372. package/typings/esm5/form-field/index.metadata.json +1 -1
  373. package/typings/esm5/grid-list/grid-list.d.ts +1 -1
  374. package/typings/esm5/grid-list/grid-tile.d.ts +2 -2
  375. package/typings/esm5/grid-list/index.metadata.json +1 -1
  376. package/typings/esm5/icon/icon.d.ts +1 -1
  377. package/typings/esm5/icon/index.metadata.json +1 -1
  378. package/typings/esm5/index.metadata.json +1 -1
  379. package/typings/esm5/input/autosize.d.ts +2 -1
  380. package/typings/esm5/input/index.metadata.json +1 -1
  381. package/typings/esm5/input/input.d.ts +2 -2
  382. package/typings/esm5/list/index.metadata.json +1 -1
  383. package/typings/esm5/list/list.d.ts +1 -1
  384. package/typings/esm5/list/selection-list.d.ts +2 -2
  385. package/typings/esm5/menu/index.d.ts +4 -4
  386. package/typings/esm5/menu/index.metadata.json +1 -1
  387. package/typings/esm5/menu/menu-directive.d.ts +1 -1
  388. package/typings/esm5/menu/menu-item.d.ts +1 -1
  389. package/typings/esm5/menu/menu-trigger.d.ts +1 -1
  390. package/typings/esm5/progress-bar/index.metadata.json +1 -1
  391. package/typings/esm5/progress-bar/progress-bar.d.ts +17 -3
  392. package/typings/esm5/radio/radio.d.ts +1 -1
  393. package/typings/esm5/sidenav/drawer.d.ts +2 -2
  394. package/typings/esm5/sidenav/index.metadata.json +1 -1
  395. package/typings/esm5/slide-toggle/index.metadata.json +1 -1
  396. package/typings/esm5/slide-toggle/slide-toggle.d.ts +3 -3
  397. package/typings/esm5/slider/index.metadata.json +1 -1
  398. package/typings/esm5/snack-bar/index.metadata.json +1 -1
  399. package/typings/esm5/snack-bar/snack-bar-container.d.ts +1 -1
  400. package/typings/esm5/stepper/index.metadata.json +1 -1
  401. package/typings/esm5/stepper/step-header.d.ts +2 -2
  402. package/typings/esm5/stepper/step-label.d.ts +2 -10
  403. package/typings/esm5/stepper/stepper-button.d.ts +4 -2
  404. package/typings/esm5/stepper/stepper.d.ts +4 -3
  405. package/typings/esm5/table/cell.d.ts +8 -5
  406. package/typings/esm5/table/index.metadata.json +1 -1
  407. package/typings/esm5/table/row.d.ts +6 -3
  408. package/typings/esm5/table/table.d.ts +2 -8
  409. package/typings/esm5/tabs/index.d.ts +5 -5
  410. package/typings/esm5/tabs/index.metadata.json +1 -1
  411. package/typings/esm5/tabs/ink-bar.d.ts +1 -1
  412. package/typings/esm5/tabs/tab-body.d.ts +1 -1
  413. package/typings/esm5/tabs/tab-label.d.ts +2 -10
  414. package/typings/esm5/tooltip/index.metadata.json +1 -1
  415. package/typings/esm5/tooltip/tooltip.d.ts +3 -3
  416. package/typings/esm5/tree/index.metadata.json +1 -1
  417. package/typings/esm5/tree/node.d.ts +7 -7
  418. package/typings/esm5/tree/padding.d.ts +3 -5
  419. package/typings/esm5/tree/toggle.d.ts +10 -3
  420. package/typings/esm5/tree/tree.d.ts +2 -3
  421. package/typings/expansion/accordion-base.d.ts +30 -0
  422. package/typings/expansion/accordion.d.ts +18 -4
  423. package/typings/expansion/expansion-panel-header.d.ts +13 -2
  424. package/typings/expansion/expansion-panel.d.ts +10 -6
  425. package/typings/expansion/index.metadata.json +1 -1
  426. package/typings/expansion/public-api.d.ts +1 -0
  427. package/typings/form-field/form-field.d.ts +4 -3
  428. package/typings/form-field/index.metadata.json +1 -1
  429. package/typings/grid-list/grid-list.d.ts +1 -1
  430. package/typings/grid-list/grid-tile.d.ts +2 -2
  431. package/typings/grid-list/index.metadata.json +1 -1
  432. package/typings/icon/icon.d.ts +1 -1
  433. package/typings/icon/index.metadata.json +1 -1
  434. package/typings/index.metadata.json +1 -1
  435. package/typings/input/autosize.d.ts +2 -1
  436. package/typings/input/index.metadata.json +1 -1
  437. package/typings/input/input.d.ts +2 -2
  438. package/typings/list/index.metadata.json +1 -1
  439. package/typings/list/list.d.ts +1 -1
  440. package/typings/list/selection-list.d.ts +2 -2
  441. package/typings/menu/index.d.ts +4 -4
  442. package/typings/menu/index.metadata.json +1 -1
  443. package/typings/menu/menu-directive.d.ts +1 -1
  444. package/typings/menu/menu-item.d.ts +1 -1
  445. package/typings/menu/menu-trigger.d.ts +1 -1
  446. package/typings/progress-bar/index.metadata.json +1 -1
  447. package/typings/progress-bar/progress-bar.d.ts +17 -3
  448. package/typings/radio/radio.d.ts +1 -1
  449. package/typings/sidenav/drawer.d.ts +2 -2
  450. package/typings/sidenav/index.metadata.json +1 -1
  451. package/typings/slide-toggle/index.metadata.json +1 -1
  452. package/typings/slide-toggle/slide-toggle.d.ts +3 -3
  453. package/typings/slider/index.metadata.json +1 -1
  454. package/typings/snack-bar/index.metadata.json +1 -1
  455. package/typings/snack-bar/snack-bar-container.d.ts +1 -1
  456. package/typings/stepper/index.metadata.json +1 -1
  457. package/typings/stepper/step-header.d.ts +2 -2
  458. package/typings/stepper/step-label.d.ts +2 -10
  459. package/typings/stepper/stepper-button.d.ts +4 -2
  460. package/typings/stepper/stepper.d.ts +4 -3
  461. package/typings/table/cell.d.ts +8 -5
  462. package/typings/table/index.metadata.json +1 -1
  463. package/typings/table/row.d.ts +6 -3
  464. package/typings/table/table.d.ts +2 -8
  465. package/typings/tabs/index.d.ts +5 -5
  466. package/typings/tabs/index.metadata.json +1 -1
  467. package/typings/tabs/ink-bar.d.ts +1 -1
  468. package/typings/tabs/tab-body.d.ts +1 -1
  469. package/typings/tabs/tab-label.d.ts +2 -10
  470. package/typings/tooltip/index.metadata.json +1 -1
  471. package/typings/tooltip/tooltip.d.ts +3 -3
  472. package/typings/tree/index.metadata.json +1 -1
  473. package/typings/tree/node.d.ts +7 -7
  474. package/typings/tree/padding.d.ts +3 -5
  475. package/typings/tree/toggle.d.ts +10 -3
  476. package/typings/tree/tree.d.ts +2 -3
  477. package/grid-list/typings/grid-list-measure.d.ts +0 -17
  478. package/typings/esm5/grid-list/grid-list-measure.d.ts +0 -17
  479. package/typings/grid-list/grid-list-measure.d.ts +0 -17
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.es5.js","sources":["../../../src/lib/stepper/stepper-module.ts","../../../src/lib/stepper/stepper-button.ts","../../../src/lib/stepper/stepper.ts","../../../src/lib/stepper/stepper-icon.ts","../../../src/lib/stepper/stepper-animations.ts","../../../src/lib/stepper/step-header.ts","../../../src/lib/stepper/stepper-intl.ts","../../../src/lib/stepper/step-label.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {PortalModule} from '@angular/cdk/portal';\nimport {CdkStepperModule} from '@angular/cdk/stepper';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {ErrorStateMatcher, MatCommonModule, MatRippleModule} from '@angular/material/core';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatStepHeader} from './step-header';\nimport {MatStepLabel} from './step-label';\nimport {MatHorizontalStepper, MatStep, MatStepper, MatVerticalStepper} from './stepper';\nimport {MatStepperNext, MatStepperPrevious} from './stepper-button';\nimport {MatStepperIcon} from './stepper-icon';\nimport {MatStepperIntl} from './stepper-intl';\n\n\n@NgModule({\n imports: [\n MatCommonModule,\n CommonModule,\n PortalModule,\n MatButtonModule,\n CdkStepperModule,\n MatIconModule,\n MatRippleModule,\n ],\n exports: [\n MatCommonModule,\n MatHorizontalStepper,\n MatVerticalStepper,\n MatStep,\n MatStepLabel,\n MatStepper,\n MatStepperNext,\n MatStepperPrevious,\n MatStepHeader,\n MatStepperIcon,\n ],\n declarations: [\n MatHorizontalStepper,\n MatVerticalStepper,\n MatStep,\n MatStepLabel,\n MatStepper,\n MatStepperNext,\n MatStepperPrevious,\n MatStepHeader,\n MatStepperIcon,\n ],\n providers: [MatStepperIntl, ErrorStateMatcher],\n})\nexport class MatStepperModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive} from '@angular/core';\nimport {CdkStepper, CdkStepperNext, CdkStepperPrevious} from '@angular/cdk/stepper';\nimport {MatStepper} from './stepper';\n\n/** Button that moves to the next step in a stepper workflow. */\n@Directive({\n selector: 'button[matStepperNext]',\n host: {\n '(click)': '_stepper.next()',\n '[type]': 'type',\n },\n inputs: ['type'],\n providers: [{provide: CdkStepper, useExisting: MatStepper}]\n})\nexport class MatStepperNext extends CdkStepperNext {}\n\n/** Button that moves to the previous step in a stepper workflow. */\n@Directive({\n selector: 'button[matStepperPrevious]',\n host: {\n '(click)': '_stepper.previous()',\n '[type]': 'type',\n },\n inputs: ['type'],\n providers: [{provide: CdkStepper, useExisting: MatStepper}]\n})\nexport class MatStepperPrevious extends CdkStepperPrevious {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {CdkStep, CdkStepper, StepContentPositionState} from '@angular/cdk/stepper';\nimport {AnimationEvent} from '@angular/animations';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n Directive,\n EventEmitter,\n forwardRef,\n Inject,\n Optional,\n Output,\n QueryList,\n SkipSelf,\n TemplateRef,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport {FormControl, FormGroupDirective, NgForm} from '@angular/forms';\nimport {ErrorStateMatcher} from '@angular/material/core';\nimport {MatStepHeader} from './step-header';\nimport {MatStepLabel} from './step-label';\nimport {takeUntil} from 'rxjs/operators';\nimport {matStepperAnimations} from './stepper-animations';\nimport {MatStepperIcon, MatStepperIconContext} from './stepper-icon';\n\n\n@Component({\n moduleId: module.id,\n selector: 'mat-step',\n templateUrl: 'step.html',\n providers: [{provide: ErrorStateMatcher, useExisting: MatStep}],\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matStep',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatStep extends CdkStep implements ErrorStateMatcher {\n /** Content for step label given by `<ng-template matStepLabel>`. */\n @ContentChild(MatStepLabel) stepLabel: MatStepLabel;\n\n constructor(@Inject(forwardRef(() => MatStepper)) stepper: MatStepper,\n @SkipSelf() private _errorStateMatcher: ErrorStateMatcher) {\n super(stepper);\n }\n\n /** Custom error state matcher that additionally checks for validity of interacted form. */\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\n const originalErrorState = this._errorStateMatcher.isErrorState(control, form);\n\n // Custom error state checks for the validity of form that is not submitted or touched\n // since user can trigger a form change by calling for another step without directly\n // interacting with the current form.\n const customErrorState = !!(control && control.invalid && this.interacted);\n\n return originalErrorState || customErrorState;\n }\n}\n\n\n@Directive({\n selector: '[matStepper]'\n})\nexport class MatStepper extends CdkStepper implements AfterContentInit {\n /** The list of step headers of the steps in the stepper. */\n @ViewChildren(MatStepHeader) _stepHeader: QueryList<MatStepHeader>;\n\n /** Steps that the stepper holds. */\n @ContentChildren(MatStep) _steps: QueryList<MatStep>;\n\n /** Custom icon overrides passed in by the consumer. */\n @ContentChildren(MatStepperIcon) _icons: QueryList<MatStepperIcon>;\n\n /** Event emitted when the current step is done transitioning in. */\n @Output() readonly animationDone: EventEmitter<void> = new EventEmitter<void>();\n\n /** Consumer-specified template-refs to be used to override the header icons. */\n _iconOverrides: {[key: string]: TemplateRef<MatStepperIconContext>} = {};\n\n ngAfterContentInit() {\n const icons = this._icons.toArray();\n\n ['edit', 'done', 'number'].forEach(name => {\n const override = icons.find(icon => icon.name === name);\n\n if (override) {\n this._iconOverrides[name] = override.templateRef;\n }\n });\n\n // Mark the component for change detection whenever the content children query changes\n this._steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => this._stateChanged());\n }\n\n _animationDone(event: AnimationEvent) {\n if ((event.toState as StepContentPositionState) === 'current') {\n this.animationDone.emit();\n }\n }\n}\n\n@Component({\n moduleId: module.id,\n selector: 'mat-horizontal-stepper',\n exportAs: 'matHorizontalStepper',\n templateUrl: 'stepper-horizontal.html',\n styleUrls: ['stepper.css'],\n inputs: ['selectedIndex'],\n host: {\n 'class': 'mat-stepper-horizontal',\n 'aria-orientation': 'horizontal',\n 'role': 'tablist',\n },\n animations: [matStepperAnimations.horizontalStepTransition],\n providers: [{provide: MatStepper, useExisting: MatHorizontalStepper}],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatHorizontalStepper extends MatStepper { }\n\n@Component({\n moduleId: module.id,\n selector: 'mat-vertical-stepper',\n exportAs: 'matVerticalStepper',\n templateUrl: 'stepper-vertical.html',\n styleUrls: ['stepper.css'],\n inputs: ['selectedIndex'],\n host: {\n 'class': 'mat-stepper-vertical',\n 'aria-orientation': 'vertical',\n 'role': 'tablist',\n },\n animations: [matStepperAnimations.verticalStepTransition],\n providers: [{provide: MatStepper, useExisting: MatVerticalStepper}],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatVerticalStepper extends MatStepper {\n constructor(@Optional() dir: Directionality, changeDetectorRef: ChangeDetectorRef) {\n super(dir, changeDetectorRef);\n this._orientation = 'vertical';\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, Input, TemplateRef} from '@angular/core';\n\n/** Template context available to an attached `matStepperIcon`. */\nexport interface MatStepperIconContext {\n /** Index of the step. */\n index: number;\n /** Whether the step is currently active. */\n active: boolean;\n /** Whether the step is optional. */\n optional: boolean;\n}\n\n/**\n * Template to be used to override the icons inside the step header.\n */\n@Directive({\n selector: 'ng-template[matStepperIcon]',\n})\nexport class MatStepperIcon {\n /** Name of the icon to be overridden. */\n @Input('matStepperIcon') name: 'edit' | 'done' | 'number';\n\n constructor(public templateRef: TemplateRef<MatStepperIconContext>) {}\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\n/** Animations used by the Material steppers. */\nexport const matStepperAnimations: {\n readonly horizontalStepTransition: AnimationTriggerMetadata;\n readonly verticalStepTransition: AnimationTriggerMetadata;\n} = {\n /** Animation that transitions the step along the X axis in a horizontal stepper. */\n horizontalStepTransition: trigger('stepTransition', [\n state('previous', style({transform: 'translate3d(-100%, 0, 0)', visibility: 'hidden'})),\n state('current', style({transform: 'none', visibility: 'visible'})),\n state('next', style({transform: 'translate3d(100%, 0, 0)', visibility: 'hidden'})),\n transition('* => *', animate('500ms cubic-bezier(0.35, 0, 0.25, 1)'))\n ]),\n\n /** Animation that transitions the step along the Y axis in a vertical stepper. */\n verticalStepTransition: trigger('stepTransition', [\n state('previous', style({height: '0px', visibility: 'hidden'})),\n state('next', style({height: '0px', visibility: 'hidden'})),\n state('current', style({height: '*', visibility: 'visible'})),\n transition('* <=> current', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))\n ])\n};\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {FocusMonitor} from '@angular/cdk/a11y';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Input,\n OnDestroy,\n ViewEncapsulation,\n TemplateRef,\n} from '@angular/core';\nimport {Subscription} from 'rxjs';\nimport {MatStepLabel} from './step-label';\nimport {MatStepperIntl} from './stepper-intl';\nimport {MatStepperIconContext} from './stepper-icon';\n\n\n@Component({\n moduleId: module.id,\n selector: 'mat-step-header',\n templateUrl: 'step-header.html',\n styleUrls: ['step-header.css'],\n host: {\n 'class': 'mat-step-header',\n 'role': 'tab',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatStepHeader implements OnDestroy {\n private _intlSubscription: Subscription;\n\n /** State of the given step. */\n @Input() state: string;\n\n /** Label of the given step. */\n @Input() label: MatStepLabel | string;\n\n /** Overrides for the header icons, passed in via the stepper. */\n @Input() iconOverrides: {[key: string]: TemplateRef<MatStepperIconContext>};\n\n /** Index of the given step. */\n @Input() index: number;\n\n /** Whether the given step is selected. */\n @Input() selected: boolean;\n\n /** Whether the given step label is active. */\n @Input() active: boolean;\n\n /** Whether the given step is optional. */\n @Input() optional: boolean;\n\n constructor(\n public _intl: MatStepperIntl,\n private _focusMonitor: FocusMonitor,\n private _element: ElementRef,\n changeDetectorRef: ChangeDetectorRef) {\n _focusMonitor.monitor(_element.nativeElement, true);\n this._intlSubscription = _intl.changes.subscribe(() => changeDetectorRef.markForCheck());\n }\n\n ngOnDestroy() {\n this._intlSubscription.unsubscribe();\n this._focusMonitor.stopMonitoring(this._element.nativeElement);\n }\n\n /** Returns string label of given step if it is a text label. */\n _stringLabel(): string | null {\n return this.label instanceof MatStepLabel ? null : this.label;\n }\n\n /** Returns MatStepLabel if the label of given step is a template label. */\n _templateLabel(): MatStepLabel | null {\n return this.label instanceof MatStepLabel ? this.label : null;\n }\n\n /** Returns the host HTML element. */\n _getHostElement() {\n return this._element.nativeElement;\n }\n\n /** Template context variables that are exposed to the `matStepperIcon` instances. */\n _getIconContext(): MatStepperIconContext {\n return {\n index: this.index,\n active: this.active,\n optional: this.optional\n };\n }\n\n focus() {\n this._getHostElement().focus();\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Injectable} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n\n/** Stepper data that is required for internationalization. */\n@Injectable({providedIn: 'root'})\nexport class MatStepperIntl {\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n */\n readonly changes: Subject<void> = new Subject<void>();\n\n /** Label that is rendered below optional steps. */\n optionalLabel: string = 'Optional';\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, TemplateRef} from '@angular/core';\nimport {CdkStepLabel} from '@angular/cdk/stepper';\n\n@Directive({\n selector: '[matStepLabel]',\n})\nexport class MatStepLabel extends CdkStepLabel {\n constructor(template: TemplateRef<any>) {\n super(template);\n }\n}\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IOckCA,SAAlC,CAAA,YAAA,EAAA,MAAA,CAAA,CAA8C;IAC5C,SAAF,YAAA,CAAc,QAA0B,EAAxC;QACA,OAAI,MAAJ,CAAA,IAAA,CAAA,IAAA,EAAU,QAAQ,CAAC,IAAnB,IAAA,CAAA;KACG;;QANH,EAAA,IAAA,EAAC,SAAS,EAAV,IAAA,EAAA,CAAW;oBACT,QAAQ,EA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wBACV,cAAc;wBACd,kBAAkB;wBAClB,aAAa;wBACb,cAAc;qBACf;oBACD,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,kBAAkB;wBAClB,OAAO;wBACP,YAAY;wBACZ,UAAU;wBACV,cAAc;wBACd,kBAAkB;wBAClB,aAAa;wBACb,cAAc;qBACf;oBACD,SAAS,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;iBAC/C,EAAD,EAAA;;IAzDA,OAAA,gBAAA,CAAA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"stepper.es5.js","sources":["../../../src/lib/stepper/stepper-module.ts","../../../src/lib/stepper/stepper-button.ts","../../../src/lib/stepper/stepper.ts","../../../src/lib/stepper/stepper-icon.ts","../../../src/lib/stepper/stepper-animations.ts","../../../src/lib/stepper/step-header.ts","../../../src/lib/stepper/stepper-intl.ts","../../../src/lib/stepper/step-label.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {PortalModule} from '@angular/cdk/portal';\nimport {CdkStepperModule} from '@angular/cdk/stepper';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {ErrorStateMatcher, MatCommonModule, MatRippleModule} from '@angular/material/core';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatStepHeader} from './step-header';\nimport {MatStepLabel} from './step-label';\nimport {MatHorizontalStepper, MatStep, MatStepper, MatVerticalStepper} from './stepper';\nimport {MatStepperNext, MatStepperPrevious} from './stepper-button';\nimport {MatStepperIcon} from './stepper-icon';\nimport {MatStepperIntl} from './stepper-intl';\n\n\n@NgModule({\n imports: [\n MatCommonModule,\n CommonModule,\n PortalModule,\n MatButtonModule,\n CdkStepperModule,\n MatIconModule,\n MatRippleModule,\n ],\n exports: [\n MatCommonModule,\n MatHorizontalStepper,\n MatVerticalStepper,\n MatStep,\n MatStepLabel,\n MatStepper,\n MatStepperNext,\n MatStepperPrevious,\n MatStepHeader,\n MatStepperIcon,\n ],\n declarations: [\n MatHorizontalStepper,\n MatVerticalStepper,\n MatStep,\n MatStepLabel,\n MatStepper,\n MatStepperNext,\n MatStepperPrevious,\n MatStepHeader,\n MatStepperIcon,\n ],\n providers: [MatStepperIntl, ErrorStateMatcher],\n})\nexport class MatStepperModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive} from '@angular/core';\nimport {CdkStepper, CdkStepperNext, CdkStepperPrevious} from '@angular/cdk/stepper';\nimport {MatStepper} from './stepper';\n\n// TODO(devversion): workaround for https://github.com/angular/material2/issues/12760\nexport const _CdkStepperNext = CdkStepperNext;\nexport const _CdkStepperPrevious = CdkStepperPrevious;\n\n/** Button that moves to the next step in a stepper workflow. */\n@Directive({\n selector: 'button[matStepperNext]',\n host: {\n '(click)': '_stepper.next()',\n '[type]': 'type',\n },\n inputs: ['type'],\n providers: [{provide: CdkStepper, useExisting: MatStepper}]\n})\nexport class MatStepperNext extends _CdkStepperNext {}\n\n/** Button that moves to the previous step in a stepper workflow. */\n@Directive({\n selector: 'button[matStepperPrevious]',\n host: {\n '(click)': '_stepper.previous()',\n '[type]': 'type',\n },\n inputs: ['type'],\n providers: [{provide: CdkStepper, useExisting: MatStepper}]\n})\nexport class MatStepperPrevious extends _CdkStepperPrevious {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {CdkStep, CdkStepper, StepContentPositionState} from '@angular/cdk/stepper';\nimport {AnimationEvent} from '@angular/animations';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n Directive,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Optional,\n Output,\n QueryList,\n SkipSelf,\n TemplateRef,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport {FormControl, FormGroupDirective, NgForm} from '@angular/forms';\nimport {DOCUMENT} from '@angular/common';\nimport {ErrorStateMatcher} from '@angular/material/core';\nimport {MatStepHeader} from './step-header';\nimport {MatStepLabel} from './step-label';\nimport {takeUntil} from 'rxjs/operators';\nimport {matStepperAnimations} from './stepper-animations';\nimport {MatStepperIcon, MatStepperIconContext} from './stepper-icon';\n\n// TODO(devversion): workaround for https://github.com/angular/material2/issues/12760\nexport const _CdkStepper = CdkStepper;\n\n@Component({\n moduleId: module.id,\n selector: 'mat-step',\n templateUrl: 'step.html',\n providers: [{provide: ErrorStateMatcher, useExisting: MatStep}],\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matStep',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatStep extends CdkStep implements ErrorStateMatcher {\n /** Content for step label given by `<ng-template matStepLabel>`. */\n @ContentChild(MatStepLabel) stepLabel: MatStepLabel;\n\n constructor(@Inject(forwardRef(() => MatStepper)) stepper: MatStepper,\n @SkipSelf() private _errorStateMatcher: ErrorStateMatcher) {\n super(stepper);\n }\n\n /** Custom error state matcher that additionally checks for validity of interacted form. */\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\n const originalErrorState = this._errorStateMatcher.isErrorState(control, form);\n\n // Custom error state checks for the validity of form that is not submitted or touched\n // since user can trigger a form change by calling for another step without directly\n // interacting with the current form.\n const customErrorState = !!(control && control.invalid && this.interacted);\n\n return originalErrorState || customErrorState;\n }\n}\n\n\n@Directive({\n selector: '[matStepper]'\n})\nexport class MatStepper extends _CdkStepper implements AfterContentInit {\n /** The list of step headers of the steps in the stepper. */\n @ViewChildren(MatStepHeader) _stepHeader: QueryList<MatStepHeader>;\n\n /** Steps that the stepper holds. */\n @ContentChildren(MatStep) _steps: QueryList<MatStep>;\n\n /** Custom icon overrides passed in by the consumer. */\n @ContentChildren(MatStepperIcon) _icons: QueryList<MatStepperIcon>;\n\n /** Event emitted when the current step is done transitioning in. */\n @Output() readonly animationDone: EventEmitter<void> = new EventEmitter<void>();\n\n /** Consumer-specified template-refs to be used to override the header icons. */\n _iconOverrides: {[key: string]: TemplateRef<MatStepperIconContext>} = {};\n\n ngAfterContentInit() {\n const icons = this._icons.toArray();\n\n ['edit', 'done', 'number'].forEach(name => {\n const override = icons.find(icon => icon.name === name);\n\n if (override) {\n this._iconOverrides[name] = override.templateRef;\n }\n });\n\n // Mark the component for change detection whenever the content children query changes\n this._steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => this._stateChanged());\n }\n\n _animationDone(event: AnimationEvent) {\n if ((event.toState as StepContentPositionState) === 'current') {\n this.animationDone.emit();\n }\n }\n}\n\n@Component({\n moduleId: module.id,\n selector: 'mat-horizontal-stepper',\n exportAs: 'matHorizontalStepper',\n templateUrl: 'stepper-horizontal.html',\n styleUrls: ['stepper.css'],\n inputs: ['selectedIndex'],\n host: {\n 'class': 'mat-stepper-horizontal',\n 'aria-orientation': 'horizontal',\n 'role': 'tablist',\n },\n animations: [matStepperAnimations.horizontalStepTransition],\n providers: [{provide: MatStepper, useExisting: MatHorizontalStepper}],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatHorizontalStepper extends MatStepper { }\n\n@Component({\n moduleId: module.id,\n selector: 'mat-vertical-stepper',\n exportAs: 'matVerticalStepper',\n templateUrl: 'stepper-vertical.html',\n styleUrls: ['stepper.css'],\n inputs: ['selectedIndex'],\n host: {\n 'class': 'mat-stepper-vertical',\n 'aria-orientation': 'vertical',\n 'role': 'tablist',\n },\n animations: [matStepperAnimations.verticalStepTransition],\n providers: [{provide: MatStepper, useExisting: MatVerticalStepper}],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatVerticalStepper extends MatStepper {\n constructor(\n @Optional() dir: Directionality,\n changeDetectorRef: ChangeDetectorRef,\n // @breaking-change 8.0.0 `elementRef` and `_document` parameters to become required.\n elementRef?: ElementRef<HTMLElement>,\n @Inject(DOCUMENT) _document?: any) {\n super(dir, changeDetectorRef, elementRef, _document);\n this._orientation = 'vertical';\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, Input, TemplateRef} from '@angular/core';\n\n/** Template context available to an attached `matStepperIcon`. */\nexport interface MatStepperIconContext {\n /** Index of the step. */\n index: number;\n /** Whether the step is currently active. */\n active: boolean;\n /** Whether the step is optional. */\n optional: boolean;\n}\n\n/**\n * Template to be used to override the icons inside the step header.\n */\n@Directive({\n selector: 'ng-template[matStepperIcon]',\n})\nexport class MatStepperIcon {\n /** Name of the icon to be overridden. */\n @Input('matStepperIcon') name: 'edit' | 'done' | 'number';\n\n constructor(public templateRef: TemplateRef<MatStepperIconContext>) {}\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\n/** Animations used by the Material steppers. */\nexport const matStepperAnimations: {\n readonly horizontalStepTransition: AnimationTriggerMetadata;\n readonly verticalStepTransition: AnimationTriggerMetadata;\n} = {\n /** Animation that transitions the step along the X axis in a horizontal stepper. */\n horizontalStepTransition: trigger('stepTransition', [\n state('previous', style({transform: 'translate3d(-100%, 0, 0)', visibility: 'hidden'})),\n state('current', style({transform: 'none', visibility: 'visible'})),\n state('next', style({transform: 'translate3d(100%, 0, 0)', visibility: 'hidden'})),\n transition('* => *', animate('500ms cubic-bezier(0.35, 0, 0.25, 1)'))\n ]),\n\n /** Animation that transitions the step along the Y axis in a vertical stepper. */\n verticalStepTransition: trigger('stepTransition', [\n state('previous', style({height: '0px', visibility: 'hidden'})),\n state('next', style({height: '0px', visibility: 'hidden'})),\n state('current', style({height: '*', visibility: 'visible'})),\n transition('* <=> current', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))\n ])\n};\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {FocusMonitor} from '@angular/cdk/a11y';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Input,\n OnDestroy,\n ViewEncapsulation,\n TemplateRef,\n} from '@angular/core';\nimport {Subscription} from 'rxjs';\nimport {MatStepLabel} from './step-label';\nimport {MatStepperIntl} from './stepper-intl';\nimport {MatStepperIconContext} from './stepper-icon';\n\n\n@Component({\n moduleId: module.id,\n selector: 'mat-step-header',\n templateUrl: 'step-header.html',\n styleUrls: ['step-header.css'],\n host: {\n 'class': 'mat-step-header',\n 'role': 'tab',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatStepHeader implements OnDestroy {\n private _intlSubscription: Subscription;\n\n /** State of the given step. */\n @Input() state: string;\n\n /** Label of the given step. */\n @Input() label: MatStepLabel | string;\n\n /** Overrides for the header icons, passed in via the stepper. */\n @Input() iconOverrides: {[key: string]: TemplateRef<MatStepperIconContext>};\n\n /** Index of the given step. */\n @Input() index: number;\n\n /** Whether the given step is selected. */\n @Input() selected: boolean;\n\n /** Whether the given step label is active. */\n @Input() active: boolean;\n\n /** Whether the given step is optional. */\n @Input() optional: boolean;\n\n constructor(\n public _intl: MatStepperIntl,\n private _focusMonitor: FocusMonitor,\n private _element: ElementRef<HTMLElement>,\n changeDetectorRef: ChangeDetectorRef) {\n _focusMonitor.monitor(_element.nativeElement, true);\n this._intlSubscription = _intl.changes.subscribe(() => changeDetectorRef.markForCheck());\n }\n\n ngOnDestroy() {\n this._intlSubscription.unsubscribe();\n this._focusMonitor.stopMonitoring(this._element.nativeElement);\n }\n\n /** Returns string label of given step if it is a text label. */\n _stringLabel(): string | null {\n return this.label instanceof MatStepLabel ? null : this.label;\n }\n\n /** Returns MatStepLabel if the label of given step is a template label. */\n _templateLabel(): MatStepLabel | null {\n return this.label instanceof MatStepLabel ? this.label : null;\n }\n\n /** Returns the host HTML element. */\n _getHostElement() {\n return this._element.nativeElement;\n }\n\n /** Template context variables that are exposed to the `matStepperIcon` instances. */\n _getIconContext(): MatStepperIconContext {\n return {\n index: this.index,\n active: this.active,\n optional: this.optional\n };\n }\n\n focus() {\n this._getHostElement().focus();\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Injectable} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n\n/** Stepper data that is required for internationalization. */\n@Injectable({providedIn: 'root'})\nexport class MatStepperIntl {\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n */\n readonly changes: Subject<void> = new Subject<void>();\n\n /** Label that is rendered below optional steps. */\n optionalLabel: string = 'Optional';\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive} from '@angular/core';\nimport {CdkStepLabel} from '@angular/cdk/stepper';\n\n// TODO(devversion): workaround for https://github.com/angular/material2/issues/12760\nexport const _CdkStepLabel = CdkStepLabel;\n\n@Directive({\n selector: '[matStepLabel]',\n})\nexport class MatStepLabel extends _CdkStepLabel {}\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AOYA,AAAA,IAAA,iBAAa,aAAa,GAAG,YAAY,CAAC;;IAKRA,SAAlC,CAAA,YAAA,EAAA,MAAA,CAAA,CAA+C;;;;;QAH/C,EAAA,IAAA,EAAC,SAAS,EAAV,IAAA,EAA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AAA;;IArCA,OAAA,kBAAA,CAAA;CAsCA,CAAwC,mBAAmB,CAA3D,CAAA;;;;;;;;;;QDfA,EAAA,IAAA,EAAC,QAAQ,EAAT,IAAA,EAAA,CAAU;oBACR,OAAO,EAAE;wBACP,eAAe;wBACf,YAAY;wBACZ,YAAY;wBACZ,eAAe;wBACf,gBAAgB;wBAChB,aAAa;wBACb,eAAe;qBAChB;oBACD,OAAO,EAAE;wBACP,eAAe;wBACf,oBAAoB;wBACpB,kBAAkB;wBAClB,OAAO;wBACP,YAAY;wBACZ,UAAU;wBACV,cAAc;wBACd,kBAAkB;wBAClB,aAAa;wBACb,cAAc;qBACf;oBACD,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,kBAAkB;wBAClB,OAAO;wBACP,YAAY;wBACZ,UAAU;wBACV,cAAc;wBACd,kBAAkB;wBAClB,aAAa;wBACb,cAAc;qBACf;oBACD,SAAS,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;iBAC/C,EAAD,EAAA;;IAzDA,OAAA,gBAAA,CAAA;;;;;;;;;;;;;;;"}
package/esm5/table.es5.js CHANGED
@@ -6,9 +6,8 @@
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
8
  import { __extends } from 'tslib';
9
- import { Attribute, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, IterableDiffers, Optional, ViewEncapsulation, Directive, Input, NgModule } from '@angular/core';
10
9
  import { CDK_TABLE_TEMPLATE, CdkTable, CdkCell, CdkCellDef, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkHeaderCell, CdkHeaderCellDef, CDK_ROW_TEMPLATE, CdkFooterRow, CdkFooterRowDef, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef, CdkTableModule, DataSource } from '@angular/cdk/table';
11
- import { Directionality } from '@angular/cdk/bidi';
10
+ import { ChangeDetectionStrategy, Component, ViewEncapsulation, Directive, ElementRef, Input, NgModule } from '@angular/core';
12
11
  import { CommonModule } from '@angular/common';
13
12
  import { MatCommonModule } from '@angular/material/core';
14
13
  import { _isNumberValue } from '@angular/cdk/coercion';
@@ -19,23 +18,16 @@ import { map } from 'rxjs/operators';
19
18
  * @fileoverview added by tsickle
20
19
  * @suppress {checkTypes} checked by tsc
21
20
  */
21
+ // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
22
+ var /** @type {?} */ _CdkTable = CdkTable;
22
23
  /**
23
24
  * Wrapper for the CdkTable with Material design styles.
24
25
  * @template T
25
26
  */
26
27
  var MatTable = /** @class */ (function (_super) {
27
28
  __extends(MatTable, _super);
28
- // TODO(andrewseguin): Remove this explicitly set constructor when the compiler knows how to
29
- // properly build the es6 version of the class. Currently sets ctorParameters to empty due to a
30
- // fixed bug.
31
- // https://github.com/angular/tsickle/pull/760 - tsickle PR that fixed this
32
- // https://github.com/angular/angular/pull/23531 - updates compiler-cli to fixed version
33
- function MatTable(_differs, _changeDetectorRef, _elementRef, role, _dir) {
34
- var _this = _super.call(this, _differs, _changeDetectorRef, _elementRef, role, _dir) || this;
35
- _this._differs = _differs;
36
- _this._changeDetectorRef = _changeDetectorRef;
37
- _this._elementRef = _elementRef;
38
- _this._dir = _dir;
29
+ function MatTable() {
30
+ var _this = _super !== null && _super.apply(this, arguments) || this;
39
31
  /**
40
32
  * Overrides the sticky CSS class set by the `CdkTable`.
41
33
  */
@@ -46,7 +38,7 @@ var MatTable = /** @class */ (function (_super) {
46
38
  { type: Component, args: [{selector: 'mat-table, table[mat-table]',
47
39
  exportAs: 'matTable',
48
40
  template: CDK_TABLE_TEMPLATE,
49
- styles: ["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-child,mat-footer-cell:first-child,mat-header-cell:first-child{padding-left:24px}[dir=rtl] mat-cell:first-child,[dir=rtl] mat-footer-cell:first-child,[dir=rtl] mat-header-cell:first-child{padding-left:0;padding-right:24px}mat-cell:last-child,mat-footer-cell:last-child,mat-header-cell:last-child{padding-right:24px}[dir=rtl] mat-cell:last-child,[dir=rtl] mat-footer-cell:last-child,[dir=rtl] mat-header-cell:last-child{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-child,td.mat-footer-cell:first-child,th.mat-header-cell:first-child{padding-left:24px}td.mat-cell:last-child,td.mat-footer-cell:last-child,th.mat-header-cell:last-child{padding-right:24px}"],
41
+ styles: ["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}"],
50
42
  host: {
51
43
  'class': 'mat-table',
52
44
  },
@@ -54,21 +46,17 @@ var MatTable = /** @class */ (function (_super) {
54
46
  changeDetection: ChangeDetectionStrategy.OnPush,
55
47
  },] },
56
48
  ];
57
- /** @nocollapse */
58
- MatTable.ctorParameters = function () { return [
59
- { type: IterableDiffers, },
60
- { type: ChangeDetectorRef, },
61
- { type: ElementRef, },
62
- { type: undefined, decorators: [{ type: Attribute, args: ['role',] },] },
63
- { type: Directionality, decorators: [{ type: Optional },] },
64
- ]; };
65
49
  return MatTable;
66
- }(CdkTable));
50
+ }(_CdkTable));
67
51
 
68
52
  /**
69
53
  * @fileoverview added by tsickle
70
54
  * @suppress {checkTypes} checked by tsc
71
55
  */
56
+ // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
57
+ var /** @type {?} */ _CdkCellDef = CdkCellDef;
58
+ var /** @type {?} */ _CdkHeaderCellDef = CdkHeaderCellDef;
59
+ var /** @type {?} */ _CdkFooterCellDef = CdkFooterCellDef;
72
60
  /**
73
61
  * Cell definition for the mat-table.
74
62
  * Captures the template of a column's data row cell as well as cell-specific properties.
@@ -85,7 +73,7 @@ var MatCellDef = /** @class */ (function (_super) {
85
73
  },] },
86
74
  ];
87
75
  return MatCellDef;
88
- }(CdkCellDef));
76
+ }(_CdkCellDef));
89
77
  /**
90
78
  * Header cell definition for the mat-table.
91
79
  * Captures the template of a column's header cell and as well as cell-specific properties.
@@ -102,7 +90,7 @@ var MatHeaderCellDef = /** @class */ (function (_super) {
102
90
  },] },
103
91
  ];
104
92
  return MatHeaderCellDef;
105
- }(CdkHeaderCellDef));
93
+ }(_CdkHeaderCellDef));
106
94
  /**
107
95
  * Footer cell definition for the mat-table.
108
96
  * Captures the template of a column's footer cell and as well as cell-specific properties.
@@ -119,7 +107,7 @@ var MatFooterCellDef = /** @class */ (function (_super) {
119
107
  },] },
120
108
  ];
121
109
  return MatFooterCellDef;
122
- }(CdkFooterCellDef));
110
+ }(_CdkFooterCellDef));
123
111
  /**
124
112
  * Column definition for the mat-table.
125
113
  * Defines a set of cells available for a table column.
@@ -226,6 +214,10 @@ var MatCell = /** @class */ (function (_super) {
226
214
  * @fileoverview added by tsickle
227
215
  * @suppress {checkTypes} checked by tsc
228
216
  */
217
+ // TODO(devversion): workaround for https://github.com/angular/material2/issues/12760
218
+ var /** @type {?} */ _CdkHeaderRowDef = CdkHeaderRowDef;
219
+ var /** @type {?} */ _CdkFooterRowDef = CdkFooterRowDef;
220
+ var /** @type {?} */ _CdkRowDef = CdkRowDef;
229
221
  /**
230
222
  * Header row definition for the mat-table.
231
223
  * Captures the header row's template and other header properties such as the columns to display.
@@ -243,7 +235,7 @@ var MatHeaderRowDef = /** @class */ (function (_super) {
243
235
  },] },
244
236
  ];
245
237
  return MatHeaderRowDef;
246
- }(CdkHeaderRowDef));
238
+ }(_CdkHeaderRowDef));
247
239
  /**
248
240
  * Footer row definition for the mat-table.
249
241
  * Captures the footer row's template and other footer properties such as the columns to display.
@@ -261,7 +253,7 @@ var MatFooterRowDef = /** @class */ (function (_super) {
261
253
  },] },
262
254
  ];
263
255
  return MatFooterRowDef;
264
- }(CdkFooterRowDef));
256
+ }(_CdkFooterRowDef));
265
257
  /**
266
258
  * Data row definition for the mat-table.
267
259
  * Captures the footer row's template and other footer properties such as the columns to display and
@@ -281,7 +273,7 @@ var MatRowDef = /** @class */ (function (_super) {
281
273
  },] },
282
274
  ];
283
275
  return MatRowDef;
284
- }(CdkRowDef));
276
+ }(_CdkRowDef));
285
277
  /**
286
278
  * Footer template container that contains the cell outlet. Adds the right class and role.
287
279
  */
@@ -812,5 +804,5 @@ MatTableDataSource = /** @class */ (function (_super) {
812
804
  * @suppress {checkTypes} checked by tsc
813
805
  */
814
806
 
815
- export { MatTableModule, MatCellDef, MatHeaderCellDef, MatFooterCellDef, MatColumnDef, MatHeaderCell, MatFooterCell, MatCell, MatTable, MatHeaderRowDef, MatFooterRowDef, MatRowDef, MatHeaderRow, MatFooterRow, MatRow, MatTableDataSource };
807
+ export { MatTableModule, _CdkCellDef, _CdkHeaderCellDef, _CdkFooterCellDef, MatCellDef, MatHeaderCellDef, MatFooterCellDef, MatColumnDef, MatHeaderCell, MatFooterCell, MatCell, _CdkTable, MatTable, _CdkHeaderRowDef, _CdkFooterRowDef, _CdkRowDef, MatHeaderRowDef, MatFooterRowDef, MatRowDef, MatHeaderRow, MatFooterRow, MatRow, MatTableDataSource };
816
808
  //# sourceMappingURL=table.es5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.es5.js","sources":["../../../src/lib/table/table-data-source.ts","../../../src/lib/table/table-module.ts","../../../src/lib/table/row.ts","../../../src/lib/table/cell.ts","../../../src/lib/table/table.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {_isNumberValue} from '@angular/cdk/coercion';\nimport {DataSource} from '@angular/cdk/table';\nimport {\n BehaviorSubject,\n combineLatest,\n merge,\n Observable,\n of as observableOf,\n Subscription\n} from 'rxjs';\nimport {MatPaginator, PageEvent} from '@angular/material/paginator';\nimport {MatSort, Sort} from '@angular/material/sort';\nimport {map} from 'rxjs/operators';\n\n/**\n * Corresponds to `Number.MAX_SAFE_INTEGER`. Moved out into a variable here due to\n * flaky browser support and the value not being defined in Closure's typings.\n */\nconst MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Data source that accepts a client-side data array and includes native support of filtering,\n * sorting (using MatSort), and pagination (using MatPaginator).\n *\n * Allows for sort customization by overriding sortingDataAccessor, which defines how data\n * properties are accessed. Also allows for filter customization by overriding filterTermAccessor,\n * which defines how row data is converted to a string for filter matching.\n */\nexport class MatTableDataSource<T> extends DataSource<T> {\n /** Stream that emits when a new data array is set on the data source. */\n private readonly _data: BehaviorSubject<T[]>;\n\n /** Stream emitting render data to the table (depends on ordered data changes). */\n private readonly _renderData = new BehaviorSubject<T[]>([]);\n\n /** Stream that emits when a new filter string is set on the data source. */\n private readonly _filter = new BehaviorSubject<string>('');\n\n /**\n * Subscription to the changes that should trigger an update to the table's rendered rows, such\n * as filtering, sorting, pagination, or base data changes.\n */\n _renderChangesSubscription = Subscription.EMPTY;\n\n /**\n * The filtered set of data that has been matched by the filter string, or all the data if there\n * is no filter. Useful for knowing the set of data the table represents.\n * For example, a 'selectAll()' function would likely want to select the set of filtered data\n * shown to the user rather than all the data.\n */\n filteredData: T[];\n\n /** Array of data that should be rendered by the table, where each object represents one row. */\n get data() { return this._data.value; }\n set data(data: T[]) { this._data.next(data); }\n\n /**\n * Filter term that should be used to filter out objects from the data array. To override how\n * data objects match to this filter string, provide a custom function for filterPredicate.\n */\n get filter(): string { return this._filter.value; }\n set filter(filter: string) { this._filter.next(filter); }\n\n /**\n * Instance of the MatSort directive used by the table to control its sorting. Sort changes\n * emitted by the MatSort will trigger an update to the table's rendered data.\n */\n get sort(): MatSort | null { return this._sort; }\n set sort(sort: MatSort|null) {\n this._sort = sort;\n this._updateChangeSubscription();\n }\n private _sort: MatSort|null;\n\n /**\n * Instance of the MatPaginator component used by the table to control what page of the data is\n * displayed. Page changes emitted by the MatPaginator will trigger an update to the\n * table's rendered data.\n *\n * Note that the data source uses the paginator's properties to calculate which page of data\n * should be displayed. If the paginator receives its properties as template inputs,\n * e.g. `[pageLength]=100` or `[pageIndex]=1`, then be sure that the paginator's view has been\n * initialized before assigning it to this data source.\n */\n get paginator(): MatPaginator | null { return this._paginator; }\n set paginator(paginator: MatPaginator|null) {\n this._paginator = paginator;\n this._updateChangeSubscription();\n }\n private _paginator: MatPaginator|null;\n\n /**\n * Data accessor function that is used for accessing data properties for sorting through\n * the default sortData function.\n * This default function assumes that the sort header IDs (which defaults to the column name)\n * matches the data's properties (e.g. column Xyz represents data['Xyz']).\n * May be set to a custom function for different behavior.\n * @param data Data object that is being accessed.\n * @param sortHeaderId The name of the column that represents the data.\n */\n sortingDataAccessor: ((data: T, sortHeaderId: string) => string|number) =\n (data: T, sortHeaderId: string): string|number => {\n const value: any = data[sortHeaderId];\n\n if (_isNumberValue(value)) {\n const numberValue = Number(value);\n\n // Numbers beyond `MAX_SAFE_INTEGER` can't be compared reliably so we\n // leave them as strings. For more info: https://goo.gl/y5vbSg\n return numberValue < MAX_SAFE_INTEGER ? numberValue : value;\n }\n\n return value;\n }\n\n /**\n * Gets a sorted copy of the data array based on the state of the MatSort. Called\n * after changes are made to the filtered data or when sort changes are emitted from MatSort.\n * By default, the function retrieves the active sort and its direction and compares data\n * by retrieving data using the sortingDataAccessor. May be overridden for a custom implementation\n * of data ordering.\n * @param data The array of data that should be sorted.\n * @param sort The connected MatSort that holds the current sort state.\n */\n sortData: ((data: T[], sort: MatSort) => T[]) = (data: T[], sort: MatSort): T[] => {\n const active = sort.active;\n const direction = sort.direction;\n if (!active || direction == '') { return data; }\n\n return data.sort((a, b) => {\n let valueA = this.sortingDataAccessor(a, active);\n let valueB = this.sortingDataAccessor(b, active);\n\n // If both valueA and valueB exist (truthy), then compare the two. Otherwise, check if\n // one value exists while the other doesn't. In this case, existing value should come first.\n // This avoids inconsistent results when comparing values to undefined/null.\n // If neither value exists, return 0 (equal).\n let comparatorResult = 0;\n if (valueA != null && valueB != null) {\n // Check if one value is greater than the other; if equal, comparatorResult should remain 0.\n if (valueA > valueB) {\n comparatorResult = 1;\n } else if (valueA < valueB) {\n comparatorResult = -1;\n }\n } else if (valueA != null) {\n comparatorResult = 1;\n } else if (valueB != null) {\n comparatorResult = -1;\n }\n\n return comparatorResult * (direction == 'asc' ? 1 : -1);\n });\n }\n\n /**\n * Checks if a data object matches the data source's filter string. By default, each data object\n * is converted to a string of its properties and returns true if the filter has\n * at least one occurrence in that string. By default, the filter string has its whitespace\n * trimmed and the match is case-insensitive. May be overridden for a custom implementation of\n * filter matching.\n * @param data Data object used to check against the filter.\n * @param filter Filter string that has been set on the data source.\n * @returns Whether the filter matches against the data\n */\n filterPredicate: ((data: T, filter: string) => boolean) = (data: T, filter: string): boolean => {\n // Transform the data into a lowercase string of all property values.\n const accumulator = (currentTerm, key) => currentTerm + data[key];\n const dataStr = Object.keys(data).reduce(accumulator, '').toLowerCase();\n\n // Transform the filter by converting it to lowercase and removing whitespace.\n const transformedFilter = filter.trim().toLowerCase();\n\n return dataStr.indexOf(transformedFilter) != -1;\n }\n\n constructor(initialData: T[] = []) {\n super();\n this._data = new BehaviorSubject<T[]>(initialData);\n this._updateChangeSubscription();\n }\n\n /**\n * Subscribe to changes that should trigger an update to the table's rendered rows. When the\n * changes occur, process the current state of the filter, sort, and pagination along with\n * the provided base data and send it to the table for rendering.\n */\n _updateChangeSubscription() {\n // Sorting and/or pagination should be watched if MatSort and/or MatPaginator are provided.\n // The events should emit whenever the component emits a change or initializes, or if no\n // component is provided, a stream with just a null event should be provided.\n // The `sortChange` and `pageChange` acts as a signal to the combineLatests below so that the\n // pipeline can progress to the next step. Note that the value from these streams are not used,\n // they purely act as a signal to progress in the pipeline.\n const sortChange: Observable<Sort|null> = this._sort ?\n merge<Sort>(this._sort.sortChange, this._sort.initialized) :\n observableOf(null);\n const pageChange: Observable<PageEvent|null> = this._paginator ?\n merge<PageEvent>(this._paginator.page, this._paginator.initialized) :\n observableOf(null);\n\n const dataStream = this._data;\n // Watch for base data or filter changes to provide a filtered set of data.\n const filteredData = combineLatest(dataStream, this._filter)\n .pipe(map(([data]) => this._filterData(data)));\n // Watch for filtered data or sort changes to provide an ordered set of data.\n const orderedData = combineLatest(filteredData, sortChange)\n .pipe(map(([data]) => this._orderData(data)));\n // Watch for ordered data or page changes to provide a paged set of data.\n const paginatedData = combineLatest(orderedData, pageChange)\n .pipe(map(([data]) => this._pageData(data)));\n // Watched for paged data changes and send the result to the table to render.\n this._renderChangesSubscription.unsubscribe();\n this._renderChangesSubscription = paginatedData.subscribe(data => this._renderData.next(data));\n }\n\n /**\n * Returns a filtered data array where each filter object contains the filter string within\n * the result of the filterTermAccessor function. If no filter is set, returns the data array\n * as provided.\n */\n _filterData(data: T[]) {\n // If there is a filter string, filter out data that does not contain it.\n // Each data object is converted to a string using the function defined by filterTermAccessor.\n // May be overridden for customization.\n this.filteredData =\n !this.filter ? data : data.filter(obj => this.filterPredicate(obj, this.filter));\n\n if (this.paginator) { this._updatePaginator(this.filteredData.length); }\n\n return this.filteredData;\n }\n\n /**\n * Returns a sorted copy of the data if MatSort has a sort applied, otherwise just returns the\n * data array as provided. Uses the default data accessor for data lookup, unless a\n * sortDataAccessor function is defined.\n */\n _orderData(data: T[]): T[] {\n // If there is no active sort or direction, return the data without trying to sort.\n if (!this.sort) { return data; }\n\n return this.sortData(data.slice(), this.sort);\n }\n\n /**\n * Returns a paged splice of the provided data array according to the provided MatPaginator's page\n * index and length. If there is no paginator provided, returns the data array as provided.\n */\n _pageData(data: T[]): T[] {\n if (!this.paginator) { return data; }\n\n const startIndex = this.paginator.pageIndex * this.paginator.pageSize;\n return data.slice().splice(startIndex, this.paginator.pageSize);\n }\n\n /**\n * Updates the paginator to reflect the length of the filtered data, and makes sure that the page\n * index does not exceed the paginator's last page. Values are changed in a resolved promise to\n * guard against making property changes within a round of change detection.\n */\n _updatePaginator(filteredDataLength: number) {\n Promise.resolve().then(() => {\n if (!this.paginator) { return; }\n\n this.paginator.length = filteredDataLength;\n\n // If the page index is set beyond the page, reduce it to the last page.\n if (this.paginator.pageIndex > 0) {\n const lastPageIndex = Math.ceil(this.paginator.length / this.paginator.pageSize) - 1 || 0;\n this.paginator.pageIndex = Math.min(this.paginator.pageIndex, lastPageIndex);\n }\n });\n }\n\n /**\n * Used by the MatTable. Called when it connects to the data source.\n * @docs-private\n */\n connect() { return this._renderData; }\n\n /**\n * Used by the MatTable. Called when it is destroyed. No-op.\n * @docs-private\n */\n disconnect() { }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {NgModule} from '@angular/core';\nimport {MatTable} from './table';\nimport {CdkTableModule} from '@angular/cdk/table';\nimport {\n MatCell,\n MatCellDef,\n MatColumnDef,\n MatFooterCell,\n MatFooterCellDef,\n MatHeaderCell,\n MatHeaderCellDef\n} from './cell';\nimport {\n MatFooterRow,\n MatFooterRowDef,\n MatHeaderRow,\n MatHeaderRowDef,\n MatRow,\n MatRowDef\n} from './row';\nimport {CommonModule} from '@angular/common';\nimport {MatCommonModule} from '@angular/material/core';\n\nconst EXPORTED_DECLARATIONS = [\n // Table\n MatTable,\n\n // Template defs\n MatHeaderCellDef,\n MatHeaderRowDef,\n MatColumnDef,\n MatCellDef,\n MatRowDef,\n MatFooterCellDef,\n MatFooterRowDef,\n\n // Cell directives\n MatHeaderCell,\n MatCell,\n MatFooterCell,\n\n // Row directions\n MatHeaderRow,\n MatRow,\n MatFooterRow,\n];\n\n@NgModule({\n imports: [CdkTableModule, CommonModule, MatCommonModule],\n exports: EXPORTED_DECLARATIONS,\n declarations: EXPORTED_DECLARATIONS,\n})\nexport class MatTableModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation\n} from '@angular/core';\nimport {\n CDK_ROW_TEMPLATE, CdkFooterRow, CdkFooterRowDef,\n CdkHeaderRow,\n CdkHeaderRowDef,\n CdkRow,\n CdkRowDef,\n} from '@angular/cdk/table';\n\n/**\n * Header row definition for the mat-table.\n * Captures the header row's template and other header properties such as the columns to display.\n */\n@Directive({\n selector: '[matHeaderRowDef]',\n providers: [{provide: CdkHeaderRowDef, useExisting: MatHeaderRowDef}],\n inputs: ['columns: matHeaderRowDef', 'sticky: matHeaderRowDefSticky'],\n})\nexport class MatHeaderRowDef extends CdkHeaderRowDef {}\n\n/**\n * Footer row definition for the mat-table.\n * Captures the footer row's template and other footer properties such as the columns to display.\n */\n@Directive({\n selector: '[matFooterRowDef]',\n providers: [{provide: CdkFooterRowDef, useExisting: MatFooterRowDef}],\n inputs: ['columns: matFooterRowDef', 'sticky: matFooterRowDefSticky'],\n})\nexport class MatFooterRowDef extends CdkFooterRowDef {}\n\n/**\n * Data row definition for the mat-table.\n * Captures the footer row's template and other footer properties such as the columns to display and\n * a when predicate that describes when this row should be used.\n */\n@Directive({\n selector: '[matRowDef]',\n providers: [{provide: CdkRowDef, useExisting: MatRowDef}],\n inputs: ['columns: matRowDefColumns', 'when: matRowDefWhen'],\n})\nexport class MatRowDef<T> extends CdkRowDef<T> {}\n\n/** Footer template container that contains the cell outlet. Adds the right class and role. */\n@Component({\n moduleId: module.id,\n selector: 'mat-header-row, tr[mat-header-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-header-row',\n 'role': 'row',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matHeaderRow',\n providers: [{provide: CdkHeaderRow, useExisting: MatHeaderRow}],\n})\nexport class MatHeaderRow extends CdkHeaderRow { }\n\n/** Footer template container that contains the cell outlet. Adds the right class and role. */\n@Component({\n moduleId: module.id,\n selector: 'mat-footer-row, tr[mat-footer-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-footer-row',\n 'role': 'row',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matFooterRow',\n providers: [{provide: CdkFooterRow, useExisting: MatFooterRow}],\n})\nexport class MatFooterRow extends CdkFooterRow { }\n\n/** Data row template container that contains the cell outlet. Adds the right class and role. */\n@Component({\n moduleId: module.id,\n selector: 'mat-row, tr[mat-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-row',\n 'role': 'row',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matRow',\n providers: [{provide: CdkRow, useExisting: MatRow}],\n})\nexport class MatRow extends CdkRow { }\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, ElementRef, Input} from '@angular/core';\nimport {\n CdkCell,\n CdkCellDef,\n CdkColumnDef, CdkFooterCell, CdkFooterCellDef,\n CdkHeaderCell,\n CdkHeaderCellDef,\n} from '@angular/cdk/table';\n\n/**\n * Cell definition for the mat-table.\n * Captures the template of a column's data row cell as well as cell-specific properties.\n */\n@Directive({\n selector: '[matCellDef]',\n providers: [{provide: CdkCellDef, useExisting: MatCellDef}]\n})\nexport class MatCellDef extends CdkCellDef {}\n\n/**\n * Header cell definition for the mat-table.\n * Captures the template of a column's header cell and as well as cell-specific properties.\n */\n@Directive({\n selector: '[matHeaderCellDef]',\n providers: [{provide: CdkHeaderCellDef, useExisting: MatHeaderCellDef}]\n})\nexport class MatHeaderCellDef extends CdkHeaderCellDef {}\n\n/**\n * Footer cell definition for the mat-table.\n * Captures the template of a column's footer cell and as well as cell-specific properties.\n */\n@Directive({\n selector: '[matFooterCellDef]',\n providers: [{provide: CdkFooterCellDef, useExisting: MatFooterCellDef}]\n})\nexport class MatFooterCellDef extends CdkFooterCellDef {}\n\n/**\n * Column definition for the mat-table.\n * Defines a set of cells available for a table column.\n */\n@Directive({\n selector: '[matColumnDef]',\n providers: [{provide: CdkColumnDef, useExisting: MatColumnDef}],\n})\nexport class MatColumnDef extends CdkColumnDef {\n /** Unique name for this column. */\n @Input('matColumnDef') name: string;\n\n /** Whether this column should be sticky positioned at the start of the row */\n @Input() sticky: boolean;\n\n /** Whether this column should be sticky positioned on the end of the row */\n @Input() stickyEnd: boolean;\n}\n\n/** Header cell template container that adds the right classes and role. */\n@Directive({\n selector: 'mat-header-cell, th[mat-header-cell]',\n host: {\n 'class': 'mat-header-cell',\n 'role': 'columnheader',\n },\n})\nexport class MatHeaderCell extends CdkHeaderCell {\n constructor(columnDef: CdkColumnDef,\n elementRef: ElementRef) {\n super(columnDef, elementRef);\n elementRef.nativeElement.classList.add(`mat-column-${columnDef.cssClassFriendlyName}`);\n }\n}\n\n/** Footer cell template container that adds the right classes and role. */\n@Directive({\n selector: 'mat-footer-cell, td[mat-footer-cell]',\n host: {\n 'class': 'mat-footer-cell',\n 'role': 'gridcell',\n },\n})\nexport class MatFooterCell extends CdkFooterCell {\n constructor(columnDef: CdkColumnDef,\n elementRef: ElementRef) {\n super(columnDef, elementRef);\n elementRef.nativeElement.classList.add(`mat-column-${columnDef.cssClassFriendlyName}`);\n }\n}\n\n/** Cell template container that adds the right classes and role. */\n@Directive({\n selector: 'mat-cell, td[mat-cell]',\n host: {\n 'class': 'mat-cell',\n 'role': 'gridcell',\n },\n})\nexport class MatCell extends CdkCell {\n constructor(columnDef: CdkColumnDef,\n elementRef: ElementRef) {\n super(columnDef, elementRef);\n elementRef.nativeElement.classList.add(`mat-column-${columnDef.cssClassFriendlyName}`);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n Attribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n IterableDiffers,\n Optional,\n ViewEncapsulation\n} from '@angular/core';\nimport {CDK_TABLE_TEMPLATE, CdkTable} from '@angular/cdk/table';\nimport {Directionality} from '@angular/cdk/bidi';\n\n/**\n * Wrapper for the CdkTable with Material design styles.\n */\n@Component({\n moduleId: module.id,\n selector: 'mat-table, table[mat-table]',\n exportAs: 'matTable',\n template: CDK_TABLE_TEMPLATE,\n styleUrls: ['table.css'],\n host: {\n 'class': 'mat-table',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatTable<T> extends CdkTable<T> {\n /** Overrides the sticky CSS class set by the `CdkTable`. */\n protected stickyCssClass = 'mat-table-sticky';\n\n // TODO(andrewseguin): Remove this explicitly set constructor when the compiler knows how to\n // properly build the es6 version of the class. Currently sets ctorParameters to empty due to a\n // fixed bug.\n // https://github.com/angular/tsickle/pull/760 - tsickle PR that fixed this\n // https://github.com/angular/angular/pull/23531 - updates compiler-cli to fixed version\n constructor(protected _differs: IterableDiffers,\n protected _changeDetectorRef: ChangeDetectorRef,\n protected _elementRef: ElementRef,\n @Attribute('role') role: string,\n @Optional() protected readonly _dir: Directionality) {\n super(_differs, _changeDetectorRef, _elementRef, role, _dir);\n }\n}\n"],"names":["observableOf","tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IIoCiCC,SAAjC,CAAA,QAAA,EAAA,MAAA,CAAA,CAA4C;;;;;;IAS1C,SAAF,QAAA,CAAwB,QAAyB,EACzB,kBAAqC,EACrC,WAAuB,EACd,IAHjC,EAI6C,IAJ7C,EAAA;QAAE,IAAF,KAAA,GAKI,MALJ,CAAA,IAAA,CAAA,IAAA,EAKU,QAAQ,EAAE,kBAAkB,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,IALhE,IAAA,CAMG;QANqB,KAAxB,CAAA,QAAgC,GAAR,QAAQ,CAAiB;QACzB,KAAxB,CAAA,kBAA0C,GAAlB,kBAAkB,CAAmB;QACrC,KAAxB,CAAA,WAAmC,GAAX,WAAW,CAAY;QAEF,KAA7C,CAAA,IAAiD,GAAJ,IAAI,CAAjD;;;;QAXA,KAAA,CAAA,cAAA,GAA6B,kBAAkB,CAA/C;;KAaG;;QA3BH,EAAA,IAAA,EAAC,SAAS,EAAV,IAAA,EAAA,CAAW,CAAX,QAAA,EAAA,6BAAA;oBACE,QAAQ,EAAE,UAAZ;oBACE,QAAQ,EAAE,kBAAZ;oBACE,MAAF,EAAU,CAAV,s4CAAA,CAAA;oBACE,IA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C,IAAI,CAAC,KAAI,CAAC,SAAS,CAAC,MAAM,GAAG,KAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAC1F,KAAI,CAAC,SAAS,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,KAAI,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;aAC9E;SACF,CAAC,CAAC;KACJ,CAAH;;;;;;;;;;IAME,kBAAF,CAAA,SAAA,CAAA,OAAS;;;;;IAAP,YAAF,EAAc,OAAO,IAAI,CAAC,WAAW,CAAC,EAAE,CAAxC;;;;;;;;;;IAME,kBAAF,CAAA,SAAA,CAAA,UAAY;;;;;IAAV,YAAF,GAAkB,CAAlB;IArSA,OAAA,kBAAA,CAAA;CAoCA,CAA2C,UAAU,CAArD,CAkQC;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"table.es5.js","sources":["../../../src/lib/table/table-data-source.ts","../../../src/lib/table/table-module.ts","../../../src/lib/table/row.ts","../../../src/lib/table/cell.ts","../../../src/lib/table/table.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {_isNumberValue} from '@angular/cdk/coercion';\nimport {DataSource} from '@angular/cdk/table';\nimport {\n BehaviorSubject,\n combineLatest,\n merge,\n Observable,\n of as observableOf,\n Subscription\n} from 'rxjs';\nimport {MatPaginator, PageEvent} from '@angular/material/paginator';\nimport {MatSort, Sort} from '@angular/material/sort';\nimport {map} from 'rxjs/operators';\n\n/**\n * Corresponds to `Number.MAX_SAFE_INTEGER`. Moved out into a variable here due to\n * flaky browser support and the value not being defined in Closure's typings.\n */\nconst MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Data source that accepts a client-side data array and includes native support of filtering,\n * sorting (using MatSort), and pagination (using MatPaginator).\n *\n * Allows for sort customization by overriding sortingDataAccessor, which defines how data\n * properties are accessed. Also allows for filter customization by overriding filterTermAccessor,\n * which defines how row data is converted to a string for filter matching.\n */\nexport class MatTableDataSource<T> extends DataSource<T> {\n /** Stream that emits when a new data array is set on the data source. */\n private readonly _data: BehaviorSubject<T[]>;\n\n /** Stream emitting render data to the table (depends on ordered data changes). */\n private readonly _renderData = new BehaviorSubject<T[]>([]);\n\n /** Stream that emits when a new filter string is set on the data source. */\n private readonly _filter = new BehaviorSubject<string>('');\n\n /**\n * Subscription to the changes that should trigger an update to the table's rendered rows, such\n * as filtering, sorting, pagination, or base data changes.\n */\n _renderChangesSubscription = Subscription.EMPTY;\n\n /**\n * The filtered set of data that has been matched by the filter string, or all the data if there\n * is no filter. Useful for knowing the set of data the table represents.\n * For example, a 'selectAll()' function would likely want to select the set of filtered data\n * shown to the user rather than all the data.\n */\n filteredData: T[];\n\n /** Array of data that should be rendered by the table, where each object represents one row. */\n get data() { return this._data.value; }\n set data(data: T[]) { this._data.next(data); }\n\n /**\n * Filter term that should be used to filter out objects from the data array. To override how\n * data objects match to this filter string, provide a custom function for filterPredicate.\n */\n get filter(): string { return this._filter.value; }\n set filter(filter: string) { this._filter.next(filter); }\n\n /**\n * Instance of the MatSort directive used by the table to control its sorting. Sort changes\n * emitted by the MatSort will trigger an update to the table's rendered data.\n */\n get sort(): MatSort | null { return this._sort; }\n set sort(sort: MatSort|null) {\n this._sort = sort;\n this._updateChangeSubscription();\n }\n private _sort: MatSort|null;\n\n /**\n * Instance of the MatPaginator component used by the table to control what page of the data is\n * displayed. Page changes emitted by the MatPaginator will trigger an update to the\n * table's rendered data.\n *\n * Note that the data source uses the paginator's properties to calculate which page of data\n * should be displayed. If the paginator receives its properties as template inputs,\n * e.g. `[pageLength]=100` or `[pageIndex]=1`, then be sure that the paginator's view has been\n * initialized before assigning it to this data source.\n */\n get paginator(): MatPaginator | null { return this._paginator; }\n set paginator(paginator: MatPaginator|null) {\n this._paginator = paginator;\n this._updateChangeSubscription();\n }\n private _paginator: MatPaginator|null;\n\n /**\n * Data accessor function that is used for accessing data properties for sorting through\n * the default sortData function.\n * This default function assumes that the sort header IDs (which defaults to the column name)\n * matches the data's properties (e.g. column Xyz represents data['Xyz']).\n * May be set to a custom function for different behavior.\n * @param data Data object that is being accessed.\n * @param sortHeaderId The name of the column that represents the data.\n */\n sortingDataAccessor: ((data: T, sortHeaderId: string) => string|number) =\n (data: T, sortHeaderId: string): string|number => {\n const value: any = data[sortHeaderId];\n\n if (_isNumberValue(value)) {\n const numberValue = Number(value);\n\n // Numbers beyond `MAX_SAFE_INTEGER` can't be compared reliably so we\n // leave them as strings. For more info: https://goo.gl/y5vbSg\n return numberValue < MAX_SAFE_INTEGER ? numberValue : value;\n }\n\n return value;\n }\n\n /**\n * Gets a sorted copy of the data array based on the state of the MatSort. Called\n * after changes are made to the filtered data or when sort changes are emitted from MatSort.\n * By default, the function retrieves the active sort and its direction and compares data\n * by retrieving data using the sortingDataAccessor. May be overridden for a custom implementation\n * of data ordering.\n * @param data The array of data that should be sorted.\n * @param sort The connected MatSort that holds the current sort state.\n */\n sortData: ((data: T[], sort: MatSort) => T[]) = (data: T[], sort: MatSort): T[] => {\n const active = sort.active;\n const direction = sort.direction;\n if (!active || direction == '') { return data; }\n\n return data.sort((a, b) => {\n let valueA = this.sortingDataAccessor(a, active);\n let valueB = this.sortingDataAccessor(b, active);\n\n // If both valueA and valueB exist (truthy), then compare the two. Otherwise, check if\n // one value exists while the other doesn't. In this case, existing value should come first.\n // This avoids inconsistent results when comparing values to undefined/null.\n // If neither value exists, return 0 (equal).\n let comparatorResult = 0;\n if (valueA != null && valueB != null) {\n // Check if one value is greater than the other; if equal, comparatorResult should remain 0.\n if (valueA > valueB) {\n comparatorResult = 1;\n } else if (valueA < valueB) {\n comparatorResult = -1;\n }\n } else if (valueA != null) {\n comparatorResult = 1;\n } else if (valueB != null) {\n comparatorResult = -1;\n }\n\n return comparatorResult * (direction == 'asc' ? 1 : -1);\n });\n }\n\n /**\n * Checks if a data object matches the data source's filter string. By default, each data object\n * is converted to a string of its properties and returns true if the filter has\n * at least one occurrence in that string. By default, the filter string has its whitespace\n * trimmed and the match is case-insensitive. May be overridden for a custom implementation of\n * filter matching.\n * @param data Data object used to check against the filter.\n * @param filter Filter string that has been set on the data source.\n * @returns Whether the filter matches against the data\n */\n filterPredicate: ((data: T, filter: string) => boolean) = (data: T, filter: string): boolean => {\n // Transform the data into a lowercase string of all property values.\n const accumulator = (currentTerm, key) => currentTerm + data[key];\n const dataStr = Object.keys(data).reduce(accumulator, '').toLowerCase();\n\n // Transform the filter by converting it to lowercase and removing whitespace.\n const transformedFilter = filter.trim().toLowerCase();\n\n return dataStr.indexOf(transformedFilter) != -1;\n }\n\n constructor(initialData: T[] = []) {\n super();\n this._data = new BehaviorSubject<T[]>(initialData);\n this._updateChangeSubscription();\n }\n\n /**\n * Subscribe to changes that should trigger an update to the table's rendered rows. When the\n * changes occur, process the current state of the filter, sort, and pagination along with\n * the provided base data and send it to the table for rendering.\n */\n _updateChangeSubscription() {\n // Sorting and/or pagination should be watched if MatSort and/or MatPaginator are provided.\n // The events should emit whenever the component emits a change or initializes, or if no\n // component is provided, a stream with just a null event should be provided.\n // The `sortChange` and `pageChange` acts as a signal to the combineLatests below so that the\n // pipeline can progress to the next step. Note that the value from these streams are not used,\n // they purely act as a signal to progress in the pipeline.\n const sortChange: Observable<Sort|null> = this._sort ?\n merge<Sort>(this._sort.sortChange, this._sort.initialized) :\n observableOf(null);\n const pageChange: Observable<PageEvent|null> = this._paginator ?\n merge<PageEvent>(this._paginator.page, this._paginator.initialized) :\n observableOf(null);\n\n const dataStream = this._data;\n // Watch for base data or filter changes to provide a filtered set of data.\n const filteredData = combineLatest(dataStream, this._filter)\n .pipe(map(([data]) => this._filterData(data)));\n // Watch for filtered data or sort changes to provide an ordered set of data.\n const orderedData = combineLatest(filteredData, sortChange)\n .pipe(map(([data]) => this._orderData(data)));\n // Watch for ordered data or page changes to provide a paged set of data.\n const paginatedData = combineLatest(orderedData, pageChange)\n .pipe(map(([data]) => this._pageData(data)));\n // Watched for paged data changes and send the result to the table to render.\n this._renderChangesSubscription.unsubscribe();\n this._renderChangesSubscription = paginatedData.subscribe(data => this._renderData.next(data));\n }\n\n /**\n * Returns a filtered data array where each filter object contains the filter string within\n * the result of the filterTermAccessor function. If no filter is set, returns the data array\n * as provided.\n */\n _filterData(data: T[]) {\n // If there is a filter string, filter out data that does not contain it.\n // Each data object is converted to a string using the function defined by filterTermAccessor.\n // May be overridden for customization.\n this.filteredData =\n !this.filter ? data : data.filter(obj => this.filterPredicate(obj, this.filter));\n\n if (this.paginator) { this._updatePaginator(this.filteredData.length); }\n\n return this.filteredData;\n }\n\n /**\n * Returns a sorted copy of the data if MatSort has a sort applied, otherwise just returns the\n * data array as provided. Uses the default data accessor for data lookup, unless a\n * sortDataAccessor function is defined.\n */\n _orderData(data: T[]): T[] {\n // If there is no active sort or direction, return the data without trying to sort.\n if (!this.sort) { return data; }\n\n return this.sortData(data.slice(), this.sort);\n }\n\n /**\n * Returns a paged splice of the provided data array according to the provided MatPaginator's page\n * index and length. If there is no paginator provided, returns the data array as provided.\n */\n _pageData(data: T[]): T[] {\n if (!this.paginator) { return data; }\n\n const startIndex = this.paginator.pageIndex * this.paginator.pageSize;\n return data.slice().splice(startIndex, this.paginator.pageSize);\n }\n\n /**\n * Updates the paginator to reflect the length of the filtered data, and makes sure that the page\n * index does not exceed the paginator's last page. Values are changed in a resolved promise to\n * guard against making property changes within a round of change detection.\n */\n _updatePaginator(filteredDataLength: number) {\n Promise.resolve().then(() => {\n if (!this.paginator) { return; }\n\n this.paginator.length = filteredDataLength;\n\n // If the page index is set beyond the page, reduce it to the last page.\n if (this.paginator.pageIndex > 0) {\n const lastPageIndex = Math.ceil(this.paginator.length / this.paginator.pageSize) - 1 || 0;\n this.paginator.pageIndex = Math.min(this.paginator.pageIndex, lastPageIndex);\n }\n });\n }\n\n /**\n * Used by the MatTable. Called when it connects to the data source.\n * @docs-private\n */\n connect() { return this._renderData; }\n\n /**\n * Used by the MatTable. Called when it is destroyed. No-op.\n * @docs-private\n */\n disconnect() { }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {NgModule} from '@angular/core';\nimport {MatTable} from './table';\nimport {CdkTableModule} from '@angular/cdk/table';\nimport {\n MatCell,\n MatCellDef,\n MatColumnDef,\n MatFooterCell,\n MatFooterCellDef,\n MatHeaderCell,\n MatHeaderCellDef\n} from './cell';\nimport {\n MatFooterRow,\n MatFooterRowDef,\n MatHeaderRow,\n MatHeaderRowDef,\n MatRow,\n MatRowDef\n} from './row';\nimport {CommonModule} from '@angular/common';\nimport {MatCommonModule} from '@angular/material/core';\n\nconst EXPORTED_DECLARATIONS = [\n // Table\n MatTable,\n\n // Template defs\n MatHeaderCellDef,\n MatHeaderRowDef,\n MatColumnDef,\n MatCellDef,\n MatRowDef,\n MatFooterCellDef,\n MatFooterRowDef,\n\n // Cell directives\n MatHeaderCell,\n MatCell,\n MatFooterCell,\n\n // Row directions\n MatHeaderRow,\n MatRow,\n MatFooterRow,\n];\n\n@NgModule({\n imports: [CdkTableModule, CommonModule, MatCommonModule],\n exports: EXPORTED_DECLARATIONS,\n declarations: EXPORTED_DECLARATIONS,\n})\nexport class MatTableModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation\n} from '@angular/core';\nimport {\n CDK_ROW_TEMPLATE, CdkFooterRow, CdkFooterRowDef,\n CdkHeaderRow,\n CdkHeaderRowDef,\n CdkRow,\n CdkRowDef,\n} from '@angular/cdk/table';\n\n// TODO(devversion): workaround for https://github.com/angular/material2/issues/12760\nexport const _CdkHeaderRowDef = CdkHeaderRowDef;\nexport const _CdkFooterRowDef = CdkFooterRowDef;\nexport const _CdkRowDef = CdkRowDef;\n\n/**\n * Header row definition for the mat-table.\n * Captures the header row's template and other header properties such as the columns to display.\n */\n@Directive({\n selector: '[matHeaderRowDef]',\n providers: [{provide: CdkHeaderRowDef, useExisting: MatHeaderRowDef}],\n inputs: ['columns: matHeaderRowDef', 'sticky: matHeaderRowDefSticky'],\n})\nexport class MatHeaderRowDef extends _CdkHeaderRowDef {}\n\n/**\n * Footer row definition for the mat-table.\n * Captures the footer row's template and other footer properties such as the columns to display.\n */\n@Directive({\n selector: '[matFooterRowDef]',\n providers: [{provide: CdkFooterRowDef, useExisting: MatFooterRowDef}],\n inputs: ['columns: matFooterRowDef', 'sticky: matFooterRowDefSticky'],\n})\nexport class MatFooterRowDef extends _CdkFooterRowDef {}\n\n/**\n * Data row definition for the mat-table.\n * Captures the footer row's template and other footer properties such as the columns to display and\n * a when predicate that describes when this row should be used.\n */\n@Directive({\n selector: '[matRowDef]',\n providers: [{provide: CdkRowDef, useExisting: MatRowDef}],\n inputs: ['columns: matRowDefColumns', 'when: matRowDefWhen'],\n})\nexport class MatRowDef<T> extends _CdkRowDef<T> {}\n\n/** Footer template container that contains the cell outlet. Adds the right class and role. */\n@Component({\n moduleId: module.id,\n selector: 'mat-header-row, tr[mat-header-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-header-row',\n 'role': 'row',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matHeaderRow',\n providers: [{provide: CdkHeaderRow, useExisting: MatHeaderRow}],\n})\nexport class MatHeaderRow extends CdkHeaderRow { }\n\n/** Footer template container that contains the cell outlet. Adds the right class and role. */\n@Component({\n moduleId: module.id,\n selector: 'mat-footer-row, tr[mat-footer-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-footer-row',\n 'role': 'row',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matFooterRow',\n providers: [{provide: CdkFooterRow, useExisting: MatFooterRow}],\n})\nexport class MatFooterRow extends CdkFooterRow { }\n\n/** Data row template container that contains the cell outlet. Adds the right class and role. */\n@Component({\n moduleId: module.id,\n selector: 'mat-row, tr[mat-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-row',\n 'role': 'row',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matRow',\n providers: [{provide: CdkRow, useExisting: MatRow}],\n})\nexport class MatRow extends CdkRow { }\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, ElementRef, Input} from '@angular/core';\nimport {\n CdkCell,\n CdkCellDef,\n CdkColumnDef, CdkFooterCell, CdkFooterCellDef,\n CdkHeaderCell,\n CdkHeaderCellDef,\n} from '@angular/cdk/table';\n\n// TODO(devversion): workaround for https://github.com/angular/material2/issues/12760\nexport const _CdkCellDef = CdkCellDef;\nexport const _CdkHeaderCellDef = CdkHeaderCellDef;\nexport const _CdkFooterCellDef = CdkFooterCellDef;\n\n/**\n * Cell definition for the mat-table.\n * Captures the template of a column's data row cell as well as cell-specific properties.\n */\n@Directive({\n selector: '[matCellDef]',\n providers: [{provide: CdkCellDef, useExisting: MatCellDef}]\n})\nexport class MatCellDef extends _CdkCellDef {}\n\n/**\n * Header cell definition for the mat-table.\n * Captures the template of a column's header cell and as well as cell-specific properties.\n */\n@Directive({\n selector: '[matHeaderCellDef]',\n providers: [{provide: CdkHeaderCellDef, useExisting: MatHeaderCellDef}]\n})\nexport class MatHeaderCellDef extends _CdkHeaderCellDef {}\n\n/**\n * Footer cell definition for the mat-table.\n * Captures the template of a column's footer cell and as well as cell-specific properties.\n */\n@Directive({\n selector: '[matFooterCellDef]',\n providers: [{provide: CdkFooterCellDef, useExisting: MatFooterCellDef}]\n})\nexport class MatFooterCellDef extends _CdkFooterCellDef {}\n\n/**\n * Column definition for the mat-table.\n * Defines a set of cells available for a table column.\n */\n@Directive({\n selector: '[matColumnDef]',\n providers: [{provide: CdkColumnDef, useExisting: MatColumnDef}],\n})\nexport class MatColumnDef extends CdkColumnDef {\n /** Unique name for this column. */\n @Input('matColumnDef') name: string;\n\n /** Whether this column should be sticky positioned at the start of the row */\n @Input() sticky: boolean;\n\n /** Whether this column should be sticky positioned on the end of the row */\n @Input() stickyEnd: boolean;\n}\n\n/** Header cell template container that adds the right classes and role. */\n@Directive({\n selector: 'mat-header-cell, th[mat-header-cell]',\n host: {\n 'class': 'mat-header-cell',\n 'role': 'columnheader',\n },\n})\nexport class MatHeaderCell extends CdkHeaderCell {\n constructor(columnDef: CdkColumnDef,\n elementRef: ElementRef<HTMLElement>) {\n super(columnDef, elementRef);\n elementRef.nativeElement.classList.add(`mat-column-${columnDef.cssClassFriendlyName}`);\n }\n}\n\n/** Footer cell template container that adds the right classes and role. */\n@Directive({\n selector: 'mat-footer-cell, td[mat-footer-cell]',\n host: {\n 'class': 'mat-footer-cell',\n 'role': 'gridcell',\n },\n})\nexport class MatFooterCell extends CdkFooterCell {\n constructor(columnDef: CdkColumnDef,\n elementRef: ElementRef) {\n super(columnDef, elementRef);\n elementRef.nativeElement.classList.add(`mat-column-${columnDef.cssClassFriendlyName}`);\n }\n}\n\n/** Cell template container that adds the right classes and role. */\n@Directive({\n selector: 'mat-cell, td[mat-cell]',\n host: {\n 'class': 'mat-cell',\n 'role': 'gridcell',\n },\n})\nexport class MatCell extends CdkCell {\n constructor(columnDef: CdkColumnDef,\n elementRef: ElementRef<HTMLElement>) {\n super(columnDef, elementRef);\n elementRef.nativeElement.classList.add(`mat-column-${columnDef.cssClassFriendlyName}`);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CDK_TABLE_TEMPLATE, CdkTable} from '@angular/cdk/table';\nimport {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n// TODO(devversion): workaround for https://github.com/angular/material2/issues/12760\nexport const _CdkTable = CdkTable;\n\n/**\n * Wrapper for the CdkTable with Material design styles.\n */\n@Component({\n moduleId: module.id,\n selector: 'mat-table, table[mat-table]',\n exportAs: 'matTable',\n template: CDK_TABLE_TEMPLATE,\n styleUrls: ['table.css'],\n host: {\n 'class': 'mat-table',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatTable<T> extends _CdkTable<T> {\n /** Overrides the sticky CSS class set by the `CdkTable`. */\n protected stickyCssClass = 'mat-table-sticky';\n}\n"],"names":["observableOf","tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;;;;;;;AIYA,AAAA,IAAA,iBAAa,SAAS,GAAG,QAAQ,CAAC;;;;;;IAiBDC,SAAjC,CAAA,QAAA,EAAA,MAAA,CAAA,CAA6C;;;;;;QAE7C,KAAA,CAAA,cAAA,GAA6B,kBAAkB,CAA/C;;;;QAdA,EAAA,IAAA,EAAC,SAAS,EAAV,IAAA,EAAA,CAAW,CAAX,QAAA,EAAA,6BAAA;oBACE,QAAQ,EAAE,UAAZ;oBACE,QAAQ,EAAE,kBAAZ;oBACE,MAAF,EAAU,CAAV,06CAAA,CAAA;oBACE,IAAF,EAAA;wBACA,OAAa,EAAb,WAA0B;qBAC1B;oBACA,aAAa,EAAb,iBAAA,CAAA,IAAA;oBACA,eAAA,EAAA,uBAAA,CAAA,MAAA;iBACA,EAAA,EAAA;KACA,CAAA;IACA,OAAA,QAAA,CAAA;;;;;;;;ADVA,AAAA,IAAA,iBAAa,WAAW,GAAG,UAAU,CAAC;AACtC,AAAA,IAAA,iBAAa,iBAAiB,GAAG,gBAAgB,CAAC;AAClD,AAAA,IAAA,iBAAa,iBAAiB,GAAG,gBAAgB,CAAC;;;;;;IAUlBA,SAAhC,CAAA,UAAA,EAAA,MAAA,CAAA,CAA2C;;;;;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AE,CAAxC;;;;;;;;;;IAME,kBAAF,CAAA,SAAA,CAAA,UAAY;;;;;IAAV,YAAF,GAAkB,CAAlB;IArSA,OAAA,kBAAA,CAAA;CAoCA,CAA2C,UAAU,CAArD,CAkQC;;;;;;;;;;;;;;"}
package/esm5/tabs.es5.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import { Directive, ElementRef, Inject, InjectionToken, NgZone, TemplateRef, ViewContainerRef, ChangeDetectionStrategy, Component, ContentChild, Input, ViewChild, ViewEncapsulation, ChangeDetectorRef, Output, EventEmitter, Optional, ComponentFactoryResolver, forwardRef, ContentChildren, Attribute, NgModule } from '@angular/core';
8
+ import { Directive, ElementRef, Inject, InjectionToken, NgZone, TemplateRef, ChangeDetectionStrategy, Component, ContentChild, Input, ViewChild, ViewContainerRef, ViewEncapsulation, ChangeDetectorRef, Output, EventEmitter, Optional, ComponentFactoryResolver, forwardRef, ContentChildren, Attribute, NgModule } from '@angular/core';
9
9
  import { __extends } from 'tslib';
10
10
  import { CdkPortal, TemplatePortal, CdkPortalOutlet, PortalHostDirective, PortalModule } from '@angular/cdk/portal';
11
11
  import { mixinDisabled, mixinDisableRipple, mixinColor, MAT_RIPPLE_GLOBAL_OPTIONS, mixinTabIndex, RippleRenderer, MatCommonModule, MatRippleModule } from '@angular/material/core';
@@ -146,26 +146,23 @@ var MatInkBar = /** @class */ (function () {
146
146
  * @fileoverview added by tsickle
147
147
  * @suppress {checkTypes} checked by tsc
148
148
  */
149
+ // TODO(devversion): Workaround for https://github.com/angular/material2/issues/12760
150
+ var /** @type {?} */ _CdkPortal = CdkPortal;
149
151
  /**
150
152
  * Used to flag tab labels for use with the portal directive
151
153
  */
152
154
  var MatTabLabel = /** @class */ (function (_super) {
153
155
  __extends(MatTabLabel, _super);
154
- function MatTabLabel(templateRef, viewContainerRef) {
155
- return _super.call(this, templateRef, viewContainerRef) || this;
156
+ function MatTabLabel() {
157
+ return _super !== null && _super.apply(this, arguments) || this;
156
158
  }
157
159
  MatTabLabel.decorators = [
158
160
  { type: Directive, args: [{
159
161
  selector: '[mat-tab-label], [matTabLabel]',
160
162
  },] },
161
163
  ];
162
- /** @nocollapse */
163
- MatTabLabel.ctorParameters = function () { return [
164
- { type: TemplateRef, },
165
- { type: ViewContainerRef, },
166
- ]; };
167
164
  return MatTabLabel;
168
- }(CdkPortal));
165
+ }(_CdkPortal));
169
166
 
170
167
  /**
171
168
  * @fileoverview added by tsickle
@@ -1252,7 +1249,7 @@ var MatTabHeader = /** @class */ (function (_super) {
1252
1249
  var /** @type {?} */ selectedLabelWrapper = this._labelWrappers && this._labelWrappers.length ?
1253
1250
  this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement :
1254
1251
  null;
1255
- this._inkBar.alignToElement(selectedLabelWrapper);
1252
+ this._inkBar.alignToElement(/** @type {?} */ ((selectedLabelWrapper)));
1256
1253
  };
1257
1254
  MatTabHeader.decorators = [
1258
1255
  { type: Component, args: [{selector: 'mat-tab-header',
@@ -1711,7 +1708,7 @@ var MatTabGroup = /** @class */ (function (_super) {
1711
1708
  { type: Component, args: [{selector: 'mat-tab-group',
1712
1709
  exportAs: 'matTabGroup',
1713
1710
  template: "<mat-tab-header #tabHeader [selectedIndex]=\"selectedIndex\" [disableRipple]=\"disableRipple\" (indexFocused)=\"_focusChanged($event)\" (selectFocusedIndex)=\"selectedIndex = $event\"><div class=\"mat-tab-label\" role=\"tab\" matTabLabelWrapper mat-ripple cdkMonitorElementFocus *ngFor=\"let tab of _tabs; let i = index\" [id]=\"_getTabLabelId(i)\" [attr.tabIndex]=\"_getTabIndex(tab, i)\" [attr.aria-posinset]=\"i + 1\" [attr.aria-setsize]=\"_tabs.length\" [attr.aria-controls]=\"_getTabContentId(i)\" [attr.aria-selected]=\"selectedIndex == i\" [attr.aria-label]=\"tab.ariaLabel || null\" [attr.aria-labelledby]=\"(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null\" [class.mat-tab-label-active]=\"selectedIndex == i\" [disabled]=\"tab.disabled\" [matRippleDisabled]=\"tab.disabled || disableRipple\" (click)=\"_handleClick(tab, tabHeader, i)\"><div class=\"mat-tab-label-content\"><ng-template [ngIf]=\"tab.templateLabel\"><ng-template [cdkPortalOutlet]=\"tab.templateLabel\"></ng-template></ng-template><ng-template [ngIf]=\"!tab.templateLabel\">{{tab.textLabel}}</ng-template></div></div></mat-tab-header><div class=\"mat-tab-body-wrapper\" #tabBodyWrapper><mat-tab-body role=\"tabpanel\" *ngFor=\"let tab of _tabs; let i = index\" [id]=\"_getTabContentId(i)\" [attr.aria-labelledby]=\"_getTabLabelId(i)\" [class.mat-tab-body-active]=\"selectedIndex == i\" [content]=\"tab.content\" [position]=\"tab.position\" [origin]=\"tab.origin\" (_onCentered)=\"_removeTabBodyWrapperHeight()\" (_onCentering)=\"_setTabBodyWrapperHeight($event)\"></mat-tab-body></div>",
1714
- styles: [".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media screen and (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media screen and (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media screen and (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs] .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],
1711
+ styles: [".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media screen and (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media screen and (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media screen and (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],
1715
1712
  encapsulation: ViewEncapsulation.None,
1716
1713
  changeDetection: ChangeDetectionStrategy.OnPush,
1717
1714
  inputs: ['color', 'disableRipple'],
@@ -2112,5 +2109,5 @@ var MatTabsModule = /** @class */ (function () {
2112
2109
  * @suppress {checkTypes} checked by tsc
2113
2110
  */
2114
2111
 
2115
- export { MatInkBar, _MAT_INK_BAR_POSITIONER, MatTabBody, MatTabBodyPortal, MatTabHeader, MatTabLabelWrapper, MatTab, MatTabLabel, MatTabNav, MatTabLink, MatTabContent, MatTabsModule, MatTabChangeEvent, MatTabGroupBase, _MatTabGroupMixinBase, MatTabGroup, matTabsAnimations, _MAT_INK_BAR_POSITIONER_FACTORY as ɵa23, MatTabBase as ɵf23, _MatTabMixinBase as ɵg23, MatTabHeaderBase as ɵb23, _MatTabHeaderMixinBase as ɵc23, MatTabLabelWrapperBase as ɵd23, _MatTabLabelWrapperMixinBase as ɵe23, MatTabLinkBase as ɵj23, MatTabNavBase as ɵh23, _MatTabLinkMixinBase as ɵk23, _MatTabNavMixinBase as ɵi23 };
2112
+ export { MatInkBar, _MAT_INK_BAR_POSITIONER, MatTabBody, MatTabBodyPortal, MatTabHeader, MatTabLabelWrapper, MatTab, MatTabLabel, MatTabNav, MatTabLink, MatTabContent, MatTabsModule, MatTabChangeEvent, MatTabGroupBase, _MatTabGroupMixinBase, MatTabGroup, matTabsAnimations, _MAT_INK_BAR_POSITIONER_FACTORY as ɵa24, MatTabBase as ɵf24, _MatTabMixinBase as ɵg24, MatTabHeaderBase as ɵb24, _MatTabHeaderMixinBase as ɵc24, MatTabLabelWrapperBase as ɵd24, _MatTabLabelWrapperMixinBase as ɵe24, MatTabLinkBase as ɵj24, MatTabNavBase as ɵh24, _MatTabLinkMixinBase as ɵk24, _MatTabNavMixinBase as ɵi24 };
2116
2113
  //# sourceMappingURL=tabs.es5.js.map