@angular/material 21.0.0-next.0 → 21.0.0-next.1
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/_index.scss +1 -1
- package/chips/_m3-chip.scss +5 -2
- package/chips/index.d.ts +19 -18
- package/core/tokens/_classes.scss +27 -29
- package/fesm2022/animation.mjs.map +1 -1
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +13 -13
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- 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 +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/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +7 -7
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +123 -111
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/common-module.mjs +4 -4
- package/fesm2022/common-module.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +12 -12
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/date-formats.mjs.map +1 -1
- package/fesm2022/date-range-input-harness.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +84 -83
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog-module.mjs +25 -25
- package/fesm2022/dialog-module.mjs.map +1 -1
- 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/error-options.mjs +6 -6
- package/fesm2022/error-options.mjs.map +1 -1
- package/fesm2022/error-state.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- 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-module.mjs +4 -4
- package/fesm2022/form-field-module.mjs.map +1 -1
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/form-field2.mjs +30 -30
- package/fesm2022/form-field2.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon-button.mjs +6 -6
- package/fesm2022/icon-button.mjs.map +1 -1
- package/fesm2022/icon-registry.mjs +3 -3
- package/fesm2022/icon-registry.mjs.map +1 -1
- package/fesm2022/icon.mjs +7 -7
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input-harness.mjs.map +1 -1
- package/fesm2022/input-value-accessor.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/internal-form-field.mjs +3 -3
- package/fesm2022/internal-form-field.mjs.map +1 -1
- package/fesm2022/line.mjs +7 -7
- package/fesm2022/line.mjs.map +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +49 -49
- 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 +22 -22
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/option-harness.mjs.map +1 -1
- package/fesm2022/option-module.mjs +4 -4
- package/fesm2022/option-module.mjs.map +1 -1
- package/fesm2022/option.mjs +6 -6
- package/fesm2022/option.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +13 -12
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox-module.mjs +4 -4
- package/fesm2022/pseudo-checkbox-module.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox.mjs +3 -3
- package/fesm2022/pseudo-checkbox.mjs.map +1 -1
- package/fesm2022/public-api.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/ripple-loader.mjs +3 -3
- package/fesm2022/ripple-loader.mjs.map +1 -1
- package/fesm2022/ripple-module.mjs +4 -4
- package/fesm2022/ripple-module.mjs.map +1 -1
- package/fesm2022/ripple.mjs +6 -6
- package/fesm2022/ripple.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select-module.mjs +10 -10
- package/fesm2022/select-module.mjs.map +1 -1
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +7 -7
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +18 -16
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/structural-styles.mjs +3 -3
- package/fesm2022/structural-styles.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 +43 -43
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +13 -13
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip-module.mjs +9 -955
- package/fesm2022/tooltip-module.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +6 -5
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tooltip2.mjs +954 -0
- package/fesm2022/tooltip2.mjs.map +1 -0
- package/fesm2022/tree/testing.mjs.map +1 -1
- 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/schematics/ng-update/index_bundled.js +7 -3
- package/schematics/ng-update/index_bundled.js.map +1 -1
package/_index.scss
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@forward 'core/tokens/system' show system-level-colors,
|
|
21
21
|
system-level-typography, system-level-elevation, system-level-shape,
|
|
22
22
|
system-level-motion, system-level-state, theme, theme-overrides, m2-theme;
|
|
23
|
-
@forward 'core/tokens/classes' show
|
|
23
|
+
@forward 'core/tokens/classes' show system-classes;
|
|
24
24
|
|
|
25
25
|
// Private/Internal
|
|
26
26
|
@forward './core/density/private/all-density' show all-component-densities;
|
package/chips/_m3-chip.scss
CHANGED
|
@@ -49,8 +49,11 @@
|
|
|
49
49
|
chip-selected-label-text-color: map.get($system, on-secondary-container),
|
|
50
50
|
chip-selected-trailing-action-state-layer-color: map.get($system, on-secondary-container),
|
|
51
51
|
chip-selected-trailing-icon-color: map.get($system, on-secondary-container),
|
|
52
|
-
|
|
53
|
-
chip-trailing-action-
|
|
52
|
+
// Parent chips will show focus/hover state as well so need stronger focus/hover styling here
|
|
53
|
+
chip-trailing-action-focus-state-layer-opacity:
|
|
54
|
+
calc(map.get($system, focus-state-layer-opacity) * 2),
|
|
55
|
+
chip-trailing-action-hover-state-layer-opacity:
|
|
56
|
+
calc(map.get($system, hover-state-layer-opacity) * 2),
|
|
54
57
|
chip-trailing-action-state-layer-color: map.get($system, on-surface-variant),
|
|
55
58
|
chip-with-icon-disabled-icon-color: map.get($system, on-surface),
|
|
56
59
|
chip-with-icon-icon-color: map.get($system, on-surface-variant),
|
package/chips/index.d.ts
CHANGED
|
@@ -12,10 +12,10 @@ import '../ripple.d.js';
|
|
|
12
12
|
import '@angular/cdk/platform';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* A non-interactive section of a chip.
|
|
16
16
|
* @docs-private
|
|
17
17
|
*/
|
|
18
|
-
declare class
|
|
18
|
+
declare class MatChipContent {
|
|
19
19
|
_elementRef: ElementRef<HTMLElement>;
|
|
20
20
|
protected _parentChip: {
|
|
21
21
|
_handlePrimaryActionInteraction(): void;
|
|
@@ -24,8 +24,6 @@ declare class MatChipAction {
|
|
|
24
24
|
_edit(): void;
|
|
25
25
|
_isEditing?: boolean;
|
|
26
26
|
};
|
|
27
|
-
/** Whether the action is interactive. */
|
|
28
|
-
isInteractive: boolean;
|
|
29
27
|
/** Whether this is the primary action in the chip. */
|
|
30
28
|
_isPrimary: boolean;
|
|
31
29
|
/** Whether this is the leading action in the chip. */
|
|
@@ -44,18 +42,26 @@ declare class MatChipAction {
|
|
|
44
42
|
* Determine the value of the disabled attribute for this chip action.
|
|
45
43
|
*/
|
|
46
44
|
protected _getDisabledAttribute(): string | null;
|
|
45
|
+
constructor(...args: unknown[]);
|
|
46
|
+
focus(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipContent, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipContent, "[matChipContent]", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "_allowFocusWhenDisabled": { "alias": "_allowFocusWhenDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
+
static ngAcceptInputType_disabled: unknown;
|
|
50
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Interactive section of a chip.
|
|
54
|
+
* @docs-private
|
|
55
|
+
*/
|
|
56
|
+
declare class MatChipAction extends MatChipContent {
|
|
47
57
|
/**
|
|
48
58
|
* Determine the value of the tabindex attribute for this chip action.
|
|
49
59
|
*/
|
|
50
60
|
protected _getTabindex(): string | null;
|
|
51
|
-
constructor(...args: unknown[]);
|
|
52
|
-
focus(): void;
|
|
53
61
|
_handleClick(event: MouseEvent): void;
|
|
54
62
|
_handleKeydown(event: KeyboardEvent): void;
|
|
55
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAction, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, {
|
|
57
|
-
static ngAcceptInputType_disabled: unknown;
|
|
58
|
-
static ngAcceptInputType_tabIndex: unknown;
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, {}, {}, never, never, true, never>;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
/** Avatar image within a chip. */
|
|
@@ -64,12 +70,7 @@ declare class MatChipAvatar {
|
|
|
64
70
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never, never, true, never>;
|
|
65
71
|
}
|
|
66
72
|
/** Non-interactive trailing icon in a chip. */
|
|
67
|
-
declare class MatChipTrailingIcon extends
|
|
68
|
-
/**
|
|
69
|
-
* MDC considers all trailing actions as a remove icon,
|
|
70
|
-
* but we support non-interactive trailing icons.
|
|
71
|
-
*/
|
|
72
|
-
isInteractive: boolean;
|
|
73
|
+
declare class MatChipTrailingIcon extends MatChipContent {
|
|
73
74
|
_isPrimary: boolean;
|
|
74
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipTrailingIcon, never>;
|
|
75
76
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never, never, true, never>;
|
|
@@ -498,7 +499,7 @@ declare class MatChipSet implements AfterViewInit, OnDestroy {
|
|
|
498
499
|
* Determines if key manager should avoid putting a given chip action in the tab index. Skip
|
|
499
500
|
* non-interactive and disabled actions since the user can't do anything with them.
|
|
500
501
|
*/
|
|
501
|
-
protected _skipPredicate(action:
|
|
502
|
+
protected _skipPredicate(action: MatChipContent): boolean;
|
|
502
503
|
/** Listens to changes in the chip set and syncs up the state of the individual chips. */
|
|
503
504
|
private _trackChipSetChanges;
|
|
504
505
|
/** Starts tracking the destroyed chips in order to capture the focused one. */
|
|
@@ -694,9 +695,10 @@ declare class MatChipGrid extends MatChipSet implements AfterContentInit, AfterV
|
|
|
694
695
|
*/
|
|
695
696
|
readonly controlType: string;
|
|
696
697
|
/** The chip input to add more chips */
|
|
697
|
-
protected _chipInput
|
|
698
|
+
protected _chipInput?: MatChipTextControl;
|
|
698
699
|
protected _defaultRole: string;
|
|
699
700
|
private _errorStateTracker;
|
|
701
|
+
private _uid;
|
|
700
702
|
/**
|
|
701
703
|
* List of element ids to propagate to the chipInput's aria-describedby attribute.
|
|
702
704
|
*/
|
|
@@ -780,7 +782,6 @@ declare class MatChipGrid extends MatChipSet implements AfterContentInit, AfterV
|
|
|
780
782
|
set errorState(value: boolean);
|
|
781
783
|
constructor(...args: unknown[]);
|
|
782
784
|
ngAfterContentInit(): void;
|
|
783
|
-
ngAfterViewInit(): void;
|
|
784
785
|
ngDoCheck(): void;
|
|
785
786
|
ngOnDestroy(): void;
|
|
786
787
|
/** Associates an HTML input element with this chip grid. */
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
// Utility classes that can be used to style elements with the most commonly used tokens in
|
|
1
|
+
// Utility classes that can be used to style elements with the most commonly used system tokens in
|
|
2
2
|
// Material Design. Includes color, typography, elevation, and shape.
|
|
3
|
-
|
|
4
|
-
// Use caution depending on this.
|
|
5
|
-
@mixin utility-classes() {
|
|
3
|
+
@mixin system-classes() {
|
|
6
4
|
|
|
7
5
|
// ***********************************************************************************************
|
|
8
6
|
// Background
|
|
@@ -171,7 +169,7 @@
|
|
|
171
169
|
|
|
172
170
|
// Sets the font to the body small typeface. Use for small body text, such as captions. In Angular
|
|
173
171
|
// Material, this is used for the subscript text in a form field and the text in a paginator.
|
|
174
|
-
.mat-font-body-
|
|
172
|
+
.mat-font-body-sm {
|
|
175
173
|
font: var(--mat-sys-body-small);
|
|
176
174
|
letter-spacing: var(--mat-sys-body-small-tracking);
|
|
177
175
|
}
|
|
@@ -179,7 +177,7 @@
|
|
|
179
177
|
// Sets the font to the body medium typeface. Use for medium body text, this is the default
|
|
180
178
|
// body font. In Angular Material, this is used for the text in a table row and the supporting
|
|
181
179
|
// text in a dialog.
|
|
182
|
-
.mat-font-body-
|
|
180
|
+
.mat-font-body-md {
|
|
183
181
|
font: var(--mat-sys-body-medium);
|
|
184
182
|
letter-spacing: var(--mat-sys-body-medium-tracking);
|
|
185
183
|
}
|
|
@@ -187,54 +185,54 @@
|
|
|
187
185
|
// Sets the font to the body large typeface. Use for large body text, such as an introductory
|
|
188
186
|
// paragraph. In Angular Material, this is used for the text in a list item and the text in a
|
|
189
187
|
// select trigger.
|
|
190
|
-
.mat-font-body-
|
|
188
|
+
.mat-font-body-lg {
|
|
191
189
|
font: var(--mat-sys-body-large);
|
|
192
190
|
letter-spacing: var(--mat-sys-body-large-tracking);
|
|
193
191
|
}
|
|
194
192
|
|
|
195
193
|
// Sets the font to the display small typeface. Use for small display text, such as a date.
|
|
196
|
-
.mat-font-display-
|
|
194
|
+
.mat-font-display-sm {
|
|
197
195
|
font: var(--mat-sys-display-small);
|
|
198
196
|
letter-spacing: var(--mat-sys-display-small-tracking);
|
|
199
197
|
}
|
|
200
198
|
|
|
201
199
|
// Sets the font to the display medium typeface. Use for medium display text, such as a hero
|
|
202
200
|
// title.
|
|
203
|
-
.mat-font-display-
|
|
201
|
+
.mat-font-display-md {
|
|
204
202
|
font: var(--mat-sys-display-medium);
|
|
205
203
|
letter-spacing: var(--mat-sys-display-medium-tracking);
|
|
206
204
|
}
|
|
207
205
|
|
|
208
206
|
// Sets the font to the display large typeface. Use for large display text, such as a hero title.
|
|
209
|
-
.mat-font-display-
|
|
207
|
+
.mat-font-display-lg {
|
|
210
208
|
font: var(--mat-sys-display-large);
|
|
211
209
|
letter-spacing: var(--mat-sys-display-large-tracking);
|
|
212
210
|
}
|
|
213
211
|
|
|
214
212
|
// Sets the font to the headline small typeface. Use for small headlines, such as a page title. In
|
|
215
213
|
// Angular Material, this is used for the headline in a dialog.
|
|
216
|
-
.mat-font-headline-
|
|
214
|
+
.mat-font-headline-sm {
|
|
217
215
|
font: var(--mat-sys-headline-small);
|
|
218
216
|
letter-spacing: var(--mat-sys-headline-small-tracking);
|
|
219
217
|
}
|
|
220
218
|
|
|
221
219
|
// Sets the font to the headline medium typeface. Use for medium headlines, such as a section
|
|
222
220
|
// title.
|
|
223
|
-
.mat-font-headline-
|
|
221
|
+
.mat-font-headline-md {
|
|
224
222
|
font: var(--mat-sys-headline-medium);
|
|
225
223
|
letter-spacing: var(--mat-sys-headline-medium-tracking);
|
|
226
224
|
}
|
|
227
225
|
|
|
228
226
|
// Sets the font to the headline large typeface. Use for large headlines, such as a page title on
|
|
229
227
|
// a large screen.
|
|
230
|
-
.mat-font-headline-
|
|
228
|
+
.mat-font-headline-lg {
|
|
231
229
|
font: var(--mat-sys-headline-large);
|
|
232
230
|
letter-spacing: var(--mat-sys-headline-large-tracking);
|
|
233
231
|
}
|
|
234
232
|
|
|
235
233
|
// Sets the font to the title small typeface. Use for small titles, such as a card title. In
|
|
236
234
|
// Angular Material, this is used for the header of a table and the label of an option group.
|
|
237
|
-
.mat-font-title-
|
|
235
|
+
.mat-font-title-sm {
|
|
238
236
|
font: var(--mat-sys-title-small);
|
|
239
237
|
letter-spacing: var(--mat-sys-title-small-tracking);
|
|
240
238
|
}
|
|
@@ -242,7 +240,7 @@
|
|
|
242
240
|
// Sets the font to the title medium typeface. Use for medium titles, such as a dialog title
|
|
243
241
|
// or the primary text in a list item. In Angular Material, this is used for the subtitle
|
|
244
242
|
// of a card and the header of an expansion panel.
|
|
245
|
-
.mat-font-title-
|
|
243
|
+
.mat-font-title-md {
|
|
246
244
|
font: var(--mat-sys-title-medium);
|
|
247
245
|
letter-spacing: var(--mat-sys-title-medium-tracking);
|
|
248
246
|
}
|
|
@@ -250,7 +248,7 @@
|
|
|
250
248
|
// Sets the font to the title large typeface. Use for large titles, such as a page title on a
|
|
251
249
|
// small screen. In Angular Material, this is used for the title of a card and the title of a
|
|
252
250
|
// toolbar.
|
|
253
|
-
.mat-font-title-
|
|
251
|
+
.mat-font-title-lg {
|
|
254
252
|
font: var(--mat-sys-title-large);
|
|
255
253
|
letter-spacing: var(--mat-sys-title-large-tracking);
|
|
256
254
|
}
|
|
@@ -262,39 +260,39 @@
|
|
|
262
260
|
|
|
263
261
|
// Sets the border radius to extra small. Use for components that need a small amount of rounding,
|
|
264
262
|
// such as a chip. In Angular Material, this is used for the shape of a snackbar and a tooltip.
|
|
265
|
-
.mat-
|
|
263
|
+
.mat-rounded-extra-sm {
|
|
266
264
|
border-radius: var(--mat-sys-corner-extra-small);
|
|
267
265
|
}
|
|
268
266
|
|
|
269
267
|
// Sets the border radius to small. Use for components that need a small amount of rounding, such
|
|
270
268
|
// as a text field.
|
|
271
|
-
.mat-
|
|
269
|
+
.mat-rounded-sm {
|
|
272
270
|
border-radius: var(--mat-sys-corner-small);
|
|
273
271
|
}
|
|
274
272
|
|
|
275
273
|
// Sets the border radius to medium. Use for components that need a medium amount of rounding,
|
|
276
274
|
// such as a button. In Angular Material, this is used for the shape of a card.
|
|
277
|
-
.mat-
|
|
275
|
+
.mat-rounded-md {
|
|
278
276
|
border-radius: var(--mat-sys-corner-medium);
|
|
279
277
|
}
|
|
280
278
|
|
|
281
279
|
// Sets the border radius to large. Use for components that need a large amount of rounding, such
|
|
282
280
|
// as a card. In Angular Material, this is used for the shape of a floating action button and a
|
|
283
281
|
// datepicker.
|
|
284
|
-
.mat-
|
|
282
|
+
.mat-rounded-lg {
|
|
285
283
|
border-radius: var(--mat-sys-corner-large);
|
|
286
284
|
}
|
|
287
285
|
|
|
288
286
|
// Sets the border radius to extra large. Use for components that need a large amount of
|
|
289
287
|
// rounding. In Angular Material, this is used for the shape of a button toggle and the shape of
|
|
290
288
|
// a dialog.
|
|
291
|
-
.mat-
|
|
289
|
+
.mat-rounded-xl {
|
|
292
290
|
border-radius: var(--mat-sys-corner-extra-large);
|
|
293
291
|
}
|
|
294
292
|
|
|
295
293
|
// Sets the border radius to full. Use for components that are circular, such as a user avatar.
|
|
296
294
|
// In Angular Material, this is used for the shape of a badge and the shape of a button.
|
|
297
|
-
.mat-
|
|
295
|
+
.mat-rounded-full {
|
|
298
296
|
border-radius: var(--mat-sys-corner-full);
|
|
299
297
|
}
|
|
300
298
|
|
|
@@ -305,14 +303,14 @@
|
|
|
305
303
|
|
|
306
304
|
// Adds an outline to an element. Use for components that need a visible boundary. In Angular
|
|
307
305
|
// Material, this is used for the outline of an outlined button.
|
|
308
|
-
.mat-
|
|
306
|
+
.mat-border {
|
|
309
307
|
border: 1px solid var(--mat-sys-outline);
|
|
310
308
|
}
|
|
311
309
|
|
|
312
310
|
// Adds a less prominent outline to an element. Use for components that need a less obvious
|
|
313
311
|
// boundary. In Angular Material, this is used for the outline of an outlined card and the color
|
|
314
312
|
// of the divider
|
|
315
|
-
.mat-
|
|
313
|
+
.mat-border-subtle {
|
|
316
314
|
border: 1px solid var(--mat-sys-outline-variant);
|
|
317
315
|
}
|
|
318
316
|
|
|
@@ -384,32 +382,32 @@
|
|
|
384
382
|
|
|
385
383
|
// Use to slightly raise the appearance of a surface. In Angular Material, this is used for the
|
|
386
384
|
// elevation of an elevated card and the handle of a slider.
|
|
387
|
-
.mat-shadow-
|
|
385
|
+
.mat-shadow-1 {
|
|
388
386
|
box-shadow: var(--mat-sys-level1);
|
|
389
387
|
}
|
|
390
388
|
|
|
391
389
|
// Use to raise the appearance of a surface. In Angular Material, this is used for the
|
|
392
390
|
// elevation of a menu and a select panel.
|
|
393
|
-
.mat-shadow-
|
|
391
|
+
.mat-shadow-2 {
|
|
394
392
|
box-shadow: var(--mat-sys-level2);
|
|
395
393
|
}
|
|
396
394
|
|
|
397
395
|
// Used to raise the appearance of a surface. In Angular Material, this is used for the elevation
|
|
398
396
|
// of a floating action button.
|
|
399
|
-
.mat-shadow-
|
|
397
|
+
.mat-shadow-3 {
|
|
400
398
|
box-shadow: var(--mat-sys-level3);
|
|
401
399
|
}
|
|
402
400
|
|
|
403
401
|
// Used to raise the appearance of a surface. This is generally reserved for elevation changes
|
|
404
402
|
// due to interaction like focus and hover. In Angular Material, this is used for the elevation
|
|
405
403
|
// of a hovered floating action button.
|
|
406
|
-
.mat-shadow-
|
|
404
|
+
.mat-shadow-4 {
|
|
407
405
|
box-shadow: var(--mat-sys-level4);
|
|
408
406
|
}
|
|
409
407
|
|
|
410
408
|
// Used to greatly raise the appearance of a surface. This is generally reserved for elevation
|
|
411
409
|
// changes due to interaction like focus and hover.
|
|
412
|
-
.mat-shadow-
|
|
410
|
+
.mat-shadow-5 {
|
|
413
411
|
box-shadow: var(--mat-sys-level5);
|
|
414
412
|
}
|
|
415
413
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.mjs","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"animation.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/core/animation/animation.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {MediaMatcher} from '@angular/cdk/layout';\nimport {ANIMATION_MODULE_TYPE, inject, InjectionToken} from '@angular/core';\n\n/** Object used to configure the animation in Angular Material. */\nexport interface AnimationsConfig {\n /** Whether all animations should be disabled. */\n animationsDisabled?: boolean;\n}\n\n/** Injection token used to configure the animations in Angular Material. */\nexport const MATERIAL_ANIMATIONS = new InjectionToken<AnimationsConfig>('MATERIAL_ANIMATIONS');\n\n/**\n * @deprecated No longer used, will be removed.\n * @breaking-change 21.0.0\n * @docs-private\n */\nexport class AnimationCurves {\n static STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';\n static DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';\n static ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';\n static SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';\n}\n\n/**\n * @deprecated No longer used, will be removed.\n * @breaking-change 21.0.0\n * @docs-private\n */\nexport class AnimationDurations {\n static COMPLEX = '375ms';\n static ENTERING = '225ms';\n static EXITING = '195ms';\n}\n\nlet reducedMotion: boolean | null = null;\n\n/**\n * Gets the the configured animations state.\n * @docs-private\n */\nexport function _getAnimationsState(): 'enabled' | 'di-disabled' | 'reduced-motion' {\n if (\n inject(MATERIAL_ANIMATIONS, {optional: true})?.animationsDisabled ||\n inject(ANIMATION_MODULE_TYPE, {optional: true}) === 'NoopAnimations'\n ) {\n return 'di-disabled';\n }\n\n reducedMotion ??= inject(MediaMatcher).matchMedia('(prefers-reduced-motion)').matches;\n return reducedMotion ? 'reduced-motion' : 'enabled';\n}\n\n/**\n * Returns whether animations have been disabled by DI. Must be called in a DI context.\n * @docs-private\n */\nexport function _animationsDisabled(): boolean {\n return _getAnimationsState() !== 'enabled';\n}\n"],"names":[],"mappings":";;;AAiBA;MACa,mBAAmB,GAAG,IAAI,cAAc,CAAmB,qBAAqB;AAE7F;;;;AAIG;MACU,eAAe,CAAA;AAC1B,IAAA,OAAO,cAAc,GAAG,6BAA6B;AACrD,IAAA,OAAO,kBAAkB,GAAG,6BAA6B;AACzD,IAAA,OAAO,kBAAkB,GAAG,2BAA2B;AACvD,IAAA,OAAO,WAAW,GAAG,6BAA6B;;AAGpD;;;;AAIG;MACU,kBAAkB,CAAA;AAC7B,IAAA,OAAO,OAAO,GAAG,OAAO;AACxB,IAAA,OAAO,QAAQ,GAAG,OAAO;AACzB,IAAA,OAAO,OAAO,GAAG,OAAO;;AAG1B,IAAI,aAAa,GAAmB,IAAI;AAExC;;;AAGG;SACa,mBAAmB,GAAA;IACjC,IACE,MAAM,CAAC,mBAAmB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,kBAAkB;AACjE,QAAA,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,KAAK,gBAAgB,EACpE;AACA,QAAA,OAAO,aAAa;;AAGtB,IAAA,aAAa,KAAK,MAAM,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC,OAAO;IACrF,OAAO,aAAa,GAAG,gBAAgB,GAAG,SAAS;AACrD;AAEA;;;AAGG;SACa,mBAAmB,GAAA;AACjC,IAAA,OAAO,mBAAmB,EAAE,KAAK,SAAS;AAC5C;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.mjs","sources":["../../../../../../
|
|
1
|
+
{"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material/autocomplete/testing/autocomplete-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '../../core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -239,10 +239,10 @@ class MatAutocomplete {
|
|
|
239
239
|
_skipPredicate() {
|
|
240
240
|
return false;
|
|
241
241
|
}
|
|
242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
243
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.2.0-
|
|
242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
243
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.2.0-next.2", type: MatAutocomplete, isStandalone: true, selector: "mat-autocomplete", inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: ["autoActiveFirstOption", "autoActiveFirstOption", booleanAttribute], autoSelectActiveOption: ["autoSelectActiveOption", "autoSelectActiveOption", booleanAttribute], requireSelection: ["requireSelection", "requireSelection", booleanAttribute], panelWidth: "panelWidth", disableRipple: ["disableRipple", "disableRipple", booleanAttribute], classList: ["class", "classList"], hideSingleSelectionIndicator: ["hideSingleSelectionIndicator", "hideSingleSelectionIndicator", booleanAttribute] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, host: { classAttribute: "mat-mdc-autocomplete" }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], queries: [{ propertyName: "options", predicate: MatOption, descendants: true }, { propertyName: "optionGroups", predicate: MAT_OPTGROUP, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["matAutocomplete"], ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
244
244
|
}
|
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocomplete, decorators: [{
|
|
246
246
|
type: Component,
|
|
247
247
|
args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
|
|
248
248
|
'class': 'mat-mdc-autocomplete',
|
|
@@ -304,10 +304,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
304
304
|
class MatAutocompleteOrigin {
|
|
305
305
|
elementRef = inject(ElementRef);
|
|
306
306
|
constructor() { }
|
|
307
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
308
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
307
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocompleteOrigin, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
308
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 });
|
|
309
309
|
}
|
|
310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
|
|
311
311
|
type: Directive,
|
|
312
312
|
args: [{
|
|
313
313
|
selector: '[matAutocompleteOrigin]',
|
|
@@ -1167,10 +1167,10 @@ class MatAutocompleteTrigger {
|
|
|
1167
1167
|
this._trackedModal = null;
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
1170
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
1171
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-
|
|
1170
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocompleteTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1171
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.2", type: MatAutocompleteTrigger, isStandalone: true, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: { autocomplete: ["matAutocomplete", "autocomplete"], position: ["matAutocompletePosition", "position"], connectedTo: ["matAutocompleteConnectedTo", "connectedTo"], autocompleteAttribute: ["autocomplete", "autocompleteAttribute"], autocompleteDisabled: ["matAutocompleteDisabled", "autocompleteDisabled", booleanAttribute] }, host: { listeners: { "focusin": "_handleFocus()", "blur": "_onTouched()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)", "click": "_handleClick()" }, properties: { "attr.autocomplete": "autocompleteAttribute", "attr.role": "autocompleteDisabled ? null : \"combobox\"", "attr.aria-autocomplete": "autocompleteDisabled ? null : \"list\"", "attr.aria-activedescendant": "(panelOpen && activeOption) ? activeOption.id : null", "attr.aria-expanded": "autocompleteDisabled ? null : panelOpen.toString()", "attr.aria-controls": "(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id", "attr.aria-haspopup": "autocompleteDisabled ? null : \"listbox\"" }, classAttribute: "mat-mdc-autocomplete-trigger" }, providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["matAutocompleteTrigger"], usesOnChanges: true, ngImport: i0 });
|
|
1172
1172
|
}
|
|
1173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
1173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
|
|
1174
1174
|
type: Directive,
|
|
1175
1175
|
args: [{
|
|
1176
1176
|
selector: `input[matAutocomplete], textarea[matAutocomplete]`,
|
|
@@ -1212,8 +1212,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
1212
1212
|
}] } });
|
|
1213
1213
|
|
|
1214
1214
|
class MatAutocompleteModule {
|
|
1215
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
1216
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-
|
|
1215
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1216
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
|
|
1217
1217
|
MatOptionModule,
|
|
1218
1218
|
MatCommonModule,
|
|
1219
1219
|
MatAutocomplete,
|
|
@@ -1224,13 +1224,13 @@ class MatAutocompleteModule {
|
|
|
1224
1224
|
MatCommonModule,
|
|
1225
1225
|
MatAutocompleteTrigger,
|
|
1226
1226
|
MatAutocompleteOrigin] });
|
|
1227
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-
|
|
1227
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
|
|
1228
1228
|
MatOptionModule,
|
|
1229
1229
|
MatCommonModule, CdkScrollableModule,
|
|
1230
1230
|
MatOptionModule,
|
|
1231
1231
|
MatCommonModule] });
|
|
1232
1232
|
}
|
|
1233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
1233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatAutocompleteModule, decorators: [{
|
|
1234
1234
|
type: NgModule,
|
|
1235
1235
|
args: [{
|
|
1236
1236
|
imports: [
|