@angular/material 19.2.0-next.1 → 19.2.0-next.2
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/bottom-sheet/index.d.ts +17 -6
- package/button/_button-base.scss +3 -3
- package/checkbox/_checkbox-common.scss +10 -10
- package/core/index.d.ts +1 -0
- package/datepicker/index.d.ts +1 -0
- package/dialog/index.d.ts +5 -1
- package/fesm2022/autocomplete.mjs +13 -13
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +79 -50
- 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/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +16 -16
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +40 -40
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +74 -76
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +104 -111
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +31 -27
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +34 -34
- package/fesm2022/form-field.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.mjs +10 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +49 -49
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +27 -30
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +106 -69
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +14 -14
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +134 -91
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +43 -43
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +36 -43
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +10 -10
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/menu/index.d.ts +1 -5
- package/package.json +2 -2
- 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-update/index_bundled.js +31 -31
- package/select/index.d.ts +10 -8
- package/snack-bar/index.d.ts +8 -6
- package/timepicker/index.d.ts +4 -1
package/bottom-sheet/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
|
|
2
1
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
3
2
|
import { CdkDialogContainer } from '@angular/cdk/dialog';
|
|
4
3
|
import { ComponentRef } from '@angular/core';
|
|
@@ -69,7 +68,11 @@ export declare class MatBottomSheet implements OnDestroy {
|
|
|
69
68
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatBottomSheet>;
|
|
70
69
|
}
|
|
71
70
|
|
|
72
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Animations used by the Material bottom sheet.
|
|
73
|
+
* @deprecated No longer used. Will be removed.
|
|
74
|
+
* @breaking-change 21.0.0
|
|
75
|
+
*/
|
|
73
76
|
export declare const matBottomSheetAnimations: {
|
|
74
77
|
readonly bottomSheetState: AnimationTriggerMetadata;
|
|
75
78
|
};
|
|
@@ -94,7 +97,11 @@ export declare class MatBottomSheetConfig<D = any> {
|
|
|
94
97
|
disableClose?: boolean;
|
|
95
98
|
/** Aria label to assign to the bottom sheet element. */
|
|
96
99
|
ariaLabel?: string | null;
|
|
97
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Whether this is a modal dialog. Used to set the `aria-modal` attribute. Off by default,
|
|
102
|
+
* because it can interfere with other overlay-based components (e.g. `mat-select`) and because
|
|
103
|
+
* it is redundant since the dialog marks all outside content as `aria-hidden` anyway.
|
|
104
|
+
*/
|
|
98
105
|
ariaModal?: boolean;
|
|
99
106
|
/**
|
|
100
107
|
* Whether the bottom sheet should close when the user goes backwards/forwards in history.
|
|
@@ -129,10 +136,14 @@ export declare class MatBottomSheetConfig<D = any> {
|
|
|
129
136
|
*/
|
|
130
137
|
export declare class MatBottomSheetContainer extends CdkDialogContainer implements OnDestroy {
|
|
131
138
|
private _breakpointSubscription;
|
|
139
|
+
protected _animationsDisabled: boolean;
|
|
132
140
|
/** The state of the bottom sheet animations. */
|
|
133
141
|
_animationState: 'void' | 'visible' | 'hidden';
|
|
134
142
|
/** Emits whenever the state of the animation changes. */
|
|
135
|
-
_animationStateChanged: EventEmitter<
|
|
143
|
+
_animationStateChanged: EventEmitter<{
|
|
144
|
+
toState: "visible" | "hidden";
|
|
145
|
+
phase: "start" | "done";
|
|
146
|
+
}>;
|
|
136
147
|
/** Whether the component has been destroyed. */
|
|
137
148
|
private _destroyed;
|
|
138
149
|
constructor(...args: unknown[]);
|
|
@@ -141,8 +152,8 @@ export declare class MatBottomSheetContainer extends CdkDialogContainer implemen
|
|
|
141
152
|
/** Begin animation of the bottom sheet exiting from view. */
|
|
142
153
|
exit(): void;
|
|
143
154
|
ngOnDestroy(): void;
|
|
144
|
-
|
|
145
|
-
|
|
155
|
+
private _simulateAnimation;
|
|
156
|
+
protected _handleAnimationEvent(isStart: boolean, animationName: string): void;
|
|
146
157
|
protected _captureInitialFocus(): void;
|
|
147
158
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetContainer, never>;
|
|
148
159
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatBottomSheetContainer, "mat-bottom-sheet-container", never, {}, {}, never, never, true, never>;
|
package/button/_button-base.scss
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
@include layout-common.fill();
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
&:focus .mat-focus-indicator::before {
|
|
55
|
+
&:focus > .mat-focus-indicator::before {
|
|
56
56
|
content: '';
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
&.cdk-program-focused,
|
|
79
79
|
&.cdk-keyboard-focused,
|
|
80
80
|
&.mat-mdc-button-disabled-interactive:focus {
|
|
81
|
-
.mat-mdc-button-persistent-ripple::before {
|
|
81
|
+
> .mat-mdc-button-persistent-ripple::before {
|
|
82
82
|
@include token-utils.create-token-slot(opacity, focus-state-layer-opacity);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
&:active .mat-mdc-button-persistent-ripple::before {
|
|
86
|
+
&:active > .mat-mdc-button-persistent-ripple::before {
|
|
87
87
|
@include token-utils.create-token-slot(opacity, pressed-state-layer-opacity);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -457,7 +457,7 @@ $_fallback-size: 40px;
|
|
|
457
457
|
// MDC expects `.mdc-checkbox__ripple::before` to be the state layer, but we use
|
|
458
458
|
// `.mdc-checkbox__ripple` instead, so we emit the state layer slots ourselves.
|
|
459
459
|
&:hover {
|
|
460
|
-
.mdc-checkbox__ripple {
|
|
460
|
+
> .mdc-checkbox__ripple {
|
|
461
461
|
@include token-utils.create-token-slot(opacity, unselected-hover-state-layer-opacity);
|
|
462
462
|
@include token-utils.create-token-slot(
|
|
463
463
|
background-color,
|
|
@@ -465,7 +465,7 @@ $_fallback-size: 40px;
|
|
|
465
465
|
);
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
-
.mat-mdc-checkbox-ripple .mat-ripple-element {
|
|
468
|
+
> .mat-mdc-checkbox-ripple .mat-ripple-element {
|
|
469
469
|
@include token-utils.create-token-slot(
|
|
470
470
|
background-color,
|
|
471
471
|
unselected-hover-state-layer-color
|
|
@@ -474,7 +474,7 @@ $_fallback-size: 40px;
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.mdc-checkbox__native-control:focus {
|
|
477
|
-
&
|
|
477
|
+
& + .mdc-checkbox__ripple {
|
|
478
478
|
@include token-utils.create-token-slot(opacity, unselected-focus-state-layer-opacity);
|
|
479
479
|
@include token-utils.create-token-slot(
|
|
480
480
|
background-color,
|
|
@@ -490,8 +490,8 @@ $_fallback-size: 40px;
|
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
&:active .mdc-checkbox__native-control {
|
|
494
|
-
&
|
|
493
|
+
&:active > .mdc-checkbox__native-control {
|
|
494
|
+
& + .mdc-checkbox__ripple {
|
|
495
495
|
@include token-utils.create-token-slot(opacity, unselected-pressed-state-layer-opacity);
|
|
496
496
|
@include token-utils.create-token-slot(
|
|
497
497
|
background-color,
|
|
@@ -508,7 +508,7 @@ $_fallback-size: 40px;
|
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
&:hover .mdc-checkbox__native-control:checked {
|
|
511
|
-
&
|
|
511
|
+
& + .mdc-checkbox__ripple {
|
|
512
512
|
@include token-utils.create-token-slot(opacity, selected-hover-state-layer-opacity);
|
|
513
513
|
@include token-utils.create-token-slot(
|
|
514
514
|
background-color,
|
|
@@ -525,7 +525,7 @@ $_fallback-size: 40px;
|
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
.mdc-checkbox__native-control:focus:checked {
|
|
528
|
-
&
|
|
528
|
+
& + .mdc-checkbox__ripple {
|
|
529
529
|
@include token-utils.create-token-slot(opacity, selected-focus-state-layer-opacity);
|
|
530
530
|
@include token-utils.create-token-slot(
|
|
531
531
|
background-color,
|
|
@@ -541,8 +541,8 @@ $_fallback-size: 40px;
|
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
|
|
544
|
-
&:active .mdc-checkbox__native-control:checked {
|
|
545
|
-
&
|
|
544
|
+
&:active > .mdc-checkbox__native-control:checked {
|
|
545
|
+
& + .mdc-checkbox__ripple {
|
|
546
546
|
@include token-utils.create-token-slot(opacity, selected-pressed-state-layer-opacity);
|
|
547
547
|
@include token-utils.create-token-slot(
|
|
548
548
|
background-color,
|
|
@@ -561,7 +561,7 @@ $_fallback-size: 40px;
|
|
|
561
561
|
// Needs extra specificity to override the focus, hover, active states.
|
|
562
562
|
.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive & {
|
|
563
563
|
.mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element,
|
|
564
|
-
.mdc-checkbox__native-control
|
|
564
|
+
.mdc-checkbox__native-control + .mdc-checkbox__ripple {
|
|
565
565
|
@include token-utils.create-token-slot(
|
|
566
566
|
background-color,
|
|
567
567
|
unselected-hover-state-layer-color
|
package/core/index.d.ts
CHANGED
package/datepicker/index.d.ts
CHANGED
|
@@ -385,6 +385,7 @@ export declare class MatCalendarBody<D = any> implements OnChanges, OnDestroy, A
|
|
|
385
385
|
private _ngZone;
|
|
386
386
|
private _platform;
|
|
387
387
|
private _intl;
|
|
388
|
+
private _eventCleanups;
|
|
388
389
|
/**
|
|
389
390
|
* Used to skip the next focus event when rendering the preview range.
|
|
390
391
|
* We need a flag like this, because some browsers fire focus events asynchronously.
|
package/dialog/index.d.ts
CHANGED
|
@@ -272,7 +272,11 @@ export declare class MatDialogConfig<D = any> {
|
|
|
272
272
|
ariaLabelledBy?: string | null;
|
|
273
273
|
/** Aria label to assign to the dialog element. */
|
|
274
274
|
ariaLabel?: string | null;
|
|
275
|
-
/**
|
|
275
|
+
/**
|
|
276
|
+
* Whether this is a modal dialog. Used to set the `aria-modal` attribute. Off by default,
|
|
277
|
+
* because it can interfere with other overlay-based components (e.g. `mat-select`) and because
|
|
278
|
+
* it is redundant since the dialog marks all outside content as `aria-hidden` anyway.
|
|
279
|
+
*/
|
|
276
280
|
ariaModal?: boolean;
|
|
277
281
|
/**
|
|
278
282
|
* Where the dialog should focus on open.
|
|
@@ -223,10 +223,10 @@ class MatAutocomplete {
|
|
|
223
223
|
_skipPredicate() {
|
|
224
224
|
return false;
|
|
225
225
|
}
|
|
226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
227
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.
|
|
226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
227
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.3", 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:static;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}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
228
228
|
}
|
|
229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocomplete, decorators: [{
|
|
230
230
|
type: Component,
|
|
231
231
|
args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
|
|
232
232
|
'class': 'mat-mdc-autocomplete',
|
|
@@ -288,10 +288,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ng
|
|
|
288
288
|
class MatAutocompleteOrigin {
|
|
289
289
|
elementRef = inject(ElementRef);
|
|
290
290
|
constructor() { }
|
|
291
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
292
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.
|
|
291
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteOrigin, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
292
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.3", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 });
|
|
293
293
|
}
|
|
294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
|
|
295
295
|
type: Directive,
|
|
296
296
|
args: [{
|
|
297
297
|
selector: '[matAutocompleteOrigin]',
|
|
@@ -1135,10 +1135,10 @@ class MatAutocompleteTrigger {
|
|
|
1135
1135
|
this._trackedModal = null;
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
1139
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.
|
|
1138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1139
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.3", 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 });
|
|
1140
1140
|
}
|
|
1141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
|
|
1142
1142
|
type: Directive,
|
|
1143
1143
|
args: [{
|
|
1144
1144
|
selector: `input[matAutocomplete], textarea[matAutocomplete]`,
|
|
@@ -1180,8 +1180,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ng
|
|
|
1180
1180
|
}] } });
|
|
1181
1181
|
|
|
1182
1182
|
class MatAutocompleteModule {
|
|
1183
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
1184
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
|
1183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1184
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
|
|
1185
1185
|
MatOptionModule,
|
|
1186
1186
|
MatCommonModule,
|
|
1187
1187
|
MatAutocomplete,
|
|
@@ -1192,13 +1192,13 @@ class MatAutocompleteModule {
|
|
|
1192
1192
|
MatCommonModule,
|
|
1193
1193
|
MatAutocompleteTrigger,
|
|
1194
1194
|
MatAutocompleteOrigin] });
|
|
1195
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
|
1195
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
|
|
1196
1196
|
MatOptionModule,
|
|
1197
1197
|
MatCommonModule, CdkScrollableModule,
|
|
1198
1198
|
MatOptionModule,
|
|
1199
1199
|
MatCommonModule] });
|
|
1200
1200
|
}
|
|
1201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
1201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteModule, decorators: [{
|
|
1202
1202
|
type: NgModule,
|
|
1203
1203
|
args: [{
|
|
1204
1204
|
imports: [
|