import { CapPanelComponent, CapToasterService } from 'cap-ds'; import { AfterViewInit, ElementRef, OnInit } from '@angular/core'; import { NgbModal, NgbModalOptions } from '@ng-bootstrap/ng-bootstrap'; import { TranslateService } from '@ngx-translate/core'; import { Action, Attachment, AttachmentConfiguration, AttachmentModalHeader, AttachmentOutput, DisplayType, ViewType } from '../../../models/attachment'; import { ModalDialog } from '../../../models/dialog-action'; import { AttachmentDataService } from '../../../services/attachment-data-service/attachment.data.service'; export declare class AttachmentViewComponent implements OnInit, AfterViewInit { private readonly modalService; private readonly translate; private readonly aDataService; private readonly toaster; configuration: AttachmentConfiguration; fileInput: ElementRef; panelObj: CapPanelComponent; attachment: Attachment; showCancel: boolean; description: string; filesToUpload: Array; selectedIndex: number; display: DisplayType; dialog: ModalDialog; selectedItem: Attachment; panelAttachmentData: Attachment; fileType: string; isRowToAdd: boolean; isAdded: boolean; metaDataRow: AttachmentModalHeader; get action(): Action; get isMixMode(): boolean; get isEdit(): boolean; get isList(): boolean; get isTile(): boolean; get viewType(): typeof ViewType; get displayType(): typeof DisplayType; ngbModalOptions: NgbModalOptions; private readonly closeLanKey; constructor(modalService: NgbModal, translate: TranslateService, aDataService: AttachmentDataService, toaster: CapToasterService); ngOnInit(): void; ngAfterViewInit(): void; uploadFile(event: FileList): void; getFileType(): string; fileReplace(fileInput: Event): void; fileChangeEvent(fileInput: Event): void; toogleMetadataAction(): void; removeItem(index: number): void; createRow(): void; setActiveDisplayMode(displayData: DisplayType): void; setAction(event: AttachmentOutput): void; closeSidePanel(): void; applyMetaData(): void; private setFile; private bindFiles; private checkDuplicate; private replaceItem; private showReplaceAlert; private setMetadata; private deleteItem; private downloadItem; private downloadFile; private previewItem; private previewFile; }