import { AlCardstackItem } from '@al/core'; import { AlAlertDefinition } from '@al/gestalt'; import { AlBaseCardConfig, AlBaseCardFooterActionEvent, AlBaseCardFooterActions, AlBaseCardItem, AlCardstackComponent } from '@al/ng-cardstack-components'; import { AlActionSnackbarElement, AlActionSnackbarEvent, AlToastService, AlViewHelperComponent } from '@al/ng-generic-components'; import { AlNavigationService } from '@al/ng-navigation-components'; import { AfterViewInit, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { ConfirmationService } from 'primeng-lts/api'; import { AlSavedSearchComponent } from '../types/saved-search'; import { AlSavedSearchesFormComponent } from '../al-saved-searches-form/al-saved-searches-form.component'; import { AlNotificationReportScheduleFormComponent } from '../al-notification-report-schedule-form/al-notification-report-schedule-form.component'; import { ScheduledReportV2 } from '@al/cargo'; import { AlSavedQueryV2 } from '@al/suggestions'; import * as i0 from "@angular/core"; interface ZeroStateConfig { icon: string; entityName: string; entityNamePlural: string; requiredAction: string; } export declare class AlSavedSearchesListComponent implements OnInit, AfterViewInit, OnDestroy { private alToastService; private confirmationService; private navigation; private route; private router; actionSnackbarText: string; actionSnackbarVisible: boolean; initialFilter: string; actionSnackbarButtons: AlActionSnackbarElement[]; configAlBaseCard: AlBaseCardConfig; zeroStateConfig: ZeroStateConfig; savedSearchCardstack?: AlSavedSearchComponent; accountId: string; timeoutShowMsg: number; currentSelection: Array>; viewError?: string | Error; reportCardExpanded?: TemplateRef; cardstack: QueryList; savedSearchForm: AlSavedSearchesFormComponent; savedSearchScheduleForm: AlNotificationReportScheduleFormComponent; viewHelper: AlViewHelperComponent; private alCardstack?; private timeoutToast?; constructor(alToastService: AlToastService, confirmationService: ConfirmationService, navigation: AlNavigationService, route: ActivatedRoute, router: Router); ngOnInit(): void; ngOnDestroy(): void; loadCardstack(accountId: string): Promise; restoreSavedSearchEdit(savedSearchId: string): Promise; restoreScheduledSearchEdit(scheduledSearchId: string): Promise; ngAfterViewInit(): void; onDeleteItemConfirmation(ids: string[]): void; onDeleteSavedSearch(ids: string[]): Promise; showMessage: (mgs: string) => void; /** * Show an error * @param msg */ showGeneralErrorMessage(msg: string): void; onCreateSavedSearchSuccess: (message: string) => void; onCreateSavedSearchCancel: () => void; onCreateSavedSearchError: (message: string) => void; changeAllSelection(checked?: boolean): void; changeSimpleSelection(item: AlBaseCardItem): void; updateCurrentSelection(checked?: boolean): void; actionSnackbarProcess(): void; changeVisibleAlSnackbarButtons(event: string, value: boolean): void; actionSnackbarEvent(event: AlActionSnackbarEvent): Promise; onEditSavedSearch(item: AlCardstackItem): Promise; onScheduleSavedSearch(item: AlCardstackItem): Promise; onEditScheduleSavedSearch(item: ScheduledReportV2): Promise; closeActionSnackbar(): void; openActionSnackbar(text: string): void; functionFooterActions: (item: AlCardstackItem) => AlBaseCardFooterActions; iconCardFunction: (item: AlCardstackItem) => Object; actionFooterEvent(event: AlBaseCardFooterActionEvent): void; onSearchSavedSearch(savedSearch: AlCardstackItem): void; itemExpanded(item: AlCardstackItem & AlBaseCardItem): Promise; getTextsByEntity(multiple?: boolean): { [key: string]: string; }; reloadList(): void; goToSchedule(savedQuery: AlSavedQueryV2): void; /** * This function will handle the tracking for all Saved Searches related events * * @param eventData Object representing the available properties to be overwritten */ trackSavedSearchEvent(category: string, eventData: { action?: string; label: string; value?: any; }): void; setBaseSavedSearchSchedule(savedSearchId: string): ScheduledReportV2; resetURLState(reloadList?: boolean): void; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; } export {};