export var FileUploadState;
(function (FileUploadState) {
    FileUploadState["DEFAULT"] = "default";
    FileUploadState["DISABLED"] = "disabled";
    FileUploadState["HOVER"] = "hover";
    FileUploadState["DRAG"] = "drag";
    FileUploadState["ERROR"] = "error";
})(FileUploadState || (FileUploadState = {}));
export var FileUploadVariant;
(function (FileUploadVariant) {
    FileUploadVariant["HORIZONTAL"] = "horizontal";
    FileUploadVariant["VERTICAL"] = "vertical";
})(FileUploadVariant || (FileUploadVariant = {}));
export var FileUploadError;
(function (FileUploadError) {
    FileUploadError["INVALID_FORMAT"] = "Invalid file format! Upload valid file.";
    FileUploadError["SIZE_LIMIT_EXCEEDED"] = "File exceeds size limit! Upload smaller file.";
    FileUploadError["MULTIPLE_NOT_ALLOWED"] = "Please Upload Single File!";
    FileUploadError["DUPLICATES_NOT_ALLOWED"] = "Duplicate Files Are Not Allowed!";
    FileUploadError["UPLOAD_URL_REQUIRED"] = "Upload URL is required!";
    FileUploadError["SERVER_SIDE_ERROR"] = "Error from server! Please try again later.";
    FileUploadError["NETWORK_ERROR"] = "Network error! Please try again later.";
    FileUploadError["UPLOAD_CANCELLED"] = "File upload cancelled.";
})(FileUploadError || (FileUploadError = {}));
export var FileUploadEvent;
(function (FileUploadEvent) {
    FileUploadEvent["NILE_INIT"] = "nile-init";
    FileUploadEvent["NILE_BROWSE"] = "nile-browse";
    FileUploadEvent["NILE_CHANGE"] = "nile-change";
    FileUploadEvent["NILE_UPLOADING"] = "nile-uploading";
    FileUploadEvent["NILE_UPLOAD_PROGRESS"] = "nile-upload-progress";
    FileUploadEvent["NILE_UPLOAD_SUCCESS"] = "nile-upload-success";
    FileUploadEvent["NILE_UPLOAD_CANCELLED"] = "nile-upload-cancelled";
    FileUploadEvent["NILE_SIZE_EXCEED_FILES"] = "nile-size-exceed-files";
    FileUploadEvent["NILE_CANCEL_UPLOAD"] = "nile-cancel-upload";
    FileUploadEvent["NILE_NETWORK_ERROR"] = "nile-network-error";
    FileUploadEvent["SERVER_SIDE_ERROR"] = "nile-server-error";
    FileUploadEvent["NILE_DESTROY"] = "nile-destroy";
    FileUploadEvent["NILE_ERROR"] = "nile-error";
})(FileUploadEvent || (FileUploadEvent = {}));
export var FileUploadDefaults;
(function (FileUploadDefaults) {
    FileUploadDefaults["TITLE"] = "Drag and drop to upload";
    FileUploadDefaults["SUBTITLE"] = "PNG, JPG or SVG (upto 1MB) | 1:1 ratio";
    FileUploadDefaults["ERROR_MESSAGE"] = "Invalid File Format.";
    FileUploadDefaults["DRAG_STATE_DEFAULT"] = "Drop files here to upload";
    FileUploadDefaults["CUSTOM_ERROR"] = "Error Occured!";
})(FileUploadDefaults || (FileUploadDefaults = {}));
;
export var FileUploadErrorReason;
(function (FileUploadErrorReason) {
    FileUploadErrorReason["INVALID_FORMAT"] = "Invalid Format";
    FileUploadErrorReason["SIZE_LIMIT_EXCEEDED"] = "Size Limit Exceeded";
    FileUploadErrorReason["SERVER_SIDE_ERROR"] = "Server Side Error";
    FileUploadErrorReason["NETWORK_ERROR"] = "Network Error";
    FileUploadErrorReason["UPLOAD_CANCELLED"] = "Upload Cancelled";
})(FileUploadErrorReason || (FileUploadErrorReason = {}));
export var ErrorType;
(function (ErrorType) {
    ErrorType["SERVER"] = "SERVER";
    ErrorType["NETWORK"] = "NETWORK";
    ErrorType["UPLOAD_CANCELLED"] = "UPLOAD_CANCELLED";
    ErrorType["VALIDATION"] = "VALIDATION";
})(ErrorType || (ErrorType = {}));
//# sourceMappingURL=file-upload.enums.js.map