@angular/material 19.0.0-next.3 → 19.0.0-next.5
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/autocomplete/index.d.ts +5 -15
- package/badge/index.d.ts +3 -7
- package/bottom-sheet/index.d.ts +5 -15
- package/button/index.d.ts +20 -24
- package/button-toggle/index.d.ts +5 -8
- package/card/index.d.ts +2 -2
- package/checkbox/index.d.ts +16 -7
- package/chips/index.d.ts +13 -24
- package/core/_core-theme.scss +0 -22
- package/core/index.d.ts +30 -34
- package/core/tokens/m3/mat/_badge.scss +3 -3
- package/datepicker/index.d.ts +44 -70
- package/dialog/index.d.ts +10 -34
- package/dialog/testing/index.d.ts +1 -1
- package/expansion/index.d.ts +9 -13
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +42 -72
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +22 -29
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +25 -40
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +26 -42
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +68 -137
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +50 -54
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +38 -39
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +93 -144
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +102 -215
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +192 -328
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +3 -3
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +47 -105
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +54 -89
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +89 -93
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +35 -42
- 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 +20 -29
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +29 -53
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +106 -145
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/material.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +63 -111
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +18 -25
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +14 -20
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +29 -42
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +34 -66
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +67 -87
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +26 -34
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +61 -69
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +49 -62
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +30 -49
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +56 -68
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +119 -174
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +17 -21
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +53 -67
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +35 -62
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_mdc-text-field-structure.scss +49 -47
- package/form-field/index.d.ts +12 -24
- package/grid-list/index.d.ts +6 -8
- package/icon/index.d.ts +2 -2
- package/input/index.d.ts +3 -7
- package/list/_list-inherited-structure.scss +1 -13
- package/list/index.d.ts +10 -14
- package/menu/index.d.ts +15 -49
- package/package.json +2 -2
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress-bar/index.d.ts +3 -5
- package/progress-spinner/index.d.ts +2 -2
- package/radio/index.d.ts +5 -8
- package/schematics/ng-add/fonts/material-fonts.d.ts +1 -1
- package/schematics/ng-add/fonts/material-fonts.js +2 -2
- package/schematics/ng-add/fonts/material-fonts.mjs +2 -2
- package/schematics/ng-add/index.d.ts +1 -1
- package/schematics/ng-add/index.js +3 -3
- package/schematics/ng-add/index.mjs +3 -3
- package/schematics/ng-add/package-config.d.ts +1 -1
- package/schematics/ng-add/package-config.js +2 -2
- package/schematics/ng-add/package-config.mjs +2 -2
- package/schematics/ng-add/schema.d.ts +1 -1
- package/schematics/ng-add/schema.js +2 -2
- package/schematics/ng-add/schema.mjs +2 -2
- package/schematics/ng-add/setup-project.d.ts +1 -1
- package/schematics/ng-add/setup-project.js +3 -3
- package/schematics/ng-add/setup-project.mjs +3 -3
- package/schematics/ng-add/theming/create-custom-theme.d.ts +1 -1
- package/schematics/ng-add/theming/create-custom-theme.js +2 -2
- package/schematics/ng-add/theming/create-custom-theme.mjs +2 -2
- package/schematics/ng-add/theming/theming.d.ts +1 -1
- package/schematics/ng-add/theming/theming.js +2 -2
- package/schematics/ng-add/theming/theming.mjs +2 -2
- package/schematics/ng-generate/address-form/index.d.ts +1 -1
- package/schematics/ng-generate/address-form/index.js +2 -2
- package/schematics/ng-generate/address-form/index.mjs +2 -2
- package/schematics/ng-generate/address-form/schema.d.ts +1 -1
- package/schematics/ng-generate/address-form/schema.js +2 -2
- package/schematics/ng-generate/address-form/schema.mjs +2 -2
- package/schematics/ng-generate/dashboard/index.d.ts +1 -1
- package/schematics/ng-generate/dashboard/index.js +2 -2
- package/schematics/ng-generate/dashboard/index.mjs +2 -2
- package/schematics/ng-generate/dashboard/schema.d.ts +1 -1
- package/schematics/ng-generate/dashboard/schema.js +2 -2
- package/schematics/ng-generate/dashboard/schema.mjs +2 -2
- package/schematics/ng-generate/m3-theme/index_bundled.js +1 -1
- package/schematics/ng-generate/m3-theme/index_bundled.js.map +1 -1
- package/schematics/ng-generate/navigation/index.d.ts +1 -1
- package/schematics/ng-generate/navigation/index.js +2 -2
- package/schematics/ng-generate/navigation/index.mjs +2 -2
- package/schematics/ng-generate/navigation/schema.d.ts +1 -1
- package/schematics/ng-generate/navigation/schema.js +2 -2
- package/schematics/ng-generate/navigation/schema.mjs +2 -2
- package/schematics/ng-generate/table/index.d.ts +1 -1
- package/schematics/ng-generate/table/index.js +2 -2
- package/schematics/ng-generate/table/index.mjs +2 -2
- package/schematics/ng-generate/table/schema.d.ts +1 -1
- package/schematics/ng-generate/table/schema.js +2 -2
- package/schematics/ng-generate/table/schema.mjs +2 -2
- package/schematics/ng-generate/tree/index.d.ts +1 -1
- package/schematics/ng-generate/tree/index.js +2 -2
- package/schematics/ng-generate/tree/index.mjs +2 -2
- package/schematics/ng-generate/tree/schema.d.ts +1 -1
- package/schematics/ng-generate/tree/schema.js +2 -2
- package/schematics/ng-generate/tree/schema.mjs +2 -2
- package/schematics/ng-update/index_bundled.js +1 -1
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/index.d.ts +4 -14
- package/sidenav/index.d.ts +7 -17
- package/slide-toggle/index.d.ts +2 -2
- package/slider/index.d.ts +8 -8
- package/snack-bar/index.d.ts +6 -22
- package/sort/index.d.ts +4 -20
- package/stepper/index.d.ts +6 -13
- package/tabs/index.d.ts +21 -32
- package/toolbar/index.d.ts +3 -4
- package/tooltip/index.d.ts +5 -12
- package/tree/index.d.ts +5 -18
package/autocomplete/index.d.ts
CHANGED
|
@@ -2,9 +2,7 @@ import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
|
2
2
|
import { AfterContentInit } from '@angular/core';
|
|
3
3
|
import { AfterViewInit } from '@angular/core';
|
|
4
4
|
import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
|
|
5
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
6
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
8
6
|
import { ElementRef } from '@angular/core';
|
|
9
7
|
import { EventEmitter } from '@angular/core';
|
|
10
8
|
import * as i0 from '@angular/core';
|
|
@@ -13,23 +11,18 @@ import * as i2 from '@angular/material/core';
|
|
|
13
11
|
import * as i3 from '@angular/common';
|
|
14
12
|
import * as i7 from '@angular/cdk/scrolling';
|
|
15
13
|
import { InjectionToken } from '@angular/core';
|
|
16
|
-
import { MatFormField } from '@angular/material/form-field';
|
|
17
14
|
import { MatOptgroup } from '@angular/material/core';
|
|
18
15
|
import { MatOption } from '@angular/material/core';
|
|
19
16
|
import { MatOptionSelectionChange } from '@angular/material/core';
|
|
20
|
-
import { NgZone } from '@angular/core';
|
|
21
17
|
import { Observable } from 'rxjs';
|
|
22
18
|
import { OnChanges } from '@angular/core';
|
|
23
19
|
import { OnDestroy } from '@angular/core';
|
|
24
20
|
import { Overlay } from '@angular/cdk/overlay';
|
|
25
|
-
import { Platform } from '@angular/cdk/platform';
|
|
26
21
|
import { QueryList } from '@angular/core';
|
|
27
22
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
28
23
|
import { SimpleChanges } from '@angular/core';
|
|
29
24
|
import { TemplateRef } from '@angular/core';
|
|
30
25
|
import { ThemePalette } from '@angular/material/core';
|
|
31
|
-
import { ViewContainerRef } from '@angular/core';
|
|
32
|
-
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
33
26
|
|
|
34
27
|
/**
|
|
35
28
|
* Creates an error to be thrown when attempting to use an autocomplete trigger without a panel.
|
|
@@ -173,7 +166,7 @@ export declare class MatAutocomplete implements AfterContentInit, OnDestroy {
|
|
|
173
166
|
* @docs-private
|
|
174
167
|
*/
|
|
175
168
|
readonly inertGroups: boolean;
|
|
176
|
-
constructor(
|
|
169
|
+
constructor(...args: unknown[]);
|
|
177
170
|
ngAfterContentInit(): void;
|
|
178
171
|
ngOnDestroy(): void;
|
|
179
172
|
/**
|
|
@@ -235,11 +228,8 @@ export declare class MatAutocompleteModule {
|
|
|
235
228
|
* as a connection point for an autocomplete panel.
|
|
236
229
|
*/
|
|
237
230
|
export declare class MatAutocompleteOrigin {
|
|
238
|
-
/** Reference to the element on which the directive is applied. */
|
|
239
231
|
elementRef: ElementRef<HTMLElement>;
|
|
240
|
-
constructor(
|
|
241
|
-
/** Reference to the element on which the directive is applied. */
|
|
242
|
-
elementRef: ElementRef<HTMLElement>);
|
|
232
|
+
constructor(...args: unknown[]);
|
|
243
233
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteOrigin, never>;
|
|
244
234
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteOrigin, "[matAutocompleteOrigin]", ["matAutocompleteOrigin"], {}, {}, never, never, true, never>;
|
|
245
235
|
}
|
|
@@ -268,7 +258,7 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
268
258
|
private _formField;
|
|
269
259
|
private _document;
|
|
270
260
|
private _viewportRuler;
|
|
271
|
-
private _defaults
|
|
261
|
+
private _defaults;
|
|
272
262
|
private _overlayRef;
|
|
273
263
|
private _portal;
|
|
274
264
|
private _componentDestroyed;
|
|
@@ -343,7 +333,7 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
343
333
|
autocompleteDisabled: boolean;
|
|
344
334
|
private _initialized;
|
|
345
335
|
private _injector;
|
|
346
|
-
constructor(
|
|
336
|
+
constructor(...args: unknown[]);
|
|
347
337
|
/** Class to apply to the panel when it's above the input. */
|
|
348
338
|
private _aboveClass;
|
|
349
339
|
ngAfterViewInit(): void;
|
|
@@ -471,7 +461,7 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
471
461
|
private _applyModalPanelOwnership;
|
|
472
462
|
/** Clears the references to the listbox overlay element from the modal it was added to. */
|
|
473
463
|
private _clearFromModal;
|
|
474
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteTrigger,
|
|
464
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteTrigger, never>;
|
|
475
465
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteTrigger, "input[matAutocomplete], textarea[matAutocomplete]", ["matAutocompleteTrigger"], { "autocomplete": { "alias": "matAutocomplete"; "required": false; }; "position": { "alias": "matAutocompletePosition"; "required": false; }; "connectedTo": { "alias": "matAutocompleteConnectedTo"; "required": false; }; "autocompleteAttribute": { "alias": "autocomplete"; "required": false; }; "autocompleteDisabled": { "alias": "matAutocompleteDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
476
466
|
static ngAcceptInputType_autocompleteDisabled: unknown;
|
|
477
467
|
}
|
package/badge/index.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AriaDescriber } from '@angular/cdk/a11y';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
2
|
import * as i1 from '@angular/cdk/a11y';
|
|
5
3
|
import * as i2 from '@angular/material/core';
|
|
6
|
-
import { NgZone } from '@angular/core';
|
|
7
4
|
import { OnDestroy } from '@angular/core';
|
|
8
5
|
import { OnInit } from '@angular/core';
|
|
9
|
-
import { Renderer2 } from '@angular/core';
|
|
10
6
|
import { ThemePalette } from '@angular/material/core';
|
|
11
7
|
|
|
12
8
|
declare namespace i3 {
|
|
@@ -24,7 +20,7 @@ export declare class MatBadge implements OnInit, OnDestroy {
|
|
|
24
20
|
private _elementRef;
|
|
25
21
|
private _ariaDescriber;
|
|
26
22
|
private _renderer;
|
|
27
|
-
private _animationMode
|
|
23
|
+
private _animationMode;
|
|
28
24
|
/**
|
|
29
25
|
* Theme color of the badge. This API is supported in M2 themes only, it
|
|
30
26
|
* has no effect in M3 themes.
|
|
@@ -67,7 +63,7 @@ export declare class MatBadge implements OnInit, OnDestroy {
|
|
|
67
63
|
/** InteractivityChecker to determine if the badge host is focusable. */
|
|
68
64
|
private _interactivityChecker;
|
|
69
65
|
private _document;
|
|
70
|
-
constructor(
|
|
66
|
+
constructor(...args: unknown[]);
|
|
71
67
|
/** Whether the badge is above the host or not */
|
|
72
68
|
isAbove(): boolean;
|
|
73
69
|
/** Whether the badge is after the host or not */
|
|
@@ -93,7 +89,7 @@ export declare class MatBadge implements OnInit, OnDestroy {
|
|
|
93
89
|
private _setColor;
|
|
94
90
|
/** Clears any existing badges that might be left over from server-side rendering. */
|
|
95
91
|
private _clearExistingBadges;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatBadge,
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBadge, never>;
|
|
97
93
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatBadge, "[matBadge]", never, { "color": { "alias": "matBadgeColor"; "required": false; }; "overlap": { "alias": "matBadgeOverlap"; "required": false; }; "disabled": { "alias": "matBadgeDisabled"; "required": false; }; "position": { "alias": "matBadgePosition"; "required": false; }; "content": { "alias": "matBadge"; "required": false; }; "description": { "alias": "matBadgeDescription"; "required": false; }; "size": { "alias": "matBadgeSize"; "required": false; }; "hidden": { "alias": "matBadgeHidden"; "required": false; }; }, {}, never, never, true, never>;
|
|
98
94
|
static ngAcceptInputType_overlap: unknown;
|
|
99
95
|
static ngAcceptInputType_disabled: unknown;
|
package/bottom-sheet/index.d.ts
CHANGED
|
@@ -1,28 +1,18 @@
|
|
|
1
1
|
import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
|
|
2
2
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
3
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
4
3
|
import { CdkDialogContainer } from '@angular/cdk/dialog';
|
|
5
4
|
import { ComponentRef } from '@angular/core';
|
|
6
5
|
import { ComponentType } from '@angular/cdk/portal';
|
|
7
|
-
import { DialogConfig } from '@angular/cdk/dialog';
|
|
8
6
|
import { DialogRef } from '@angular/cdk/dialog';
|
|
9
7
|
import { Direction } from '@angular/cdk/bidi';
|
|
10
|
-
import { ElementRef } from '@angular/core';
|
|
11
8
|
import { EventEmitter } from '@angular/core';
|
|
12
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
13
|
-
import { FocusTrapFactory } from '@angular/cdk/a11y';
|
|
14
9
|
import * as i0 from '@angular/core';
|
|
15
10
|
import * as i1 from '@angular/cdk/dialog';
|
|
16
11
|
import * as i2 from '@angular/material/core';
|
|
17
12
|
import * as i3 from '@angular/cdk/portal';
|
|
18
13
|
import { InjectionToken } from '@angular/core';
|
|
19
|
-
import { Injector } from '@angular/core';
|
|
20
|
-
import { InteractivityChecker } from '@angular/cdk/a11y';
|
|
21
|
-
import { NgZone } from '@angular/core';
|
|
22
14
|
import { Observable } from 'rxjs';
|
|
23
15
|
import { OnDestroy } from '@angular/core';
|
|
24
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
25
|
-
import { OverlayRef } from '@angular/cdk/overlay';
|
|
26
16
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
27
17
|
import { TemplateRef } from '@angular/core';
|
|
28
18
|
import { ViewContainerRef } from '@angular/core';
|
|
@@ -48,13 +38,13 @@ export declare const MAT_BOTTOM_SHEET_DEFAULT_OPTIONS: InjectionToken<MatBottomS
|
|
|
48
38
|
export declare class MatBottomSheet implements OnDestroy {
|
|
49
39
|
private _overlay;
|
|
50
40
|
private _parentBottomSheet;
|
|
51
|
-
private _defaultOptions
|
|
41
|
+
private _defaultOptions;
|
|
52
42
|
private _bottomSheetRefAtThisLevel;
|
|
53
43
|
private _dialog;
|
|
54
44
|
/** Reference to the currently opened bottom sheet. */
|
|
55
45
|
get _openedBottomSheetRef(): MatBottomSheetRef<any> | null;
|
|
56
46
|
set _openedBottomSheetRef(value: MatBottomSheetRef<any> | null);
|
|
57
|
-
constructor(
|
|
47
|
+
constructor(...args: unknown[]);
|
|
58
48
|
/**
|
|
59
49
|
* Opens a bottom sheet containing the given component.
|
|
60
50
|
* @param component Type of the component to load into the bottom sheet.
|
|
@@ -75,7 +65,7 @@ export declare class MatBottomSheet implements OnDestroy {
|
|
|
75
65
|
*/
|
|
76
66
|
dismiss<R = any>(result?: R): void;
|
|
77
67
|
ngOnDestroy(): void;
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheet,
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheet, never>;
|
|
79
69
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatBottomSheet>;
|
|
80
70
|
}
|
|
81
71
|
|
|
@@ -139,7 +129,7 @@ export declare class MatBottomSheetContainer extends CdkDialogContainer implemen
|
|
|
139
129
|
_animationStateChanged: EventEmitter<AnimationEvent_2>;
|
|
140
130
|
/** Whether the component has been destroyed. */
|
|
141
131
|
private _destroyed;
|
|
142
|
-
constructor(
|
|
132
|
+
constructor(...args: unknown[]);
|
|
143
133
|
/** Begin animation of bottom sheet entrance into view. */
|
|
144
134
|
enter(): void;
|
|
145
135
|
/** Begin animation of the bottom sheet exiting from view. */
|
|
@@ -148,7 +138,7 @@ export declare class MatBottomSheetContainer extends CdkDialogContainer implemen
|
|
|
148
138
|
_onAnimationDone(event: AnimationEvent_2): void;
|
|
149
139
|
_onAnimationStart(event: AnimationEvent_2): void;
|
|
150
140
|
protected _captureInitialFocus(): void;
|
|
151
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetContainer,
|
|
141
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetContainer, never>;
|
|
152
142
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatBottomSheetContainer, "mat-bottom-sheet-container", never, {}, {}, never, never, true, never>;
|
|
153
143
|
}
|
|
154
144
|
|
package/button/index.d.ts
CHANGED
|
@@ -57,8 +57,7 @@ export declare function MAT_FAB_DEFAULT_OPTIONS_FACTORY(): MatFabDefaultOptions;
|
|
|
57
57
|
* "contained" but without elevation.
|
|
58
58
|
*/
|
|
59
59
|
export declare class MatAnchor extends MatAnchorBase {
|
|
60
|
-
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchor, [null, null, null, { optional: true; }]>;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchor, never>;
|
|
62
61
|
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>;
|
|
63
62
|
}
|
|
64
63
|
|
|
@@ -67,7 +66,6 @@ export declare class MatAnchor extends MatAnchorBase {
|
|
|
67
66
|
*/
|
|
68
67
|
declare class MatAnchorBase extends MatButtonBase implements OnInit, OnDestroy {
|
|
69
68
|
tabIndex: number;
|
|
70
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
71
69
|
ngOnInit(): void;
|
|
72
70
|
ngOnDestroy(): void;
|
|
73
71
|
_haltDisabledEvents: (event: Event) => void;
|
|
@@ -87,17 +85,16 @@ declare class MatAnchorBase extends MatButtonBase implements OnInit, OnDestroy {
|
|
|
87
85
|
* "contained" but without elevation.
|
|
88
86
|
*/
|
|
89
87
|
export declare class MatButton extends MatButtonBase {
|
|
90
|
-
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButton, [null, null, null, { optional: true; }]>;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatButton, never>;
|
|
92
89
|
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>;
|
|
93
90
|
}
|
|
94
91
|
|
|
95
92
|
/** Base class for all buttons. */
|
|
96
93
|
declare class MatButtonBase implements AfterViewInit, OnDestroy {
|
|
97
|
-
_elementRef: ElementRef
|
|
94
|
+
_elementRef: ElementRef<any>;
|
|
98
95
|
_platform: Platform;
|
|
99
96
|
_ngZone: NgZone;
|
|
100
|
-
_animationMode
|
|
97
|
+
_animationMode: "NoopAnimations" | "BrowserAnimations" | null;
|
|
101
98
|
private readonly _focusMonitor;
|
|
102
99
|
/**
|
|
103
100
|
* Handles the lazy creation of the MatButton ripple.
|
|
@@ -136,7 +133,7 @@ declare class MatButtonBase implements AfterViewInit, OnDestroy {
|
|
|
136
133
|
* meant to be tabbable and you have to prevent the button action (e.g. form submissions).
|
|
137
134
|
*/
|
|
138
135
|
disabledInteractive: boolean;
|
|
139
|
-
constructor(
|
|
136
|
+
constructor(...args: unknown[]);
|
|
140
137
|
ngAfterViewInit(): void;
|
|
141
138
|
ngOnDestroy(): void;
|
|
142
139
|
/** Focuses the button. */
|
|
@@ -174,11 +171,11 @@ export declare class MatButtonModule {
|
|
|
174
171
|
* The `MatFabAnchor` class has two appearances: normal and extended.
|
|
175
172
|
*/
|
|
176
173
|
export declare class MatFabAnchor extends MatAnchor {
|
|
177
|
-
private _options
|
|
174
|
+
private _options;
|
|
178
175
|
_isFab: boolean;
|
|
179
176
|
extended: boolean;
|
|
180
|
-
constructor(
|
|
181
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabAnchor,
|
|
177
|
+
constructor(...args: unknown[]);
|
|
178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabAnchor, never>;
|
|
182
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>;
|
|
183
180
|
static ngAcceptInputType_extended: unknown;
|
|
184
181
|
}
|
|
@@ -191,11 +188,11 @@ export declare class MatFabAnchor extends MatAnchor {
|
|
|
191
188
|
* The `MatFabButton` class has two appearances: normal and extended.
|
|
192
189
|
*/
|
|
193
190
|
export declare class MatFabButton extends MatButtonBase {
|
|
194
|
-
private _options
|
|
191
|
+
private _options;
|
|
195
192
|
_isFab: boolean;
|
|
196
193
|
extended: boolean;
|
|
197
|
-
constructor(
|
|
198
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabButton,
|
|
194
|
+
constructor(...args: unknown[]);
|
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabButton, never>;
|
|
199
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>;
|
|
200
197
|
static ngAcceptInputType_extended: unknown;
|
|
201
198
|
}
|
|
@@ -218,8 +215,7 @@ export declare interface MatFabDefaultOptions {
|
|
|
218
215
|
* See https://material.io/develop/web/components/buttons/icon-buttons/
|
|
219
216
|
*/
|
|
220
217
|
export declare class MatIconAnchor extends MatAnchorBase {
|
|
221
|
-
|
|
222
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconAnchor, [null, null, null, { optional: true; }]>;
|
|
218
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconAnchor, never>;
|
|
223
219
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconAnchor, "a[mat-icon-button]", ["matButton", "matAnchor"], {}, {}, never, ["*"], true, never>;
|
|
224
220
|
}
|
|
225
221
|
|
|
@@ -229,8 +225,8 @@ export declare class MatIconAnchor extends MatAnchorBase {
|
|
|
229
225
|
* See https://material.io/develop/web/components/buttons/icon-buttons/
|
|
230
226
|
*/
|
|
231
227
|
export declare class MatIconButton extends MatButtonBase {
|
|
232
|
-
constructor(
|
|
233
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconButton,
|
|
228
|
+
constructor(...args: unknown[]);
|
|
229
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconButton, never>;
|
|
234
230
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconButton, "button[mat-icon-button]", ["matButton"], {}, {}, never, ["*"], true, never>;
|
|
235
231
|
}
|
|
236
232
|
|
|
@@ -240,10 +236,10 @@ export declare class MatIconButton extends MatButtonBase {
|
|
|
240
236
|
* See https://material.io/components/buttons-floating-action-button/
|
|
241
237
|
*/
|
|
242
238
|
export declare class MatMiniFabAnchor extends MatAnchor {
|
|
243
|
-
private _options
|
|
239
|
+
private _options;
|
|
244
240
|
_isFab: boolean;
|
|
245
|
-
constructor(
|
|
246
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabAnchor,
|
|
241
|
+
constructor(...args: unknown[]);
|
|
242
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabAnchor, never>;
|
|
247
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>;
|
|
248
244
|
}
|
|
249
245
|
|
|
@@ -253,10 +249,10 @@ export declare class MatMiniFabAnchor extends MatAnchor {
|
|
|
253
249
|
* See https://material.io/components/buttons-floating-action-button/
|
|
254
250
|
*/
|
|
255
251
|
export declare class MatMiniFabButton extends MatButtonBase {
|
|
256
|
-
private _options
|
|
252
|
+
private _options;
|
|
257
253
|
_isFab: boolean;
|
|
258
|
-
constructor(
|
|
259
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabButton,
|
|
254
|
+
constructor(...args: unknown[]);
|
|
255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabButton, never>;
|
|
260
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>;
|
|
261
257
|
}
|
|
262
258
|
|
package/button-toggle/index.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { AfterContentInit } from '@angular/core';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
4
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
4
|
import { Direction } from '@angular/cdk/bidi';
|
|
6
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
7
5
|
import { ElementRef } from '@angular/core';
|
|
8
6
|
import { EventEmitter } from '@angular/core';
|
|
9
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
10
7
|
import * as i0 from '@angular/core';
|
|
11
8
|
import * as i1 from '@angular/material/core';
|
|
12
9
|
import { InjectionToken } from '@angular/core';
|
|
@@ -101,7 +98,7 @@ export declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy
|
|
|
101
98
|
private _disabledInteractive;
|
|
102
99
|
/** Event emitted when the group value changes. */
|
|
103
100
|
readonly change: EventEmitter<MatButtonToggleChange>;
|
|
104
|
-
constructor(
|
|
101
|
+
constructor(...args: unknown[]);
|
|
105
102
|
ngOnInit(): void;
|
|
106
103
|
ngAfterViewInit(): void;
|
|
107
104
|
ngOnDestroy(): void;
|
|
@@ -119,7 +116,7 @@ export declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy
|
|
|
119
116
|
_getButtonName(): string | null;
|
|
120
117
|
/** Whether the toggle is in single selection mode. */
|
|
121
118
|
isSingleSelector(): boolean;
|
|
122
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggle,
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggle, never>;
|
|
123
120
|
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; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
124
121
|
static ngAcceptInputType_disableRipple: unknown;
|
|
125
122
|
static ngAcceptInputType_checked: unknown;
|
|
@@ -164,7 +161,7 @@ export declare interface MatButtonToggleDefaultOptions {
|
|
|
164
161
|
/** Exclusive selection button toggle group that behaves like a radio-button group. */
|
|
165
162
|
export declare class MatButtonToggleGroup implements ControlValueAccessor, OnInit, AfterContentInit {
|
|
166
163
|
private _changeDetector;
|
|
167
|
-
private _dir
|
|
164
|
+
private _dir;
|
|
168
165
|
private _multiple;
|
|
169
166
|
private _disabled;
|
|
170
167
|
private _disabledInteractive;
|
|
@@ -225,7 +222,7 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
|
|
|
225
222
|
get hideMultipleSelectionIndicator(): boolean;
|
|
226
223
|
set hideMultipleSelectionIndicator(value: boolean);
|
|
227
224
|
private _hideMultipleSelectionIndicator;
|
|
228
|
-
constructor(
|
|
225
|
+
constructor(...args: unknown[]);
|
|
229
226
|
ngOnInit(): void;
|
|
230
227
|
ngAfterContentInit(): void;
|
|
231
228
|
/**
|
|
@@ -266,7 +263,7 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
|
|
|
266
263
|
private _updateModelValue;
|
|
267
264
|
/** Marks all of the child button toggles to be checked. */
|
|
268
265
|
private _markButtonsForCheck;
|
|
269
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleGroup,
|
|
266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleGroup, never>;
|
|
270
267
|
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; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "hideMultipleSelectionIndicator": { "alias": "hideMultipleSelectionIndicator"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; }, ["_buttonToggles"], never, true, never>;
|
|
271
268
|
static ngAcceptInputType_vertical: unknown;
|
|
272
269
|
static ngAcceptInputType_multiple: unknown;
|
package/card/index.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ export declare const MAT_CARD_CONFIG: InjectionToken<MatCardConfig>;
|
|
|
36
36
|
*/
|
|
37
37
|
export declare class MatCard {
|
|
38
38
|
appearance: MatCardAppearance;
|
|
39
|
-
constructor(
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCard,
|
|
39
|
+
constructor(...args: unknown[]);
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCard, never>;
|
|
41
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatCard, "mat-card", ["matCard"], { "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
42
42
|
}
|
|
43
43
|
|
package/checkbox/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
4
3
|
import { CheckboxRequiredValidator } from '@angular/forms';
|
|
5
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
5
|
import { ElementRef } from '@angular/core';
|
|
@@ -9,7 +8,6 @@ import { FocusableOption } from '@angular/cdk/a11y';
|
|
|
9
8
|
import * as i0 from '@angular/core';
|
|
10
9
|
import * as i3 from '@angular/material/core';
|
|
11
10
|
import { InjectionToken } from '@angular/core';
|
|
12
|
-
import { NgZone } from '@angular/core';
|
|
13
11
|
import { OnChanges } from '@angular/core';
|
|
14
12
|
import { Provider } from '@angular/core';
|
|
15
13
|
import { SimpleChanges } from '@angular/core';
|
|
@@ -55,8 +53,8 @@ export declare class MatCheckbox implements AfterViewInit, OnChanges, ControlVal
|
|
|
55
53
|
_elementRef: ElementRef<HTMLElement>;
|
|
56
54
|
private _changeDetectorRef;
|
|
57
55
|
private _ngZone;
|
|
58
|
-
_animationMode?:
|
|
59
|
-
private _options
|
|
56
|
+
_animationMode?: "NoopAnimations" | "BrowserAnimations" | null | undefined;
|
|
57
|
+
private _options;
|
|
60
58
|
/** Focuses the checkbox. */
|
|
61
59
|
focus(): void;
|
|
62
60
|
/** Creates the change event that will be emitted by the checkbox. */
|
|
@@ -83,6 +81,16 @@ export declare class MatCheckbox implements AfterViewInit, OnChanges, ControlVal
|
|
|
83
81
|
ariaLabelledby: string | null;
|
|
84
82
|
/** The 'aria-describedby' attribute is read after the element's label and field type. */
|
|
85
83
|
ariaDescribedby: string;
|
|
84
|
+
/**
|
|
85
|
+
* Users can specify the `aria-expanded` attribute which will be forwarded to the input element
|
|
86
|
+
*/
|
|
87
|
+
ariaExpanded: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Users can specify the `aria-controls` attribute which will be forwarded to the input element
|
|
90
|
+
*/
|
|
91
|
+
ariaControls: string;
|
|
92
|
+
/** Users can specify the `aria-owns` attribute which will be forwarded to the input element */
|
|
93
|
+
ariaOwns: string;
|
|
86
94
|
private _uniqueId;
|
|
87
95
|
/** A unique id for the checkbox input. If none is supplied, it will be auto-generated. */
|
|
88
96
|
id: string;
|
|
@@ -127,7 +135,7 @@ export declare class MatCheckbox implements AfterViewInit, OnChanges, ControlVal
|
|
|
127
135
|
private _currentCheckState;
|
|
128
136
|
private _controlValueAccessorChangeFn;
|
|
129
137
|
private _validatorChangeFn;
|
|
130
|
-
constructor(
|
|
138
|
+
constructor(...args: unknown[]);
|
|
131
139
|
ngOnChanges(changes: SimpleChanges): void;
|
|
132
140
|
ngAfterViewInit(): void;
|
|
133
141
|
/** Whether the checkbox is checked. */
|
|
@@ -183,8 +191,9 @@ export declare class MatCheckbox implements AfterViewInit, OnChanges, ControlVal
|
|
|
183
191
|
* bubbles when the label is clicked.
|
|
184
192
|
*/
|
|
185
193
|
_preventBubblingFromLabel(event: MouseEvent): void;
|
|
186
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckbox,
|
|
187
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatCheckbox, "mat-checkbox", ["matCheckbox"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"], true, never>;
|
|
194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckbox, never>;
|
|
195
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCheckbox, "mat-checkbox", ["matCheckbox"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "ariaExpanded": { "alias": "aria-expanded"; "required": false; }; "ariaControls": { "alias": "aria-controls"; "required": false; }; "ariaOwns": { "alias": "aria-owns"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"], true, never>;
|
|
196
|
+
static ngAcceptInputType_ariaExpanded: unknown;
|
|
188
197
|
static ngAcceptInputType_required: unknown;
|
|
189
198
|
static ngAcceptInputType_disableRipple: unknown;
|
|
190
199
|
static ngAcceptInputType_tabIndex: unknown;
|
package/chips/index.d.ts
CHANGED
|
@@ -2,29 +2,23 @@ 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 { Directionality } from '@angular/cdk/bidi';
|
|
6
5
|
import { DoCheck } from '@angular/core';
|
|
7
6
|
import { ElementRef } from '@angular/core';
|
|
8
7
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
9
8
|
import { EventEmitter } from '@angular/core';
|
|
10
9
|
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
11
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
12
|
-
import { FormGroupDirective } from '@angular/forms';
|
|
13
10
|
import * as i0 from '@angular/core';
|
|
14
11
|
import * as i1 from '@angular/material/core';
|
|
15
12
|
import { InjectionToken } from '@angular/core';
|
|
16
13
|
import { Injector } from '@angular/core';
|
|
17
|
-
import { MatFormField } from '@angular/material/form-field';
|
|
18
14
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
19
15
|
import { NgControl } from '@angular/forms';
|
|
20
|
-
import { NgForm } from '@angular/forms';
|
|
21
16
|
import { NgZone } from '@angular/core';
|
|
22
17
|
import { Observable } from 'rxjs';
|
|
23
18
|
import { OnChanges } from '@angular/core';
|
|
24
19
|
import { OnDestroy } from '@angular/core';
|
|
25
20
|
import { OnInit } from '@angular/core';
|
|
26
21
|
import { QueryList } from '@angular/core';
|
|
27
|
-
import { RippleGlobalOptions } from '@angular/material/core';
|
|
28
22
|
import { Subject } from 'rxjs';
|
|
29
23
|
|
|
30
24
|
declare namespace i10 {
|
|
@@ -142,7 +136,7 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
142
136
|
_elementRef: ElementRef<HTMLElement>;
|
|
143
137
|
protected _ngZone: NgZone;
|
|
144
138
|
private _focusMonitor;
|
|
145
|
-
private _globalRippleOptions
|
|
139
|
+
private _globalRippleOptions;
|
|
146
140
|
protected _document: Document;
|
|
147
141
|
/** Emits when the chip is focused. */
|
|
148
142
|
readonly _onFocus: Subject<MatChipEvent>;
|
|
@@ -223,7 +217,7 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
223
217
|
*/
|
|
224
218
|
private _rippleLoader;
|
|
225
219
|
protected _injector: Injector;
|
|
226
|
-
constructor(
|
|
220
|
+
constructor(...args: unknown[]);
|
|
227
221
|
ngOnInit(): void;
|
|
228
222
|
ngAfterViewInit(): void;
|
|
229
223
|
ngAfterContentInit(): void;
|
|
@@ -251,7 +245,7 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
251
245
|
_handlePrimaryActionInteraction(): void;
|
|
252
246
|
/** Starts the focus monitoring process on the chip. */
|
|
253
247
|
private _monitorFocus;
|
|
254
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip,
|
|
248
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, never>;
|
|
255
249
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "role": { "alias": "role"; "required": false; }; "id": { "alias": "id"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaDescription": { "alias": "aria-description"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "highlighted": { "alias": "highlighted"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "trailingIcon", "removeIcon", "_allLeadingIcons", "_allTrailingIcons", "_allRemoveIcons"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
256
250
|
static ngAcceptInputType_removable: unknown;
|
|
257
251
|
static ngAcceptInputType_highlighted: unknown;
|
|
@@ -293,12 +287,7 @@ declare class MatChipAction {
|
|
|
293
287
|
* Determine the value of the tabindex attribute for this chip action.
|
|
294
288
|
*/
|
|
295
289
|
protected _getTabindex(): string | null;
|
|
296
|
-
constructor(
|
|
297
|
-
_handlePrimaryActionInteraction(): void;
|
|
298
|
-
remove(): void;
|
|
299
|
-
disabled: boolean;
|
|
300
|
-
_isEditing?: boolean;
|
|
301
|
-
});
|
|
290
|
+
constructor(...args: unknown[]);
|
|
302
291
|
focus(): void;
|
|
303
292
|
_handleClick(event: MouseEvent): void;
|
|
304
293
|
_handleKeydown(event: KeyboardEvent): void;
|
|
@@ -327,7 +316,7 @@ export declare interface MatChipEditedEvent extends MatChipEvent {
|
|
|
327
316
|
export declare class MatChipEditInput {
|
|
328
317
|
private readonly _elementRef;
|
|
329
318
|
private readonly _document;
|
|
330
|
-
constructor(
|
|
319
|
+
constructor(...args: unknown[]);
|
|
331
320
|
initialize(initialValue: string): void;
|
|
332
321
|
getNativeElement(): HTMLElement;
|
|
333
322
|
setValue(value: string): void;
|
|
@@ -439,7 +428,7 @@ export declare class MatChipGrid extends MatChipSet implements AfterContentInit,
|
|
|
439
428
|
/** Whether the chip grid is in an error state. */
|
|
440
429
|
get errorState(): boolean;
|
|
441
430
|
set errorState(value: boolean);
|
|
442
|
-
constructor(
|
|
431
|
+
constructor(...args: unknown[]);
|
|
443
432
|
ngAfterContentInit(): void;
|
|
444
433
|
ngAfterViewInit(): void;
|
|
445
434
|
ngDoCheck(): void;
|
|
@@ -498,7 +487,7 @@ export declare class MatChipGrid extends MatChipSet implements AfterContentInit,
|
|
|
498
487
|
private _propagateChanges;
|
|
499
488
|
/** Mark the field as touched */
|
|
500
489
|
private _markAsTouched;
|
|
501
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid,
|
|
490
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, never>;
|
|
502
491
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"], true, never>;
|
|
503
492
|
static ngAcceptInputType_disabled: unknown;
|
|
504
493
|
static ngAcceptInputType_required: unknown;
|
|
@@ -553,7 +542,7 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
|
|
|
553
542
|
get empty(): boolean;
|
|
554
543
|
/** The native input element to which this directive is attached. */
|
|
555
544
|
readonly inputElement: HTMLInputElement;
|
|
556
|
-
constructor(
|
|
545
|
+
constructor(...args: unknown[]);
|
|
557
546
|
ngOnChanges(): void;
|
|
558
547
|
ngOnDestroy(): void;
|
|
559
548
|
/** Utility method to make host definition/tests more clear. */
|
|
@@ -571,7 +560,7 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
|
|
|
571
560
|
setDescribedByIds(ids: string[]): void;
|
|
572
561
|
/** Checks whether a keycode is one of the configured separators. */
|
|
573
562
|
private _isSeparatorKey;
|
|
574
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput,
|
|
563
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, never>;
|
|
575
564
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
|
|
576
565
|
static ngAcceptInputType_addOnBlur: unknown;
|
|
577
566
|
static ngAcceptInputType_disabled: unknown;
|
|
@@ -834,7 +823,7 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
|
|
|
834
823
|
/** The projected chip edit input. */
|
|
835
824
|
contentEditInput?: MatChipEditInput;
|
|
836
825
|
_isEditing: boolean;
|
|
837
|
-
constructor(
|
|
826
|
+
constructor(...args: unknown[]);
|
|
838
827
|
_hasTrailingIcon(): boolean;
|
|
839
828
|
/** Sends focus to the first gridcell when the user clicks anywhere inside the chip. */
|
|
840
829
|
_handleFocus(): void;
|
|
@@ -848,7 +837,7 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
|
|
|
848
837
|
* two values is guaranteed to be defined.
|
|
849
838
|
*/
|
|
850
839
|
private _getEditInput;
|
|
851
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow,
|
|
840
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, never>;
|
|
852
841
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", never, { "editable": { "alias": "editable"; "required": false; }; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "[matChipEditInput]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
853
842
|
}
|
|
854
843
|
|
|
@@ -918,7 +907,7 @@ export declare class MatChipSet implements AfterViewInit, OnDestroy {
|
|
|
918
907
|
_chips: QueryList<MatChip>;
|
|
919
908
|
/** Flat list of all the actions contained within the chips. */
|
|
920
909
|
_chipActions: QueryList<MatChipAction>;
|
|
921
|
-
constructor(
|
|
910
|
+
constructor(...args: unknown[]);
|
|
922
911
|
ngAfterViewInit(): void;
|
|
923
912
|
ngOnDestroy(): void;
|
|
924
913
|
/** Checks whether any of the chips is focused. */
|
|
@@ -965,7 +954,7 @@ export declare class MatChipSet implements AfterViewInit, OnDestroy {
|
|
|
965
954
|
* if the currently-focused chip is destroyed.
|
|
966
955
|
*/
|
|
967
956
|
private _redirectDestroyedChipFocus;
|
|
968
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet,
|
|
957
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, never>;
|
|
969
958
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": { "alias": "disabled"; "required": false; }; "role": { "alias": "role"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, ["_chips"], ["*"], true, never>;
|
|
970
959
|
static ngAcceptInputType_disabled: unknown;
|
|
971
960
|
static ngAcceptInputType_tabIndex: unknown;
|