@angular/material 16.0.0-next.3 → 16.0.0-next.5

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 (791) hide show
  1. package/autocomplete/index.d.ts +10 -5
  2. package/badge/index.d.ts +1 -1
  3. package/button/_icon-button-theme.scss +85 -35
  4. package/button/index.d.ts +52 -11
  5. package/button-toggle/index.d.ts +2 -2
  6. package/card/index.d.ts +2 -2
  7. package/checkbox/index.d.ts +2 -2
  8. package/chips/index.d.ts +9 -10
  9. package/core/index.d.ts +7 -7
  10. package/core/mdc-helpers/_mdc-helpers.scss +31 -3
  11. package/core/option/_option-theme.scss +3 -2
  12. package/core/tokens/_token-utils.scss +1 -1
  13. package/core/tokens/m2/mat/_radio.scss +46 -0
  14. package/core/tokens/m2/mdc/_dialog.scss +115 -0
  15. package/core/tokens/m2/mdc/_icon-button.scss +79 -0
  16. package/core/tokens/m2/mdc/_linear-progress.scss +60 -0
  17. package/core/tokens/m2/mdc/_radio.scss +94 -0
  18. package/core/typography/_typography-utils.scss +7 -5
  19. package/datepicker/index.d.ts +13 -13
  20. package/dialog/_dialog-theme.scss +5 -37
  21. package/dialog/index.d.ts +3 -3
  22. package/divider/index.d.ts +1 -1
  23. package/esm2020/autocomplete/autocomplete-origin.mjs +6 -6
  24. package/esm2020/autocomplete/autocomplete-trigger.mjs +24 -12
  25. package/esm2020/autocomplete/autocomplete.mjs +32 -10
  26. package/esm2020/autocomplete/module.mjs +4 -4
  27. package/esm2020/badge/badge-module.mjs +4 -4
  28. package/esm2020/badge/badge.mjs +3 -3
  29. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +3 -3
  30. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +4 -4
  31. package/esm2020/bottom-sheet/bottom-sheet.mjs +3 -3
  32. package/esm2020/button/button-base.mjs +39 -14
  33. package/esm2020/button/button-lazy-loader.mjs +114 -0
  34. package/esm2020/button/button.mjs +9 -10
  35. package/esm2020/button/fab.mjs +17 -18
  36. package/esm2020/button/icon-button.mjs +21 -10
  37. package/esm2020/button/module.mjs +4 -4
  38. package/esm2020/button-toggle/button-toggle-module.mjs +4 -4
  39. package/esm2020/button-toggle/button-toggle.mjs +6 -6
  40. package/esm2020/card/card.mjs +42 -42
  41. package/esm2020/card/module.mjs +4 -4
  42. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  43. package/esm2020/checkbox/checkbox.mjs +8 -8
  44. package/esm2020/checkbox/module.mjs +8 -8
  45. package/esm2020/chips/chip-action.mjs +3 -3
  46. package/esm2020/chips/chip-edit-input.mjs +3 -3
  47. package/esm2020/chips/chip-grid.mjs +3 -3
  48. package/esm2020/chips/chip-icons.mjs +9 -9
  49. package/esm2020/chips/chip-input.mjs +6 -12
  50. package/esm2020/chips/chip-listbox.mjs +3 -3
  51. package/esm2020/chips/chip-option.mjs +3 -3
  52. package/esm2020/chips/chip-row.mjs +3 -3
  53. package/esm2020/chips/chip-set.mjs +3 -3
  54. package/esm2020/chips/chip.mjs +3 -3
  55. package/esm2020/chips/module.mjs +4 -4
  56. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  57. package/esm2020/core/datetime/index.mjs +8 -8
  58. package/esm2020/core/datetime/native-date-adapter.mjs +3 -3
  59. package/esm2020/core/error/error-options.mjs +6 -6
  60. package/esm2020/core/line/line.mjs +7 -7
  61. package/esm2020/core/option/index.mjs +4 -4
  62. package/esm2020/core/option/optgroup.mjs +6 -6
  63. package/esm2020/core/option/option.mjs +7 -7
  64. package/esm2020/core/ripple/index.mjs +4 -4
  65. package/esm2020/core/ripple/ripple.mjs +5 -5
  66. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
  67. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  68. package/esm2020/core/version.mjs +1 -1
  69. package/esm2020/datepicker/calendar-body.mjs +5 -5
  70. package/esm2020/datepicker/calendar.mjs +6 -6
  71. package/esm2020/datepicker/date-range-input-parts.mjs +9 -9
  72. package/esm2020/datepicker/date-range-input.mjs +3 -3
  73. package/esm2020/datepicker/date-range-picker.mjs +3 -3
  74. package/esm2020/datepicker/date-range-selection-strategy.mjs +3 -3
  75. package/esm2020/datepicker/date-selection-model.mjs +9 -9
  76. package/esm2020/datepicker/datepicker-actions.mjs +9 -9
  77. package/esm2020/datepicker/datepicker-base.mjs +6 -6
  78. package/esm2020/datepicker/datepicker-input-base.mjs +3 -3
  79. package/esm2020/datepicker/datepicker-input.mjs +3 -3
  80. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  81. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  82. package/esm2020/datepicker/datepicker-toggle.mjs +6 -6
  83. package/esm2020/datepicker/datepicker.mjs +3 -3
  84. package/esm2020/datepicker/month-view.mjs +3 -3
  85. package/esm2020/datepicker/multi-year-view.mjs +3 -3
  86. package/esm2020/datepicker/year-view.mjs +3 -3
  87. package/esm2020/dialog/dialog-container.mjs +7 -7
  88. package/esm2020/dialog/dialog-content-directives.mjs +12 -12
  89. package/esm2020/dialog/dialog.mjs +6 -6
  90. package/esm2020/dialog/module.mjs +4 -4
  91. package/esm2020/divider/divider-module.mjs +4 -4
  92. package/esm2020/divider/divider.mjs +3 -3
  93. package/esm2020/expansion/accordion.mjs +3 -3
  94. package/esm2020/expansion/expansion-module.mjs +4 -4
  95. package/esm2020/expansion/expansion-panel-content.mjs +3 -3
  96. package/esm2020/expansion/expansion-panel-header.mjs +9 -9
  97. package/esm2020/expansion/expansion-panel.mjs +6 -6
  98. package/esm2020/form-field/directives/error.mjs +3 -3
  99. package/esm2020/form-field/directives/floating-label.mjs +3 -3
  100. package/esm2020/form-field/directives/hint.mjs +3 -3
  101. package/esm2020/form-field/directives/label.mjs +3 -3
  102. package/esm2020/form-field/directives/line-ripple.mjs +3 -3
  103. package/esm2020/form-field/directives/notched-outline.mjs +3 -3
  104. package/esm2020/form-field/directives/prefix.mjs +3 -3
  105. package/esm2020/form-field/directives/suffix.mjs +3 -3
  106. package/esm2020/form-field/form-field-control.mjs +3 -3
  107. package/esm2020/form-field/form-field.mjs +3 -3
  108. package/esm2020/form-field/module.mjs +4 -4
  109. package/esm2020/grid-list/grid-list-module.mjs +4 -4
  110. package/esm2020/grid-list/grid-list.mjs +3 -3
  111. package/esm2020/grid-list/grid-tile.mjs +15 -15
  112. package/esm2020/icon/icon-module.mjs +4 -4
  113. package/esm2020/icon/icon-registry.mjs +3 -3
  114. package/esm2020/icon/icon.mjs +3 -3
  115. package/esm2020/icon/testing/fake-icon-registry.mjs +7 -7
  116. package/esm2020/input/input.mjs +3 -3
  117. package/esm2020/input/module.mjs +4 -4
  118. package/esm2020/legacy-autocomplete/autocomplete-module.mjs +4 -4
  119. package/esm2020/legacy-autocomplete/autocomplete-origin.mjs +3 -3
  120. package/esm2020/legacy-autocomplete/autocomplete-trigger.mjs +3 -3
  121. package/esm2020/legacy-autocomplete/autocomplete.mjs +3 -3
  122. package/esm2020/legacy-button/button-module.mjs +4 -4
  123. package/esm2020/legacy-button/button.mjs +6 -6
  124. package/esm2020/legacy-card/card-module.mjs +4 -4
  125. package/esm2020/legacy-card/card.mjs +42 -42
  126. package/esm2020/legacy-checkbox/checkbox-module.mjs +4 -4
  127. package/esm2020/legacy-checkbox/checkbox.mjs +3 -3
  128. package/esm2020/legacy-chips/chip-input.mjs +6 -12
  129. package/esm2020/legacy-chips/chip-list.mjs +3 -3
  130. package/esm2020/legacy-chips/chip.mjs +12 -12
  131. package/esm2020/legacy-chips/chips-module.mjs +4 -4
  132. package/esm2020/legacy-core/option/index.mjs +4 -4
  133. package/esm2020/legacy-core/option/optgroup.mjs +3 -3
  134. package/esm2020/legacy-core/option/option.mjs +3 -3
  135. package/esm2020/legacy-dialog/dialog-container.mjs +3 -3
  136. package/esm2020/legacy-dialog/dialog-content-directives.mjs +12 -12
  137. package/esm2020/legacy-dialog/dialog-module.mjs +4 -4
  138. package/esm2020/legacy-dialog/dialog.mjs +3 -3
  139. package/esm2020/legacy-form-field/error.mjs +3 -3
  140. package/esm2020/legacy-form-field/form-field-module.mjs +4 -4
  141. package/esm2020/legacy-form-field/form-field.mjs +3 -3
  142. package/esm2020/legacy-form-field/hint.mjs +3 -3
  143. package/esm2020/legacy-form-field/label.mjs +3 -3
  144. package/esm2020/legacy-form-field/placeholder.mjs +3 -3
  145. package/esm2020/legacy-form-field/prefix.mjs +3 -3
  146. package/esm2020/legacy-form-field/suffix.mjs +3 -3
  147. package/esm2020/legacy-input/input-module.mjs +4 -4
  148. package/esm2020/legacy-input/input.mjs +3 -3
  149. package/esm2020/legacy-list/list-module.mjs +4 -4
  150. package/esm2020/legacy-list/list.mjs +18 -18
  151. package/esm2020/legacy-list/selection-list.mjs +6 -6
  152. package/esm2020/legacy-menu/menu-content.mjs +3 -3
  153. package/esm2020/legacy-menu/menu-item.mjs +3 -3
  154. package/esm2020/legacy-menu/menu-module.mjs +4 -4
  155. package/esm2020/legacy-menu/menu-trigger.mjs +3 -3
  156. package/esm2020/legacy-menu/menu.mjs +3 -3
  157. package/esm2020/legacy-paginator/paginator-module.mjs +4 -4
  158. package/esm2020/legacy-paginator/paginator.mjs +3 -3
  159. package/esm2020/legacy-progress-bar/progress-bar-module.mjs +4 -4
  160. package/esm2020/legacy-progress-bar/progress-bar.mjs +3 -3
  161. package/esm2020/legacy-progress-spinner/progress-spinner-module.mjs +4 -4
  162. package/esm2020/legacy-progress-spinner/progress-spinner.mjs +3 -3
  163. package/esm2020/legacy-radio/radio-module.mjs +4 -4
  164. package/esm2020/legacy-radio/radio.mjs +6 -6
  165. package/esm2020/legacy-select/select-module.mjs +4 -4
  166. package/esm2020/legacy-select/select.mjs +6 -6
  167. package/esm2020/legacy-slide-toggle/slide-toggle-module.mjs +4 -4
  168. package/esm2020/legacy-slide-toggle/slide-toggle.mjs +3 -3
  169. package/esm2020/legacy-slider/slider-module.mjs +4 -4
  170. package/esm2020/legacy-slider/slider.mjs +3 -3
  171. package/esm2020/legacy-snack-bar/simple-snack-bar.mjs +3 -3
  172. package/esm2020/legacy-snack-bar/snack-bar-container.mjs +3 -3
  173. package/esm2020/legacy-snack-bar/snack-bar-module.mjs +4 -4
  174. package/esm2020/legacy-snack-bar/snack-bar.mjs +3 -3
  175. package/esm2020/legacy-table/cell.mjs +21 -21
  176. package/esm2020/legacy-table/row.mjs +21 -21
  177. package/esm2020/legacy-table/table-module.mjs +4 -4
  178. package/esm2020/legacy-table/table.mjs +6 -6
  179. package/esm2020/legacy-table/text-column.mjs +3 -3
  180. package/esm2020/legacy-tabs/ink-bar.mjs +3 -3
  181. package/esm2020/legacy-tabs/tab-body.mjs +6 -6
  182. package/esm2020/legacy-tabs/tab-content.mjs +3 -3
  183. package/esm2020/legacy-tabs/tab-group.mjs +3 -3
  184. package/esm2020/legacy-tabs/tab-header.mjs +3 -3
  185. package/esm2020/legacy-tabs/tab-label-wrapper.mjs +3 -3
  186. package/esm2020/legacy-tabs/tab-label.mjs +3 -3
  187. package/esm2020/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
  188. package/esm2020/legacy-tabs/tab.mjs +3 -3
  189. package/esm2020/legacy-tabs/tabs-module.mjs +4 -4
  190. package/esm2020/legacy-tooltip/tooltip-module.mjs +4 -4
  191. package/esm2020/legacy-tooltip/tooltip.mjs +9 -11
  192. package/esm2020/list/action-list.mjs +3 -3
  193. package/esm2020/list/list-base.mjs +6 -6
  194. package/esm2020/list/list-item-sections.mjs +18 -18
  195. package/esm2020/list/list-module.mjs +4 -4
  196. package/esm2020/list/list-option.mjs +5 -5
  197. package/esm2020/list/list.mjs +6 -6
  198. package/esm2020/list/nav-list.mjs +3 -3
  199. package/esm2020/list/selection-list.mjs +3 -3
  200. package/esm2020/list/subheader.mjs +3 -3
  201. package/esm2020/menu/menu-content.mjs +6 -6
  202. package/esm2020/menu/menu-item.mjs +3 -3
  203. package/esm2020/menu/menu-trigger.mjs +6 -6
  204. package/esm2020/menu/menu.mjs +14 -17
  205. package/esm2020/menu/module.mjs +4 -4
  206. package/esm2020/paginator/module.mjs +4 -4
  207. package/esm2020/paginator/paginator-intl.mjs +3 -3
  208. package/esm2020/paginator/paginator.mjs +6 -6
  209. package/esm2020/progress-bar/module.mjs +4 -4
  210. package/esm2020/progress-bar/progress-bar.mjs +4 -4
  211. package/esm2020/progress-spinner/module.mjs +4 -4
  212. package/esm2020/progress-spinner/progress-spinner.mjs +3 -3
  213. package/esm2020/radio/module.mjs +4 -4
  214. package/esm2020/radio/radio.mjs +14 -14
  215. package/esm2020/select/module.mjs +4 -4
  216. package/esm2020/select/select.mjs +52 -13
  217. package/esm2020/sidenav/drawer.mjs +9 -9
  218. package/esm2020/sidenav/sidenav-module.mjs +4 -4
  219. package/esm2020/sidenav/sidenav.mjs +9 -9
  220. package/esm2020/slide-toggle/module.mjs +8 -8
  221. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +3 -3
  222. package/esm2020/slide-toggle/slide-toggle.mjs +8 -8
  223. package/esm2020/slider/module.mjs +4 -4
  224. package/esm2020/slider/slider-input.mjs +6 -6
  225. package/esm2020/slider/slider-thumb.mjs +3 -3
  226. package/esm2020/slider/slider.mjs +3 -3
  227. package/esm2020/snack-bar/module.mjs +4 -4
  228. package/esm2020/snack-bar/simple-snack-bar.mjs +3 -3
  229. package/esm2020/snack-bar/snack-bar-container.mjs +6 -6
  230. package/esm2020/snack-bar/snack-bar-content.mjs +9 -9
  231. package/esm2020/snack-bar/snack-bar.mjs +6 -6
  232. package/esm2020/sort/sort-header-intl.mjs +3 -3
  233. package/esm2020/sort/sort-header.mjs +3 -3
  234. package/esm2020/sort/sort-module.mjs +4 -4
  235. package/esm2020/sort/sort.mjs +4 -5
  236. package/esm2020/stepper/step-content.mjs +3 -3
  237. package/esm2020/stepper/step-header.mjs +3 -3
  238. package/esm2020/stepper/step-label.mjs +3 -3
  239. package/esm2020/stepper/stepper-button.mjs +6 -6
  240. package/esm2020/stepper/stepper-icon.mjs +3 -3
  241. package/esm2020/stepper/stepper-intl.mjs +3 -3
  242. package/esm2020/stepper/stepper-module.mjs +4 -4
  243. package/esm2020/stepper/stepper.mjs +6 -6
  244. package/esm2020/table/cell.mjs +21 -21
  245. package/esm2020/table/module.mjs +4 -4
  246. package/esm2020/table/row.mjs +21 -21
  247. package/esm2020/table/table.mjs +6 -6
  248. package/esm2020/table/text-column.mjs +3 -3
  249. package/esm2020/tabs/module.mjs +4 -4
  250. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  251. package/esm2020/tabs/tab-body.mjs +9 -9
  252. package/esm2020/tabs/tab-content.mjs +3 -3
  253. package/esm2020/tabs/tab-group.mjs +6 -6
  254. package/esm2020/tabs/tab-header.mjs +6 -6
  255. package/esm2020/tabs/tab-label-wrapper.mjs +6 -6
  256. package/esm2020/tabs/tab-label.mjs +3 -3
  257. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +15 -15
  258. package/esm2020/tabs/tab.mjs +6 -6
  259. package/esm2020/toolbar/toolbar-module.mjs +4 -4
  260. package/esm2020/toolbar/toolbar.mjs +6 -6
  261. package/esm2020/tooltip/module.mjs +4 -4
  262. package/esm2020/tooltip/tooltip.mjs +27 -19
  263. package/esm2020/tree/node.mjs +9 -9
  264. package/esm2020/tree/outlet.mjs +3 -3
  265. package/esm2020/tree/padding.mjs +3 -3
  266. package/esm2020/tree/toggle.mjs +3 -3
  267. package/esm2020/tree/tree-module.mjs +4 -4
  268. package/esm2020/tree/tree.mjs +4 -4
  269. package/expansion/index.d.ts +3 -3
  270. package/fesm2015/autocomplete/testing.mjs +0 -16
  271. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  272. package/fesm2015/autocomplete.mjs +64 -81
  273. package/fesm2015/autocomplete.mjs.map +1 -1
  274. package/fesm2015/badge/testing.mjs +0 -16
  275. package/fesm2015/badge/testing.mjs.map +1 -1
  276. package/fesm2015/badge.mjs +7 -30
  277. package/fesm2015/badge.mjs.map +1 -1
  278. package/fesm2015/bottom-sheet/testing.mjs +0 -16
  279. package/fesm2015/bottom-sheet/testing.mjs.map +1 -1
  280. package/fesm2015/bottom-sheet.mjs +10 -61
  281. package/fesm2015/bottom-sheet.mjs.map +1 -1
  282. package/fesm2015/button/testing.mjs +0 -16
  283. package/fesm2015/button/testing.mjs.map +1 -1
  284. package/fesm2015/button-toggle/testing.mjs +0 -16
  285. package/fesm2015/button-toggle/testing.mjs.map +1 -1
  286. package/fesm2015/button-toggle.mjs +10 -33
  287. package/fesm2015/button-toggle.mjs.map +1 -1
  288. package/fesm2015/button.mjs +198 -86
  289. package/fesm2015/button.mjs.map +1 -1
  290. package/fesm2015/card/testing.mjs +0 -16
  291. package/fesm2015/card/testing.mjs.map +1 -1
  292. package/fesm2015/card.mjs +46 -76
  293. package/fesm2015/card.mjs.map +1 -1
  294. package/fesm2015/checkbox/testing.mjs +0 -16
  295. package/fesm2015/checkbox/testing.mjs.map +1 -1
  296. package/fesm2015/checkbox.mjs +18 -62
  297. package/fesm2015/checkbox.mjs.map +1 -1
  298. package/fesm2015/chips/testing.mjs +0 -23
  299. package/fesm2015/chips/testing.mjs.map +1 -1
  300. package/fesm2015/chips.mjs +42 -148
  301. package/fesm2015/chips.mjs.map +1 -1
  302. package/fesm2015/core/testing.mjs +0 -16
  303. package/fesm2015/core/testing.mjs.map +1 -1
  304. package/fesm2015/core.mjs +61 -247
  305. package/fesm2015/core.mjs.map +1 -1
  306. package/fesm2015/datepicker/testing.mjs +0 -16
  307. package/fesm2015/datepicker/testing.mjs.map +1 -1
  308. package/fesm2015/datepicker.mjs +83 -239
  309. package/fesm2015/datepicker.mjs.map +1 -1
  310. package/fesm2015/dialog/testing.mjs +0 -23
  311. package/fesm2015/dialog/testing.mjs.map +1 -1
  312. package/fesm2015/dialog.mjs +29 -87
  313. package/fesm2015/dialog.mjs.map +1 -1
  314. package/fesm2015/divider/testing.mjs +0 -16
  315. package/fesm2015/divider/testing.mjs.map +1 -1
  316. package/fesm2015/divider.mjs +7 -37
  317. package/fesm2015/divider.mjs.map +1 -1
  318. package/fesm2015/expansion/testing.mjs +0 -16
  319. package/fesm2015/expansion/testing.mjs.map +1 -1
  320. package/fesm2015/expansion.mjs +25 -83
  321. package/fesm2015/expansion.mjs.map +1 -1
  322. package/fesm2015/form-field/testing/control.mjs +0 -15
  323. package/fesm2015/form-field/testing/control.mjs.map +1 -1
  324. package/fesm2015/form-field/testing.mjs +1 -15
  325. package/fesm2015/form-field/testing.mjs.map +1 -1
  326. package/fesm2015/form-field.mjs +34 -127
  327. package/fesm2015/form-field.mjs.map +1 -1
  328. package/fesm2015/grid-list/testing.mjs +0 -16
  329. package/fesm2015/grid-list/testing.mjs.map +1 -1
  330. package/fesm2015/grid-list.mjs +22 -79
  331. package/fesm2015/grid-list.mjs.map +1 -1
  332. package/fesm2015/icon/testing.mjs +7 -30
  333. package/fesm2015/icon/testing.mjs.map +1 -1
  334. package/fesm2015/icon.mjs +10 -54
  335. package/fesm2015/icon.mjs.map +1 -1
  336. package/fesm2015/input/testing.mjs +0 -16
  337. package/fesm2015/input/testing.mjs.map +1 -1
  338. package/fesm2015/input.mjs +7 -51
  339. package/fesm2015/input.mjs.map +1 -1
  340. package/fesm2015/legacy-autocomplete/testing.mjs +0 -16
  341. package/fesm2015/legacy-autocomplete/testing.mjs.map +1 -1
  342. package/fesm2015/legacy-autocomplete.mjs +13 -57
  343. package/fesm2015/legacy-autocomplete.mjs.map +1 -1
  344. package/fesm2015/legacy-button/testing.mjs +0 -16
  345. package/fesm2015/legacy-button/testing.mjs.map +1 -1
  346. package/fesm2015/legacy-button.mjs +10 -33
  347. package/fesm2015/legacy-button.mjs.map +1 -1
  348. package/fesm2015/legacy-card/testing.mjs +0 -16
  349. package/fesm2015/legacy-card/testing.mjs.map +1 -1
  350. package/fesm2015/legacy-card.mjs +46 -76
  351. package/fesm2015/legacy-card.mjs.map +1 -1
  352. package/fesm2015/legacy-checkbox/testing.mjs +0 -16
  353. package/fesm2015/legacy-checkbox/testing.mjs.map +1 -1
  354. package/fesm2015/legacy-checkbox.mjs +7 -30
  355. package/fesm2015/legacy-checkbox.mjs.map +1 -1
  356. package/fesm2015/legacy-chips/testing.mjs +0 -23
  357. package/fesm2015/legacy-chips/testing.mjs.map +1 -1
  358. package/fesm2015/legacy-chips.mjs +24 -74
  359. package/fesm2015/legacy-chips.mjs.map +1 -1
  360. package/fesm2015/legacy-core/testing.mjs +0 -16
  361. package/fesm2015/legacy-core/testing.mjs.map +1 -1
  362. package/fesm2015/legacy-core.mjs +10 -47
  363. package/fesm2015/legacy-core.mjs.map +1 -1
  364. package/fesm2015/legacy-dialog/testing.mjs +0 -30
  365. package/fesm2015/legacy-dialog/testing.mjs.map +1 -1
  366. package/fesm2015/legacy-dialog.mjs +22 -80
  367. package/fesm2015/legacy-dialog.mjs.map +1 -1
  368. package/fesm2015/legacy-form-field/testing.mjs +0 -23
  369. package/fesm2015/legacy-form-field/testing.mjs.map +1 -1
  370. package/fesm2015/legacy-form-field.mjs +25 -90
  371. package/fesm2015/legacy-form-field.mjs.map +1 -1
  372. package/fesm2015/legacy-input/testing.mjs +0 -16
  373. package/fesm2015/legacy-input/testing.mjs.map +1 -1
  374. package/fesm2015/legacy-input.mjs +7 -37
  375. package/fesm2015/legacy-input.mjs.map +1 -1
  376. package/fesm2015/legacy-list/testing.mjs +0 -23
  377. package/fesm2015/legacy-list/testing.mjs.map +1 -1
  378. package/fesm2015/legacy-list.mjs +28 -65
  379. package/fesm2015/legacy-list.mjs.map +1 -1
  380. package/fesm2015/legacy-menu/testing.mjs +0 -16
  381. package/fesm2015/legacy-menu/testing.mjs.map +1 -1
  382. package/fesm2015/legacy-menu.mjs +16 -67
  383. package/fesm2015/legacy-menu.mjs.map +1 -1
  384. package/fesm2015/legacy-paginator/testing.mjs +0 -23
  385. package/fesm2015/legacy-paginator/testing.mjs.map +1 -1
  386. package/fesm2015/legacy-paginator.mjs +7 -37
  387. package/fesm2015/legacy-paginator.mjs.map +1 -1
  388. package/fesm2015/legacy-progress-bar/testing.mjs +0 -16
  389. package/fesm2015/legacy-progress-bar/testing.mjs.map +1 -1
  390. package/fesm2015/legacy-progress-bar.mjs +7 -37
  391. package/fesm2015/legacy-progress-bar.mjs.map +1 -1
  392. package/fesm2015/legacy-progress-spinner/testing.mjs +0 -16
  393. package/fesm2015/legacy-progress-spinner/testing.mjs.map +1 -1
  394. package/fesm2015/legacy-progress-spinner.mjs +7 -36
  395. package/fesm2015/legacy-progress-spinner.mjs.map +1 -1
  396. package/fesm2015/legacy-radio/testing.mjs +0 -16
  397. package/fesm2015/legacy-radio/testing.mjs.map +1 -1
  398. package/fesm2015/legacy-radio.mjs +10 -33
  399. package/fesm2015/legacy-radio.mjs.map +1 -1
  400. package/fesm2015/legacy-select/testing.mjs +0 -16
  401. package/fesm2015/legacy-select/testing.mjs.map +1 -1
  402. package/fesm2015/legacy-select.mjs +10 -40
  403. package/fesm2015/legacy-select.mjs.map +1 -1
  404. package/fesm2015/legacy-slide-toggle/testing.mjs +0 -16
  405. package/fesm2015/legacy-slide-toggle/testing.mjs.map +1 -1
  406. package/fesm2015/legacy-slide-toggle.mjs +7 -37
  407. package/fesm2015/legacy-slide-toggle.mjs.map +1 -1
  408. package/fesm2015/legacy-slider/testing.mjs +0 -16
  409. package/fesm2015/legacy-slider/testing.mjs.map +1 -1
  410. package/fesm2015/legacy-slider.mjs +7 -30
  411. package/fesm2015/legacy-slider.mjs.map +1 -1
  412. package/fesm2015/legacy-snack-bar/testing.mjs +0 -16
  413. package/fesm2015/legacy-snack-bar/testing.mjs.map +1 -1
  414. package/fesm2015/legacy-snack-bar.mjs +13 -50
  415. package/fesm2015/legacy-snack-bar.mjs.map +1 -1
  416. package/fesm2015/legacy-table/testing.mjs +0 -37
  417. package/fesm2015/legacy-table/testing.mjs.map +1 -1
  418. package/fesm2015/legacy-table.mjs +55 -113
  419. package/fesm2015/legacy-table.mjs.map +1 -1
  420. package/fesm2015/legacy-tabs/testing.mjs +0 -16
  421. package/fesm2015/legacy-tabs/testing.mjs.map +1 -1
  422. package/fesm2015/legacy-tabs.mjs +40 -120
  423. package/fesm2015/legacy-tabs.mjs.map +1 -1
  424. package/fesm2015/legacy-tooltip/testing.mjs +0 -23
  425. package/fesm2015/legacy-tooltip/testing.mjs.map +1 -1
  426. package/fesm2015/legacy-tooltip.mjs +12 -44
  427. package/fesm2015/legacy-tooltip.mjs.map +1 -1
  428. package/fesm2015/list/testing.mjs +0 -23
  429. package/fesm2015/list/testing.mjs.map +1 -1
  430. package/fesm2015/list.mjs +51 -137
  431. package/fesm2015/list.mjs.map +1 -1
  432. package/fesm2015/material.mjs +0 -7
  433. package/fesm2015/material.mjs.map +1 -1
  434. package/fesm2015/menu/testing.mjs +0 -16
  435. package/fesm2015/menu/testing.mjs.map +1 -1
  436. package/fesm2015/menu.mjs +32 -107
  437. package/fesm2015/menu.mjs.map +1 -1
  438. package/fesm2015/paginator/testing.mjs +0 -16
  439. package/fesm2015/paginator/testing.mjs.map +1 -1
  440. package/fesm2015/paginator.mjs +13 -50
  441. package/fesm2015/paginator.mjs.map +1 -1
  442. package/fesm2015/progress-bar/testing.mjs +0 -16
  443. package/fesm2015/progress-bar/testing.mjs.map +1 -1
  444. package/fesm2015/progress-bar.mjs +8 -38
  445. package/fesm2015/progress-bar.mjs.map +1 -1
  446. package/fesm2015/progress-spinner/testing.mjs +0 -16
  447. package/fesm2015/progress-spinner/testing.mjs.map +1 -1
  448. package/fesm2015/progress-spinner.mjs +7 -37
  449. package/fesm2015/progress-spinner.mjs.map +1 -1
  450. package/fesm2015/radio/testing.mjs +0 -16
  451. package/fesm2015/radio/testing.mjs.map +1 -1
  452. package/fesm2015/radio.mjs +17 -47
  453. package/fesm2015/radio.mjs.map +1 -1
  454. package/fesm2015/select/testing.mjs +0 -16
  455. package/fesm2015/select/testing.mjs.map +1 -1
  456. package/fesm2015/select.mjs +55 -60
  457. package/fesm2015/select.mjs.map +1 -1
  458. package/fesm2015/sidenav/testing.mjs +0 -30
  459. package/fesm2015/sidenav/testing.mjs.map +1 -1
  460. package/fesm2015/sidenav.mjs +22 -59
  461. package/fesm2015/sidenav.mjs.map +1 -1
  462. package/fesm2015/slide-toggle/testing.mjs +0 -16
  463. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  464. package/fesm2015/slide-toggle.mjs +18 -62
  465. package/fesm2015/slide-toggle.mjs.map +1 -1
  466. package/fesm2015/slider/testing.mjs +0 -16
  467. package/fesm2015/slider/testing.mjs.map +1 -1
  468. package/fesm2015/slider.mjs +16 -60
  469. package/fesm2015/slider.mjs.map +1 -1
  470. package/fesm2015/snack-bar/testing.mjs +0 -16
  471. package/fesm2015/snack-bar/testing.mjs.map +1 -1
  472. package/fesm2015/snack-bar.mjs +28 -93
  473. package/fesm2015/snack-bar.mjs.map +1 -1
  474. package/fesm2015/sort/testing.mjs +0 -16
  475. package/fesm2015/sort/testing.mjs.map +1 -1
  476. package/fesm2015/sort.mjs +13 -65
  477. package/fesm2015/sort.mjs.map +1 -1
  478. package/fesm2015/stepper/testing.mjs +0 -16
  479. package/fesm2015/stepper/testing.mjs.map +1 -1
  480. package/fesm2015/stepper.mjs +31 -96
  481. package/fesm2015/stepper.mjs.map +1 -1
  482. package/fesm2015/table/testing.mjs +0 -16
  483. package/fesm2015/table/testing.mjs.map +1 -1
  484. package/fesm2015/table.mjs +55 -113
  485. package/fesm2015/table.mjs.map +1 -1
  486. package/fesm2015/tabs/testing.mjs +0 -16
  487. package/fesm2015/tabs/testing.mjs.map +1 -1
  488. package/fesm2015/tabs.mjs +61 -168
  489. package/fesm2015/tabs.mjs.map +1 -1
  490. package/fesm2015/toolbar/testing.mjs +0 -16
  491. package/fesm2015/toolbar/testing.mjs.map +1 -1
  492. package/fesm2015/toolbar.mjs +10 -33
  493. package/fesm2015/toolbar.mjs.map +1 -1
  494. package/fesm2015/tooltip/testing.mjs +0 -16
  495. package/fesm2015/tooltip/testing.mjs.map +1 -1
  496. package/fesm2015/tooltip.mjs +30 -59
  497. package/fesm2015/tooltip.mjs.map +1 -1
  498. package/fesm2015/tree/testing.mjs +0 -16
  499. package/fesm2015/tree/testing.mjs.map +1 -1
  500. package/fesm2015/tree.mjs +25 -90
  501. package/fesm2015/tree.mjs.map +1 -1
  502. package/fesm2020/autocomplete/testing.mjs +0 -31
  503. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  504. package/fesm2020/autocomplete.mjs +64 -81
  505. package/fesm2020/autocomplete.mjs.map +1 -1
  506. package/fesm2020/badge/testing.mjs +0 -31
  507. package/fesm2020/badge/testing.mjs.map +1 -1
  508. package/fesm2020/badge.mjs +7 -37
  509. package/fesm2020/badge.mjs.map +1 -1
  510. package/fesm2020/bottom-sheet/testing.mjs +0 -31
  511. package/fesm2020/bottom-sheet/testing.mjs.map +1 -1
  512. package/fesm2020/bottom-sheet.mjs +10 -61
  513. package/fesm2020/bottom-sheet.mjs.map +1 -1
  514. package/fesm2020/button/testing.mjs +0 -31
  515. package/fesm2020/button/testing.mjs.map +1 -1
  516. package/fesm2020/button-toggle/testing.mjs +0 -46
  517. package/fesm2020/button-toggle/testing.mjs.map +1 -1
  518. package/fesm2020/button-toggle.mjs +10 -40
  519. package/fesm2020/button-toggle.mjs.map +1 -1
  520. package/fesm2020/button.mjs +194 -107
  521. package/fesm2020/button.mjs.map +1 -1
  522. package/fesm2020/card/testing.mjs +0 -31
  523. package/fesm2020/card/testing.mjs.map +1 -1
  524. package/fesm2020/card.mjs +46 -76
  525. package/fesm2020/card.mjs.map +1 -1
  526. package/fesm2020/checkbox/testing.mjs +0 -23
  527. package/fesm2020/checkbox/testing.mjs.map +1 -1
  528. package/fesm2020/checkbox.mjs +18 -62
  529. package/fesm2020/checkbox.mjs.map +1 -1
  530. package/fesm2020/chips/testing.mjs +0 -94
  531. package/fesm2020/chips/testing.mjs.map +1 -1
  532. package/fesm2020/chips.mjs +42 -156
  533. package/fesm2020/chips.mjs.map +1 -1
  534. package/fesm2020/core/testing.mjs +0 -46
  535. package/fesm2020/core/testing.mjs.map +1 -1
  536. package/fesm2020/core.mjs +61 -268
  537. package/fesm2020/core.mjs.map +1 -1
  538. package/fesm2020/datepicker/testing.mjs +0 -73
  539. package/fesm2020/datepicker/testing.mjs.map +1 -1
  540. package/fesm2020/datepicker.mjs +83 -246
  541. package/fesm2020/datepicker.mjs.map +1 -1
  542. package/fesm2020/dialog/testing.mjs +0 -30
  543. package/fesm2020/dialog/testing.mjs.map +1 -1
  544. package/fesm2020/dialog.mjs +29 -94
  545. package/fesm2020/dialog.mjs.map +1 -1
  546. package/fesm2020/divider/testing.mjs +0 -31
  547. package/fesm2020/divider/testing.mjs.map +1 -1
  548. package/fesm2020/divider.mjs +7 -37
  549. package/fesm2020/divider.mjs.map +1 -1
  550. package/fesm2020/expansion/testing.mjs +0 -38
  551. package/fesm2020/expansion/testing.mjs.map +1 -1
  552. package/fesm2020/expansion.mjs +25 -90
  553. package/fesm2020/expansion.mjs.map +1 -1
  554. package/fesm2020/form-field/testing/control.mjs +0 -15
  555. package/fesm2020/form-field/testing/control.mjs.map +1 -1
  556. package/fesm2020/form-field/testing.mjs +1 -37
  557. package/fesm2020/form-field/testing.mjs.map +1 -1
  558. package/fesm2020/form-field.mjs +34 -134
  559. package/fesm2020/form-field.mjs.map +1 -1
  560. package/fesm2020/grid-list/testing.mjs +0 -38
  561. package/fesm2020/grid-list/testing.mjs.map +1 -1
  562. package/fesm2020/grid-list.mjs +22 -79
  563. package/fesm2020/grid-list.mjs.map +1 -1
  564. package/fesm2020/icon/testing.mjs +7 -45
  565. package/fesm2020/icon/testing.mjs.map +1 -1
  566. package/fesm2020/icon.mjs +10 -54
  567. package/fesm2020/icon.mjs.map +1 -1
  568. package/fesm2020/input/testing.mjs +0 -53
  569. package/fesm2020/input/testing.mjs.map +1 -1
  570. package/fesm2020/input.mjs +7 -51
  571. package/fesm2020/input.mjs.map +1 -1
  572. package/fesm2020/legacy-autocomplete/testing.mjs +0 -23
  573. package/fesm2020/legacy-autocomplete/testing.mjs.map +1 -1
  574. package/fesm2020/legacy-autocomplete.mjs +13 -57
  575. package/fesm2020/legacy-autocomplete.mjs.map +1 -1
  576. package/fesm2020/legacy-button/testing.mjs +0 -23
  577. package/fesm2020/legacy-button/testing.mjs.map +1 -1
  578. package/fesm2020/legacy-button.mjs +10 -40
  579. package/fesm2020/legacy-button.mjs.map +1 -1
  580. package/fesm2020/legacy-card/testing.mjs +0 -23
  581. package/fesm2020/legacy-card/testing.mjs.map +1 -1
  582. package/fesm2020/legacy-card.mjs +46 -76
  583. package/fesm2020/legacy-card.mjs.map +1 -1
  584. package/fesm2020/legacy-checkbox/testing.mjs +0 -23
  585. package/fesm2020/legacy-checkbox/testing.mjs.map +1 -1
  586. package/fesm2020/legacy-checkbox.mjs +7 -37
  587. package/fesm2020/legacy-checkbox.mjs.map +1 -1
  588. package/fesm2020/legacy-chips/testing.mjs +0 -65
  589. package/fesm2020/legacy-chips/testing.mjs.map +1 -1
  590. package/fesm2020/legacy-chips.mjs +24 -74
  591. package/fesm2020/legacy-chips.mjs.map +1 -1
  592. package/fesm2020/legacy-core/testing.mjs +0 -46
  593. package/fesm2020/legacy-core/testing.mjs.map +1 -1
  594. package/fesm2020/legacy-core.mjs +10 -47
  595. package/fesm2020/legacy-core.mjs.map +1 -1
  596. package/fesm2020/legacy-dialog/testing.mjs +0 -30
  597. package/fesm2020/legacy-dialog/testing.mjs.map +1 -1
  598. package/fesm2020/legacy-dialog.mjs +22 -80
  599. package/fesm2020/legacy-dialog.mjs.map +1 -1
  600. package/fesm2020/legacy-form-field/testing.mjs +0 -30
  601. package/fesm2020/legacy-form-field/testing.mjs.map +1 -1
  602. package/fesm2020/legacy-form-field.mjs +25 -97
  603. package/fesm2020/legacy-form-field.mjs.map +1 -1
  604. package/fesm2020/legacy-input/testing.mjs +0 -16
  605. package/fesm2020/legacy-input/testing.mjs.map +1 -1
  606. package/fesm2020/legacy-input.mjs +7 -37
  607. package/fesm2020/legacy-input.mjs.map +1 -1
  608. package/fesm2020/legacy-list/testing.mjs +0 -58
  609. package/fesm2020/legacy-list/testing.mjs.map +1 -1
  610. package/fesm2020/legacy-list.mjs +28 -65
  611. package/fesm2020/legacy-list.mjs.map +1 -1
  612. package/fesm2020/legacy-menu/testing.mjs +0 -23
  613. package/fesm2020/legacy-menu/testing.mjs.map +1 -1
  614. package/fesm2020/legacy-menu.mjs +16 -67
  615. package/fesm2020/legacy-menu.mjs.map +1 -1
  616. package/fesm2020/legacy-paginator/testing.mjs +0 -23
  617. package/fesm2020/legacy-paginator/testing.mjs.map +1 -1
  618. package/fesm2020/legacy-paginator.mjs +7 -37
  619. package/fesm2020/legacy-paginator.mjs.map +1 -1
  620. package/fesm2020/legacy-progress-bar/testing.mjs +0 -23
  621. package/fesm2020/legacy-progress-bar/testing.mjs.map +1 -1
  622. package/fesm2020/legacy-progress-bar.mjs +7 -37
  623. package/fesm2020/legacy-progress-bar.mjs.map +1 -1
  624. package/fesm2020/legacy-progress-spinner/testing.mjs +0 -23
  625. package/fesm2020/legacy-progress-spinner/testing.mjs.map +1 -1
  626. package/fesm2020/legacy-progress-spinner.mjs +7 -36
  627. package/fesm2020/legacy-progress-spinner.mjs.map +1 -1
  628. package/fesm2020/legacy-radio/testing.mjs +0 -23
  629. package/fesm2020/legacy-radio/testing.mjs.map +1 -1
  630. package/fesm2020/legacy-radio.mjs +10 -40
  631. package/fesm2020/legacy-radio.mjs.map +1 -1
  632. package/fesm2020/legacy-select/testing.mjs +0 -23
  633. package/fesm2020/legacy-select/testing.mjs.map +1 -1
  634. package/fesm2020/legacy-select.mjs +10 -40
  635. package/fesm2020/legacy-select.mjs.map +1 -1
  636. package/fesm2020/legacy-slide-toggle/testing.mjs +0 -23
  637. package/fesm2020/legacy-slide-toggle/testing.mjs.map +1 -1
  638. package/fesm2020/legacy-slide-toggle.mjs +7 -44
  639. package/fesm2020/legacy-slide-toggle.mjs.map +1 -1
  640. package/fesm2020/legacy-slider/testing.mjs +0 -23
  641. package/fesm2020/legacy-slider/testing.mjs.map +1 -1
  642. package/fesm2020/legacy-slider.mjs +7 -37
  643. package/fesm2020/legacy-slider.mjs.map +1 -1
  644. package/fesm2020/legacy-snack-bar/testing.mjs +0 -23
  645. package/fesm2020/legacy-snack-bar/testing.mjs.map +1 -1
  646. package/fesm2020/legacy-snack-bar.mjs +13 -57
  647. package/fesm2020/legacy-snack-bar.mjs.map +1 -1
  648. package/fesm2020/legacy-table/testing.mjs +0 -37
  649. package/fesm2020/legacy-table/testing.mjs.map +1 -1
  650. package/fesm2020/legacy-table.mjs +55 -113
  651. package/fesm2020/legacy-table.mjs.map +1 -1
  652. package/fesm2020/legacy-tabs/testing.mjs +0 -51
  653. package/fesm2020/legacy-tabs/testing.mjs.map +1 -1
  654. package/fesm2020/legacy-tabs.mjs +40 -134
  655. package/fesm2020/legacy-tabs.mjs.map +1 -1
  656. package/fesm2020/legacy-tooltip/testing.mjs +0 -23
  657. package/fesm2020/legacy-tooltip/testing.mjs.map +1 -1
  658. package/fesm2020/legacy-tooltip.mjs +12 -51
  659. package/fesm2020/legacy-tooltip.mjs.map +1 -1
  660. package/fesm2020/list/testing.mjs +0 -66
  661. package/fesm2020/list/testing.mjs.map +1 -1
  662. package/fesm2020/list.mjs +51 -144
  663. package/fesm2020/list.mjs.map +1 -1
  664. package/fesm2020/material.mjs +0 -7
  665. package/fesm2020/material.mjs.map +1 -1
  666. package/fesm2020/menu/testing.mjs +0 -31
  667. package/fesm2020/menu/testing.mjs.map +1 -1
  668. package/fesm2020/menu.mjs +32 -115
  669. package/fesm2020/menu.mjs.map +1 -1
  670. package/fesm2020/paginator/testing.mjs +0 -31
  671. package/fesm2020/paginator/testing.mjs.map +1 -1
  672. package/fesm2020/paginator.mjs +13 -50
  673. package/fesm2020/paginator.mjs.map +1 -1
  674. package/fesm2020/progress-bar/testing.mjs +0 -31
  675. package/fesm2020/progress-bar/testing.mjs.map +1 -1
  676. package/fesm2020/progress-bar.mjs +8 -38
  677. package/fesm2020/progress-bar.mjs.map +1 -1
  678. package/fesm2020/progress-spinner/testing.mjs +0 -31
  679. package/fesm2020/progress-spinner/testing.mjs.map +1 -1
  680. package/fesm2020/progress-spinner.mjs +7 -37
  681. package/fesm2020/progress-spinner.mjs.map +1 -1
  682. package/fesm2020/radio/testing.mjs +0 -31
  683. package/fesm2020/radio/testing.mjs.map +1 -1
  684. package/fesm2020/radio.mjs +17 -47
  685. package/fesm2020/radio.mjs.map +1 -1
  686. package/fesm2020/select/testing.mjs +0 -31
  687. package/fesm2020/select/testing.mjs.map +1 -1
  688. package/fesm2020/select.mjs +55 -60
  689. package/fesm2020/select.mjs.map +1 -1
  690. package/fesm2020/sidenav/testing.mjs +0 -66
  691. package/fesm2020/sidenav/testing.mjs.map +1 -1
  692. package/fesm2020/sidenav.mjs +22 -59
  693. package/fesm2020/sidenav.mjs.map +1 -1
  694. package/fesm2020/slide-toggle/testing.mjs +0 -31
  695. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  696. package/fesm2020/slide-toggle.mjs +18 -62
  697. package/fesm2020/slide-toggle.mjs.map +1 -1
  698. package/fesm2020/slider/testing.mjs +0 -30
  699. package/fesm2020/slider/testing.mjs.map +1 -1
  700. package/fesm2020/slider.mjs +16 -67
  701. package/fesm2020/slider.mjs.map +1 -1
  702. package/fesm2020/snack-bar/testing.mjs +0 -31
  703. package/fesm2020/snack-bar/testing.mjs.map +1 -1
  704. package/fesm2020/snack-bar.mjs +28 -100
  705. package/fesm2020/snack-bar.mjs.map +1 -1
  706. package/fesm2020/sort/testing.mjs +0 -30
  707. package/fesm2020/sort/testing.mjs.map +1 -1
  708. package/fesm2020/sort.mjs +13 -80
  709. package/fesm2020/sort.mjs.map +1 -1
  710. package/fesm2020/stepper/testing.mjs +0 -37
  711. package/fesm2020/stepper/testing.mjs.map +1 -1
  712. package/fesm2020/stepper.mjs +31 -110
  713. package/fesm2020/stepper.mjs.map +1 -1
  714. package/fesm2020/table/testing.mjs +0 -37
  715. package/fesm2020/table/testing.mjs.map +1 -1
  716. package/fesm2020/table.mjs +55 -113
  717. package/fesm2020/table.mjs.map +1 -1
  718. package/fesm2020/tabs/testing.mjs +0 -51
  719. package/fesm2020/tabs/testing.mjs.map +1 -1
  720. package/fesm2020/tabs.mjs +61 -168
  721. package/fesm2020/tabs.mjs.map +1 -1
  722. package/fesm2020/toolbar/testing.mjs +0 -31
  723. package/fesm2020/toolbar/testing.mjs.map +1 -1
  724. package/fesm2020/toolbar.mjs +10 -40
  725. package/fesm2020/toolbar.mjs.map +1 -1
  726. package/fesm2020/tooltip/testing.mjs +0 -31
  727. package/fesm2020/tooltip/testing.mjs.map +1 -1
  728. package/fesm2020/tooltip.mjs +30 -59
  729. package/fesm2020/tooltip.mjs.map +1 -1
  730. package/fesm2020/tree/testing.mjs +0 -38
  731. package/fesm2020/tree/testing.mjs.map +1 -1
  732. package/fesm2020/tree.mjs +25 -90
  733. package/fesm2020/tree.mjs.map +1 -1
  734. package/form-field/index.d.ts +7 -7
  735. package/grid-list/index.d.ts +2 -2
  736. package/icon/index.d.ts +1 -1
  737. package/input/index.d.ts +1 -1
  738. package/legacy-autocomplete/index.d.ts +1 -1
  739. package/legacy-button/index.d.ts +2 -2
  740. package/legacy-card/index.d.ts +1 -1
  741. package/legacy-checkbox/index.d.ts +1 -1
  742. package/legacy-chips/index.d.ts +4 -5
  743. package/legacy-core/index.d.ts +1 -1
  744. package/legacy-dialog/index.d.ts +3 -3
  745. package/legacy-form-field/index.d.ts +3 -3
  746. package/legacy-list/index.d.ts +5 -5
  747. package/legacy-menu/index.d.ts +1 -1
  748. package/legacy-paginator/index.d.ts +1 -1
  749. package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +1 -1
  750. package/legacy-prebuilt-themes/legacy-indigo-pink.css +1 -1
  751. package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +1 -1
  752. package/legacy-prebuilt-themes/legacy-purple-green.css +1 -1
  753. package/legacy-progress-bar/index.d.ts +1 -1
  754. package/legacy-progress-spinner/index.d.ts +1 -1
  755. package/legacy-radio/index.d.ts +1 -1
  756. package/legacy-select/index.d.ts +1 -1
  757. package/legacy-slide-toggle/index.d.ts +1 -1
  758. package/legacy-slider/index.d.ts +1 -1
  759. package/legacy-table/index.d.ts +4 -4
  760. package/legacy-tabs/index.d.ts +7 -7
  761. package/legacy-tooltip/index.d.ts +1 -2
  762. package/list/_list-theme.scss +20 -23
  763. package/list/index.d.ts +5 -5
  764. package/menu/index.d.ts +3 -4
  765. package/package.json +2 -2
  766. package/paginator/index.d.ts +2 -2
  767. package/prebuilt-themes/deeppurple-amber.css +1 -1
  768. package/prebuilt-themes/indigo-pink.css +1 -1
  769. package/prebuilt-themes/pink-bluegrey.css +1 -1
  770. package/prebuilt-themes/purple-green.css +1 -1
  771. package/progress-bar/_progress-bar-theme.scss +17 -24
  772. package/progress-bar/index.d.ts +1 -1
  773. package/progress-spinner/index.d.ts +1 -1
  774. package/radio/_radio-theme.scss +33 -17
  775. package/radio/index.d.ts +3 -3
  776. package/schematics/ng-add/index.js +1 -1
  777. package/schematics/ng-add/index.mjs +1 -1
  778. package/schematics/ng-generate/mdc-migration/index_bundled.js +789 -360
  779. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
  780. package/select/index.d.ts +5 -3
  781. package/sidenav/index.d.ts +3 -3
  782. package/slide-toggle/index.d.ts +2 -2
  783. package/slider/index.d.ts +3 -3
  784. package/sort/index.d.ts +2 -2
  785. package/stepper/index.d.ts +6 -6
  786. package/table/index.d.ts +4 -4
  787. package/tabs/index.d.ts +14 -14
  788. package/toolbar/index.d.ts +1 -1
  789. package/tooltip/index.d.ts +1 -1
  790. package/tree/index.d.ts +5 -5
  791. package/radio/_radio-private.scss +0 -60
