import { ListItemModel, ListSortFieldSelectorModel, AsyncList, AsyncItem, StateNode, StateOrchestrator, StateDispatcher } from '@skyux/list-builder-common'; import { Observable, BehaviorSubject, Subject } from 'rxjs'; import * as i0 from '@angular/core'; import { TemplateRef, AfterContentInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges, AfterViewInit, OnInit } from '@angular/core'; import * as i2 from '@angular/common'; import * as i12 from '@skyux/lists'; import * as i5 from '@skyux/popovers'; import * as i6 from '@skyux/icon'; import * as i1 from '@skyux/i18n'; import * as i11 from '@skyux/lookup'; import { SkySearchComponent } from '@skyux/lookup'; import * as i9 from '@skyux/forms'; import { SkyCheckboxChange } from '@skyux/forms'; import * as i10 from '@skyux/layout'; declare class ListFilterModel { /** * The name of the filter. * @required */ name: string; /** * The label for the filter's summary item. * The label defaults to the `value` of the filter. */ label: string; /** * Whether users can dismiss the filter's summary item. * @default true */ dismissible: boolean; /** * The current value of the filter. */ value: any; /** * The default value of the filter. When a filter equals the * default value, the filter does not affect the list. */ defaultValue: any; /** * The function that determines whether items are filtered. * This property is required when using an in-memory data provider. * For information about `ListItemModel`, see the * [shared classes for lists](https://developer.blackbaud.com/skyux-list-builder-common/docs/list-builder-common). */ filterFunction: (item: ListItemModel, filter: any) => boolean; constructor(data?: any); } /** * Specifies a function to dynamically manage the data source when users change the text * in the list field. The search function must return an array or a promise of an array. * The `search` property is particularly useful when the data source does not live * in the source code. * @deprecated */ declare class ListSearchModel { /** * The text to search. * @default "" */ searchText: string; /** * The array of functions that returns a `boolean` value of `true` when * the search is successful. This property accepts a function of type * `(data: any, searchText: string) => boolean>.` */ functions: ((data: any, searchText: string) => boolean)[]; /** * The columns to search. The columns correspond to `field` values that * you specify with the list component's `data` property. */ fieldSelectors: string[]; constructor(data?: any); } /** * These properties are a work in progress, and we do not recommend using them. * @deprecated */ declare class ListSortLabelModel { /** * The text for the label. */ text: string; /** * The label type. */ fieldType: string; /** * The fields to sort. */ fieldSelector: string; /** * Whether to sort all fields. * @default false */ global: boolean; /** * Whether to sort in descending order. * @default false */ descending: boolean; constructor(data?: any); } /** * Specifies a set of fields to sort by. * @deprecated */ declare class ListSortModel { /** * The list of available views to sort. */ available: ListSortLabelModel[]; /** * The list views that the sort applies to. */ global: ListSortLabelModel[]; /** * The fields to sort. * For information about `ListSortFieldSelectorModel`, see the * [shared classes for lists](https://developer.blackbaud.com/skyux-list-builder-common/docs/list-builder-common). */ fieldSelectors: ListSortFieldSelectorModel[]; constructor(data?: any); } /** * @deprecated */ declare class ListDataRequestModel { /** * The function that determines whether items are filtered. * This property is required when using an in-memory data provider. */ filters: ListFilterModel[]; /** * The number of items to display per page. */ pageSize: number; /** * The current page number. */ pageNumber: number; /** * The function to dynamically manage the data source when users * change the text in the list field. The search function must return an * array or a promise of an array. The `search` property is particularly useful * when the data source does not live in the source code. */ search: ListSearchModel; /** * The set of fields to sort by. */ sort: ListSortModel; /** * Whether to disable the search bar and filter button. * @default false */ isToolbarDisabled: boolean; constructor(data?: any); } /** * @deprecated */ declare class ListDataResponseModel { /** * The total number of records in the list. */ count: number; /** * An array of the items returned. For information about `ListItemModel`, see the * [shared classes for lists](https://developer.blackbaud.com/skyux-list-builder-common/docs/list-builder-common). */ items: ListItemModel[]; constructor(data?: any); } /** * @internal * @deprecated */ declare abstract class ListDataProvider { data?: Observable; constructor(data?: Observable); abstract get(request: ListDataRequestModel): Observable; abstract count(): Observable; } /** * @internal * @deprecated */ declare class ListPagingModel { itemsPerPage: number; maxDisplayedPages: number; pageCount: number; pageNumber: number; constructor(data?: any); } /** * Contains data about the selected items in the list. * @deprecated */ declare class ListSelectedModel { /** * A map of key value pairs that consists of IDs for selected items * and boolean values for their selected states. */ selectedIdMap: Map; constructor(); } /** * @internal * @deprecated */ declare class ListToolbarItemModel { index: number; template: TemplateRef; location: string; view: string; id: string; constructor(data?: any); } /** * @internal * @deprecated */ declare class ListToolbarModel { exists: boolean; disabled: boolean; items: ListToolbarItemModel[]; type: string; showMultiselectToolbar: boolean; constructor(data?: any); } /** * @internal * @deprecated */ declare class ListViewModel { id: string; name: string; constructor(id: string, name: string); } /** * @internal * @deprecated */ declare class ListViewsModel { active: string; views: ListViewModel[]; constructor(data?: any); } /** * @internal * @deprecated */ declare class ListStateModel { filters: ListFilterModel[]; items: AsyncList; paging: ListPagingModel; search: ListSearchModel; selected: AsyncItem; sort: ListSortModel; toolbar: ListToolbarModel; views: ListViewsModel; constructor(); } /** * @internal * @deprecated */ declare class ListState extends StateNode { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * @internal * @deprecated */ declare abstract class ListViewComponent { active: Observable; protected viewName: string; protected state: ListState; protected list: SkyListComponent; protected hasToolbar: Observable; private viewId; constructor(state: ListState, defaultName: string); get id(): string; get label(): string; onViewActive(): void; onViewInactive(): void; } /** * @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager. */ declare class SkyListComponent implements AfterContentInit, OnChanges, OnDestroy { id: string; /** * The data to display. The list component requires this property or the * `dataProvider` property. For checklist or multiselect grids, each row requires an * `id` property to manage selected items with the `selectedIds` input and the * `selectedIdsChange` event. If you do not provide an `id`, the list automatically * generates one. To update data in your view outside of a `dataProvider`, you must use * an observable instead of a static array. */ data?: any[] | Observable; /** * The data provider that obtains the data to display. The list component requires * this property or the `data` property. For lists that use `dataProvider` instead of `data`, * consumers are responsible for managing all `ListDataRequestModel` properties. * @default SkyListInMemoryDataProvider */ dataProvider?: ListDataProvider; /** * @internal */ defaultView?: ListViewComponent; /** * The total number of items for the initial data set when initialized. When * used in conjunction with `data` and `dataProvider`, it allows an initial data to be * set with the need to call the `dataProvider`. */ initialTotal?: number; /** * The set of IDs for the items to select in a checklist or multiselect grid. * The IDs match the `id` properties of the `data` objects. Items with IDs that are not * included are de-selected in the checklist or multiselect grid. */ selectedIds?: string[] | Observable; /** * The set of fields to sort by. If array of fields then sorted by order of array. * For information about `ListSortFieldSelectorModel`, see the * [shared classes for lists](https://developer.blackbaud.com/skyux-list-builder-common/docs/list-builder-common). */ sortFields?: ListSortFieldSelectorModel | ListSortFieldSelectorModel[] | Observable | Observable; /** * The set of filters to apply to list data. * These filters create a filter summary when the list includes the * [`sky-list-filter-summary`](https://developer.blackbaud.com/skyux/components/list-filters) * component. */ appliedFilters: ListFilterModel[]; /** * For list views that support item selection, emits the selected entries. */ selectedIdsChange: EventEmitter>; /** * Emits the filters applied to the list. */ appliedFiltersChange: EventEmitter; /** * The function to apply as a global sort on the list. */ searchFunction: (data: any, searchText: string) => boolean; private dataFirstLoad; private listViews; private lastSelectedIds; private lastFilters; private ngUnsubscribe; private readonly state; private readonly dispatcher; constructor(); ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; refreshDisplayedItems(): void; get displayedItems(): Observable; get selectedItems(): Observable; get lastUpdate(): Observable; get views(): ListViewComponent[]; get itemCount(): Observable; private getItemsAndRetainSelections; private arraysEqual; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager. */ declare class SkyListModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @internal * @deprecated */ declare class ListFiltersUpdateAction { filters: ListFilterModel[]; constructor(filters: ListFilterModel[]); } /** * @internal * @deprecated */ declare class ListItemsLoadAction { items: ListItemModel[]; refresh: boolean; dataChanged: boolean; count?: number; constructor(items: ListItemModel[], refresh?: boolean, dataChanged?: boolean, count?: number); } /** * @internal * @deprecated */ declare class ListItemsSetSelectedAction { items: string[]; selected: boolean; refresh: boolean; constructor(items: string[], selected?: boolean, refresh?: boolean); } /** * @internal * @deprecated */ declare class ListItemsSetLoadingAction { loading: boolean; constructor(loading?: boolean); } /** * @internal * @deprecated */ declare class ListPagingSetItemsPerPageAction { itemsPerPage: number; constructor(itemsPerPage: number); } /** * @internal * @deprecated */ declare class ListPagingSetMaxPagesAction { maxPages: number; constructor(maxPages: number); } /** * @internal * @deprecated */ declare class ListPagingSetPageNumberAction { pageNumber: number; constructor(pageNumber: number); } /** * @internal * @deprecated */ declare class ListSearchSetFieldSelectorsAction { fieldSelectors: string[]; constructor(fieldSelectors?: string[]); } /** * @internal * @deprecated */ declare class ListSearchSetFunctionsAction { functions: ((data: any, searchText: string) => boolean)[]; constructor(functions?: ((data: any, searchText: string) => boolean)[]); } /** * @internal * @deprecated */ declare class ListSearchSetSearchTextAction { searchText: string; constructor(searchText: string); } /** * @internal * @deprecated */ declare class ListSearchSetOptionsAction { searchTextAction: ListSearchSetSearchTextAction; setFieldSelectorsAction: ListSearchSetFieldSelectorsAction; setFunctionsAction: ListSearchSetFunctionsAction; constructor(searchTextAction: ListSearchSetSearchTextAction, setFieldSelectorsAction: ListSearchSetFieldSelectorsAction, setFunctionsAction: ListSearchSetFunctionsAction); } /** * @internal * @deprecated */ declare class ListSelectedLoadAction { items: string[]; constructor(items: string[]); } /** * @internal * @deprecated */ declare class ListSelectedSetItemSelectedAction { id: any; selected: boolean; constructor(id: any, selected: boolean); } /** * @internal * @deprecated */ declare class ListSelectedSetItemsSelectedAction { items: string[] | Observable; selected: boolean; refresh: boolean; constructor(items: string[] | Observable, selected?: boolean, refresh?: boolean); } /** * @internal * @deprecated */ declare class ListSelectedSetLoadingAction { loading: boolean; constructor(loading?: boolean); } /** * @internal * @deprecated */ declare class ListSortSetAvailableAction { available: ListSortLabelModel[]; constructor(available: ListSortLabelModel[]); } /** * @internal * @deprecated */ declare class ListSortSetFieldSelectorsAction { fieldSelectors: ListSortFieldSelectorModel[]; constructor(fieldSelectors: ListSortFieldSelectorModel[]); } /** * @internal * @deprecated */ declare class ListSortSetGlobalAction { global: ListSortLabelModel[]; constructor(global: ListSortLabelModel[]); } /** * @internal * @deprecated */ declare class ListToolbarItemsDisableAction { disable: boolean; constructor(disable: boolean); } /** * @internal * @deprecated */ declare class ListToolbarItemsLoadAction { items: ListToolbarItemModel[]; index: number; constructor(items: ListToolbarItemModel[], index?: number); } /** * @internal * @deprecated */ declare class ListToolbarItemsRemoveAction { ids: string[]; constructor(ids: string[]); } /** * @internal * @deprecated */ declare class ListToolbarSetExistsAction { exists: boolean; constructor(exists: boolean); } /** * @internal * @deprecated */ declare class ListToolbarSetTypeAction { type: string; constructor(type: string); } /** * @internal * @deprecated */ declare class ListViewsLoadAction { views: ListViewModel[]; constructor(views: ListViewModel[]); } /** * @internal * @deprecated */ declare class ListViewsSetActiveAction { view: string; constructor(view: string); } /** * @internal * @deprecated */ type ListStateAction = ListItemsSetLoadingAction | ListItemsLoadAction | ListItemsSetSelectedAction | ListPagingSetMaxPagesAction | ListPagingSetItemsPerPageAction | ListPagingSetPageNumberAction | ListViewsLoadAction | ListViewsSetActiveAction | ListToolbarItemsLoadAction | ListToolbarSetExistsAction | ListSearchSetSearchTextAction | ListSearchSetFunctionsAction | ListSearchSetFieldSelectorsAction | ListSearchSetOptionsAction | ListSelectedSetLoadingAction | ListSelectedLoadAction | ListSelectedSetItemSelectedAction | ListSelectedSetItemsSelectedAction | ListToolbarSetTypeAction | ListSortSetFieldSelectorsAction | ListSortSetAvailableAction | ListSortSetGlobalAction | ListFiltersUpdateAction | ListToolbarItemsRemoveAction | ListToolbarItemsDisableAction; /** * @internal * @deprecated */ declare class ListStateOrchestrator extends StateOrchestrator { } /** * @internal * @deprecated */ declare class ListStateDispatcher extends StateDispatcher { viewsSetActive(id: string): void; toolbarExists(exists: boolean): void; toolbarSetDisabled(disabled: boolean): void; toolbarAddItems(items: ListToolbarItemModel[], index?: number): void; toolbarRemoveItems(ids: string[]): void; toolbarShowMultiselectToolbar(show: boolean): void; searchSetFunctions(sortFunctions: ((data: any, searchText: string) => boolean)[]): void; searchSetFieldSelectors(fieldSelectors: string[]): void; searchSetText(searchText: string): void; searchSetOptions(searchOptions: ListSearchModel): void; sortSetAvailable(sortLabels: ListSortLabelModel[]): void; sortSetFieldSelectors(fieldSelectors: ListSortFieldSelectorModel[]): void; sortSetGlobal(sortLabels: ListSortLabelModel[]): void; filtersUpdate(filters: ListFilterModel[]): void; setSelected(selectedIds: string[], selected: boolean, refresh?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * @internal * @deprecated */ declare class ListFiltersOrchestrator extends ListStateOrchestrator { constructor(); private update; } /** * @internal * @deprecated */ declare class ListItemsOrchestrator extends ListStateOrchestrator> { constructor(); private setLoading; private load; private setItemsSelected; private cloneListItemModelArray; } /** * @internal * @deprecated */ declare class ListPagingOrchestrator extends ListStateOrchestrator { constructor(); private setMaxPages; private setItemsPerPage; private setPageNumber; } /** * @internal * @deprecated */ declare class ListSearchOrchestrator extends ListStateOrchestrator { constructor(); private setSearchText; private setFunctions; private setFieldSelectors; private setOptions; } /** * @internal * @deprecated */ declare class ListSelectedOrchestrator extends ListStateOrchestrator> { constructor(); private setLoading; private load; private setItemSelected; private setItemsSelected; private cloneListSelectedModel; } /** * @internal * @deprecated */ declare class ListSortOrchestrator extends ListStateOrchestrator { constructor(); private setFieldSelectors; private setAvailable; private setGlobal; } /** * @internal * @deprecated */ declare class ListToolbarShowMultiselectToolbarAction { exists: boolean; constructor(exists: boolean); } /** * @internal * @deprecated */ declare class ListToolbarOrchestrator extends ListStateOrchestrator { constructor(); private setExists; private setDisabled; private setType; private load; private remove; private showMultiselectToolbar; } /** * @internal * @deprecated */ declare class ListViewsOrchestrator extends ListStateOrchestrator { constructor(); private setActive; private load; } /** * @deprecated */ declare class SkyListInMemoryDataProvider extends ListDataProvider { items: BehaviorSubject; private lastItems; private lastSearch; private lastSearchResults; private searchFunction; private lastFilters; private lastFilterResults; constructor(data?: Observable, searchFunction?: (data: any, searchText: string) => boolean); count(): Observable; get(request: ListDataRequestModel): Observable; private filteredItems; } /** * @internal */ declare class SkyListFilterInlineModel { name: string; value: any; defaultValue: any; filterFunction: (item: ListItemModel, filter: any) => boolean; onChange: EventEmitter; template: TemplateRef; constructor(data?: any); changed(value: any): void; } /** * Contains a filter button for the list toolbar. Place a * [`sky-filter-button`](https://developer.blackbaud.com/skyux/components/filter) * component inside this component to open a modal with filtering options. * To apply filter options, use the * [list component's](https://developer.blackbaud.com/skyux/components/list-overview?docs-active-tab=development#class_sky-list-component) * `appliedFilters` property. * @deprecated */ declare class SkyListFilterButtonComponent implements AfterViewInit { private filterButtonTemplate; private filterButtonItemToolbarIndex; private readonly dispatcher; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Creates a filter summary based on the * [list component's](https://developer.blackbaud.com/skyux/components/list-overview?docs-active-tab=development#class_sky-list-component) * `appliedFilters` property. Place this component within the * [`sky-list-toolbar`](https://developer.blackbaud.com/skyux/components/list-toolbar) component. * @deprecated */ declare class SkyListFilterSummaryComponent implements AfterContentInit { /** * Emits a `ListFilterModel` when users select a summary item. A common use case is * to open a filter modal when this event is received. */ summaryItemClick: EventEmitter; appliedFilters: Observable; private readonly state; private readonly dispatcher; ngAfterContentInit(): void; filterSummaryItemDismiss(index: number): void; filterSummaryItemClick(item: ListFilterModel): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Creates a filter in the list's inline filter area. * @deprecated */ declare class SkyListFilterInlineItemComponent implements OnInit { /** * The name of the filter. * @required */ name: string; /** * The current value of the filter. */ value: any; /** * The default value of the filter. If the value of the filter * is set to the default value, then the filter is not applied. */ defaultValue: any; /** * The function that determines whether an item is filtered. * This property is required when using an in-memory data provider. For information * about `ListItemModel`, see the * [shared classes for lists](https://developer.blackbaud.com/skyux-list-builder-common/docs/list-builder-common). */ filterFunction: (item: ListItemModel, filter: any) => boolean; /** * The template for the filter. The template can access the `filter` * variable that contains the `value` of the filter control, which should be bound to * `ngModel`, and the `changed` function, which should be called when the model changes. * @required */ templateInput: TemplateRef; onChange: EventEmitter; private templates; ngOnInit(): void; get template(): TemplateRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Creates an inline filter area for the list. Place each filter * in a `sky-list-filter-inline-item` component. * @deprecated */ declare class SkyListFilterInlineComponent implements AfterContentInit { inlineFilters: SkyListFilterInlineModel[]; private filters; private readonly dispatcher; private readonly state; ngAfterContentInit(): void; applyFilters(): void; private getFilterModelFromInline; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @internal */ declare class SkyListFilterInlineItemRendererComponent implements OnInit { template: TemplateRef; filter: any; private container; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager. */ declare class SkyListFiltersModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * The SKY UX-themed pagination control that displays list data across multiple pages. * @internal * @deprecated */ declare abstract class ListPagingComponent { protected initialized: BehaviorSubject; protected state: ListState; protected dispatcher: ListStateDispatcher; constructor(state: ListState, dispatcher: ListStateDispatcher); } /** * Displays a pagination control for a SKY UX-themed list of data. * @deprecated */ declare class SkyListPagingComponent extends ListPagingComponent implements OnInit { /** * The number of list items per page. * @default 10 */ pageSize: Observable | number; /** * The maximum pages to display. * @default 5 */ maxPages: Observable | number; /** * The current page number. * @default 1 */ pageNumber: Observable | number; currentPageNumber: Observable; maxDisplayedPages: Observable; itemsPerPage: Observable; itemCount: Observable; constructor(); ngOnInit(): void; pageChange(currentPage: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager. */ declare class SkyListPagingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @internal * @deprecated */ interface SkyListSecondaryAction { template: TemplateRef; } /** * Adds a dropdown to the list toolbar for secondary actions. If the dropdown does not * include actions, the secondary actions dropdown is hidden. * @deprecated */ declare class SkyListSecondaryActionsComponent implements AfterViewInit { actions: any[]; private secondaryActionsTemplate; private secondaryActionsItemToolbarIndex; private readonly dispatcher; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @internal */ declare class SkyListSecondaryActionsHostComponent implements OnInit, OnDestroy { dropdownHidden: boolean; actions: any[]; private ngUnsubscribe; private readonly changeDetector; private readonly actionService; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Adds actions to the secondary actions dropdown in the list toolbar. * @deprecated */ declare class SkyListSecondaryActionComponent implements AfterContentInit { private templateRef; private readonly actionService; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Import into any component library module that needs to use resource strings. */ declare class SkyListBuilderResourcesModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager. */ declare class SkyListSecondaryActionsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @internal */ declare class ListToolbarConfigSetSearchEnabledAction { enabled: boolean; constructor(enabled: boolean); } /** * @internal */ declare class ListToolbarConfigSetSortSelectorEnabledAction { enabled: boolean; constructor(enabled?: boolean); } /** * @internal */ type ListToolbarStateAction = ListToolbarConfigSetSearchEnabledAction | ListToolbarConfigSetSortSelectorEnabledAction; /** * @internal */ declare class ListToolbarStateDispatcher extends StateDispatcher { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Displays a toolbar for a SKY UX-themed list of data. * @deprecated */ declare class SkyListToolbarComponent implements OnInit, AfterContentInit, OnDestroy { /** * Whether to use the in-memory search. * Setting this to `false` will allow consumers to run their own searches remotely, * and push new values to the list component by updating the `data` property. * @default true * @internal */ set inMemorySearchEnabled(value: boolean); get inMemorySearchEnabled(): boolean; /** * Placeholder text for the search bar that the list toolbar creates with * a [search component](https://developer.blackbaud.com/skyux/components/search). * @default "Find in this list" */ placeholder: string; /** * Whether to enable the search bar. * @default true */ searchEnabled: boolean | Observable; searchComponent: SkySearchComponent; /** * Whether to enable the sort selector. * @default false */ sortSelectorEnabled: boolean | Observable; /** * Display the search bar in the standard position or in a separate section. * To highlight the search bar in a section above all other toolbar items, * set this property to `search`. * @default "standard" */ toolbarType: string; /** * The text string to search with. */ searchText: string | Observable; get isFilterBarDisplayed(): boolean; get filterButtonAriaControls(): string; sortSelectors: Observable; searchTextInput: Observable; view: Observable; leftTemplates: ListToolbarItemModel[]; centerTemplates: ListToolbarItemModel[]; rightTemplates: ListToolbarItemModel[]; type: Observable; isSearchEnabled: Observable; isToolbarDisabled: boolean; isMultiselectEnabled: Observable; isSortSelectorEnabled: Observable; appliedFilters: Observable; hasAppliedFilters: Observable; showFilterSummary: boolean; hasInlineFilters: boolean; inlineFilterBarExpanded: boolean; hasAdditionalToolbarSection: boolean; hasViewActions: boolean; filterButtonId: string; listFilterInlineId: string; /** * Fires when users submit a search. * @internal * @deprecated */ searchApplied: Subject; private toolbarItems; private toolbarSorts; private filterSummary; private inlineFilter; private viewActions; private searchTemplate; private sortSelectorTemplate; private inlineFilterButtonTemplate; private customItemIds; private hasSortSelectors; private inlineFiltersItemToolbarIndex; private sortSelectorItemToolbarIndex; private ngUnsubscribe; private _inMemorySearchEnabled; private readonly changeDetector; private readonly state; private readonly dispatcher; private readonly toolbarState; readonly toolbarDispatcher: ListToolbarStateDispatcher; constructor(); ngOnInit(): void; ngAfterContentInit(): void; ngOnDestroy(): void; setSort(sort: ListSortLabelModel): void; inlineFilterButtonClick(): void; updateSearchText(searchText: string): void; private itemIsInView; private getSortSelectors; private watchTemplates; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Defines a toolbar item for the list toolbar. * @deprecated */ declare class SkyListToolbarItemComponent { /** * The ID of the item. */ id: string; /** * The index of the item at the given item location. * @default -1 */ index: number; /** * The toolbar location of the item. The valid options are `"left"`, * `"center"`, and `"right"`. * @default "left" */ location: string; private templates; get template(): TemplateRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @internal */ declare class SkyListToolbarItemRendererComponent implements OnInit { template: TemplateRef; private container; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @internal * @deprecated */ declare class SkyListMultiselectToolbarComponent implements OnInit, OnDestroy { showOnlySelected: boolean; multiselectToolbarId: string; private selectedIdMap; private ngUnsubscribe; private readonly state; private readonly dispatcher; ngOnInit(): void; ngOnDestroy(): void; selectAll(): void; clearSelections(): void; changeVisibleItems(change: SkyCheckboxChange): void; private reapplyFilter; private getShowSelectedFilter; private showSelectedValuesEqual; private selectedMapEqual; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Displays custom actions in the toolbar beside to the search bar. * @deprecated */ declare class SkyListToolbarSearchActionsComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Adds a sort dropdown to the list toolbar. * @deprecated */ declare class SkyListToolbarSortComponent { /** * The label for a sort option. * @required */ label: string; /** * The data field to sort the list on. * @required */ field: string; /** * The data type of the data field to sort the list on. * @required */ type: string; /** * Whether to sort data in descending order. * @default false */ descending: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Adds a section on the right side of the toolbar for items that substantially change * or affect the view of the list. This includes simple filters and view switchers. * If the view section includes more than one item, simple filters appear on the left * and view switchers appear on the right. * @deprecated */ declare class SkyListToolbarViewActionsComponent { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager. */ declare class SkyListToolbarModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { ListDataProvider, ListDataRequestModel, ListDataResponseModel, ListFilterModel, ListFiltersOrchestrator, ListFiltersUpdateAction, ListItemsLoadAction, ListItemsOrchestrator, ListItemsSetLoadingAction, ListItemsSetSelectedAction, ListPagingModel, ListPagingOrchestrator, ListPagingSetItemsPerPageAction, ListPagingSetMaxPagesAction, ListPagingSetPageNumberAction, ListSearchModel, ListSearchOrchestrator, ListSearchSetFieldSelectorsAction, ListSearchSetFunctionsAction, ListSearchSetOptionsAction, ListSearchSetSearchTextAction, ListSelectedLoadAction, ListSelectedModel, ListSelectedOrchestrator, ListSelectedSetItemSelectedAction, ListSelectedSetItemsSelectedAction, ListSelectedSetLoadingAction, ListSortLabelModel, ListSortModel, ListSortOrchestrator, ListSortSetAvailableAction, ListSortSetFieldSelectorsAction, ListSortSetGlobalAction, ListState, ListStateDispatcher, ListStateModel, ListStateOrchestrator, ListToolbarItemModel, ListToolbarItemsDisableAction, ListToolbarItemsLoadAction, ListToolbarItemsRemoveAction, ListToolbarModel, ListToolbarOrchestrator, ListToolbarSetExistsAction, ListToolbarSetTypeAction, ListToolbarShowMultiselectToolbarAction, ListViewComponent, ListViewModel, ListViewsLoadAction, ListViewsModel, ListViewsOrchestrator, ListViewsSetActiveAction, SkyListComponent, SkyListFilterInlineModel, SkyListFiltersModule, SkyListInMemoryDataProvider, SkyListModule, SkyListPagingModule, SkyListSecondaryActionsComponent, SkyListSecondaryActionsModule, SkyListToolbarComponent, SkyListToolbarModule, SkyListFilterButtonComponent as λ1, SkyListToolbarViewActionsComponent as λ10, SkyListToolbarSearchActionsComponent as λ11, SkyListFilterSummaryComponent as λ2, SkyListFilterInlineItemComponent as λ3, SkyListFilterInlineComponent as λ4, SkyListPagingComponent as λ5, SkyListSecondaryActionComponent as λ6, SkyListToolbarItemComponent as λ8, SkyListToolbarSortComponent as λ9 }; export type { ListStateAction, SkyListSecondaryAction };