@angular/material 19.0.0-next.0 → 19.0.0-next.10

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 (836) hide show
  1. package/_index.scss +7 -7
  2. package/autocomplete/_autocomplete-theme.scss +37 -24
  3. package/autocomplete/index.d.ts +5 -15
  4. package/badge/_badge-theme.scss +38 -24
  5. package/badge/index.d.ts +3 -7
  6. package/bottom-sheet/_bottom-sheet-theme.scss +32 -20
  7. package/bottom-sheet/index.d.ts +5 -15
  8. package/button/_button-base.scss +2 -4
  9. package/button/_button-theme.scss +229 -105
  10. package/button/_fab-theme.scss +95 -44
  11. package/button/_icon-button-theme.scss +38 -25
  12. package/button/index.d.ts +24 -36
  13. package/button-toggle/_button-toggle-theme.scss +62 -37
  14. package/button-toggle/index.d.ts +5 -8
  15. package/card/_card-theme.scss +79 -38
  16. package/card/index.d.ts +2 -2
  17. package/checkbox/_checkbox-common.scss +9 -9
  18. package/checkbox/_checkbox-theme.scss +16 -10
  19. package/checkbox/index.d.ts +16 -14
  20. package/chips/_chips-theme.scss +64 -30
  21. package/chips/index.d.ts +19 -35
  22. package/core/_core-theme.scss +59 -55
  23. package/core/_core.scss +23 -12
  24. package/core/focus-indicators/_private.scss +21 -82
  25. package/core/index.d.ts +116 -200
  26. package/core/option/_optgroup-theme.scss +29 -18
  27. package/core/option/_option-theme.scss +34 -21
  28. package/core/ripple/_ripple-theme.scss +33 -21
  29. package/core/ripple/_ripple.scss +1 -1
  30. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +54 -27
  31. package/core/style/_elevation.scss +1 -1
  32. package/core/style/_list-common.scss +2 -2
  33. package/core/style/_menu-common.scss +2 -1
  34. package/core/style/_sass-utils.scss +4 -0
  35. package/core/theming/_all-theme.scss +3 -0
  36. package/core/theming/_config-validation.scss +4 -4
  37. package/core/theming/_definition.scss +12 -2
  38. package/core/theming/_palettes.scss +132 -45
  39. package/core/tokens/_density.scss +1 -0
  40. package/core/tokens/_m3-system.scss +281 -0
  41. package/core/tokens/_m3-tokens.scss +8 -149
  42. package/core/tokens/_token-utils.scss +104 -46
  43. package/core/tokens/m2/_index.scss +2 -0
  44. package/core/tokens/m2/mat/_badge.scss +12 -3
  45. package/core/tokens/m2/mat/_datepicker.scss +1 -1
  46. package/core/tokens/m2/mat/_timepicker.scss +44 -0
  47. package/core/tokens/m2/mdc/_radio.scss +1 -1
  48. package/core/tokens/m3/_index.scss +2 -0
  49. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +1 -1
  50. package/core/tokens/m3/definitions/_md-sys-color.scss +6 -6
  51. package/core/tokens/m3/mat/_badge.scss +3 -0
  52. package/core/tokens/m3/mat/_datepicker.scss +2 -2
  53. package/core/tokens/m3/mat/_sidenav.scss +0 -1
  54. package/core/tokens/m3/mat/_timepicker.scss +22 -0
  55. package/core/typography/_all-typography.scss +2 -0
  56. package/datepicker/_datepicker-theme.scss +53 -32
  57. package/datepicker/index.d.ts +45 -71
  58. package/dialog/_dialog-theme.scss +46 -23
  59. package/dialog/index.d.ts +17 -38
  60. package/dialog/testing/index.d.ts +1 -1
  61. package/divider/_divider-theme.scss +28 -17
  62. package/expansion/_expansion-theme.scss +36 -24
  63. package/expansion/index.d.ts +9 -13
  64. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  65. package/fesm2022/autocomplete.mjs +43 -75
  66. package/fesm2022/autocomplete.mjs.map +1 -1
  67. package/fesm2022/badge/testing.mjs.map +1 -1
  68. package/fesm2022/badge.mjs +25 -45
  69. package/fesm2022/badge.mjs.map +1 -1
  70. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  71. package/fesm2022/bottom-sheet.mjs +26 -41
  72. package/fesm2022/bottom-sheet.mjs.map +1 -1
  73. package/fesm2022/button/testing.mjs.map +1 -1
  74. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  75. package/fesm2022/button-toggle.mjs +30 -45
  76. package/fesm2022/button-toggle.mjs.map +1 -1
  77. package/fesm2022/button.mjs +79 -157
  78. package/fesm2022/button.mjs.map +1 -1
  79. package/fesm2022/card/testing.mjs.map +1 -1
  80. package/fesm2022/card.mjs +53 -68
  81. package/fesm2022/card.mjs.map +1 -1
  82. package/fesm2022/checkbox/testing.mjs.map +1 -1
  83. package/fesm2022/checkbox.mjs +41 -44
  84. package/fesm2022/checkbox.mjs.map +1 -1
  85. package/fesm2022/chips/testing.mjs.map +1 -1
  86. package/fesm2022/chips.mjs +131 -184
  87. package/fesm2022/chips.mjs.map +1 -1
  88. package/fesm2022/core/testing.mjs.map +1 -1
  89. package/fesm2022/core.mjs +370 -411
  90. package/fesm2022/core.mjs.map +1 -1
  91. package/fesm2022/datepicker/testing.mjs.map +1 -1
  92. package/fesm2022/datepicker.mjs +208 -349
  93. package/fesm2022/datepicker.mjs.map +1 -1
  94. package/fesm2022/dialog/testing.mjs +3 -4
  95. package/fesm2022/dialog/testing.mjs.map +1 -1
  96. package/fesm2022/dialog.mjs +51 -114
  97. package/fesm2022/dialog.mjs.map +1 -1
  98. package/fesm2022/divider/testing.mjs.map +1 -1
  99. package/fesm2022/divider.mjs +8 -8
  100. package/fesm2022/divider.mjs.map +1 -1
  101. package/fesm2022/expansion/testing.mjs.map +1 -1
  102. package/fesm2022/expansion.mjs +60 -98
  103. package/fesm2022/expansion.mjs.map +1 -1
  104. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  105. package/fesm2022/form-field/testing.mjs.map +1 -1
  106. package/fesm2022/form-field.mjs +91 -102
  107. package/fesm2022/form-field.mjs.map +1 -1
  108. package/fesm2022/grid-list/testing.mjs.map +1 -1
  109. package/fesm2022/grid-list.mjs +39 -49
  110. package/fesm2022/grid-list.mjs.map +1 -1
  111. package/fesm2022/icon/testing.mjs +7 -7
  112. package/fesm2022/icon/testing.mjs.map +1 -1
  113. package/fesm2022/icon.mjs +24 -34
  114. package/fesm2022/icon.mjs.map +1 -1
  115. package/fesm2022/input/testing.mjs +7 -1
  116. package/fesm2022/input/testing.mjs.map +1 -1
  117. package/fesm2022/input.mjs +99 -66
  118. package/fesm2022/input.mjs.map +1 -1
  119. package/fesm2022/list/testing.mjs.map +1 -1
  120. package/fesm2022/list.mjs +112 -158
  121. package/fesm2022/list.mjs.map +1 -1
  122. package/fesm2022/material.mjs.map +1 -1
  123. package/fesm2022/menu/testing.mjs.map +1 -1
  124. package/fesm2022/menu.mjs +69 -118
  125. package/fesm2022/menu.mjs.map +1 -1
  126. package/fesm2022/paginator/testing.mjs +2 -2
  127. package/fesm2022/paginator/testing.mjs.map +1 -1
  128. package/fesm2022/paginator.mjs +11 -11
  129. package/fesm2022/paginator.mjs.map +1 -1
  130. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  131. package/fesm2022/progress-bar.mjs +19 -26
  132. package/fesm2022/progress-bar.mjs.map +1 -1
  133. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  134. package/fesm2022/progress-spinner.mjs +15 -21
  135. package/fesm2022/progress-spinner.mjs.map +1 -1
  136. package/fesm2022/radio/testing.mjs.map +1 -1
  137. package/fesm2022/radio.mjs +33 -45
  138. package/fesm2022/radio.mjs.map +1 -1
  139. package/fesm2022/select/testing.mjs.map +1 -1
  140. package/fesm2022/select.mjs +39 -72
  141. package/fesm2022/select.mjs.map +1 -1
  142. package/fesm2022/sidenav/testing.mjs.map +1 -1
  143. package/fesm2022/sidenav.mjs +72 -94
  144. package/fesm2022/sidenav.mjs.map +1 -1
  145. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  146. package/fesm2022/slide-toggle.mjs +31 -38
  147. package/fesm2022/slide-toggle.mjs.map +1 -1
  148. package/fesm2022/slider/testing.mjs.map +1 -1
  149. package/fesm2022/slider.mjs +66 -74
  150. package/fesm2022/slider.mjs.map +1 -1
  151. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  152. package/fesm2022/snack-bar.mjs +52 -68
  153. package/fesm2022/snack-bar.mjs.map +1 -1
  154. package/fesm2022/sort/testing.mjs.map +1 -1
  155. package/fesm2022/sort.mjs +34 -52
  156. package/fesm2022/sort.mjs.map +1 -1
  157. package/fesm2022/stepper/testing.mjs.map +1 -1
  158. package/fesm2022/stepper.mjs +63 -77
  159. package/fesm2022/stepper.mjs.map +1 -1
  160. package/fesm2022/table/testing.mjs.map +1 -1
  161. package/fesm2022/table.mjs +59 -75
  162. package/fesm2022/table.mjs.map +1 -1
  163. package/fesm2022/tabs/testing.mjs.map +1 -1
  164. package/fesm2022/tabs.mjs +140 -199
  165. package/fesm2022/tabs.mjs.map +1 -1
  166. package/fesm2022/timepicker/testing.mjs +196 -0
  167. package/fesm2022/timepicker/testing.mjs.map +1 -0
  168. package/fesm2022/timepicker.mjs +842 -0
  169. package/fesm2022/timepicker.mjs.map +1 -0
  170. package/fesm2022/toolbar/testing.mjs.map +1 -1
  171. package/fesm2022/toolbar.mjs +18 -23
  172. package/fesm2022/toolbar.mjs.map +1 -1
  173. package/fesm2022/tooltip/testing.mjs.map +1 -1
  174. package/fesm2022/tooltip.mjs +69 -75
  175. package/fesm2022/tooltip.mjs.map +1 -1
  176. package/fesm2022/tree/testing.mjs.map +1 -1
  177. package/fesm2022/tree.mjs +36 -69
  178. package/fesm2022/tree.mjs.map +1 -1
  179. package/form-field/_form-field-high-contrast.scss +4 -4
  180. package/form-field/_form-field-theme.scss +114 -61
  181. package/form-field/_mdc-text-field-structure.scss +57 -49
  182. package/form-field/index.d.ts +13 -25
  183. package/grid-list/_grid-list-theme.scss +25 -15
  184. package/grid-list/index.d.ts +6 -8
  185. package/icon/_icon-theme.scss +22 -14
  186. package/icon/index.d.ts +3 -3
  187. package/input/_input-theme.scss +18 -11
  188. package/input/index.d.ts +24 -9
  189. package/list/_list-inherited-structure.scss +1 -13
  190. package/list/_list-item-hcm-indicator.scss +1 -1
  191. package/list/_list-theme.scss +89 -47
  192. package/list/index.d.ts +10 -14
  193. package/menu/_menu-theme.scss +33 -21
  194. package/menu/index.d.ts +15 -50
  195. package/package.json +10 -146
  196. package/paginator/_paginator-theme.scss +39 -23
  197. package/prebuilt-themes/azure-blue.css +1 -1
  198. package/prebuilt-themes/cyan-orange.css +1 -1
  199. package/prebuilt-themes/deeppurple-amber.css +1 -1
  200. package/prebuilt-themes/indigo-pink.css +1 -1
  201. package/prebuilt-themes/magenta-violet.css +1 -1
  202. package/prebuilt-themes/pink-bluegrey.css +1 -1
  203. package/prebuilt-themes/purple-green.css +1 -1
  204. package/prebuilt-themes/rose-red.css +1 -1
  205. package/progress-bar/_progress-bar-theme.scss +20 -16
  206. package/progress-bar/index.d.ts +3 -5
  207. package/progress-spinner/_progress-spinner-theme.scss +41 -25
  208. package/progress-spinner/index.d.ts +2 -2
  209. package/radio/_radio-theme.scss +60 -32
  210. package/radio/index.d.ts +5 -8
  211. package/schematics/collection.json +3 -3
  212. package/schematics/ng-add/fonts/material-fonts.d.ts +1 -1
  213. package/schematics/ng-add/fonts/material-fonts.js +2 -2
  214. package/schematics/ng-add/fonts/material-fonts.mjs +2 -2
  215. package/schematics/ng-add/index.d.ts +1 -1
  216. package/schematics/ng-add/index.js +3 -3
  217. package/schematics/ng-add/index.mjs +3 -3
  218. package/schematics/ng-add/package-config.d.ts +1 -1
  219. package/schematics/ng-add/package-config.js +2 -2
  220. package/schematics/ng-add/package-config.mjs +2 -2
  221. package/schematics/ng-add/schema.d.ts +1 -1
  222. package/schematics/ng-add/schema.js +2 -2
  223. package/schematics/ng-add/schema.mjs +2 -2
  224. package/schematics/ng-add/setup-project.d.ts +1 -1
  225. package/schematics/ng-add/setup-project.js +3 -3
  226. package/schematics/ng-add/setup-project.mjs +3 -3
  227. package/schematics/ng-add/theming/create-custom-theme.d.ts +1 -1
  228. package/schematics/ng-add/theming/create-custom-theme.js +2 -7
  229. package/schematics/ng-add/theming/create-custom-theme.mjs +2 -7
  230. package/schematics/ng-add/theming/theming.d.ts +1 -1
  231. package/schematics/ng-add/theming/theming.js +2 -2
  232. package/schematics/ng-add/theming/theming.mjs +2 -2
  233. package/schematics/ng-generate/address-form/index.d.ts +1 -1
  234. package/schematics/ng-generate/address-form/index.js +2 -2
  235. package/schematics/ng-generate/address-form/index.mjs +2 -2
  236. package/schematics/ng-generate/address-form/schema.d.ts +1 -1
  237. package/schematics/ng-generate/address-form/schema.js +2 -2
  238. package/schematics/ng-generate/address-form/schema.mjs +2 -2
  239. package/schematics/ng-generate/dashboard/index.d.ts +1 -1
  240. package/schematics/ng-generate/dashboard/index.js +2 -2
  241. package/schematics/ng-generate/dashboard/index.mjs +2 -2
  242. package/schematics/ng-generate/dashboard/schema.d.ts +1 -1
  243. package/schematics/ng-generate/dashboard/schema.js +2 -2
  244. package/schematics/ng-generate/dashboard/schema.mjs +2 -2
  245. package/schematics/ng-generate/navigation/index.d.ts +1 -1
  246. package/schematics/ng-generate/navigation/index.js +2 -2
  247. package/schematics/ng-generate/navigation/index.mjs +2 -2
  248. package/schematics/ng-generate/navigation/schema.d.ts +1 -1
  249. package/schematics/ng-generate/navigation/schema.js +2 -2
  250. package/schematics/ng-generate/navigation/schema.mjs +2 -2
  251. package/schematics/ng-generate/table/index.d.ts +1 -1
  252. package/schematics/ng-generate/table/index.js +2 -2
  253. package/schematics/ng-generate/table/index.mjs +2 -2
  254. package/schematics/ng-generate/table/schema.d.ts +1 -1
  255. package/schematics/ng-generate/table/schema.js +2 -2
  256. package/schematics/ng-generate/table/schema.mjs +2 -2
  257. package/schematics/ng-generate/{m3-theme → theme-color}/index_bundled.js +481 -289
  258. package/schematics/ng-generate/theme-color/index_bundled.js.map +7 -0
  259. package/schematics/ng-generate/{m3-theme → theme-color}/schema.json +7 -13
  260. package/schematics/ng-generate/tree/index.d.ts +1 -1
  261. package/schematics/ng-generate/tree/index.js +2 -2
  262. package/schematics/ng-generate/tree/index.mjs +2 -2
  263. package/schematics/ng-generate/tree/schema.d.ts +1 -1
  264. package/schematics/ng-generate/tree/schema.js +2 -2
  265. package/schematics/ng-generate/tree/schema.mjs +2 -2
  266. package/schematics/ng-update/index_bundled.js +6545 -29
  267. package/schematics/ng-update/index_bundled.js.map +4 -4
  268. package/select/_select-theme.scss +38 -25
  269. package/select/index.d.ts +5 -15
  270. package/sidenav/_sidenav-theme.scss +28 -17
  271. package/sidenav/index.d.ts +7 -17
  272. package/slide-toggle/_slide-toggle-theme.scss +61 -35
  273. package/slide-toggle/index.d.ts +2 -2
  274. package/slider/_slider-theme.scss +62 -38
  275. package/slider/index.d.ts +8 -8
  276. package/snack-bar/_snack-bar-theme.scss +29 -17
  277. package/snack-bar/index.d.ts +6 -22
  278. package/sort/_sort-theme.scss +33 -21
  279. package/sort/index.d.ts +4 -20
  280. package/stepper/_stepper-theme.scss +40 -27
  281. package/stepper/index.d.ts +6 -13
  282. package/table/_table-theme.scss +36 -23
  283. package/tabs/_tabs-common.scss +13 -11
  284. package/tabs/_tabs-theme.scss +97 -50
  285. package/tabs/index.d.ts +28 -35
  286. package/timepicker/_timepicker-theme.scss +124 -0
  287. package/timepicker/index.d.ts +297 -0
  288. package/timepicker/testing/index.d.ts +113 -0
  289. package/toolbar/_toolbar-theme.scss +35 -22
  290. package/toolbar/index.d.ts +3 -4
  291. package/tooltip/_tooltip-theme.scss +18 -15
  292. package/tooltip/index.d.ts +5 -12
  293. package/tree/_tree-theme.scss +33 -21
  294. package/tree/index.d.ts +5 -18
  295. package/core/focus-indicators/_focus-indicators-theme.scss +0 -11
  296. package/core/focus-indicators/_focus-indicators.scss +0 -6
  297. package/esm2022/autocomplete/animations.mjs +0 -24
  298. package/esm2022/autocomplete/autocomplete-origin.mjs +0 -31
  299. package/esm2022/autocomplete/autocomplete-trigger.mjs +0 -902
  300. package/esm2022/autocomplete/autocomplete.mjs +0 -238
  301. package/esm2022/autocomplete/autocomplete_public_index.mjs +0 -5
  302. package/esm2022/autocomplete/index.mjs +0 -9
  303. package/esm2022/autocomplete/module.mjs +0 -61
  304. package/esm2022/autocomplete/public-api.mjs +0 -14
  305. package/esm2022/autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  306. package/esm2022/autocomplete/testing/autocomplete-harness.mjs +0 -105
  307. package/esm2022/autocomplete/testing/index.mjs +0 -9
  308. package/esm2022/autocomplete/testing/public-api.mjs +0 -10
  309. package/esm2022/badge/badge-module.mjs +0 -27
  310. package/esm2022/badge/badge.mjs +0 -301
  311. package/esm2022/badge/badge_public_index.mjs +0 -5
  312. package/esm2022/badge/index.mjs +0 -9
  313. package/esm2022/badge/public-api.mjs +0 -10
  314. package/esm2022/badge/testing/badge-harness-filters.mjs +0 -9
  315. package/esm2022/badge/testing/badge-harness.mjs +0 -71
  316. package/esm2022/badge/testing/index.mjs +0 -9
  317. package/esm2022/badge/testing/public-api.mjs +0 -10
  318. package/esm2022/bottom-sheet/bottom-sheet-animations.mjs +0 -26
  319. package/esm2022/bottom-sheet/bottom-sheet-config.mjs +0 -48
  320. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +0 -85
  321. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +0 -28
  322. package/esm2022/bottom-sheet/bottom-sheet-ref.mjs +0 -104
  323. package/esm2022/bottom-sheet/bottom-sheet.mjs +0 -115
  324. package/esm2022/bottom-sheet/bottom-sheet_public_index.mjs +0 -5
  325. package/esm2022/bottom-sheet/index.mjs +0 -9
  326. package/esm2022/bottom-sheet/public-api.mjs +0 -14
  327. package/esm2022/bottom-sheet/testing/bottom-sheet-harness-filters.mjs +0 -9
  328. package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +0 -35
  329. package/esm2022/bottom-sheet/testing/index.mjs +0 -9
  330. package/esm2022/bottom-sheet/testing/public-api.mjs +0 -10
  331. package/esm2022/button/button-base.mjs +0 -230
  332. package/esm2022/button/button.mjs +0 -67
  333. package/esm2022/button/button_public_index.mjs +0 -5
  334. package/esm2022/button/fab.mjs +0 -166
  335. package/esm2022/button/icon-button.mjs +0 -56
  336. package/esm2022/button/index.mjs +0 -9
  337. package/esm2022/button/module.mjs +0 -65
  338. package/esm2022/button/public-api.mjs +0 -13
  339. package/esm2022/button/testing/button-harness-filters.mjs +0 -9
  340. package/esm2022/button/testing/button-harness.mjs +0 -80
  341. package/esm2022/button/testing/index.mjs +0 -9
  342. package/esm2022/button/testing/public-api.mjs +0 -10
  343. package/esm2022/button-toggle/button-toggle-module.mjs +0 -24
  344. package/esm2022/button-toggle/button-toggle.mjs +0 -651
  345. package/esm2022/button-toggle/button-toggle_public_index.mjs +0 -5
  346. package/esm2022/button-toggle/index.mjs +0 -9
  347. package/esm2022/button-toggle/public-api.mjs +0 -10
  348. package/esm2022/button-toggle/testing/button-toggle-group-harness-filters.mjs +0 -9
  349. package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +0 -47
  350. package/esm2022/button-toggle/testing/button-toggle-harness-filters.mjs +0 -9
  351. package/esm2022/button-toggle/testing/button-toggle-harness.mjs +0 -105
  352. package/esm2022/button-toggle/testing/index.mjs +0 -9
  353. package/esm2022/button-toggle/testing/public-api.mjs +0 -12
  354. package/esm2022/card/card.mjs +0 -273
  355. package/esm2022/card/card_public_index.mjs +0 -5
  356. package/esm2022/card/index.mjs +0 -9
  357. package/esm2022/card/module.mjs +0 -67
  358. package/esm2022/card/public-api.mjs +0 -10
  359. package/esm2022/card/testing/card-harness-filters.mjs +0 -9
  360. package/esm2022/card/testing/card-harness.mjs +0 -50
  361. package/esm2022/card/testing/index.mjs +0 -9
  362. package/esm2022/card/testing/public-api.mjs +0 -10
  363. package/esm2022/checkbox/checkbox-config.mjs +0 -22
  364. package/esm2022/checkbox/checkbox-required-validator.mjs +0 -41
  365. package/esm2022/checkbox/checkbox.mjs +0 -443
  366. package/esm2022/checkbox/checkbox_public_index.mjs +0 -5
  367. package/esm2022/checkbox/index.mjs +0 -9
  368. package/esm2022/checkbox/module.mjs +0 -41
  369. package/esm2022/checkbox/public-api.mjs +0 -12
  370. package/esm2022/checkbox/testing/checkbox-harness-filters.mjs +0 -9
  371. package/esm2022/checkbox/testing/checkbox-harness.mjs +0 -138
  372. package/esm2022/checkbox/testing/index.mjs +0 -9
  373. package/esm2022/checkbox/testing/public-api.mjs +0 -9
  374. package/esm2022/chips/chip-action.mjs +0 -113
  375. package/esm2022/chips/chip-edit-input.mjs +0 -61
  376. package/esm2022/chips/chip-grid.mjs +0 -420
  377. package/esm2022/chips/chip-icons.mjs +0 -107
  378. package/esm2022/chips/chip-input.mjs +0 -192
  379. package/esm2022/chips/chip-listbox.mjs +0 -369
  380. package/esm2022/chips/chip-option.mjs +0 -190
  381. package/esm2022/chips/chip-row.mjs +0 -173
  382. package/esm2022/chips/chip-set.mjs +0 -283
  383. package/esm2022/chips/chip-text-control.mjs +0 -9
  384. package/esm2022/chips/chip.mjs +0 -322
  385. package/esm2022/chips/chips_public_index.mjs +0 -5
  386. package/esm2022/chips/index.mjs +0 -9
  387. package/esm2022/chips/module.mjs +0 -85
  388. package/esm2022/chips/public-api.mjs +0 -20
  389. package/esm2022/chips/testing/chip-avatar-harness.mjs +0 -22
  390. package/esm2022/chips/testing/chip-edit-input-harness.mjs +0 -33
  391. package/esm2022/chips/testing/chip-grid-harness.mjs +0 -45
  392. package/esm2022/chips/testing/chip-harness-filters.mjs +0 -9
  393. package/esm2022/chips/testing/chip-harness.mjs +0 -62
  394. package/esm2022/chips/testing/chip-input-harness.mjs +0 -85
  395. package/esm2022/chips/testing/chip-listbox-harness.mjs +0 -61
  396. package/esm2022/chips/testing/chip-option-harness.mjs +0 -45
  397. package/esm2022/chips/testing/chip-remove-harness.mjs +0 -26
  398. package/esm2022/chips/testing/chip-row-harness.mjs +0 -40
  399. package/esm2022/chips/testing/chip-set-harness.mjs +0 -26
  400. package/esm2022/chips/testing/index.mjs +0 -9
  401. package/esm2022/chips/testing/public-api.mjs +0 -19
  402. package/esm2022/chips/tokens.mjs +0 -39
  403. package/esm2022/core/animation/animation.mjs +0 -21
  404. package/esm2022/core/common-behaviors/color.mjs +0 -33
  405. package/esm2022/core/common-behaviors/common-module.mjs +0 -127
  406. package/esm2022/core/common-behaviors/constructor.mjs +0 -9
  407. package/esm2022/core/common-behaviors/disable-ripple.mjs +0 -24
  408. package/esm2022/core/common-behaviors/disabled.mjs +0 -23
  409. package/esm2022/core/common-behaviors/error-state.mjs +0 -66
  410. package/esm2022/core/common-behaviors/index.mjs +0 -15
  411. package/esm2022/core/common-behaviors/initialized.mjs +0 -62
  412. package/esm2022/core/common-behaviors/tabindex.mjs +0 -25
  413. package/esm2022/core/core_public_index.mjs +0 -5
  414. package/esm2022/core/datetime/date-adapter.mjs +0 -109
  415. package/esm2022/core/datetime/date-formats.mjs +0 -10
  416. package/esm2022/core/datetime/index.mjs +0 -46
  417. package/esm2022/core/datetime/native-date-adapter.mjs +0 -221
  418. package/esm2022/core/datetime/native-date-formats.mjs +0 -19
  419. package/esm2022/core/error/error-options.mjs +0 -33
  420. package/esm2022/core/index.mjs +0 -9
  421. package/esm2022/core/internal-form-field/internal-form-field.mjs +0 -29
  422. package/esm2022/core/line/line.mjs +0 -64
  423. package/esm2022/core/option/index.mjs +0 -30
  424. package/esm2022/core/option/optgroup.mjs +0 -71
  425. package/esm2022/core/option/option-parent.mjs +0 -13
  426. package/esm2022/core/option/option.mjs +0 -283
  427. package/esm2022/core/private/index.mjs +0 -9
  428. package/esm2022/core/private/ripple-loader.mjs +0 -160
  429. package/esm2022/core/public-api.mjs +0 -19
  430. package/esm2022/core/ripple/index.mjs +0 -27
  431. package/esm2022/core/ripple/ripple-event-manager.mjs +0 -69
  432. package/esm2022/core/ripple/ripple-ref.mjs +0 -39
  433. package/esm2022/core/ripple/ripple-renderer.mjs +0 -354
  434. package/esm2022/core/ripple/ripple.mjs +0 -156
  435. package/esm2022/core/selection/index.mjs +0 -10
  436. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +0 -24
  437. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +0 -62
  438. package/esm2022/core/testing/index.mjs +0 -9
  439. package/esm2022/core/testing/optgroup-harness-filters.mjs +0 -9
  440. package/esm2022/core/testing/optgroup-harness.mjs +0 -43
  441. package/esm2022/core/testing/option-harness-filters.mjs +0 -9
  442. package/esm2022/core/testing/option-harness.mjs +0 -53
  443. package/esm2022/core/testing/public-api.mjs +0 -12
  444. package/esm2022/core/version.mjs +0 -11
  445. package/esm2022/datepicker/aria-accessible-name.mjs +0 -159
  446. package/esm2022/datepicker/calendar-body.mjs +0 -509
  447. package/esm2022/datepicker/calendar.mjs +0 -426
  448. package/esm2022/datepicker/date-range-input-parts.mjs +0 -372
  449. package/esm2022/datepicker/date-range-input.mjs +0 -369
  450. package/esm2022/datepicker/date-range-picker.mjs +0 -51
  451. package/esm2022/datepicker/date-range-selection-strategy.mjs +0 -97
  452. package/esm2022/datepicker/date-selection-model.mjs +0 -188
  453. package/esm2022/datepicker/datepicker-actions.mjs +0 -91
  454. package/esm2022/datepicker/datepicker-animations.mjs +0 -35
  455. package/esm2022/datepicker/datepicker-base.mjs +0 -609
  456. package/esm2022/datepicker/datepicker-errors.mjs +0 -14
  457. package/esm2022/datepicker/datepicker-input-base.mjs +0 -311
  458. package/esm2022/datepicker/datepicker-input.mjs +0 -200
  459. package/esm2022/datepicker/datepicker-intl.mjs +0 -69
  460. package/esm2022/datepicker/datepicker-module.mjs +0 -138
  461. package/esm2022/datepicker/datepicker-toggle.mjs +0 -113
  462. package/esm2022/datepicker/datepicker.mjs +0 -38
  463. package/esm2022/datepicker/datepicker_public_index.mjs +0 -5
  464. package/esm2022/datepicker/index.mjs +0 -9
  465. package/esm2022/datepicker/month-view.mjs +0 -460
  466. package/esm2022/datepicker/multi-year-view.mjs +0 -330
  467. package/esm2022/datepicker/public-api.mjs +0 -27
  468. package/esm2022/datepicker/testing/calendar-cell-harness.mjs +0 -138
  469. package/esm2022/datepicker/testing/calendar-harness.mjs +0 -83
  470. package/esm2022/datepicker/testing/date-range-input-harness.mjs +0 -98
  471. package/esm2022/datepicker/testing/datepicker-harness-filters.mjs +0 -9
  472. package/esm2022/datepicker/testing/datepicker-input-harness-base.mjs +0 -81
  473. package/esm2022/datepicker/testing/datepicker-input-harness.mjs +0 -58
  474. package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +0 -41
  475. package/esm2022/datepicker/testing/datepicker-trigger-harness-base.mjs +0 -65
  476. package/esm2022/datepicker/testing/index.mjs +0 -9
  477. package/esm2022/datepicker/testing/public-api.mjs +0 -14
  478. package/esm2022/datepicker/year-view.mjs +0 -324
  479. package/esm2022/dialog/dialog-animations.mjs +0 -38
  480. package/esm2022/dialog/dialog-config.mjs +0 -59
  481. package/esm2022/dialog/dialog-container.mjs +0 -253
  482. package/esm2022/dialog/dialog-content-directives.mjs +0 -212
  483. package/esm2022/dialog/dialog-ref.mjs +0 -177
  484. package/esm2022/dialog/dialog.mjs +0 -212
  485. package/esm2022/dialog/dialog_public_index.mjs +0 -5
  486. package/esm2022/dialog/index.mjs +0 -9
  487. package/esm2022/dialog/module.mjs +0 -45
  488. package/esm2022/dialog/public-api.mjs +0 -15
  489. package/esm2022/dialog/testing/dialog-harness-filters.mjs +0 -9
  490. package/esm2022/dialog/testing/dialog-harness.mjs +0 -84
  491. package/esm2022/dialog/testing/dialog-opener.mjs +0 -58
  492. package/esm2022/dialog/testing/index.mjs +0 -10
  493. package/esm2022/dialog/testing/public-api.mjs +0 -10
  494. package/esm2022/divider/divider-module.mjs +0 -24
  495. package/esm2022/divider/divider.mjs +0 -48
  496. package/esm2022/divider/divider_public_index.mjs +0 -5
  497. package/esm2022/divider/index.mjs +0 -9
  498. package/esm2022/divider/public-api.mjs +0 -10
  499. package/esm2022/divider/testing/divider-harness-filters.mjs +0 -9
  500. package/esm2022/divider/testing/divider-harness.mjs +0 -22
  501. package/esm2022/divider/testing/index.mjs +0 -9
  502. package/esm2022/divider/testing/public-api.mjs +0 -10
  503. package/esm2022/expansion/accordion-base.mjs +0 -14
  504. package/esm2022/expansion/accordion.mjs +0 -96
  505. package/esm2022/expansion/expansion-animations.mjs +0 -51
  506. package/esm2022/expansion/expansion-module.mjs +0 -65
  507. package/esm2022/expansion/expansion-panel-base.mjs +0 -14
  508. package/esm2022/expansion/expansion-panel-content.mjs +0 -35
  509. package/esm2022/expansion/expansion-panel-header.mjs +0 -218
  510. package/esm2022/expansion/expansion-panel.mjs +0 -211
  511. package/esm2022/expansion/expansion_public_index.mjs +0 -5
  512. package/esm2022/expansion/index.mjs +0 -9
  513. package/esm2022/expansion/public-api.mjs +0 -16
  514. package/esm2022/expansion/testing/accordion-harness.mjs +0 -31
  515. package/esm2022/expansion/testing/expansion-harness-filters.mjs +0 -9
  516. package/esm2022/expansion/testing/expansion-harness.mjs +0 -128
  517. package/esm2022/expansion/testing/index.mjs +0 -9
  518. package/esm2022/expansion/testing/public-api.mjs +0 -11
  519. package/esm2022/form-field/directives/error.mjs +0 -48
  520. package/esm2022/form-field/directives/floating-label.mjs +0 -135
  521. package/esm2022/form-field/directives/hint.mjs +0 -40
  522. package/esm2022/form-field/directives/label.mjs +0 -22
  523. package/esm2022/form-field/directives/line-ripple.mjs +0 -60
  524. package/esm2022/form-field/directives/notched-outline.mjs +0 -66
  525. package/esm2022/form-field/directives/prefix.mjs +0 -38
  526. package/esm2022/form-field/directives/suffix.mjs +0 -38
  527. package/esm2022/form-field/form-field-animations.mjs +0 -24
  528. package/esm2022/form-field/form-field-control.mjs +0 -11
  529. package/esm2022/form-field/form-field-errors.mjs +0 -20
  530. package/esm2022/form-field/form-field.mjs +0 -620
  531. package/esm2022/form-field/form-field_public_index.mjs +0 -5
  532. package/esm2022/form-field/index.mjs +0 -9
  533. package/esm2022/form-field/module.mjs +0 -51
  534. package/esm2022/form-field/public-api.mjs +0 -18
  535. package/esm2022/form-field/testing/control/form-field-control-harness.mjs +0 -15
  536. package/esm2022/form-field/testing/control/index.mjs +0 -9
  537. package/esm2022/form-field/testing/error-harness.mjs +0 -29
  538. package/esm2022/form-field/testing/form-field-harness-filters.mjs +0 -9
  539. package/esm2022/form-field/testing/form-field-harness.mjs +0 -179
  540. package/esm2022/form-field/testing/index.mjs +0 -9
  541. package/esm2022/form-field/testing/public-api.mjs +0 -15
  542. package/esm2022/grid-list/grid-list-base.mjs +0 -14
  543. package/esm2022/grid-list/grid-list-module.mjs +0 -59
  544. package/esm2022/grid-list/grid-list.mjs +0 -146
  545. package/esm2022/grid-list/grid-list_public_index.mjs +0 -5
  546. package/esm2022/grid-list/grid-tile.mjs +0 -128
  547. package/esm2022/grid-list/index.mjs +0 -9
  548. package/esm2022/grid-list/public-api.mjs +0 -14
  549. package/esm2022/grid-list/testing/grid-list-harness-filters.mjs +0 -9
  550. package/esm2022/grid-list/testing/grid-list-harness.mjs +0 -76
  551. package/esm2022/grid-list/testing/grid-tile-harness.mjs +0 -71
  552. package/esm2022/grid-list/testing/index.mjs +0 -9
  553. package/esm2022/grid-list/testing/public-api.mjs +0 -11
  554. package/esm2022/grid-list/tile-coordinator.mjs +0 -145
  555. package/esm2022/grid-list/tile-styler.mjs +0 -231
  556. package/esm2022/icon/fake-svgs.mjs +0 -62
  557. package/esm2022/icon/icon-module.mjs +0 -24
  558. package/esm2022/icon/icon-registry.mjs +0 -593
  559. package/esm2022/icon/icon.mjs +0 -379
  560. package/esm2022/icon/icon_public_index.mjs +0 -5
  561. package/esm2022/icon/index.mjs +0 -9
  562. package/esm2022/icon/public-api.mjs +0 -11
  563. package/esm2022/icon/testing/fake-icon-registry.mjs +0 -92
  564. package/esm2022/icon/testing/icon-harness-filters.mjs +0 -14
  565. package/esm2022/icon/testing/icon-harness.mjs +0 -60
  566. package/esm2022/icon/testing/index.mjs +0 -9
  567. package/esm2022/icon/testing/public-api.mjs +0 -11
  568. package/esm2022/icon/testing/testing_public_index.mjs +0 -5
  569. package/esm2022/icon/trusted-types.mjs +0 -43
  570. package/esm2022/index.mjs +0 -14
  571. package/esm2022/input/index.mjs +0 -9
  572. package/esm2022/input/input-errors.mjs +0 -12
  573. package/esm2022/input/input-value-accessor.mjs +0 -16
  574. package/esm2022/input/input.mjs +0 -490
  575. package/esm2022/input/input_public_index.mjs +0 -5
  576. package/esm2022/input/module.mjs +0 -26
  577. package/esm2022/input/public-api.mjs +0 -14
  578. package/esm2022/input/testing/index.mjs +0 -9
  579. package/esm2022/input/testing/input-harness-filters.mjs +0 -9
  580. package/esm2022/input/testing/input-harness.mjs +0 -113
  581. package/esm2022/input/testing/native-option-harness.mjs +0 -42
  582. package/esm2022/input/testing/native-select-harness-filters.mjs +0 -9
  583. package/esm2022/input/testing/native-select-harness.mjs +0 -79
  584. package/esm2022/input/testing/public-api.mjs +0 -13
  585. package/esm2022/list/action-list.mjs +0 -31
  586. package/esm2022/list/index.mjs +0 -9
  587. package/esm2022/list/list-base.mjs +0 -284
  588. package/esm2022/list/list-item-sections.mjs +0 -144
  589. package/esm2022/list/list-module.mjs +0 -97
  590. package/esm2022/list/list-option-types.mjs +0 -16
  591. package/esm2022/list/list-option.mjs +0 -295
  592. package/esm2022/list/list.mjs +0 -103
  593. package/esm2022/list/list_public_index.mjs +0 -5
  594. package/esm2022/list/nav-list.mjs +0 -37
  595. package/esm2022/list/public-api.mjs +0 -18
  596. package/esm2022/list/selection-list.mjs +0 -391
  597. package/esm2022/list/subheader.mjs +0 -28
  598. package/esm2022/list/testing/action-list-harness.mjs +0 -59
  599. package/esm2022/list/testing/index.mjs +0 -9
  600. package/esm2022/list/testing/list-harness-base.mjs +0 -95
  601. package/esm2022/list/testing/list-harness-filters.mjs +0 -9
  602. package/esm2022/list/testing/list-harness.mjs +0 -41
  603. package/esm2022/list/testing/list-item-harness-base.mjs +0 -162
  604. package/esm2022/list/testing/nav-list-harness.mjs +0 -69
  605. package/esm2022/list/testing/public-api.mjs +0 -14
  606. package/esm2022/list/testing/selection-list-harness.mjs +0 -122
  607. package/esm2022/list/tokens.mjs +0 -11
  608. package/esm2022/menu/index.mjs +0 -9
  609. package/esm2022/menu/menu-animations.mjs +0 -61
  610. package/esm2022/menu/menu-content.mjs +0 -87
  611. package/esm2022/menu/menu-errors.mjs +0 -35
  612. package/esm2022/menu/menu-item.mjs +0 -148
  613. package/esm2022/menu/menu-panel.mjs +0 -14
  614. package/esm2022/menu/menu-positions.mjs +0 -9
  615. package/esm2022/menu/menu-trigger.mjs +0 -542
  616. package/esm2022/menu/menu.mjs +0 -405
  617. package/esm2022/menu/menu_public_index.mjs +0 -5
  618. package/esm2022/menu/module.mjs +0 -63
  619. package/esm2022/menu/public-api.mjs +0 -16
  620. package/esm2022/menu/testing/index.mjs +0 -9
  621. package/esm2022/menu/testing/menu-harness-filters.mjs +0 -9
  622. package/esm2022/menu/testing/menu-harness.mjs +0 -166
  623. package/esm2022/menu/testing/public-api.mjs +0 -10
  624. package/esm2022/paginator/index.mjs +0 -9
  625. package/esm2022/paginator/module.mjs +0 -28
  626. package/esm2022/paginator/paginator-intl.mjs +0 -62
  627. package/esm2022/paginator/paginator.mjs +0 -266
  628. package/esm2022/paginator/paginator_public_index.mjs +0 -5
  629. package/esm2022/paginator/public-api.mjs +0 -11
  630. package/esm2022/paginator/testing/index.mjs +0 -9
  631. package/esm2022/paginator/testing/paginator-harness-filters.mjs +0 -9
  632. package/esm2022/paginator/testing/paginator-harness.mjs +0 -98
  633. package/esm2022/paginator/testing/public-api.mjs +0 -10
  634. package/esm2022/progress-bar/index.mjs +0 -9
  635. package/esm2022/progress-bar/module.mjs +0 -24
  636. package/esm2022/progress-bar/progress-bar.mjs +0 -181
  637. package/esm2022/progress-bar/progress-bar_public_index.mjs +0 -5
  638. package/esm2022/progress-bar/public-api.mjs +0 -10
  639. package/esm2022/progress-bar/testing/index.mjs +0 -9
  640. package/esm2022/progress-bar/testing/progress-bar-harness-filters.mjs +0 -9
  641. package/esm2022/progress-bar/testing/progress-bar-harness.mjs +0 -33
  642. package/esm2022/progress-bar/testing/public-api.mjs +0 -10
  643. package/esm2022/progress-bar/testing/testing_public_index.mjs +0 -5
  644. package/esm2022/progress-spinner/index.mjs +0 -9
  645. package/esm2022/progress-spinner/module.mjs +0 -25
  646. package/esm2022/progress-spinner/progress-spinner.mjs +0 -166
  647. package/esm2022/progress-spinner/progress-spinner_public_index.mjs +0 -5
  648. package/esm2022/progress-spinner/public-api.mjs +0 -10
  649. package/esm2022/progress-spinner/testing/index.mjs +0 -9
  650. package/esm2022/progress-spinner/testing/progress-spinner-harness-filters.mjs +0 -9
  651. package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  652. package/esm2022/progress-spinner/testing/public-api.mjs +0 -10
  653. package/esm2022/progress-spinner/testing/testing_public_index.mjs +0 -5
  654. package/esm2022/radio/index.mjs +0 -9
  655. package/esm2022/radio/module.mjs +0 -25
  656. package/esm2022/radio/public-api.mjs +0 -10
  657. package/esm2022/radio/radio.mjs +0 -680
  658. package/esm2022/radio/radio_public_index.mjs +0 -5
  659. package/esm2022/radio/testing/index.mjs +0 -9
  660. package/esm2022/radio/testing/public-api.mjs +0 -10
  661. package/esm2022/radio/testing/radio-harness-filters.mjs +0 -9
  662. package/esm2022/radio/testing/radio-harness.mjs +0 -228
  663. package/esm2022/select/index.mjs +0 -9
  664. package/esm2022/select/module.mjs +0 -59
  665. package/esm2022/select/public-api.mjs +0 -15
  666. package/esm2022/select/select-animations.mjs +0 -38
  667. package/esm2022/select/select-errors.mjs +0 -35
  668. package/esm2022/select/select.mjs +0 -1160
  669. package/esm2022/select/select_public_index.mjs +0 -5
  670. package/esm2022/select/testing/index.mjs +0 -9
  671. package/esm2022/select/testing/public-api.mjs +0 -10
  672. package/esm2022/select/testing/select-harness-filters.mjs +0 -9
  673. package/esm2022/select/testing/select-harness.mjs +0 -129
  674. package/esm2022/sidenav/drawer-animations.mjs +0 -33
  675. package/esm2022/sidenav/drawer.mjs +0 -863
  676. package/esm2022/sidenav/index.mjs +0 -9
  677. package/esm2022/sidenav/public-api.mjs +0 -12
  678. package/esm2022/sidenav/sidenav-module.mjs +0 -60
  679. package/esm2022/sidenav/sidenav.mjs +0 -148
  680. package/esm2022/sidenav/sidenav_public_index.mjs +0 -5
  681. package/esm2022/sidenav/testing/drawer-container-harness.mjs +0 -36
  682. package/esm2022/sidenav/testing/drawer-content-harness.mjs +0 -23
  683. package/esm2022/sidenav/testing/drawer-harness-filters.mjs +0 -9
  684. package/esm2022/sidenav/testing/drawer-harness.mjs +0 -49
  685. package/esm2022/sidenav/testing/index.mjs +0 -9
  686. package/esm2022/sidenav/testing/public-api.mjs +0 -15
  687. package/esm2022/sidenav/testing/sidenav-container-harness.mjs +0 -36
  688. package/esm2022/sidenav/testing/sidenav-content-harness.mjs +0 -23
  689. package/esm2022/sidenav/testing/sidenav-harness.mjs +0 -28
  690. package/esm2022/slide-toggle/index.mjs +0 -9
  691. package/esm2022/slide-toggle/module.mjs +0 -41
  692. package/esm2022/slide-toggle/public-api.mjs +0 -12
  693. package/esm2022/slide-toggle/slide-toggle-config.mjs +0 -14
  694. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +0 -44
  695. package/esm2022/slide-toggle/slide-toggle.mjs +0 -273
  696. package/esm2022/slide-toggle/slide-toggle_public_index.mjs +0 -5
  697. package/esm2022/slide-toggle/testing/index.mjs +0 -9
  698. package/esm2022/slide-toggle/testing/public-api.mjs +0 -10
  699. package/esm2022/slide-toggle/testing/slide-toggle-harness-filters.mjs +0 -9
  700. package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +0 -110
  701. package/esm2022/slider/index.mjs +0 -9
  702. package/esm2022/slider/module.mjs +0 -39
  703. package/esm2022/slider/public-api.mjs +0 -13
  704. package/esm2022/slider/slider-input.mjs +0 -701
  705. package/esm2022/slider/slider-interface.mjs +0 -56
  706. package/esm2022/slider/slider-thumb.mjs +0 -231
  707. package/esm2022/slider/slider.mjs +0 -746
  708. package/esm2022/slider/slider_public_index.mjs +0 -5
  709. package/esm2022/slider/testing/index.mjs +0 -9
  710. package/esm2022/slider/testing/public-api.mjs +0 -11
  711. package/esm2022/slider/testing/slider-harness-filters.mjs +0 -7
  712. package/esm2022/slider/testing/slider-harness.mjs +0 -67
  713. package/esm2022/slider/testing/slider-thumb-harness.mjs +0 -95
  714. package/esm2022/snack-bar/index.mjs +0 -9
  715. package/esm2022/snack-bar/module.mjs +0 -47
  716. package/esm2022/snack-bar/public-api.mjs +0 -16
  717. package/esm2022/snack-bar/simple-snack-bar.mjs +0 -40
  718. package/esm2022/snack-bar/snack-bar-animations.mjs +0 -30
  719. package/esm2022/snack-bar/snack-bar-config.mjs +0 -33
  720. package/esm2022/snack-bar/snack-bar-container.mjs +0 -277
  721. package/esm2022/snack-bar/snack-bar-content.mjs +0 -55
  722. package/esm2022/snack-bar/snack-bar-ref.mjs +0 -89
  723. package/esm2022/snack-bar/snack-bar.mjs +0 -267
  724. package/esm2022/snack-bar/snack-bar_public_index.mjs +0 -5
  725. package/esm2022/snack-bar/testing/index.mjs +0 -9
  726. package/esm2022/snack-bar/testing/public-api.mjs +0 -10
  727. package/esm2022/snack-bar/testing/snack-bar-harness-filters.mjs +0 -9
  728. package/esm2022/snack-bar/testing/snack-bar-harness.mjs +0 -101
  729. package/esm2022/sort/index.mjs +0 -9
  730. package/esm2022/sort/public-api.mjs +0 -14
  731. package/esm2022/sort/sort-animations.mjs +0 -69
  732. package/esm2022/sort/sort-direction.mjs +0 -9
  733. package/esm2022/sort/sort-errors.mjs +0 -24
  734. package/esm2022/sort/sort-header-intl.mjs +0 -41
  735. package/esm2022/sort/sort-header.mjs +0 -317
  736. package/esm2022/sort/sort-module.mjs +0 -27
  737. package/esm2022/sort/sort.mjs +0 -155
  738. package/esm2022/sort/sort_public_index.mjs +0 -5
  739. package/esm2022/sort/testing/index.mjs +0 -9
  740. package/esm2022/sort/testing/public-api.mjs +0 -11
  741. package/esm2022/sort/testing/sort-harness-filters.mjs +0 -2
  742. package/esm2022/sort/testing/sort-harness.mjs +0 -36
  743. package/esm2022/sort/testing/sort-header-harness.mjs +0 -56
  744. package/esm2022/stepper/index.mjs +0 -9
  745. package/esm2022/stepper/public-api.mjs +0 -17
  746. package/esm2022/stepper/step-content.mjs +0 -27
  747. package/esm2022/stepper/step-header.mjs +0 -105
  748. package/esm2022/stepper/step-label.mjs +0 -22
  749. package/esm2022/stepper/stepper-animations.mjs +0 -47
  750. package/esm2022/stepper/stepper-button.mjs +0 -43
  751. package/esm2022/stepper/stepper-icon.mjs +0 -30
  752. package/esm2022/stepper/stepper-intl.mjs +0 -43
  753. package/esm2022/stepper/stepper-module.mjs +0 -88
  754. package/esm2022/stepper/stepper.mjs +0 -205
  755. package/esm2022/stepper/stepper_public_index.mjs +0 -5
  756. package/esm2022/stepper/testing/index.mjs +0 -9
  757. package/esm2022/stepper/testing/public-api.mjs +0 -12
  758. package/esm2022/stepper/testing/step-harness-filters.mjs +0 -7
  759. package/esm2022/stepper/testing/step-harness.mjs +0 -90
  760. package/esm2022/stepper/testing/stepper-button-harnesses.mjs +0 -48
  761. package/esm2022/stepper/testing/stepper-harness.mjs +0 -51
  762. package/esm2022/table/cell.mjs +0 -147
  763. package/esm2022/table/index.mjs +0 -9
  764. package/esm2022/table/module.mjs +0 -93
  765. package/esm2022/table/public-api.mjs +0 -14
  766. package/esm2022/table/row.mjs +0 -163
  767. package/esm2022/table/table-data-source.mjs +0 -317
  768. package/esm2022/table/table.mjs +0 -122
  769. package/esm2022/table/table_public_index.mjs +0 -5
  770. package/esm2022/table/testing/cell-harness.mjs +0 -77
  771. package/esm2022/table/testing/index.mjs +0 -9
  772. package/esm2022/table/testing/public-api.mjs +0 -12
  773. package/esm2022/table/testing/row-harness.mjs +0 -84
  774. package/esm2022/table/testing/table-harness-filters.mjs +0 -2
  775. package/esm2022/table/testing/table-harness.mjs +0 -86
  776. package/esm2022/table/text-column.mjs +0 -60
  777. package/esm2022/tabs/index.mjs +0 -9
  778. package/esm2022/tabs/ink-bar.mjs +0 -149
  779. package/esm2022/tabs/module.mjs +0 -60
  780. package/esm2022/tabs/paginated-tab-header.mjs +0 -539
  781. package/esm2022/tabs/public-api.mjs +0 -21
  782. package/esm2022/tabs/tab-body.mjs +0 -199
  783. package/esm2022/tabs/tab-config.mjs +0 -11
  784. package/esm2022/tabs/tab-content.mjs +0 -32
  785. package/esm2022/tabs/tab-group.mjs +0 -469
  786. package/esm2022/tabs/tab-header.mjs +0 -86
  787. package/esm2022/tabs/tab-label-wrapper.mjs +0 -49
  788. package/esm2022/tabs/tab-label.mjs +0 -44
  789. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +0 -388
  790. package/esm2022/tabs/tab.mjs +0 -128
  791. package/esm2022/tabs/tabs-animations.mjs +0 -45
  792. package/esm2022/tabs/tabs_public_index.mjs +0 -5
  793. package/esm2022/tabs/testing/index.mjs +0 -9
  794. package/esm2022/tabs/testing/public-api.mjs +0 -13
  795. package/esm2022/tabs/testing/tab-group-harness.mjs +0 -56
  796. package/esm2022/tabs/testing/tab-harness-filters.mjs +0 -2
  797. package/esm2022/tabs/testing/tab-harness.mjs +0 -66
  798. package/esm2022/tabs/testing/tab-link-harness.mjs +0 -40
  799. package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +0 -66
  800. package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +0 -27
  801. package/esm2022/toolbar/index.mjs +0 -9
  802. package/esm2022/toolbar/public-api.mjs +0 -10
  803. package/esm2022/toolbar/testing/index.mjs +0 -9
  804. package/esm2022/toolbar/testing/public-api.mjs +0 -10
  805. package/esm2022/toolbar/testing/toolbar-harness-filters.mjs +0 -9
  806. package/esm2022/toolbar/testing/toolbar-harness.mjs +0 -44
  807. package/esm2022/toolbar/toolbar-module.mjs +0 -24
  808. package/esm2022/toolbar/toolbar.mjs +0 -84
  809. package/esm2022/toolbar/toolbar_public_index.mjs +0 -5
  810. package/esm2022/tooltip/index.mjs +0 -9
  811. package/esm2022/tooltip/module.mjs +0 -29
  812. package/esm2022/tooltip/public-api.mjs +0 -11
  813. package/esm2022/tooltip/testing/index.mjs +0 -9
  814. package/esm2022/tooltip/testing/public-api.mjs +0 -10
  815. package/esm2022/tooltip/testing/tooltip-harness-filters.mjs +0 -9
  816. package/esm2022/tooltip/testing/tooltip-harness.mjs +0 -66
  817. package/esm2022/tooltip/tooltip-animations.mjs +0 -24
  818. package/esm2022/tooltip/tooltip.mjs +0 -920
  819. package/esm2022/tooltip/tooltip_public_index.mjs +0 -5
  820. package/esm2022/tree/data-source/flat-data-source.mjs +0 -156
  821. package/esm2022/tree/data-source/nested-data-source.mjs +0 -38
  822. package/esm2022/tree/index.mjs +0 -9
  823. package/esm2022/tree/node.mjs +0 -220
  824. package/esm2022/tree/outlet.mjs +0 -46
  825. package/esm2022/tree/padding.mjs +0 -46
  826. package/esm2022/tree/public-api.mjs +0 -16
  827. package/esm2022/tree/testing/index.mjs +0 -9
  828. package/esm2022/tree/testing/node-harness.mjs +0 -73
  829. package/esm2022/tree/testing/public-api.mjs +0 -11
  830. package/esm2022/tree/testing/tree-harness-filters.mjs +0 -9
  831. package/esm2022/tree/testing/tree-harness.mjs +0 -123
  832. package/esm2022/tree/toggle.mjs +0 -27
  833. package/esm2022/tree/tree-module.mjs +0 -50
  834. package/esm2022/tree/tree.mjs +0 -34
  835. package/esm2022/tree/tree_public_index.mjs +0 -5
  836. package/schematics/ng-generate/m3-theme/index_bundled.js.map +0 -7
