@angular/material 19.2.3 → 20.0.0-next.1

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 +14 -7
  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 +7 -38
  13. package/chips/index.d.ts +9 -5
  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/date-adapter.d-c6835d41.d.ts +267 -0
  18. package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
  19. package/datepicker/index.d.ts +20 -14
  20. package/datepicker/testing/index.d.ts +5 -277
  21. package/dialog/index.d.ts +12 -360
  22. package/dialog/testing/index.d.ts +6 -1
  23. package/dialog.d-57867441.d.ts +335 -0
  24. package/divider/index.d.ts +3 -2
  25. package/divider/testing/index.d.ts +2 -14
  26. package/divider-harness.d-d34fede4.d.ts +14 -0
  27. package/error-options.d-448d9046.d.ts +17 -0
  28. package/expansion/index.d.ts +3 -2
  29. package/fesm2022/autocomplete/testing.mjs +2 -1
  30. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  31. package/fesm2022/autocomplete.mjs +29 -17
  32. package/fesm2022/autocomplete.mjs.map +1 -1
  33. package/fesm2022/badge/testing.mjs.map +1 -1
  34. package/fesm2022/badge.mjs +12 -11
  35. package/fesm2022/badge.mjs.map +1 -1
  36. package/fesm2022/bottom-sheet.mjs +13 -11
  37. package/fesm2022/bottom-sheet.mjs.map +1 -1
  38. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  39. package/fesm2022/button-toggle.mjs +17 -11
  40. package/fesm2022/button-toggle.mjs.map +1 -1
  41. package/fesm2022/button.mjs +14 -481
  42. package/fesm2022/button.mjs.map +1 -1
  43. package/fesm2022/card.mjs +49 -47
  44. package/fesm2022/card.mjs.map +1 -1
  45. package/fesm2022/checkbox.mjs +27 -68
  46. package/fesm2022/checkbox.mjs.map +1 -1
  47. package/fesm2022/chips.mjs +51 -42
  48. package/fesm2022/chips.mjs.map +1 -1
  49. package/fesm2022/common-module-2d64df09.mjs +42 -0
  50. package/fesm2022/common-module-2d64df09.mjs.map +1 -0
  51. package/fesm2022/core/testing.mjs +3 -76
  52. package/fesm2022/core/testing.mjs.map +1 -1
  53. package/fesm2022/core.mjs +38 -1598
  54. package/fesm2022/core.mjs.map +1 -1
  55. package/fesm2022/date-formats-b618acb8.mjs +190 -0
  56. package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
  57. package/fesm2022/date-range-input-harness-ee47cdb0.mjs +467 -0
  58. package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +1 -0
  59. package/fesm2022/datepicker/testing.mjs +5 -465
  60. package/fesm2022/datepicker/testing.mjs.map +1 -1
  61. package/fesm2022/datepicker.mjs +119 -112
  62. package/fesm2022/datepicker.mjs.map +1 -1
  63. package/fesm2022/dialog/testing.mjs +12 -1
  64. package/fesm2022/dialog/testing.mjs.map +1 -1
  65. package/fesm2022/dialog.mjs +14 -897
  66. package/fesm2022/dialog.mjs.map +1 -1
  67. package/fesm2022/divider/testing.mjs +2 -17
  68. package/fesm2022/divider/testing.mjs.map +1 -1
  69. package/fesm2022/divider-harness-3394f29a.mjs +18 -0
  70. package/fesm2022/divider-harness-3394f29a.mjs.map +1 -0
  71. package/fesm2022/divider.mjs +10 -8
  72. package/fesm2022/divider.mjs.map +1 -1
  73. package/fesm2022/error-options-4a00765e.mjs +29 -0
  74. package/fesm2022/error-options-4a00765e.mjs.map +1 -0
  75. package/fesm2022/error-state-8f4ce1af.mjs +37 -0
  76. package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
  77. package/fesm2022/expansion.mjs +28 -26
  78. package/fesm2022/expansion.mjs.map +1 -1
  79. package/fesm2022/form-field/testing/control.mjs +2 -10
  80. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  81. package/fesm2022/form-field/testing.mjs +7 -4
  82. package/fesm2022/form-field/testing.mjs.map +1 -1
  83. package/fesm2022/form-field-6d755764.mjs +1076 -0
  84. package/fesm2022/form-field-6d755764.mjs.map +1 -0
  85. package/fesm2022/form-field-control-harness-af6fd278.mjs +11 -0
  86. package/fesm2022/form-field-control-harness-af6fd278.mjs.map +1 -0
  87. package/fesm2022/form-field.mjs +14 -1106
  88. package/fesm2022/form-field.mjs.map +1 -1
  89. package/fesm2022/grid-list/testing.mjs +1 -1
  90. package/fesm2022/grid-list/testing.mjs.map +1 -1
  91. package/fesm2022/grid-list.mjs +30 -169
  92. package/fesm2022/grid-list.mjs.map +1 -1
  93. package/fesm2022/icon/testing.mjs +12 -8
  94. package/fesm2022/icon/testing.mjs.map +1 -1
  95. package/fesm2022/icon-button-47f1b5d9.mjs +248 -0
  96. package/fesm2022/icon-button-47f1b5d9.mjs.map +1 -0
  97. package/fesm2022/icon-module-3f77a24d.mjs +395 -0
  98. package/fesm2022/icon-module-3f77a24d.mjs.map +1 -0
  99. package/fesm2022/icon-registry-13a3b98e.mjs +639 -0
  100. package/fesm2022/icon-registry-13a3b98e.mjs.map +1 -0
  101. package/fesm2022/icon.mjs +11 -1024
  102. package/fesm2022/icon.mjs.map +1 -1
  103. package/fesm2022/index-1763d3a6.mjs +22 -0
  104. package/fesm2022/index-1763d3a6.mjs.map +1 -0
  105. package/fesm2022/index-4bc1d6d3.mjs +20 -0
  106. package/fesm2022/index-4bc1d6d3.mjs.map +1 -0
  107. package/fesm2022/input/testing.mjs +5 -113
  108. package/fesm2022/input/testing.mjs.map +1 -1
  109. package/fesm2022/input-harness-ed59decc.mjs +115 -0
  110. package/fesm2022/input-harness-ed59decc.mjs.map +1 -0
  111. package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
  112. package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
  113. package/fesm2022/input.mjs +21 -19
  114. package/fesm2022/input.mjs.map +1 -1
  115. package/fesm2022/internal-form-field-434c4039.mjs +27 -0
  116. package/fesm2022/internal-form-field-434c4039.mjs.map +1 -0
  117. package/fesm2022/line-d6afe347.mjs +59 -0
  118. package/fesm2022/line-d6afe347.mjs.map +1 -0
  119. package/fesm2022/list/testing.mjs +1 -1
  120. package/fesm2022/list/testing.mjs.map +1 -1
  121. package/fesm2022/list.mjs +57 -50
  122. package/fesm2022/list.mjs.map +1 -1
  123. package/fesm2022/menu.mjs +23 -19
  124. package/fesm2022/menu.mjs.map +1 -1
  125. package/fesm2022/module-3bf2775f.mjs +1293 -0
  126. package/fesm2022/module-3bf2775f.mjs.map +1 -0
  127. package/fesm2022/module-47e3be58.mjs +970 -0
  128. package/fesm2022/module-47e3be58.mjs.map +1 -0
  129. package/fesm2022/module-a5f9ab72.mjs +875 -0
  130. package/fesm2022/module-a5f9ab72.mjs.map +1 -0
  131. package/fesm2022/module-d757bba0.mjs +38 -0
  132. package/fesm2022/module-d757bba0.mjs.map +1 -0
  133. package/fesm2022/module-df9f7af3.mjs +152 -0
  134. package/fesm2022/module-df9f7af3.mjs.map +1 -0
  135. package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
  136. package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
  137. package/fesm2022/option-07c3c660.mjs +348 -0
  138. package/fesm2022/option-07c3c660.mjs.map +1 -0
  139. package/fesm2022/option-harness-3b7c1106.mjs +46 -0
  140. package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
  141. package/fesm2022/paginator/testing.mjs +4 -1
  142. package/fesm2022/paginator/testing.mjs.map +1 -1
  143. package/fesm2022/paginator.mjs +41 -15
  144. package/fesm2022/paginator.mjs.map +1 -1
  145. package/fesm2022/progress-bar.mjs +10 -8
  146. package/fesm2022/progress-bar.mjs.map +1 -1
  147. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  148. package/fesm2022/progress-spinner.mjs +10 -8
  149. package/fesm2022/progress-spinner.mjs.map +1 -1
  150. package/fesm2022/pseudo-checkbox-af5a4ea4.mjs +52 -0
  151. package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +1 -0
  152. package/fesm2022/pseudo-checkbox-module-216fae38.mjs +20 -0
  153. package/fesm2022/pseudo-checkbox-module-216fae38.mjs.map +1 -0
  154. package/fesm2022/public-api-c5ab57f5.mjs +147 -0
  155. package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
  156. package/fesm2022/radio.mjs +18 -11
  157. package/fesm2022/radio.mjs.map +1 -1
  158. package/fesm2022/ripple-9939d1f5.mjs +639 -0
  159. package/fesm2022/ripple-9939d1f5.mjs.map +1 -0
  160. package/fesm2022/ripple-loader-f2078c66.mjs +165 -0
  161. package/fesm2022/ripple-loader-f2078c66.mjs.map +1 -0
  162. package/fesm2022/select/testing.mjs +5 -121
  163. package/fesm2022/select/testing.mjs.map +1 -1
  164. package/fesm2022/select-harness-8c55824d.mjs +123 -0
  165. package/fesm2022/select-harness-8c55824d.mjs.map +1 -0
  166. package/fesm2022/select.mjs +30 -1315
  167. package/fesm2022/select.mjs.map +1 -1
  168. package/fesm2022/sidenav.mjs +23 -23
  169. package/fesm2022/sidenav.mjs.map +1 -1
  170. package/fesm2022/slide-toggle.mjs +27 -71
  171. package/fesm2022/slide-toggle.mjs.map +1 -1
  172. package/fesm2022/slider.mjs +22 -17
  173. package/fesm2022/slider.mjs.map +1 -1
  174. package/fesm2022/snack-bar.mjs +32 -24
  175. package/fesm2022/snack-bar.mjs.map +1 -1
  176. package/fesm2022/sort/testing.mjs.map +1 -1
  177. package/fesm2022/sort.mjs +16 -14
  178. package/fesm2022/sort.mjs.map +1 -1
  179. package/fesm2022/stepper.mjs +42 -33
  180. package/fesm2022/stepper.mjs.map +1 -1
  181. package/fesm2022/structural-styles-d5ada3b3.mjs +18 -0
  182. package/fesm2022/structural-styles-d5ada3b3.mjs.map +1 -0
  183. package/fesm2022/table.mjs +58 -56
  184. package/fesm2022/table.mjs.map +1 -1
  185. package/fesm2022/tabs.mjs +47 -44
  186. package/fesm2022/tabs.mjs.map +1 -1
  187. package/fesm2022/timepicker/testing.mjs +1 -1
  188. package/fesm2022/timepicker/testing.mjs.map +1 -1
  189. package/fesm2022/timepicker.mjs +31 -20
  190. package/fesm2022/timepicker.mjs.map +1 -1
  191. package/fesm2022/toolbar.mjs +13 -11
  192. package/fesm2022/toolbar.mjs.map +1 -1
  193. package/fesm2022/tooltip.mjs +15 -968
  194. package/fesm2022/tooltip.mjs.map +1 -1
  195. package/fesm2022/tree.mjs +28 -26
  196. package/fesm2022/tree.mjs.map +1 -1
  197. package/form-field/index.d.ts +12 -437
  198. package/form-field/testing/control/index.d.ts +2 -10
  199. package/form-field/testing/index.d.ts +7 -5
  200. package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
  201. package/form-field-control.d-eb86711c.d.ts +62 -0
  202. package/form-field.d-2edbc094.d.ts +367 -0
  203. package/grid-list/index.d.ts +5 -3
  204. package/icon/index.d.ts +9 -449
  205. package/icon/testing/index.d.ts +3 -1
  206. package/icon-module.d-aa3bbba0.d.ts +167 -0
  207. package/icon-registry.d-1dffe9de.d.ts +286 -0
  208. package/index.d-0536b706.d.ts +11 -0
  209. package/index.d-37e31cd3.d.ts +13 -0
  210. package/input/index.d.ts +11 -6
  211. package/input/testing/index.d.ts +4 -59
  212. package/input-harness.d-4eecd1d3.d.ts +60 -0
  213. package/line.d-570a2537.d.ts +25 -0
  214. package/list/index.d.ts +13 -19
  215. package/list/testing/index.d.ts +2 -2
  216. package/list-option-types.d-8739f903.d.ts +15 -0
  217. package/menu/index.d.ts +6 -3
  218. package/module.d-18a67f56.d.ts +206 -0
  219. package/module.d-74a721b9.d.ts +326 -0
  220. package/module.d-ba05faa6.d.ts +448 -0
  221. package/module.d-c17c834e.d.ts +18 -0
  222. package/optgroup-harness.d-7f741f69.d.ts +31 -0
  223. package/option-harness.d-3d33fc9a.d.ts +34 -0
  224. package/option-parent.d-559ad5c5.d.ts +19 -0
  225. package/option.d-6f493d78.d.ts +146 -0
  226. package/package.json +6 -6
  227. package/paginator/index.d.ts +29 -201
  228. package/paginator/testing/index.d.ts +4 -1
  229. package/paginator.d-40b1766e.d.ts +199 -0
  230. package/palette.d-ec4a617c.d.ts +4 -0
  231. package/progress-bar/index.d.ts +4 -3
  232. package/progress-spinner/index.d.ts +7 -96
  233. package/progress-spinner/testing/index.d.ts +3 -1
  234. package/progress-spinner.d-1fc040c5.d.ts +96 -0
  235. package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
  236. package/radio/index.d.ts +7 -3
  237. package/ripple-loader.d-8aac2988.d.ts +48 -0
  238. package/ripple.d-2fb57d04.d.ts +255 -0
  239. package/schematics/migration.json +4 -4
  240. package/schematics/ng-add/index.js +2 -2
  241. package/schematics/ng-add/index.mjs +2 -2
  242. package/schematics/ng-update/index_bundled.js +4 -4
  243. package/schematics/ng-update/index_bundled.js.map +1 -1
  244. package/select/index.d.ts +24 -451
  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 +7 -45
  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 +7 -4
  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
