@angular/material 13.0.0-rc.0 → 13.0.0-rc.1

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 (642) hide show
  1. package/autocomplete/testing/autocomplete-harness.d.ts +4 -4
  2. package/core/common-behaviors/index.d.ts +1 -1
  3. package/esm2020/autocomplete/autocomplete-module.mjs +4 -17
  4. package/esm2020/autocomplete/autocomplete-origin.mjs +1 -1
  5. package/esm2020/autocomplete/autocomplete-trigger.mjs +30 -25
  6. package/esm2020/autocomplete/autocomplete.mjs +10 -10
  7. package/esm2020/autocomplete/testing/autocomplete-harness.mjs +7 -8
  8. package/esm2020/badge/badge-module.mjs +4 -11
  9. package/esm2020/badge/badge.mjs +13 -5
  10. package/esm2020/badge/testing/badge-harness.mjs +2 -3
  11. package/esm2020/bottom-sheet/bottom-sheet-animations.mjs +2 -2
  12. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +5 -3
  13. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +4 -14
  14. package/esm2020/bottom-sheet/bottom-sheet-ref.mjs +10 -4
  15. package/esm2020/bottom-sheet/bottom-sheet.mjs +9 -8
  16. package/esm2020/bottom-sheet/testing/bottom-sheet-harness.mjs +1 -1
  17. package/esm2020/button/button-module.mjs +6 -23
  18. package/esm2020/button/button.mjs +1 -1
  19. package/esm2020/button/public-api.mjs +1 -1
  20. package/esm2020/button/testing/button-harness.mjs +2 -3
  21. package/esm2020/button-toggle/button-toggle-module.mjs +1 -1
  22. package/esm2020/button-toggle/button-toggle.mjs +25 -13
  23. package/esm2020/button-toggle/public-api.mjs +1 -1
  24. package/esm2020/button-toggle/testing/button-toggle-group-harness-filters.mjs +1 -1
  25. package/esm2020/button-toggle/testing/button-toggle-group-harness.mjs +3 -3
  26. package/esm2020/button-toggle/testing/button-toggle-harness.mjs +2 -2
  27. package/esm2020/card/card-module.mjs +29 -7
  28. package/esm2020/card/card.mjs +14 -14
  29. package/esm2020/card/public-api.mjs +1 -1
  30. package/esm2020/card/testing/card-harness.mjs +1 -1
  31. package/esm2020/checkbox/checkbox-config.mjs +2 -2
  32. package/esm2020/checkbox/checkbox-module.mjs +3 -9
  33. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  34. package/esm2020/checkbox/checkbox.mjs +32 -14
  35. package/esm2020/checkbox/public-api.mjs +1 -1
  36. package/esm2020/checkbox/testing/checkbox-harness.mjs +3 -3
  37. package/esm2020/chips/chip-default-options.mjs +1 -1
  38. package/esm2020/chips/chip-input.mjs +18 -8
  39. package/esm2020/chips/chip-list.mjs +29 -14
  40. package/esm2020/chips/chip-text-control.mjs +1 -1
  41. package/esm2020/chips/chip.mjs +28 -19
  42. package/esm2020/chips/chips-module.mjs +8 -8
  43. package/esm2020/chips/testing/chip-harness.mjs +2 -2
  44. package/esm2020/chips/testing/chip-input-harness.mjs +2 -2
  45. package/esm2020/chips/testing/chip-list-harness.mjs +5 -5
  46. package/esm2020/chips/testing/chip-listbox-harness.mjs +1 -1
  47. package/esm2020/chips/testing/chip-option-harness.mjs +1 -1
  48. package/esm2020/core/animation/animation.mjs +1 -1
  49. package/esm2020/core/common-behaviors/color.mjs +4 -2
  50. package/esm2020/core/common-behaviors/common-module.mjs +10 -5
  51. package/esm2020/core/common-behaviors/constructor.mjs +1 -1
  52. package/esm2020/core/common-behaviors/disable-ripple.mjs +7 -3
  53. package/esm2020/core/common-behaviors/disabled.mjs +7 -3
  54. package/esm2020/core/common-behaviors/error-state.mjs +1 -1
  55. package/esm2020/core/common-behaviors/index.mjs +1 -1
  56. package/esm2020/core/common-behaviors/initialized.mjs +1 -1
  57. package/esm2020/core/common-behaviors/tabindex.mjs +4 -2
  58. package/esm2020/core/datetime/date-adapter.mjs +4 -4
  59. package/esm2020/core/datetime/date-formats.mjs +1 -1
  60. package/esm2020/core/datetime/index.mjs +3 -7
  61. package/esm2020/core/datetime/native-date-adapter.mjs +3 -3
  62. package/esm2020/core/datetime/native-date-formats.mjs +2 -2
  63. package/esm2020/core/line/line.mjs +3 -3
  64. package/esm2020/core/option/index.mjs +2 -2
  65. package/esm2020/core/option/optgroup.mjs +2 -2
  66. package/esm2020/core/option/option-parent.mjs +1 -1
  67. package/esm2020/core/option/option.mjs +16 -6
  68. package/esm2020/core/ripple/ripple-ref.mjs +1 -1
  69. package/esm2020/core/ripple/ripple-renderer.mjs +8 -8
  70. package/esm2020/core/ripple/ripple.mjs +10 -6
  71. package/esm2020/core/selection/index.mjs +2 -2
  72. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +1 -1
  73. package/esm2020/core/testing/optgroup-harness.mjs +2 -3
  74. package/esm2020/core/testing/option-harness.mjs +2 -2
  75. package/esm2020/core/version.mjs +1 -1
  76. package/esm2020/datepicker/calendar-body.mjs +8 -4
  77. package/esm2020/datepicker/calendar.mjs +40 -26
  78. package/esm2020/datepicker/date-range-input-parts.mjs +22 -19
  79. package/esm2020/datepicker/date-range-input.mjs +23 -12
  80. package/esm2020/datepicker/date-range-picker.mjs +2 -2
  81. package/esm2020/datepicker/date-range-selection-strategy.mjs +1 -1
  82. package/esm2020/datepicker/date-selection-model.mjs +6 -5
  83. package/esm2020/datepicker/datepicker-actions.mjs +4 -4
  84. package/esm2020/datepicker/datepicker-animations.mjs +6 -6
  85. package/esm2020/datepicker/datepicker-base.mjs +37 -34
  86. package/esm2020/datepicker/datepicker-errors.mjs +1 -1
  87. package/esm2020/datepicker/datepicker-input-base.mjs +20 -15
  88. package/esm2020/datepicker/datepicker-input.mjs +15 -9
  89. package/esm2020/datepicker/datepicker-intl.mjs +1 -1
  90. package/esm2020/datepicker/datepicker-module.mjs +6 -15
  91. package/esm2020/datepicker/datepicker-toggle.mjs +9 -8
  92. package/esm2020/datepicker/datepicker.mjs +2 -2
  93. package/esm2020/datepicker/month-view.mjs +37 -23
  94. package/esm2020/datepicker/multi-year-view.mjs +26 -16
  95. package/esm2020/datepicker/testing/calendar-cell-harness.mjs +1 -1
  96. package/esm2020/datepicker/testing/calendar-harness.mjs +1 -1
  97. package/esm2020/datepicker/testing/date-range-input-harness.mjs +4 -5
  98. package/esm2020/datepicker/testing/datepicker-input-harness-base.mjs +4 -4
  99. package/esm2020/datepicker/testing/datepicker-input-harness.mjs +1 -1
  100. package/esm2020/datepicker/testing/datepicker-toggle-harness.mjs +1 -1
  101. package/esm2020/datepicker/testing/datepicker-trigger-harness-base.mjs +2 -2
  102. package/esm2020/datepicker/year-view.mjs +29 -16
  103. package/esm2020/dialog/dialog-animations.mjs +2 -2
  104. package/esm2020/dialog/dialog-config.mjs +1 -1
  105. package/esm2020/dialog/dialog-container.mjs +8 -5
  106. package/esm2020/dialog/dialog-content-directives.mjs +4 -4
  107. package/esm2020/dialog/dialog-module.mjs +5 -21
  108. package/esm2020/dialog/dialog-ref.mjs +10 -5
  109. package/esm2020/dialog/dialog.mjs +19 -16
  110. package/esm2020/dialog/testing/dialog-harness.mjs +3 -3
  111. package/esm2020/divider/divider-module.mjs +1 -1
  112. package/esm2020/divider/divider.mjs +14 -6
  113. package/esm2020/divider/testing/divider-harness-filters.mjs +1 -1
  114. package/esm2020/divider/testing/divider-harness.mjs +1 -1
  115. package/esm2020/expansion/accordion-base.mjs +1 -1
  116. package/esm2020/expansion/accordion.mjs +19 -11
  117. package/esm2020/expansion/expansion-animations.mjs +2 -2
  118. package/esm2020/expansion/expansion-module.mjs +1 -1
  119. package/esm2020/expansion/expansion-panel-content.mjs +2 -2
  120. package/esm2020/expansion/expansion-panel-header.mjs +13 -21
  121. package/esm2020/expansion/expansion-panel.mjs +10 -6
  122. package/esm2020/expansion/testing/accordion-harness.mjs +1 -1
  123. package/esm2020/expansion/testing/expansion-harness-filters.mjs +1 -1
  124. package/esm2020/expansion/testing/expansion-harness.mjs +3 -3
  125. package/esm2020/form-field/form-field-animations.mjs +2 -2
  126. package/esm2020/form-field/form-field-control.mjs +1 -1
  127. package/esm2020/form-field/form-field-module.mjs +5 -29
  128. package/esm2020/form-field/form-field.mjs +45 -33
  129. package/esm2020/form-field/label.mjs +2 -2
  130. package/esm2020/form-field/placeholder.mjs +2 -2
  131. package/esm2020/form-field/testing/form-field-harness.mjs +12 -9
  132. package/esm2020/grid-list/grid-list-module.mjs +4 -4
  133. package/esm2020/grid-list/grid-list.mjs +24 -13
  134. package/esm2020/grid-list/grid-tile.mjs +17 -9
  135. package/esm2020/grid-list/testing/grid-list-harness-filters.mjs +1 -1
  136. package/esm2020/grid-list/testing/grid-list-harness.mjs +9 -5
  137. package/esm2020/grid-list/testing/grid-tile-harness.mjs +1 -1
  138. package/esm2020/grid-list/tile-coordinator.mjs +5 -3
  139. package/esm2020/grid-list/tile-styler.mjs +7 -6
  140. package/esm2020/icon/fake-svgs.mjs +2 -2
  141. package/esm2020/icon/icon-module.mjs +1 -1
  142. package/esm2020/icon/icon-registry.mjs +6 -6
  143. package/esm2020/icon/icon.mjs +26 -16
  144. package/esm2020/icon/public-api.mjs +1 -1
  145. package/esm2020/icon/testing/fake-icon-registry.mjs +2 -2
  146. package/esm2020/icon/testing/icon-harness-filters.mjs +1 -1
  147. package/esm2020/icon/testing/icon-harness.mjs +2 -2
  148. package/esm2020/icon/trusted-types.mjs +1 -1
  149. package/esm2020/input/input-module.mjs +4 -14
  150. package/esm2020/input/input-value-accessor.mjs +1 -1
  151. package/esm2020/input/input.mjs +46 -20
  152. package/esm2020/input/public-api.mjs +1 -1
  153. package/esm2020/input/testing/input-harness.mjs +6 -6
  154. package/esm2020/input/testing/native-option-harness.mjs +3 -3
  155. package/esm2020/input/testing/native-select-harness.mjs +4 -4
  156. package/esm2020/list/list-module.mjs +3 -3
  157. package/esm2020/list/list.mjs +10 -9
  158. package/esm2020/list/public-api.mjs +1 -1
  159. package/esm2020/list/selection-list.mjs +34 -15
  160. package/esm2020/list/testing/action-list-harness.mjs +1 -1
  161. package/esm2020/list/testing/list-harness-base.mjs +12 -5
  162. package/esm2020/list/testing/list-harness.mjs +1 -1
  163. package/esm2020/list/testing/list-item-harness-base.mjs +5 -7
  164. package/esm2020/list/testing/nav-list-harness.mjs +2 -3
  165. package/esm2020/list/testing/selection-list-harness.mjs +9 -9
  166. package/esm2020/menu/menu-animations.mjs +7 -7
  167. package/esm2020/menu/menu-content.mjs +1 -1
  168. package/esm2020/menu/menu-errors.mjs +1 -1
  169. package/esm2020/menu/menu-item.mjs +1 -1
  170. package/esm2020/menu/menu-module.mjs +6 -19
  171. package/esm2020/menu/menu-panel.mjs +1 -1
  172. package/esm2020/menu/menu-trigger.mjs +25 -16
  173. package/esm2020/menu/menu.mjs +28 -25
  174. package/esm2020/menu/public-api.mjs +2 -2
  175. package/esm2020/menu/testing/menu-harness.mjs +4 -5
  176. package/esm2020/paginator/paginator-intl.mjs +3 -5
  177. package/esm2020/paginator/paginator-module.mjs +4 -20
  178. package/esm2020/paginator/paginator.mjs +24 -13
  179. package/esm2020/paginator/public-api.mjs +1 -1
  180. package/esm2020/paginator/testing/paginator-harness-filters.mjs +1 -1
  181. package/esm2020/paginator/testing/paginator-harness.mjs +2 -2
  182. package/esm2020/progress-bar/progress-bar-module.mjs +1 -1
  183. package/esm2020/progress-bar/progress-bar.mjs +20 -15
  184. package/esm2020/progress-bar/public-api.mjs +1 -1
  185. package/esm2020/progress-bar/testing/progress-bar-harness.mjs +1 -1
  186. package/esm2020/progress-spinner/progress-spinner-module.mjs +4 -14
  187. package/esm2020/progress-spinner/progress-spinner.mjs +10 -8
  188. package/esm2020/progress-spinner/testing/progress-spinner-harness.mjs +2 -2
  189. package/esm2020/radio/public-api.mjs +1 -1
  190. package/esm2020/radio/radio-module.mjs +1 -1
  191. package/esm2020/radio/radio.mjs +40 -24
  192. package/esm2020/radio/testing/radio-harness.mjs +3 -4
  193. package/esm2020/select/public-api.mjs +2 -2
  194. package/esm2020/select/select-animations.mjs +7 -7
  195. package/esm2020/select/select-module.mjs +6 -19
  196. package/esm2020/select/select.mjs +61 -44
  197. package/esm2020/select/testing/select-harness.mjs +9 -6
  198. package/esm2020/sidenav/drawer-animations.mjs +3 -3
  199. package/esm2020/sidenav/drawer.mjs +71 -35
  200. package/esm2020/sidenav/sidenav-module.mjs +4 -17
  201. package/esm2020/sidenav/sidenav.mjs +31 -15
  202. package/esm2020/sidenav/testing/drawer-container-harness.mjs +1 -1
  203. package/esm2020/sidenav/testing/drawer-content-harness.mjs +1 -1
  204. package/esm2020/sidenav/testing/drawer-harness.mjs +2 -3
  205. package/esm2020/sidenav/testing/sidenav-container-harness.mjs +1 -1
  206. package/esm2020/sidenav/testing/sidenav-content-harness.mjs +1 -1
  207. package/esm2020/sidenav/testing/sidenav-harness.mjs +2 -3
  208. package/esm2020/slide-toggle/slide-toggle-config.mjs +2 -2
  209. package/esm2020/slide-toggle/slide-toggle-module.mjs +3 -8
  210. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  211. package/esm2020/slide-toggle/slide-toggle.mjs +16 -10
  212. package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +3 -3
  213. package/esm2020/slider/public-api.mjs +1 -1
  214. package/esm2020/slider/slider-module.mjs +1 -1
  215. package/esm2020/slider/slider.mjs +49 -30
  216. package/esm2020/slider/testing/slider-harness.mjs +6 -2
  217. package/esm2020/snack-bar/simple-snack-bar.mjs +1 -1
  218. package/esm2020/snack-bar/snack-bar-animations.mjs +3 -3
  219. package/esm2020/snack-bar/snack-bar-container.mjs +2 -2
  220. package/esm2020/snack-bar/snack-bar-module.mjs +4 -20
  221. package/esm2020/snack-bar/snack-bar-ref.mjs +1 -1
  222. package/esm2020/snack-bar/snack-bar.mjs +11 -8
  223. package/esm2020/snack-bar/testing/snack-bar-harness.mjs +5 -6
  224. package/esm2020/sort/sort-animations.mjs +11 -26
  225. package/esm2020/sort/sort-header-intl.mjs +2 -2
  226. package/esm2020/sort/sort-header.mjs +29 -26
  227. package/esm2020/sort/sort-module.mjs +2 -2
  228. package/esm2020/sort/sort.mjs +16 -9
  229. package/esm2020/sort/testing/sort-harness-filters.mjs +1 -1
  230. package/esm2020/sort/testing/sort-harness.mjs +1 -1
  231. package/esm2020/sort/testing/sort-header-harness.mjs +1 -1
  232. package/esm2020/stepper/step-content.mjs +2 -2
  233. package/esm2020/stepper/step-header.mjs +2 -2
  234. package/esm2020/stepper/stepper-animations.mjs +4 -4
  235. package/esm2020/stepper/stepper-button.mjs +3 -3
  236. package/esm2020/stepper/stepper-intl.mjs +2 -2
  237. package/esm2020/stepper/stepper-module.mjs +1 -1
  238. package/esm2020/stepper/stepper.mjs +10 -6
  239. package/esm2020/stepper/testing/step-harness-filters.mjs +1 -1
  240. package/esm2020/stepper/testing/step-harness.mjs +1 -1
  241. package/esm2020/stepper/testing/stepper-button-harnesses.mjs +3 -5
  242. package/esm2020/stepper/testing/stepper-harness.mjs +5 -5
  243. package/esm2020/table/cell.mjs +12 -8
  244. package/esm2020/table/row.mjs +2 -2
  245. package/esm2020/table/table-data-source.mjs +30 -21
  246. package/esm2020/table/table-module.mjs +5 -12
  247. package/esm2020/table/table.mjs +5 -9
  248. package/esm2020/table/testing/cell-harness.mjs +6 -3
  249. package/esm2020/table/testing/row-harness.mjs +2 -2
  250. package/esm2020/table/testing/table-harness-filters.mjs +1 -1
  251. package/esm2020/table/testing/table-harness.mjs +3 -3
  252. package/esm2020/table/text-column.mjs +1 -1
  253. package/esm2020/tabs/ink-bar.mjs +2 -2
  254. package/esm2020/tabs/paginated-tab-header.mjs +16 -9
  255. package/esm2020/tabs/public-api.mjs +2 -2
  256. package/esm2020/tabs/tab-body.mjs +7 -7
  257. package/esm2020/tabs/tab-content.mjs +2 -3
  258. package/esm2020/tabs/tab-group.mjs +43 -28
  259. package/esm2020/tabs/tab-header.mjs +7 -3
  260. package/esm2020/tabs/tab-label-wrapper.mjs +2 -2
  261. package/esm2020/tabs/tab-label.mjs +1 -1
  262. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +19 -9
  263. package/esm2020/tabs/tab.mjs +7 -3
  264. package/esm2020/tabs/tabs-animations.mjs +5 -5
  265. package/esm2020/tabs/tabs-module.mjs +1 -1
  266. package/esm2020/tabs/testing/tab-group-harness.mjs +2 -3
  267. package/esm2020/tabs/testing/tab-harness.mjs +2 -3
  268. package/esm2020/tabs/testing/tab-link-harness.mjs +2 -3
  269. package/esm2020/toolbar/public-api.mjs +1 -1
  270. package/esm2020/toolbar/testing/toolbar-harness.mjs +3 -4
  271. package/esm2020/toolbar/toolbar-module.mjs +1 -1
  272. package/esm2020/toolbar/toolbar.mjs +1 -1
  273. package/esm2020/tooltip/tooltip-animations.mjs +3 -3
  274. package/esm2020/tooltip/tooltip-module.mjs +5 -18
  275. package/esm2020/tooltip/tooltip.mjs +55 -30
  276. package/esm2020/tree/data-source/flat-data-source.mjs +4 -2
  277. package/esm2020/tree/data-source/nested-data-source.mjs +8 -5
  278. package/esm2020/tree/node.mjs +17 -13
  279. package/esm2020/tree/outlet.mjs +12 -8
  280. package/esm2020/tree/padding.mjs +14 -6
  281. package/esm2020/tree/public-api.mjs +1 -1
  282. package/esm2020/tree/testing/node-harness.mjs +1 -1
  283. package/esm2020/tree/testing/tree-harness-filters.mjs +1 -1
  284. package/esm2020/tree/testing/tree-harness.mjs +2 -2
  285. package/esm2020/tree/toggle.mjs +5 -3
  286. package/esm2020/tree/tree-module.mjs +2 -2
  287. package/esm2020/tree/tree.mjs +1 -1
  288. package/fesm2015/autocomplete/testing.mjs +2 -3
  289. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  290. package/fesm2015/autocomplete.mjs +40 -48
  291. package/fesm2015/autocomplete.mjs.map +1 -1
  292. package/fesm2015/badge/testing.mjs +1 -2
  293. package/fesm2015/badge/testing.mjs.map +1 -1
  294. package/fesm2015/badge.mjs +15 -14
  295. package/fesm2015/badge.mjs.map +1 -1
  296. package/fesm2015/bottom-sheet/testing.mjs.map +1 -1
  297. package/fesm2015/bottom-sheet.mjs +25 -26
  298. package/fesm2015/bottom-sheet.mjs.map +1 -1
  299. package/fesm2015/button/testing.mjs +1 -2
  300. package/fesm2015/button/testing.mjs.map +1 -1
  301. package/fesm2015/button-toggle/testing.mjs.map +1 -1
  302. package/fesm2015/button-toggle.mjs +23 -11
  303. package/fesm2015/button-toggle.mjs.map +1 -1
  304. package/fesm2015/button.mjs +5 -22
  305. package/fesm2015/button.mjs.map +1 -1
  306. package/fesm2015/card/testing.mjs.map +1 -1
  307. package/fesm2015/card.mjs +41 -19
  308. package/fesm2015/card.mjs.map +1 -1
  309. package/fesm2015/checkbox/testing.mjs +2 -2
  310. package/fesm2015/checkbox/testing.mjs.map +1 -1
  311. package/fesm2015/checkbox.mjs +35 -23
  312. package/fesm2015/checkbox.mjs.map +1 -1
  313. package/fesm2015/chips/testing.mjs +2 -2
  314. package/fesm2015/chips/testing.mjs.map +1 -1
  315. package/fesm2015/chips.mjs +77 -43
  316. package/fesm2015/chips.mjs.map +1 -1
  317. package/fesm2015/core/testing.mjs +1 -2
  318. package/fesm2015/core/testing.mjs.map +1 -1
  319. package/fesm2015/core.mjs +69 -42
  320. package/fesm2015/core.mjs.map +1 -1
  321. package/fesm2015/datepicker/testing.mjs +5 -6
  322. package/fesm2015/datepicker/testing.mjs.map +1 -1
  323. package/fesm2015/datepicker.mjs +267 -191
  324. package/fesm2015/datepicker.mjs.map +1 -1
  325. package/fesm2015/dialog/testing.mjs +2 -2
  326. package/fesm2015/dialog/testing.mjs.map +1 -1
  327. package/fesm2015/dialog.mjs +40 -45
  328. package/fesm2015/dialog.mjs.map +1 -1
  329. package/fesm2015/divider/testing.mjs.map +1 -1
  330. package/fesm2015/divider.mjs +13 -5
  331. package/fesm2015/divider.mjs.map +1 -1
  332. package/fesm2015/expansion/testing.mjs.map +1 -1
  333. package/fesm2015/expansion.mjs +40 -36
  334. package/fesm2015/expansion.mjs.map +1 -1
  335. package/fesm2015/form-field/testing.mjs +5 -2
  336. package/fesm2015/form-field/testing.mjs.map +1 -1
  337. package/fesm2015/form-field.mjs +50 -62
  338. package/fesm2015/form-field.mjs.map +1 -1
  339. package/fesm2015/grid-list/testing.mjs +8 -4
  340. package/fesm2015/grid-list/testing.mjs.map +1 -1
  341. package/fesm2015/grid-list.mjs +51 -29
  342. package/fesm2015/grid-list.mjs.map +1 -1
  343. package/fesm2015/icon/testing.mjs +1 -1
  344. package/fesm2015/icon/testing.mjs.map +1 -1
  345. package/fesm2015/icon.mjs +30 -20
  346. package/fesm2015/icon.mjs.map +1 -1
  347. package/fesm2015/input/testing.mjs +8 -8
  348. package/fesm2015/input/testing.mjs.map +1 -1
  349. package/fesm2015/input.mjs +47 -31
  350. package/fesm2015/input.mjs.map +1 -1
  351. package/fesm2015/list/testing.mjs +17 -13
  352. package/fesm2015/list/testing.mjs.map +1 -1
  353. package/fesm2015/list.mjs +41 -22
  354. package/fesm2015/list.mjs.map +1 -1
  355. package/fesm2015/menu/testing.mjs +1 -2
  356. package/fesm2015/menu/testing.mjs.map +1 -1
  357. package/fesm2015/menu.mjs +62 -63
  358. package/fesm2015/menu.mjs.map +1 -1
  359. package/fesm2015/paginator/testing.mjs +1 -1
  360. package/fesm2015/paginator/testing.mjs.map +1 -1
  361. package/fesm2015/paginator.mjs +27 -34
  362. package/fesm2015/paginator.mjs.map +1 -1
  363. package/fesm2015/progress-bar/testing.mjs.map +1 -1
  364. package/fesm2015/progress-bar.mjs +19 -14
  365. package/fesm2015/progress-bar.mjs.map +1 -1
  366. package/fesm2015/progress-spinner/testing.mjs +1 -1
  367. package/fesm2015/progress-spinner/testing.mjs.map +1 -1
  368. package/fesm2015/progress-spinner.mjs +12 -20
  369. package/fesm2015/progress-spinner.mjs.map +1 -1
  370. package/fesm2015/radio/testing.mjs +1 -2
  371. package/fesm2015/radio/testing.mjs.map +1 -1
  372. package/fesm2015/radio.mjs +39 -23
  373. package/fesm2015/radio.mjs.map +1 -1
  374. package/fesm2015/select/testing.mjs +4 -1
  375. package/fesm2015/select/testing.mjs.map +1 -1
  376. package/fesm2015/select.mjs +70 -66
  377. package/fesm2015/select.mjs.map +1 -1
  378. package/fesm2015/sidenav/testing.mjs +2 -4
  379. package/fesm2015/sidenav/testing.mjs.map +1 -1
  380. package/fesm2015/sidenav.mjs +103 -64
  381. package/fesm2015/sidenav.mjs.map +1 -1
  382. package/fesm2015/slide-toggle/testing.mjs +2 -2
  383. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  384. package/fesm2015/slide-toggle.mjs +18 -17
  385. package/fesm2015/slide-toggle.mjs.map +1 -1
  386. package/fesm2015/slider/testing.mjs +5 -1
  387. package/fesm2015/slider/testing.mjs.map +1 -1
  388. package/fesm2015/slider.mjs +47 -28
  389. package/fesm2015/slider.mjs.map +1 -1
  390. package/fesm2015/snack-bar/testing.mjs +1 -2
  391. package/fesm2015/snack-bar/testing.mjs.map +1 -1
  392. package/fesm2015/snack-bar.mjs +16 -29
  393. package/fesm2015/snack-bar.mjs.map +1 -1
  394. package/fesm2015/sort/testing.mjs.map +1 -1
  395. package/fesm2015/sort.mjs +53 -57
  396. package/fesm2015/sort.mjs.map +1 -1
  397. package/fesm2015/stepper/testing.mjs +6 -8
  398. package/fesm2015/stepper/testing.mjs.map +1 -1
  399. package/fesm2015/stepper.mjs +17 -13
  400. package/fesm2015/stepper.mjs.map +1 -1
  401. package/fesm2015/table/testing.mjs +7 -4
  402. package/fesm2015/table/testing.mjs.map +1 -1
  403. package/fesm2015/table.mjs +45 -43
  404. package/fesm2015/table.mjs.map +1 -1
  405. package/fesm2015/tabs/testing.mjs +3 -6
  406. package/fesm2015/tabs/testing.mjs.map +1 -1
  407. package/fesm2015/tabs.mjs +99 -60
  408. package/fesm2015/tabs.mjs.map +1 -1
  409. package/fesm2015/toolbar/testing.mjs +2 -3
  410. package/fesm2015/toolbar/testing.mjs.map +1 -1
  411. package/fesm2015/toolbar.mjs.map +1 -1
  412. package/fesm2015/tooltip.mjs +60 -48
  413. package/fesm2015/tooltip.mjs.map +1 -1
  414. package/fesm2015/tree/testing.mjs +1 -1
  415. package/fesm2015/tree/testing.mjs.map +1 -1
  416. package/fesm2015/tree.mjs +53 -30
  417. package/fesm2015/tree.mjs.map +1 -1
  418. package/fesm2020/autocomplete/testing.mjs +5 -6
  419. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  420. package/fesm2020/autocomplete.mjs +40 -48
  421. package/fesm2020/autocomplete.mjs.map +1 -1
  422. package/fesm2020/badge/testing.mjs +1 -2
  423. package/fesm2020/badge/testing.mjs.map +1 -1
  424. package/fesm2020/badge.mjs +15 -14
  425. package/fesm2020/badge.mjs.map +1 -1
  426. package/fesm2020/bottom-sheet/testing.mjs.map +1 -1
  427. package/fesm2020/bottom-sheet.mjs +25 -26
  428. package/fesm2020/bottom-sheet.mjs.map +1 -1
  429. package/fesm2020/button/testing.mjs +1 -2
  430. package/fesm2020/button/testing.mjs.map +1 -1
  431. package/fesm2020/button-toggle/testing.mjs +3 -3
  432. package/fesm2020/button-toggle/testing.mjs.map +1 -1
  433. package/fesm2020/button-toggle.mjs +23 -11
  434. package/fesm2020/button-toggle.mjs.map +1 -1
  435. package/fesm2020/button.mjs +5 -22
  436. package/fesm2020/button.mjs.map +1 -1
  437. package/fesm2020/card/testing.mjs.map +1 -1
  438. package/fesm2020/card.mjs +41 -19
  439. package/fesm2020/card.mjs.map +1 -1
  440. package/fesm2020/checkbox/testing.mjs +2 -2
  441. package/fesm2020/checkbox/testing.mjs.map +1 -1
  442. package/fesm2020/checkbox.mjs +35 -23
  443. package/fesm2020/checkbox.mjs.map +1 -1
  444. package/fesm2020/chips/testing.mjs +6 -6
  445. package/fesm2020/chips/testing.mjs.map +1 -1
  446. package/fesm2020/chips.mjs +77 -43
  447. package/fesm2020/chips.mjs.map +1 -1
  448. package/fesm2020/core/testing.mjs +2 -3
  449. package/fesm2020/core/testing.mjs.map +1 -1
  450. package/fesm2020/core.mjs +70 -43
  451. package/fesm2020/core.mjs.map +1 -1
  452. package/fesm2020/datepicker/testing.mjs +6 -7
  453. package/fesm2020/datepicker/testing.mjs.map +1 -1
  454. package/fesm2020/datepicker.mjs +267 -191
  455. package/fesm2020/datepicker.mjs.map +1 -1
  456. package/fesm2020/dialog/testing.mjs +2 -2
  457. package/fesm2020/dialog/testing.mjs.map +1 -1
  458. package/fesm2020/dialog.mjs +40 -45
  459. package/fesm2020/dialog.mjs.map +1 -1
  460. package/fesm2020/divider/testing.mjs.map +1 -1
  461. package/fesm2020/divider.mjs +13 -5
  462. package/fesm2020/divider.mjs.map +1 -1
  463. package/fesm2020/expansion/testing.mjs +2 -2
  464. package/fesm2020/expansion/testing.mjs.map +1 -1
  465. package/fesm2020/expansion.mjs +40 -36
  466. package/fesm2020/expansion.mjs.map +1 -1
  467. package/fesm2020/form-field/testing.mjs +10 -7
  468. package/fesm2020/form-field/testing.mjs.map +1 -1
  469. package/fesm2020/form-field.mjs +50 -62
  470. package/fesm2020/form-field.mjs.map +1 -1
  471. package/fesm2020/grid-list/testing.mjs +8 -4
  472. package/fesm2020/grid-list/testing.mjs.map +1 -1
  473. package/fesm2020/grid-list.mjs +51 -29
  474. package/fesm2020/grid-list.mjs.map +1 -1
  475. package/fesm2020/icon/testing.mjs +2 -2
  476. package/fesm2020/icon/testing.mjs.map +1 -1
  477. package/fesm2020/icon.mjs +30 -20
  478. package/fesm2020/icon.mjs.map +1 -1
  479. package/fesm2020/input/testing.mjs +10 -10
  480. package/fesm2020/input/testing.mjs.map +1 -1
  481. package/fesm2020/input.mjs +47 -31
  482. package/fesm2020/input.mjs.map +1 -1
  483. package/fesm2020/list/testing.mjs +23 -19
  484. package/fesm2020/list/testing.mjs.map +1 -1
  485. package/fesm2020/list.mjs +43 -23
  486. package/fesm2020/list.mjs.map +1 -1
  487. package/fesm2020/menu/testing.mjs +3 -4
  488. package/fesm2020/menu/testing.mjs.map +1 -1
  489. package/fesm2020/menu.mjs +62 -63
  490. package/fesm2020/menu.mjs.map +1 -1
  491. package/fesm2020/paginator/testing.mjs +1 -1
  492. package/fesm2020/paginator/testing.mjs.map +1 -1
  493. package/fesm2020/paginator.mjs +27 -34
  494. package/fesm2020/paginator.mjs.map +1 -1
  495. package/fesm2020/progress-bar/testing.mjs.map +1 -1
  496. package/fesm2020/progress-bar.mjs +19 -14
  497. package/fesm2020/progress-bar.mjs.map +1 -1
  498. package/fesm2020/progress-spinner/testing.mjs +1 -1
  499. package/fesm2020/progress-spinner/testing.mjs.map +1 -1
  500. package/fesm2020/progress-spinner.mjs +12 -20
  501. package/fesm2020/progress-spinner.mjs.map +1 -1
  502. package/fesm2020/radio/testing.mjs +2 -3
  503. package/fesm2020/radio/testing.mjs.map +1 -1
  504. package/fesm2020/radio.mjs +39 -23
  505. package/fesm2020/radio.mjs.map +1 -1
  506. package/fesm2020/select/testing.mjs +8 -5
  507. package/fesm2020/select/testing.mjs.map +1 -1
  508. package/fesm2020/select.mjs +70 -66
  509. package/fesm2020/select.mjs.map +1 -1
  510. package/fesm2020/sidenav/testing.mjs +2 -4
  511. package/fesm2020/sidenav/testing.mjs.map +1 -1
  512. package/fesm2020/sidenav.mjs +103 -64
  513. package/fesm2020/sidenav.mjs.map +1 -1
  514. package/fesm2020/slide-toggle/testing.mjs +2 -2
  515. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  516. package/fesm2020/slide-toggle.mjs +18 -17
  517. package/fesm2020/slide-toggle.mjs.map +1 -1
  518. package/fesm2020/slider/testing.mjs +5 -1
  519. package/fesm2020/slider/testing.mjs.map +1 -1
  520. package/fesm2020/slider.mjs +47 -28
  521. package/fesm2020/slider.mjs.map +1 -1
  522. package/fesm2020/snack-bar/testing.mjs +4 -5
  523. package/fesm2020/snack-bar/testing.mjs.map +1 -1
  524. package/fesm2020/snack-bar.mjs +16 -29
  525. package/fesm2020/snack-bar.mjs.map +1 -1
  526. package/fesm2020/sort/testing.mjs.map +1 -1
  527. package/fesm2020/sort.mjs +54 -59
  528. package/fesm2020/sort.mjs.map +1 -1
  529. package/fesm2020/stepper/testing.mjs +6 -8
  530. package/fesm2020/stepper/testing.mjs.map +1 -1
  531. package/fesm2020/stepper.mjs +17 -13
  532. package/fesm2020/stepper.mjs.map +1 -1
  533. package/fesm2020/table/testing.mjs +7 -4
  534. package/fesm2020/table/testing.mjs.map +1 -1
  535. package/fesm2020/table.mjs +45 -43
  536. package/fesm2020/table.mjs.map +1 -1
  537. package/fesm2020/tabs/testing.mjs +3 -6
  538. package/fesm2020/tabs/testing.mjs.map +1 -1
  539. package/fesm2020/tabs.mjs +99 -60
  540. package/fesm2020/tabs.mjs.map +1 -1
  541. package/fesm2020/toolbar/testing.mjs +2 -3
  542. package/fesm2020/toolbar/testing.mjs.map +1 -1
  543. package/fesm2020/toolbar.mjs.map +1 -1
  544. package/fesm2020/tooltip.mjs +60 -48
  545. package/fesm2020/tooltip.mjs.map +1 -1
  546. package/fesm2020/tree/testing.mjs +1 -1
  547. package/fesm2020/tree/testing.mjs.map +1 -1
  548. package/fesm2020/tree.mjs +53 -30
  549. package/fesm2020/tree.mjs.map +1 -1
  550. package/grid-list/testing/grid-list-harness.d.ts +1 -1
  551. package/icon/icon-registry.d.ts +1 -1
  552. package/input/_input-theme.scss +8 -6
  553. package/input/input.d.ts +2 -0
  554. package/list/testing/list-harness-base.d.ts +2 -2
  555. package/menu/public-api.d.ts +1 -1
  556. package/menu/testing/menu-harness.d.ts +2 -2
  557. package/package.json +2 -2
  558. package/prebuilt-themes/deeppurple-amber.css +1 -1
  559. package/prebuilt-themes/indigo-pink.css +1 -1
  560. package/prebuilt-themes/pink-bluegrey.css +1 -1
  561. package/prebuilt-themes/purple-green.css +1 -1
  562. package/radio/testing/radio-harness.d.ts +2 -2
  563. package/schematics/ng-add/index.js +2 -2
  564. package/schematics/ng-add/index.mjs +2 -2
  565. package/schematics/ng-add/package-config.js +4 -2
  566. package/schematics/ng-add/package-config.mjs +4 -2
  567. package/schematics/ng-add/setup-project.js +2 -3
  568. package/schematics/ng-add/setup-project.mjs +2 -3
  569. package/schematics/ng-add/theming/create-custom-theme.js +1 -1
  570. package/schematics/ng-add/theming/create-custom-theme.mjs +1 -1
  571. package/schematics/ng-add/theming/theming.js +6 -6
  572. package/schematics/ng-add/theming/theming.mjs +6 -6
  573. package/schematics/ng-generate/address-form/index.js +2 -2
  574. package/schematics/ng-generate/address-form/index.mjs +2 -2
  575. package/schematics/ng-generate/dashboard/index.js +2 -2
  576. package/schematics/ng-generate/dashboard/index.mjs +2 -2
  577. package/schematics/ng-generate/navigation/index.js +2 -2
  578. package/schematics/ng-generate/navigation/index.mjs +2 -2
  579. package/schematics/ng-generate/table/index.js +3 -3
  580. package/schematics/ng-generate/table/index.mjs +3 -3
  581. package/schematics/ng-generate/tree/index.js +2 -2
  582. package/schematics/ng-generate/tree/index.mjs +2 -2
  583. package/schematics/ng-update/data/class-names.js +6 -8
  584. package/schematics/ng-update/data/class-names.mjs +6 -8
  585. package/schematics/ng-update/data/constructor-checks.js +33 -32
  586. package/schematics/ng-update/data/constructor-checks.mjs +33 -32
  587. package/schematics/ng-update/data/css-selectors.js +11 -9
  588. package/schematics/ng-update/data/css-selectors.mjs +11 -9
  589. package/schematics/ng-update/data/element-selectors.js +6 -4
  590. package/schematics/ng-update/data/element-selectors.mjs +6 -4
  591. package/schematics/ng-update/data/input-names.js +31 -23
  592. package/schematics/ng-update/data/input-names.mjs +31 -23
  593. package/schematics/ng-update/data/method-call-checks.js +10 -6
  594. package/schematics/ng-update/data/method-call-checks.mjs +10 -6
  595. package/schematics/ng-update/data/property-names.js +62 -50
  596. package/schematics/ng-update/data/property-names.mjs +62 -50
  597. package/schematics/ng-update/data/symbol-removal.js +6 -6
  598. package/schematics/ng-update/data/symbol-removal.mjs +6 -6
  599. package/schematics/ng-update/index.js +1 -1
  600. package/schematics/ng-update/index.mjs +1 -1
  601. package/schematics/ng-update/migrations/hammer-gestures-v9/find-main-module.js +5 -3
  602. package/schematics/ng-update/migrations/hammer-gestures-v9/find-main-module.mjs +5 -3
  603. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +53 -27
  604. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +53 -27
  605. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-template-check.js +38 -7
  606. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-template-check.mjs +38 -7
  607. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +28 -14
  608. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +28 -14
  609. package/schematics/ng-update/migrations/hammer-gestures-v9/remove-array-element.js +1 -1
  610. package/schematics/ng-update/migrations/hammer-gestures-v9/remove-array-element.mjs +1 -1
  611. package/schematics/ng-update/migrations/hammer-gestures-v9/remove-element-from-html.js +1 -1
  612. package/schematics/ng-update/migrations/hammer-gestures-v9/remove-element-from-html.mjs +1 -1
  613. package/schematics/ng-update/migrations/misc-checks/misc-class-inheritance.js +3 -2
  614. package/schematics/ng-update/migrations/misc-checks/misc-class-inheritance.mjs +3 -2
  615. package/schematics/ng-update/migrations/misc-checks/misc-class-names.js +1 -1
  616. package/schematics/ng-update/migrations/misc-checks/misc-class-names.mjs +1 -1
  617. package/schematics/ng-update/migrations/misc-checks/misc-imports.js +6 -3
  618. package/schematics/ng-update/migrations/misc-checks/misc-imports.mjs +6 -3
  619. package/schematics/ng-update/migrations/misc-checks/misc-property-names.js +1 -1
  620. package/schematics/ng-update/migrations/misc-checks/misc-property-names.mjs +1 -1
  621. package/schematics/ng-update/migrations/misc-checks/misc-template.js +7 -13
  622. package/schematics/ng-update/migrations/misc-checks/misc-template.mjs +7 -13
  623. package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.js +1 -1
  624. package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.mjs +1 -1
  625. package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.js +3 -2
  626. package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.mjs +3 -2
  627. package/schematics/ng-update/migrations/theming-api-v12/config.js +59 -10
  628. package/schematics/ng-update/migrations/theming-api-v12/config.mjs +59 -10
  629. package/schematics/ng-update/migrations/theming-api-v12/migration.js +19 -11
  630. package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +19 -11
  631. package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.js +6 -3
  632. package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.mjs +6 -3
  633. package/schematics/ng-update/typescript/module-specifiers.js +3 -3
  634. package/schematics/ng-update/typescript/module-specifiers.mjs +3 -3
  635. package/select/public-api.d.ts +1 -1
  636. package/select/testing/select-harness.d.ts +4 -4
  637. package/table/table-data-source.d.ts +3 -3
  638. package/table/testing/row-harness.d.ts +2 -2
  639. package/table/testing/table-harness.d.ts +4 -4
  640. package/tabs/_tabs-theme.scss +6 -2
  641. package/tabs/public-api.d.ts +1 -1
  642. package/tabs/tab-content.d.ts +2 -3
