@angular/material 16.0.0-next.4 → 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 +3 -3
  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/tokens/_token-utils.scss +1 -1
  12. package/core/tokens/m2/{mdc/_table.scss → mat/_radio.scss} +15 -15
  13. package/core/tokens/m2/mdc/_dialog.scss +115 -0
  14. package/core/tokens/m2/mdc/_icon-button.scss +79 -0
  15. package/core/tokens/m2/mdc/_linear-progress.scss +60 -0
  16. package/core/tokens/m2/mdc/_radio.scss +94 -0
  17. package/core/typography/_typography-utils.scss +7 -5
  18. package/datepicker/index.d.ts +13 -13
  19. package/dialog/_dialog-theme.scss +5 -37
  20. package/dialog/index.d.ts +3 -3
  21. package/divider/index.d.ts +1 -1
  22. package/esm2020/autocomplete/autocomplete-origin.mjs +6 -6
  23. package/esm2020/autocomplete/autocomplete-trigger.mjs +6 -6
  24. package/esm2020/autocomplete/autocomplete.mjs +9 -9
  25. package/esm2020/autocomplete/module.mjs +4 -4
  26. package/esm2020/badge/badge-module.mjs +4 -4
  27. package/esm2020/badge/badge.mjs +3 -3
  28. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +3 -3
  29. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +4 -4
  30. package/esm2020/bottom-sheet/bottom-sheet.mjs +3 -3
  31. package/esm2020/button/button-base.mjs +39 -14
  32. package/esm2020/button/button-lazy-loader.mjs +114 -0
  33. package/esm2020/button/button.mjs +9 -10
  34. package/esm2020/button/fab.mjs +17 -18
  35. package/esm2020/button/icon-button.mjs +21 -10
  36. package/esm2020/button/module.mjs +4 -4
  37. package/esm2020/button-toggle/button-toggle-module.mjs +4 -4
  38. package/esm2020/button-toggle/button-toggle.mjs +6 -6
  39. package/esm2020/card/card.mjs +42 -42
  40. package/esm2020/card/module.mjs +4 -4
  41. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  42. package/esm2020/checkbox/checkbox.mjs +6 -6
  43. package/esm2020/checkbox/module.mjs +8 -8
  44. package/esm2020/chips/chip-action.mjs +3 -3
  45. package/esm2020/chips/chip-edit-input.mjs +3 -3
  46. package/esm2020/chips/chip-grid.mjs +3 -3
  47. package/esm2020/chips/chip-icons.mjs +9 -9
  48. package/esm2020/chips/chip-input.mjs +6 -12
  49. package/esm2020/chips/chip-listbox.mjs +3 -3
  50. package/esm2020/chips/chip-option.mjs +3 -3
  51. package/esm2020/chips/chip-row.mjs +3 -3
  52. package/esm2020/chips/chip-set.mjs +3 -3
  53. package/esm2020/chips/chip.mjs +3 -3
  54. package/esm2020/chips/module.mjs +4 -4
  55. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  56. package/esm2020/core/datetime/index.mjs +8 -8
  57. package/esm2020/core/datetime/native-date-adapter.mjs +3 -3
  58. package/esm2020/core/error/error-options.mjs +6 -6
  59. package/esm2020/core/line/line.mjs +7 -7
  60. package/esm2020/core/option/index.mjs +4 -4
  61. package/esm2020/core/option/optgroup.mjs +6 -6
  62. package/esm2020/core/option/option.mjs +6 -6
  63. package/esm2020/core/ripple/index.mjs +4 -4
  64. package/esm2020/core/ripple/ripple.mjs +5 -5
  65. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
  66. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  67. package/esm2020/core/version.mjs +1 -1
  68. package/esm2020/datepicker/calendar-body.mjs +3 -3
  69. package/esm2020/datepicker/calendar.mjs +6 -6
  70. package/esm2020/datepicker/date-range-input-parts.mjs +9 -9
  71. package/esm2020/datepicker/date-range-input.mjs +3 -3
  72. package/esm2020/datepicker/date-range-picker.mjs +3 -3
  73. package/esm2020/datepicker/date-range-selection-strategy.mjs +3 -3
  74. package/esm2020/datepicker/date-selection-model.mjs +9 -9
  75. package/esm2020/datepicker/datepicker-actions.mjs +9 -9
  76. package/esm2020/datepicker/datepicker-base.mjs +6 -6
  77. package/esm2020/datepicker/datepicker-input-base.mjs +3 -3
  78. package/esm2020/datepicker/datepicker-input.mjs +3 -3
  79. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  80. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  81. package/esm2020/datepicker/datepicker-toggle.mjs +6 -6
  82. package/esm2020/datepicker/datepicker.mjs +3 -3
  83. package/esm2020/datepicker/month-view.mjs +3 -3
  84. package/esm2020/datepicker/multi-year-view.mjs +3 -3
  85. package/esm2020/datepicker/year-view.mjs +3 -3
  86. package/esm2020/dialog/dialog-container.mjs +7 -7
  87. package/esm2020/dialog/dialog-content-directives.mjs +12 -12
  88. package/esm2020/dialog/dialog.mjs +6 -6
  89. package/esm2020/dialog/module.mjs +4 -4
  90. package/esm2020/divider/divider-module.mjs +4 -4
  91. package/esm2020/divider/divider.mjs +3 -3
  92. package/esm2020/expansion/accordion.mjs +3 -3
  93. package/esm2020/expansion/expansion-module.mjs +4 -4
  94. package/esm2020/expansion/expansion-panel-content.mjs +3 -3
  95. package/esm2020/expansion/expansion-panel-header.mjs +9 -9
  96. package/esm2020/expansion/expansion-panel.mjs +6 -6
  97. package/esm2020/form-field/directives/error.mjs +3 -3
  98. package/esm2020/form-field/directives/floating-label.mjs +3 -3
  99. package/esm2020/form-field/directives/hint.mjs +3 -3
  100. package/esm2020/form-field/directives/label.mjs +3 -3
  101. package/esm2020/form-field/directives/line-ripple.mjs +3 -3
  102. package/esm2020/form-field/directives/notched-outline.mjs +3 -3
  103. package/esm2020/form-field/directives/prefix.mjs +3 -3
  104. package/esm2020/form-field/directives/suffix.mjs +3 -3
  105. package/esm2020/form-field/form-field-control.mjs +3 -3
  106. package/esm2020/form-field/form-field.mjs +3 -3
  107. package/esm2020/form-field/module.mjs +4 -4
  108. package/esm2020/grid-list/grid-list-module.mjs +4 -4
  109. package/esm2020/grid-list/grid-list.mjs +3 -3
  110. package/esm2020/grid-list/grid-tile.mjs +15 -15
  111. package/esm2020/icon/icon-module.mjs +4 -4
  112. package/esm2020/icon/icon-registry.mjs +3 -3
  113. package/esm2020/icon/icon.mjs +3 -3
  114. package/esm2020/icon/testing/fake-icon-registry.mjs +7 -7
  115. package/esm2020/input/input.mjs +3 -3
  116. package/esm2020/input/module.mjs +4 -4
  117. package/esm2020/legacy-autocomplete/autocomplete-module.mjs +4 -4
  118. package/esm2020/legacy-autocomplete/autocomplete-origin.mjs +3 -3
  119. package/esm2020/legacy-autocomplete/autocomplete-trigger.mjs +3 -3
  120. package/esm2020/legacy-autocomplete/autocomplete.mjs +3 -3
  121. package/esm2020/legacy-button/button-module.mjs +4 -4
  122. package/esm2020/legacy-button/button.mjs +6 -6
  123. package/esm2020/legacy-card/card-module.mjs +4 -4
  124. package/esm2020/legacy-card/card.mjs +42 -42
  125. package/esm2020/legacy-checkbox/checkbox-module.mjs +4 -4
  126. package/esm2020/legacy-checkbox/checkbox.mjs +3 -3
  127. package/esm2020/legacy-chips/chip-input.mjs +6 -12
  128. package/esm2020/legacy-chips/chip-list.mjs +3 -3
  129. package/esm2020/legacy-chips/chip.mjs +12 -12
  130. package/esm2020/legacy-chips/chips-module.mjs +4 -4
  131. package/esm2020/legacy-core/option/index.mjs +4 -4
  132. package/esm2020/legacy-core/option/optgroup.mjs +3 -3
  133. package/esm2020/legacy-core/option/option.mjs +3 -3
  134. package/esm2020/legacy-dialog/dialog-container.mjs +3 -3
  135. package/esm2020/legacy-dialog/dialog-content-directives.mjs +12 -12
  136. package/esm2020/legacy-dialog/dialog-module.mjs +4 -4
  137. package/esm2020/legacy-dialog/dialog.mjs +3 -3
  138. package/esm2020/legacy-form-field/error.mjs +3 -3
  139. package/esm2020/legacy-form-field/form-field-module.mjs +4 -4
  140. package/esm2020/legacy-form-field/form-field.mjs +3 -3
  141. package/esm2020/legacy-form-field/hint.mjs +3 -3
  142. package/esm2020/legacy-form-field/label.mjs +3 -3
  143. package/esm2020/legacy-form-field/placeholder.mjs +3 -3
  144. package/esm2020/legacy-form-field/prefix.mjs +3 -3
  145. package/esm2020/legacy-form-field/suffix.mjs +3 -3
  146. package/esm2020/legacy-input/input-module.mjs +4 -4
  147. package/esm2020/legacy-input/input.mjs +3 -3
  148. package/esm2020/legacy-list/list-module.mjs +4 -4
  149. package/esm2020/legacy-list/list.mjs +18 -18
  150. package/esm2020/legacy-list/selection-list.mjs +6 -6
  151. package/esm2020/legacy-menu/menu-content.mjs +3 -3
  152. package/esm2020/legacy-menu/menu-item.mjs +3 -3
  153. package/esm2020/legacy-menu/menu-module.mjs +4 -4
  154. package/esm2020/legacy-menu/menu-trigger.mjs +3 -3
  155. package/esm2020/legacy-menu/menu.mjs +3 -3
  156. package/esm2020/legacy-paginator/paginator-module.mjs +4 -4
  157. package/esm2020/legacy-paginator/paginator.mjs +3 -3
  158. package/esm2020/legacy-progress-bar/progress-bar-module.mjs +4 -4
  159. package/esm2020/legacy-progress-bar/progress-bar.mjs +3 -3
  160. package/esm2020/legacy-progress-spinner/progress-spinner-module.mjs +4 -4
  161. package/esm2020/legacy-progress-spinner/progress-spinner.mjs +3 -3
  162. package/esm2020/legacy-radio/radio-module.mjs +4 -4
  163. package/esm2020/legacy-radio/radio.mjs +6 -6
  164. package/esm2020/legacy-select/select-module.mjs +4 -4
  165. package/esm2020/legacy-select/select.mjs +6 -6
  166. package/esm2020/legacy-slide-toggle/slide-toggle-module.mjs +4 -4
  167. package/esm2020/legacy-slide-toggle/slide-toggle.mjs +3 -3
  168. package/esm2020/legacy-slider/slider-module.mjs +4 -4
  169. package/esm2020/legacy-slider/slider.mjs +3 -3
  170. package/esm2020/legacy-snack-bar/simple-snack-bar.mjs +3 -3
  171. package/esm2020/legacy-snack-bar/snack-bar-container.mjs +3 -3
  172. package/esm2020/legacy-snack-bar/snack-bar-module.mjs +4 -4
  173. package/esm2020/legacy-snack-bar/snack-bar.mjs +3 -3
  174. package/esm2020/legacy-table/cell.mjs +21 -21
  175. package/esm2020/legacy-table/row.mjs +21 -21
  176. package/esm2020/legacy-table/table-module.mjs +4 -4
  177. package/esm2020/legacy-table/table.mjs +6 -6
  178. package/esm2020/legacy-table/text-column.mjs +3 -3
  179. package/esm2020/legacy-tabs/ink-bar.mjs +3 -3
  180. package/esm2020/legacy-tabs/tab-body.mjs +6 -6
  181. package/esm2020/legacy-tabs/tab-content.mjs +3 -3
  182. package/esm2020/legacy-tabs/tab-group.mjs +3 -3
  183. package/esm2020/legacy-tabs/tab-header.mjs +3 -3
  184. package/esm2020/legacy-tabs/tab-label-wrapper.mjs +3 -3
  185. package/esm2020/legacy-tabs/tab-label.mjs +3 -3
  186. package/esm2020/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
  187. package/esm2020/legacy-tabs/tab.mjs +3 -3
  188. package/esm2020/legacy-tabs/tabs-module.mjs +4 -4
  189. package/esm2020/legacy-tooltip/tooltip-module.mjs +4 -4
  190. package/esm2020/legacy-tooltip/tooltip.mjs +9 -11
  191. package/esm2020/list/action-list.mjs +3 -3
  192. package/esm2020/list/list-base.mjs +6 -6
  193. package/esm2020/list/list-item-sections.mjs +18 -18
  194. package/esm2020/list/list-module.mjs +4 -4
  195. package/esm2020/list/list-option.mjs +5 -5
  196. package/esm2020/list/list.mjs +6 -6
  197. package/esm2020/list/nav-list.mjs +3 -3
  198. package/esm2020/list/selection-list.mjs +3 -3
  199. package/esm2020/list/subheader.mjs +3 -3
  200. package/esm2020/menu/menu-content.mjs +6 -6
  201. package/esm2020/menu/menu-item.mjs +3 -3
  202. package/esm2020/menu/menu-trigger.mjs +6 -6
  203. package/esm2020/menu/menu.mjs +14 -17
  204. package/esm2020/menu/module.mjs +4 -4
  205. package/esm2020/paginator/module.mjs +4 -4
  206. package/esm2020/paginator/paginator-intl.mjs +3 -3
  207. package/esm2020/paginator/paginator.mjs +6 -6
  208. package/esm2020/progress-bar/module.mjs +4 -4
  209. package/esm2020/progress-bar/progress-bar.mjs +4 -4
  210. package/esm2020/progress-spinner/module.mjs +4 -4
  211. package/esm2020/progress-spinner/progress-spinner.mjs +3 -3
  212. package/esm2020/radio/module.mjs +4 -4
  213. package/esm2020/radio/radio.mjs +13 -13
  214. package/esm2020/select/module.mjs +4 -4
  215. package/esm2020/select/select.mjs +9 -9
  216. package/esm2020/sidenav/drawer.mjs +9 -9
  217. package/esm2020/sidenav/sidenav-module.mjs +4 -4
  218. package/esm2020/sidenav/sidenav.mjs +9 -9
  219. package/esm2020/slide-toggle/module.mjs +8 -8
  220. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +3 -3
  221. package/esm2020/slide-toggle/slide-toggle.mjs +6 -6
  222. package/esm2020/slider/module.mjs +4 -4
  223. package/esm2020/slider/slider-input.mjs +6 -6
  224. package/esm2020/slider/slider-thumb.mjs +3 -3
  225. package/esm2020/slider/slider.mjs +3 -3
  226. package/esm2020/snack-bar/module.mjs +4 -4
  227. package/esm2020/snack-bar/simple-snack-bar.mjs +3 -3
  228. package/esm2020/snack-bar/snack-bar-container.mjs +6 -6
  229. package/esm2020/snack-bar/snack-bar-content.mjs +9 -9
  230. package/esm2020/snack-bar/snack-bar.mjs +6 -6
  231. package/esm2020/sort/sort-header-intl.mjs +3 -3
  232. package/esm2020/sort/sort-header.mjs +3 -3
  233. package/esm2020/sort/sort-module.mjs +4 -4
  234. package/esm2020/sort/sort.mjs +3 -3
  235. package/esm2020/stepper/step-content.mjs +3 -3
  236. package/esm2020/stepper/step-header.mjs +3 -3
  237. package/esm2020/stepper/step-label.mjs +3 -3
  238. package/esm2020/stepper/stepper-button.mjs +6 -6
  239. package/esm2020/stepper/stepper-icon.mjs +3 -3
  240. package/esm2020/stepper/stepper-intl.mjs +3 -3
  241. package/esm2020/stepper/stepper-module.mjs +4 -4
  242. package/esm2020/stepper/stepper.mjs +6 -6
  243. package/esm2020/table/cell.mjs +21 -21
  244. package/esm2020/table/module.mjs +4 -4
  245. package/esm2020/table/row.mjs +21 -21
  246. package/esm2020/table/table.mjs +6 -6
  247. package/esm2020/table/text-column.mjs +3 -3
  248. package/esm2020/tabs/module.mjs +4 -4
  249. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  250. package/esm2020/tabs/tab-body.mjs +9 -9
  251. package/esm2020/tabs/tab-content.mjs +3 -3
  252. package/esm2020/tabs/tab-group.mjs +6 -6
  253. package/esm2020/tabs/tab-header.mjs +6 -6
  254. package/esm2020/tabs/tab-label-wrapper.mjs +6 -6
  255. package/esm2020/tabs/tab-label.mjs +3 -3
  256. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +15 -15
  257. package/esm2020/tabs/tab.mjs +6 -6
  258. package/esm2020/toolbar/toolbar-module.mjs +4 -4
  259. package/esm2020/toolbar/toolbar.mjs +6 -6
  260. package/esm2020/tooltip/module.mjs +4 -4
  261. package/esm2020/tooltip/tooltip.mjs +27 -19
  262. package/esm2020/tree/node.mjs +9 -9
  263. package/esm2020/tree/outlet.mjs +3 -3
  264. package/esm2020/tree/padding.mjs +3 -3
  265. package/esm2020/tree/toggle.mjs +3 -3
  266. package/esm2020/tree/tree-module.mjs +4 -4
  267. package/esm2020/tree/tree.mjs +4 -4
  268. package/expansion/index.d.ts +3 -3
  269. package/fesm2015/autocomplete/testing.mjs +0 -16
  270. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  271. package/fesm2015/autocomplete.mjs +24 -75
  272. package/fesm2015/autocomplete.mjs.map +1 -1
  273. package/fesm2015/badge/testing.mjs +0 -16
  274. package/fesm2015/badge/testing.mjs.map +1 -1
  275. package/fesm2015/badge.mjs +7 -30
  276. package/fesm2015/badge.mjs.map +1 -1
  277. package/fesm2015/bottom-sheet/testing.mjs +0 -16
  278. package/fesm2015/bottom-sheet/testing.mjs.map +1 -1
  279. package/fesm2015/bottom-sheet.mjs +10 -61
  280. package/fesm2015/bottom-sheet.mjs.map +1 -1
  281. package/fesm2015/button/testing.mjs +0 -16
  282. package/fesm2015/button/testing.mjs.map +1 -1
  283. package/fesm2015/button-toggle/testing.mjs +0 -16
  284. package/fesm2015/button-toggle/testing.mjs.map +1 -1
  285. package/fesm2015/button-toggle.mjs +10 -33
  286. package/fesm2015/button-toggle.mjs.map +1 -1
  287. package/fesm2015/button.mjs +198 -86
  288. package/fesm2015/button.mjs.map +1 -1
  289. package/fesm2015/card/testing.mjs +0 -16
  290. package/fesm2015/card/testing.mjs.map +1 -1
  291. package/fesm2015/card.mjs +46 -76
  292. package/fesm2015/card.mjs.map +1 -1
  293. package/fesm2015/checkbox/testing.mjs +0 -16
  294. package/fesm2015/checkbox/testing.mjs.map +1 -1
  295. package/fesm2015/checkbox.mjs +17 -61
  296. package/fesm2015/checkbox.mjs.map +1 -1
  297. package/fesm2015/chips/testing.mjs +0 -23
  298. package/fesm2015/chips/testing.mjs.map +1 -1
  299. package/fesm2015/chips.mjs +42 -148
  300. package/fesm2015/chips.mjs.map +1 -1
  301. package/fesm2015/core/testing.mjs +0 -16
  302. package/fesm2015/core/testing.mjs.map +1 -1
  303. package/fesm2015/core.mjs +60 -246
  304. package/fesm2015/core.mjs.map +1 -1
  305. package/fesm2015/datepicker/testing.mjs +0 -16
  306. package/fesm2015/datepicker/testing.mjs.map +1 -1
  307. package/fesm2015/datepicker.mjs +82 -238
  308. package/fesm2015/datepicker.mjs.map +1 -1
  309. package/fesm2015/dialog/testing.mjs +0 -23
  310. package/fesm2015/dialog/testing.mjs.map +1 -1
  311. package/fesm2015/dialog.mjs +29 -87
  312. package/fesm2015/dialog.mjs.map +1 -1
  313. package/fesm2015/divider/testing.mjs +0 -16
  314. package/fesm2015/divider/testing.mjs.map +1 -1
  315. package/fesm2015/divider.mjs +7 -37
  316. package/fesm2015/divider.mjs.map +1 -1
  317. package/fesm2015/expansion/testing.mjs +0 -16
  318. package/fesm2015/expansion/testing.mjs.map +1 -1
  319. package/fesm2015/expansion.mjs +25 -83
  320. package/fesm2015/expansion.mjs.map +1 -1
  321. package/fesm2015/form-field/testing/control.mjs +0 -15
  322. package/fesm2015/form-field/testing/control.mjs.map +1 -1
  323. package/fesm2015/form-field/testing.mjs +1 -15
  324. package/fesm2015/form-field/testing.mjs.map +1 -1
  325. package/fesm2015/form-field.mjs +34 -127
  326. package/fesm2015/form-field.mjs.map +1 -1
  327. package/fesm2015/grid-list/testing.mjs +0 -16
  328. package/fesm2015/grid-list/testing.mjs.map +1 -1
  329. package/fesm2015/grid-list.mjs +22 -79
  330. package/fesm2015/grid-list.mjs.map +1 -1
  331. package/fesm2015/icon/testing.mjs +7 -30
  332. package/fesm2015/icon/testing.mjs.map +1 -1
  333. package/fesm2015/icon.mjs +10 -54
  334. package/fesm2015/icon.mjs.map +1 -1
  335. package/fesm2015/input/testing.mjs +0 -16
  336. package/fesm2015/input/testing.mjs.map +1 -1
  337. package/fesm2015/input.mjs +7 -51
  338. package/fesm2015/input.mjs.map +1 -1
  339. package/fesm2015/legacy-autocomplete/testing.mjs +0 -16
  340. package/fesm2015/legacy-autocomplete/testing.mjs.map +1 -1
  341. package/fesm2015/legacy-autocomplete.mjs +13 -57
  342. package/fesm2015/legacy-autocomplete.mjs.map +1 -1
  343. package/fesm2015/legacy-button/testing.mjs +0 -16
  344. package/fesm2015/legacy-button/testing.mjs.map +1 -1
  345. package/fesm2015/legacy-button.mjs +10 -33
  346. package/fesm2015/legacy-button.mjs.map +1 -1
  347. package/fesm2015/legacy-card/testing.mjs +0 -16
  348. package/fesm2015/legacy-card/testing.mjs.map +1 -1
  349. package/fesm2015/legacy-card.mjs +46 -76
  350. package/fesm2015/legacy-card.mjs.map +1 -1
  351. package/fesm2015/legacy-checkbox/testing.mjs +0 -16
  352. package/fesm2015/legacy-checkbox/testing.mjs.map +1 -1
  353. package/fesm2015/legacy-checkbox.mjs +7 -30
  354. package/fesm2015/legacy-checkbox.mjs.map +1 -1
  355. package/fesm2015/legacy-chips/testing.mjs +0 -23
  356. package/fesm2015/legacy-chips/testing.mjs.map +1 -1
  357. package/fesm2015/legacy-chips.mjs +24 -74
  358. package/fesm2015/legacy-chips.mjs.map +1 -1
  359. package/fesm2015/legacy-core/testing.mjs +0 -16
  360. package/fesm2015/legacy-core/testing.mjs.map +1 -1
  361. package/fesm2015/legacy-core.mjs +10 -47
  362. package/fesm2015/legacy-core.mjs.map +1 -1
  363. package/fesm2015/legacy-dialog/testing.mjs +0 -30
  364. package/fesm2015/legacy-dialog/testing.mjs.map +1 -1
  365. package/fesm2015/legacy-dialog.mjs +22 -80
  366. package/fesm2015/legacy-dialog.mjs.map +1 -1
  367. package/fesm2015/legacy-form-field/testing.mjs +0 -23
  368. package/fesm2015/legacy-form-field/testing.mjs.map +1 -1
  369. package/fesm2015/legacy-form-field.mjs +25 -90
  370. package/fesm2015/legacy-form-field.mjs.map +1 -1
  371. package/fesm2015/legacy-input/testing.mjs +0 -16
  372. package/fesm2015/legacy-input/testing.mjs.map +1 -1
  373. package/fesm2015/legacy-input.mjs +7 -37
  374. package/fesm2015/legacy-input.mjs.map +1 -1
  375. package/fesm2015/legacy-list/testing.mjs +0 -23
  376. package/fesm2015/legacy-list/testing.mjs.map +1 -1
  377. package/fesm2015/legacy-list.mjs +28 -65
  378. package/fesm2015/legacy-list.mjs.map +1 -1
  379. package/fesm2015/legacy-menu/testing.mjs +0 -16
  380. package/fesm2015/legacy-menu/testing.mjs.map +1 -1
  381. package/fesm2015/legacy-menu.mjs +16 -67
  382. package/fesm2015/legacy-menu.mjs.map +1 -1
  383. package/fesm2015/legacy-paginator/testing.mjs +0 -23
  384. package/fesm2015/legacy-paginator/testing.mjs.map +1 -1
  385. package/fesm2015/legacy-paginator.mjs +7 -37
  386. package/fesm2015/legacy-paginator.mjs.map +1 -1
  387. package/fesm2015/legacy-progress-bar/testing.mjs +0 -16
  388. package/fesm2015/legacy-progress-bar/testing.mjs.map +1 -1
  389. package/fesm2015/legacy-progress-bar.mjs +7 -37
  390. package/fesm2015/legacy-progress-bar.mjs.map +1 -1
  391. package/fesm2015/legacy-progress-spinner/testing.mjs +0 -16
  392. package/fesm2015/legacy-progress-spinner/testing.mjs.map +1 -1
  393. package/fesm2015/legacy-progress-spinner.mjs +7 -36
  394. package/fesm2015/legacy-progress-spinner.mjs.map +1 -1
  395. package/fesm2015/legacy-radio/testing.mjs +0 -16
  396. package/fesm2015/legacy-radio/testing.mjs.map +1 -1
  397. package/fesm2015/legacy-radio.mjs +10 -33
  398. package/fesm2015/legacy-radio.mjs.map +1 -1
  399. package/fesm2015/legacy-select/testing.mjs +0 -16
  400. package/fesm2015/legacy-select/testing.mjs.map +1 -1
  401. package/fesm2015/legacy-select.mjs +10 -40
  402. package/fesm2015/legacy-select.mjs.map +1 -1
  403. package/fesm2015/legacy-slide-toggle/testing.mjs +0 -16
  404. package/fesm2015/legacy-slide-toggle/testing.mjs.map +1 -1
  405. package/fesm2015/legacy-slide-toggle.mjs +7 -37
  406. package/fesm2015/legacy-slide-toggle.mjs.map +1 -1
  407. package/fesm2015/legacy-slider/testing.mjs +0 -16
  408. package/fesm2015/legacy-slider/testing.mjs.map +1 -1
  409. package/fesm2015/legacy-slider.mjs +7 -30
  410. package/fesm2015/legacy-slider.mjs.map +1 -1
  411. package/fesm2015/legacy-snack-bar/testing.mjs +0 -16
  412. package/fesm2015/legacy-snack-bar/testing.mjs.map +1 -1
  413. package/fesm2015/legacy-snack-bar.mjs +13 -50
  414. package/fesm2015/legacy-snack-bar.mjs.map +1 -1
  415. package/fesm2015/legacy-table/testing.mjs +0 -37
  416. package/fesm2015/legacy-table/testing.mjs.map +1 -1
  417. package/fesm2015/legacy-table.mjs +55 -113
  418. package/fesm2015/legacy-table.mjs.map +1 -1
  419. package/fesm2015/legacy-tabs/testing.mjs +0 -16
  420. package/fesm2015/legacy-tabs/testing.mjs.map +1 -1
  421. package/fesm2015/legacy-tabs.mjs +40 -120
  422. package/fesm2015/legacy-tabs.mjs.map +1 -1
  423. package/fesm2015/legacy-tooltip/testing.mjs +0 -23
  424. package/fesm2015/legacy-tooltip/testing.mjs.map +1 -1
  425. package/fesm2015/legacy-tooltip.mjs +12 -44
  426. package/fesm2015/legacy-tooltip.mjs.map +1 -1
  427. package/fesm2015/list/testing.mjs +0 -23
  428. package/fesm2015/list/testing.mjs.map +1 -1
  429. package/fesm2015/list.mjs +51 -137
  430. package/fesm2015/list.mjs.map +1 -1
  431. package/fesm2015/material.mjs +0 -7
  432. package/fesm2015/material.mjs.map +1 -1
  433. package/fesm2015/menu/testing.mjs +0 -16
  434. package/fesm2015/menu/testing.mjs.map +1 -1
  435. package/fesm2015/menu.mjs +32 -107
  436. package/fesm2015/menu.mjs.map +1 -1
  437. package/fesm2015/paginator/testing.mjs +0 -16
  438. package/fesm2015/paginator/testing.mjs.map +1 -1
  439. package/fesm2015/paginator.mjs +13 -50
  440. package/fesm2015/paginator.mjs.map +1 -1
  441. package/fesm2015/progress-bar/testing.mjs +0 -16
  442. package/fesm2015/progress-bar/testing.mjs.map +1 -1
  443. package/fesm2015/progress-bar.mjs +8 -38
  444. package/fesm2015/progress-bar.mjs.map +1 -1
  445. package/fesm2015/progress-spinner/testing.mjs +0 -16
  446. package/fesm2015/progress-spinner/testing.mjs.map +1 -1
  447. package/fesm2015/progress-spinner.mjs +7 -37
  448. package/fesm2015/progress-spinner.mjs.map +1 -1
  449. package/fesm2015/radio/testing.mjs +0 -16
  450. package/fesm2015/radio/testing.mjs.map +1 -1
  451. package/fesm2015/radio.mjs +17 -47
  452. package/fesm2015/radio.mjs.map +1 -1
  453. package/fesm2015/select/testing.mjs +0 -16
  454. package/fesm2015/select/testing.mjs.map +1 -1
  455. package/fesm2015/select.mjs +13 -57
  456. package/fesm2015/select.mjs.map +1 -1
  457. package/fesm2015/sidenav/testing.mjs +0 -30
  458. package/fesm2015/sidenav/testing.mjs.map +1 -1
  459. package/fesm2015/sidenav.mjs +22 -59
  460. package/fesm2015/sidenav.mjs.map +1 -1
  461. package/fesm2015/slide-toggle/testing.mjs +0 -16
  462. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  463. package/fesm2015/slide-toggle.mjs +17 -61
  464. package/fesm2015/slide-toggle.mjs.map +1 -1
  465. package/fesm2015/slider/testing.mjs +0 -16
  466. package/fesm2015/slider/testing.mjs.map +1 -1
  467. package/fesm2015/slider.mjs +16 -60
  468. package/fesm2015/slider.mjs.map +1 -1
  469. package/fesm2015/snack-bar/testing.mjs +0 -16
  470. package/fesm2015/snack-bar/testing.mjs.map +1 -1
  471. package/fesm2015/snack-bar.mjs +28 -93
  472. package/fesm2015/snack-bar.mjs.map +1 -1
  473. package/fesm2015/sort/testing.mjs +0 -16
  474. package/fesm2015/sort/testing.mjs.map +1 -1
  475. package/fesm2015/sort.mjs +13 -64
  476. package/fesm2015/sort.mjs.map +1 -1
  477. package/fesm2015/stepper/testing.mjs +0 -16
  478. package/fesm2015/stepper/testing.mjs.map +1 -1
  479. package/fesm2015/stepper.mjs +31 -96
  480. package/fesm2015/stepper.mjs.map +1 -1
  481. package/fesm2015/table/testing.mjs +0 -16
  482. package/fesm2015/table/testing.mjs.map +1 -1
  483. package/fesm2015/table.mjs +55 -113
  484. package/fesm2015/table.mjs.map +1 -1
  485. package/fesm2015/tabs/testing.mjs +0 -16
  486. package/fesm2015/tabs/testing.mjs.map +1 -1
  487. package/fesm2015/tabs.mjs +61 -168
  488. package/fesm2015/tabs.mjs.map +1 -1
  489. package/fesm2015/toolbar/testing.mjs +0 -16
  490. package/fesm2015/toolbar/testing.mjs.map +1 -1
  491. package/fesm2015/toolbar.mjs +10 -33
  492. package/fesm2015/toolbar.mjs.map +1 -1
  493. package/fesm2015/tooltip/testing.mjs +0 -16
  494. package/fesm2015/tooltip/testing.mjs.map +1 -1
  495. package/fesm2015/tooltip.mjs +30 -59
  496. package/fesm2015/tooltip.mjs.map +1 -1
  497. package/fesm2015/tree/testing.mjs +0 -16
  498. package/fesm2015/tree/testing.mjs.map +1 -1
  499. package/fesm2015/tree.mjs +25 -90
  500. package/fesm2015/tree.mjs.map +1 -1
  501. package/fesm2020/autocomplete/testing.mjs +0 -31
  502. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  503. package/fesm2020/autocomplete.mjs +24 -75
  504. package/fesm2020/autocomplete.mjs.map +1 -1
  505. package/fesm2020/badge/testing.mjs +0 -31
  506. package/fesm2020/badge/testing.mjs.map +1 -1
  507. package/fesm2020/badge.mjs +7 -37
  508. package/fesm2020/badge.mjs.map +1 -1
  509. package/fesm2020/bottom-sheet/testing.mjs +0 -31
  510. package/fesm2020/bottom-sheet/testing.mjs.map +1 -1
  511. package/fesm2020/bottom-sheet.mjs +10 -61
  512. package/fesm2020/bottom-sheet.mjs.map +1 -1
  513. package/fesm2020/button/testing.mjs +0 -31
  514. package/fesm2020/button/testing.mjs.map +1 -1
  515. package/fesm2020/button-toggle/testing.mjs +0 -46
  516. package/fesm2020/button-toggle/testing.mjs.map +1 -1
  517. package/fesm2020/button-toggle.mjs +10 -40
  518. package/fesm2020/button-toggle.mjs.map +1 -1
  519. package/fesm2020/button.mjs +194 -107
  520. package/fesm2020/button.mjs.map +1 -1
  521. package/fesm2020/card/testing.mjs +0 -31
  522. package/fesm2020/card/testing.mjs.map +1 -1
  523. package/fesm2020/card.mjs +46 -76
  524. package/fesm2020/card.mjs.map +1 -1
  525. package/fesm2020/checkbox/testing.mjs +0 -23
  526. package/fesm2020/checkbox/testing.mjs.map +1 -1
  527. package/fesm2020/checkbox.mjs +17 -61
  528. package/fesm2020/checkbox.mjs.map +1 -1
  529. package/fesm2020/chips/testing.mjs +0 -94
  530. package/fesm2020/chips/testing.mjs.map +1 -1
  531. package/fesm2020/chips.mjs +42 -156
  532. package/fesm2020/chips.mjs.map +1 -1
  533. package/fesm2020/core/testing.mjs +0 -46
  534. package/fesm2020/core/testing.mjs.map +1 -1
  535. package/fesm2020/core.mjs +60 -267
  536. package/fesm2020/core.mjs.map +1 -1
  537. package/fesm2020/datepicker/testing.mjs +0 -73
  538. package/fesm2020/datepicker/testing.mjs.map +1 -1
  539. package/fesm2020/datepicker.mjs +82 -245
  540. package/fesm2020/datepicker.mjs.map +1 -1
  541. package/fesm2020/dialog/testing.mjs +0 -30
  542. package/fesm2020/dialog/testing.mjs.map +1 -1
  543. package/fesm2020/dialog.mjs +29 -94
  544. package/fesm2020/dialog.mjs.map +1 -1
  545. package/fesm2020/divider/testing.mjs +0 -31
  546. package/fesm2020/divider/testing.mjs.map +1 -1
  547. package/fesm2020/divider.mjs +7 -37
  548. package/fesm2020/divider.mjs.map +1 -1
  549. package/fesm2020/expansion/testing.mjs +0 -38
  550. package/fesm2020/expansion/testing.mjs.map +1 -1
  551. package/fesm2020/expansion.mjs +25 -90
  552. package/fesm2020/expansion.mjs.map +1 -1
  553. package/fesm2020/form-field/testing/control.mjs +0 -15
  554. package/fesm2020/form-field/testing/control.mjs.map +1 -1
  555. package/fesm2020/form-field/testing.mjs +1 -37
  556. package/fesm2020/form-field/testing.mjs.map +1 -1
  557. package/fesm2020/form-field.mjs +34 -134
  558. package/fesm2020/form-field.mjs.map +1 -1
  559. package/fesm2020/grid-list/testing.mjs +0 -38
  560. package/fesm2020/grid-list/testing.mjs.map +1 -1
  561. package/fesm2020/grid-list.mjs +22 -79
  562. package/fesm2020/grid-list.mjs.map +1 -1
  563. package/fesm2020/icon/testing.mjs +7 -45
  564. package/fesm2020/icon/testing.mjs.map +1 -1
  565. package/fesm2020/icon.mjs +10 -54
  566. package/fesm2020/icon.mjs.map +1 -1
  567. package/fesm2020/input/testing.mjs +0 -53
  568. package/fesm2020/input/testing.mjs.map +1 -1
  569. package/fesm2020/input.mjs +7 -51
  570. package/fesm2020/input.mjs.map +1 -1
  571. package/fesm2020/legacy-autocomplete/testing.mjs +0 -23
  572. package/fesm2020/legacy-autocomplete/testing.mjs.map +1 -1
  573. package/fesm2020/legacy-autocomplete.mjs +13 -57
  574. package/fesm2020/legacy-autocomplete.mjs.map +1 -1
  575. package/fesm2020/legacy-button/testing.mjs +0 -23
  576. package/fesm2020/legacy-button/testing.mjs.map +1 -1
  577. package/fesm2020/legacy-button.mjs +10 -40
  578. package/fesm2020/legacy-button.mjs.map +1 -1
  579. package/fesm2020/legacy-card/testing.mjs +0 -23
  580. package/fesm2020/legacy-card/testing.mjs.map +1 -1
  581. package/fesm2020/legacy-card.mjs +46 -76
  582. package/fesm2020/legacy-card.mjs.map +1 -1
  583. package/fesm2020/legacy-checkbox/testing.mjs +0 -23
  584. package/fesm2020/legacy-checkbox/testing.mjs.map +1 -1
  585. package/fesm2020/legacy-checkbox.mjs +7 -37
  586. package/fesm2020/legacy-checkbox.mjs.map +1 -1
  587. package/fesm2020/legacy-chips/testing.mjs +0 -65
  588. package/fesm2020/legacy-chips/testing.mjs.map +1 -1
  589. package/fesm2020/legacy-chips.mjs +24 -74
  590. package/fesm2020/legacy-chips.mjs.map +1 -1
  591. package/fesm2020/legacy-core/testing.mjs +0 -46
  592. package/fesm2020/legacy-core/testing.mjs.map +1 -1
  593. package/fesm2020/legacy-core.mjs +10 -47
  594. package/fesm2020/legacy-core.mjs.map +1 -1
  595. package/fesm2020/legacy-dialog/testing.mjs +0 -30
  596. package/fesm2020/legacy-dialog/testing.mjs.map +1 -1
  597. package/fesm2020/legacy-dialog.mjs +22 -80
  598. package/fesm2020/legacy-dialog.mjs.map +1 -1
  599. package/fesm2020/legacy-form-field/testing.mjs +0 -30
  600. package/fesm2020/legacy-form-field/testing.mjs.map +1 -1
  601. package/fesm2020/legacy-form-field.mjs +25 -97
  602. package/fesm2020/legacy-form-field.mjs.map +1 -1
  603. package/fesm2020/legacy-input/testing.mjs +0 -16
  604. package/fesm2020/legacy-input/testing.mjs.map +1 -1
  605. package/fesm2020/legacy-input.mjs +7 -37
  606. package/fesm2020/legacy-input.mjs.map +1 -1
  607. package/fesm2020/legacy-list/testing.mjs +0 -58
  608. package/fesm2020/legacy-list/testing.mjs.map +1 -1
  609. package/fesm2020/legacy-list.mjs +28 -65
  610. package/fesm2020/legacy-list.mjs.map +1 -1
  611. package/fesm2020/legacy-menu/testing.mjs +0 -23
  612. package/fesm2020/legacy-menu/testing.mjs.map +1 -1
  613. package/fesm2020/legacy-menu.mjs +16 -67
  614. package/fesm2020/legacy-menu.mjs.map +1 -1
  615. package/fesm2020/legacy-paginator/testing.mjs +0 -23
  616. package/fesm2020/legacy-paginator/testing.mjs.map +1 -1
  617. package/fesm2020/legacy-paginator.mjs +7 -37
  618. package/fesm2020/legacy-paginator.mjs.map +1 -1
  619. package/fesm2020/legacy-progress-bar/testing.mjs +0 -23
  620. package/fesm2020/legacy-progress-bar/testing.mjs.map +1 -1
  621. package/fesm2020/legacy-progress-bar.mjs +7 -37
  622. package/fesm2020/legacy-progress-bar.mjs.map +1 -1
  623. package/fesm2020/legacy-progress-spinner/testing.mjs +0 -23
  624. package/fesm2020/legacy-progress-spinner/testing.mjs.map +1 -1
  625. package/fesm2020/legacy-progress-spinner.mjs +7 -36
  626. package/fesm2020/legacy-progress-spinner.mjs.map +1 -1
  627. package/fesm2020/legacy-radio/testing.mjs +0 -23
  628. package/fesm2020/legacy-radio/testing.mjs.map +1 -1
  629. package/fesm2020/legacy-radio.mjs +10 -40
  630. package/fesm2020/legacy-radio.mjs.map +1 -1
  631. package/fesm2020/legacy-select/testing.mjs +0 -23
  632. package/fesm2020/legacy-select/testing.mjs.map +1 -1
  633. package/fesm2020/legacy-select.mjs +10 -40
  634. package/fesm2020/legacy-select.mjs.map +1 -1
  635. package/fesm2020/legacy-slide-toggle/testing.mjs +0 -23
  636. package/fesm2020/legacy-slide-toggle/testing.mjs.map +1 -1
  637. package/fesm2020/legacy-slide-toggle.mjs +7 -44
  638. package/fesm2020/legacy-slide-toggle.mjs.map +1 -1
  639. package/fesm2020/legacy-slider/testing.mjs +0 -23
  640. package/fesm2020/legacy-slider/testing.mjs.map +1 -1
  641. package/fesm2020/legacy-slider.mjs +7 -37
  642. package/fesm2020/legacy-slider.mjs.map +1 -1
  643. package/fesm2020/legacy-snack-bar/testing.mjs +0 -23
  644. package/fesm2020/legacy-snack-bar/testing.mjs.map +1 -1
  645. package/fesm2020/legacy-snack-bar.mjs +13 -57
  646. package/fesm2020/legacy-snack-bar.mjs.map +1 -1
  647. package/fesm2020/legacy-table/testing.mjs +0 -37
  648. package/fesm2020/legacy-table/testing.mjs.map +1 -1
  649. package/fesm2020/legacy-table.mjs +55 -113
  650. package/fesm2020/legacy-table.mjs.map +1 -1
  651. package/fesm2020/legacy-tabs/testing.mjs +0 -51
  652. package/fesm2020/legacy-tabs/testing.mjs.map +1 -1
  653. package/fesm2020/legacy-tabs.mjs +40 -134
  654. package/fesm2020/legacy-tabs.mjs.map +1 -1
  655. package/fesm2020/legacy-tooltip/testing.mjs +0 -23
  656. package/fesm2020/legacy-tooltip/testing.mjs.map +1 -1
  657. package/fesm2020/legacy-tooltip.mjs +12 -51
  658. package/fesm2020/legacy-tooltip.mjs.map +1 -1
  659. package/fesm2020/list/testing.mjs +0 -66
  660. package/fesm2020/list/testing.mjs.map +1 -1
  661. package/fesm2020/list.mjs +51 -144
  662. package/fesm2020/list.mjs.map +1 -1
  663. package/fesm2020/material.mjs +0 -7
  664. package/fesm2020/material.mjs.map +1 -1
  665. package/fesm2020/menu/testing.mjs +0 -31
  666. package/fesm2020/menu/testing.mjs.map +1 -1
  667. package/fesm2020/menu.mjs +32 -115
  668. package/fesm2020/menu.mjs.map +1 -1
  669. package/fesm2020/paginator/testing.mjs +0 -31
  670. package/fesm2020/paginator/testing.mjs.map +1 -1
  671. package/fesm2020/paginator.mjs +13 -50
  672. package/fesm2020/paginator.mjs.map +1 -1
  673. package/fesm2020/progress-bar/testing.mjs +0 -31
  674. package/fesm2020/progress-bar/testing.mjs.map +1 -1
  675. package/fesm2020/progress-bar.mjs +8 -38
  676. package/fesm2020/progress-bar.mjs.map +1 -1
  677. package/fesm2020/progress-spinner/testing.mjs +0 -31
  678. package/fesm2020/progress-spinner/testing.mjs.map +1 -1
  679. package/fesm2020/progress-spinner.mjs +7 -37
  680. package/fesm2020/progress-spinner.mjs.map +1 -1
  681. package/fesm2020/radio/testing.mjs +0 -31
  682. package/fesm2020/radio/testing.mjs.map +1 -1
  683. package/fesm2020/radio.mjs +17 -47
  684. package/fesm2020/radio.mjs.map +1 -1
  685. package/fesm2020/select/testing.mjs +0 -31
  686. package/fesm2020/select/testing.mjs.map +1 -1
  687. package/fesm2020/select.mjs +13 -57
  688. package/fesm2020/select.mjs.map +1 -1
  689. package/fesm2020/sidenav/testing.mjs +0 -66
  690. package/fesm2020/sidenav/testing.mjs.map +1 -1
  691. package/fesm2020/sidenav.mjs +22 -59
  692. package/fesm2020/sidenav.mjs.map +1 -1
  693. package/fesm2020/slide-toggle/testing.mjs +0 -31
  694. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  695. package/fesm2020/slide-toggle.mjs +17 -61
  696. package/fesm2020/slide-toggle.mjs.map +1 -1
  697. package/fesm2020/slider/testing.mjs +0 -30
  698. package/fesm2020/slider/testing.mjs.map +1 -1
  699. package/fesm2020/slider.mjs +16 -67
  700. package/fesm2020/slider.mjs.map +1 -1
  701. package/fesm2020/snack-bar/testing.mjs +0 -31
  702. package/fesm2020/snack-bar/testing.mjs.map +1 -1
  703. package/fesm2020/snack-bar.mjs +28 -100
  704. package/fesm2020/snack-bar.mjs.map +1 -1
  705. package/fesm2020/sort/testing.mjs +0 -30
  706. package/fesm2020/sort/testing.mjs.map +1 -1
  707. package/fesm2020/sort.mjs +13 -79
  708. package/fesm2020/sort.mjs.map +1 -1
  709. package/fesm2020/stepper/testing.mjs +0 -37
  710. package/fesm2020/stepper/testing.mjs.map +1 -1
  711. package/fesm2020/stepper.mjs +31 -110
  712. package/fesm2020/stepper.mjs.map +1 -1
  713. package/fesm2020/table/testing.mjs +0 -37
  714. package/fesm2020/table/testing.mjs.map +1 -1
  715. package/fesm2020/table.mjs +55 -113
  716. package/fesm2020/table.mjs.map +1 -1
  717. package/fesm2020/tabs/testing.mjs +0 -51
  718. package/fesm2020/tabs/testing.mjs.map +1 -1
  719. package/fesm2020/tabs.mjs +61 -168
  720. package/fesm2020/tabs.mjs.map +1 -1
  721. package/fesm2020/toolbar/testing.mjs +0 -31
  722. package/fesm2020/toolbar/testing.mjs.map +1 -1
  723. package/fesm2020/toolbar.mjs +10 -40
  724. package/fesm2020/toolbar.mjs.map +1 -1
  725. package/fesm2020/tooltip/testing.mjs +0 -31
  726. package/fesm2020/tooltip/testing.mjs.map +1 -1
  727. package/fesm2020/tooltip.mjs +30 -59
  728. package/fesm2020/tooltip.mjs.map +1 -1
  729. package/fesm2020/tree/testing.mjs +0 -38
  730. package/fesm2020/tree/testing.mjs.map +1 -1
  731. package/fesm2020/tree.mjs +25 -90
  732. package/fesm2020/tree.mjs.map +1 -1
  733. package/form-field/index.d.ts +7 -7
  734. package/grid-list/index.d.ts +2 -2
  735. package/icon/index.d.ts +1 -1
  736. package/input/index.d.ts +1 -1
  737. package/legacy-autocomplete/index.d.ts +1 -1
  738. package/legacy-button/index.d.ts +2 -2
  739. package/legacy-card/index.d.ts +1 -1
  740. package/legacy-checkbox/index.d.ts +1 -1
  741. package/legacy-chips/index.d.ts +4 -5
  742. package/legacy-core/index.d.ts +1 -1
  743. package/legacy-dialog/index.d.ts +3 -3
  744. package/legacy-form-field/index.d.ts +3 -3
  745. package/legacy-list/index.d.ts +5 -5
  746. package/legacy-menu/index.d.ts +1 -1
  747. package/legacy-paginator/index.d.ts +1 -1
  748. package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +1 -1
  749. package/legacy-prebuilt-themes/legacy-indigo-pink.css +1 -1
  750. package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +1 -1
  751. package/legacy-prebuilt-themes/legacy-purple-green.css +1 -1
  752. package/legacy-progress-bar/index.d.ts +1 -1
  753. package/legacy-progress-spinner/index.d.ts +1 -1
  754. package/legacy-radio/index.d.ts +1 -1
  755. package/legacy-select/index.d.ts +1 -1
  756. package/legacy-slide-toggle/index.d.ts +1 -1
  757. package/legacy-slider/index.d.ts +1 -1
  758. package/legacy-table/index.d.ts +4 -4
  759. package/legacy-tabs/index.d.ts +7 -7
  760. package/legacy-tooltip/index.d.ts +1 -2
  761. package/list/_list-theme.scss +20 -23
  762. package/list/index.d.ts +5 -5
  763. package/menu/index.d.ts +3 -4
  764. package/package.json +2 -2
  765. package/paginator/index.d.ts +2 -2
  766. package/prebuilt-themes/deeppurple-amber.css +1 -1
  767. package/prebuilt-themes/indigo-pink.css +1 -1
  768. package/prebuilt-themes/pink-bluegrey.css +1 -1
  769. package/prebuilt-themes/purple-green.css +1 -1
  770. package/progress-bar/_progress-bar-theme.scss +17 -24
  771. package/progress-bar/index.d.ts +1 -1
  772. package/progress-spinner/index.d.ts +1 -1
  773. package/radio/_radio-theme.scss +33 -17
  774. package/radio/index.d.ts +3 -3
  775. package/schematics/ng-add/index.js +1 -1
  776. package/schematics/ng-add/index.mjs +1 -1
  777. package/schematics/ng-generate/mdc-migration/index_bundled.js +833 -404
  778. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
  779. package/schematics/ng-update/index_bundled.js +25 -25
  780. package/select/index.d.ts +2 -2
  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 +1 @@
