@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
@@ -13,25 +13,11 @@ import { Subject } from 'rxjs';
13
13
  import * as i4 from '@angular/cdk/text-field';
14
14
  import { TextFieldModule } from '@angular/cdk/text-field';
15
15
 
16
- /**
17
- * @license
18
- * Copyright Google LLC All Rights Reserved.
19
- *
20
- * Use of this source code is governed by an MIT-style license that can be
21
- * found in the LICENSE file at https://angular.io/license
22
- */
23
16
  /** @docs-private */
24
17
  function getMatInputUnsupportedTypeError(type) {
25
18
  return Error(`Input type "${type}" isn't supported by matInput.`);
26
19
  }
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
  * This token is used to inject the object whose value should be set into `MatInput`. If none is
37
23
  * provided, the native `HTMLInputElement` is used. Directives like `MatDatepickerInput` can provide
@@ -40,13 +26,6 @@ function getMatInputUnsupportedTypeError(type) {
40
26
  */
41
27
  const MAT_INPUT_VALUE_ACCESSOR = new InjectionToken('MAT_INPUT_VALUE_ACCESSOR');
42
28
 
43
- /**
44
- * @license
45
- * Copyright Google LLC All Rights Reserved.
46
- *
47
- * Use of this source code is governed by an MIT-style license that can be
48
- * found in the LICENSE file at https://angular.io/license
49
- */
50
29
  // Invalid input type. Using one of these will throw an MatInputUnsupportedTypeError.
51
30
  const MAT_INPUT_INVALID_TYPES = [
52
31
  'button',
@@ -403,9 +382,9 @@ class MatInput extends _MatInputBase {
403
382
  return this._isNativeSelect && (element.multiple || element.size > 1);
404
383
  }
405
384
  }
406
- MatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatInput, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i2.NgControl, optional: true, self: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: MAT_INPUT_VALUE_ACCESSOR, optional: true, self: true }, { token: i4.AutofillMonitor }, { token: i0.NgZone }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
407
- MatInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]", inputs: { disabled: "disabled", id: "id", placeholder: "placeholder", name: "name", required: "required", type: "type", errorStateMatcher: "errorStateMatcher", userAriaDescribedBy: ["aria-describedby", "userAriaDescribedBy"], value: "value", readonly: "readonly" }, host: { listeners: { "focus": "_focusChanged(true)", "blur": "_focusChanged(false)", "input": "_onInput()" }, properties: { "class.mat-input-server": "_isServer", "class.mat-mdc-form-field-textarea-control": "_isInFormField && _isTextarea", "class.mat-mdc-form-field-input-control": "_isInFormField", "class.mdc-text-field__input": "_isInFormField", "class.mat-mdc-native-select-inline": "_isInlineSelect()", "id": "id", "disabled": "disabled", "required": "required", "attr.name": "name || null", "attr.readonly": "readonly && !_isNativeSelect || null", "attr.aria-invalid": "(empty && required) ? null : errorState", "attr.aria-required": "required", "attr.id": "id" }, classAttribute: "mat-mdc-input-element" }, providers: [{ provide: MatFormFieldControl, useExisting: MatInput }], exportAs: ["matInput"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatInput, decorators: [{
385
+ MatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatInput, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i2.NgControl, optional: true, self: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: MAT_INPUT_VALUE_ACCESSOR, optional: true, self: true }, { token: i4.AutofillMonitor }, { token: i0.NgZone }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
386
+ MatInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]", inputs: { disabled: "disabled", id: "id", placeholder: "placeholder", name: "name", required: "required", type: "type", errorStateMatcher: "errorStateMatcher", userAriaDescribedBy: ["aria-describedby", "userAriaDescribedBy"], value: "value", readonly: "readonly" }, host: { listeners: { "focus": "_focusChanged(true)", "blur": "_focusChanged(false)", "input": "_onInput()" }, properties: { "class.mat-input-server": "_isServer", "class.mat-mdc-form-field-textarea-control": "_isInFormField && _isTextarea", "class.mat-mdc-form-field-input-control": "_isInFormField", "class.mdc-text-field__input": "_isInFormField", "class.mat-mdc-native-select-inline": "_isInlineSelect()", "id": "id", "disabled": "disabled", "required": "required", "attr.name": "name || null", "attr.readonly": "readonly && !_isNativeSelect || null", "attr.aria-invalid": "(empty && required) ? null : errorState", "attr.aria-required": "required", "attr.id": "id" }, classAttribute: "mat-mdc-input-element" }, providers: [{ provide: MatFormFieldControl, useExisting: MatInput }], exportAs: ["matInput"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatInput, decorators: [{
409
388
  type: Directive,
