export interface CalendarType { [key: string]: string; } /** * @part button-wrapper - Represents the wrapper for the dropdown button * @part button-label - Represents the label displayed with the dropdown button * @part button-icon - Represents the icon displayed with the button label * @part button - Represents the button used to toggle the dropdown * @part dropdown - Represents the dropdown wrapper that contains the calendar event links * @part dropdown-title - Represents the title displayed with the calendar service options * @part dropdown-list - Represents the `ul` element that contains the calendar event links * @part (apple|google|outlookoffice|outlook|outlookcom|yahoo|other)-list-item - Represents the list element for the service in the dropdown * @part (apple|google|outlookoffice|outlook|outlookcom|yahoo|other)-list-link - Represents the `a` tag for the service displayed in the dropdown * @part (apple|google|outlookoffice|outlook|outlookcom|yahoo|other)-list-icon - Represents the icon for the service displayed in the dropdown */ export declare class DxpCalendarLink { /** * The event name as it will be seen in the user's calendar. */ eventTitle: string; /** * The datetime the event begins (Standard ISO 8601 format - `yyyy-MM-dd`T`HH:mm:ss.SSS`Z). * Can be bound to dynamic data. */ startTime: string; /** * The datetime the event ends (Standard ISO 8601 format - `yyyy-MM-dd`T`HH:mm:ss.SSS`Z). * Can be bound to dynamic data. */ endTime: string; /** * (optional) The location for the event. */ location: string; /** * (optional) The description for the event. */ description: string; /** * (optional) Whether or not this is an all day event */ allDay: boolean; /** * (optional) Toggle displaying calendar type icons */ displayItemIcons?: boolean; /** * (optional) Default button label */ buttonLabel?: string; /** * (optional) Placement of button icon */ buttonIconPlacement?: 'left' | 'right' | 'textOnly'; /** * Controls state of dropdown */ opened: boolean; private ieBrowser; private event; /** * The calendar types that are displayed in the dropdown for the user to select. * * The following calendar types will render an icon associated with the calendar service: * - apple * - google * - office.com * - outlook * - office 365 * - yahoo * All other defined calendar types will display a default calendar icon. * Note - Google, Yahoo, Office365, & Outlook.com will produce a URL that opens to the associated calendar. * All other types will produce a download of an `.ics` file (including other). * If multiple types are selected, the user may choose one from a dropdown menu after clicking the component. * If a single type is selected, clicking the component opens the calendar or downloads the iCalendar file. */ private calendarTypes; componentWillLoad(): void; private toggleCalendarDropdown; private handleDropdownLinkClick; private renderDropdown; private renderButton; render(): any; }