@angular/material 19.2.3 → 19.2.4

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 (262) hide show
  1. package/autocomplete/index.d.ts +12 -5
  2. package/autocomplete/testing/index.d.ts +2 -1
  3. package/badge/index.d.ts +7 -98
  4. package/badge/testing/index.d.ts +3 -1
  5. package/badge.d-49a8a74b.d.ts +98 -0
  6. package/bottom-sheet/index.d.ts +2 -2
  7. package/button/index.d.ts +10 -220
  8. package/button-toggle/index.d.ts +10 -257
  9. package/button-toggle/testing/index.d.ts +4 -1
  10. package/button-toggle.d-edc8acff.d.ts +257 -0
  11. package/card/index.d.ts +3 -2
  12. package/checkbox/index.d.ts +4 -3
  13. package/chips/index.d.ts +8 -4
  14. package/common-module.d-0e6515ae.d.ts +43 -0
  15. package/core/index.d.ts +21 -846
  16. package/core/testing/index.d.ts +3 -61
  17. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +3 -1
  18. package/core/tokens/m3/definitions/_md-sys-color.scss +44 -2
  19. package/core/tokens/m3/definitions/_md-sys-typescale.scss +20 -1
  20. package/date-adapter.d-c6835d41.d.ts +267 -0
  21. package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
  22. package/datepicker/index.d.ts +18 -12
  23. package/datepicker/testing/index.d.ts +5 -277
  24. package/dialog/index.d.ts +12 -360
  25. package/dialog/testing/index.d.ts +6 -1
  26. package/dialog.d-7187c941.d.ts +357 -0
  27. package/divider/index.d.ts +3 -2
  28. package/divider/testing/index.d.ts +2 -14
  29. package/divider-harness.d-d34fede4.d.ts +14 -0
  30. package/error-options.d-448d9046.d.ts +17 -0
  31. package/expansion/index.d.ts +3 -2
  32. package/fesm2022/autocomplete/testing.mjs +2 -1
  33. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  34. package/fesm2022/autocomplete.mjs +14 -3
  35. package/fesm2022/autocomplete.mjs.map +1 -1
  36. package/fesm2022/badge/testing.mjs.map +1 -1
  37. package/fesm2022/badge.mjs +2 -1
  38. package/fesm2022/badge.mjs.map +1 -1
  39. package/fesm2022/bottom-sheet.mjs +3 -1
  40. package/fesm2022/bottom-sheet.mjs.map +1 -1
  41. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  42. package/fesm2022/button-toggle.mjs +7 -1
  43. package/fesm2022/button-toggle.mjs.map +1 -1
  44. package/fesm2022/button.mjs +14 -481
  45. package/fesm2022/button.mjs.map +1 -1
  46. package/fesm2022/card.mjs +3 -1
  47. package/fesm2022/card.mjs.map +1 -1
  48. package/fesm2022/checkbox.mjs +7 -1
  49. package/fesm2022/checkbox.mjs.map +1 -1
  50. package/fesm2022/chips.mjs +11 -2
  51. package/fesm2022/chips.mjs.map +1 -1
  52. package/fesm2022/common-module-a39ee957.mjs +42 -0
  53. package/fesm2022/common-module-a39ee957.mjs.map +1 -0
  54. package/fesm2022/core/testing.mjs +3 -76
  55. package/fesm2022/core/testing.mjs.map +1 -1
  56. package/fesm2022/core.mjs +27 -1587
  57. package/fesm2022/core.mjs.map +1 -1
  58. package/fesm2022/date-formats-b618acb8.mjs +190 -0
  59. package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
  60. package/fesm2022/date-range-input-harness-ee47cdb0.mjs +467 -0
  61. package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +1 -0
  62. package/fesm2022/datepicker/testing.mjs +5 -465
  63. package/fesm2022/datepicker/testing.mjs.map +1 -1
  64. package/fesm2022/datepicker.mjs +23 -13
  65. package/fesm2022/datepicker.mjs.map +1 -1
  66. package/fesm2022/dialog/testing.mjs +12 -1
  67. package/fesm2022/dialog/testing.mjs.map +1 -1
  68. package/fesm2022/dialog.mjs +14 -897
  69. package/fesm2022/dialog.mjs.map +1 -1
  70. package/fesm2022/divider/testing.mjs +2 -17
  71. package/fesm2022/divider/testing.mjs.map +1 -1
  72. package/fesm2022/divider-harness-3394f29a.mjs +18 -0
  73. package/fesm2022/divider-harness-3394f29a.mjs.map +1 -0
  74. package/fesm2022/divider.mjs +3 -1
  75. package/fesm2022/divider.mjs.map +1 -1
  76. package/fesm2022/error-options-aca21924.mjs +29 -0
  77. package/fesm2022/error-options-aca21924.mjs.map +1 -0
  78. package/fesm2022/error-state-8f4ce1af.mjs +37 -0
  79. package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
  80. package/fesm2022/expansion.mjs +3 -1
  81. package/fesm2022/expansion.mjs.map +1 -1
  82. package/fesm2022/form-field/testing/control.mjs +2 -10
  83. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  84. package/fesm2022/form-field/testing.mjs +7 -4
  85. package/fesm2022/form-field/testing.mjs.map +1 -1
  86. package/fesm2022/form-field-50ec956f.mjs +1076 -0
  87. package/fesm2022/form-field-50ec956f.mjs.map +1 -0
  88. package/fesm2022/form-field-control-harness-af6fd278.mjs +11 -0
  89. package/fesm2022/form-field-control-harness-af6fd278.mjs.map +1 -0
  90. package/fesm2022/form-field.mjs +14 -1106
  91. package/fesm2022/form-field.mjs.map +1 -1
  92. package/fesm2022/grid-list/testing.mjs +1 -1
  93. package/fesm2022/grid-list/testing.mjs.map +1 -1
  94. package/fesm2022/grid-list.mjs +8 -147
  95. package/fesm2022/grid-list.mjs.map +1 -1
  96. package/fesm2022/icon/testing.mjs +5 -1
  97. package/fesm2022/icon/testing.mjs.map +1 -1
  98. package/fesm2022/icon-button-655c4ed3.mjs +275 -0
  99. package/fesm2022/icon-button-655c4ed3.mjs.map +1 -0
  100. package/fesm2022/icon-module-881c6455.mjs +395 -0
  101. package/fesm2022/icon-module-881c6455.mjs.map +1 -0
  102. package/fesm2022/icon-registry-e1064d47.mjs +639 -0
  103. package/fesm2022/icon-registry-e1064d47.mjs.map +1 -0
  104. package/fesm2022/icon.mjs +11 -1024
  105. package/fesm2022/icon.mjs.map +1 -1
  106. package/fesm2022/index-2f2536d6.mjs +22 -0
  107. package/fesm2022/index-2f2536d6.mjs.map +1 -0
  108. package/fesm2022/index-a36e3c7c.mjs +20 -0
  109. package/fesm2022/index-a36e3c7c.mjs.map +1 -0
  110. package/fesm2022/input/testing.mjs +5 -113
  111. package/fesm2022/input/testing.mjs.map +1 -1
  112. package/fesm2022/input-harness-ed59decc.mjs +115 -0
  113. package/fesm2022/input-harness-ed59decc.mjs.map +1 -0
  114. package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
  115. package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
  116. package/fesm2022/input.mjs +14 -12
  117. package/fesm2022/input.mjs.map +1 -1
  118. package/fesm2022/internal-form-field-5960ea2e.mjs +27 -0
  119. package/fesm2022/internal-form-field-5960ea2e.mjs.map +1 -0
  120. package/fesm2022/line-11b0093d.mjs +59 -0
  121. package/fesm2022/line-11b0093d.mjs.map +1 -0
  122. package/fesm2022/list/testing.mjs +1 -1
  123. package/fesm2022/list/testing.mjs.map +1 -1
  124. package/fesm2022/list.mjs +8 -1
  125. package/fesm2022/list.mjs.map +1 -1
  126. package/fesm2022/menu.mjs +5 -1
  127. package/fesm2022/menu.mjs.map +1 -1
  128. package/fesm2022/module-0776ab9b.mjs +38 -0
  129. package/fesm2022/module-0776ab9b.mjs.map +1 -0
  130. package/fesm2022/module-087ecec3.mjs +970 -0
  131. package/fesm2022/module-087ecec3.mjs.map +1 -0
  132. package/fesm2022/module-6b33072b.mjs +218 -0
  133. package/fesm2022/module-6b33072b.mjs.map +1 -0
  134. package/fesm2022/module-b0a3e0af.mjs +1293 -0
  135. package/fesm2022/module-b0a3e0af.mjs.map +1 -0
  136. package/fesm2022/module-b3de5709.mjs +899 -0
  137. package/fesm2022/module-b3de5709.mjs.map +1 -0
  138. package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
  139. package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
  140. package/fesm2022/option-cb353f7a.mjs +348 -0
  141. package/fesm2022/option-cb353f7a.mjs.map +1 -0
  142. package/fesm2022/option-harness-3b7c1106.mjs +46 -0
  143. package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
  144. package/fesm2022/paginator/testing.mjs +4 -1
  145. package/fesm2022/paginator/testing.mjs.map +1 -1
  146. package/fesm2022/paginator.mjs +33 -7
  147. package/fesm2022/paginator.mjs.map +1 -1
  148. package/fesm2022/progress-bar.mjs +3 -1
  149. package/fesm2022/progress-bar.mjs.map +1 -1
  150. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  151. package/fesm2022/progress-spinner.mjs +3 -1
  152. package/fesm2022/progress-spinner.mjs.map +1 -1
  153. package/fesm2022/pseudo-checkbox-4a60d45e.mjs +52 -0
  154. package/fesm2022/pseudo-checkbox-4a60d45e.mjs.map +1 -0
  155. package/fesm2022/pseudo-checkbox-module-31a58606.mjs +20 -0
  156. package/fesm2022/pseudo-checkbox-module-31a58606.mjs.map +1 -0
  157. package/fesm2022/public-api-c5ab57f5.mjs +147 -0
  158. package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
  159. package/fesm2022/radio.mjs +8 -1
  160. package/fesm2022/radio.mjs.map +1 -1
  161. package/fesm2022/ripple-5bdada85.mjs +639 -0
  162. package/fesm2022/ripple-5bdada85.mjs.map +1 -0
  163. package/fesm2022/ripple-loader-dabcd93d.mjs +165 -0
  164. package/fesm2022/ripple-loader-dabcd93d.mjs.map +1 -0
  165. package/fesm2022/select/testing.mjs +5 -121
  166. package/fesm2022/select/testing.mjs.map +1 -1
  167. package/fesm2022/select-harness-8c55824d.mjs +123 -0
  168. package/fesm2022/select-harness-8c55824d.mjs.map +1 -0
  169. package/fesm2022/select.mjs +30 -1288
  170. package/fesm2022/select.mjs.map +1 -1
  171. package/fesm2022/sidenav.mjs +1 -1
  172. package/fesm2022/sidenav.mjs.map +1 -1
  173. package/fesm2022/slide-toggle.mjs +7 -1
  174. package/fesm2022/slide-toggle.mjs.map +1 -1
  175. package/fesm2022/slider.mjs +6 -1
  176. package/fesm2022/slider.mjs.map +1 -1
  177. package/fesm2022/snack-bar.mjs +10 -2
  178. package/fesm2022/snack-bar.mjs.map +1 -1
  179. package/fesm2022/sort/testing.mjs.map +1 -1
  180. package/fesm2022/sort.mjs +3 -1
  181. package/fesm2022/sort.mjs.map +1 -1
  182. package/fesm2022/stepper.mjs +11 -2
  183. package/fesm2022/stepper.mjs.map +1 -1
  184. package/fesm2022/structural-styles-326dcb39.mjs +18 -0
  185. package/fesm2022/structural-styles-326dcb39.mjs.map +1 -0
  186. package/fesm2022/table.mjs +3 -1
  187. package/fesm2022/table.mjs.map +1 -1
  188. package/fesm2022/tabs.mjs +4 -1
  189. package/fesm2022/tabs.mjs.map +1 -1
  190. package/fesm2022/timepicker/testing.mjs +1 -1
  191. package/fesm2022/timepicker/testing.mjs.map +1 -1
  192. package/fesm2022/timepicker.mjs +19 -5
  193. package/fesm2022/timepicker.mjs.map +1 -1
  194. package/fesm2022/toolbar.mjs +3 -1
  195. package/fesm2022/toolbar.mjs.map +1 -1
  196. package/fesm2022/tooltip.mjs +15 -968
  197. package/fesm2022/tooltip.mjs.map +1 -1
  198. package/fesm2022/tree.mjs +3 -1
  199. package/fesm2022/tree.mjs.map +1 -1
  200. package/form-field/index.d.ts +12 -437
  201. package/form-field/testing/control/index.d.ts +2 -10
  202. package/form-field/testing/index.d.ts +7 -5
  203. package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
  204. package/form-field-control.d-eb86711c.d.ts +62 -0
  205. package/form-field.d-2edbc094.d.ts +367 -0
  206. package/grid-list/index.d.ts +5 -3
  207. package/icon/index.d.ts +9 -449
  208. package/icon/testing/index.d.ts +3 -1
  209. package/icon-module.d-aa3bbba0.d.ts +167 -0
  210. package/icon-registry.d-1dffe9de.d.ts +286 -0
  211. package/index.d-0536b706.d.ts +11 -0
  212. package/index.d-37e31cd3.d.ts +13 -0
  213. package/input/index.d.ts +11 -6
  214. package/input/testing/index.d.ts +4 -59
  215. package/input-harness.d-4eecd1d3.d.ts +60 -0
  216. package/line.d-570a2537.d.ts +25 -0
  217. package/list/index.d.ts +13 -19
  218. package/list/testing/index.d.ts +2 -2
  219. package/list-option-types.d-8739f903.d.ts +15 -0
  220. package/menu/index.d.ts +6 -3
  221. package/module.d-74a721b9.d.ts +326 -0
  222. package/module.d-ba05faa6.d.ts +448 -0
  223. package/module.d-c17c834e.d.ts +18 -0
  224. package/module.d-f490a6d4.d.ts +224 -0
  225. package/optgroup-harness.d-7f741f69.d.ts +31 -0
  226. package/option-harness.d-3d33fc9a.d.ts +34 -0
  227. package/option-parent.d-559ad5c5.d.ts +19 -0
  228. package/option.d-6f493d78.d.ts +146 -0
  229. package/package.json +2 -2
  230. package/paginator/index.d.ts +29 -201
  231. package/paginator/testing/index.d.ts +4 -1
  232. package/paginator.d-40b1766e.d.ts +199 -0
  233. package/palette.d-ec4a617c.d.ts +4 -0
  234. package/progress-bar/index.d.ts +4 -3
  235. package/progress-spinner/index.d.ts +7 -96
  236. package/progress-spinner/testing/index.d.ts +3 -1
  237. package/progress-spinner.d-1fc040c5.d.ts +96 -0
  238. package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
  239. package/radio/index.d.ts +7 -3
  240. package/ripple-loader.d-8aac2988.d.ts +48 -0
  241. package/ripple.d-2fb57d04.d.ts +255 -0
  242. package/schematics/ng-add/index.js +1 -1
  243. package/schematics/ng-add/index.mjs +1 -1
  244. package/select/index.d.ts +24 -446
  245. package/select/testing/index.d.ts +5 -62
  246. package/select-harness.d-7441a7ac.d.ts +63 -0
  247. package/sidenav/index.d.ts +4 -3
  248. package/slide-toggle/index.d.ts +4 -3
  249. package/slider/index.d.ts +6 -3
  250. package/snack-bar/index.d.ts +8 -3
  251. package/sort/index.d.ts +10 -88
  252. package/sort/testing/index.d.ts +1 -1
  253. package/sort-direction.d-f4ce4649.d.ts +3 -0
  254. package/sort.d-c2b79a45.d.ts +87 -0
  255. package/stepper/index.d.ts +9 -4
  256. package/table/index.d.ts +11 -4
  257. package/tabs/index.d.ts +5 -3
  258. package/timepicker/index.d.ts +6 -3
  259. package/timepicker/testing/index.d.ts +1 -1
  260. package/toolbar/index.d.ts +3 -2
  261. package/tooltip/index.d.ts +10 -325
  262. package/tree/index.d.ts +3 -2
