@angular/material 16.2.1 → 17.0.0-next.0

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 (757) hide show
  1. package/_index.scss +19 -63
  2. package/autocomplete/index.d.ts +41 -72
  3. package/autocomplete/testing/index.d.ts +5 -23
  4. package/button/_fab-theme.scss +12 -0
  5. package/card/_card-theme.scss +86 -44
  6. package/checkbox/_checkbox-theme.scss +78 -43
  7. package/checkbox/index.d.ts +22 -42
  8. package/checkbox/testing/index.d.ts +6 -12
  9. package/core/index.d.ts +17 -28
  10. package/core/style/_validation.scss +43 -0
  11. package/core/theming/_inspection.scss +229 -0
  12. package/core/theming/_theming.scss +110 -10
  13. package/core/tokens/m2/mat/_form-field.scss +34 -1
  14. package/core/tokens/m2/mat/_slider.scss +43 -0
  15. package/core/tokens/m2/mdc/_filled-text-field.scss +1 -1
  16. package/core/tokens/m2/mdc/_outlined-text-field.scss +1 -1
  17. package/core/tokens/m2/mdc/_slider.scss +154 -0
  18. package/dialog/index.d.ts +44 -86
  19. package/dialog/testing/index.d.ts +6 -18
  20. package/esm2022/autocomplete/autocomplete-origin.mjs +9 -17
  21. package/esm2022/autocomplete/autocomplete-trigger.mjs +32 -41
  22. package/esm2022/autocomplete/autocomplete.mjs +59 -72
  23. package/esm2022/autocomplete/testing/autocomplete-harness.mjs +20 -33
  24. package/esm2022/button/fab.mjs +8 -8
  25. package/esm2022/card/card.mjs +2 -2
  26. package/esm2022/checkbox/checkbox.mjs +72 -79
  27. package/esm2022/checkbox/testing/checkbox-harness.mjs +41 -36
  28. package/esm2022/core/datetime/native-date-adapter.mjs +14 -11
  29. package/esm2022/core/option/optgroup.mjs +19 -26
  30. package/esm2022/core/option/option.mjs +25 -35
  31. package/esm2022/core/version.mjs +1 -1
  32. package/esm2022/dialog/dialog-container.mjs +50 -75
  33. package/esm2022/dialog/dialog-ref.mjs +1 -1
  34. package/esm2022/dialog/dialog.mjs +16 -46
  35. package/esm2022/dialog/public-api.mjs +2 -2
  36. package/esm2022/dialog/testing/dialog-harness.mjs +13 -16
  37. package/esm2022/dialog/testing/dialog-opener.mjs +17 -27
  38. package/esm2022/dialog/testing/index.mjs +2 -2
  39. package/esm2022/form-field/form-field.mjs +3 -3
  40. package/esm2022/form-field/testing/error-harness.mjs +10 -12
  41. package/esm2022/form-field/testing/form-field-harness.mjs +45 -48
  42. package/esm2022/list/action-list.mjs +2 -2
  43. package/esm2022/list/list.mjs +2 -2
  44. package/esm2022/list/nav-list.mjs +2 -2
  45. package/esm2022/list/selection-list.mjs +2 -2
  46. package/esm2022/menu/menu-content.mjs +9 -16
  47. package/esm2022/menu/menu-trigger.mjs +14 -25
  48. package/esm2022/menu/menu.mjs +15 -29
  49. package/esm2022/menu/public-api.mjs +3 -3
  50. package/esm2022/menu/testing/menu-harness.mjs +29 -43
  51. package/esm2022/paginator/paginator.mjs +24 -38
  52. package/esm2022/paginator/testing/paginator-harness.mjs +25 -27
  53. package/esm2022/progress-bar/progress-bar.mjs +2 -2
  54. package/esm2022/progress-spinner/progress-spinner.mjs +2 -2
  55. package/esm2022/radio/radio.mjs +58 -83
  56. package/esm2022/radio/testing/radio-harness.mjs +31 -38
  57. package/esm2022/select/select.mjs +194 -212
  58. package/esm2022/select/testing/select-harness.mjs +18 -23
  59. package/esm2022/slide-toggle/slide-toggle.mjs +43 -53
  60. package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +33 -40
  61. package/esm2022/slider/slider.mjs +2 -2
  62. package/esm2022/snack-bar/snack-bar-container.mjs +17 -32
  63. package/esm2022/snack-bar/snack-bar-ref.mjs +1 -1
  64. package/esm2022/snack-bar/snack-bar.mjs +11 -25
  65. package/esm2022/snack-bar/testing/snack-bar-harness.mjs +18 -31
  66. package/esm2022/table/table-data-source.mjs +15 -18
  67. package/esm2022/table/testing/cell-harness.mjs +4 -4
  68. package/esm2022/table/testing/row-harness.mjs +4 -4
  69. package/esm2022/table/testing/table-harness.mjs +22 -24
  70. package/esm2022/tabs/public-api.mjs +7 -8
  71. package/esm2022/tabs/tab-body.mjs +13 -29
  72. package/esm2022/tabs/tab-group.mjs +55 -79
  73. package/esm2022/tabs/tab-header.mjs +13 -34
  74. package/esm2022/tabs/tab-label-wrapper.mjs +6 -18
  75. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +119 -168
  76. package/esm2022/tabs/tab.mjs +25 -37
  77. package/esm2022/tooltip/testing/tooltip-harness.mjs +21 -23
  78. package/esm2022/tooltip/tooltip.mjs +68 -101
  79. package/fesm2022/autocomplete/testing.mjs +20 -33
  80. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  81. package/fesm2022/autocomplete.mjs +97 -127
  82. package/fesm2022/autocomplete.mjs.map +1 -1
  83. package/fesm2022/button.mjs +8 -8
  84. package/fesm2022/button.mjs.map +1 -1
  85. package/fesm2022/card.mjs +2 -2
  86. package/fesm2022/card.mjs.map +1 -1
  87. package/fesm2022/checkbox/testing.mjs +41 -36
  88. package/fesm2022/checkbox/testing.mjs.map +1 -1
  89. package/fesm2022/checkbox.mjs +72 -79
  90. package/fesm2022/checkbox.mjs.map +1 -1
  91. package/fesm2022/core.mjs +49 -61
  92. package/fesm2022/core.mjs.map +1 -1
  93. package/fesm2022/dialog/testing.mjs +30 -43
  94. package/fesm2022/dialog/testing.mjs.map +1 -1
  95. package/fesm2022/dialog.mjs +65 -120
  96. package/fesm2022/dialog.mjs.map +1 -1
  97. package/fesm2022/form-field/testing.mjs +54 -59
  98. package/fesm2022/form-field/testing.mjs.map +1 -1
  99. package/fesm2022/form-field.mjs +2 -2
  100. package/fesm2022/form-field.mjs.map +1 -1
  101. package/fesm2022/list.mjs +8 -8
  102. package/fesm2022/list.mjs.map +1 -1
  103. package/fesm2022/menu/testing.mjs +30 -44
  104. package/fesm2022/menu/testing.mjs.map +1 -1
  105. package/fesm2022/menu.mjs +34 -66
  106. package/fesm2022/menu.mjs.map +1 -1
  107. package/fesm2022/paginator/testing.mjs +25 -27
  108. package/fesm2022/paginator/testing.mjs.map +1 -1
  109. package/fesm2022/paginator.mjs +24 -38
  110. package/fesm2022/paginator.mjs.map +1 -1
  111. package/fesm2022/progress-bar.mjs +2 -2
  112. package/fesm2022/progress-bar.mjs.map +1 -1
  113. package/fesm2022/progress-spinner.mjs +2 -2
  114. package/fesm2022/progress-spinner.mjs.map +1 -1
  115. package/fesm2022/radio/testing.mjs +31 -38
  116. package/fesm2022/radio/testing.mjs.map +1 -1
  117. package/fesm2022/radio.mjs +59 -84
  118. package/fesm2022/radio.mjs.map +1 -1
  119. package/fesm2022/select/testing.mjs +18 -23
  120. package/fesm2022/select/testing.mjs.map +1 -1
  121. package/fesm2022/select.mjs +196 -214
  122. package/fesm2022/select.mjs.map +1 -1
  123. package/fesm2022/slide-toggle/testing.mjs +33 -40
  124. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  125. package/fesm2022/slide-toggle.mjs +43 -53
  126. package/fesm2022/slide-toggle.mjs.map +1 -1
  127. package/fesm2022/slider.mjs +2 -2
  128. package/fesm2022/slider.mjs.map +1 -1
  129. package/fesm2022/snack-bar/testing.mjs +19 -32
  130. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  131. package/fesm2022/snack-bar.mjs +26 -55
  132. package/fesm2022/snack-bar.mjs.map +1 -1
  133. package/fesm2022/table/testing.mjs +28 -30
  134. package/fesm2022/table/testing.mjs.map +1 -1
  135. package/fesm2022/table.mjs +15 -18
  136. package/fesm2022/table.mjs.map +1 -1
  137. package/fesm2022/tabs.mjs +234 -368
  138. package/fesm2022/tabs.mjs.map +1 -1
  139. package/fesm2022/tooltip/testing.mjs +21 -23
  140. package/fesm2022/tooltip/testing.mjs.map +1 -1
  141. package/fesm2022/tooltip.mjs +69 -102
  142. package/fesm2022/tooltip.mjs.map +1 -1
  143. package/form-field/_form-field-focus-overlay.scss +13 -18
  144. package/form-field/_form-field-native-select.scss +30 -67
  145. package/form-field/_form-field-subscript.scss +4 -8
  146. package/form-field/_form-field-theme.scss +15 -48
  147. package/form-field/_mdc-text-field-structure-overrides.scss +20 -0
  148. package/form-field/testing/index.d.ts +14 -44
  149. package/list/_list-theme.scss +9 -0
  150. package/menu/index.d.ts +22 -44
  151. package/menu/testing/index.d.ts +6 -23
  152. package/package.json +7 -286
  153. package/paginator/index.d.ts +6 -22
  154. package/paginator/testing/index.d.ts +9 -22
  155. package/prebuilt-themes/deeppurple-amber.css +1 -1
  156. package/prebuilt-themes/indigo-pink.css +1 -1
  157. package/prebuilt-themes/pink-bluegrey.css +1 -1
  158. package/prebuilt-themes/purple-green.css +1 -1
  159. package/progress-bar/_progress-bar-theme.scss +9 -0
  160. package/progress-spinner/_progress-spinner-theme.scss +11 -0
  161. package/radio/index.d.ts +22 -45
  162. package/radio/testing/index.d.ts +7 -23
  163. package/schematics/migration.json +4 -4
  164. package/schematics/ng-add/index.js +2 -2
  165. package/schematics/ng-add/index.mjs +2 -2
  166. package/schematics/ng-generate/mdc-migration/index_bundled.js +2 -2
  167. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
  168. package/schematics/ng-update/index_bundled.js +4 -4
  169. package/schematics/ng-update/index_bundled.js.map +1 -1
  170. package/select/index.d.ts +47 -68
  171. package/select/testing/index.d.ts +9 -22
  172. package/slide-toggle/index.d.ts +17 -27
  173. package/slide-toggle/testing/index.d.ts +6 -13
  174. package/slider/_slider-theme.scss +64 -64
  175. package/snack-bar/_snack-bar-theme.scss +8 -0
  176. package/snack-bar/index.d.ts +40 -62
  177. package/snack-bar/testing/index.d.ts +5 -20
  178. package/table/index.d.ts +2 -31
  179. package/table/testing/index.d.ts +17 -34
  180. package/tabs/index.d.ts +60 -144
  181. package/tooltip/_tooltip-theme.scss +12 -3
  182. package/tooltip/index.d.ts +26 -49
  183. package/tooltip/testing/index.d.ts +7 -17
  184. package/_theming.scss +0 -43
  185. package/_token-theming.scss +0 -2
  186. package/autocomplete/_autocomplete-theme.import.scss +0 -1
  187. package/badge/_badge-legacy-index.scss +0 -3
  188. package/badge/_badge-theme.import.scss +0 -11
  189. package/bottom-sheet/_bottom-sheet-legacy-index.scss +0 -2
  190. package/bottom-sheet/_bottom-sheet-theme.import.scss +0 -10
  191. package/button/_button-base.import.scss +0 -4
  192. package/button/_button-theme.import.scss +0 -13
  193. package/button-toggle/_button-toggle-legacy-index.scss +0 -2
  194. package/button-toggle/_button-toggle-theme.import.scss +0 -15
  195. package/button-toggle/_button-toggle-variables.import.scss +0 -1
  196. package/card/_card-theme.import.scss +0 -3
  197. package/checkbox/_checkbox-theme.import.scss +0 -10
  198. package/chips/_chips-theme.import.scss +0 -4
  199. package/core/_core-legacy-index.scss +0 -16
  200. package/core/_core.import.scss +0 -60
  201. package/core/color/_all-color.import.scss +0 -53
  202. package/core/color/_color-legacy-index.scss +0 -1
  203. package/core/density/private/_all-density.import.scss +0 -15
  204. package/core/density/private/_compatibility.import.scss +0 -4
  205. package/core/density/private/_density-legacy-index.scss +0 -5
  206. package/core/focus-indicators/_focus-indicators-legacy-index.scss +0 -5
  207. package/core/focus-indicators/_focus-indicators.import.scss +0 -23
  208. package/core/mdc-helpers/_mdc-helpers.import.scss +0 -9
  209. package/core/option/_optgroup-theme.import.scss +0 -4
  210. package/core/option/_option-legacy-index.scss +0 -5
  211. package/core/option/_option-theme.import.scss +0 -4
  212. package/core/ripple/_ripple-legacy-index.scss +0 -3
  213. package/core/ripple/_ripple.import.scss +0 -20
  214. package/core/selection/pseudo-checkbox/_pseudo-checkbox-legacy-index.scss +0 -2
  215. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.import.scss +0 -17
  216. package/core/style/_button-common.import.scss +0 -4
  217. package/core/style/_checkbox-common.import.scss +0 -11
  218. package/core/style/_elevation.import.scss +0 -17
  219. package/core/style/_form-common.import.scss +0 -16
  220. package/core/style/_layout-common.import.scss +0 -1
  221. package/core/style/_list-common.import.scss +0 -2
  222. package/core/style/_menu-common.import.scss +0 -18
  223. package/core/style/_private.import.scss +0 -15
  224. package/core/style/_style-legacy-index.scss +0 -24
  225. package/core/style/_variables.import.scss +0 -8
  226. package/core/style/_vendor-prefixes.import.scss +0 -1
  227. package/core/theming/_all-theme.import.scss +0 -86
  228. package/core/theming/_palette.import.scss +0 -12
  229. package/core/theming/_theming-legacy-index.scss +0 -22
  230. package/core/theming/_theming.import.scss +0 -24
  231. package/core/typography/_all-typography.import.scss +0 -76
  232. package/core/typography/_typography-legacy-index.scss +0 -18
  233. package/core/typography/_typography-utils.import.scss +0 -9
  234. package/core/typography/_typography.import.scss +0 -14
  235. package/datepicker/_datepicker-legacy-index.scss +0 -9
  236. package/datepicker/_datepicker-theme.import.scss +0 -17
  237. package/dialog/_dialog-legacy-padding.import.scss +0 -1
  238. package/dialog/_dialog-theme.import.scss +0 -1
  239. package/dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  240. package/divider/_divider-legacy-index.scss +0 -3
  241. package/divider/_divider-offset.import.scss +0 -1
  242. package/divider/_divider-theme.import.scss +0 -6
  243. package/esm2022/legacy-autocomplete/autocomplete-module.mjs +0 -51
  244. package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +0 -28
  245. package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +0 -60
  246. package/esm2022/legacy-autocomplete/autocomplete.mjs +0 -40
  247. package/esm2022/legacy-autocomplete/index.mjs +0 -9
  248. package/esm2022/legacy-autocomplete/legacy-autocomplete_public_index.mjs +0 -5
  249. package/esm2022/legacy-autocomplete/public-api.mjs +0 -48
  250. package/esm2022/legacy-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  251. package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +0 -39
  252. package/esm2022/legacy-autocomplete/testing/index.mjs +0 -9
  253. package/esm2022/legacy-autocomplete/testing/public-api.mjs +0 -9
  254. package/esm2022/legacy-button/button-module.mjs +0 -29
  255. package/esm2022/legacy-button/button.mjs +0 -177
  256. package/esm2022/legacy-button/index.mjs +0 -9
  257. package/esm2022/legacy-button/legacy-button_public_index.mjs +0 -5
  258. package/esm2022/legacy-button/public-api.mjs +0 -10
  259. package/esm2022/legacy-button/testing/button-harness.mjs +0 -82
  260. package/esm2022/legacy-button/testing/index.mjs +0 -9
  261. package/esm2022/legacy-button/testing/public-api.mjs +0 -9
  262. package/esm2022/legacy-card/card-module.mjs +0 -87
  263. package/esm2022/legacy-card/card.mjs +0 -276
  264. package/esm2022/legacy-card/index.mjs +0 -9
  265. package/esm2022/legacy-card/legacy-card_public_index.mjs +0 -5
  266. package/esm2022/legacy-card/public-api.mjs +0 -10
  267. package/esm2022/legacy-card/testing/card-harness-filters.mjs +0 -9
  268. package/esm2022/legacy-card/testing/card-harness.mjs +0 -47
  269. package/esm2022/legacy-card/testing/index.mjs +0 -9
  270. package/esm2022/legacy-card/testing/public-api.mjs +0 -9
  271. package/esm2022/legacy-checkbox/checkbox-module.mjs +0 -31
  272. package/esm2022/legacy-checkbox/checkbox.mjs +0 -137
  273. package/esm2022/legacy-checkbox/index.mjs +0 -9
  274. package/esm2022/legacy-checkbox/legacy-checkbox_public_index.mjs +0 -5
  275. package/esm2022/legacy-checkbox/public-api.mjs +0 -36
  276. package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +0 -46
  277. package/esm2022/legacy-checkbox/testing/index.mjs +0 -9
  278. package/esm2022/legacy-checkbox/testing/public-api.mjs +0 -9
  279. package/esm2022/legacy-chips/chip-default-options.mjs +0 -15
  280. package/esm2022/legacy-chips/chip-input.mjs +0 -198
  281. package/esm2022/legacy-chips/chip-list.mjs +0 -718
  282. package/esm2022/legacy-chips/chip-text-control.mjs +0 -9
  283. package/esm2022/legacy-chips/chip.mjs +0 -445
  284. package/esm2022/legacy-chips/chips-module.mjs +0 -68
  285. package/esm2022/legacy-chips/index.mjs +0 -9
  286. package/esm2022/legacy-chips/legacy-chips_public_index.mjs +0 -5
  287. package/esm2022/legacy-chips/public-api.mjs +0 -13
  288. package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +0 -26
  289. package/esm2022/legacy-chips/testing/chip-harness-filters.mjs +0 -2
  290. package/esm2022/legacy-chips/testing/chip-harness.mjs +0 -95
  291. package/esm2022/legacy-chips/testing/chip-input-harness.mjs +0 -86
  292. package/esm2022/legacy-chips/testing/chip-list-harness.mjs +0 -90
  293. package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +0 -48
  294. package/esm2022/legacy-chips/testing/chip-option-harness.mjs +0 -49
  295. package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +0 -30
  296. package/esm2022/legacy-chips/testing/index.mjs +0 -9
  297. package/esm2022/legacy-chips/testing/public-api.mjs +0 -14
  298. package/esm2022/legacy-core/index.mjs +0 -9
  299. package/esm2022/legacy-core/legacy-core_public_index.mjs +0 -5
  300. package/esm2022/legacy-core/option/index.mjs +0 -69
  301. package/esm2022/legacy-core/option/optgroup.mjs +0 -30
  302. package/esm2022/legacy-core/option/option.mjs +0 -54
  303. package/esm2022/legacy-core/public-api.mjs +0 -170
  304. package/esm2022/legacy-core/testing/index.mjs +0 -9
  305. package/esm2022/legacy-core/testing/optgroup-harness-filters.mjs +0 -9
  306. package/esm2022/legacy-core/testing/optgroup-harness.mjs +0 -47
  307. package/esm2022/legacy-core/testing/option-harness-filters.mjs +0 -9
  308. package/esm2022/legacy-core/testing/option-harness.mjs +0 -58
  309. package/esm2022/legacy-core/testing/public-api.mjs +0 -12
  310. package/esm2022/legacy-dialog/dialog-animations.mjs +0 -17
  311. package/esm2022/legacy-dialog/dialog-config.mjs +0 -22
  312. package/esm2022/legacy-dialog/dialog-container.mjs +0 -85
  313. package/esm2022/legacy-dialog/dialog-content-directives.mjs +0 -209
  314. package/esm2022/legacy-dialog/dialog-module.mjs +0 -57
  315. package/esm2022/legacy-dialog/dialog-ref.mjs +0 -16
  316. package/esm2022/legacy-dialog/dialog.mjs +0 -106
  317. package/esm2022/legacy-dialog/index.mjs +0 -9
  318. package/esm2022/legacy-dialog/legacy-dialog_public_index.mjs +0 -5
  319. package/esm2022/legacy-dialog/public-api.mjs +0 -40
  320. package/esm2022/legacy-dialog/testing/dialog-harness.mjs +0 -36
  321. package/esm2022/legacy-dialog/testing/dialog-opener.mjs +0 -56
  322. package/esm2022/legacy-dialog/testing/index.mjs +0 -9
  323. package/esm2022/legacy-dialog/testing/public-api.mjs +0 -10
  324. package/esm2022/legacy-form-field/error.mjs +0 -46
  325. package/esm2022/legacy-form-field/form-field-module.mjs +0 -67
  326. package/esm2022/legacy-form-field/form-field.mjs +0 -530
  327. package/esm2022/legacy-form-field/hint.mjs +0 -56
  328. package/esm2022/legacy-form-field/index.mjs +0 -9
  329. package/esm2022/legacy-form-field/label.mjs +0 -25
  330. package/esm2022/legacy-form-field/legacy-form-field_public_index.mjs +0 -5
  331. package/esm2022/legacy-form-field/placeholder.mjs +0 -26
  332. package/esm2022/legacy-form-field/prefix.mjs +0 -27
  333. package/esm2022/legacy-form-field/public-api.mjs +0 -62
  334. package/esm2022/legacy-form-field/suffix.mjs +0 -27
  335. package/esm2022/legacy-form-field/testing/error-harness.mjs +0 -26
  336. package/esm2022/legacy-form-field/testing/form-field-harness.mjs +0 -73
  337. package/esm2022/legacy-form-field/testing/index.mjs +0 -9
  338. package/esm2022/legacy-form-field/testing/public-api.mjs +0 -19
  339. package/esm2022/legacy-input/index.mjs +0 -9
  340. package/esm2022/legacy-input/input-module.mjs +0 -45
  341. package/esm2022/legacy-input/input.mjs +0 -62
  342. package/esm2022/legacy-input/legacy-input_public_index.mjs +0 -5
  343. package/esm2022/legacy-input/public-api.mjs +0 -21
  344. package/esm2022/legacy-input/testing/index.mjs +0 -9
  345. package/esm2022/legacy-input/testing/public-api.mjs +0 -24
  346. package/esm2022/legacy-list/index.mjs +0 -9
  347. package/esm2022/legacy-list/legacy-list_public_index.mjs +0 -5
  348. package/esm2022/legacy-list/list-module.mjs +0 -75
  349. package/esm2022/legacy-list/list.mjs +0 -223
  350. package/esm2022/legacy-list/public-api.mjs +0 -22
  351. package/esm2022/legacy-list/selection-list.mjs +0 -619
  352. package/esm2022/legacy-list/testing/action-list-harness.mjs +0 -67
  353. package/esm2022/legacy-list/testing/index.mjs +0 -9
  354. package/esm2022/legacy-list/testing/list-harness-base.mjs +0 -97
  355. package/esm2022/legacy-list/testing/list-harness-filters.mjs +0 -9
  356. package/esm2022/legacy-list/testing/list-harness.mjs +0 -51
  357. package/esm2022/legacy-list/testing/list-item-harness-base.mjs +0 -74
  358. package/esm2022/legacy-list/testing/nav-list-harness.mjs +0 -71
  359. package/esm2022/legacy-list/testing/public-api.mjs +0 -12
  360. package/esm2022/legacy-list/testing/selection-list-harness.mjs +0 -129
  361. package/esm2022/legacy-menu/index.mjs +0 -9
  362. package/esm2022/legacy-menu/legacy-menu_public_index.mjs +0 -5
  363. package/esm2022/legacy-menu/menu-content.mjs +0 -27
  364. package/esm2022/legacy-menu/menu-item.mjs +0 -41
  365. package/esm2022/legacy-menu/menu-module.mjs +0 -50
  366. package/esm2022/legacy-menu/menu-trigger.mjs +0 -31
  367. package/esm2022/legacy-menu/menu.mjs +0 -40
  368. package/esm2022/legacy-menu/public-api.mjs +0 -49
  369. package/esm2022/legacy-menu/testing/index.mjs +0 -9
  370. package/esm2022/legacy-menu/testing/menu-harness.mjs +0 -56
  371. package/esm2022/legacy-menu/testing/public-api.mjs +0 -9
  372. package/esm2022/legacy-paginator/index.mjs +0 -9
  373. package/esm2022/legacy-paginator/legacy-paginator_public_index.mjs +0 -5
  374. package/esm2022/legacy-paginator/paginator-module.mjs +0 -49
  375. package/esm2022/legacy-paginator/paginator.mjs +0 -53
  376. package/esm2022/legacy-paginator/public-api.mjs +0 -36
  377. package/esm2022/legacy-paginator/testing/index.mjs +0 -9
  378. package/esm2022/legacy-paginator/testing/paginator-harness.mjs +0 -41
  379. package/esm2022/legacy-paginator/testing/public-api.mjs +0 -15
  380. package/esm2022/legacy-progress-bar/index.mjs +0 -9
  381. package/esm2022/legacy-progress-bar/legacy-progress-bar_public_index.mjs +0 -5
  382. package/esm2022/legacy-progress-bar/progress-bar-module.mjs +0 -30
  383. package/esm2022/legacy-progress-bar/progress-bar.mjs +0 -190
  384. package/esm2022/legacy-progress-bar/public-api.mjs +0 -11
  385. package/esm2022/legacy-progress-bar/testing/index.mjs +0 -9
  386. package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +0 -38
  387. package/esm2022/legacy-progress-bar/testing/public-api.mjs +0 -9
  388. package/esm2022/legacy-progress-spinner/index.mjs +0 -9
  389. package/esm2022/legacy-progress-spinner/legacy-progress-spinner_public_index.mjs +0 -5
  390. package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +0 -30
  391. package/esm2022/legacy-progress-spinner/progress-spinner.mjs +0 -286
  392. package/esm2022/legacy-progress-spinner/public-api.mjs +0 -19
  393. package/esm2022/legacy-progress-spinner/testing/index.mjs +0 -9
  394. package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +0 -39
  395. package/esm2022/legacy-progress-spinner/testing/public-api.mjs +0 -9
  396. package/esm2022/legacy-radio/index.mjs +0 -9
  397. package/esm2022/legacy-radio/legacy-radio_public_index.mjs +0 -5
  398. package/esm2022/legacy-radio/public-api.mjs +0 -31
  399. package/esm2022/legacy-radio/radio-module.mjs +0 -29
  400. package/esm2022/legacy-radio/radio.mjs +0 -112
  401. package/esm2022/legacy-radio/testing/index.mjs +0 -9
  402. package/esm2022/legacy-radio/testing/public-api.mjs +0 -9
  403. package/esm2022/legacy-radio/testing/radio-harness.mjs +0 -58
  404. package/esm2022/legacy-select/index.mjs +0 -9
  405. package/esm2022/legacy-select/legacy-select_public_index.mjs +0 -5
  406. package/esm2022/legacy-select/public-api.mjs +0 -37
  407. package/esm2022/legacy-select/select-animations.mjs +0 -56
  408. package/esm2022/legacy-select/select-errors.mjs +0 -39
  409. package/esm2022/legacy-select/select-module.mjs +0 -51
  410. package/esm2022/legacy-select/select.mjs +0 -447
  411. package/esm2022/legacy-select/testing/index.mjs +0 -9
  412. package/esm2022/legacy-select/testing/public-api.mjs +0 -9
  413. package/esm2022/legacy-select/testing/select-harness-filters.mjs +0 -9
  414. package/esm2022/legacy-select/testing/select-harness.mjs +0 -36
  415. package/esm2022/legacy-slide-toggle/index.mjs +0 -9
  416. package/esm2022/legacy-slide-toggle/legacy-slide-toggle_public_index.mjs +0 -5
  417. package/esm2022/legacy-slide-toggle/public-api.mjs +0 -32
  418. package/esm2022/legacy-slide-toggle/slide-toggle-config.mjs +0 -18
  419. package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +0 -42
  420. package/esm2022/legacy-slide-toggle/slide-toggle.mjs +0 -137
  421. package/esm2022/legacy-slide-toggle/testing/index.mjs +0 -9
  422. package/esm2022/legacy-slide-toggle/testing/public-api.mjs +0 -15
  423. package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +0 -50
  424. package/esm2022/legacy-slider/index.mjs +0 -9
  425. package/esm2022/legacy-slider/legacy-slider_public_index.mjs +0 -5
  426. package/esm2022/legacy-slider/public-api.mjs +0 -10
  427. package/esm2022/legacy-slider/slider-module.mjs +0 -30
  428. package/esm2022/legacy-slider/slider.mjs +0 -847
  429. package/esm2022/legacy-slider/testing/index.mjs +0 -9
  430. package/esm2022/legacy-slider/testing/public-api.mjs +0 -9
  431. package/esm2022/legacy-slider/testing/slider-harness-filters.mjs +0 -2
  432. package/esm2022/legacy-slider/testing/slider-harness.mjs +0 -122
  433. package/esm2022/legacy-snack-bar/index.mjs +0 -9
  434. package/esm2022/legacy-snack-bar/legacy-snack-bar_public_index.mjs +0 -5
  435. package/esm2022/legacy-snack-bar/public-api.mjs +0 -53
  436. package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +0 -45
  437. package/esm2022/legacy-snack-bar/snack-bar-container.mjs +0 -39
  438. package/esm2022/legacy-snack-bar/snack-bar-module.mjs +0 -34
  439. package/esm2022/legacy-snack-bar/snack-bar.mjs +0 -47
  440. package/esm2022/legacy-snack-bar/testing/index.mjs +0 -9
  441. package/esm2022/legacy-snack-bar/testing/public-api.mjs +0 -9
  442. package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +0 -46
  443. package/esm2022/legacy-table/cell.mjs +0 -163
  444. package/esm2022/legacy-table/index.mjs +0 -9
  445. package/esm2022/legacy-table/legacy-table_public_index.mjs +0 -5
  446. package/esm2022/legacy-table/public-api.mjs +0 -20
  447. package/esm2022/legacy-table/row.mjs +0 -165
  448. package/esm2022/legacy-table/table-data-source.mjs +0 -27
  449. package/esm2022/legacy-table/table-module.mjs +0 -98
  450. package/esm2022/legacy-table/table.mjs +0 -72
  451. package/esm2022/legacy-table/testing/cell-harness.mjs +0 -62
  452. package/esm2022/legacy-table/testing/index.mjs +0 -9
  453. package/esm2022/legacy-table/testing/public-api.mjs +0 -27
  454. package/esm2022/legacy-table/testing/row-harness.mjs +0 -76
  455. package/esm2022/legacy-table/testing/table-harness.mjs +0 -34
  456. package/esm2022/legacy-table/text-column.mjs +0 -65
  457. package/esm2022/legacy-tabs/index.mjs +0 -9
  458. package/esm2022/legacy-tabs/ink-bar.mjs +0 -73
  459. package/esm2022/legacy-tabs/legacy-tabs_public_index.mjs +0 -5
  460. package/esm2022/legacy-tabs/public-api.mjs +0 -94
  461. package/esm2022/legacy-tabs/tab-body.mjs +0 -64
  462. package/esm2022/legacy-tabs/tab-content.mjs +0 -27
  463. package/esm2022/legacy-tabs/tab-group.mjs +0 -72
  464. package/esm2022/legacy-tabs/tab-header.mjs +0 -75
  465. package/esm2022/legacy-tabs/tab-label-wrapper.mjs +0 -30
  466. package/esm2022/legacy-tabs/tab-label.mjs +0 -27
  467. package/esm2022/legacy-tabs/tab-nav-bar/index.mjs +0 -9
  468. package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -164
  469. package/esm2022/legacy-tabs/tab.mjs +0 -46
  470. package/esm2022/legacy-tabs/tabs-module.mjs +0 -99
  471. package/esm2022/legacy-tabs/testing/index.mjs +0 -9
  472. package/esm2022/legacy-tabs/testing/public-api.mjs +0 -12
  473. package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +0 -61
  474. package/esm2022/legacy-tabs/testing/tab-harness-filters.mjs +0 -2
  475. package/esm2022/legacy-tabs/testing/tab-harness.mjs +0 -71
  476. package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +0 -45
  477. package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +0 -70
  478. package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +0 -31
  479. package/esm2022/legacy-tooltip/index.mjs +0 -9
  480. package/esm2022/legacy-tooltip/legacy-tooltip_public_index.mjs +0 -5
  481. package/esm2022/legacy-tooltip/public-api.mjs +0 -47
  482. package/esm2022/legacy-tooltip/testing/index.mjs +0 -9
  483. package/esm2022/legacy-tooltip/testing/public-api.mjs +0 -9
  484. package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +0 -35
  485. package/esm2022/legacy-tooltip/tooltip-animations.mjs +0 -28
  486. package/esm2022/legacy-tooltip/tooltip-module.mjs +0 -35
  487. package/esm2022/legacy-tooltip/tooltip.mjs +0 -108
  488. package/expansion/_expansion-legacy-index.scss +0 -2
  489. package/expansion/_expansion-theme.import.scss +0 -12
  490. package/expansion/_expansion-variables.import.scss +0 -1
  491. package/fesm2022/legacy-autocomplete/testing.mjs +0 -35
  492. package/fesm2022/legacy-autocomplete/testing.mjs.map +0 -1
  493. package/fesm2022/legacy-autocomplete.mjs +0 -146
  494. package/fesm2022/legacy-autocomplete.mjs.map +0 -1
  495. package/fesm2022/legacy-button/testing.mjs +0 -78
  496. package/fesm2022/legacy-button/testing.mjs.map +0 -1
  497. package/fesm2022/legacy-button.mjs +0 -194
  498. package/fesm2022/legacy-button.mjs.map +0 -1
  499. package/fesm2022/legacy-card/testing.mjs +0 -43
  500. package/fesm2022/legacy-card/testing.mjs.map +0 -1
  501. package/fesm2022/legacy-card.mjs +0 -353
  502. package/fesm2022/legacy-card.mjs.map +0 -1
  503. package/fesm2022/legacy-checkbox/testing.mjs +0 -42
  504. package/fesm2022/legacy-checkbox/testing.mjs.map +0 -1
  505. package/fesm2022/legacy-checkbox.mjs +0 -157
  506. package/fesm2022/legacy-checkbox.mjs.map +0 -1
  507. package/fesm2022/legacy-chips/testing.mjs +0 -365
  508. package/fesm2022/legacy-chips/testing.mjs.map +0 -1
  509. package/fesm2022/legacy-chips.mjs +0 -1399
  510. package/fesm2022/legacy-chips.mjs.map +0 -1
  511. package/fesm2022/legacy-core/testing.mjs +0 -92
  512. package/fesm2022/legacy-core/testing.mjs.map +0 -1
  513. package/fesm2022/legacy-core.mjs +0 -92
  514. package/fesm2022/legacy-core.mjs.map +0 -1
  515. package/fesm2022/legacy-dialog/testing.mjs +0 -80
  516. package/fesm2022/legacy-dialog/testing.mjs.map +0 -1
  517. package/fesm2022/legacy-dialog.mjs +0 -449
  518. package/fesm2022/legacy-dialog.mjs.map +0 -1
  519. package/fesm2022/legacy-form-field/testing.mjs +0 -87
  520. package/fesm2022/legacy-form-field/testing.mjs.map +0 -1
  521. package/fesm2022/legacy-form-field.mjs +0 -726
  522. package/fesm2022/legacy-form-field.mjs.map +0 -1
  523. package/fesm2022/legacy-input/testing.mjs +0 -2
  524. package/fesm2022/legacy-input/testing.mjs.map +0 -1
  525. package/fesm2022/legacy-input.mjs +0 -97
  526. package/fesm2022/legacy-input.mjs.map +0 -1
  527. package/fesm2022/legacy-list/testing.mjs +0 -436
  528. package/fesm2022/legacy-list/testing.mjs.map +0 -1
  529. package/fesm2022/legacy-list.mjs +0 -891
  530. package/fesm2022/legacy-list.mjs.map +0 -1
  531. package/fesm2022/legacy-menu/testing.mjs +0 -52
  532. package/fesm2022/legacy-menu/testing.mjs.map +0 -1
  533. package/fesm2022/legacy-menu.mjs +0 -145
  534. package/fesm2022/legacy-menu.mjs.map +0 -1
  535. package/fesm2022/legacy-paginator/testing.mjs +0 -38
  536. package/fesm2022/legacy-paginator/testing.mjs.map +0 -1
  537. package/fesm2022/legacy-paginator.mjs +0 -92
  538. package/fesm2022/legacy-paginator.mjs.map +0 -1
  539. package/fesm2022/legacy-progress-bar/testing.mjs +0 -34
  540. package/fesm2022/legacy-progress-bar/testing.mjs.map +0 -1
  541. package/fesm2022/legacy-progress-bar.mjs +0 -210
  542. package/fesm2022/legacy-progress-bar.mjs.map +0 -1
  543. package/fesm2022/legacy-progress-spinner/testing.mjs +0 -35
  544. package/fesm2022/legacy-progress-spinner/testing.mjs.map +0 -1
  545. package/fesm2022/legacy-progress-spinner.mjs +0 -312
  546. package/fesm2022/legacy-progress-spinner.mjs.map +0 -1
  547. package/fesm2022/legacy-radio/testing.mjs +0 -54
  548. package/fesm2022/legacy-radio/testing.mjs.map +0 -1
  549. package/fesm2022/legacy-radio.mjs +0 -130
  550. package/fesm2022/legacy-radio.mjs.map +0 -1
  551. package/fesm2022/legacy-select/testing.mjs +0 -32
  552. package/fesm2022/legacy-select/testing.mjs.map +0 -1
  553. package/fesm2022/legacy-select.mjs +0 -541
  554. package/fesm2022/legacy-select.mjs.map +0 -1
  555. package/fesm2022/legacy-slide-toggle/testing.mjs +0 -47
  556. package/fesm2022/legacy-slide-toggle/testing.mjs.map +0 -1
  557. package/fesm2022/legacy-slide-toggle.mjs +0 -177
  558. package/fesm2022/legacy-slide-toggle.mjs.map +0 -1
  559. package/fesm2022/legacy-slider/testing.mjs +0 -118
  560. package/fesm2022/legacy-slider/testing.mjs.map +0 -1
  561. package/fesm2022/legacy-slider.mjs +0 -863
  562. package/fesm2022/legacy-slider.mjs.map +0 -1
  563. package/fesm2022/legacy-snack-bar/testing.mjs +0 -42
  564. package/fesm2022/legacy-snack-bar/testing.mjs.map +0 -1
  565. package/fesm2022/legacy-snack-bar.mjs +0 -128
  566. package/fesm2022/legacy-snack-bar.mjs.map +0 -1
  567. package/fesm2022/legacy-table/testing.mjs +0 -150
  568. package/fesm2022/legacy-table/testing.mjs.map +0 -1
  569. package/fesm2022/legacy-table.mjs +0 -538
  570. package/fesm2022/legacy-table.mjs.map +0 -1
  571. package/fesm2022/legacy-tabs/testing.mjs +0 -239
  572. package/fesm2022/legacy-tabs/testing.mjs.map +0 -1
  573. package/fesm2022/legacy-tabs.mjs +0 -549
  574. package/fesm2022/legacy-tabs.mjs.map +0 -1
  575. package/fesm2022/legacy-tooltip/testing.mjs +0 -31
  576. package/fesm2022/legacy-tooltip/testing.mjs.map +0 -1
  577. package/fesm2022/legacy-tooltip.mjs +0 -148
  578. package/fesm2022/legacy-tooltip.mjs.map +0 -1
  579. package/form-field/_form-field-theme.import.scss +0 -29
  580. package/form-field/_mdc-text-field-theme-variable-refresh.scss +0 -88
  581. package/grid-list/_grid-list-legacy-index.scss +0 -2
  582. package/grid-list/_grid-list-theme.import.scss +0 -10
  583. package/icon/_icon-legacy-index.scss +0 -2
  584. package/icon/_icon-theme.import.scss +0 -5
  585. package/input/_input-theme.import.scss +0 -1
  586. package/legacy-autocomplete/_autocomplete-legacy-index.scss +0 -2
  587. package/legacy-autocomplete/_autocomplete-theme.import.scss +0 -7
  588. package/legacy-autocomplete/_autocomplete-theme.scss +0 -57
  589. package/legacy-autocomplete/index.d.ts +0 -115
  590. package/legacy-autocomplete/testing/index.d.ts +0 -41
  591. package/legacy-button/_button-base.import.scss +0 -21
  592. package/legacy-button/_button-base.scss +0 -114
  593. package/legacy-button/_button-legacy-index.scss +0 -22
  594. package/legacy-button/_button-theme.import.scss +0 -11
  595. package/legacy-button/_button-theme.scss +0 -223
  596. package/legacy-button/index.d.ts +0 -87
  597. package/legacy-button/testing/index.d.ts +0 -49
  598. package/legacy-card/_card-legacy-index.scss +0 -2
  599. package/legacy-card/_card-theme.import.scss +0 -10
  600. package/legacy-card/_card-theme.scss +0 -78
  601. package/legacy-card/index.d.ts +0 -201
  602. package/legacy-card/testing/index.d.ts +0 -56
  603. package/legacy-checkbox/_checkbox-legacy-index.scss +0 -2
  604. package/legacy-checkbox/_checkbox-theme.import.scss +0 -7
  605. package/legacy-checkbox/_checkbox-theme.scss +0 -138
  606. package/legacy-checkbox/index.d.ts +0 -116
  607. package/legacy-checkbox/testing/index.d.ts +0 -30
  608. package/legacy-chips/_chips-legacy-index.scss +0 -7
  609. package/legacy-chips/_chips-theme.import.scss +0 -14
  610. package/legacy-chips/_chips-theme.scss +0 -133
  611. package/legacy-chips/index.d.ts +0 -705
  612. package/legacy-chips/testing/index.d.ts +0 -316
  613. package/legacy-core/_core-theme.scss +0 -65
  614. package/legacy-core/_core.import.scss +0 -5
  615. package/legacy-core/_core.scss +0 -18
  616. package/legacy-core/color/_all-color.import.scss +0 -4
  617. package/legacy-core/color/_all-color.scss +0 -28
  618. package/legacy-core/density/private/_all-density.import.scss +0 -3
  619. package/legacy-core/density/private/_all-density.scss +0 -46
  620. package/legacy-core/density/private/_compatibility.import.scss +0 -4
  621. package/legacy-core/density/private/_compatibility.scss +0 -74
  622. package/legacy-core/index.d.ts +0 -218
  623. package/legacy-core/option/_optgroup-theme.import.scss +0 -27
  624. package/legacy-core/option/_optgroup-theme.scss +0 -52
  625. package/legacy-core/option/_option-legacy-index.scss +0 -5
  626. package/legacy-core/option/_option-theme.import.scss +0 -27
  627. package/legacy-core/option/_option-theme.scss +0 -86
  628. package/legacy-core/testing/index.d.ts +0 -80
  629. package/legacy-core/theming/_all-theme.import.scss +0 -3
  630. package/legacy-core/theming/_all-theme.scss +0 -89
  631. package/legacy-core/typography/_all-typography.import.scss +0 -4
  632. package/legacy-core/typography/_all-typography.scss +0 -105
  633. package/legacy-dialog/_dialog-legacy-index.scss +0 -2
  634. package/legacy-dialog/_dialog-theme.import.scss +0 -10
  635. package/legacy-dialog/_dialog-theme.scss +0 -53
  636. package/legacy-dialog/index.d.ts +0 -271
  637. package/legacy-dialog/testing/index.d.ts +0 -63
  638. package/legacy-form-field/_form-field-fill-theme.import.scss +0 -13
  639. package/legacy-form-field/_form-field-fill-theme.scss +0 -136
  640. package/legacy-form-field/_form-field-legacy-index.scss +0 -29
  641. package/legacy-form-field/_form-field-legacy-theme.import.scss +0 -14
  642. package/legacy-form-field/_form-field-legacy-theme.scss +0 -204
  643. package/legacy-form-field/_form-field-outline-theme.import.scss +0 -13
  644. package/legacy-form-field/_form-field-outline-theme.scss +0 -167
  645. package/legacy-form-field/_form-field-standard-theme.import.scss +0 -11
  646. package/legacy-form-field/_form-field-standard-theme.scss +0 -55
  647. package/legacy-form-field/_form-field-theme.import.scss +0 -29
  648. package/legacy-form-field/_form-field-theme.scss +0 -278
  649. package/legacy-form-field/index.d.ts +0 -370
  650. package/legacy-form-field/testing/index.d.ts +0 -76
  651. package/legacy-input/_input-legacy-index.scss +0 -2
  652. package/legacy-input/_input-theme.import.scss +0 -11
  653. package/legacy-input/_input-theme.scss +0 -115
  654. package/legacy-input/index.d.ts +0 -41
  655. package/legacy-input/testing/index.d.ts +0 -20
  656. package/legacy-list/_list-legacy-index.scss +0 -2
  657. package/legacy-list/_list-theme.import.scss +0 -10
  658. package/legacy-list/_list-theme.scss +0 -124
  659. package/legacy-list/index.d.ts +0 -396
  660. package/legacy-list/testing/index.d.ts +0 -419
  661. package/legacy-menu/_menu-legacy-index.scss +0 -2
  662. package/legacy-menu/_menu-theme.import.scss +0 -10
  663. package/legacy-menu/_menu-theme.scss +0 -84
  664. package/legacy-menu/index.d.ts +0 -127
  665. package/legacy-menu/testing/index.d.ts +0 -47
  666. package/legacy-paginator/_paginator-legacy-index.scss +0 -2
  667. package/legacy-paginator/_paginator-theme.import.scss +0 -11
  668. package/legacy-paginator/_paginator-theme.scss +0 -92
  669. package/legacy-paginator/_paginator-variables.import.scss +0 -1
  670. package/legacy-paginator/_paginator-variables.scss +0 -13
  671. package/legacy-paginator/index.d.ts +0 -87
  672. package/legacy-paginator/testing/index.d.ts +0 -36
  673. package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +0 -1
  674. package/legacy-prebuilt-themes/legacy-indigo-pink.css +0 -1
  675. package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +0 -1
  676. package/legacy-prebuilt-themes/legacy-purple-green.css +0 -1
  677. package/legacy-progress-bar/_progress-bar-legacy-index.scss +0 -2
  678. package/legacy-progress-bar/_progress-bar-theme.import.scss +0 -6
  679. package/legacy-progress-bar/_progress-bar-theme.scss +0 -93
  680. package/legacy-progress-bar/index.d.ts +0 -131
  681. package/legacy-progress-bar/testing/index.d.ts +0 -28
  682. package/legacy-progress-spinner/_progress-spinner-legacy-index.scss +0 -3
  683. package/legacy-progress-spinner/_progress-spinner-theme.import.scss +0 -7
  684. package/legacy-progress-spinner/_progress-spinner-theme.scss +0 -52
  685. package/legacy-progress-spinner/index.d.ts +0 -129
  686. package/legacy-progress-spinner/testing/index.d.ts +0 -29
  687. package/legacy-radio/_radio-legacy-index.scss +0 -2
  688. package/legacy-radio/_radio-theme.import.scss +0 -8
  689. package/legacy-radio/_radio-theme.scss +0 -104
  690. package/legacy-radio/index.d.ts +0 -75
  691. package/legacy-radio/testing/index.d.ts +0 -50
  692. package/legacy-select/_select-legacy-index.scss +0 -2
  693. package/legacy-select/_select-theme.import.scss +0 -11
  694. package/legacy-select/_select-theme.scss +0 -107
  695. package/legacy-select/index.d.ts +0 -230
  696. package/legacy-select/testing/index.d.ts +0 -38
  697. package/legacy-slide-toggle/_slide-toggle-legacy-index.scss +0 -3
  698. package/legacy-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  699. package/legacy-slide-toggle/_slide-toggle-theme.scss +0 -111
  700. package/legacy-slide-toggle/index.d.ts +0 -113
  701. package/legacy-slide-toggle/testing/index.d.ts +0 -34
  702. package/legacy-slider/_slider-legacy-index.scss +0 -3
  703. package/legacy-slider/_slider-theme.import.scss +0 -8
  704. package/legacy-slider/_slider-theme.scss +0 -210
  705. package/legacy-slider/index.d.ts +0 -303
  706. package/legacy-slider/testing/index.d.ts +0 -68
  707. package/legacy-snack-bar/_snack-bar-legacy-index.scss +0 -2
  708. package/legacy-snack-bar/_snack-bar-theme.import.scss +0 -11
  709. package/legacy-snack-bar/_snack-bar-theme.scss +0 -72
  710. package/legacy-snack-bar/index.d.ts +0 -118
  711. package/legacy-snack-bar/testing/index.d.ts +0 -28
  712. package/legacy-table/_table-legacy-index.scss +0 -3
  713. package/legacy-table/_table-theme.import.scss +0 -8
  714. package/legacy-table/_table-theme.scss +0 -78
  715. package/legacy-table/index.d.ts +0 -298
  716. package/legacy-table/testing/index.d.ts +0 -149
  717. package/legacy-tabs/_tabs-common.import.scss +0 -11
  718. package/legacy-tabs/_tabs-common.scss +0 -173
  719. package/legacy-tabs/_tabs-legacy-index.scss +0 -6
  720. package/legacy-tabs/_tabs-theme.import.scss +0 -9
  721. package/legacy-tabs/_tabs-theme.scss +0 -188
  722. package/legacy-tabs/index.d.ts +0 -338
  723. package/legacy-tabs/testing/index.d.ts +0 -195
  724. package/legacy-tooltip/_tooltip-legacy-index.scss +0 -3
  725. package/legacy-tooltip/_tooltip-theme.import.scss +0 -9
  726. package/legacy-tooltip/_tooltip-theme.scss +0 -67
  727. package/legacy-tooltip/index.d.ts +0 -117
  728. package/legacy-tooltip/testing/index.d.ts +0 -30
  729. package/list/_list-theme.import.scss +0 -1
  730. package/menu/_menu-theme.import.scss +0 -2
  731. package/paginator/_paginator-theme.import.scss +0 -6
  732. package/paginator/_paginator-variables.import.scss +0 -1
  733. package/progress-bar/_progress-bar-theme.import.scss +0 -3
  734. package/progress-spinner/_progress-spinner-theme.import.scss +0 -3
  735. package/radio/_radio-theme.import.scss +0 -4
  736. package/select/_select-theme.import.scss +0 -7
  737. package/sidenav/_sidenav-legacy-index.scss +0 -2
  738. package/sidenav/_sidenav-theme.import.scss +0 -8
  739. package/slide-toggle/_slide-toggle-theme.import.scss +0 -7
  740. package/slider/_slider-theme.import.scss +0 -2
  741. package/snack-bar/_snack-bar-theme.import.scss +0 -5
  742. package/sort/_sort-legacy-index.scss +0 -2
  743. package/sort/_sort-theme.import.scss +0 -5
  744. package/stepper/_stepper-legacy-index.scss +0 -7
  745. package/stepper/_stepper-theme.import.scss +0 -16
  746. package/stepper/_stepper-variables.import.scss +0 -6
  747. package/table/_table-flex-styles.import.scss +0 -1
  748. package/table/_table-theme.import.scss +0 -8
  749. package/tabs/_tabs-common.import.scss +0 -11
  750. package/tabs/_tabs-theme.import.scss +0 -5
  751. package/toolbar/_toolbar-legacy-index.scss +0 -4
  752. package/toolbar/_toolbar-theme.import.scss +0 -14
  753. package/toolbar/_toolbar-variables.import.scss +0 -1
  754. package/tooltip/_tooltip-theme.import.scss +0 -2
  755. package/tree/_tree-legacy-index.scss +0 -2
  756. package/tree/_tree-theme.import.scss +0 -9
  757. package/tree/_tree-variables.import.scss +0 -1
