UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

1,022 lines (1,021 loc) • 79.8 kB
import { ElementWrapper } from '@awsui/test-utils-core/dom'; export { ElementWrapper }; import AlertWrapper from './alert'; import AnchorNavigationWrapper from './anchor-navigation'; import AnnotationWrapper from './annotation'; import AppLayoutWrapper from './app-layout'; import AppLayoutToolbarWrapper from './app-layout-toolbar'; import AreaChartWrapper from './area-chart'; import AttributeEditorWrapper from './attribute-editor'; import AutosuggestWrapper from './autosuggest'; import BadgeWrapper from './badge'; import BarChartWrapper from './bar-chart'; import BoxWrapper from './box'; import BreadcrumbGroupWrapper from './breadcrumb-group'; import ButtonWrapper from './button'; import ButtonDropdownWrapper from './button-dropdown'; import ButtonGroupWrapper from './button-group'; import CalendarWrapper from './calendar'; import CardsWrapper from './cards'; import CheckboxWrapper from './checkbox'; import CodeEditorWrapper from './code-editor'; import CollectionPreferencesWrapper from './collection-preferences'; import ColumnLayoutWrapper from './column-layout'; import ContainerWrapper from './container'; import ContentLayoutWrapper from './content-layout'; import CopyToClipboardWrapper from './copy-to-clipboard'; import DateInputWrapper from './date-input'; import DatePickerWrapper from './date-picker'; import DateRangePickerWrapper from './date-range-picker'; import DrawerWrapper from './drawer'; import ExpandableSectionWrapper from './expandable-section'; import FileDropzoneWrapper from './file-dropzone'; import FileInputWrapper from './file-input'; import FileTokenGroupWrapper from './file-token-group'; import FileUploadWrapper from './file-upload'; import FlashbarWrapper from './flashbar'; import FormWrapper from './form'; import FormFieldWrapper from './form-field'; import GridWrapper from './grid'; import HeaderWrapper from './header'; import HelpPanelWrapper from './help-panel'; import HotspotWrapper from './hotspot'; import IconWrapper from './icon'; import InputWrapper from './input'; import KeyValuePairsWrapper from './key-value-pairs'; import LineChartWrapper from './line-chart'; import LinkWrapper from './link'; import LiveRegionWrapper from './live-region'; import MixedLineBarChartWrapper from './mixed-line-bar-chart'; import ModalWrapper from './modal'; import MultiselectWrapper from './multiselect'; import PaginationWrapper from './pagination'; import PieChartWrapper from './pie-chart'; import PopoverWrapper from './popover'; import ProgressBarWrapper from './progress-bar'; import PromptInputWrapper from './prompt-input'; import PropertyFilterWrapper from './property-filter'; import RadioGroupWrapper from './radio-group'; import S3ResourceSelectorWrapper from './s3-resource-selector'; import SegmentedControlWrapper from './segmented-control'; import SelectWrapper from './select'; import SideNavigationWrapper from './side-navigation'; import SliderWrapper from './slider'; import SpaceBetweenWrapper from './space-between'; import SpinnerWrapper from './spinner'; import SplitPanelWrapper from './split-panel'; import StatusIndicatorWrapper from './status-indicator'; import StepsWrapper from './steps'; import TableWrapper from './table'; import TabsWrapper from './tabs'; import TagEditorWrapper from './tag-editor'; import TextContentWrapper from './text-content'; import TextFilterWrapper from './text-filter'; import TextareaWrapper from './textarea'; import TilesWrapper from './tiles'; import TimeInputWrapper from './time-input'; import ToggleWrapper from './toggle'; import ToggleButtonWrapper from './toggle-button'; import TokenGroupWrapper from './token-group'; import TopNavigationWrapper from './top-navigation'; import TutorialPanelWrapper from './tutorial-panel'; import WizardWrapper from './wizard'; export { AlertWrapper }; export { AnchorNavigationWrapper }; export { AnnotationWrapper }; export { AppLayoutWrapper }; export { AppLayoutToolbarWrapper }; export { AreaChartWrapper }; export { AttributeEditorWrapper }; export { AutosuggestWrapper }; export { BadgeWrapper }; export { BarChartWrapper }; export { BoxWrapper }; export { BreadcrumbGroupWrapper }; export { ButtonWrapper }; export { ButtonDropdownWrapper }; export { ButtonGroupWrapper }; export { CalendarWrapper }; export { CardsWrapper }; export { CheckboxWrapper }; export { CodeEditorWrapper }; export { CollectionPreferencesWrapper }; export { ColumnLayoutWrapper }; export { ContainerWrapper }; export { ContentLayoutWrapper }; export { CopyToClipboardWrapper }; export { DateInputWrapper }; export { DatePickerWrapper }; export { DateRangePickerWrapper }; export { DrawerWrapper }; export { ExpandableSectionWrapper }; export { FileDropzoneWrapper }; export { FileInputWrapper }; export { FileTokenGroupWrapper }; export { FileUploadWrapper }; export { FlashbarWrapper }; export { FormWrapper }; export { FormFieldWrapper }; export { GridWrapper }; export { HeaderWrapper }; export { HelpPanelWrapper }; export { HotspotWrapper }; export { IconWrapper }; export { InputWrapper }; export { KeyValuePairsWrapper }; export { LineChartWrapper }; export { LinkWrapper }; export { LiveRegionWrapper }; export { MixedLineBarChartWrapper }; export { ModalWrapper }; export { MultiselectWrapper }; export { PaginationWrapper }; export { PieChartWrapper }; export { PopoverWrapper }; export { ProgressBarWrapper }; export { PromptInputWrapper }; export { PropertyFilterWrapper }; export { RadioGroupWrapper }; export { S3ResourceSelectorWrapper }; export { SegmentedControlWrapper }; export { SelectWrapper }; export { SideNavigationWrapper }; export { SliderWrapper }; export { SpaceBetweenWrapper }; export { SpinnerWrapper }; export { SplitPanelWrapper }; export { StatusIndicatorWrapper }; export { StepsWrapper }; export { TableWrapper }; export { TabsWrapper }; export { TagEditorWrapper }; export { TextContentWrapper }; export { TextFilterWrapper }; export { TextareaWrapper }; export { TilesWrapper }; export { TimeInputWrapper }; export { ToggleWrapper }; export { ToggleButtonWrapper }; export { TokenGroupWrapper }; export { TopNavigationWrapper }; export { TutorialPanelWrapper }; export { WizardWrapper }; declare module '@awsui/test-utils-core/dist/dom' { interface ElementWrapper { /** * Returns the wrapper of the first Alert that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Alert. * If no matching Alert is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AlertWrapper | null} */ findAlert(selector?: string): AlertWrapper | null; /** * Returns an array of Alert wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Alerts inside the current wrapper. * If no matching Alert is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<AlertWrapper>} */ findAllAlerts(selector?: string): Array<AlertWrapper>; /** * Returns the wrapper of the first AnchorNavigation that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AnchorNavigation. * If no matching AnchorNavigation is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AnchorNavigationWrapper | null} */ findAnchorNavigation(selector?: string): AnchorNavigationWrapper | null; /** * Returns an array of AnchorNavigation wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AnchorNavigations inside the current wrapper. * If no matching AnchorNavigation is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<AnchorNavigationWrapper>} */ findAllAnchorNavigations(selector?: string): Array<AnchorNavigationWrapper>; /** * Returns the wrapper of the first Annotation that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Annotation. * If no matching Annotation is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AnnotationWrapper | null} */ findAnnotation(selector?: string): AnnotationWrapper | null; /** * Returns an array of Annotation wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Annotations inside the current wrapper. * If no matching Annotation is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<AnnotationWrapper>} */ findAllAnnotations(selector?: string): Array<AnnotationWrapper>; /** * Returns the wrapper of the first AppLayout that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AppLayout. * If no matching AppLayout is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AppLayoutWrapper | null} */ findAppLayout(selector?: string): AppLayoutWrapper | null; /** * Returns an array of AppLayout wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AppLayouts inside the current wrapper. * If no matching AppLayout is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<AppLayoutWrapper>} */ findAllAppLayouts(selector?: string): Array<AppLayoutWrapper>; /** * Returns the wrapper of the first AppLayoutToolbar that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AppLayoutToolbar. * If no matching AppLayoutToolbar is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AppLayoutToolbarWrapper | null} */ findAppLayoutToolbar(selector?: string): AppLayoutToolbarWrapper | null; /** * Returns an array of AppLayoutToolbar wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AppLayoutToolbars inside the current wrapper. * If no matching AppLayoutToolbar is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<AppLayoutToolbarWrapper>} */ findAllAppLayoutToolbars(selector?: string): Array<AppLayoutToolbarWrapper>; /** * Returns the wrapper of the first AreaChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AreaChart. * If no matching AreaChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AreaChartWrapper | null} */ findAreaChart(selector?: string): AreaChartWrapper | null; /** * Returns an array of AreaChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AreaCharts inside the current wrapper. * If no matching AreaChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<AreaChartWrapper>} */ findAllAreaCharts(selector?: string): Array<AreaChartWrapper>; /** * Returns the wrapper of the first AttributeEditor that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AttributeEditor. * If no matching AttributeEditor is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AttributeEditorWrapper | null} */ findAttributeEditor(selector?: string): AttributeEditorWrapper | null; /** * Returns an array of AttributeEditor wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AttributeEditors inside the current wrapper. * If no matching AttributeEditor is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<AttributeEditorWrapper>} */ findAllAttributeEditors(selector?: string): Array<AttributeEditorWrapper>; /** * Returns the wrapper of the first Autosuggest that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Autosuggest. * If no matching Autosuggest is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AutosuggestWrapper | null} */ findAutosuggest(selector?: string): AutosuggestWrapper | null; /** * Returns an array of Autosuggest wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Autosuggests inside the current wrapper. * If no matching Autosuggest is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<AutosuggestWrapper>} */ findAllAutosuggests(selector?: string): Array<AutosuggestWrapper>; /** * Returns the wrapper of the first Badge that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Badge. * If no matching Badge is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {BadgeWrapper | null} */ findBadge(selector?: string): BadgeWrapper | null; /** * Returns an array of Badge wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Badges inside the current wrapper. * If no matching Badge is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<BadgeWrapper>} */ findAllBadges(selector?: string): Array<BadgeWrapper>; /** * Returns the wrapper of the first BarChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first BarChart. * If no matching BarChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {BarChartWrapper | null} */ findBarChart(selector?: string): BarChartWrapper | null; /** * Returns an array of BarChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the BarCharts inside the current wrapper. * If no matching BarChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<BarChartWrapper>} */ findAllBarCharts(selector?: string): Array<BarChartWrapper>; /** * Returns the wrapper of the first Box that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Box. * If no matching Box is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {BoxWrapper | null} */ findBox(selector?: string): BoxWrapper | null; /** * Returns an array of Box wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Boxes inside the current wrapper. * If no matching Box is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<BoxWrapper>} */ findAllBoxes(selector?: string): Array<BoxWrapper>; /** * Returns the wrapper of the first BreadcrumbGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first BreadcrumbGroup. * If no matching BreadcrumbGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {BreadcrumbGroupWrapper | null} */ findBreadcrumbGroup(selector?: string): BreadcrumbGroupWrapper | null; /** * Returns an array of BreadcrumbGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the BreadcrumbGroups inside the current wrapper. * If no matching BreadcrumbGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<BreadcrumbGroupWrapper>} */ findAllBreadcrumbGroups(selector?: string): Array<BreadcrumbGroupWrapper>; /** * Returns the wrapper of the first Button that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Button. * If no matching Button is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ButtonWrapper | null} */ findButton(selector?: string): ButtonWrapper | null; /** * Returns an array of Button wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Buttons inside the current wrapper. * If no matching Button is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<ButtonWrapper>} */ findAllButtons(selector?: string): Array<ButtonWrapper>; /** * Returns the wrapper of the first ButtonDropdown that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ButtonDropdown. * If no matching ButtonDropdown is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ButtonDropdownWrapper | null} */ findButtonDropdown(selector?: string): ButtonDropdownWrapper | null; /** * Returns an array of ButtonDropdown wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ButtonDropdowns inside the current wrapper. * If no matching ButtonDropdown is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<ButtonDropdownWrapper>} */ findAllButtonDropdowns(selector?: string): Array<ButtonDropdownWrapper>; /** * Returns the wrapper of the first ButtonGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ButtonGroup. * If no matching ButtonGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ButtonGroupWrapper | null} */ findButtonGroup(selector?: string): ButtonGroupWrapper | null; /** * Returns an array of ButtonGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ButtonGroups inside the current wrapper. * If no matching ButtonGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<ButtonGroupWrapper>} */ findAllButtonGroups(selector?: string): Array<ButtonGroupWrapper>; /** * Returns the wrapper of the first Calendar that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Calendar. * If no matching Calendar is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CalendarWrapper | null} */ findCalendar(selector?: string): CalendarWrapper | null; /** * Returns an array of Calendar wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Calendars inside the current wrapper. * If no matching Calendar is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<CalendarWrapper>} */ findAllCalendars(selector?: string): Array<CalendarWrapper>; /** * Returns the wrapper of the first Cards that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Cards. * If no matching Cards is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CardsWrapper | null} */ findCards(selector?: string): CardsWrapper | null; /** * Returns an array of Cards wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Cards inside the current wrapper. * If no matching Cards is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<CardsWrapper>} */ findAllCards(selector?: string): Array<CardsWrapper>; /** * Returns the wrapper of the first Checkbox that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Checkbox. * If no matching Checkbox is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CheckboxWrapper | null} */ findCheckbox(selector?: string): CheckboxWrapper | null; /** * Returns an array of Checkbox wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Checkboxes inside the current wrapper. * If no matching Checkbox is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<CheckboxWrapper>} */ findAllCheckboxes(selector?: string): Array<CheckboxWrapper>; /** * Returns the wrapper of the first CodeEditor that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first CodeEditor. * If no matching CodeEditor is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CodeEditorWrapper | null} */ findCodeEditor(selector?: string): CodeEditorWrapper | null; /** * Returns an array of CodeEditor wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the CodeEditors inside the current wrapper. * If no matching CodeEditor is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<CodeEditorWrapper>} */ findAllCodeEditors(selector?: string): Array<CodeEditorWrapper>; /** * Returns the wrapper of the first CollectionPreferences that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first CollectionPreferences. * If no matching CollectionPreferences is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CollectionPreferencesWrapper | null} */ findCollectionPreferences(selector?: string): CollectionPreferencesWrapper | null; /** * Returns an array of CollectionPreferences wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the CollectionPreferences inside the current wrapper. * If no matching CollectionPreferences is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<CollectionPreferencesWrapper>} */ findAllCollectionPreferences(selector?: string): Array<CollectionPreferencesWrapper>; /** * Returns the wrapper of the first ColumnLayout that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ColumnLayout. * If no matching ColumnLayout is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ColumnLayoutWrapper | null} */ findColumnLayout(selector?: string): ColumnLayoutWrapper | null; /** * Returns an array of ColumnLayout wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ColumnLayouts inside the current wrapper. * If no matching ColumnLayout is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<ColumnLayoutWrapper>} */ findAllColumnLayouts(selector?: string): Array<ColumnLayoutWrapper>; /** * Returns the wrapper of the first Container that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Container. * If no matching Container is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ContainerWrapper | null} */ findContainer(selector?: string): ContainerWrapper | null; /** * Returns an array of Container wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Containers inside the current wrapper. * If no matching Container is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<ContainerWrapper>} */ findAllContainers(selector?: string): Array<ContainerWrapper>; /** * Returns the wrapper of the first ContentLayout that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ContentLayout. * If no matching ContentLayout is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ContentLayoutWrapper | null} */ findContentLayout(selector?: string): ContentLayoutWrapper | null; /** * Returns an array of ContentLayout wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ContentLayouts inside the current wrapper. * If no matching ContentLayout is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<ContentLayoutWrapper>} */ findAllContentLayouts(selector?: string): Array<ContentLayoutWrapper>; /** * Returns the wrapper of the first CopyToClipboard that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first CopyToClipboard. * If no matching CopyToClipboard is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CopyToClipboardWrapper | null} */ findCopyToClipboard(selector?: string): CopyToClipboardWrapper | null; /** * Returns an array of CopyToClipboard wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the CopyToClipboards inside the current wrapper. * If no matching CopyToClipboard is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<CopyToClipboardWrapper>} */ findAllCopyToClipboards(selector?: string): Array<CopyToClipboardWrapper>; /** * Returns the wrapper of the first DateInput that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first DateInput. * If no matching DateInput is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DateInputWrapper | null} */ findDateInput(selector?: string): DateInputWrapper | null; /** * Returns an array of DateInput wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the DateInputs inside the current wrapper. * If no matching DateInput is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<DateInputWrapper>} */ findAllDateInputs(selector?: string): Array<DateInputWrapper>; /** * Returns the wrapper of the first DatePicker that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first DatePicker. * If no matching DatePicker is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DatePickerWrapper | null} */ findDatePicker(selector?: string): DatePickerWrapper | null; /** * Returns an array of DatePicker wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the DatePickers inside the current wrapper. * If no matching DatePicker is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<DatePickerWrapper>} */ findAllDatePickers(selector?: string): Array<DatePickerWrapper>; /** * Returns the wrapper of the first DateRangePicker that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first DateRangePicker. * If no matching DateRangePicker is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DateRangePickerWrapper | null} */ findDateRangePicker(selector?: string): DateRangePickerWrapper | null; /** * Returns an array of DateRangePicker wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the DateRangePickers inside the current wrapper. * If no matching DateRangePicker is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<DateRangePickerWrapper>} */ findAllDateRangePickers(selector?: string): Array<DateRangePickerWrapper>; /** * Returns the wrapper of the first Drawer that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Drawer. * If no matching Drawer is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DrawerWrapper | null} */ findDrawer(selector?: string): DrawerWrapper | null; /** * Returns an array of Drawer wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Drawers inside the current wrapper. * If no matching Drawer is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<DrawerWrapper>} */ findAllDrawers(selector?: string): Array<DrawerWrapper>; /** * Returns the wrapper of the first ExpandableSection that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ExpandableSection. * If no matching ExpandableSection is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ExpandableSectionWrapper | null} */ findExpandableSection(selector?: string): ExpandableSectionWrapper | null; /** * Returns an array of ExpandableSection wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ExpandableSections inside the current wrapper. * If no matching ExpandableSection is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<ExpandableSectionWrapper>} */ findAllExpandableSections(selector?: string): Array<ExpandableSectionWrapper>; /** * Returns the wrapper of the first FileDropzone that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FileDropzone. * If no matching FileDropzone is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FileDropzoneWrapper | null} */ findFileDropzone(selector?: string): FileDropzoneWrapper | null; /** * Returns an array of FileDropzone wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FileDropzones inside the current wrapper. * If no matching FileDropzone is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<FileDropzoneWrapper>} */ findAllFileDropzones(selector?: string): Array<FileDropzoneWrapper>; /** * Returns the wrapper of the first FileInput that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FileInput. * If no matching FileInput is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FileInputWrapper | null} */ findFileInput(selector?: string): FileInputWrapper | null; /** * Returns an array of FileInput wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FileInputs inside the current wrapper. * If no matching FileInput is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<FileInputWrapper>} */ findAllFileInputs(selector?: string): Array<FileInputWrapper>; /** * Returns the wrapper of the first FileTokenGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FileTokenGroup. * If no matching FileTokenGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FileTokenGroupWrapper | null} */ findFileTokenGroup(selector?: string): FileTokenGroupWrapper | null; /** * Returns an array of FileTokenGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FileTokenGroups inside the current wrapper. * If no matching FileTokenGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<FileTokenGroupWrapper>} */ findAllFileTokenGroups(selector?: string): Array<FileTokenGroupWrapper>; /** * Returns the wrapper of the first FileUpload that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FileUpload. * If no matching FileUpload is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FileUploadWrapper | null} */ findFileUpload(selector?: string): FileUploadWrapper | null; /** * Returns an array of FileUpload wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FileUploads inside the current wrapper. * If no matching FileUpload is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<FileUploadWrapper>} */ findAllFileUploads(selector?: string): Array<FileUploadWrapper>; /** * Returns the wrapper of the first Flashbar that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Flashbar. * If no matching Flashbar is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FlashbarWrapper | null} */ findFlashbar(selector?: string): FlashbarWrapper | null; /** * Returns an array of Flashbar wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Flashbars inside the current wrapper. * If no matching Flashbar is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<FlashbarWrapper>} */ findAllFlashbars(selector?: string): Array<FlashbarWrapper>; /** * Returns the wrapper of the first Form that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Form. * If no matching Form is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FormWrapper | null} */ findForm(selector?: string): FormWrapper | null; /** * Returns an array of Form wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Forms inside the current wrapper. * If no matching Form is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<FormWrapper>} */ findAllForms(selector?: string): Array<FormWrapper>; /** * Returns the wrapper of the first FormField that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FormField. * If no matching FormField is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FormFieldWrapper | null} */ findFormField(selector?: string): FormFieldWrapper | null; /** * Returns an array of FormField wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FormFields inside the current wrapper. * If no matching FormField is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<FormFieldWrapper>} */ findAllFormFields(selector?: string): Array<FormFieldWrapper>; /** * Returns the wrapper of the first Grid that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Grid. * If no matching Grid is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {GridWrapper | null} */ findGrid(selector?: string): GridWrapper | null; /** * Returns an array of Grid wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Grids inside the current wrapper. * If no matching Grid is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<GridWrapper>} */ findAllGrids(selector?: string): Array<GridWrapper>; /** * Returns the wrapper of the first Header that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Header. * If no matching Header is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {HeaderWrapper | null} */ findHeader(selector?: string): HeaderWrapper | null; /** * Returns an array of Header wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Headers inside the current wrapper. * If no matching Header is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<HeaderWrapper>} */ findAllHeaders(selector?: string): Array<HeaderWrapper>; /** * Returns the wrapper of the first HelpPanel that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first HelpPanel. * If no matching HelpPanel is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {HelpPanelWrapper | null} */ findHelpPanel(selector?: string): HelpPanelWrapper | null; /** * Returns an array of HelpPanel wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the HelpPanels inside the current wrapper. * If no matching HelpPanel is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<HelpPanelWrapper>} */ findAllHelpPanels(selector?: string): Array<HelpPanelWrapper>; /** * Returns the wrapper of the first Hotspot that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Hotspot. * If no matching Hotspot is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {HotspotWrapper | null} */ findHotspot(selector?: string): HotspotWrapper | null; /** * Returns an array of Hotspot wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Hotspots inside the current wrapper. * If no matching Hotspot is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<HotspotWrapper>} */ findAllHotspots(selector?: string): Array<HotspotWrapper>; /** * Returns the wrapper of the first Icon that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Icon. * If no matching Icon is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {IconWrapper | null} */ findIcon(selector?: string): IconWrapper | null; /** * Returns an array of Icon wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Icons inside the current wrapper. * If no matching Icon is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<IconWrapper>} */ findAllIcons(selector?: string): Array<IconWrapper>; /** * Returns the wrapper of the first Input that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Input. * If no matching Input is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {InputWrapper | null} */ findInput(selector?: string): InputWrapper | null; /** * Returns an array of Input wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Inputs inside the current wrapper. * If no matching Input is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<InputWrapper>} */ findAllInputs(selector?: string): Array<InputWrapper>; /** * Returns the wrapper of the first KeyValuePairs that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first KeyValuePairs. * If no matching KeyValuePairs is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {KeyValuePairsWrapper | null} */ findKeyValuePairs(selector?: string): KeyValuePairsWrapper | null; /** * Returns an array of KeyValuePairs wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the KeyValuePairs inside the current wrapper. * If no matching KeyValuePairs is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<KeyValuePairsWrapper>} */ findAllKeyValuePairs(selector?: string): Array<KeyValuePairsWrapper>; /** * Returns the wrapper of the first LineChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first LineChart. * If no matching LineChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {LineChartWrapper | null} */ findLineChart(selector?: string): LineChartWrapper | null; /** * Returns an array of LineChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the LineCharts inside the current wrapper. * If no matching LineChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<LineChartWrapper>} */ findAllLineCharts(selector?: string): Array<LineChartWrapper>; /** * Returns the wrapper of the first Link that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Link. * If no matching Link is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {LinkWrapper | null} */ findLink(selector?: string): LinkWrapper | null; /** * Returns an array of Link wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Links inside the current wrapper. * If no matching Link is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<LinkWrapper>} */ findAllLinks(selector?: string): Array<LinkWrapper>; /** * Returns the wrapper of the first LiveRegion that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first LiveRegion. * If no matching LiveRegion is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {LiveRegionWrapper | null} */ findLiveRegion(selector?: string): LiveRegionWrapper | null; /** * Returns an array of LiveRegion wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the LiveRegions inside the current wrapper. * If no matching LiveRegion is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<LiveRegionWrapper>} */ findAllLiveRegions(selector?: string): Array<LiveRegionWrapper>; /** * Returns the wrapper of the first MixedLineBarChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first MixedLineBarChart. * If no matching MixedLineBarChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {MixedLineBarChartWrapper | null} */ findMixedLineBarChart(selector?: string): MixedLineBarChartWrapper | null; /** * Returns an array of MixedLineBarChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the MixedLineBarCharts inside the current wrapper. * If no matching MixedLineBarChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array<MixedLineBarChartWrapper>} */ findAllMixedLineBarCharts(selector?: string): Array<MixedLineBarChartWrapper>; /** * Returns the wrapper of the first Modal that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Modal. * If no matching Modal is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ModalWrapper | null} */ findModal(selector?: string): ModalWrapper | null; /** * Returns an array of Modal wrapper that matches the specified CSS selector.