import { ElementRef, EventEmitter } from '@angular/core'; import { IAttachmentData } from 'gl-w-attachment-frontend'; import { GlComponentModalAlertService } from '../../../../../../gl-ng-modals-frontend/src/lib/component/alert/gl-component-modal-alert.service'; import { IDragAndDropAddedResult } from './gl-component-input-drag-and-drop-simple.interface'; import * as i0 from "@angular/core"; export declare class GlComponentInputDragAndDropSimpleComponent { private _alert; input: ElementRef; showUploadButton: boolean; showContinueUpload: boolean; continueUpload: boolean; continueUploadLabel: string; uploadButtonValue: string; readOnly: boolean; handleErrorMessage: boolean; /** * In case the button icon source is not passed, the icon will be hidden. */ resumeButtonIconSrc: string; descriptionDragAndDrop: string; descriptionDragAndDropOr: string; descriptionDragAndDropClickHere: string; uploadIcon: string; /** * The message must contain the string $var1$. It'll be replaced during runtime. * I.e.: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit: $var1$' */ invalidExtensionMessageSingular: string; /** * The message must contain the string $var1$. It'll be replaced during runtime. * I.e.: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit: $var1$' */ invalidExtensionMessagePlural: string; /** * The message must contain the string $var1$. It'll be replaced during runtime. * I.e.: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit: $var1$' */ duplicatedMessageSingular: string; /** * The message must contain the string $var1$. It'll be replaced during runtime. * I.e.: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit: $var1$' */ duplicatedMessagePlural: string; /** * The message must contain the string $var1$ and $var2$. It'll be replaced during runtime. * I.e.: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit: $var1$' */ invalidSizeMessageSingular: string; /** * The message must contain the string $var1$ and $var2$. It'll be replaced during runtime. * I.e.: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit: $var1$' */ invalidSizeMessagePlural: string; /** * The message must contain the string $var1$. It'll be replaced during runtime. * I.e.: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit: $var1$' */ invalidLengthMessageSingular: string; /** * The message must contain the string $var1$. It'll be replaced during runtime. * I.e.: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit: $var1$' */ invalidLengthMessagePlural: string; /** * If maxNumberOfFiles value is greater than 1 or equal to -1, multiple files are enabled. * Default value = -1. */ maxNumberOfFiles: number; /** * If maxSize value is calculated in KB. * Default value = 46080 (45mb). */ maxSize: number; /** * This field does not require to include the dot extension. * Example: ["psd", .xlsx", "zip", ".docx", ".pptx"] */ acceptFileType: string[]; /** * Returns the list of valid attachments added. */ attachmentItems: IAttachmentData[]; $attachmentItems: EventEmitter; $removedAttachmentItems: EventEmitter; /** * Returns the list of valid attachments added and fires the upload button. */ $uploadClick: EventEmitter; $continueUploadActive: EventEmitter; handleErrorMessageResult$: EventEmitter; constructor(_alert: GlComponentModalAlertService); private static fileNameList; onFileDropped(fileList: FileList): Promise; removeAttachment(removed: any): void; fileBrowserHandler(files: EventTarget): Promise; parsedAcceptList(): string; click(): void; uploadClick(): void; onContinueUpload(active: boolean): void; private addItemToArray; private showErrorMessage; private errorMessage; private errorMessageTwoVariables; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }