/** * 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 } from '@utam/core'; import _ExpressionBuilderForm from 'salesforce-pageobjects/builder/framework/pageObjects/expressionBuilderForm'; import _Combobox from 'salesforce-pageobjects/lightning/pageObjects/combobox'; import _Input from 'salesforce-pageobjects/lightning/pageObjects/input'; import _ExpressionBuilderCondition from 'salesforce-pageobjects/builder/framework/pageObjects/expressionBuilderCondition'; import _Button from 'salesforce-pageobjects/lightning/pageObjects/button'; import _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; /** * Component that allows users to build expressions by adding conditions, setting logical operators, and defining custom logic. It provides dynamic form fields, condition management, and supports validation of the input data. * This is a Page Object that is marked for internal distribution only (until conditional formatting is GA). * Marked this way, it will only be published to internal artifacts. * Selector: builder_framework-expression-builder-modal-body * generated from JSON dist/builder/framework/expressionBuilderModalBody.utam.json * @version 2026-03-09T13:56:37.461Z * @author Salesforce */ declare class ExpressionBuilderModalBody extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that conditions list is present and visible * @return boolean */ isConditionsListVisible(): Promise; /** * Returns true if element "conditionsList" present on the page * @return boolean */ verifyConditionsListPresence(): Promise; /** * Represents the form area where users can define expressions with various fields. */ getExpressionBuilderForm(): Promise<_ExpressionBuilderForm>; /** * Represents the dropdown for selecting logical operators (When condition). */ getWhenCombobox(): Promise<_Combobox>; /** * Represents the input for custom logic, shown based on the selected 'When' condition. */ getCustomLogicInput(): Promise<_Input | null>; /** * Represents the individual condition items in the conditions list. */ getConditionItems(): Promise<_ExpressionBuilderCondition[] | null>; /** * Represents the button to add a new condition. */ getAddConditionButton(): Promise<_Button>; /** * Represents the error icon displayed when conditions are not met, shown based on the condition validation. */ getErrorIcon(): Promise<_Icon | null>; } export = ExpressionBuilderModalBody;