/** * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE file or https://utam.dev/salesforce/license */ import { Driver as _Driver, Element as _Element, Locator as _Locator, BaseUtamElement as _BaseUtamElement, UtamBasePageObject as _UtamBasePageObject, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; import _ButtonIcon from 'salesforce-pageobjects/lightning/pageObjects/buttonIcon'; import _Select from 'salesforce-pageobjects/lightning/pageObjects/select'; /** * Selector: lightning-calendar * Represents the lightning-calendar Lightning web component. * Get the month, get the date. Click today, click a day by date, or click a day by row and column on the calendar. * generated from JSON dist/lightning/calendar.utam.json * @version 2026-03-09T13:56:36.002Z * @author Salesforce */ export default class Calendar extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get calendar current month title * @return string */ getMonthText(): Promise; /** * Checks if current date has focus * @return boolean */ todayDateHasFocus(): Promise; /** * Click calendar day cell by row and column number */ clickDayByRowAndColumn(row: number, column: number): Promise; /** * Click calendar day cell with matching date */ clickDayByDate(date: string): Promise; /** * Get day text by by row and column number * @return string */ getDayText(row: number, column: number): Promise; /** * Clicks today button in calendar */ clickToday(): Promise; getRoot(): Promise<(_BaseUtamElement)>; getPrevMonthButton(): Promise<_ButtonIcon>; getNextMonthButton(): Promise<_ButtonIcon>; getYearSelector(): Promise<_Select>; getTodaysDate(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; }