@angular/material 19.2.2 → 19.2.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 +83 -124
- package/autocomplete/testing/index.d.ts +5 -11
- package/badge/index.d.ts +17 -30
- package/badge/testing/index.d.ts +5 -8
- package/bottom-sheet/index.d.ts +88 -103
- package/bottom-sheet/testing/index.d.ts +4 -6
- package/button/index.d.ts +109 -148
- package/button/testing/index.d.ts +6 -10
- package/button-toggle/index.d.ts +116 -142
- package/button-toggle/testing/index.d.ts +34 -36
- package/card/index.d.ts +79 -117
- package/card/testing/index.d.ts +11 -15
- package/checkbox/index.d.ts +55 -85
- package/checkbox/testing/index.d.ts +6 -10
- package/chips/index.d.ts +592 -690
- package/chips/testing/index.d.ts +78 -93
- package/core/index.d.ts +565 -669
- package/core/testing/index.d.ts +28 -32
- package/datepicker/index.d.ts +1323 -1479
- package/datepicker/testing/index.d.ts +109 -119
- package/dialog/index.d.ts +194 -246
- package/dialog/testing/index.d.ts +17 -26
- package/divider/index.d.ts +4 -10
- package/divider/testing/index.d.ts +4 -6
- package/expansion/index.d.ts +137 -189
- package/expansion/testing/index.d.ts +25 -31
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +26 -17
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +3 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +0 -4
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +5 -4
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +6 -6
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +0 -4
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +5 -5
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +0 -4
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +7 -7
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +42 -18
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +4 -8
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +0 -4
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +2 -6
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +0 -2
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +0 -4
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +0 -4
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +0 -4
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +15 -7
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +0 -4
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +2 -6
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +15 -7
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -6
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +0 -4
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +5 -5
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs +0 -4
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +5 -5
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +5 -4
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +14 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +9 -9
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +0 -4
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +0 -4
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +5 -5
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +10 -6
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +10 -6
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +0 -4
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +8 -15
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +1 -5
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +0 -4
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +15 -7
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +0 -4
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +251 -318
- package/form-field/testing/control/index.d.ts +2 -2
- package/form-field/testing/index.d.ts +14 -21
- package/grid-list/index.d.ts +124 -150
- package/grid-list/testing/index.d.ts +39 -44
- package/icon/index.d.ts +87 -108
- package/icon/testing/index.d.ts +38 -43
- package/index.d.ts +2 -3
- package/input/index.d.ts +27 -61
- package/input/testing/index.d.ts +16 -19
- package/list/index.d.ts +158 -241
- package/list/testing/index.d.ts +157 -179
- package/menu/index.d.ts +180 -231
- package/menu/testing/index.d.ts +17 -23
- package/package.json +2 -2
- package/paginator/index.d.ts +84 -97
- package/paginator/testing/index.d.ts +10 -14
- package/progress-bar/index.d.ts +38 -58
- package/progress-bar/testing/index.d.ts +7 -10
- package/progress-spinner/index.d.ts +38 -51
- package/progress-spinner/testing/index.d.ts +7 -10
- package/radio/index.d.ts +145 -168
- package/radio/testing/index.d.ts +61 -67
- 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-generate/theme-color/schema.json +10 -0
- package/schematics/ng-update/index_bundled.js +31 -31
- package/select/index.d.ts +77 -130
- package/select/testing/index.d.ts +10 -15
- package/sidenav/index.d.ts +47 -91
- package/sidenav/testing/index.d.ts +58 -63
- package/slide-toggle/index.d.ts +51 -84
- package/slide-toggle/testing/index.d.ts +17 -21
- package/slider/index.d.ts +277 -327
- package/slider/testing/index.d.ts +42 -47
- package/snack-bar/index.d.ts +147 -185
- package/snack-bar/testing/index.d.ts +7 -9
- package/sort/index.d.ts +94 -124
- package/sort/testing/index.d.ts +21 -24
- package/stepper/index.d.ts +108 -165
- package/stepper/testing/index.d.ts +43 -52
- package/table/index.d.ts +87 -153
- package/table/testing/index.d.ts +64 -78
- package/tabs/index.d.ts +306 -382
- package/tabs/testing/index.d.ts +67 -76
- package/timepicker/index.d.ts +123 -159
- package/timepicker/testing/index.d.ts +20 -26
- package/toolbar/index.d.ts +13 -25
- package/toolbar/testing/index.d.ts +13 -16
- package/tooltip/index.d.ts +88 -117
- package/tooltip/testing/index.d.ts +7 -10
- package/tree/index.d.ts +116 -163
- package/tree/testing/index.d.ts +52 -58
|
@@ -1,11 +1,37 @@
|
|
|
1
|
-
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { BaseHarnessFilters, ContentContainerComponentHarness, HarnessPredicate, HarnessLoader, ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
+
|
|
3
|
+
/** Possible orientations for a stepper. */
|
|
4
|
+
declare enum StepperOrientation {
|
|
5
|
+
HORIZONTAL = 0,
|
|
6
|
+
VERTICAL = 1
|
|
7
|
+
}
|
|
8
|
+
/** A set of criteria that can be used to filter a list of `MatStepHarness` instances. */
|
|
9
|
+
interface StepHarnessFilters extends BaseHarnessFilters {
|
|
10
|
+
/** Only find instances whose label matches the given value. */
|
|
11
|
+
label?: string | RegExp;
|
|
12
|
+
/** Only find steps with the given selected state. */
|
|
13
|
+
selected?: boolean;
|
|
14
|
+
/** Only find completed steps. */
|
|
15
|
+
completed?: boolean;
|
|
16
|
+
/** Only find steps that have errors. */
|
|
17
|
+
invalid?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** A set of criteria that can be used to filter a list of `MatStepperHarness` instances. */
|
|
20
|
+
interface StepperHarnessFilters extends BaseHarnessFilters {
|
|
21
|
+
/** Only find instances whose orientation matches the given value. */
|
|
22
|
+
orientation?: StepperOrientation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A set of criteria that can be used to filter a list of
|
|
26
|
+
* `MatStepperNextHarness` and `MatStepperPreviousHarness` instances.
|
|
27
|
+
*/
|
|
28
|
+
interface StepperButtonHarnessFilters extends BaseHarnessFilters {
|
|
29
|
+
/** Only find instances whose text matches the given value. */
|
|
30
|
+
text?: string | RegExp;
|
|
31
|
+
}
|
|
6
32
|
|
|
7
33
|
/** Harness for interacting with a standard Angular Material step in tests. */
|
|
8
|
-
|
|
34
|
+
declare class MatStepHarness extends ContentContainerComponentHarness<string> {
|
|
9
35
|
/** The selector for the host element of a `MatStep` instance. */
|
|
10
36
|
static hostSelector: string;
|
|
11
37
|
/**
|
|
@@ -49,7 +75,7 @@ export declare class MatStepHarness extends ContentContainerComponentHarness<str
|
|
|
49
75
|
}
|
|
50
76
|
|
|
51
77
|
/** Harness for interacting with a standard Material stepper in tests. */
|
|
52
|
-
|
|
78
|
+
declare class MatStepperHarness extends ComponentHarness {
|
|
53
79
|
/** The selector for the host element of a `MatStepper` instance. */
|
|
54
80
|
static hostSelector: string;
|
|
55
81
|
/**
|
|
@@ -74,8 +100,15 @@ export declare class MatStepperHarness extends ComponentHarness {
|
|
|
74
100
|
selectStep(filter?: StepHarnessFilters): Promise<void>;
|
|
75
101
|
}
|
|
76
102
|
|
|
103
|
+
/** Base class for stepper button harnesses. */
|
|
104
|
+
declare abstract class StepperButtonHarness extends ComponentHarness {
|
|
105
|
+
/** Gets the text of the button. */
|
|
106
|
+
getText(): Promise<string>;
|
|
107
|
+
/** Clicks the button. */
|
|
108
|
+
click(): Promise<void>;
|
|
109
|
+
}
|
|
77
110
|
/** Harness for interacting with a standard Angular Material stepper next button in tests. */
|
|
78
|
-
|
|
111
|
+
declare class MatStepperNextHarness extends StepperButtonHarness {
|
|
79
112
|
/** The selector for the host element of a `MatStep` instance. */
|
|
80
113
|
static hostSelector: string;
|
|
81
114
|
/**
|
|
@@ -86,9 +119,8 @@ export declare class MatStepperNextHarness extends StepperButtonHarness {
|
|
|
86
119
|
*/
|
|
87
120
|
static with(options?: StepperButtonHarnessFilters): HarnessPredicate<MatStepperNextHarness>;
|
|
88
121
|
}
|
|
89
|
-
|
|
90
122
|
/** Harness for interacting with a standard Angular Material stepper previous button in tests. */
|
|
91
|
-
|
|
123
|
+
declare class MatStepperPreviousHarness extends StepperButtonHarness {
|
|
92
124
|
/** The selector for the host element of a `MatStep` instance. */
|
|
93
125
|
static hostSelector: string;
|
|
94
126
|
/**
|
|
@@ -100,45 +132,4 @@ export declare class MatStepperPreviousHarness extends StepperButtonHarness {
|
|
|
100
132
|
static with(options?: StepperButtonHarnessFilters): HarnessPredicate<MatStepperPreviousHarness>;
|
|
101
133
|
}
|
|
102
134
|
|
|
103
|
-
|
|
104
|
-
export declare interface StepHarnessFilters extends BaseHarnessFilters {
|
|
105
|
-
/** Only find instances whose label matches the given value. */
|
|
106
|
-
label?: string | RegExp;
|
|
107
|
-
/** Only find steps with the given selected state. */
|
|
108
|
-
selected?: boolean;
|
|
109
|
-
/** Only find completed steps. */
|
|
110
|
-
completed?: boolean;
|
|
111
|
-
/** Only find steps that have errors. */
|
|
112
|
-
invalid?: boolean;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/** Base class for stepper button harnesses. */
|
|
116
|
-
declare abstract class StepperButtonHarness extends ComponentHarness {
|
|
117
|
-
/** Gets the text of the button. */
|
|
118
|
-
getText(): Promise<string>;
|
|
119
|
-
/** Clicks the button. */
|
|
120
|
-
click(): Promise<void>;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* A set of criteria that can be used to filter a list of
|
|
125
|
-
* `MatStepperNextHarness` and `MatStepperPreviousHarness` instances.
|
|
126
|
-
*/
|
|
127
|
-
export declare interface StepperButtonHarnessFilters extends BaseHarnessFilters {
|
|
128
|
-
/** Only find instances whose text matches the given value. */
|
|
129
|
-
text?: string | RegExp;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/** A set of criteria that can be used to filter a list of `MatStepperHarness` instances. */
|
|
133
|
-
export declare interface StepperHarnessFilters extends BaseHarnessFilters {
|
|
134
|
-
/** Only find instances whose orientation matches the given value. */
|
|
135
|
-
orientation?: StepperOrientation;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/** Possible orientations for a stepper. */
|
|
139
|
-
export declare enum StepperOrientation {
|
|
140
|
-
HORIZONTAL = 0,
|
|
141
|
-
VERTICAL = 1
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export { }
|
|
135
|
+
export { MatStepHarness, MatStepperHarness, MatStepperNextHarness, MatStepperPreviousHarness, type StepHarnessFilters, type StepperButtonHarnessFilters, type StepperHarnessFilters, StepperOrientation };
|
package/table/index.d.ts
CHANGED
|
@@ -1,85 +1,58 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { CdkCell } from '@angular/cdk/table';
|
|
3
|
-
import { CdkCellDef } from '@angular/cdk/table';
|
|
4
|
-
import { CdkColumnDef } from '@angular/cdk/table';
|
|
5
|
-
import { CdkFooterCell } from '@angular/cdk/table';
|
|
6
|
-
import { CdkFooterCellDef } from '@angular/cdk/table';
|
|
7
|
-
import { CdkFooterRow } from '@angular/cdk/table';
|
|
8
|
-
import { CdkFooterRowDef } from '@angular/cdk/table';
|
|
9
|
-
import { CdkHeaderCell } from '@angular/cdk/table';
|
|
10
|
-
import { CdkHeaderCellDef } from '@angular/cdk/table';
|
|
11
|
-
import { CdkHeaderRow } from '@angular/cdk/table';
|
|
12
|
-
import { CdkHeaderRowDef } from '@angular/cdk/table';
|
|
13
|
-
import { CdkNoDataRow } from '@angular/cdk/table';
|
|
14
|
-
import { CdkRow } from '@angular/cdk/table';
|
|
15
|
-
import { CdkRowDef } from '@angular/cdk/table';
|
|
16
|
-
import { CdkTable } from '@angular/cdk/table';
|
|
17
|
-
import { CdkTextColumn } from '@angular/cdk/table';
|
|
18
|
-
import { DataSource } from '@angular/cdk/collections';
|
|
1
|
+
import * as i2 from '@angular/cdk/table';
|
|
2
|
+
import { CdkTable, CdkCellDef, CdkHeaderCellDef, CdkFooterCellDef, CdkColumnDef, CdkHeaderCell, CdkFooterCell, CdkCell, CdkHeaderRowDef, CdkFooterRowDef, CdkRowDef, CdkHeaderRow, CdkFooterRow, CdkRow, CdkNoDataRow, CdkTextColumn } from '@angular/cdk/table';
|
|
19
3
|
import * as i0 from '@angular/core';
|
|
20
4
|
import * as i1 from '@angular/material/core';
|
|
21
|
-
import * as i2 from '@angular/cdk/table';
|
|
22
5
|
import { MatPaginator } from '@angular/material/paginator';
|
|
6
|
+
import { Subscription, BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { DataSource } from '@angular/cdk/collections';
|
|
23
8
|
import { MatSort } from '@angular/material/sort';
|
|
24
|
-
import { Subscription } from 'rxjs';
|
|
25
|
-
|
|
26
|
-
declare namespace i3 {
|
|
27
|
-
export {
|
|
28
|
-
MatRecycleRows,
|
|
29
|
-
MatTable
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare namespace i4 {
|
|
34
|
-
export {
|
|
35
|
-
MatCellDef,
|
|
36
|
-
MatHeaderCellDef,
|
|
37
|
-
MatFooterCellDef,
|
|
38
|
-
MatColumnDef,
|
|
39
|
-
MatHeaderCell,
|
|
40
|
-
MatFooterCell,
|
|
41
|
-
MatCell
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
declare namespace i5 {
|
|
46
|
-
export {
|
|
47
|
-
MatHeaderRowDef,
|
|
48
|
-
MatFooterRowDef,
|
|
49
|
-
MatRowDef,
|
|
50
|
-
MatHeaderRow,
|
|
51
|
-
MatFooterRow,
|
|
52
|
-
MatRow,
|
|
53
|
-
MatNoDataRow
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
9
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with
|
|
12
|
+
* tables that animate rows.
|
|
13
|
+
*/
|
|
14
|
+
declare class MatRecycleRows {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRecycleRows, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRecycleRows, "mat-table[recycleRows], table[mat-table][recycleRows]", never, {}, {}, never, never, true, never>;
|
|
61
17
|
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
18
|
+
declare class MatTable<T> extends CdkTable<T> {
|
|
19
|
+
/** Overrides the sticky CSS class set by the `CdkTable`. */
|
|
20
|
+
protected stickyCssClass: string;
|
|
21
|
+
/** Overrides the need to add position: sticky on every sticky cell element in `CdkTable`. */
|
|
22
|
+
protected needsPositionStickyOnElement: boolean;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatTable<any>, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTable<any>, "mat-table, table[mat-table]", ["matTable"], {}, {}, never, ["caption", "colgroup, col", "*"], true, never>;
|
|
67
25
|
}
|
|
68
26
|
|
|
69
27
|
/**
|
|
70
28
|
* Cell definition for the mat-table.
|
|
71
29
|
* Captures the template of a column's data row cell as well as cell-specific properties.
|
|
72
30
|
*/
|
|
73
|
-
|
|
31
|
+
declare class MatCellDef extends CdkCellDef {
|
|
74
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCellDef, never>;
|
|
75
33
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCellDef, "[matCellDef]", never, {}, {}, never, never, true, never>;
|
|
76
34
|
}
|
|
77
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Header cell definition for the mat-table.
|
|
37
|
+
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
38
|
+
*/
|
|
39
|
+
declare class MatHeaderCellDef extends CdkHeaderCellDef {
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderCellDef, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHeaderCellDef, "[matHeaderCellDef]", never, {}, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Footer cell definition for the mat-table.
|
|
45
|
+
* Captures the template of a column's footer cell and as well as cell-specific properties.
|
|
46
|
+
*/
|
|
47
|
+
declare class MatFooterCellDef extends CdkFooterCellDef {
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterCellDef, never>;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFooterCellDef, "[matFooterCellDef]", never, {}, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
78
51
|
/**
|
|
79
52
|
* Column definition for the mat-table.
|
|
80
53
|
* Defines a set of cells available for a table column.
|
|
81
54
|
*/
|
|
82
|
-
|
|
55
|
+
declare class MatColumnDef extends CdkColumnDef {
|
|
83
56
|
/** Unique name for this column. */
|
|
84
57
|
get name(): string;
|
|
85
58
|
set name(name: string);
|
|
@@ -93,108 +66,89 @@ export declare class MatColumnDef extends CdkColumnDef {
|
|
|
93
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatColumnDef, never>;
|
|
94
67
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatColumnDef, "[matColumnDef]", never, { "name": { "alias": "matColumnDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
95
68
|
}
|
|
96
|
-
|
|
69
|
+
/** Header cell template container that adds the right classes and role. */
|
|
70
|
+
declare class MatHeaderCell extends CdkHeaderCell {
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderCell, never>;
|
|
72
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHeaderCell, "mat-header-cell, th[mat-header-cell]", never, {}, {}, never, never, true, never>;
|
|
73
|
+
}
|
|
97
74
|
/** Footer cell template container that adds the right classes and role. */
|
|
98
|
-
|
|
75
|
+
declare class MatFooterCell extends CdkFooterCell {
|
|
99
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterCell, never>;
|
|
100
77
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFooterCell, "mat-footer-cell, td[mat-footer-cell]", never, {}, {}, never, never, true, never>;
|
|
101
78
|
}
|
|
79
|
+
/** Cell template container that adds the right classes and role. */
|
|
80
|
+
declare class MatCell extends CdkCell {
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCell, never>;
|
|
82
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCell, "mat-cell, td[mat-cell]", never, {}, {}, never, never, true, never>;
|
|
83
|
+
}
|
|
102
84
|
|
|
103
85
|
/**
|
|
104
|
-
*
|
|
105
|
-
* Captures the
|
|
86
|
+
* Header row definition for the mat-table.
|
|
87
|
+
* Captures the header row's template and other header properties such as the columns to display.
|
|
106
88
|
*/
|
|
107
|
-
|
|
108
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
109
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
/** Footer template container that contains the cell outlet. Adds the right class and role. */
|
|
113
|
-
export declare class MatFooterRow extends CdkFooterRow {
|
|
114
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterRow, never>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFooterRow, "mat-footer-row, tr[mat-footer-row]", ["matFooterRow"], {}, {}, never, never, true, never>;
|
|
89
|
+
declare class MatHeaderRowDef extends CdkHeaderRowDef {
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderRowDef, never>;
|
|
91
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHeaderRowDef, "[matHeaderRowDef]", never, { "columns": { "alias": "matHeaderRowDef"; "required": false; }; "sticky": { "alias": "matHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
|
|
92
|
+
static ngAcceptInputType_sticky: unknown;
|
|
116
93
|
}
|
|
117
|
-
|
|
118
94
|
/**
|
|
119
95
|
* Footer row definition for the mat-table.
|
|
120
96
|
* Captures the footer row's template and other footer properties such as the columns to display.
|
|
121
97
|
*/
|
|
122
|
-
|
|
98
|
+
declare class MatFooterRowDef extends CdkFooterRowDef {
|
|
123
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterRowDef, never>;
|
|
124
100
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFooterRowDef, "[matFooterRowDef]", never, { "columns": { "alias": "matFooterRowDef"; "required": false; }; "sticky": { "alias": "matFooterRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
|
|
125
101
|
static ngAcceptInputType_sticky: unknown;
|
|
126
102
|
}
|
|
127
|
-
|
|
128
|
-
/** Header cell template container that adds the right classes and role. */
|
|
129
|
-
export declare class MatHeaderCell extends CdkHeaderCell {
|
|
130
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderCell, never>;
|
|
131
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHeaderCell, "mat-header-cell, th[mat-header-cell]", never, {}, {}, never, never, true, never>;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
103
|
/**
|
|
135
|
-
*
|
|
136
|
-
* Captures the
|
|
104
|
+
* Data row definition for the mat-table.
|
|
105
|
+
* Captures the data row's template and other properties such as the columns to display and
|
|
106
|
+
* a when predicate that describes when this row should be used.
|
|
137
107
|
*/
|
|
138
|
-
|
|
139
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
140
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
108
|
+
declare class MatRowDef<T> extends CdkRowDef<T> {
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRowDef<any>, never>;
|
|
110
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRowDef<any>, "[matRowDef]", never, { "columns": { "alias": "matRowDefColumns"; "required": false; }; "when": { "alias": "matRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
|
|
141
111
|
}
|
|
142
|
-
|
|
143
112
|
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
144
|
-
|
|
113
|
+
declare class MatHeaderRow extends CdkHeaderRow {
|
|
145
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderRow, never>;
|
|
146
115
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatHeaderRow, "mat-header-row, tr[mat-header-row]", ["matHeaderRow"], {}, {}, never, never, true, never>;
|
|
147
116
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
static
|
|
156
|
-
static
|
|
117
|
+
/** Footer template container that contains the cell outlet. Adds the right class and role. */
|
|
118
|
+
declare class MatFooterRow extends CdkFooterRow {
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterRow, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatFooterRow, "mat-footer-row, tr[mat-footer-row]", ["matFooterRow"], {}, {}, never, never, true, never>;
|
|
121
|
+
}
|
|
122
|
+
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
123
|
+
declare class MatRow extends CdkRow {
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRow, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatRow, "mat-row, tr[mat-row]", ["matRow"], {}, {}, never, never, true, never>;
|
|
157
126
|
}
|
|
158
|
-
|
|
159
127
|
/** Row that can be used to display a message when no data is shown in the table. */
|
|
160
|
-
|
|
128
|
+
declare class MatNoDataRow extends CdkNoDataRow {
|
|
161
129
|
_contentClassName: string;
|
|
162
130
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatNoDataRow, never>;
|
|
163
131
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatNoDataRow, "ng-template[matNoDataRow]", never, {}, {}, never, never, true, never>;
|
|
164
132
|
}
|
|
165
133
|
|
|
166
134
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
176
|
-
export declare class MatRow extends CdkRow {
|
|
177
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatRow, never>;
|
|
178
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatRow, "mat-row, tr[mat-row]", ["matRow"], {}, {}, never, never, true, never>;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Data row definition for the mat-table.
|
|
183
|
-
* Captures the data row's template and other properties such as the columns to display and
|
|
184
|
-
* a when predicate that describes when this row should be used.
|
|
135
|
+
* Column that simply shows text content for the header and row cells. Assumes that the table
|
|
136
|
+
* is using the native table implementation (`<table>`).
|
|
137
|
+
*
|
|
138
|
+
* By default, the name of this column will be the header text and data property accessor.
|
|
139
|
+
* The header text can be overridden with the `headerText` input. Cell values can be overridden with
|
|
140
|
+
* the `dataAccessor` input. Change the text justification to the start or end using the `justify`
|
|
141
|
+
* input.
|
|
185
142
|
*/
|
|
186
|
-
|
|
187
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
188
|
-
static
|
|
143
|
+
declare class MatTextColumn<T> extends CdkTextColumn<T> {
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatTextColumn<any>, never>;
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTextColumn<any>, "mat-text-column", never, {}, {}, never, never, true, never>;
|
|
189
146
|
}
|
|
190
147
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
protected needsPositionStickyOnElement: boolean;
|
|
196
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatTable<any>, never>;
|
|
197
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTable<any>, "mat-table, table[mat-table]", ["matTable"], {}, {}, never, ["caption", "colgroup, col", "*"], true, never>;
|
|
148
|
+
declare class MatTableModule {
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatTableModule, never>;
|
|
150
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTableModule, never, [typeof i1.MatCommonModule, typeof i2.CdkTableModule, typeof MatTable, typeof MatRecycleRows, typeof MatHeaderCellDef, typeof MatHeaderRowDef, typeof MatColumnDef, typeof MatCellDef, typeof MatRowDef, typeof MatFooterCellDef, typeof MatFooterRowDef, typeof MatHeaderCell, typeof MatCell, typeof MatFooterCell, typeof MatHeaderRow, typeof MatRow, typeof MatFooterRow, typeof MatNoDataRow, typeof MatTextColumn], [typeof i1.MatCommonModule, typeof MatTable, typeof MatRecycleRows, typeof MatHeaderCellDef, typeof MatHeaderRowDef, typeof MatColumnDef, typeof MatCellDef, typeof MatRowDef, typeof MatFooterCellDef, typeof MatFooterRowDef, typeof MatHeaderCell, typeof MatCell, typeof MatFooterCell, typeof MatHeaderRow, typeof MatRow, typeof MatFooterRow, typeof MatNoDataRow, typeof MatTextColumn]>;
|
|
151
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatTableModule>;
|
|
198
152
|
}
|
|
199
153
|
|
|
200
154
|
/**
|
|
@@ -210,7 +164,7 @@ export declare class MatTable<T> extends CdkTable<T> {
|
|
|
210
164
|
* interactions. If your app needs to support more advanced use cases, consider implementing your
|
|
211
165
|
* own `DataSource`.
|
|
212
166
|
*/
|
|
213
|
-
|
|
167
|
+
declare class MatTableDataSource<T, P extends MatPaginator = MatPaginator> extends DataSource<T> {
|
|
214
168
|
/** Stream that emits when a new data array is set on the data source. */
|
|
215
169
|
private readonly _data;
|
|
216
170
|
/** Stream emitting render data to the table (depends on ordered data changes). */
|
|
@@ -333,24 +287,4 @@ export declare class MatTableDataSource<T, P extends MatPaginator = MatPaginator
|
|
|
333
287
|
disconnect(): void;
|
|
334
288
|
}
|
|
335
289
|
|
|
336
|
-
export
|
|
337
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatTableModule, never>;
|
|
338
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTableModule, never, [typeof i1.MatCommonModule, typeof i2.CdkTableModule, typeof i3.MatTable, typeof i3.MatRecycleRows, typeof i4.MatHeaderCellDef, typeof i5.MatHeaderRowDef, typeof i4.MatColumnDef, typeof i4.MatCellDef, typeof i5.MatRowDef, typeof i4.MatFooterCellDef, typeof i5.MatFooterRowDef, typeof i4.MatHeaderCell, typeof i4.MatCell, typeof i4.MatFooterCell, typeof i5.MatHeaderRow, typeof i5.MatRow, typeof i5.MatFooterRow, typeof i5.MatNoDataRow, typeof i6.MatTextColumn], [typeof i1.MatCommonModule, typeof i3.MatTable, typeof i3.MatRecycleRows, typeof i4.MatHeaderCellDef, typeof i5.MatHeaderRowDef, typeof i4.MatColumnDef, typeof i4.MatCellDef, typeof i5.MatRowDef, typeof i4.MatFooterCellDef, typeof i5.MatFooterRowDef, typeof i4.MatHeaderCell, typeof i4.MatCell, typeof i4.MatFooterCell, typeof i5.MatHeaderRow, typeof i5.MatRow, typeof i5.MatFooterRow, typeof i5.MatNoDataRow, typeof i6.MatTextColumn]>;
|
|
339
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatTableModule>;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* Column that simply shows text content for the header and row cells. Assumes that the table
|
|
344
|
-
* is using the native table implementation (`<table>`).
|
|
345
|
-
*
|
|
346
|
-
* By default, the name of this column will be the header text and data property accessor.
|
|
347
|
-
* The header text can be overridden with the `headerText` input. Cell values can be overridden with
|
|
348
|
-
* the `dataAccessor` input. Change the text justification to the start or end using the `justify`
|
|
349
|
-
* input.
|
|
350
|
-
*/
|
|
351
|
-
export declare class MatTextColumn<T> extends CdkTextColumn<T> {
|
|
352
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatTextColumn<any>, never>;
|
|
353
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTextColumn<any>, "mat-text-column", never, {}, {}, never, never, true, never>;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export { }
|
|
290
|
+
export { MatCell, MatCellDef, MatColumnDef, MatFooterCell, MatFooterCellDef, MatFooterRow, MatFooterRowDef, MatHeaderCell, MatHeaderCellDef, MatHeaderRow, MatHeaderRowDef, MatNoDataRow, MatRecycleRows, MatRow, MatRowDef, MatTable, MatTableDataSource, MatTableModule, MatTextColumn };
|