@@ -11,14 +11,17 @@
11
11
  @mixin base($theme) {
12
12
  @if inspection.get-theme-version($theme) == 1 {
13
13
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
14
- }
15
- @else {
14
+ } @else {
16
15
  // Add default values for tokens not related to color, typography, or density.
17
16
  @include sass-utils.current-selector-or-root() {
18
17
  @include token-utils.create-token-values(
19
- tokens-mdc-dialog.$prefix, tokens-mdc-dialog.get-unthemable-tokens());
18
+ tokens-mdc-dialog.$prefix,
19
+ tokens-mdc-dialog.get-unthemable-tokens()
20
+ );
20
21
  @include token-utils.create-token-values(
21
- tokens-mat-dialog.$prefix, tokens-mat-dialog.get-unthemable-tokens());
22
+ tokens-mat-dialog.$prefix,
23
+ tokens-mat-dialog.get-unthemable-tokens()
24
+ );
22
25
  }
23
26
  }
24
27
  }
@@ -26,13 +29,16 @@
26
29
  @mixin color($theme) {
27
30
  @if inspection.get-theme-version($theme) == 1 {
28
31
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
29
- }
30
- @else {
32
+ } @else {
31
33
  @include sass-utils.current-selector-or-root() {
32
34
  @include token-utils.create-token-values(
33
- tokens-mdc-dialog.$prefix, tokens-mdc-dialog.get-color-tokens($theme));
35
+ tokens-mdc-dialog.$prefix,
36
+ tokens-mdc-dialog.get-color-tokens($theme)
37
+ );
34
38
  @include token-utils.create-token-values(
35
- tokens-mat-dialog.$prefix, tokens-mat-dialog.get-color-tokens($theme));
39
+ tokens-mat-dialog.$prefix,
40
+ tokens-mat-dialog.get-color-tokens($theme)
41
+ );
36
42
  }