@@ -0,0 +1,286 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import * as i0 from '@angular/core';
3
+ import { OnDestroy, ErrorHandler, Optional } from '@angular/core';
4
+ import { SafeResourceUrl, SafeHtml, DomSanitizer } from '@angular/platform-browser';
5
+ import { Observable } from 'rxjs';
6
+
7
+ /**
8
+ * Returns an exception to be thrown in the case when attempting to
9
+ * load an icon with a name that cannot be found.
10
+ * @docs-private
11
+ */
12
+ declare function getMatIconNameNotFoundError(iconName: string): Error;
13
+ /**
14
+ * Returns an exception to be thrown when the consumer attempts to use
15
+ * `<mat-icon>` without including @angular/common/http.
16
+ * @docs-private
17
+ */
18
+ declare function getMatIconNoHttpProviderError(): Error;
19
+ /**
20
+ * Returns an exception to be thrown when a URL couldn't be sanitized.
21
+ * @param url URL that was attempted to be sanitized.
22
+ * @docs-private
23
+ */
24
+ declare function getMatIconFailedToSanitizeUrlError(url: SafeResourceUrl): Error;
25
+ /**
26
+ * Returns an exception to be thrown when a HTML string couldn't be sanitized.
27
+ * @param literal HTML that was attempted to be sanitized.
28
+ * @docs-private
29
+ */
30
+ declare function getMatIconFailedToSanitizeLiteralError(literal: SafeHtml): Error;
31
+ /** Options that can be used to configure how an icon or the icons in an icon set are presented. */
32
+ interface IconOptions {
33
+ /** View box to set on the icon. */
34
+ viewBox?: string;
35
+ /** Whether or not to fetch the icon or icon set using HTTP credentials. */
36
+ withCredentials?: boolean;
37
+ }
38
+ /**
39
+ * Function that will be invoked by the icon registry when trying to resolve the
40
+ * URL from which to fetch an icon. The returned URL will be used to make a request for the icon.
41
+ */
42
+ type IconResolver = (name: string, namespace: string) => SafeResourceUrl | SafeResourceUrlWithIconOptions | null;
43
+ /** Object that specifies a URL from which to fetch an icon and the options to use for it. */
44
+ interface SafeResourceUrlWithIconOptions {
45
+ url: SafeResourceUrl;
46
+ options: IconOptions;
47
+ }
48
+ /**
49
+ * Service to register and display icons used by the `<mat-icon>` component.
50
+ * - Registers icon URLs by namespace and name.
51
+ * - Registers icon set URLs by namespace.
52
+ * - Registers aliases for CSS classes, for use with icon fonts.
53
+ * - Loads icons from URLs and extracts individual icons from icon sets.
54
+ */
55
+ declare class MatIconRegistry implements OnDestroy {
56
+ private _httpClient;
57
+ private _sanitizer;
58
+ private readonly _errorHandler;
59
+ private _document;
60
+ /**
61
+ * URLs and cached SVG elements for individual icons. Keys are of the format "[namespace]:[icon]".
62
+ */
63
+ private _svgIconConfigs;
64
+ /**
65
+ * SvgIconConfig objects and cached SVG elements for icon sets, keyed by namespace.
66
+ * Multiple icon sets can be registered under the same namespace.
67
+ */
68
+ private _iconSetConfigs;
69
+ /** Cache for icons loaded by direct URLs. */
70
+ private _cachedIconsByUrl;
71
+ /** In-progress icon fetches. Used to coalesce multiple requests to the same URL. */
72
+ private _inProgressUrlFetches;
73
+ /** Map from font identifiers to their CSS class names. Used for icon fonts. */
74
+ private _fontCssClassesByAlias;
75
+ /** Registered icon resolver functions. */
76
+ private _resolvers;
77
+ /**
78
+ * The CSS classes to apply when an `<mat-icon>` component has no icon name, url, or font
79
+ * specified. The default 'material-icons' value assumes that the material icon font has been
80
+ * loaded as described at https://google.github.io/material-design-icons/#icon-font-for-the-web
81
+ */
82
+ private _defaultFontSetClass;
83
+ constructor(_httpClient: HttpClient, _sanitizer: DomSanitizer, document: any, _errorHandler: ErrorHandler);
84
+ /**
85
+ * Registers an icon by URL in the default namespace.
86
+ * @param iconName Name under which the icon should be registered.
87
+ * @param url
88
+ */
89
+ addSvgIcon(iconName: string, url: SafeResourceUrl, options?: IconOptions): this;
90
+ /**
91
+ * Registers an icon using an HTML string in the default namespace.
92
+ * @param iconName Name under which the icon should be registered.
93
+ * @param literal SVG source of the icon.
94
+ */
95
+ addSvgIconLiteral(iconName: string, literal: SafeHtml, options?: IconOptions): this;
96
+ /**
97
+ * Registers an icon by URL in the specified namespace.
98
+ * @param namespace Namespace in which the icon should be registered.
99
+ * @param iconName Name under which the icon should be registered.
100
+ * @param url
101
+ */
102
+ addSvgIconInNamespace(namespace: string, iconName: string, url: SafeResourceUrl, options?: IconOptions): this;
103
+ /**
104
+ * Registers an icon resolver function with the registry. The function will be invoked with the
105
+ * name and namespace of an icon when the registry tries to resolve the URL from which to fetch
106
+ * the icon. The resolver is expected to return a `SafeResourceUrl` that points to the icon,
107
+ * an object with the icon URL and icon options, or `null` if the icon is not supported. Resolvers
108
+ * will be invoked in the order in which they have been registered.
109
+ * @param resolver Resolver function to be registered.
110
+ */
111
+ addSvgIconResolver(resolver: IconResolver): this;
112
+ /**
113
+ * Registers an icon using an HTML string in the specified namespace.
114
+ * @param namespace Namespace in which the icon should be registered.
115
+ * @param iconName Name under which the icon should be registered.
116
+ * @param literal SVG source of the icon.
117
+ */
118
+ addSvgIconLiteralInNamespace(namespace: string, iconName: string, literal: SafeHtml, options?: IconOptions): this;
119
+ /**
120
+ * Registers an icon set by URL in the default namespace.
121
+ * @param url
122
+ */
123
+ addSvgIconSet(url: SafeResourceUrl, options?: IconOptions): this;
124
+ /**
125
+ * Registers an icon set using an HTML string in the default namespace.
126
+ * @param literal SVG source of the icon set.
127
+ */
128
+ addSvgIconSetLiteral(literal: SafeHtml, options?: IconOptions): this;
129
+ /**
130
+ * Registers an icon set by URL in the specified namespace.
131
+ * @param namespace Namespace in which to register the icon set.
132
+ * @param url
133
+ */
134
+ addSvgIconSetInNamespace(namespace: string, url: SafeResourceUrl, options?: IconOptions): this;
135
+ /**
136
+ * Registers an icon set using an HTML string in the specified namespace.
137
+ * @param namespace Namespace in which to register the icon set.
138
+ * @param literal SVG source of the icon set.
139
+ */
140
+ addSvgIconSetLiteralInNamespace(namespace: string, literal: SafeHtml, options?: IconOptions): this;
141
+ /**
142
+ * Defines an alias for CSS class names to be used for icon fonts. Creating an matIcon
143
+ * component with the alias as the fontSet input will cause the class name to be applied
144
+ * to the `<mat-icon>` element.
145
+ *
146
+ * If the registered font is a ligature font, then don't forget to also include the special
147
+ * class `mat-ligature-font` to allow the usage via attribute. So register like this:
148
+ *
149
+ * ```ts
150
+ * iconRegistry.registerFontClassAlias('f1', 'font1 mat-ligature-font');
151
+ * ```
152
+ *
153
+ * And use like this:
154
+ *
155
+ * ```html
156
+ * <mat-icon fontSet="f1" fontIcon="home"></mat-icon>
157
+ * ```
158
+ *
159
+ * @param alias Alias for the font.
160
+ * @param classNames Class names override to be used instead of the alias.
161
+ */
162
+ registerFontClassAlias(alias: string, classNames?: string): this;
163
+ /**
164
+ * Returns the CSS class name associated with the alias by a previous call to
165
+ * registerFontClassAlias. If no CSS class has been associated, returns the alias unmodified.
166
+ */
167
+ classNameForFontAlias(alias: string): string;
168
+ /**
169
+ * Sets the CSS classes to be used for icon fonts when an `<mat-icon>` component does not
170
+ * have a fontSet input value, and is not loading an icon by name or URL.
171
+ */
172
+ setDefaultFontSetClass(...classNames: string[]): this;
173
+ /**
174
+ * Returns the CSS classes to be used for icon fonts when an `<mat-icon>` component does not
175
+ * have a fontSet input value, and is not loading an icon by name or URL.
176
+ */
177
+ getDefaultFontSetClass(): string[];
178
+ /**
179
+ * Returns an Observable that produces the icon (as an `<svg>` DOM element) from the given URL.
180
+ * The response from the URL may be cached so this will not always cause an HTTP request, but
181
+ * the produced element will always be a new copy of the originally fetched icon. (That is,
182
+ * it will not contain any modifications made to elements previously returned).
183
+ *
184
+ * @param safeUrl URL from which to fetch the SVG icon.
185
+ */
186
+ getSvgIconFromUrl(safeUrl: SafeResourceUrl): Observable<SVGElement>;
187
+ /**
188
+ * Returns an Observable that produces the icon (as an `<svg>` DOM element) with the given name
189
+ * and namespace. The icon must have been previously registered with addIcon or addIconSet;
190
+ * if not, the Observable will throw an error.
191
+ *
192
+ * @param name Name of the icon to be retrieved.
193
+ * @param namespace Namespace in which to look for the icon.
194
+ */
195
+ getNamedSvgIcon(name: string, namespace?: string): Observable<SVGElement>;
196
+ ngOnDestroy(): void;
197
+ /**
198
+ * Returns the cached icon for a SvgIconConfig if available, or fetches it from its URL if not.
199
+ */
200
+ private _getSvgFromConfig;
201
+ /**
202
+ * Attempts to find an icon with the specified name in any of the SVG icon sets.
203
+ * First searches the available cached icons for a nested element with a matching name, and
204
+ * if found copies the element to a new `<svg>` element. If not found, fetches all icon sets
205
+ * that have not been cached, and searches again after all fetches are completed.
206
+ * The returned Observable produces the SVG element if possible, and throws
207
+ * an error if no icon with the specified name can be found.
208
+ */
209
+ private _getSvgFromIconSetConfigs;
210
+ /**
211
+ * Searches the cached SVG elements for the given icon sets for a nested icon element whose "id"
212
+ * tag matches the specified name. If found, copies the nested element to a new SVG element and
213
+ * returns it. Returns null if no matching element is found.
214
+ */
215
+ private _extractIconWithNameFromAnySet;
216
+ /**
217
+ * Loads the content of the icon URL specified in the SvgIconConfig and creates an SVG element
218
+ * from it.
219
+ */
220
+ private _loadSvgIconFromConfig;
221
+ /**
222
+ * Loads the content of the icon set URL specified in the
223
+ * SvgIconConfig and attaches it to the config.
224
+ */
225
+ private _loadSvgIconSetFromConfig;
226
+ /**
227
+ * Searches the cached element of the given SvgIconConfig for a nested icon element whose "id"
228
+ * tag matches the specified name. If found, copies the nested element to a new SVG element and
229
+ * returns it. Returns null if no matching element is found.
230
+ */
231
+ private _extractSvgIconFromSet;
232
+ /**
233
+ * Creates a DOM element from the given SVG string.
234
+ */
235
+ private _svgElementFromString;
236
+ /**
237
+ * Converts an element into an SVG node by cloning all of its children.
238
+ */
239
+ private _toSvgElement;
240
+ /**
241
+ * Sets the default attributes for an SVG element to be used as an icon.
242
+ */
243
+ private _setSvgAttributes;
244
+ /**
245
+ * Returns an Observable which produces the string contents of the given icon. Results may be
246
+ * cached, so future calls with the same URL may not cause another HTTP request.
247
+ */
248
+ private _fetchIcon;
249
+ /**
250
+ * Registers an icon config by name in the specified namespace.
251
+ * @param namespace Namespace in which to register the icon config.
252
+ * @param iconName Name under which to register the config.
253
+ * @param config Config to be registered.
254
+ */
255
+ private _addSvgIconConfig;
256
+ /**
257
+ * Registers an icon set config in the specified namespace.
258
+ * @param namespace Namespace in which to register the icon config.
259
+ * @param config Config to be registered.
260
+ */
261
+ private _addSvgIconSetConfig;
262
+ /** Parses a config's text into an SVG element. */
263
+ private _svgElementFromConfig;
264
+ /** Tries to create an icon config through the registered resolver functions. */
265
+ private _getIconConfigFromResolvers;
266
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatIconRegistry, [{ optional: true; }, null, { optional: true; }, null]>;
267
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatIconRegistry>;
268
+ }
269
+ /**
270
+ * @docs-private
271
+ * @deprecated No longer used, will be removed.
272
+ * @breaking-change 21.0.0
273
+ */
274
+ declare function ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry: MatIconRegistry, httpClient: HttpClient, sanitizer: DomSanitizer, errorHandler: ErrorHandler, document?: any): MatIconRegistry;
275
+ /**
276
+ * @docs-private
277
+ * @deprecated No longer used, will be removed.
278
+ * @breaking-change 21.0.0
279
+ */
280
+ declare const ICON_REGISTRY_PROVIDER: {
281
+ provide: typeof MatIconRegistry;
282
+ deps: (Optional[] | typeof DomSanitizer | typeof ErrorHandler)[];
283
+ useFactory: typeof ICON_REGISTRY_PROVIDER_FACTORY;
284
+ };
285
+
286
+ export { type IconOptions as I, MatIconRegistry as M, type SafeResourceUrlWithIconOptions as S, getMatIconNoHttpProviderError as a, getMatIconFailedToSanitizeUrlError as b, getMatIconFailedToSanitizeLiteralError as c, type IconResolver as d, ICON_REGISTRY_PROVIDER_FACTORY as e, ICON_REGISTRY_PROVIDER as f, getMatIconNameNotFoundError as g };
@@ -0,0 +1,11 @@
1
+ import * as i0 from '@angular/core';
2
+ import { M as MatCommonModule } from './common-module.d-0e6515ae.js';
3
+ import { M as MatRipple } from './ripple.d-2fb57d04.js';
4
+
5
+ declare class MatRippleModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatRippleModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatRippleModule, never, [typeof MatCommonModule, typeof MatRipple], [typeof MatRipple, typeof MatCommonModule]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatRippleModule>;
9
+ }
10
+
11
+ export { MatRippleModule as M };
@@ -0,0 +1,13 @@
1
+ import * as i0 from '@angular/core';
2
+ import { M as MatRippleModule } from './index.d-0536b706.js';
3
+ import { M as MatCommonModule } from './common-module.d-0e6515ae.js';
4
+ import { M as MatPseudoCheckboxModule } from './pseudo-checkbox-module.d-3abc0461.js';
5
+ import { M as MatOption, a as MatOptgroup } from './option.d-6f493d78.js';
6
+
7
+ declare class MatOptionModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatOptionModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatOptionModule, never, [typeof MatRippleModule, typeof MatCommonModule, typeof MatPseudoCheckboxModule, typeof MatOption, typeof MatOptgroup], [typeof MatOption, typeof MatOptgroup]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatOptionModule>;
11
+ }
12
+
13
+ export { MatOptionModule as M };
package/input/index.d.ts CHANGED
@@ -3,13 +3,18 @@ import { Platform } from '@angular/cdk/platform';
3
3
  import * as i0 from '@angular/core';
