/** * 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, ContainerCtor as _ContainerCtor, UtamBasePageObject as _UtamBasePageObject, BaseUtamElement as _BaseUtamElement } from '@utam/core'; import _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; import _ButtonMenu from 'salesforce-pageobjects/lightning/pageObjects/buttonMenu'; import _MenuItem from 'salesforce-pageobjects/lightning/pageObjects/menuItem'; /** * Component that displays a card with a header, body, and actions, allowing for interaction such as updating or removing a data provider. * Selector: src-data-provider-base-card * generated from JSON dist/es_block_builder/dataProviderBaseCard.utam.json * @version 2026-03-09T13:56:35.317Z * @author Salesforce */ export default class DataProviderBaseCard extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the icon image is visible * @return boolean */ isIconImageVisible(): Promise; /** * Check if the icon image is present * @return boolean */ isIconImagePresent(): Promise; /** * Get the src attribute of the icon image * @return string */ getIconImageSrc(attrName: string): Promise; /** * Check if the icon image is focused * @return boolean */ isIconImageFocused(): Promise; /** * Check if the icon image is enabled * @return boolean */ isIconImageEnabled(): Promise; /** * Returns true if element "iconImage" present on the page * @return boolean */ verifyIconImagePresence(): Promise; /** * Represents the content of the slot for the icon */ getIconSlotContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the slot for the title */ getTitleSlotContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the slot for the subtitle */ getSubtitleSlotContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the slot for the actions */ getActionsSlotContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the default slot content inside the body */ getBodySlotContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the lightning icon inside the icon slot */ getLightningIcon(): Promise<_Icon | null>; /** * Represents the lightning button menu in the actions slot */ getLightningButtonMenu(): Promise<_ButtonMenu>; /** * Represents the menu item for updating the data provider */ getUpdateMenuItem(): Promise<_MenuItem>; /** * Represents the menu item for removing the data provider */ getRemoveMenuItem(): Promise<_MenuItem>; }