@angular/material 21.0.0-next.1 → 21.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 (389) hide show
  1. package/chips/_m3-chip.scss +2 -5
  2. package/core/focus-indicators/_private.scss +16 -0
  3. package/core/tokens/_classes.scss +130 -145
  4. package/core/tokens/m2/_md-sys-color-internal.scss +11 -0
  5. package/core/tokens/m2/_md-sys-color.scss +28 -19
  6. package/core/tokens/m3/_md-sys-color-internal.scss +11 -0
  7. package/core/tokens/m3/_md-sys-color.scss +5 -31
  8. package/core/tokens/m3/_md-sys-typescale-internal.scss +5 -0
  9. package/core/tokens/m3/_md-sys-typescale.scss +2 -16
  10. package/fesm2022/{animation.mjs → _animation-chunk.mjs} +2 -23
  11. package/fesm2022/_animation-chunk.mjs.map +1 -0
  12. package/fesm2022/{date-formats.mjs → _date-formats-chunk.mjs} +3 -11
  13. package/fesm2022/_date-formats-chunk.mjs.map +1 -0
  14. package/fesm2022/{date-range-input-harness.mjs → _date-range-input-harness-chunk.mjs} +1 -1
  15. package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -0
  16. package/fesm2022/{error-options.mjs → _error-options-chunk.mjs} +1 -1
  17. package/fesm2022/_error-options-chunk.mjs.map +1 -0
  18. package/fesm2022/{error-state.mjs → _error-state-chunk.mjs} +1 -1
  19. package/fesm2022/_error-state-chunk.mjs.map +1 -0
  20. package/fesm2022/_form-field-chunk.mjs +1114 -0
  21. package/fesm2022/_form-field-chunk.mjs.map +1 -0
  22. package/fesm2022/{icon-button.mjs → _icon-button-chunk.mjs} +4 -4
  23. package/fesm2022/_icon-button-chunk.mjs.map +1 -0
  24. package/fesm2022/{icon-registry.mjs → _icon-registry-chunk.mjs} +3 -30
  25. package/fesm2022/_icon-registry-chunk.mjs.map +1 -0
  26. package/fesm2022/{input-harness.mjs → _input-harness-chunk.mjs} +1 -1
  27. package/fesm2022/_input-harness-chunk.mjs.map +1 -0
  28. package/fesm2022/{input-value-accessor.mjs → _input-value-accessor-chunk.mjs} +1 -1
  29. package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -0
  30. package/fesm2022/{internal-form-field.mjs → _internal-form-field-chunk.mjs} +1 -1
  31. package/fesm2022/_internal-form-field-chunk.mjs.map +1 -0
  32. package/fesm2022/{line.mjs → _line-chunk.mjs} +6 -6
  33. package/fesm2022/_line-chunk.mjs.map +1 -0
  34. package/fesm2022/{option.mjs → _option-chunk.mjs} +6 -6
  35. package/fesm2022/_option-chunk.mjs.map +1 -0
  36. package/fesm2022/{option-harness.mjs → _option-harness-chunk.mjs} +1 -1
  37. package/fesm2022/_option-harness-chunk.mjs.map +1 -0
  38. package/fesm2022/{option-module.mjs → _option-module-chunk.mjs} +9 -9
  39. package/fesm2022/_option-module-chunk.mjs.map +1 -0
  40. package/fesm2022/{pseudo-checkbox.mjs → _pseudo-checkbox-chunk.mjs} +2 -2
  41. package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -0
  42. package/fesm2022/{pseudo-checkbox-module.mjs → _pseudo-checkbox-module-chunk.mjs} +7 -7
  43. package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -0
  44. package/fesm2022/{public-api.mjs → _public-api-chunk.mjs} +1 -1
  45. package/fesm2022/_public-api-chunk.mjs.map +1 -0
  46. package/fesm2022/{ripple.mjs → _ripple-chunk.mjs} +4 -4
  47. package/fesm2022/_ripple-chunk.mjs.map +1 -0
  48. package/fesm2022/{ripple-loader.mjs → _ripple-loader-chunk.mjs} +3 -3
  49. package/fesm2022/_ripple-loader-chunk.mjs.map +1 -0
  50. package/fesm2022/{ripple-module.mjs → _ripple-module-chunk.mjs} +7 -7
  51. package/fesm2022/_ripple-module-chunk.mjs.map +1 -0
  52. package/fesm2022/{structural-styles.mjs → _structural-styles-chunk.mjs} +1 -1
  53. package/fesm2022/_structural-styles-chunk.mjs.map +1 -0
  54. package/fesm2022/{tooltip2.mjs → _tooltip-chunk.mjs} +8 -35
  55. package/fesm2022/_tooltip-chunk.mjs.map +1 -0
  56. package/fesm2022/{autocomplete/testing.mjs → autocomplete-testing.mjs} +3 -3
  57. package/fesm2022/autocomplete-testing.mjs.map +1 -0
  58. package/fesm2022/autocomplete.mjs +20 -52
  59. package/fesm2022/autocomplete.mjs.map +1 -1
  60. package/fesm2022/{badge/testing.mjs → badge-testing.mjs} +1 -1
  61. package/fesm2022/badge-testing.mjs.map +1 -0
  62. package/fesm2022/badge.mjs +6 -7
  63. package/fesm2022/badge.mjs.map +1 -1
  64. package/fesm2022/{bottom-sheet/testing.mjs → bottom-sheet-testing.mjs} +1 -1
  65. package/fesm2022/bottom-sheet-testing.mjs.map +1 -0
  66. package/fesm2022/bottom-sheet.mjs +12 -90
  67. package/fesm2022/bottom-sheet.mjs.map +1 -1
  68. package/fesm2022/{button/testing.mjs → button-testing.mjs} +6 -2
  69. package/fesm2022/button-testing.mjs.map +1 -0
  70. package/fesm2022/{button-toggle/testing.mjs → button-toggle-testing.mjs} +1 -1
  71. package/fesm2022/button-toggle-testing.mjs.map +1 -0
  72. package/fesm2022/button-toggle.mjs +17 -26
  73. package/fesm2022/button-toggle.mjs.map +1 -1
  74. package/fesm2022/button.mjs +24 -46
  75. package/fesm2022/button.mjs.map +1 -1
  76. package/fesm2022/{card/testing.mjs → card-testing.mjs} +1 -1
  77. package/fesm2022/card-testing.mjs.map +1 -0
  78. package/fesm2022/card.mjs +6 -8
  79. package/fesm2022/card.mjs.map +1 -1
  80. package/fesm2022/{checkbox/testing.mjs → checkbox-testing.mjs} +1 -1
  81. package/fesm2022/checkbox-testing.mjs.map +1 -0
  82. package/fesm2022/checkbox.mjs +21 -31
  83. package/fesm2022/checkbox.mjs.map +1 -1
  84. package/fesm2022/{chips/testing.mjs → chips-testing.mjs} +1 -7
  85. package/fesm2022/chips-testing.mjs.map +1 -0
  86. package/fesm2022/chips.mjs +42 -22
  87. package/fesm2022/chips.mjs.map +1 -1
  88. package/fesm2022/{core/testing.mjs → core-testing.mjs} +2 -2
  89. package/fesm2022/core-testing.mjs.map +1 -0
  90. package/fesm2022/core.mjs +17 -24
  91. package/fesm2022/core.mjs.map +1 -1
  92. package/fesm2022/{datepicker/testing.mjs → datepicker-testing.mjs} +3 -3
  93. package/fesm2022/datepicker-testing.mjs.map +1 -0
  94. package/fesm2022/datepicker.mjs +114 -268
  95. package/fesm2022/datepicker.mjs.map +1 -1
  96. package/fesm2022/{dialog/testing.mjs → dialog-testing.mjs} +7 -8
  97. package/fesm2022/dialog-testing.mjs.map +1 -0
  98. package/fesm2022/dialog.mjs +882 -115
  99. package/fesm2022/dialog.mjs.map +1 -1
  100. package/fesm2022/{divider/testing.mjs → divider-testing.mjs} +1 -1
  101. package/fesm2022/divider-testing.mjs.map +1 -0
  102. package/fesm2022/divider.mjs +5 -7
  103. package/fesm2022/divider.mjs.map +1 -1
  104. package/fesm2022/{expansion/testing.mjs → expansion-testing.mjs} +1 -1
  105. package/fesm2022/expansion-testing.mjs.map +1 -0
  106. package/fesm2022/expansion.mjs +10 -114
  107. package/fesm2022/expansion.mjs.map +1 -1
  108. package/fesm2022/{form-field/testing/control.mjs → form-field-testing-control.mjs} +1 -1
  109. package/fesm2022/form-field-testing-control.mjs.map +1 -0
  110. package/fesm2022/{form-field/testing.mjs → form-field-testing.mjs} +5 -5
  111. package/fesm2022/form-field-testing.mjs.map +1 -0
  112. package/fesm2022/form-field.mjs +20 -51
  113. package/fesm2022/form-field.mjs.map +1 -1
  114. package/fesm2022/{grid-list/testing.mjs → grid-list-testing.mjs} +2 -2
  115. package/fesm2022/grid-list-testing.mjs.map +1 -0
  116. package/fesm2022/grid-list.mjs +9 -14
  117. package/fesm2022/grid-list.mjs.map +1 -1
  118. package/fesm2022/{icon/testing.mjs → icon-testing.mjs} +2 -2
  119. package/fesm2022/icon-testing.mjs.map +1 -0
  120. package/fesm2022/icon.mjs +17 -25
  121. package/fesm2022/icon.mjs.map +1 -1
  122. package/fesm2022/{input/testing.mjs → input-testing.mjs} +3 -3
  123. package/fesm2022/{input/testing.mjs.map → input-testing.mjs.map} +1 -1
  124. package/fesm2022/input.mjs +12 -13
  125. package/fesm2022/input.mjs.map +1 -1
  126. package/fesm2022/{list/testing.mjs → list-testing.mjs} +2 -2
  127. package/fesm2022/list-testing.mjs.map +1 -0
  128. package/fesm2022/list.mjs +14 -15
  129. package/fesm2022/list.mjs.map +1 -1
  130. package/fesm2022/{menu/testing.mjs → menu-testing.mjs} +1 -1
  131. package/fesm2022/menu-testing.mjs.map +1 -0
  132. package/fesm2022/menu.mjs +25 -173
  133. package/fesm2022/menu.mjs.map +1 -1
  134. package/fesm2022/{paginator/testing.mjs → paginator-testing.mjs} +2 -2
  135. package/fesm2022/paginator-testing.mjs.map +1 -0
  136. package/fesm2022/paginator.mjs +23 -44
  137. package/fesm2022/paginator.mjs.map +1 -1
  138. package/fesm2022/{progress-bar/testing.mjs → progress-bar-testing.mjs} +1 -1
  139. package/fesm2022/progress-bar-testing.mjs.map +1 -0
  140. package/fesm2022/progress-bar.mjs +20 -25
  141. package/fesm2022/progress-bar.mjs.map +1 -1
  142. package/fesm2022/{progress-spinner/testing.mjs → progress-spinner-testing.mjs} +1 -1
  143. package/fesm2022/progress-spinner-testing.mjs.map +1 -0
  144. package/fesm2022/progress-spinner.mjs +7 -17
  145. package/fesm2022/progress-spinner.mjs.map +1 -1
  146. package/fesm2022/{radio/testing.mjs → radio-testing.mjs} +1 -1
  147. package/fesm2022/radio-testing.mjs.map +1 -0
  148. package/fesm2022/radio.mjs +16 -25
  149. package/fesm2022/radio.mjs.map +1 -1
  150. package/fesm2022/{select/testing.mjs → select-testing.mjs} +1 -1
  151. package/fesm2022/select-testing.mjs.map +1 -0
  152. package/fesm2022/select.mjs +1299 -96
  153. package/fesm2022/select.mjs.map +1 -1
  154. package/fesm2022/{sidenav/testing.mjs → sidenav-testing.mjs} +1 -1
  155. package/fesm2022/sidenav-testing.mjs.map +1 -0
  156. package/fesm2022/sidenav.mjs +10 -100
  157. package/fesm2022/sidenav.mjs.map +1 -1
  158. package/fesm2022/{slide-toggle/testing.mjs → slide-toggle-testing.mjs} +1 -1
  159. package/fesm2022/slide-toggle-testing.mjs.map +1 -0
  160. package/fesm2022/slide-toggle.mjs +9 -10
  161. package/fesm2022/slide-toggle.mjs.map +1 -1
  162. package/fesm2022/{slider/testing.mjs → slider-testing.mjs} +1 -1
  163. package/fesm2022/slider-testing.mjs.map +1 -0
  164. package/fesm2022/slider.mjs +11 -25
  165. package/fesm2022/slider.mjs.map +1 -1
  166. package/fesm2022/{snack-bar/testing.mjs → snack-bar-testing.mjs} +1 -1
  167. package/fesm2022/snack-bar-testing.mjs.map +1 -0
  168. package/fesm2022/snack-bar.mjs +15 -109
  169. package/fesm2022/snack-bar.mjs.map +1 -1
  170. package/fesm2022/{sort/testing.mjs → sort-testing.mjs} +1 -1
  171. package/fesm2022/sort-testing.mjs.map +1 -0
  172. package/fesm2022/sort.mjs +11 -338
  173. package/fesm2022/sort.mjs.map +1 -1
  174. package/fesm2022/{stepper/testing.mjs → stepper-testing.mjs} +3 -2
  175. package/fesm2022/stepper-testing.mjs.map +1 -0
  176. package/fesm2022/stepper.mjs +19 -192
  177. package/fesm2022/stepper.mjs.map +1 -1
  178. package/fesm2022/{table/testing.mjs → table-testing.mjs} +36 -4
  179. package/fesm2022/table-testing.mjs.map +1 -0
  180. package/fesm2022/table.mjs +14 -11
  181. package/fesm2022/table.mjs.map +1 -1
  182. package/fesm2022/{tabs/testing.mjs → tabs-testing.mjs} +1 -1
  183. package/fesm2022/tabs-testing.mjs.map +1 -0
  184. package/fesm2022/tabs.mjs +27 -181
  185. package/fesm2022/tabs.mjs.map +1 -1
  186. package/fesm2022/{timepicker/testing.mjs → timepicker-testing.mjs} +2 -2
  187. package/fesm2022/timepicker-testing.mjs.map +1 -0
  188. package/fesm2022/timepicker.mjs +27 -21
  189. package/fesm2022/timepicker.mjs.map +1 -1
  190. package/fesm2022/{toolbar/testing.mjs → toolbar-testing.mjs} +1 -1
  191. package/fesm2022/toolbar-testing.mjs.map +1 -0
  192. package/fesm2022/toolbar.mjs +5 -7
  193. package/fesm2022/toolbar.mjs.map +1 -1
  194. package/fesm2022/{tooltip/testing.mjs → tooltip-testing.mjs} +1 -1
  195. package/fesm2022/tooltip-testing.mjs.map +1 -0
  196. package/fesm2022/tooltip.mjs +22 -55
  197. package/fesm2022/tooltip.mjs.map +1 -1
  198. package/fesm2022/{tree/testing.mjs → tree-testing.mjs} +1 -1
  199. package/fesm2022/tree-testing.mjs.map +1 -0
  200. package/fesm2022/tree.mjs +6 -8
  201. package/fesm2022/tree.mjs.map +1 -1
  202. package/package.json +115 -114
  203. package/prebuilt-themes/deeppurple-amber.css +1 -1
  204. package/prebuilt-themes/indigo-pink.css +1 -1
  205. package/prebuilt-themes/pink-bluegrey.css +1 -1
  206. package/prebuilt-themes/purple-green.css +1 -1
  207. package/schematics/ng-add/index.js +1 -1
  208. package/slider/_m2-slider.scss +1 -0
  209. package/slider/_m3-slider.scss +5 -2
  210. package/{badge.d.d.ts → types/_badge-chunk.d.ts} +1 -1
  211. package/{button-toggle.d.d.ts → types/_button-toggle-chunk.d.ts} +1 -7
  212. package/{date-adapter.d.d.ts → types/_date-adapter-chunk.d.ts} +1 -7
  213. package/{form-field.d.d.ts → types/_form-field-chunk.d.ts} +2 -2
  214. package/{form-field-module.d.d.ts → types/_form-field-module-chunk.d.ts} +4 -4
  215. package/{icon-module.d.d.ts → types/_icon-module-chunk.d.ts} +4 -10
  216. package/{icon-registry.d.d.ts → types/_icon-registry-chunk.d.ts} +2 -18
  217. package/{line.d.d.ts → types/_line-chunk.d.ts} +2 -2
  218. package/types/_option-module-chunk.d.ts +13 -0
  219. package/{paginator.d.d.ts → types/_paginator-chunk.d.ts} +4 -20
  220. package/{progress-spinner.d.d.ts → types/_progress-spinner-chunk.d.ts} +4 -10
  221. package/{pseudo-checkbox-module.d.d.ts → types/_pseudo-checkbox-module-chunk.d.ts} +2 -2
  222. package/{ripple.d.d.ts → types/_ripple-chunk.d.ts} +3 -3
  223. package/{ripple-module.d.d.ts → types/_ripple-module-chunk.d.ts} +3 -3
  224. package/{sort.d.d.ts → types/_sort-chunk.d.ts} +1 -1
  225. package/{autocomplete/testing/index.d.ts → types/autocomplete-testing.d.ts} +2 -2
  226. package/{autocomplete/index.d.ts → types/autocomplete.d.ts} +10 -33
  227. package/{badge/testing/index.d.ts → types/badge-testing.d.ts} +2 -2
  228. package/types/badge.d.ts +14 -0
  229. package/{bottom-sheet/index.d.ts → types/bottom-sheet.d.ts} +10 -14
  230. package/{button/testing/index.d.ts → types/button-testing.d.ts} +2 -0
  231. package/{button-toggle/testing/index.d.ts → types/button-toggle-testing.d.ts} +1 -1
  232. package/types/button-toggle.d.ts +16 -0
  233. package/{button/index.d.ts → types/button.d.ts} +7 -14
  234. package/{card/index.d.ts → types/card.d.ts} +2 -3
  235. package/{checkbox/index.d.ts → types/checkbox.d.ts} +4 -11
  236. package/{chips/index.d.ts → types/chips.d.ts} +55 -50
  237. package/{core/testing/index.d.ts → types/core-testing.d.ts} +1 -1
  238. package/{core/index.d.ts → types/core.d.ts} +14 -41
  239. package/{datepicker/testing/index.d.ts → types/datepicker-testing.d.ts} +2 -2
  240. package/{datepicker/index.d.ts → types/datepicker.d.ts} +48 -101
  241. package/{dialog/testing/index.d.ts → types/dialog-testing.d.ts} +1 -1
  242. package/{dialog/index.d.ts → types/dialog.d.ts} +9 -32
  243. package/{divider/index.d.ts → types/divider.d.ts} +2 -3
  244. package/{expansion/index.d.ts → types/expansion.d.ts} +5 -41
  245. package/{form-field/testing/control/index.d.ts → types/form-field-testing-control.d.ts} +1 -1
  246. package/{form-field/testing/index.d.ts → types/form-field-testing.d.ts} +4 -4
  247. package/{form-field/index.d.ts → types/form-field.d.ts} +6 -17
  248. package/{grid-list/index.d.ts → types/grid-list.d.ts} +3 -4
  249. package/{icon/testing/index.d.ts → types/icon-testing.d.ts} +1 -1
  250. package/types/icon.d.ts +8 -0
  251. package/{input/testing/index.d.ts → types/input-testing.d.ts} +2 -2
  252. package/{input/index.d.ts → types/input.d.ts} +10 -11
  253. package/{list/testing/index.d.ts → types/list-testing.d.ts} +2 -2
  254. package/{list/index.d.ts → types/list.d.ts} +10 -11
  255. package/{menu/index.d.ts → types/menu.d.ts} +7 -48
  256. package/{paginator/testing/index.d.ts → types/paginator-testing.d.ts} +1 -1
  257. package/types/paginator.d.ts +35 -0
  258. package/{progress-bar/index.d.ts → types/progress-bar.d.ts} +4 -11
  259. package/{progress-spinner/testing/index.d.ts → types/progress-spinner-testing.d.ts} +2 -2
  260. package/{progress-spinner/index.d.ts → types/progress-spinner.d.ts} +5 -6
  261. package/{radio/index.d.ts → types/radio.d.ts} +6 -13
  262. package/{select-module.d.d.ts → types/select.d.ts} +19 -26
  263. package/{sidenav/index.d.ts → types/sidenav.d.ts} +4 -21
  264. package/{slide-toggle/index.d.ts → types/slide-toggle.d.ts} +3 -4
  265. package/{slider/index.d.ts → types/slider.d.ts} +5 -5
  266. package/{snack-bar/index.d.ts → types/snack-bar.d.ts} +9 -25
  267. package/{sort/testing/index.d.ts → types/sort-testing.d.ts} +1 -1
  268. package/{sort/index.d.ts → types/sort.d.ts} +8 -40
  269. package/{stepper/index.d.ts → types/stepper.d.ts} +11 -39
  270. package/{table/testing/index.d.ts → types/table-testing.d.ts} +27 -1
  271. package/{table/index.d.ts → types/table.d.ts} +11 -11
  272. package/{tabs/index.d.ts → types/tabs.d.ts} +6 -22
  273. package/{timepicker/testing/index.d.ts → types/timepicker-testing.d.ts} +1 -1
  274. package/{timepicker/index.d.ts → types/timepicker.d.ts} +151 -130
  275. package/{toolbar/index.d.ts → types/toolbar.d.ts} +2 -3
  276. package/{tooltip-module.d.d.ts → types/tooltip.d.ts} +7 -29
  277. package/{tree/index.d.ts → types/tree.d.ts} +2 -3
  278. package/badge/index.d.ts +0 -15
  279. package/button-toggle/index.d.ts +0 -17
  280. package/common-module.d.d.ts +0 -44
  281. package/fesm2022/animation.mjs.map +0 -1
  282. package/fesm2022/autocomplete/testing.mjs.map +0 -1
  283. package/fesm2022/badge/testing.mjs.map +0 -1
  284. package/fesm2022/bottom-sheet/testing.mjs.map +0 -1
  285. package/fesm2022/button/testing.mjs.map +0 -1
  286. package/fesm2022/button-toggle/testing.mjs.map +0 -1
  287. package/fesm2022/card/testing.mjs.map +0 -1
  288. package/fesm2022/checkbox/testing.mjs.map +0 -1
  289. package/fesm2022/chips/testing.mjs.map +0 -1
  290. package/fesm2022/common-module.mjs +0 -42
  291. package/fesm2022/common-module.mjs.map +0 -1
  292. package/fesm2022/core/testing.mjs.map +0 -1
  293. package/fesm2022/date-formats.mjs.map +0 -1
  294. package/fesm2022/date-range-input-harness.mjs.map +0 -1
  295. package/fesm2022/datepicker/testing.mjs.map +0 -1
  296. package/fesm2022/dialog/testing.mjs.map +0 -1
  297. package/fesm2022/dialog-module.mjs +0 -891
  298. package/fesm2022/dialog-module.mjs.map +0 -1
  299. package/fesm2022/divider/testing.mjs.map +0 -1
  300. package/fesm2022/error-options.mjs.map +0 -1
  301. package/fesm2022/error-state.mjs.map +0 -1
  302. package/fesm2022/expansion/testing.mjs.map +0 -1
  303. package/fesm2022/form-field/testing/control.mjs.map +0 -1
  304. package/fesm2022/form-field/testing.mjs.map +0 -1
  305. package/fesm2022/form-field-module.mjs +0 -39
  306. package/fesm2022/form-field-module.mjs.map +0 -1
  307. package/fesm2022/form-field2.mjs +0 -1114
  308. package/fesm2022/form-field2.mjs.map +0 -1
  309. package/fesm2022/grid-list/testing.mjs.map +0 -1
  310. package/fesm2022/icon/testing.mjs.map +0 -1
  311. package/fesm2022/icon-button.mjs.map +0 -1
  312. package/fesm2022/icon-registry.mjs.map +0 -1
  313. package/fesm2022/input-harness.mjs.map +0 -1
  314. package/fesm2022/input-value-accessor.mjs.map +0 -1
  315. package/fesm2022/internal-form-field.mjs.map +0 -1
  316. package/fesm2022/line.mjs.map +0 -1
  317. package/fesm2022/list/testing.mjs.map +0 -1
  318. package/fesm2022/menu/testing.mjs.map +0 -1
  319. package/fesm2022/option-harness.mjs.map +0 -1
  320. package/fesm2022/option-module.mjs.map +0 -1
  321. package/fesm2022/option.mjs.map +0 -1
  322. package/fesm2022/paginator/testing.mjs.map +0 -1
  323. package/fesm2022/progress-bar/testing.mjs.map +0 -1
  324. package/fesm2022/progress-spinner/testing.mjs.map +0 -1
  325. package/fesm2022/pseudo-checkbox-module.mjs.map +0 -1
  326. package/fesm2022/pseudo-checkbox.mjs.map +0 -1
  327. package/fesm2022/public-api.mjs.map +0 -1
  328. package/fesm2022/radio/testing.mjs.map +0 -1
  329. package/fesm2022/ripple-loader.mjs.map +0 -1
  330. package/fesm2022/ripple-module.mjs.map +0 -1
  331. package/fesm2022/ripple.mjs.map +0 -1
  332. package/fesm2022/select/testing.mjs.map +0 -1
  333. package/fesm2022/select-module.mjs +0 -1318
  334. package/fesm2022/select-module.mjs.map +0 -1
  335. package/fesm2022/sidenav/testing.mjs.map +0 -1
  336. package/fesm2022/slide-toggle/testing.mjs.map +0 -1
  337. package/fesm2022/slider/testing.mjs.map +0 -1
  338. package/fesm2022/snack-bar/testing.mjs.map +0 -1
  339. package/fesm2022/sort/testing.mjs.map +0 -1
  340. package/fesm2022/stepper/testing.mjs.map +0 -1
  341. package/fesm2022/structural-styles.mjs.map +0 -1
  342. package/fesm2022/table/testing.mjs.map +0 -1
  343. package/fesm2022/tabs/testing.mjs.map +0 -1
  344. package/fesm2022/timepicker/testing.mjs.map +0 -1
  345. package/fesm2022/toolbar/testing.mjs.map +0 -1
  346. package/fesm2022/tooltip/testing.mjs.map +0 -1
  347. package/fesm2022/tooltip-module.mjs +0 -24
  348. package/fesm2022/tooltip-module.mjs.map +0 -1
  349. package/fesm2022/tooltip2.mjs.map +0 -1
  350. package/fesm2022/tree/testing.mjs.map +0 -1
  351. package/icon/index.d.ts +0 -9
  352. package/option-module.d.d.ts +0 -13
  353. package/paginator/index.d.ts +0 -36
  354. package/select/index.d.ts +0 -38
  355. package/tooltip/index.d.ts +0 -21
  356. /package/{date-range-input-harness.d.d.ts → types/_date-range-input-harness-chunk.d.ts} +0 -0
  357. /package/{dialog.d.d.ts → types/_dialog-chunk.d.ts} +0 -0
  358. /package/{error-options.d.d.ts → types/_error-options-chunk.d.ts} +0 -0
  359. /package/{form-field-control.d.d.ts → types/_form-field-control-chunk.d.ts} +0 -0
  360. /package/{form-field-control-harness.d.d.ts → types/_form-field-control-harness-chunk.d.ts} +0 -0
  361. /package/{input-harness.d.d.ts → types/_input-harness-chunk.d.ts} +0 -0
  362. /package/{list-option-types.d.d.ts → types/_list-option-types-chunk.d.ts} +0 -0
  363. /package/{option.d.d.ts → types/_option-chunk.d.ts} +0 -0
  364. /package/{option-harness.d.d.ts → types/_option-harness-chunk.d.ts} +0 -0
  365. /package/{option-parent.d.d.ts → types/_option-parent-chunk.d.ts} +0 -0
  366. /package/{palette.d.d.ts → types/_palette-chunk.d.ts} +0 -0
  367. /package/{ripple-loader.d.d.ts → types/_ripple-loader-chunk.d.ts} +0 -0
  368. /package/{sort-direction.d.d.ts → types/_sort-direction-chunk.d.ts} +0 -0
  369. /package/{bottom-sheet/testing/index.d.ts → types/bottom-sheet-testing.d.ts} +0 -0
  370. /package/{card/testing/index.d.ts → types/card-testing.d.ts} +0 -0
  371. /package/{checkbox/testing/index.d.ts → types/checkbox-testing.d.ts} +0 -0
  372. /package/{chips/testing/index.d.ts → types/chips-testing.d.ts} +0 -0
  373. /package/{divider/testing/index.d.ts → types/divider-testing.d.ts} +0 -0
  374. /package/{expansion/testing/index.d.ts → types/expansion-testing.d.ts} +0 -0
  375. /package/{grid-list/testing/index.d.ts → types/grid-list-testing.d.ts} +0 -0
  376. /package/{index.d.ts → types/material.d.ts} +0 -0
  377. /package/{menu/testing/index.d.ts → types/menu-testing.d.ts} +0 -0
  378. /package/{progress-bar/testing/index.d.ts → types/progress-bar-testing.d.ts} +0 -0
  379. /package/{radio/testing/index.d.ts → types/radio-testing.d.ts} +0 -0
  380. /package/{select/testing/index.d.ts → types/select-testing.d.ts} +0 -0
  381. /package/{sidenav/testing/index.d.ts → types/sidenav-testing.d.ts} +0 -0
  382. /package/{slide-toggle/testing/index.d.ts → types/slide-toggle-testing.d.ts} +0 -0
  383. /package/{slider/testing/index.d.ts → types/slider-testing.d.ts} +0 -0
  384. /package/{snack-bar/testing/index.d.ts → types/snack-bar-testing.d.ts} +0 -0
  385. /package/{stepper/testing/index.d.ts → types/stepper-testing.d.ts} +0 -0
  386. /package/{tabs/testing/index.d.ts → types/tabs-testing.d.ts} +0 -0
  387. /package/{toolbar/testing/index.d.ts → types/toolbar-testing.d.ts} +0 -0
  388. /package/{tooltip/testing/index.d.ts → types/tooltip-testing.d.ts} +0 -0
  389. /package/{tree/testing/index.d.ts → types/tree-testing.d.ts} +0 -0