package/icon/index.d.ts CHANGED
@@ -1,449 +1,9 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, OnInit, AfterViewChecked, OnDestroy, ElementRef, ErrorHandler, Optional } from '@angular/core';
3
- import * as i1 from '@angular/material/core';
4
- import { ThemePalette } from '@angular/material/core';
5
- import { HttpClient } from '@angular/common/http';
6
- import { SafeResourceUrl, SafeHtml, DomSanitizer } from '@angular/platform-browser';
7
- import { Observable } from 'rxjs';
8
-
9
- /** Default options for `mat-icon`. */
10
- interface MatIconDefaultOptions {
11
- /**
12
- * Theme color of the icon. This API is supported in M2 themes only, it
13
- * has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/icon/styling.
14
- *
15
- * For information on applying color variants in M3, see
16
- * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
17
- */
18
- color?: ThemePalette;
19
- /** Font set that the icon is a part of. */
20
- fontSet?: string;
21
- }
22
- /** Injection token to be used to override the default options for `mat-icon`. */
23
- declare const MAT_ICON_DEFAULT_OPTIONS: InjectionToken<MatIconDefaultOptions>;
24
- /**
25
- * Injection token used to provide the current location to `MatIcon`.
26
- * Used to handle server-side rendering and to stub out during unit tests.
27
- * @docs-private
28
- */
29
- declare const MAT_ICON_LOCATION: InjectionToken<MatIconLocation>;
30
- /**
31
- * Stubbed out location for `MatIcon`.
32
- * @docs-private
33
- */
34
- interface MatIconLocation {
35
- getPathname: () => string;
36
- }
37
- /**
38
- * @docs-private
39
- * @deprecated No longer used, will be removed.
40
- * @breaking-change 21.0.0
41
- */
42
- declare function MAT_ICON_LOCATION_FACTORY(): MatIconLocation;
43
- /**
44
- * Component to display an icon. It can be used in the following ways:
45
- *
46
- * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the
47
- * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of
48
- * MatIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format
49
- * "[namespace]:[name]", if not the value will be the name of an icon in the default namespace.
50
- * Examples:
51
- * `<mat-icon svgIcon="left-arrow"></mat-icon>
52
- * <mat-icon svgIcon="animals:cat"></mat-icon>`
53
- *
54
- * - Use a font ligature as an icon by putting the ligature text in the `fontIcon` attribute or the
55
- * content of the `<mat-icon>` component. If you register a custom font class, don't forget to also
56
- * include the special class `mat-ligature-font`. It is recommended to use the attribute alternative
57
- * to prevent the ligature text to be selectable and to appear in search engine results.
58
- * By default, the Material icons font is used as described at
59
- * http://google.github.io/material-design-icons/#icon-font-for-the-web. You can specify an
60
- * alternate font by setting the fontSet input to either the CSS class to apply to use the
61
- * desired font, or to an alias previously registered with MatIconRegistry.registerFontClassAlias.
62
- * Examples:
63
- * `<mat-icon fontIcon="home"></mat-icon>
64
- * <mat-icon>home</mat-icon>
65
- * <mat-icon fontSet="myfont" fontIcon="sun"></mat-icon>
66
- * <mat-icon fontSet="myfont">sun</mat-icon>`
67
- *
68
- * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the
69
- * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a
70
- * CSS class which causes the glyph to be displayed via a :before selector, as in
71
- * https://fontawesome-v4.github.io/examples/
72
- * Example:
73
- * `<mat-icon fontSet="fa" fontIcon="alarm"></mat-icon>`
74
- */
75
- declare class MatIcon implements OnInit, AfterViewChecked, OnDestroy {
76
- readonly _elementRef: ElementRef<HTMLElement>;
77
- private _iconRegistry;
78
- private _location;
79
- private readonly _errorHandler;
80
- private _defaultColor;
81
- /**
82
- * Theme color of the icon. This API is supported in M2 themes only, it
83
- * has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/icon/styling.
84
- *
85
- * For information on applying color variants in M3, see
86
- * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
87
- */
88
- get color(): string | null | undefined;
89
- set color(value: string | null | undefined);
90
- private _color;
91
- /**
92
- * Whether the icon should be inlined, automatically sizing the icon to match the font size of
93
- * the element the icon is contained in.
94
- */
95
- inline: boolean;
96
- /** Name of the icon in the SVG icon set. */
97
- get svgIcon(): string;
98
- set svgIcon(value: string);
99
- private _svgIcon;
100
- /** Font set that the icon is a part of. */
101
- get fontSet(): string;
102
- set fontSet(value: string);
103
- private _fontSet;
104
- /** Name of an icon within a font set. */
105
- get fontIcon(): string;
106
- set fontIcon(value: string);
107
- private _fontIcon;
108
- private _previousFontSetClass;
109
- private _previousFontIconClass;
110
- _svgName: string | null;
111
- _svgNamespace: string | null;
112
- /** Keeps track of the current page path. */
113
- private _previousPath?;
114
- /** Keeps track of the elements and attributes that we've prefixed with the current path. */
115
- private _elementsWithExternalReferences?;
116
- /** Subscription to the current in-progress SVG icon request. */
117
- private _currentIconFetch;
118
- constructor(...args: unknown[]);
119
- /**
120
- * Splits an svgIcon binding value into its icon set and icon name components.
121
- * Returns a 2-element array of [(icon set), (icon name)].
122
- * The separator for the two fields is ':'. If there is no separator, an empty
123
- * string is returned for the icon set and the entire value is returned for
124
- * the icon name. If the argument is falsy, returns an array of two empty strings.
125
- * Throws an error if the name contains two or more ':' separators.
126
- * Examples:
127
- * `'social:cake' -> ['social', 'cake']
128
- * 'penguin' -> ['', 'penguin']
129
- * null -> ['', '']
130
- * 'a:b:c' -> (throws Error)`
131
- */
132
- private _splitIconName;
133
- ngOnInit(): void;
134
- ngAfterViewChecked(): void;
135
- ngOnDestroy(): void;
136
- _usingFontIcon(): boolean;
137
- private _setSvgElement;
138
- private _clearSvgElement;
139
- private _updateFontIconClasses;
140
- /**
141
- * Cleans up a value to be used as a fontIcon or fontSet.
142
- * Since the value ends up being assigned as a CSS class, we
143
- * have to trim the value and omit space-separated values.
144
- */
145
- private _cleanupFontValue;
146
- /**
147
- * Prepends the current path to all elements that have an attribute pointing to a `FuncIRI`
148
- * reference. This is required because WebKit browsers require references to be prefixed with
149
- * the current path, if the page has a `base` tag.
150
- */
151
- private _prependPathToReferences;
152
- /**
153
- * Caches the children of an SVG element that have `url()`
154
- * references that we need to prefix with the current path.
155
- */
156
- private _cacheChildrenWithExternalReferences;
157
- /** Sets a new SVG icon with a particular name. */
158
- private _updateSvgIcon;
159
- static ɵfac: i0.ɵɵFactoryDeclaration<MatIcon, never>;
160
- static ɵcmp: i0.ɵɵComponentDeclaration<MatIcon, "mat-icon", ["matIcon"], { "color": { "alias": "color"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "fontIcon": { "alias": "fontIcon"; "required": false; }; }, {}, never, ["*"], true, never>;
161
- static ngAcceptInputType_inline: unknown;
162
- }
163
-
164
- declare class MatIconModule {
165
- static ɵfac: i0.ɵɵFactoryDeclaration<MatIconModule, never>;
166
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatIconModule, never, [typeof i1.MatCommonModule, typeof MatIcon], [typeof MatIcon, typeof i1.MatCommonModule]>;
167
- static ɵinj: i0.ɵɵInjectorDeclaration<MatIconModule>;
168
- }
169
-
170
- /**
171
- * Returns an exception to be thrown in the case when attempting to
172
- * load an icon with a name that cannot be found.
173
- * @docs-private
174
- */
175
- declare function getMatIconNameNotFoundError(iconName: string): Error;
176
- /**
177
- * Returns an exception to be thrown when the consumer attempts to use
178
- * `<mat-icon>` without including @angular/common/http.
179
- * @docs-private
180
- */
181
- declare function getMatIconNoHttpProviderError(): Error;
182
- /**
183
- * Returns an exception to be thrown when a URL couldn't be sanitized.
184
- * @param url URL that was attempted to be sanitized.
185
- * @docs-private
186
- */
187
- declare function getMatIconFailedToSanitizeUrlError(url: SafeResourceUrl): Error;
188
- /**
189
- * Returns an exception to be thrown when a HTML string couldn't be sanitized.
190
- * @param literal HTML that was attempted to be sanitized.
191
- * @docs-private
192
- */
193
- declare function getMatIconFailedToSanitizeLiteralError(literal: SafeHtml): Error;
194
- /** Options that can be used to configure how an icon or the icons in an icon set are presented. */
195
- interface IconOptions {
196
- /** View box to set on the icon. */
197
- viewBox?: string;
198
- /** Whether or not to fetch the icon or icon set using HTTP credentials. */
199
- withCredentials?: boolean;
200
- }
201
- /**
202
- * Function that will be invoked by the icon registry when trying to resolve the
203
- * URL from which to fetch an icon. The returned URL will be used to make a request for the icon.
204
- */
205
- type IconResolver = (name: string, namespace: string) => SafeResourceUrl | SafeResourceUrlWithIconOptions | null;
206
- /** Object that specifies a URL from which to fetch an icon and the options to use for it. */
207
- interface SafeResourceUrlWithIconOptions {
208
- url: SafeResourceUrl;
209
- options: IconOptions;
210
- }
211
- /**
212
- * Service to register and display icons used by the `<mat-icon>` component.
213
- * - Registers icon URLs by namespace and name.
214
- * - Registers icon set URLs by namespace.
215
- * - Registers aliases for CSS classes, for use with icon fonts.
216
- * - Loads icons from URLs and extracts individual icons from icon sets.
217
- */
218
- declare class MatIconRegistry implements OnDestroy {
219
- private _httpClient;
220
- private _sanitizer;
221
- private readonly _errorHandler;
222
- private _document;
223
- /**
224
- * URLs and cached SVG elements for individual icons. Keys are of the format "[namespace]:[icon]".
225
- */
226
- private _svgIconConfigs;
227
- /**
228
- * SvgIconConfig objects and cached SVG elements for icon sets, keyed by namespace.
229
- * Multiple icon sets can be registered under the same namespace.
230
- */
231
- private _iconSetConfigs;
232
- /** Cache for icons loaded by direct URLs. */
233
- private _cachedIconsByUrl;
234
- /** In-progress icon fetches. Used to coalesce multiple requests to the same URL. */
235
- private _inProgressUrlFetches;
236
- /** Map from font identifiers to their CSS class names. Used for icon fonts. */
237
- private _fontCssClassesByAlias;
238
- /** Registered icon resolver functions. */
239
- private _resolvers;
240
- /**
241
- * The CSS classes to apply when an `<mat-icon>` component has no icon name, url, or font
242
- * specified. The default 'material-icons' value assumes that the material icon font has been
243
- * loaded as described at https://google.github.io/material-design-icons/#icon-font-for-the-web
244
- */
245
- private _defaultFontSetClass;
246
- constructor(_httpClient: HttpClient, _sanitizer: DomSanitizer, document: any, _errorHandler: ErrorHandler);
247
- /**
248
- * Registers an icon by URL in the default namespace.
249
- * @param iconName Name under which the icon should be registered.
250
- * @param url
251
- */
252
- addSvgIcon(iconName: string, url: SafeResourceUrl, options?: IconOptions): this;
253
- /**
254
- * Registers an icon using an HTML string in the default namespace.
255
- * @param iconName Name under which the icon should be registered.
256
- * @param literal SVG source of the icon.
257
- */
258
- addSvgIconLiteral(iconName: string, literal: SafeHtml, options?: IconOptions): this;
259
- /**
260
- * Registers an icon by URL in the specified namespace.
261
- * @param namespace Namespace in which the icon should be registered.
262
- * @param iconName Name under which the icon should be registered.
263
- * @param url
264
- */
265
- addSvgIconInNamespace(namespace: string, iconName: string, url: SafeResourceUrl, options?: IconOptions): this;
266
- /**
267
- * Registers an icon resolver function with the registry. The function will be invoked with the
268
- * name and namespace of an icon when the registry tries to resolve the URL from which to fetch
269
- * the icon. The resolver is expected to return a `SafeResourceUrl` that points to the icon,
270
- * an object with the icon URL and icon options, or `null` if the icon is not supported. Resolvers
271
- * will be invoked in the order in which they have been registered.
272
- * @param resolver Resolver function to be registered.
273
- */
274
- addSvgIconResolver(resolver: IconResolver): this;
275
- /**
276
- * Registers an icon using an HTML string in the specified namespace.
277
- * @param namespace Namespace in which the icon should be registered.
278
- * @param iconName Name under which the icon should be registered.
279
- * @param literal SVG source of the icon.
280
- */
281
- addSvgIconLiteralInNamespace(namespace: string, iconName: string, literal: SafeHtml, options?: IconOptions): this;
282
- /**
283
- * Registers an icon set by URL in the default namespace.
284
- * @param url
285
- */
286
- addSvgIconSet(url: SafeResourceUrl, options?: IconOptions): this;
287
- /**
288
- * Registers an icon set using an HTML string in the default namespace.
289
- * @param literal SVG source of the icon set.
290
- */
291
- addSvgIconSetLiteral(literal: SafeHtml, options?: IconOptions): this;
292
- /**
293
- * Registers an icon set by URL in the specified namespace.
294
- * @param namespace Namespace in which to register the icon set.
295
- * @param url
296
- */
297
- addSvgIconSetInNamespace(namespace: string, url: SafeResourceUrl, options?: IconOptions): this;
298
- /**
299
- * Registers an icon set using an HTML string in the specified namespace.
300
- * @param namespace Namespace in which to register the icon set.
301
- * @param literal SVG source of the icon set.
302
- */
303
- addSvgIconSetLiteralInNamespace(namespace: string, literal: SafeHtml, options?: IconOptions): this;
304
- /**
305
- * Defines an alias for CSS class names to be used for icon fonts. Creating an matIcon
306
- * component with the alias as the fontSet input will cause the class name to be applied
307
- * to the `<mat-icon>` element.
308
- *
309
- * If the registered font is a ligature font, then don't forget to also include the special
310
- * class `mat-ligature-font` to allow the usage via attribute. So register like this:
311
- *
312
- * ```ts
313
- * iconRegistry.registerFontClassAlias('f1', 'font1 mat-ligature-font');
314
- * ```
315
- *
316
- * And use like this:
317
- *
318
- * ```html
319
- * <mat-icon fontSet="f1" fontIcon="home"></mat-icon>
320
- * ```
321
- *
322
- * @param alias Alias for the font.
323
- * @param classNames Class names override to be used instead of the alias.
324
- */
325
- registerFontClassAlias(alias: string, classNames?: string): this;
326
- /**
327
- * Returns the CSS class name associated with the alias by a previous call to
328
- * registerFontClassAlias. If no CSS class has been associated, returns the alias unmodified.
329
- */
330
- classNameForFontAlias(alias: string): string;
331
- /**
332
- * Sets the CSS classes to be used for icon fonts when an `<mat-icon>` component does not
333
- * have a fontSet input value, and is not loading an icon by name or URL.
334
- */
335
- setDefaultFontSetClass(...classNames: string[]): this;
336
- /**
337
- * Returns the CSS classes to be used for icon fonts when an `<mat-icon>` component does not
338
- * have a fontSet input value, and is not loading an icon by name or URL.
339
- */
340
- getDefaultFontSetClass(): string[];
341
- /**
342
- * Returns an Observable that produces the icon (as an `<svg>` DOM element) from the given URL.
343
- * The response from the URL may be cached so this will not always cause an HTTP request, but
344
- * the produced element will always be a new copy of the originally fetched icon. (That is,
345
- * it will not contain any modifications made to elements previously returned).
346
- *
347
- * @param safeUrl URL from which to fetch the SVG icon.
348
- */
349
- getSvgIconFromUrl(safeUrl: SafeResourceUrl): Observable<SVGElement>;
350
- /**
351
- * Returns an Observable that produces the icon (as an `<svg>` DOM element) with the given name
352
- * and namespace. The icon must have been previously registered with addIcon or addIconSet;
353
- * if not, the Observable will throw an error.
354
- *
355
- * @param name Name of the icon to be retrieved.
356
- * @param namespace Namespace in which to look for the icon.
357
- */
358
- getNamedSvgIcon(name: string, namespace?: string): Observable<SVGElement>;
359
- ngOnDestroy(): void;
360
- /**
361
- * Returns the cached icon for a SvgIconConfig if available, or fetches it from its URL if not.
362
- */
363
- private _getSvgFromConfig;
364
- /**
365
- * Attempts to find an icon with the specified name in any of the SVG icon sets.
366
- * First searches the available cached icons for a nested element with a matching name, and
367
- * if found copies the element to a new `<svg>` element. If not found, fetches all icon sets
368
- * that have not been cached, and searches again after all fetches are completed.
369
- * The returned Observable produces the SVG element if possible, and throws
370
- * an error if no icon with the specified name can be found.
371
- */
372
- private _getSvgFromIconSetConfigs;
373
- /**
374
- * Searches the cached SVG elements for the given icon sets for a nested icon element whose "id"
375
- * tag matches the specified name. If found, copies the nested element to a new SVG element and
376
- * returns it. Returns null if no matching element is found.
377
- */
378
- private _extractIconWithNameFromAnySet;
379
- /**
380
- * Loads the content of the icon URL specified in the SvgIconConfig and creates an SVG element
381
- * from it.
382
- */
383
- private _loadSvgIconFromConfig;
384
- /**
385
- * Loads the content of the icon set URL specified in the
386
- * SvgIconConfig and attaches it to the config.
387
- */
388
- private _loadSvgIconSetFromConfig;
389
- /**
390
- * Searches the cached element of the given SvgIconConfig for a nested icon element whose "id"
391
- * tag matches the specified name. If found, copies the nested element to a new SVG element and
392
- * returns it. Returns null if no matching element is found.
393
- */
394
- private _extractSvgIconFromSet;
395
- /**
396
- * Creates a DOM element from the given SVG string.
397
- */
398
- private _svgElementFromString;
399
- /**
400
- * Converts an element into an SVG node by cloning all of its children.
401
- */
402
- private _toSvgElement;
403
- /**
404
- * Sets the default attributes for an SVG element to be used as an icon.
405
- */
406
- private _setSvgAttributes;
407
- /**
408
- * Returns an Observable which produces the string contents of the given icon. Results may be
409
- * cached, so future calls with the same URL may not cause another HTTP request.
410
- */
411
- private _fetchIcon;
412
- /**
413
- * Registers an icon config by name in the specified namespace.
414
- * @param namespace Namespace in which to register the icon config.
415
- * @param iconName Name under which to register the config.
416
- * @param config Config to be registered.
417
- */
418
- private _addSvgIconConfig;
419
- /**
420
- * Registers an icon set config in the specified namespace.
421
- * @param namespace Namespace in which to register the icon config.
422
- * @param config Config to be registered.
423
- */
424
- private _addSvgIconSetConfig;
425
- /** Parses a config's text into an SVG element. */
426
- private _svgElementFromConfig;
427
- /** Tries to create an icon config through the registered resolver functions. */
428
- private _getIconConfigFromResolvers;
429
- static ɵfac: i0.ɵɵFactoryDeclaration<MatIconRegistry, [{ optional: true; }, null, { optional: true; }, null]>;
430
- static ɵprov: i0.ɵɵInjectableDeclaration<MatIconRegistry>;
431
- }
432
- /**
433
- * @docs-private
434
- * @deprecated No longer used, will be removed.
435
- * @breaking-change 21.0.0
436
- */
437
- declare function ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry: MatIconRegistry, httpClient: HttpClient, sanitizer: DomSanitizer, errorHandler: ErrorHandler, document?: any): MatIconRegistry;
438
- /**
439
- * @docs-private
440
- * @deprecated No longer used, will be removed.
441
- * @breaking-change 21.0.0
442
- */
443
- declare const ICON_REGISTRY_PROVIDER: {
444
- provide: typeof MatIconRegistry;
445
- deps: (Optional[] | typeof DomSanitizer | typeof ErrorHandler)[];
446
- useFactory: typeof ICON_REGISTRY_PROVIDER_FACTORY;
447
- };
448
-
449
- export { ICON_REGISTRY_PROVIDER, ICON_REGISTRY_PROVIDER_FACTORY, type IconOptions, type IconResolver, MAT_ICON_DEFAULT_OPTIONS, MAT_ICON_LOCATION, MAT_ICON_LOCATION_FACTORY, MatIcon, type MatIconDefaultOptions, type MatIconLocation, MatIconModule, MatIconRegistry, type SafeResourceUrlWithIconOptions, getMatIconFailedToSanitizeLiteralError, getMatIconFailedToSanitizeUrlError, getMatIconNameNotFoundError, getMatIconNoHttpProviderError };
1
+ export { b as MAT_ICON_DEFAULT_OPTIONS, c as MAT_ICON_LOCATION, e as MAT_ICON_LOCATION_FACTORY, f as MatIcon, a as MatIconDefaultOptions, d as MatIconLocation, M as MatIconModule } from '../icon-module.d-aa3bbba0.js';
2
+ export { f as ICON_REGISTRY_PROVIDER, e as ICON_REGISTRY_PROVIDER_FACTORY, I as IconOptions, d as IconResolver, M as MatIconRegistry, S as SafeResourceUrlWithIconOptions, c as getMatIconFailedToSanitizeLiteralError, b as getMatIconFailedToSanitizeUrlError, g as getMatIconNameNotFoundError, a as getMatIconNoHttpProviderError } from '../icon-registry.d-1dffe9de.js';
3
+ import '@angular/core';
4
+ import '../common-module.d-0e6515ae.js';
5
+ import '@angular/cdk/bidi';
6
+ import '../palette.d-ec4a617c.js';
7
+ import '@angular/common/http';
8
+ import '@angular/platform-browser';
9
+ import 'rxjs';
@@ -1,8 +1,10 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
2
  import * as i0 from '@angular/core';
