@angular/material 19.0.0-next.4 → 19.0.0-next.6

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 (196) hide show
  1. package/_index.scss +1 -1
  2. package/autocomplete/index.d.ts +5 -15
  3. package/badge/index.d.ts +3 -7
  4. package/bottom-sheet/index.d.ts +5 -15
  5. package/button/index.d.ts +20 -24
  6. package/button-toggle/index.d.ts +5 -8
  7. package/card/index.d.ts +2 -2
  8. package/checkbox/index.d.ts +4 -6
  9. package/chips/index.d.ts +13 -24
  10. package/core/_core.scss +6 -0
  11. package/core/index.d.ts +14 -19
  12. package/datepicker/index.d.ts +44 -70
  13. package/dialog/index.d.ts +10 -34
  14. package/dialog/testing/index.d.ts +1 -1
  15. package/expansion/index.d.ts +9 -13
  16. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  17. package/fesm2022/autocomplete.mjs +32 -62
  18. package/fesm2022/autocomplete.mjs.map +1 -1
  19. package/fesm2022/badge/testing.mjs.map +1 -1
  20. package/fesm2022/badge.mjs +12 -19
  21. package/fesm2022/badge.mjs.map +1 -1
  22. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  23. package/fesm2022/bottom-sheet.mjs +17 -32
  24. package/fesm2022/bottom-sheet.mjs.map +1 -1
  25. package/fesm2022/button/testing.mjs.map +1 -1
  26. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  27. package/fesm2022/button-toggle.mjs +18 -34
  28. package/fesm2022/button-toggle.mjs.map +1 -1
  29. package/fesm2022/button.mjs +44 -113
  30. package/fesm2022/button.mjs.map +1 -1
  31. package/fesm2022/card/testing.mjs.map +1 -1
  32. package/fesm2022/card.mjs +5 -9
  33. package/fesm2022/card.mjs.map +1 -1
  34. package/fesm2022/checkbox/testing.mjs.map +1 -1
  35. package/fesm2022/checkbox.mjs +14 -24
  36. package/fesm2022/checkbox.mjs.map +1 -1
  37. package/fesm2022/chips/testing.mjs.map +1 -1
  38. package/fesm2022/chips.mjs +61 -112
  39. package/fesm2022/chips.mjs.map +1 -1
  40. package/fesm2022/core/testing.mjs.map +1 -1
  41. package/fesm2022/core.mjs +31 -66
  42. package/fesm2022/core.mjs.map +1 -1
  43. package/fesm2022/datepicker/testing.mjs.map +1 -1
  44. package/fesm2022/datepicker.mjs +132 -268
  45. package/fesm2022/datepicker.mjs.map +1 -1
  46. package/fesm2022/dialog/testing.mjs +3 -3
  47. package/fesm2022/dialog/testing.mjs.map +1 -1
  48. package/fesm2022/dialog.mjs +27 -85
  49. package/fesm2022/dialog.mjs.map +1 -1
  50. package/fesm2022/divider/testing.mjs.map +1 -1
  51. package/fesm2022/divider.mjs.map +1 -1
  52. package/fesm2022/expansion/testing.mjs.map +1 -1
  53. package/fesm2022/expansion.mjs +32 -67
  54. package/fesm2022/expansion.mjs.map +1 -1
  55. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  56. package/fesm2022/form-field/testing.mjs.map +1 -1
  57. package/fesm2022/form-field.mjs +42 -62
  58. package/fesm2022/form-field.mjs.map +1 -1
  59. package/fesm2022/grid-list/testing.mjs.map +1 -1
  60. package/fesm2022/grid-list.mjs +16 -23
  61. package/fesm2022/grid-list.mjs.map +1 -1
  62. package/fesm2022/icon/testing.mjs.map +1 -1
  63. package/fesm2022/icon.mjs +11 -20
  64. package/fesm2022/icon.mjs.map +1 -1
  65. package/fesm2022/input/testing.mjs.map +1 -1
  66. package/fesm2022/input.mjs +23 -47
  67. package/fesm2022/input.mjs.map +1 -1
  68. package/fesm2022/list/testing.mjs.map +1 -1
  69. package/fesm2022/list.mjs +59 -98
  70. package/fesm2022/list.mjs.map +1 -1
  71. package/fesm2022/material.mjs.map +1 -1
  72. package/fesm2022/menu/testing.mjs.map +1 -1
  73. package/fesm2022/menu.mjs +51 -99
  74. package/fesm2022/menu.mjs.map +1 -1
  75. package/fesm2022/paginator/testing.mjs.map +1 -1
  76. package/fesm2022/paginator.mjs.map +1 -1
  77. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  78. package/fesm2022/progress-bar.mjs +12 -19
  79. package/fesm2022/progress-bar.mjs.map +1 -1
  80. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  81. package/fesm2022/progress-spinner.mjs +8 -14
  82. package/fesm2022/progress-spinner.mjs.map +1 -1
  83. package/fesm2022/radio/testing.mjs.map +1 -1
  84. package/fesm2022/radio.mjs +21 -34
  85. package/fesm2022/radio.mjs.map +1 -1
  86. package/fesm2022/select/testing.mjs.map +1 -1
  87. package/fesm2022/select.mjs +26 -58
  88. package/fesm2022/select.mjs.map +1 -1
  89. package/fesm2022/sidenav/testing.mjs.map +1 -1
  90. package/fesm2022/sidenav.mjs +50 -70
  91. package/fesm2022/sidenav.mjs.map +1 -1
  92. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  93. package/fesm2022/slide-toggle.mjs +13 -21
  94. package/fesm2022/slide-toggle.mjs.map +1 -1
  95. package/fesm2022/slider/testing.mjs.map +1 -1
  96. package/fesm2022/slider.mjs +49 -57
  97. package/fesm2022/slider.mjs.map +1 -1
  98. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  99. package/fesm2022/snack-bar.mjs +30 -43
  100. package/fesm2022/snack-bar.mjs.map +1 -1
  101. package/fesm2022/sort/testing.mjs.map +1 -1
  102. package/fesm2022/sort.mjs +18 -37
  103. package/fesm2022/sort.mjs.map +1 -1
  104. package/fesm2022/stepper/testing.mjs.map +1 -1
  105. package/fesm2022/stepper.mjs +30 -42
  106. package/fesm2022/stepper.mjs.map +1 -1
  107. package/fesm2022/table/testing.mjs.map +1 -1
  108. package/fesm2022/table.mjs.map +1 -1
  109. package/fesm2022/tabs/testing.mjs.map +1 -1
  110. package/fesm2022/tabs.mjs +87 -142
  111. package/fesm2022/tabs.mjs.map +1 -1
  112. package/fesm2022/toolbar/testing.mjs.map +1 -1
  113. package/fesm2022/toolbar.mjs +8 -12
  114. package/fesm2022/toolbar.mjs.map +1 -1
  115. package/fesm2022/tooltip/testing.mjs.map +1 -1
  116. package/fesm2022/tooltip.mjs +45 -59
  117. package/fesm2022/tooltip.mjs.map +1 -1
  118. package/fesm2022/tree/testing.mjs.map +1 -1
  119. package/fesm2022/tree.mjs +13 -40
  120. package/fesm2022/tree.mjs.map +1 -1
  121. package/form-field/index.d.ts +10 -24
  122. package/grid-list/index.d.ts +6 -8
  123. package/icon/index.d.ts +2 -2
  124. package/input/index.d.ts +3 -7
  125. package/list/index.d.ts +10 -14
  126. package/menu/index.d.ts +15 -49
  127. package/package.json +2 -2
  128. package/progress-bar/index.d.ts +3 -5
  129. package/progress-spinner/index.d.ts +2 -2
  130. package/radio/index.d.ts +5 -8
  131. package/schematics/ng-add/fonts/material-fonts.d.ts +1 -1
  132. package/schematics/ng-add/fonts/material-fonts.js +2 -2
  133. package/schematics/ng-add/fonts/material-fonts.mjs +2 -2
  134. package/schematics/ng-add/index.d.ts +1 -1
  135. package/schematics/ng-add/index.js +3 -3
  136. package/schematics/ng-add/index.mjs +3 -3
  137. package/schematics/ng-add/package-config.d.ts +1 -1
  138. package/schematics/ng-add/package-config.js +2 -2
  139. package/schematics/ng-add/package-config.mjs +2 -2
  140. package/schematics/ng-add/schema.d.ts +1 -1
  141. package/schematics/ng-add/schema.js +2 -2
  142. package/schematics/ng-add/schema.mjs +2 -2
  143. package/schematics/ng-add/setup-project.d.ts +1 -1
  144. package/schematics/ng-add/setup-project.js +3 -3
  145. package/schematics/ng-add/setup-project.mjs +3 -3
  146. package/schematics/ng-add/theming/create-custom-theme.d.ts +1 -1
  147. package/schematics/ng-add/theming/create-custom-theme.js +2 -2
  148. package/schematics/ng-add/theming/create-custom-theme.mjs +2 -2
  149. package/schematics/ng-add/theming/theming.d.ts +1 -1
  150. package/schematics/ng-add/theming/theming.js +2 -2
  151. package/schematics/ng-add/theming/theming.mjs +2 -2
  152. package/schematics/ng-generate/address-form/index.d.ts +1 -1
  153. package/schematics/ng-generate/address-form/index.js +2 -2
  154. package/schematics/ng-generate/address-form/index.mjs +2 -2
  155. package/schematics/ng-generate/address-form/schema.d.ts +1 -1
  156. package/schematics/ng-generate/address-form/schema.js +2 -2
  157. package/schematics/ng-generate/address-form/schema.mjs +2 -2
  158. package/schematics/ng-generate/dashboard/index.d.ts +1 -1
  159. package/schematics/ng-generate/dashboard/index.js +2 -2
  160. package/schematics/ng-generate/dashboard/index.mjs +2 -2
  161. package/schematics/ng-generate/dashboard/schema.d.ts +1 -1
  162. package/schematics/ng-generate/dashboard/schema.js +2 -2
  163. package/schematics/ng-generate/dashboard/schema.mjs +2 -2
  164. package/schematics/ng-generate/m3-theme/index_bundled.js +1 -1
  165. package/schematics/ng-generate/m3-theme/index_bundled.js.map +1 -1
  166. package/schematics/ng-generate/navigation/index.d.ts +1 -1
  167. package/schematics/ng-generate/navigation/index.js +2 -2
  168. package/schematics/ng-generate/navigation/index.mjs +2 -2
  169. package/schematics/ng-generate/navigation/schema.d.ts +1 -1
  170. package/schematics/ng-generate/navigation/schema.js +2 -2
  171. package/schematics/ng-generate/navigation/schema.mjs +2 -2
  172. package/schematics/ng-generate/table/index.d.ts +1 -1
  173. package/schematics/ng-generate/table/index.js +2 -2
  174. package/schematics/ng-generate/table/index.mjs +2 -2
  175. package/schematics/ng-generate/table/schema.d.ts +1 -1
  176. package/schematics/ng-generate/table/schema.js +2 -2
  177. package/schematics/ng-generate/table/schema.mjs +2 -2
  178. package/schematics/ng-generate/tree/index.d.ts +1 -1
  179. package/schematics/ng-generate/tree/index.js +2 -2
  180. package/schematics/ng-generate/tree/index.mjs +2 -2
  181. package/schematics/ng-generate/tree/schema.d.ts +1 -1
  182. package/schematics/ng-generate/tree/schema.js +2 -2
  183. package/schematics/ng-generate/tree/schema.mjs +2 -2
  184. package/schematics/ng-update/index_bundled.js +6518 -2
  185. package/schematics/ng-update/index_bundled.js.map +4 -4
  186. package/select/index.d.ts +4 -14
  187. package/sidenav/index.d.ts +7 -17
  188. package/slide-toggle/index.d.ts +2 -2
  189. package/slider/index.d.ts +8 -8
  190. package/snack-bar/index.d.ts +6 -22
  191. package/sort/index.d.ts +4 -20
  192. package/stepper/index.d.ts +6 -13
  193. package/tabs/index.d.ts +21 -32
  194. package/toolbar/index.d.ts +3 -4
  195. package/tooltip/index.d.ts +5 -12
  196. package/tree/index.d.ts +5 -18
