@angular/material 19.1.0-next.2 → 19.1.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/autocomplete/index.d.ts +5 -5
- package/button/index.d.ts +2 -0
- package/core/index.d.ts +1 -0
- package/core/theming/_theming.scss +1 -1
- package/datepicker/index.d.ts +1 -0
- package/expansion/index.d.ts +2 -0
- package/fesm2022/autocomplete.mjs +54 -50
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button.mjs +39 -37
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +14 -14
- package/fesm2022/chips.mjs +40 -40
- package/fesm2022/core.mjs +73 -75
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +104 -111
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -25
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +30 -28
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +39 -37
- 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 +26 -32
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +58 -55
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +188 -146
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/progress-bar.mjs +12 -10
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/radio.mjs +15 -14
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/sidenav.mjs +28 -27
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +14 -14
- package/fesm2022/slider.mjs +38 -39
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/table.mjs +59 -70
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +58 -66
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +18 -16
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/tooltip.mjs +54 -76
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/form-field/index.d.ts +1 -0
- package/input/index.d.ts +8 -5
- package/list/index.d.ts +2 -0
- package/menu/index.d.ts +14 -19
- package/package.json +2 -2
- package/progress-bar/index.d.ts +2 -0
- package/radio/index.d.ts +2 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/sidenav/index.d.ts +1 -0
- package/slider/index.d.ts +4 -1
- package/tabs/index.d.ts +4 -2
- package/timepicker/index.d.ts +1 -0
- package/tooltip/index.d.ts +4 -5
package/fesm2022/tree.mjs
CHANGED
|
@@ -72,10 +72,10 @@ class MatTreeNode extends CdkTreeNode {
|
|
|
72
72
|
ngOnDestroy() {
|
|
73
73
|
super.ngOnDestroy();
|
|
74
74
|
}
|
|
75
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
76
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.
|
|
75
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNode, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
76
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.3", type: MatTreeNode, isStandalone: true, selector: "mat-tree-node", inputs: { tabIndexInputBinding: ["tabIndex", "tabIndexInputBinding", (value) => (value == null ? 0 : numberAttribute(value))], disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { activation: "activation", expandedChange: "expandedChange" }, host: { listeners: { "click": "_focusItem()" }, properties: { "attr.aria-expanded": "_getAriaExpanded()", "attr.aria-level": "level + 1", "attr.aria-posinset": "_getPositionInSet()", "attr.aria-setsize": "_getSetSize()", "tabindex": "_getTabindexAttribute()" }, classAttribute: "mat-tree-node" }, providers: [{ provide: CdkTreeNode, useExisting: MatTreeNode }], exportAs: ["matTreeNode"], usesInheritance: true, ngImport: i0 });
|
|
77
77
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNode, decorators: [{
|
|
79
79
|
type: Directive,
|
|
80
80
|
args: [{
|
|
81
81
|
selector: 'mat-tree-node',
|
|
@@ -108,10 +108,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2",
|
|
|
108
108
|
*/
|
|
109
109
|
class MatTreeNodeDef extends CdkTreeNodeDef {
|
|
110
110
|
data;
|
|
111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
112
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.
|
|
111
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNodeDef, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
112
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.3", type: MatTreeNodeDef, isStandalone: true, selector: "[matTreeNodeDef]", inputs: { when: ["matTreeNodeDefWhen", "when"], data: ["matTreeNode", "data"] }, providers: [{ provide: CdkTreeNodeDef, useExisting: MatTreeNodeDef }], usesInheritance: true, ngImport: i0 });
|
|
113
113
|
}
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNodeDef, decorators: [{
|
|
115
115
|
type: Directive,
|
|
116
116
|
args: [{
|
|
117
117
|
selector: '[matTreeNodeDef]',
|
|
@@ -160,14 +160,14 @@ class MatNestedTreeNode extends CdkNestedTreeNode {
|
|
|
160
160
|
ngOnDestroy() {
|
|
161
161
|
super.ngOnDestroy();
|
|
162
162
|
}
|
|
163
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
164
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.
|
|
163
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatNestedTreeNode, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
164
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.3", type: MatNestedTreeNode, isStandalone: true, selector: "mat-nested-tree-node", inputs: { node: ["matNestedTreeNode", "node"], disabled: ["disabled", "disabled", booleanAttribute], tabIndex: ["tabIndex", "tabIndex", (value) => (value == null ? 0 : numberAttribute(value))] }, outputs: { activation: "activation", expandedChange: "expandedChange" }, host: { classAttribute: "mat-nested-tree-node" }, providers: [
|
|
165
165
|
{ provide: CdkNestedTreeNode, useExisting: MatNestedTreeNode },
|
|
166
166
|
{ provide: CdkTreeNode, useExisting: MatNestedTreeNode },
|
|
167
167
|
{ provide: CDK_TREE_NODE_OUTLET_NODE, useExisting: MatNestedTreeNode },
|
|
168
168
|
], exportAs: ["matNestedTreeNode"], usesInheritance: true, ngImport: i0 });
|
|
169
169
|
}
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatNestedTreeNode, decorators: [{
|
|
171
171
|
type: Directive,
|
|
172
172
|
args: [{
|
|
173
173
|
selector: 'mat-nested-tree-node',
|
|
@@ -213,10 +213,10 @@ class MatTreeNodePadding extends CdkTreeNodePadding {
|
|
|
213
213
|
set indent(indent) {
|
|
214
214
|
this._setIndentInput(indent);
|
|
215
215
|
}
|
|
216
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
217
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.
|
|
216
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNodePadding, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
217
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.3", type: MatTreeNodePadding, isStandalone: true, selector: "[matTreeNodePadding]", inputs: { level: ["matTreeNodePadding", "level", numberAttribute], indent: ["matTreeNodePaddingIndent", "indent"] }, providers: [{ provide: CdkTreeNodePadding, useExisting: MatTreeNodePadding }], usesInheritance: true, ngImport: i0 });
|
|
218
218
|
}
|
|
219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNodePadding, decorators: [{
|
|
220
220
|
type: Directive,
|
|
221
221
|
args: [{
|
|
222
222
|
selector: '[matTreeNodePadding]',
|
|
@@ -237,15 +237,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2",
|
|
|
237
237
|
class MatTreeNodeOutlet {
|
|
238
238
|
viewContainer = inject(ViewContainerRef);
|
|
239
239
|
_node = inject(CDK_TREE_NODE_OUTLET_NODE, { optional: true });
|
|
240
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
241
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.
|
|
240
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNodeOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
241
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.3", type: MatTreeNodeOutlet, isStandalone: true, selector: "[matTreeNodeOutlet]", providers: [
|
|
242
242
|
{
|
|
243
243
|
provide: CdkTreeNodeOutlet,
|
|
244
244
|
useExisting: MatTreeNodeOutlet,
|
|
245
245
|
},
|
|
246
246
|
], ngImport: i0 });
|
|
247
247
|
}
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNodeOutlet, decorators: [{
|
|
249
249
|
type: Directive,
|
|
250
250
|
args: [{
|
|
251
251
|
selector: '[matTreeNodeOutlet]',
|
|
@@ -265,10 +265,10 @@ class MatTree extends CdkTree {
|
|
|
265
265
|
// Outlets within the tree's template where the dataNodes will be inserted.
|
|
266
266
|
// We need an initializer here to avoid a TS error. The value will be set in `ngAfterViewInit`.
|
|
267
267
|
_nodeOutlet = undefined;
|
|
268
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
269
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0-next.
|
|
268
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTree, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
269
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0-next.3", type: MatTree, isStandalone: true, selector: "mat-tree", host: { classAttribute: "mat-tree" }, providers: [{ provide: CdkTree, useExisting: MatTree }], viewQueries: [{ propertyName: "_nodeOutlet", first: true, predicate: MatTreeNodeOutlet, descendants: true, static: true }], exportAs: ["matTree"], usesInheritance: true, ngImport: i0, template: `<ng-container matTreeNodeOutlet></ng-container>`, isInline: true, styles: [".mat-tree{display:block;background-color:var(--mat-tree-container-background-color, var(--mat-sys-surface))}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color, var(--mat-sys-on-surface));font-family:var(--mat-tree-node-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-tree-node-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-tree-node-text-weight, var(--mat-sys-body-large-weight))}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height, 48px)}.mat-nested-tree-node{border-bottom-width:0}"], dependencies: [{ kind: "directive", type: MatTreeNodeOutlet, selector: "[matTreeNodeOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
270
270
|
}
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTree, decorators: [{
|
|
272
272
|
type: Component,
|
|
273
273
|
args: [{ selector: 'mat-tree', exportAs: 'matTree', template: `<ng-container matTreeNodeOutlet></ng-container>`, host: {
|
|
274
274
|
'class': 'mat-tree',
|
|
@@ -282,10 +282,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2",
|
|
|
282
282
|
* Wrapper for the CdkTree's toggle with Material design styles.
|
|
283
283
|
*/
|
|
284
284
|
class MatTreeNodeToggle extends CdkTreeNodeToggle {
|
|
285
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
286
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.
|
|
285
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNodeToggle, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
286
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.3", type: MatTreeNodeToggle, isStandalone: true, selector: "[matTreeNodeToggle]", inputs: { recursive: ["matTreeNodeToggleRecursive", "recursive"] }, providers: [{ provide: CdkTreeNodeToggle, useExisting: MatTreeNodeToggle }], usesInheritance: true, ngImport: i0 });
|
|
287
287
|
}
|
|
288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeNodeToggle, decorators: [{
|
|
289
289
|
type: Directive,
|
|
290
290
|
args: [{
|
|
291
291
|
selector: '[matTreeNodeToggle]',
|
|
@@ -304,8 +304,8 @@ const MAT_TREE_DIRECTIVES = [
|
|
|
304
304
|
MatTreeNodeOutlet,
|
|
305
305
|
];
|
|
306
306
|
class MatTreeModule {
|
|
307
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
308
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.
|
|
307
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
308
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeModule, imports: [CdkTreeModule, MatCommonModule, MatNestedTreeNode,
|
|
309
309
|
MatTreeNodeDef,
|
|
310
310
|
MatTreeNodePadding,
|
|
311
311
|
MatTreeNodeToggle,
|
|
@@ -318,9 +318,9 @@ class MatTreeModule {
|
|
|
318
318
|
MatTree,
|
|
319
319
|
MatTreeNode,
|
|
320
320
|
MatTreeNodeOutlet] });
|
|
321
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
321
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeModule, imports: [CdkTreeModule, MatCommonModule, MatCommonModule] });
|
|
322
322
|
}
|
|
323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: MatTreeModule, decorators: [{
|
|
324
324
|
type: NgModule,
|
|
325
325
|
args: [{
|
|
326
326
|
imports: [CdkTreeModule, MatCommonModule, ...MAT_TREE_DIRECTIVES],
|
package/form-field/index.d.ts
CHANGED
|
@@ -448,6 +448,7 @@ declare class MatFormFieldFloatingLabel implements OnDestroy {
|
|
|
448
448
|
*/
|
|
449
449
|
declare class MatFormFieldLineRipple implements OnDestroy {
|
|
450
450
|
private _elementRef;
|
|
451
|
+
private _cleanupTransitionEnd;
|
|
451
452
|
constructor(...args: unknown[]);
|
|
452
453
|
activate(): void;
|
|
453
454
|
deactivate(): void;
|
package/input/index.d.ts
CHANGED
|
@@ -60,14 +60,16 @@ export declare class MatInput implements MatFormFieldControl<any>, OnChanges, On
|
|
|
60
60
|
private _autofillMonitor;
|
|
61
61
|
private _ngZone;
|
|
62
62
|
protected _formField?: MatFormField | null | undefined;
|
|
63
|
+
private _renderer;
|
|
63
64
|
protected _uid: string;
|
|
64
65
|
protected _previousNativeValue: any;
|
|
65
66
|
private _inputValueAccessor;
|
|
66
67
|
private _signalBasedValueAccessor?;
|
|
67
68
|
private _previousPlaceholder;
|
|
68
69
|
private _errorStateTracker;
|
|
69
|
-
private _webkitBlinkWheelListenerAttached;
|
|
70
70
|
private _config;
|
|
71
|
+
private _cleanupIosKeyup;
|
|
72
|
+
private _cleanupWebkitWheel;
|
|
71
73
|
/** `aria-describedby` IDs assigned by the form field. */
|
|
72
74
|
private _formFieldDescribedBy;
|
|
73
75
|
/** Whether the component is being rendered on the server. */
|
|
@@ -207,10 +209,11 @@ export declare class MatInput implements MatFormFieldControl<any>, OnChanges, On
|
|
|
207
209
|
private _webkitBlinkWheelListener;
|
|
208
210
|
/**
|
|
209
211
|
* In blink and webkit browsers a focused number input does not increment or decrement its value
|
|
210
|
-
* on mouse wheel interaction unless a wheel event listener is attached to it or one of its
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
212
|
+
* on mouse wheel interaction unless a wheel event listener is attached to it or one of its
|
|
213
|
+
* ancestors or a passive wheel listener is attached somewhere in the DOM. For example: Hitting
|
|
214
|
+
* a tooltip once enables the mouse wheel input for all number inputs as long as it exists. In
|
|
215
|
+
* order to get reliable and intuitive behavior we apply a wheel event on our own thus making
|
|
216
|
+
* sure increment and decrement by mouse wheel works every time.
|
|
214
217
|
* @docs-private
|
|
215
218
|
*/
|
|
216
219
|
private _ensureWheelDefaultBehavior;
|
package/list/index.d.ts
CHANGED
|
@@ -442,8 +442,10 @@ export declare class MatNavList extends MatListBase {
|
|
|
442
442
|
export declare class MatSelectionList extends MatListBase implements SelectionList, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
443
443
|
_element: ElementRef<HTMLElement>;
|
|
444
444
|
private _ngZone;
|
|
445
|
+
private _renderer;
|
|
445
446
|
private _initialized;
|
|
446
447
|
private _keyManager;
|
|
448
|
+
private _listenerCleanups;
|
|
447
449
|
/** Emits when the list has been destroyed. */
|
|
448
450
|
private _destroyed;
|
|
449
451
|
/** Whether the list has been destroyed. */
|
package/menu/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit } from '@angular/core';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
|
|
4
3
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
5
4
|
import { Direction } from '@angular/cdk/bidi';
|
|
6
5
|
import { EventEmitter } from '@angular/core';
|
|
@@ -95,10 +94,14 @@ export declare const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
|
95
94
|
export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuItem>, OnInit, OnDestroy {
|
|
96
95
|
private _elementRef;
|
|
97
96
|
private _changeDetectorRef;
|
|
97
|
+
private _injector;
|
|
98
98
|
private _keyManager;
|
|
99
99
|
private _xPosition;
|
|
100
100
|
private _yPosition;
|
|
101
101
|
private _firstItemFocusRef?;
|
|
102
|
+
private _exitFallbackTimeout;
|
|
103
|
+
/** Whether animations are currently disabled. */
|
|
104
|
+
protected _animationsDisabled: boolean;
|
|
102
105
|
/** All items inside the menu. Includes items nested inside another menu. */
|
|
103
106
|
_allItems: QueryList<MatMenuItem>;
|
|
104
107
|
/** Only the direct descendant menu items. */
|
|
@@ -110,7 +113,7 @@ export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuIt
|
|
|
110
113
|
/** Current state of the panel animation. */
|
|
111
114
|
_panelAnimationState: 'void' | 'enter';
|
|
112
115
|
/** Emits whenever an animation on the menu completes. */
|
|
113
|
-
readonly _animationDone: Subject<
|
|
116
|
+
readonly _animationDone: Subject<"void" | "enter">;
|
|
114
117
|
/** Whether the menu is animating. */
|
|
115
118
|
_isAnimating: boolean;
|
|
116
119
|
/** Parent menu of the current menu panel. */
|
|
@@ -176,7 +179,6 @@ export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuIt
|
|
|
176
179
|
*/
|
|
177
180
|
readonly close: EventEmitter<MenuCloseReason>;
|
|
178
181
|
readonly panelId: string;
|
|
179
|
-
private _injector;
|
|
180
182
|
constructor(...args: unknown[]);
|
|
181
183
|
ngOnInit(): void;
|
|
182
184
|
ngAfterContentInit(): void;
|
|
@@ -216,13 +218,10 @@ export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuIt
|
|
|
216
218
|
* @docs-private
|
|
217
219
|
*/
|
|
218
220
|
setPositionClasses(posX?: MenuPositionX, posY?: MenuPositionY): void;
|
|
219
|
-
/** Starts the enter animation. */
|
|
220
|
-
_startAnimation(): void;
|
|
221
|
-
/** Resets the panel animation to its initial state. */
|
|
222
|
-
_resetAnimation(): void;
|
|
223
221
|
/** Callback that is invoked when the panel animation completes. */
|
|
224
|
-
_onAnimationDone(
|
|
225
|
-
_onAnimationStart(
|
|
222
|
+
protected _onAnimationDone(state: string): void;
|
|
223
|
+
protected _onAnimationStart(state: string): void;
|
|
224
|
+
_setIsOpen(isOpen: boolean): void;
|
|
226
225
|
/**
|
|
227
226
|
* Sets up a stream that will keep track of any newly-added menu items and will update the list
|
|
228
227
|
* of direct descendants. We collect the descendants this way, because `_allItems` can include
|
|
@@ -230,6 +229,8 @@ export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuIt
|
|
|
230
229
|
* when it comes to maintaining the item order.
|
|
231
230
|
*/
|
|
232
231
|
private _updateDirectDescendants;
|
|
232
|
+
/** Gets the menu panel DOM node. */
|
|
233
|
+
private _resolvePanel;
|
|
233
234
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenu, never>;
|
|
234
235
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenu, "mat-menu", ["matMenu"], { "backdropClass": { "alias": "backdropClass"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "overlapTrigger": { "alias": "overlapTrigger"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "panelClass": { "alias": "class"; "required": false; }; "classList": { "alias": "classList"; "required": false; }; }, { "closed": "closed"; "close": "close"; }, ["lazyContent", "_allItems", "items"], ["*"], true, never>;
|
|
235
236
|
static ngAcceptInputType_overlapTrigger: unknown;
|
|
@@ -241,6 +242,8 @@ export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuIt
|
|
|
241
242
|
* Animation duration and timing values are based on:
|
|
242
243
|
* https://material.io/guidelines/components/menus.html#menus-usage
|
|
243
244
|
* @docs-private
|
|
245
|
+
* @deprecated No longer used, will be removed.
|
|
246
|
+
* @breaking-change 21.0.0
|
|
244
247
|
*/
|
|
245
248
|
export declare const matMenuAnimations: {
|
|
246
249
|
readonly transformMenu: AnimationTriggerMetadata;
|
|
@@ -392,12 +395,14 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
392
395
|
private _ngZone;
|
|
393
396
|
private _scrollStrategy;
|
|
394
397
|
private _changeDetectorRef;
|
|
398
|
+
private _cleanupTouchstart;
|
|
395
399
|
private _portal;
|
|
396
400
|
private _overlayRef;
|
|
397
401
|
private _menuOpen;
|
|
398
402
|
private _closingActionsSubscription;
|
|
399
403
|
private _hoverSubscription;
|
|
400
404
|
private _menuCloseSubscription;
|
|
405
|
+
private _pendingRemoval;
|
|
401
406
|
/**
|
|
402
407
|
* We're specifically looking for a `MatMenu` here since the generic `MatMenuPanel`
|
|
403
408
|
* interface lacks some functionality around nested menus and animations.
|
|
@@ -408,11 +413,6 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
408
413
|
* Used to offset sub-menus to compensate for the padding.
|
|
409
414
|
*/
|
|
410
415
|
private _parentInnerPadding;
|
|
411
|
-
/**
|
|
412
|
-
* Handles touch start events on the trigger.
|
|
413
|
-
* Needs to be an arrow function so we can easily use addEventListener and removeEventListener.
|
|
414
|
-
*/
|
|
415
|
-
private _handleTouchStart;
|
|
416
416
|
_openedBy: Exclude<FocusOrigin, 'program' | null> | undefined;
|
|
417
417
|
/**
|
|
418
418
|
* @deprecated
|
|
@@ -474,11 +474,6 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
474
474
|
updatePosition(): void;
|
|
475
475
|
/** Closes the menu and does the necessary cleanup. */
|
|
476
476
|
private _destroyMenu;
|
|
477
|
-
/**
|
|
478
|
-
* This method sets the menu state to open and focuses the first item if
|
|
479
|
-
* the menu was opened via the keyboard.
|
|
480
|
-
*/
|
|
481
|
-
private _initMenu;
|
|
482
477
|
private _setIsMenuOpen;
|
|
483
478
|
/**
|
|
484
479
|
* This method creates the overlay from the provided menu's template and saves its
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material",
|
|
3
|
-
"version": "19.1.0-next.
|
|
3
|
+
"version": "19.1.0-next.3",
|
|
4
4
|
"description": "Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
},
|
|
355
355
|
"peerDependencies": {
|
|
356
356
|
"@angular/animations": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
357
|
-
"@angular/cdk": "19.1.0-next.
|
|
357
|
+
"@angular/cdk": "19.1.0-next.3",
|
|
358
358
|
"@angular/core": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
359
359
|
"@angular/common": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
360
360
|
"@angular/forms": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
package/progress-bar/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export declare class MatProgressBar implements AfterViewInit, OnDestroy {
|
|
|
37
37
|
readonly _elementRef: ElementRef<HTMLElement>;
|
|
38
38
|
private _ngZone;
|
|
39
39
|
private _changeDetectorRef;
|
|
40
|
+
private _renderer;
|
|
41
|
+
private _cleanupTransitionEnd;
|
|
40
42
|
_animationMode?: "NoopAnimations" | "BrowserAnimations" | null | undefined;
|
|
41
43
|
constructor(...args: unknown[]);
|
|
42
44
|
/** Flag that indicates whether NoopAnimations mode is set to true. */
|
package/radio/index.d.ts
CHANGED
|
@@ -51,7 +51,9 @@ export declare class MatRadioButton implements OnInit, AfterViewInit, DoCheck, O
|
|
|
51
51
|
private _radioDispatcher;
|
|
52
52
|
private _defaultOptions;
|
|
53
53
|
private _ngZone;
|
|
54
|
+
private _renderer;
|
|
54
55
|
private _uniqueId;
|
|
56
|
+
private _cleanupClick;
|
|
55
57
|
/** The unique ID for the radio button. */
|
|
56
58
|
id: string;
|
|
57
59
|
/** Analog to HTML 'name' attribute used to group radios for unique selection. */
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~19.1.0-next.
|
|
22
|
+
const fallbackMaterialVersionRange = `~19.1.0-next.3`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~19.1.0-next.
|
|
22
|
+
const fallbackMaterialVersionRange = `~19.1.0-next.3`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
package/sidenav/index.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export declare class MatDrawer implements AfterViewInit, AfterContentChecked, On
|
|
|
66
66
|
private _focusMonitor;
|
|
67
67
|
private _platform;
|
|
68
68
|
private _ngZone;
|
|
69
|
+
private _renderer;
|
|
69
70
|
private readonly _interactivityChecker;
|
|
70
71
|
private _doc;
|
|
71
72
|
_container?: MatDrawerContainer | null | undefined;
|
package/slider/index.d.ts
CHANGED
|
@@ -374,6 +374,8 @@ export declare class MatSliderThumb implements _MatSliderThumb, OnDestroy, Contr
|
|
|
374
374
|
readonly _elementRef: ElementRef<HTMLInputElement>;
|
|
375
375
|
readonly _cdr: ChangeDetectorRef;
|
|
376
376
|
protected _slider: _MatSlider;
|
|
377
|
+
private _platform;
|
|
378
|
+
private _listenerCleanups;
|
|
377
379
|
get value(): number;
|
|
378
380
|
set value(value: number);
|
|
379
381
|
/**
|
|
@@ -461,7 +463,6 @@ export declare class MatSliderThumb implements _MatSliderThumb, OnDestroy, Contr
|
|
|
461
463
|
* See https://github.com/angular/angular/issues/14988.
|
|
462
464
|
*/
|
|
463
465
|
protected _isControlInitialized: boolean;
|
|
464
|
-
private _platform;
|
|
465
466
|
constructor(...args: unknown[]);
|
|
466
467
|
ngOnDestroy(): void;
|
|
467
468
|
/** @docs-private */
|
|
@@ -601,6 +602,8 @@ export declare class MatSliderVisualThumb implements _MatSliderVisualThumb, Afte
|
|
|
601
602
|
readonly _cdr: ChangeDetectorRef;
|
|
602
603
|
private readonly _ngZone;
|
|
603
604
|
private _slider;
|
|
605
|
+
private _renderer;
|
|
606
|
+
private _listenerCleanups;
|
|
604
607
|
/** Whether the slider displays a numeric value label upon pressing the thumb. */
|
|
605
608
|
discrete: boolean;
|
|
606
609
|
/** Indicates which slider thumb this input corresponds to. */
|
package/tabs/index.d.ts
CHANGED
|
@@ -181,7 +181,11 @@ export declare abstract class MatPaginatedTabHeader implements AfterContentCheck
|
|
|
181
181
|
private _dir;
|
|
182
182
|
private _ngZone;
|
|
183
183
|
private _platform;
|
|
184
|
+
private _sharedResizeObserver;
|
|
185
|
+
private _injector;
|
|
186
|
+
private _renderer;
|
|
184
187
|
_animationMode: "NoopAnimations" | "BrowserAnimations" | null;
|
|
188
|
+
private _eventCleanups;
|
|
185
189
|
abstract _items: QueryList<MatPaginatedTabHeaderItem>;
|
|
186
190
|
abstract _inkBar: {
|
|
187
191
|
hide: () => void;
|
|
@@ -230,8 +234,6 @@ export declare abstract class MatPaginatedTabHeader implements AfterContentCheck
|
|
|
230
234
|
readonly selectFocusedIndex: EventEmitter<number>;
|
|
231
235
|
/** Event emitted when a label is focused. */
|
|
232
236
|
readonly indexFocused: EventEmitter<number>;
|
|
233
|
-
private _sharedResizeObserver;
|
|
234
|
-
private _injector;
|
|
235
237
|
constructor(...args: unknown[]);
|
|
236
238
|
/** Called when the user has selected an item via the keyboard. */
|
|
237
239
|
protected abstract _itemSelected(event: KeyboardEvent): void;
|
package/timepicker/index.d.ts
CHANGED
|
@@ -152,6 +152,7 @@ export declare class MatTimepickerInput<D> implements ControlValueAccessor, Vali
|
|
|
152
152
|
private _onChange;
|
|
153
153
|
private _onTouched;
|
|
154
154
|
private _validatorOnChange;
|
|
155
|
+
private _cleanupClick;
|
|
155
156
|
private _accessorDisabled;
|
|
156
157
|
private _localeSubscription;
|
|
157
158
|
private _timepickerSubscription;
|
package/tooltip/index.d.ts
CHANGED
|
@@ -80,6 +80,8 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
80
80
|
private _focusMonitor;
|
|
81
81
|
protected _dir: Directionality;
|
|
82
82
|
private _injector;
|
|
83
|
+
private _document;
|
|
84
|
+
private _renderer;
|
|
83
85
|
private _defaultOptions;
|
|
84
86
|
_overlayRef: OverlayRef | null;
|
|
85
87
|
_tooltipInstance: TooltipComponent | null;
|
|
@@ -142,10 +144,8 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
142
144
|
set tooltipClass(value: string | string[] | Set<string> | {
|
|
143
145
|
[key: string]: any;
|
|
144
146
|
});
|
|
145
|
-
/**
|
|
146
|
-
private readonly
|
|
147
|
-
/** Reference to the current document. */
|
|
148
|
-
private _document;
|
|
147
|
+
/** Cleanup functions for manually-bound events. */
|
|
148
|
+
private readonly _eventCleanups;
|
|
149
149
|
/** Timer started at the last `touchstart` event. */
|
|
150
150
|
private _touchstartTimeout;
|
|
151
151
|
/** Emits when the component is destroyed. */
|
|
@@ -202,7 +202,6 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
202
202
|
/** Binds the pointer events to the tooltip trigger. */
|
|
203
203
|
private _setupPointerEnterEventsIfNeeded;
|
|
204
204
|
private _setupPointerExitEventsIfNeeded;
|
|
205
|
-
private _addListeners;
|
|
206
205
|
private _platformSupportsMouseEvents;
|
|
207
206
|
/** Listener for the `wheel` event on the element. */
|
|
208
207
|
private _wheelListener;
|