package/fesm2022/tabs.mjs CHANGED
@@ -1,21 +1,21 @@
1
- import * as i1$2 from '@angular/common';
1
+ import * as i1$1 from '@angular/common';
2
2
  import { DOCUMENT, CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { forwardRef, Directive, Inject, EventEmitter, Optional, Output, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, InjectionToken, TemplateRef, ContentChild, ContentChildren, QueryList, Attribute, NgModule } from '@angular/core';
5
- import * as i5 from '@angular/material/core';
4
+ import { forwardRef, Directive, Inject, EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Output, ViewChild, Input, InjectionToken, TemplateRef, ContentChild, ContentChildren, QueryList, Attribute, NgModule } from '@angular/core';
5
+ import * as i4 from '@angular/material/core';
6
6
  import { mixinDisabled, mixinColor, mixinDisableRipple, mixinTabIndex, MAT_RIPPLE_GLOBAL_OPTIONS, MatCommonModule, MatRippleModule } from '@angular/material/core';
7
- import * as i2 from '@angular/cdk/portal';
7
+ import * as i2$1 from '@angular/cdk/portal';
8
8
  import { CdkPortalOutlet, CdkPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';
9
- import * as i5$1 from '@angular/cdk/observers';
9
+ import * as i5 from '@angular/cdk/observers';
10
10
  import { ObserversModule } from '@angular/cdk/observers';
11
- import * as i4 from '@angular/cdk/a11y';
11
+ import * as i6 from '@angular/cdk/a11y';
12
12
  import { FocusKeyManager, A11yModule } from '@angular/cdk/a11y';
13
- import * as i1 from '@angular/cdk/bidi';
13
+ import * as i2 from '@angular/cdk/bidi';
14
14
  import { Subscription, Subject, fromEvent, of, merge, EMPTY, Observable, timer, BehaviorSubject } from 'rxjs';
15
15
  import { startWith, distinctUntilChanged, takeUntil, take, switchMap, skip, filter } from 'rxjs/operators';
16
16
  import { trigger, state, style, transition, animate } from '@angular/animations';
17
17
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
18
- import * as i1$1 from '@angular/cdk/scrolling';
18
+ import * as i1 from '@angular/cdk/scrolling';
19
19
  import * as i3 from '@angular/cdk/platform';
20
20
  import { normalizePassiveListenerOptions } from '@angular/cdk/platform';
21
21
  import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
@@ -109,10 +109,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
109
109
  args: [DOCUMENT]
110
110
  }] }]; } });
