@angular/material-experimental 20.0.0-next.0 → 20.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/column-resize/index.d.ts +62 -133
- package/fesm2022/column-resize.mjs +38 -42
- package/fesm2022/column-resize.mjs.map +1 -1
- package/fesm2022/material-experimental.mjs +1 -1
- package/fesm2022/material-experimental.mjs.map +1 -1
- package/fesm2022/menubar.mjs +10 -14
- package/fesm2022/menubar.mjs.map +1 -1
- package/fesm2022/popover-edit.mjs +25 -29
- package/fesm2022/popover-edit.mjs.map +1 -1
- package/fesm2022/selection.mjs +19 -23
- package/fesm2022/selection.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/menubar/index.d.ts +7 -20
- package/package.json +3 -3
- package/popover-edit/index.d.ts +27 -55
- package/selection/index.d.ts +43 -81
package/menubar/index.d.ts
CHANGED
|
@@ -1,25 +1,12 @@
|
|
|
1
|
-
import { CdkMenuBar } from '@angular/cdk/menu';
|
|
2
|
-
import { CdkMenuItem } from '@angular/cdk/menu';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
1
|
import * as i1 from '@angular/cdk/menu';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
MatMenuBar
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare namespace i3 {
|
|
13
|
-
export {
|
|
14
|
-
MatMenuBarItem
|
|
15
|
-
}
|
|
16
|
-
}
|
|
2
|
+
import { CdkMenuBar, CdkMenuItem } from '@angular/cdk/menu';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
17
4
|
|
|
18
5
|
/**
|
|
19
6
|
* A material design Menubar adhering to the functionality of CdkMenuBar. MatMenubar
|
|
20
7
|
* should contain MatMenubarItems which trigger their own sub-menus.
|
|
21
8
|
*/
|
|
22
|
-
|
|
9
|
+
declare class MatMenuBar extends CdkMenuBar {
|
|
23
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuBar, never>;
|
|
24
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenuBar, "mat-menubar", ["matMenubar"], {}, {}, never, ["*"], true, never>;
|
|
25
12
|
}
|
|
@@ -29,16 +16,16 @@ export declare class MatMenuBar extends CdkMenuBar {
|
|
|
29
16
|
* CdkMenuItemTrigger. Its main purpose is to trigger menus and it lives inside of
|
|
30
17
|
* MatMenubar.
|
|
31
18
|
*/
|
|
32
|
-
|
|
19
|
+
declare class MatMenuBarItem extends CdkMenuItem {
|
|
33
20
|
getLabel(): string;
|
|
34
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuBarItem, never>;
|
|
35
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenuBarItem, "mat-menubar-item", ["matMenubarItem"], {}, {}, never, ["*"], true, never>;
|
|
36
23
|
}
|
|
37
24
|
|
|
38
|
-
|
|
25
|
+
declare class MatMenuBarModule {
|
|
39
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuBarModule, never>;
|
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuBarModule, never, [typeof i1.CdkMenuModule, typeof
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuBarModule, never, [typeof i1.CdkMenuModule, typeof MatMenuBar, typeof MatMenuBarItem], [typeof MatMenuBar, typeof MatMenuBarItem]>;
|
|
41
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatMenuBarModule>;
|
|
42
29
|
}
|
|
43
30
|
|
|
44
|
-
export { }
|
|
31
|
+
export { MatMenuBar, MatMenuBarItem, MatMenuBarModule };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material-experimental",
|
|
3
|
-
"version": "20.0.0-next.
|
|
3
|
+
"version": "20.0.0-next.1",
|
|
4
4
|
"description": "Experimental components for Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@angular/cdk": "20.0.0-next.
|
|
41
|
+
"@angular/cdk": "20.0.0-next.1",
|
|
42
42
|
"@angular/core": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
|
|
43
43
|
"@angular/common": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
|
|
44
44
|
"@angular/forms": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
|
|
45
45
|
"@angular/platform-browser": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
|
|
46
|
-
"@angular/material": "20.0.0-next.
|
|
46
|
+
"@angular/material": "20.0.0-next.1"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"tslib": "^2.3.0"
|
package/popover-edit/index.d.ts
CHANGED
|
@@ -1,101 +1,73 @@
|
|
|
1
|
-
import { CdkEditClose } from '@angular/cdk-experimental/popover-edit';
|
|
2
|
-
import { CdkEditControl } from '@angular/cdk-experimental/popover-edit';
|
|
3
|
-
import { CdkEditOpen } from '@angular/cdk-experimental/popover-edit';
|
|
4
|
-
import { CdkEditRevert } from '@angular/cdk-experimental/popover-edit';
|
|
5
|
-
import { CdkPopoverEdit } from '@angular/cdk-experimental/popover-edit';
|
|
6
|
-
import { CdkPopoverEditTabOut } from '@angular/cdk-experimental/popover-edit';
|
|
7
|
-
import { CdkRowHoverContent } from '@angular/cdk-experimental/popover-edit';
|
|
8
|
-
import * as i0 from '@angular/core';
|
|
9
1
|
import * as i1 from '@angular/cdk-experimental/popover-edit';
|
|
2
|
+
import { CdkEditControl, CdkEditRevert, CdkEditClose, CdkPopoverEdit, CdkPopoverEditTabOut, CdkRowHoverContent, CdkEditOpen } from '@angular/cdk-experimental/popover-edit';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
10
4
|
import * as i2 from '@angular/material/core';
|
|
11
5
|
|
|
12
|
-
declare namespace i3 {
|
|
13
|
-
export {
|
|
14
|
-
MatPopoverEdit,
|
|
15
|
-
MatPopoverEditTabOut,
|
|
16
|
-
MatRowHoverContent,
|
|
17
|
-
MatEditOpen
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare namespace i4 {
|
|
22
|
-
export {
|
|
23
|
-
MatEditLens,
|
|
24
|
-
MatEditRevert,
|
|
25
|
-
MatEditClose
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/** Closes the lens on click. */
|
|
30
|
-
export declare class MatEditClose<FormValue> extends CdkEditClose<FormValue> {
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatEditClose<any>, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatEditClose<any>, "[matEditClose]", never, {}, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
6
|
/**
|
|
36
7
|
* A component that attaches to a form within the edit.
|
|
37
8
|
* It coordinates the form state with the table-wide edit system and handles
|
|
38
9
|
* closing the edit when the form is submitted or the user clicks
|
|
39
10
|
* out.
|
|
40
11
|
*/
|
|
41
|
-
|
|
12
|
+
declare class MatEditLens<FormValue> extends CdkEditControl<FormValue> {
|
|
42
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatEditLens<any>, never>;
|
|
43
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatEditLens<any>, "form[matEditLens]", never, { "clickOutBehavior": { "alias": "matEditLensClickOutBehavior"; "required": false; }; "preservedFormValue": { "alias": "matEditLensPreservedFormValue"; "required": false; }; "ignoreSubmitUnlessValid": { "alias": "matEditLensIgnoreSubmitUnlessValid"; "required": false; }; }, { "preservedFormValueChange": "matEditLensPreservedFormValueChange"; }, never, never, true, never>;
|
|
44
15
|
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Opens the closest edit popover to this element, whether it's associated with this exact
|
|
48
|
-
* element or an ancestor element.
|
|
49
|
-
*/
|
|
50
|
-
export declare class MatEditOpen extends CdkEditOpen {
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatEditOpen, never>;
|
|
52
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatEditOpen, "[matEditOpen]", never, {}, {}, never, never, true, never>;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
16
|
/** Reverts the form to its initial or previously submitted state on click. */
|
|
56
|
-
|
|
17
|
+
declare class MatEditRevert<FormValue> extends CdkEditRevert<FormValue> {
|
|
57
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatEditRevert<any>, never>;
|
|
58
19
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatEditRevert<any>, "button[matEditRevert]", never, {}, {}, never, never, true, never>;
|
|
59
20
|
}
|
|
21
|
+
/** Closes the lens on click. */
|
|
22
|
+
declare class MatEditClose<FormValue> extends CdkEditClose<FormValue> {
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatEditClose<any>, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatEditClose<any>, "[matEditClose]", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
60
26
|
|
|
61
27
|
/**
|
|
62
28
|
* Attaches an ng-template to a cell and shows it when instructed to by the
|
|
63
29
|
* EditEventDispatcher service.
|
|
64
30
|
* Makes the cell focusable.
|
|
65
31
|
*/
|
|
66
|
-
|
|
32
|
+
declare class MatPopoverEdit<C> extends CdkPopoverEdit<C> {
|
|
67
33
|
protected panelClass(): string;
|
|
68
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPopoverEdit<any>, never>;
|
|
69
35
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatPopoverEdit<any>, "[matPopoverEdit]:not([matPopoverEditTabOut])", never, { "template": { "alias": "matPopoverEdit"; "required": false; }; "context": { "alias": "matPopoverEditContext"; "required": false; }; "colspan": { "alias": "matPopoverEditColspan"; "required": false; }; "disabled": { "alias": "matPopoverEditDisabled"; "required": false; }; "ariaLabel": { "alias": "matPopoverEditAriaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
70
36
|
}
|
|
71
|
-
|
|
72
|
-
export declare class MatPopoverEditModule {
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatPopoverEditModule, never>;
|
|
74
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatPopoverEditModule, never, [typeof i1.CdkPopoverEditModule, typeof i2.MatCommonModule, typeof i3.MatPopoverEdit, typeof i3.MatPopoverEditTabOut, typeof i3.MatRowHoverContent, typeof i4.MatEditLens, typeof i4.MatEditRevert, typeof i4.MatEditClose, typeof i3.MatEditOpen], [typeof i3.MatPopoverEdit, typeof i3.MatPopoverEditTabOut, typeof i3.MatRowHoverContent, typeof i4.MatEditLens, typeof i4.MatEditRevert, typeof i4.MatEditClose, typeof i3.MatEditOpen, typeof i1.CdkEditable]>;
|
|
75
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatPopoverEditModule>;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
37
|
/**
|
|
79
38
|
* Attaches an ng-template to a cell and shows it when instructed to by the
|
|
80
39
|
* EditEventDispatcher service.
|
|
81
40
|
* Makes the cell focusable.
|
|
82
41
|
*/
|
|
83
|
-
|
|
42
|
+
declare class MatPopoverEditTabOut<C> extends CdkPopoverEditTabOut<C> {
|
|
84
43
|
protected panelClass(): string;
|
|
85
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPopoverEditTabOut<any>, never>;
|
|
86
45
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatPopoverEditTabOut<any>, "[matPopoverEdit][matPopoverEditTabOut]", never, { "template": { "alias": "matPopoverEdit"; "required": false; }; "context": { "alias": "matPopoverEditContext"; "required": false; }; "colspan": { "alias": "matPopoverEditColspan"; "required": false; }; "disabled": { "alias": "matPopoverEditDisabled"; "required": false; }; "ariaLabel": { "alias": "matPopoverEditAriaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
87
46
|
}
|
|
88
|
-
|
|
89
47
|
/**
|
|
90
48
|
* A structural directive that shows its contents when the table row containing
|
|
91
49
|
* it is hovered or when an element in the row has focus.
|
|
92
50
|
*/
|
|
93
|
-
|
|
51
|
+
declare class MatRowHoverContent extends CdkRowHoverContent {
|
|
94
52
|
protected initElement(element: HTMLElement): void;
|
|
95
53
|
protected makeElementHiddenButFocusable(element: HTMLElement): void;
|
|
96
54
|
protected makeElementVisible(element: HTMLElement): void;
|
|
97
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRowHoverContent, never>;
|
|
98
56
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRowHoverContent, "[matRowHoverContent]", never, {}, {}, never, never, true, never>;
|
|
99
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* Opens the closest edit popover to this element, whether it's associated with this exact
|
|
60
|
+
* element or an ancestor element.
|
|
61
|
+
*/
|
|
62
|
+
declare class MatEditOpen extends CdkEditOpen {
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatEditOpen, never>;
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatEditOpen, "[matEditOpen]", never, {}, {}, never, never, true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare class MatPopoverEditModule {
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatPopoverEditModule, never>;
|
|
69
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatPopoverEditModule, never, [typeof i1.CdkPopoverEditModule, typeof i2.MatCommonModule, typeof MatPopoverEdit, typeof MatPopoverEditTabOut, typeof MatRowHoverContent, typeof MatEditLens, typeof MatEditRevert, typeof MatEditClose, typeof MatEditOpen], [typeof MatPopoverEdit, typeof MatPopoverEditTabOut, typeof MatRowHoverContent, typeof MatEditLens, typeof MatEditRevert, typeof MatEditClose, typeof MatEditOpen, typeof i1.CdkEditable]>;
|
|
70
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatPopoverEditModule>;
|
|
71
|
+
}
|
|
100
72
|
|
|
101
|
-
export { }
|
|
73
|
+
export { MatEditClose, MatEditLens, MatEditOpen, MatEditRevert, MatPopoverEdit, MatPopoverEditModule, MatPopoverEditTabOut, MatRowHoverContent };
|
package/selection/index.d.ts
CHANGED
|
@@ -1,58 +1,24 @@
|
|
|
1
|
-
import { CdkRowSelection } from '@angular/cdk-experimental/selection';
|
|
2
|
-
|
|
3
|
-
import { CdkSelection } from '@angular/cdk-experimental/selection';
|
|
4
|
-
import { CdkSelectionToggle } from '@angular/cdk-experimental/selection';
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { CdkSelection, SelectionChange, CdkSelectAll, CdkSelectionToggle, CdkRowSelection } from '@angular/cdk-experimental/selection';
|
|
2
|
+
export { SelectionChange } from '@angular/cdk-experimental/selection';
|
|
6
3
|
import * as i0 from '@angular/core';
|
|
4
|
+
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
7
5
|
import * as i1 from '@angular/material/table';
|
|
8
6
|
import * as i2 from '@angular/material/checkbox';
|
|
9
|
-
import { OnDestroy } from '@angular/core';
|
|
10
|
-
import { OnInit } from '@angular/core';
|
|
11
|
-
import { SelectionChange } from '@angular/cdk-experimental/selection';
|
|
12
|
-
|
|
13
|
-
declare namespace i3 {
|
|
14
|
-
export {
|
|
15
|
-
MatSelectAll
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
declare namespace i4 {
|
|
20
|
-
export {
|
|
21
|
-
MatSelection,
|
|
22
|
-
SelectionChange
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
declare namespace i5 {
|
|
27
|
-
export {
|
|
28
|
-
MatSelectionToggle
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
declare namespace i6 {
|
|
33
|
-
export {
|
|
34
|
-
MatSelectionColumn
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
declare namespace i7 {
|
|
39
|
-
export {
|
|
40
|
-
MatRowSelection
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
7
|
|
|
44
8
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* directive.
|
|
9
|
+
* Manages the selection states of the items and provides methods to check and update the selection
|
|
10
|
+
* states.
|
|
11
|
+
* It must be applied to the parent element if `matSelectionToggle`, `matSelectAll`,
|
|
12
|
+
* `matRowSelection` and `matSelectionColumn` are applied.
|
|
50
13
|
*/
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
14
|
+
declare class MatSelection<T> extends CdkSelection<T> {
|
|
15
|
+
/** Whether to support multiple selection */
|
|
16
|
+
get multiple(): boolean;
|
|
17
|
+
set multiple(multiple: boolean);
|
|
18
|
+
/** Emits when selection changes. */
|
|
19
|
+
readonly change: EventEmitter<SelectionChange<T>>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelection<any>, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelection<any>, "[matSelection]", ["matSelection"], { "multiple": { "alias": "matSelectionMultiple"; "required": false; }; }, { "change": "matSelectionChange"; }, never, never, true, never>;
|
|
56
22
|
}
|
|
57
23
|
|
|
58
24
|
/**
|
|
@@ -65,25 +31,26 @@ export declare class MatRowSelection<T> extends CdkRowSelection<T> {
|
|
|
65
31
|
* not, use `checked` to get the checked state, `indeterminate` to get the indeterminate state,
|
|
66
32
|
* and `toggle()` to change the selection state.
|
|
67
33
|
*/
|
|
68
|
-
|
|
34
|
+
declare class MatSelectAll<T> extends CdkSelectAll<T> {
|
|
69
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectAll<any>, never>;
|
|
70
36
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelectAll<any>, "[matSelectAll]", ["matSelectAll"], {}, {}, never, never, true, never>;
|
|
71
37
|
}
|
|
72
38
|
|
|
73
39
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* `
|
|
40
|
+
* Makes the element a selection toggle.
|
|
41
|
+
*
|
|
42
|
+
* Must be used within a parent `MatSelection` directive.
|
|
43
|
+
* Must be provided with the value. If `trackBy` is used on `MatSelection`, the index of the value
|
|
44
|
+
* is required. If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive
|
|
45
|
+
* automatically connects it with the selection state provided by the `MatSelection` directive. If
|
|
46
|
+
* not, use `checked$` to get the checked state of the value, and `toggle()` to change the selection
|
|
47
|
+
* state.
|
|
78
48
|
*/
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
readonly change: EventEmitter<SelectionChange<T>>;
|
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelection<any>, never>;
|
|
86
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelection<any>, "[matSelection]", ["matSelection"], { "multiple": { "alias": "matSelectionMultiple"; "required": false; }; }, { "change": "matSelectionChange"; }, never, never, true, never>;
|
|
49
|
+
declare class MatSelectionToggle<T> extends CdkSelectionToggle<T> {
|
|
50
|
+
/** The value that is associated with the toggle */
|
|
51
|
+
value: T;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectionToggle<any>, never>;
|
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelectionToggle<any>, "[matSelectionToggle]", ["matSelectionToggle"], { "index": { "alias": "matSelectionToggleIndex"; "required": false; }; "value": { "alias": "matSelectionToggleValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
87
54
|
}
|
|
88
55
|
|
|
89
56
|
/**
|
|
@@ -92,7 +59,7 @@ export declare class MatSelection<T> extends CdkSelection<T> {
|
|
|
92
59
|
*
|
|
93
60
|
* Must be used within a parent `MatSelection` directive.
|
|
94
61
|
*/
|
|
95
|
-
|
|
62
|
+
declare class MatSelectionColumn<T> implements OnInit, OnDestroy {
|
|
96
63
|
private _table;
|
|
97
64
|
readonly selection: MatSelection<T> | null;
|
|
98
65
|
/** Column name that should be used to reference this column. */
|
|
@@ -109,29 +76,24 @@ export declare class MatSelectionColumn<T> implements OnInit, OnDestroy {
|
|
|
109
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelectionColumn<any>, "mat-selection-column", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
110
77
|
}
|
|
111
78
|
|
|
112
|
-
export declare class MatSelectionModule {
|
|
113
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectionModule, never>;
|
|
114
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectionModule, never, [typeof i1.MatTableModule, typeof i2.MatCheckboxModule, typeof i3.MatSelectAll, typeof i4.MatSelection, typeof i5.MatSelectionToggle, typeof i6.MatSelectionColumn, typeof i7.MatRowSelection], [typeof i3.MatSelectAll, typeof i4.MatSelection, typeof i5.MatSelectionToggle, typeof i6.MatSelectionColumn, typeof i7.MatRowSelection]>;
|
|
115
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectionModule>;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
79
|
/**
|
|
119
|
-
*
|
|
80
|
+
* Applies `mat-selected` class and `aria-selected` to an element.
|
|
120
81
|
*
|
|
121
82
|
* Must be used within a parent `MatSelection` directive.
|
|
122
|
-
* Must be provided with the value.
|
|
123
|
-
*
|
|
124
|
-
* automatically connects it with the selection state provided by the `MatSelection` directive. If
|
|
125
|
-
* not, use `checked$` to get the checked state of the value, and `toggle()` to change the selection
|
|
126
|
-
* state.
|
|
83
|
+
* Must be provided with the value. The index is required if `trackBy` is used on the `CdkSelection`
|
|
84
|
+
* directive.
|
|
127
85
|
*/
|
|
128
|
-
|
|
129
|
-
/** The value that is associated with the
|
|
86
|
+
declare class MatRowSelection<T> extends CdkRowSelection<T> {
|
|
87
|
+
/** The value that is associated with the row */
|
|
130
88
|
value: T;
|
|
131
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
132
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRowSelection<any>, never>;
|
|
90
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRowSelection<any>, "[matRowSelection]", never, { "index": { "alias": "matRowSelectionIndex"; "required": false; }; "value": { "alias": "matRowSelectionValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
133
91
|
}
|
|
134
92
|
|
|
135
|
-
|
|
93
|
+
declare class MatSelectionModule {
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectionModule, never>;
|
|
95
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectionModule, never, [typeof i1.MatTableModule, typeof i2.MatCheckboxModule, typeof MatSelectAll, typeof MatSelection, typeof MatSelectionToggle, typeof MatSelectionColumn, typeof MatRowSelection], [typeof MatSelectAll, typeof MatSelection, typeof MatSelectionToggle, typeof MatSelectionColumn, typeof MatRowSelection]>;
|
|
96
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectionModule>;
|
|
97
|
+
}
|
|
136
98
|
|
|
137
|
-
export { }
|
|
99
|
+
export { MatRowSelection, MatSelectAll, MatSelection, MatSelectionColumn, MatSelectionModule, MatSelectionToggle };
|