[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { BaseHarnessFilters } from '@angular/cdk/testing';
|
---|
| 9 | /** A set of criteria that can be used to filter a list of datepicker input instances. */
|
---|
| 10 | export interface DatepickerInputHarnessFilters extends BaseHarnessFilters {
|
---|
| 11 | /** Filters based on the value of the input. */
|
---|
| 12 | value?: string | RegExp;
|
---|
| 13 | /** Filters based on the placeholder text of the input. */
|
---|
| 14 | placeholder?: string | RegExp;
|
---|
| 15 | }
|
---|
| 16 | /** A set of criteria that can be used to filter a list of datepicker toggle instances. */
|
---|
| 17 | export interface DatepickerToggleHarnessFilters extends BaseHarnessFilters {
|
---|
| 18 | }
|
---|
| 19 | /** A set of criteria that can be used to filter a list of calendar instances. */
|
---|
| 20 | export interface CalendarHarnessFilters extends BaseHarnessFilters {
|
---|
| 21 | }
|
---|
| 22 | /** A set of criteria that can be used to filter a list of calendar cell instances. */
|
---|
| 23 | export interface CalendarCellHarnessFilters extends BaseHarnessFilters {
|
---|
| 24 | /** Filters based on the text of the cell. */
|
---|
| 25 | text?: string | RegExp;
|
---|
| 26 | /** Filters based on whether the cell is selected. */
|
---|
| 27 | selected?: boolean;
|
---|
| 28 | /** Filters based on whether the cell is activated using keyboard navigation */
|
---|
| 29 | active?: boolean;
|
---|
| 30 | /** Filters based on whether the cell is disabled. */
|
---|
| 31 | disabled?: boolean;
|
---|
| 32 | /** Filters based on whether the cell represents today's date. */
|
---|
| 33 | today?: boolean;
|
---|
| 34 | /** Filters based on whether the cell is inside of the main range. */
|
---|
| 35 | inRange?: boolean;
|
---|
| 36 | /** Filters based on whether the cell is inside of the comparison range. */
|
---|
| 37 | inComparisonRange?: boolean;
|
---|
| 38 | /** Filters based on whether the cell is inside of the preview range. */
|
---|
| 39 | inPreviewRange?: boolean;
|
---|
| 40 | }
|
---|
| 41 | /** A set of criteria that can be used to filter a list of date range input instances. */
|
---|
| 42 | export interface DateRangeInputHarnessFilters extends BaseHarnessFilters {
|
---|
| 43 | /** Filters based on the value of the input. */
|
---|
| 44 | value?: string | RegExp;
|
---|
| 45 | }
|
---|