@angular/material 18.0.0-next.1 → 18.0.0-next.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 (243) hide show
  1. package/button-toggle/index.d.ts +18 -5
  2. package/checkbox/_checkbox-theme.scss +12 -0
  3. package/core/tokens/_token-utils.scss +62 -3
  4. package/esm2022/autocomplete/autocomplete-origin.mjs +3 -3
  5. package/esm2022/autocomplete/autocomplete-trigger.mjs +3 -3
  6. package/esm2022/autocomplete/autocomplete.mjs +3 -3
  7. package/esm2022/autocomplete/module.mjs +4 -4
  8. package/esm2022/badge/badge-module.mjs +4 -4
  9. package/esm2022/badge/badge.mjs +6 -6
  10. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +3 -3
  11. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +4 -4
  12. package/esm2022/bottom-sheet/bottom-sheet.mjs +3 -3
  13. package/esm2022/button/button-base.mjs +6 -6
  14. package/esm2022/button/button.mjs +6 -6
  15. package/esm2022/button/fab.mjs +12 -12
  16. package/esm2022/button/icon-button.mjs +6 -6
  17. package/esm2022/button/module.mjs +4 -4
  18. package/esm2022/button-toggle/button-toggle-module.mjs +4 -4
  19. package/esm2022/button-toggle/button-toggle.mjs +118 -16
  20. package/esm2022/button-toggle/testing/button-toggle-harness.mjs +8 -4
  21. package/esm2022/card/card.mjs +42 -42
  22. package/esm2022/card/module.mjs +4 -4
  23. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  24. package/esm2022/checkbox/checkbox.mjs +3 -3
  25. package/esm2022/checkbox/module.mjs +8 -8
  26. package/esm2022/chips/chip-action.mjs +3 -3
  27. package/esm2022/chips/chip-edit-input.mjs +3 -3
  28. package/esm2022/chips/chip-grid.mjs +3 -3
  29. package/esm2022/chips/chip-icons.mjs +9 -9
  30. package/esm2022/chips/chip-input.mjs +3 -3
  31. package/esm2022/chips/chip-listbox.mjs +3 -3
  32. package/esm2022/chips/chip-option.mjs +6 -6
  33. package/esm2022/chips/chip-row.mjs +6 -6
  34. package/esm2022/chips/chip-set.mjs +3 -3
  35. package/esm2022/chips/chip.mjs +5 -5
  36. package/esm2022/chips/module.mjs +4 -4
  37. package/esm2022/core/common-behaviors/common-module.mjs +4 -4
  38. package/esm2022/core/datetime/index.mjs +8 -8
  39. package/esm2022/core/datetime/native-date-adapter.mjs +3 -3
  40. package/esm2022/core/error/error-options.mjs +6 -6
  41. package/esm2022/core/internal-form-field/internal-form-field.mjs +3 -3
  42. package/esm2022/core/line/line.mjs +7 -7
  43. package/esm2022/core/option/index.mjs +4 -4
  44. package/esm2022/core/option/optgroup.mjs +3 -3
  45. package/esm2022/core/option/option.mjs +3 -3
  46. package/esm2022/core/private/ripple-loader.mjs +3 -3
  47. package/esm2022/core/ripple/index.mjs +4 -4
  48. package/esm2022/core/ripple/ripple.mjs +3 -3
  49. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
  50. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  51. package/esm2022/core/version.mjs +1 -1
  52. package/esm2022/datepicker/calendar-body.mjs +3 -3
  53. package/esm2022/datepicker/calendar.mjs +6 -6
  54. package/esm2022/datepicker/date-range-input-parts.mjs +9 -9
  55. package/esm2022/datepicker/date-range-input.mjs +3 -3
  56. package/esm2022/datepicker/date-range-picker.mjs +3 -3
  57. package/esm2022/datepicker/date-range-selection-strategy.mjs +3 -3
  58. package/esm2022/datepicker/date-selection-model.mjs +9 -9
  59. package/esm2022/datepicker/datepicker-actions.mjs +9 -9
  60. package/esm2022/datepicker/datepicker-base.mjs +6 -6
  61. package/esm2022/datepicker/datepicker-input-base.mjs +3 -3
  62. package/esm2022/datepicker/datepicker-input.mjs +3 -3
  63. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  64. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  65. package/esm2022/datepicker/datepicker-toggle.mjs +6 -6
  66. package/esm2022/datepicker/datepicker.mjs +3 -3
  67. package/esm2022/datepicker/month-view.mjs +5 -5
  68. package/esm2022/datepicker/multi-year-view.mjs +3 -3
  69. package/esm2022/datepicker/year-view.mjs +3 -3
  70. package/esm2022/dialog/dialog-container.mjs +3 -3
  71. package/esm2022/dialog/dialog-content-directives.mjs +15 -15
  72. package/esm2022/dialog/dialog.mjs +3 -3
  73. package/esm2022/dialog/module.mjs +4 -4
  74. package/esm2022/divider/divider-module.mjs +4 -4
  75. package/esm2022/divider/divider.mjs +3 -3
  76. package/esm2022/expansion/accordion.mjs +3 -3
  77. package/esm2022/expansion/expansion-module.mjs +4 -4
  78. package/esm2022/expansion/expansion-panel-content.mjs +3 -3
  79. package/esm2022/expansion/expansion-panel-header.mjs +9 -9
  80. package/esm2022/expansion/expansion-panel.mjs +6 -6
  81. package/esm2022/form-field/directives/error.mjs +3 -3
  82. package/esm2022/form-field/directives/floating-label.mjs +3 -3
  83. package/esm2022/form-field/directives/hint.mjs +3 -3
  84. package/esm2022/form-field/directives/label.mjs +3 -3
  85. package/esm2022/form-field/directives/line-ripple.mjs +3 -3
  86. package/esm2022/form-field/directives/notched-outline.mjs +3 -3
  87. package/esm2022/form-field/directives/prefix.mjs +3 -3
  88. package/esm2022/form-field/directives/suffix.mjs +3 -3
  89. package/esm2022/form-field/form-field-control.mjs +3 -3
  90. package/esm2022/form-field/form-field.mjs +3 -3
  91. package/esm2022/form-field/module.mjs +4 -4
  92. package/esm2022/grid-list/grid-list-module.mjs +4 -4
  93. package/esm2022/grid-list/grid-list.mjs +3 -3
  94. package/esm2022/grid-list/grid-tile.mjs +15 -15
  95. package/esm2022/icon/icon-module.mjs +4 -4
  96. package/esm2022/icon/icon-registry.mjs +3 -3
  97. package/esm2022/icon/icon.mjs +3 -3
  98. package/esm2022/icon/testing/fake-icon-registry.mjs +7 -7
  99. package/esm2022/input/input.mjs +3 -3
  100. package/esm2022/input/module.mjs +4 -4
  101. package/esm2022/list/action-list.mjs +3 -3
  102. package/esm2022/list/list-base.mjs +6 -6
  103. package/esm2022/list/list-item-sections.mjs +18 -18
  104. package/esm2022/list/list-module.mjs +4 -4
  105. package/esm2022/list/list-option.mjs +3 -3
  106. package/esm2022/list/list.mjs +6 -6
  107. package/esm2022/list/nav-list.mjs +3 -3
  108. package/esm2022/list/selection-list.mjs +3 -3
  109. package/esm2022/list/subheader.mjs +3 -3
  110. package/esm2022/menu/menu-content.mjs +3 -3
  111. package/esm2022/menu/menu-item.mjs +3 -3
  112. package/esm2022/menu/menu-trigger.mjs +3 -3
  113. package/esm2022/menu/menu.mjs +18 -13
  114. package/esm2022/menu/module.mjs +4 -4
  115. package/esm2022/paginator/module.mjs +4 -4
  116. package/esm2022/paginator/paginator-intl.mjs +3 -3
  117. package/esm2022/paginator/paginator.mjs +3 -3
  118. package/esm2022/progress-bar/module.mjs +4 -4
  119. package/esm2022/progress-bar/progress-bar.mjs +3 -3
  120. package/esm2022/progress-spinner/module.mjs +4 -4
  121. package/esm2022/progress-spinner/progress-spinner.mjs +3 -3
  122. package/esm2022/radio/module.mjs +4 -4
  123. package/esm2022/radio/radio.mjs +6 -6
  124. package/esm2022/select/module.mjs +4 -4
  125. package/esm2022/select/select.mjs +6 -6
  126. package/esm2022/sidenav/drawer.mjs +9 -9
  127. package/esm2022/sidenav/sidenav-module.mjs +4 -4
  128. package/esm2022/sidenav/sidenav.mjs +9 -9
  129. package/esm2022/slide-toggle/module.mjs +8 -8
  130. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +3 -3
  131. package/esm2022/slide-toggle/slide-toggle.mjs +3 -3
  132. package/esm2022/slider/module.mjs +4 -4
  133. package/esm2022/slider/slider-input.mjs +6 -6
  134. package/esm2022/slider/slider-thumb.mjs +3 -3
  135. package/esm2022/slider/slider.mjs +3 -3
  136. package/esm2022/snack-bar/module.mjs +4 -4
  137. package/esm2022/snack-bar/simple-snack-bar.mjs +3 -3
  138. package/esm2022/snack-bar/snack-bar-container.mjs +3 -3
  139. package/esm2022/snack-bar/snack-bar-content.mjs +9 -9
  140. package/esm2022/snack-bar/snack-bar.mjs +3 -3
  141. package/esm2022/sort/sort-header-intl.mjs +3 -3
  142. package/esm2022/sort/sort-header.mjs +7 -4
  143. package/esm2022/sort/sort-module.mjs +4 -4
  144. package/esm2022/sort/sort.mjs +3 -3
  145. package/esm2022/stepper/step-content.mjs +3 -3
  146. package/esm2022/stepper/step-header.mjs +3 -3
  147. package/esm2022/stepper/step-label.mjs +3 -3
  148. package/esm2022/stepper/stepper-button.mjs +6 -6
  149. package/esm2022/stepper/stepper-icon.mjs +3 -3
  150. package/esm2022/stepper/stepper-intl.mjs +3 -3
  151. package/esm2022/stepper/stepper-module.mjs +4 -4
  152. package/esm2022/stepper/stepper.mjs +6 -6
  153. package/esm2022/table/cell.mjs +21 -21
  154. package/esm2022/table/module.mjs +4 -4
  155. package/esm2022/table/row.mjs +21 -21
  156. package/esm2022/table/table.mjs +6 -6
  157. package/esm2022/table/text-column.mjs +3 -3
  158. package/esm2022/tabs/ink-bar.mjs +3 -3
  159. package/esm2022/tabs/module.mjs +4 -4
  160. package/esm2022/tabs/paginated-tab-header.mjs +27 -16
  161. package/esm2022/tabs/tab-body.mjs +6 -6
  162. package/esm2022/tabs/tab-content.mjs +3 -3
  163. package/esm2022/tabs/tab-group.mjs +3 -3
  164. package/esm2022/tabs/tab-header.mjs +3 -3
  165. package/esm2022/tabs/tab-label-wrapper.mjs +3 -3
  166. package/esm2022/tabs/tab-label.mjs +3 -3
  167. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
  168. package/esm2022/tabs/tab.mjs +3 -3
  169. package/esm2022/toolbar/toolbar-module.mjs +4 -4
  170. package/esm2022/toolbar/toolbar.mjs +6 -6
  171. package/esm2022/tooltip/module.mjs +4 -4
  172. package/esm2022/tooltip/tooltip.mjs +6 -6
  173. package/esm2022/tree/node.mjs +9 -9
  174. package/esm2022/tree/outlet.mjs +3 -3
  175. package/esm2022/tree/padding.mjs +3 -3
  176. package/esm2022/tree/toggle.mjs +3 -3
  177. package/esm2022/tree/tree-module.mjs +4 -4
  178. package/esm2022/tree/tree.mjs +3 -3
  179. package/fesm2022/autocomplete.mjs +13 -13
  180. package/fesm2022/badge.mjs +10 -10
  181. package/fesm2022/bottom-sheet.mjs +10 -10
  182. package/fesm2022/button-toggle/testing.mjs +7 -3
  183. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  184. package/fesm2022/button-toggle.mjs +120 -19
  185. package/fesm2022/button-toggle.mjs.map +1 -1
  186. package/fesm2022/button.mjs +34 -34
  187. package/fesm2022/card.mjs +46 -46
  188. package/fesm2022/checkbox.mjs +14 -14
  189. package/fesm2022/chips.mjs +45 -45
  190. package/fesm2022/chips.mjs.map +1 -1
  191. package/fesm2022/core.mjs +59 -59
  192. package/fesm2022/core.mjs.map +1 -1
  193. package/fesm2022/datepicker.mjs +83 -83
  194. package/fesm2022/datepicker.mjs.map +1 -1
  195. package/fesm2022/dialog.mjs +25 -25
  196. package/fesm2022/divider.mjs +7 -7
  197. package/fesm2022/expansion.mjs +25 -25
  198. package/fesm2022/form-field.mjs +34 -34
  199. package/fesm2022/grid-list.mjs +22 -22
  200. package/fesm2022/icon/testing.mjs +7 -7
  201. package/fesm2022/icon.mjs +10 -10
  202. package/fesm2022/input.mjs +7 -7
  203. package/fesm2022/list.mjs +49 -49
  204. package/fesm2022/menu.mjs +30 -25
  205. package/fesm2022/menu.mjs.map +1 -1
  206. package/fesm2022/paginator.mjs +10 -10
  207. package/fesm2022/progress-bar.mjs +7 -7
  208. package/fesm2022/progress-spinner.mjs +7 -7
  209. package/fesm2022/radio.mjs +10 -10
  210. package/fesm2022/select.mjs +10 -10
  211. package/fesm2022/sidenav.mjs +22 -22
  212. package/fesm2022/slide-toggle.mjs +14 -14
  213. package/fesm2022/slider.mjs +16 -16
  214. package/fesm2022/snack-bar.mjs +22 -22
  215. package/fesm2022/sort.mjs +16 -13
  216. package/fesm2022/sort.mjs.map +1 -1
  217. package/fesm2022/stepper.mjs +31 -31
  218. package/fesm2022/table.mjs +55 -55
  219. package/fesm2022/tabs.mjs +62 -51
  220. package/fesm2022/tabs.mjs.map +1 -1
  221. package/fesm2022/toolbar.mjs +10 -10
  222. package/fesm2022/tooltip.mjs +10 -10
  223. package/fesm2022/tree.mjs +25 -25
  224. package/menu/index.d.ts +2 -2
  225. package/package.json +14 -2
  226. package/prebuilt-themes/azure-blue.css +1 -0
  227. package/prebuilt-themes/cyan-orange.css +1 -0
  228. package/prebuilt-themes/magenta-violet.css +1 -0
  229. package/prebuilt-themes/rose-red.css +1 -0
  230. package/schematics/ng-add/index.js +1 -1
  231. package/schematics/ng-add/index.mjs +1 -1
  232. package/schematics/ng-add/schema.d.ts +1 -1
  233. package/schematics/ng-add/schema.js +1 -1
  234. package/schematics/ng-add/schema.json +9 -9
  235. package/schematics/ng-add/schema.mjs +1 -1
  236. package/schematics/ng-add/theming/create-custom-theme.js +19 -19
  237. package/schematics/ng-add/theming/create-custom-theme.mjs +19 -19
  238. package/schematics/ng-add/theming/theming.js +2 -2
  239. package/schematics/ng-add/theming/theming.mjs +2 -2
  240. package/schematics/ng-generate/mdc-migration/index_bundled.js +52 -46
  241. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
  242. package/schematics/ng-update/index_bundled.js +25 -25
  243. package/tabs/index.d.ts +1 -0