111
111
  /**
112
- * Base class with all of the `MatTabBody` functionality.
112
+ * Wrapper for the contents of a tab.
113
113
  * @docs-private
114
114
  */
115
- class _MatTabBodyBase {
115
+ class MatTabBody {
116
116
  /** The shifted index position of the tab body, where zero represents the active center tab. */
117
117
  set position(position) {
118
118
  this._positionIndex = position;
@@ -212,12 +212,15 @@ class _MatTabBodyBase {
212
212
  }
213
213
  return 'right-origin-center';
214
214
  }
215
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabBodyBase, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
216
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: _MatTabBodyBase, inputs: { _content: ["content", "_content"], origin: "origin", animationDuration: "animationDuration", preserveContent: "preserveContent", position: "position" }, outputs: { _onCentering: "_onCentering", _beforeCentering: "_beforeCentering", _afterLeavingCenter: "_afterLeavingCenter", _onCentered: "_onCentered" }, ngImport: i0 }); }
215
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabBody, deps: [{ token: i0.ElementRef }, { token: i2.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
216
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabBody, selector: "mat-tab-body", inputs: { _content: ["content", "_content"], origin: "origin", animationDuration: "animationDuration", preserveContent: "preserveContent", position: "position" }, outputs: { _onCentering: "_onCentering", _beforeCentering: "_beforeCentering", _afterLeavingCenter: "_afterLeavingCenter", _onCentered: "_onCentered" }, host: { classAttribute: "mat-mdc-tab-body" }, viewQueries: [{ propertyName: "_portalHost", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"mat-mdc-tab-body-content\" #content\n [@translateTab]=\"{\n value: _position,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"_onTranslateTabStarted($event)\"\n (@translateTab.done)=\"_translateTabComplete.next($event)\"\n cdkScrollable>\n <ng-template matTabBodyHost></ng-template>\n</div>\n", styles: [".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*=\"visibility: hidden\"]{display:none}"], dependencies: [{ kind: "directive", type: MatTabBodyPortal, selector: "[matTabBodyHost]" }], animations: [matTabsAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
217
217
  }
218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabBodyBase, decorators: [{
219
- type: Directive
220
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{
218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabBody, decorators: [{
219
+ type: Component,
220
+ args: [{ selector: 'mat-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, animations: [matTabsAnimations.translateTab], host: {
221
+ 'class': 'mat-mdc-tab-body',
222
+ }, template: "<div class=\"mat-mdc-tab-body-content\" #content\n [@translateTab]=\"{\n value: _position,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"_onTranslateTabStarted($event)\"\n (@translateTab.done)=\"_translateTabComplete.next($event)\"\n cdkScrollable>\n <ng-template matTabBodyHost></ng-template>\n</div>\n", styles: [".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*=\"visibility: hidden\"]{display:none}"] }]
223
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.Directionality, decorators: [{
221
224
  type: Optional
222
225
  }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _onCentering: [{
223
226
  type: Output
@@ -227,6 +230,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
227
230
  type: Output
228
231
  }], _onCentered: [{
229
232
  type: Output
233
+ }], _portalHost: [{
234
+ type: ViewChild,
235
+ args: [CdkPortalOutlet]
230
236
  }], _content: [{
231
237
  type: Input,
232
238
  args: ['content']
@@ -239,28 +245,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
239
245
  }], position: [{
240
246
  type: Input
241
247
  }] } });
242
- /**
243
- * Wrapper for the contents of a tab.
244
- * @docs-private
245
- */
246
- class MatTabBody extends _MatTabBodyBase {
247
- constructor(elementRef, dir, changeDetectorRef) {
248
- super(elementRef, dir, changeDetectorRef);
249
- }
250
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabBody, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
251
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabBody, selector: "mat-tab-body", host: { classAttribute: "mat-mdc-tab-body" }, viewQueries: [{ propertyName: "_portalHost", first: true, predicate: CdkPortalOutlet, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"mat-mdc-tab-body-content\" #content\n [@translateTab]=\"{\n value: _position,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"_onTranslateTabStarted($event)\"\n (@translateTab.done)=\"_translateTabComplete.next($event)\"\n cdkScrollable>\n <ng-template matTabBodyHost></ng-template>\n</div>\n", styles: [".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*=\"visibility: hidden\"]{display:none}"], dependencies: [{ kind: "directive", type: MatTabBodyPortal, selector: "[matTabBodyHost]" }], animations: [matTabsAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
252
- }
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabBody, decorators: [{
254
- type: Component,
255
- args: [{ selector: 'mat-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, animations: [matTabsAnimations.translateTab], host: {
256
- 'class': 'mat-mdc-tab-body',
257
- }, template: "<div class=\"mat-mdc-tab-body-content\" #content\n [@translateTab]=\"{\n value: _position,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"_onTranslateTabStarted($event)\"\n (@translateTab.done)=\"_translateTabComplete.next($event)\"\n cdkScrollable>\n <ng-template matTabBodyHost></ng-template>\n</div>\n", styles: [".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*=\"visibility: hidden\"]{display:none}"] }]
258
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{
259
- type: Optional
260
- }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _portalHost: [{
261
- type: ViewChild,
262
- args: [CdkPortalOutlet]
263
- }] } });
264
248
 
265
249
  /**
266
250
  * Injection token that can be used to reference instances of `MatTabContent`. It serves as
@@ -460,13 +444,13 @@ const _MAT_INK_BAR_POSITIONER = new InjectionToken('MatInkBarPositioner', {
460
444
 
461
445
  // Boilerplate for applying mixins to MatTabLabelWrapper.
462
446
  /** @docs-private */
463
- const _MatTabLabelWrapperMixinBase = mixinDisabled(class {
464
- });
447
+ const _MatTabLabelWrapperMixinBase = mixinInkBarItem(mixinDisabled(class {
448
+ }));
465
449
  /**
466
450
  * Used in the `mat-tab-group` view to display tab labels.
467
451
  * @docs-private
468
452
  */
469
- class _MatTabLabelWrapperBase extends _MatTabLabelWrapperMixinBase {
453
+ class MatTabLabelWrapper extends _MatTabLabelWrapperMixinBase {
470
454
  constructor(elementRef) {
471
455
  super();
472
456
  this.elementRef = elementRef;
@@ -481,19 +465,7 @@ class _MatTabLabelWrapperBase extends _MatTabLabelWrapperMixinBase {
481
465
  getOffsetWidth() {
482
466
  return this.elementRef.nativeElement.offsetWidth;
483
467
  }
484
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabLabelWrapperBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
485
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: _MatTabLabelWrapperBase, usesInheritance: true, ngImport: i0 }); }
486
- }
487
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabLabelWrapperBase, decorators: [{
488
- type: Directive
489
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
490
- const _MatTabLabelWrapperBaseWithInkBarItem = mixinInkBarItem(_MatTabLabelWrapperBase);
491
- /**
492
- * Used in the `mat-tab-group` view to display tab labels.
493
- * @docs-private
494
- */
495
- class MatTabLabelWrapper extends _MatTabLabelWrapperBaseWithInkBarItem {
496
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabLabelWrapper, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
468
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabLabelWrapper, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
497
469
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatTabLabelWrapper, selector: "[matTabLabelWrapper]", inputs: { disabled: "disabled", fitInkBarToContent: "fitInkBarToContent" }, host: { properties: { "class.mat-mdc-tab-disabled": "disabled", "attr.aria-disabled": "!!disabled" } }, usesInheritance: true, ngImport: i0 }); }
498
470
  }
499
471
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabLabelWrapper, decorators: [{
@@ -506,7 +478,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
506
478
  '[attr.aria-disabled]': '!!disabled',
507
479
  },
508
480
  }]
509
- }] });
481
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
510
482
 
511
483
  // Boilerplate for applying mixins to MatTab.
512
484
  /** @docs-private */
@@ -517,8 +489,13 @@ const _MatTabMixinBase = mixinDisabled(class {
517
489
  * @docs-private
518
490
  */
519
491
  const MAT_TAB_GROUP = new InjectionToken('MAT_TAB_GROUP');
520
- /** @docs-private */
521
- class _MatTabBase extends _MatTabMixinBase {
492
+ class MatTab extends _MatTabMixinBase {
493
+ get templateLabel() {
494
+ return this._templateLabel;
495
+ }
496
+ set templateLabel(value) {
497
+ this._setTemplateLabelInput(value);
498
+ }
522
499
  /** @docs-private */
523
500
  get content() {
524
501
  return this._contentPortal;
@@ -527,6 +504,10 @@ class _MatTabBase extends _MatTabMixinBase {
527
504
  super();
528
505
  this._viewContainerRef = _viewContainerRef;
529
506
  this._closestTabGroup = _closestTabGroup;
507
+ /**
508
+ * Template provided in the tab content that will be used if present, used to enable lazy-loading
509
+ */
510
+ this._explicitContent = undefined;
530
511
  /** Plain text label for the tab, used when there is no template label. */
531
512
  this.textLabel = '';
532
513
  /** Portal that will be the hosted content of the tab */
@@ -574,17 +555,24 @@ class _MatTabBase extends _MatTabMixinBase {
574
555
  this._templateLabel = value;
575
556
  }
576
557
  }
577
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabBase, deps: [{ token: i0.ViewContainerRef }, { token: MAT_TAB_GROUP, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
578
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: _MatTabBase, inputs: { textLabel: ["label", "textLabel"], ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], labelClass: "labelClass", bodyClass: "bodyClass" }, viewQueries: [{ propertyName: "_implicitContent", first: true, predicate: TemplateRef, descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
558
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTab, deps: [{ token: i0.ViewContainerRef }, { token: MAT_TAB_GROUP, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
559
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTab, selector: "mat-tab", inputs: { disabled: "disabled", textLabel: ["label", "textLabel"], ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], labelClass: "labelClass", bodyClass: "bodyClass" }, providers: [{ provide: MAT_TAB, useExisting: MatTab }], queries: [{ propertyName: "templateLabel", first: true, predicate: MatTabLabel, descendants: true }, { propertyName: "_explicitContent", first: true, predicate: MatTabContent, descendants: true, read: TemplateRef, static: true }], viewQueries: [{ propertyName: "_implicitContent", first: true, predicate: TemplateRef, descendants: true, static: true }], exportAs: ["matTab"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\n TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\n tab-group. -->\n<ng-template><ng-content></ng-content></ng-template>\n", changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
579
560
  }
580
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabBase, decorators: [{
581
- type: Directive
561
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTab, decorators: [{
562
+ type: Component,
563
+ args: [{ selector: 'mat-tab', inputs: ['disabled'], changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, exportAs: 'matTab', providers: [{ provide: MAT_TAB, useExisting: MatTab }], template: "<!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\n TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\n tab-group. -->\n<ng-template><ng-content></ng-content></ng-template>\n" }]
582
564
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: undefined, decorators: [{
583
565
  type: Inject,
584
566
  args: [MAT_TAB_GROUP]
585
567
  }, {
586
568
  type: Optional
587
- }] }]; }, propDecorators: { _implicitContent: [{
569
+ }] }]; }, propDecorators: { templateLabel: [{
570
+ type: ContentChild,
571
+ args: [MatTabLabel]
572
+ }], _explicitContent: [{
573
+ type: ContentChild,
574
+ args: [MatTabContent, { read: TemplateRef, static: true }]
575
+ }], _implicitContent: [{
588
576
  type: ViewChild,
589
577
  args: [TemplateRef, { static: true }]
590
578
  }], textLabel: [{
@@ -601,34 +589,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
601
589
  }], bodyClass: [{
602
590
  type: Input
603
591
  }] } });
604
- class MatTab extends _MatTabBase {
605
- constructor() {
606
- super(...arguments);
607
- /**
608
- * Template provided in the tab content that will be used if present, used to enable lazy-loading
609
- */
610
- this._explicitContent = undefined;
611
- }
612
- /** Content for the tab label given by `<ng-template mat-tab-label>`. */
613
- get templateLabel() {
614
- return this._templateLabel;
615
- }
616
- set templateLabel(value) {
617
- this._setTemplateLabelInput(value);
618
- }
619
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTab, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
620
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTab, selector: "mat-tab", inputs: { disabled: "disabled" }, providers: [{ provide: MAT_TAB, useExisting: MatTab }], queries: [{ propertyName: "_explicitContent", first: true, predicate: MatTabContent, descendants: true, read: TemplateRef, static: true }, { propertyName: "templateLabel", first: true, predicate: MatTabLabel, descendants: true }], exportAs: ["matTab"], usesInheritance: true, ngImport: i0, template: "<!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\n TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\n tab-group. -->\n<ng-template><ng-content></ng-content></ng-template>\n", changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
621
- }
622
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTab, decorators: [{
623
- type: Component,
624
- args: [{ selector: 'mat-tab', inputs: ['disabled'], changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, exportAs: 'matTab', providers: [{ provide: MAT_TAB, useExisting: MatTab }], template: "<!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\n TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\n tab-group. -->\n<ng-template><ng-content></ng-content></ng-template>\n" }]
625
- }], propDecorators: { _explicitContent: [{
626
- type: ContentChild,
627
- args: [MatTabContent, { read: TemplateRef, static: true }]
628
- }], templateLabel: [{
629
- type: ContentChild,
630
- args: [MatTabLabel]
631
- }] } });
632
592
 
633
593
  /** Config used to bind passive event listeners */
634
594
  const passiveEventListenerOptions = normalizePassiveListenerOptions({
@@ -1110,12 +1070,12 @@ class MatPaginatedTabHeader {
1110
1070
  this._checkScrollingControls();
1111
1071
  return { maxScrollDistance, distance: this._scrollDistance };
1112
1072
  }
1113
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatPaginatedTabHeader, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1073
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatPaginatedTabHeader, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.ViewportRuler }, { token: i2.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1114
1074
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatPaginatedTabHeader, inputs: { disablePagination: "disablePagination" }, ngImport: i0 }); }
1115
1075
  }
1116
1076
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatPaginatedTabHeader, decorators: [{
1117
1077
  type: Directive
1118
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i1.Directionality, decorators: [{
1078
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.ViewportRuler }, { type: i2.Directionality, decorators: [{
1119
1079
  type: Optional
1120
1080
  }] }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{
1121
1081
  type: Optional
@@ -1127,10 +1087,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1127
1087
  }] } });
1128
1088
 
1129
1089
  /**
1130
- * Base class with all of the `MatTabHeader` functionality.
1090
+ * The header of the tab group which displays a list of all the tabs in the tab group. Includes
1091
+ * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the
1092
+ * width of the header container, then arrows will be displayed to allow the user to scroll
1093
+ * left and right across the header.
1131
1094
  * @docs-private
1132
1095
  */
1133
- class _MatTabHeaderBase extends MatPaginatedTabHeader {
1096
+ class MatTabHeader extends MatPaginatedTabHeader {
1134
1097
  /** Whether the ripple effect is disabled or not. */
1135
1098
  get disableRipple() {
1136
1099
  return this._disableRipple;
@@ -1142,41 +1105,15 @@ class _MatTabHeaderBase extends MatPaginatedTabHeader {
1142
1105
  super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode);
1143
1106
  this._disableRipple = false;
1144
1107
  }
1145
- _itemSelected(event) {
1146
- event.preventDefault();
1147
- }
1148
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabHeaderBase, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1149
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: _MatTabHeaderBase, inputs: { disableRipple: "disableRipple" }, usesInheritance: true, ngImport: i0 }); }
1150
- }
1151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabHeaderBase, decorators: [{
1152
- type: Directive
1153
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i1.Directionality, decorators: [{
1154
- type: Optional
1155
- }] }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{
1156
- type: Optional
1157
- }, {
1158
- type: Inject,
1159
- args: [ANIMATION_MODULE_TYPE]
1160
- }] }]; }, propDecorators: { disableRipple: [{
1161
- type: Input
1162
- }] } });
1163
- /**
1164
- * The header of the tab group which displays a list of all the tabs in the tab group. Includes
1165
- * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the
1166
- * width of the header container, then arrows will be displayed to allow the user to scroll
1167
- * left and right across the header.
1168
- * @docs-private
1169
- */
1170
- class MatTabHeader extends _MatTabHeaderBase {
1171
- constructor(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode) {
1172
- super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode);
1173
- }
1174
1108
  ngAfterContentInit() {
1175
1109
  this._inkBar = new MatInkBar(this._items);
1176
1110
  super.ngAfterContentInit();
1177
1111
  }
