@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,10 +1,21 @@
|
|
|
1
|
-
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
-
import { ComponentHarness } from '@angular/cdk/testing';
|
|
3
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
4
2
|
import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control';
|
|
5
3
|
|
|
4
|
+
/** A set of criteria that can be used to filter a list of datepicker input instances. */
|
|
5
|
+
interface DatepickerInputHarnessFilters extends BaseHarnessFilters {
|
|
6
|
+
/** Filters based on the value of the input. */
|
|
7
|
+
value?: string | RegExp;
|
|
8
|
+
/** Filters based on the placeholder text of the input. */
|
|
9
|
+
placeholder?: string | RegExp;
|
|
10
|
+
}
|
|
11
|
+
/** A set of criteria that can be used to filter a list of datepicker toggle instances. */
|
|
12
|
+
interface DatepickerToggleHarnessFilters extends BaseHarnessFilters {
|
|
13
|
+
}
|
|
14
|
+
/** A set of criteria that can be used to filter a list of calendar instances. */
|
|
15
|
+
interface CalendarHarnessFilters extends BaseHarnessFilters {
|
|
16
|
+
}
|
|
6
17
|
/** A set of criteria that can be used to filter a list of calendar cell instances. */
|
|
7
|
-
|
|
18
|
+
interface CalendarCellHarnessFilters extends BaseHarnessFilters {
|
|
8
19
|
/** Filters based on the text of the cell. */
|
|
9
20
|
text?: string | RegExp;
|
|
10
21
|
/** Filters based on whether the cell is selected. */
|
|
@@ -22,68 +33,47 @@ export declare interface CalendarCellHarnessFilters extends BaseHarnessFilters {
|
|
|
22
33
|
/** Filters based on whether the cell is inside of the preview range. */
|
|
23
34
|
inPreviewRange?: boolean;
|
|
24
35
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare interface CalendarHarnessFilters extends BaseHarnessFilters {
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/** Possible views of a `MatCalendarHarness`. */
|
|
31
|
-
export declare enum CalendarView {
|
|
32
|
-
MONTH = 0,
|
|
33
|
-
YEAR = 1,
|
|
34
|
-
MULTI_YEAR = 2
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/** A set of criteria that can be used to filter a list of datepicker input instances. */
|
|
38
|
-
export declare interface DatepickerInputHarnessFilters extends BaseHarnessFilters {
|
|
36
|
+
/** A set of criteria that can be used to filter a list of date range input instances. */
|
|
37
|
+
interface DateRangeInputHarnessFilters extends BaseHarnessFilters {
|
|
39
38
|
/** Filters based on the value of the input. */
|
|
40
39
|
value?: string | RegExp;
|
|
41
|
-
/** Filters based on the placeholder text of the input. */
|
|
42
|
-
placeholder?: string | RegExp;
|
|
43
40
|
}
|
|
44
41
|
|
|
45
|
-
/**
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
closeCalendar(): Promise<void>;
|
|
54
|
-
hasCalendar(): Promise<boolean>;
|
|
55
|
-
getCalendar(filter?: CalendarHarnessFilters): Promise<MatCalendarHarness>;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/** Base class for harnesses that can trigger a calendar. */
|
|
59
|
-
declare abstract class DatepickerTriggerHarnessBase extends ComponentHarness implements DatepickerTrigger {
|
|
60
|
-
/** Whether the trigger is disabled. */
|
|
61
|
-
abstract isDisabled(): Promise<boolean>;
|
|
62
|
-
/** Whether the calendar associated with the trigger is open. */
|
|
63
|
-
abstract isCalendarOpen(): Promise<boolean>;
|
|
64
|
-
/** Opens the calendar associated with the trigger. */
|
|
65
|
-
protected abstract _openCalendar(): Promise<void>;
|
|
66
|
-
/** Opens the calendar if the trigger is enabled and it has a calendar. */
|
|
67
|
-
openCalendar(): Promise<void>;
|
|
68
|
-
/** Closes the calendar if it is open. */
|
|
69
|
-
closeCalendar(): Promise<void>;
|
|
70
|
-
/** Gets whether there is a calendar associated with the trigger. */
|
|
71
|
-
hasCalendar(): Promise<boolean>;
|
|
42
|
+
/** Base class for datepicker input harnesses. */
|
|
43
|
+
declare abstract class MatDatepickerInputHarnessBase extends MatFormFieldControlHarness {
|
|
44
|
+
/** Whether the input is disabled. */
|
|
45
|
+
isDisabled(): Promise<boolean>;
|
|
46
|
+
/** Whether the input is required. */
|
|
47
|
+
isRequired(): Promise<boolean>;
|
|
48
|
+
/** Gets the value of the input. */
|
|
49
|
+
getValue(): Promise<string>;
|
|
72
50
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
51
|
+
* Sets the value of the input. The value will be set by simulating
|
|
52
|
+
* keypresses that correspond to the given value.
|
|
75
53
|
*/
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
54
|
+
setValue(newValue: string): Promise<void>;
|
|
55
|
+
/** Gets the placeholder of the input. */
|
|
56
|
+
getPlaceholder(): Promise<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Focuses the input and returns a promise that indicates when the
|
|
59
|
+
* action is complete.
|
|
60
|
+
*/
|
|
61
|
+
focus(): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Blurs the input and returns a promise that indicates when the
|
|
64
|
+
* action is complete.
|
|
65
|
+
*/
|
|
66
|
+
blur(): Promise<void>;
|
|
67
|
+
/** Whether the input is focused. */
|
|
68
|
+
isFocused(): Promise<boolean>;
|
|
69
|
+
/** Gets the formatted minimum date for the input's value. */
|
|
70
|
+
getMin(): Promise<string | null>;
|
|
71
|
+
/** Gets the formatted maximum date for the input's value. */
|
|
72
|
+
getMax(): Promise<string | null>;
|
|
83
73
|
}
|
|
84
74
|
|
|
85
75
|
/** Harness for interacting with a standard Material calendar cell in tests. */
|
|
86
|
-
|
|
76
|
+
declare class MatCalendarCellHarness extends ComponentHarness {
|
|
87
77
|
static hostSelector: string;
|
|
88
78
|
/** Reference to the inner content element inside the cell. */
|
|
89
79
|
private _content;
|
|
@@ -138,8 +128,14 @@ export declare class MatCalendarCellHarness extends ComponentHarness {
|
|
|
138
128
|
private _hasState;
|
|
139
129
|
}
|
|
140
130
|
|
|
131
|
+
/** Possible views of a `MatCalendarHarness`. */
|
|
132
|
+
declare enum CalendarView {
|
|
133
|
+
MONTH = 0,
|
|
134
|
+
YEAR = 1,
|
|
135
|
+
MULTI_YEAR = 2
|
|
136
|
+
}
|
|
141
137
|
/** Harness for interacting with a standard Material calendar in tests. */
|
|
142
|
-
|
|
138
|
+
declare class MatCalendarHarness extends ComponentHarness {
|
|
143
139
|
static hostSelector: string;
|
|
144
140
|
/** Queries for the calendar's period toggle button. */
|
|
145
141
|
private _periodButton;
|
|
@@ -176,8 +172,37 @@ export declare class MatCalendarHarness extends ComponentHarness {
|
|
|
176
172
|
selectCell(filter?: CalendarCellHarnessFilters): Promise<void>;
|
|
177
173
|
}
|
|
178
174
|
|
|
175
|
+
/** Interface for a test harness that can open and close a calendar. */
|
|
176
|
+
interface DatepickerTrigger {
|
|
177
|
+
isCalendarOpen(): Promise<boolean>;
|
|
178
|
+
openCalendar(): Promise<void>;
|
|
179
|
+
closeCalendar(): Promise<void>;
|
|
180
|
+
hasCalendar(): Promise<boolean>;
|
|
181
|
+
getCalendar(filter?: CalendarHarnessFilters): Promise<MatCalendarHarness>;
|
|
182
|
+
}
|
|
183
|
+
/** Base class for harnesses that can trigger a calendar. */
|
|
184
|
+
declare abstract class DatepickerTriggerHarnessBase extends ComponentHarness implements DatepickerTrigger {
|
|
185
|
+
/** Whether the trigger is disabled. */
|
|
186
|
+
abstract isDisabled(): Promise<boolean>;
|
|
187
|
+
/** Whether the calendar associated with the trigger is open. */
|
|
188
|
+
abstract isCalendarOpen(): Promise<boolean>;
|
|
189
|
+
/** Opens the calendar associated with the trigger. */
|
|
190
|
+
protected abstract _openCalendar(): Promise<void>;
|
|
191
|
+
/** Opens the calendar if the trigger is enabled and it has a calendar. */
|
|
192
|
+
openCalendar(): Promise<void>;
|
|
193
|
+
/** Closes the calendar if it is open. */
|
|
194
|
+
closeCalendar(): Promise<void>;
|
|
195
|
+
/** Gets whether there is a calendar associated with the trigger. */
|
|
196
|
+
hasCalendar(): Promise<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* Gets the `MatCalendarHarness` that is associated with the trigger.
|
|
199
|
+
* @param filter Optionally filters which calendar is included.
|
|
200
|
+
*/
|
|
201
|
+
getCalendar(filter?: CalendarHarnessFilters): Promise<MatCalendarHarness>;
|
|
202
|
+
}
|
|
203
|
+
|
|
179
204
|
/** Harness for interacting with a standard Material datepicker inputs in tests. */
|
|
180
|
-
|
|
205
|
+
declare class MatDatepickerInputHarness extends MatDatepickerInputHarnessBase implements DatepickerTrigger {
|
|
181
206
|
static hostSelector: string;
|
|
182
207
|
/**
|
|
183
208
|
* Gets a `HarnessPredicate` that can be used to search for a `MatDatepickerInputHarness`
|
|
@@ -201,41 +226,8 @@ export declare class MatDatepickerInputHarness extends MatDatepickerInputHarness
|
|
|
201
226
|
getCalendar(filter?: CalendarHarnessFilters): Promise<MatCalendarHarness>;
|
|
202
227
|
}
|
|
203
228
|
|
|
204
|
-
/** Base class for datepicker input harnesses. */
|
|
205
|
-
declare abstract class MatDatepickerInputHarnessBase extends MatFormFieldControlHarness {
|
|
206
|
-
/** Whether the input is disabled. */
|
|
207
|
-
isDisabled(): Promise<boolean>;
|
|
208
|
-
/** Whether the input is required. */
|
|
209
|
-
isRequired(): Promise<boolean>;
|
|
210
|
-
/** Gets the value of the input. */
|
|
211
|
-
getValue(): Promise<string>;
|
|
212
|
-
/**
|
|
213
|
-
* Sets the value of the input. The value will be set by simulating
|
|
214
|
-
* keypresses that correspond to the given value.
|
|
215
|
-
*/
|
|
216
|
-
setValue(newValue: string): Promise<void>;
|
|
217
|
-
/** Gets the placeholder of the input. */
|
|
218
|
-
getPlaceholder(): Promise<string>;
|
|
219
|
-
/**
|
|
220
|
-
* Focuses the input and returns a promise that indicates when the
|
|
221
|
-
* action is complete.
|
|
222
|
-
*/
|
|
223
|
-
focus(): Promise<void>;
|
|
224
|
-
/**
|
|
225
|
-
* Blurs the input and returns a promise that indicates when the
|
|
226
|
-
* action is complete.
|
|
227
|
-
*/
|
|
228
|
-
blur(): Promise<void>;
|
|
229
|
-
/** Whether the input is focused. */
|
|
230
|
-
isFocused(): Promise<boolean>;
|
|
231
|
-
/** Gets the formatted minimum date for the input's value. */
|
|
232
|
-
getMin(): Promise<string | null>;
|
|
233
|
-
/** Gets the formatted maximum date for the input's value. */
|
|
234
|
-
getMax(): Promise<string | null>;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
229
|
/** Harness for interacting with a standard Material datepicker toggle in tests. */
|
|
238
|
-
|
|
230
|
+
declare class MatDatepickerToggleHarness extends DatepickerTriggerHarnessBase {
|
|
239
231
|
static hostSelector: string;
|
|
240
232
|
/** The clickable button inside the toggle. */
|
|
241
233
|
private _button;
|
|
@@ -253,8 +245,30 @@ export declare class MatDatepickerToggleHarness extends DatepickerTriggerHarness
|
|
|
253
245
|
protected _openCalendar(): Promise<void>;
|
|
254
246
|
}
|
|
255
247
|
|
|
248
|
+
/** Harness for interacting with a standard Material date range start input in tests. */
|
|
249
|
+
declare class MatStartDateHarness extends MatDatepickerInputHarnessBase {
|
|
250
|
+
static hostSelector: string;
|
|
251
|
+
/**
|
|
252
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatStartDateHarness`
|
|
253
|
+
* that meets certain criteria.
|
|
254
|
+
* @param options Options for filtering which input instances are considered a match.
|
|
255
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
256
|
+
*/
|
|
257
|
+
static with(options?: DatepickerInputHarnessFilters): HarnessPredicate<MatStartDateHarness>;
|
|
258
|
+
}
|
|
259
|
+
/** Harness for interacting with a standard Material date range end input in tests. */
|
|
260
|
+
declare class MatEndDateHarness extends MatDatepickerInputHarnessBase {
|
|
261
|
+
static hostSelector: string;
|
|
262
|
+
/**
|
|
263
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatEndDateHarness`
|
|
264
|
+
* that meets certain criteria.
|
|
265
|
+
* @param options Options for filtering which input instances are considered a match.
|
|
266
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
267
|
+
*/
|
|
268
|
+
static with(options?: DatepickerInputHarnessFilters): HarnessPredicate<MatEndDateHarness>;
|
|
269
|
+
}
|
|
256
270
|
/** Harness for interacting with a standard Material date range input in tests. */
|
|
257
|
-
|
|
271
|
+
declare class MatDateRangeInputHarness extends DatepickerTriggerHarnessBase {
|
|
258
272
|
static hostSelector: string;
|
|
259
273
|
/**
|
|
260
274
|
* Gets a `HarnessPredicate` that can be used to search for a `MatDateRangeInputHarness`
|
|
@@ -280,28 +294,4 @@ export declare class MatDateRangeInputHarness extends DatepickerTriggerHarnessBa
|
|
|
280
294
|
protected _openCalendar(): Promise<void>;
|
|
281
295
|
}
|
|
282
296
|
|
|
283
|
-
|
|
284
|
-
export declare class MatEndDateHarness extends MatDatepickerInputHarnessBase {
|
|
285
|
-
static hostSelector: string;
|
|
286
|
-
/**
|
|
287
|
-
* Gets a `HarnessPredicate` that can be used to search for a `MatEndDateHarness`
|
|
288
|
-
* that meets certain criteria.
|
|
289
|
-
* @param options Options for filtering which input instances are considered a match.
|
|
290
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
291
|
-
*/
|
|
292
|
-
static with(options?: DatepickerInputHarnessFilters): HarnessPredicate<MatEndDateHarness>;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/** Harness for interacting with a standard Material date range start input in tests. */
|
|
296
|
-
export declare class MatStartDateHarness extends MatDatepickerInputHarnessBase {
|
|
297
|
-
static hostSelector: string;
|
|
298
|
-
/**
|
|
299
|
-
* Gets a `HarnessPredicate` that can be used to search for a `MatStartDateHarness`
|
|
300
|
-
* that meets certain criteria.
|
|
301
|
-
* @param options Options for filtering which input instances are considered a match.
|
|
302
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
303
|
-
*/
|
|
304
|
-
static with(options?: DatepickerInputHarnessFilters): HarnessPredicate<MatStartDateHarness>;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
export { }
|
|
297
|
+
export { type CalendarCellHarnessFilters, type CalendarHarnessFilters, CalendarView, type DateRangeInputHarnessFilters, type DatepickerInputHarnessFilters, type DatepickerToggleHarnessFilters, MatCalendarCellHarness, MatCalendarHarness, MatDateRangeInputHarness, MatDatepickerInputHarness, MatDatepickerToggleHarness, MatEndDateHarness, MatStartDateHarness };
|