@@ -1,13 +1,6 @@
1
1
  import { HarnessPredicate, ComponentHarness, ContentContainerComponentHarness, parallel } from '@angular/cdk/testing';
2
2
  import { MatDividerHarness } from '@angular/material/divider/testing';
3
3
 
4
- /**
5
- * @license
6
- * Copyright Google LLC All Rights Reserved.
7
- *
8
- * Use of this source code is governed by an MIT-style license that can be
9
- * found in the LICENSE file at https://angular.io/license
10
- */
11
4
  const iconSelector = '.mat-mdc-list-item-icon';
12
5
  const avatarSelector = '.mat-mdc-list-item-avatar';
13
6
  /**
@@ -150,13 +143,6 @@ class MatListItemHarnessBase extends ContentContainerComponentHarness {
150
143
  }
151
144
  }
152
145
 
153
- /**
154
- * @license
155
- * Copyright Google LLC All Rights Reserved.
156
- *
157
- * Use of this source code is governed by an MIT-style license that can be
158
- * found in the LICENSE file at https://angular.io/license
159
- */
160
146
  /**
161
147
  * Shared behavior among the harnesses for the various `MatList` flavors.
162
148
  * @template T A constructor type for a list item harness type used by this list harness.
@@ -242,13 +228,6 @@ class MatListHarnessBase extends ComponentHarness {
242
228
  }
243
229
  }
244
230
 
245
- /**
246
- * @license
247
- * Copyright Google LLC All Rights Reserved.
248
- *
249
- * Use of this source code is governed by an MIT-style license that can be
250
- * found in the LICENSE file at https://angular.io/license
251
- */
252
231
  /** Harness for interacting with a MDC-based action-list in tests. */