410
389
  args: [{
411
390
  selector: `input[matInput], textarea[matInput], select[matNativeControl],
@@ -486,19 +465,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
486
465
  type: Input
487
466
  }] } });
488
467
 
489
- /**
490
- * @license
491
- * Copyright Google LLC All Rights Reserved.
492
- *
493
- * Use of this source code is governed by an MIT-style license that can be
494
- * found in the LICENSE file at https://angular.io/license
495
- */
496
468
  class MatInputModule {
497
469
  }
498
- MatInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
499
- MatInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatInputModule, declarations: [MatInput], imports: [MatCommonModule, MatFormFieldModule], exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule] });
500
- MatInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatInputModule, imports: [MatCommonModule, MatFormFieldModule, MatFormFieldModule, TextFieldModule, MatCommonModule] });
501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatInputModule, decorators: [{
470
+ MatInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
471
+ MatInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatInputModule, declarations: [MatInput], imports: [MatCommonModule, MatFormFieldModule], exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule] });
472
+ MatInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatInputModule, imports: [MatCommonModule, MatFormFieldModule, MatFormFieldModule, TextFieldModule, MatCommonModule] });
473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatInputModule, decorators: [{
502
474
  type: NgModule,
503
475
  args: [{
504
476
  imports: [MatCommonModule, MatFormFieldModule],
@@ -507,22 +479,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
507
479
  }]
508
480
  }] });
509
481
 
510
- /**
511
- * @license
512
- * Copyright Google LLC All Rights Reserved.
513
- *
514
- * Use of this source code is governed by an MIT-style license that can be
515
- * found in the LICENSE file at https://angular.io/license
516
- */
517
-
518
- /**
519
- * @license
520
- * Copyright Google LLC All Rights Reserved.
521
- *
522
- * Use of this source code is governed by an MIT-style license that can be
523
- * found in the LICENSE file at https://angular.io/license
524
- */
525
-
526
482
  /**
527
483
  * Generated bundle index. Do not edit.
528
484
  */
@@ -1 +1 @@
1
- {"version":3,"file":"input.mjs","sources":["../../../../../../src/material/input/input-errors.ts","../../../../../../src/material/input/input-value-accessor.ts","../../../../../../src/material/input/input.ts","../../../../../../src/material/input/module.ts","../../../../../../src/material/input/public-api.ts","../../../../../../src/material/input/index.ts","../../../../../../src/material/input/input_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\n/** @docs-private */\nexport function getMatInputUnsupportedTypeError(type: string): Error {\n return Error(`Input type \"${type}\" isn't supported by matInput.`);\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 {InjectionToken} from '@angular/core';\n\n/**\n * This token is used to inject the object whose value should be set into `MatInput`. If none is\n * provided, the native `HTMLInputElement` is used. Directives like `MatDatepickerInput` can provide\n * themselves for this token, in order to make `MatInput` delegate the getting and setting of the\n * value to them.\n */\nexport const MAT_INPUT_VALUE_ACCESSOR = new InjectionToken<{value: any}>(\n 'MAT_INPUT_VALUE_ACCESSOR',\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 {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {getSupportedInputTypes, Platform} from '@angular/cdk/platform';\nimport {AutofillMonitor} from '@angular/cdk/text-field';\nimport {\n AfterViewInit,\n Directive,\n DoCheck,\n ElementRef,\n Inject,\n Input,\n NgZone,\n OnChanges,\n OnDestroy,\n Optional,\n Self,\n} from '@angular/core';\nimport {FormGroupDirective, NgControl, NgForm, Validators} from '@angular/forms';\nimport {CanUpdateErrorState, ErrorStateMatcher, mixinErrorState} from '@angular/material/core';\nimport {MatFormFieldControl, MatFormField, MAT_FORM_FIELD} from '@angular/material/form-field';\nimport {Subject} from 'rxjs';\nimport {getMatInputUnsupportedTypeError} from './input-errors';\nimport {MAT_INPUT_VALUE_ACCESSOR} from './input-value-accessor';\n\n// Invalid input type. Using one of these will throw an MatInputUnsupportedTypeError.\nconst MAT_INPUT_INVALID_TYPES = [\n 'button',\n 'checkbox',\n 'file',\n 'hidden',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n];\n\nlet nextUniqueId = 0;\n\n// Boilerplate for applying mixins to MatInput.\n/** @docs-private */\nconst _MatInputBase = mixinErrorState(\n class {\n /**\n * Emits whenever the component state changes and should cause the parent\n * form field to update. Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n readonly stateChanges = new Subject<void>();\n\n constructor(\n public _defaultErrorStateMatcher: ErrorStateMatcher,\n public _parentForm: NgForm,\n public _parentFormGroup: FormGroupDirective,\n /**\n * Form control bound to the component.\n * Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n public ngControl: NgControl,\n ) {}\n },\n);\n\n@Directive({\n selector: `input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]`,\n exportAs: 'matInput',\n host: {\n 'class': 'mat-mdc-input-element',\n // The BaseMatInput parent class adds `mat-input-element`, `mat-form-field-control` and\n // `mat-form-field-autofill-control` to the CSS class list, but this should not be added for\n // this MDC equivalent input.\n '[class.mat-input-server]': '_isServer',\n '[class.mat-mdc-form-field-textarea-control]': '_isInFormField && _isTextarea',\n '[class.mat-mdc-form-field-input-control]': '_isInFormField',\n '[class.mdc-text-field__input]': '_isInFormField',\n '[class.mat-mdc-native-select-inline]': '_isInlineSelect()',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[id]': 'id',\n '[disabled]': 'disabled',\n '[required]': 'required',\n '[attr.name]': 'name || null',\n '[attr.readonly]': 'readonly && !_isNativeSelect || null',\n // Only mark the input as invalid for assistive technology if it has a value since the\n // state usually overlaps with `aria-required` when the input is empty and can be redundant.\n '[attr.aria-invalid]': '(empty && required) ? null : errorState',\n '[attr.aria-required]': 'required',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[attr.id]': 'id',\n '(focus)': '_focusChanged(true)',\n '(blur)': '_focusChanged(false)',\n '(input)': '_onInput()',\n },\n providers: [{provide: MatFormFieldControl, useExisting: MatInput}],\n})\nexport class MatInput\n extends _MatInputBase\n implements\n MatFormFieldControl<any>,\n OnChanges,\n OnDestroy,\n AfterViewInit,\n DoCheck,\n CanUpdateErrorState\n{\n protected _uid = `mat-input-${nextUniqueId++}`;\n protected _previousNativeValue: any;\n private _inputValueAccessor: {value: any};\n private _previousPlaceholder: string | null;\n\n /** Whether the component is being rendered on the server. */\n readonly _isServer: boolean;\n\n /** Whether the component is a native html select. */\n readonly _isNativeSelect: boolean;\n\n /** Whether the component is a textarea. */\n readonly _isTextarea: boolean;\n\n /** Whether the input is inside of a form field. */\n readonly _isInFormField: boolean;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n focused: boolean = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n override readonly stateChanges: Subject<void> = new Subject<void>();\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n controlType: string = 'mat-input';\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n autofilled = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: BooleanInput) {\n this._disabled = coerceBooleanProperty(value);\n\n // Browsers may not fire the blur event if the input is disabled too quickly.\n // Reset from here to ensure that the element doesn't become stuck.\n if (this.focused) {\n this.focused = false;\n this.stateChanges.next();\n }\n }\n protected _disabled = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get id(): string {\n return this._id;\n }\n set id(value: string) {\n this._id = value || this._uid;\n }\n protected _id: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input() placeholder: string;\n\n /**\n * Name of the input.\n * @docs-private\n */\n @Input() name: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get required(): boolean {\n return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;\n }\n set required(value: BooleanInput) {\n this._required = coerceBooleanProperty(value);\n }\n protected _required: boolean | undefined;\n\n /** Input type of the element. */\n @Input()\n get type(): string {\n return this._type;\n }\n set type(value: string) {\n this._type = value || 'text';\n this._validateType();\n\n // When using Angular inputs, developers are no longer able to set the properties on the native\n // input element. To ensure that bindings for `type` work, we need to sync the setter\n // with the native property. Textarea elements don't support the type property or attribute.\n if (!this._isTextarea && getSupportedInputTypes().has(this._type)) {\n (this._elementRef.nativeElement as HTMLInputElement).type = this._type;\n }\n }\n protected _type = 'text';\n\n /** An object used to control when error messages are shown. */\n @Input() override errorStateMatcher: ErrorStateMatcher;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input('aria-describedby') userAriaDescribedBy: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get value(): string {\n return this._inputValueAccessor.value;\n }\n set value(value: any) {\n if (value !== this.value) {\n this._inputValueAccessor.value = value;\n this.stateChanges.next();\n }\n }\n\n /** Whether the element is readonly. */\n @Input()\n get readonly(): boolean {\n return this._readonly;\n }\n set readonly(value: BooleanInput) {\n this._readonly = coerceBooleanProperty(value);\n }\n private _readonly = false;\n\n protected _neverEmptyInputTypes = [\n 'date',\n 'datetime',\n 'datetime-local',\n 'month',\n 'time',\n 'week',\n ].filter(t => getSupportedInputTypes().has(t));\n\n constructor(\n protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n protected _platform: Platform,\n @Optional() @Self() ngControl: NgControl,\n @Optional() _parentForm: NgForm,\n @Optional() _parentFormGroup: FormGroupDirective,\n _defaultErrorStateMatcher: ErrorStateMatcher,\n @Optional() @Self() @Inject(MAT_INPUT_VALUE_ACCESSOR) inputValueAccessor: any,\n private _autofillMonitor: AutofillMonitor,\n ngZone: NgZone,\n // TODO: Remove this once the legacy appearance has been removed. We only need\n // to inject the form field for determining whether the placeholder has been promoted.\n @Optional() @Inject(MAT_FORM_FIELD) protected _formField?: MatFormField,\n ) {\n super(_defaultErrorStateMatcher, _parentForm, _parentFormGroup, ngControl);\n\n const element = this._elementRef.nativeElement;\n const nodeName = element.nodeName.toLowerCase();\n\n // If no input value accessor was explicitly specified, use the element as the input value\n // accessor.\n this._inputValueAccessor = inputValueAccessor || element;\n\n this._previousNativeValue = this.value;\n\n // Force setter to be called in case id was not specified.\n this.id = this.id;\n\n // On some versions of iOS the caret gets stuck in the wrong place when holding down the delete\n // key. In order to get around this we need to \"jiggle\" the caret loose. Since this bug only\n // exists on iOS, we only bother to install the listener on iOS.\n if (_platform.IOS) {\n ngZone.runOutsideAngular(() => {\n _elementRef.nativeElement.addEventListener('keyup', this._iOSKeyupListener);\n });\n }\n\n this._isServer = !this._platform.isBrowser;\n this._isNativeSelect = nodeName === 'select';\n this._isTextarea = nodeName === 'textarea';\n this._isInFormField = !!_formField;\n\n if (this._isNativeSelect) {\n this.controlType = (element as HTMLSelectElement).multiple\n ? 'mat-native-select-multiple'\n : 'mat-native-select';\n }\n }\n\n ngAfterViewInit() {\n if (this._platform.isBrowser) {\n this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(event => {\n this.autofilled = event.isAutofilled;\n this.stateChanges.next();\n });\n }\n }\n\n ngOnChanges() {\n this.stateChanges.next();\n }\n\n ngOnDestroy() {\n this.stateChanges.complete();\n\n if (this._platform.isBrowser) {\n this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);\n }\n\n if (this._platform.IOS) {\n this._elementRef.nativeElement.removeEventListener('keyup', this._iOSKeyupListener);\n }\n }\n\n ngDoCheck() {\n if (this.ngControl) {\n // We need to re-evaluate this on every change detection cycle, because there are some\n // error triggers that we can't subscribe to (e.g. parent form submissions). This means\n // that whatever logic is in here has to be super lean or we risk destroying the performance.\n this.updateErrorState();\n\n // Since the input isn't a `ControlValueAccessor`, we don't have a good way of knowing when\n // the disabled state has changed. We can't use the `ngControl.statusChanges`, because it\n // won't fire if the input is disabled with `emitEvents = false`, despite the input becoming\n // disabled.\n if (this.ngControl.disabled !== null && this.ngControl.disabled !== this.disabled) {\n this.disabled = this.ngControl.disabled;\n this.stateChanges.next();\n }\n }\n\n // We need to dirty-check the native element's value, because there are some cases where\n // we won't be notified when it changes (e.g. the consumer isn't using forms or they're\n // updating the value using `emitEvent: false`).\n this._dirtyCheckNativeValue();\n\n // We need to dirty-check and set the placeholder attribute ourselves, because whether it's\n // present or not depends on a query which is prone to \"changed after checked\" errors.\n this._dirtyCheckPlaceholder();\n }\n\n /** Focuses the input. */\n focus(options?: FocusOptions): void {\n this._elementRef.nativeElement.focus(options);\n }\n\n /** Callback for the cases where the focused state of the input changes. */\n _focusChanged(isFocused: boolean) {\n if (isFocused !== this.focused) {\n this.focused = isFocused;\n this.stateChanges.next();\n }\n }\n\n _onInput() {\n // This is a noop function and is used to let Angular know whenever the value changes.\n // Angular will run a new change detection each time the `input` event has been dispatched.\n // It's necessary that Angular recognizes the value change, because when floatingLabel\n // is set to false and Angular forms aren't used, the placeholder won't recognize the\n // value changes and will not disappear.\n // Listening to the input event wouldn't be necessary when the input is using the\n // FormsModule or ReactiveFormsModule, because Angular forms also listens to input events.\n }\n\n /** Does some manual dirty checking on the native input `value` property. */\n protected _dirtyCheckNativeValue() {\n const newValue = this._elementRef.nativeElement.value;\n\n if (this._previousNativeValue !== newValue) {\n this._previousNativeValue = newValue;\n this.stateChanges.next();\n }\n }\n\n /** Does some manual dirty checking on the native input `placeholder` attribute. */\n private _dirtyCheckPlaceholder() {\n const placeholder = this._getPlaceholder();\n if (placeholder !== this._previousPlaceholder) {\n const element = this._elementRef.nativeElement;\n this._previousPlaceholder = placeholder;\n placeholder\n ? element.setAttribute('placeholder', placeholder)\n : element.removeAttribute('placeholder');\n }\n }\n\n /** Gets the current placeholder of the form field. */\n protected _getPlaceholder(): string | null {\n return this.placeholder || null;\n }\n\n /** Make sure the input is a supported type. */\n protected _validateType() {\n if (\n MAT_INPUT_INVALID_TYPES.indexOf(this._type) > -1 &&\n (typeof ngDevMode === 'undefined' || ngDevMode)\n ) {\n throw getMatInputUnsupportedTypeError(this._type);\n }\n }\n\n /** Checks whether the input type is one of the types that are never empty. */\n protected _isNeverEmpty() {\n return this._neverEmptyInputTypes.indexOf(this._type) > -1;\n }\n\n /** Checks whether the input is invalid based on the native validation. */\n protected _isBadInput() {\n // The `validity` property won't be present on platform-server.\n let validity = (this._elementRef.nativeElement as HTMLInputElement).validity;\n return validity && validity.badInput;\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get empty(): boolean {\n return (\n !this._isNeverEmpty() &&\n !this._elementRef.nativeElement.value &&\n !this._isBadInput() &&\n !this.autofilled\n );\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get shouldLabelFloat(): boolean {\n if (this._isNativeSelect) {\n // For a single-selection `<select>`, the label should float when the selected option has\n // a non-empty display value. For a `<select multiple>`, the label *always* floats to avoid\n // overlapping the label with the options.\n const selectElement = this._elementRef.nativeElement as HTMLSelectElement;\n const firstOption: HTMLOptionElement | undefined = selectElement.options[0];\n\n // On most browsers the `selectedIndex` will always be 0, however on IE and Edge it'll be\n // -1 if the `value` is set to something, that isn't in the list of options, at a later point.\n return (\n this.focused ||\n selectElement.multiple ||\n !this.empty ||\n !!(selectElement.selectedIndex > -1 && firstOption && firstOption.label)\n );\n } else {\n return this.focused || !this.empty;\n }\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n setDescribedByIds(ids: string[]) {\n if (ids.length) {\n this._elementRef.nativeElement.setAttribute('aria-describedby', ids.join(' '));\n } else {\n this._elementRef.nativeElement.removeAttribute('aria-describedby');\n }\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n onContainerClick() {\n // Do not re-focus the input element if the element is already focused. Otherwise it can happen\n // that someone clicks on a time input and the cursor resets to the \"hours\" field while the\n // \"minutes\" field was actually clicked. See: https://github.com/angular/components/issues/12849\n if (!this.focused) {\n this.focus();\n }\n }\n\n /** Whether the form control is a native select that is displayed inline. */\n _isInlineSelect(): boolean {\n const element = this._elementRef.nativeElement as HTMLSelectElement;\n return this._isNativeSelect && (element.multiple || element.size > 1);\n }\n\n private _iOSKeyupListener = (event: Event): void => {\n const el = event.target as HTMLInputElement;\n\n // Note: We specifically check for 0, rather than `!el.selectionStart`, because the two\n // indicate different things. If the value is 0, it means that the caret is at the start\n // of the input, whereas a value of `null` means that the input doesn't support\n // manipulating the selection range. Inputs that don't support setting the selection range\n // will throw an error so we want to avoid calling `setSelectionRange` on them. See:\n // https://html.spec.whatwg.org/multipage/input.html#do-not-apply\n if (!el.value && el.selectionStart === 0 && el.selectionEnd === 0) {\n // Note: Just setting `0, 0` doesn't fix the issue. Setting\n // `1, 1` fixes it for the first time that you type text and\n // then hold delete. Toggling to `1, 1` and then back to\n // `0, 0` seems to completely fix it.\n el.setSelectionRange(1, 1);\n el.setSelectionRange(0, 0);\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 {TextFieldModule} from '@angular/cdk/text-field';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatInput} from './input';\n\n@NgModule({\n imports: [MatCommonModule, MatFormFieldModule],\n exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule],\n declarations: [MatInput],\n})\nexport class MatInputModule {}\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 {MatInput} from './input';\nexport {MatInputModule} from './module';\nexport * from './input-value-accessor';\nexport * from './input-errors';\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;AAEH;AACM,SAAU,+BAA+B,CAAC,IAAY,EAAA;AAC1D,IAAA,OAAO,KAAK,CAAC,CAAA,YAAA,EAAe,IAAI,CAAA,8BAAA,CAAgC,CAAC,CAAC;AACpE;;ACXA;;;;;;AAMG;AAIH;;;;;AAKG;MACU,wBAAwB,GAAG,IAAI,cAAc,CACxD,0BAA0B;;ACjB5B;;;;;;AAMG;AAyBH;AACA,MAAM,uBAAuB,GAAG;IAC9B,QAAQ;IACR,UAAU;IACV,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;CACT,CAAC;AAEF,IAAI,YAAY,GAAG,CAAC,CAAC;AAErB;AACA;AACA,MAAM,aAAa,GAAG,eAAe,CACnC,MAAA;AAQE,IAAA,WAAA,CACS,yBAA4C,EAC5C,WAAmB,EACnB,gBAAoC;AAC3C;;;;AAIG;IACI,SAAoB,EAAA;AARpB,QAAA,IAAyB,CAAA,yBAAA,GAAzB,yBAAyB,CAAmB;AAC5C,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAQ;AACnB,QAAA,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAoB;AAMpC,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;AAhB7B;;;;AAIG;AACM,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,OAAO,EAAQ,CAAC;KAYxC;AACL,CAAA,CACF,CAAC;AAEF,MAkCa,iBACH,aAAa,CAAA;AAkDrB;;;AAGG;AACH,IAAA,IACI,QAAQ,GAAA;QACV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AAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAFV,YAAA,EAAA,CAAA,QAAQ,CAFb,EAAA,OAAA,EAAA,CAAA,eAAe,EAAE,kBAAkB,CACnC,EAAA,OAAA,EAAA,CAAA,QAAQ,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;mHAG7D,cAAc,EAAA,OAAA,EAAA,CAJf,eAAe,EAAE,kBAAkB,EACzB,kBAAkB,EAAE,eAAe,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;kGAG7D,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,kBAAkB,CAAC;oBAC9C,OAAO,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,CAAC;oBACzE,YAAY,EAAE,CAAC,QAAQ,CAAC;iBACzB,CAAA;;;AClBD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
1
+ {"version":3,"file":"input.mjs","sources":["../../../../../../src/material/input/input-errors.ts","../../../../../../src/material/input/input-value-accessor.ts","../../../../../../src/material/input/input.ts","../../../../../../src/material/input/module.ts","../../../../../../src/material/input/input_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\n/** @docs-private */\nexport function getMatInputUnsupportedTypeError(type: string): Error {\n return Error(`Input type \"${type}\" isn't supported by matInput.`);\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 {InjectionToken} from '@angular/core';\n\n/**\n * This token is used to inject the object whose value should be set into `MatInput`. If none is\n * provided, the native `HTMLInputElement` is used. Directives like `MatDatepickerInput` can provide\n * themselves for this token, in order to make `MatInput` delegate the getting and setting of the\n * value to them.\n */\nexport const MAT_INPUT_VALUE_ACCESSOR = new InjectionToken<{value: any}>(\n 'MAT_INPUT_VALUE_ACCESSOR',\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 {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {getSupportedInputTypes, Platform} from '@angular/cdk/platform';\nimport {AutofillMonitor} from '@angular/cdk/text-field';\nimport {\n AfterViewInit,\n Directive,\n DoCheck,\n ElementRef,\n Inject,\n Input,\n NgZone,\n OnChanges,\n OnDestroy,\n Optional,\n Self,\n} from '@angular/core';\nimport {FormGroupDirective, NgControl, NgForm, Validators} from '@angular/forms';\nimport {CanUpdateErrorState, ErrorStateMatcher, mixinErrorState} from '@angular/material/core';\nimport {MatFormFieldControl, MatFormField, MAT_FORM_FIELD} from '@angular/material/form-field';\nimport {Subject} from 'rxjs';\nimport {getMatInputUnsupportedTypeError} from './input-errors';\nimport {MAT_INPUT_VALUE_ACCESSOR} from './input-value-accessor';\n\n// Invalid input type. Using one of these will throw an MatInputUnsupportedTypeError.\nconst MAT_INPUT_INVALID_TYPES = [\n 'button',\n 'checkbox',\n 'file',\n 'hidden',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n];\n\nlet nextUniqueId = 0;\n\n// Boilerplate for applying mixins to MatInput.\n/** @docs-private */\nconst _MatInputBase = mixinErrorState(\n class {\n /**\n * Emits whenever the component state changes and should cause the parent\n * form field to update. Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n readonly stateChanges = new Subject<void>();\n\n constructor(\n public _defaultErrorStateMatcher: ErrorStateMatcher,\n public _parentForm: NgForm,\n public _parentFormGroup: FormGroupDirective,\n /**\n * Form control bound to the component.\n * Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n public ngControl: NgControl,\n ) {}\n },\n);\n\n@Directive({\n selector: `input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]`,\n exportAs: 'matInput',\n host: {\n 'class': 'mat-mdc-input-element',\n // The BaseMatInput parent class adds `mat-input-element`, `mat-form-field-control` and\n // `mat-form-field-autofill-control` to the CSS class list, but this should not be added for\n // this MDC equivalent input.\n '[class.mat-input-server]': '_isServer',\n '[class.mat-mdc-form-field-textarea-control]': '_isInFormField && _isTextarea',\n '[class.mat-mdc-form-field-input-control]': '_isInFormField',\n '[class.mdc-text-field__input]': '_isInFormField',\n '[class.mat-mdc-native-select-inline]': '_isInlineSelect()',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[id]': 'id',\n '[disabled]': 'disabled',\n '[required]': 'required',\n '[attr.name]': 'name || null',\n '[attr.readonly]': 'readonly && !_isNativeSelect || null',\n // Only mark the input as invalid for assistive technology if it has a value since the\n // state usually overlaps with `aria-required` when the input is empty and can be redundant.\n '[attr.aria-invalid]': '(empty && required) ? null : errorState',\n '[attr.aria-required]': 'required',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[attr.id]': 'id',\n '(focus)': '_focusChanged(true)',\n '(blur)': '_focusChanged(false)',\n '(input)': '_onInput()',\n },\n providers: [{provide: MatFormFieldControl, useExisting: MatInput}],\n})\nexport class MatInput\n extends _MatInputBase\n implements\n MatFormFieldControl<any>,\n OnChanges,\n OnDestroy,\n AfterViewInit,\n DoCheck,\n CanUpdateErrorState\n{\n protected _uid = `mat-input-${nextUniqueId++}`;\n protected _previousNativeValue: any;\n private _inputValueAccessor: {value: any};\n private _previousPlaceholder: string | null;\n\n /** Whether the component is being rendered on the server. */\n readonly _isServer: boolean;\n\n /** Whether the component is a native html select. */\n readonly _isNativeSelect: boolean;\n\n /** Whether the component is a textarea. */\n readonly _isTextarea: boolean;\n\n /** Whether the input is inside of a form field. */\n readonly _isInFormField: boolean;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n focused: boolean = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n override readonly stateChanges: Subject<void> = new Subject<void>();\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n controlType: string = 'mat-input';\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n autofilled = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: BooleanInput) {\n this._disabled = coerceBooleanProperty(value);\n\n // Browsers may not fire the blur event if the input is disabled too quickly.\n // Reset from here to ensure that the element doesn't become stuck.\n if (this.focused) {\n this.focused = false;\n this.stateChanges.next();\n }\n }\n protected _disabled = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get id(): string {\n return this._id;\n }\n set id(value: string) {\n this._id = value || this._uid;\n }\n protected _id: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input() placeholder: string;\n\n /**\n * Name of the input.\n * @docs-private\n */\n @Input() name: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get required(): boolean {\n return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;\n }\n set required(value: BooleanInput) {\n this._required = coerceBooleanProperty(value);\n }\n protected _required: boolean | undefined;\n\n /** Input type of the element. */\n @Input()\n get type(): string {\n return this._type;\n }\n set type(value: string) {\n this._type = value || 'text';\n this._validateType();\n\n // When using Angular inputs, developers are no longer able to set the properties on the native\n // input element. To ensure that bindings for `type` work, we need to sync the setter\n // with the native property. Textarea elements don't support the type property or attribute.\n if (!this._isTextarea && getSupportedInputTypes().has(this._type)) {\n (this._elementRef.nativeElement as HTMLInputElement).type = this._type;\n }\n }\n protected _type = 'text';\n\n /** An object used to control when error messages are shown. */\n @Input() override errorStateMatcher: ErrorStateMatcher;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input('aria-describedby') userAriaDescribedBy: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get value(): string {\n return this._inputValueAccessor.value;\n }\n set value(value: any) {\n if (value !== this.value) {\n this._inputValueAccessor.value = value;\n this.stateChanges.next();\n }\n }\n\n /** Whether the element is readonly. */\n @Input()\n get readonly(): boolean {\n return this._readonly;\n }\n set readonly(value: BooleanInput) {\n this._readonly = coerceBooleanProperty(value);\n }\n private _readonly = false;\n\n protected _neverEmptyInputTypes = [\n 'date',\n 'datetime',\n 'datetime-local',\n 'month',\n 'time',\n 'week',\n ].filter(t => getSupportedInputTypes().has(t));\n\n constructor(\n protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n protected _platform: Platform,\n @Optional() @Self() ngControl: NgControl,\n @Optional() _parentForm: NgForm,\n @Optional() _parentFormGroup: FormGroupDirective,\n _defaultErrorStateMatcher: ErrorStateMatcher,\n @Optional() @Self() @Inject(MAT_INPUT_VALUE_ACCESSOR) inputValueAccessor: any,\n private _autofillMonitor: AutofillMonitor,\n ngZone: NgZone,\n // TODO: Remove this once the legacy appearance has been removed. We only need\n // to inject the form field for determining whether the placeholder has been promoted.\n @Optional() @Inject(MAT_FORM_FIELD) protected _formField?: MatFormField,\n ) {\n super(_defaultErrorStateMatcher, _parentForm, _parentFormGroup, ngControl);\n\n const element = this._elementRef.nativeElement;\n const nodeName = element.nodeName.toLowerCase();\n\n // If no input value accessor was explicitly specified, use the element as the input value\n // accessor.\n this._inputValueAccessor = inputValueAccessor || element;\n\n this._previousNativeValue = this.value;\n\n // Force setter to be called in case id was not specified.\n this.id = this.id;\n\n // On some versions of iOS the caret gets stuck in the wrong place when holding down the delete\n // key. In order to get around this we need to \"jiggle\" the caret loose. Since this bug only\n // exists on iOS, we only bother to install the listener on iOS.\n if (_platform.IOS) {\n ngZone.runOutsideAngular(() => {\n _elementRef.nativeElement.addEventListener('keyup', this._iOSKeyupListener);\n });\n }\n\n this._isServer = !this._platform.isBrowser;\n this._isNativeSelect = nodeName === 'select';\n this._isTextarea = nodeName === 'textarea';\n this._isInFormField = !!_formField;\n\n if (this._isNativeSelect) {\n this.controlType = (element as HTMLSelectElement).multiple\n ? 'mat-native-select-multiple'\n : 'mat-native-select';\n }\n }\n\n ngAfterViewInit() {\n if (this._platform.isBrowser) {\n this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(event => {\n this.autofilled = event.isAutofilled;\n this.stateChanges.next();\n });\n }\n }\n\n ngOnChanges() {\n this.stateChanges.next();\n }\n\n ngOnDestroy() {\n this.stateChanges.complete();\n\n if (this._platform.isBrowser) {\n this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);\n }\n\n if (this._platform.IOS) {\n this._elementRef.nativeElement.removeEventListener('keyup', this._iOSKeyupListener);\n }\n }\n\n ngDoCheck() {\n if (this.ngControl) {\n // We need to re-evaluate this on every change detection cycle, because there are some\n // error triggers that we can't subscribe to (e.g. parent form submissions). This means\n // that whatever logic is in here has to be super lean or we risk destroying the performance.\n this.updateErrorState();\n\n // Since the input isn't a `ControlValueAccessor`, we don't have a good way of knowing when\n // the disabled state has changed. We can't use the `ngControl.statusChanges`, because it\n // won't fire if the input is disabled with `emitEvents = false`, despite the input becoming\n // disabled.\n if (this.ngControl.disabled !== null && this.ngControl.disabled !== this.disabled) {\n this.disabled = this.ngControl.disabled;\n this.stateChanges.next();\n }\n }\n\n // We need to dirty-check the native element's value, because there are some cases where\n // we won't be notified when it changes (e.g. the consumer isn't using forms or they're\n // updating the value using `emitEvent: false`).\n this._dirtyCheckNativeValue();\n\n // We need to dirty-check and set the placeholder attribute ourselves, because whether it's\n // present or not depends on a query which is prone to \"changed after checked\" errors.\n this._dirtyCheckPlaceholder();\n }\n\n /** Focuses the input. */\n focus(options?: FocusOptions): void {\n this._elementRef.nativeElement.focus(options);\n }\n\n /** Callback for the cases where the focused state of the input changes. */\n _focusChanged(isFocused: boolean) {\n if (isFocused !== this.focused) {\n this.focused = isFocused;\n this.stateChanges.next();\n }\n }\n\n _onInput() {\n // This is a noop function and is used to let Angular know whenever the value changes.\n // Angular will run a new change detection each time the `input` event has been dispatched.\n // It's necessary that Angular recognizes the value change, because when floatingLabel\n // is set to false and Angular forms aren't used, the placeholder won't recognize the\n // value changes and will not disappear.\n // Listening to the input event wouldn't be necessary when the input is using the\n // FormsModule or ReactiveFormsModule, because Angular forms also listens to input events.\n }\n\n /** Does some manual dirty checking on the native input `value` property. */\n protected _dirtyCheckNativeValue() {\n const newValue = this._elementRef.nativeElement.value;\n\n if (this._previousNativeValue !== newValue) {\n this._previousNativeValue = newValue;\n this.stateChanges.next();\n }\n }\n\n /** Does some manual dirty checking on the native input `placeholder` attribute. */\n private _dirtyCheckPlaceholder() {\n const placeholder = this._getPlaceholder();\n if (placeholder !== this._previousPlaceholder) {\n const element = this._elementRef.nativeElement;\n this._previousPlaceholder = placeholder;\n placeholder\n ? element.setAttribute('placeholder', placeholder)\n : element.removeAttribute('placeholder');\n }\n }\n\n /** Gets the current placeholder of the form field. */\n protected _getPlaceholder(): string | null {\n return this.placeholder || null;\n }\n\n /** Make sure the input is a supported type. */\n protected _validateType() {\n if (\n MAT_INPUT_INVALID_TYPES.indexOf(this._type) > -1 &&\n (typeof ngDevMode === 'undefined' || ngDevMode)\n ) {\n throw getMatInputUnsupportedTypeError(this._type);\n }\n }\n\n /** Checks whether the input type is one of the types that are never empty. */\n protected _isNeverEmpty() {\n return this._neverEmptyInputTypes.indexOf(this._type) > -1;\n }\n\n /** Checks whether the input is invalid based on the native validation. */\n protected _isBadInput() {\n // The `validity` property won't be present on platform-server.\n let validity = (this._elementRef.nativeElement as HTMLInputElement).validity;\n return validity && validity.badInput;\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get empty(): boolean {\n return (\n !this._isNeverEmpty() &&\n !this._elementRef.nativeElement.value &&\n !this._isBadInput() &&\n !this.autofilled\n );\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get shouldLabelFloat(): boolean {\n if (this._isNativeSelect) {\n // For a single-selection `<select>`, the label should float when the selected option has\n // a non-empty display value. For a `<select multiple>`, the label *always* floats to avoid\n // overlapping the label with the options.\n const selectElement = this._elementRef.nativeElement as HTMLSelectElement;\n const firstOption: HTMLOptionElement | undefined = selectElement.options[0];\n\n // On most browsers the `selectedIndex` will always be 0, however on IE and Edge it'll be\n // -1 if the `value` is set to something, that isn't in the list of options, at a later point.\n return (\n this.focused ||\n selectElement.multiple ||\n !this.empty ||\n !!(selectElement.selectedIndex > -1 && firstOption && firstOption.label)\n );\n } else {\n return this.focused || !this.empty;\n }\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n setDescribedByIds(ids: string[]) {\n if (ids.length) {\n this._elementRef.nativeElement.setAttribute('aria-describedby', ids.join(' '));\n } else {\n this._elementRef.nativeElement.removeAttribute('aria-describedby');\n }\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n onContainerClick() {\n // Do not re-focus the input element if the element is already focused. Otherwise it can happen\n // that someone clicks on a time input and the cursor resets to the \"hours\" field while the\n // \"minutes\" field was actually clicked. See: https://github.com/angular/components/issues/12849\n if (!this.focused) {\n this.focus();\n }\n }\n\n /** Whether the form control is a native select that is displayed inline. */\n _isInlineSelect(): boolean {\n const element = this._elementRef.nativeElement as HTMLSelectElement;\n return this._isNativeSelect && (element.multiple || element.size > 1);\n }\n\n private _iOSKeyupListener = (event: Event): void => {\n const el = event.target as HTMLInputElement;\n\n // Note: We specifically check for 0, rather than `!el.selectionStart`, because the two\n // indicate different things. If the value is 0, it means that the caret is at the start\n // of the input, whereas a value of `null` means that the input doesn't support\n // manipulating the selection range. Inputs that don't support setting the selection range\n // will throw an error so we want to avoid calling `setSelectionRange` on them. See:\n // https://html.spec.whatwg.org/multipage/input.html#do-not-apply\n if (!el.value && el.selectionStart === 0 && el.selectionEnd === 0) {\n // Note: Just setting `0, 0` doesn't fix the issue. Setting\n // `1, 1` fixes it for the first time that you type text and\n // then hold delete. Toggling to `1, 1` and then back to\n // `0, 0` seems to completely fix it.\n el.setSelectionRange(1, 1);\n el.setSelectionRange(0, 0);\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 {TextFieldModule} from '@angular/cdk/text-field';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatInput} from './input';\n\n@NgModule({\n imports: [MatCommonModule, MatFormFieldModule],\n exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule],\n declarations: [MatInput],\n})\nexport class MatInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA;AACM,SAAU,+BAA+B,CAAC,IAAY,EAAA;AAC1D,IAAA,OAAO,KAAK,CAAC,CAAA,YAAA,EAAe,IAAI,CAAA,8BAAA,CAAgC,CAAC,CAAC;AACpE;;ACDA;;;;;AAKG;MACU,wBAAwB,GAAG,IAAI,cAAc,CACxD,0BAA0B;;ACc5B;AACA,MAAM,uBAAuB,GAAG;IAC9B,QAAQ;IACR,UAAU;IACV,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;CACT,CAAC;AAEF,IAAI,YAAY,GAAG,CAAC,CAAC;AAErB;AACA;AACA,MAAM,aAAa,GAAG,eAAe,CACnC,MAAA;AAQE,IAAA,WAAA,CACS,yBAA4C,EAC5C,WAAmB,EACnB,gBAAoC;AAC3C;;;;AAIG;IACI,SAAoB,EAAA;AARpB,QAAA,IAAyB,CAAA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,KAAK;gBAkBY,iBAAiB,EAAA,CAAA;sBAAlC,KAAK;gBAMqB,mBAAmB,EAAA,CAAA;sBAA7C,KAAK;uBAAC,kBAAkB,CAAA;gBAOrB,KAAK,EAAA,CAAA;sBADR,KAAK;gBAaF,QAAQ,EAAA,CAAA;sBADX,KAAK;;;ACnPR,MAKa,cAAc,CAAA;;kHAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAFV,YAAA,EAAA,CAAA,QAAQ,CAFb,EAAA,OAAA,EAAA,CAAA,eAAe,EAAE,kBAAkB,CACnC,EAAA,OAAA,EAAA,CAAA,QAAQ,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;mHAG7D,cAAc,EAAA,OAAA,EAAA,CAJf,eAAe,EAAE,kBAAkB,EACzB,kBAAkB,EAAE,eAAe,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;kGAG7D,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,kBAAkB,CAAC;oBAC9C,OAAO,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,CAAC;oBACzE,YAAY,EAAE,CAAC,QAAQ,CAAC;iBACzB,CAAA;;;AClBD;;AAEG;;;;"}
@@ -32,21 +32,5 @@ class MatLegacyAutocompleteHarness extends _MatAutocompleteHarnessBase {
32
32
  /** The selector for the host element of a `MatAutocomplete` instance. */
33
33
  MatLegacyAutocompleteHarness.hostSelector = '.mat-autocomplete-trigger';
34
34
 
35
- /**
36
- * @license
37
- * Copyright Google LLC All Rights Reserved.
38
- *
39
- * Use of this source code is governed by an MIT-style license that can be
40
- * found in the LICENSE file at https://angular.io/license
41
- */
42
-
43
- /**
44
- * @license
45
- * Copyright Google LLC All Rights Reserved.
46
- *
47
- * Use of this source code is governed by an MIT-style license that can be
48
- * found in the LICENSE file at https://angular.io/license
49
- */
50
-
51
35
  export { MatLegacyAutocompleteHarness };
52
36
  //# sourceMappingURL=testing.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-autocomplete/testing/autocomplete-harness.ts","../../../../../../../src/material/legacy-autocomplete/testing/public-api.ts","../../../../../../../src/material/legacy-autocomplete/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} from '@angular/cdk/testing';\nimport {\n MatLegacyOptgroupHarness,\n MatLegacyOptionHarness,\n LegacyOptgroupHarnessFilters,\n LegacyOptionHarnessFilters,\n} from '@angular/material/legacy-core/testing';\nimport {_MatAutocompleteHarnessBase} from '@angular/material/autocomplete/testing';\nimport {LegacyAutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\n/**\n * Harness for interacting with a standard mat-autocomplete in tests.\n * @deprecated Use `MatAutocompleteHarness` from `@angular/material/autocomplete/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyAutocompleteHarness extends _MatAutocompleteHarnessBase<\n typeof MatLegacyOptionHarness,\n MatLegacyOptionHarness,\n LegacyOptionHarnessFilters,\n typeof MatLegacyOptgroupHarness,\n MatLegacyOptgroupHarness,\n LegacyOptgroupHarnessFilters\n> {\n protected _prefix = 'mat';\n protected _optionClass = MatLegacyOptionHarness;\n protected _optionGroupClass = MatLegacyOptgroupHarness;\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatAutocompleteHarness` that meets\n * certain criteria.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyAutocompleteHarnessFilters = {},\n ): HarnessPredicate<MatLegacyAutocompleteHarness> {\n return new HarnessPredicate(MatLegacyAutocompleteHarness, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {MatLegacyAutocompleteHarness} from './autocomplete-harness';\nexport {LegacyAutocompleteHarnessFilters} from './autocomplete-harness-filters';\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":";;;;;AAkBA;;;;AAIG;AACH,MAAa,qCAAqC,2BAOjD,CAAA;AAPD,IAAA,WAAA,GAAA;;AAQY,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;AAChB,QAAA,IAAY,CAAA,YAAA,GAAG,sBAAsB,CAAC;AACtC,QAAA,IAAiB,CAAA,iBAAA,GAAG,wBAAwB,CAAC;KAsBxD;AAjBC;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA4C,EAAE,EAAA;AAE9C,QAAA,OAAO,IAAI,gBAAgB,CAAC,4BAA4B,EAAE,OAAO,CAAC;aAC/D,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAChD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAC1D;AACA,aAAA,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAO,OAAO,EAAE,QAAQ,KAAI,SAAA,CAAA,IAAA,EAAA,KAAA,CAAA,EAAA,KAAA,CAAA,EAAA,aAAA;YACnE,OAAO,CAAC,MAAM,OAAO,CAAC,UAAU,EAAE,MAAM,QAAQ,CAAC;SAClD,CAAA,CAAC,CAAC;KACN;;AAnBD;AACO,4BAAY,CAAA,YAAA,GAAG,2BAAH;;ACpCrB;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-autocomplete/testing/autocomplete-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} from '@angular/cdk/testing';\nimport {\n MatLegacyOptgroupHarness,\n MatLegacyOptionHarness,\n LegacyOptgroupHarnessFilters,\n LegacyOptionHarnessFilters,\n} from '@angular/material/legacy-core/testing';\nimport {_MatAutocompleteHarnessBase} from '@angular/material/autocomplete/testing';\nimport {LegacyAutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\n/**\n * Harness for interacting with a standard mat-autocomplete in tests.\n * @deprecated Use `MatAutocompleteHarness` from `@angular/material/autocomplete/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyAutocompleteHarness extends _MatAutocompleteHarnessBase<\n typeof MatLegacyOptionHarness,\n MatLegacyOptionHarness,\n LegacyOptionHarnessFilters,\n typeof MatLegacyOptgroupHarness,\n MatLegacyOptgroupHarness,\n LegacyOptgroupHarnessFilters\n> {\n protected _prefix = 'mat';\n protected _optionClass = MatLegacyOptionHarness;\n protected _optionGroupClass = MatLegacyOptgroupHarness;\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatAutocompleteHarness` that meets\n * certain criteria.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyAutocompleteHarnessFilters = {},\n ): HarnessPredicate<MatLegacyAutocompleteHarness> {\n return new HarnessPredicate(MatLegacyAutocompleteHarness, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n}\n"],"names":[],"mappings":";;;;;AAkBA;;;;AAIG;AACH,MAAa,qCAAqC,2BAOjD,CAAA;AAPD,IAAA,WAAA,GAAA;;AAQY,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;AAChB,QAAA,IAAY,CAAA,YAAA,GAAG,sBAAsB,CAAC;AACtC,QAAA,IAAiB,CAAA,iBAAA,GAAG,wBAAwB,CAAC;KAsBxD;AAjBC;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA4C,EAAE,EAAA;AAE9C,QAAA,OAAO,IAAI,gBAAgB,CAAC,4BAA4B,EAAE,OAAO,CAAC;aAC/D,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAChD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAC1D;AACA,aAAA,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAO,OAAO,EAAE,QAAQ,KAAI,SAAA,CAAA,IAAA,EAAA,KAAA,CAAA,EAAA,KAAA,CAAA,EAAA,aAAA;YACnE,OAAO,CAAC,MAAM,OAAO,CAAC,UAAU,EAAE,MAAM,QAAQ,CAAC;SAClD,CAAA,CAAC,CAAC;KACN;;AAnBD;AACO,4BAAY,CAAA,YAAA,GAAG,2BAAH;;;;"}
@@ -10,13 +10,6 @@ import { MatCommonModule } from '@angular/material/core';
10
10
  import { CdkScrollableModule } from '@angular/cdk/scrolling';
11
11
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
12
12
 
13
- /**
14
- * @license
15
- * Copyright Google LLC All Rights Reserved.
16
- *
17
- * Use of this source code is governed by an MIT-style license that can be
18
- * found in the LICENSE file at https://angular.io/license
19
- */
20
13
  /**
21
14
  * @deprecated Use `MatAutocomplete` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
22
15
  * @breaking-change 17.0.0
@@ -28,9 +21,9 @@ class MatLegacyAutocomplete extends _MatAutocompleteBase {
28
21
  this._hiddenClass = 'mat-autocomplete-hidden';
29
22
  }
30
23
  }
31
- MatLegacyAutocomplete.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocomplete, deps: null, target: i0.ɵɵFactoryTarget.Component });
32
- MatLegacyAutocomplete.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyAutocomplete, selector: "mat-autocomplete", inputs: { disableRipple: "disableRipple" }, host: { attributes: { "ngSkipHydration": "true" }, classAttribute: "mat-autocomplete" }, providers: [{ provide: MAT_LEGACY_OPTION_PARENT_COMPONENT, useExisting: MatLegacyAutocomplete }], queries: [{ propertyName: "optionGroups", predicate: MAT_LEGACY_OPTGROUP, descendants: true }, { propertyName: "options", predicate: MatLegacyOption, descendants: true }], exportAs: ["matAutocomplete"], usesInheritance: true, ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div class=\"mat-autocomplete-panel\"\n role=\"listbox\"\n [id]=\"id\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n [ngClass]=\"_classList\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocomplete, decorators: [{
24
+ MatLegacyAutocomplete.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocomplete, deps: null, target: i0.ɵɵFactoryTarget.Component });
25
+ MatLegacyAutocomplete.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyAutocomplete, selector: "mat-autocomplete", inputs: { disableRipple: "disableRipple" }, host: { attributes: { "ngSkipHydration": "true" }, classAttribute: "mat-autocomplete" }, providers: [{ provide: MAT_LEGACY_OPTION_PARENT_COMPONENT, useExisting: MatLegacyAutocomplete }], queries: [{ propertyName: "optionGroups", predicate: MAT_LEGACY_OPTGROUP, descendants: true }, { propertyName: "options", predicate: MatLegacyOption, descendants: true }], exportAs: ["matAutocomplete"], usesInheritance: true, ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div class=\"mat-autocomplete-panel\"\n role=\"listbox\"\n [id]=\"id\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n [ngClass]=\"_classList\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocomplete, decorators: [{
34
27
  type: Component,
35
28
  args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', inputs: ['disableRipple'], host: {
36
29
  'class': 'mat-autocomplete',
@@ -44,13 +37,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
44
37
  args: [MatLegacyOption, { descendants: true }]
45
38
  }] } });
46
39
 
47
- /**
48
- * @license
49
- * Copyright Google LLC All Rights Reserved.
50
- *
51
- * Use of this source code is governed by an MIT-style license that can be
52
- * found in the LICENSE file at https://angular.io/license
53
- */
54
40
  /**
55
41
  * Provider that allows the autocomplete to register as a ControlValueAccessor.
56
42
  * @docs-private
@@ -72,9 +58,9 @@ class MatLegacyAutocompleteTrigger extends _MatAutocompleteTriggerBase {
72
58
  this._aboveClass = 'mat-autocomplete-panel-above';
73
59
  }
74
60
  }
75
- MatLegacyAutocompleteTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocompleteTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive });
76
- MatLegacyAutocompleteTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", host: { listeners: { "focusin": "_handleFocus()", "blur": "_onTouched()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)", "click": "_handleClick()" }, properties: { "attr.autocomplete": "autocompleteAttribute", "attr.role": "autocompleteDisabled ? null : \"combobox\"", "attr.aria-autocomplete": "autocompleteDisabled ? null : \"list\"", "attr.aria-activedescendant": "(panelOpen && activeOption) ? activeOption.id : null", "attr.aria-expanded": "autocompleteDisabled ? null : panelOpen.toString()", "attr.aria-owns": "(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id", "attr.aria-haspopup": "autocompleteDisabled ? null : \"listbox\"" }, classAttribute: "mat-autocomplete-trigger" }, providers: [MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["matAutocompleteTrigger"], usesInheritance: true, ngImport: i0 });
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocompleteTrigger, decorators: [{
61
+ MatLegacyAutocompleteTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocompleteTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive });
62
+ MatLegacyAutocompleteTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", host: { listeners: { "focusin": "_handleFocus()", "blur": "_onTouched()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)", "click": "_handleClick()" }, properties: { "attr.autocomplete": "autocompleteAttribute", "attr.role": "autocompleteDisabled ? null : \"combobox\"", "attr.aria-autocomplete": "autocompleteDisabled ? null : \"list\"", "attr.aria-activedescendant": "(panelOpen && activeOption) ? activeOption.id : null", "attr.aria-expanded": "autocompleteDisabled ? null : panelOpen.toString()", "attr.aria-owns": "(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id", "attr.aria-haspopup": "autocompleteDisabled ? null : \"listbox\"" }, classAttribute: "mat-autocomplete-trigger" }, providers: [MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["matAutocompleteTrigger"], usesInheritance: true, ngImport: i0 });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocompleteTrigger, decorators: [{
78
64
  type: Directive,
79
65
  args: [{
80
66
  selector: `input[matAutocomplete], textarea[matAutocomplete]`,
@@ -100,13 +86,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
100
86
  }]
101
87
  }] });
102
88
 
103
- /**
104
- * @license
105
- * Copyright Google LLC All Rights Reserved.
106
- *
107
- * Use of this source code is governed by an MIT-style license that can be
108
- * found in the LICENSE file at https://angular.io/license
109
- */
110
89
  /**
111
90
  * Directive applied to an element to make it usable
112
91
  * as a connection point for an autocomplete panel.
@@ -115,9 +94,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
115
94
  */
116
95
  class MatLegacyAutocompleteOrigin extends _MatAutocompleteOriginBase {
117
96
  }
118
- MatLegacyAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocompleteOrigin, deps: null, target: i0.ɵɵFactoryTarget.Directive });
119
- MatLegacyAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatLegacyAutocompleteOrigin, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], usesInheritance: true, ngImport: i0 });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocompleteOrigin, decorators: [{
97
+ MatLegacyAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocompleteOrigin, deps: null, target: i0.ɵɵFactoryTarget.Directive });
98
+ MatLegacyAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatLegacyAutocompleteOrigin, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], usesInheritance: true, ngImport: i0 });
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocompleteOrigin, decorators: [{
121
100
  type: Directive,
122
101
  args: [{
123
102
  selector: '[matAutocompleteOrigin]',
@@ -125,30 +104,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
125
104
  }]
126
105
  }] });