@@ -2,6 +2,8 @@ import { AfterContentInit } from '@angular/core';
2
2
  import { AfterViewInit } from '@angular/core';
3
3
  import { ChangeDetectorRef } from '@angular/core';
4
4
  import { ControlValueAccessor } from '@angular/forms';
5
+ import { Direction } from '@angular/cdk/bidi';
6
+ import { Directionality } from '@angular/cdk/bidi';
5
7
  import { ElementRef } from '@angular/core';
6
8
  import { EventEmitter } from '@angular/core';
7
9
  import { FocusMonitor } from '@angular/cdk/a11y';
@@ -76,8 +78,10 @@ export declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy
76
78
  name: string;
77
79
  /** MatButtonToggleGroup reads this to assign its own value. */
78
80
  value: any;
79
- /** Tabindex for the toggle. */
80
- tabIndex: number | null;
81
+ /** Tabindex of the toggle. */
82
+ get tabIndex(): number | null;
83
+ set tabIndex(value: number | null);
84
+ private _tabIndex;
81
85
  /** Whether ripples are disabled on the button toggle. */
82
86
  disableRipple: boolean;
83
87
  /** The appearance style of the button. */
@@ -110,7 +114,7 @@ export declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy
110
114
  /** Gets the name that should be assigned to the inner DOM node. */