253
232
  class MatActionListHarness extends MatListHarnessBase {
254
233
  constructor() {
@@ -298,13 +277,6 @@ class MatActionListItemHarness extends MatListItemHarnessBase {
298
277
  /** The selector for the host element of a `MatListItem` instance. */
299
278
  MatActionListItemHarness.hostSelector = `${MatActionListHarness.hostSelector} .mat-mdc-list-item`;
300
279
 
301
- /**
302
- * @license
303
- * Copyright Google LLC All Rights Reserved.
304
- *
305
- * Use of this source code is governed by an MIT-style license that can be
306
- * found in the LICENSE file at https://angular.io/license
307
- */
308
280
  /** Harness for interacting with a MDC-based list in tests. */
309
281
  class MatListHarness extends MatListHarnessBase {
310
282
  constructor() {
@@ -336,21 +308,6 @@ class MatListItemHarness extends MatListItemHarnessBase {
336
308
  /** The selector for the host element of a `MatListItem` instance. */
337
309
  MatListItemHarness.hostSelector = `${MatListHarness.hostSelector} .mat-mdc-list-item`;
338
310
 
339
- /**
340
- * @license
341
- * Copyright Google LLC All Rights Reserved.
342
- *
343
- * Use of this source code is governed by an MIT-style license that can be
344
- * found in the LICENSE file at https://angular.io/license
345
- */
346
-
347
- /**
348
- * @license
349
- * Copyright Google LLC All Rights Reserved.
350
- *
351
- * Use of this source code is governed by an MIT-style license that can be
352
- * found in the LICENSE file at https://angular.io/license
353
- */
354
311
  /** Harness for interacting with a MDC-based mat-nav-list in tests. */
355
312
  class MatNavListHarness extends MatListHarnessBase {
356
313
  constructor() {
@@ -410,13 +367,6 @@ class MatNavListItemHarness extends MatListItemHarnessBase {
410
367
  /** The selector for the host element of a `MatListItem` instance. */
411
368
  MatNavListItemHarness.hostSelector = `${MatNavListHarness.hostSelector} .mat-mdc-list-item`;
412
369
 
413
- /**
414
- * @license
415
- * Copyright Google LLC All Rights Reserved.
416
- *
417
- * Use of this source code is governed by an MIT-style license that can be
418
- * found in the LICENSE file at https://angular.io/license
419
- */
420
370
  /** Harness for interacting with a MDC_based selection-list in tests. */
421
371
  class MatSelectionListHarness extends MatListHarnessBase {
422
372
  constructor() {
@@ -529,21 +479,5 @@ class MatListOptionHarness extends MatListItemHarnessBase {
529
479
  /** The selector for the host element of a `MatListOption` instance. */
530
480
  MatListOptionHarness.hostSelector = '.mat-mdc-list-option';
531
481
 
532
- /**
533
- * @license
534
- * Copyright Google LLC All Rights Reserved.
535
- *
536
- * Use of this source code is governed by an MIT-style license that can be
537
- * found in the LICENSE file at https://angular.io/license
538
- */
539
-
540
- /**
541
- * @license
542
- * Copyright Google LLC All Rights Reserved.
543
- *
544
- * Use of this source code is governed by an MIT-style license that can be
545
- * found in the LICENSE file at https://angular.io/license
546
- */
547
-
548
482
  export { MatActionListHarness, MatActionListItemHarness, MatListHarness, MatListItemHarness, MatListOptionHarness, MatNavListHarness, MatNavListItemHarness, MatSelectionListHarness, MatSubheaderHarness };
549
483
  //# sourceMappingURL=testing.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/list/testing/list-item-harness-base.ts","../../../../../../../src/material/list/testing/list-harness-base.ts","../../../../../../../src/material/list/testing/action-list-harness.ts","../../../../../../../src/material/list/testing/list-harness.ts","../../../../../../../src/material/list/testing/list-harness-filters.ts","../../../../../../../src/material/list/testing/nav-list-harness.ts","../../../../../../../src/material/list/testing/selection-list-harness.ts","../../../../../../../src/material/list/testing/public-api.ts","../../../../../../../src/material/list/testing/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n ContentContainerComponentHarness,\n HarnessPredicate,\n parallel,\n} from '@angular/cdk/testing';\nimport {BaseListItemHarnessFilters, SubheaderHarnessFilters} from './list-harness-filters';\n\nconst iconSelector = '.mat-mdc-list-item-icon';\nconst avatarSelector = '.mat-mdc-list-item-avatar';\n\n/**\n * Gets a `HarnessPredicate` that applies the given `BaseListItemHarnessFilters` to the given\n * list item harness.\n * @template H The type of list item harness to create a predicate for.\n * @param harnessType A constructor for a list item harness.\n * @param options An instance of `BaseListItemHarnessFilters` to apply.\n * @return A `HarnessPredicate` for the given harness type with the given options applied.\n */\nexport function getListItemPredicate<H extends MatListItemHarnessBase>(\n harnessType: ComponentHarnessConstructor<H>,\n options: BaseListItemHarnessFilters,\n): HarnessPredicate<H> {\n return new HarnessPredicate(harnessType, options)\n .addOption('text', options.text, (harness, text) =>\n HarnessPredicate.stringMatches(harness.getText(), text),\n )\n .addOption('fullText', options.fullText, (harness, fullText) =>\n HarnessPredicate.stringMatches(harness.getFullText(), fullText),\n )\n .addOption('title', options.title, (harness, title) =>\n HarnessPredicate.stringMatches(harness.getTitle(), title),\n )\n .addOption('secondaryText', options.secondaryText, (harness, secondaryText) =>\n HarnessPredicate.stringMatches(harness.getSecondaryText(), secondaryText),\n )\n .addOption('tertiaryText', options.tertiaryText, (harness, tertiaryText) =>\n HarnessPredicate.stringMatches(harness.getTertiaryText(), tertiaryText),\n );\n}\n\n/** Harness for interacting with a MDC-based list subheader. */\nexport class MatSubheaderHarness extends ComponentHarness {\n static hostSelector = '.mat-mdc-subheader';\n\n static with(options: SubheaderHarnessFilters = {}): HarnessPredicate<MatSubheaderHarness> {\n return new HarnessPredicate(MatSubheaderHarness, options).addOption(\n 'text',\n options.text,\n (harness, text) => HarnessPredicate.stringMatches(harness.getText(), text),\n );\n }\n\n /** Gets the full text content of the list item (including text from any font icons). */\n async getText(): Promise<string> {\n return (await this.host()).text();\n }\n}\n\n/** Selectors for the various list item sections that may contain user content. */\nexport const enum MatListItemSection {\n CONTENT = '.mdc-list-item__content',\n}\n\n/** Enum describing the possible variants of a list item. */\nexport const enum MatListItemType {\n ONE_LINE_ITEM,\n TWO_LINE_ITEM,\n THREE_LINE_ITEM,\n}\n\n/**\n * Shared behavior among the harnesses for the various `MatListItem` flavors.\n * @docs-private\n */\nexport abstract class MatListItemHarnessBase extends ContentContainerComponentHarness<MatListItemSection> {\n private _lines = this.locatorForAll('.mat-mdc-list-item-line');\n private _primaryText = this.locatorFor('.mdc-list-item__primary-text');\n private _avatar = this.locatorForOptional('.mat-mdc-list-item-avatar');\n private _icon = this.locatorForOptional('.mat-mdc-list-item-icon');\n private _unscopedTextContent = this.locatorFor('.mat-mdc-list-item-unscoped-content');\n\n /** Gets the type of the list item, currently describing how many lines there are. */\n async getType(): Promise<MatListItemType> {\n const host = await this.host();\n const [isOneLine, isTwoLine] = await parallel(() => [\n host.hasClass('mdc-list-item--with-one-line'),\n host.hasClass('mdc-list-item--with-two-lines'),\n ]);\n if (isOneLine) {\n return MatListItemType.ONE_LINE_ITEM;\n } else if (isTwoLine) {\n return MatListItemType.TWO_LINE_ITEM;\n } else {\n return MatListItemType.THREE_LINE_ITEM;\n }\n }\n\n /**\n * Gets the full text content of the list item, excluding text\n * from icons and avatars.\n *\n * @deprecated Use the `getFullText` method instead.\n * @breaking-change 16.0.0\n */\n async getText(): Promise<string> {\n return this.getFullText();\n }\n\n /**\n * Gets the full text content of the list item, excluding text\n * from icons and avatars.\n */\n async getFullText(): Promise<string> {\n return (await this.host()).text({exclude: `${iconSelector}, ${avatarSelector}`});\n }\n\n /** Gets the title of the list item. */\n async getTitle(): Promise<string> {\n return (await this._primaryText()).text();\n }\n\n /** Whether the list item is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).hasClass('mdc-list-item--disabled');\n }\n\n /**\n * Gets the secondary line text of the list item. Null if the list item\n * does not have a secondary line.\n */\n async getSecondaryText(): Promise<string | null> {\n const type = await this.getType();\n if (type === MatListItemType.ONE_LINE_ITEM) {\n return null;\n }\n\n const [lines, unscopedTextContent] = await parallel(() => [\n this._lines(),\n this._unscopedTextContent(),\n ]);\n\n // If there is no explicit line for the secondary text, the unscoped text content\n // is rendered as the secondary text (with potential text wrapping enabled).\n if (lines.length >= 1) {\n return lines[0].text();\n } else {\n return unscopedTextContent.text();\n }\n }\n\n /**\n * Gets the tertiary line text of the list item. Null if the list item\n * does not have a tertiary line.\n */\n async getTertiaryText(): Promise<string | null> {\n const type = await this.getType();\n if (type !== MatListItemType.THREE_LINE_ITEM) {\n return null;\n }\n\n const [lines, unscopedTextContent] = await parallel(() => [\n this._lines(),\n this._unscopedTextContent(),\n ]);\n\n // First we check if there is an explicit line for the tertiary text. If so, we return it.\n // If there is at least an explicit secondary line though, then we know that the unscoped\n // text content corresponds to the tertiary line. If there are no explicit lines at all,\n // we know that the unscoped text content from the secondary text just wraps into the third\n // line, but there *no* actual dedicated tertiary text.\n if (lines.length === 2) {\n return lines[1].text();\n } else if (lines.length === 1) {\n return unscopedTextContent.text();\n }\n return null;\n }\n\n /** Whether this list item has an avatar. */\n async hasAvatar(): Promise<boolean> {\n return !!(await this._avatar());\n }\n\n /** Whether this list item has an icon. */\n async hasIcon(): Promise<boolean> {\n return !!(await this._icon());\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n parallel,\n} from '@angular/cdk/testing';\nimport {DividerHarnessFilters, MatDividerHarness} from '@angular/material/divider/testing';\nimport {BaseListItemHarnessFilters, SubheaderHarnessFilters} from './list-harness-filters';\nimport {MatSubheaderHarness} from './list-item-harness-base';\n\n/** Represents a section of a list falling under a specific header. */\nexport interface ListSection<I> {\n /** The heading for this list section. `undefined` if there is no heading. */\n heading?: string;\n\n /** The items in this list section. */\n items: I[];\n}\n\n/**\n * Shared behavior among the harnesses for the various `MatList` flavors.\n * @template T A constructor type for a list item harness type used by this list harness.\n * @template C The list item harness type that `T` constructs.\n * @template F The filter type used filter list item harness of type `C`.\n * @docs-private\n */\nexport abstract class MatListHarnessBase<\n T extends ComponentHarnessConstructor<C> & {with: (options?: F) => HarnessPredicate<C>},\n C extends ComponentHarness,\n F extends BaseListItemHarnessFilters,\n> extends ComponentHarness {\n protected _itemHarness: T;\n\n /**\n * Gets a list of harnesses representing the items in this list.\n * @param filters Optional filters used to narrow which harnesses are included\n * @return The list of items matching the given filters.\n */\n async getItems(filters?: F): Promise<C[]> {\n return this.locatorForAll(this._itemHarness.with(filters))();\n }\n\n /**\n * Gets a list of `ListSection` representing the list items grouped by subheaders. If the list has\n * no subheaders it is represented as a single `ListSection` with an undefined `heading` property.\n * @param filters Optional filters used to narrow which list item harnesses are included\n * @return The list of items matching the given filters, grouped into sections by subheader.\n */\n async getItemsGroupedBySubheader(filters?: F): Promise<ListSection<C>[]> {\n type Section = {items: C[]; heading?: Promise<string>};\n const listSections: Section[] = [];\n let currentSection: Section = {items: []};\n const itemsAndSubheaders = await this.getItemsWithSubheadersAndDividers({\n item: filters,\n divider: false,\n });\n\n for (const itemOrSubheader of itemsAndSubheaders) {\n if (itemOrSubheader instanceof MatSubheaderHarness) {\n if (currentSection.heading !== undefined || currentSection.items.length) {\n listSections.push(currentSection);\n }\n currentSection = {heading: itemOrSubheader.getText(), items: []};\n } else {\n currentSection.items.push(itemOrSubheader);\n }\n }\n if (\n currentSection.heading !== undefined ||\n currentSection.items.length ||\n !listSections.length\n ) {\n listSections.push(currentSection);\n }\n\n // Concurrently wait for all sections to resolve their heading if present.\n return parallel(() =>\n listSections.map(async s => ({items: s.items, heading: await s.heading})),\n );\n }\n\n /**\n * Gets a list of sub-lists representing the list items grouped by dividers. If the list has no\n * dividers it is represented as a list with a single sub-list.\n * @param filters Optional filters used to narrow which list item harnesses are included\n * @return The list of items matching the given filters, grouped into sub-lists by divider.\n */\n async getItemsGroupedByDividers(filters?: F): Promise<C[][]> {\n const listSections: C[][] = [[]];\n const itemsAndDividers = await this.getItemsWithSubheadersAndDividers({\n item: filters,\n subheader: false,\n });\n for (const itemOrDivider of itemsAndDividers) {\n if (itemOrDivider instanceof MatDividerHarness) {\n listSections.push([]);\n } else {\n listSections[listSections.length - 1].push(itemOrDivider);\n }\n }\n return listSections;\n }\n\n /**\n * Gets a list of harnesses representing all of the items, subheaders, and dividers\n * (in the order they appear in the list). Use `instanceof` to check which type of harness a given\n * item is.\n * @param filters Optional filters used to narrow which list items, subheaders, and dividers are\n * included. A value of `false` for the `item`, `subheader`, or `divider` properties indicates\n * that the respective harness type should be omitted completely.\n * @return The list of harnesses representing the items, subheaders, and dividers matching the\n * given filters.\n */\n getItemsWithSubheadersAndDividers(filters: {\n item: false;\n subheader: false;\n divider: false;\n }): Promise<[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item?: F | false;\n subheader: false;\n divider: false;\n }): Promise<C[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item: false;\n subheader?: SubheaderHarnessFilters | false;\n divider: false;\n }): Promise<MatSubheaderHarness[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item: false;\n subheader: false;\n divider?: DividerHarnessFilters | false;\n }): Promise<MatDividerHarness[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item?: F | false;\n subheader?: SubheaderHarnessFilters | false;\n divider: false;\n }): Promise<(C | MatSubheaderHarness)[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item?: F | false;\n subheader: false;\n divider?: false | DividerHarnessFilters;\n }): Promise<(C | MatDividerHarness)[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item: false;\n subheader?: false | SubheaderHarnessFilters;\n divider?: false | DividerHarnessFilters;\n }): Promise<(MatSubheaderHarness | MatDividerHarness)[]>;\n getItemsWithSubheadersAndDividers(filters?: {\n item?: F | false;\n subheader?: SubheaderHarnessFilters | false;\n divider?: DividerHarnessFilters | false;\n }): Promise<(C | MatSubheaderHarness | MatDividerHarness)[]>;\n async getItemsWithSubheadersAndDividers(\n filters: {\n item?: F | false;\n subheader?: SubheaderHarnessFilters | false;\n divider?: DividerHarnessFilters | false;\n } = {},\n ): Promise<(C | MatSubheaderHarness | MatDividerHarness)[]> {\n const query = [];\n if (filters.item !== false) {\n query.push(this._itemHarness.with(filters.item || ({} as F)));\n }\n if (filters.subheader !== false) {\n query.push(MatSubheaderHarness.with(filters.subheader));\n }\n if (filters.divider !== false) {\n query.push(MatDividerHarness.with(filters.divider));\n }\n return this.locatorForAll(...query)();\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarnessConstructor, HarnessPredicate} from '@angular/cdk/testing';\nimport {MatListHarnessBase} from './list-harness-base';\nimport {ActionListHarnessFilters, ActionListItemHarnessFilters} from './list-harness-filters';\nimport {getListItemPredicate, MatListItemHarnessBase} from './list-item-harness-base';\n\n/** Harness for interacting with a MDC-based action-list in tests. */\nexport class MatActionListHarness extends MatListHarnessBase<\n typeof MatActionListItemHarness,\n MatActionListItemHarness,\n ActionListItemHarnessFilters\n> {\n /** The selector for the host element of a `MatActionList` instance. */\n static hostSelector = '.mat-mdc-action-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an action list with specific\n * attributes.\n * @param options Options for filtering which action list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatActionListHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ActionListHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n override _itemHarness = MatActionListItemHarness;\n}\n\n/** Harness for interacting with an action list item. */\nexport class MatActionListItemHarness extends MatListItemHarnessBase {\n /** The selector for the host element of a `MatListItem` instance. */\n static hostSelector = `${MatActionListHarness.hostSelector} .mat-mdc-list-item`;\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a list item with specific\n * attributes.\n * @param options Options for filtering which action list item instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatActionListItemHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ActionListItemHarnessFilters = {},\n ): HarnessPredicate<T> {\n return getListItemPredicate(this, options);\n }\n\n /** Clicks on the action list item. */\n async click(): Promise<void> {\n return (await this.host()).click();\n }\n\n /** Focuses the action list item. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the action list item. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the action list item is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarnessConstructor, HarnessPredicate} from '@angular/cdk/testing';\nimport {MatListHarnessBase} from './list-harness-base';\nimport {ListHarnessFilters, ListItemHarnessFilters} from './list-harness-filters';\nimport {getListItemPredicate, MatListItemHarnessBase} from './list-item-harness-base';\n\n/** Harness for interacting with a MDC-based list in tests. */\nexport class MatListHarness extends MatListHarnessBase<\n typeof MatListItemHarness,\n MatListItemHarness,\n ListItemHarnessFilters\n> {\n /** The selector for the host element of a `MatList` instance. */\n static hostSelector = '.mat-mdc-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a list with specific attributes.\n * @param options Options for filtering which list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatListHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ListHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n override _itemHarness = MatListItemHarness;\n}\n\n/** Harness for interacting with a list item. */\nexport class MatListItemHarness extends MatListItemHarnessBase {\n /** The selector for the host element of a `MatListItem` instance. */\n static hostSelector = `${MatListHarness.hostSelector} .mat-mdc-list-item`;\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a list item with specific attributes.\n * @param options Options for filtering which list item instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatListItemHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ListItemHarnessFilters = {},\n ): HarnessPredicate<T> {\n return getListItemPredicate(this, options);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BaseHarnessFilters} from '@angular/cdk/testing';\n\nexport interface ListHarnessFilters extends BaseHarnessFilters {}\n\nexport interface ActionListHarnessFilters extends BaseHarnessFilters {}\n\nexport interface NavListHarnessFilters extends BaseHarnessFilters {}\n\nexport interface SelectionListHarnessFilters extends BaseHarnessFilters {}\n\nexport interface BaseListItemHarnessFilters extends BaseHarnessFilters {\n title?: string | RegExp;\n secondaryText?: string | RegExp | null;\n tertiaryText?: string | RegExp | null;\n fullText?: string | RegExp;\n /**\n * @deprecated Use the `fullText` filter instead.\n * @breaking-change 16.0.0\n */\n text?: string | RegExp;\n}\n\nexport interface ListItemHarnessFilters extends BaseListItemHarnessFilters {}\n\nexport interface ActionListItemHarnessFilters extends BaseListItemHarnessFilters {}\n\nexport interface NavListItemHarnessFilters extends BaseListItemHarnessFilters {\n href?: string | RegExp | null;\n activated?: boolean;\n}\n\nexport interface ListOptionHarnessFilters extends BaseListItemHarnessFilters {\n selected?: boolean;\n}\n\nexport interface SubheaderHarnessFilters extends BaseHarnessFilters {\n text?: string | RegExp;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarnessConstructor, HarnessPredicate} from '@angular/cdk/testing';\nimport {MatListHarnessBase} from './list-harness-base';\nimport {NavListHarnessFilters, NavListItemHarnessFilters} from './list-harness-filters';\nimport {getListItemPredicate, MatListItemHarnessBase} from './list-item-harness-base';\n\n/** Harness for interacting with a MDC-based mat-nav-list in tests. */\nexport class MatNavListHarness extends MatListHarnessBase<\n typeof MatNavListItemHarness,\n MatNavListItemHarness,\n NavListItemHarnessFilters\n> {\n /** The selector for the host element of a `MatNavList` instance. */\n static hostSelector = '.mat-mdc-nav-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a nav list with specific\n * attributes.\n * @param options Options for filtering which nav list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatNavListHarness>(\n this: ComponentHarnessConstructor<T>,\n options: NavListHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n override _itemHarness = MatNavListItemHarness;\n}\n\n/** Harness for interacting with a MDC-based nav-list item. */\nexport class MatNavListItemHarness extends MatListItemHarnessBase {\n /** The selector for the host element of a `MatListItem` instance. */\n static hostSelector = `${MatNavListHarness.hostSelector} .mat-mdc-list-item`;\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a nav list item with specific\n * attributes.\n * @param options Options for filtering which nav list item instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatNavListItemHarness>(\n this: ComponentHarnessConstructor<T>,\n options: NavListItemHarnessFilters = {},\n ): HarnessPredicate<T> {\n return getListItemPredicate(this, options)\n .addOption('href', options.href, async (harness, href) =>\n HarnessPredicate.stringMatches(harness.getHref(), href),\n )\n .addOption(\n 'activated',\n options.activated,\n async (harness, activated) => (await harness.isActivated()) === activated,\n );\n }\n\n /** Gets the href for this nav list item. */\n async getHref(): Promise<string | null> {\n return (await this.host()).getAttribute('href');\n }\n\n /** Clicks on the nav list item. */\n async click(): Promise<void> {\n return (await this.host()).click();\n }\n\n /** Focuses the nav list item. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the nav list item. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the nav list item is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Whether the list item is activated. Should only be used for nav list items. */\n async isActivated(): Promise<boolean> {\n return (await this.host()).hasClass('mdc-list-item--activated');\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarnessConstructor, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatListOptionTogglePosition} from '@angular/material/list';\nimport {MatListHarnessBase} from './list-harness-base';\nimport {\n ListItemHarnessFilters,\n ListOptionHarnessFilters,\n SelectionListHarnessFilters,\n} from './list-harness-filters';\nimport {getListItemPredicate, MatListItemHarnessBase} from './list-item-harness-base';\n\n/** Harness for interacting with a MDC_based selection-list in tests. */\nexport class MatSelectionListHarness extends MatListHarnessBase<\n typeof MatListOptionHarness,\n MatListOptionHarness,\n ListOptionHarnessFilters\n> {\n /** The selector for the host element of a `MatSelectionList` instance. */\n static hostSelector = '.mat-mdc-selection-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a selection list with specific\n * attributes.\n * @param options Options for filtering which selection list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatSelectionListHarness>(\n this: ComponentHarnessConstructor<T>,\n options: SelectionListHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n override _itemHarness = MatListOptionHarness;\n\n /** Whether the selection list is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-disabled')) === 'true';\n }\n\n /**\n * Selects all items matching any of the given filters.\n * @param filters Filters that specify which items should be selected.\n */\n async selectItems(...filters: ListOptionHarnessFilters[]): Promise<void> {\n const items = await this._getItems(filters);\n await parallel(() => items.map(item => item.select()));\n }\n\n /**\n * Deselects all items matching any of the given filters.\n * @param filters Filters that specify which items should be deselected.\n */\n async deselectItems(...filters: ListItemHarnessFilters[]): Promise<void> {\n const items = await this._getItems(filters);\n await parallel(() => items.map(item => item.deselect()));\n }\n\n /** Gets all items matching the given list of filters. */\n private async _getItems(filters: ListOptionHarnessFilters[]): Promise<MatListOptionHarness[]> {\n if (!filters.length) {\n return this.getItems();\n }\n const matches = await parallel(() =>\n filters.map(filter => this.locatorForAll(MatListOptionHarness.with(filter))()),\n );\n return matches.reduce((result, current) => [...result, ...current], []);\n }\n}\n\n/** Harness for interacting with a MDC-based list option. */\nexport class MatListOptionHarness extends MatListItemHarnessBase {\n /** The selector for the host element of a `MatListOption` instance. */\n static hostSelector = '.mat-mdc-list-option';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a list option with specific\n * attributes.\n * @param options Options for filtering which list option instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatListOptionHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ListOptionHarnessFilters = {},\n ): HarnessPredicate<T> {\n return getListItemPredicate(this, options).addOption(\n 'is selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n private _beforeCheckbox = this.locatorForOptional('.mdc-list-item__start .mdc-checkbox');\n private _beforeRadio = this.locatorForOptional('.mdc-list-item__start .mdc-radio');\n\n /** Gets the position of the checkbox relative to the list option content. */\n async getCheckboxPosition(): Promise<MatListOptionTogglePosition> {\n return (await this._beforeCheckbox()) !== null ? 'before' : 'after';\n }\n\n /** Gets the position of the radio relative to the list option content. */\n async getRadioPosition(): Promise<MatListOptionTogglePosition> {\n return (await this._beforeRadio()) !== null ? 'before' : 'after';\n }\n\n /** Whether the list option is selected. */\n async isSelected(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-selected')) === 'true';\n }\n\n /** Focuses the list option. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the list option. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the list option is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Toggles the checked state of the checkbox. */\n async toggle() {\n return (await this.host()).click();\n }\n\n /**\n * Puts the list option in a checked state by toggling it if it is currently\n * unchecked, or doing nothing if it is already checked.\n */\n async select() {\n if (!(await this.isSelected())) {\n return this.toggle();\n }\n }\n\n /**\n * Puts the list option in an unchecked state by toggling it if it is currently\n * checked, or doing nothing if it is already unchecked.\n */\n async deselect() {\n if (await this.isSelected()) {\n return this.toggle();\n }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './action-list-harness';\nexport * from './list-harness';\nexport * from './list-harness-filters';\nexport * from './nav-list-harness';\nexport * from './selection-list-harness';\nexport {MatListItemSection, MatSubheaderHarness, MatListItemType} from './list-item-harness-base';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAAA;;;;;;AAMG;AAWH,MAAM,YAAY,GAAG,yBAAyB,CAAC;AAC/C,MAAM,cAAc,GAAG,2BAA2B,CAAC;AAEnD;;;;;;;AAOG;AACa,SAAA,oBAAoB,CAClC,WAA2C,EAC3C,OAAmC,EAAA;AAEnC,IAAA,OAAO,IAAI,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC;SAC9C,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,KAC7C,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EAAE,E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;;AAGD,IAAA,MAAM,UAAU,GAAA;AACd,QAAA,OAAO,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,eAAe,CAAC,MAAM,MAAM,CAAC;KAC7E;;AAGD,IAAA,MAAM,KAAK,GAAA;QACT,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC;KACpC;;AAGD,IAAA,MAAM,IAAI,GAAA;QACR,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC;KACnC;;AAGD,IAAA,MAAM,SAAS,GAAA;QACb,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC;KACxC;;AAGD,IAAA,MAAM,MAAM,GAAA;QACV,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC;KACpC;AAED;;;AAGG;AACH,IAAA,MAAM,MAAM,GAAA;QACV,IAAI,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,EAAE;AAC9B,YAAA,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;AACtB,SAAA;KACF;AAED;;;AAGG;AACH,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,IAAI,MAAM,IAAI,CAAC,UAAU,EAAE,EAAE;AAC3B,YAAA,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;AACtB,SAAA;KACF;;AA5ED;AACO,oBAAY,CAAA,YAAA,GAAG,sBAAH;;AChFrB;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/list/testing/list-item-harness-base.ts","../../../../../../../src/material/list/testing/list-harness-base.ts","../../../../../../../src/material/list/testing/action-list-harness.ts","../../../../../../../src/material/list/testing/list-harness.ts","../../../../../../../src/material/list/testing/nav-list-harness.ts","../../../../../../../src/material/list/testing/selection-list-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n ContentContainerComponentHarness,\n HarnessPredicate,\n parallel,\n} from '@angular/cdk/testing';\nimport {BaseListItemHarnessFilters, SubheaderHarnessFilters} from './list-harness-filters';\n\nconst iconSelector = '.mat-mdc-list-item-icon';\nconst avatarSelector = '.mat-mdc-list-item-avatar';\n\n/**\n * Gets a `HarnessPredicate` that applies the given `BaseListItemHarnessFilters` to the given\n * list item harness.\n * @template H The type of list item harness to create a predicate for.\n * @param harnessType A constructor for a list item harness.\n * @param options An instance of `BaseListItemHarnessFilters` to apply.\n * @return A `HarnessPredicate` for the given harness type with the given options applied.\n */\nexport function getListItemPredicate<H extends MatListItemHarnessBase>(\n harnessType: ComponentHarnessConstructor<H>,\n options: BaseListItemHarnessFilters,\n): HarnessPredicate<H> {\n return new HarnessPredicate(harnessType, options)\n .addOption('text', options.text, (harness, text) =>\n HarnessPredicate.stringMatches(harness.getText(), text),\n )\n .addOption('fullText', options.fullText, (harness, fullText) =>\n HarnessPredicate.stringMatches(harness.getFullText(), fullText),\n )\n .addOption('title', options.title, (harness, title) =>\n HarnessPredicate.stringMatches(harness.getTitle(), title),\n )\n .addOption('secondaryText', options.secondaryText, (harness, secondaryText) =>\n HarnessPredicate.stringMatches(harness.getSecondaryText(), secondaryText),\n )\n .addOption('tertiaryText', options.tertiaryText, (harness, tertiaryText) =>\n HarnessPredicate.stringMatches(harness.getTertiaryText(), tertiaryText),\n );\n}\n\n/** Harness for interacting with a MDC-based list subheader. */\nexport class MatSubheaderHarness extends ComponentHarness {\n static hostSelector = '.mat-mdc-subheader';\n\n static with(options: SubheaderHarnessFilters = {}): HarnessPredicate<MatSubheaderHarness> {\n return new HarnessPredicate(MatSubheaderHarness, options).addOption(\n 'text',\n options.text,\n (harness, text) => HarnessPredicate.stringMatches(harness.getText(), text),\n );\n }\n\n /** Gets the full text content of the list item (including text from any font icons). */\n async getText(): Promise<string> {\n return (await this.host()).text();\n }\n}\n\n/** Selectors for the various list item sections that may contain user content. */\nexport const enum MatListItemSection {\n CONTENT = '.mdc-list-item__content',\n}\n\n/** Enum describing the possible variants of a list item. */\nexport const enum MatListItemType {\n ONE_LINE_ITEM,\n TWO_LINE_ITEM,\n THREE_LINE_ITEM,\n}\n\n/**\n * Shared behavior among the harnesses for the various `MatListItem` flavors.\n * @docs-private\n */\nexport abstract class MatListItemHarnessBase extends ContentContainerComponentHarness<MatListItemSection> {\n private _lines = this.locatorForAll('.mat-mdc-list-item-line');\n private _primaryText = this.locatorFor('.mdc-list-item__primary-text');\n private _avatar = this.locatorForOptional('.mat-mdc-list-item-avatar');\n private _icon = this.locatorForOptional('.mat-mdc-list-item-icon');\n private _unscopedTextContent = this.locatorFor('.mat-mdc-list-item-unscoped-content');\n\n /** Gets the type of the list item, currently describing how many lines there are. */\n async getType(): Promise<MatListItemType> {\n const host = await this.host();\n const [isOneLine, isTwoLine] = await parallel(() => [\n host.hasClass('mdc-list-item--with-one-line'),\n host.hasClass('mdc-list-item--with-two-lines'),\n ]);\n if (isOneLine) {\n return MatListItemType.ONE_LINE_ITEM;\n } else if (isTwoLine) {\n return MatListItemType.TWO_LINE_ITEM;\n } else {\n return MatListItemType.THREE_LINE_ITEM;\n }\n }\n\n /**\n * Gets the full text content of the list item, excluding text\n * from icons and avatars.\n *\n * @deprecated Use the `getFullText` method instead.\n * @breaking-change 16.0.0\n */\n async getText(): Promise<string> {\n return this.getFullText();\n }\n\n /**\n * Gets the full text content of the list item, excluding text\n * from icons and avatars.\n */\n async getFullText(): Promise<string> {\n return (await this.host()).text({exclude: `${iconSelector}, ${avatarSelector}`});\n }\n\n /** Gets the title of the list item. */\n async getTitle(): Promise<string> {\n return (await this._primaryText()).text();\n }\n\n /** Whether the list item is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).hasClass('mdc-list-item--disabled');\n }\n\n /**\n * Gets the secondary line text of the list item. Null if the list item\n * does not have a secondary line.\n */\n async getSecondaryText(): Promise<string | null> {\n const type = await this.getType();\n if (type === MatListItemType.ONE_LINE_ITEM) {\n return null;\n }\n\n const [lines, unscopedTextContent] = await parallel(() => [\n this._lines(),\n this._unscopedTextContent(),\n ]);\n\n // If there is no explicit line for the secondary text, the unscoped text content\n // is rendered as the secondary text (with potential text wrapping enabled).\n if (lines.length >= 1) {\n return lines[0].text();\n } else {\n return unscopedTextContent.text();\n }\n }\n\n /**\n * Gets the tertiary line text of the list item. Null if the list item\n * does not have a tertiary line.\n */\n async getTertiaryText(): Promise<string | null> {\n const type = await this.getType();\n if (type !== MatListItemType.THREE_LINE_ITEM) {\n return null;\n }\n\n const [lines, unscopedTextContent] = await parallel(() => [\n this._lines(),\n this._unscopedTextContent(),\n ]);\n\n // First we check if there is an explicit line for the tertiary text. If so, we return it.\n // If there is at least an explicit secondary line though, then we know that the unscoped\n // text content corresponds to the tertiary line. If there are no explicit lines at all,\n // we know that the unscoped text content from the secondary text just wraps into the third\n // line, but there *no* actual dedicated tertiary text.\n if (lines.length === 2) {\n return lines[1].text();\n } else if (lines.length === 1) {\n return unscopedTextContent.text();\n }\n return null;\n }\n\n /** Whether this list item has an avatar. */\n async hasAvatar(): Promise<boolean> {\n return !!(await this._avatar());\n }\n\n /** Whether this list item has an icon. */\n async hasIcon(): Promise<boolean> {\n return !!(await this._icon());\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n parallel,\n} from '@angular/cdk/testing';\nimport {DividerHarnessFilters, MatDividerHarness} from '@angular/material/divider/testing';\nimport {BaseListItemHarnessFilters, SubheaderHarnessFilters} from './list-harness-filters';\nimport {MatSubheaderHarness} from './list-item-harness-base';\n\n/** Represents a section of a list falling under a specific header. */\nexport interface ListSection<I> {\n /** The heading for this list section. `undefined` if there is no heading. */\n heading?: string;\n\n /** The items in this list section. */\n items: I[];\n}\n\n/**\n * Shared behavior among the harnesses for the various `MatList` flavors.\n * @template T A constructor type for a list item harness type used by this list harness.\n * @template C The list item harness type that `T` constructs.\n * @template F The filter type used filter list item harness of type `C`.\n * @docs-private\n */\nexport abstract class MatListHarnessBase<\n T extends ComponentHarnessConstructor<C> & {with: (options?: F) => HarnessPredicate<C>},\n C extends ComponentHarness,\n F extends BaseListItemHarnessFilters,\n> extends ComponentHarness {\n protected _itemHarness: T;\n\n /**\n * Gets a list of harnesses representing the items in this list.\n * @param filters Optional filters used to narrow which harnesses are included\n * @return The list of items matching the given filters.\n */\n async getItems(filters?: F): Promise<C[]> {\n return this.locatorForAll(this._itemHarness.with(filters))();\n }\n\n /**\n * Gets a list of `ListSection` representing the list items grouped by subheaders. If the list has\n * no subheaders it is represented as a single `ListSection` with an undefined `heading` property.\n * @param filters Optional filters used to narrow which list item harnesses are included\n * @return The list of items matching the given filters, grouped into sections by subheader.\n */\n async getItemsGroupedBySubheader(filters?: F): Promise<ListSection<C>[]> {\n type Section = {items: C[]; heading?: Promise<string>};\n const listSections: Section[] = [];\n let currentSection: Section = {items: []};\n const itemsAndSubheaders = await this.getItemsWithSubheadersAndDividers({\n item: filters,\n divider: false,\n });\n\n for (const itemOrSubheader of itemsAndSubheaders) {\n if (itemOrSubheader instanceof MatSubheaderHarness) {\n if (currentSection.heading !== undefined || currentSection.items.length) {\n listSections.push(currentSection);\n }\n currentSection = {heading: itemOrSubheader.getText(), items: []};\n } else {\n currentSection.items.push(itemOrSubheader);\n }\n }\n if (\n currentSection.heading !== undefined ||\n currentSection.items.length ||\n !listSections.length\n ) {\n listSections.push(currentSection);\n }\n\n // Concurrently wait for all sections to resolve their heading if present.\n return parallel(() =>\n listSections.map(async s => ({items: s.items, heading: await s.heading})),\n );\n }\n\n /**\n * Gets a list of sub-lists representing the list items grouped by dividers. If the list has no\n * dividers it is represented as a list with a single sub-list.\n * @param filters Optional filters used to narrow which list item harnesses are included\n * @return The list of items matching the given filters, grouped into sub-lists by divider.\n */\n async getItemsGroupedByDividers(filters?: F): Promise<C[][]> {\n const listSections: C[][] = [[]];\n const itemsAndDividers = await this.getItemsWithSubheadersAndDividers({\n item: filters,\n subheader: false,\n });\n for (const itemOrDivider of itemsAndDividers) {\n if (itemOrDivider instanceof MatDividerHarness) {\n listSections.push([]);\n } else {\n listSections[listSections.length - 1].push(itemOrDivider);\n }\n }\n return listSections;\n }\n\n /**\n * Gets a list of harnesses representing all of the items, subheaders, and dividers\n * (in the order they appear in the list). Use `instanceof` to check which type of harness a given\n * item is.\n * @param filters Optional filters used to narrow which list items, subheaders, and dividers are\n * included. A value of `false` for the `item`, `subheader`, or `divider` properties indicates\n * that the respective harness type should be omitted completely.\n * @return The list of harnesses representing the items, subheaders, and dividers matching the\n * given filters.\n */\n getItemsWithSubheadersAndDividers(filters: {\n item: false;\n subheader: false;\n divider: false;\n }): Promise<[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item?: F | false;\n subheader: false;\n divider: false;\n }): Promise<C[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item: false;\n subheader?: SubheaderHarnessFilters | false;\n divider: false;\n }): Promise<MatSubheaderHarness[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item: false;\n subheader: false;\n divider?: DividerHarnessFilters | false;\n }): Promise<MatDividerHarness[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item?: F | false;\n subheader?: SubheaderHarnessFilters | false;\n divider: false;\n }): Promise<(C | MatSubheaderHarness)[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item?: F | false;\n subheader: false;\n divider?: false | DividerHarnessFilters;\n }): Promise<(C | MatDividerHarness)[]>;\n getItemsWithSubheadersAndDividers(filters: {\n item: false;\n subheader?: false | SubheaderHarnessFilters;\n divider?: false | DividerHarnessFilters;\n }): Promise<(MatSubheaderHarness | MatDividerHarness)[]>;\n getItemsWithSubheadersAndDividers(filters?: {\n item?: F | false;\n subheader?: SubheaderHarnessFilters | false;\n divider?: DividerHarnessFilters | false;\n }): Promise<(C | MatSubheaderHarness | MatDividerHarness)[]>;\n async getItemsWithSubheadersAndDividers(\n filters: {\n item?: F | false;\n subheader?: SubheaderHarnessFilters | false;\n divider?: DividerHarnessFilters | false;\n } = {},\n ): Promise<(C | MatSubheaderHarness | MatDividerHarness)[]> {\n const query = [];\n if (filters.item !== false) {\n query.push(this._itemHarness.with(filters.item || ({} as F)));\n }\n if (filters.subheader !== false) {\n query.push(MatSubheaderHarness.with(filters.subheader));\n }\n if (filters.divider !== false) {\n query.push(MatDividerHarness.with(filters.divider));\n }\n return this.locatorForAll(...query)();\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarnessConstructor, HarnessPredicate} from '@angular/cdk/testing';\nimport {MatListHarnessBase} from './list-harness-base';\nimport {ActionListHarnessFilters, ActionListItemHarnessFilters} from './list-harness-filters';\nimport {getListItemPredicate, MatListItemHarnessBase} from './list-item-harness-base';\n\n/** Harness for interacting with a MDC-based action-list in tests. */\nexport class MatActionListHarness extends MatListHarnessBase<\n typeof MatActionListItemHarness,\n MatActionListItemHarness,\n ActionListItemHarnessFilters\n> {\n /** The selector for the host element of a `MatActionList` instance. */\n static hostSelector = '.mat-mdc-action-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an action list with specific\n * attributes.\n * @param options Options for filtering which action list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatActionListHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ActionListHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n override _itemHarness = MatActionListItemHarness;\n}\n\n/** Harness for interacting with an action list item. */\nexport class MatActionListItemHarness extends MatListItemHarnessBase {\n /** The selector for the host element of a `MatListItem` instance. */\n static hostSelector = `${MatActionListHarness.hostSelector} .mat-mdc-list-item`;\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a list item with specific\n * attributes.\n * @param options Options for filtering which action list item instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatActionListItemHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ActionListItemHarnessFilters = {},\n ): HarnessPredicate<T> {\n return getListItemPredicate(this, options);\n }\n\n /** Clicks on the action list item. */\n async click(): Promise<void> {\n return (await this.host()).click();\n }\n\n /** Focuses the action list item. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the action list item. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the action list item is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarnessConstructor, HarnessPredicate} from '@angular/cdk/testing';\nimport {MatListHarnessBase} from './list-harness-base';\nimport {ListHarnessFilters, ListItemHarnessFilters} from './list-harness-filters';\nimport {getListItemPredicate, MatListItemHarnessBase} from './list-item-harness-base';\n\n/** Harness for interacting with a MDC-based list in tests. */\nexport class MatListHarness extends MatListHarnessBase<\n typeof MatListItemHarness,\n MatListItemHarness,\n ListItemHarnessFilters\n> {\n /** The selector for the host element of a `MatList` instance. */\n static hostSelector = '.mat-mdc-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a list with specific attributes.\n * @param options Options for filtering which list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatListHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ListHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n override _itemHarness = MatListItemHarness;\n}\n\n/** Harness for interacting with a list item. */\nexport class MatListItemHarness extends MatListItemHarnessBase {\n /** The selector for the host element of a `MatListItem` instance. */\n static hostSelector = `${MatListHarness.hostSelector} .mat-mdc-list-item`;\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a list item with specific attributes.\n * @param options Options for filtering which list item instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatListItemHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ListItemHarnessFilters = {},\n ): HarnessPredicate<T> {\n return getListItemPredicate(this, options);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarnessConstructor, HarnessPredicate} from '@angular/cdk/testing';\nimport {MatListHarnessBase} from './list-harness-base';\nimport {NavListHarnessFilters, NavListItemHarnessFilters} from './list-harness-filters';\nimport {getListItemPredicate, MatListItemHarnessBase} from './list-item-harness-base';\n\n/** Harness for interacting with a MDC-based mat-nav-list in tests. */\nexport class MatNavListHarness extends MatListHarnessBase<\n typeof MatNavListItemHarness,\n MatNavListItemHarness,\n NavListItemHarnessFilters\n> {\n /** The selector for the host element of a `MatNavList` instance. */\n static hostSelector = '.mat-mdc-nav-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a nav list with specific\n * attributes.\n * @param options Options for filtering which nav list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatNavListHarness>(\n this: ComponentHarnessConstructor<T>,\n options: NavListHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n override _itemHarness = MatNavListItemHarness;\n}\n\n/** Harness for interacting with a MDC-based nav-list item. */\nexport class MatNavListItemHarness extends MatListItemHarnessBase {\n /** The selector for the host element of a `MatListItem` instance. */\n static hostSelector = `${MatNavListHarness.hostSelector} .mat-mdc-list-item`;\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a nav list item with specific\n * attributes.\n * @param options Options for filtering which nav list item instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatNavListItemHarness>(\n this: ComponentHarnessConstructor<T>,\n options: NavListItemHarnessFilters = {},\n ): HarnessPredicate<T> {\n return getListItemPredicate(this, options)\n .addOption('href', options.href, async (harness, href) =>\n HarnessPredicate.stringMatches(harness.getHref(), href),\n )\n .addOption(\n 'activated',\n options.activated,\n async (harness, activated) => (await harness.isActivated()) === activated,\n );\n }\n\n /** Gets the href for this nav list item. */\n async getHref(): Promise<string | null> {\n return (await this.host()).getAttribute('href');\n }\n\n /** Clicks on the nav list item. */\n async click(): Promise<void> {\n return (await this.host()).click();\n }\n\n /** Focuses the nav list item. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the nav list item. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the nav list item is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Whether the list item is activated. Should only be used for nav list items. */\n async isActivated(): Promise<boolean> {\n return (await this.host()).hasClass('mdc-list-item--activated');\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarnessConstructor, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatListOptionTogglePosition} from '@angular/material/list';\nimport {MatListHarnessBase} from './list-harness-base';\nimport {\n ListItemHarnessFilters,\n ListOptionHarnessFilters,\n SelectionListHarnessFilters,\n} from './list-harness-filters';\nimport {getListItemPredicate, MatListItemHarnessBase} from './list-item-harness-base';\n\n/** Harness for interacting with a MDC_based selection-list in tests. */\nexport class MatSelectionListHarness extends MatListHarnessBase<\n typeof MatListOptionHarness,\n MatListOptionHarness,\n ListOptionHarnessFilters\n> {\n /** The selector for the host element of a `MatSelectionList` instance. */\n static hostSelector = '.mat-mdc-selection-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a selection list with specific\n * attributes.\n * @param options Options for filtering which selection list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatSelectionListHarness>(\n this: ComponentHarnessConstructor<T>,\n options: SelectionListHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n override _itemHarness = MatListOptionHarness;\n\n /** Whether the selection list is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-disabled')) === 'true';\n }\n\n /**\n * Selects all items matching any of the given filters.\n * @param filters Filters that specify which items should be selected.\n */\n async selectItems(...filters: ListOptionHarnessFilters[]): Promise<void> {\n const items = await this._getItems(filters);\n await parallel(() => items.map(item => item.select()));\n }\n\n /**\n * Deselects all items matching any of the given filters.\n * @param filters Filters that specify which items should be deselected.\n */\n async deselectItems(...filters: ListItemHarnessFilters[]): Promise<void> {\n const items = await this._getItems(filters);\n await parallel(() => items.map(item => item.deselect()));\n }\n\n /** Gets all items matching the given list of filters. */\n private async _getItems(filters: ListOptionHarnessFilters[]): Promise<MatListOptionHarness[]> {\n if (!filters.length) {\n return this.getItems();\n }\n const matches = await parallel(() =>\n filters.map(filter => this.locatorForAll(MatListOptionHarness.with(filter))()),\n );\n return matches.reduce((result, current) => [...result, ...current], []);\n }\n}\n\n/** Harness for interacting with a MDC-based list option. */\nexport class MatListOptionHarness extends MatListItemHarnessBase {\n /** The selector for the host element of a `MatListOption` instance. */\n static hostSelector = '.mat-mdc-list-option';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a list option with specific\n * attributes.\n * @param options Options for filtering which list option instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatListOptionHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ListOptionHarnessFilters = {},\n ): HarnessPredicate<T> {\n return getListItemPredicate(this, options).addOption(\n 'is selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n private _beforeCheckbox = this.locatorForOptional('.mdc-list-item__start .mdc-checkbox');\n private _beforeRadio = this.locatorForOptional('.mdc-list-item__start .mdc-radio');\n\n /** Gets the position of the checkbox relative to the list option content. */\n async getCheckboxPosition(): Promise<MatListOptionTogglePosition> {\n return (await this._beforeCheckbox()) !== null ? 'before' : 'after';\n }\n\n /** Gets the position of the radio relative to the list option content. */\n async getRadioPosition(): Promise<MatListOptionTogglePosition> {\n return (await this._beforeRadio()) !== null ? 'before' : 'after';\n }\n\n /** Whether the list option is selected. */\n async isSelected(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-selected')) === 'true';\n }\n\n /** Focuses the list option. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the list option. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the list option is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Toggles the checked state of the checkbox. */\n async toggle() {\n return (await this.host()).click();\n }\n\n /**\n * Puts the list option in a checked state by toggling it if it is currently\n * unchecked, or doing nothing if it is already checked.\n */\n async select() {\n if (!(await this.isSelected())) {\n return this.toggle();\n }\n }\n\n /**\n * Puts the list option in an unchecked state by toggling it if it is currently\n * checked, or doing nothing if it is already unchecked.\n */\n async deselect() {\n if (await this.isSelected()) {\n return this.toggle();\n }\n }\n}\n"],"names":[],"mappings":";;;AAiBA,MAAM,YAAY,GAAG,yBAAyB,CAAC;AAC/C,MAAM,cAAc,GAAG,2BAA2B,CAAC;AAEnD;;;;;;;AAOG;AACa,SAAA,oBAAoB,CAClC,WAA2C,EAC3C,OAAmC,EAAA;AAEnC,IAAA,OAAO,IAAI,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC;SAC9C,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,KAC7C,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CACxD;SACA,SAAS,CAAC,UAAU,EAAE,OAAO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