@angular/material 19.1.0-next.2 → 19.1.0-rc.0
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.
- package/LICENSE +1 -1
- package/autocomplete/index.d.ts +6 -6
- package/badge/index.d.ts +2 -2
- package/button/index.d.ts +6 -4
- package/checkbox/index.d.ts +4 -4
- package/chips/index.d.ts +3 -3
- package/core/theming/_theming.scss +1 -1
- package/datepicker/index.d.ts +16 -39
- package/expansion/index.d.ts +2 -0
- package/fesm2022/autocomplete.mjs +54 -50
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +12 -12
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button.mjs +41 -39
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +16 -16
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +42 -42
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +65 -65
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +790 -798
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -25
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +30 -28
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +41 -39
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon.mjs +12 -12
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +26 -32
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +63 -59
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +178 -133
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +21 -24
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +14 -12
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +9 -9
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +19 -18
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +138 -114
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +16 -16
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +40 -41
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/sort.mjs +14 -14
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +37 -37
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +59 -70
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +66 -74
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +21 -17
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +12 -12
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +37 -28
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/form-field/index.d.ts +5 -4
- package/icon/index.d.ts +4 -4
- package/input/index.d.ts +8 -5
- package/list/index.d.ts +8 -5
- package/menu/index.d.ts +13 -14
- package/package.json +2 -2
- package/paginator/index.d.ts +5 -5
- package/progress-bar/index.d.ts +6 -4
- package/progress-spinner/index.d.ts +4 -4
- package/radio/index.d.ts +8 -6
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/select/index.d.ts +1 -1
- package/sidenav/index.d.ts +12 -10
- package/slide-toggle/index.d.ts +4 -4
- package/slider/index.d.ts +6 -3
- package/stepper/index.d.ts +6 -6
- package/tabs/index.d.ts +12 -10
- package/timepicker/index.d.ts +1 -0
- package/toolbar/index.d.ts +2 -2
- package/tooltip/index.d.ts +3 -0
package/LICENSE
CHANGED
package/autocomplete/index.d.ts
CHANGED
|
@@ -212,7 +212,7 @@ export declare interface MatAutocompleteDefaultOptions {
|
|
|
212
212
|
requireSelection?: boolean;
|
|
213
213
|
/** Class or list of classes to be applied to the autocomplete's overlay panel. */
|
|
214
214
|
overlayPanelClass?: string | string[];
|
|
215
|
-
/**
|
|
215
|
+
/** Whether icon indicators should be hidden for single-selection. */
|
|
216
216
|
hideSingleSelectionIndicator?: boolean;
|
|
217
217
|
}
|
|
218
218
|
|
|
@@ -248,6 +248,7 @@ export declare class MatAutocompleteSelectedEvent {
|
|
|
248
248
|
|
|
249
249
|
/** Base class with all of the `MatAutocompleteTrigger` functionality. */
|
|
250
250
|
export declare class MatAutocompleteTrigger implements ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
251
|
+
private _injector;
|
|
251
252
|
private _element;
|
|
252
253
|
private _overlay;
|
|
253
254
|
private _viewContainerRef;
|
|
@@ -257,13 +258,16 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
257
258
|
private _formField;
|
|
258
259
|
private _document;
|
|
259
260
|
private _viewportRuler;
|
|
261
|
+
private _scrollStrategy;
|
|
262
|
+
private _renderer;
|
|
260
263
|
private _defaults;
|
|
261
264
|
private _overlayRef;
|
|
262
265
|
private _portal;
|
|
263
266
|
private _componentDestroyed;
|
|
264
|
-
private
|
|
267
|
+
private _initialized;
|
|
265
268
|
private _keydownSubscription;
|
|
266
269
|
private _outsideClickSubscription;
|
|
270
|
+
private _cleanupWindowBlur;
|
|
267
271
|
/** Old value of the native input. Used to work around issues with the `input` event on IE. */
|
|
268
272
|
private _previousValue;
|
|
269
273
|
/** Value of the input element when the panel was attached (even if there are no options). */
|
|
@@ -330,8 +334,6 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
330
334
|
* act as a regular input and the user won't be able to open the panel.
|
|
331
335
|
*/
|
|
332
336
|
autocompleteDisabled: boolean;
|
|
333
|
-
private _initialized;
|
|
334
|
-
private _injector;
|
|
335
337
|
constructor(...args: unknown[]);
|
|
336
338
|
/** Class to apply to the panel when it's above the input. */
|
|
337
339
|
private _aboveClass;
|
|
@@ -428,8 +430,6 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
428
430
|
private _resetActiveItem;
|
|
429
431
|
/** Determines whether the panel can be opened. */
|
|
430
432
|
private _canOpen;
|
|
431
|
-
/** Use defaultView of injected document if available or fallback to global window reference */
|
|
432
|
-
private _getWindow;
|
|
433
433
|
/** Scrolls to a particular option in the list. */
|
|
434
434
|
private _scrollToOption;
|
|
435
435
|
/**
|
package/badge/index.d.ts
CHANGED
|
@@ -24,10 +24,10 @@ export declare class MatBadge implements OnInit, OnDestroy {
|
|
|
24
24
|
private _idGenerator;
|
|
25
25
|
/**
|
|
26
26
|
* Theme color of the badge. This API is supported in M2 themes only, it
|
|
27
|
-
* has no effect in M3 themes.
|
|
27
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/badge/styling.
|
|
28
28
|
*
|
|
29
29
|
* For information on applying color variants in M3, see
|
|
30
|
-
* https://material.angular.io/guide/theming#
|
|
30
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
31
31
|
*/
|
|
32
32
|
get color(): ThemePalette;
|
|
33
33
|
set color(value: ThemePalette);
|
package/button/index.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ export declare class MatAnchor extends MatAnchorBase {
|
|
|
65
65
|
* Anchor button base.
|
|
66
66
|
*/
|
|
67
67
|
declare class MatAnchorBase extends MatButtonBase implements OnInit, OnDestroy {
|
|
68
|
+
private _renderer;
|
|
69
|
+
private _cleanupClick;
|
|
68
70
|
tabIndex: number;
|
|
69
71
|
ngOnInit(): void;
|
|
70
72
|
ngOnDestroy(): void;
|
|
@@ -105,10 +107,10 @@ declare class MatButtonBase implements AfterViewInit, OnDestroy {
|
|
|
105
107
|
protected _isFab: boolean;
|
|
106
108
|
/**
|
|
107
109
|
* Theme color of the button. This API is supported in M2 themes only, it has
|
|
108
|
-
* no effect in M3 themes.
|
|
110
|
+
* no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/button/styling.
|
|
109
111
|
*
|
|
110
112
|
* For information on applying color variants in M3, see
|
|
111
|
-
* https://material.angular.io/guide/theming#
|
|
113
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
112
114
|
*/
|
|
113
115
|
color?: string | null;
|
|
114
116
|
/** Whether the ripple effect is disabled or not. */
|
|
@@ -201,10 +203,10 @@ export declare class MatFabButton extends MatButtonBase {
|
|
|
201
203
|
export declare interface MatFabDefaultOptions {
|
|
202
204
|
/**
|
|
203
205
|
* Default theme color of the button. This API is supported in M2 themes
|
|
204
|
-
* only, it has no effect in M3 themes.
|
|
206
|
+
* only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/button/styling.
|
|
205
207
|
*
|
|
206
208
|
* For information on applying color variants in M3, see
|
|
207
|
-
* https://material.angular.io/guide/theming#
|
|
209
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants.
|
|
208
210
|
*/
|
|
209
211
|
color?: ThemePalette;
|
|
210
212
|
}
|
package/checkbox/index.d.ts
CHANGED
|
@@ -118,10 +118,10 @@ export declare class MatCheckbox implements AfterViewInit, OnChanges, ControlVal
|
|
|
118
118
|
tabIndex: number;
|
|
119
119
|
/**
|
|
120
120
|
* Theme color of the checkbox. This API is supported in M2 themes only, it
|
|
121
|
-
* has no effect in M3 themes.
|
|
121
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/checkbox/styling.
|
|
122
122
|
*
|
|
123
123
|
* For information on applying color variants in M3, see
|
|
124
|
-
* https://material.angular.io/guide/theming#
|
|
124
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
125
125
|
*/
|
|
126
126
|
color: string | undefined;
|
|
127
127
|
/** Whether the checkbox should remain interactive when it is disabled. */
|
|
@@ -224,10 +224,10 @@ export declare type MatCheckboxClickAction = 'noop' | 'check' | 'check-indetermi
|
|
|
224
224
|
export declare interface MatCheckboxDefaultOptions {
|
|
225
225
|
/**
|
|
226
226
|
* Default theme color of the checkbox. This API is supported in M2 themes
|
|
227
|
-
* only, it has no effect in M3 themes.
|
|
227
|
+
* only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/checkbox/styling.
|
|
228
228
|
*
|
|
229
229
|
* For information on applying color variants in M3, see
|
|
230
|
-
* https://material.angular.io/guide/theming#
|
|
230
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
231
231
|
*/
|
|
232
232
|
color?: ThemePalette;
|
|
233
233
|
/** Default checkbox click action for checkboxes. */
|
package/chips/index.d.ts
CHANGED
|
@@ -181,10 +181,10 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
181
181
|
protected _value: any;
|
|
182
182
|
/**
|
|
183
183
|
* Theme color of the chip. This API is supported in M2 themes only, it has no
|
|
184
|
-
* effect in M3 themes.
|
|
184
|
+
* effect in M3 themes. For color customization in M3, see https://material.angular.io/components/chips/styling.
|
|
185
185
|
*
|
|
186
186
|
* For information on applying color variants in M3, see
|
|
187
|
-
* https://material.angular.io/guide/theming#
|
|
187
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
188
188
|
*/
|
|
189
189
|
color?: string | null;
|
|
190
190
|
/**
|
|
@@ -849,7 +849,7 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
|
|
|
849
849
|
export declare interface MatChipsDefaultOptions {
|
|
850
850
|
/** The list of key codes that will trigger a chipEnd event. */
|
|
851
851
|
separatorKeyCodes: readonly number[] | ReadonlySet<number>;
|
|
852
|
-
/**
|
|
852
|
+
/** Whether icon indicators should be hidden for single-selection. */
|
|
853
853
|
hideSingleSelectionIndicator?: boolean;
|
|
854
854
|
}
|
|
855
855
|
|
|
@@ -15,7 +15,7 @@ $_generate-default-density: true !default;
|
|
|
15
15
|
|
|
16
16
|
// Warning that will be printed if duplicated styles are generated by a theme.
|
|
17
17
|
$_duplicate-warning: 'Read more about how style duplication can be avoided in a dedicated ' +
|
|
18
|
-
'guide. https://
|
|
18
|
+
'guide. https://v18.material.angular.io/guide/duplicate-theming-styles';
|
|
19
19
|
|
|
20
20
|
// Warning that will be printed if the legacy theming API is used.
|
|
21
21
|
$private-legacy-theme-warning: 'Angular Material themes should be created from a map containing ' +
|
package/datepicker/index.d.ts
CHANGED
|
@@ -35,7 +35,6 @@ import { OnInit } from '@angular/core';
|
|
|
35
35
|
import { Overlay } from '@angular/cdk/overlay';
|
|
36
36
|
import { Portal } from '@angular/cdk/portal';
|
|
37
37
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
38
|
-
import { Signal } from '@angular/core';
|
|
39
38
|
import { SimpleChanges } from '@angular/core';
|
|
40
39
|
import { Subject } from 'rxjs';
|
|
41
40
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
@@ -159,8 +158,6 @@ declare namespace i15 {
|
|
|
159
158
|
|
|
160
159
|
declare namespace i16 {
|
|
161
160
|
export {
|
|
162
|
-
MatDateRangeInputParent,
|
|
163
|
-
MAT_DATE_RANGE_INPUT_PARENT,
|
|
164
161
|
MatStartDate,
|
|
165
162
|
MatEndDate
|
|
166
163
|
}
|
|
@@ -221,12 +218,6 @@ declare namespace i9 {
|
|
|
221
218
|
|
|
222
219
|
declare function isSameMultiYearView<D>(dateAdapter: DateAdapter<D>, date1: D, date2: D, minDate: D | null, maxDate: D | null): boolean;
|
|
223
220
|
|
|
224
|
-
/**
|
|
225
|
-
* Used to provide the date range input wrapper component
|
|
226
|
-
* to the parts without circular dependencies.
|
|
227
|
-
*/
|
|
228
|
-
declare const MAT_DATE_RANGE_INPUT_PARENT: InjectionToken<MatDateRangeInputParent<unknown>>;
|
|
229
|
-
|
|
230
221
|
/** Injection token used to customize the date range selection behavior. */
|
|
231
222
|
export declare const MAT_DATE_RANGE_SELECTION_STRATEGY: InjectionToken<MatDateRangeSelectionStrategy<any>>;
|
|
232
223
|
|
|
@@ -704,10 +695,10 @@ declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D>, S, D
|
|
|
704
695
|
startView: 'month' | 'year' | 'multi-year';
|
|
705
696
|
/**
|
|
706
697
|
* Theme color of the datepicker's calendar. This API is supported in M2 themes only, it
|
|
707
|
-
* has no effect in M3 themes.
|
|
698
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/datepicker/styling.
|
|
708
699
|
*
|
|
709
700
|
* For information on applying color variants in M3, see
|
|
710
|
-
* https://material.angular.io/guide/theming#
|
|
701
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
711
702
|
*/
|
|
712
703
|
get color(): ThemePalette;
|
|
713
704
|
set color(value: ThemePalette);
|
|
@@ -864,10 +855,10 @@ export declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>
|
|
|
864
855
|
_calendar: MatCalendar<D>;
|
|
865
856
|
/**
|
|
866
857
|
* Theme color of the internal calendar. This API is supported in M2 themes
|
|
867
|
-
* only, it has no effect in M3 themes.
|
|
858
|
+
* only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/datepicker/styling.
|
|
868
859
|
*
|
|
869
860
|
* For information on applying color variants in M3, see
|
|
870
|
-
* https://material.angular.io/guide/theming#
|
|
861
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
871
862
|
*/
|
|
872
863
|
color: ThemePalette;
|
|
873
864
|
/** Reference to the datepicker that created the overlay. */
|
|
@@ -1167,10 +1158,10 @@ export declare interface MatDatepickerPanel<C extends MatDatepickerControl<D>, S
|
|
|
1167
1158
|
closedStream: EventEmitter<void>;
|
|
1168
1159
|
/**
|
|
1169
1160
|
* Color palette to use on the datepicker's calendar. This API is supported in M2 themes only, it
|
|
1170
|
-
* has no effect in M3 themes.
|
|
1161
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/datepicker/styling.
|
|
1171
1162
|
*
|
|
1172
1163
|
* For information on applying color variants in M3, see
|
|
1173
|
-
* https://material.angular.io/guide/theming#
|
|
1164
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
1174
1165
|
*/
|
|
1175
1166
|
color: ThemePalette;
|
|
1176
1167
|
/** The input element the datepicker is associated with. */
|
|
@@ -1228,13 +1219,15 @@ export declare class MatDatepickerToggleIcon {
|
|
|
1228
1219
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerToggleIcon, "[matDatepickerToggleIcon]", never, {}, {}, never, never, true, never>;
|
|
1229
1220
|
}
|
|
1230
1221
|
|
|
1231
|
-
export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>, MatDatepickerControl<D>,
|
|
1222
|
+
export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>, MatDatepickerControl<D>, MatDateRangePickerInput<D>, AfterContentInit, OnChanges, OnDestroy {
|
|
1232
1223
|
private _changeDetectorRef;
|
|
1233
1224
|
private _elementRef;
|
|
1234
1225
|
private _dateAdapter;
|
|
1235
1226
|
private _formField;
|
|
1236
1227
|
private _closedSubscription;
|
|
1237
1228
|
private _openedSubscription;
|
|
1229
|
+
_startInput: MatStartDate<D>;
|
|
1230
|
+
_endInput: MatEndDate<D>;
|
|
1238
1231
|
/** Current value of the range input. */
|
|
1239
1232
|
get value(): DateRange<D> | null;
|
|
1240
1233
|
/** Unique ID for the group. */
|
|
@@ -1291,8 +1284,6 @@ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRan
|
|
|
1291
1284
|
comparisonStart: D | null;
|
|
1292
1285
|
/** End of the comparison range that should be shown in the calendar. */
|
|
1293
1286
|
comparisonEnd: D | null;
|
|
1294
|
-
_startInput: MatStartDate<D>;
|
|
1295
|
-
_endInput: MatEndDate<D>;
|
|
1296
1287
|
/**
|
|
1297
1288
|
* Implemented as a part of `MatFormFieldControl`.
|
|
1298
1289
|
* TODO(crisbeto): change type to `AbstractControlDirective` after #18206 lands.
|
|
@@ -1351,34 +1342,16 @@ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRan
|
|
|
1351
1342
|
/** Checks whether a specific range input directive is required. */
|
|
1352
1343
|
private _isTargetRequired;
|
|
1353
1344
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInput<any>, never>;
|
|
1354
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangeInput<any>, "mat-date-range-input", ["matDateRangeInput"], { "rangePicker": { "alias": "rangePicker"; "required": false; }; "required": { "alias": "required"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "comparisonStart": { "alias": "comparisonStart"; "required": false; }; "comparisonEnd": { "alias": "comparisonEnd"; "required": false; }; }, {},
|
|
1345
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangeInput<any>, "mat-date-range-input", ["matDateRangeInput"], { "rangePicker": { "alias": "rangePicker"; "required": false; }; "required": { "alias": "required"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "comparisonStart": { "alias": "comparisonStart"; "required": false; }; "comparisonEnd": { "alias": "comparisonEnd"; "required": false; }; }, {}, never, ["input[matStartDate]", "input[matEndDate]"], true, never>;
|
|
1355
1346
|
static ngAcceptInputType_required: unknown;
|
|
1356
1347
|
static ngAcceptInputType_disabled: unknown;
|
|
1357
1348
|
}
|
|
1358
1349
|
|
|
1359
|
-
/** Parent component that should be wrapped around `MatStartDate` and `MatEndDate`. */
|
|
1360
|
-
declare interface MatDateRangeInputParent<D> {
|
|
1361
|
-
id: string;
|
|
1362
|
-
min: D | null;
|
|
1363
|
-
max: D | null;
|
|
1364
|
-
dateFilter: DateFilterFn<D>;
|
|
1365
|
-
rangePicker: {
|
|
1366
|
-
opened: boolean;
|
|
1367
|
-
id: string;
|
|
1368
|
-
};
|
|
1369
|
-
_ariaOwns?: Signal<string | null>;
|
|
1370
|
-
_startInput: MatDateRangeInputPartBase<D>;
|
|
1371
|
-
_endInput: MatDateRangeInputPartBase<D>;
|
|
1372
|
-
_groupDisabled: boolean;
|
|
1373
|
-
_handleChildValueChange(): void;
|
|
1374
|
-
_openDatepicker(): void;
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
1350
|
/**
|
|
1378
1351
|
* Base class for the individual inputs that can be projected inside a `mat-date-range-input`.
|
|
1379
1352
|
*/
|
|
1380
|
-
declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBase<DateRange<D>> implements OnInit, DoCheck {
|
|
1381
|
-
_rangeInput:
|
|
1353
|
+
declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBase<DateRange<D>> implements OnInit, AfterContentInit, DoCheck {
|
|
1354
|
+
_rangeInput: MatDateRangeInput<D>;
|
|
1382
1355
|
_elementRef: ElementRef<HTMLInputElement>;
|
|
1383
1356
|
_defaultErrorStateMatcher: ErrorStateMatcher;
|
|
1384
1357
|
private _injector;
|
|
@@ -1392,6 +1365,7 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
|
|
|
1392
1365
|
protected abstract _validator: ValidatorFn | null;
|
|
1393
1366
|
protected abstract _assignValueToModel(value: D | null): void;
|
|
1394
1367
|
protected abstract _getValueFromModel(modelValue: DateRange<D>): D | null;
|
|
1368
|
+
protected abstract _register(): void;
|
|
1395
1369
|
protected readonly _dir: Directionality | null;
|
|
1396
1370
|
private _errorStateTracker;
|
|
1397
1371
|
/** Object used to control when error messages are shown. */
|
|
@@ -1402,6 +1376,7 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
|
|
|
1402
1376
|
set errorState(value: boolean);
|
|
1403
1377
|
constructor(...args: unknown[]);
|
|
1404
1378
|
ngOnInit(): void;
|
|
1379
|
+
ngAfterContentInit(): void;
|
|
1405
1380
|
ngDoCheck(): void;
|
|
1406
1381
|
/** Gets whether the input is empty. */
|
|
1407
1382
|
isEmpty(): boolean;
|
|
@@ -1522,6 +1497,7 @@ export declare abstract class MatDateSelectionModel<S, D = ExtractDateTypeFromSe
|
|
|
1522
1497
|
export declare class MatEndDate<D> extends MatDateRangeInputPartBase<D> {
|
|
1523
1498
|
/** Validator that checks that the end date isn't before the start date. */
|
|
1524
1499
|
private _endValidator;
|
|
1500
|
+
protected _register(): void;
|
|
1525
1501
|
protected _validator: ValidatorFn | null;
|
|
1526
1502
|
protected _getValueFromModel(modelValue: DateRange<D>): D | null;
|
|
1527
1503
|
protected _shouldHandleChangeEvent(change: DateSelectionModelChange<DateRange<D>>): boolean;
|
|
@@ -1829,6 +1805,7 @@ export declare class MatStartDate<D> extends MatDateRangeInputPartBase<D> {
|
|
|
1829
1805
|
/** Validator that checks that the start date isn't after the end date. */
|
|
1830
1806
|
private _startValidator;
|
|
1831
1807
|
protected _validator: ValidatorFn | null;
|
|
1808
|
+
protected _register(): void;
|
|
1832
1809
|
protected _getValueFromModel(modelValue: DateRange<D>): D | null;
|
|
1833
1810
|
protected _shouldHandleChangeEvent(change: DateSelectionModelChange<DateRange<D>>): boolean;
|
|
1834
1811
|
protected _assignValueToModel(value: D | null): void;
|
package/expansion/index.d.ts
CHANGED
|
@@ -171,6 +171,8 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
|
|
|
171
171
|
private _document;
|
|
172
172
|
private _ngZone;
|
|
173
173
|
private _elementRef;
|
|
174
|
+
private _renderer;
|
|
175
|
+
private _cleanupTransitionEnd;
|
|
174
176
|
/** Whether the toggle indicator should be hidden. */
|
|
175
177
|
get hideToggle(): boolean;
|
|
176
178
|
set hideToggle(value: boolean);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, ChangeDetectorRef, ElementRef, EventEmitter, booleanAttribute, TemplateRef, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, ContentChildren, Input, Output, Directive, forwardRef, ViewContainerRef, NgZone,
|
|
2
|
+
import { InjectionToken, inject, ChangeDetectorRef, ElementRef, EventEmitter, booleanAttribute, TemplateRef, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, ContentChildren, Input, Output, Directive, forwardRef, Injector, ViewContainerRef, NgZone, Renderer2, 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 { ViewportRuler, CdkScrollableModule } from '@angular/cdk/scrolling';
|
|
@@ -7,7 +7,7 @@ import { Overlay, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
|
7
7
|
import { _IdGenerator, ActiveDescendantKeyManager, removeAriaReferencedId, addAriaReferencedId } from '@angular/cdk/a11y';
|
|
8
8
|
import { Platform, _getEventTarget } from '@angular/cdk/platform';
|
|
9
9
|
import { trigger, state, style, transition, group, animate } from '@angular/animations';
|
|
10
|
-
import { Subscription, Subject, merge, of, defer,
|
|
10
|
+
import { Subscription, Subject, merge, of, defer, Observable } from 'rxjs';
|
|
11
11
|
import { Directionality } from '@angular/cdk/bidi';
|
|
12
12
|
import { hasModifierKey, ESCAPE, ENTER, UP_ARROW, DOWN_ARROW, TAB } from '@angular/cdk/keycodes';
|
|
13
13
|
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
@@ -242,10 +242,10 @@ class MatAutocomplete {
|
|
|
242
242
|
_skipPredicate() {
|
|
243
243
|
return false;
|
|
244
244
|
}
|
|
245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
246
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.0-next.
|
|
245
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
246
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.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-sys-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-sys-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 });
|
|
247
247
|
}
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocomplete, decorators: [{
|
|
249
249
|
type: Component,
|
|
250
250
|
args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
|
|
251
251
|
'class': 'mat-mdc-autocomplete',
|
|
@@ -307,10 +307,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2",
|
|
|
307
307
|
class MatAutocompleteOrigin {
|
|
308
308
|
elementRef = inject(ElementRef);
|
|
309
309
|
constructor() { }
|
|
310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
311
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.
|
|
310
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocompleteOrigin, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
311
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.3", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 });
|
|
312
312
|
}
|
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
|
|
314
314
|
type: Directive,
|
|
315
315
|
args: [{
|
|
316
316
|
selector: '[matAutocompleteOrigin]',
|
|
@@ -356,6 +356,7 @@ const MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER = {
|
|
|
356
356
|
};
|
|
357
357
|
/** Base class with all of the `MatAutocompleteTrigger` functionality. */
|
|
358
358
|
class MatAutocompleteTrigger {
|
|
359
|
+
_injector = inject(Injector);
|
|
359
360
|
_element = inject(ElementRef);
|
|
360
361
|
_overlay = inject(Overlay);
|
|
361
362
|
_viewContainerRef = inject(ViewContainerRef);
|
|
@@ -365,13 +366,16 @@ class MatAutocompleteTrigger {
|
|
|
365
366
|
_formField = inject(MAT_FORM_FIELD, { optional: true, host: true });
|
|
366
367
|
_document = inject(DOCUMENT);
|
|
367
368
|
_viewportRuler = inject(ViewportRuler);
|
|
369
|
+
_scrollStrategy = inject(MAT_AUTOCOMPLETE_SCROLL_STRATEGY);
|
|
370
|
+
_renderer = inject(Renderer2);
|
|
368
371
|
_defaults = inject(MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, { optional: true });
|
|
369
372
|
_overlayRef;
|
|
370
373
|
_portal;
|
|
371
374
|
_componentDestroyed = false;
|
|
372
|
-
|
|
375
|
+
_initialized = new Subject();
|
|
373
376
|
_keydownSubscription;
|
|
374
377
|
_outsideClickSubscription;
|
|
378
|
+
_cleanupWindowBlur;
|
|
375
379
|
/** Old value of the native input. Used to work around issues with the `input` event on IE. */
|
|
376
380
|
_previousValue;
|
|
377
381
|
/** Value of the input element when the panel was attached (even if there are no options). */
|
|
@@ -444,18 +448,13 @@ class MatAutocompleteTrigger {
|
|
|
444
448
|
* act as a regular input and the user won't be able to open the panel.
|
|
445
449
|
*/
|
|
446
450
|
autocompleteDisabled;
|
|
447
|
-
_initialized = new Subject();
|
|
448
|
-
_injector = inject(Injector);
|
|
449
451
|
constructor() { }
|
|
450
452
|
/** Class to apply to the panel when it's above the input. */
|
|
451
453
|
_aboveClass = 'mat-mdc-autocomplete-panel-above';
|
|
452
454
|
ngAfterViewInit() {
|
|
453
455
|
this._initialized.next();
|
|
454
456
|
this._initialized.complete();
|
|
455
|
-
|
|
456
|
-
if (typeof window !== 'undefined') {
|
|
457
|
-
this._zone.runOutsideAngular(() => window.addEventListener('blur', this._windowBlurHandler));
|
|
458
|
-
}
|
|
457
|
+
this._cleanupWindowBlur = this._renderer.listen('window', 'blur', this._windowBlurHandler);
|
|
459
458
|
}
|
|
460
459
|
ngOnChanges(changes) {
|
|
461
460
|
if (changes['position'] && this._positionStrategy) {
|
|
@@ -466,10 +465,7 @@ class MatAutocompleteTrigger {
|
|
|
466
465
|
}
|
|
467
466
|
}
|
|
468
467
|
ngOnDestroy() {
|
|
469
|
-
|
|
470
|
-
if (typeof window !== 'undefined') {
|
|
471
|
-
window.removeEventListener('blur', this._windowBlurHandler);
|
|
472
|
-
}
|
|
468
|
+
this._cleanupWindowBlur?.();
|
|
473
469
|
this._handsetLandscapeSubscription.unsubscribe();
|
|
474
470
|
this._viewportSubscription.unsubscribe();
|
|
475
471
|
this._componentDestroyed = true;
|
|
@@ -567,26 +563,38 @@ class MatAutocompleteTrigger {
|
|
|
567
563
|
}
|
|
568
564
|
/** Stream of clicks outside of the autocomplete panel. */
|
|
569
565
|
_getOutsideClickStream() {
|
|
570
|
-
return
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
566
|
+
return new Observable(observer => {
|
|
567
|
+
const listener = (event) => {
|
|
568
|
+
// If we're in the Shadow DOM, the event target will be the shadow root, so we have to
|
|
569
|
+
// fall back to check the first element in the path of the click event.
|
|
570
|
+
const clickTarget = _getEventTarget(event);
|
|
571
|
+
const formField = this._formField
|
|
572
|
+
? this._formField.getConnectedOverlayOrigin().nativeElement
|
|
573
|
+
: null;
|
|
574
|
+
const customOrigin = this.connectedTo ? this.connectedTo.elementRef.nativeElement : null;
|
|
575
|
+
if (this._overlayAttached &&
|
|
576
|
+
clickTarget !== this._element.nativeElement &&
|
|
577
|
+
// Normally focus moves inside `mousedown` so this condition will almost always be
|
|
578
|
+
// true. Its main purpose is to handle the case where the input is focused from an
|
|
579
|
+
// outside click which propagates up to the `body` listener within the same sequence
|
|
580
|
+
// and causes the panel to close immediately (see #3106).
|
|
581
|
+
this._document.activeElement !== this._element.nativeElement &&
|
|
582
|
+
(!formField || !formField.contains(clickTarget)) &&
|
|
583
|
+
(!customOrigin || !customOrigin.contains(clickTarget)) &&
|
|
584
|
+
!!this._overlayRef &&
|
|
585
|
+
!this._overlayRef.overlayElement.contains(clickTarget)) {
|
|
586
|
+
observer.next(event);
|
|
587
|
+
}
|
|
588
|
+
};
|
|
589
|
+
const cleanups = [
|
|
590
|
+
this._renderer.listen('document', 'click', listener),
|
|
591
|
+
this._renderer.listen('document', 'auxclick', listener),
|
|
592
|
+
this._renderer.listen('document', 'touchend', listener),
|
|
593
|
+
];
|
|
594
|
+
return () => {
|
|
595
|
+
cleanups.forEach(current => current());
|
|
596
|
+
};
|
|
597
|
+
});
|
|
590
598
|
}
|
|
591
599
|
// Implemented as part of ControlValueAccessor.
|
|
592
600
|
writeValue(value) {
|
|
@@ -1075,10 +1083,6 @@ class MatAutocompleteTrigger {
|
|
|
1075
1083
|
const element = this._element.nativeElement;
|
|
1076
1084
|
return !element.readOnly && !element.disabled && !this.autocompleteDisabled;
|
|
1077
1085
|
}
|
|
1078
|
-
/** Use defaultView of injected document if available or fallback to global window reference */
|
|
1079
|
-
_getWindow() {
|
|
1080
|
-
return this._document?.defaultView || window;
|
|
1081
|
-
}
|
|
1082
1086
|
/** Scrolls to a particular option in the list. */
|
|
1083
1087
|
_scrollToOption(index) {
|
|
1084
1088
|
// Given that we are not actually focusing active options, we must manually adjust scroll
|
|
@@ -1157,10 +1161,10 @@ class MatAutocompleteTrigger {
|
|
|
1157
1161
|
this._trackedModal = null;
|
|
1158
1162
|
}
|
|
1159
1163
|
}
|
|
1160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
1161
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.
|
|
1164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocompleteTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1165
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.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 });
|
|
1162
1166
|
}
|
|
1163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
1167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
|
|
1164
1168
|
type: Directive,
|
|
1165
1169
|
args: [{
|
|
1166
1170
|
selector: `input[matAutocomplete], textarea[matAutocomplete]`,
|
|
@@ -1202,8 +1206,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2",
|
|
|
1202
1206
|
}] } });
|
|
1203
1207
|
|
|
1204
1208
|
class MatAutocompleteModule {
|
|
1205
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
1206
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.
|
|
1209
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1210
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
|
|
1207
1211
|
MatOptionModule,
|
|
1208
1212
|
MatCommonModule,
|
|
1209
1213
|
MatAutocomplete,
|
|
@@ -1214,13 +1218,13 @@ class MatAutocompleteModule {
|
|
|
1214
1218
|
MatCommonModule,
|
|
1215
1219
|
MatAutocompleteTrigger,
|
|
1216
1220
|
MatAutocompleteOrigin] });
|
|
1217
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
1221
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
|
|
1218
1222
|
MatOptionModule,
|
|
1219
1223
|
MatCommonModule, CdkScrollableModule,
|
|
1220
1224
|
MatOptionModule,
|
|
1221
1225
|
MatCommonModule] });
|
|
1222
1226
|
}
|
|
1223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
1227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatAutocompleteModule, decorators: [{
|
|
1224
1228
|
type: NgModule,
|
|
1225
1229
|
args: [{
|
|
1226
1230
|
imports: [
|