111
115
  _getButtonName(): string | null;
112
116
  /** Whether the toggle is in single selection mode. */
113
- private _isSingleSelector;
117
+ isSingleSelector(): boolean;
114
118
  static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggle, [{ optional: true; }, null, null, null, { attribute: "tabindex"; }, { optional: true; }]>;
115
119
  static ɵcmp: i0.ɵɵComponentDeclaration<MatButtonToggle, "mat-button-toggle", ["matButtonToggle"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
116
120
  static ngAcceptInputType_disableRipple: unknown;
@@ -153,6 +157,7 @@ export declare interface MatButtonToggleDefaultOptions {
153
157
  /** Exclusive selection button toggle group that behaves like a radio-button group. */
154
158
  export declare class MatButtonToggleGroup implements ControlValueAccessor, OnInit, AfterContentInit {
155
159
  private _changeDetector;
160
+ private _dir?;
156
161
  private _multiple;
157
162
  private _disabled;
158
163
  private _selectionModel;
@@ -197,6 +202,8 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
197
202
  /** Whether multiple button toggle group is disabled. */
198
203
  get disabled(): boolean;
199
204
  set disabled(value: boolean);
205
+ /** The layout direction of the toggle button group. */
206
+ get dir(): Direction;
200
207
  /** Event emitted when the group's value changes. */
201
208
  readonly change: EventEmitter<MatButtonToggleChange>;
202
209
  /** Whether checkmark indicator for single-selection button toggle groups is hidden. */
@@ -207,7 +214,7 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
207
214
  get hideMultipleSelectionIndicator(): boolean;
208
215
  set hideMultipleSelectionIndicator(value: boolean);
209
216
  private _hideMultipleSelectionIndicator;
210
- constructor(_changeDetector: ChangeDetectorRef, defaultOptions?: MatButtonToggleDefaultOptions);
217
+ constructor(_changeDetector: ChangeDetectorRef, defaultOptions?: MatButtonToggleDefaultOptions, _dir?: Directionality | undefined);
211
218
  ngOnInit(): void;
212
219
  ngAfterContentInit(): void;
213
220
  /**
@@ -218,6 +225,8 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
218
225
  registerOnChange(fn: (value: any) => void): void;
219
226
  registerOnTouched(fn: any): void;
220
227
  setDisabledState(isDisabled: boolean): void;
228
+ /** Handle keydown event calling to single-select button toggle. */
229
+ protected _keydown(event: KeyboardEvent): void;
221
230
  /** Dispatch change event with current selection and group value. */
222
231
  _emitChangeEvent(toggle: MatButtonToggle): void;
223
232
  /**
@@ -232,6 +241,10 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
232
241
  _isSelected(toggle: MatButtonToggle): boolean;
233
242
  /** Determines whether a button toggle should be checked on init. */
234
243
  _isPrechecked(toggle: MatButtonToggle): boolean;
244
+ /** Initializes the tabindex attribute using the radio pattern. */
245
+ private _initializeTabIndex;
246
+ /** Obtain the subsequent index to which the focus shifts. */
247
+ private _getNextIndex;
235
248
  /** Updates the selection state of the toggles in the group based on a value. */
236
249
  private _setSelectionByValue;
237
250
  /** Clears the selected toggles. */
@@ -242,7 +255,7 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
242
255
  private _updateModelValue;
243
256
  /** Marks all of the child button toggles to be checked. */
244
257
  private _markButtonsForCheck;
245
- static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleGroup, [null, { optional: true; }]>;
258
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleGroup, [null, { optional: true; }, { optional: true; }]>;
246
259
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonToggleGroup, "mat-button-toggle-group", ["matButtonToggleGroup"], { "appearance": { "alias": "appearance"; "required": false; }; "name": { "alias": "name"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "value": { "alias": "value"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "hideMultipleSelectionIndicator": { "alias": "hideMultipleSelectionIndicator"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; }, ["_buttonToggles"], never, true, never>;
247
260
  static ngAcceptInputType_vertical: unknown;
248
261
  static ngAcceptInputType_multiple: unknown;
@@ -92,6 +92,18 @@
92
92
  }
93
93
  }
94
94
 
95
+ /// Outputs the CSS variable values for the given tokens.
96
+ /// @param {Map} $tokens The token values to emit.
97
+ @mixin overrides($tokens: ()) {
98
+ @include token-utils.batch-create-token-values(
99
+ $tokens,
100
+ $mat-prefix: tokens-mat-checkbox.$prefix,
101
+ $mdc-prefix: tokens-mdc-checkbox.$prefix,
102
+ $mat-tokens: tokens-mat-checkbox.get-token-slots(),
103
+ $mdc-tokens: tokens-mdc-checkbox.get-token-slots(),
104
+ );
105
+ }
106
+
95
107
  /// Outputs all (base, color, typography, and density) theme styles for the mat-checkbox.
96
108
  /// @param {Map} $theme The theme to generate styles for.
97
109
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
@@ -185,16 +185,19 @@ $_component-prefix: null;
185
185
  /// @param {List} $prefix The component prefix to get the token values for.
186
186
  /// @param {ArgList} Any additional options
187
187
  /// Currently the additional supported options are:
188
- // - $color-variant (The color variant to use for the component)
188
+ // - $color-variant - The color variant to use for the component
189
+ // - $emit-overrides-only - Whether to emit *only* the overrides for the
190
+ // specific color variant, or all color styles. Defaults to false.
189
191
  /// @throws If given options are invalid
190
192
  /// @return {Map} The token values for the requested component.
191
193
  @function get-tokens-for($tokens, $prefix, $options...) {
192
- $options: sass-utils.validate-keyword-args($options, (color-variant));
194
+ $options: sass-utils.validate-keyword-args($options, (color-variant, emit-overrides-only));
193
195
  @if $tokens == () {
194
196
  @return ();
195
197
  }
196
198
  $values: map.get($tokens, $prefix);
197
199
  $color-variant: map.get($options, color-variant);
200
+ $emit-overrides-only: map.get($options, emit-overrides-only);
198
201
  @if $color-variant == null {
199
202
  @return $values;
200
203
  }
@@ -204,5 +207,61 @@ $_component-prefix: null;
204
207
  _supported-color-variants($tokens, $prefix)
205
208
  }#{'.'};
206
209
  }
207
- @return map.merge($values, $overrides);
210
+ @return if($emit-overrides-only, $overrides, map.merge($values, $overrides));
211
+ }
212
+
213
+ /// Emits new token values for the given tokens.
214
+ /// Verifies that the tokens passed in are valid tokens.
215
+ /// New token values are emitted under the current selector or root.
216
+ @mixin batch-create-token-values(
217
+ $tokens: (),
218
+ $mat-prefix: '',
219
+ $mdc-prefix: '',
220
+ $mat-tokens: (),
221
+ $mdc-tokens: ()
222
+ ) {
223
+ $custom-mat-tokens: ();
224
+ $custom-mdc-tokens: ();
225
+
226
+ $mat-token-names: map.keys($mat-tokens);
227
+ $mdc-token-names: map.keys($mdc-tokens);
228
+ $valid-token-names: _get-valid-token-names($mat-tokens, $mdc-tokens);
229
+
230
+ @each $name, $value in $tokens {
231
+ $is-mat-token: list.index($mat-token-names, $name) != null;
232
+ $is-mdc-token: list.index($mdc-token-names, $name) != null;
233
+
234
+ @if ($is-mat-token) {
235
+ $custom-mat-tokens: map.set($custom-mat-tokens, $name, $value);
236
+ }
237
+
238
+ @if ($is-mdc-token) {
239
+ $custom-mdc-tokens: map.set($custom-mdc-tokens, $name, $value);
240
+ }
241
+
242
+ @if (list.index($valid-token-names, $name) == null) {
243
+ @error (
244
+ 'Invalid token: "' + $name + '"'
245
+ 'Valid tokens include: ' $valid-token-names
246
+ );
247
+ }
248
+ }
249
+
250
+ @include sass-utils.current-selector-or-root() {
251
+ @include create-token-values($mat-prefix, $custom-mat-tokens);
252
+ @include create-token-values($mdc-prefix, $custom-mdc-tokens);
253
+ }
254
+ }
255
+
256
+ /// Returns the union of token names whose values are not null.
257
+ @function _get-valid-token-names($mat-tokens, $mdc-tokens) {
258
+ $mat-and-mdc-tokens: map.merge($mat-tokens, $mdc-tokens);
259
+
260
+ @each $name, $value in $mat-and-mdc-tokens {
261
+ @if ($value == null) {
262
+ $mat-and-mdc-tokens: map.remove($mat-and-mdc-tokens, $name);
263
+ }
264
+ }
265
+
266
+ @return map.keys($mat-and-mdc-tokens);
208
267
  }
@@ -17,10 +17,10 @@ export class MatAutocompleteOrigin {
17
17
  elementRef) {
18
18
  this.elementRef = elementRef;
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
21
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
21
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
24
24
  type: Directive,
25
25
  args: [{
26
26
  selector: '[matAutocompleteOrigin]',
@@ -800,10 +800,10 @@ export class MatAutocompleteTrigger {
800
800
  this._trackedModal = null;
801
801
  }
802
802
  }
803
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocompleteTrigger, deps: [{ token: i0.ElementRef }, { token: i1.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 }); }
804
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.0", 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 }); }
803
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteTrigger, deps: [{ token: i0.ElementRef }, { token: i1.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 }); }
804
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", 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 }); }
805
805
  }
806
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
807
807
  type: Directive,
808
808
  args: [{
809
809
  selector: `input[matAutocomplete], textarea[matAutocomplete]`,
@@ -204,10 +204,10 @@ export class MatAutocomplete {
204
204
  _skipPredicate() {
205
205
  return false;
206
206
  }
207
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
208
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0-next.0", 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 [ngClass]=\"_classList\"\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);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-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}"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [panelAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
207
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
208
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0-next.1", 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 [ngClass]=\"_classList\"\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);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-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}"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [panelAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
209
209
  }
210
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocomplete, decorators: [{
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocomplete, decorators: [{
211
211
  type: Component,
212
212
  args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
213
213
  'class': 'mat-mdc-autocomplete',
@@ -15,8 +15,8 @@ import { MatAutocompleteTrigger, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVID
15
15
  import { MatAutocompleteOrigin } from './autocomplete-origin';
16
16
  import * as i0 from "@angular/core";
17
17
  export class MatAutocompleteModule {
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
20
20
  MatOptionModule,
21
21
  MatCommonModule,
22
22
  CommonModule,
@@ -28,14 +28,14 @@ export class MatAutocompleteModule {
28
28
  MatCommonModule,
29
29
  MatAutocompleteTrigger,
30
30
  MatAutocompleteOrigin] }); }
31
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
31
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
32
32
  MatOptionModule,
33
33
  MatCommonModule,
34
34
  CommonModule, CdkScrollableModule,
35
35
  MatOptionModule,
36
36
  MatCommonModule] }); }
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAutocompleteModule, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteModule, decorators: [{
39
39
  type: NgModule,
40
40
  args: [{
41
41
  imports: [
@@ -11,11 +11,11 @@ import { A11yModule } from '@angular/cdk/a11y';
11
11
  import { MatBadge, _MatBadgeStyleLoader } from './badge';
12
12
  import * as i0 from "@angular/core";
13
13
  export class MatBadgeModule {
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatBadge, _MatBadgeStyleLoader], exports: [MatBadge, MatCommonModule] }); }
16
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatCommonModule] }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatBadge, _MatBadgeStyleLoader], exports: [MatBadge, MatCommonModule] }); }
16
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatCommonModule] }); }
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBadgeModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadgeModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  // Note: we _shouldn't_ have to import `_MatBadgeStyleLoader`,
@@ -19,10 +19,10 @@ const badgeApps = new Set();
19
19
  * @docs-private