127
106
 
128
- /**
129
- * @license
130
- * Copyright Google LLC All Rights Reserved.
131
- *
132
- * Use of this source code is governed by an MIT-style license that can be
133
- * found in the LICENSE file at https://angular.io/license
134
- */
135
107
  /**
136
108
  * @deprecated Use `MatAutocompleteModule` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
137
109
  * @breaking-change 17.0.0
138
110
  */
139
111
  class MatLegacyAutocompleteModule {
140
112
  }
141
- MatLegacyAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
142
- MatLegacyAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocompleteModule, declarations: [MatLegacyAutocomplete, MatLegacyAutocompleteTrigger, MatLegacyAutocompleteOrigin], imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule], exports: [MatLegacyAutocomplete,
113
+ MatLegacyAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
114
+ MatLegacyAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocompleteModule, declarations: [MatLegacyAutocomplete, MatLegacyAutocompleteTrigger, MatLegacyAutocompleteOrigin], imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule], exports: [MatLegacyAutocomplete,
143
115
  MatLegacyAutocompleteTrigger,
144
116
  MatLegacyAutocompleteOrigin,
145
117
  CdkScrollableModule,
146
118
  MatLegacyOptionModule,
147
119
  MatCommonModule] });
148
- MatLegacyAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule, CdkScrollableModule,
120
+ MatLegacyAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule, CdkScrollableModule,
149
121
  MatLegacyOptionModule,
