@types/dropzone
Advanced tools
Comparing version 5.7.3 to 5.7.4
@@ -21,10 +21,10 @@ // Type definitions for Dropzone 5.7.2 | ||
export interface DropzoneResizeInfo { | ||
srcX?: number; | ||
srcY?: number; | ||
trgX?: number; | ||
trgY?: number; | ||
srcWidth?: number; | ||
srcHeight?: number; | ||
trgWidth?: number; | ||
trgHeight?: number; | ||
srcX?: number | undefined; | ||
srcY?: number | undefined; | ||
trgX?: number | undefined; | ||
trgY?: number | undefined; | ||
srcWidth?: number | undefined; | ||
srcHeight?: number | undefined; | ||
trgWidth?: number | undefined; | ||
trgHeight?: number | undefined; | ||
} | ||
@@ -37,7 +37,7 @@ | ||
uuid: string; | ||
totalChunkCount?: number; | ||
totalChunkCount?: number | undefined; | ||
} | ||
export interface DropzoneFile extends File { | ||
dataURL?: string; | ||
dataURL?: string | undefined; | ||
previewElement: HTMLElement; | ||
@@ -48,4 +48,4 @@ previewTemplate: HTMLElement; | ||
accepted: boolean; | ||
xhr?: XMLHttpRequest; | ||
upload?: DropzoneFileUpload; | ||
xhr?: XMLHttpRequest | undefined; | ||
upload?: DropzoneFileUpload | undefined; | ||
} | ||
@@ -60,62 +60,62 @@ | ||
export interface DropzoneDictFileSizeUnits { | ||
tb?: string; | ||
gb?: string; | ||
mb?: string; | ||
kb?: string; | ||
b?: string; | ||
tb?: string | undefined; | ||
gb?: string | undefined; | ||
mb?: string | undefined; | ||
kb?: string | undefined; | ||
b?: string | undefined; | ||
} | ||
export interface DropzoneOptions { | ||
url?: ((files: ReadonlyArray<DropzoneFile>) => string) | string; | ||
method?: ((files: ReadonlyArray<DropzoneFile>) => string) | string; | ||
withCredentials?: boolean; | ||
timeout?: number; | ||
parallelUploads?: number; | ||
uploadMultiple?: boolean; | ||
chunking?: boolean; | ||
forceChunking?: boolean; | ||
chunkSize?: number; | ||
parallelChunkUploads?: boolean; | ||
retryChunks?: boolean; | ||
retryChunksLimit?: number; | ||
maxFilesize?: number; | ||
paramName?: string; | ||
createImageThumbnails?: boolean; | ||
maxThumbnailFilesize?: number; | ||
thumbnailWidth?: number; | ||
thumbnailHeight?: number; | ||
thumbnailMethod?: 'contain' | 'crop'; | ||
resizeWidth?: number; | ||
resizeHeight?: number; | ||
resizeMimeType?: string; | ||
resizeQuality?: number; | ||
resizeMethod?: 'contain' | 'crop'; | ||
filesizeBase?: number; | ||
maxFiles?: number; | ||
params?: {}; | ||
headers?: { [key: string]: string }; | ||
clickable?: boolean | string | HTMLElement | (string | HTMLElement)[]; | ||
ignoreHiddenFiles?: boolean; | ||
acceptedFiles?: string; | ||
url?: ((files: ReadonlyArray<DropzoneFile>) => string) | string | undefined; | ||
method?: ((files: ReadonlyArray<DropzoneFile>) => string) | string | undefined; | ||
withCredentials?: boolean | undefined; | ||
timeout?: number | undefined; | ||
parallelUploads?: number | undefined; | ||
uploadMultiple?: boolean | undefined; | ||
chunking?: boolean | undefined; | ||
forceChunking?: boolean | undefined; | ||
chunkSize?: number | undefined; | ||
parallelChunkUploads?: boolean | undefined; | ||
retryChunks?: boolean | undefined; | ||
retryChunksLimit?: number | undefined; | ||
maxFilesize?: number | undefined; | ||
paramName?: string | undefined; | ||
createImageThumbnails?: boolean | undefined; | ||
maxThumbnailFilesize?: number | undefined; | ||
thumbnailWidth?: number | undefined; | ||
thumbnailHeight?: number | undefined; | ||
thumbnailMethod?: 'contain' | 'crop' | undefined; | ||
resizeWidth?: number | undefined; | ||
resizeHeight?: number | undefined; | ||
resizeMimeType?: string | undefined; | ||
resizeQuality?: number | undefined; | ||
resizeMethod?: 'contain' | 'crop' | undefined; | ||
filesizeBase?: number | undefined; | ||
maxFiles?: number | undefined; | ||
params?: {} | undefined; | ||
headers?: { [key: string]: string } | undefined; | ||
clickable?: boolean | string | HTMLElement | (string | HTMLElement)[] | undefined; | ||
ignoreHiddenFiles?: boolean | undefined; | ||
acceptedFiles?: string | undefined; | ||
renameFilename?(name: string): string; | ||
autoProcessQueue?: boolean; | ||
autoQueue?: boolean; | ||
addRemoveLinks?: boolean; | ||
previewsContainer?: boolean | string | HTMLElement; | ||
hiddenInputContainer?: HTMLElement; | ||
capture?: string; | ||
autoProcessQueue?: boolean | undefined; | ||
autoQueue?: boolean | undefined; | ||
addRemoveLinks?: boolean | undefined; | ||
previewsContainer?: boolean | string | HTMLElement | undefined; | ||
hiddenInputContainer?: HTMLElement | undefined; | ||
capture?: string | undefined; | ||
dictDefaultMessage?: string; | ||
dictFallbackMessage?: string; | ||
dictFallbackText?: string; | ||
dictFileTooBig?: string; | ||
dictInvalidFileType?: string; | ||
dictResponseError?: string; | ||
dictCancelUpload?: string; | ||
dictCancelUploadConfirmation?: string; | ||
dictRemoveFile?: string; | ||
dictRemoveFileConfirmation?: string; | ||
dictMaxFilesExceeded?: string; | ||
dictFileSizeUnits?: DropzoneDictFileSizeUnits; | ||
dictUploadCanceled?: string; | ||
dictDefaultMessage?: string | undefined; | ||
dictFallbackMessage?: string | undefined; | ||
dictFallbackText?: string | undefined; | ||
dictFileTooBig?: string | undefined; | ||
dictInvalidFileType?: string | undefined; | ||
dictResponseError?: string | undefined; | ||
dictCancelUpload?: string | undefined; | ||
dictCancelUploadConfirmation?: string | undefined; | ||
dictRemoveFile?: string | undefined; | ||
dictRemoveFileConfirmation?: string | undefined; | ||
dictMaxFilesExceeded?: string | undefined; | ||
dictFileSizeUnits?: DropzoneDictFileSizeUnits | undefined; | ||
dictUploadCanceled?: string | undefined; | ||
@@ -125,3 +125,3 @@ accept?(file: DropzoneFile, done: (error?: string | Error) => void): void; | ||
init?(this: Dropzone): void; | ||
forceFallback?: boolean; | ||
forceFallback?: boolean | undefined; | ||
fallback?(): void; | ||
@@ -172,3 +172,3 @@ resize?(file: DropzoneFile, width?: number, height?: number, resizeMethod?: string): DropzoneResizeInfo; | ||
previewTemplate?: string; | ||
previewTemplate?: string | undefined; | ||
} | ||
@@ -215,3 +215,3 @@ | ||
files: Dropzone.DropzoneFile[]; | ||
hiddenFileInput?: HTMLInputElement; | ||
hiddenFileInput?: HTMLInputElement | undefined; | ||
listeners: Dropzone.DropzoneListener[]; | ||
@@ -218,0 +218,0 @@ defaultOptions: Dropzone.DropzoneOptions; |
{ | ||
"name": "@types/dropzone", | ||
"version": "5.7.3", | ||
"version": "5.7.4", | ||
"description": "TypeScript definitions for Dropzone", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dropzone", | ||
"license": "MIT", | ||
@@ -73,4 +74,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "79989009aae8ca02c92a6fce5882e448c22ad3942e6f3c08ea741fb2dcdae096", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "8bb0130daead42f6eda2b4b41adeba0cd3b65c0474562c0c7fa230157502da87", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 27 Oct 2020 08:24:59 GMT | ||
* Last updated: Tue, 06 Jul 2021 20:32:49 GMT | ||
* Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery) | ||
@@ -14,0 +14,0 @@ * Global values: `Dropzone` |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
21114
0