/** * 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, ActionableUtamElement as _ActionableUtamElement, EditableUtamElement as _EditableUtamElement, UtamBasePageObject as _UtamBasePageObject, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; import _FormattedText from 'salesforce-pageobjects/lightning/pageObjects/formattedText'; import _Helptext from 'salesforce-pageobjects/lightning/pageObjects/helptext'; import _MergeFieldButton from 'salesforce-pageobjects/es_property_editors/pageObjects/mergeFieldButton'; /** * Component that provides a custom input field which can act as a single-line input or a text area, with support for expression merge fields represented as pills. * Selector: src-pill-input * generated from JSON dist/es_property_editors/pillInput.utam.json * @version 2026-03-09T13:56:35.440Z * @author Salesforce */ export default class PillInput extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that input text container is present and visible * @return boolean */ isInputTextContainerVisible(): Promise; /** * Check that label is present and visible * @return boolean */ isLabelVisible(): Promise; /** * Check that required marker is present and visible * @return boolean */ isRequiredMarkerVisible(): Promise; /** * Check that inline input container is present and visible * @return boolean */ isInlineInputContainerVisible(): Promise; /** * Check that text area container is present and visible * @return boolean */ isTextAreaContainerVisible(): Promise; /** * Check that validation message is present and visible * @return boolean */ isValidationMessageVisible(): Promise; /** * Check that icon wrapper is present and visible * @return boolean */ isIconWrapperVisible(): Promise; /** * Check if single-line input field is enabled * @return boolean */ isInlineInputEnabled(): Promise; /** * Clear single-line input field and enter text */ enterInlineInput(text: string): Promise; /** * Get text from single-line input field * @return string */ getInlineInputText(): Promise; /** * Trigger blur event on single-line input field */ blurInlineInput(): Promise; /** * Check if text area input field is enabled * @return boolean */ isTextAreaInputEnabled(): Promise; /** * Clear text area input field and enter text */ enterTextAreaInput(text: string): Promise; /** * Get text from text area input field * @return string */ getTextAreaInputText(): Promise; /** * Trigger blur event on text area input field */ blurTextAreaInput(): Promise; /** * Returns true if element "requiredMarker" present on the page * @return boolean */ verifyRequiredMarkerPresence(): Promise; /** * Returns true if element "inlineInputContainer" present on the page * @return boolean */ verifyInlineInputContainerPresence(): Promise; /** * Returns true if element "textAreaContainer" present on the page * @return boolean */ verifyTextAreaContainerPresence(): Promise; /** * Returns true if element "validationMessage" present on the page * @return boolean */ verifyValidationMessagePresence(): Promise; /** * Represents the formatted text for the label */ getFormattedLabelText(): Promise<_FormattedText>; /** * Represents the help text for the input field */ getHelpText(): Promise<_Helptext | null>; /** * Represents the container for the text area input field */ getTextAreaContainer(): Promise<(_BaseUtamElement & _ActionableUtamElement & _EditableUtamElement) | null>; /** * Represents the text area input field */ getTextAreaInput(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement & _EditableUtamElement) | null>; /** * Represents the responsive icon */ getResponsiveIcon(): Promise<(_BaseUtamElement)>; /** * Represents the merge field button */ getMergeFieldButton(): Promise<_MergeFieldButton>; }