@angular/material 19.2.2 → 19.2.3

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 (194) hide show
  1. package/autocomplete/index.d.ts +83 -124
  2. package/autocomplete/testing/index.d.ts +5 -11
  3. package/badge/index.d.ts +17 -30
  4. package/badge/testing/index.d.ts +5 -8
  5. package/bottom-sheet/index.d.ts +88 -103
  6. package/bottom-sheet/testing/index.d.ts +4 -6
  7. package/button/index.d.ts +109 -148
  8. package/button/testing/index.d.ts +6 -10
  9. package/button-toggle/index.d.ts +116 -142
  10. package/button-toggle/testing/index.d.ts +34 -36
  11. package/card/index.d.ts +79 -117
  12. package/card/testing/index.d.ts +11 -15
  13. package/checkbox/index.d.ts +55 -85
  14. package/checkbox/testing/index.d.ts +6 -10
  15. package/chips/index.d.ts +592 -690
  16. package/chips/testing/index.d.ts +78 -93
  17. package/core/index.d.ts +565 -669
  18. package/core/testing/index.d.ts +28 -32
  19. package/datepicker/index.d.ts +1323 -1479
  20. package/datepicker/testing/index.d.ts +109 -119
  21. package/dialog/index.d.ts +194 -246
  22. package/dialog/testing/index.d.ts +17 -26
  23. package/divider/index.d.ts +4 -10
  24. package/divider/testing/index.d.ts +4 -6
  25. package/expansion/index.d.ts +137 -189
  26. package/expansion/testing/index.d.ts +25 -31
  27. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  28. package/fesm2022/autocomplete.mjs +26 -17
  29. package/fesm2022/autocomplete.mjs.map +1 -1
  30. package/fesm2022/badge/testing.mjs.map +1 -1
  31. package/fesm2022/badge.mjs +3 -7
  32. package/fesm2022/badge.mjs.map +1 -1
  33. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  34. package/fesm2022/bottom-sheet.mjs +0 -4
  35. package/fesm2022/bottom-sheet.mjs.map +1 -1
  36. package/fesm2022/button/testing.mjs.map +1 -1
  37. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  38. package/fesm2022/button-toggle.mjs +5 -4
  39. package/fesm2022/button-toggle.mjs.map +1 -1
  40. package/fesm2022/button.mjs +6 -6
  41. package/fesm2022/button.mjs.map +1 -1
  42. package/fesm2022/card/testing.mjs.map +1 -1
  43. package/fesm2022/card.mjs +0 -4
  44. package/fesm2022/card.mjs.map +1 -1
  45. package/fesm2022/checkbox/testing.mjs.map +1 -1
  46. package/fesm2022/checkbox.mjs +5 -5
  47. package/fesm2022/checkbox.mjs.map +1 -1
  48. package/fesm2022/chips/testing.mjs.map +1 -1
  49. package/fesm2022/chips.mjs +0 -4
  50. package/fesm2022/chips.mjs.map +1 -1
  51. package/fesm2022/core/testing.mjs.map +1 -1
  52. package/fesm2022/core.mjs +7 -7
  53. package/fesm2022/core.mjs.map +1 -1
  54. package/fesm2022/datepicker/testing.mjs.map +1 -1
  55. package/fesm2022/datepicker.mjs +42 -18
  56. package/fesm2022/datepicker.mjs.map +1 -1
  57. package/fesm2022/dialog/testing.mjs.map +1 -1
  58. package/fesm2022/dialog.mjs +4 -8
  59. package/fesm2022/dialog.mjs.map +1 -1
  60. package/fesm2022/divider/testing.mjs.map +1 -1
  61. package/fesm2022/divider.mjs +0 -4
  62. package/fesm2022/divider.mjs.map +1 -1
  63. package/fesm2022/expansion/testing.mjs.map +1 -1
  64. package/fesm2022/expansion.mjs +2 -6
  65. package/fesm2022/expansion.mjs.map +1 -1
  66. package/fesm2022/form-field/testing.mjs +0 -2
  67. package/fesm2022/form-field/testing.mjs.map +1 -1
  68. package/fesm2022/form-field.mjs +0 -4
  69. package/fesm2022/form-field.mjs.map +1 -1
  70. package/fesm2022/grid-list/testing.mjs.map +1 -1
  71. package/fesm2022/grid-list.mjs +0 -4
  72. package/fesm2022/grid-list.mjs.map +1 -1
  73. package/fesm2022/icon/testing.mjs +0 -4
  74. package/fesm2022/icon/testing.mjs.map +1 -1
  75. package/fesm2022/icon.mjs +15 -7
  76. package/fesm2022/icon.mjs.map +1 -1
  77. package/fesm2022/input/testing.mjs.map +1 -1
  78. package/fesm2022/input.mjs +0 -4
  79. package/fesm2022/input.mjs.map +1 -1
  80. package/fesm2022/list/testing.mjs +1 -1
  81. package/fesm2022/list/testing.mjs.map +1 -1
  82. package/fesm2022/list.mjs +2 -6
  83. package/fesm2022/list.mjs.map +1 -1
  84. package/fesm2022/menu/testing.mjs.map +1 -1
  85. package/fesm2022/menu.mjs +15 -7
  86. package/fesm2022/menu.mjs.map +1 -1
  87. package/fesm2022/paginator/testing.mjs.map +1 -1
  88. package/fesm2022/paginator.mjs +10 -6
  89. package/fesm2022/paginator.mjs.map +1 -1
  90. package/fesm2022/progress-bar/testing.mjs +0 -4
  91. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  92. package/fesm2022/progress-bar.mjs +5 -5
  93. package/fesm2022/progress-bar.mjs.map +1 -1
  94. package/fesm2022/progress-spinner/testing.mjs +0 -4
  95. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  96. package/fesm2022/progress-spinner.mjs +5 -5
  97. package/fesm2022/progress-spinner.mjs.map +1 -1
  98. package/fesm2022/radio/testing.mjs.map +1 -1
  99. package/fesm2022/radio.mjs +5 -4
  100. package/fesm2022/radio.mjs.map +1 -1
  101. package/fesm2022/select/testing.mjs.map +1 -1
  102. package/fesm2022/select.mjs +14 -10
  103. package/fesm2022/select.mjs.map +1 -1
  104. package/fesm2022/sidenav/testing.mjs +1 -1
  105. package/fesm2022/sidenav/testing.mjs.map +1 -1
  106. package/fesm2022/sidenav.mjs +9 -9
  107. package/fesm2022/sidenav.mjs.map +1 -1
  108. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  109. package/fesm2022/slide-toggle.mjs +0 -4
  110. package/fesm2022/slide-toggle.mjs.map +1 -1
  111. package/fesm2022/slider/testing.mjs.map +1 -1
  112. package/fesm2022/slider.mjs +0 -4
  113. package/fesm2022/slider.mjs.map +1 -1
  114. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  115. package/fesm2022/snack-bar.mjs +5 -5
  116. package/fesm2022/snack-bar.mjs.map +1 -1
  117. package/fesm2022/sort/testing.mjs.map +1 -1
  118. package/fesm2022/sort.mjs +10 -6
  119. package/fesm2022/sort.mjs.map +1 -1
  120. package/fesm2022/stepper/testing.mjs.map +1 -1
  121. package/fesm2022/stepper.mjs +10 -6
  122. package/fesm2022/stepper.mjs.map +1 -1
  123. package/fesm2022/table/testing.mjs.map +1 -1
  124. package/fesm2022/table.mjs +0 -4
  125. package/fesm2022/table.mjs.map +1 -1
  126. package/fesm2022/tabs/testing.mjs.map +1 -1
  127. package/fesm2022/tabs.mjs +8 -15
  128. package/fesm2022/tabs.mjs.map +1 -1
  129. package/fesm2022/timepicker/testing.mjs.map +1 -1
  130. package/fesm2022/timepicker.mjs +1 -5
  131. package/fesm2022/timepicker.mjs.map +1 -1
  132. package/fesm2022/toolbar/testing.mjs.map +1 -1
  133. package/fesm2022/toolbar.mjs +0 -4
  134. package/fesm2022/toolbar.mjs.map +1 -1
  135. package/fesm2022/tooltip/testing.mjs.map +1 -1
  136. package/fesm2022/tooltip.mjs +15 -7
  137. package/fesm2022/tooltip.mjs.map +1 -1
  138. package/fesm2022/tree/testing.mjs.map +1 -1
  139. package/fesm2022/tree.mjs +0 -4
  140. package/fesm2022/tree.mjs.map +1 -1
  141. package/form-field/index.d.ts +251 -318
  142. package/form-field/testing/control/index.d.ts +2 -2
  143. package/form-field/testing/index.d.ts +14 -21
  144. package/grid-list/index.d.ts +124 -150
  145. package/grid-list/testing/index.d.ts +39 -44
  146. package/icon/index.d.ts +87 -108
  147. package/icon/testing/index.d.ts +38 -43
  148. package/index.d.ts +2 -3
  149. package/input/index.d.ts +27 -61
  150. package/input/testing/index.d.ts +16 -19
  151. package/list/index.d.ts +158 -241
  152. package/list/testing/index.d.ts +157 -179
  153. package/menu/index.d.ts +180 -231
  154. package/menu/testing/index.d.ts +17 -23
  155. package/package.json +2 -2
  156. package/paginator/index.d.ts +84 -97
  157. package/paginator/testing/index.d.ts +10 -14
  158. package/progress-bar/index.d.ts +38 -58
  159. package/progress-bar/testing/index.d.ts +7 -10
  160. package/progress-spinner/index.d.ts +38 -51
  161. package/progress-spinner/testing/index.d.ts +7 -10
  162. package/radio/index.d.ts +145 -168
  163. package/radio/testing/index.d.ts +61 -67
  164. package/schematics/ng-add/index.js +1 -1
  165. package/schematics/ng-add/index.mjs +1 -1
  166. package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
  167. package/schematics/ng-generate/theme-color/schema.json +10 -0
  168. package/schematics/ng-update/index_bundled.js +31 -31
  169. package/select/index.d.ts +77 -130
  170. package/select/testing/index.d.ts +10 -15
  171. package/sidenav/index.d.ts +47 -91
  172. package/sidenav/testing/index.d.ts +58 -63
  173. package/slide-toggle/index.d.ts +51 -84
  174. package/slide-toggle/testing/index.d.ts +17 -21
  175. package/slider/index.d.ts +277 -327
  176. package/slider/testing/index.d.ts +42 -47
  177. package/snack-bar/index.d.ts +147 -185
  178. package/snack-bar/testing/index.d.ts +7 -9
  179. package/sort/index.d.ts +94 -124
  180. package/sort/testing/index.d.ts +21 -24
  181. package/stepper/index.d.ts +108 -165
  182. package/stepper/testing/index.d.ts +43 -52
  183. package/table/index.d.ts +87 -153
  184. package/table/testing/index.d.ts +64 -78
  185. package/tabs/index.d.ts +306 -382
  186. package/tabs/testing/index.d.ts +67 -76
  187. package/timepicker/index.d.ts +123 -159
  188. package/timepicker/testing/index.d.ts +20 -26
  189. package/toolbar/index.d.ts +13 -25
  190. package/toolbar/testing/index.d.ts +13 -16
  191. package/tooltip/index.d.ts +88 -117
  192. package/tooltip/testing/index.d.ts +7 -10
  193. package/tree/index.d.ts +116 -163
  194. package/tree/testing/index.d.ts +52 -58