1178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabHeader, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1179
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabHeader, selector: "mat-tab-header", inputs: { selectedIndex: "selectedIndex" }, outputs: { selectFocusedIndex: "selectFocusedIndex", indexFocused: "indexFocused" }, host: { properties: { "class.mat-mdc-tab-header-pagination-controls-enabled": "_showPaginationControls", "class.mat-mdc-tab-header-rtl": "_getLayoutDirection() == 'rtl'" }, classAttribute: "mat-mdc-tab-header" }, queries: [{ propertyName: "_items", predicate: MatTabLabelWrapper }], viewQueries: [{ propertyName: "_tabListContainer", first: true, predicate: ["tabListContainer"], descendants: true, static: true }, { propertyName: "_tabList", first: true, predicate: ["tabList"], descendants: true, static: true }, { propertyName: "_tabListInner", first: true, predicate: ["tabListInner"], descendants: true, static: true }, { propertyName: "_nextPaginator", first: true, predicate: ["nextPaginator"], descendants: true }, { propertyName: "_previousPaginator", first: true, predicate: ["previousPaginator"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before\"\n #previousPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n tabindex=\"-1\"\n [matRippleDisabled]=\"_disableScrollBefore || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollBefore\"\n [disabled]=\"_disableScrollBefore || null\"\n (click)=\"_handlePaginatorClick('before')\"\n (mousedown)=\"_handlePaginatorPress('before', $event)\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n\n<div\n class=\"mat-mdc-tab-label-container\"\n #tabListContainer\n (keydown)=\"_handleKeydown($event)\"\n [class._mat-animation-noopable]=\"_animationMode === 'NoopAnimations'\">\n <div\n #tabList\n class=\"mat-mdc-tab-list\"\n role=\"tablist\"\n (cdkObserveContent)=\"_onContentChanges()\">\n <div class=\"mat-mdc-tab-labels\" #tabListInner>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after\"\n #nextPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollAfter\"\n [disabled]=\"_disableScrollAfter || null\"\n tabindex=\"-1\"\n (mousedown)=\"_handlePaginatorPress('after', $event)\"\n (click)=\"_handlePaginatorClick('after')\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n", styles: [".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"], dependencies: [{ kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: i5$1.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
1112
+ _itemSelected(event) {
1113
+ event.preventDefault();
1114
+ }
1115
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabHeader, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.ViewportRuler }, { token: i2.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1116
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabHeader, selector: "mat-tab-header", inputs: { selectedIndex: "selectedIndex", disableRipple: "disableRipple" }, outputs: { selectFocusedIndex: "selectFocusedIndex", indexFocused: "indexFocused" }, host: { properties: { "class.mat-mdc-tab-header-pagination-controls-enabled": "_showPaginationControls", "class.mat-mdc-tab-header-rtl": "_getLayoutDirection() == 'rtl'" }, classAttribute: "mat-mdc-tab-header" }, queries: [{ propertyName: "_items", predicate: MatTabLabelWrapper }], viewQueries: [{ propertyName: "_tabListContainer", first: true, predicate: ["tabListContainer"], descendants: true, static: true }, { propertyName: "_tabList", first: true, predicate: ["tabList"], descendants: true, static: true }, { propertyName: "_tabListInner", first: true, predicate: ["tabListInner"], descendants: true, static: true }, { propertyName: "_nextPaginator", first: true, predicate: ["nextPaginator"], descendants: true }, { propertyName: "_previousPaginator", first: true, predicate: ["previousPaginator"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before\"\n #previousPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n tabindex=\"-1\"\n [matRippleDisabled]=\"_disableScrollBefore || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollBefore\"\n [disabled]=\"_disableScrollBefore || null\"\n (click)=\"_handlePaginatorClick('before')\"\n (mousedown)=\"_handlePaginatorPress('before', $event)\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n\n<div\n class=\"mat-mdc-tab-label-container\"\n #tabListContainer\n (keydown)=\"_handleKeydown($event)\"\n [class._mat-animation-noopable]=\"_animationMode === 'NoopAnimations'\">\n <div\n #tabList\n class=\"mat-mdc-tab-list\"\n role=\"tablist\"\n (cdkObserveContent)=\"_onContentChanges()\">\n <div class=\"mat-mdc-tab-labels\" #tabListInner>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after\"\n #nextPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollAfter\"\n [disabled]=\"_disableScrollAfter || null\"\n tabindex=\"-1\"\n (mousedown)=\"_handlePaginatorPress('after', $event)\"\n (click)=\"_handlePaginatorClick('after')\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n", styles: [".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"], dependencies: [{ kind: "directive", type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: i5.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
1180
1117
  }
1181
1118
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabHeader, decorators: [{
1182
1119
  type: Component,
@@ -1185,7 +1122,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1185
1122
  '[class.mat-mdc-tab-header-pagination-controls-enabled]': '_showPaginationControls',
1186
1123
  '[class.mat-mdc-tab-header-rtl]': "_getLayoutDirection() == 'rtl'",
1187
1124
  }, template: "<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before\"\n #previousPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n tabindex=\"-1\"\n [matRippleDisabled]=\"_disableScrollBefore || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollBefore\"\n [disabled]=\"_disableScrollBefore || null\"\n (click)=\"_handlePaginatorClick('before')\"\n (mousedown)=\"_handlePaginatorPress('before', $event)\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n\n<div\n class=\"mat-mdc-tab-label-container\"\n #tabListContainer\n (keydown)=\"_handleKeydown($event)\"\n [class._mat-animation-noopable]=\"_animationMode === 'NoopAnimations'\">\n <div\n #tabList\n class=\"mat-mdc-tab-list\"\n role=\"tablist\"\n (cdkObserveContent)=\"_onContentChanges()\">\n <div class=\"mat-mdc-tab-labels\" #tabListInner>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after\"\n #nextPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollAfter\"\n [disabled]=\"_disableScrollAfter || null\"\n tabindex=\"-1\"\n (mousedown)=\"_handlePaginatorPress('after', $event)\"\n (click)=\"_handlePaginatorClick('after')\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n", styles: [".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"] }]
1188
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i1.Directionality, decorators: [{
1125
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.ViewportRuler }, { type: i2.Directionality, decorators: [{
1189
1126
  type: Optional
1190
1127
  }] }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{
1191
1128
  type: Optional
@@ -1210,6 +1147,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1210
1147
  }], _previousPaginator: [{
1211
1148
  type: ViewChild,
1212
1149
  args: ['previousPaginator']
1150
+ }], disableRipple: [{
1151
+ type: Input
1213
1152
  }] } });
1214
1153
 
1215
1154
  /** Injection token that can be used to provide the default options the tabs module. */
@@ -1225,10 +1164,26 @@ const _MatTabGroupMixinBase = mixinColor(mixinDisableRipple(class {
1225
1164
  }
1226
1165
  }), 'primary');
1227
1166
  /**
1228
- * Base class with all of the `MatTabGroupBase` functionality.
1229
- * @docs-private
1167
+ * Material design tab-group component. Supports basic tab pairs (label + content) and includes
1168
+ * animated ink-bar, keyboard navigation, and screen reader.
1169
+ * See: https://material.io/design/components/tabs.html
1230
1170
  */
1231
- class _MatTabGroupBase extends _MatTabGroupMixinBase {
1171
+ class MatTabGroup extends _MatTabGroupMixinBase {
1172
+ /** Whether the ink bar should fit its width to the size of the tab label content. */
1173
+ get fitInkBarToContent() {
1174
+ return this._fitInkBarToContent;
1175
+ }
1176
+ set fitInkBarToContent(v) {
1177
+ this._fitInkBarToContent = coerceBooleanProperty(v);
1178
+ this._changeDetectorRef.markForCheck();
1179
+ }
1180
+ /** Whether tabs should be stretched to fill the header. */
1181
+ get stretchTabs() {
1182
+ return this._stretchTabs;
1183
+ }
1184
+ set stretchTabs(v) {
1185
+ this._stretchTabs = coerceBooleanProperty(v);
1186
+ }
1232
1187
  /** Whether the tab group should grow to the size of the active tab. */
1233
1188
  get dynamicHeight() {
1234
1189
  return this._dynamicHeight;
@@ -1311,6 +1266,8 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1311
1266
  this._tabsSubscription = Subscription.EMPTY;
1312
1267
  /** Subscription to changes in the tab labels. */
1313
1268
  this._tabLabelSubscription = Subscription.EMPTY;
1269
+ this._fitInkBarToContent = false;
1270
+ this._stretchTabs = true;
1314
1271
  this._dynamicHeight = false;
1315
1272
  this._selectedIndex = null;
1316
1273
  /** Position of the tab header. */
@@ -1336,6 +1293,12 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1336
1293
  defaultConfig && defaultConfig.dynamicHeight != null ? defaultConfig.dynamicHeight : false;
1337
1294
  this.contentTabIndex = defaultConfig?.contentTabIndex ?? null;
1338
1295
  this.preserveContent = !!defaultConfig?.preserveContent;
1296
+ this.fitInkBarToContent =
1297
+ defaultConfig && defaultConfig.fitInkBarToContent != null
1298
+ ? defaultConfig.fitInkBarToContent
1299
+ : false;
1300
+ this.stretchTabs =
1301
+ defaultConfig && defaultConfig.stretchTabs != null ? defaultConfig.stretchTabs : true;
1339
1302
  }
1340
1303
  /**
1341
1304
  * After the content is checked, this component knows what tabs have been defined
@@ -1550,85 +1513,13 @@ class _MatTabGroupBase extends _MatTabGroupMixinBase {
1550
1513
  this._tabHeader.focusIndex = index;
1551
1514
  }
1552
1515
  }
1553
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabGroupBase, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MAT_TABS_CONFIG, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1554
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: _MatTabGroupBase, inputs: { dynamicHeight: "dynamicHeight", selectedIndex: "selectedIndex", headerPosition: "headerPosition", animationDuration: "animationDuration", contentTabIndex: "contentTabIndex", disablePagination: "disablePagination", preserveContent: "preserveContent", backgroundColor: "backgroundColor" }, outputs: { selectedIndexChange: "selectedIndexChange", focusChange: "focusChange", animationDone: "animationDone", selectedTabChange: "selectedTabChange" }, usesInheritance: true, ngImport: i0 }); }
1555
- }
1556
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabGroupBase, decorators: [{
1557
- type: Directive
1558
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
1559
- type: Inject,
1560
- args: [MAT_TABS_CONFIG]
1561
- }, {
1562
- type: Optional
1563
- }] }, { type: undefined, decorators: [{
1564
- type: Optional
1565
- }, {
1566
- type: Inject,
1567
- args: [ANIMATION_MODULE_TYPE]
1568
- }] }]; }, propDecorators: { dynamicHeight: [{
1569
- type: Input
1570
- }], selectedIndex: [{
1571
- type: Input
1572
- }], headerPosition: [{
1573
- type: Input
1574
- }], animationDuration: [{
1575
- type: Input
1576
- }], contentTabIndex: [{
1577
- type: Input
1578
- }], disablePagination: [{
1579
- type: Input
1580
- }], preserveContent: [{
1581
- type: Input
1582
- }], backgroundColor: [{
1583
- type: Input
1584
- }], selectedIndexChange: [{
1585
- type: Output
1586
- }], focusChange: [{
1587
- type: Output
1588
- }], animationDone: [{
1589
- type: Output
1590
- }], selectedTabChange: [{
1591
- type: Output
1592
- }] } });
1593
- /**
1594
- * Material design tab-group component. Supports basic tab pairs (label + content) and includes
1595
- * animated ink-bar, keyboard navigation, and screen reader.
1596
- * See: https://material.io/design/components/tabs.html
1597
- */
1598
- class MatTabGroup extends _MatTabGroupBase {
1599
- /** Whether the ink bar should fit its width to the size of the tab label content. */
1600
- get fitInkBarToContent() {
1601
- return this._fitInkBarToContent;
1602
- }
1603
- set fitInkBarToContent(v) {
1604
- this._fitInkBarToContent = coerceBooleanProperty(v);
1605
- this._changeDetectorRef.markForCheck();
1606
- }
1607
- /** Whether tabs should be stretched to fill the header. */
1608
- get stretchTabs() {
1609
- return this._stretchTabs;
1610
- }
1611
- set stretchTabs(v) {
1612
- this._stretchTabs = coerceBooleanProperty(v);
1613
- }
1614
- constructor(elementRef, changeDetectorRef, defaultConfig, animationMode) {
1615
- super(elementRef, changeDetectorRef, defaultConfig, animationMode);
1616
- this._fitInkBarToContent = false;
1617
- this._stretchTabs = true;
1618
- this.fitInkBarToContent =
1619
- defaultConfig && defaultConfig.fitInkBarToContent != null
1620
- ? defaultConfig.fitInkBarToContent
1621
- : false;
1622
- this.stretchTabs =
1623
- defaultConfig && defaultConfig.stretchTabs != null ? defaultConfig.stretchTabs : true;
1624
- }
1625
1516
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", 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 }); }
1626
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabGroup, selector: "mat-tab-group", inputs: { color: "color", disableRipple: "disableRipple", fitInkBarToContent: "fitInkBarToContent", stretchTabs: ["mat-stretch-tabs", "stretchTabs"] }, host: { attributes: { "ngSkipHydration": "" }, properties: { "class.mat-mdc-tab-group-dynamic-height": "dynamicHeight", "class.mat-mdc-tab-group-inverted-header": "headerPosition === \"below\"", "class.mat-mdc-tab-group-stretch-tabs": "stretchTabs", "style.--mat-tab-animation-duration": "animationDuration" }, classAttribute: "mat-mdc-tab-group" }, providers: [
1517
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabGroup, selector: "mat-tab-group", inputs: { color: "color", disableRipple: "disableRipple", fitInkBarToContent: "fitInkBarToContent", stretchTabs: ["mat-stretch-tabs", "stretchTabs"], dynamicHeight: "dynamicHeight", selectedIndex: "selectedIndex", headerPosition: "headerPosition", animationDuration: "animationDuration", contentTabIndex: "contentTabIndex", disablePagination: "disablePagination", preserveContent: "preserveContent", backgroundColor: "backgroundColor" }, outputs: { selectedIndexChange: "selectedIndexChange", focusChange: "focusChange", animationDone: "animationDone", selectedTabChange: "selectedTabChange" }, host: { attributes: { "ngSkipHydration": "" }, properties: { "class.mat-mdc-tab-group-dynamic-height": "dynamicHeight", "class.mat-mdc-tab-group-inverted-header": "headerPosition === \"below\"", "class.mat-mdc-tab-group-stretch-tabs": "stretchTabs", "style.--mat-tab-animation-duration": "animationDuration" }, classAttribute: "mat-mdc-tab-group" }, providers: [
1627
1518
  {
1628
1519
  provide: MAT_TAB_GROUP,
1629
1520
  useExisting: MatTabGroup,
1630
1521
  },
1631
- ], 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\n <div class=\"mdc-tab mat-mdc-tab mat-mdc-focus-indicator\"\n #tabNode\n role=\"tab\"\n matTabLabelWrapper\n cdkMonitorElementFocus\n *ngFor=\"let tab of _tabs; let i = index\"\n [id]=\"_getTabLabelId(i)\"\n [attr.tabIndex]=\"_getTabIndex(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.mdc-tab--active]=\"selectedIndex === i\"\n [ngClass]=\"tab.labelClass\"\n [disabled]=\"tab.disabled\"\n [fitInkBarToContent]=\"fitInkBarToContent\"\n (click)=\"_handleClick(tab, tabHeader, i)\"\n (cdkFocusChange)=\"_tabFocusChanged($event, i)\">\n <span class=\"mdc-tab__ripple\"></span>\n\n <!-- Needs to be a separate element, because we can't put\n `overflow: hidden` on tab due to the ink bar. -->\n <div\n class=\"mat-mdc-tab-ripple\"\n mat-ripple\n [matRippleTrigger]=\"tabNode\"\n [matRippleDisabled]=\"tab.disabled || disableRipple\"></div>\n\n <span class=\"mdc-tab__content\">\n <span class=\"mdc-tab__text-label\">\n <!-- If there is a label template, use it. -->\n <ng-template [ngIf]=\"tab.templateLabel\" [ngIfElse]=\"tabTextLabel\">\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 #tabTextLabel>{{tab.textLabel}}</ng-template>\n </span>\n </span>\n </div>\n</mat-tab-header>\n\n<div\n class=\"mat-mdc-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-mdc-tab-body-active]=\"selectedIndex === i\"\n [ngClass]=\"tab.bodyClass\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin\"\n [animationDuration]=\"animationDuration\"\n [preserveContent]=\"preserveContent\"\n (_onCentered)=\"_removeTabBodyWrapperHeight()\"\n (_onCentering)=\"_setTabBodyWrapperHeight($event)\">\n </mat-tab-body>\n</div>\n", styles: [".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:\"\";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}"], dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: i4.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"], exportAs: ["cdkMonitorFocus"] }, { kind: "component", type: MatTabBody, selector: "mat-tab-body" }, { kind: "directive", type: MatTabLabelWrapper, selector: "[matTabLabelWrapper]", inputs: ["disabled", "fitInkBarToContent"] }, { kind: "component", type: MatTabHeader, selector: "mat-tab-header", inputs: ["selectedIndex"], outputs: ["selectFocusedIndex", "indexFocused"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
1522
+ ], 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\n <div class=\"mdc-tab mat-mdc-tab mat-mdc-focus-indicator\"\n #tabNode\n role=\"tab\"\n matTabLabelWrapper\n cdkMonitorElementFocus\n *ngFor=\"let tab of _tabs; let i = index\"\n [id]=\"_getTabLabelId(i)\"\n [attr.tabIndex]=\"_getTabIndex(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.mdc-tab--active]=\"selectedIndex === i\"\n [ngClass]=\"tab.labelClass\"\n [disabled]=\"tab.disabled\"\n [fitInkBarToContent]=\"fitInkBarToContent\"\n (click)=\"_handleClick(tab, tabHeader, i)\"\n (cdkFocusChange)=\"_tabFocusChanged($event, i)\">\n <span class=\"mdc-tab__ripple\"></span>\n\n <!-- Needs to be a separate element, because we can't put\n `overflow: hidden` on tab due to the ink bar. -->\n <div\n class=\"mat-mdc-tab-ripple\"\n mat-ripple\n [matRippleTrigger]=\"tabNode\"\n [matRippleDisabled]=\"tab.disabled || disableRipple\"></div>\n\n <span class=\"mdc-tab__content\">\n <span class=\"mdc-tab__text-label\">\n <!-- If there is a label template, use it. -->\n <ng-template [ngIf]=\"tab.templateLabel\" [ngIfElse]=\"tabTextLabel\">\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 #tabTextLabel>{{tab.textLabel}}</ng-template>\n </span>\n </span>\n </div>\n</mat-tab-header>\n\n<div\n class=\"mat-mdc-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-mdc-tab-body-active]=\"selectedIndex === i\"\n [ngClass]=\"tab.bodyClass\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin\"\n [animationDuration]=\"animationDuration\"\n [preserveContent]=\"preserveContent\"\n (_onCentered)=\"_removeTabBodyWrapperHeight()\"\n (_onCentering)=\"_setTabBodyWrapperHeight($event)\">\n </mat-tab-body>\n</div>\n", styles: [".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:\"\";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: i6.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"], exportAs: ["cdkMonitorFocus"] }, { kind: "component", type: MatTabBody, selector: "mat-tab-body", inputs: ["content", "origin", "animationDuration", "preserveContent", "position"], outputs: ["_onCentering", "_beforeCentering", "_afterLeavingCenter", "_onCentered"] }, { kind: "directive", type: MatTabLabelWrapper, selector: "[matTabLabelWrapper]", inputs: ["disabled", "fitInkBarToContent"] }, { kind: "component", type: MatTabHeader, selector: "mat-tab-header", inputs: ["selectedIndex", "disableRipple"], outputs: ["selectFocusedIndex", "indexFocused"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
1632
1523
  }
1633
1524
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabGroup, decorators: [{
1634
1525
  type: Component,
@@ -1669,6 +1560,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1669
1560
  }], stretchTabs: [{
1670
1561
  type: Input,
1671
1562
  args: ['mat-stretch-tabs']
1563
+ }], dynamicHeight: [{
1564
+ type: Input
1565
+ }], selectedIndex: [{
1566
+ type: Input
1567
+ }], headerPosition: [{
1568
+ type: Input
1569
+ }], animationDuration: [{
1570
+ type: Input
1571
+ }], contentTabIndex: [{
1572
+ type: Input
1573
+ }], disablePagination: [{
1574
+ type: Input
1575
+ }], preserveContent: [{
1576
+ type: Input
1577
+ }], backgroundColor: [{
1578
+ type: Input
1579
+ }], selectedIndexChange: [{
1580
+ type: Output
1581
+ }], focusChange: [{
1582
+ type: Output
1583
+ }], animationDone: [{
1584
+ type: Output
1585
+ }], selectedTabChange: [{
1586
+ type: Output
1672
1587
  }] } });
1673
1588
  /** A simple change event emitted on focus or selection changes. */
1674
1589
  class MatTabChangeEvent {
@@ -1677,10 +1592,31 @@ class MatTabChangeEvent {
1677
1592
  // Increasing integer for generating unique ids for tab nav components.
1678
1593
  let nextUniqueId = 0;
1679
1594
  /**
1680
- * Base class with all of the `MatTabNav` functionality.
1681
- * @docs-private
1595
+ * Navigation component matching the styles of the tab group header.
1596
+ * Provides anchored navigation with animated ink bar.
1682
1597
  */
1683
- class _MatTabNavBase extends MatPaginatedTabHeader {
1598
+ class MatTabNav extends MatPaginatedTabHeader {
1599
+ /** Whether the ink bar should fit its width to the size of the tab label content. */
1600
+ get fitInkBarToContent() {
1601
+ return this._fitInkBarToContent.value;
1602
+ }
1603
+ set fitInkBarToContent(v) {
1604
+ this._fitInkBarToContent.next(coerceBooleanProperty(v));
1605
+ this._changeDetectorRef.markForCheck();
1606
+ }
1607
+ /** Whether tabs should be stretched to fill the header. */
1608
+ get stretchTabs() {
1609
+ return this._stretchTabs;
1610
+ }
1611
+ set stretchTabs(v) {
1612
+ this._stretchTabs = coerceBooleanProperty(v);
1613
+ }
1614
+ get animationDuration() {
1615
+ return this._animationDuration;
1616
+ }
1617
+ set animationDuration(value) {
1618
+ this._animationDuration = /^\d+$/.test(value + '') ? value + 'ms' : value;
1619
+ }
1684
1620
  /** Background color of the tab nav. */
1685
1621
  get backgroundColor() {
1686
1622
  return this._backgroundColor;
@@ -1700,16 +1636,29 @@ class _MatTabNavBase extends MatPaginatedTabHeader {
1700
1636
  set disableRipple(value) {
1701
1637
  this._disableRipple = coerceBooleanProperty(value);
1702
1638
  }
1703
- constructor(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode) {
1639
+ constructor(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode, defaultConfig) {
1704
1640
  super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode);
1641
+ this._fitInkBarToContent = new BehaviorSubject(false);
1642
+ this._stretchTabs = true;
1705
1643
  this._disableRipple = false;
1706
1644
  /** Theme color of the nav bar. */
1707
1645
  this.color = 'primary';
1646
+ this.disablePagination =
1647
+ defaultConfig && defaultConfig.disablePagination != null
1648
+ ? defaultConfig.disablePagination
1649
+ : false;
1650
+ this.fitInkBarToContent =
1651
+ defaultConfig && defaultConfig.fitInkBarToContent != null
1652
+ ? defaultConfig.fitInkBarToContent
1653
+ : false;
1654
+ this.stretchTabs =
1655
+ defaultConfig && defaultConfig.stretchTabs != null ? defaultConfig.stretchTabs : true;
1708
1656
  }
1709
1657
  _itemSelected() {
1710
1658
  // noop
1711
1659
  }
1712
1660
  ngAfterContentInit() {
1661
+ this._inkBar = new MatInkBar(this._items);
1713
1662
  // We need this to run before the `changes` subscription in parent to ensure that the
1714
1663
  // selectedIndex is up-to-date by the time the super class starts looking for it.
1715
1664
  this._items.changes.pipe(startWith(null), takeUntil(this._destroyed)).subscribe(() => {
@@ -1717,6 +1666,12 @@ class _MatTabNavBase extends MatPaginatedTabHeader {
1717
1666
  });
1718
1667
  super.ngAfterContentInit();
1719
1668
  }
1669
+ ngAfterViewInit() {
1670
+ if (!this.tabPanel && (typeof ngDevMode === 'undefined' || ngDevMode)) {
1671
+ throw new Error('A mat-tab-nav-panel must be specified via [tabPanel].');
1672
+ }
1673
+ super.ngAfterViewInit();
1674
+ }
1720
1675
  /** Notifies the component that the active link has been changed. */
1721
1676
  updateActiveLink() {
1722
1677
  if (!this._items) {
@@ -1740,19 +1695,46 @@ class _MatTabNavBase extends MatPaginatedTabHeader {
1740
1695
  _getRole() {
1741
1696
  return this.tabPanel ? 'tablist' : this._elementRef.nativeElement.getAttribute('role');
1742
1697
  }
1743
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabNavBase, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1744
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: _MatTabNavBase, inputs: { backgroundColor: "backgroundColor", disableRipple: "disableRipple", color: "color", tabPanel: "tabPanel" }, usesInheritance: true, ngImport: i0 }); }
1698
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabNav, deps: [{ token: i0.ElementRef }, { token: i2.Directionality, optional: true }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.ViewportRuler }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1699
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabNav, selector: "[mat-tab-nav-bar]", inputs: { color: "color", fitInkBarToContent: "fitInkBarToContent", stretchTabs: ["mat-stretch-tabs", "stretchTabs"], animationDuration: "animationDuration", backgroundColor: "backgroundColor", disableRipple: "disableRipple", tabPanel: "tabPanel" }, host: { properties: { "attr.role": "_getRole()", "class.mat-mdc-tab-header-pagination-controls-enabled": "_showPaginationControls", "class.mat-mdc-tab-header-rtl": "_getLayoutDirection() == 'rtl'", "class.mat-mdc-tab-nav-bar-stretch-tabs": "stretchTabs", "class.mat-primary": "color !== \"warn\" && color !== \"accent\"", "class.mat-accent": "color === \"accent\"", "class.mat-warn": "color === \"warn\"", "class._mat-animation-noopable": "_animationMode === \"NoopAnimations\"", "style.--mat-tab-animation-duration": "animationDuration" }, classAttribute: "mat-mdc-tab-nav-bar mat-mdc-tab-header" }, queries: [{ propertyName: "_items", predicate: i0.forwardRef(function () { return MatTabLink; }), descendants: true }], viewQueries: [{ propertyName: "_tabListContainer", first: true, predicate: ["tabListContainer"], descendants: true, static: true }, { propertyName: "_tabList", first: true, predicate: ["tabList"], descendants: true, static: true }, { propertyName: "_tabListInner", first: true, predicate: ["tabListInner"], descendants: true, static: true }, { propertyName: "_nextPaginator", first: true, predicate: ["nextPaginator"], descendants: true }, { propertyName: "_previousPaginator", first: true, predicate: ["previousPaginator"], descendants: true }], exportAs: ["matTabNavBar", "matTabNav"], usesInheritance: true, ngImport: i0, template: "<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before\"\n #previousPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n tabindex=\"-1\"\n [matRippleDisabled]=\"_disableScrollBefore || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollBefore\"\n [disabled]=\"_disableScrollBefore || null\"\n (click)=\"_handlePaginatorClick('before')\"\n (mousedown)=\"_handlePaginatorPress('before', $event)\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n\n<div class=\"mat-mdc-tab-link-container\" #tabListContainer (keydown)=\"_handleKeydown($event)\">\n <div class=\"mat-mdc-tab-list\" #tabList (cdkObserveContent)=\"_onContentChanges()\">\n <div class=\"mat-mdc-tab-links\" #tabListInner>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after\"\n #nextPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollAfter\"\n [disabled]=\"_disableScrollAfter || null\"\n tabindex=\"-1\"\n (mousedown)=\"_handlePaginatorPress('after', $event)\"\n (click)=\"_handlePaginatorClick('after')\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n", styles: [".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"], dependencies: [{ kind: "directive", type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: i5.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
1745
1700
  }
1746
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabNavBase, decorators: [{
1747
- type: Directive
1748
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{
1701
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabNav, decorators: [{
1702
+ type: Component,
1703
+ args: [{ selector: '[mat-tab-nav-bar]', exportAs: 'matTabNavBar, matTabNav', inputs: ['color'], host: {
1704
+ '[attr.role]': '_getRole()',
1705
+ 'class': 'mat-mdc-tab-nav-bar mat-mdc-tab-header',
1706
+ '[class.mat-mdc-tab-header-pagination-controls-enabled]': '_showPaginationControls',
1707
+ '[class.mat-mdc-tab-header-rtl]': "_getLayoutDirection() == 'rtl'",
1708
+ '[class.mat-mdc-tab-nav-bar-stretch-tabs]': 'stretchTabs',
1709
+ '[class.mat-primary]': 'color !== "warn" && color !== "accent"',
1710
+ '[class.mat-accent]': 'color === "accent"',
1711
+ '[class.mat-warn]': 'color === "warn"',
1712
+ '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
1713
+ '[style.--mat-tab-animation-duration]': 'animationDuration',
1714
+ }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before\"\n #previousPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n tabindex=\"-1\"\n [matRippleDisabled]=\"_disableScrollBefore || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollBefore\"\n [disabled]=\"_disableScrollBefore || null\"\n (click)=\"_handlePaginatorClick('before')\"\n (mousedown)=\"_handlePaginatorPress('before', $event)\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n\n<div class=\"mat-mdc-tab-link-container\" #tabListContainer (keydown)=\"_handleKeydown($event)\">\n <div class=\"mat-mdc-tab-list\" #tabList (cdkObserveContent)=\"_onContentChanges()\">\n <div class=\"mat-mdc-tab-links\" #tabListInner>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after\"\n #nextPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollAfter\"\n [disabled]=\"_disableScrollAfter || null\"\n tabindex=\"-1\"\n (mousedown)=\"_handlePaginatorPress('after', $event)\"\n (click)=\"_handlePaginatorClick('after')\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n", styles: [".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"] }]
1715
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.Directionality, decorators: [{
1749
1716
  type: Optional
1750
- }] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i3.Platform }, { type: undefined, decorators: [{
1717
+ }] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.ViewportRuler }, { type: i3.Platform }, { type: undefined, decorators: [{
1751
1718
  type: Optional
1752
1719
  }, {
1753
1720
  type: Inject,
1754
1721
  args: [ANIMATION_MODULE_TYPE]
1755
- }] }]; }, propDecorators: { backgroundColor: [{
1722
+ }] }, { type: undefined, decorators: [{
1723
+ type: Optional
1724
+ }, {
1725
+ type: Inject,
1726
+ args: [MAT_TABS_CONFIG]
1727
+ }] }]; }, propDecorators: { fitInkBarToContent: [{
1728
+ type: Input
1729
+ }], stretchTabs: [{
1730
+ type: Input,
1731
+ args: ['mat-stretch-tabs']
1732
+ }], animationDuration: [{
1733
+ type: Input
1734
+ }], _items: [{
1735
+ type: ContentChildren,
1736
+ args: [forwardRef(() => MatTabLink), { descendants: true }]
1737
+ }], backgroundColor: [{
1756
1738
  type: Input
1757
1739
  }], disableRipple: [{
1758
1740
  type: Input
@@ -1760,12 +1742,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1760
1742
  type: Input
1761
1743
  }], tabPanel: [{
1762
1744
  type: Input
1745
+ }], _tabListContainer: [{
1746
+ type: ViewChild,
1747
+ args: ['tabListContainer', { static: true }]
1748
+ }], _tabList: [{
1749
+ type: ViewChild,
1750
+ args: ['tabList', { static: true }]
1751
+ }], _tabListInner: [{
1752
+ type: ViewChild,
1753
+ args: ['tabListInner', { static: true }]
1754
+ }], _nextPaginator: [{
1755
+ type: ViewChild,
1756
+ args: ['nextPaginator']
1757
+ }], _previousPaginator: [{
1758
+ type: ViewChild,
1759
+ args: ['previousPaginator']
1763
1760
  }] } });
1764
1761
  // Boilerplate for applying mixins to MatTabLink.
1765
- const _MatTabLinkMixinBase = mixinTabIndex(mixinDisableRipple(mixinDisabled(class {
1766
- })));
1767
- /** Base class with all of the `MatTabLink` functionality. */
1768
- class _MatTabLinkBase extends _MatTabLinkMixinBase {
1762
+ const _MatTabLinkMixinBase = mixinInkBarItem(mixinTabIndex(mixinDisableRipple(mixinDisabled(class {
1763
+ }))));
1764
+ /**
1765
+ * Link inside a `mat-tab-nav-bar`.
1766
+ */
1767
+ class MatTabLink extends _MatTabLinkMixinBase {
1769
1768
  /** Whether the link is active. */
1770
1769
  get active() {
1771
1770
  return this._isActive;
@@ -1793,6 +1792,7 @@ class _MatTabLinkBase extends _MatTabLinkMixinBase {
1793
1792
  this._tabNavBar = _tabNavBar;
1794
1793
  this.elementRef = elementRef;
1795
1794
  this._focusMonitor = _focusMonitor;
1795
+ this._destroyed = new Subject();
1796
1796
  /** Whether the tab link is active or not. */
1797
1797
  this._isActive = false;
1798
1798
  /** Unique id for the tab. */
@@ -1802,6 +1802,11 @@ class _MatTabLinkBase extends _MatTabLinkMixinBase {
1802
1802
  if (animationMode === 'NoopAnimations') {
1803
1803
  this.rippleConfig.animation = { enterDuration: 0, exitDuration: 0 };
1804
1804
  }
1805
+ _tabNavBar._fitInkBarToContent
1806
+ .pipe(takeUntil(this._destroyed))
1807
+ .subscribe(fitInkBarToContent => {
1808
+ this.fitInkBarToContent = fitInkBarToContent;
1809
+ });
1805
1810
  }
1806
1811
  /** Focuses the tab link. */
1807
1812
  focus() {
@@ -1811,6 +1816,9 @@ class _MatTabLinkBase extends _MatTabLinkMixinBase {
1811
1816
  this._focusMonitor.monitor(this.elementRef);
1812
1817
  }
1813
1818
  ngOnDestroy() {
1819
+ this._destroyed.next();
1820
+ this._destroyed.complete();
1821
+ super.ngOnDestroy();
1814
1822
  this._focusMonitor.stopMonitoring(this.elementRef);
1815
1823
  }
1816
1824
  _handleFocus() {
@@ -1853,154 +1861,8 @@ class _MatTabLinkBase extends _MatTabLinkMixinBase {
1853
1861
  return this.tabIndex;
1854
1862
  }
1855
1863
  }
1856
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabLinkBase, deps: [{ token: _MatTabNavBase }, { token: i0.ElementRef }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }, { token: i4.FocusMonitor }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1857
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: _MatTabLinkBase, inputs: { active: "active", id: "id" }, usesInheritance: true, ngImport: i0 }); }
1858
- }
1859
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: _MatTabLinkBase, decorators: [{
1860
- type: Directive
1861
- }], ctorParameters: function () { return [{ type: _MatTabNavBase }, { type: i0.ElementRef }, { type: undefined, decorators: [{
1862
- type: Optional
1863
- }, {
1864
- type: Inject,
1865
- args: [MAT_RIPPLE_GLOBAL_OPTIONS]
1866
- }] }, { type: undefined, decorators: [{
1867
- type: Attribute,
1868
- args: ['tabindex']
1869
- }] }, { type: i4.FocusMonitor }, { type: undefined, decorators: [{
1870
- type: Optional
1871
- }, {
1872
- type: Inject,
1873
- args: [ANIMATION_MODULE_TYPE]
1874
- }] }]; }, propDecorators: { active: [{
1875
- type: Input
1876
- }], id: [{
1877
- type: Input
1878
- }] } });
1879
- const _MatTabLinkBaseWithInkBarItem = mixinInkBarItem(_MatTabLinkBase);
1880
- /**
1881
- * Navigation component matching the styles of the tab group header.
1882
- * Provides anchored navigation with animated ink bar.
1883
- */
1884
- class MatTabNav extends _MatTabNavBase {
1885
- /** Whether the ink bar should fit its width to the size of the tab label content. */
1886
- get fitInkBarToContent() {
1887
- return this._fitInkBarToContent.value;
1888
- }
1889
- set fitInkBarToContent(v) {
1890
- this._fitInkBarToContent.next(coerceBooleanProperty(v));
1891
- this._changeDetectorRef.markForCheck();
1892
- }
1893
- /** Whether tabs should be stretched to fill the header. */
1894
- get stretchTabs() {
1895
- return this._stretchTabs;
1896
- }
1897
- set stretchTabs(v) {
1898
- this._stretchTabs = coerceBooleanProperty(v);
1899
- }
1900
- get animationDuration() {
1901
- return this._animationDuration;
1902
- }
1903
- set animationDuration(value) {
1904
- this._animationDuration = /^\d+$/.test(value + '') ? value + 'ms' : value;
1905
- }
1906
- constructor(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode, defaultConfig) {
1907
- super(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode);
1908
- this._fitInkBarToContent = new BehaviorSubject(false);
1909
- this._stretchTabs = true;
1910
- this.disablePagination =
1911
- defaultConfig && defaultConfig.disablePagination != null
1912
- ? defaultConfig.disablePagination
1913
- : false;
1914
- this.fitInkBarToContent =
1915
- defaultConfig && defaultConfig.fitInkBarToContent != null
1916
- ? defaultConfig.fitInkBarToContent
1917
- : false;
1918
- this.stretchTabs =
1919
- defaultConfig && defaultConfig.stretchTabs != null ? defaultConfig.stretchTabs : true;
1920
- }
1921
- ngAfterContentInit() {
1922
- this._inkBar = new MatInkBar(this._items);
1923
- super.ngAfterContentInit();
1924
- }
1925
- ngAfterViewInit() {
1926
- if (!this.tabPanel && (typeof ngDevMode === 'undefined' || ngDevMode)) {
1927
- throw new Error('A mat-tab-nav-panel must be specified via [tabPanel].');
1928
- }
1929
- super.ngAfterViewInit();
1930
- }
1931
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabNav, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1932
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabNav, selector: "[mat-tab-nav-bar]", inputs: { color: "color", fitInkBarToContent: "fitInkBarToContent", stretchTabs: ["mat-stretch-tabs", "stretchTabs"], animationDuration: "animationDuration" }, host: { properties: { "attr.role": "_getRole()", "class.mat-mdc-tab-header-pagination-controls-enabled": "_showPaginationControls", "class.mat-mdc-tab-header-rtl": "_getLayoutDirection() == 'rtl'", "class.mat-mdc-tab-nav-bar-stretch-tabs": "stretchTabs", "class.mat-primary": "color !== \"warn\" && color !== \"accent\"", "class.mat-accent": "color === \"accent\"", "class.mat-warn": "color === \"warn\"", "class._mat-animation-noopable": "_animationMode === \"NoopAnimations\"", "style.--mat-tab-animation-duration": "animationDuration" }, classAttribute: "mat-mdc-tab-nav-bar mat-mdc-tab-header" }, queries: [{ propertyName: "_items", predicate: i0.forwardRef(function () { return MatTabLink; }), descendants: true }], viewQueries: [{ propertyName: "_tabListContainer", first: true, predicate: ["tabListContainer"], descendants: true, static: true }, { propertyName: "_tabList", first: true, predicate: ["tabList"], descendants: true, static: true }, { propertyName: "_tabListInner", first: true, predicate: ["tabListInner"], descendants: true, static: true }, { propertyName: "_nextPaginator", first: true, predicate: ["nextPaginator"], descendants: true }, { propertyName: "_previousPaginator", first: true, predicate: ["previousPaginator"], descendants: true }], exportAs: ["matTabNavBar", "matTabNav"], usesInheritance: true, ngImport: i0, template: "<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before\"\n #previousPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n tabindex=\"-1\"\n [matRippleDisabled]=\"_disableScrollBefore || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollBefore\"\n [disabled]=\"_disableScrollBefore || null\"\n (click)=\"_handlePaginatorClick('before')\"\n (mousedown)=\"_handlePaginatorPress('before', $event)\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n\n<div class=\"mat-mdc-tab-link-container\" #tabListContainer (keydown)=\"_handleKeydown($event)\">\n <div class=\"mat-mdc-tab-list\" #tabList (cdkObserveContent)=\"_onContentChanges()\">\n <div class=\"mat-mdc-tab-links\" #tabListInner>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after\"\n #nextPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollAfter\"\n [disabled]=\"_disableScrollAfter || null\"\n tabindex=\"-1\"\n (mousedown)=\"_handlePaginatorPress('after', $event)\"\n (click)=\"_handlePaginatorClick('after')\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n", styles: [".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"], dependencies: [{ kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: i5$1.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
1933
- }
1934
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabNav, decorators: [{
1935
- type: Component,
1936
- args: [{ selector: '[mat-tab-nav-bar]', exportAs: 'matTabNavBar, matTabNav', inputs: ['color'], host: {
1937
- '[attr.role]': '_getRole()',
1938
- 'class': 'mat-mdc-tab-nav-bar mat-mdc-tab-header',
1939
- '[class.mat-mdc-tab-header-pagination-controls-enabled]': '_showPaginationControls',
1940
- '[class.mat-mdc-tab-header-rtl]': "_getLayoutDirection() == 'rtl'",
1941
- '[class.mat-mdc-tab-nav-bar-stretch-tabs]': 'stretchTabs',
1942
- '[class.mat-primary]': 'color !== "warn" && color !== "accent"',
1943
- '[class.mat-accent]': 'color === "accent"',
1944
- '[class.mat-warn]': 'color === "warn"',
1945
- '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
1946
- '[style.--mat-tab-animation-duration]': 'animationDuration',
1947
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before\"\n #previousPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n tabindex=\"-1\"\n [matRippleDisabled]=\"_disableScrollBefore || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollBefore\"\n [disabled]=\"_disableScrollBefore || null\"\n (click)=\"_handlePaginatorClick('before')\"\n (mousedown)=\"_handlePaginatorPress('before', $event)\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n\n<div class=\"mat-mdc-tab-link-container\" #tabListContainer (keydown)=\"_handleKeydown($event)\">\n <div class=\"mat-mdc-tab-list\" #tabList (cdkObserveContent)=\"_onContentChanges()\">\n <div class=\"mat-mdc-tab-links\" #tabListInner>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<!-- TODO: this also had `mat-elevation-z4`. Figure out what we should do with it. -->\n<button class=\"mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after\"\n #nextPaginator\n aria-hidden=\"true\"\n type=\"button\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter || disableRipple\"\n [class.mat-mdc-tab-header-pagination-disabled]=\"_disableScrollAfter\"\n [disabled]=\"_disableScrollAfter || null\"\n tabindex=\"-1\"\n (mousedown)=\"_handlePaginatorPress('after', $event)\"\n (click)=\"_handlePaginatorClick('after')\"\n (touchend)=\"_stopInterval()\">\n <div class=\"mat-mdc-tab-header-pagination-chevron\"></div>\n</button>\n", styles: [".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"] }]
1948
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{
1949
- type: Optional
1950
- }] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i3.Platform }, { type: undefined, decorators: [{
1951
- type: Optional
1952
- }, {
1953
- type: Inject,
1954
- args: [ANIMATION_MODULE_TYPE]
1955
- }] }, { type: undefined, decorators: [{
1956
- type: Optional
1957
- }, {
1958
- type: Inject,
1959
- args: [MAT_TABS_CONFIG]
1960
- }] }]; }, propDecorators: { fitInkBarToContent: [{
1961
- type: Input
1962
- }], stretchTabs: [{
1963
- type: Input,
1964
- args: ['mat-stretch-tabs']
1965
- }], animationDuration: [{
1966
- type: Input
1967
- }], _items: [{
1968
- type: ContentChildren,
1969
- args: [forwardRef(() => MatTabLink), { descendants: true }]
1970
- }], _tabListContainer: [{
1971
- type: ViewChild,
1972
- args: ['tabListContainer', { static: true }]
1973
- }], _tabList: [{
1974
- type: ViewChild,
1975
- args: ['tabList', { static: true }]
1976
- }], _tabListInner: [{
1977
- type: ViewChild,
1978
- args: ['tabListInner', { static: true }]
1979
- }], _nextPaginator: [{
1980
- type: ViewChild,
1981
- args: ['nextPaginator']
1982
- }], _previousPaginator: [{
1983
- type: ViewChild,
1984
- args: ['previousPaginator']
1985
- }] } });
1986
- /**
1987
- * Link inside of a `mat-tab-nav-bar`.
1988
- */
1989
- class MatTabLink extends _MatTabLinkBaseWithInkBarItem {
1990
- constructor(tabNavBar, elementRef, globalRippleOptions, tabIndex, focusMonitor, animationMode) {
1991
- super(tabNavBar, elementRef, globalRippleOptions, tabIndex, focusMonitor, animationMode);
1992
- this._destroyed = new Subject();
1993
- tabNavBar._fitInkBarToContent.pipe(takeUntil(this._destroyed)).subscribe(fitInkBarToContent => {
1994
- this.fitInkBarToContent = fitInkBarToContent;
1995
- });
1996
- }
1997
- ngOnDestroy() {
1998
- this._destroyed.next();
1999
- this._destroyed.complete();
2000
- super.ngOnDestroy();
2001
- }
2002
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabLink, deps: [{ token: MatTabNav }, { token: i0.ElementRef }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }, { token: i4.FocusMonitor }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
2003
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: { disabled: "disabled", disableRipple: "disableRipple", tabIndex: "tabIndex", active: "active", id: "id" }, host: { listeners: { "focus": "_handleFocus()", "keydown": "_handleKeydown($event)" }, properties: { "attr.aria-controls": "_getAriaControls()", "attr.aria-current": "_getAriaCurrent()", "attr.aria-disabled": "disabled", "attr.aria-selected": "_getAriaSelected()", "attr.id": "id", "attr.tabIndex": "_getTabIndex()", "attr.role": "_getRole()", "class.mat-mdc-tab-disabled": "disabled", "class.mdc-tab--active": "active" }, classAttribute: "mdc-tab mat-mdc-tab-link mat-mdc-focus-indicator" }, exportAs: ["matTabLink"], usesInheritance: true, ngImport: i0, template: "<span class=\"mdc-tab__ripple\"></span>\n\n<div\n class=\"mat-mdc-tab-ripple\"\n mat-ripple\n [matRippleTrigger]=\"elementRef.nativeElement\"\n [matRippleDisabled]=\"rippleDisabled\"></div>\n\n<span class=\"mdc-tab__content\">\n <span class=\"mdc-tab__text-label\">\n <ng-content></ng-content>\n </span>\n</span>\n\n", styles: [".mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:\"\";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}"], dependencies: [{ kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1864
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabLink, deps: [{ token: MatTabNav }, { token: i0.ElementRef }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }, { token: i6.FocusMonitor }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1865
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: { disabled: "disabled", disableRipple: "disableRipple", tabIndex: "tabIndex", active: "active", id: "id" }, host: { listeners: { "focus": "_handleFocus()", "keydown": "_handleKeydown($event)" }, properties: { "attr.aria-controls": "_getAriaControls()", "attr.aria-current": "_getAriaCurrent()", "attr.aria-disabled": "disabled", "attr.aria-selected": "_getAriaSelected()", "attr.id": "id", "attr.tabIndex": "_getTabIndex()", "attr.role": "_getRole()", "class.mat-mdc-tab-disabled": "disabled", "class.mdc-tab--active": "active" }, classAttribute: "mdc-tab mat-mdc-tab-link mat-mdc-focus-indicator" }, exportAs: ["matTabLink"], usesInheritance: true, ngImport: i0, template: "<span class=\"mdc-tab__ripple\"></span>\n\n<div\n class=\"mat-mdc-tab-ripple\"\n mat-ripple\n [matRippleTrigger]=\"elementRef.nativeElement\"\n [matRippleDisabled]=\"rippleDisabled\"></div>\n\n<span class=\"mdc-tab__content\">\n <span class=\"mdc-tab__text-label\">\n <ng-content></ng-content>\n </span>\n</span>\n\n", styles: [".mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:\"\";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}"], dependencies: [{ kind: "directive", type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2004
1866
  }
2005
1867
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatTabLink, decorators: [{
2006
1868
  type: Component,
@@ -2026,12 +1888,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
2026
1888
  }] }, { type: undefined, decorators: [{
2027
1889
  type: Attribute,
2028
1890
  args: ['tabindex']
2029
- }] }, { type: i4.FocusMonitor }, { type: undefined, decorators: [{
1891
+ }] }, { type: i6.FocusMonitor }, { type: undefined, decorators: [{
2030
1892
  type: Optional
2031
1893
  }, {
2032
1894
  type: Inject,
2033
1895
  args: [ANIMATION_MODULE_TYPE]
2034
- }] }]; } });
1896
+ }] }]; }, propDecorators: { active: [{
1897
+ type: Input
1898
+ }], id: [{
1899
+ type: Input
1900
+ }] } });
2035
1901
  /**
2036
1902
  * Tab panel component associated with MatTabNav.
2037
1903
  */
