import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core'; import { Subscription } from 'rxjs'; import { FullscreenTypes } from '../../../enums/fullscreen-types'; import { ActivatedRoute } from '@angular/router'; import { ClickSubscription, GeneralActionButtonInterface, GeneralActionInterface } from '../../../models/general-action.interface'; import { ParamHttpHeaderItemInterface } from '../../../models/general/param-http-header-item.interface'; import { TabComponentInterface } from '../../ui/tabs/tab/tab.component'; import { GeneralListDepsService } from '../general-simple-list/general-list-deps.service'; import { GeneralSimpleListComponent } from '../general-simple-list/general-simple-list.component'; import { SimpleListShowPlanComponent } from '../simple-list-show-plan/simple-list-show-plan.component'; import { ExcelTemplate } from '../../../models/aditional-report'; import { MenuItem } from '../../../models/menu-items'; import * as i0 from "@angular/core"; export declare class GeneralListManagementComponent extends GeneralSimpleListComponent implements OnInit, OnDestroy, OnChanges { route?: ActivatedRoute; pdfDownloadSubscription: Subscription; private orderMap; itemsQty: number; menuItemId: string; menuItems: MenuItem; downloadExcelTemplateActions: GeneralActionInterface[]; deleteActions: GeneralActionInterface[]; cancelPdfDownload(): void; reportLoading: boolean; reportProgress: number; showHeaderExtraItems: boolean; progressSubscription: Subscription; onRowSelected(data: any): void; headerCustomActions: GeneralActionButtonInterface[]; filterActions?: GeneralActionButtonInterface[]; operationActions?: GeneralActionButtonInterface[]; additionalReportActions?: GeneralActionButtonInterface[]; addNewActions?: GeneralActionInterface[]; addNewCallback: () => any; beforeAddCallback?: (data: any) => Promise | boolean; beforeReloadCallback: () => any; reloadCallback: () => any; multipleRemoveCallback: (selectedRows: any[]) => Promise | void; saveRowIndexCallback: (orderMap: { [key: number | string]: any; }) => Promise; menuItemActionCallback: (reportId: number, checkedItems: any[], reportParam?: ParamHttpHeaderItemInterface[]) => ParamHttpHeaderItemInterface[]; fullscreenType?: FullscreenTypes; printParams: ParamHttpHeaderItemInterface[]; floatToolbar?: boolean; allowReorder: boolean; bulkRemove: boolean; multipleRemove: boolean; managementGridLoaded: EventEmitter; managementGridLoadStarted: EventEmitter; columnPickerContainerRef?: ElementRef; simpleListShowPlanRef: SimpleListShowPlanComponent; readonly columnPickerTabId = "columnPickerTabId"; printActions: GeneralActionButtonInterface[]; additionalprintActions: GeneralActionButtonInterface[]; clickMap: Map; inReorderMode: boolean; isFirstSelection?: boolean; isLayoutSelectionOpen?: boolean; showShowPlanSaveMessage?: boolean; currentShowPlanIsProgressing?: boolean; orderUpAction: GeneralActionButtonInterface; orderDownAction: GeneralActionButtonInterface; enableReorderButton: GeneralActionButtonInterface; saveReorderButton: GeneralActionButtonInterface; footer?: TemplateRef; generalSimpleList: GeneralSimpleListComponent; private _columnPickerIsAppneded?; private _showShowPlanSaveMessageTimeout?; get FullscreenTypes(): typeof FullscreenTypes; constructor(deps: GeneralListDepsService, route?: ActivatedRoute); simpleListLoadStarted($event: void): void; simpleListLoaded($event: void): void; createOrUpdateBulkDeleteBtn(): Promise; protected multipleDeleteHandler(): Promise; /** * Handles bulk deletion of items based on current filters * Fetches items to be deleted, shows confirmation dialog, and executes deletion */ private _bulkDeleteHandler; private _fetchItemsForBulkDeletion; private _showBulkDeleteConfirmation; private _executeBulkDeletion; private _executeCustomBulkDeleteCallback; private reloadGrid; private _showBulkDeleteSuccessMessage; ngOnInit(): void; fetchMenuItemActions(): void; private _handleMenuItems; private _callPrintOnClick; private _openAdditionalReportOnClick; exitReorderMode(): void; ngOnChanges(changes: SimpleChanges): void; gridLayoutTabChangeHandler(data: TabComponentInterface): void; multipleRemoveHandler(selectedRows: any[]): void; addNewHandlerAsync(data?: any): Promise; addNewHandler(): void; reloadHandler(): void; updateCurrentShowPlanProgressHandler(state: boolean): void; selectHandler: (selectedRows: any) => void; gridItemClickHandler(clickedRow: any): void; afterRemoveHandler: (data: any) => void; onItemCheckedHandler($event: any[]): void; onGridLoaded(): void; onGridLoadStarted(): void; checkedItems: any[]; checkCallback($event: any): void; onClick(event: Event, selectedRows: any, action: GeneralActionButtonInterface): void; onClickResultHandler(action: GeneralActionButtonInterface): void; ngOnDestroy(): void; toggleHeaderExtraItems(): void; onRowOrderChanged($event: { [key: number | string]: any; }): void; onPulldownChange(isOpen: boolean): void; gridColumnsChangeHandler(): void; private _appendColumnPicker; openUploadFromExcelModal(e?: ExcelTemplate): void; getOdataFiltersEncoded: () => string; checkRowsByIndex: (rows: number[]) => void; checkRowsByCondition: (condition: (row: any) => boolean) => void; uncheckRowsByIndex: (rows: number[]) => void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }