@angular/material 19.2.2 → 19.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/index.d.ts +83 -124
- package/autocomplete/testing/index.d.ts +5 -11
- package/badge/index.d.ts +17 -30
- package/badge/testing/index.d.ts +5 -8
- package/bottom-sheet/index.d.ts +88 -103
- package/bottom-sheet/testing/index.d.ts +4 -6
- package/button/index.d.ts +109 -148
- package/button/testing/index.d.ts +6 -10
- package/button-toggle/index.d.ts +116 -142
- package/button-toggle/testing/index.d.ts +34 -36
- package/card/index.d.ts +79 -117
- package/card/testing/index.d.ts +11 -15
- package/checkbox/index.d.ts +55 -85
- package/checkbox/testing/index.d.ts +6 -10
- package/chips/index.d.ts +592 -690
- package/chips/testing/index.d.ts +78 -93
- package/core/index.d.ts +565 -669
- package/core/testing/index.d.ts +28 -32
- package/datepicker/index.d.ts +1323 -1479
- package/datepicker/testing/index.d.ts +109 -119
- package/dialog/index.d.ts +194 -246
- package/dialog/testing/index.d.ts +17 -26
- package/divider/index.d.ts +4 -10
- package/divider/testing/index.d.ts +4 -6
- package/expansion/index.d.ts +137 -189
- package/expansion/testing/index.d.ts +25 -31
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +26 -17
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +3 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +0 -4
- 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 +5 -4
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +6 -6
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +0 -4
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +5 -5
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +0 -4
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +7 -7
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +42 -18
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +4 -8
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +0 -4
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +2 -6
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +0 -2
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +0 -4
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +0 -4
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +0 -4
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +15 -7
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +0 -4
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +2 -6
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +15 -7
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -6
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +0 -4
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +5 -5
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs +0 -4
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +5 -5
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +5 -4
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +14 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +9 -9
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +0 -4
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +0 -4
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +5 -5
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +10 -6
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +10 -6
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +0 -4
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +8 -15
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +1 -5
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +0 -4
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +15 -7
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +0 -4
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +251 -318
- package/form-field/testing/control/index.d.ts +2 -2
- package/form-field/testing/index.d.ts +14 -21
- package/grid-list/index.d.ts +124 -150
- package/grid-list/testing/index.d.ts +39 -44
- package/icon/index.d.ts +87 -108
- package/icon/testing/index.d.ts +38 -43
- package/index.d.ts +2 -3
- package/input/index.d.ts +27 -61
- package/input/testing/index.d.ts +16 -19
- package/list/index.d.ts +158 -241
- package/list/testing/index.d.ts +157 -179
- package/menu/index.d.ts +180 -231
- package/menu/testing/index.d.ts +17 -23
- package/package.json +2 -2
- package/paginator/index.d.ts +84 -97
- package/paginator/testing/index.d.ts +10 -14
- package/progress-bar/index.d.ts +38 -58
- package/progress-bar/testing/index.d.ts +7 -10
- package/progress-spinner/index.d.ts +38 -51
- package/progress-spinner/testing/index.d.ts +7 -10
- package/radio/index.d.ts +145 -168
- package/radio/testing/index.d.ts +61 -67
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-generate/theme-color/schema.json +10 -0
- package/schematics/ng-update/index_bundled.js +31 -31
- package/select/index.d.ts +77 -130
- package/select/testing/index.d.ts +10 -15
- package/sidenav/index.d.ts +47 -91
- package/sidenav/testing/index.d.ts +58 -63
- package/slide-toggle/index.d.ts +51 -84
- package/slide-toggle/testing/index.d.ts +17 -21
- package/slider/index.d.ts +277 -327
- package/slider/testing/index.d.ts +42 -47
- package/snack-bar/index.d.ts +147 -185
- package/snack-bar/testing/index.d.ts +7 -9
- package/sort/index.d.ts +94 -124
- package/sort/testing/index.d.ts +21 -24
- package/stepper/index.d.ts +108 -165
- package/stepper/testing/index.d.ts +43 -52
- package/table/index.d.ts +87 -153
- package/table/testing/index.d.ts +64 -78
- package/tabs/index.d.ts +306 -382
- package/tabs/testing/index.d.ts +67 -76
- package/timepicker/index.d.ts +123 -159
- package/timepicker/testing/index.d.ts +20 -26
- package/toolbar/index.d.ts +13 -25
- package/toolbar/testing/index.d.ts +13 -16
- package/tooltip/index.d.ts +88 -117
- package/tooltip/testing/index.d.ts +7 -10
- package/tree/index.d.ts +116 -163
- package/tree/testing/index.d.ts +52 -58
package/list/index.d.ts
CHANGED
|
@@ -1,116 +1,101 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, ElementRef, AfterViewInit, OnDestroy, NgZone, QueryList, OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
3
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import * as i1 from '@angular/material/core';
|
|
5
|
+
import { RippleTarget, RippleConfig, RippleGlobalOptions, ThemePalette } from '@angular/material/core';
|
|
6
|
+
import * as i2 from '@angular/cdk/observers';
|
|
7
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
8
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { ElementRef } from '@angular/core';
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
6
|
-
import * as i0 from '@angular/core';
|
|
7
|
-
import * as i1 from '@angular/cdk/observers';
|
|
8
9
|
import * as i10 from '@angular/material/divider';
|
|
9
|
-
import * as i2 from '@angular/material/core';
|
|
10
|
-
import { InjectionToken } from '@angular/core';
|
|
11
|
-
import { NgZone } from '@angular/core';
|
|
12
|
-
import { OnChanges } from '@angular/core';
|
|
13
|
-
import { OnDestroy } from '@angular/core';
|
|
14
|
-
import { OnInit } from '@angular/core';
|
|
15
|
-
import { QueryList } from '@angular/core';
|
|
16
|
-
import { RippleConfig } from '@angular/material/core';
|
|
17
|
-
import { RippleGlobalOptions } from '@angular/material/core';
|
|
18
|
-
import { RippleTarget } from '@angular/material/core';
|
|
19
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
20
|
-
import { SimpleChanges } from '@angular/core';
|
|
21
|
-
import { ThemePalette } from '@angular/material/core';
|
|
22
|
-
|
|
23
|
-
declare namespace i3 {
|
|
24
|
-
export {
|
|
25
|
-
MAT_LIST,
|
|
26
|
-
MatList,
|
|
27
|
-
MatListItem
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
declare namespace i4 {
|
|
32
|
-
export {
|
|
33
|
-
MatActionList
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare namespace i5 {
|
|
38
|
-
export {
|
|
39
|
-
MAT_NAV_LIST,
|
|
40
|
-
MatNavList
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
declare namespace i6 {
|
|
45
|
-
export {
|
|
46
|
-
MAT_SELECTION_LIST_VALUE_ACCESSOR,
|
|
47
|
-
MatSelectionListChange,
|
|
48
|
-
MatSelectionList
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
declare namespace i7 {
|
|
53
|
-
export {
|
|
54
|
-
SELECTION_LIST,
|
|
55
|
-
SelectionList,
|
|
56
|
-
MatListOption
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
10
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
declare namespace i9 {
|
|
67
|
-
export {
|
|
68
|
-
MatListItemTitle,
|
|
69
|
-
MatListItemLine,
|
|
70
|
-
MatListItemMeta,
|
|
71
|
-
_MatListItemGraphicBase,
|
|
72
|
-
MatListItemAvatar,
|
|
73
|
-
MatListItemIcon
|
|
74
|
-
}
|
|
11
|
+
/** Object that can be used to configure the default options for the list module. */
|
|
12
|
+
interface MatListConfig {
|
|
13
|
+
/** Whether icon indicators should be hidden for single-selection. */
|
|
14
|
+
hideSingleSelectionIndicator?: boolean;
|
|
75
15
|
}
|
|
16
|
+
/** Injection token that can be used to provide the default options for the list module. */
|
|
17
|
+
declare const MAT_LIST_CONFIG: InjectionToken<MatListConfig>;
|
|
76
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Type describing possible positions of a checkbox or radio in a list option
|
|
21
|
+
* with respect to the list item's text.
|
|
22
|
+
*/
|
|
23
|
+
type MatListOptionTogglePosition = 'before' | 'after';
|
|
77
24
|
/**
|
|
78
25
|
* Interface describing a list option. This is used to avoid circular
|
|
79
26
|
* dependencies between the list-option and the styler directives.
|
|
80
27
|
* @docs-private
|
|
81
28
|
*/
|
|
82
|
-
|
|
29
|
+
interface ListOption {
|
|
83
30
|
_getTogglePosition(): MatListOptionTogglePosition;
|
|
84
31
|
}
|
|
85
32
|
|
|
86
33
|
/**
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
34
|
+
* Directive capturing the title of a list item. A list item usually consists of a
|
|
35
|
+
* title and optional secondary or tertiary lines.
|
|
36
|
+
*
|
|
37
|
+
* Text content for the title never wraps. There can only be a single title per list item.
|
|
90
38
|
*/
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
39
|
+
declare class MatListItemTitle {
|
|
40
|
+
_elementRef: ElementRef<HTMLElement>;
|
|
41
|
+
constructor(...args: unknown[]);
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemTitle, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemTitle, "[matListItemTitle]", never, {}, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
96
45
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
46
|
+
* Directive capturing a line in a list item. A list item usually consists of a
|
|
47
|
+
* title and optional secondary or tertiary lines.
|
|
48
|
+
*
|
|
49
|
+
* Text content inside a line never wraps. There can be at maximum two lines per list item.
|
|
100
50
|
*/
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
_isNonInteractive: boolean;
|
|
107
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatActionList, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatActionList, "mat-action-list", ["matActionList"], {}, {}, never, ["*"], true, never>;
|
|
51
|
+
declare class MatListItemLine {
|
|
52
|
+
_elementRef: ElementRef<HTMLElement>;
|
|
53
|
+
constructor(...args: unknown[]);
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemLine, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemLine, "[matListItemLine]", never, {}, {}, never, never, true, never>;
|
|
109
56
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Directive matching an optional meta section for list items.
|
|
59
|
+
*
|
|
60
|
+
* List items can reserve space at the end of an item to display a control,
|
|
61
|
+
* button or additional text content.
|
|
62
|
+
*/
|
|
63
|
+
declare class MatListItemMeta {
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemMeta, never>;
|
|
65
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemMeta, "[matListItemMeta]", never, {}, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @docs-private
|
|
69
|
+
*
|
|
70
|
+
* MDC uses the very intuitively named classes `.mdc-list-item__start` and `.mat-list-item__end` to
|
|
71
|
+
* position content such as icons or checkboxes/radios that comes either before or after the text
|
|
72
|
+
* content respectively. This directive detects the placement of the checkbox/radio and applies the
|
|
73
|
+
* correct MDC class to position the icon/avatar on the opposite side.
|
|
74
|
+
*/
|
|
75
|
+
declare class _MatListItemGraphicBase {
|
|
76
|
+
_listOption: ListOption | null;
|
|
77
|
+
constructor(...args: unknown[]);
|
|
78
|
+
_isAlignedAtStart(): boolean;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_MatListItemGraphicBase, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatListItemGraphicBase, never, never, {}, {}, never, never, true, never>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Directive matching an optional avatar within a list item.
|
|
84
|
+
*
|
|
85
|
+
* List items can reserve space at the beginning of an item to display an avatar.
|
|
86
|
+
*/
|
|
87
|
+
declare class MatListItemAvatar extends _MatListItemGraphicBase {
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemAvatar, never>;
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemAvatar, "[matListItemAvatar]", never, {}, {}, never, never, true, never>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Directive matching an optional icon within a list item.
|
|
93
|
+
*
|
|
94
|
+
* List items can reserve space at the beginning of an item to display an icon.
|
|
95
|
+
*/
|
|
96
|
+
declare class MatListItemIcon extends _MatListItemGraphicBase {
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemIcon, never>;
|
|
98
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemIcon, "[matListItemIcon]", never, {}, {}, never, never, true, never>;
|
|
114
99
|
}
|
|
115
100
|
|
|
116
101
|
declare abstract class MatListBase {
|
|
@@ -130,43 +115,6 @@ declare abstract class MatListBase {
|
|
|
130
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListBase, never>;
|
|
131
116
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListBase, never, never, { "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
132
117
|
}
|
|
133
|
-
|
|
134
|
-
/** Object that can be used to configure the default options for the list module. */
|
|
135
|
-
export declare interface MatListConfig {
|
|
136
|
-
/** Whether icon indicators should be hidden for single-selection. */
|
|
137
|
-
hideSingleSelectionIndicator?: boolean;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export declare class MatListItem extends MatListItemBase {
|
|
141
|
-
_lines: QueryList<MatListItemLine>;
|
|
142
|
-
_titles: QueryList<MatListItemTitle>;
|
|
143
|
-
_meta: QueryList<MatListItemMeta>;
|
|
144
|
-
_unscopedContent: ElementRef<HTMLSpanElement>;
|
|
145
|
-
_itemText: ElementRef<HTMLElement>;
|
|
146
|
-
/** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */
|
|
147
|
-
get activated(): boolean;
|
|
148
|
-
set activated(activated: boolean);
|
|
149
|
-
_activated: boolean;
|
|
150
|
-
/**
|
|
151
|
-
* Determine the value of `aria-current`. Return 'page' if this item is an activated anchor tag.
|
|
152
|
-
* Otherwise, return `null`. This method is safe to use with server-side rendering.
|
|
153
|
-
*/
|
|
154
|
-
_getAriaCurrent(): string | null;
|
|
155
|
-
protected _hasBothLeadingAndTrailing(): boolean;
|
|
156
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem, never>;
|
|
157
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], { "activated": { "alias": "activated"; "required": false; }; }, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"], true, never>;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Directive matching an optional avatar within a list item.
|
|
162
|
-
*
|
|
163
|
-
* List items can reserve space at the beginning of an item to display an avatar.
|
|
164
|
-
*/
|
|
165
|
-
export declare class MatListItemAvatar extends _MatListItemGraphicBase {
|
|
166
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemAvatar, never>;
|
|
167
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemAvatar, "[matListItemAvatar]", never, {}, {}, never, never, true, never>;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
118
|
declare abstract class MatListItemBase implements AfterViewInit, OnDestroy, RippleTarget {
|
|
171
119
|
_elementRef: ElementRef<HTMLElement>;
|
|
172
120
|
protected _ngZone: NgZone;
|
|
@@ -263,76 +211,77 @@ declare abstract class MatListItemBase implements AfterViewInit, OnDestroy, Ripp
|
|
|
263
211
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemBase, never, never, { "lines": { "alias": "lines"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["_avatars", "_icons"], never, true, never>;
|
|
264
212
|
}
|
|
265
213
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
* position content such as icons or checkboxes/radios that comes either before or after the text
|
|
271
|
-
* content respectively. This directive detects the placement of the checkbox/radio and applies the
|
|
272
|
-
* correct MDC class to position the icon/avatar on the opposite side.
|
|
273
|
-
*/
|
|
274
|
-
export declare class _MatListItemGraphicBase {
|
|
275
|
-
_listOption: ListOption | null;
|
|
276
|
-
constructor(...args: unknown[]);
|
|
277
|
-
_isAlignedAtStart(): boolean;
|
|
278
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<_MatListItemGraphicBase, never>;
|
|
279
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatListItemGraphicBase, never, never, {}, {}, never, never, true, never>;
|
|
214
|
+
declare class MatActionList extends MatListBase {
|
|
215
|
+
_isNonInteractive: boolean;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatActionList, never>;
|
|
217
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatActionList, "mat-action-list", ["matActionList"], {}, {}, never, ["*"], true, never>;
|
|
280
218
|
}
|
|
281
219
|
|
|
282
220
|
/**
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
221
|
+
* Injection token that can be used to inject instances of `MatList`. It serves as
|
|
222
|
+
* alternative token to the actual `MatList` class which could cause unnecessary
|
|
223
|
+
* retention of the class and its component metadata.
|
|
286
224
|
*/
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
static
|
|
225
|
+
declare const MAT_LIST: InjectionToken<MatList>;
|
|
226
|
+
declare class MatList extends MatListBase {
|
|
227
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatList, never>;
|
|
228
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatList, "mat-list", ["matList"], {}, {}, never, ["*"], true, never>;
|
|
229
|
+
}
|
|
230
|
+
declare class MatListItem extends MatListItemBase {
|
|
231
|
+
_lines: QueryList<MatListItemLine>;
|
|
232
|
+
_titles: QueryList<MatListItemTitle>;
|
|
233
|
+
_meta: QueryList<MatListItemMeta>;
|
|
234
|
+
_unscopedContent: ElementRef<HTMLSpanElement>;
|
|
235
|
+
_itemText: ElementRef<HTMLElement>;
|
|
236
|
+
/** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */
|
|
237
|
+
get activated(): boolean;
|
|
238
|
+
set activated(activated: boolean);
|
|
239
|
+
_activated: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Determine the value of `aria-current`. Return 'page' if this item is an activated anchor tag.
|
|
242
|
+
* Otherwise, return `null`. This method is safe to use with server-side rendering.
|
|
243
|
+
*/
|
|
244
|
+
_getAriaCurrent(): string | null;
|
|
245
|
+
protected _hasBothLeadingAndTrailing(): boolean;
|
|
246
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem, never>;
|
|
247
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], { "activated": { "alias": "activated"; "required": false; }; }, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"], true, never>;
|
|
290
248
|
}
|
|
291
249
|
|
|
292
250
|
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
* Text content inside a line never wraps. There can be at maximum two lines per list item.
|
|
251
|
+
* Injection token that can be used to inject instances of `MatNavList`. It serves as
|
|
252
|
+
* alternative token to the actual `MatNavList` class which could cause unnecessary
|
|
253
|
+
* retention of the class and its component metadata.
|
|
297
254
|
*/
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
302
|
-
static
|
|
255
|
+
declare const MAT_NAV_LIST: InjectionToken<MatNavList>;
|
|
256
|
+
declare class MatNavList extends MatListBase {
|
|
257
|
+
_isNonInteractive: boolean;
|
|
258
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatNavList, never>;
|
|
259
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatNavList, "mat-nav-list", ["matNavList"], {}, {}, never, ["*"], true, never>;
|
|
303
260
|
}
|
|
304
261
|
|
|
305
262
|
/**
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
* button or additional text content.
|
|
263
|
+
* Injection token that can be used to reference instances of an `SelectionList`. It serves
|
|
264
|
+
* as alternative token to an actual implementation which would result in circular references.
|
|
265
|
+
* @docs-private
|
|
310
266
|
*/
|
|
311
|
-
|
|
312
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemMeta, never>;
|
|
313
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemMeta, "[matListItemMeta]", never, {}, {}, never, never, true, never>;
|
|
314
|
-
}
|
|
315
|
-
|
|
267
|
+
declare const SELECTION_LIST: InjectionToken<SelectionList>;
|
|
316
268
|
/**
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
* Text content for the title never wraps. There can only be a single title per list item.
|
|
269
|
+
* Interface describing the containing list of a list option. This is used to avoid
|
|
270
|
+
* circular dependencies between the list-option and the selection list.
|
|
271
|
+
* @docs-private
|
|
321
272
|
*/
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatListModule>;
|
|
273
|
+
interface SelectionList extends MatListBase {
|
|
274
|
+
multiple: boolean;
|
|
275
|
+
color: ThemePalette;
|
|
276
|
+
selectedOptions: SelectionModel<MatListOption>;
|
|
277
|
+
hideSingleSelectionIndicator: boolean;
|
|
278
|
+
compareWith: (o1: any, o2: any) => boolean;
|
|
279
|
+
_value: string[] | null;
|
|
280
|
+
_reportValueChange(): void;
|
|
281
|
+
_emitChangeEvent(options: MatListOption[]): void;
|
|
282
|
+
_onTouched(): void;
|
|
333
283
|
}
|
|
334
|
-
|
|
335
|
-
export declare class MatListOption extends MatListItemBase implements ListOption, OnInit, OnDestroy {
|
|
284
|
+
declare class MatListOption extends MatListItemBase implements ListOption, OnInit, OnDestroy {
|
|
336
285
|
protected _selectionList: SelectionList;
|
|
337
286
|
private _changeDetectorRef;
|
|
338
287
|
_lines: QueryList<MatListItemLine>;
|
|
@@ -417,30 +366,20 @@ export declare class MatListOption extends MatListItemBase implements ListOption
|
|
|
417
366
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatListOption, "mat-list-option", ["matListOption"], { "togglePosition": { "alias": "togglePosition"; "required": false; }; "checkboxPosition": { "alias": "checkboxPosition"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; }, ["_lines", "_titles"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "mat-divider"], true, never>;
|
|
418
367
|
}
|
|
419
368
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
*/
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
export declare class MatListSubheaderCssMatStyler {
|
|
433
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListSubheaderCssMatStyler, never>;
|
|
434
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListSubheaderCssMatStyler, "[mat-subheader], [matSubheader]", never, {}, {}, never, never, true, never>;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
export declare class MatNavList extends MatListBase {
|
|
438
|
-
_isNonInteractive: boolean;
|
|
439
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatNavList, never>;
|
|
440
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatNavList, "mat-nav-list", ["matNavList"], {}, {}, never, ["*"], true, never>;
|
|
369
|
+
declare const MAT_SELECTION_LIST_VALUE_ACCESSOR: any;
|
|
370
|
+
/** Change event that is being fired whenever the selected state of an option changes. */
|
|
371
|
+
declare class MatSelectionListChange {
|
|
372
|
+
/** Reference to the selection list that emitted the event. */
|
|
373
|
+
source: MatSelectionList;
|
|
374
|
+
/** Reference to the options that have been changed. */
|
|
375
|
+
options: MatListOption[];
|
|
376
|
+
constructor(
|
|
377
|
+
/** Reference to the selection list that emitted the event. */
|
|
378
|
+
source: MatSelectionList,
|
|
379
|
+
/** Reference to the options that have been changed. */
|
|
380
|
+
options: MatListOption[]);
|
|
441
381
|
}
|
|
442
|
-
|
|
443
|
-
export declare class MatSelectionList extends MatListBase implements SelectionList, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
382
|
+
declare class MatSelectionList extends MatListBase implements SelectionList, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
444
383
|
_element: ElementRef<HTMLElement>;
|
|
445
384
|
private _ngZone;
|
|
446
385
|
private _renderer;
|
|
@@ -566,41 +505,19 @@ export declare class MatSelectionList extends MatListBase implements SelectionLi
|
|
|
566
505
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelectionList, "mat-selection-list", ["matSelectionList"], { "color": { "alias": "color"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectionChange": "selectionChange"; }, ["_items"], ["*"], true, never>;
|
|
567
506
|
}
|
|
568
507
|
|
|
569
|
-
/** Change event that is being fired whenever the selected state of an option changes. */
|
|
570
|
-
export declare class MatSelectionListChange {
|
|
571
|
-
/** Reference to the selection list that emitted the event. */
|
|
572
|
-
source: MatSelectionList;
|
|
573
|
-
/** Reference to the options that have been changed. */
|
|
574
|
-
options: MatListOption[];
|
|
575
|
-
constructor(
|
|
576
|
-
/** Reference to the selection list that emitted the event. */
|
|
577
|
-
source: MatSelectionList,
|
|
578
|
-
/** Reference to the options that have been changed. */
|
|
579
|
-
options: MatListOption[]);
|
|
580
|
-
}
|
|
581
|
-
|
|
582
508
|
/**
|
|
583
|
-
*
|
|
584
|
-
* as alternative token to an actual implementation which would result in circular references.
|
|
509
|
+
* Directive whose purpose is to add the mat- CSS styling to this selector.
|
|
585
510
|
* @docs-private
|
|
586
511
|
*/
|
|
587
|
-
|
|
512
|
+
declare class MatListSubheaderCssMatStyler {
|
|
513
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListSubheaderCssMatStyler, never>;
|
|
514
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListSubheaderCssMatStyler, "[mat-subheader], [matSubheader]", never, {}, {}, never, never, true, never>;
|
|
515
|
+
}
|
|
588
516
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
*/
|
|
594
|
-
export declare interface SelectionList extends MatListBase {
|
|
595
|
-
multiple: boolean;
|
|
596
|
-
color: ThemePalette;
|
|
597
|
-
selectedOptions: SelectionModel<MatListOption>;
|
|
598
|
-
hideSingleSelectionIndicator: boolean;
|
|
599
|
-
compareWith: (o1: any, o2: any) => boolean;
|
|
600
|
-
_value: string[] | null;
|
|
601
|
-
_reportValueChange(): void;
|
|
602
|
-
_emitChangeEvent(options: MatListOption[]): void;
|
|
603
|
-
_onTouched(): void;
|
|
517
|
+
declare class MatListModule {
|
|
518
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListModule, never>;
|
|
519
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, never, [typeof i2.ObserversModule, typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof i1.MatPseudoCheckboxModule, typeof MatList, typeof MatActionList, typeof MatNavList, typeof MatSelectionList, typeof MatListItem, typeof MatListOption, typeof MatListSubheaderCssMatStyler, typeof MatListItemAvatar, typeof MatListItemIcon, typeof MatListItemLine, typeof MatListItemTitle, typeof MatListItemMeta], [typeof MatList, typeof MatActionList, typeof MatNavList, typeof MatSelectionList, typeof MatListItem, typeof MatListOption, typeof MatListItemAvatar, typeof MatListItemIcon, typeof MatListSubheaderCssMatStyler, typeof i10.MatDividerModule, typeof MatListItemLine, typeof MatListItemTitle, typeof MatListItemMeta]>;
|
|
520
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatListModule>;
|
|
604
521
|
}
|
|
605
522
|
|
|
606
|
-
export { }
|
|
523
|
+
export { MAT_LIST, MAT_LIST_CONFIG, MAT_NAV_LIST, MAT_SELECTION_LIST_VALUE_ACCESSOR, MatActionList, MatList, type MatListConfig, MatListItem, MatListItemAvatar, MatListItemIcon, MatListItemLine, MatListItemMeta, MatListItemTitle, MatListModule, MatListOption, type MatListOptionTogglePosition as MatListOptionCheckboxPosition, type MatListOptionTogglePosition, MatListSubheaderCssMatStyler, MatNavList, MatSelectionList, MatSelectionListChange, SELECTION_LIST, type SelectionList, _MatListItemGraphicBase };
|