@angular/material 19.0.0-next.2 → 19.0.0-next.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/checkbox/_checkbox-common.scss +4 -4
- package/core/focus-indicators/_private.scss +1 -1
- package/core/index.d.ts +2 -157
- package/core/ripple/_ripple.scss +1 -1
- package/core/style/_menu-common.scss +1 -1
- package/core/style/_sass-utils.scss +4 -0
- package/core/tokens/m3/definitions/_md-sys-color.scss +6 -6
- package/fesm2022/autocomplete.mjs +14 -14
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +11 -11
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +11 -11
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +11 -11
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +42 -42
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +16 -16
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +45 -45
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +70 -228
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +87 -87
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +26 -26
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +28 -28
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +36 -36
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/list.mjs +56 -56
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +17 -17
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +11 -11
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +8 -8
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +8 -8
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/select.mjs +12 -12
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +26 -26
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +16 -16
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +17 -17
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +23 -23
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +14 -14
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +33 -33
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/tabs.mjs +47 -47
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +11 -11
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +10 -13
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/form-field/_form-field-high-contrast.scss +4 -4
- package/form-field/_mdc-text-field-structure.scss +2 -2
- package/list/_list-inherited-structure.scss +1 -1
- package/list/_list-item-hcm-indicator.scss +1 -1
- package/package.json +2 -2
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/tabs/_tabs-common.scss +1 -1
- package/tree/index.d.ts +2 -2
|
@@ -66,7 +66,7 @@ $_fallback-size: 40px;
|
|
|
66
66
|
cursor: default;
|
|
67
67
|
pointer-events: none;
|
|
68
68
|
|
|
69
|
-
@include cdk.high-contrast
|
|
69
|
+
@include cdk.high-contrast {
|
|
70
70
|
opacity: 0.5;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -177,7 +177,7 @@ $_fallback-size: 40px;
|
|
|
177
177
|
@include token-utils.create-token-slot(color, selected-checkmark-color);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
@include cdk.high-contrast
|
|
180
|
+
@include cdk.high-contrast {
|
|
181
181
|
color: CanvasText;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
@@ -188,7 +188,7 @@ $_fallback-size: 40px;
|
|
|
188
188
|
.mdc-checkbox__checkmark {
|
|
189
189
|
@include token-utils.create-token-slot(color, disabled-selected-checkmark-color);
|
|
190
190
|
|
|
191
|
-
@include cdk.high-contrast
|
|
191
|
+
@include cdk.high-contrast {
|
|
192
192
|
color: CanvasText;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
@@ -220,7 +220,7 @@ $_fallback-size: 40px;
|
|
|
220
220
|
@include token-utils.create-token-slot(border-color, selected-checkmark-color);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
@include cdk.high-contrast
|
|
223
|
+
@include cdk.high-contrast {
|
|
224
224
|
margin: 0 1px;
|
|
225
225
|
}
|
|
226
226
|
}
|
package/core/index.d.ts
CHANGED
|
@@ -23,12 +23,6 @@ import { QueryList } from '@angular/core';
|
|
|
23
23
|
import { Subject } from 'rxjs';
|
|
24
24
|
import { Version } from '@angular/core';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* This is a permissive type for abstract class constructors.
|
|
28
|
-
* @docs-private
|
|
29
|
-
*/
|
|
30
|
-
export declare type _AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
|
|
31
|
-
|
|
32
26
|
|
|
33
27
|
/** @docs-private */
|
|
34
28
|
export declare class AnimationCurves {
|
|
@@ -45,64 +39,6 @@ export declare class AnimationDurations {
|
|
|
45
39
|
static EXITING: string;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
|
-
/**
|
|
49
|
-
* @docs-private
|
|
50
|
-
* @deprecated Will be removed together with `mixinColor`.
|
|
51
|
-
* @breaking-change 19.0.0
|
|
52
|
-
*/
|
|
53
|
-
export declare interface CanColor {
|
|
54
|
-
/** Theme color palette for the component. */
|
|
55
|
-
color: ThemePalette;
|
|
56
|
-
/** Default color to fall back to if no value is set. */
|
|
57
|
-
defaultColor: ThemePalette | undefined;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare type CanColorCtor = _Constructor<CanColor> & _AbstractConstructor<CanColor>;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @docs-private
|
|
64
|
-
* @deprecated Will be removed together with `mixinDisabled`.
|
|
65
|
-
* @breaking-change 19.0.0
|
|
66
|
-
*/
|
|
67
|
-
export declare interface CanDisable {
|
|
68
|
-
/** Whether the component is disabled. */
|
|
69
|
-
disabled: boolean;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
declare type CanDisableCtor = _Constructor<CanDisable> & _AbstractConstructor<CanDisable>;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @docs-private
|
|
76
|
-
* @deprecated Will be removed together with `mixinDisableRipple`.
|
|
77
|
-
* @breaking-change 19.0.0
|
|
78
|
-
*/
|
|
79
|
-
export declare interface CanDisableRipple {
|
|
80
|
-
/** Whether ripples are disabled. */
|
|
81
|
-
disableRipple: boolean;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
declare type CanDisableRippleCtor = _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple>;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @docs-private
|
|
88
|
-
* @deprecated Will be removed together with `mixinErrorState`.
|
|
89
|
-
* @breaking-change 19.0.0
|
|
90
|
-
*/
|
|
91
|
-
export declare interface CanUpdateErrorState {
|
|
92
|
-
/** Updates the error state based on the provided error state matcher. */
|
|
93
|
-
updateErrorState(): void;
|
|
94
|
-
/** Whether the component is in an error state. */
|
|
95
|
-
errorState: boolean;
|
|
96
|
-
/** An object used to control the error state of the component. */
|
|
97
|
-
errorStateMatcher: ErrorStateMatcher_2;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
declare type CanUpdateErrorStateCtor = _Constructor<CanUpdateErrorState> & _AbstractConstructor<CanUpdateErrorState>;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
/** @docs-private */
|
|
104
|
-
export declare type _Constructor<T> = new (...args: any[]) => T;
|
|
105
|
-
|
|
106
42
|
/**
|
|
107
43
|
* Counts the amount of option group labels that precede the specified option.
|
|
108
44
|
* @param optionIndex Index of the option at which to start counting.
|
|
@@ -370,56 +306,6 @@ export declare interface GranularSanityChecks {
|
|
|
370
306
|
version: boolean;
|
|
371
307
|
}
|
|
372
308
|
|
|
373
|
-
/** @docs-private */
|
|
374
|
-
declare interface HasElementRef {
|
|
375
|
-
_elementRef: ElementRef;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/** @docs-private */
|
|
379
|
-
declare interface HasErrorState {
|
|
380
|
-
_parentFormGroup: FormGroupDirective | null;
|
|
381
|
-
_parentForm: NgForm | null;
|
|
382
|
-
_defaultErrorStateMatcher: ErrorStateMatcher_2;
|
|
383
|
-
ngControl: NgControl | null;
|
|
384
|
-
stateChanges: Subject<void>;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* Mixin that adds an initialized property to a directive which, when subscribed to, will emit a
|
|
389
|
-
* value once markInitialized has been called, which should be done during the ngOnInit function.
|
|
390
|
-
* If the subscription is made after it has already been marked as initialized, then it will trigger
|
|
391
|
-
* an emit immediately.
|
|
392
|
-
* @docs-private
|
|
393
|
-
* @deprecated Will be removed together with `mixinInitializer`.
|
|
394
|
-
* @breaking-change 19.0.0
|
|
395
|
-
*/
|
|
396
|
-
export declare interface HasInitialized {
|
|
397
|
-
/** Stream that emits once during the directive/component's ngOnInit. */
|
|
398
|
-
initialized: Observable<void>;
|
|
399
|
-
/**
|
|
400
|
-
* Sets the state as initialized and must be called during ngOnInit to notify subscribers that
|
|
401
|
-
* the directive has been initialized.
|
|
402
|
-
* @docs-private
|
|
403
|
-
*/
|
|
404
|
-
_markInitialized: () => void;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
declare type HasInitializedCtor = _Constructor<HasInitialized>;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @docs-private
|
|
411
|
-
* @deprecated Will be removed together with `mixinTabIndex`.
|
|
412
|
-
* @breaking-change 19.0.0
|
|
413
|
-
*/
|
|
414
|
-
export declare interface HasTabIndex {
|
|
415
|
-
/** Tabindex of the component. */
|
|
416
|
-
tabIndex: number;
|
|
417
|
-
/** Tabindex to which to fall back to if no value is set. */
|
|
418
|
-
defaultTabIndex: number;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
declare type HasTabIndexCtor = _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex>;
|
|
422
|
-
|
|
423
309
|
declare namespace i1_2 {
|
|
424
310
|
export {
|
|
425
311
|
MATERIAL_SANITY_CHECKS_FACTORY,
|
|
@@ -851,6 +737,7 @@ export declare class MatRippleLoader implements OnDestroy {
|
|
|
851
737
|
private _globalRippleOptions;
|
|
852
738
|
private _platform;
|
|
853
739
|
private _ngZone;
|
|
740
|
+
private _injector;
|
|
854
741
|
private _hosts;
|
|
855
742
|
constructor();
|
|
856
743
|
ngOnDestroy(): void;
|
|
@@ -885,49 +772,6 @@ export declare class MatRippleModule {
|
|
|
885
772
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatRippleModule>;
|
|
886
773
|
}
|
|
887
774
|
|
|
888
|
-
/**
|
|
889
|
-
* Mixin to augment a directive with a `color` property.
|
|
890
|
-
* @deprecated Use a plain input and host bindings instead.
|
|
891
|
-
* @breaking-change 19.0.0
|
|
892
|
-
*/
|
|
893
|
-
export declare function mixinColor<T extends _AbstractConstructor<HasElementRef>>(base: T, defaultColor?: ThemePalette): CanColorCtor & T;
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* Mixin to augment a directive with a `disabled` property.
|
|
897
|
-
* @deprecated Use an input with a transform instead.
|
|
898
|
-
* @breaking-change 19.0.0
|
|
899
|
-
*/
|
|
900
|
-
export declare function mixinDisabled<T extends _AbstractConstructor<{}>>(base: T): CanDisableCtor & T;
|
|
901
|
-
|
|
902
|
-
/**
|
|
903
|
-
* Mixin to augment a directive with a `disableRipple` property.
|
|
904
|
-
* @deprecated Use an input with a transform instead.
|
|
905
|
-
* @breaking-change 19.0.0
|
|
906
|
-
*/
|
|
907
|
-
export declare function mixinDisableRipple<T extends _AbstractConstructor<{}>>(base: T): CanDisableRippleCtor & T;
|
|
908
|
-
|
|
909
|
-
/**
|
|
910
|
-
* Mixin to augment a directive with updateErrorState method.
|
|
911
|
-
* For component with `errorState` and need to update `errorState`.
|
|
912
|
-
* @deprecated Implement the `updateErrorState` method directly.
|
|
913
|
-
* @breaking-change 19.0.0
|
|
914
|
-
*/
|
|
915
|
-
export declare function mixinErrorState<T extends _AbstractConstructor<HasErrorState>>(base: T): CanUpdateErrorStateCtor & T;
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* Mixin to augment a directive with an initialized property that will emits when ngOnInit ends.
|
|
919
|
-
* @deprecated Track the initialized state manually.
|
|
920
|
-
* @breaking-change 19.0.0
|
|
921
|
-
*/
|
|
922
|
-
export declare function mixinInitialized<T extends _Constructor<{}>>(base: T): HasInitializedCtor & T;
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* Mixin to augment a directive with a `tabIndex` property.
|
|
926
|
-
* @deprecated Use an input with a transform instead.
|
|
927
|
-
* @breaking-change 19.0.0
|
|
928
|
-
*/
|
|
929
|
-
export declare function mixinTabIndex<T extends _AbstractConstructor<CanDisable>>(base: T, defaultTabIndex?: number): HasTabIndexCtor & T;
|
|
930
|
-
|
|
931
775
|
/** Adapts the native JS Date for use with cdk-based components that work with dates. */
|
|
932
776
|
export declare class NativeDateAdapter extends DateAdapter<Date> {
|
|
933
777
|
/**
|
|
@@ -1187,6 +1031,7 @@ export declare class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {
|
|
|
1187
1031
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnDirtyErrorStateMatcher>;
|
|
1188
1032
|
}
|
|
1189
1033
|
|
|
1034
|
+
|
|
1190
1035
|
/** Possible color palette values. */
|
|
1191
1036
|
export declare type ThemePalette = 'primary' | 'accent' | 'warn' | undefined;
|
|
1192
1037
|
|
package/core/ripple/_ripple.scss
CHANGED
|
@@ -13,7 +13,7 @@ $_default-dark: (
|
|
|
13
13
|
|
|
14
14
|
@function values-dark($deps: $_default-dark) {
|
|
15
15
|
@return (
|
|
16
|
-
'background': map.get($deps, 'md-ref-palette', '
|
|
16
|
+
'background': map.get($deps, 'md-ref-palette', 'neutral6'),
|
|
17
17
|
'error': map.get($deps, 'md-ref-palette', 'error80'),
|
|
18
18
|
'error-container': map.get($deps, 'md-ref-palette', 'error30'),
|
|
19
19
|
'inverse-on-surface': map.get($deps, 'md-ref-palette', 'neutral20'),
|
|
@@ -32,7 +32,7 @@ $_default-dark: (
|
|
|
32
32
|
'on-secondary-fixed-variant':
|
|
33
33
|
map.get($deps, 'md-ref-palette', 'secondary30'),
|
|
34
34
|
'on-surface': map.get($deps, 'md-ref-palette', 'neutral90'),
|
|
35
|
-
'on-surface-variant': map.get($deps, 'md-ref-palette', 'neutral-
|
|
35
|
+
'on-surface-variant': map.get($deps, 'md-ref-palette', 'neutral-variant90'),
|
|
36
36
|
'on-tertiary': map.get($deps, 'md-ref-palette', 'tertiary20'),
|
|
37
37
|
'on-tertiary-container': map.get($deps, 'md-ref-palette', 'tertiary90'),
|
|
38
38
|
'on-tertiary-fixed': map.get($deps, 'md-ref-palette', 'tertiary10'),
|
|
@@ -49,11 +49,11 @@ $_default-dark: (
|
|
|
49
49
|
'secondary-fixed': map.get($deps, 'md-ref-palette', 'secondary90'),
|
|
50
50
|
'secondary-fixed-dim': map.get($deps, 'md-ref-palette', 'secondary80'),
|
|
51
51
|
'shadow': map.get($deps, 'md-ref-palette', 'neutral0'),
|
|
52
|
-
'surface': map.get($deps, 'md-ref-palette', '
|
|
52
|
+
'surface': map.get($deps, 'md-ref-palette', 'neutral6'),
|
|
53
53
|
'surface-bright': map.get($deps, 'md-ref-palette', 'neutral24'),
|
|
54
54
|
'surface-container': map.get($deps, 'md-ref-palette', 'neutral12'),
|
|
55
55
|
'surface-container-high': map.get($deps, 'md-ref-palette', 'neutral17'),
|
|
56
|
-
'surface-container-highest': map.get($deps, 'md-ref-palette', '
|
|
56
|
+
'surface-container-highest': map.get($deps, 'md-ref-palette', 'neutral24'),
|
|
57
57
|
'surface-container-low': map.get($deps, 'md-ref-palette', 'neutral10'),
|
|
58
58
|
'surface-container-lowest': map.get($deps, 'md-ref-palette', 'neutral4'),
|
|
59
59
|
'surface-dim': map.get($deps, 'md-ref-palette', 'neutral6'),
|
|
@@ -72,7 +72,7 @@ $_default-light: (
|
|
|
72
72
|
|
|
73
73
|
@function values-light($deps: $_default-light) {
|
|
74
74
|
@return (
|
|
75
|
-
'background': map.get($deps, 'md-ref-palette', '
|
|
75
|
+
'background': map.get($deps, 'md-ref-palette', 'neutral98'),
|
|
76
76
|
'error': map.get($deps, 'md-ref-palette', 'error40'),
|
|
77
77
|
'error-container': map.get($deps, 'md-ref-palette', 'error90'),
|
|
78
78
|
'inverse-on-surface': map.get($deps, 'md-ref-palette', 'neutral95'),
|
|
@@ -108,7 +108,7 @@ $_default-light: (
|
|
|
108
108
|
'secondary-fixed': map.get($deps, 'md-ref-palette', 'secondary90'),
|
|
109
109
|
'secondary-fixed-dim': map.get($deps, 'md-ref-palette', 'secondary80'),
|
|
110
110
|
'shadow': map.get($deps, 'md-ref-palette', 'neutral0'),
|
|
111
|
-
'surface': map.get($deps, 'md-ref-palette', '
|
|
111
|
+
'surface': map.get($deps, 'md-ref-palette', 'neutral98'),
|
|
112
112
|
'surface-bright': map.get($deps, 'md-ref-palette', 'neutral98'),
|
|
113
113
|
'surface-container': map.get($deps, 'md-ref-palette', 'neutral94'),
|
|
114
114
|
'surface-container-high': map.get($deps, 'md-ref-palette', 'neutral92'),
|
|
@@ -199,14 +199,14 @@ class MatAutocomplete {
|
|
|
199
199
|
_skipPredicate() {
|
|
200
200
|
return false;
|
|
201
201
|
}
|
|
202
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
203
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "
|
|
202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
203
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.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-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 [@panelAnimation]=\"isOpen ? 'visible' : 'hidden'\"\n (@panelAnimation.done)=\"_animationDone.next($event)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-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-app-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}mat-autocomplete{display:none}"], animations: [panelAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
204
204
|
}
|
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocomplete, decorators: [{
|
|
206
206
|
type: Component,
|
|
207
207
|
args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
|
|
208
208
|
'class': 'mat-mdc-autocomplete',
|
|
209
|
-
}, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], animations: [panelAnimation], standalone: true, 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-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 [@panelAnimation]=\"isOpen ? 'visible' : 'hidden'\"\n (@panelAnimation.done)=\"_animationDone.next($event)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-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-app-surface-container))}
|
|
209
|
+
}, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], animations: [panelAnimation], standalone: true, 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-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 [@panelAnimation]=\"isOpen ? 'visible' : 'hidden'\"\n (@panelAnimation.done)=\"_animationDone.next($event)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-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-app-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}mat-autocomplete{display:none}"] }]
|
|
210
210
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
211
211
|
type: Inject,
|
|
212
212
|
args: [MAT_AUTOCOMPLETE_DEFAULT_OPTIONS]
|
|
@@ -270,10 +270,10 @@ class MatAutocompleteOrigin {
|
|
|
270
270
|
elementRef) {
|
|
271
271
|
this.elementRef = elementRef;
|
|
272
272
|
}
|
|
273
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
274
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
273
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
274
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.2", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 }); }
|
|
275
275
|
}
|
|
276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
|
|
277
277
|
type: Directive,
|
|
278
278
|
args: [{
|
|
279
279
|
selector: '[matAutocompleteOrigin]',
|
|
@@ -1089,10 +1089,10 @@ class MatAutocompleteTrigger {
|
|
|
1089
1089
|
this._trackedModal = null;
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
1092
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1093
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
1092
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocompleteTrigger, deps: [{ token: i0.ElementRef }, { token: i1$1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: MAT_AUTOCOMPLETE_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: MAT_FORM_FIELD, host: true, optional: true }, { token: DOCUMENT, optional: true }, { token: i3.ViewportRuler }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1093
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.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 }); }
|
|
1094
1094
|
}
|
|
1095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
|
|
1096
1096
|
type: Directive,
|
|
1097
1097
|
args: [{
|
|
1098
1098
|
selector: `input[matAutocomplete], textarea[matAutocomplete]`,
|
|
@@ -1157,8 +1157,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
1157
1157
|
}] } });
|
|
1158
1158
|
|
|
1159
1159
|
class MatAutocompleteModule {
|
|
1160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1161
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1161
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
|
|
1162
1162
|
MatOptionModule,
|
|
1163
1163
|
MatCommonModule,
|
|
1164
1164
|
CommonModule,
|
|
@@ -1170,14 +1170,14 @@ class MatAutocompleteModule {
|
|
|
1170
1170
|
MatCommonModule,
|
|
1171
1171
|
MatAutocompleteTrigger,
|
|
1172
1172
|
MatAutocompleteOrigin] }); }
|
|
1173
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1173
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
|
|
1174
1174
|
MatOptionModule,
|
|
1175
1175
|
MatCommonModule,
|
|
1176
1176
|
CommonModule, CdkScrollableModule,
|
|
1177
1177
|
MatOptionModule,
|
|
1178
1178
|
MatCommonModule] }); }
|
|
1179
1179
|
}
|
|
1180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.2", ngImport: i0, type: MatAutocompleteModule, decorators: [{
|
|
1181
1181
|
type: NgModule,
|
|
1182
1182
|
args: [{
|
|
1183
1183
|
imports: [
|