@@ -1,136 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnDestroy, Signal, ModelSignal, InputSignal, InputSignalWithTransform, ElementRef, InjectionToken, TemplateRef, OutputEmitterRef } from '@angular/core';
3
- import { MatOption } from '../option.d.js';
4
- import { MatOptionParentComponent } from '../option-parent.d.js';
2
+ import { InjectionToken, Signal, ElementRef, OnDestroy, TemplateRef, InputSignalWithTransform, InputSignal, OutputEmitterRef, ModelSignal } from '@angular/core';
3
+ import { MatOption } from './_option-chunk.js';
4
+ import { MatOptionParentComponent } from './_option-parent-chunk.js';
5
5
  import { ScrollStrategy } from '@angular/cdk/overlay';
6
6
  import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
7
- import * as i5 from '@angular/cdk/scrolling';
7
+ import * as i1 from '@angular/cdk/scrolling';
8
8
  import '@angular/cdk/a11y';
9
9
  import 'rxjs';
10
10
 
11
- /**
12
- * Input that can be used to enter time and connect to a `mat-timepicker`.
13
- */
14
- declare class MatTimepickerInput<D> implements ControlValueAccessor, Validator, OnDestroy {
15
- private _elementRef;
16
- private _dateAdapter;
17
- private _dateFormats;
18
- private _formField;
19
- private _onChange;
20
- private _onTouched;
21
- private _validatorOnChange;
22
- private _cleanupClick;
23
- private _accessorDisabled;
24
- private _localeSubscription;
25
- private _timepickerSubscription;
26
- private _validator;
27
- private _lastValueValid;
28
- private _lastValidDate;
29
- /** Value of the `aria-activedescendant` attribute. */
30
- protected readonly _ariaActiveDescendant: Signal<string | null>;
31
- /** Value of the `aria-expanded` attribute. */
32
- protected readonly _ariaExpanded: Signal<string>;
33
- /** Value of the `aria-controls` attribute. */
34
- protected readonly _ariaControls: Signal<string | null>;
35
- /** Current value of the input. */
36
- readonly value: ModelSignal<D | null>;
37
- /** Timepicker that the input is associated with. */
38
- readonly timepicker: InputSignal<MatTimepicker<D>>;
39
- /**
40
- * Minimum time that can be selected or typed in. Can be either
41
- * a date object (only time will be used) or a valid time string.
42
- */
43
- readonly min: InputSignalWithTransform<D | null, unknown>;
44
- /**
45
- * Maximum time that can be selected or typed in. Can be either
46
- * a date object (only time will be used) or a valid time string.
47
- */
48
- readonly max: InputSignalWithTransform<D | null, unknown>;
49
- /**
50
- * Whether to open the timepicker overlay when clicking on the input. Enabled by default.
51
- * Note that when disabling this option, you'll have to provide your own logic for opening
52
- * the overlay.
53
- */
54
- readonly openOnClick: InputSignalWithTransform<boolean, unknown>;
55
- /** Whether the input is disabled. */
56
- readonly disabled: Signal<boolean>;
57
- /**
58
- * Whether the input should be disabled through the template.
59
- * @docs-private
60
- */
61
- readonly disabledInput: InputSignalWithTransform<boolean, unknown>;
62
- constructor();
63
- /**
64
- * Implemented as a part of `ControlValueAccessor`.
65
- * @docs-private
66
- */
67
- writeValue(value: any): void;
68
- /**
69
- * Implemented as a part of `ControlValueAccessor`.
70
- * @docs-private
71
- */
72
- registerOnChange(fn: (value: any) => void): void;
73
- /**
74
- * Implemented as a part of `ControlValueAccessor`.
75
- * @docs-private
76
- */
77
- registerOnTouched(fn: () => void): void;
78
- /**
79
- * Implemented as a part of `ControlValueAccessor`.
80
- * @docs-private
81
- */
82
- setDisabledState(isDisabled: boolean): void;
83
- /**
84
- * Implemented as a part of `Validator`.
85
- * @docs-private
86
- */
87
- validate(control: AbstractControl): ValidationErrors | null;
88
- /**
89
- * Implemented as a part of `Validator`.
90
- * @docs-private
91
- */
92
- registerOnValidatorChange(fn: () => void): void;
93
- /** Gets the element to which the timepicker popup should be attached. */
94
- getOverlayOrigin(): ElementRef<HTMLElement>;
95
- /** Focuses the input. */
96
- focus(): void;
97
- ngOnDestroy(): void;
98
- /** Gets the ID of the input's label. */
99
- _getLabelId(): string | null;
100
- /** Handles clicks on the input or the containing form field. */
101
- private _handleClick;
102
- /** Handles the `input` event. */
103
- protected _handleInput(event: Event): void;
104
- /** Handles the `blur` event. */
105
- protected _handleBlur(): void;
106
- /** Handles the `keydown` event. */
107
- protected _handleKeydown(event: KeyboardEvent): void;
108
- /** Sets up the code that watches for changes in the value and adjusts the input. */
109
- private _respondToValueChanges;
110
- /** Sets up the logic that registers the input with the timepicker. */
111
- private _registerTimepicker;
112
- /** Sets up the logic that adjusts the input if the min/max changes. */
113
- private _respondToMinMaxChanges;
114
- /**
115
- * Assigns a value set by the user to the input's model.
116
- * @param selection Time selected by the user that should be assigned.
117
- * @param propagateToAccessor Whether the value should be propagated to the ControlValueAccessor.
118
- */
119
- private _assignUserSelection;
120
- /** Formats the current value and assigns it to the input. */
121
- private _formatValue;
122
- /** Checks whether a value is valid. */
123
- private _isValid;
124
- /** Transforms an arbitrary value into a value that can be assigned to a date-based input. */
125
- private _transformDateInput;
126
- /** Whether the input is currently focused. */
127
- private _hasFocus;
128
- /** Gets a function that can be used to validate the input. */
129
- private _getValidator;
130
- static ɵfac: i0.ɵɵFactoryDeclaration<MatTimepickerInput<any>, never>;
131
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatTimepickerInput<any>, "input[matTimepicker]", ["matTimepickerInput"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "timepicker": { "alias": "matTimepicker"; "required": true; "isSignal": true; }; "min": { "alias": "matTimepickerMin"; "required": false; "isSignal": true; }; "max": { "alias": "matTimepickerMax"; "required": false; "isSignal": true; }; "openOnClick": { "alias": "matTimepickerOpenOnClick"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
132
- }
133
-
134
11
  /**
135
12
  * Object that can be used to configure the default options for the timepicker component.
136
13
  */
@@ -161,6 +38,25 @@ interface MatTimepickerSelected<D> {
161
38
  }
162
39
  /** Injection token used to configure the behavior of the timepicker dropdown while scrolling. */
163
40
  declare const MAT_TIMEPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
41
+ /** Represents an input that is connected to a `mat-timepicker`. */
42
+ interface MatTimepickerConnectedInput<D> {
43
+ /** Current value of the input. */
44
+ value: Signal<D | null>;
45
+ /** Minimum allowed time. */
46
+ min: Signal<D | null>;
47
+ /** Maximum allowed time. */
48
+ max: Signal<D | null>;
49
+ /** Whether the input is disabled. */
50
+ disabled: Signal<boolean>;
51
+ /** Focuses the input. */
52
+ focus(): void;
53
+ /** Gets the element to which to connect the timepicker overlay. */
54
+ getOverlayOrigin(): ElementRef<HTMLElement>;
55
+ /** Gets the ID of the input's label. */
56
+ getLabelId(): string | null;
57
+ /** Callback invoked when the timepicker assigns a value. */
58
+ timepickerValueAssigned(value: D | null): void;
59
+ }
164
60
  /**
165
61
  * Renders out a listbox that can be used to select a time of day.
166
62
  * Intended to be used together with `MatTimepickerInput`.
@@ -223,7 +119,7 @@ declare class MatTimepicker<D> implements OnDestroy, MatOptionParentComponent {
223
119
  /** Closes the timepicker. */
224
120
  close(): void;
225
121
  /** Registers an input with the timepicker. */
226
- registerInput(input: MatTimepickerInput<D>): void;
122
+ registerInput(input: MatTimepickerConnectedInput<D>): void;
227
123
  ngOnDestroy(): void;
228
124
  /** Selects a specific time value. */
229
125
  protected _selectValue(option: MatOption<D>): void;
@@ -254,6 +150,131 @@ declare class MatTimepicker<D> implements OnDestroy, MatOptionParentComponent {
254
150
  static ɵcmp: i0.ɵɵComponentDeclaration<MatTimepicker<any>, "mat-timepicker", ["matTimepicker"], { "interval": { "alias": "interval"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "disableRipple": { "alias": "disableRipple"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
255
151
  }
256
152
 
153
+ /**
154
+ * Input that can be used to enter time and connect to a `mat-timepicker`.
155
+ */
156
+ declare class MatTimepickerInput<D> implements MatTimepickerConnectedInput<D>, ControlValueAccessor, Validator, OnDestroy {
157
+ private _elementRef;
158
+ private _dateAdapter;
159
+ private _dateFormats;
160
+ private _formField;
161
+ private _onChange;
162
+ private _onTouched;
163
+ private _validatorOnChange;
164
+ private _cleanupClick;
165
+ private _accessorDisabled;
166
+ private _localeSubscription;
167
+ private _timepickerSubscription;
168
+ private _validator;
169
+ private _lastValueValid;
170
+ private _lastValidDate;
171
+ /** Value of the `aria-activedescendant` attribute. */
172
+ protected readonly _ariaActiveDescendant: Signal<string | null>;
173
+ /** Value of the `aria-expanded` attribute. */
174
+ protected readonly _ariaExpanded: Signal<string>;
175
+ /** Value of the `aria-controls` attribute. */
176
+ protected readonly _ariaControls: Signal<string | null>;
177
+ /** Current value of the input. */
178
+ readonly value: ModelSignal<D | null>;
179
+ /** Timepicker that the input is associated with. */
180
+ readonly timepicker: InputSignal<MatTimepicker<D>>;
181
+ /**
182
+ * Minimum time that can be selected or typed in. Can be either
183
+ * a date object (only time will be used) or a valid time string.
184
+ */
185
+ readonly min: InputSignalWithTransform<D | null, unknown>;
186
+ /**
187
+ * Maximum time that can be selected or typed in. Can be either
188
+ * a date object (only time will be used) or a valid time string.
189
+ */
190
+ readonly max: InputSignalWithTransform<D | null, unknown>;
191
+ /**
192
+ * Whether to open the timepicker overlay when clicking on the input. Enabled by default.
193
+ * Note that when disabling this option, you'll have to provide your own logic for opening
194
+ * the overlay.
195
+ */
196
+ readonly openOnClick: InputSignalWithTransform<boolean, unknown>;
197
+ /** Whether the input is disabled. */
198
+ readonly disabled: Signal<boolean>;
199
+ /**
200
+ * Whether the input should be disabled through the template.
201
+ * @docs-private
202
+ */
203
+ readonly disabledInput: InputSignalWithTransform<boolean, unknown>;
204
+ constructor();
205
+ /**
206
+ * Implemented as a part of `ControlValueAccessor`.
207
+ * @docs-private
208
+ */
209
+ writeValue(value: any): void;
210
+ /**
211
+ * Implemented as a part of `ControlValueAccessor`.
212
+ * @docs-private
213
+ */
214
+ registerOnChange(fn: (value: any) => void): void;
215
+ /**
216
+ * Implemented as a part of `ControlValueAccessor`.
217
+ * @docs-private
218
+ */
219
+ registerOnTouched(fn: () => void): void;
220
+ /**
221
+ * Implemented as a part of `ControlValueAccessor`.
222
+ * @docs-private
223
+ */
224
+ setDisabledState(isDisabled: boolean): void;
225
+ /**
226
+ * Implemented as a part of `Validator`.
227
+ * @docs-private
228
+ */
229
+ validate(control: AbstractControl): ValidationErrors | null;
230
+ /**
231
+ * Implemented as a part of `Validator`.
232
+ * @docs-private
233
+ */
234
+ registerOnValidatorChange(fn: () => void): void;
235
+ /** Gets the element to which the timepicker popup should be attached. */
236
+ getOverlayOrigin(): ElementRef<HTMLElement>;
237
+ /** Focuses the input. */
238
+ focus(): void;
239
+ ngOnDestroy(): void;
240
+ /** Gets the ID of the input's label. */
241
+ getLabelId(): string | null;
242
+ /** Handles clicks on the input or the containing form field. */
243
+ private _handleClick;
244
+ /** Handles the `input` event. */
245
+ protected _handleInput(event: Event): void;
246
+ /** Handles the `blur` event. */
247
+ protected _handleBlur(): void;
248
+ /** Handles the `keydown` event. */
249
+ protected _handleKeydown(event: KeyboardEvent): void;
250
+ /** Called by the timepicker to sync up the user-selected value. */
251
+ timepickerValueAssigned(value: D | null): void;
252
+ /** Sets up the code that watches for changes in the value and adjusts the input. */
253
+ private _respondToValueChanges;
254
+ /** Sets up the logic that registers the input with the timepicker. */
255
+ private _registerTimepicker;
256
+ /** Sets up the logic that adjusts the input if the min/max changes. */
257
+ private _respondToMinMaxChanges;
258
+ /**
259
+ * Assigns a value set by the user to the input's model.
260
+ * @param selection Time selected by the user that should be assigned.
261
+ * @param propagateToAccessor Whether the value should be propagated to the ControlValueAccessor.
262
+ */
263
+ private _assignUserSelection;
264
+ /** Formats the current value and assigns it to the input. */
265
+ private _formatValue;
266
+ /** Checks whether a value is valid. */
267
+ private _isValid;
268
+ /** Transforms an arbitrary value into a value that can be assigned to a date-based input. */
269
+ private _transformDateInput;
270
+ /** Whether the input is currently focused. */
271
+ private _hasFocus;
272
+ /** Gets a function that can be used to validate the input. */
273
+ private _getValidator;
274
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatTimepickerInput<any>, never>;
275
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatTimepickerInput<any>, "input[matTimepicker]", ["matTimepickerInput"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "timepicker": { "alias": "matTimepicker"; "required": true; "isSignal": true; }; "min": { "alias": "matTimepickerMin"; "required": false; "isSignal": true; }; "max": { "alias": "matTimepickerMax"; "required": false; "isSignal": true; }; "openOnClick": { "alias": "matTimepickerOpenOnClick"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
276
+ }
277
+
257
278
  /** Button that can be used to open a `mat-timepicker`. */
258
279
  declare class MatTimepickerToggle<D> {
259
280
  private _defaultConfig;
@@ -286,9 +307,9 @@ declare class MatTimepickerToggle<D> {
286
307
 
287
308
  declare class MatTimepickerModule {
288
309
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTimepickerModule, never>;
289
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatTimepickerModule, never, [typeof MatTimepicker, typeof MatTimepickerInput, typeof MatTimepickerToggle], [typeof i5.CdkScrollableModule, typeof MatTimepicker, typeof MatTimepickerInput, typeof MatTimepickerToggle]>;
310
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatTimepickerModule, never, [typeof MatTimepicker, typeof MatTimepickerInput, typeof MatTimepickerToggle], [typeof i1.CdkScrollableModule, typeof MatTimepicker, typeof MatTimepickerInput, typeof MatTimepickerToggle]>;
290
311
  static ɵinj: i0.ɵɵInjectorDeclaration<MatTimepickerModule>;
291
312
  }
292
313
 
293
314
  export { MAT_TIMEPICKER_CONFIG, MAT_TIMEPICKER_SCROLL_STRATEGY, MatTimepicker, MatTimepickerInput, MatTimepickerModule, MatTimepickerToggle };
294
- export type { MatTimepickerConfig, MatTimepickerOption, MatTimepickerSelected };
315
+ export type { MatTimepickerConfig, MatTimepickerConnectedInput, MatTimepickerOption, MatTimepickerSelected };
@@ -1,7 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { AfterViewInit, ElementRef, QueryList } from '@angular/core';
3
- import { MatCommonModule } from '../common-module.d.js';
4
- import '@angular/cdk/bidi';
3
+ import * as i2 from '@angular/cdk/bidi';
5
4
 
6
5
  declare class MatToolbarRow {
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarRow, never>;
@@ -38,7 +37,7 @@ declare function throwToolbarMixedModesError(): void;
38
37
 
39
38
  declare class MatToolbarModule {
40
39
  static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatToolbarModule, never, [typeof MatCommonModule, typeof MatToolbar, typeof MatToolbarRow], [typeof MatToolbar, typeof MatToolbarRow, typeof MatCommonModule]>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatToolbarModule, never, [typeof MatToolbar, typeof MatToolbarRow], [typeof MatToolbar, typeof MatToolbarRow, typeof i2.BidiModule]>;
42
41
  static ɵinj: i0.ɵɵInjectorDeclaration<MatToolbarModule>;
43
42
  }
44
43
 
@@ -1,13 +1,13 @@
1
+ import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
1
2
  import * as i0 from '@angular/core';
2
3
  import { InjectionToken, OnDestroy, AfterViewInit, ElementRef } from '@angular/core';
3
- import * as i1 from '@angular/cdk/a11y';
4
+ import * as i2$1 from '@angular/cdk/bidi';
5
+ import { Directionality } from '@angular/cdk/bidi';
4
6
  import * as i2 from '@angular/cdk/overlay';
5
7
  import { ScrollStrategy, OverlayRef, ConnectedPosition, OriginConnectionPosition, OverlayConnectionPosition } from '@angular/cdk/overlay';
6
- import { MatCommonModule } from './common-module.d.js';
7
- import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
8
- import { Directionality } from '@angular/cdk/bidi';
9
8
  import { Observable } from 'rxjs';
10
- import * as i5 from '@angular/cdk/scrolling';
9
+ import * as i1 from '@angular/cdk/a11y';
10
+ import * as i1$1 from '@angular/cdk/scrolling';
11
11
 
12
12
  /** Possible positions for a tooltip. */
13
13
  type TooltipPosition = 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
@@ -27,28 +27,6 @@ declare const SCROLL_THROTTLE_MS = 20;
27
27
  declare function getMatTooltipInvalidPositionError(position: string): Error;
28
28
  /** Injection token that determines the scroll handling while a tooltip is visible. */
29
29
  declare const MAT_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
30
- /**
31
- * @docs-private
32
- * @deprecated No longer used, will be removed.
33
- * @breaking-change 21.0.0
34
- */
35
- declare function MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY(_overlay: unknown): () => ScrollStrategy;
36
- /**
37
- * @docs-private
38
- * @deprecated No longer used, will be removed.
39
- * @breaking-change 21.0.0
40
- */
41
- declare const MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER: {
42
- provide: InjectionToken<() => ScrollStrategy>;
43
- deps: any[];
44
- useFactory: typeof MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY;
45
- };
46
- /**
47
- * @docs-private
48
- * @deprecated No longer used, will be removed.
49
- * @breaking-change 21.0.0
50
- */
51
- declare function MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY(): MatTooltipDefaultOptions;
52
30
  /** Injection token to be used to override the default options for `matTooltip`. */
53
31
  declare const MAT_TOOLTIP_DEFAULT_OPTIONS: InjectionToken<MatTooltipDefaultOptions>;
54
32
  /** Default `matTooltip` options that can be overridden. */
@@ -321,9 +299,9 @@ declare class TooltipComponent implements OnDestroy {
321
299
 
322
300
  declare class MatTooltipModule {
323
301
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltipModule, never>;
324
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatTooltipModule, never, [typeof i1.A11yModule, typeof i2.OverlayModule, typeof MatCommonModule, typeof MatTooltip, typeof TooltipComponent], [typeof MatTooltip, typeof TooltipComponent, typeof MatCommonModule, typeof i5.CdkScrollableModule]>;
302
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatTooltipModule, never, [typeof i1.A11yModule, typeof i2.OverlayModule, typeof MatTooltip, typeof TooltipComponent], [typeof MatTooltip, typeof TooltipComponent, typeof i2$1.BidiModule, typeof i1$1.CdkScrollableModule]>;
325
303
  static ɵinj: i0.ɵɵInjectorDeclaration<MatTooltipModule>;
326
304
  }
327
305
 
328
- export { MAT_TOOLTIP_DEFAULT_OPTIONS, MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY, MAT_TOOLTIP_SCROLL_STRATEGY, MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY, MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER, MatTooltip, MatTooltipModule, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipComponent, getMatTooltipInvalidPositionError };
306
+ export { MAT_TOOLTIP_DEFAULT_OPTIONS, MAT_TOOLTIP_SCROLL_STRATEGY, MatTooltip, MatTooltipModule, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipComponent, getMatTooltipInvalidPositionError };
329
307
  export type { MatTooltipDefaultOptions, TooltipPosition, TooltipTouchGestures, TooltipVisibility };
@@ -2,10 +2,9 @@ import * as i1 from '@angular/cdk/tree';
2
2
  import { CdkTreeNode, CdkTreeNodeDef, CdkNestedTreeNode, CdkTreeNodePadding, CdkTreeNodeOutlet, CdkTree, CdkTreeNodeToggle, TreeControl, FlatTreeControl } from '@angular/cdk/tree';
3
3
  import * as i0 from '@angular/core';
4
4
  import { OnInit, OnDestroy, AfterContentInit, ViewContainerRef } from '@angular/core';
5
- import { MatCommonModule } from '../common-module.d.js';
5
+ import * as i2 from '@angular/cdk/bidi';
6
6
  import { DataSource, CollectionViewer } from '@angular/cdk/collections';
7
7
  import { Observable } from 'rxjs';
8
- import '@angular/cdk/bidi';
9
8
 
10
9
  /**
11
10
  * Wrapper for the CdkTree node with Material design styles.
@@ -128,7 +127,7 @@ declare class MatTreeNodeToggle<T, K = T> extends CdkTreeNodeToggle<T, K> {
128
127
 
129
128
  declare class MatTreeModule {
130
129
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTreeModule, never>;
131
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatTreeModule, never, [typeof i1.CdkTreeModule, typeof MatCommonModule, typeof MatNestedTreeNode, typeof MatTreeNodeDef, typeof MatTreeNodePadding, typeof MatTreeNodeToggle, typeof MatTree, typeof MatTreeNode, typeof MatTreeNodeOutlet], [typeof MatCommonModule, typeof MatNestedTreeNode, typeof MatTreeNodeDef, typeof MatTreeNodePadding, typeof MatTreeNodeToggle, typeof MatTree, typeof MatTreeNode, typeof MatTreeNodeOutlet]>;
130
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatTreeModule, never, [typeof i1.CdkTreeModule, typeof MatNestedTreeNode, typeof MatTreeNodeDef, typeof MatTreeNodePadding, typeof MatTreeNodeToggle, typeof MatTree, typeof MatTreeNode, typeof MatTreeNodeOutlet], [typeof i2.BidiModule, typeof MatNestedTreeNode, typeof MatTreeNodeDef, typeof MatTreeNodePadding, typeof MatTreeNodeToggle, typeof MatTree, typeof MatTreeNode, typeof MatTreeNodeOutlet]>;
132
131
  static ɵinj: i0.ɵɵInjectorDeclaration<MatTreeModule>;
133
132
  }
134
133
 
package/badge/index.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import * as i1 from '@angular/cdk/a11y';
3
- import { MatCommonModule } from '../common-module.d.js';
4
- import { MatBadge, _MatBadgeStyleLoader } from '../badge.d.js';
5
- export { MatBadgePosition, MatBadgeSize } from '../badge.d.js';
6
- import '@angular/cdk/bidi';
7
- import '../palette.d.js';
8
-
9
- declare class MatBadgeModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<MatBadgeModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatBadgeModule, never, [typeof i1.A11yModule, typeof MatCommonModule, typeof MatBadge, typeof _MatBadgeStyleLoader], [typeof MatBadge, typeof MatCommonModule]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<MatBadgeModule>;
13
- }
14
-
15
- export { MatBadge, MatBadgeModule };
@@ -1,17 +0,0 @@
1
- import { MatButtonToggleGroup, MatButtonToggle } from '../button-toggle.d.js';
2
- export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggleAppearance, MatButtonToggleChange, MatButtonToggleDefaultOptions, ToggleType } from '../button-toggle.d.js';
3
- import * as i0 from '@angular/core';
4
- import { MatCommonModule } from '../common-module.d.js';
5
- import { MatRippleModule } from '../ripple-module.d.js';
6
- import '@angular/cdk/bidi';
7
- import '@angular/forms';
8
- import '../ripple.d.js';
9
- import '@angular/cdk/platform';
10
-
11
- declare class MatButtonToggleModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonToggleModule, never, [typeof MatCommonModule, typeof MatRippleModule, typeof MatButtonToggleGroup, typeof MatButtonToggle], [typeof MatCommonModule, typeof MatButtonToggleGroup, typeof MatButtonToggle]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<MatButtonToggleModule>;
15
- }
16
-
17
- export { MatButtonToggle, MatButtonToggleGroup, MatButtonToggleModule };
@@ -1,44 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
3
- import * as i1 from '@angular/cdk/bidi';
4
-
5
- /**
6
- * Injection token that configures whether the Material sanity checks are enabled.
7
- * @deprecated No longer used and will be removed.
8
- * @breaking-change 21.0.0
9
- */
10
- declare const MATERIAL_SANITY_CHECKS: InjectionToken<SanityChecks>;
11
- /**
12
- * Possible sanity checks that can be enabled. If set to
13
- * true/false, all checks will be enabled/disabled.
14
- * @deprecated No longer used and will be removed.
15
- * @breaking-change 21.0.0
16
- */
17
- type SanityChecks = boolean | GranularSanityChecks;
18
- /**
19
- * Object that can be used to configure the sanity checks granularly.
20
- * @deprecated No longer used and will be removed.
21
- * @breaking-change 21.0.0
22
- */
23
- interface GranularSanityChecks {
24
- doctype: boolean;
25
- theme: boolean;
26
- version: boolean;
27
- }
28
- /**
29
- * Module that captures anything that should be loaded and/or run for *all* Angular Material
30
- * components. This includes Bidi, etc.
31
- *
32
- * This module should be imported to each top-level component module (e.g., MatTabsModule).
33
- * @deprecated No longer used and will be removed.
34
- * @breaking-change 21.0.0
35
- */
36
- declare class MatCommonModule {
37
- constructor(...args: any[]);
38
- static ɵfac: i0.ɵɵFactoryDeclaration<MatCommonModule, never>;
39
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatCommonModule, never, [typeof i1.BidiModule], [typeof i1.BidiModule]>;
40
- static ɵinj: i0.ɵɵInjectorDeclaration<MatCommonModule>;
41
- }
42
-
43
- export { MATERIAL_SANITY_CHECKS, MatCommonModule };
44
- export type { GranularSanityChecks, SanityChecks };
@@ -1 +0,0 @@
1
- {"version":3,"file":"animation.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/core/animation/animation.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 {MediaMatcher} from '@angular/cdk/layout';\nimport {ANIMATION_MODULE_TYPE, inject, InjectionToken} from '@angular/core';\n\n/** Object used to configure the animation in Angular Material. */\nexport interface AnimationsConfig {\n /** Whether all animations should be disabled. */\n animationsDisabled?: boolean;\n}\n\n/** Injection token used to configure the animations in Angular Material. */\nexport const MATERIAL_ANIMATIONS = new InjectionToken<AnimationsConfig>('MATERIAL_ANIMATIONS');\n\n/**\n * @deprecated No longer used, will be removed.\n * @breaking-change 21.0.0\n * @docs-private\n */\nexport class AnimationCurves {\n static STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';\n static DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';\n static ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';\n static SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';\n}\n\n/**\n * @deprecated No longer used, will be removed.\n * @breaking-change 21.0.0\n * @docs-private\n */\nexport class AnimationDurations {\n static COMPLEX = '375ms';\n static ENTERING = '225ms';\n static EXITING = '195ms';\n}\n\nlet reducedMotion: boolean | null = null;\n\n/**\n * Gets the the configured animations state.\n * @docs-private\n */\nexport function _getAnimationsState(): 'enabled' | 'di-disabled' | 'reduced-motion' {\n if (\n inject(MATERIAL_ANIMATIONS, {optional: true})?.animationsDisabled ||\n inject(ANIMATION_MODULE_TYPE, {optional: true}) === 'NoopAnimations'\n ) {\n return 'di-disabled';\n }\n\n reducedMotion ??= inject(MediaMatcher).matchMedia('(prefers-reduced-motion)').matches;\n return reducedMotion ? 'reduced-motion' : 'enabled';\n}\n\n/**\n * Returns whether animations have been disabled by DI. Must be called in a DI context.\n * @docs-private\n */\nexport function _animationsDisabled(): boolean {\n return _getAnimationsState() !== 'enabled';\n}\n"],"names":[],"mappings":";;;AAiBA;MACa,mBAAmB,GAAG,IAAI,cAAc,CAAmB,qBAAqB;AAE7F;;;;AAIG;MACU,eAAe,CAAA;AAC1B,IAAA,OAAO,cAAc,GAAG,6BAA6B;AACrD,IAAA,OAAO,kBAAkB,GAAG,6BAA6B;AACzD,IAAA,OAAO,kBAAkB,GAAG,2BAA2B;AACvD,IAAA,OAAO,WAAW,GAAG,6BAA6B;;AAGpD;;;;AAIG;MACU,kBAAkB,CAAA;AAC7B,IAAA,OAAO,OAAO,GAAG,OAAO;AACxB,IAAA,OAAO,QAAQ,GAAG,OAAO;AACzB,IAAA,OAAO,OAAO,GAAG,OAAO;;AAG1B,IAAI,aAAa,GAAmB,IAAI;AAExC;;;AAGG;SACa,mBAAmB,GAAA;IACjC,IACE,MAAM,CAAC,mBAAmB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,kBAAkB;AACjE,QAAA,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,KAAK,gBAAgB,EACpE;AACA,QAAA,OAAO,aAAa;;AAGtB,IAAA,aAAa,KAAK,MAAM,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC,OAAO;IACrF,OAAO,aAAa,GAAG,gBAAgB,GAAG,SAAS;AACrD;AAEA;;;AAGG;SACa,mBAAmB,GAAA;AACjC,IAAA,OAAO,mBAAmB,EAAE,KAAK,SAAS;AAC5C;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/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 '../../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":";;;;;AAuBM,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAClD,IAAA,oBAAoB,GAAG,IAAI,CAAC,0BAA0B,EAAE;;AAGhE,IAAA,OAAO,YAAY,GAAG,+BAA+B;AAErD;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAET,OAAA,GAAsC,EAAE,EAAA;AAExC,QAAA,OAAO,IAAI,gBA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IAAA,MAAM,SAAS,GAAA;;;AAGrB,QAAA,OAAO,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC,EAAE;;;AAI7E,IAAA,MAAM,iBAAiB,GAAA;AAC/B,QAAA,OAAO,CAAI,CAAA,EAAA,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,eAAe,CAAC,EAAE;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/badge/testing/badge-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 {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {MatBadgePosition, MatBadgeSize} from '../badge';\nimport {BadgeHarnessFilters} from './badge-harness-filters';\n\n/** Harness for interacting with a standard Material badge in tests. */\nexport class MatBadgeHarness extends ComponentHarness {\n static hostSelector = '.mat-badge';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a badge with specific attributes.\n * @param options Options for narrowing the search:\n * - `text` finds a badge host with a particular text.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: BadgeHarnessFilters = {}): HarnessPredicate<MatBadgeHarness> {\n return new HarnessPredicate(MatBadgeHarness, options).addOption(\n 'text',\n options.text,\n (harness, text) => HarnessPredicate.stringMatches(harness.getText(), text),\n );\n }\n\n private _badgeElement = this.locatorFor('.mat-badge-content');\n\n /** Gets a promise for the badge text. */\n async getText(): Promise<string> {\n return (await this._badgeElement()).text();\n }\n\n /** Gets whether the badge is overlapping the content. */\n async isOverlapping(): Promise<boolean> {\n return (await this.host()).hasClass('mat-badge-overlap');\n }\n\n /** Gets the position of the badge. */\n async getPosition(): Promise<MatBadgePosition> {\n const host = await this.host();\n let result = '';\n\n if (await host.hasClass('mat-badge-above')) {\n result += 'above';\n } else if (await host.hasClass('mat-badge-below')) {\n result += 'below';\n }\n\n if (await host.hasClass('mat-badge-before')) {\n result += ' before';\n } else if (await host.hasClass('mat-badge-after')) {\n result += ' after';\n }\n\n return result.trim() as MatBadgePosition;\n }\n\n /** Gets the size of the badge. */\n async getSize(): Promise<MatBadgeSize> {\n const host = await this.host();\n\n if (await host.hasClass('mat-badge-small')) {\n return 'small';\n } else if (await host.hasClass('mat-badge-large')) {\n return 'large';\n }\n\n return 'medium';\n }\n\n /** Gets whether the badge is hidden. */\n async isHidden(): Promise<boolean> {\n return (await this.host()).hasClass('mat-badge-hidden');\n }\n\n /** Gets whether the badge is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).hasClass('mat-badge-disabled');\n }\n}\n"],"names":[],"mappings":";;AAYA;AACM,MAAO,eAAgB,SAAQ,gBAAgB,CAAA;AACnD,IAAA,OAAO,YAAY,GAAG,YAAY;AAElC;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAAC,OAAA,GAA+B,EAAE,EAAA;AAC3C,QAAA,OAAO,IAAI,gBAAgB,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,CAC7D,MAAM,EACN,OAAO,CAAC,IAAI,EACZ,CAAC,OAAO,EAAE,IAAI,KAAK,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CAC3E;;AAGK,IAAA,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;;AAG7D,IAAA,MAAM,OAAO,GAAA;QACX,OAAO,CAAC,MAAM,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE;;;AAI5C,IAAA,MAAM,aAAa,GAAA;AACjB,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,mBAAmB,CAAC;;;AAI1D,IAAA,MAAM,WAAW,GAAA;AACf,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE;QAC9B,IAAI,MAAM,GAAG,EAAE;QAEf,IAAI,MAAM,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE;YAC1C,MAAM,IAAI,OAAO;;aACZ,IAAI,MAAM,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE;YACjD,MAAM,IAAI,OAAO;;QAGnB,IAAI,MAAM,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,EAAE;YAC3C,MAAM,IAAI,SAAS;;aACd,IAAI,MAAM,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE;YACjD,MAAM,IAAI,QAAQ;;AAGpB,QAAA,OAAO,MAAM,CAAC,IAAI,EAAsB;;;AAI1C,IAAA,MAAM,OAAO,GAAA;AACX,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE;QAE9B,IAAI,MAAM,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE;AAC1C,YAAA,OAAO,OAAO;;aACT,IAAI,MAAM,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE;AACjD,YAAA,OAAO,OAAO;;AAGhB,QAAA,OAAO,QAAQ;;;AAIjB,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,kBAAkB,CAAC;;;AAIzD,IAAA,MAAM,UAAU,GAAA;AACd,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,oBAAoB,CAAC;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/bottom-sheet/testing/bottom-sheet-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 {ContentContainerComponentHarness, HarnessPredicate, TestKey} from '@angular/cdk/testing';\nimport {BottomSheetHarnessFilters} from './bottom-sheet-harness-filters';\n\n/** Harness for interacting with a standard MatBottomSheet in tests. */\nexport class MatBottomSheetHarness extends ContentContainerComponentHarness<string> {\n // Developers can provide a custom component or template for the\n // bottom sheet. The canonical parent is the \".mat-bottom-sheet-container\".\n static hostSelector = '.mat-bottom-sheet-container:not([mat-exit])';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a bottom sheet with\n * specific attributes.\n * @param options Options for narrowing the search.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: BottomSheetHarnessFilters = {}): HarnessPredicate<MatBottomSheetHarness> {\n return new HarnessPredicate(MatBottomSheetHarness, options);\n }\n\n /** Gets the value of the bottom sheet's \"aria-label\" attribute. */\n async getAriaLabel(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-label');\n }\n\n /**\n * Dismisses the bottom sheet by pressing escape. Note that this method cannot\n * be used if \"disableClose\" has been set to true via the config.\n */\n async dismiss(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.ESCAPE);\n }\n}\n"],"names":[],"mappings":";;AAWA;AACM,MAAO,qBAAsB,SAAQ,gCAAwC,CAAA;;;AAGjF,IAAA,OAAO,YAAY,GAAG,6CAA6C;AAEnE;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAAC,OAAA,GAAqC,EAAE,EAAA;AACjD,QAAA,OAAO,IAAI,gBAAgB,CAAC,qBAAqB,EAAE,OAAO,CAAC;;;AAI7D,IAAA,MAAM,YAAY,GAAA;AAChB,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,YAAY,CAAC;;AAGvD;;;AAGG;AACH,IAAA,MAAM,OAAO,GAAA;AACX,QAAA,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/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.dev/license\n */\n\nimport {booleanAttribute} from '@angular/core';\nimport {\n ComponentHarnessConstructor,\n ContentContainerComponentHarness,\n HarnessPredicate,\n} from '@angular/cdk/testing';\nimport {\n ButtonAppearance,\n ButtonHarnessFilters,\n ButtonType,\n ButtonVariant,\n} from './button-harness-filters';\n\n/** Harness for interacting with a mat-button in tests. */\nexport class MatButtonHarness extends ContentContainerComponentHarness {\n // Note: `.mat-mdc-button-base` should be enough for all buttons, however some apps are using\n // the harness without actually having an applied button. Keep the attributes for backwards\n // compatibility.\n\n /** Selector for the harness. */\n static hostSelector = `.mat-mdc-button-base, [matButton], [mat-button], [matIconButton],\n [matFab], [matMiniFab], [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 with specific attributes.\n * @param options Options for narrowing the search:\n * - `selector` finds a button whose host element matches the given selector.\n * - `text` finds a button with specific text content.\n * - `variant` finds buttons matching a specific variant.\n * - `appearance` finds buttons matching a specific appearance.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatButtonHarness>(\n this: ComponentHarnessConstructor<T>,\n options: ButtonHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, 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('appearance', options.appearance, (harness, appearance) =>\n HarnessPredicate.stringMatches(harness.getAppearance(), appearance),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n })\n .addOption('buttonType', options.buttonType, (harness, buttonType) =>\n HarnessPredicate.stringMatches(harness.getType(), buttonType),\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 /** Gets a boolean promise indicating if the button is disabled. */\n async isDisabled(): Promise<boolean> {\n const host = await this.host();\n return (\n booleanAttribute(await host.getAttribute('disabled')) ||\n (await host.hasClass('mat-mdc-button-disabled'))\n );\n }\n\n /** Gets a promise for the button's label text. */\n async getText(): Promise<string> {\n return (await this.host()).text();\n }\n\n /** Focuses the button and returns a void promise that indicates when the action is complete. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the button and returns a void promise that indicates when the action is complete. */\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 // TODO(crisbeto): we're checking both classes and attributes for backwards compatibility\n // with some internal apps that were applying the attribute without importing the directive.\n // Really we should be only targeting the classes.\n if (\n (await host.hasClass('mat-mdc-icon-button')) ||\n (await host.getAttribute('mat-icon-button')) != null\n ) {\n return 'icon';\n }\n\n if (\n (await host.hasClass('mat-mdc-mini-fab')) ||\n (await host.getAttribute('mat-mini-fab')) != null\n ) {\n return 'mini-fab';\n }\n\n if ((await host.hasClass('mat-mdc-fab')) || (await host.getAttribute('mat-fab')) != null) {\n return 'fab';\n }\n\n return 'basic';\n }\n\n /** Gets the appearance of the button. */\n async getAppearance(): Promise<ButtonAppearance | null> {\n const host = await this.host();\n\n if (await host.hasClass('mat-mdc-outlined-button')) {\n return 'outlined';\n }\n\n if (await host.hasClass('mat-mdc-raised-button')) {\n return 'elevated';\n }\n\n if (await host.hasClass('mat-mdc-unelevated-button')) {\n return 'filled';\n }\n\n if (await host.hasClass('mat-mdc-button')) {\n return 'text';\n }\n\n if (await host.hasClass('mat-tonal-button')) {\n return 'tonal';\n }\n\n return null;\n }\n\n /**\n * Gets the type of the button. Supported values are 'button', 'submit', and 'reset'.\n */\n async getType(): Promise<ButtonType | null> {\n const host = await this.host();\n const buttonType = await host.getAttribute('type');\n if (buttonType === 'button' || buttonType === 'submit' || buttonType === 'reset') {\n return buttonType;\n }\n return null;\n }\n}\n"],"names":[],"mappings":";;;AAqBA;AACM,MAAO,gBAAiB,SAAQ,gCAAgC,CAAA;;;;;IAMpE,OAAO,YAAY,GAAG,CAAA;;oDAE4B;AAElD;;;;;;;;AAQG;AACH,IAAA,OAAO,IAAI,CAET,OAAA,GAAgC,EAAE,EAAA;AAElC,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,OAAO;aACtC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,KAC7C,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC;aAExD,SAAS,CAAC,SAAS,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,KACtD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,OAAO,CAAC;aAE9D,SAAS,CAAC,YAAY,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,UAAU,KAC/D,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,UAAU,CAAC;AAEpE,aAAA,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,OAAO,EAAE,QAAQ,KAAI;Y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OAAO,IAAI;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/button-toggle/testing/button-toggle-harness.ts","../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/button-toggle/testing/button-toggle-group-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 {ComponentHarness, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {MatButtonToggleAppearance} from '../button-toggle';\nimport {ButtonToggleHarnessFilters} from './button-toggle-harness-filters';\n\n/** Harness for interacting with a standard mat-button-toggle in tests. */\nexport class MatButtonToggleHarness extends ComponentHarness {\n /** The selector for the host element of a `MatButton` instance. */\n static hostSelector = '.mat-button-toggle';\n\n private _label = this.locatorFor('.mat-button-toggle-label-content');\n private _button = this.locatorFor('.mat-button-toggle-button');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatButtonToggleHarness` that meets\n * certain criteria.\n * @param options Options for filtering which button toggle instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: ButtonToggleHarnessFilters = {}): HarnessPredicate<MatButtonToggleHarness> {\n return new HarnessPredicate(MatButtonToggleHarness, options)\n .addOption('text', options.text, (harness, text) =>\n HarnessPredicate.stringMatches(harness.getText(), text),\n )\n .addOption('name', options.name, (harness, name) =>\n HarnessPredicate.stringMatches(harness.getName(), name),\n )\n .addOption(\n 'checked',\n options.checked,\n async (harness, checked) => (await harness.isChecked()) === checked,\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /** Gets a boolean promise indicating if the button toggle is checked. */\n async isChecked(): Promise<boolean> {\n const button = await this._button();\n const [checked, pressed] = await parallel(() => [\n button.getAttribute('aria-checked'),\n button.getAttribute('aria-pressed'),\n ]);\n return coerceBooleanProperty(checked) || coerceBooleanProperty(pressed);\n }\n\n /** Gets a boolean promise indicating if the button toggle is disabled. */\n async isDisabled(): Promise<boolean> {\n const host = await this.host();\n return host.hasClass('mat-button-toggle-disabled');\n }\n\n /** Gets a promise for the button toggle's name. */\n async getName(): Promise<string | null> {\n return (await this._button()).getAttribute('name');\n }\n\n /** Gets a promise for the button toggle's aria-label. */\n async getAriaLabel(): Promise<string | null> {\n return (await this._button()).getAttribute('aria-label');\n }\n\n /** Gets a promise for the button toggles's aria-labelledby. */\n async getAriaLabelledby(): Promise<string | null> {\n return (await this._button()).getAttribute('aria-labelledby');\n }\n\n /** Gets a promise for the button toggle's text. */\n async getText(): Promise<string> {\n return (await this._label()).text();\n }\n\n /** Gets the appearance that the button toggle is using. */\n async getAppearance(): Promise<MatButtonToggleAppearance> {\n const host = await this.host();\n const className = 'mat-button-toggle-appearance-standard';\n return (await host.hasClass(className)) ? 'standard' : 'legacy';\n }\n\n /** Focuses the toggle. */\n async focus(): Promise<void> {\n return (await this._button()).focus();\n }\n\n /** Blurs the toggle. */\n async blur(): Promise<void> {\n return (await this._button()).blur();\n }\n\n /** Whether the toggle is focused. */\n async isFocused(): Promise<boolean> {\n return (await this._button()).isFocused();\n }\n\n /** Toggle the checked state of the buttons toggle. */\n async toggle(): Promise<void> {\n return (await this._button()).click();\n }\n\n /**\n * Puts the button toggle in a checked state by toggling it if it's\n * currently unchecked, or doing nothing if it is already checked.\n */\n async check(): Promise<void> {\n if (!(await this.isChecked())) {\n await this.toggle();\n }\n }\n\n /**\n * Puts the button toggle in an unchecked state by toggling it if it's\n * currently checked, or doing nothing if it's already unchecked.\n */\n async uncheck(): Promise<void> {\n if (await this.isChecked()) {\n await this.toggle();\n }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {MatButtonToggleAppearance} from '../button-toggle';\nimport {ButtonToggleGroupHarnessFilters} from './button-toggle-group-harness-filters';\nimport {ButtonToggleHarnessFilters} from './button-toggle-harness-filters';\nimport {MatButtonToggleHarness} from './button-toggle-harness';\n\n/** Harness for interacting with a standard mat-button-toggle in tests. */\nexport class MatButtonToggleGroupHarness extends ComponentHarness {\n /** The selector for the host element of a `MatButton` instance. */\n static hostSelector = '.mat-button-toggle-group';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatButtonToggleGroupHarness`\n * that meets certain criteria.\n * @param options Options for filtering which button toggle instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: ButtonToggleGroupHarnessFilters = {},\n ): HarnessPredicate<MatButtonToggleGroupHarness> {\n return new HarnessPredicate(MatButtonToggleGroupHarness, options).addOption(\n 'disabled',\n options.disabled,\n async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n },\n );\n }\n\n /**\n * Gets the button toggles that are inside the group.\n * @param filter Optionally filters which toggles are included.\n */\n async getToggles(filter: ButtonToggleHarnessFilters = {}): Promise<MatButtonToggleHarness[]> {\n return this.locatorForAll(MatButtonToggleHarness.with(filter))();\n }\n\n /** Gets whether the button toggle group is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-disabled')) === 'true';\n }\n\n /** Gets whether the button toggle group is laid out vertically. */\n async isVertical(): Promise<boolean> {\n return (await this.host()).hasClass('mat-button-toggle-vertical');\n }\n\n /** Gets the appearance that the group is using. */\n async getAppearance(): Promise<MatButtonToggleAppearance> {\n const host = await this.host();\n const className = 'mat-button-toggle-group-appearance-standard';\n return (await host.hasClass(className)) ? 'standard' : 'legacy';\n }\n}\n"],"names":[],"mappings":";;;AAaA;AACM,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;;AAE1D,IAAA,OAAO,YAAY,GAAG,oBAAoB;AAElC,IAAA,MAAM,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QAAQ,CAAC,SAAS,CAAC,IAAI,UAAU,GAAG,QAAQ;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/card/testing/card-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 {\n ComponentHarnessConstructor,\n ContentContainerComponentHarness,\n HarnessPredicate,\n} from '@angular/cdk/testing';\nimport {CardHarnessFilters} from './card-harness-filters';\n\n/** Selectors for different sections of the mat-card that can container user content. */\nexport enum MatCardSection {\n HEADER = '.mat-mdc-card-header',\n CONTENT = '.mat-mdc-card-content',\n ACTIONS = '.mat-mdc-card-actions',\n FOOTER = '.mat-mdc-card-footer',\n}\n\n/** Harness for interacting with a mat-card in tests. */\nexport class MatCardHarness extends ContentContainerComponentHarness<MatCardSection> {\n /** The selector for the host element of a `MatCard` instance. */\n static hostSelector = '.mat-mdc-card';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a card with specific attributes.\n * @param options Options for filtering which card instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatCardHarness>(\n this: ComponentHarnessConstructor<T>,\n options: CardHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('text', options.text, (harness, text) =>\n HarnessPredicate.stringMatches(harness.getText(), text),\n )\n .addOption('title', options.title, (harness, title) =>\n HarnessPredicate.stringMatches(harness.getTitleText(), title),\n )\n .addOption('subtitle', options.subtitle, (harness, subtitle) =>\n HarnessPredicate.stringMatches(harness.getSubtitleText(), subtitle),\n );\n }\n\n private _title = this.locatorForOptional('.mat-mdc-card-title');\n private _subtitle = this.locatorForOptional('.mat-mdc-card-subtitle');\n\n /** Gets all of the card's content as text. */\n async getText(): Promise<string> {\n return (await this.host()).text();\n }\n\n /** Gets the cards's title text. */\n async getTitleText(): Promise<string> {\n return (await this._title())?.text() ?? '';\n }\n\n /** Gets the cards's subtitle text. */\n async getSubtitleText(): Promise<string> {\n return (await this._subtitle())?.text() ?? '';\n }\n}\n"],"names":[],"mappings":";;AAeA;IACY;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,QAAA,CAAA,GAAA,sBAA+B;AAC/B,IAAA,cAAA,CAAA,SAAA,CAAA,GAAA,uBAAiC;AACjC,IAAA,cAAA,CAAA,SAAA,CAAA,GAAA,uBAAiC;AACjC,IAAA,cAAA,CAAA,QAAA,CAAA,GAAA,sBAA+B;AACjC,CAAC,EALW,cAAc,KAAd,cAAc,GAKzB,EAAA,CAAA,CAAA;AAED;AACM,MAAO,cAAe,SAAQ,gCAAgD,CAAA;;AAElF,IAAA,OAAO,YAAY,GAAG,eAAe;AAErC;;;;AAIG;AACH,IAAA,OAAO,IAAI,CAET,OAAA,GAA8B,EAAE,EAAA;AAEhC,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,OAAO;aACtC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,KAC7C,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC;aAExD,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAChD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,KAAK,CAAC;aAE9D,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,QAAQ,KACzD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,eAAe,EAAE,EAAE,QAAQ,CAAC,CACpE;;AAGG,IAAA,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,qBAAqB,CAAC;AACvD,IAAA,SAAS,GAAG,IAAI,CAAC,k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