package/dialog/index.d.ts CHANGED
@@ -7,11 +7,8 @@ import { ComponentType } from '@angular/cdk/overlay';
7
7
  import { Dialog } from '@angular/cdk/dialog';
8
8
  import { DialogRef } from '@angular/cdk/dialog';
9
9
  import { Direction } from '@angular/cdk/bidi';
10
- import { ElementRef } from '@angular/core';
11
10
  import { EventEmitter } from '@angular/core';
12
- import { FocusMonitor } from '@angular/cdk/a11y';
13
11
  import { FocusOrigin } from '@angular/cdk/a11y';
14
- import { FocusTrapFactory } from '@angular/cdk/a11y';
15
12
  import * as i0 from '@angular/core';
16
13
  import * as i1 from '@angular/cdk/scrolling';
17
14
  import * as i1_2 from '@angular/cdk/dialog';
@@ -20,16 +17,11 @@ import * as i3 from '@angular/cdk/portal';
20
17
  import * as i4 from '@angular/material/core';
21
18
  import { InjectionToken } from '@angular/core';
22
19
  import { Injector } from '@angular/core';
23
- import { InteractivityChecker } from '@angular/cdk/a11y';
24
- import { Location as Location_2 } from '@angular/common';
25
- import { NgZone } from '@angular/core';
26
20
  import { Observable } from 'rxjs';