package/fesm2015/tabs.mjs CHANGED
@@ -31,7 +31,7 @@ import * as i1$1 from '@angular/cdk/scrolling';
31
31
  /** Injection token for the MatInkBar's Positioner. */
32
32
  const _MAT_INK_BAR_POSITIONER = new InjectionToken('MatInkBarPositioner', {
33
33
  providedIn: 'root',
34
- factory: _MAT_INK_BAR_POSITIONER_FACTORY
34
+ factory: _MAT_INK_BAR_POSITIONER_FACTORY,
35
35
  });
36
36
  /**
37
37
  * The default positioner function for the MatInkBar.
@@ -128,8 +128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
128
128
  const MAT_TAB_CONTENT = new InjectionToken('MatTabContent');
129
129
  /** Decorates the `ng-template` tags and reads out the template from it. */
130
130
  class MatTabContent {
131
- constructor(
132
- /** Content for the tab. */ template) {
131
+ constructor(/** Content for the tab. */ template) {
133
132
  this.template = template;
134
133
  }
135
134
  }
@@ -221,8 +220,12 @@ class MatTab extends _MatTabBase {
221
220
  this.isActive = false;
222
221
  }
223
222
  /** Content for the tab label given by `<ng-template mat-tab-label>`. */
224
- get templateLabel() { return this._templateLabel; }
225
- set templateLabel(value) { this._setTemplateLabelInput(value); }
223
+ get templateLabel() {
224
+ return this._templateLabel;
225
+ }
226
+ set templateLabel(value) {
227
+ this._setTemplateLabelInput(value);
228
+ }
226
229
  /** @docs-private */
227
230
  get content() {
228
231
  return this._contentPortal;
@@ -311,13 +314,13 @@ const matTabsAnimations = {
311
314
  transition('* => left, * => right, left => center, right => center', animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)')),
312
315
  transition('void => left-origin-center', [
313
316
  style({ transform: 'translate3d(-100%, 0, 0)' }),
314
- animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)')
317
+ animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)'),
315
318
  ]),
316
319
  transition('void => right-origin-center', [
317
320
  style({ transform: 'translate3d(100%, 0, 0)' }),
318
- animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)')
319
- ])
320
- ])
321
+ animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)'),
322
+ ]),
323
+ ]),
321
324
  };