package/list/index.d.ts CHANGED
@@ -1,116 +1,101 @@
1
- import { AfterViewInit } from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, ElementRef, AfterViewInit, OnDestroy, NgZone, QueryList, OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
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';
6
+ import * as i2 from '@angular/cdk/observers';
7
+ import { SelectionModel } from '@angular/cdk/collections';
3
8
  import { ControlValueAccessor } from '@angular/forms';
4
- import { ElementRef } from '@angular/core';
5
- import { EventEmitter } from '@angular/core';
6
- import * as i0 from '@angular/core';
7
- import * as i1 from '@angular/cdk/observers';
8
9
  import * as i10 from '@angular/material/divider';
9
- import * as i2 from '@angular/material/core';
10
- import { InjectionToken } from '@angular/core';
11
- import { NgZone } from '@angular/core';
12
- import { OnChanges } from '@angular/core';
13
- import { OnDestroy } from '@angular/core';
14
- import { OnInit } from '@angular/core';
15
- import { QueryList } from '@angular/core';
16
- import { RippleConfig } from '@angular/material/core';
17
- import { RippleGlobalOptions } from '@angular/material/core';
18
- import { RippleTarget } from '@angular/material/core';
19
- import { SelectionModel } from '@angular/cdk/collections';
20
- import { SimpleChanges } from '@angular/core';
21
- import { ThemePalette } from '@angular/material/core';
22
-
23
- declare namespace i3 {
24
- export {
25
- MAT_LIST,
26
- MatList,
27
- MatListItem
28
- }
29
- }
30
-
31
- declare namespace i4 {
32
- export {
33
- MatActionList
34
- }
35
- }
36
-
37
- declare namespace i5 {
38
- export {
39
- MAT_NAV_LIST,
40
- MatNavList
41
- }
42
- }
43
-
44
- declare namespace i6 {
45
- export {
46
- MAT_SELECTION_LIST_VALUE_ACCESSOR,
47
- MatSelectionListChange,
48
- MatSelectionList
49
- }
50
- }
51
-
52
- declare namespace i7 {
53
- export {
54
- SELECTION_LIST,
55
- SelectionList,
56
- MatListOption
57
- }
58
- }
59
10
 