27
21
  import { OnChanges } from '@angular/core';
28
22
  import { OnDestroy } from '@angular/core';
29
23
  import { OnInit } from '@angular/core';
30
24
  import { Overlay } from '@angular/cdk/overlay';
31
- import { OverlayContainer } from '@angular/cdk/overlay';
32
- import { OverlayRef } from '@angular/cdk/overlay';
33
25
  import { ScrollStrategy } from '@angular/cdk/overlay';
34
26
  import { SimpleChanges } from '@angular/core';
35
27
  import { Subject } from 'rxjs';
@@ -134,10 +126,10 @@ export declare class MatDialog implements OnDestroy {
134
126
  private _defaultOptions;
135
127
  private _scrollStrategy;
136
128
  private _parentDialog;
129
+ protected _dialog: Dialog;
137
130
  private readonly _openDialogsAtThisLevel;
138
131
  private readonly _afterAllClosedAtThisLevel;
139
132
  private readonly _afterOpenedAtThisLevel;
140
- protected _dialog: Dialog;
141
133
  protected dialogConfigClass: typeof MatDialogConfig;
142
134
  private readonly _dialogRefConstructor;
143
135
  private readonly _dialogContainerType;
@@ -152,22 +144,7 @@ export declare class MatDialog implements OnDestroy {
152
144
  * Will emit on subscribe if there are no open dialogs to begin with.
153
145
  */
154
146
  readonly afterAllClosed: Observable<void>;
155
- constructor(_overlay: Overlay, injector: Injector,
156
- /**
157
- * @deprecated `_location` parameter to be removed.
158
- * @breaking-change 10.0.0
159
- */
160
- location: Location_2, _defaultOptions: MatDialogConfig, _scrollStrategy: any, _parentDialog: MatDialog,
161
- /**
162
- * @deprecated No longer used. To be removed.
163
- * @breaking-change 15.0.0
164
- */
165
- _overlayContainer: OverlayContainer,
166
- /**
167
- * @deprecated No longer used. To be removed.
168
- * @breaking-change 14.0.0
169
- */
170
- _animationMode?: 'NoopAnimations' | 'BrowserAnimations');
147
+ constructor(...args: unknown[]);
171
148
  /**
172
149
  * Opens a modal dialog containing the given component.
173
150
  * @param component Type of the component to load into the dialog.
@@ -194,7 +171,7 @@ export declare class MatDialog implements OnDestroy {
194
171
  getDialogById(id: string): MatDialogRef<any> | undefined;
195
172
  ngOnDestroy(): void;
196
173
  private _closeDialogs;
197
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, [null, null, { optional: true; }, { optional: true; }, null, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
174
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, never>;
198
175
  static ɵprov: i0.ɵɵInjectableDeclaration<MatDialog>;
199
176
  }
200
177
 
@@ -225,7 +202,7 @@ export declare const matDialogAnimations: {
225
202
  * Button that will close the current dialog.
226
203
  */
227
204
  export declare class MatDialogClose implements OnInit, OnChanges {
228
- dialogRef: MatDialogRef<any>;
205
+ dialogRef: MatDialogRef<any, any>;
229
206
  private _elementRef;
230
207
  private _dialog;
231
208
  /** Screen-reader label for the button. */
@@ -235,11 +212,11 @@ export declare class MatDialogClose implements OnInit, OnChanges {
235
212
  /** Dialog close input. */
236
213
  dialogResult: any;
237
214
  _matDialogClose: any;
238
- constructor(dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
215
+ constructor(...args: unknown[]);
239
216
  ngOnInit(): void;
240
217
  ngOnChanges(changes: SimpleChanges): void;
241
218
  _onButtonClick(event: MouseEvent): void;
242
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, [{ optional: true; }, null, null]>;
219
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, never>;
243
220
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogClose, "[mat-dialog-close], [matDialogClose]", ["matDialogClose"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dialogResult": { "alias": "mat-dialog-close"; "required": false; }; "_matDialogClose": { "alias": "matDialogClose"; "required": false; }; }, {}, never, never, true, never>;
244
221
  }
245
222
 
@@ -350,7 +327,6 @@ export declare class MatDialogContainer extends CdkDialogContainer<MatDialogConf
350
327
  private _exitAnimationDuration;
351
328
  /** Current timer for dialog animations. */
352
329
  private _animationTimer;
353
- constructor(elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, _document: any, dialogConfig: MatDialogConfig, interactivityChecker: InteractivityChecker, ngZone: NgZone, overlayRef: OverlayRef, _unusedAnimationMode?: string, focusMonitor?: FocusMonitor);
354
330
  protected _contentAttached(): void;
355
331
  /** Starts the dialog open animation if enabled. */
356
332
  private _startOpenAnimation;
@@ -387,7 +363,7 @@ export declare class MatDialogContainer extends CdkDialogContainer<MatDialogConf
387
363
  protected _openAnimationDone(totalTime: number): void;
388
364
  ngOnDestroy(): void;
389
365
  attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
390
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, [null, null, { optional: true; }, null, null, null, null, { optional: true; }, null]>;
366
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, never>;
391
367
  static ɵcmp: i0.ɵɵComponentDeclaration<MatDialogContainer, "mat-dialog-container", never, {}, {}, never, never, true, never>;
392
368
  }
393
369
 
@@ -400,15 +376,15 @@ export declare class MatDialogContent {
400
376
  }
401
377
 
402
378
  declare abstract class MatDialogLayoutSection implements OnInit, OnDestroy {
403
- protected _dialogRef: MatDialogRef<any>;
379
+ protected _dialogRef: MatDialogRef<any, any>;
404
380
  private _elementRef;
405
381
  private _dialog;
406
- constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
382
+ constructor(...args: unknown[]);
407
383
  protected abstract _onAdd(): void;
408
384
  protected abstract _onRemove(): void;
409
385
  ngOnInit(): void;
410
386
  ngOnDestroy(): void;
411
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogLayoutSection, [{ optional: true; }, null, null]>;
387
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogLayoutSection, never>;
412
388
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogLayoutSection, never, never, {}, {}, never, never, true, never>;
413
389
  }
414
390
 
@@ -76,7 +76,7 @@ export declare class MatTestDialogOpener<T = unknown, R = unknown> implements On
76
76
  private readonly _ngZone;
77
77
  /** Static method that prepares this class to open the provided component. */
78
78
  static withComponent<T = unknown, R = unknown>(component: ComponentType<T>, config?: MatDialogConfig): ComponentType<MatTestDialogOpener<T, R>>;
79
- constructor(dialog: MatDialog);
79
+ constructor(...args: unknown[]);
80
80
  ngOnDestroy(): void;
81
81
  }
82
82
 
@@ -4,11 +4,9 @@ import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
4
4
  import { AnimationTriggerMetadata } from '@angular/animations';
5
5
  import { CdkAccordion } from '@angular/cdk/accordion';
6
6
  import { CdkAccordionItem } from '@angular/cdk/accordion';
7
- import { ChangeDetectorRef } from '@angular/core';
8
7
  import { ElementRef } from '@angular/core';
9
8
  import { EventEmitter } from '@angular/core';
10
9
  import { FocusableOption } from '@angular/cdk/a11y';
11
- import { FocusMonitor } from '@angular/cdk/a11y';
12
10
  import { FocusOrigin } from '@angular/cdk/a11y';
13
11
  import * as i0 from '@angular/core';
14
12
  import * as i1 from '@angular/material/core';
@@ -22,8 +20,6 @@ import { SimpleChanges } from '@angular/core';
22
20
  import { Subject } from 'rxjs';
23
21
  import { TemplatePortal } from '@angular/cdk/portal';
24
22
  import { TemplateRef } from '@angular/core';
25
- import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
26
- import { ViewContainerRef } from '@angular/core';
27
23
 
28
24
  /** Time and timing curve for expansion panel animations. */
29
25
  export declare const EXPANSION_PANEL_ANIMATION_TIMING = "225ms cubic-bezier(0.4,0.0,0.2,1)";
@@ -170,7 +166,7 @@ export declare class MatExpansionModule {
170
166
  */
171
167
  export declare class MatExpansionPanel extends CdkAccordionItem implements AfterContentInit, OnChanges, OnDestroy {
172
168
  private _viewContainerRef;
173
- _animationMode: string;
169
+ _animationMode: "NoopAnimations" | "BrowserAnimations" | null;
174
170
  protected _animationsDisabled: boolean;
175
171
  private _document;
176
172
  /** Whether the toggle indicator should be hidden. */
@@ -197,7 +193,7 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
197
193
  _portal: TemplatePortal;
198
194
  /** ID for the associated header element. Used for a11y labelling. */
199
195
  _headerId: string;
200
- constructor(accordion: MatAccordionBase, _changeDetectorRef: ChangeDetectorRef, _uniqueSelectionDispatcher: UniqueSelectionDispatcher, _viewContainerRef: ViewContainerRef, _document: any, _animationMode: string, defaultOptions?: MatExpansionPanelDefaultOptions);
196
+ constructor(...args: unknown[]);
201
197
  /** Determines whether the expansion panel should have spacing between it and its siblings. */
202
198
  _hasSpacing(): boolean;
203
199
  /** Gets the expanded state string. */
@@ -217,7 +213,7 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
217
213
  protected _animationStarted(event: AnimationEvent_2): void;
218
214
  /** Called when the expansion animation has finished. */
219
215
  protected _animationDone(event: AnimationEvent_2): void;
220
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, [{ optional: true; skipSelf: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
216
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, never>;
221
217
  static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanel, "mat-expansion-panel", ["matExpansionPanel"], { "hideToggle": { "alias": "hideToggle"; "required": false; }; "togglePosition": { "alias": "togglePosition"; "required": false; }; }, { "afterExpand": "afterExpand"; "afterCollapse": "afterCollapse"; }, ["_lazyContent"], ["mat-expansion-panel-header", "*", "mat-action-row"], true, never>;
222
218
  static ngAcceptInputType_hideToggle: unknown;
223
219
  }
@@ -245,9 +241,9 @@ declare interface MatExpansionPanelBase extends CdkAccordionItem {
245
241
  */
246
242
  export declare class MatExpansionPanelContent {
247
243
  _template: TemplateRef<any>;
248
- _expansionPanel?: MatExpansionPanelBase | undefined;
249
- constructor(_template: TemplateRef<any>, _expansionPanel?: MatExpansionPanelBase | undefined);
250
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelContent, [null, { optional: true; }]>;
244
+ _expansionPanel: MatExpansionPanelBase | null;
245
+ constructor(...args: unknown[]);
246
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelContent, never>;
251
247
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatExpansionPanelContent, "ng-template[matExpansionPanelContent]", never, {}, {}, never, never, true, never>;
252
248
  }
253
249
 
@@ -280,9 +276,9 @@ export declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy
280
276
  private _element;
281
277
  private _focusMonitor;
282
278
  private _changeDetectorRef;
283
- _animationMode?: string | undefined;
279
+ _animationMode: "NoopAnimations" | "BrowserAnimations" | null;
284
280
  private _parentChangeSubscription;
285
- constructor(panel: MatExpansionPanel, _element: ElementRef, _focusMonitor: FocusMonitor, _changeDetectorRef: ChangeDetectorRef, defaultOptions?: MatExpansionPanelDefaultOptions, _animationMode?: string | undefined, tabIndex?: string);
281
+ constructor(...args: unknown[]);
286
282
  /** Height of the header while the panel is expanded. */
287
283
  expandedHeight: string;
288
284
  /** Height of the header while the panel is collapsed. */
@@ -321,7 +317,7 @@ export declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy
321
317
  focus(origin?: FocusOrigin, options?: FocusOptions): void;
322
318
  ngAfterViewInit(): void;
323
319
  ngOnDestroy(): void;
324
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelHeader, [{ host: true; }, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
320
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelHeader, never>;
325
321
  static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanelHeader, "mat-expansion-panel-header", never, { "expandedHeight": { "alias": "expandedHeight"; "required": false; }; "collapsedHeight": { "alias": "collapsedHeight"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["mat-panel-title", "mat-panel-description", "*"], true, never>;
326
322
  static ngAcceptInputType_tabIndex: unknown;
327
323
  }
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/autocomplete/testing/autocomplete-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '@angular/material/core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":";;;;AAuBM,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAA5D,IAAA,WAAA,GAAA;;AACU,QAAA,IAAA,CAAA,oBAAoB,GAAG,IAAI,CAAC,0BAA0B,EAAE,CAAC;KAuHlE;;aApHQ,IAAY,CAAA,YAAA,GAAG,+BAAH,CAAmC,EAAA;AAEtD;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAET,OAAA,GAAsC,EAAE,EAAA;AAExC,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC;aACvC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAChD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAA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,CAAC;KAC1E;;AAGO,IAAA,MAAM,SAAS,GAAA;;;AAGrB,QAAA,OAAO,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC,EAAE,CAAC;KACvF;;AAGS,IAAA,MAAM,iBAAiB,GAAA;AAC/B,QAAA,OAAO,CAAI,CAAA,EAAA,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC;KACtE;;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/autocomplete/testing/autocomplete-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '@angular/material/core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":";;;;AAuBM,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAA5D,IAAA,WAAA,GAAA;;AACU,QAAA,IAAA,CAAA,oBAAoB,GAAG,IAAI,CAAC,0BAA0B,EAAE,CAAC;KAuHlE;;aApHQ,IAAY,CAAA,YAAA,GAAG,+BAAH,CAAmC,EAAA;AAEtD;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAET,OAAA,GAAsC,EAAE,EAAA;AAExC,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC;aACvC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAChD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAC1D;AACA,aAAA,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,OAAO,EAAE,QAAQ,KAAI;YACnE,OAAO,CAAC,MAAM,OAAO,CAAC,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnD,SAAC,CAAC,CAAC;KACN;;AAGD,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAS,OAAO,CAAC,CAAC;KACzD;;AAGD,IAAA,MAAM,UAA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core';
2
- import { InjectionToken, EventEmitter, booleanAttribute, TemplateRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, ViewChild, ContentChildren, Input, Output, Directive, forwardRef, inject, Injector, afterNextRender, Optional, Host, NgModule } from '@angular/core';
2
+ import { InjectionToken, inject, ChangeDetectorRef, ElementRef, EventEmitter, booleanAttribute, TemplateRef, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, ContentChildren, Input, Output, Directive, forwardRef, ViewContainerRef, NgZone, Injector, afterNextRender, NgModule } from '@angular/core';
3
3
  import { MAT_OPTION_PARENT_COMPONENT, MatOption, MAT_OPTGROUP, MatOptionSelectionChange, _countGroupLabelsBeforeOption, _getOptionScrollPosition, MatOptionModule, MatCommonModule } from '@angular/material/core';
4
4
  export { MatOptgroup, MatOption } from '@angular/material/core';
5
5
  import { DOCUMENT, CommonModule } from '@angular/common';
6
- import * as i3 from '@angular/cdk/scrolling';
7
- import { CdkScrollableModule } from '@angular/cdk/scrolling';
8
- import * as i1$1 from '@angular/cdk/overlay';
6
+ import { ViewportRuler, CdkScrollableModule } from '@angular/cdk/scrolling';
9
7
  import { Overlay, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
10
8
  import { ActiveDescendantKeyManager, removeAriaReferencedId, addAriaReferencedId } from '@angular/cdk/a11y';
11
- import * as i1 from '@angular/cdk/platform';
12
- import { _getEventTarget } from '@angular/cdk/platform';
9
+ import { Platform, _getEventTarget } from '@angular/cdk/platform';
13
10
  import { trigger, state, style, transition, group, animate } from '@angular/animations';
14
11
  import { Subscription, Subject, defer, merge, of, fromEvent, Observable } from 'rxjs';
12
+ import { Directionality } from '@angular/cdk/bidi';
15
13
  import { ESCAPE, hasModifierKey, UP_ARROW, ENTER, DOWN_ARROW, TAB } from '@angular/cdk/keycodes';
16
14
  import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
17
15
  import { TemplatePortal } from '@angular/cdk/portal';
18
16
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
19
- import * as i4 from '@angular/material/form-field';
20
17
  import { MAT_FORM_FIELD } from '@angular/material/form-field';
21
18
  import { startWith, switchMap, filter, map, tap, delay, take } from 'rxjs/operators';
22
- import * as i2 from '@angular/cdk/bidi';
23
19
 
24
20
  // Animation values come from
25
21
  // TODO(mmalerba): Ideally find a way to import the values from MDC's code.
@@ -102,10 +98,10 @@ class MatAutocomplete {
102
98
  }
103
99
  }
104
100
  }
105
- constructor(_changeDetectorRef, _elementRef, _defaults, platform) {
106
- this._changeDetectorRef = _changeDetectorRef;
107
- this._elementRef = _elementRef;
108
- this._defaults = _defaults;
101
+ constructor() {
102
+ this._changeDetectorRef = inject(ChangeDetectorRef);
103
+ this._elementRef = inject(ElementRef);
104
+ this._defaults = inject(MAT_AUTOCOMPLETE_DEFAULT_OPTIONS);
109
105
  this._activeOptionChanges = Subscription.EMPTY;
110
106
  /** Emits when the panel animation is done. Null if the panel doesn't animate. */
111
107
  this._animationDone = new EventEmitter();
@@ -124,14 +120,15 @@ class MatAutocomplete {
124
120
  this.optionActivated = new EventEmitter();
125
121
  /** Unique ID to be used by autocomplete trigger's "aria-owns" property. */
126
122
  this.id = `mat-autocomplete-${_uniqueAutocompleteIdCounter++}`;
123
+ const platform = inject(Platform);
127
124
  // TODO(crisbeto): the problem that the `inertGroups` option resolves is only present on
128
125
  // Safari using VoiceOver. We should occasionally check back to see whether the bug
129
126
  // wasn't resolved in VoiceOver, and if it has, we can remove this and the `inertGroups`
130
127
  // option altogether.
131
128
  this.inertGroups = platform?.SAFARI || false;
132
- this.autoActiveFirstOption = !!_defaults.autoActiveFirstOption;
133
- this.autoSelectActiveOption = !!_defaults.autoSelectActiveOption;
134
- this.requireSelection = !!_defaults.requireSelection;
129
+ this.autoActiveFirstOption = !!this._defaults.autoActiveFirstOption;
130
+ this.autoSelectActiveOption = !!this._defaults.autoSelectActiveOption;
131
+ this.requireSelection = !!this._defaults.requireSelection;
135
132
  this._hideSingleSelectionIndicator = this._defaults.hideSingleSelectionIndicator ?? false;
136
133
  }
137
134
  ngAfterContentInit() {
@@ -199,7 +196,7 @@ class MatAutocomplete {
199
196
  _skipPredicate() {
200
197
  return false;
201
198
  }
202
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
199
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
203
200
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.0-next.3", type: MatAutocomplete, isStandalone: true, selector: "mat-autocomplete", inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: ["autoActiveFirstOption", "autoActiveFirstOption", booleanAttribute], autoSelectActiveOption: ["autoSelectActiveOption", "autoSelectActiveOption", booleanAttribute], requireSelection: ["requireSelection", "requireSelection", booleanAttribute], panelWidth: "panelWidth", disableRipple: ["disableRipple", "disableRipple", booleanAttribute], classList: ["class", "classList"], hideSingleSelectionIndicator: ["hideSingleSelectionIndicator", "hideSingleSelectionIndicator", booleanAttribute] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, host: { classAttribute: "mat-mdc-autocomplete" }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], queries: [{ propertyName: "options", predicate: MatOption, descendants: true }, { propertyName: "optionGroups", predicate: MAT_OPTGROUP, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["matAutocomplete"], ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n [@panelAnimation]=\"isOpen ? 'visible' : 'hidden'\"\n (@panelAnimation.done)=\"_animationDone.next($event)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"], animations: [panelAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
204
201
  }
205
202
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocomplete, decorators: [{
@@ -207,10 +204,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
207
204
  args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
208
205
  'class': 'mat-mdc-autocomplete',
209
206
  }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], animations: [panelAnimation], standalone: true, template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n [@panelAnimation]=\"isOpen ? 'visible' : 'hidden'\"\n (@panelAnimation.done)=\"_animationDone.next($event)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"] }]
210
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
211
- type: Inject,
212
- args: [MAT_AUTOCOMPLETE_DEFAULT_OPTIONS]
213
- }] }, { type: i1.Platform }], propDecorators: { template: [{
207
+ }], ctorParameters: () => [], propDecorators: { template: [{
214
208
  type: ViewChild,
215
209
  args: [TemplateRef, { static: true }]
216
210
  }], panel: [{
@@ -265,12 +259,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
265
259
  * as a connection point for an autocomplete panel.
266
260
  */
267
261
  class MatAutocompleteOrigin {
268
- constructor(
269
- /** Reference to the element on which the directive is applied. */
270
- elementRef) {
271
- this.elementRef = elementRef;
262
+ constructor() {
263
+ this.elementRef = inject(ElementRef);
272
264
  }
273
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
265
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocompleteOrigin, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
274
266
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 }); }
275
267
  }
276
268
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
@@ -280,7 +272,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
280
272
  exportAs: 'matAutocompleteOrigin',
281
273
  standalone: true,
282
274
  }]
283
- }], ctorParameters: () => [{ type: i0.ElementRef }] });
275
+ }], ctorParameters: () => [] });
284
276
 