322
325
 
323
326
  /**
@@ -366,7 +369,7 @@ MatTabBodyPortal.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", versi
366
369
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: MatTabBodyPortal, decorators: [{
367
370
  type: Directive,
368
371
  args: [{
369
- selector: '[matTabBodyHost]'
372
+ selector: '[matTabBodyHost]',
370
373
  }]
371
374
  }], ctorParameters: function () {
372
375
  return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: MatTabBody, decorators: [{
@@ -409,9 +412,11 @@ class _MatTabBodyBase {
409
412
  }
410
413
  // Ensure that we get unique animation events, because the `.done` callback can get
411
414
  // invoked twice in some browsers. See https://github.com/angular/angular/issues/24084.
412
- this._translateTabComplete.pipe(distinctUntilChanged((x, y) => {
415
+ this._translateTabComplete
416
+ .pipe(distinctUntilChanged((x, y) => {
413
417
  return x.fromState === y.fromState && x.toState === y.toState;
414
- })).subscribe(event => {
418
+ }))
419
+ .subscribe(event => {
415
420
  // If the transition to the center is complete, emit an event.
416
421
  if (this._isCenterPosition(event.toState) && this._isCenterPosition(this._position)) {
417
422
  this._onCentered.emit();
@@ -452,9 +457,7 @@ class _MatTabBodyBase {
452
457
  }
453
458
  /** Whether the provided position state is considered center, regardless of origin. */