150
122
  MatCommonModule] });
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatLegacyAutocompleteModule, decorators: [{
123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatLegacyAutocompleteModule, decorators: [{
152
124
  type: NgModule,
153
125
  args: [{
154
126
  imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule],
@@ -165,22 +137,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
165
137
  }]
166
138
  }] });
167
139
 
168
- /**
169
- * @license
170
- * Copyright Google LLC All Rights Reserved.
171
- *
172
- * Use of this source code is governed by an MIT-style license that can be
173
- * found in the LICENSE file at https://angular.io/license
174
- */
175
-
176
- /**
177
- * @license
178
- * Copyright Google LLC All Rights Reserved.
179
- *
180
- * Use of this source code is governed by an MIT-style license that can be
181
- * found in the LICENSE file at https://angular.io/license
182
- */
183
-
184
140
  /**
185
141
  * Generated bundle index. Do not edit.
186
142
  */
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-autocomplete.mjs","sources":["../../../../../../src/material/legacy-autocomplete/autocomplete.ts","../../../../../../src/material/legacy-autocomplete/autocomplete.html","../../../../../../src/material/legacy-autocomplete/autocomplete-trigger.ts","../../../../../../src/material/legacy-autocomplete/autocomplete-origin.ts","../../../../../../src/material/legacy-autocomplete/autocomplete-module.ts","../../../../../../src/material/legacy-autocomplete/public-api.ts","../../../../../../src/material/legacy-autocomplete/index.ts","../../../../../../src/material/legacy-autocomplete/legacy-autocomplete_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 {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n MAT_LEGACY_OPTGROUP,\n MAT_LEGACY_OPTION_PARENT_COMPONENT,\n MatLegacyOption,\n MatLegacyOptgroup,\n} from '@angular/material/legacy-core';\nimport {_MatAutocompleteBase} from '@angular/material/autocomplete';\n\n/**\n * @deprecated Use `MatAutocomplete` from `@angular/material/autocomplete` 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-autocomplete',\n templateUrl: 'autocomplete.html',\n styleUrls: ['autocomplete.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'matAutocomplete',\n inputs: ['disableRipple'],\n host: {\n 'class': 'mat-autocomplete',\n 'ngSkipHydration': 'true',\n },\n providers: [{provide: MAT_LEGACY_OPTION_PARENT_COMPONENT, useExisting: MatLegacyAutocomplete}],\n})\nexport class MatLegacyAutocomplete extends _MatAutocompleteBase {\n /** Reference to all option groups within the autocomplete. */\n @ContentChildren(MAT_LEGACY_OPTGROUP, {descendants: true})\n optionGroups: QueryList<MatLegacyOptgroup>;\n /** Reference to all options within the autocomplete. */\n @ContentChildren(MatLegacyOption, {descendants: true}) options: QueryList<MatLegacyOption>;\n protected _visibleClass = 'mat-autocomplete-visible';\n protected _hiddenClass = 'mat-autocomplete-hidden';\n}\n","<ng-template let-formFieldId=\"id\">\n <div class=\"mat-autocomplete-panel\"\n role=\"listbox\"\n [id]=\"id\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n [ngClass]=\"_classList\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {Directive, forwardRef} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {\n _MatAutocompleteBase,\n _MatAutocompleteTriggerBase,\n _MatAutocompleteOriginBase,\n} from '@angular/material/autocomplete';\n\n/**\n * Provider that allows the autocomplete to register as a ControlValueAccessor.\n * @docs-private\n * @deprecated Use `MAT_AUTOCOMPLETE_VALUE_ACCESSOR` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyAutocompleteTrigger),\n multi: true,\n};\n\n/**\n * @deprecated Use `MatAutocompleteTrigger` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Directive({\n selector: `input[matAutocomplete], textarea[matAutocomplete]`,\n host: {\n 'class': 'mat-autocomplete-trigger',\n '[attr.autocomplete]': 'autocompleteAttribute',\n '[attr.role]': 'autocompleteDisabled ? null : \"combobox\"',\n '[attr.aria-autocomplete]': 'autocompleteDisabled ? null : \"list\"',\n '[attr.aria-activedescendant]': '(panelOpen && activeOption) ? activeOption.id : null',\n '[attr.aria-expanded]': 'autocompleteDisabled ? null : panelOpen.toString()',\n '[attr.aria-owns]': '(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id',\n '[attr.aria-haspopup]': 'autocompleteDisabled ? null : \"listbox\"',\n // Note: we use `focusin`, as opposed to `focus`, in order to open the panel\n // a little earlier. This avoids issues where IE delays the focusing of the input.\n '(focusin)': '_handleFocus()',\n '(blur)': '_onTouched()',\n '(input)': '_handleInput($event)',\n '(keydown)': '_handleKeydown($event)',\n '(click)': '_handleClick()',\n },\n exportAs: 'matAutocompleteTrigger',\n providers: [MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR],\n})\nexport class MatLegacyAutocompleteTrigger extends _MatAutocompleteTriggerBase {\n protected _aboveClass = 'mat-autocomplete-panel-above';\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive} from '@angular/core';\nimport {_MatAutocompleteOriginBase} from '@angular/material/autocomplete';\n\n/**\n * Directive applied to an element to make it usable\n * as a connection point for an autocomplete panel.\n * @deprecated Use `MatAutocompleteOrigin` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Directive({\n selector: '[matAutocompleteOrigin]',\n exportAs: 'matAutocompleteOrigin',\n})\nexport class MatLegacyAutocompleteOrigin extends _MatAutocompleteOriginBase {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {OverlayModule} from '@angular/cdk/overlay';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatLegacyOptionModule} from '@angular/material/legacy-core';\nimport {CdkScrollableModule} from '@angular/cdk/scrolling';\nimport {MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER} from '@angular/material/autocomplete';\nimport {MatLegacyAutocomplete} from './autocomplete';\nimport {MatLegacyAutocompleteTrigger} from './autocomplete-trigger';\nimport {MatLegacyAutocompleteOrigin} from './autocomplete-origin';\n\n/**\n * @deprecated Use `MatAutocompleteModule` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule],\n exports: [\n MatLegacyAutocomplete,\n MatLegacyAutocompleteTrigger,\n MatLegacyAutocompleteOrigin,\n CdkScrollableModule,\n MatLegacyOptionModule,\n MatCommonModule,\n ],\n declarations: [MatLegacyAutocomplete, MatLegacyAutocompleteTrigger, MatLegacyAutocompleteOrigin],\n providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER],\n})\nexport class MatLegacyAutocompleteModule {}\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 {MatLegacyAutocomplete} from './autocomplete';\nexport {MatLegacyAutocompleteModule} from './autocomplete-module';\nexport {\n MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR,\n MatLegacyAutocompleteTrigger,\n} from './autocomplete-trigger';\nexport {MatLegacyAutocompleteOrigin} from './autocomplete-origin';\n\nexport {\n /**\n * @deprecated Use `getMatAutocompleteMissingPanelError` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n getMatAutocompleteMissingPanelError as getMatLegacyAutocompleteMissingPanelError,\n\n /**\n * @deprecated Use `MAT_AUTOCOMPLETE_DEFAULT_OPTIONS` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_AUTOCOMPLETE_DEFAULT_OPTIONS as MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS,\n\n /**\n * @deprecated Use `MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY,\n\n /**\n * @deprecated Use `MAT_AUTOCOMPLETE_SCROLL_STRATEGY` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_AUTOCOMPLETE_SCROLL_STRATEGY as MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY,\n\n /**\n * @deprecated Use `MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY as MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY,\n\n /**\n * @deprecated Use `MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER as MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER,\n\n /**\n * @deprecated Use `MatAutocompleteActivatedEvent` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatAutocompleteActivatedEvent as MatLegacyAutocompleteActivatedEvent,\n\n /**\n * @deprecated Use `MatAutocompleteDefaultOptions` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatAutocompleteDefaultOptions as MatLegacyAutocompleteDefaultOptions,\n\n /**\n * @deprecated Use `MatAutocompleteSelectedEvent` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatAutocompleteSelectedEvent as MatLegacyAutocompleteSelectedEvent,\n} from '@angular/material/autocomplete';\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;AAiBH;;;AAGG;AACH,MAca,8BAA8B,oBAAoB,CAAA;AAd/D,IAAA,WAAA,GAAA;;AAoBY,QAAA,IAAa,CAAA,aAAA,GAAG,0BAA0B,CAAC;AAC3C,QAAA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AqB;wBACrB,4BAA4B;wBAC5B,2BAA2B;wBAC3B,mBAAmB;wBACnB,qBAAqB;wBACrB,eAAe;AAChB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,qBAAqB,EAAE,4BAA4B,EAAE,2BAA2B,CAAC;oBAChG,SAAS,EAAE,CAAC,iDAAiD,CAAC;iBAC/D,CAAA;;;ACnCD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
1
+ {"version":3,"file":"legacy-autocomplete.mjs","sources":["../../../../../../src/material/legacy-autocomplete/autocomplete.ts","../../../../../../src/material/legacy-autocomplete/autocomplete.html","../../../../../../src/material/legacy-autocomplete/autocomplete-trigger.ts","../../../../../../src/material/legacy-autocomplete/autocomplete-origin.ts","../../../../../../src/material/legacy-autocomplete/autocomplete-module.ts","../../../../../../src/material/legacy-autocomplete/legacy-autocomplete_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 {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n MAT_LEGACY_OPTGROUP,\n MAT_LEGACY_OPTION_PARENT_COMPONENT,\n MatLegacyOption,\n MatLegacyOptgroup,\n} from '@angular/material/legacy-core';\nimport {_MatAutocompleteBase} from '@angular/material/autocomplete';\n\n/**\n * @deprecated Use `MatAutocomplete` from `@angular/material/autocomplete` 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-autocomplete',\n templateUrl: 'autocomplete.html',\n styleUrls: ['autocomplete.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'matAutocomplete',\n inputs: ['disableRipple'],\n host: {\n 'class': 'mat-autocomplete',\n 'ngSkipHydration': 'true',\n },\n providers: [{provide: MAT_LEGACY_OPTION_PARENT_COMPONENT, useExisting: MatLegacyAutocomplete}],\n})\nexport class MatLegacyAutocomplete extends _MatAutocompleteBase {\n /** Reference to all option groups within the autocomplete. */\n @ContentChildren(MAT_LEGACY_OPTGROUP, {descendants: true})\n optionGroups: QueryList<MatLegacyOptgroup>;\n /** Reference to all options within the autocomplete. */\n @ContentChildren(MatLegacyOption, {descendants: true}) options: QueryList<MatLegacyOption>;\n protected _visibleClass = 'mat-autocomplete-visible';\n protected _hiddenClass = 'mat-autocomplete-hidden';\n}\n","<ng-template let-formFieldId=\"id\">\n <div class=\"mat-autocomplete-panel\"\n role=\"listbox\"\n [id]=\"id\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n [ngClass]=\"_classList\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {Directive, forwardRef} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {\n _MatAutocompleteBase,\n _MatAutocompleteTriggerBase,\n _MatAutocompleteOriginBase,\n} from '@angular/material/autocomplete';\n\n/**\n * Provider that allows the autocomplete to register as a ControlValueAccessor.\n * @docs-private\n * @deprecated Use `MAT_AUTOCOMPLETE_VALUE_ACCESSOR` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyAutocompleteTrigger),\n multi: true,\n};\n\n/**\n * @deprecated Use `MatAutocompleteTrigger` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Directive({\n selector: `input[matAutocomplete], textarea[matAutocomplete]`,\n host: {\n 'class': 'mat-autocomplete-trigger',\n '[attr.autocomplete]': 'autocompleteAttribute',\n '[attr.role]': 'autocompleteDisabled ? null : \"combobox\"',\n '[attr.aria-autocomplete]': 'autocompleteDisabled ? null : \"list\"',\n '[attr.aria-activedescendant]': '(panelOpen && activeOption) ? activeOption.id : null',\n '[attr.aria-expanded]': 'autocompleteDisabled ? null : panelOpen.toString()',\n '[attr.aria-owns]': '(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id',\n '[attr.aria-haspopup]': 'autocompleteDisabled ? null : \"listbox\"',\n // Note: we use `focusin`, as opposed to `focus`, in order to open the panel\n // a little earlier. This avoids issues where IE delays the focusing of the input.\n '(focusin)': '_handleFocus()',\n '(blur)': '_onTouched()',\n '(input)': '_handleInput($event)',\n '(keydown)': '_handleKeydown($event)',\n '(click)': '_handleClick()',\n },\n exportAs: 'matAutocompleteTrigger',\n providers: [MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR],\n})\nexport class MatLegacyAutocompleteTrigger extends _MatAutocompleteTriggerBase {\n protected _aboveClass = 'mat-autocomplete-panel-above';\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive} from '@angular/core';\nimport {_MatAutocompleteOriginBase} from '@angular/material/autocomplete';\n\n/**\n * Directive applied to an element to make it usable\n * as a connection point for an autocomplete panel.\n * @deprecated Use `MatAutocompleteOrigin` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Directive({\n selector: '[matAutocompleteOrigin]',\n exportAs: 'matAutocompleteOrigin',\n})\nexport class MatLegacyAutocompleteOrigin extends _MatAutocompleteOriginBase {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {OverlayModule} from '@angular/cdk/overlay';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatLegacyOptionModule} from '@angular/material/legacy-core';\nimport {CdkScrollableModule} from '@angular/cdk/scrolling';\nimport {MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER} from '@angular/material/autocomplete';\nimport {MatLegacyAutocomplete} from './autocomplete';\nimport {MatLegacyAutocompleteTrigger} from './autocomplete-trigger';\nimport {MatLegacyAutocompleteOrigin} from './autocomplete-origin';\n\n/**\n * @deprecated Use `MatAutocompleteModule` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule],\n exports: [\n MatLegacyAutocomplete,\n MatLegacyAutocompleteTrigger,\n MatLegacyAutocompleteOrigin,\n CdkScrollableModule,\n MatLegacyOptionModule,\n MatCommonModule,\n ],\n declarations: [MatLegacyAutocomplete, MatLegacyAutocompleteTrigger, MatLegacyAutocompleteOrigin],\n providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER],\n})\nexport class MatLegacyAutocompleteModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAuBA;;;AAGG;AACH,MAca,8BAA8B,oBAAoB,CAAA;AAd/D,IAAA,WAAA,GAAA;;AAoBY,QAAA,IAAa,CAAA,aAAA,GAAG,0BAA0B,CAAC;AAC3C,QAAA,IAAY,CAAA,YAAA,GAAG,yBAAyB,CAAC;KACpD;;yHARY,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,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ComponentHarness {
89
89
  MatLegacyButtonHarness.hostSelector = `[mat-button], [mat-raised-button], [mat-flat-button], [mat-icon-button],
90
90
  [mat-stroked-button], [mat-fab], [mat-mini-fab]`;
91
91
 
92
- /**
93
- * @license
94
- * Copyright Google LLC All Rights Reserved.
95
- *
96
- * Use of this source code is governed by an MIT-style license that can be
97
- * found in the LICENSE file at https://angular.io/license
98
- */
99
-
100
- /**
101
- * @license
102
- * Copyright Google LLC All Rights Reserved.
103
- *
104
- * Use of this source code is governed by an MIT-style license that can be
105
- * found in the LICENSE file at https://angular.io/license
106
- */
107
-
108
92
  export { MatLegacyButtonHarness };
109
93
  //# sourceMappingURL=testing.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-button/testing/button-harness.ts","../../../../../../../src/material/legacy-button/testing/public-api.ts","../../../../../../../src/material/legacy-button/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 {ContentContainerComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {ButtonHarnessFilters, ButtonVariant} from '@angular/material/button/testing';\n\n/**\n * Harness for interacting with a standard mat-button in tests.\n * @deprecated Use `MatButtonHarness` from `@angular/material/button/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyButtonHarness extends ContentContainerComponentHarness {\n // TODO(jelbourn) use a single class, like `.mat-button-base`\n /** The selector for the host element of a button instance. */\n static hostSelector = `[mat-button], [mat-raised-button], [mat-flat-button], [mat-icon-button],\n [mat-stroked-button], [mat-fab], [mat-mini-fab]`;\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a button harness that meets\n * certain criteria.\n * @param options Options for filtering which button instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: ButtonHarnessFilters = {}): HarnessPredicate<MatLegacyButtonHarness> {\n return new HarnessPredicate(MatLegacyButtonHarness, options)\n .addOption('text', options.text, (harness, text) =>\n HarnessPredicate.stringMatches(harness.getText(), text),\n )\n .addOption('variant', options.variant, (harness, variant) =>\n HarnessPredicate.stringMatches(harness.getVariant(), variant),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /**\n * Clicks the button at the given position relative to its top-left.\n * @param relativeX The relative x position of the click.\n * @param relativeY The relative y position of the click.\n */\n click(relativeX: number, relativeY: number): Promise<void>;\n /** Clicks the button at its center. */\n click(location: 'center'): Promise<void>;\n /** Clicks the button. */\n click(): Promise<void>;\n async click(...args: [] | ['center'] | [number, number]): Promise<void> {\n return (await this.host()).click(...(args as []));\n }\n\n /** Whether the button is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Gets the button's label text. */\n async getText(): Promise<string> {\n return (await this.host()).text();\n }\n\n /** Focuses the button. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the button. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the button is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Gets the variant of the button. */\n async getVariant(): Promise<ButtonVariant> {\n const host = await this.host();\n\n if ((await host.getAttribute('mat-raised-button')) != null) {\n return 'raised';\n } else if ((await host.getAttribute('mat-flat-button')) != null) {\n return 'flat';\n } else if ((await host.getAttribute('mat-icon-button')) != null) {\n return 'icon';\n } else if ((await host.getAttribute('mat-stroked-button')) != null) {\n return 'stroked';\n } else if ((await host.getAttribute('mat-fab')) != null) {\n return 'fab';\n } else if ((await host.getAttribute('mat-mini-fab')) != null) {\n return 'mini-fab';\n }\n\n return 'basic';\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 {MatLegacyButtonHarness} from './button-harness';\nexport {\n ButtonHarnessFilters as LegacyButtonHarnessFilters,\n ButtonVariant as LegacyButtonVariant,\n} from '@angular/material/button/testing';\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":";;;;AAYA;;;;AAIG;AACH,MAAa,+BAA+B,gCAAgC,CAAA;AAM1E;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAAC,OAAA,GAAgC,EAAE,EAAA;AAC5C,QAAA,OAAO,IAAI,gBAAgB,CAAC,sBAAsB,EAAE,OAAO,CAAC;aACzD,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,KAC7C,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CACxD;aACA,SAAS,CAAC,SAAS,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,KACtD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,OAAO,CAAC,CAC9D;AACA,aAAA,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAO,OAAO,EAAE,QAAQ,KAAI,SAAA,CAAA,IAAA,EAAA,KAAA,CAAA,EAAA,KAAA,CAAA,EAAA,aAAA;YACnE,OAAO,CAAC,MAAM,OAAO,CAAC,UAAU,EAAE,MAAM,QAAQ,CAAC;SAClD,CAAA,CAAC,CAAC;KACN;IAYK,KAAK,CAAC,GAAG,IAAwC,EAAA;;AACrD,YAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,GAAI,IAAW,CAAC,CAAC;SACnD,CAAA,CAAA;AAAA,KAAA;;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AAI,EAAE;AAClE,gBAAA,OAAO,SAAS,CAAC;AAClB,aAAA;iBAAM,IAAI,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;AACvD,gBAAA,OAAO,KAAK,CAAC;AACd,aAAA;iBAAM,IAAI,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;AAC5D,gBAAA,OAAO,UAAU,CAAC;AACnB,aAAA;AAED,YAAA,OAAO,OAAO,CAAC;SAChB,CAAA,CAAA;AAAA,KAAA;;AAnFD;AACA;AACO,sBAAA,CAAA,YAAY,GAAG,CAAA;yEACiD;;ACrBzE;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-button/testing/button-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 {ContentContainerComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {ButtonHarnessFilters, ButtonVariant} from '@angular/material/button/testing';\n\n/**\n * Harness for interacting with a standard mat-button in tests.\n * @deprecated Use `MatButtonHarness` from `@angular/material/button/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyButtonHarness extends ContentContainerComponentHarness {\n // TODO(jelbourn) use a single class, like `.mat-button-base`\n /** The selector for the host element of a button instance. */\n static hostSelector = `[mat-button], [mat-raised-button], [mat-flat-button], [mat-icon-button],\n [mat-stroked-button], [mat-fab], [mat-mini-fab]`;\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a button harness that meets\n * certain criteria.\n * @param options Options for filtering which button instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: ButtonHarnessFilters = {}): HarnessPredicate<MatLegacyButtonHarness> {\n return new HarnessPredicate(MatLegacyButtonHarness, options)\n .addOption('text', options.text, (harness, text) =>\n HarnessPredicate.stringMatches(harness.getText(), text),\n )\n .addOption('variant', options.variant, (harness, variant) =>\n HarnessPredicate.stringMatches(harness.getVariant(), variant),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /**\n * Clicks the button at the given position relative to its top-left.\n * @param relativeX The relative x position of the click.\n * @param relativeY The relative y position of the click.\n */\n click(relativeX: number, relativeY: number): Promise<void>;\n /** Clicks the button at its center. */\n click(location: 'center'): Promise<void>;\n /** Clicks the button. */\n click(): Promise<void>;\n async click(...args: [] | ['center'] | [number, number]): Promise<void> {\n return (await this.host()).click(...(args as []));\n }\n\n /** Whether the button is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Gets the button's label text. */\n async getText(): Promise<string> {\n return (await this.host()).text();\n }\n\n /** Focuses the button. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the button. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the button is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Gets the variant of the button. */\n async getVariant(): Promise<ButtonVariant> {\n const host = await this.host();\n\n if ((await host.getAttribute('mat-raised-button')) != null) {\n return 'raised';\n } else if ((await host.getAttribute('mat-flat-button')) != null) {\n return 'flat';\n } else if ((await host.getAttribute('mat-icon-button')) != null) {\n return 'icon';\n } else if ((await host.getAttribute('mat-stroked-button')) != null) {\n return 'stroked';\n } else if ((await host.getAttribute('mat-fab')) != null) {\n return 'fab';\n } else if ((await host.getAttribute('mat-mini-fab')) != null) {\n return 'mini-fab';\n }\n\n return 'basic';\n }\n}\n"],"names":[],"mappings":";;;;AAYA;;;;AAIG;AACH,MAAa,+BAA+B,gCAAgC,CAAA;AAM1E;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