/** * 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, PageObjectCtor as _PageObjectCtor } from '@utam/core'; import _RightPanelOverlay from 'salesforce-pageobjects/builder_platform_interaction/pageObjects/rightPanelOverlay'; import _Helptext from 'salesforce-pageobjects/lightning/pageObjects/helptext'; import _ButtonMenu from 'salesforce-pageobjects/lightning/pageObjects/buttonMenu'; import _MenuItem from 'salesforce-pageobjects/lightning/pageObjects/menuItem'; /** * Component that manages input fields with dynamic loading of components, mode selection, and right panel overlay. * Selector: src-field-input * generated from JSON dist/builder_platform_interaction/fieldInput.utam.json * @version 2026-03-09T13:56:35.145Z * @author Salesforce */ declare class FieldInput extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulate clicking on the container */ clickContainer(): Promise; /** * Check that the container is present and visible * @return boolean */ isContainerVisible(): Promise; /** * Check that the span for aria label is present and visible * @return boolean */ isAriaLabelSpanVisible(): Promise; /** * Check that the input field container is present and visible * @return boolean */ isInputFieldContainerVisible(): Promise; /** * Check that the input label is present and visible * @return boolean */ isInputLabelVisible(): Promise; /** * Check that the loading mode and component div is present and visible * @return boolean */ isLoadingModeAndComponentVisible(): Promise; /** * Check that the loading component div is present and visible * @return boolean */ isLoadingComponentVisible(): Promise; /** * Check that the error message div is present and visible * @return boolean */ isErrorMessageVisible(): Promise; /** * Returns true if element "inputLabel" present on the page * @return boolean */ verifyInputLabelPresence(): Promise; /** * Returns true if element "loadingModeAndComponent" present on the page * @return boolean */ verifyLoadingModeAndComponentPresence(): Promise; /** * Returns true if element "loadingComponent" present on the page * @return boolean */ verifyLoadingComponentPresence(): Promise; /** * Returns true if element "errorMessage" present on the page * @return boolean */ verifyErrorMessagePresence(): Promise; waitForRightPanelOverlay(): Promise<_RightPanelOverlay>; /** * @param selectorStr CSS selector parameter */ waitForDynamicPanel(selectorStr: string, pageObjectType: _PageObjectCtor): Promise; waitForLoadingModeAndComponent(): Promise<(_BaseUtamElement)>; waitForLoadingComponent(): Promise<(_BaseUtamElement)>; waitForInputComponent(pageObjectType: _PageObjectCtor): Promise; /** * Represents the right panel overlay component */ getRightPanelOverlay(): Promise<_RightPanelOverlay | null>; /** * Represents the dynamic panel component inside the right panel overlay * @param selectorStr CSS selector parameter */ getDynamicPanel(selectorStr: string, ContainerCtor: _ContainerCtor): Promise; /** * Represents the help text component */ getHelpText(): Promise<_Helptext | null>; /** * Represents the mode selector button menu */ getModeSelector(): Promise<_ButtonMenu | null>; /** * Represents the options within the mode selector */ getModeSelectorOptions(): Promise<_MenuItem[] | null>; /** * Represents the dynamic input component */ getInputComponent(ContainerCtor: _ContainerCtor): Promise; } export = FieldInput;