/** * 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, ActionableUtamElement as _ActionableUtamElement, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; /** * Component that represents a color picker dialog with swatches for color selection and buttons to cancel or apply the chosen color. * generated from JSON dist/builder/framework/expressionBuilderColorSwatchPanel.utam.json * @version 2026-03-09T13:56:37.450Z * @author Salesforce */ export default class ExpressionBuilderColorSwatchPanel extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the color picker dialog is visible * @return boolean */ isColorPickerDialogVisible(): Promise; /** * Check if the swatch list is present * @return boolean */ isSwatchListPresent(): Promise; /** * Check if a swatch item is visible * @return boolean[] */ isSwatchItemVisible(): Promise; /** * Check if the dialog footer is visible * @return boolean */ isDialogFooterVisible(): Promise; /** * Click the cancel button in the dialog footer */ clickCancelButton(): Promise; /** * Click the done button in the dialog footer */ clickDoneButton(): Promise; /** * Represents the individual color swatches */ getSwatchItems(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement)[]>; /** * Represents the cancel button in the dialog footer */ getCancelButton(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement)>; /** * Represents the done button in the dialog footer */ getDoneButton(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement)>; }