4
4
  import { InjectionToken, OnChanges, OnDestroy, AfterViewInit, DoCheck, ElementRef, WritableSignal } from '@angular/core';
5
5
  import { NgControl } from '@angular/forms';
6
- import * as i1 from '@angular/material/core';
7
- import { ErrorStateMatcher } from '@angular/material/core';
8
- import * as i2 from '@angular/material/form-field';
9
- import { MatFormFieldControl, MatFormField } from '@angular/material/form-field';
10
- export { MatError, MatFormField, MatHint, MatLabel, MatPrefix, MatSuffix } from '@angular/material/form-field';
11
6
  import { Subject } from 'rxjs';
7
+ import { E as ErrorStateMatcher } from '../error-options.d-448d9046.js';
8
+ import { k as MatFormField } from '../form-field.d-2edbc094.js';
9
+ export { a as MatError, k as MatFormField, b as MatHint, d as MatPrefix, f as MatSuffix } from '../form-field.d-2edbc094.js';
10
+ import { M as MatFormFieldControl } from '../form-field-control.d-eb86711c.js';
11
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
12
+ import { a as MatFormFieldModule } from '../module.d-c17c834e.js';
13
+ export { M as MatLabel } from '../module.d-c17c834e.js';
12
14
  import * as i4 from '@angular/cdk/text-field';
