@angular/material 19.2.1 → 20.0.0-next.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/bottom-sheet/index.d.ts +0 -1
- package/button/index.d.ts +39 -53
- package/dialog/index.d.ts +0 -6
- package/fesm2022/autocomplete.mjs +13 -13
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +11 -18
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +85 -171
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +14 -14
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +41 -43
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +65 -65
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +83 -83
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -31
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +34 -34
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +49 -49
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +17 -17
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +14 -14
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +14 -14
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +43 -43
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +17 -18
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +10 -10
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/list/index.d.ts +1 -1
- package/package.json +6 -6
- package/schematics/migration.json +4 -4
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +6 -9
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +6 -9
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +6 -9
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +6 -9
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +1 -1
- package/schematics/ng-update/index_bundled.js +35 -35
- package/schematics/ng-update/index_bundled.js.map +1 -1
package/bottom-sheet/index.d.ts
CHANGED
|
@@ -153,7 +153,6 @@ export declare class MatBottomSheetContainer extends CdkDialogContainer implemen
|
|
|
153
153
|
ngOnDestroy(): void;
|
|
154
154
|
private _simulateAnimation;
|
|
155
155
|
protected _handleAnimationEvent(isStart: boolean, animationName: string): void;
|
|
156
|
-
protected _captureInitialFocus(): void;
|
|
157
156
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetContainer, never>;
|
|
158
157
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatBottomSheetContainer, "mat-bottom-sheet-container", never, {}, {}, never, never, true, never>;
|
|
159
158
|
}
|
package/button/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { InjectionToken } from '@angular/core';
|
|
|
7
7
|
import { MatRippleLoader } from '@angular/material/core';
|
|
8
8
|
import { NgZone } from '@angular/core';
|
|
9
9
|
import { OnDestroy } from '@angular/core';
|
|
10
|
-
import { OnInit } from '@angular/core';
|
|
11
10
|
import { ThemePalette } from '@angular/material/core';
|
|
12
11
|
|
|
13
12
|
declare namespace i2 {
|
|
@@ -18,13 +17,6 @@ declare namespace i2 {
|
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
declare namespace i3 {
|
|
21
|
-
export {
|
|
22
|
-
MatIconButton,
|
|
23
|
-
MatIconAnchor
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
declare namespace i4 {
|
|
28
20
|
export {
|
|
29
21
|
MAT_FAB_DEFAULT_OPTIONS_FACTORY,
|
|
30
22
|
MatFabDefaultOptions,
|
|
@@ -36,6 +28,13 @@ declare namespace i4 {
|
|
|
36
28
|
}
|
|
37
29
|
}
|
|
38
30
|
|
|
31
|
+
declare namespace i4 {
|
|
32
|
+
export {
|
|
33
|
+
MatIconButton,
|
|
34
|
+
MatIconAnchor
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
39
38
|
/** Injection token that can be used to provide the default options the button component. */
|
|
40
39
|
export declare const MAT_BUTTON_CONFIG: InjectionToken<MatButtonConfig>;
|
|
41
40
|
|
|
@@ -55,26 +54,9 @@ export declare function MAT_FAB_DEFAULT_OPTIONS_FACTORY(): MatFabDefaultOptions;
|
|
|
55
54
|
* specification. `MatAnchor` additionally captures an additional "flat" appearance, which matches
|
|
56
55
|
* "contained" but without elevation.
|
|
57
56
|
*/
|
|
58
|
-
export declare
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchor, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatAnchor, "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", ["matButton", "matAnchor"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
61
|
-
}
|
|
57
|
+
export declare const MatAnchor: typeof MatButton;
|
|
62
58
|
|
|
63
|
-
|
|
64
|
-
* Anchor button base.
|
|
65
|
-
*/
|
|
66
|
-
declare class MatAnchorBase extends MatButtonBase implements OnInit, OnDestroy {
|
|
67
|
-
private _renderer;
|
|
68
|
-
private _cleanupClick;
|
|
69
|
-
tabIndex: number;
|
|
70
|
-
ngOnInit(): void;
|
|
71
|
-
ngOnDestroy(): void;
|
|
72
|
-
_haltDisabledEvents: (event: Event) => void;
|
|
73
|
-
protected _getAriaDisabled(): boolean | null;
|
|
74
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchorBase, never>;
|
|
75
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAnchorBase, never, never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, never, true, never>;
|
|
76
|
-
static ngAcceptInputType_tabIndex: unknown;
|
|
77
|
-
}
|
|
59
|
+
export declare type MatAnchor = MatButton;
|
|
78
60
|
|
|
79
61
|
/**
|
|
80
62
|
* Material Design button component. Users interact with a button to perform an action.
|
|
@@ -87,7 +69,7 @@ declare class MatAnchorBase extends MatButtonBase implements OnInit, OnDestroy {
|
|
|
87
69
|
*/
|
|
88
70
|
export declare class MatButton extends MatButtonBase {
|
|
89
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButton, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatButton, " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", ["matButton"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatButton, " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", ["matButton", "matAnchor"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
91
73
|
}
|
|
92
74
|
|
|
93
75
|
/** Base class for all buttons. */
|
|
@@ -96,11 +78,15 @@ declare class MatButtonBase implements AfterViewInit, OnDestroy {
|
|
|
96
78
|
_ngZone: NgZone;
|
|
97
79
|
_animationMode: "NoopAnimations" | "BrowserAnimations" | null;
|
|
98
80
|
private readonly _focusMonitor;
|
|
81
|
+
private _cleanupClick;
|
|
82
|
+
private _renderer;
|
|
99
83
|
/**
|
|
100
84
|
* Handles the lazy creation of the MatButton ripple.
|
|
101
85
|
* Used to improve initial load time of large applications.
|
|
102
86
|
*/
|
|
103
87
|
protected _rippleLoader: MatRippleLoader;
|
|
88
|
+
/** Whether the button is set on an anchor node. */
|
|
89
|
+
protected _isAnchor: boolean;
|
|
104
90
|
/** Whether this button is a FAB. Used to apply the correct class on the ripple. */
|
|
105
91
|
protected _isFab: boolean;
|
|
106
92
|
/**
|
|
@@ -133,6 +119,13 @@ declare class MatButtonBase implements AfterViewInit, OnDestroy {
|
|
|
133
119
|
* meant to be tabbable and you have to prevent the button action (e.g. form submissions).
|
|
134
120
|
*/
|
|
135
121
|
disabledInteractive: boolean;
|
|
122
|
+
/** Tab index for the button. */
|
|
123
|
+
tabIndex: number;
|
|
124
|
+
/**
|
|
125
|
+
* Backwards-compatibility input that handles pre-existing `[tabindex]` bindings.
|
|
126
|
+
* @docs-private
|
|
127
|
+
*/
|
|
128
|
+
set _tabindex(value: number);
|
|
136
129
|
constructor(...args: unknown[]);
|
|
137
130
|
ngAfterViewInit(): void;
|
|
138
131
|
ngOnDestroy(): void;
|
|
@@ -141,12 +134,16 @@ declare class MatButtonBase implements AfterViewInit, OnDestroy {
|
|
|
141
134
|
protected _getAriaDisabled(): boolean | null;
|
|
142
135
|
protected _getDisabledAttribute(): true | null;
|
|
143
136
|
private _updateRippleDisabled;
|
|
137
|
+
protected _getTabIndex(): number;
|
|
138
|
+
private _setupAsAnchor;
|
|
144
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonBase, never>;
|
|
145
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonBase, never, never, { "color": { "alias": "color"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; }, {}, never, never, true, never>;
|
|
140
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonBase, never, never, { "color": { "alias": "color"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "_tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, never, true, never>;
|
|
146
141
|
static ngAcceptInputType_disableRipple: unknown;
|
|
147
142
|
static ngAcceptInputType_disabled: unknown;
|
|
148
143
|
static ngAcceptInputType_ariaDisabled: unknown;
|
|
149
144
|
static ngAcceptInputType_disabledInteractive: unknown;
|
|
145
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
146
|
+
static ngAcceptInputType__tabindex: unknown;
|
|
150
147
|
}
|
|
151
148
|
|
|
152
149
|
/** Object that can be used to configure the default options for the button component. */
|
|
@@ -159,7 +156,7 @@ export declare interface MatButtonConfig {
|
|
|
159
156
|
|
|
160
157
|
export declare class MatButtonModule {
|
|
161
158
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonModule, never>;
|
|
162
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonModule, never, [typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof i2.
|
|
159
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonModule, never, [typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof i2.MatButton, typeof i3.MatMiniFabButton, typeof i4.MatIconButton, typeof i3.MatFabButton], [typeof i1.MatCommonModule, typeof i2.MatButton, typeof i3.MatMiniFabButton, typeof i4.MatIconButton, typeof i3.MatFabButton]>;
|
|
163
160
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatButtonModule>;
|
|
164
161
|
}
|
|
165
162
|
|
|
@@ -170,15 +167,9 @@ export declare class MatButtonModule {
|
|
|
170
167
|
*
|
|
171
168
|
* The `MatFabAnchor` class has two appearances: normal and extended.
|
|
172
169
|
*/
|
|
173
|
-
export declare
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
extended: boolean;
|
|
177
|
-
constructor(...args: unknown[]);
|
|
178
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabAnchor, never>;
|
|
179
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabAnchor, "a[mat-fab]", ["matButton", "matAnchor"], { "extended": { "alias": "extended"; "required": false; }; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
180
|
-
static ngAcceptInputType_extended: unknown;
|
|
181
|
-
}
|
|
170
|
+
export declare const MatFabAnchor: typeof MatFabButton;
|
|
171
|
+
|
|
172
|
+
export declare type MatFabAnchor = MatFabButton;
|
|
182
173
|
|
|
183
174
|
/**
|
|
184
175
|
* Material Design floating action button (FAB) component. These buttons represent the primary
|
|
@@ -193,7 +184,7 @@ export declare class MatFabButton extends MatButtonBase {
|
|
|
193
184
|
extended: boolean;
|
|
194
185
|
constructor(...args: unknown[]);
|
|
195
186
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabButton, never>;
|
|
196
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabButton, "button[mat-fab]", ["matButton"], { "extended": { "alias": "extended"; "required": false; }; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
187
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabButton, "button[mat-fab], a[mat-fab]", ["matButton", "matAnchor"], { "extended": { "alias": "extended"; "required": false; }; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
197
188
|
static ngAcceptInputType_extended: unknown;
|
|
198
189
|
}
|
|
199
190
|
|
|
@@ -214,10 +205,9 @@ export declare interface MatFabDefaultOptions {
|
|
|
214
205
|
* interaction icon that allows users to navigate across different routes or pages.
|
|
215
206
|
* See https://material.io/develop/web/components/buttons/icon-buttons/
|
|
216
207
|
*/
|
|
217
|
-
export declare
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
208
|
+
export declare const MatIconAnchor: typeof MatIconButton;
|
|
209
|
+
|
|
210
|
+
export declare type MatIconAnchor = MatIconButton;
|
|
221
211
|
|
|
222
212
|
/**
|
|
223
213
|
* Material Design icon button component. This type of button displays a single interactive icon for
|
|
@@ -227,7 +217,7 @@ export declare class MatIconAnchor extends MatAnchorBase {
|
|
|
227
217
|
export declare class MatIconButton extends MatButtonBase {
|
|
228
218
|
constructor(...args: unknown[]);
|
|
229
219
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconButton, never>;
|
|
230
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconButton, "button[mat-icon-button]", ["matButton"], {}, {}, never, ["*"], true, never>;
|
|
220
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconButton, "button[mat-icon-button], a[mat-icon-button]", ["matButton", "matAnchor"], {}, {}, never, ["*"], true, never>;
|
|
231
221
|
}
|
|
232
222
|
|
|
233
223
|
/**
|
|
@@ -235,13 +225,9 @@ export declare class MatIconButton extends MatButtonBase {
|
|
|
235
225
|
* are used to provide links for the user to navigate across different routes or pages.
|
|
236
226
|
* See https://material.io/components/buttons-floating-action-button/
|
|
237
227
|
*/
|
|
238
|
-
export declare
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
constructor(...args: unknown[]);
|
|
242
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabAnchor, never>;
|
|
243
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabAnchor, "a[mat-mini-fab]", ["matButton", "matAnchor"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
244
|
-
}
|
|
228
|
+
export declare const MatMiniFabAnchor: typeof MatMiniFabButton;
|
|
229
|
+
|
|
230
|
+
export declare type MatMiniFabAnchor = MatMiniFabButton;
|
|
245
231
|
|
|
246
232
|
/**
|
|
247
233
|
* Material Design mini floating action button (FAB) component. These buttons represent the primary
|
|
@@ -253,7 +239,7 @@ export declare class MatMiniFabButton extends MatButtonBase {
|
|
|
253
239
|
_isFab: boolean;
|
|
254
240
|
constructor(...args: unknown[]);
|
|
255
241
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabButton, never>;
|
|
256
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabButton, "button[mat-mini-fab]", ["matButton"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
242
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabButton, "button[mat-mini-fab], a[mat-mini-fab]", ["matButton", "matAnchor"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
257
243
|
}
|
|
258
244
|
|
|
259
245
|
export { }
|
package/dialog/index.d.ts
CHANGED
|
@@ -302,12 +302,6 @@ export declare class MatDialogConfig<D = any> {
|
|
|
302
302
|
* the `HashLocationStrategy`).
|
|
303
303
|
*/
|
|
304
304
|
closeOnNavigation?: boolean;
|
|
305
|
-
/**
|
|
306
|
-
* Alternate `ComponentFactoryResolver` to use when resolving the associated component.
|
|
307
|
-
* @deprecated No longer used. Will be removed.
|
|
308
|
-
* @breaking-change 20.0.0
|
|
309
|
-
*/
|
|
310
|
-
componentFactoryResolver?: unknown;
|
|
311
305
|
/**
|
|
312
306
|
* Duration of the enter animation in ms.
|
|
313
307
|
* Should be a number, string type is deprecated.
|
|
@@ -223,10 +223,10 @@ class MatAutocomplete {
|
|
|
223
223
|
_skipPredicate() {
|
|
224
224
|
return false;
|
|
225
225
|
}
|
|
226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0
|
|
227
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.0
|
|
226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
227
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.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 [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\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 #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}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
228
228
|
}
|
|
229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocomplete, decorators: [{
|
|
230
230
|
type: Component,
|
|
231
231
|
args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
|
|
232
232
|
'class': 'mat-mdc-autocomplete',
|
|
@@ -288,10 +288,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-rc.0", ng
|
|
|
288
288
|
class MatAutocompleteOrigin {
|
|
289
289
|
elementRef = inject(ElementRef);
|
|
290
290
|
constructor() { }
|
|
291
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0
|
|
292
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0
|
|
291
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocompleteOrigin, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
292
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 });
|
|
293
293
|
}
|
|
294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0
|
|
294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
|
|
295
295
|
type: Directive,
|
|
296
296
|
args: [{
|
|
297
297
|
selector: '[matAutocompleteOrigin]',
|
|
@@ -1135,10 +1135,10 @@ class MatAutocompleteTrigger {
|
|
|
1135
1135
|
this._trackedModal = null;
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0
|
|
1139
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.0
|
|
1138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocompleteTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1139
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.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 });
|
|
1140
1140
|
}
|
|
1141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
|
|
1142
1142
|
type: Directive,
|
|
1143
1143
|
args: [{
|
|
1144
1144
|
selector: `input[matAutocomplete], textarea[matAutocomplete]`,
|
|
@@ -1180,8 +1180,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-rc.0", ng
|
|
|
1180
1180
|
}] } });
|
|
1181
1181
|
|
|
1182
1182
|
class MatAutocompleteModule {
|
|
1183
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0
|
|
1184
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0
|
|
1183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1184
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
|
|
1185
1185
|
MatOptionModule,
|
|
1186
1186
|
MatCommonModule,
|
|
1187
1187
|
MatAutocomplete,
|
|
@@ -1192,13 +1192,13 @@ class MatAutocompleteModule {
|
|
|
1192
1192
|
MatCommonModule,
|
|
1193
1193
|
MatAutocompleteTrigger,
|
|
1194
1194
|
MatAutocompleteOrigin] });
|
|
1195
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0
|
|
1195
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
|
|
1196
1196
|
MatOptionModule,
|
|
1197
1197
|
MatCommonModule, CdkScrollableModule,
|
|
1198
1198
|
MatOptionModule,
|
|
1199
1199
|
MatCommonModule] });
|
|
1200
1200
|
}
|
|
1201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0
|
|
1201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatAutocompleteModule, decorators: [{
|
|
1202
1202
|
type: NgModule,
|
|
1203
1203
|
args: [{
|
|
1204
1204
|
imports: [
|