454
459
  _isCenterPosition(position) {
455
- return position == 'center' ||
456
- position == 'left-origin-center' ||
457
- position == 'right-origin-center';
460
+ return (position == 'center' || position == 'left-origin-center' || position == 'right-origin-center');
458
461
  }
459
462
  /** Computes the position state that will be used for the tab-body animation trigger. */
460
463
  _computePositionAnimationState(dir = this._getLayoutDirection()) {
@@ -575,7 +578,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
575
578
  host: {
576
579
  '[class.mat-tab-disabled]': 'disabled',
577
580
  '[attr.aria-disabled]': '!!disabled',
578
- }
581
+ },
579
582
  }]
580
583
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
581
584
 
@@ -587,7 +590,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
587
590
  * found in the LICENSE file at https://angular.io/license
588
591
  */
589
592
  /** Config used to bind passive event listeners */
590
- const passiveEventListenerOptions = normalizePassiveListenerOptions({ passive: true });
593
+ const passiveEventListenerOptions = normalizePassiveListenerOptions({
594
+ passive: true,
595
+ });
591
596
  /**
592
597
  * The distance in pixels that will be overshot when scrolling a tab label into view. This helps
593
598
  * provide a small affordance to the label next to it.
@@ -650,7 +655,9 @@ class MatPaginatedTabHeader {
650
655
  });
651
656
  }
652
657
  /** The index of the active tab. */