1
- {"version":3,"file":"legacy-checkbox.mjs","sources":["../../../../../../src/material/legacy-checkbox/checkbox.ts","../../../../../../src/material/legacy-checkbox/checkbox.html","../../../../../../src/material/legacy-checkbox/checkbox-module.ts","../../../../../../src/material/legacy-checkbox/public-api.ts","../../../../../../src/material/legacy-checkbox/index.ts","../../../../../../src/material/legacy-checkbox/legacy-checkbox_public_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 {FocusMonitor, FocusOrigin} from '@angular/cdk/a11y';\nimport {\n AfterViewInit,\n Attribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n Inject,\n NgZone,\n OnDestroy,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {\n _MatCheckboxBase,\n MAT_CHECKBOX_DEFAULT_OPTIONS,\n MatCheckboxDefaultOptions,\n} from '@angular/material/checkbox';\n\n/**\n * Change event object emitted by a checkbox.\n * @deprecated Use `MatCheckboxChange` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyCheckboxChange {\n /** The source checkbox of the event. */\n source: MatLegacyCheckbox;\n /** The new `checked` value of the checkbox. */\n checked: boolean;\n}\n/**\n * Provider Expression that allows mat-checkbox to register as a ControlValueAccessor.\n * This allows it to support [(ngModel)].\n * @docs-private\n * @deprecated Use `MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyCheckbox),\n multi: true,\n};\n\n/**\n * A material design checkbox component. Supports all of the functionality of an HTML5 checkbox,\n * and exposes a similar API. A checkbox can be either checked, unchecked, indeterminate, or\n * disabled. Note that all additional accessibility attributes are taken care of by the component,\n * so there is no need to provide them yourself. However, if you want to omit a label and still\n * have the checkbox be accessible, you may supply an [aria-label] input.\n * See: https://material.io/design/components/selection-controls.html\n * @deprecated Use `MatCheckbox` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Component({\n selector: 'mat-checkbox',\n templateUrl: 'checkbox.html',\n styleUrls: ['checkbox.css'],\n exportAs: 'matCheckbox',\n host: {\n 'class': 'mat-checkbox',\n '[id]': 'id',\n '[attr.tabindex]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[class.mat-checkbox-indeterminate]': 'indeterminate',\n '[class.mat-checkbox-checked]': 'checked',\n '[class.mat-checkbox-disabled]': 'disabled',\n '[class.mat-checkbox-label-before]': 'labelPosition == \"before\"',\n '[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,\n },\n providers: [MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR],\n inputs: ['disableRipple', 'color', 'tabIndex'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatLegacyCheckbox\n extends _MatCheckboxBase<MatLegacyCheckboxChange>\n implements AfterViewInit, OnDestroy\n{\n protected _animationClasses = {\n uncheckedToChecked: 'mat-checkbox-anim-unchecked-checked',\n uncheckedToIndeterminate: 'mat-checkbox-anim-unchecked-indeterminate',\n checkedToUnchecked: 'mat-checkbox-anim-checked-unchecked',\n checkedToIndeterminate: 'mat-checkbox-anim-checked-indeterminate',\n indeterminateToChecked: 'mat-checkbox-anim-indeterminate-checked',\n indeterminateToUnchecked: 'mat-checkbox-anim-indeterminate-unchecked',\n };\n\n constructor(\n elementRef: ElementRef<HTMLElement>,\n changeDetectorRef: ChangeDetectorRef,\n private _focusMonitor: FocusMonitor,\n ngZone: NgZone,\n @Attribute('tabindex') tabIndex: string,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n @Optional()\n @Inject(MAT_CHECKBOX_DEFAULT_OPTIONS)\n options?: MatCheckboxDefaultOptions,\n ) {\n super('mat-checkbox-', elementRef, changeDetectorRef, ngZone, tabIndex, animationMode, options);\n }\n\n protected _createChangeEvent(isChecked: boolean) {\n const event = new MatLegacyCheckboxChange();\n event.source = this;\n event.checked = isChecked;\n return event;\n }\n\n protected _getAnimationTargetElement() {\n return this._elementRef.nativeElement;\n }\n\n override ngAfterViewInit() {\n super.ngAfterViewInit();\n\n this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {\n if (!focusOrigin) {\n this._onBlur();\n }\n });\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n\n /**\n * Event handler for checkbox input element.\n * Toggles checked state if element is not disabled.\n * Do not toggle on (change) event since IE doesn't fire change event when\n * indeterminate checkbox is clicked.\n * @param event\n */\n _onInputClick(event: Event) {\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `checkbox` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n super._handleInputClick();\n }\n\n /** Focuses the checkbox. */\n focus(origin?: FocusOrigin, options?: FocusOptions): void {\n if (origin) {\n this._focusMonitor.focusVia(this._inputElement, origin, options);\n } else {\n this._inputElement.nativeElement.focus(options);\n }\n }\n}\n","<label [attr.for]=\"inputId\" class=\"mat-checkbox-layout\" #label>\n <span class=\"mat-checkbox-inner-container\"\n [class.mat-checkbox-inner-container-no-side-margin]=\"!checkboxLabel.textContent || !checkboxLabel.textContent.trim()\">\n <input #input\n class=\"mat-checkbox-input cdk-visually-hidden\" type=\"checkbox\"\n [id]=\"inputId\"\n [required]=\"required\"\n [checked]=\"checked\"\n [attr.value]=\"value\"\n [disabled]=\"disabled\"\n [attr.name]=\"name\"\n [tabIndex]=\"tabIndex\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"_onInteractionEvent($event)\"\n (click)=\"_onInputClick($event)\">\n <span matRipple class=\"mat-checkbox-ripple mat-focus-indicator\"\n [matRippleTrigger]=\"label\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleRadius]=\"20\"\n [matRippleCentered]=\"true\"\n [matRippleAnimation]=\"{enterDuration: _animationMode === 'NoopAnimations' ? 0 : 150}\">\n <span class=\"mat-ripple-element mat-checkbox-persistent-ripple\"></span>\n </span>\n <span class=\"mat-checkbox-frame\"></span>\n <span class=\"mat-checkbox-background\">\n <svg version=\"1.1\"\n focusable=\"false\"\n class=\"mat-checkbox-checkmark\"\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\">\n <path class=\"mat-checkbox-checkmark-path\"\n fill=\"none\"\n stroke=\"white\"\n d=\"M4.1,12.7 9,17.6 20.3,6.3\"/>\n </svg>\n <!-- Element for rendering the indeterminate state checkbox. -->\n <span class=\"mat-checkbox-mixedmark\"></span>\n </span>\n </span>\n <span class=\"mat-checkbox-label\" #checkboxLabel (cdkObserveContent)=\"_onLabelTextChange()\">\n <!-- Add an invisible span so JAWS can read the label -->\n <span style=\"display:none\">&nbsp;</span>\n <ng-content></ng-content>\n </span>\n</label>\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 {ObserversModule} from '@angular/cdk/observers';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule, MatRippleModule} from '@angular/material/core';\nimport {MatLegacyCheckbox} from './checkbox';\nimport {_MatCheckboxRequiredValidatorModule} from '@angular/material/checkbox';\n\n/**\n * @deprecated Use `MatCheckboxModule` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [MatRippleModule, MatCommonModule, ObserversModule, _MatCheckboxRequiredValidatorModule],\n exports: [MatLegacyCheckbox, MatCommonModule, _MatCheckboxRequiredValidatorModule],\n declarations: [MatLegacyCheckbox],\n})\nexport class MatLegacyCheckboxModule {}\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 {\n MatLegacyCheckboxChange,\n MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR,\n MatLegacyCheckbox,\n} from './checkbox';\nexport {MatLegacyCheckboxModule} from './checkbox-module';\n\nexport {\n /**\n * @deprecated Use `MAT_CHECKBOX_REQUIRED_VALIDATOR` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_CHECKBOX_REQUIRED_VALIDATOR as MAT_LEGACY_CHECKBOX_REQUIRED_VALIDATOR,\n\n /**\n * @deprecated Use `MatCheckboxClickAction` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatCheckboxClickAction as MatLegacyCheckboxClickAction,\n\n /**\n * @deprecated Use `MatCheckboxRequiredValidator` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatCheckboxRequiredValidator as MatLegacyCheckboxRequiredValidator,\n\n /**\n * @deprecated Use `_MatCheckboxRequiredValidatorModule` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n _MatCheckboxRequiredValidatorModule as _MatLegacyCheckboxRequiredValidatorModule,\n\n /**\n * @deprecated Use `TransitionCheckState` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n TransitionCheckState as LegacyTransitionCheckState,\n\n /**\n * @deprecated Use `MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS_FACTORY,\n\n /**\n * @deprecated Use `MatCheckboxDefaultOptions` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatCheckboxDefaultOptions as MatLegacyCheckboxDefaultOptions,\n\n /**\n * @deprecated Use `MAT_CHECKBOX_DEFAULT_OPTIONS` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_CHECKBOX_DEFAULT_OPTIONS as MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS,\n} from '@angular/material/checkbox';\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;AAMG;AAyBH;;;;AAIG;MACU,uBAAuB,CAAA;AAKnC,CAAA;AACD;;;;;;AAMG;AACU,MAAA,0CAA0C,GAAQ;AAC7D,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,iBAAiB,CAAC;AAChD,IAAA,KAAK,EAAE,IAAI;EACX;AAEF;;;;;;;;;AASG;AACH,MAsBa,iBACX,SAAQ,gBAAyC,CAAA;AAYjD,IAAA,WAAA,CACE,UAAmC,EACnC,iBAAoC,EAC5B,aAA2B,EACnC,MAAc,EACS,QAAgB,EACI,aAAsB,EAGjE,OAAmC,EAAA;AAEnC,QAAA,KAAK,CAAC,eAAe,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QARxF,IAAa,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BAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,eAAe,EAAE,mCAAmC,CAAC;oBAClF,YAAY,EAAE,CAAC,iBAAiB,CAAC;AAClC,iBAAA,CAAA;;;ACtBD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
1
+ {"version":3,"file":"legacy-checkbox.mjs","sources":["../../../../../../src/material/legacy-checkbox/checkbox.ts","../../../../../../src/material/legacy-checkbox/checkbox.html","../../../../../../src/material/legacy-checkbox/checkbox-module.ts","../../../../../../src/material/legacy-checkbox/legacy-checkbox_public_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 {FocusMonitor, FocusOrigin} from '@angular/cdk/a11y';\nimport {\n AfterViewInit,\n Attribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n Inject,\n NgZone,\n OnDestroy,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {\n _MatCheckboxBase,\n MAT_CHECKBOX_DEFAULT_OPTIONS,\n MatCheckboxDefaultOptions,\n} from '@angular/material/checkbox';\n\n/**\n * Change event object emitted by a checkbox.\n * @deprecated Use `MatCheckboxChange` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyCheckboxChange {\n /** The source checkbox of the event. */\n source: MatLegacyCheckbox;\n /** The new `checked` value of the checkbox. */\n checked: boolean;\n}\n/**\n * Provider Expression that allows mat-checkbox to register as a ControlValueAccessor.\n * This allows it to support [(ngModel)].\n * @docs-private\n * @deprecated Use `MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyCheckbox),\n multi: true,\n};\n\n/**\n * A material design checkbox component. Supports all of the functionality of an HTML5 checkbox,\n * and exposes a similar API. A checkbox can be either checked, unchecked, indeterminate, or\n * disabled. Note that all additional accessibility attributes are taken care of by the component,\n * so there is no need to provide them yourself. However, if you want to omit a label and still\n * have the checkbox be accessible, you may supply an [aria-label] input.\n * See: https://material.io/design/components/selection-controls.html\n * @deprecated Use `MatCheckbox` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Component({\n selector: 'mat-checkbox',\n templateUrl: 'checkbox.html',\n styleUrls: ['checkbox.css'],\n exportAs: 'matCheckbox',\n host: {\n 'class': 'mat-checkbox',\n '[id]': 'id',\n '[attr.tabindex]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[class.mat-checkbox-indeterminate]': 'indeterminate',\n '[class.mat-checkbox-checked]': 'checked',\n '[class.mat-checkbox-disabled]': 'disabled',\n '[class.mat-checkbox-label-before]': 'labelPosition == \"before\"',\n '[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,\n },\n providers: [MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR],\n inputs: ['disableRipple', 'color', 'tabIndex'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatLegacyCheckbox\n extends _MatCheckboxBase<MatLegacyCheckboxChange>\n implements AfterViewInit, OnDestroy\n{\n protected _animationClasses = {\n uncheckedToChecked: 'mat-checkbox-anim-unchecked-checked',\n uncheckedToIndeterminate: 'mat-checkbox-anim-unchecked-indeterminate',\n checkedToUnchecked: 'mat-checkbox-anim-checked-unchecked',\n checkedToIndeterminate: 'mat-checkbox-anim-checked-indeterminate',\n indeterminateToChecked: 'mat-checkbox-anim-indeterminate-checked',\n indeterminateToUnchecked: 'mat-checkbox-anim-indeterminate-unchecked',\n };\n\n constructor(\n elementRef: ElementRef<HTMLElement>,\n changeDetectorRef: ChangeDetectorRef,\n private _focusMonitor: FocusMonitor,\n ngZone: NgZone,\n @Attribute('tabindex') tabIndex: string,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n @Optional()\n @Inject(MAT_CHECKBOX_DEFAULT_OPTIONS)\n options?: MatCheckboxDefaultOptions,\n ) {\n super('mat-checkbox-', elementRef, changeDetectorRef, ngZone, tabIndex, animationMode, options);\n }\n\n protected _createChangeEvent(isChecked: boolean) {\n const event = new MatLegacyCheckboxChange();\n event.source = this;\n event.checked = isChecked;\n return event;\n }\n\n protected _getAnimationTargetElement() {\n return this._elementRef.nativeElement;\n }\n\n override ngAfterViewInit() {\n super.ngAfterViewInit();\n\n this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {\n if (!focusOrigin) {\n this._onBlur();\n }\n });\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n\n /**\n * Event handler for checkbox input element.\n * Toggles checked state if element is not disabled.\n * Do not toggle on (change) event since IE doesn't fire change event when\n * indeterminate checkbox is clicked.\n * @param event\n */\n _onInputClick(event: Event) {\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `checkbox` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n super._handleInputClick();\n }\n\n /** Focuses the checkbox. */\n focus(origin?: FocusOrigin, options?: FocusOptions): void {\n if (origin) {\n this._focusMonitor.focusVia(this._inputElement, origin, options);\n } else {\n this._inputElement.nativeElement.focus(options);\n }\n }\n}\n","<label [attr.for]=\"inputId\" class=\"mat-checkbox-layout\" #label>\n <span class=\"mat-checkbox-inner-container\"\n [class.mat-checkbox-inner-container-no-side-margin]=\"!checkboxLabel.textContent || !checkboxLabel.textContent.trim()\">\n <input #input\n class=\"mat-checkbox-input cdk-visually-hidden\" type=\"checkbox\"\n [id]=\"inputId\"\n [required]=\"required\"\n [checked]=\"checked\"\n [attr.value]=\"value\"\n [disabled]=\"disabled\"\n [attr.name]=\"name\"\n [tabIndex]=\"tabIndex\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"_onInteractionEvent($event)\"\n (click)=\"_onInputClick($event)\">\n <span matRipple class=\"mat-checkbox-ripple mat-focus-indicator\"\n [matRippleTrigger]=\"label\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleRadius]=\"20\"\n [matRippleCentered]=\"true\"\n [matRippleAnimation]=\"{enterDuration: _animationMode === 'NoopAnimations' ? 0 : 150}\">\n <span class=\"mat-ripple-element mat-checkbox-persistent-ripple\"></span>\n </span>\n <span class=\"mat-checkbox-frame\"></span>\n <span class=\"mat-checkbox-background\">\n <svg version=\"1.1\"\n focusable=\"false\"\n class=\"mat-checkbox-checkmark\"\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\">\n <path class=\"mat-checkbox-checkmark-path\"\n fill=\"none\"\n stroke=\"white\"\n d=\"M4.1,12.7 9,17.6 20.3,6.3\"/>\n </svg>\n <!-- Element for rendering the indeterminate state checkbox. -->\n <span class=\"mat-checkbox-mixedmark\"></span>\n </span>\n </span>\n <span class=\"mat-checkbox-label\" #checkboxLabel (cdkObserveContent)=\"_onLabelTextChange()\">\n <!-- Add an invisible span so JAWS can read the label -->\n <span style=\"display:none\">&nbsp;</span>\n <ng-content></ng-content>\n </span>\n</label>\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 {ObserversModule} from '@angular/cdk/observers';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule, MatRippleModule} from '@angular/material/core';\nimport {MatLegacyCheckbox} from './checkbox';\nimport {_MatCheckboxRequiredValidatorModule} from '@angular/material/checkbox';\n\n/**\n * @deprecated Use `MatCheckboxModule` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [MatRippleModule, MatCommonModule, ObserversModule, _MatCheckboxRequiredValidatorModule],\n exports: [MatLegacyCheckbox, MatCommonModule, _MatCheckboxRequiredValidatorModule],\n declarations: [MatLegacyCheckbox],\n})\nexport class MatLegacyCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AA+BA;;;;AAIG;MACU,uBAAuB,CAAA;AAKnC,CAAA;AACD;;;;;;AAMG;AACU,MAAA,0CAA0C,GAAQ;AAC7D,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,iBAAiB,CAAC;AAChD,IAAA,KAAK,EAAE,IAAI;EACX;AAEF;;;;;;;;;AASG;AACH,MAsBa,iBACX,SAAQ,gBAAyC,CAAA;AAYjD,IAAA,WAAA,CACE,UAAmC,EACnC,iBAAoC,EAC5B,aAA2B,EACnC,MAAc,EACS,QAAgB,EACI,aAAsB,EAGjE,OAAmC,EAAA;AAEnC,QAAA,KAAK,CAAC,eAAe,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QARxF,IAAa,CAAA,aAAA,GAAb,aAAa,CAAc;AAZ3B,QAAA,IAAA,CAAA,iBAAiB,GAAG;AAC5B,YAAA,kBAAkB,EAAE,qCAAqC;AACzD,YAAA,wBAAwB,EAAE,2CAA2C;AACrE,YAAA,kBAAkB,EAAE,qCAAqC;AACzD,YAAA,sBAAsB,E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, parallel } from '@angular/cdk/testing';
2
2
 
3
- /**
4
- * @license
5
- * Copyright Google LLC All Rights Reserved.
6
- *
7
- * Use of this source code is governed by an MIT-style license that can be
8
- * found in the LICENSE file at https://angular.io/license
9
- */
10
3
  /**
11
4
  * Harness for interacting with a standard Material chip avatar in tests.
12
5
  * @deprecated Use `MatChipAvatarHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -25,13 +18,6 @@ class MatLegacyChipAvatarHarness extends ComponentHarness {
25
18
  }
26
19
  MatLegacyChipAvatarHarness.hostSelector = '.mat-chip-avatar';
27
20
 
28
- /**
29
- * @license
30
- * Copyright Google LLC All Rights Reserved.
31
- *
32
- * Use of this source code is governed by an MIT-style license that can be
33
- * found in the LICENSE file at https://angular.io/license
34
- */
35
21
  /**
36
22
  * Harness for interacting with a standard Material chip remove button in tests.
37
23
  * @deprecated Use `MatChipRemoveHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -54,13 +40,6 @@ class MatLegacyChipRemoveHarness extends ComponentHarness {
54
40
  }
55
41
  MatLegacyChipRemoveHarness.hostSelector = '.mat-chip-remove';
56
42
 
57
- /**
58
- * @license
59
- * Copyright Google LLC All Rights Reserved.
60
- *
61
- * Use of this source code is governed by an MIT-style license that can be
62
- * found in the LICENSE file at https://angular.io/license
63
- */
64
43
  /**
65
44
  * Harness for interacting with a standard selectable Angular Material chip in tests.
66
45
  * @deprecated Use `MatChipHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -146,13 +125,6 @@ class MatLegacyChipHarness extends ContentContainerComponentHarness {
146
125
  /** The selector for the host element of a `MatChip` instance. */
147
126
  MatLegacyChipHarness.hostSelector = '.mat-chip';
148
127
 
149
- /**
150
- * @license
151
- * Copyright Google LLC All Rights Reserved.
152
- *
153
- * Use of this source code is governed by an MIT-style license that can be
154
- * found in the LICENSE file at https://angular.io/license
155
- */
156
128
  /**
157
129
  * Harness for interacting with a standard Material chip inputs in tests.
158
130
  * @deprecated Use `MatChipInputHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -231,13 +203,6 @@ class MatLegacyChipInputHarness extends ComponentHarness {
231
203
  }
232
204
  MatLegacyChipInputHarness.hostSelector = '.mat-chip-input';
233
205
 
234
- /**
235
- * @license
236
- * Copyright Google LLC All Rights Reserved.
237
- *
238
- * Use of this source code is governed by an MIT-style license that can be
239
- * found in the LICENSE file at https://angular.io/license
240
- */
241
206
  /**
242
207
  * Base class for chip list harnesses.
243
208
  * @deprecated Use `class` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -318,13 +283,6 @@ class MatLegacyChipListHarness extends _MatChipListHarnessBase {
318
283
  /** The selector for the host element of a `MatChipList` instance. */
319
284
  MatLegacyChipListHarness.hostSelector = '.mat-chip-list';
320
285
 
321
- /**
322
- * @license
323
- * Copyright Google LLC All Rights Reserved.
324
- *
325
- * Use of this source code is governed by an MIT-style license that can be
326
- * found in the LICENSE file at https://angular.io/license
327
- */
328
286
  /**
329
287
  * @deprecated Use `MatChipOptionHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
330
288
  * @breaking-change 17.0.0
@@ -365,13 +323,6 @@ class MatLegacyChipOptionHarness extends MatLegacyChipHarness {
365
323
  /** The selector for the host element of a selectable chip instance. */
366
324
  MatLegacyChipOptionHarness.hostSelector = '.mat-chip';
367
325
 
368
- /**
369
- * @license
370
- * Copyright Google LLC All Rights Reserved.
371
- *
372
- * Use of this source code is governed by an MIT-style license that can be
373
- * found in the LICENSE file at https://angular.io/license
374
- */
375
326
  /**
376
327
  * Harness for interacting with a standard selectable chip list in tests.
377
328
  * @deprecated Use `MatChipListboxHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -410,21 +361,5 @@ class MatLegacyChipListboxHarness extends _MatChipListHarnessBase {
410
361
  /** The selector for the host element of a `MatChipList` instance. */
411
362
  MatLegacyChipListboxHarness.hostSelector = '.mat-chip-list';
412
363
 
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
-
421
- /**
422
- * @license
423
- * Copyright Google LLC All Rights Reserved.
424
- *
425
- * Use of this source code is governed by an MIT-style license that can be
426
- * found in the LICENSE file at https://angular.io/license
427
- */
428
-
429
364
  export { MatLegacyChipHarness, MatLegacyChipInputHarness, MatLegacyChipListHarness, MatLegacyChipListboxHarness, MatLegacyChipOptionHarness, MatLegacyChipRemoveHarness };
430
365
  //# sourceMappingURL=testing.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-chips/testing/chip-avatar-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-remove-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-input-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-list-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-option-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-listbox-harness.ts","../../../../../../../src/material/legacy-chips/testing/public-api.ts","../../../../../../../src/material/legacy-chips/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 {HarnessPredicate, ComponentHarness} from '@angular/cdk/testing';\nimport {LegacyChipAvatarHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip avatar in tests.\n * @deprecated Use `MatChipAvatarHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipAvatarHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-avatar';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipAvatarHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipAvatarHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipAvatarHarness> {\n return new HarnessPredicate(MatLegacyChipAvatarHarness, 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 {HarnessPredicate, ComponentHarness} from '@angular/cdk/testing';\nimport {LegacyChipRemoveHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip remove button in tests.\n * @deprecated Use `MatChipRemoveHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipRemoveHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-remove';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipRemoveHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipRemoveHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipRemoveHarness> {\n return new HarnessPredicate(MatLegacyChipRemoveHarness, options);\n }\n\n /** Clicks the remove button. */\n async click(): Promise<void> {\n return (await this.host()).click();\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 {ContentContainerComponentHarness, HarnessPredicate, TestKey} from '@angular/cdk/testing';\nimport {MatLegacyChipAvatarHarness} from './chip-avatar-harness';\nimport {\n LegacyChipAvatarHarnessFilters,\n LegacyChipHarnessFilters,\n LegacyChipRemoveHarnessFilters,\n} from './chip-harness-filters';\nimport {MatLegacyChipRemoveHarness} from './chip-remove-harness';\n\n/**\n * Harness for interacting with a standard selectable Angular Material chip in tests.\n * @deprecated Use `MatChipHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipHarness extends ContentContainerComponentHarness {\n /** The selector for the host element of a `MatChip` instance. */\n static hostSelector = '.mat-chip';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: LegacyChipHarnessFilters = {}): HarnessPredicate<MatLegacyChipHarness> {\n return new HarnessPredicate(MatLegacyChipHarness, options)\n .addOption('text', options.text, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getText(), label),\n )\n .addOption(\n 'selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n /** Gets the text of the chip. */\n async getText(): Promise<string> {\n return (await this.host()).text({\n exclude: '.mat-chip-avatar, .mat-chip-trailing-icon, .mat-icon',\n });\n }\n\n /**\n * Whether the chip is selected.\n * @deprecated Use `MatChipOptionHarness.isSelected` instead.\n * @breaking-change 12.0.0\n */\n async isSelected(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-selected');\n }\n\n /** Whether the chip is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-disabled');\n }\n\n /**\n * Selects the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.select` instead.\n * @breaking-change 12.0.0\n */\n async select(): Promise<void> {\n if (!(await this.isSelected())) {\n await this.toggle();\n }\n }\n\n /**\n * Deselects the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.deselect` instead.\n * @breaking-change 12.0.0\n */\n async deselect(): Promise<void> {\n if (await this.isSelected()) {\n await this.toggle();\n }\n }\n\n /**\n * Toggles the selected state of the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.toggle` instead.\n * @breaking-change 12.0.0\n */\n async toggle(): Promise<void> {\n return (await this.host()).sendKeys(' ');\n }\n\n /** Removes the given chip. Only applies if it's removable. */\n async remove(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.DELETE);\n }\n\n /**\n * Gets the remove button inside of a chip.\n * @param filter Optionally filters which remove buttons are included.\n */\n async getRemoveButton(\n filter: LegacyChipRemoveHarnessFilters = {},\n ): Promise<MatLegacyChipRemoveHarness> {\n return this.locatorFor(MatLegacyChipRemoveHarness.with(filter))();\n }\n\n /**\n * Gets the avatar inside a chip.\n * @param filter Optionally filters which avatars are included.\n */\n async getAvatar(\n filter: LegacyChipAvatarHarnessFilters = {},\n ): Promise<MatLegacyChipAvatarHarness | null> {\n return this.locatorForOptional(MatLegacyChipAvatarHarness.with(filter))();\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 {HarnessPredicate, ComponentHarness, TestKey} from '@angular/cdk/testing';\nimport {LegacyChipInputHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip inputs in tests.\n * @deprecated Use `MatChipInputHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipInputHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-input';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipInputHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipInputHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipInputHarness> {\n return new HarnessPredicate(MatLegacyChipInputHarness, options)\n .addOption('value', options.value, async (harness, value) => {\n return (await harness.getValue()) === value;\n })\n .addOption('placeholder', options.placeholder, async (harness, placeholder) => {\n return (await harness.getPlaceholder()) === placeholder;\n });\n }\n\n /** Whether the input is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty('disabled')!;\n }\n\n /** Whether the input is required. */\n async isRequired(): Promise<boolean> {\n return (await this.host()).getProperty('required')!;\n }\n\n /** Gets the value of the input. */\n async getValue(): Promise<string> {\n // The \"value\" property of the native input is never undefined.\n return (await (await this.host()).getProperty('value'))!;\n }\n\n /** Gets the placeholder of the input. */\n async getPlaceholder(): Promise<string> {\n return await (await this.host()).getProperty('placeholder');\n }\n\n /**\n * Focuses the input and returns a promise that indicates when the\n * action is complete.\n */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /**\n * Blurs the input and returns a promise that indicates when the\n * action is complete.\n */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /**\n * Sets the value of the input. The value will be set by simulating\n * keypresses that correspond to the given value.\n */\n async setValue(newValue: string): Promise<void> {\n const inputEl = await this.host();\n await inputEl.clear();\n\n // We don't want to send keys for the value if the value is an empty\n // string in order to clear the value. Sending keys with an empty string\n // still results in unnecessary focus events.\n if (newValue) {\n await inputEl.sendKeys(newValue);\n }\n }\n\n /** Sends a chip separator key to the input element. */\n async sendSeparatorKey(key: TestKey | string): Promise<void> {\n const inputEl = await this.host();\n return inputEl.sendKeys(key);\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 {ComponentHarness, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatLegacyChipHarness} from './chip-harness';\nimport {MatLegacyChipInputHarness} from './chip-input-harness';\nimport {\n LegacyChipListHarnessFilters,\n LegacyChipHarnessFilters,\n LegacyChipInputHarnessFilters,\n} from './chip-harness-filters';\n\n/**\n * Base class for chip list harnesses.\n * @deprecated Use `class` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport abstract class _MatChipListHarnessBase extends ComponentHarness {\n /** Gets whether the chip list is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-disabled')) === 'true';\n }\n\n /** Gets whether the chip list is required. */\n async isRequired(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-required')) === 'true';\n }\n\n /** Gets whether the chip list is invalid. */\n async isInvalid(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-invalid')) === 'true';\n }\n\n /** Gets whether the chip list is in multi selection mode. */\n async isMultiple(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-multiselectable')) === 'true';\n }\n\n /** Gets whether the orientation of the chip list. */\n async getOrientation(): Promise<'horizontal' | 'vertical'> {\n const orientation = await (await this.host()).getAttribute('aria-orientation');\n return orientation === 'vertical' ? 'vertical' : 'horizontal';\n }\n}\n\n/**\n * Harness for interacting with a standard chip list in tests.\n * @deprecated Use `MatChipListHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipListHarness extends _MatChipListHarnessBase {\n /** The selector for the host element of a `MatChipList` instance. */\n static hostSelector = '.mat-chip-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipListHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipListHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipListHarness> {\n return new HarnessPredicate(MatLegacyChipListHarness, options);\n }\n\n /**\n * Gets the list of chips inside the chip list.\n * @param filter Optionally filters which chips are included.\n */\n async getChips(filter: LegacyChipHarnessFilters = {}): Promise<MatLegacyChipHarness[]> {\n return this.locatorForAll(MatLegacyChipHarness.with(filter))();\n }\n\n /**\n * Selects a chip inside the chip list.\n * @param filter An optional filter to apply to the child chips.\n * All the chips matching the filter will be selected.\n * @deprecated Use `MatChipListboxHarness.selectChips` instead.\n * @breaking-change 12.0.0\n */\n async selectChips(filter: LegacyChipHarnessFilters = {}): Promise<void> {\n const chips = await this.getChips(filter);\n if (!chips.length) {\n throw Error(`Cannot find chip matching filter ${JSON.stringify(filter)}`);\n }\n await parallel(() => chips.map(chip => chip.select()));\n }\n\n /**\n * Gets the `MatChipInput` inside the chip list.\n * @param filter Optionally filters which chip input is included.\n */\n async getInput(filter: LegacyChipInputHarnessFilters = {}): Promise<MatLegacyChipInputHarness> {\n // The input isn't required to be a descendant of the chip list so we have to look it up by id.\n const inputId = await (await this.host()).getAttribute('data-mat-chip-input');\n\n if (!inputId) {\n throw Error(`Chip list is not associated with an input`);\n }\n\n return this.documentRootLocatorFactory().locatorFor(\n MatLegacyChipInputHarness.with({...filter, selector: `#${inputId}`}),\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\nimport {HarnessPredicate} from '@angular/cdk/testing';\nimport {MatLegacyChipHarness} from './chip-harness';\nimport {LegacyChipOptionHarnessFilters} from './chip-harness-filters';\n\n/**\n * @deprecated Use `MatChipOptionHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipOptionHarness extends MatLegacyChipHarness {\n /** The selector for the host element of a selectable chip instance. */\n static override hostSelector = '.mat-chip';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipOptionHarness`\n * that meets certain criteria.\n * @param options Options for filtering which chip instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static override with(\n options: LegacyChipOptionHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipOptionHarness> {\n return new HarnessPredicate(MatLegacyChipOptionHarness, options)\n .addOption('text', options.text, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getText(), label),\n )\n .addOption(\n 'selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n /** Whether the chip is selected. */\n override async isSelected(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-selected');\n }\n\n /** Selects the given chip. Only applies if it's selectable. */\n override async select(): Promise<void> {\n if (!(await this.isSelected())) {\n await this.toggle();\n }\n }\n\n /** Deselects the given chip. Only applies if it's selectable. */\n override async deselect(): Promise<void> {\n if (await this.isSelected()) {\n await this.toggle();\n }\n }\n\n /** Toggles the selected state of the given chip. */\n override async toggle(): Promise<void> {\n return (await this.host()).sendKeys(' ');\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 {HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatLegacyChipOptionHarness} from './chip-option-harness';\nimport {\n LegacyChipListboxHarnessFilters,\n LegacyChipOptionHarnessFilters,\n} from './chip-harness-filters';\nimport {_MatChipListHarnessBase} from './chip-list-harness';\n\n/**\n * Harness for interacting with a standard selectable chip list in tests.\n * @deprecated Use `MatChipListboxHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipListboxHarness extends _MatChipListHarnessBase {\n /** The selector for the host element of a `MatChipList` instance. */\n static hostSelector = '.mat-chip-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipListHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipListboxHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipListboxHarness> {\n return new HarnessPredicate(MatLegacyChipListboxHarness, options);\n }\n\n /**\n * Gets the list of chips inside the chip list.\n * @param filter Optionally filters which chips are included.\n */\n async getChips(\n filter: LegacyChipOptionHarnessFilters = {},\n ): Promise<MatLegacyChipOptionHarness[]> {\n return this.locatorForAll(MatLegacyChipOptionHarness.with(filter))();\n }\n\n /**\n * Selects a chip inside the chip list.\n * @param filter An optional filter to apply to the child chips.\n * All the chips matching the filter will be selected.\n */\n async selectChips(filter: LegacyChipOptionHarnessFilters = {}): Promise<void> {\n const chips = await this.getChips(filter);\n if (!chips.length) {\n throw Error(`Cannot find chip matching filter ${JSON.stringify(filter)}`);\n }\n await parallel(() => chips.map(chip => chip.select()));\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 {MatLegacyChipHarness} from './chip-harness';\nexport {\n LegacyChipHarnessFilters,\n LegacyChipOptionHarnessFilters,\n LegacyChipListHarnessFilters,\n LegacyChipListboxHarnessFilters,\n LegacyChipInputHarnessFilters,\n LegacyChipRemoveHarnessFilters,\n LegacyChipAvatarHarnessFilters,\n} from './chip-harness-filters';\nexport {MatLegacyChipListHarness} from './chip-list-harness';\nexport {MatLegacyChipInputHarness} from './chip-input-harness';\nexport {MatLegacyChipRemoveHarness} from './chip-remove-harness';\nexport {MatLegacyChipOptionHarness} from './chip-option-harness';\nexport {MatLegacyChipListboxHarness} from './chip-listbox-harness';\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;AAKH;;;;AAIG;AACH,MAAa,0BAA2B,SAAQ,gBAAgB,CAAA;AAG9D;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA0C,EAAE,EAAA;AAE5C,QAAA,OAAO,IAAI,gBAAgB,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;KAClE;;AAZM,0BAAY,CAAA,YAAA,GAAG,kBAAkB;;ACjB1C;;;;;;AAMG;AAKH;;;;AAIG;AACH,MAAa,0BAA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ts","../../../../../../../src/material/legacy-chips/testing/chip-remove-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-input-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-list-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-option-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-listbox-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 {HarnessPredicate, ComponentHarness} from '@angular/cdk/testing';\nimport {LegacyChipAvatarHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip avatar in tests.\n * @deprecated Use `MatChipAvatarHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipAvatarHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-avatar';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipAvatarHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipAvatarHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipAvatarHarness> {\n return new HarnessPredicate(MatLegacyChipAvatarHarness, 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 {HarnessPredicate, ComponentHarness} from '@angular/cdk/testing';\nimport {LegacyChipRemoveHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip remove button in tests.\n * @deprecated Use `MatChipRemoveHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipRemoveHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-remove';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipRemoveHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipRemoveHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipRemoveHarness> {\n return new HarnessPredicate(MatLegacyChipRemoveHarness, options);\n }\n\n /** Clicks the remove button. */\n async click(): Promise<void> {\n return (await this.host()).click();\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 {ContentContainerComponentHarness, HarnessPredicate, TestKey} from '@angular/cdk/testing';\nimport {MatLegacyChipAvatarHarness} from './chip-avatar-harness';\nimport {\n LegacyChipAvatarHarnessFilters,\n LegacyChipHarnessFilters,\n LegacyChipRemoveHarnessFilters,\n} from './chip-harness-filters';\nimport {MatLegacyChipRemoveHarness} from './chip-remove-harness';\n\n/**\n * Harness for interacting with a standard selectable Angular Material chip in tests.\n * @deprecated Use `MatChipHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipHarness extends ContentContainerComponentHarness {\n /** The selector for the host element of a `MatChip` instance. */\n static hostSelector = '.mat-chip';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: LegacyChipHarnessFilters = {}): HarnessPredicate<MatLegacyChipHarness> {\n return new HarnessPredicate(MatLegacyChipHarness, options)\n .addOption('text', options.text, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getText(), label),\n )\n .addOption(\n 'selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n /** Gets the text of the chip. */\n async getText(): Promise<string> {\n return (await this.host()).text({\n exclude: '.mat-chip-avatar, .mat-chip-trailing-icon, .mat-icon',\n });\n }\n\n /**\n * Whether the chip is selected.\n * @deprecated Use `MatChipOptionHarness.isSelected` instead.\n * @breaking-change 12.0.0\n */\n async isSelected(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-selected');\n }\n\n /** Whether the chip is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-disabled');\n }\n\n /**\n * Selects the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.select` instead.\n * @breaking-change 12.0.0\n */\n async select(): Promise<void> {\n if (!(await this.isSelected())) {\n await this.toggle();\n }\n }\n\n /**\n * Deselects the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.deselect` instead.\n * @breaking-change 12.0.0\n */\n async deselect(): Promise<void> {\n if (await this.isSelected()) {\n await this.toggle();\n }\n }\n\n /**\n * Toggles the selected state of the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.toggle` instead.\n * @breaking-change 12.0.0\n */\n async toggle(): Promise<void> {\n return (await this.host()).sendKeys(' ');\n }\n\n /** Removes the given chip. Only applies if it's removable. */\n async remove(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.DELETE);\n }\n\n /**\n * Gets the remove button inside of a chip.\n * @param filter Optionally filters which remove buttons are included.\n */\n async getRemoveButton(\n filter: LegacyChipRemoveHarnessFilters = {},\n ): Promise<MatLegacyChipRemoveHarness> {\n return this.locatorFor(MatLegacyChipRemoveHarness.with(filter))();\n }\n\n /**\n * Gets the avatar inside a chip.\n * @param filter Optionally filters which avatars are included.\n */\n async getAvatar(\n filter: LegacyChipAvatarHarnessFilters = {},\n ): Promise<MatLegacyChipAvatarHarness | null> {\n return this.locatorForOptional(MatLegacyChipAvatarHarness.with(filter))();\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 {HarnessPredicate, ComponentHarness, TestKey} from '@angular/cdk/testing';\nimport {LegacyChipInputHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip inputs in tests.\n * @deprecated Use `MatChipInputHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipInputHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-input';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipInputHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipInputHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipInputHarness> {\n return new HarnessPredicate(MatLegacyChipInputHarness, options)\n .addOption('value', options.value, async (harness, value) => {\n return (await harness.getValue()) === value;\n })\n .addOption('placeholder', options.placeholder, async (harness, placeholder) => {\n return (await harness.getPlaceholder()) === placeholder;\n });\n }\n\n /** Whether the input is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty('disabled')!;\n }\n\n /** Whether the input is required. */\n async isRequired(): Promise<boolean> {\n return (await this.host()).getProperty('required')!;\n }\n\n /** Gets the value of the input. */\n async getValue(): Promise<string> {\n // The \"value\" property of the native input is never undefined.\n return (await (await this.host()).getProperty('value'))!;\n }\n\n /** Gets the placeholder of the input. */\n async getPlaceholder(): Promise<string> {\n return await (await this.host()).getProperty('placeholder');\n }\n\n /**\n * Focuses the input and returns a promise that indicates when the\n * action is complete.\n */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /**\n * Blurs the input and returns a promise that indicates when the\n * action is complete.\n */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /**\n * Sets the value of the input. The value will be set by simulating\n * keypresses that correspond to the given value.\n */\n async setValue(newValue: string): Promise<void> {\n const inputEl = await this.host();\n await inputEl.clear();\n\n // We don't want to send keys for the value if the value is an empty\n // string in order to clear the value. Sending keys with an empty string\n // still results in unnecessary focus events.\n if (newValue) {\n await inputEl.sendKeys(newValue);\n }\n }\n\n /** Sends a chip separator key to the input element. */\n async sendSeparatorKey(key: TestKey | string): Promise<void> {\n const inputEl = await this.host();\n return inputEl.sendKeys(key);\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 {ComponentHarness, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatLegacyChipHarness} from './chip-harness';\nimport {MatLegacyChipInputHarness} from './chip-input-harness';\nimport {\n LegacyChipListHarnessFilters,\n LegacyChipHarnessFilters,\n LegacyChipInputHarnessFilters,\n} from './chip-harness-filters';\n\n/**\n * Base class for chip list harnesses.\n * @deprecated Use `class` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport abstract class _MatChipListHarnessBase extends ComponentHarness {\n /** Gets whether the chip list is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-disabled')) === 'true';\n }\n\n /** Gets whether the chip list is required. */\n async isRequired(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-required')) === 'true';\n }\n\n /** Gets whether the chip list is invalid. */\n async isInvalid(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-invalid')) === 'true';\n }\n\n /** Gets whether the chip list is in multi selection mode. */\n async isMultiple(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-multiselectable')) === 'true';\n }\n\n /** Gets whether the orientation of the chip list. */\n async getOrientation(): Promise<'horizontal' | 'vertical'> {\n const orientation = await (await this.host()).getAttribute('aria-orientation');\n return orientation === 'vertical' ? 'vertical' : 'horizontal';\n }\n}\n\n/**\n * Harness for interacting with a standard chip list in tests.\n * @deprecated Use `MatChipListHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipListHarness extends _MatChipListHarnessBase {\n /** The selector for the host element of a `MatChipList` instance. */\n static hostSelector = '.mat-chip-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipListHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipListHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipListHarness> {\n return new HarnessPredicate(MatLegacyChipListHarness, options);\n }\n\n /**\n * Gets the list of chips inside the chip list.\n * @param filter Optionally filters which chips are included.\n */\n async getChips(filter: LegacyChipHarnessFilters = {}): Promise<MatLegacyChipHarness[]> {\n return this.locatorForAll(MatLegacyChipHarness.with(filter))();\n }\n\n /**\n * Selects a chip inside the chip list.\n * @param filter An optional filter to apply to the child chips.\n * All the chips matching the filter will be selected.\n * @deprecated Use `MatChipListboxHarness.selectChips` instead.\n * @breaking-change 12.0.0\n */\n async selectChips(filter: LegacyChipHarnessFilters = {}): Promise<void> {\n const chips = await this.getChips(filter);\n if (!chips.length) {\n throw Error(`Cannot find chip matching filter ${JSON.stringify(filter)}`);\n }\n await parallel(() => chips.map(chip => chip.select()));\n }\n\n /**\n * Gets the `MatChipInput` inside the chip list.\n * @param filter Optionally filters which chip input is included.\n */\n async getInput(filter: LegacyChipInputHarnessFilters = {}): Promise<MatLegacyChipInputHarness> {\n // The input isn't required to be a descendant of the chip list so we have to look it up by id.\n const inputId = await (await this.host()).getAttribute('data-mat-chip-input');\n\n if (!inputId) {\n throw Error(`Chip list is not associated with an input`);\n }\n\n return this.documentRootLocatorFactory().locatorFor(\n MatLegacyChipInputHarness.with({...filter, selector: `#${inputId}`}),\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\nimport {HarnessPredicate} from '@angular/cdk/testing';\nimport {MatLegacyChipHarness} from './chip-harness';\nimport {LegacyChipOptionHarnessFilters} from './chip-harness-filters';\n\n/**\n * @deprecated Use `MatChipOptionHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipOptionHarness extends MatLegacyChipHarness {\n /** The selector for the host element of a selectable chip instance. */\n static override hostSelector = '.mat-chip';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipOptionHarness`\n * that meets certain criteria.\n * @param options Options for filtering which chip instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static override with(\n options: LegacyChipOptionHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipOptionHarness> {\n return new HarnessPredicate(MatLegacyChipOptionHarness, options)\n .addOption('text', options.text, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getText(), label),\n )\n .addOption(\n 'selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n /** Whether the chip is selected. */\n override async isSelected(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-selected');\n }\n\n /** Selects the given chip. Only applies if it's selectable. */\n override async select(): Promise<void> {\n if (!(await this.isSelected())) {\n await this.toggle();\n }\n }\n\n /** Deselects the given chip. Only applies if it's selectable. */\n override async deselect(): Promise<void> {\n if (await this.isSelected()) {\n await this.toggle();\n }\n }\n\n /** Toggles the selected state of the given chip. */\n override async toggle(): Promise<void> {\n return (await this.host()).sendKeys(' ');\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 {HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatLegacyChipOptionHarness} from './chip-option-harness';\nimport {\n LegacyChipListboxHarnessFilters,\n LegacyChipOptionHarnessFilters,\n} from './chip-harness-filters';\nimport {_MatChipListHarnessBase} from './chip-list-harness';\n\n/**\n * Harness for interacting with a standard selectable chip list in tests.\n * @deprecated Use `MatChipListboxHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipListboxHarness extends _MatChipListHarnessBase {\n /** The selector for the host element of a `MatChipList` instance. */\n static hostSelector = '.mat-chip-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipListHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipListboxHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipListboxHarness> {\n return new HarnessPredicate(MatLegacyChipListboxHarness, options);\n }\n\n /**\n * Gets the list of chips inside the chip list.\n * @param filter Optionally filters which chips are included.\n */\n async getChips(\n filter: LegacyChipOptionHarnessFilters = {},\n ): Promise<MatLegacyChipOptionHarness[]> {\n return this.locatorForAll(MatLegacyChipOptionHarness.with(filter))();\n }\n\n /**\n * Selects a chip inside the chip list.\n * @param filter An optional filter to apply to the child chips.\n * All the chips matching the filter will be selected.\n */\n async selectChips(filter: LegacyChipOptionHarnessFilters = {}): Promise<void> {\n const chips = await this.getChips(filter);\n if (!chips.length) {\n throw Error(`Cannot find chip matching filter ${JSON.stringify(filter)}`);\n }\n await parallel(() => chips.map(chip => chip.select()));\n }\n}\n"],"names":[],"mappings":";;AAWA;;;;AAIG;AACH,MAAa,0BAA2B,SAAQ,gBAAgB,CAAA;AAG9D;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA0C,EAAE,EAAA;AAE5C,QAAA,OAAO,IAAI,gBAAgB,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;KAClE;;AAZM,0BAAY,CAAA,YAAA,GAAG,kBAAkB;;ACN1C;;;;AAIG;AACH,MAAa,0BAA2B,SAAQ,gBAAgB,CAAA;AAG9D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,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;KAC1C;;AA7CD;AACgB,0BAAY,CAAA,YAAA,GAAG,WAAW;;ACF5C;;;;AAIG;AACH,MAAa,2BAA4B,SAAQ,uBAAuB,CAAA;AAItE;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA2C,EAAE,EAAA;AAE7C,QAAA,OAAO,IAAI,gBAAgB,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;KACnE;AAED;;;AAGG;AACH,IAAA,MAAM,QAAQ,CACZ,MAAA,GAAyC,EAAE,EAAA;AAE3C,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,0BAA0B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;KACtE;AAED;;;;AAIG;AACH,IAAA,MAAM,WAAW,CAAC,MAAA,GAAyC,EAAE,EAAA;QAC3D,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC1C,QAAA,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;YACjB,MAAM,KAAK,CAAC,CAAA,iCAAA,EAAoC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAE,CAAA,CAAC,CAAC;AAC3E,SAAA;AACD,QAAA,MAAM,QAAQ,CAAC,MAAM,KAAK,CAAC,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;KACxD;;AApCD;AACO,2BAAY,CAAA,YAAA,GAAG,gBAAgB;;;;"}
@@ -74,9 +74,9 @@ const _MatChipMixinBase = mixinTabIndex(mixinColor(mixinDisableRipple(MatChipBas
74
74
  */
75
75
  class MatLegacyChipAvatar {
76
76
  }
77
- MatLegacyChipAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
- MatLegacyChipAvatar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyChipAvatar, selector: "mat-chip-avatar, [matChipAvatar]", host: { classAttribute: "mat-chip-avatar" }, providers: [{ provide: MAT_LEGACY_CHIP_AVATAR, useExisting: MatLegacyChipAvatar }], ngImport: i0 });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipAvatar, decorators: [{
77
+ MatLegacyChipAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
+ MatLegacyChipAvatar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyChipAvatar, selector: "mat-chip-avatar, [matChipAvatar]", host: { classAttribute: "mat-chip-avatar" }, providers: [{ provide: MAT_LEGACY_CHIP_AVATAR, useExisting: MatLegacyChipAvatar }], ngImport: i0 });
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipAvatar, decorators: [{
80
80
  type: Directive,
81
81
  args: [{
82
82
  selector: 'mat-chip-avatar, [matChipAvatar]',
@@ -92,9 +92,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
92
92
  */
93
93
  class MatLegacyChipTrailingIcon {
94
94
  }
95
- MatLegacyChipTrailingIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipTrailingIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
96
- MatLegacyChipTrailingIcon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyChipTrailingIcon, selector: "mat-chip-trailing-icon, [matChipTrailingIcon]", host: { classAttribute: "mat-chip-trailing-icon" }, providers: [{ provide: MAT_LEGACY_CHIP_TRAILING_ICON, useExisting: MatLegacyChipTrailingIcon }], ngImport: i0 });
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipTrailingIcon, decorators: [{
95
+ MatLegacyChipTrailingIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipTrailingIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
96
+ MatLegacyChipTrailingIcon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyChipTrailingIcon, selector: "mat-chip-trailing-icon, [matChipTrailingIcon]", host: { classAttribute: "mat-chip-trailing-icon" }, providers: [{ provide: MAT_LEGACY_CHIP_TRAILING_ICON, useExisting: MatLegacyChipTrailingIcon }], ngImport: i0 });
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipTrailingIcon, decorators: [{
98
98
  type: Directive,
99
99
  args: [{
100
100
  selector: 'mat-chip-trailing-icon, [matChipTrailingIcon]',
@@ -328,9 +328,9 @@ class MatLegacyChip extends _MatChipMixinBase {
328
328
  });
329
329
  }
330
330
  }
331
- MatLegacyChip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChip, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
332
- MatLegacyChip.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: { color: "color", disableRipple: "disableRipple", tabIndex: "tabIndex", role: "role", selected: "selected", value: "value", selectable: "selectable", disabled: "disabled", removable: "removable" }, outputs: { selectionChange: "selectionChange", destroyed: "destroyed", removed: "removed" }, host: { listeners: { "click": "_handleClick($event)", "keydown": "_handleKeydown($event)", "focus": "focus()", "blur": "_blur()" }, properties: { "attr.tabindex": "disabled ? null : tabIndex", "attr.role": "role", "class.mat-chip-selected": "selected", "class.mat-chip-with-avatar": "avatar", "class.mat-chip-with-trailing-icon": "trailingIcon || removeIcon", "class.mat-chip-disabled": "disabled", "class._mat-animation-noopable": "_animationsDisabled", "attr.disabled": "disabled || null", "attr.aria-disabled": "disabled.toString()", "attr.aria-selected": "ariaSelected" }, classAttribute: "mat-chip mat-focus-indicator" }, queries: [{ propertyName: "avatar", first: true, predicate: MAT_LEGACY_CHIP_AVATAR, descendants: true }, { propertyName: "trailingIcon", first: true, predicate: MAT_LEGACY_CHIP_TRAILING_ICON, descendants: true }, { propertyName: "removeIcon", first: true, predicate: MAT_LEGACY_CHIP_REMOVE, descendants: true }], exportAs: ["matChip"], usesInheritance: true, ngImport: i0 });
333
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChip, decorators: [{
331
+ MatLegacyChip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChip, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
332
+ MatLegacyChip.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: { color: "color", disableRipple: "disableRipple", tabIndex: "tabIndex", role: "role", selected: "selected", value: "value", selectable: "selectable", disabled: "disabled", removable: "removable" }, outputs: { selectionChange: "selectionChange", destroyed: "destroyed", removed: "removed" }, host: { listeners: { "click": "_handleClick($event)", "keydown": "_handleKeydown($event)", "focus": "focus()", "blur": "_blur()" }, properties: { "attr.tabindex": "disabled ? null : tabIndex", "attr.role": "role", "class.mat-chip-selected": "selected", "class.mat-chip-with-avatar": "avatar", "class.mat-chip-with-trailing-icon": "trailingIcon || removeIcon", "class.mat-chip-disabled": "disabled", "class._mat-animation-noopable": "_animationsDisabled", "attr.disabled": "disabled || null", "attr.aria-disabled": "disabled.toString()", "attr.aria-selected": "ariaSelected" }, classAttribute: "mat-chip mat-focus-indicator" }, queries: [{ propertyName: "avatar", first: true, predicate: MAT_LEGACY_CHIP_AVATAR, descendants: true }, { propertyName: "trailingIcon", first: true, predicate: MAT_LEGACY_CHIP_TRAILING_ICON, descendants: true }, { propertyName: "removeIcon", first: true, predicate: MAT_LEGACY_CHIP_REMOVE, descendants: true }], exportAs: ["matChip"], usesInheritance: true, ngImport: i0 });
333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChip, decorators: [{
334
334
  type: Directive,
335
335
  args: [{
336
336
  selector: `mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]`,
@@ -436,9 +436,9 @@ class MatLegacyChipRemove {
436
436
  event.preventDefault();
437
437
  }
438
438
  }
439
- MatLegacyChipRemove.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipRemove, deps: [{ token: MatLegacyChip }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
440
- MatLegacyChipRemove.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyChipRemove, selector: "[matChipRemove]", host: { listeners: { "click": "_handleClick($event)" }, classAttribute: "mat-chip-remove mat-chip-trailing-icon" }, providers: [{ provide: MAT_LEGACY_CHIP_REMOVE, useExisting: MatLegacyChipRemove }], ngImport: i0 });
441
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipRemove, decorators: [{
439
+ MatLegacyChipRemove.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipRemove, deps: [{ token: MatLegacyChip }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
440
+ MatLegacyChipRemove.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyChipRemove, selector: "[matChipRemove]", host: { listeners: { "click": "_handleClick($event)" }, classAttribute: "mat-chip-remove mat-chip-trailing-icon" }, providers: [{ provide: MAT_LEGACY_CHIP_REMOVE, useExisting: MatLegacyChipRemove }], ngImport: i0 });
441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipRemove, decorators: [{
442
442
  type: Directive,
443
443
  args: [{
444
444
  selector: '[matChipRemove]',
@@ -450,13 +450,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
450
450
  }]
451
451
  }], ctorParameters: function () { return [{ type: MatLegacyChip }, { type: i0.ElementRef }]; } });
452
452
 
453
- /**
454
- * @license
455
- * Copyright Google LLC All Rights Reserved.
456
- *
457
- * Use of this source code is governed by an MIT-style license that can be
458
- * found in the LICENSE file at https://angular.io/license
459
- */
460
453
  /**
461
454
  * Injection token to be used to override the default options for the chips module.
462
455
  * @deprecated Use `MAT_CHIPS_DEFAULT_OPTIONS` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -464,13 +457,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
464
457
  */
465
458
  const MAT_LEGACY_CHIPS_DEFAULT_OPTIONS = new InjectionToken('mat-chips-default-options');
466
459
 
467
- /**
468
- * @license
469
- * Copyright Google LLC All Rights Reserved.
470
- *
471
- * Use of this source code is governed by an MIT-style license that can be
472
- * found in the LICENSE file at https://angular.io/license
473
- */
474
460
  // Boilerplate for applying mixins to MatChipList.
475
461
  /** @docs-private */
476
462
  const _MatChipListBase = mixinErrorState(class {
@@ -1096,9 +1082,9 @@ class MatLegacyChipList extends _MatChipListBase {
1096
1082
  }
1097
1083
  }
1098
1084
  }
1099
- MatLegacyChipList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.Directionality, optional: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: i2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
1100
- MatLegacyChipList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyChipList, selector: "mat-chip-list", inputs: { role: "role", userAriaDescribedBy: ["aria-describedby", "userAriaDescribedBy"], errorStateMatcher: "errorStateMatcher", multiple: "multiple", compareWith: "compareWith", value: "value", required: "required", placeholder: "placeholder", disabled: "disabled", ariaOrientation: ["aria-orientation", "ariaOrientation"], selectable: "selectable", tabIndex: "tabIndex" }, outputs: { change: "change", valueChange: "valueChange" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "focus": "focus()", "blur": "_blur()", "keydown": "_keydown($event)" }, properties: { "attr.tabindex": "disabled ? null : _tabIndex", "attr.aria-required": "role ? required : null", "attr.aria-disabled": "disabled.toString()", "attr.aria-invalid": "errorState", "attr.aria-multiselectable": "multiple", "attr.role": "role", "class.mat-chip-list-disabled": "disabled", "class.mat-chip-list-invalid": "errorState", "class.mat-chip-list-required": "required", "attr.aria-orientation": "ariaOrientation", "id": "_uid" }, classAttribute: "mat-chip-list" }, providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyChipList }], queries: [{ propertyName: "chips", predicate: MatLegacyChip, descendants: true }], exportAs: ["matChipList"], usesInheritance: true, ngImport: i0, template: `<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>`, isInline: true, styles: [".mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:\"\";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipList, decorators: [{
1085
+ MatLegacyChipList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.Directionality, optional: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: i2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
1086
+ MatLegacyChipList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyChipList, selector: "mat-chip-list", inputs: { role: "role", userAriaDescribedBy: ["aria-describedby", "userAriaDescribedBy"], errorStateMatcher: "errorStateMatcher", multiple: "multiple", compareWith: "compareWith", value: "value", required: "required", placeholder: "placeholder", disabled: "disabled", ariaOrientation: ["aria-orientation", "ariaOrientation"], selectable: "selectable", tabIndex: "tabIndex" }, outputs: { change: "change", valueChange: "valueChange" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "focus": "focus()", "blur": "_blur()", "keydown": "_keydown($event)" }, properties: { "attr.tabindex": "disabled ? null : _tabIndex", "attr.aria-required": "role ? required : null", "attr.aria-disabled": "disabled.toString()", "attr.aria-invalid": "errorState", "attr.aria-multiselectable": "multiple", "attr.role": "role", "class.mat-chip-list-disabled": "disabled", "class.mat-chip-list-invalid": "errorState", "class.mat-chip-list-required": "required", "attr.aria-orientation": "ariaOrientation", "id": "_uid" }, classAttribute: "mat-chip-list" }, providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyChipList }], queries: [{ propertyName: "chips", predicate: MatLegacyChip, descendants: true }], exportAs: ["matChipList"], usesInheritance: true, ngImport: i0, template: `<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>`, isInline: true, styles: [".mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:\"\";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1087
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipList, decorators: [{
1102
1088
  type: Component,
1103
1089
  args: [{ selector: 'mat-chip-list', template: `<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>`, exportAs: 'matChipList', host: {
1104
1090
  '[attr.tabindex]': 'disabled ? null : _tabIndex',
@@ -1167,13 +1153,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
1167
1153
  }]
1168
1154
  }] } });
1169
1155
 
1170
- /**
1171
- * @license
1172
- * Copyright Google LLC All Rights Reserved.
1173
- *
1174
- * Use of this source code is governed by an MIT-style license that can be
1175
- * found in the LICENSE file at https://angular.io/license
1176
- */
1177
1156
  // Increasing integer for generating unique ids.
1178
1157
  let nextUniqueId = 0;
1179
1158
  /**
@@ -1210,18 +1189,11 @@ class MatLegacyChipInput {
1210
1189
  get empty() {
1211
1190
  return !this.inputElement.value;
1212
1191
  }
1213
- constructor(_elementRef, _defaultOptions) {
1192
+ constructor(_elementRef, defaultOptions) {
1214
1193
  this._elementRef = _elementRef;
1215
- this._defaultOptions = _defaultOptions;
1216
1194
  /** Whether the control is focused. */
1217
1195
  this.focused = false;
1218
1196
  this._addOnBlur = false;
1219
- /**
1220
- * The list of key codes that will trigger a chipEnd event.
1221
- *
1222
- * Defaults to `[ENTER]`.
1223
- */
1224
- this.separatorKeyCodes = this._defaultOptions.separatorKeyCodes;
1225
1197
  /** Emitted when a chip is to be added. */
1226
1198
  this.chipEnd = new EventEmitter();
1227
1199
  /** The input's placeholder text. */
@@ -1230,6 +1202,7 @@ class MatLegacyChipInput {
1230
1202
  this.id = `mat-chip-list-input-${nextUniqueId++}`;
1231
1203
  this._disabled = false;
1232
1204
  this.inputElement = this._elementRef.nativeElement;
1205
+ this.separatorKeyCodes = defaultOptions.separatorKeyCodes;
1233
1206
  }
1234
1207
  ngOnChanges() {
1235
1208
  this._chipList.stateChanges.next();
@@ -1321,9 +1294,9 @@ class MatLegacyChipInput {
1321
1294
  return !hasModifierKey(event) && new Set(this.separatorKeyCodes).has(event.keyCode);
1322
1295
  }
1323
1296
  }
1324
- MatLegacyChipInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipInput, deps: [{ token: i0.ElementRef }, { token: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive });
1325
- MatLegacyChipInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyChipInput, selector: "input[matChipInputFor]", inputs: { chipList: ["matChipInputFor", "chipList"], addOnBlur: ["matChipInputAddOnBlur", "addOnBlur"], separatorKeyCodes: ["matChipInputSeparatorKeyCodes", "separatorKeyCodes"], placeholder: "placeholder", id: "id", disabled: "disabled" }, outputs: { chipEnd: "matChipInputTokenEnd" }, host: { listeners: { "keydown": "_keydown($event)", "keyup": "_keyup($event)", "blur": "_blur()", "focus": "_focus()", "input": "_onInput()" }, properties: { "id": "id", "attr.disabled": "disabled || null", "attr.placeholder": "placeholder || null", "attr.aria-invalid": "_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null", "attr.aria-required": "_chipList && _chipList.required || null" }, classAttribute: "mat-chip-input mat-input-element" }, exportAs: ["matChipInput", "matChipInputFor"], usesOnChanges: true, ngImport: i0 });
1326
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipInput, decorators: [{
1297
+ MatLegacyChipInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipInput, deps: [{ token: i0.ElementRef }, { token: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive });
1298
+ MatLegacyChipInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyChipInput, selector: "input[matChipInputFor]", inputs: { chipList: ["matChipInputFor", "chipList"], addOnBlur: ["matChipInputAddOnBlur", "addOnBlur"], separatorKeyCodes: ["matChipInputSeparatorKeyCodes", "separatorKeyCodes"], placeholder: "placeholder", id: "id", disabled: "disabled" }, outputs: { chipEnd: "matChipInputTokenEnd" }, host: { listeners: { "keydown": "_keydown($event)", "keyup": "_keyup($event)", "blur": "_blur()", "focus": "_focus()", "input": "_onInput()" }, properties: { "id": "id", "attr.disabled": "disabled || null", "attr.placeholder": "placeholder || null", "attr.aria-invalid": "_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null", "attr.aria-required": "_chipList && _chipList.required || null" }, classAttribute: "mat-chip-input mat-input-element" }, exportAs: ["matChipInput", "matChipInputFor"], usesOnChanges: true, ngImport: i0 });
1299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipInput, decorators: [{
1327
1300
  type: Directive,
1328
1301
  args: [{
1329
1302
  selector: 'input[matChipInputFor]',
@@ -1365,13 +1338,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
1365
1338
  type: Input
1366
1339
  }] } });