20
20
  */
21
21
  export class _MatBadgeStyleLoader {
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: _MatBadgeStyleLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.0", type: _MatBadgeStyleLoader, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: _MatBadgeStyleLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.1", type: _MatBadgeStyleLoader, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: _MatBadgeStyleLoader, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: _MatBadgeStyleLoader, decorators: [{
26
26
  type: Component,
27
27
  args: [{ standalone: true, encapsulation: ViewEncapsulation.None, template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"] }]
28
28
  }] });
@@ -240,10 +240,10 @@ export class MatBadge {
240
240
  }
241
241
  }
242
242
  }
243
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBadge, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.AriaDescriber }, { token: i0.Renderer2 }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
244
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.0", type: MatBadge, isStandalone: true, selector: "[matBadge]", inputs: { color: ["matBadgeColor", "color"], overlap: ["matBadgeOverlap", "overlap", booleanAttribute], disabled: ["matBadgeDisabled", "disabled", booleanAttribute], position: ["matBadgePosition", "position"], content: ["matBadge", "content"], description: ["matBadgeDescription", "description"], size: ["matBadgeSize", "size"], hidden: ["matBadgeHidden", "hidden", booleanAttribute] }, host: { properties: { "class.mat-badge-overlap": "overlap", "class.mat-badge-above": "isAbove()", "class.mat-badge-below": "!isAbove()", "class.mat-badge-before": "!isAfter()", "class.mat-badge-after": "isAfter()", "class.mat-badge-small": "size === \"small\"", "class.mat-badge-medium": "size === \"medium\"", "class.mat-badge-large": "size === \"large\"", "class.mat-badge-hidden": "hidden || !content", "class.mat-badge-disabled": "disabled" }, classAttribute: "mat-badge" }, ngImport: i0 }); }
243
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadge, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.AriaDescriber }, { token: i0.Renderer2 }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
244
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: MatBadge, isStandalone: true, selector: "[matBadge]", inputs: { color: ["matBadgeColor", "color"], overlap: ["matBadgeOverlap", "overlap", booleanAttribute], disabled: ["matBadgeDisabled", "disabled", booleanAttribute], position: ["matBadgePosition", "position"], content: ["matBadge", "content"], description: ["matBadgeDescription", "description"], size: ["matBadgeSize", "size"], hidden: ["matBadgeHidden", "hidden", booleanAttribute] }, host: { properties: { "class.mat-badge-overlap": "overlap", "class.mat-badge-above": "isAbove()", "class.mat-badge-below": "!isAbove()", "class.mat-badge-before": "!isAfter()", "class.mat-badge-after": "isAfter()", "class.mat-badge-small": "size === \"small\"", "class.mat-badge-medium": "size === \"medium\"", "class.mat-badge-large": "size === \"large\"", "class.mat-badge-hidden": "hidden || !content", "class.mat-badge-disabled": "disabled" }, classAttribute: "mat-badge" }, ngImport: i0 }); }
245
245
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBadge, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadge, decorators: [{
247
247
  type: Directive,
248
248
  args: [{
249
249
  selector: '[matBadge]',
@@ -62,10 +62,10 @@ export class MatBottomSheetContainer extends CdkDialogContainer {
62
62
  _toggleClass(cssClass, add) {
63
63
  this._elementRef.nativeElement.classList.toggle(cssClass, add);
64
64
  }
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheetContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: i2.DialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i3.OverlayRef }, { token: i4.BreakpointObserver }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
66
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.0", type: MatBottomSheetContainer, isStandalone: true, selector: "mat-bottom-sheet-container", host: { attributes: { "tabindex": "-1" }, listeners: { "@state.start": "_onAnimationStart($event)", "@state.done": "_onAnimationDone($event)" }, properties: { "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-label": "_config.ariaLabel", "@state": "_animationState" }, classAttribute: "mat-bottom-sheet-container" }, usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\r\n", styles: [".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [matBottomSheetAnimations.bottomSheetState], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: i2.DialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i3.OverlayRef }, { token: i4.BreakpointObserver }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
66
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.1", type: MatBottomSheetContainer, isStandalone: true, selector: "mat-bottom-sheet-container", host: { attributes: { "tabindex": "-1" }, listeners: { "@state.start": "_onAnimationStart($event)", "@state.done": "_onAnimationDone($event)" }, properties: { "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-label": "_config.ariaLabel", "@state": "_animationState" }, classAttribute: "mat-bottom-sheet-container" }, usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\r\n", styles: [".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [matBottomSheetAnimations.bottomSheetState], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheetContainer, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetContainer, decorators: [{
69
69
  type: Component,
70
70
  args: [{ selector: 'mat-bottom-sheet-container', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, animations: [matBottomSheetAnimations.bottomSheetState], host: {
71
71
  'class': 'mat-bottom-sheet-container',
@@ -13,11 +13,11 @@ import { MatBottomSheetContainer } from './bottom-sheet-container';
13
13
  import { MatBottomSheet } from './bottom-sheet';
14
14
  import * as i0 from "@angular/core";
15
15
  export class MatBottomSheetModule {
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
17
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheetModule, imports: [DialogModule, MatCommonModule, PortalModule, MatBottomSheetContainer], exports: [MatBottomSheetContainer, MatCommonModule] }); }
18
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheetModule, providers: [MatBottomSheet], imports: [DialogModule, MatCommonModule, PortalModule, MatCommonModule] }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
17
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetModule, imports: [DialogModule, MatCommonModule, PortalModule, MatBottomSheetContainer], exports: [MatBottomSheetContainer, MatCommonModule] }); }
18
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetModule, providers: [MatBottomSheet], imports: [DialogModule, MatCommonModule, PortalModule, MatCommonModule] }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheetModule, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetModule, decorators: [{
21
21
  type: NgModule,
22
22
  args: [{
23
23
  imports: [DialogModule, MatCommonModule, PortalModule, MatBottomSheetContainer],
@@ -96,10 +96,10 @@ export class MatBottomSheet {
96
96
  this._bottomSheetRefAtThisLevel.dismiss();
97
97
  }
98
98
  }
99
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheet, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: MatBottomSheet, optional: true, skipSelf: true }, { token: MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
100
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheet, providedIn: 'root' }); }
99
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheet, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: MatBottomSheet, optional: true, skipSelf: true }, { token: MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
100
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheet, providedIn: 'root' }); }
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatBottomSheet, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheet, decorators: [{
103
103
  type: Injectable,
104
104
  args: [{ providedIn: 'root' }]
105
105
  }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }, { type: MatBottomSheet, decorators: [{
@@ -145,10 +145,10 @@ export class MatButtonBase {
145
145
  _updateRippleDisabled() {
146
146
  this._rippleLoader?.setDisabled(this._elementRef.nativeElement, this.disableRipple || this.disabled);
147
147
  }
148
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatButtonBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
149
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.0", type: MatButtonBase, inputs: { color: "color", disableRipple: ["disableRipple", "disableRipple", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], ariaDisabled: ["aria-disabled", "ariaDisabled", booleanAttribute], disabledInteractive: ["disabledInteractive", "disabledInteractive", booleanAttribute] }, ngImport: i0 }); }
148
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatButtonBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
149
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: MatButtonBase, inputs: { color: "color", disableRipple: ["disableRipple", "disableRipple", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], ariaDisabled: ["aria-disabled", "ariaDisabled", booleanAttribute], disabledInteractive: ["disabledInteractive", "disabledInteractive", booleanAttribute] }, ngImport: i0 }); }
150
150
  }
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatButtonBase, decorators: [{
151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatButtonBase, decorators: [{
152
152
  type: Directive
153
153
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined }], propDecorators: { color: [{
154
154
  type: Input
@@ -211,12 +211,12 @@ export class MatAnchorBase extends MatButtonBase {
211
211
  _getAriaDisabled() {
212
212
  return this.ariaDisabled == null ? this.disabled : this.ariaDisabled;
213
213
  }
214
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAnchorBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
215
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.0", type: MatAnchorBase, inputs: { tabIndex: ["tabIndex", "tabIndex", (value) => {
214
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAnchorBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
215
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: MatAnchorBase, inputs: { tabIndex: ["tabIndex", "tabIndex", (value) => {
216
216
  return value == null ? undefined : numberAttribute(value);
217
217
  }] }, usesInheritance: true, ngImport: i0 }); }
218
218
  }
219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0", ngImport: i0, type: MatAnchorBase, decorators: [{
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAnchorBase, decorators: [{
220
220
  type: Directive
221
221
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined }], propDecorators: { tabIndex: [{
222
222
  type: Input,