653
- get selectedIndex() { return this._selectedIndex; }
658
+ get selectedIndex() {
659
+ return this._selectedIndex;
660
+ }
654
661
  set selectedIndex(value) {
655
662
  value = coerceNumberProperty(value);
656
663
  if (this._selectedIndex != value) {
@@ -691,7 +698,9 @@ class MatPaginatedTabHeader {
691
698
  typeof requestAnimationFrame !== 'undefined' ? requestAnimationFrame(realign) : realign();
692
699
  // On dir change or window resize, realign the ink bar and update the orientation of
693
700
  // the key manager if the direction has changed.
694
- merge(dirChange, resize, this._items.changes).pipe(takeUntil(this._destroyed)).subscribe(() => {
701
+ merge(dirChange, resize, this._items.changes)
702
+ .pipe(takeUntil(this._destroyed))
703
+ .subscribe(() => {
695
704
  // We need to defer this to give the browser some time to recalculate
696
705
  // the element dimensions. The call has to be wrapped in `NgZone.run`,
697
706
  // because the viewport change handler runs outside of Angular.
@@ -856,7 +865,9 @@ class MatPaginatedTabHeader {
856
865
  }
857
866
  }
858
867
  /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
859
- get scrollDistance() { return this._scrollDistance; }
868
+ get scrollDistance() {
869
+ return this._scrollDistance;
870
+ }
860
871
  set scrollDistance(value) {
861
872
  this._scrollTo(value);
862
873
  }
@@ -871,7 +882,7 @@ class MatPaginatedTabHeader {
871
882
  _scrollHeader(direction) {
872
883
  const viewLength = this._tabListContainer.nativeElement.offsetWidth;
873
884
  // Move the scroll distance one-third the length of the tab list's viewport.
874
- const scrollAmount = (direction == 'before' ? -1 : 1) * viewLength / 3;
885
+ const scrollAmount = ((direction == 'before' ? -1 : 1) * viewLength) / 3;
875
886
  return this._scrollTo(this._scrollDistance + scrollAmount);
876
887
  }
877
888
  /** Handles click events on the pagination arrows. */
@@ -969,12 +980,11 @@ class MatPaginatedTabHeader {
969
980
  _getMaxScrollDistance() {
970
981
  const lengthOfTabList = this._tabList.nativeElement.scrollWidth;
971
982
  const viewLength = this._tabListContainer.nativeElement.offsetWidth;
972
- return (lengthOfTabList - viewLength) || 0;
983
+ return lengthOfTabList - viewLength || 0;
973
984
  }
974
985
  /** Tells the ink-bar to align itself to the current label wrapper */
975
986
  _alignInkBarToSelectedTab() {
976
- const selectedItem = this._items && this._items.length ?
977
- this._items.toArray()[this.selectedIndex] : null;
987
+ const selectedItem = this._items && this._items.length ? this._items.toArray()[this.selectedIndex] : null;
978
988
  const selectedLabelWrapper = selectedItem ? selectedItem.elementRef.nativeElement : null;
979
989
  if (selectedLabelWrapper) {
980
990
  this._inkBar.alignToElement(selectedLabelWrapper);
@@ -1057,8 +1067,12 @@ class _MatTabHeaderBase extends MatPaginatedTabHeader {
1057
1067
  this._disableRipple = false;
1058
1068
  }
1059
1069
  /** Whether the ripple effect is disabled or not. */
1060
- get disableRipple() { return this._disableRipple; }
1061
- set disableRipple(value) { this._disableRipple = coerceBooleanProperty(value); }
1070
+ get disableRipple() {
1071
+ return this._disableRipple;
1072
+ }
1073
+ set disableRipple(value) {
1074
+ this._disableRipple = coerceBooleanProperty(value);
1075
+ }
1062
1076
  _itemSelected(event) {
1063
1077
  event.preventDefault();
1064
1078
  }
@@ -1180,24 +1194,34 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1180
1194
  /** Event emitted when the tab selection has changed. */
1181
1195
  this.selectedTabChange = new EventEmitter(true);
1182
1196
  this._groupId = nextId++;
1183
- this.animationDuration = defaultConfig && defaultConfig.animationDuration ?
1184
- defaultConfig.animationDuration : '500ms';
1185
- this.disablePagination = defaultConfig && defaultConfig.disablePagination != null ?
1186
- defaultConfig.disablePagination : false;
1187
- this.dynamicHeight = defaultConfig && defaultConfig.dynamicHeight != null ?
1188
- defaultConfig.dynamicHeight : false;
1197
+ this.animationDuration =
1198
+ defaultConfig && defaultConfig.animationDuration ? defaultConfig.animationDuration : '500ms';
1199
+ this.disablePagination =
1200
+ defaultConfig && defaultConfig.disablePagination != null
1201
+ ? defaultConfig.disablePagination
1202
+ : false;
1203
+ this.dynamicHeight =
1204
+ defaultConfig && defaultConfig.dynamicHeight != null ? defaultConfig.dynamicHeight : false;
1189
1205
  this.contentTabIndex = (_a = defaultConfig === null || defaultConfig === void 0 ? void 0 : defaultConfig.contentTabIndex) !== null && _a !== void 0 ? _a : null;
1190
1206
  }
1191
1207
  /** Whether the tab group should grow to the size of the active tab. */
1192
- get dynamicHeight() { return this._dynamicHeight; }
1193
- set dynamicHeight(value) { this._dynamicHeight = coerceBooleanProperty(value); }
1208
+ get dynamicHeight() {
1209
+ return this._dynamicHeight;
1210
+ }
1211
+ set dynamicHeight(value) {
1212
+ this._dynamicHeight = coerceBooleanProperty(value);
1213
+ }
1194
1214
  /** The index of the active tab. */
1195
- get selectedIndex() { return this._selectedIndex; }
1215
+ get selectedIndex() {
1216
+ return this._selectedIndex;
1217
+ }
1196
1218
  set selectedIndex(value) {
1197
1219
  this._indexToSelect = coerceNumberProperty(value, null);
1198
1220
  }
1199
1221
  /** Duration for the tab animation. Will be normalized to milliseconds if no units are set. */
1200
- get animationDuration() { return this._animationDuration; }
1222
+ get animationDuration() {
1223
+ return this._animationDuration;
1224
+ }
1201
1225
  set animationDuration(value) {
1202
1226
  this._animationDuration = /^\d+$/.test(value) ? value + 'ms' : value;
1203
1227
  }
@@ -1207,12 +1231,16 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1207
1231
  * The `tabindex` will be removed automatically for inactive tabs.
1208
1232
  * Read more at https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-2/tabs.html
1209
1233
  */
1210
- get contentTabIndex() { return this._contentTabIndex; }
1234
+ get contentTabIndex() {
1235
+ return this._contentTabIndex;
1236
+ }
1211
1237
  set contentTabIndex(value) {
1212
1238
  this._contentTabIndex = coerceNumberProperty(value, null);
1213
1239
  }
1214
1240
  /** Background color of the tab group. */
1215
- get backgroundColor() { return this._backgroundColor; }
1241
+ get backgroundColor() {
1242
+ return this._backgroundColor;
1243
+ }
1216
1244
  set backgroundColor(value) {
1217
1245
  const nativeElement = this._elementRef.nativeElement;
1218
1246
  nativeElement.classList.remove(`mat-background-${this.backgroundColor}`);
@@ -1230,7 +1258,7 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1230
1258
  ngAfterContentChecked() {
1231
1259
  // Don't clamp the `indexToSelect` immediately in the setter because it can happen that
1232
1260
  // the amount of tabs changes before the actual change detection runs.
1233
- const indexToSelect = this._indexToSelect = this._clampTabIndex(this._indexToSelect);
1261
+ const indexToSelect = (this._indexToSelect = this._clampTabIndex(this._indexToSelect));
1234
1262
  // If there is a change in selected index, emit a change event. Should not trigger if
1235
1263
  // the selected index has not yet been initialized.
1236
1264
  if (this._selectedIndex != indexToSelect) {
@@ -1245,7 +1273,7 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1245
1273
  // Changing these values after change detection has run
1246
1274
  // since the checked content may contain references to them.
1247
1275
  Promise.resolve().then(() => {
1248
- this._tabs.forEach((tab, index) => tab.isActive = index === indexToSelect);
1276
+ this._tabs.forEach((tab, index) => (tab.isActive = index === indexToSelect));
1249
1277
  if (!isFirstRun) {
1250
1278
  this.selectedIndexChange.emit(indexToSelect);
1251
1279
  // Clear the min-height, this was needed during tab change to avoid
@@ -1297,9 +1325,7 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1297
1325
  // Since we use a query with `descendants: true` to pick up the tabs, we may end up catching
1298
1326
  // some that are inside of nested tab groups. We filter them out manually by checking that
1299
1327
  // the closest group to the tab is the current one.
1300
- this._allTabs.changes
1301
- .pipe(startWith(this._allTabs))
1302
- .subscribe((tabs) => {
1328
+ this._allTabs.changes.pipe(startWith(this._allTabs)).subscribe((tabs) => {
1303
1329
  this._tabs.reset(tabs.filter(tab => {
1304
1330
  return tab._closestTabGroup === this || !tab._closestTabGroup;
1305
1331
  }));
@@ -1331,7 +1357,7 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1331
1357
  this.focusChange.emit(this._createChangeEvent(index));
1332
1358
  }
1333
1359
  _createChangeEvent(index) {
1334
- const event = new MatTabChangeEvent;
1360
+ const event = new MatTabChangeEvent();
1335
1361
  event.index = index;
1336
1362
  if (this._tabs && this._tabs.length) {
1337
1363
  event.tab = this._tabs.toArray()[index];
@@ -1348,8 +1374,7 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1348
1374
  if (this._tabLabelSubscription) {
1349
1375
  this._tabLabelSubscription.unsubscribe();
1350
1376
  }
1351
- this._tabLabelSubscription = merge(...this._tabs.map(tab => tab._stateChanges))
1352
- .subscribe(() => this._changeDetectorRef.markForCheck());
1377
+ this._tabLabelSubscription = merge(...this._tabs.map(tab => tab._stateChanges)).subscribe(() => this._changeDetectorRef.markForCheck());
1353
1378
  }
1354
1379
  /** Clamps the given index to the bounds of 0 and the tabs length. */
1355
1380
  _clampTabIndex(index) {
@@ -1463,16 +1488,20 @@ class MatTabGroup extends _MatTabGroupBase {
1463
1488
  }
1464
1489
  }
1465
1490
  MatTabGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: MatTabGroup, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MAT_TABS_CONFIG, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1466
- MatTabGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-next.15", type: MatTabGroup, selector: "mat-tab-group", inputs: { color: "color", disableRipple: "disableRipple" }, host: { properties: { "class.mat-tab-group-dynamic-height": "dynamicHeight", "class.mat-tab-group-inverted-header": "headerPosition === \"below\"" }, classAttribute: "mat-tab-group" }, providers: [{
1491
+ MatTabGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-next.15", type: MatTabGroup, selector: "mat-tab-group", inputs: { color: "color", disableRipple: "disableRipple" }, host: { properties: { "class.mat-tab-group-dynamic-height": "dynamicHeight", "class.mat-tab-group-inverted-header": "headerPosition === \"below\"" }, classAttribute: "mat-tab-group" }, providers: [
1492
+ {
1467
1493
  provide: MAT_TAB_GROUP,
1468
- useExisting: MatTabGroup
1469
- }], queries: [{ propertyName: "_allTabs", predicate: MatTab, descendants: true }], viewQueries: [{ propertyName: "_tabBodyWrapper", first: true, predicate: ["tabBodyWrapper"], descendants: true }, { propertyName: "_tabHeader", first: true, predicate: ["tabHeader"], descendants: true }], exportAs: ["matTabGroup"], usesInheritance: true, ngImport: i0, template: "<mat-tab-header #tabHeader\n [selectedIndex]=\"selectedIndex || 0\"\n [disableRipple]=\"disableRipple\"\n [disablePagination]=\"disablePagination\"\n (indexFocused)=\"_focusChanged($event)\"\n (selectFocusedIndex)=\"selectedIndex = $event\">\n <div class=\"mat-tab-label mat-focus-indicator\" role=\"tab\" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n *ngFor=\"let tab of _tabs; let i = index\"\n [id]=\"_getTabLabelId(i)\"\n [attr.tabIndex]=\"_getTabIndex(tab, i)\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"_tabs.length\"\n [attr.aria-controls]=\"_getTabContentId(i)\"\n [attr.aria-selected]=\"selectedIndex == i\"\n [attr.aria-label]=\"tab.ariaLabel || null\"\n [attr.aria-labelledby]=\"(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null\"\n [class.mat-tab-label-active]=\"selectedIndex == i\"\n [disabled]=\"tab.disabled\"\n [matRippleDisabled]=\"tab.disabled || disableRipple\"\n (click)=\"_handleClick(tab, tabHeader, i)\"\n (cdkFocusChange)=\"_tabFocusChanged($event, i)\">\n\n\n <div class=\"mat-tab-label-content\">\n <!-- If there is a label template, use it. -->\n <ng-template [ngIf]=\"tab.templateLabel\">\n <ng-template [cdkPortalOutlet]=\"tab.templateLabel\"></ng-template>\n </ng-template>\n\n <!-- If there is not a label template, fall back to the text label. -->\n <ng-template [ngIf]=\"!tab.templateLabel\">{{tab.textLabel}}</ng-template>\n </div>\n </div>\n</mat-tab-header>\n\n<div\n class=\"mat-tab-body-wrapper\"\n [class._mat-animation-noopable]=\"_animationMode === 'NoopAnimations'\"\n #tabBodyWrapper>\n <mat-tab-body role=\"tabpanel\"\n *ngFor=\"let tab of _tabs; let i = index\"\n [id]=\"_getTabContentId(i)\"\n [attr.tabindex]=\"(contentTabIndex != null && selectedIndex === i) ? contentTabIndex : null\"\n [attr.aria-labelledby]=\"_getTabLabelId(i)\"\n [class.mat-tab-body-active]=\"selectedIndex === i\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin\"\n [animationDuration]=\"animationDuration\"\n (_onCentered)=\"_removeTabBodyWrapperHeight()\"\n (_onCentering)=\"_setTabBodyWrapperHeight($event)\">\n </mat-tab-body>\n</div>\n", styles: [".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-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}.cdk-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 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;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}\n"], components: [{ type: MatTabHeader, selector: "mat-tab-header", inputs: ["selectedIndex"], outputs: ["selectFocusedIndex", "indexFocused"] }, { type: MatTabBody, selector: "mat-tab-body" }], directives: [{ type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatTabLabelWrapper, selector: "[matTabLabelWrapper]", inputs: ["disabled"] }, { type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { type: i7.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
1494
+ useExisting: MatTabGroup,
1495
+ },
1496
+ ], queries: [{ propertyName: "_allTabs", predicate: MatTab, descendants: true }], viewQueries: [{ propertyName: "_tabBodyWrapper", first: true, predicate: ["tabBodyWrapper"], descendants: true }, { propertyName: "_tabHeader", first: true, predicate: ["tabHeader"], descendants: true }], exportAs: ["matTabGroup"], usesInheritance: true, ngImport: i0, template: "<mat-tab-header #tabHeader\n [selectedIndex]=\"selectedIndex || 0\"\n [disableRipple]=\"disableRipple\"\n [disablePagination]=\"disablePagination\"\n (indexFocused)=\"_focusChanged($event)\"\n (selectFocusedIndex)=\"selectedIndex = $event\">\n <div class=\"mat-tab-label mat-focus-indicator\" role=\"tab\" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n *ngFor=\"let tab of _tabs; let i = index\"\n [id]=\"_getTabLabelId(i)\"\n [attr.tabIndex]=\"_getTabIndex(tab, i)\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"_tabs.length\"\n [attr.aria-controls]=\"_getTabContentId(i)\"\n [attr.aria-selected]=\"selectedIndex == i\"\n [attr.aria-label]=\"tab.ariaLabel || null\"\n [attr.aria-labelledby]=\"(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null\"\n [class.mat-tab-label-active]=\"selectedIndex == i\"\n [disabled]=\"tab.disabled\"\n [matRippleDisabled]=\"tab.disabled || disableRipple\"\n (click)=\"_handleClick(tab, tabHeader, i)\"\n (cdkFocusChange)=\"_tabFocusChanged($event, i)\">\n\n\n <div class=\"mat-tab-label-content\">\n <!-- If there is a label template, use it. -->\n <ng-template [ngIf]=\"tab.templateLabel\">\n <ng-template [cdkPortalOutlet]=\"tab.templateLabel\"></ng-template>\n </ng-template>\n\n <!-- If there is not a label template, fall back to the text label. -->\n <ng-template [ngIf]=\"!tab.templateLabel\">{{tab.textLabel}}</ng-template>\n </div>\n </div>\n</mat-tab-header>\n\n<div\n class=\"mat-tab-body-wrapper\"\n [class._mat-animation-noopable]=\"_animationMode === 'NoopAnimations'\"\n #tabBodyWrapper>\n <mat-tab-body role=\"tabpanel\"\n *ngFor=\"let tab of _tabs; let i = index\"\n [id]=\"_getTabContentId(i)\"\n [attr.tabindex]=\"(contentTabIndex != null && selectedIndex === i) ? contentTabIndex : null\"\n [attr.aria-labelledby]=\"_getTabLabelId(i)\"\n [class.mat-tab-body-active]=\"selectedIndex === i\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin\"\n [animationDuration]=\"animationDuration\"\n (_onCentered)=\"_removeTabBodyWrapperHeight()\"\n (_onCentering)=\"_setTabBodyWrapperHeight($event)\">\n </mat-tab-body>\n</div>\n", styles: [".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-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}.cdk-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 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;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}\n"], components: [{ type: MatTabHeader, selector: "mat-tab-header", inputs: ["selectedIndex"], outputs: ["selectFocusedIndex", "indexFocused"] }, { type: MatTabBody, selector: "mat-tab-body" }], directives: [{ type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatTabLabelWrapper, selector: "[matTabLabelWrapper]", inputs: ["disabled"] }, { type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { type: i7.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
1470
1497
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: MatTabGroup, decorators: [{
1471
1498
  type: Component,
1472
- args: [{ selector: 'mat-tab-group', exportAs: 'matTabGroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, inputs: ['color', 'disableRipple'], providers: [{
1499
+ args: [{ selector: 'mat-tab-group', exportAs: 'matTabGroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, inputs: ['color', 'disableRipple'], providers: [
1500
+ {
1473
1501
  provide: MAT_TAB_GROUP,
1474
- useExisting: MatTabGroup
1475
- }], host: {
1502
+ useExisting: MatTabGroup,
1503
+ },
1504
+ ], host: {
1476
1505
  'class': 'mat-tab-group',
1477
1506
  '[class.mat-tab-group-dynamic-height]': 'dynamicHeight',
1478
1507
  '[class.mat-tab-group-inverted-header]': 'headerPosition === "below"',
@@ -1512,7 +1541,9 @@ class _MatTabNavBase extends MatPaginatedTabHeader {
1512
1541
  this.color = 'primary';
1513
1542
  }
1514
1543
  /** Background color of the tab nav. */
1515
- get backgroundColor() { return this._backgroundColor; }
1544
+ get backgroundColor() {
1545
+ return this._backgroundColor;
1546
+ }
1516
1547
  set backgroundColor(value) {
1517
1548
  const classList = this._elementRef.nativeElement.classList;
1518
1549
  classList.remove(`mat-background-${this.backgroundColor}`);
@@ -1522,8 +1553,12 @@ class _MatTabNavBase extends MatPaginatedTabHeader {
1522
1553
  this._backgroundColor = value;
1523
1554
  }
1524
1555
  /** Whether the ripple effect is disabled or not. */
1525
- get disableRipple() { return this._disableRipple; }
1526
- set disableRipple(value) { this._disableRipple = coerceBooleanProperty(value); }
1556
+ get disableRipple() {
1557
+ return this._disableRipple;
1558
+ }
1559
+ set disableRipple(value) {
1560
+ this._disableRipple = coerceBooleanProperty(value);
1561
+ }
1527
1562
  _itemSelected() {
1528
1563
  // noop
1529
1564
  }
@@ -1642,7 +1677,9 @@ class _MatTabLinkBase extends _MatTabLinkMixinBase {
1642
1677
  }
1643
1678
  }
1644
1679
  /** Whether the link is active. */
1645
- get active() { return this._isActive; }
1680
+ get active() {
1681
+ return this._isActive;
1682
+ }
1646
1683
  set active(value) {
1647
1684
  const newValue = coerceBooleanProperty(value);
1648
1685
  if (newValue !== this._isActive) {
@@ -1655,8 +1692,10 @@ class _MatTabLinkBase extends _MatTabLinkMixinBase {
1655
1692
  * @docs-private
1656
1693
  */
1657
1694
  get rippleDisabled() {
1658
- return this.disabled || this.disableRipple || this._tabNavBar.disableRipple ||
1659
- !!this.rippleConfig.disabled;
1695
+ return (this.disabled ||
1696
+ this.disableRipple ||
1697
+ this._tabNavBar.disableRipple ||
1698
+ !!this.rippleConfig.disabled);
1660
1699
  }
1661
1700
  /** Focuses the tab link. */
1662
1701
  focus() {
@@ -1725,8 +1764,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
1725
1764
  '[attr.tabIndex]': 'tabIndex',
1726
1765
  '[class.mat-tab-disabled]': 'disabled',
1727
1766
  '[class.mat-tab-label-active]': 'active',
1728
- '(focus)': '_handleFocus()'
1729
- }
1767
+ '(focus)': '_handleFocus()',
1768
+ },
1730
1769
  }]
1731
1770
  }], ctorParameters: function () {
1732
1771
  return [{ type: MatTabNav }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{