import { HarnessPredicate, ComponentHarness } from '@angular/cdk/testing'; import { SkyRepeaterItemHarnessFilters, SkyRepeaterItemHarness, SkyFilterButtonHarness, SkySortHarness } from '@skyux/lists/testing'; import { SkyHarnessFilters, SkyQueryableComponentHarness, SkyComponentHarness } from '@skyux/core/testing'; import { SkyCheckboxHarness, SkyRadioGroupHarness } from '@skyux/forms/testing'; import { SkySearchHarness } from '@skyux/lookup/testing'; /** * A set of criteria that can be used to filter a list of `SkyDataManagerColumnPickerSearchResultHarness` instances. */ interface SkyDataManagerColumnPickerColumnHarnessFilters extends Omit { } /** * Harness for interacting with a data manager column picker column result in tests. */ declare class SkyDataManagerColumnPickerColumnHarness extends SkyRepeaterItemHarness { /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDataManagerColumnPickerColumnHarness` that meets certain criteria. */ static with(filters: SkyDataManagerColumnPickerColumnHarnessFilters): HarnessPredicate; /** * Clicks on the column. * This has no effect in the data manager column picker. * @internal */ click(): Promise; /** * Collapses the search, or does nothing if already collapsed. * The data manager column picker does not use an expandable repeater. * @internal */ collapse(): Promise; /** * Deselects the column. */ deselect(): Promise; /** * Expands the search, or does nothing if already expanded. * The data manager column picker does not use an expandable repeater. * @internal */ expand(): Promise; /** * Gets the text of the column content. */ getContentText(): Promise; /** * Gets the text of the column title. */ getTitleText(): Promise; /** * Whether the column is collapsible. * This is always false for data manager column picker and not documented. * @internal */ isCollapsible(): Promise; /** * Whether the column is expanded, or throws an error informing of the lack of collapsibility. * This is always true for data manager column picker and not documented. * @internal */ isExpanded(): Promise; /** * Whether the repeater item is reorderable. * This is always false for data manager column picker and not documented. * @internal */ isReorderable(): Promise; /** * Whether the column is selectable. * This is always true for data manager column picker and not documented. * @internal */ isSelectable(): Promise; /** * Whether the column is selected. */ isSelected(): Promise; /** * Selects the column. */ select(): Promise; /** * Moves the column to the top of the list. * The data manager column picker does not use a reorderable repeater. * @internal */ sendToTop(): Promise; } /** * Harness for interacting with a data manager column picker modal in tests. */ declare class SkyDataManagerColumnPickerHarness extends ComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Clears the text of the search input. */ clearSearchText(): Promise; /** * Enters text into the search input and performs a search. */ enterSearchText(value: string): Promise; /** * Selects multiple columns based on a set of criteria. */ selectColumns(filters?: SkyDataManagerColumnPickerColumnHarnessFilters): Promise; /** * Saves any selections made and closes the modal. */ saveAndClose(): Promise; /** * Closes the picker without saving any selections made. */ cancel(): Promise; /** * Gets a specific column based on the filter criteria. * @param filter The filter criteria. */ getColumn(filter: SkyDataManagerColumnPickerColumnHarnessFilters): Promise; /** * Gets an array of columns based on the filter criteria. * If no filter is provided, returns all columns. * @param filters The optional filter criteria. */ getColumns(filters?: SkyDataManagerColumnPickerColumnHarnessFilters): Promise; /** * Clears all selections made. */ clearAll(): Promise; /** * Selects all search results. */ selectAll(): Promise; } /** * A set of criteria that can be used to filter a list of `SkyDataManagerHarness` instances. */ interface SkyDataManagerHarnessFilters extends SkyHarnessFilters { } /** * A set of criteria that can be used to filter a list of `SkyDataManagerToolbarHarness` instances. */ interface SkyDataManagerToolbarHarnessFilters extends SkyHarnessFilters { } /** * A set of criteria that can be used to filter a list of `SkyDataManagerToolbarLeftItemHarness` instances. */ interface SkyDataManagerToolbarLeftItemHarnessFilters extends SkyHarnessFilters { } /** * Harness to interact with a data manager toolbar left item component in tests. */ declare class SkyDataManagerToolbarLeftItemHarness extends SkyQueryableComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDataManagerToolbarLeftItemHarness` that meets certain criteria. */ static with(filters: SkyDataManagerToolbarLeftItemHarnessFilters): HarnessPredicate; } /** * A set of criteria that can be used to filter a list of `SkyDataManagerToolbarPrimaryItemHarness` instances. */ interface SkyDataManagerToolbarPrimaryItemHarnessFilters extends SkyHarnessFilters { } /** * Harness to interact with a data manager toolbar primary item component in tests. */ declare class SkyDataManagerToolbarPrimaryItemHarness extends SkyQueryableComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDataManagerToolbarPrimaryItemHarness` that meets certain criteria. */ static with(filters: SkyDataManagerToolbarPrimaryItemHarnessFilters): HarnessPredicate; } /** * A set of criteria that can be used to filter a list of `SkyDataManagerToolbarRightItemHarness` instances. */ interface SkyDataManagerToolbarRightItemHarnessFilters extends SkyHarnessFilters { } /** * Harness to interact with a data manager toolbar right item component in tests. */ declare class SkyDataManagerToolbarRightItemHarness extends SkyQueryableComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDataManagerToolbarRightItemHarness` that meets certain criteria. */ static with(filters: SkyDataManagerToolbarRightItemHarnessFilters): HarnessPredicate; } /** * A set of criteria that can be used to filter a list of `SkyDataManagerToolbarSectionHarness` instances. */ interface SkyDataManagerToolbarSectionHarnessFilters extends SkyHarnessFilters { } /** * Harness to interact with a data manager toolbar section component in tests. */ declare class SkyDataManagerToolbarSectionHarness extends SkyQueryableComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDataManagerToolbarSectionHarness` that meets certain criteria. */ static with(filters: SkyDataManagerToolbarSectionHarnessFilters): HarnessPredicate; } /** * Harness for interacting with a data manager toolbar component in tests. */ declare class SkyDataManagerToolbarHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDataManagerToolbarHarness` that meets certain criteria. */ static with(filters: SkyDataManagerToolbarHarnessFilters): HarnessPredicate; /** * Clicks the data manager clear all button. Throws an error if the multiselect toolbar is turned off. */ clickClearAll(): Promise; /** * Clicks the data manager select all button. Throws an error if the multiselect toolbar is turned off. */ clickSelectAll(): Promise; /** * Gets a harness for the data manager filter button. * @deprecated Use [filter bar](https://developer.blackbaud.com/skyux/components/filter-bar) in a data manager toolbar instead. */ getFilterButton(): Promise; /** * Gets a specific data manager toolbar left item based on the filter criteria. * @param filter The filter criteria. */ getLeftItem(filter: SkyDataManagerToolbarLeftItemHarnessFilters): Promise; /** * Gets an array of data manager toolbar left items based on the filter criteria. * If no filter is provided, returns all data manager toolbar left items. * @param filters The optional filter criteria. */ getLeftItems(filters?: SkyDataManagerToolbarLeftItemHarnessFilters): Promise; /** * Gets a harness for the only show selected checkbox. */ getOnlyShowSelected(): Promise; /** * Gets a specific data manager toolbar primary item based on the filter criteria. * @param filter The filter criteria. */ getPrimaryItem(filter: SkyDataManagerToolbarPrimaryItemHarnessFilters): Promise; /** * Gets an array of data manager toolbar primary items based on the filter criteria. * If no filter is provided, returns all data manager toolbar primary items. * @param filters The optional filter criteria. */ getPrimaryItems(filters?: SkyDataManagerToolbarPrimaryItemHarnessFilters): Promise; /** * Gets a specific data manager toolbar right item based on the filter criteria. * @param filter The filter criteria. */ getRightItem(filter: SkyDataManagerToolbarRightItemHarnessFilters): Promise; /** * Gets an array of data manager toolbar right items based on the filter criteria. * If no filter is provided, returns all data manager toolbar right items. * @param filters The optional filter criteria. */ getRightItems(filters?: SkyDataManagerToolbarRightItemHarnessFilters): Promise; /** * Gets the data manager search harness. */ getSearch(): Promise; /** * Gets a specific toolbar section based on the filter criteria. * @param filter The filter criteria. */ getSection(filter: SkyDataManagerToolbarSectionHarnessFilters): Promise; /** * Gets an array of toolbar sections based on the filter criteria. * If no filter is provided, returns all toolbar sections. * @param filters The optional filter criteria. */ getSections(filters?: SkyDataManagerToolbarSectionHarnessFilters): Promise; /** * Gets a harness for the data manager sort button. */ getSortButton(): Promise; /** * Gets the harness to interact with the data manager toolbar's view actions. */ getViewActions(): Promise; /** * Opens the data manager column picker and returns the harness. Throws an error if the column picker is turned off. */ openColumnPicker(): Promise; } /** * A set of criteria that can be used to filter a list of `SkyDataViewHarness` instances. */ interface SkyDataViewHarnessFilters extends SkyHarnessFilters { viewId?: string; } /** * Harness to interact with a data manager view component in tests. */ declare class SkyDataViewHarness extends SkyQueryableComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDataViewHarness` that meets certain criteria. */ static with(filters: SkyDataViewHarnessFilters): HarnessPredicate; } /** * Harness to interact with a data manager toolbar section component in tests. */ declare class SkyDataManagerHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDataManagerHarness` that meets certain criteria. */ static with(filters: SkyDataManagerHarnessFilters): HarnessPredicate; /** * Gets the type of dock style on the data manager. */ getDockType(): Promise; /** * Gets a harness for a data manager toolbar that meets certain criteria. */ getToolbar(filter?: SkyDataManagerToolbarHarnessFilters): Promise; /** * Gets a specific data view based on the filter criteria. * @param filter The filter criteria. */ getView(filter: SkyDataViewHarnessFilters): Promise; /** * Gets an array of data views based on the filter criteria. * If no filter is provided, returns all data views. * @param filters The optional filter criteria. */ getViews(filters?: SkyDataViewHarnessFilters): Promise; } export { SkyDataManagerColumnPickerColumnHarness, SkyDataManagerColumnPickerHarness, SkyDataManagerHarness, SkyDataManagerToolbarHarness, SkyDataManagerToolbarLeftItemHarness, SkyDataManagerToolbarPrimaryItemHarness, SkyDataManagerToolbarRightItemHarness, SkyDataManagerToolbarSectionHarness, SkyDataViewHarness }; export type { SkyDataManagerColumnPickerColumnHarnessFilters, SkyDataManagerHarnessFilters, SkyDataManagerToolbarHarnessFilters, SkyDataManagerToolbarLeftItemHarnessFilters, SkyDataManagerToolbarPrimaryItemHarnessFilters, SkyDataManagerToolbarRightItemHarnessFilters, SkyDataManagerToolbarSectionHarnessFilters, SkyDataViewHarnessFilters };