37
43
  }
38
44
  }
@@ -40,13 +46,16 @@
40
46
  @mixin typography($theme) {
41
47
  @if inspection.get-theme-version($theme) == 1 {
42
48
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
43
- }
44
- @else {
49
+ } @else {
45
50
  @include sass-utils.current-selector-or-root() {
46
51
  @include token-utils.create-token-values(
47
- tokens-mdc-dialog.$prefix, tokens-mdc-dialog.get-typography-tokens($theme));
52
+ tokens-mdc-dialog.$prefix,
53
+ tokens-mdc-dialog.get-typography-tokens($theme)
54
+ );
48
55
  @include token-utils.create-token-values(
49
- tokens-mat-dialog.$prefix, tokens-mat-dialog.get-typography-tokens($theme));
56
+ tokens-mat-dialog.$prefix,
57
+ tokens-mat-dialog.get-typography-tokens($theme)
58
+ );
50
59
  }
51
60
  }
52
61
  }
@@ -54,24 +63,33 @@
54
63
  @mixin density($theme) {
55
64
  @if inspection.get-theme-version($theme) == 1 {
56
65
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
66
+ } @else {
57
67
  }
58
- @else {}
59
68
  }
60
69
 
61
- @mixin overrides($tokens: ()) {
62
- @include token-utils.batch-create-token-values(
63
- $tokens,
64
- (prefix: tokens-mdc-dialog.$prefix, tokens: tokens-mdc-dialog.get-token-slots()),
65
- (prefix: tokens-mat-dialog.$prefix, tokens: tokens-mat-dialog.get-token-slots()),
70
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
71
+ @function _define-overrides() {
72
+ @return (
73
+ (
74
+ namespace: tokens-mdc-dialog.$prefix,
75
+ tokens: tokens-mdc-dialog.get-token-slots(),
76
+ ),
77
+ (
78
+ namespace: tokens-mat-dialog.$prefix,
79
+ tokens: tokens-mat-dialog.get-token-slots(),
80
+ ),
66
81
  );
67
82
  }
68
83
 
84
+ @mixin overrides($tokens: ()) {
85
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
86
+ }
87
+
69
88
  @mixin theme($theme) {
70
89
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-dialog') {
71
90
  @if inspection.get-theme-version($theme) == 1 {
72
91
  @include _theme-from-tokens(inspection.get-theme-tokens($theme));
73
- }
74
- @else {
92
+ } @else {
75
93
  @include base($theme);
76
94
  @if inspection.theme-has($theme, color) {
77
95
  @include color($theme);
@@ -88,11 +106,16 @@
88
106
 
89
107
  @mixin _theme-from-tokens($tokens) {
90
108
  @include validation.selector-defined(
91
- 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
109
+ 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector'
110
+ );
92
111
  @if ($tokens != ()) {
93
112
  @include token-utils.create-token-values(
94
- tokens-mdc-dialog.$prefix, map.get($tokens, tokens-mdc-dialog.$prefix));
113
+ tokens-mdc-dialog.$prefix,
114
+ map.get($tokens, tokens-mdc-dialog.$prefix)
115
+ );
95
116
  @include token-utils.create-token-values(
96
- tokens-mat-dialog.$prefix, map.get($tokens, tokens-mat-dialog.$prefix));
117
+ tokens-mat-dialog.$prefix,
118
+ map.get($tokens, tokens-mat-dialog.$prefix)
119
+ );
97
120
  }
98
121
  }
package/dialog/index.d.ts CHANGED
@@ -1,17 +1,13 @@
1
1
  import { AnimationTriggerMetadata } from '@angular/animations';
2
2
  import { CdkDialogContainer } from '@angular/cdk/dialog';
3
- import { ComponentFactoryResolver } from '@angular/core';
4
3
  import { ComponentPortal } from '@angular/cdk/portal';
5
4
  import { ComponentRef } from '@angular/core';
6
5
  import { ComponentType } from '@angular/cdk/overlay';
7
6
  import { Dialog } from '@angular/cdk/dialog';
8
7
  import { DialogRef } from '@angular/cdk/dialog';
9
8
  import { Direction } from '@angular/cdk/bidi';
10
- import { ElementRef } from '@angular/core';
11
9
  import { EventEmitter } from '@angular/core';
12
- import { FocusMonitor } from '@angular/cdk/a11y';
13
10
  import { FocusOrigin } from '@angular/cdk/a11y';
14
- import { FocusTrapFactory } from '@angular/cdk/a11y';
15
11
  import * as i0 from '@angular/core';
16
12
  import * as i1 from '@angular/cdk/scrolling';
17
13
  import * as i1_2 from '@angular/cdk/dialog';
@@ -20,16 +16,11 @@ import * as i3 from '@angular/cdk/portal';
20
16
  import * as i4 from '@angular/material/core';
21
17
  import { InjectionToken } from '@angular/core';
22
18
  import { Injector } from '@angular/core';
23
- import { InteractivityChecker } from '@angular/cdk/a11y';
24
- import { Location as Location_2 } from '@angular/common';
25
- import { NgZone } from '@angular/core';
26
19
  import { Observable } from 'rxjs';
27
20
  import { OnChanges } from '@angular/core';
28
21
  import { OnDestroy } from '@angular/core';
29
22
  import { OnInit } from '@angular/core';
30
23
  import { Overlay } from '@angular/cdk/overlay';
31
- import { OverlayContainer } from '@angular/cdk/overlay';
32
- import { OverlayRef } from '@angular/cdk/overlay';
33
24
  import { ScrollStrategy } from '@angular/cdk/overlay';
34
25
  import { SimpleChanges } from '@angular/core';
35
26
  import { Subject } from 'rxjs';
@@ -134,10 +125,10 @@ export declare class MatDialog implements OnDestroy {
134
125
  private _defaultOptions;
135
126
  private _scrollStrategy;
136
127
  private _parentDialog;
128
+ protected _dialog: Dialog;
137
129
  private readonly _openDialogsAtThisLevel;
138
130
  private readonly _afterAllClosedAtThisLevel;
139
131
  private readonly _afterOpenedAtThisLevel;
140
- protected _dialog: Dialog;
141
132
  protected dialogConfigClass: typeof MatDialogConfig;
142
133
  private readonly _dialogRefConstructor;
143
134
  private readonly _dialogContainerType;
@@ -152,22 +143,7 @@ export declare class MatDialog implements OnDestroy {
152
143
  * Will emit on subscribe if there are no open dialogs to begin with.
153
144
  */
154
145
  readonly afterAllClosed: Observable<void>;
155
- constructor(_overlay: Overlay, injector: Injector,
156
- /**
157
- * @deprecated `_location` parameter to be removed.
158
- * @breaking-change 10.0.0
159
- */
160
- location: Location_2, _defaultOptions: MatDialogConfig, _scrollStrategy: any, _parentDialog: MatDialog,
161
- /**
162
- * @deprecated No longer used. To be removed.
163
- * @breaking-change 15.0.0
164
- */
165
- _overlayContainer: OverlayContainer,
166
- /**
167
- * @deprecated No longer used. To be removed.
168
- * @breaking-change 14.0.0
169
- */
170
- _animationMode?: 'NoopAnimations' | 'BrowserAnimations');
146
+ constructor(...args: unknown[]);
171
147
  /**
172
148
  * Opens a modal dialog containing the given component.
173
149
  * @param component Type of the component to load into the dialog.
@@ -194,7 +170,7 @@ export declare class MatDialog implements OnDestroy {
194
170
  getDialogById(id: string): MatDialogRef<any> | undefined;
195
171
  ngOnDestroy(): void;
196
172
  private _closeDialogs;
197
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, [null, null, { optional: true; }, { optional: true; }, null, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
173
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, never>;
198
174
  static ɵprov: i0.ɵɵInjectableDeclaration<MatDialog>;
199
175
  }
200
176
 
@@ -225,7 +201,7 @@ export declare const matDialogAnimations: {
225
201
  * Button that will close the current dialog.
226
202
  */
227
203
  export declare class MatDialogClose implements OnInit, OnChanges {
228
- dialogRef: MatDialogRef<any>;
204
+ dialogRef: MatDialogRef<any, any>;
229
205
  private _elementRef;
230
206
  private _dialog;
231
207
  /** Screen-reader label for the button. */
@@ -235,11 +211,11 @@ export declare class MatDialogClose implements OnInit, OnChanges {
235
211
  /** Dialog close input. */
236
212
  dialogResult: any;
237
213
  _matDialogClose: any;
238
- constructor(dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
214
+ constructor(...args: unknown[]);
239
215
  ngOnInit(): void;
240
216
  ngOnChanges(changes: SimpleChanges): void;
241
217
  _onButtonClick(event: MouseEvent): void;
242
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, [{ optional: true; }, null, null]>;
218
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, never>;
243
219
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogClose, "[mat-dialog-close], [matDialogClose]", ["matDialogClose"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dialogResult": { "alias": "mat-dialog-close"; "required": false; }; "_matDialogClose": { "alias": "matDialogClose"; "required": false; }; }, {}, never, never, true, never>;
244
220
  }
245
221
 
@@ -318,8 +294,12 @@ export declare class MatDialogConfig<D = any> {
318
294
  * the `HashLocationStrategy`).
319
295
  */
320
296
  closeOnNavigation?: boolean;
321
- /** Alternate `ComponentFactoryResolver` to use when resolving the associated component. */
322
- componentFactoryResolver?: ComponentFactoryResolver;
297
+ /**
298
+ * Alternate `ComponentFactoryResolver` to use when resolving the associated component.
299
+ * @deprecated No longer used. Will be removed.
300
+ * @breaking-change 20.0.0
301
+ */
302
+ componentFactoryResolver?: unknown;
323
303
  /**
324
304
  * Duration of the enter animation in ms.
325
305
  * Should be a number, string type is deprecated.
@@ -335,7 +315,7 @@ export declare class MatDialogConfig<D = any> {
335
315
  }
336
316
 
337
317
  export declare class MatDialogContainer extends CdkDialogContainer<MatDialogConfig> implements OnDestroy {
338
- private _animationMode?;
318
+ private _animationMode;
339
319
  /** Emits when an animation state changes. */
340
320
  _animationStateChanged: EventEmitter<LegacyDialogAnimationEvent>;
341
321
  /** Whether animations are enabled. */
@@ -350,7 +330,6 @@ export declare class MatDialogContainer extends CdkDialogContainer<MatDialogConf
350
330
  private _exitAnimationDuration;
351
331
  /** Current timer for dialog animations. */
352
332
  private _animationTimer;
353
- constructor(elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, _document: any, dialogConfig: MatDialogConfig, interactivityChecker: InteractivityChecker, ngZone: NgZone, overlayRef: OverlayRef, _animationMode?: string | undefined, focusMonitor?: FocusMonitor);
354
333
  protected _contentAttached(): void;
355
334
  /** Starts the dialog open animation if enabled. */
356
335
  private _startOpenAnimation;
@@ -387,7 +366,7 @@ export declare class MatDialogContainer extends CdkDialogContainer<MatDialogConf
387
366
  protected _openAnimationDone(totalTime: number): void;
388
367
  ngOnDestroy(): void;
389
368
  attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
390
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, [null, null, { optional: true; }, null, null, null, null, { optional: true; }, null]>;
369
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, never>;
391
370
  static ɵcmp: i0.ɵɵComponentDeclaration<MatDialogContainer, "mat-dialog-container", never, {}, {}, never, never, true, never>;
392
371
  }
393
372
 
@@ -400,15 +379,15 @@ export declare class MatDialogContent {
400
379
  }
401
380
 
402
381
  declare abstract class MatDialogLayoutSection implements OnInit, OnDestroy {
403
- protected _dialogRef: MatDialogRef<any>;
382
+ protected _dialogRef: MatDialogRef<any, any>;
404
383
  private _elementRef;
405
384
  private _dialog;
406
- constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
385
+ constructor(...args: unknown[]);
407
386
  protected abstract _onAdd(): void;
408
387
  protected abstract _onRemove(): void;
409
388
  ngOnInit(): void;
410
389
  ngOnDestroy(): void;
411
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogLayoutSection, [{ optional: true; }, null, null]>;
390
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogLayoutSection, never>;
412
391
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogLayoutSection, never, never, {}, {}, never, never, true, never>;
413
392
  }
414
393
 
@@ -76,7 +76,7 @@ export declare class MatTestDialogOpener<T = unknown, R = unknown> implements On
76
76
  private readonly _ngZone;
77
77
  /** Static method that prepares this class to open the provided component. */
78
78
  static withComponent<T = unknown, R = unknown>(component: ComponentType<T>, config?: MatDialogConfig): ComponentType<MatTestDialogOpener<T, R>>;
79
- constructor(dialog: MatDialog);
79
+ constructor(...args: unknown[]);
80
80
  ngOnDestroy(): void;
81
81
  }
82
82
 
@@ -9,11 +9,12 @@
9
9
  @mixin base($theme) {
10
10
  @if inspection.get-theme-version($theme) == 1 {
11
11
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
12
- }
13
- @else {
12
+ } @else {
14
13
  @include sass-utils.current-selector-or-root() {
15
14
  @include token-utils.create-token-values(
16
- tokens-mat-divider.$prefix, tokens-mat-divider.get-unthemable-tokens());
15
+ tokens-mat-divider.$prefix,
16
+ tokens-mat-divider.get-unthemable-tokens()
17
+ );
17
18
  }
18
19
  }
19
20
  }
@@ -21,11 +22,12 @@
21
22
  @mixin color($theme) {
22
23
  @if inspection.get-theme-version($theme) == 1 {
23
24
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
24
- }
25
- @else {
25
+ } @else {
26
26
  @include sass-utils.current-selector-or-root() {
27
- @include token-utils.create-token-values(tokens-mat-divider.$prefix,
28
- tokens-mat-divider.get-color-tokens($theme));
27
+ @include token-utils.create-token-values(
28
+ tokens-mat-divider.$prefix,
29
+ tokens-mat-divider.get-color-tokens($theme)
30
+ );
29
31
  }
30
32
  }
31
33
  }
@@ -33,30 +35,36 @@
33
35
  @mixin typography($theme) {
34
36
  @if inspection.get-theme-version($theme) == 1 {
35
37
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
38
+ } @else {
36
39
  }
37
- @else {}
38
40
  }
39
41
 
40
42
  @mixin density($theme) {
41
43
  @if inspection.get-theme-version($theme) == 1 {
42
44
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
45
+ } @else {
43
46
  }
44
- @else {}
45
47
  }
46
48
 
47
- @mixin overrides($tokens: ()) {
48
- @include token-utils.batch-create-token-values(
49
- $tokens,
50
- (prefix: tokens-mat-divider.$prefix, tokens: tokens-mat-divider.get-token-slots()),
49
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
50
+ @function _define-overrides() {
51
+ @return (
52
+ (
53
+ namespace: tokens-mat-divider.$prefix,
54
+ tokens: tokens-mat-divider.get-token-slots(),
55
+ ),
51
56
  );
52
57
  }
53
58
 
59
+ @mixin overrides($tokens: ()) {
60
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
61
+ }
62
+
54
63
  @mixin theme($theme) {
55
64
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-divider') {
56
65
  @if inspection.get-theme-version($theme) == 1 {
57
66
  @include _theme-from-tokens(inspection.get-theme-tokens($theme));
58
- }
59
- @else {
67
+ } @else {
60
68
  @include base($theme);
61
69
  @if inspection.theme-has($theme, color) {
62
70
  @include color($theme);
@@ -73,9 +81,12 @@
73
81
 
74
82
  @mixin _theme-from-tokens($tokens) {
75
83
  @include validation.selector-defined(
76
- 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
84
+ 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector'
85
+ );
77
86
  @if ($tokens != ()) {
78
87
  @include token-utils.create-token-values(
79
- tokens-mat-divider.$prefix, map.get($tokens, tokens-mat-divider.$prefix));
88
+ tokens-mat-divider.$prefix,
89
+ map.get($tokens, tokens-mat-divider.$prefix)
90
+ );
80
91
  }
81
92
  }
@@ -10,11 +10,12 @@
10
10
  @mixin base($theme) {
11
11
  @if inspection.get-theme-version($theme) == 1 {
12
12
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
13
- }
14
- @else {
13
+ } @else {
15
14
  @include sass-utils.current-selector-or-root() {
16
15
  @include token-utils.create-token-values(
17
- tokens-mat-expansion.$prefix, tokens-mat-expansion.get-unthemable-tokens());
16
+ tokens-mat-expansion.$prefix,
17
+ tokens-mat-expansion.get-unthemable-tokens()
18
+ );
18
19
  }
19
20
  }
20
21
  }
@@ -22,11 +23,12 @@
22
23
  @mixin color($theme) {
23
24
  @if inspection.get-theme-version($theme) == 1 {
24
25
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
25
- }
26
- @else {
26
+ } @else {
27
27
  @include sass-utils.current-selector-or-root() {
28
- @include token-utils.create-token-values(tokens-mat-expansion.$prefix,
29
- tokens-mat-expansion.get-color-tokens($theme));
28
+ @include token-utils.create-token-values(
29
+ tokens-mat-expansion.$prefix,
30
+ tokens-mat-expansion.get-color-tokens($theme)
31
+ );
30
32
  }
31
33
  }
32
34
  }
@@ -34,14 +36,15 @@
34
36
  @mixin typography($theme) {
35
37
  @if inspection.get-theme-version($theme) == 1 {
36
38
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
37
- }
38
- @else {
39
+ } @else {
39
40
  // TODO(mmalerba): Stop calling this and resolve resulting screen diffs.
40
41
  $theme: inspection.private-get-typography-back-compat-theme($theme);
41
42
 
42
43
  @include sass-utils.current-selector-or-root() {
43
- @include token-utils.create-token-values(tokens-mat-expansion.$prefix,
44
- tokens-mat-expansion.get-typography-tokens($theme));
44
+ @include token-utils.create-token-values(
45
+ tokens-mat-expansion.$prefix,
46
+ tokens-mat-expansion.get-typography-tokens($theme)
47
+ );
45
48
  }
46
49
  }
47
50
  }
@@ -49,28 +52,35 @@
49
52
  @mixin density($theme) {
50
53
  @if inspection.get-theme-version($theme) == 1 {
51
54
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
52
- }
53
- @else {
55
+ } @else {
54
56
  @include sass-utils.current-selector-or-root() {
55
- @include token-utils.create-token-values(tokens-mat-expansion.$prefix,
56
- tokens-mat-expansion.get-density-tokens($theme));
57
+ @include token-utils.create-token-values(
58
+ tokens-mat-expansion.$prefix,
59
+ tokens-mat-expansion.get-density-tokens($theme)
60
+ );
57
61
  }
58
62
  }
59
63
  }
60
64
 
61
- @mixin overrides($tokens: ()) {
62
- @include token-utils.batch-create-token-values(
63
- $tokens,
64
- (prefix: tokens-mat-expansion.$prefix, tokens: tokens-mat-expansion.get-token-slots()),
65
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
66
+ @function _define-overrides() {
67
+ @return (
68
+ (
69
+ namespace: tokens-mat-expansion.$prefix,
70
+ tokens: tokens-mat-expansion.get-token-slots(),
71
+ ),
65
72
  );
66
73
  }
67
74
 
75
+ @mixin overrides($tokens: ()) {
76
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
77
+ }
78
+
68
79
  @mixin theme($theme) {
69
80
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-expansion') {
70
81
  @if inspection.get-theme-version($theme) == 1 {
71
82
  @include _theme-from-tokens(inspection.get-theme-tokens($theme));
72
- }
73
- @else {
83
+ } @else {
74
84
  @include base($theme);
75
85
  @if inspection.theme-has($theme, color) {
76
86
  @include color($theme);
@@ -85,12 +95,14 @@
85
95
  }
86
96
  }
87
97
 
88
-
89
98
  @mixin _theme-from-tokens($tokens) {
90
99
  @include validation.selector-defined(
91
- 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
100
+ 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector'
101
+ );
92
102
  @if ($tokens != ()) {
93
103
  @include token-utils.create-token-values(
94
- tokens-mat-expansion.$prefix, map.get($tokens, tokens-mat-expansion.$prefix));
104
+ tokens-mat-expansion.$prefix,
105
+ map.get($tokens, tokens-mat-expansion.$prefix)
106
+ );
95
107
  }
96
108
  }
@@ -4,11 +4,9 @@ import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
4
4
  import { AnimationTriggerMetadata } from '@angular/animations';
5
5
  import { CdkAccordion } from '@angular/cdk/accordion';
6
6
  import { CdkAccordionItem } from '@angular/cdk/accordion';
7
- import { ChangeDetectorRef } from '@angular/core';
8
7
  import { ElementRef } from '@angular/core';
9
8
  import { EventEmitter } from '@angular/core';
10
9
  import { FocusableOption } from '@angular/cdk/a11y';
11
- import { FocusMonitor } from '@angular/cdk/a11y';
12
10
  import { FocusOrigin } from '@angular/cdk/a11y';
13
11
  import * as i0 from '@angular/core';
14
12
  import * as i1 from '@angular/material/core';
@@ -22,8 +20,6 @@ import { SimpleChanges } from '@angular/core';
22
20
  import { Subject } from 'rxjs';
23
21
  import { TemplatePortal } from '@angular/cdk/portal';
24
22
  import { TemplateRef } from '@angular/core';
25
- import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
26
- import { ViewContainerRef } from '@angular/core';
27
23
 
28
24
  /** Time and timing curve for expansion panel animations. */
29
25
  export declare const EXPANSION_PANEL_ANIMATION_TIMING = "225ms cubic-bezier(0.4,0.0,0.2,1)";
@@ -170,7 +166,7 @@ export declare class MatExpansionModule {
170
166
  */
171
167
  export declare class MatExpansionPanel extends CdkAccordionItem implements AfterContentInit, OnChanges, OnDestroy {
172
168
  private _viewContainerRef;
173
- _animationMode: string;
169
+ _animationMode: "NoopAnimations" | "BrowserAnimations" | null;
174
170
  protected _animationsDisabled: boolean;
175
171
  private _document;
176
172
  /** Whether the toggle indicator should be hidden. */
@@ -197,7 +193,7 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
197
193
  _portal: TemplatePortal;
198
194
  /** ID for the associated header element. Used for a11y labelling. */
199
195
  _headerId: string;
200
- constructor(accordion: MatAccordionBase, _changeDetectorRef: ChangeDetectorRef, _uniqueSelectionDispatcher: UniqueSelectionDispatcher, _viewContainerRef: ViewContainerRef, _document: any, _animationMode: string, defaultOptions?: MatExpansionPanelDefaultOptions);
196
+ constructor(...args: unknown[]);
201
197
  /** Determines whether the expansion panel should have spacing between it and its siblings. */
202
198
  _hasSpacing(): boolean;
203
199
  /** Gets the expanded state string. */
@@ -217,7 +213,7 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
217
213
  protected _animationStarted(event: AnimationEvent_2): void;
218
214
  /** Called when the expansion animation has finished. */
219
215
  protected _animationDone(event: AnimationEvent_2): void;
220
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, [{ optional: true; skipSelf: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
216
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, never>;
221
217
  static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanel, "mat-expansion-panel", ["matExpansionPanel"], { "hideToggle": { "alias": "hideToggle"; "required": false; }; "togglePosition": { "alias": "togglePosition"; "required": false; }; }, { "afterExpand": "afterExpand"; "afterCollapse": "afterCollapse"; }, ["_lazyContent"], ["mat-expansion-panel-header", "*", "mat-action-row"], true, never>;
222
218
  static ngAcceptInputType_hideToggle: unknown;
223
219
  }
@@ -245,9 +241,9 @@ declare interface MatExpansionPanelBase extends CdkAccordionItem {
245
241
  */
246
242
  export declare class MatExpansionPanelContent {
247
243
  _template: TemplateRef<any>;
248
- _expansionPanel?: MatExpansionPanelBase | undefined;
249
- constructor(_template: TemplateRef<any>, _expansionPanel?: MatExpansionPanelBase | undefined);
250
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelContent, [null, { optional: true; }]>;
244
+ _expansionPanel: MatExpansionPanelBase | null;
245
+ constructor(...args: unknown[]);
246
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelContent, never>;
251
247
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatExpansionPanelContent, "ng-template[matExpansionPanelContent]", never, {}, {}, never, never, true, never>;
252
248
  }
253
249
 
@@ -280,9 +276,9 @@ export declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy
280
276
  private _element;
281
277
  private _focusMonitor;
282
278
  private _changeDetectorRef;
283
- _animationMode?: string | undefined;
279
+ _animationMode: "NoopAnimations" | "BrowserAnimations" | null;
284
280
  private _parentChangeSubscription;
285
- constructor(panel: MatExpansionPanel, _element: ElementRef, _focusMonitor: FocusMonitor, _changeDetectorRef: ChangeDetectorRef, defaultOptions?: MatExpansionPanelDefaultOptions, _animationMode?: string | undefined, tabIndex?: string);
281
+ constructor(...args: unknown[]);
286
282
  /** Height of the header while the panel is expanded. */
287
283
  expandedHeight: string;
288
284
  /** Height of the header while the panel is collapsed. */
@@ -321,7 +317,7 @@ export declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy
321
317
  focus(origin?: FocusOrigin, options?: FocusOptions): void;
322
318
  ngAfterViewInit(): void;
323
319
  ngOnDestroy(): void;
324
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelHeader, [{ host: true; }, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
320
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelHeader, never>;
325
321
  static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanelHeader, "mat-expansion-panel-header", never, { "expandedHeight": { "alias": "expandedHeight"; "required": false; }; "collapsedHeight": { "alias": "collapsedHeight"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["mat-panel-title", "mat-panel-description", "*"], true, never>;
326
322
  static ngAcceptInputType_tabIndex: unknown;
327
323
  }
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/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 {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '@angular/material/core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\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<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, 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 /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/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.dev/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '@angular/material/core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\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<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, 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 /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":"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"}