@@ -2137,5 +2003,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
2137
2003
  * Generated bundle index. Do not edit.
2138
2004
  */
2139
2005
 
2140
- export { MAT_TAB, MAT_TABS_CONFIG, MAT_TAB_CONTENT, MAT_TAB_GROUP, MAT_TAB_LABEL, MatInkBar, MatPaginatedTabHeader, MatTab, MatTabBody, MatTabBodyPortal, MatTabChangeEvent, MatTabContent, MatTabGroup, MatTabHeader, MatTabLabel, MatTabLabelWrapper, MatTabLink, MatTabNav, MatTabNavPanel, MatTabsModule, _MAT_INK_BAR_POSITIONER, _MAT_INK_BAR_POSITIONER_FACTORY, _MatTabBase, _MatTabBodyBase, _MatTabGroupBase, _MatTabHeaderBase, _MatTabLabelWrapperBase, _MatTabLinkBase, _MatTabNavBase, matTabsAnimations };
2006
+ export { MAT_TAB, MAT_TABS_CONFIG, MAT_TAB_CONTENT, MAT_TAB_GROUP, MAT_TAB_LABEL, MatInkBar, MatPaginatedTabHeader, MatTab, MatTabBody, MatTabBodyPortal, MatTabChangeEvent, MatTabContent, MatTabGroup, MatTabHeader, MatTabLabel, MatTabLabelWrapper, MatTabLink, MatTabNav, MatTabNavPanel, MatTabsModule, _MAT_INK_BAR_POSITIONER, _MAT_INK_BAR_POSITIONER_FACTORY, matTabsAnimations };
2141
2007
  //# sourceMappingURL=tabs.mjs.map