1367
1340
 
1368
- /**
1369
- * @license
1370
- * Copyright Google LLC All Rights Reserved.
1371
- *
1372
- * Use of this source code is governed by an MIT-style license that can be
1373
- * found in the LICENSE file at https://angular.io/license
1374
- */
1375
1341
  const CHIP_DECLARATIONS = [
1376
1342
  MatLegacyChipList,
1377
1343
  MatLegacyChip,
@@ -1386,8 +1352,8 @@ const CHIP_DECLARATIONS = [
1386
1352
  */
1387
1353
  class MatLegacyChipsModule {
1388
1354
  }
1389
- MatLegacyChipsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1390
- MatLegacyChipsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipsModule, declarations: [MatLegacyChipList,
1355
+ MatLegacyChipsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1356
+ MatLegacyChipsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipsModule, declarations: [MatLegacyChipList,
1391
1357
  MatLegacyChip,
1392
1358
  MatLegacyChipInput,
1393
1359
  MatLegacyChipRemove,
@@ -1398,7 +1364,7 @@ MatLegacyChipsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", ve
1398
1364
  MatLegacyChipRemove,
1399
1365
  MatLegacyChipAvatar,
1400
1366
  MatLegacyChipTrailingIcon] });
1401
- MatLegacyChipsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipsModule, providers: [
1367
+ MatLegacyChipsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipsModule, providers: [
1402
1368
  ErrorStateMatcher,
1403
1369
  {
1404
1370
  provide: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS,
@@ -1407,7 +1373,7 @@ MatLegacyChipsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
1407
1373
  },
1408
1374
  },
1409
1375
  ], imports: [MatCommonModule] });
1410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyChipsModule, decorators: [{
1376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyChipsModule, decorators: [{
1411
1377
  type: NgModule,
1412
1378
  args: [{
1413
1379
  imports: [MatCommonModule],
@@ -1425,22 +1391,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
1425
1391
  }]
1426
1392
  }] });
1427
1393
 
1428
- /**
1429
- * @license
1430
- * Copyright Google LLC All Rights Reserved.
1431
- *
1432
- * Use of this source code is governed by an MIT-style license that can be
1433
- * found in the LICENSE file at https://angular.io/license
1434
- */
1435
-
1436
- /**
1437
- * @license
1438
- * Copyright Google LLC All Rights Reserved.
1439
- *
1440
- * Use of this source code is governed by an MIT-style license that can be
1441
- * found in the LICENSE file at https://angular.io/license
1442
- */
1443
-
1444
1394
  /**
1445
1395
  * Generated bundle index. Do not edit.
1446
1396
  */