1 | import { I18nPluralPipe } from '@angular/common';
|
2 | import { A11yParams } from './calendar-a11y.interface';
|
3 | import * as i0 from "@angular/core";
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 | export declare class CalendarA11y {
|
45 | protected i18nPlural: I18nPluralPipe;
|
46 | constructor(i18nPlural: I18nPluralPipe);
|
47 | /**
|
48 | * Aria label for the badges/date of a cell
|
49 | * @example: `Saturday October 19 1 event click to expand`
|
50 | */
|
51 | monthCell({ day, locale }: A11yParams): string;
|
52 | /**
|
53 | * Aria label for the open day events start landmark
|
54 | * @example: `Saturday October 19 expanded view`
|
55 | */
|
56 | openDayEventsLandmark({ date, locale }: A11yParams): string;
|
57 | /**
|
58 | * Aria label for alert that a day in the month view was expanded
|
59 | * @example: `Saturday October 19 expanded`
|
60 | */
|
61 | openDayEventsAlert({ date, locale }: A11yParams): string;
|
62 | /**
|
63 | * Descriptive aria label for an event
|
64 | * @example: `Saturday October 19th, Scott's Pizza Party, from 11:00am to 5:00pm`
|
65 | */
|
66 | eventDescription({ event, locale }: A11yParams): string;
|
67 | /**
|
68 | * Descriptive aria label for an all day event
|
69 | * @example:
|
70 | * `Scott's Party, event spans multiple days: start time October 19 5:00pm, no stop time`
|
71 | */
|
72 | allDayEventDescription({ event, locale }: A11yParams): string;
|
73 | /**
|
74 | * Aria label for the calendar event actions icons
|
75 | * @returns 'Edit' for fa-pencil icons, and 'Delete' for fa-times icons
|
76 | */
|
77 | actionButtonLabel({ action }: A11yParams): string;
|
78 | /**
|
79 | * @returns {number} Tab index to be given to month cells
|
80 | */
|
81 | monthCellTabIndex(): number;
|
82 | |
83 |
|
84 |
|
85 | hideMonthCellEvents(): boolean;
|
86 | |
87 |
|
88 |
|
89 | hideEventTitle(): boolean;
|
90 | |
91 |
|
92 |
|
93 | hideWeekHourSegment(): boolean;
|
94 | |
95 |
|
96 |
|
97 | hideDayHourSegment(): boolean;
|
98 | static ɵfac: i0.ɵɵFactoryDeclaration<CalendarA11y, never>;
|
99 | static ɵprov: i0.ɵɵInjectableDeclaration<CalendarA11y>;
|
100 | }
|