@angular/material 22.0.0-next.3 → 22.0.0-next.4
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/core/tokens/_system.scss +14 -8
- package/fesm2022/_error-options-chunk.mjs +6 -6
- package/fesm2022/_form-field-chunk.mjs +30 -34
- package/fesm2022/_form-field-chunk.mjs.map +1 -1
- package/fesm2022/_icon-button-chunk.mjs +6 -6
- package/fesm2022/_icon-button-chunk.mjs.map +1 -1
- package/fesm2022/_icon-registry-chunk.mjs +3 -3
- package/fesm2022/_internal-form-field-chunk.mjs +3 -3
- package/fesm2022/_line-chunk.mjs +7 -7
- package/fesm2022/_option-chunk.mjs +6 -6
- package/fesm2022/_option-chunk.mjs.map +1 -1
- package/fesm2022/_option-module-chunk.mjs +4 -4
- package/fesm2022/_pseudo-checkbox-chunk.mjs +3 -5
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
- package/fesm2022/_ripple-chunk.mjs +6 -6
- package/fesm2022/_ripple-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-loader-chunk.mjs +3 -3
- package/fesm2022/_ripple-module-chunk.mjs +4 -4
- package/fesm2022/_structural-styles-chunk.mjs +3 -3
- package/fesm2022/_tooltip-chunk.mjs +6 -8
- package/fesm2022/_tooltip-chunk.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +14 -18
- 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 -13
- 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 +13 -13
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +7 -7
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +49 -53
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +12 -12
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +84 -90
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog-testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +26 -30
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +26 -28
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +4 -4
- package/fesm2022/grid-list.mjs +22 -28
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon-testing.mjs +7 -7
- package/fesm2022/icon.mjs +7 -7
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +52 -58
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +23 -25
- 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 +11 -13
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +12 -12
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +25 -32
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +8 -8
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +16 -18
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +24 -28
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +32 -36
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/tabs.mjs +46 -52
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +13 -13
- package/fesm2022/toolbar.mjs +10 -12
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/types/_badge-chunk.d.ts +1 -1
- package/types/_button-toggle-chunk.d.ts +2 -2
- package/types/_dialog-chunk.d.ts +1 -1
- package/types/_form-field-chunk.d.ts +2 -4
- package/types/_icon-module-chunk.d.ts +1 -1
- package/types/_option-chunk.d.ts +2 -2
- package/types/_paginator-chunk.d.ts +1 -1
- package/types/_progress-spinner-chunk.d.ts +1 -1
- package/types/_pseudo-checkbox-module-chunk.d.ts +0 -1
- package/types/_ripple-chunk.d.ts +1 -1
- package/types/autocomplete.d.ts +1 -3
- package/types/bottom-sheet.d.ts +1 -2
- package/types/button.d.ts +5 -5
- package/types/card.d.ts +1 -1
- package/types/checkbox.d.ts +1 -1
- package/types/chips.d.ts +7 -9
- package/types/core.d.ts +1 -1
- package/types/datepicker.d.ts +13 -16
- package/types/dialog-testing.d.ts +1 -1
- package/types/dialog.d.ts +0 -2
- package/types/expansion.d.ts +2 -3
- package/types/grid-list.d.ts +0 -3
- package/types/input.d.ts +1 -1
- package/types/list.d.ts +2 -5
- package/types/menu.d.ts +3 -4
- package/types/progress-bar.d.ts +1 -1
- package/types/radio.d.ts +1 -2
- package/types/select.d.ts +1 -1
- package/types/sidenav.d.ts +2 -3
- package/types/slide-toggle.d.ts +1 -1
- package/types/slider.d.ts +3 -4
- package/types/snack-bar.d.ts +1 -3
- package/types/sort.d.ts +1 -1
- package/types/stepper.d.ts +2 -4
- package/types/tabs.d.ts +6 -8
- package/types/toolbar.d.ts +0 -1
- package/types/tooltip.d.ts +1 -2
- package/types/tree.d.ts +1 -1
package/types/datepicker.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ declare class MatCalendarBody<D = any> implements OnChanges, OnDestroy, AfterVie
|
|
|
132
132
|
* use the built-in identity tracking, because it logs warnings.
|
|
133
133
|
*/
|
|
134
134
|
_trackRow: (row: MatCalendarCell[]) => MatCalendarCell<any>[];
|
|
135
|
-
constructor(
|
|
135
|
+
constructor();
|
|
136
136
|
/** Called when a cell is clicked. */
|
|
137
137
|
_cellClicked(cell: MatCalendarCell, event: MouseEvent): void;
|
|
138
138
|
_emitActiveDateChange(cell: MatCalendarCell, event: FocusEvent): void;
|
|
@@ -431,7 +431,7 @@ declare class MatMonthView<D> implements AfterContentInit, OnChanges, OnDestroy
|
|
|
431
431
|
narrow: string;
|
|
432
432
|
id: number;
|
|
433
433
|
}[]>;
|
|
434
|
-
constructor(
|
|
434
|
+
constructor();
|
|
435
435
|
ngAfterContentInit(): void;
|
|
436
436
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
437
437
|
ngOnDestroy(): void;
|
|
@@ -544,7 +544,7 @@ declare class MatMultiYearView<D> implements AfterContentInit, OnDestroy {
|
|
|
544
544
|
_todayYear: i0.WritableSignal<number>;
|
|
545
545
|
/** The year of the selected date. Null if the selected date is null. */
|
|
546
546
|
_selectedYear: i0.WritableSignal<number | null>;
|
|
547
|
-
constructor(
|
|
547
|
+
constructor();
|
|
548
548
|
ngAfterContentInit(): void;
|
|
549
549
|
ngOnDestroy(): void;
|
|
550
550
|
/** Initializes this multi-year view. */
|
|
@@ -639,7 +639,7 @@ declare class MatYearView<D> implements AfterContentInit, OnDestroy {
|
|
|
639
639
|
* Null if the selected Date is in a different year.
|
|
640
640
|
*/
|
|
641
641
|
_selectedMonth: i0.WritableSignal<number | null>;
|
|
642
|
-
constructor(
|
|
642
|
+
constructor();
|
|
643
643
|
ngAfterContentInit(): void;
|
|
644
644
|
ngOnDestroy(): void;
|
|
645
645
|
/** Handles when a new month is selected. */
|
|
@@ -713,7 +713,7 @@ declare class MatCalendarHeader<D> {
|
|
|
713
713
|
private _periodButtonLabel;
|
|
714
714
|
private _prevButtonLabel;
|
|
715
715
|
private _nextButtonLabel;
|
|
716
|
-
constructor(
|
|
716
|
+
constructor();
|
|
717
717
|
/** The display text for the current calendar view. */
|
|
718
718
|
get periodButtonText(): string;
|
|
719
719
|
/** The aria description for the current calendar view. */
|
|
@@ -838,7 +838,7 @@ declare class MatCalendar<D> implements AfterContentInit, AfterViewChecked, OnDe
|
|
|
838
838
|
* Emits whenever there is a state change that the header may need to respond to.
|
|
839
839
|
*/
|
|
840
840
|
readonly stateChanges: Subject<void>;
|
|
841
|
-
constructor(
|
|
841
|
+
constructor();
|
|
842
842
|
ngAfterContentInit(): void;
|
|
843
843
|
ngAfterViewChecked(): void;
|
|
844
844
|
ngOnDestroy(): void;
|
|
@@ -954,7 +954,7 @@ declare abstract class MatDatepickerInputBase<S, D = ExtractDateTypeFromSelectio
|
|
|
954
954
|
protected abstract _shouldHandleChangeEvent(event: DateSelectionModelChange<S>): boolean;
|
|
955
955
|
/** Whether the last value set on the input was valid. */
|
|
956
956
|
protected _lastValueValid: boolean;
|
|
957
|
-
constructor(
|
|
957
|
+
constructor();
|
|
958
958
|
ngAfterViewInit(): void;
|
|
959
959
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
960
960
|
ngOnDestroy(): void;
|
|
@@ -1054,7 +1054,7 @@ declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>> imple
|
|
|
1054
1054
|
_actionsPortal: TemplatePortal | null;
|
|
1055
1055
|
/** Id of the label for the `role="dialog"` element. */
|
|
1056
1056
|
_dialogLabelId: string | null;
|
|
1057
|
-
constructor(
|
|
1057
|
+
constructor();
|
|
1058
1058
|
ngAfterViewInit(): void;
|
|
1059
1059
|
ngOnDestroy(): void;
|
|
1060
1060
|
_handleUserSelection(event: MatCalendarUserEvent<D | null>): void;
|
|
@@ -1214,7 +1214,7 @@ declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D>, S, D
|
|
|
1214
1214
|
/** Emits when the datepicker's state changes. */
|
|
1215
1215
|
readonly stateChanges: Subject<void>;
|
|
1216
1216
|
private readonly _changeDetectorRef;
|
|
1217
|
-
constructor(
|
|
1217
|
+
constructor();
|
|
1218
1218
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
1219
1219
|
ngOnDestroy(): void;
|
|
1220
1220
|
/** Selects the given date */
|
|
@@ -1303,7 +1303,7 @@ declare class MatDatepickerInput<D> extends MatDatepickerInputBase<D | null, D>
|
|
|
1303
1303
|
private _dateFilter;
|
|
1304
1304
|
/** The combined form control validator for this input. */
|
|
1305
1305
|
protected _validator: ValidatorFn | null;
|
|
1306
|
-
constructor(
|
|
1306
|
+
constructor();
|
|
1307
1307
|
/**
|
|
1308
1308
|
* Gets the element that the datepicker popup should be connected to.
|
|
1309
1309
|
* @return The element to connect the popup to.
|
|
@@ -1409,7 +1409,7 @@ declare class MatDatepickerToggle<D> implements AfterContentInit, OnChanges, OnD
|
|
|
1409
1409
|
_customIcon: MatDatepickerToggleIcon;
|
|
1410
1410
|
/** Underlying button element. */
|
|
1411
1411
|
_button: MatButton;
|
|
1412
|
-
constructor(
|
|
1412
|
+
constructor();
|
|
1413
1413
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
1414
1414
|
ngOnDestroy(): void;
|
|
1415
1415
|
ngAfterContentInit(): void;
|
|
@@ -1448,7 +1448,7 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
|
|
|
1448
1448
|
/** Whether the input is in an error state. */
|
|
1449
1449
|
get errorState(): boolean;
|
|
1450
1450
|
set errorState(value: boolean);
|
|
1451
|
-
constructor(
|
|
1451
|
+
constructor();
|
|
1452
1452
|
ngOnInit(): void;
|
|
1453
1453
|
ngAfterContentInit(): void;
|
|
1454
1454
|
ngDoCheck(): void;
|
|
@@ -1604,7 +1604,7 @@ declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>,
|
|
|
1604
1604
|
* @docs-private
|
|
1605
1605
|
*/
|
|
1606
1606
|
readonly disableAutomaticLabeling = true;
|
|
1607
|
-
constructor(
|
|
1607
|
+
constructor();
|
|
1608
1608
|
/**
|
|
1609
1609
|
* Implemented as part of MatFormFieldControl.
|
|
1610
1610
|
* @docs-private
|
|
@@ -1662,7 +1662,6 @@ declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>,
|
|
|
1662
1662
|
/** Button that will close the datepicker and assign the current selection to the data model. */
|
|
1663
1663
|
declare class MatDatepickerApply {
|
|
1664
1664
|
private _datepicker;
|
|
1665
|
-
constructor(...args: unknown[]);
|
|
1666
1665
|
_applySelection(): void;
|
|
1667
1666
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerApply, never>;
|
|
1668
1667
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerApply, "[matDatepickerApply], [matDateRangePickerApply]", never, {}, {}, never, never, true, never>;
|
|
@@ -1670,7 +1669,6 @@ declare class MatDatepickerApply {
|
|
|
1670
1669
|
/** Button that will close the datepicker and discard the current selection. */
|
|
1671
1670
|
declare class MatDatepickerCancel {
|
|
1672
1671
|
_datepicker: MatDatepickerBase<MatDatepickerControl<any>, unknown, {}>;
|
|
1673
|
-
constructor(...args: unknown[]);
|
|
1674
1672
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerCancel, never>;
|
|
1675
1673
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerCancel, "[matDatepickerCancel], [matDateRangePickerCancel]", never, {}, {}, never, never, true, never>;
|
|
1676
1674
|
}
|
|
@@ -1683,7 +1681,6 @@ declare class MatDatepickerActions implements AfterViewInit, OnDestroy {
|
|
|
1683
1681
|
private _viewContainerRef;
|
|
1684
1682
|
_template: TemplateRef<unknown>;
|
|
1685
1683
|
private _portal;
|
|
1686
|
-
constructor(...args: unknown[]);
|
|
1687
1684
|
ngAfterViewInit(): void;
|
|
1688
1685
|
ngOnDestroy(): void;
|
|
1689
1686
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerActions, never>;
|
|
@@ -73,7 +73,7 @@ declare class MatTestDialogOpener<T = unknown, R = unknown> implements OnDestroy
|
|
|
73
73
|
private readonly _ngZone;
|
|
74
74
|
/** Static method that prepares this class to open the provided component. */
|
|
75
75
|
static withComponent<T = unknown, R = unknown>(component: ComponentType<T>, config?: MatDialogConfig): ComponentType<MatTestDialogOpener<T, R>>;
|
|
76
|
-
constructor(
|
|
76
|
+
constructor();
|
|
77
77
|
ngOnDestroy(): void;
|
|
78
78
|
}
|
|
79
79
|
declare class MatTestDialogOpenerModule {
|
package/types/dialog.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ declare class MatDialogClose implements OnInit, OnChanges {
|
|
|
24
24
|
/** Dialog close input. */
|
|
25
25
|
dialogResult: any;
|
|
26
26
|
_matDialogClose: any;
|
|
27
|
-
constructor(...args: unknown[]);
|
|
28
27
|
ngOnInit(): void;
|
|
29
28
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
30
29
|
_onButtonClick(event: MouseEvent): void;
|
|
@@ -35,7 +34,6 @@ declare abstract class MatDialogLayoutSection implements OnInit, OnDestroy {
|
|
|
35
34
|
protected _dialogRef: MatDialogRef<any, any>;
|
|
36
35
|
private _elementRef;
|
|
37
36
|
private _dialog;
|
|
38
|
-
constructor(...args: unknown[]);
|
|
39
37
|
protected abstract _onAdd(): void;
|
|
40
38
|
protected abstract _onRemove(): void;
|
|
41
39
|
ngOnInit(): void;
|
package/types/expansion.d.ts
CHANGED
|
@@ -55,7 +55,6 @@ declare const MAT_EXPANSION_PANEL: InjectionToken<MatExpansionPanelBase>;
|
|
|
55
55
|
declare class MatExpansionPanelContent {
|
|
56
56
|
_template: TemplateRef<any>;
|
|
57
57
|
_expansionPanel: MatExpansionPanelBase | null;
|
|
58
|
-
constructor(...args: unknown[]);
|
|
59
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelContent, never>;
|
|
60
59
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatExpansionPanelContent, "ng-template[matExpansionPanelContent]", never, {}, {}, never, never, true, never>;
|
|
61
60
|
}
|
|
@@ -145,7 +144,7 @@ declare class MatExpansionPanel extends CdkAccordionItem implements AfterContent
|
|
|
145
144
|
_portal: TemplatePortal;
|
|
146
145
|
/** ID for the associated header element. Used for a11y labelling. */
|
|
147
146
|
_headerId: string;
|
|
148
|
-
constructor(
|
|
147
|
+
constructor();
|
|
149
148
|
/** Determines whether the expansion panel should have spacing between it and its siblings. */
|
|
150
149
|
_hasSpacing(): boolean;
|
|
151
150
|
/** Gets the expanded state string. */
|
|
@@ -184,7 +183,7 @@ declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy, Focus
|
|
|
184
183
|
private _focusMonitor;
|
|
185
184
|
private _changeDetectorRef;
|
|
186
185
|
private _parentChangeSubscription;
|
|
187
|
-
constructor(
|
|
186
|
+
constructor();
|
|
188
187
|
/** Height of the header while the panel is expanded. */
|
|
189
188
|
expandedHeight: string;
|
|
190
189
|
/** Height of the header while the panel is collapsed. */
|
package/types/grid-list.d.ts
CHANGED
|
@@ -92,7 +92,6 @@ declare class MatGridTile {
|
|
|
92
92
|
_gridList?: MatGridListBase | null | undefined;
|
|
93
93
|
_rowspan: number;
|
|
94
94
|
_colspan: number;
|
|
95
|
-
constructor(...args: unknown[]);
|
|
96
95
|
/** Amount of rows that the grid tile takes up. */
|
|
97
96
|
get rowspan(): number;
|
|
98
97
|
set rowspan(value: NumberInput);
|
|
@@ -110,7 +109,6 @@ declare class MatGridTile {
|
|
|
110
109
|
declare class MatGridTileText implements AfterContentInit {
|
|
111
110
|
private _element;
|
|
112
111
|
_lines: QueryList<MatLine>;
|
|
113
|
-
constructor(...args: unknown[]);
|
|
114
112
|
ngAfterContentInit(): void;
|
|
115
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatGridTileText, never>;
|
|
116
114
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatGridTileText, "mat-grid-tile-header, mat-grid-tile-footer", never, {}, {}, ["_lines"], ["[mat-grid-avatar], [matGridAvatar]", "[mat-line], [matLine]", "*"], true, never>;
|
|
@@ -166,7 +164,6 @@ declare class MatGridList implements MatGridListBase, OnInit, AfterContentChecke
|
|
|
166
164
|
private _tileStyler;
|
|
167
165
|
/** Query list of tiles that are being rendered. */
|
|
168
166
|
_tiles: QueryList<MatGridTile>;
|
|
169
|
-
constructor(...args: unknown[]);
|
|
170
167
|
/** Amount of columns in the grid list. */
|
|
171
168
|
get cols(): number;
|
|
172
169
|
set cols(value: NumberInput);
|
package/types/input.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ declare class MatInput implements MatFormFieldControl<any>, OnChanges, OnDestroy
|
|
|
126
126
|
get errorState(): boolean;
|
|
127
127
|
set errorState(value: boolean);
|
|
128
128
|
protected _neverEmptyInputTypes: string[];
|
|
129
|
-
constructor(
|
|
129
|
+
constructor();
|
|
130
130
|
ngAfterViewInit(): void;
|
|
131
131
|
ngOnChanges(): void;
|
|
132
132
|
ngOnDestroy(): void;
|
package/types/list.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ declare const MAT_LIST_CONFIG: InjectionToken<MatListConfig>;
|
|
|
30
30
|
*/
|
|
31
31
|
declare class MatListItemTitle {
|
|
32
32
|
_elementRef: ElementRef<HTMLElement>;
|
|
33
|
-
constructor(...args: unknown[]);
|
|
34
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemTitle, never>;
|
|
35
34
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemTitle, "[matListItemTitle]", never, {}, {}, never, never, true, never>;
|
|
36
35
|
}
|
|
@@ -42,7 +41,6 @@ declare class MatListItemTitle {
|
|
|
42
41
|
*/
|
|
43
42
|
declare class MatListItemLine {
|
|
44
43
|
_elementRef: ElementRef<HTMLElement>;
|
|
45
|
-
constructor(...args: unknown[]);
|
|
46
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemLine, never>;
|
|
47
45
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemLine, "[matListItemLine]", never, {}, {}, never, never, true, never>;
|
|
48
46
|
}
|
|
@@ -66,7 +64,6 @@ declare class MatListItemMeta {
|
|
|
66
64
|
*/
|
|
67
65
|
declare class _MatListItemGraphicBase {
|
|
68
66
|
_listOption: ListOption | null;
|
|
69
|
-
constructor(...args: unknown[]);
|
|
70
67
|
_isAlignedAtStart(): boolean;
|
|
71
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatListItemGraphicBase, never>;
|
|
72
69
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatListItemGraphicBase, never, never, {}, {}, never, never, true, never>;
|
|
@@ -165,7 +162,7 @@ declare abstract class MatListItemBase implements AfterViewInit, OnDestroy, Ripp
|
|
|
165
162
|
* @docs-private
|
|
166
163
|
*/
|
|
167
164
|
get rippleDisabled(): boolean;
|
|
168
|
-
constructor(
|
|
165
|
+
constructor();
|
|
169
166
|
ngAfterViewInit(): void;
|
|
170
167
|
ngOnDestroy(): void;
|
|
171
168
|
/** Whether the list item has icons or avatars. */
|
|
@@ -417,7 +414,7 @@ declare class MatSelectionList extends MatListBase implements SelectionList, Con
|
|
|
417
414
|
/** View to model callback that should be called if the list or its options lost focus. */
|
|
418
415
|
_onTouched: () => void;
|
|
419
416
|
private readonly _changeDetectorRef;
|
|
420
|
-
constructor(
|
|
417
|
+
constructor();
|
|
421
418
|
ngAfterViewInit(): void;
|
|
422
419
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
423
420
|
ngOnDestroy(): void;
|
package/types/menu.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ declare class MatMenuContent implements OnDestroy {
|
|
|
33
33
|
private _outlet;
|
|
34
34
|
/** Emits when the menu content has been attached. */
|
|
35
35
|
readonly _attached: Subject<void>;
|
|
36
|
-
constructor(...args: unknown[]);
|
|
37
36
|
/**
|
|
38
37
|
* Attaches the content with a particular context.
|
|
39
38
|
* @docs-private
|
|
@@ -114,7 +113,7 @@ declare class MatMenuItem implements FocusableOption, AfterViewInit, OnDestroy {
|
|
|
114
113
|
_highlighted: boolean;
|
|
115
114
|
/** Whether the menu item acts as a trigger for a sub-menu. */
|
|
116
115
|
_triggersSubmenu: boolean;
|
|
117
|
-
constructor(
|
|
116
|
+
constructor();
|
|
118
117
|
/** Focuses the menu item. */
|
|
119
118
|
focus(origin?: FocusOrigin, options?: FocusOptions): void;
|
|
120
119
|
ngAfterViewInit(): void;
|
|
@@ -245,7 +244,7 @@ declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuItem>, On
|
|
|
245
244
|
*/
|
|
246
245
|
readonly close: EventEmitter<MenuCloseReason>;
|
|
247
246
|
readonly panelId: string;
|
|
248
|
-
constructor(
|
|
247
|
+
constructor();
|
|
249
248
|
ngOnInit(): void;
|
|
250
249
|
ngAfterContentInit(): void;
|
|
251
250
|
ngOnDestroy(): void;
|
|
@@ -453,7 +452,7 @@ declare class MatMenuTrigger extends MatMenuTriggerBase implements AfterContentI
|
|
|
453
452
|
* @breaking-change 8.0.0
|
|
454
453
|
*/
|
|
455
454
|
readonly onMenuClose: EventEmitter<void>;
|
|
456
|
-
constructor(
|
|
455
|
+
constructor();
|
|
457
456
|
/** Whether the menu triggers a sub-menu or a top-level one. */
|
|
458
457
|
triggersSubmenu(): boolean;
|
|
459
458
|
/** Toggles the menu between the open and closed states. */
|
package/types/progress-bar.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ declare class MatProgressBar implements AfterViewInit, OnDestroy {
|
|
|
42
42
|
private _changeDetectorRef;
|
|
43
43
|
private _renderer;
|
|
44
44
|
private _cleanupTransitionEnd;
|
|
45
|
-
constructor(
|
|
45
|
+
constructor();
|
|
46
46
|
/** Flag that indicates whether NoopAnimations mode is set to true. */
|
|
47
47
|
_isNoopAnimation: boolean;
|
|
48
48
|
/**
|
package/types/radio.d.ts
CHANGED
|
@@ -120,7 +120,6 @@ declare class MatRadioGroup implements AfterContentInit, OnDestroy, ControlValue
|
|
|
120
120
|
get disabledInteractive(): boolean;
|
|
121
121
|
set disabledInteractive(value: boolean);
|
|
122
122
|
private _disabledInteractive;
|
|
123
|
-
constructor(...args: unknown[]);
|
|
124
123
|
/**
|
|
125
124
|
* Initialize properties once content children are available.
|
|
126
125
|
* This allows us to propagate relevant attributes to associated buttons.
|
|
@@ -249,7 +248,7 @@ declare class MatRadioButton implements OnInit, AfterViewInit, DoCheck, OnDestro
|
|
|
249
248
|
/** Whether animations are disabled. */
|
|
250
249
|
_noopAnimations: boolean;
|
|
251
250
|
private _injector;
|
|
252
|
-
constructor(
|
|
251
|
+
constructor();
|
|
253
252
|
/** Focuses the radio button. */
|
|
254
253
|
focus(options?: FocusOptions, origin?: FocusOrigin): void;
|
|
255
254
|
/**
|
package/types/select.d.ts
CHANGED
|
@@ -255,7 +255,7 @@ declare class MatSelect implements AfterContentInit, OnChanges, OnDestroy, OnIni
|
|
|
255
255
|
* @docs-private
|
|
256
256
|
*/
|
|
257
257
|
readonly valueChange: EventEmitter<any>;
|
|
258
|
-
constructor(
|
|
258
|
+
constructor();
|
|
259
259
|
ngOnInit(): void;
|
|
260
260
|
ngAfterContentInit(): void;
|
|
261
261
|
ngDoCheck(): void;
|
package/types/sidenav.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ declare class MatDrawerContent extends CdkScrollable implements AfterContentInit
|
|
|
24
24
|
private _platform;
|
|
25
25
|
private _changeDetectorRef;
|
|
26
26
|
_container: MatDrawerContainer;
|
|
27
|
-
constructor(...args: unknown[]);
|
|
28
27
|
ngAfterContentInit(): void;
|
|
29
28
|
/** Determines whether the content element should be hidden from the user. */
|
|
30
29
|
protected _shouldBeHidden(): boolean;
|
|
@@ -109,7 +108,7 @@ declare class MatDrawer implements AfterViewInit, OnDestroy {
|
|
|
109
108
|
readonly _modeChanged: Subject<void>;
|
|
110
109
|
private _injector;
|
|
111
110
|
private _changeDetectorRef;
|
|
112
|
-
constructor(
|
|
111
|
+
constructor();
|
|
113
112
|
/**
|
|
114
113
|
* Focuses the provided element. If the element is not focusable, it will add a tabIndex
|
|
115
114
|
* attribute to forcefully focus it. The attribute is removed after focus is moved.
|
|
@@ -251,7 +250,7 @@ declare class MatDrawerContainer implements AfterContentInit, DoCheck, OnDestroy
|
|
|
251
250
|
/** Reference to the CdkScrollable instance that wraps the scrollable content. */
|
|
252
251
|
get scrollable(): CdkScrollable;
|
|
253
252
|
private _injector;
|
|
254
|
-
constructor(
|
|
253
|
+
constructor();
|
|
255
254
|
ngAfterContentInit(): void;
|
|
256
255
|
ngOnDestroy(): void;
|
|
257
256
|
/** Calls `open` of both start and end drawers */
|
package/types/slide-toggle.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ declare class MatSlideToggle implements OnDestroy, AfterContentInit, OnChanges,
|
|
|
105
105
|
readonly toggleChange: EventEmitter<void>;
|
|
106
106
|
/** Returns the unique id for the visual hidden input. */
|
|
107
107
|
get inputId(): string;
|
|
108
|
-
constructor(
|
|
108
|
+
constructor();
|
|
109
109
|
ngAfterContentInit(): void;
|
|
110
110
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
111
111
|
ngOnDestroy(): void;
|
package/types/slider.d.ts
CHANGED
|
@@ -265,7 +265,7 @@ declare class MatSlider implements AfterViewInit, OnDestroy, _MatSlider {
|
|
|
265
265
|
_hasAnimation: boolean;
|
|
266
266
|
private _resizeTimer;
|
|
267
267
|
private _platform;
|
|
268
|
-
constructor(
|
|
268
|
+
constructor();
|
|
269
269
|
/** The radius of the native slider's knob. AFAIK there is no way to avoid hardcoding this. */
|
|
270
270
|
_knobRadius: number;
|
|
271
271
|
_inputPadding: number;
|
|
@@ -386,7 +386,6 @@ declare class MatSliderVisualThumb implements _MatSliderVisualThumb, AfterViewIn
|
|
|
386
386
|
/** The host native HTML input element. */
|
|
387
387
|
_hostElement: HTMLElement;
|
|
388
388
|
private _platform;
|
|
389
|
-
constructor(...args: unknown[]);
|
|
390
389
|
ngAfterViewInit(): void;
|
|
391
390
|
ngOnDestroy(): void;
|
|
392
391
|
private _onPointerMove;
|
|
@@ -526,7 +525,7 @@ declare class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValue
|
|
|
526
525
|
* See https://github.com/angular/angular/issues/14988.
|
|
527
526
|
*/
|
|
528
527
|
protected _isControlInitialized: boolean;
|
|
529
|
-
constructor(
|
|
528
|
+
constructor();
|
|
530
529
|
ngOnDestroy(): void;
|
|
531
530
|
/** @docs-private */
|
|
532
531
|
initProps(): void;
|
|
@@ -623,7 +622,7 @@ declare class MatSliderRangeThumb extends MatSliderThumb implements _MatSliderRa
|
|
|
623
622
|
_isLeftThumb: boolean;
|
|
624
623
|
/** Whether this slider corresponds to the input with greater value. */
|
|
625
624
|
_isEndThumb: boolean;
|
|
626
|
-
constructor(
|
|
625
|
+
constructor();
|
|
627
626
|
_getDefaultValue(): number;
|
|
628
627
|
_onInput(): void;
|
|
629
628
|
_onNgControlValueChange(): void;
|
package/types/snack-bar.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ declare class MatSnackBarContainer extends BasePortalOutlet implements OnDestroy
|
|
|
98
98
|
_role?: 'status' | 'alert';
|
|
99
99
|
/** Unique ID of the aria-live element. */
|
|
100
100
|
readonly _liveElementId: string;
|
|
101
|
-
constructor(
|
|
101
|
+
constructor();
|
|
102
102
|
/** Attach a component portal as content to this snack bar container. */
|
|
103
103
|
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
104
104
|
/** Attach a template portal as content to this snack bar container. */
|
|
@@ -212,7 +212,6 @@ interface TextOnlySnackBar {
|
|
|
212
212
|
declare class SimpleSnackBar implements TextOnlySnackBar {
|
|
213
213
|
snackBarRef: MatSnackBarRef<SimpleSnackBar>;
|
|
214
214
|
data: any;
|
|
215
|
-
constructor(...args: unknown[]);
|
|
216
215
|
/** Performs the action on the snack bar. */
|
|
217
216
|
action(): void;
|
|
218
217
|
/** If the action button should be shown. */
|
|
@@ -264,7 +263,6 @@ declare class MatSnackBar implements OnDestroy {
|
|
|
264
263
|
/** Reference to the currently opened snackbar at *any* level. */
|
|
265
264
|
get _openedSnackBarRef(): MatSnackBarRef<any> | null;
|
|
266
265
|
set _openedSnackBarRef(value: MatSnackBarRef<any> | null);
|
|
267
|
-
constructor(...args: unknown[]);
|
|
268
266
|
/**
|
|
269
267
|
* Creates and dispatches a snack bar with a custom component for the content, removing any
|
|
270
268
|
* currently opened snack bars.
|
package/types/sort.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ declare class MatSortHeader implements MatSortable, OnDestroy, OnInit, AfterView
|
|
|
76
76
|
private _sortActionDescription;
|
|
77
77
|
/** Overrides the disable clear value of the containing MatSort for this MatSortable. */
|
|
78
78
|
disableClear: boolean;
|
|
79
|
-
constructor(
|
|
79
|
+
constructor();
|
|
80
80
|
ngOnInit(): void;
|
|
81
81
|
ngAfterViewInit(): void;
|
|
82
82
|
ngOnDestroy(): void;
|
package/types/stepper.d.ts
CHANGED
|
@@ -54,7 +54,6 @@ declare class MatStepperIcon {
|
|
|
54
54
|
templateRef: TemplateRef<MatStepperIconContext>;
|
|
55
55
|
/** Name of the icon to be overridden. */
|
|
56
56
|
name: StepState;
|
|
57
|
-
constructor(...args: unknown[]);
|
|
58
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatStepperIcon, never>;
|
|
59
58
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatStepperIcon, "ng-template[matStepperIcon]", never, { "name": { "alias": "matStepperIcon"; "required": false; }; }, {}, never, never, true, never>;
|
|
60
59
|
}
|
|
@@ -91,7 +90,7 @@ declare class MatStepHeader extends CdkStepHeader implements AfterViewInit, OnDe
|
|
|
91
90
|
* https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
92
91
|
*/
|
|
93
92
|
color: ThemePalette;
|
|
94
|
-
constructor(
|
|
93
|
+
constructor();
|
|
95
94
|
ngAfterViewInit(): void;
|
|
96
95
|
ngOnDestroy(): void;
|
|
97
96
|
/** Focuses the step header. */
|
|
@@ -115,7 +114,6 @@ declare class MatStepHeader extends CdkStepHeader implements AfterViewInit, OnDe
|
|
|
115
114
|
*/
|
|
116
115
|
declare class MatStepContent<C = unknown> {
|
|
117
116
|
_template: TemplateRef<C>;
|
|
118
|
-
constructor(...args: unknown[]);
|
|
119
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatStepContent<any>, never>;
|
|
120
118
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatStepContent<any>, "ng-template[matStepContent]", never, {}, {}, never, never, true, never>;
|
|
121
119
|
}
|
|
@@ -193,7 +191,7 @@ declare class MatStepper extends CdkStepper implements AfterViewInit, AfterConte
|
|
|
193
191
|
private _animationDuration;
|
|
194
192
|
/** Whether the stepper is rendering on the server. */
|
|
195
193
|
protected _isServer: boolean;
|
|
196
|
-
constructor(
|
|
194
|
+
constructor();
|
|
197
195
|
ngAfterContentInit(): void;
|
|
198
196
|
ngAfterViewInit(): void;
|
|
199
197
|
ngOnDestroy(): void;
|
package/types/tabs.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ declare const MAT_TAB_CONTENT: InjectionToken<MatTabContent>;
|
|
|
18
18
|
/** Decorates the `ng-template` tags and reads out the template from it. */
|
|
19
19
|
declare class MatTabContent {
|
|
20
20
|
template: TemplateRef<any>;
|
|
21
|
-
constructor(...args: unknown[]);
|
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabContent, never>;
|
|
23
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabContent, "[matTabContent]", never, {}, {}, never, never, true, never>;
|
|
24
23
|
}
|
|
@@ -99,7 +98,7 @@ declare class MatTab implements OnInit, OnChanges, OnDestroy {
|
|
|
99
98
|
* Whether the tab is currently active.
|
|
100
99
|
*/
|
|
101
100
|
isActive: boolean;
|
|
102
|
-
constructor(
|
|
101
|
+
constructor();
|
|
103
102
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
104
103
|
ngOnDestroy(): void;
|
|
105
104
|
ngOnInit(): void;
|
|
@@ -270,7 +269,7 @@ declare abstract class MatPaginatedTabHeader implements AfterContentChecked, Aft
|
|
|
270
269
|
readonly selectFocusedIndex: EventEmitter<number>;
|
|
271
270
|
/** Event emitted when a label is focused. */
|
|
272
271
|
readonly indexFocused: EventEmitter<number>;
|
|
273
|
-
constructor(
|
|
272
|
+
constructor();
|
|
274
273
|
/** Called when the user has selected an item via the keyboard. */
|
|
275
274
|
protected abstract _itemSelected(event: KeyboardEvent): void;
|
|
276
275
|
ngAfterViewInit(): void;
|
|
@@ -423,7 +422,6 @@ declare class MatTabBodyPortal extends CdkPortalOutlet implements OnInit, OnDest
|
|
|
423
422
|
private _centeringSub;
|
|
424
423
|
/** Subscription to events for when the tab body finishes leaving from center position. */
|
|
425
424
|
private _leavingSub;
|
|
426
|
-
constructor(...args: unknown[]);
|
|
427
425
|
/** Set initial visibility or set up subscription for changing visibility. */
|
|
428
426
|
ngOnInit(): void;
|
|
429
427
|
/** Clean up centering subscription. */
|
|
@@ -497,7 +495,7 @@ declare class MatTabBody implements OnInit, OnDestroy {
|
|
|
497
495
|
preserveContent: boolean;
|
|
498
496
|
/** The shifted index position of the tab body, where zero represents the active center tab. */
|
|
499
497
|
set position(position: number);
|
|
500
|
-
constructor(
|
|
498
|
+
constructor();
|
|
501
499
|
ngOnInit(): void;
|
|
502
500
|
ngOnDestroy(): void;
|
|
503
501
|
/** Sets up the transition events. */
|
|
@@ -644,7 +642,7 @@ declare class MatTabGroup implements AfterViewInit, AfterContentInit, AfterConte
|
|
|
644
642
|
private _groupId;
|
|
645
643
|
/** Whether the tab group is rendered on the server. */
|
|
646
644
|
protected _isServer: boolean;
|
|
647
|
-
constructor(
|
|
645
|
+
constructor();
|
|
648
646
|
/**
|
|
649
647
|
* After the content is checked, this component knows what tabs have been defined
|
|
650
648
|
* and what the selected index should be. This is where we can know exactly what position
|
|
@@ -776,7 +774,7 @@ declare class MatTabNav extends MatPaginatedTabHeader implements AfterContentIni
|
|
|
776
774
|
_nextPaginator: ElementRef<HTMLElement>;
|
|
777
775
|
_previousPaginator: ElementRef<HTMLElement>;
|
|
778
776
|
_inkBar: MatInkBar;
|
|
779
|
-
constructor(
|
|
777
|
+
constructor();
|
|
780
778
|
protected _itemSelected(): void;
|
|
781
779
|
ngAfterContentInit(): void;
|
|
782
780
|
ngAfterViewInit(): void;
|
|
@@ -825,7 +823,7 @@ declare class MatTabLink extends InkBarItem implements AfterViewInit, OnDestroy,
|
|
|
825
823
|
get rippleDisabled(): boolean;
|
|
826
824
|
/** Unique id for the tab. */
|
|
827
825
|
id: string;
|
|
828
|
-
constructor(
|
|
826
|
+
constructor();
|
|
829
827
|
/** Focuses the tab link. */
|
|
830
828
|
focus(): void;
|
|
831
829
|
ngAfterViewInit(): void;
|
package/types/toolbar.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ declare class MatToolbar implements AfterViewInit {
|
|
|
20
20
|
color?: string | null;
|
|
21
21
|
/** Reference to all toolbar row elements that have been projected. */
|
|
22
22
|
_toolbarRows: QueryList<MatToolbarRow>;
|
|
23
|
-
constructor(...args: unknown[]);
|
|
24
23
|
ngAfterViewInit(): void;
|
|
25
24
|
/**
|
|
26
25
|
* Throws an exception when developers are attempting to combine the different toolbar row modes.
|
package/types/tooltip.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
170
170
|
private readonly _destroyed;
|
|
171
171
|
/** Whether ngOnDestroyed has been called. */
|
|
172
172
|
private _isDestroyed;
|
|
173
|
-
constructor(
|
|
173
|
+
constructor();
|
|
174
174
|
ngAfterViewInit(): void;
|
|
175
175
|
/**
|
|
176
176
|
* Dispose the tooltip when destroyed.
|
|
@@ -269,7 +269,6 @@ declare class TooltipComponent implements OnDestroy {
|
|
|
269
269
|
private readonly _showAnimation;
|
|
270
270
|
/** Name of the hide animation and the class that toggles it. */
|
|
271
271
|
private readonly _hideAnimation;
|
|
272
|
-
constructor(...args: unknown[]);
|
|
273
272
|
/**
|
|
274
273
|
* Shows the tooltip with an animation originating from the provided origin
|
|
275
274
|
* @param delay Amount of milliseconds to the delay showing the tooltip.
|
package/types/tree.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ declare class MatTreeNode<T, K = T> extends CdkTreeNode<T, K> implements OnInit,
|
|
|
39
39
|
*/
|
|
40
40
|
get disabled(): boolean;
|
|
41
41
|
set disabled(value: boolean);
|
|
42
|
-
constructor(
|
|
42
|
+
constructor();
|
|
43
43
|
ngOnInit(): void;
|
|
44
44
|
ngOnDestroy(): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTreeNode<any, any>, never>;
|