285
277
  /**
286
278
  * Provider that allows the autocomplete to register as a ControlValueAccessor.
@@ -320,18 +312,19 @@ const MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER = {
320
312
  };
321
313
  /** Base class with all of the `MatAutocompleteTrigger` functionality. */
322
314
  class MatAutocompleteTrigger {
323
- constructor(_element, _overlay, _viewContainerRef, _zone, _changeDetectorRef, scrollStrategy, _dir, _formField, _document, _viewportRuler, _defaults) {
324
- this._element = _element;
325
- this._overlay = _overlay;
326
- this._viewContainerRef = _viewContainerRef;
327
- this._zone = _zone;
328
- this._changeDetectorRef = _changeDetectorRef;
329
- this._dir = _dir;
330
- this._formField = _formField;
331
- this._document = _document;
332
- this._viewportRuler = _viewportRuler;
333
- this._defaults = _defaults;
315
+ constructor() {
316
+ this._element = inject(ElementRef);
317
+ this._overlay = inject(Overlay);
318
+ this._viewContainerRef = inject(ViewContainerRef);
319
+ this._zone = inject(NgZone);
320
+ this._changeDetectorRef = inject(ChangeDetectorRef);
321
+ this._dir = inject(Directionality, { optional: true });
322
+ this._formField = inject(MAT_FORM_FIELD, { optional: true, host: true });
323
+ this._document = inject(DOCUMENT);
324
+ this._viewportRuler = inject(ViewportRuler);
325
+ this._defaults = inject(MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, { optional: true });
334
326
  this._componentDestroyed = false;
327
+ this._scrollStrategy = inject(MAT_AUTOCOMPLETE_SCROLL_STRATEGY);
335
328
  /** Whether or not the label state is being overridden. */
336
329
  this._manuallyFloatingLabel = false;
337
330
  /** Subscription to viewport size changes. */
@@ -416,7 +409,6 @@ class MatAutocompleteTrigger {
416
409
  * panel. Track the modal we have changed so we can undo the changes on destroy.
417
410
  */
418
411
  this._trackedModal = null;
419
- this._scrollStrategy = scrollStrategy;
420
412
  }
421
413
  ngAfterViewInit() {
422
414
  this._initialized.next();
@@ -1089,7 +1081,7 @@ class MatAutocompleteTrigger {
1089
1081
  this._trackedModal = null;
1090
1082
  }
1091
1083
  }
1092
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocompleteTrigger, deps: [{ token: i0.ElementRef }, { token: i1$1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: MAT_AUTOCOMPLETE_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: MAT_FORM_FIELD, host: true, optional: true }, { token: DOCUMENT, optional: true }, { token: i3.ViewportRuler }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1084
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocompleteTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1093
1085
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", type: MatAutocompleteTrigger, isStandalone: true, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: { autocomplete: ["matAutocomplete", "autocomplete"], position: ["matAutocompletePosition", "position"], connectedTo: ["matAutocompleteConnectedTo", "connectedTo"], autocompleteAttribute: ["autocomplete", "autocompleteAttribute"], autocompleteDisabled: ["matAutocompleteDisabled", "autocompleteDisabled", booleanAttribute] }, host: { listeners: { "focusin": "_handleFocus()", "blur": "_onTouched()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)", "click": "_handleClick()" }, properties: { "attr.autocomplete": "autocompleteAttribute", "attr.role": "autocompleteDisabled ? null : \"combobox\"", "attr.aria-autocomplete": "autocompleteDisabled ? null : \"list\"", "attr.aria-activedescendant": "(panelOpen && activeOption) ? activeOption.id : null", "attr.aria-expanded": "autocompleteDisabled ? null : panelOpen.toString()", "attr.aria-controls": "(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id", "attr.aria-haspopup": "autocompleteDisabled ? null : \"listbox\"" }, classAttribute: "mat-mdc-autocomplete-trigger" }, providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["matAutocompleteTrigger"], usesOnChanges: true, ngImport: i0 }); }
1094
1086
  }
1095
1087
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
@@ -1117,29 +1109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1117
1109
  providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR],
1118
1110
  standalone: true,
1119
1111
  }]
1120
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1$1.Overlay }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
1121
- type: Inject,
1122
- args: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY]
1123
- }] }, { type: i2.Directionality, decorators: [{
1124
- type: Optional
1125
- }] }, { type: i4.MatFormField, decorators: [{
1126
- type: Optional
1127
- }, {
1128
- type: Inject,
1129
- args: [MAT_FORM_FIELD]
1130
- }, {
1131
- type: Host
1132
- }] }, { type: undefined, decorators: [{
1133
- type: Optional
1134
- }, {
1135
- type: Inject,
1136
- args: [DOCUMENT]
1137
- }] }, { type: i3.ViewportRuler }, { type: undefined, decorators: [{
1138
- type: Optional
1139
- }, {
1140
- type: Inject,
1141
- args: [MAT_AUTOCOMPLETE_DEFAULT_OPTIONS]
1142
- }] }], propDecorators: { autocomplete: [{
1112
+ }], ctorParameters: () => [], propDecorators: { autocomplete: [{
1143
1113
  type: Input,
1144
1114
  args: ['matAutocomplete']
1145
1115
  }], position: [{