3
3
  import { OnDestroy } from '@angular/core';
4
- import { MatIconRegistry } from '@angular/material/icon';
5
4
  import { Observable } from 'rxjs';
5
+ import { M as MatIconRegistry } from '../../icon-registry.d-1dffe9de.js';
6
+ import '@angular/common/http';
7
+ import '@angular/platform-browser';
6
8
 
7
9
  /** Possible types of icons. */
8
10
  declare enum IconType {
@@ -0,0 +1,167 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, OnInit, AfterViewChecked, OnDestroy, ElementRef } from '@angular/core';
3
+ import { M as MatCommonModule } from './common-module.d-0e6515ae.js';
4
+ import { T as ThemePalette } from './palette.d-ec4a617c.js';
5
+
6
+ /** Default options for `mat-icon`. */
7
+ interface MatIconDefaultOptions {
8
+ /**
9
+ * Theme color of the icon. This API is supported in M2 themes only, it
10
+ * has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/icon/styling.
11
+ *
12
+ * For information on applying color variants in M3, see
13
+ * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
14
+ */
15
+ color?: ThemePalette;
16
+ /** Font set that the icon is a part of. */
17
+ fontSet?: string;
18
+ }
19
+ /** Injection token to be used to override the default options for `mat-icon`. */
20
+ declare const MAT_ICON_DEFAULT_OPTIONS: InjectionToken<MatIconDefaultOptions>;
21
+ /**
22
+ * Injection token used to provide the current location to `MatIcon`.
23
+ * Used to handle server-side rendering and to stub out during unit tests.
24
+ * @docs-private
25
+ */
26
+ declare const MAT_ICON_LOCATION: InjectionToken<MatIconLocation>;
27
+ /**
28
+ * Stubbed out location for `MatIcon`.
29
+ * @docs-private
30
+ */
31
+ interface MatIconLocation {
32
+ getPathname: () => string;
33
+ }
34
+ /**
35
+ * @docs-private
36
+ * @deprecated No longer used, will be removed.
37
+ * @breaking-change 21.0.0
38
+ */
39
+ declare function MAT_ICON_LOCATION_FACTORY(): MatIconLocation;
40
+ /**
41
+ * Component to display an icon. It can be used in the following ways:
42
+ *
43
+ * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the
44
+ * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of
45
+ * MatIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format
46
+ * "[namespace]:[name]", if not the value will be the name of an icon in the default namespace.
47
+ * Examples:
48
+ * `<mat-icon svgIcon="left-arrow"></mat-icon>
49
+ * <mat-icon svgIcon="animals:cat"></mat-icon>`
50
+ *
51
+ * - Use a font ligature as an icon by putting the ligature text in the `fontIcon` attribute or the
52
+ * content of the `<mat-icon>` component. If you register a custom font class, don't forget to also
53
+ * include the special class `mat-ligature-font`. It is recommended to use the attribute alternative
54
+ * to prevent the ligature text to be selectable and to appear in search engine results.
55
+ * By default, the Material icons font is used as described at
56
+ * http://google.github.io/material-design-icons/#icon-font-for-the-web. You can specify an
57
+ * alternate font by setting the fontSet input to either the CSS class to apply to use the
58
+ * desired font, or to an alias previously registered with MatIconRegistry.registerFontClassAlias.
59
+ * Examples:
60
+ * `<mat-icon fontIcon="home"></mat-icon>
61
+ * <mat-icon>home</mat-icon>
62
+ * <mat-icon fontSet="myfont" fontIcon="sun"></mat-icon>
63
+ * <mat-icon fontSet="myfont">sun</mat-icon>`
64
+ *
65
+ * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the
66
+ * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a
67
+ * CSS class which causes the glyph to be displayed via a :before selector, as in
68
+ * https://fontawesome-v4.github.io/examples/
69
+ * Example:
70
+ * `<mat-icon fontSet="fa" fontIcon="alarm"></mat-icon>`
71
+ */
72
+ declare class MatIcon implements OnInit, AfterViewChecked, OnDestroy {
73
+ readonly _elementRef: ElementRef<HTMLElement>;
74
+ private _iconRegistry;
75
+ private _location;
76
+ private readonly _errorHandler;
77
+ private _defaultColor;
78
+ /**
79
+ * Theme color of the icon. This API is supported in M2 themes only, it
80
+ * has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/icon/styling.
81
+ *
82
+ * For information on applying color variants in M3, see
83
+ * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
84
+ */
85
+ get color(): string | null | undefined;
86
+ set color(value: string | null | undefined);
87
+ private _color;
88
+ /**
89
+ * Whether the icon should be inlined, automatically sizing the icon to match the font size of
90
+ * the element the icon is contained in.
91
+ */
92
+ inline: boolean;
93
+ /** Name of the icon in the SVG icon set. */
94
+ get svgIcon(): string;
95
+ set svgIcon(value: string);
96
+ private _svgIcon;
97
+ /** Font set that the icon is a part of. */
98
+ get fontSet(): string;
99
+ set fontSet(value: string);
100
+ private _fontSet;
101
+ /** Name of an icon within a font set. */
102
+ get fontIcon(): string;
103
+ set fontIcon(value: string);
104
+ private _fontIcon;
105
+ private _previousFontSetClass;
106
+ private _previousFontIconClass;
107
+ _svgName: string | null;
108
+ _svgNamespace: string | null;
109
+ /** Keeps track of the current page path. */
110
+ private _previousPath?;
111
+ /** Keeps track of the elements and attributes that we've prefixed with the current path. */
112
+ private _elementsWithExternalReferences?;
113
+ /** Subscription to the current in-progress SVG icon request. */
114
+ private _currentIconFetch;
115
+ constructor(...args: unknown[]);
116
+ /**
117
+ * Splits an svgIcon binding value into its icon set and icon name components.
118
+ * Returns a 2-element array of [(icon set), (icon name)].
119
+ * The separator for the two fields is ':'. If there is no separator, an empty
120
+ * string is returned for the icon set and the entire value is returned for
121
+ * the icon name. If the argument is falsy, returns an array of two empty strings.
122
+ * Throws an error if the name contains two or more ':' separators.
123
+ * Examples:
124
+ * `'social:cake' -> ['social', 'cake']
125
+ * 'penguin' -> ['', 'penguin']
126
+ * null -> ['', '']
127
+ * 'a:b:c' -> (throws Error)`
128
+ */
129
+ private _splitIconName;
130
+ ngOnInit(): void;
131
+ ngAfterViewChecked(): void;
132
+ ngOnDestroy(): void;
133
+ _usingFontIcon(): boolean;
134
+ private _setSvgElement;
135
+ private _clearSvgElement;
136
+ private _updateFontIconClasses;
137
+ /**
138
+ * Cleans up a value to be used as a fontIcon or fontSet.
139
+ * Since the value ends up being assigned as a CSS class, we
140
+ * have to trim the value and omit space-separated values.
141
+ */
142
+ private _cleanupFontValue;
143
+ /**
144
+ * Prepends the current path to all elements that have an attribute pointing to a `FuncIRI`
145
+ * reference. This is required because WebKit browsers require references to be prefixed with
146
+ * the current path, if the page has a `base` tag.
147
+ */
148
+ private _prependPathToReferences;
149
+ /**
150
+ * Caches the children of an SVG element that have `url()`
151
+ * references that we need to prefix with the current path.
152
+ */
153
+ private _cacheChildrenWithExternalReferences;
154
+ /** Sets a new SVG icon with a particular name. */
155
+ private _updateSvgIcon;
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatIcon, never>;
157
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatIcon, "mat-icon", ["matIcon"], { "color": { "alias": "color"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "fontIcon": { "alias": "fontIcon"; "required": false; }; }, {}, never, ["*"], true, never>;
158
+ static ngAcceptInputType_inline: unknown;
159
+ }
160
+
161
+ declare class MatIconModule {
162
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatIconModule, never>;
163
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatIconModule, never, [typeof MatCommonModule, typeof MatIcon], [typeof MatIcon, typeof MatCommonModule]>;
164
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatIconModule>;
165
+ }
166
+
167
+ export { MatIconModule as M, type MatIconDefaultOptions as a, MAT_ICON_DEFAULT_OPTIONS as b, MAT_ICON_LOCATION as c, type MatIconLocation as d, MAT_ICON_LOCATION_FACTORY as e, MatIcon as f };