source: trip-planner-front/node_modules/@angular/material/datepicker/testing/datepicker-harness-filters.d.ts@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.0 KB
Line 
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 */
8import { BaseHarnessFilters } from '@angular/cdk/testing';
9/** A set of criteria that can be used to filter a list of datepicker input instances. */
10export 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. */
17export interface DatepickerToggleHarnessFilters extends BaseHarnessFilters {
18}
19/** A set of criteria that can be used to filter a list of calendar instances. */
20export interface CalendarHarnessFilters extends BaseHarnessFilters {
21}
22/** A set of criteria that can be used to filter a list of calendar cell instances. */
23export 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. */
42export interface DateRangeInputHarnessFilters extends BaseHarnessFilters {
43 /** Filters based on the value of the input. */
44 value?: string | RegExp;
45}
Note: See TracBrowser for help on using the repository browser.