60
- declare namespace i8 {
61
- export {
62
- MatListSubheaderCssMatStyler
63
- }
64
- }
65
-
66
- declare namespace i9 {
67
- export {
68
- MatListItemTitle,
69
- MatListItemLine,
70
- MatListItemMeta,
71
- _MatListItemGraphicBase,
72
- MatListItemAvatar,
73
- MatListItemIcon
74
- }
11
+ /** Object that can be used to configure the default options for the list module. */
12
+ interface MatListConfig {
13
+ /** Whether icon indicators should be hidden for single-selection. */
14
+ hideSingleSelectionIndicator?: boolean;
75
15
  }
16
+ /** Injection token that can be used to provide the default options for the list module. */
17
+ declare const MAT_LIST_CONFIG: InjectionToken<MatListConfig>;
76
18
 
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';
77
24
  /**
78
25
  * Interface describing a list option. This is used to avoid circular
79
26
  * dependencies between the list-option and the styler directives.
80
27
  * @docs-private
81
28
  */
82
- declare interface ListOption {
29
+ interface ListOption {
83
30
  _getTogglePosition(): MatListOptionTogglePosition;
84
31
  }
85
32
 
86
33
  /**
87
- * Injection token that can be used to inject instances of `MatList`. It serves as
88
- * alternative token to the actual `MatList` class which could cause unnecessary
89
- * retention of the class and its component metadata.
34
+ * Directive capturing the title of a list item. A list item usually consists of a
35
+ * title and optional secondary or tertiary lines.
36
+ *
37
+ * Text content for the title never wraps. There can only be a single title per list item.
90
38
  */
91
- export declare const MAT_LIST: InjectionToken<MatList>;
92
-
93
- /** Injection token that can be used to provide the default options for the list module. */
94
- export declare const MAT_LIST_CONFIG: InjectionToken<MatListConfig>;
95
-
39
+ declare class MatListItemTitle {
40
+ _elementRef: ElementRef<HTMLElement>;
41
+ constructor(...args: unknown[]);
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemTitle, never>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemTitle, "[matListItemTitle]", never, {}, {}, never, never, true, never>;
44
+ }
96
45
  /**
97
- * Injection token that can be used to inject instances of `MatNavList`. It serves as
98
- * alternative token to the actual `MatNavList` class which could cause unnecessary
99
- * retention of the class and its component metadata.
46
+ * Directive capturing a line in a list item. A list item usually consists of a
47
+ * title and optional secondary or tertiary lines.
48
+ *
49
+ * Text content inside a line never wraps. There can be at maximum two lines per list item.
100
50
  */
101
- export declare const MAT_NAV_LIST: InjectionToken<MatNavList>;
102
-
103
- export declare const MAT_SELECTION_LIST_VALUE_ACCESSOR: any;
104
-
105
- export declare class MatActionList extends MatListBase {
106
- _isNonInteractive: boolean;
107
- static ɵfac: i0.ɵɵFactoryDeclaration<MatActionList, never>;
108
- static ɵcmp: i0.ɵɵComponentDeclaration<MatActionList, "mat-action-list", ["matActionList"], {}, {}, never, ["*"], true, never>;
51
+ declare class MatListItemLine {
52
+ _elementRef: ElementRef<HTMLElement>;
53
+ constructor(...args: unknown[]);
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemLine, never>;
55
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemLine, "[matListItemLine]", never, {}, {}, never, never, true, never>;
109
56
  }
110
-
111
- export declare class MatList extends MatListBase {
112
- static ɵfac: i0.ɵɵFactoryDeclaration<MatList, never>;
113
- static ɵcmp: i0.ɵɵComponentDeclaration<MatList, "mat-list", ["matList"], {}, {}, never, ["*"], true, never>;
57
+ /**
58
+ * Directive matching an optional meta section for list items.
59
+ *
60
+ * List items can reserve space at the end of an item to display a control,
61
+ * button or additional text content.
62
+ */
63
+ declare class MatListItemMeta {
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemMeta, never>;
65
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemMeta, "[matListItemMeta]", never, {}, {}, never, never, true, never>;
66
+ }
67
+ /**
68
+ * @docs-private
69
+ *
70
+ * MDC uses the very intuitively named classes `.mdc-list-item__start` and `.mat-list-item__end` to
71
+ * position content such as icons or checkboxes/radios that comes either before or after the text
72
+ * content respectively. This directive detects the placement of the checkbox/radio and applies the
73
+ * correct MDC class to position the icon/avatar on the opposite side.
74
+ */
75
+ declare class _MatListItemGraphicBase {
76
+ _listOption: ListOption | null;
77
+ constructor(...args: unknown[]);
78
+ _isAlignedAtStart(): boolean;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<_MatListItemGraphicBase, never>;
80
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_MatListItemGraphicBase, never, never, {}, {}, never, never, true, never>;
81
+ }
82
+ /**
83
+ * Directive matching an optional avatar within a list item.
84
+ *
85
+ * List items can reserve space at the beginning of an item to display an avatar.
86
+ */
87
+ declare class MatListItemAvatar extends _MatListItemGraphicBase {
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemAvatar, never>;
89
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemAvatar, "[matListItemAvatar]", never, {}, {}, never, never, true, never>;
90
+ }
91
+ /**
92
+ * Directive matching an optional icon within a list item.
93
+ *
94
+ * List items can reserve space at the beginning of an item to display an icon.
95
+ */
96
+ declare class MatListItemIcon extends _MatListItemGraphicBase {
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemIcon, never>;
98
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemIcon, "[matListItemIcon]", never, {}, {}, never, never, true, never>;
114
99
  }
115
100
 
116
101
  declare abstract class MatListBase {
@@ -130,43 +115,6 @@ declare abstract class MatListBase {
130
115
  static ɵfac: i0.ɵɵFactoryDeclaration<MatListBase, never>;
131
116
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatListBase, never, never, { "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
132
117
  }
133
-
134
- /** Object that can be used to configure the default options for the list module. */
135
- export declare interface MatListConfig {
136
- /** Whether icon indicators should be hidden for single-selection. */
137
- hideSingleSelectionIndicator?: boolean;
138
- }
139
-
140
- export declare class MatListItem extends MatListItemBase {
141
- _lines: QueryList<MatListItemLine>;
142
- _titles: QueryList<MatListItemTitle>;
143
- _meta: QueryList<MatListItemMeta>;
144
- _unscopedContent: ElementRef<HTMLSpanElement>;
145
- _itemText: ElementRef<HTMLElement>;
146
- /** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */
147
- get activated(): boolean;
148
- set activated(activated: boolean);
149
- _activated: boolean;
150
- /**
151
- * Determine the value of `aria-current`. Return 'page' if this item is an activated anchor tag.
152
- * Otherwise, return `null`. This method is safe to use with server-side rendering.
153
- */
154
- _getAriaCurrent(): string | null;
155
- protected _hasBothLeadingAndTrailing(): boolean;
156
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem, never>;
157
- static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], { "activated": { "alias": "activated"; "required": false; }; }, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"], true, never>;
158
- }
159
-
160
- /**
161
- * Directive matching an optional avatar within a list item.
162
- *
163
- * List items can reserve space at the beginning of an item to display an avatar.
164
- */
165
- export declare class MatListItemAvatar extends _MatListItemGraphicBase {
166
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemAvatar, never>;
167
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemAvatar, "[matListItemAvatar]", never, {}, {}, never, never, true, never>;
168
- }
169
-
170
118
  declare abstract class MatListItemBase implements AfterViewInit, OnDestroy, RippleTarget {
171
119
  _elementRef: ElementRef<HTMLElement>;
172
120
  protected _ngZone: NgZone;
@@ -263,76 +211,77 @@ declare abstract class MatListItemBase implements AfterViewInit, OnDestroy, Ripp
263
211
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemBase, never, never, { "lines": { "alias": "lines"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["_avatars", "_icons"], never, true, never>;
264
212
  }
265
213
 
266
- /**
267
- * @docs-private
268
- *
269
- * MDC uses the very intuitively named classes `.mdc-list-item__start` and `.mat-list-item__end` to
270
- * position content such as icons or checkboxes/radios that comes either before or after the text
271
- * content respectively. This directive detects the placement of the checkbox/radio and applies the
272
- * correct MDC class to position the icon/avatar on the opposite side.
273
- */
274
- export declare class _MatListItemGraphicBase {
275
- _listOption: ListOption | null;
276
- constructor(...args: unknown[]);
277
- _isAlignedAtStart(): boolean;
278
- static ɵfac: i0.ɵɵFactoryDeclaration<_MatListItemGraphicBase, never>;
279
- static ɵdir: i0.ɵɵDirectiveDeclaration<_MatListItemGraphicBase, never, never, {}, {}, never, never, true, never>;
214
+ declare class MatActionList extends MatListBase {
215
+ _isNonInteractive: boolean;
216
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatActionList, never>;
217
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatActionList, "mat-action-list", ["matActionList"], {}, {}, never, ["*"], true, never>;
280
218
  }
281
219
 
282
220
  /**
283
- * Directive matching an optional icon within a list item.
284
- *
285
- * List items can reserve space at the beginning of an item to display an icon.
221
+ * Injection token that can be used to inject instances of `MatList`. It serves as
222
+ * alternative token to the actual `MatList` class which could cause unnecessary
223
+ * retention of the class and its component metadata.
286
224
  */
287
- export declare class MatListItemIcon extends _MatListItemGraphicBase {
288
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemIcon, never>;
289
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemIcon, "[matListItemIcon]", never, {}, {}, never, never, true, never>;
225
+ declare const MAT_LIST: InjectionToken<MatList>;
226
+ declare class MatList extends MatListBase {
227
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatList, never>;
228
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatList, "mat-list", ["matList"], {}, {}, never, ["*"], true, never>;
229
+ }
230
+ declare class MatListItem extends MatListItemBase {
231
+ _lines: QueryList<MatListItemLine>;
232
+ _titles: QueryList<MatListItemTitle>;
233
+ _meta: QueryList<MatListItemMeta>;
234
+ _unscopedContent: ElementRef<HTMLSpanElement>;
235
+ _itemText: ElementRef<HTMLElement>;
236
+ /** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */
237
+ get activated(): boolean;
238
+ set activated(activated: boolean);
239
+ _activated: boolean;
240
+ /**
241
+ * Determine the value of `aria-current`. Return 'page' if this item is an activated anchor tag.
242
+ * Otherwise, return `null`. This method is safe to use with server-side rendering.
243
+ */
244
+ _getAriaCurrent(): string | null;
245
+ protected _hasBothLeadingAndTrailing(): boolean;
246
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem, never>;
247
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], { "activated": { "alias": "activated"; "required": false; }; }, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"], true, never>;
290
248
  }
291
249
 
292
250
  /**
293
- * Directive capturing a line in a list item. A list item usually consists of a
294
- * title and optional secondary or tertiary lines.
295
- *
296
- * Text content inside a line never wraps. There can be at maximum two lines per list item.
251
+ * Injection token that can be used to inject instances of `MatNavList`. It serves as
252
+ * alternative token to the actual `MatNavList` class which could cause unnecessary
253
+ * retention of the class and its component metadata.
297
254
  */
298
- export declare class MatListItemLine {
299
- _elementRef: ElementRef<HTMLElement>;
300
- constructor(...args: unknown[]);
301
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemLine, never>;
302
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemLine, "[matListItemLine]", never, {}, {}, never, never, true, never>;
255
+ declare const MAT_NAV_LIST: InjectionToken<MatNavList>;
256
+ declare class MatNavList extends MatListBase {
257
+ _isNonInteractive: boolean;
258
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatNavList, never>;
259
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatNavList, "mat-nav-list", ["matNavList"], {}, {}, never, ["*"], true, never>;
303
260
  }
304
261
 
305
262
  /**
306
- * Directive matching an optional meta section for list items.
307
- *
308
- * List items can reserve space at the end of an item to display a control,
309
- * button or additional text content.
263
+ * Injection token that can be used to reference instances of an `SelectionList`. It serves
264
+ * as alternative token to an actual implementation which would result in circular references.
265
+ * @docs-private
310
266
  */
311
- export declare class MatListItemMeta {
312
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemMeta, never>;
313
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemMeta, "[matListItemMeta]", never, {}, {}, never, never, true, never>;
314
- }
315
-
267
+ declare const SELECTION_LIST: InjectionToken<SelectionList>;
316
268
  /**
317
- * Directive capturing the title of a list item. A list item usually consists of a
318
- * title and optional secondary or tertiary lines.
319
- *
320
- * Text content for the title never wraps. There can only be a single title per list item.
269
+ * Interface describing the containing list of a list option. This is used to avoid
270
+ * circular dependencies between the list-option and the selection list.
271
+ * @docs-private
321
272
  */
322
- export declare class MatListItemTitle {
323
- _elementRef: ElementRef<HTMLElement>;
324
- constructor(...args: unknown[]);
325
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemTitle, never>;
326
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemTitle, "[matListItemTitle]", never, {}, {}, never, never, true, never>;
327
- }
328
-
329
- export declare class MatListModule {
330
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListModule, never>;
331
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, never, [typeof i1.ObserversModule, typeof i2.MatCommonModule, typeof i2.MatRippleModule, typeof i2.MatPseudoCheckboxModule, typeof i3.MatList, typeof i4.MatActionList, typeof i5.MatNavList, typeof i6.MatSelectionList, typeof i3.MatListItem, typeof i7.MatListOption, typeof i8.MatListSubheaderCssMatStyler, typeof i9.MatListItemAvatar, typeof i9.MatListItemIcon, typeof i9.MatListItemLine, typeof i9.MatListItemTitle, typeof i9.MatListItemMeta], [typeof i3.MatList, typeof i4.MatActionList, typeof i5.MatNavList, typeof i6.MatSelectionList, typeof i3.MatListItem, typeof i7.MatListOption, typeof i9.MatListItemAvatar, typeof i9.MatListItemIcon, typeof i8.MatListSubheaderCssMatStyler, typeof i10.MatDividerModule, typeof i9.MatListItemLine, typeof i9.MatListItemTitle, typeof i9.MatListItemMeta]>;
332
- static ɵinj: i0.ɵɵInjectorDeclaration<MatListModule>;
273
+ interface SelectionList extends MatListBase {
274
+ multiple: boolean;
275
+ color: ThemePalette;
276
+ selectedOptions: SelectionModel<MatListOption>;
277
+ hideSingleSelectionIndicator: boolean;
278
+ compareWith: (o1: any, o2: any) => boolean;
279
+ _value: string[] | null;
280
+ _reportValueChange(): void;
281
+ _emitChangeEvent(options: MatListOption[]): void;
282
+ _onTouched(): void;
333
283
  }
334
-
335
- export declare class MatListOption extends MatListItemBase implements ListOption, OnInit, OnDestroy {
284
+ declare class MatListOption extends MatListItemBase implements ListOption, OnInit, OnDestroy {
336
285
  protected _selectionList: SelectionList;
337
286
  private _changeDetectorRef;
338
287
  _lines: QueryList<MatListItemLine>;
@@ -417,30 +366,20 @@ export declare class MatListOption extends MatListItemBase implements ListOption
417
366
  static ɵcmp: i0.ɵɵComponentDeclaration<MatListOption, "mat-list-option", ["matListOption"], { "togglePosition": { "alias": "togglePosition"; "required": false; }; "checkboxPosition": { "alias": "checkboxPosition"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; }, ["_lines", "_titles"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "mat-divider"], true, never>;
418
367
  }
419
368
 
420
- /**
421
- * Type describing possible positions of a checkbox or radio in a list option
422
- * with respect to the list item's text.
423
- */
424
- declare type MatListOptionTogglePosition = 'before' | 'after';
425
- export { MatListOptionTogglePosition as MatListOptionCheckboxPosition }
426
- export { MatListOptionTogglePosition }
427
-
428
- /**
429
- * Directive whose purpose is to add the mat- CSS styling to this selector.
430
- * @docs-private
431
- */
432
- export declare class MatListSubheaderCssMatStyler {
433
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListSubheaderCssMatStyler, never>;
434
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatListSubheaderCssMatStyler, "[mat-subheader], [matSubheader]", never, {}, {}, never, never, true, never>;
435
- }
436
-
437
- export declare class MatNavList extends MatListBase {
438
- _isNonInteractive: boolean;
439
- static ɵfac: i0.ɵɵFactoryDeclaration<MatNavList, never>;
440
- static ɵcmp: i0.ɵɵComponentDeclaration<MatNavList, "mat-nav-list", ["matNavList"], {}, {}, never, ["*"], true, never>;
369
+ declare const MAT_SELECTION_LIST_VALUE_ACCESSOR: any;
370
+ /** Change event that is being fired whenever the selected state of an option changes. */
371
+ declare class MatSelectionListChange {
372
+ /** Reference to the selection list that emitted the event. */
373
+ source: MatSelectionList;
374
+ /** Reference to the options that have been changed. */
375
+ options: MatListOption[];
376
+ constructor(
377
+ /** Reference to the selection list that emitted the event. */
378
+ source: MatSelectionList,
379
+ /** Reference to the options that have been changed. */
380
+ options: MatListOption[]);
441
381
  }
442
-
443
- export declare class MatSelectionList extends MatListBase implements SelectionList, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
382
+ declare class MatSelectionList extends MatListBase implements SelectionList, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
444
383
  _element: ElementRef<HTMLElement>;
445
384
  private _ngZone;
446
385
  private _renderer;
@@ -566,41 +505,19 @@ export declare class MatSelectionList extends MatListBase implements SelectionLi
566
505
  static ɵcmp: i0.ɵɵComponentDeclaration<MatSelectionList, "mat-selection-list", ["matSelectionList"], { "color": { "alias": "color"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectionChange": "selectionChange"; }, ["_items"], ["*"], true, never>;
567
506
  }
568
507
 
569
- /** Change event that is being fired whenever the selected state of an option changes. */
570
- export declare class MatSelectionListChange {
571
- /** Reference to the selection list that emitted the event. */
572
- source: MatSelectionList;
573
- /** Reference to the options that have been changed. */
574
- options: MatListOption[];
575
- constructor(
576
- /** Reference to the selection list that emitted the event. */
577
- source: MatSelectionList,
578
- /** Reference to the options that have been changed. */
579
- options: MatListOption[]);
580
- }
581
-
582
508
  /**
583
- * Injection token that can be used to reference instances of an `SelectionList`. It serves
584
- * as alternative token to an actual implementation which would result in circular references.
509
+ * Directive whose purpose is to add the mat- CSS styling to this selector.
585
510
  * @docs-private
586
511
  */
587
- export declare const SELECTION_LIST: InjectionToken<SelectionList>;
512
+ declare class MatListSubheaderCssMatStyler {
513
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatListSubheaderCssMatStyler, never>;
514
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatListSubheaderCssMatStyler, "[mat-subheader], [matSubheader]", never, {}, {}, never, never, true, never>;
515
+ }
588
516
 
589
- /**
590
- * Interface describing the containing list of a list option. This is used to avoid
591
- * circular dependencies between the list-option and the selection list.
592
- * @docs-private
593
- */
594
- export declare interface SelectionList extends MatListBase {
595
- multiple: boolean;
596
- color: ThemePalette;
597
- selectedOptions: SelectionModel<MatListOption>;
598
- hideSingleSelectionIndicator: boolean;
599
- compareWith: (o1: any, o2: any) => boolean;
600
- _value: string[] | null;
601
- _reportValueChange(): void;
602
- _emitChangeEvent(options: MatListOption[]): void;
603
- _onTouched(): void;
517
+ declare class MatListModule {
518
+ 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]>;
520
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatListModule>;
604
521
  }
605
522
 
606
- export { }
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 };