/** * 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, ContainerCtor as _ContainerCtor, UtamBasePageObject as _UtamBasePageObject, ActionableUtamElement as _ActionableUtamElement, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; import _InputSelect from 'salesforce-pageobjects/aura/pageObjects/inputSelect'; import _ButtonIcon from 'salesforce-pageobjects/lightning/pageObjects/buttonIcon'; import _MenuList from 'salesforce-pageobjects/aura/pageObjects/menuList'; import _InlineSpinner from 'salesforce-pageobjects/force/pageObjects/inlineSpinner'; import _ActionButton from 'salesforce-pageobjects/force/pageObjects/actionButton'; import _ObjectHomeChartRow from 'salesforce-pageobjects/force/pageObjects/objectHomeChartRow'; /** * Selector: .forceObjectHomeChart * Represents the force:objectHomeChart Aura component (chart panel). * Provides access to chart operations like viewing, editing, and managing chart types. * generated from JSON dist/force/objectHomeChart.utam.json * @version 2026-03-09T13:56:35.850Z * @author Salesforce */ export default class ObjectHomeChart extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Checks if the chart panel wrapper is visible * @return true if the chart panel is visible */ isChartPanelVisible(): Promise; /** * Waits for the chart inline spinner to be visible */ waitForSpinnerVisible(): Promise; /** * Waits for the chart inline spinner to disappear */ waitForSpinnerAbsence(): Promise; /** * Checks if the chart panel is present * @return true if chart panel is visible, false otherwise */ hasChart(): Promise; /** * Gets the message displayed when no chart is available * @return the no chart message text */ getNoChartMessage(): Promise; /** * Checks if the chart is empty (showing empty chart message) * @return true if chart is empty, false otherwise */ isEmptyChart(): Promise; /** * Clicks the new chart button when no chart is available */ clickNewChartFromNoChart(): Promise; /** * Gets the current chart type by examining the chart wrapper classes * @return the chart type (hbar, vbar, pie, or unknown) */ getChartType(): Promise; /** * Checks if the no-chart error state is visible * @return true if .noChart is visible */ isNoChartVisible(): Promise; getChartPicklist(): Promise<_InputSelect>; getCloseButton(): Promise<_ButtonIcon>; getSettingsTrigger(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement)>; getSettingsMenu(): Promise<_MenuList>; getEclairChartWrapper(): Promise<(_BaseUtamElement & _ActionableUtamElement)>; getSpinner(): Promise<_InlineSpinner>; getEmptyChart(): Promise<(_BaseUtamElement & _ActionableUtamElement)>; getNoChart(): Promise<(_BaseUtamElement & _ActionableUtamElement)>; getNewChartButtonNoChart(): Promise<_ActionButton>; getChartData(ContainerCtor: _ContainerCtor): Promise; getRows(): Promise<_ObjectHomeChartRow[]>; }