15
+ import '../palette.d-ec4a617c.js';
16
+ import '@angular/cdk/bidi';
17
+ import '@angular/cdk/observers';
13
18
 
14
19
  /** Object that can be used to configure the default options for the input. */
15
20
  interface MatInputConfig {
@@ -191,7 +196,7 @@ declare class MatInput implements MatFormFieldControl<any>, OnChanges, OnDestroy
191
196
 
192
197
  declare class MatInputModule {
193
198
  static ɵfac: i0.ɵɵFactoryDeclaration<MatInputModule, never>;
194
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatInputModule, never, [typeof i1.MatCommonModule, typeof i2.MatFormFieldModule, typeof MatInput], [typeof MatInput, typeof i2.MatFormFieldModule, typeof i4.TextFieldModule, typeof i1.MatCommonModule]>;
199
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatInputModule, never, [typeof MatCommonModule, typeof MatFormFieldModule, typeof MatInput], [typeof MatInput, typeof MatFormFieldModule, typeof i4.TextFieldModule, typeof MatCommonModule]>;
195
200
  static ɵinj: i0.ɵɵInjectorDeclaration<MatInputModule>;
196
201
  }
197
202
 
@@ -1,61 +1,6 @@
1
- import { BaseHarnessFilters, HarnessPredicate, ComponentHarness } from '@angular/cdk/testing';
2
- import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control';
3
-
4
- /** A set of criteria that can be used to filter a list of `MatInputHarness` instances. */
5
- interface InputHarnessFilters extends BaseHarnessFilters {
6
- /** Filters based on the value of the input. */
7
- value?: string | RegExp;
8
- /** Filters based on the placeholder text of the input. */
9
- placeholder?: string | RegExp;
10
- }
11
-
12
- /** Harness for interacting with a standard Material inputs in tests. */
13
- declare class MatInputHarness extends MatFormFieldControlHarness {
14
- static hostSelector: string;
15
- /**
16
- * Gets a `HarnessPredicate` that can be used to search for a `MatInputHarness` that meets
17
- * certain criteria.
18
- * @param options Options for filtering which input instances are considered a match.
19
- * @return a `HarnessPredicate` configured with the given options.
20
- */
21
- static with(options?: InputHarnessFilters): HarnessPredicate<MatInputHarness>;
22
- /** Whether the input is disabled. */
23
- isDisabled(): Promise<boolean>;
24
- /** Whether the input is required. */
25
- isRequired(): Promise<boolean>;
26
- /** Whether the input is readonly. */
27
- isReadonly(): Promise<boolean>;
28
- /** Gets the value of the input. */
29
- getValue(): Promise<string>;
30
- /** Gets the name of the input. */
31
- getName(): Promise<string>;
32
- /**
33
- * Gets the type of the input. Returns "textarea" if the input is
34
- * a textarea.
35
- */
36
- getType(): Promise<string>;
37
- /** Gets the placeholder of the input. */
38
- getPlaceholder(): Promise<string>;
39
- /** Gets the id of the input. */
40
- getId(): Promise<string>;
41
- /**
42
- * Focuses the input and returns a promise that indicates when the
43
- * action is complete.
44
- */
45
- focus(): Promise<void>;
46
- /**
47
- * Blurs the input and returns a promise that indicates when the
48
- * action is complete.
49
- */
50
- blur(): Promise<void>;
51
- /** Whether the input is focused. */
52
- isFocused(): Promise<boolean>;
53
- /**
54
- * Sets the value of the input. The value will be set by simulating
55
- * keypresses that correspond to the given value.
56
- */
57
- setValue(newValue: string): Promise<void>;
58
- }
1
+ export { I as InputHarnessFilters, M as MatInputHarness } from '../../input-harness.d-4eecd1d3.js';
2
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
3
+ import { M as MatFormFieldControlHarness } from '../../form-field-control-harness.d-2d91f25a.js';
59
4
 
60
5
  /** A set of criteria that can be used to filter a list of `MatNativeSelectHarness` instances. */
61
6
  interface NativeSelectHarnessFilters extends BaseHarnessFilters {
@@ -123,4 +68,4 @@ declare class MatNativeSelectHarness extends MatFormFieldControlHarness {
123
68
  selectOptions(filter?: NativeOptionHarnessFilters): Promise<void>;
124
69
  }
125
70
 
126
- export { type InputHarnessFilters, MatInputHarness, MatNativeOptionHarness, MatNativeSelectHarness, type NativeOptionHarnessFilters, type NativeSelectHarnessFilters };
71
+ export { MatNativeOptionHarness, MatNativeSelectHarness, type NativeOptionHarnessFilters, type NativeSelectHarnessFilters };
@@ -0,0 +1,60 @@
1
+ import { BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing';
2
+ import { M as MatFormFieldControlHarness } from './form-field-control-harness.d-2d91f25a.js';
3
+
4
+ /** A set of criteria that can be used to filter a list of `MatInputHarness` instances. */
5
+ interface InputHarnessFilters extends BaseHarnessFilters {
6
+ /** Filters based on the value of the input. */
7
+ value?: string | RegExp;
8
+ /** Filters based on the placeholder text of the input. */
9
+ placeholder?: string | RegExp;
10
+ }
11
+
12
+ /** Harness for interacting with a standard Material inputs in tests. */
13
+ declare class MatInputHarness extends MatFormFieldControlHarness {
14
+ static hostSelector: string;
15
+ /**
16
+ * Gets a `HarnessPredicate` that can be used to search for a `MatInputHarness` that meets
17
+ * certain criteria.
18
+ * @param options Options for filtering which input instances are considered a match.
19
+ * @return a `HarnessPredicate` configured with the given options.
20
+ */
21
+ static with(options?: InputHarnessFilters): HarnessPredicate<MatInputHarness>;
22
+ /** Whether the input is disabled. */
23
+ isDisabled(): Promise<boolean>;
24
+ /** Whether the input is required. */
25
+ isRequired(): Promise<boolean>;
26
+ /** Whether the input is readonly. */
27
+ isReadonly(): Promise<boolean>;
28
+ /** Gets the value of the input. */
29
+ getValue(): Promise<string>;
30
+ /** Gets the name of the input. */
31
+ getName(): Promise<string>;
32
+ /**
33
+ * Gets the type of the input. Returns "textarea" if the input is
34
+ * a textarea.
35
+ */
36
+ getType(): Promise<string>;
37
+ /** Gets the placeholder of the input. */
38
+ getPlaceholder(): Promise<string>;
39
+ /** Gets the id of the input. */
40
+ getId(): Promise<string>;
41
+ /**
42
+ * Focuses the input and returns a promise that indicates when the
43
+ * action is complete.
44
+ */
45
+ focus(): Promise<void>;
46
+ /**
47
+ * Blurs the input and returns a promise that indicates when the
48
+ * action is complete.
49
+ */
50
+ blur(): Promise<void>;
51
+ /** Whether the input is focused. */
52
+ isFocused(): Promise<boolean>;
53
+ /**
54
+ * Sets the value of the input. The value will be set by simulating
55
+ * keypresses that correspond to the given value.
56
+ */
57
+ setValue(newValue: string): Promise<void>;
58
+ }
59
+
60
+ export { type InputHarnessFilters as I, MatInputHarness as M };
@@ -0,0 +1,25 @@
1
+ import * as i0 from '@angular/core';
2
+ import { QueryList, ElementRef } from '@angular/core';
3
+ import { M as MatCommonModule } from './common-module.d-0e6515ae.js';
4
+
5
+ /**
6
+ * Shared directive to count lines inside a text area, such as a list item.
7
+ * Line elements can be extracted with a @ContentChildren(MatLine) query, then
8
+ * counted by checking the query list's length.
9
+ */
10
+ declare class MatLine {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatLine, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatLine, "[mat-line], [matLine]", never, {}, {}, never, never, true, never>;
13
+ }
14
+ /**
15
+ * Helper that takes a query list of lines and sets the correct class on the host.
16
+ * @docs-private
17
+ */
18
+ declare function setLines(lines: QueryList<unknown>, element: ElementRef<HTMLElement>, prefix?: string): void;
19
+ declare class MatLineModule {
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatLineModule, never>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatLineModule, never, [typeof MatCommonModule, typeof MatLine], [typeof MatLine, typeof MatCommonModule]>;
22
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatLineModule>;
23
+ }
24
+
25
+ export { MatLine as M, MatLineModule as a, setLines as s };
package/list/index.d.ts CHANGED
@@ -1,12 +1,20 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, ElementRef, AfterViewInit, OnDestroy, NgZone, QueryList, OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import { BooleanInput } from '@angular/cdk/coercion';
4
- import * as i1 from '@angular/material/core';
5
- import { RippleTarget, RippleConfig, RippleGlobalOptions, ThemePalette } from '@angular/material/core';
4
+ import { a as RippleTarget, f as RippleConfig, b as RippleGlobalOptions } from '../ripple.d-2fb57d04.js';
5
+ import { L as ListOption, M as MatListOptionTogglePosition } from '../list-option-types.d-8739f903.js';
6
+ export { M as MatListOptionCheckboxPosition, M as MatListOptionTogglePosition } from '../list-option-types.d-8739f903.js';
7
+ import * as i12 from '@angular/material/divider';
8
+ export { MatDivider } from '@angular/material/divider';
6
9
  import * as i2 from '@angular/cdk/observers';
10
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
11
+ import { M as MatRippleModule } from '../index.d-0536b706.js';
12
+ import { M as MatPseudoCheckboxModule } from '../pseudo-checkbox-module.d-3abc0461.js';
7
13
  import { SelectionModel } from '@angular/cdk/collections';
8
14
  import { ControlValueAccessor } from '@angular/forms';
9
- import * as i10 from '@angular/material/divider';
15
+ import { T as ThemePalette } from '../palette.d-ec4a617c.js';
16
+ import '@angular/cdk/platform';
17
+ import '@angular/cdk/bidi';
10
18
 
11
19
  /** Object that can be used to configure the default options for the list module. */
12
20
  interface MatListConfig {
@@ -16,20 +24,6 @@ interface MatListConfig {
16
24
  /** Injection token that can be used to provide the default options for the list module. */
17
25
  declare const MAT_LIST_CONFIG: InjectionToken<MatListConfig>;
18
26
 
19
- /**
20
- * Type describing possible positions of a checkbox or radio in a list option
21
- * with respect to the list item's text.
22
- */
23
- type MatListOptionTogglePosition = 'before' | 'after';
24
- /**
25
- * Interface describing a list option. This is used to avoid circular
26
- * dependencies between the list-option and the styler directives.
27
- * @docs-private
28
- */
29
- interface ListOption {
30
- _getTogglePosition(): MatListOptionTogglePosition;
31
- }
32
-
33
27
  /**
34
28
  * Directive capturing the title of a list item. A list item usually consists of a
35
29
  * title and optional secondary or tertiary lines.
@@ -516,8 +510,8 @@ declare class MatListSubheaderCssMatStyler {
516
510
 
517
511
  declare class MatListModule {
518
512
  static ɵfac: i0.ɵɵFactoryDeclaration<MatListModule, never>;
519
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, never, [typeof i2.ObserversModule, typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof i1.MatPseudoCheckboxModule, typeof MatList, typeof MatActionList, typeof MatNavList, typeof MatSelectionList, typeof MatListItem, typeof MatListOption, typeof MatListSubheaderCssMatStyler, typeof MatListItemAvatar, typeof MatListItemIcon, typeof MatListItemLine, typeof MatListItemTitle, typeof MatListItemMeta], [typeof MatList, typeof MatActionList, typeof MatNavList, typeof MatSelectionList, typeof MatListItem, typeof MatListOption, typeof MatListItemAvatar, typeof MatListItemIcon, typeof MatListSubheaderCssMatStyler, typeof i10.MatDividerModule, typeof MatListItemLine, typeof MatListItemTitle, typeof MatListItemMeta]>;
513
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, never, [typeof i2.ObserversModule, typeof MatCommonModule, typeof MatRippleModule, typeof MatPseudoCheckboxModule, typeof MatList, typeof MatActionList, typeof MatNavList, typeof MatSelectionList, typeof MatListItem, typeof MatListOption, typeof MatListSubheaderCssMatStyler, typeof MatListItemAvatar, typeof MatListItemIcon, typeof MatListItemLine, typeof MatListItemTitle, typeof MatListItemMeta], [typeof MatList, typeof MatActionList, typeof MatNavList, typeof MatSelectionList, typeof MatListItem, typeof MatListOption, typeof MatListItemAvatar, typeof MatListItemIcon, typeof MatListSubheaderCssMatStyler, typeof i12.MatDividerModule, typeof MatListItemLine, typeof MatListItemTitle, typeof MatListItemMeta]>;
520
514
  static ɵinj: i0.ɵɵInjectorDeclaration<MatListModule>;
521
515
  }
522
516
 
523
- export { MAT_LIST, MAT_LIST_CONFIG, MAT_NAV_LIST, MAT_SELECTION_LIST_VALUE_ACCESSOR, MatActionList, MatList, type MatListConfig, MatListItem, MatListItemAvatar, MatListItemIcon, MatListItemLine, MatListItemMeta, MatListItemTitle, MatListModule, MatListOption, type MatListOptionTogglePosition as MatListOptionCheckboxPosition, type MatListOptionTogglePosition, MatListSubheaderCssMatStyler, MatNavList, MatSelectionList, MatSelectionListChange, SELECTION_LIST, type SelectionList, _MatListItemGraphicBase };
517
+ export { MAT_LIST, MAT_LIST_CONFIG, MAT_NAV_LIST, MAT_SELECTION_LIST_VALUE_ACCESSOR, MatActionList, MatList, type MatListConfig, MatListItem, MatListItemAvatar, MatListItemIcon, MatListItemLine, MatListItemMeta, MatListItemTitle, MatListModule, MatListOption, MatListSubheaderCssMatStyler, MatNavList, MatSelectionList, MatSelectionListChange, SELECTION_LIST, type SelectionList, _MatListItemGraphicBase };
@@ -1,6 +1,6 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate, ContentContainerComponentHarness, ComponentHarnessConstructor } from '@angular/cdk/testing';
2
- import { DividerHarnessFilters, MatDividerHarness } from '@angular/material/divider/testing';
3
- import { MatListOptionTogglePosition } from '@angular/material/list';
2
+ import { D as DividerHarnessFilters, M as MatDividerHarness } from '../../divider-harness.d-d34fede4.js';
3
+ import { M as MatListOptionTogglePosition } from '../../list-option-types.d-8739f903.js';
4
4
 
5
5
  interface ListHarnessFilters extends BaseHarnessFilters {
6
6
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Type describing possible positions of a checkbox or radio in a list option
3
+ * with respect to the list item's text.
4
+ */
5
+ type MatListOptionTogglePosition = 'before' | 'after';
6
+ /**
7
+ * Interface describing a list option. This is used to avoid circular
8
+ * dependencies between the list-option and the styler directives.
9
+ * @docs-private
10
+ */
11
+ interface ListOption {
12
+ _getTogglePosition(): MatListOptionTogglePosition;
13
+ }
14
+
15
+ export type { ListOption as L, MatListOptionTogglePosition as M };
package/menu/index.d.ts CHANGED
@@ -5,8 +5,11 @@ import { Direction } from '@angular/cdk/bidi';
5
5
  import { Subject, Observable } from 'rxjs';
6
6
  import * as i2 from '@angular/cdk/overlay';
7
7
  import { ScrollStrategy, Overlay } from '@angular/cdk/overlay';
8
- import * as i1 from '@angular/material/core';
9
- import * as i2$1 from '@angular/cdk/scrolling';
8
+ import { M as MatRippleModule } from '../index.d-0536b706.js';
9
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
10
+ import * as i5 from '@angular/cdk/scrolling';
11
+ import '../ripple.d-2fb57d04.js';
12
+ import '@angular/cdk/platform';
10
13
 
11
14
  type MenuPositionX = 'before' | 'after';
12
15
  type MenuPositionY = 'above' | 'below';
@@ -460,7 +463,7 @@ declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
460
463
 
461
464
  declare class MatMenuModule {
462
465
  static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuModule, never>;
463
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuModule, never, [typeof i1.MatRippleModule, typeof i1.MatCommonModule, typeof i2.OverlayModule, typeof MatMenu, typeof MatMenuItem, typeof MatMenuContent, typeof MatMenuTrigger], [typeof i2$1.CdkScrollableModule, typeof MatMenu, typeof i1.MatCommonModule, typeof MatMenuItem, typeof MatMenuContent, typeof MatMenuTrigger]>;
466
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuModule, never, [typeof MatRippleModule, typeof MatCommonModule, typeof i2.OverlayModule, typeof MatMenu, typeof MatMenuItem, typeof MatMenuContent, typeof MatMenuTrigger], [typeof i5.CdkScrollableModule, typeof MatMenu, typeof MatCommonModule, typeof MatMenuItem, typeof MatMenuContent, typeof MatMenuTrigger]>;
464
467
  static ɵinj: i0.ɵɵInjectorDeclaration<MatMenuModule>;
465
468
  }
466
469