Comparing version 4.30.3 to 4.30.4
export default { | ||
labelIdle: | ||
'Træk og slip dine filer eller <span class = "filepond - label-action"> Gennemse </span>', | ||
'Træk & slip filer eller <span class = "filepond - label-action"> Gennemse </span>', | ||
labelInvalidField: 'Felt indeholder ugyldige filer', | ||
labelFileWaitingForSize: 'Venter på størrelse', | ||
labelFileSizeNotAvailable: 'Størrelse ikke tilgængelig', | ||
labelFileLoading: 'Loading', | ||
labelFileLoadError: 'Fejl under indlæsning', | ||
labelFileProcessing: 'Uploading', | ||
labelFileLoading: 'Loader', | ||
labelFileLoadError: 'Load fejlede', | ||
labelFileProcessing: 'Uploader', | ||
labelFileProcessingComplete: 'Upload færdig', | ||
labelFileProcessingAborted: 'Upload annulleret', | ||
labelFileProcessingError: 'Fejl under upload', | ||
labelFileProcessingRevertError: 'Fejl under fortryd', | ||
labelFileRemoveError: 'Fejl under fjernelse', | ||
labelFileProcessingError: 'Upload fejlede', | ||
labelFileProcessingRevertError: 'Fortryd fejlede', | ||
labelFileRemoveError: 'Fjern fejlede', | ||
labelTapToCancel: 'tryk for at annullere', | ||
@@ -29,5 +29,5 @@ labelTapToRetry: 'tryk for at prøve igen', | ||
labelMaxTotalFileSize: 'Maksimal total filstørrelse er {filesize}', | ||
labelFileTypeNotAllowed: 'Fil af ugyldig type', | ||
labelFileTypeNotAllowed: 'Ugyldig filtype', | ||
fileValidateTypeLabelExpectedTypes: 'Forventer {allButLastType} eller {lastType}', | ||
imageValidateSizeLabelFormatError: 'Billedtype understøttes ikke', | ||
imageValidateSizeLabelFormatError: 'Ugyldigt format', | ||
imageValidateSizeLabelImageSizeTooSmall: 'Billedet er for lille', | ||
@@ -37,6 +37,6 @@ imageValidateSizeLabelImageSizeTooBig: 'Billedet er for stort', | ||
imageValidateSizeLabelExpectedMaxSize: 'Maksimal størrelse er {maxWidth} × {maxHeight}', | ||
imageValidateSizeLabelImageResolutionTooLow: 'Opløsning er for lav', | ||
imageValidateSizeLabelImageResolutionTooHigh: 'Opløsning er for høj', | ||
imageValidateSizeLabelImageResolutionTooLow: 'For lav opløsning', | ||
imageValidateSizeLabelImageResolutionTooHigh: 'For høj opløsning', | ||
imageValidateSizeLabelExpectedMinResolution: 'Minimum opløsning er {minResolution}', | ||
imageValidateSizeLabelExpectedMaxResolution: 'Maksimal opløsning er {maxResolution}', | ||
}; |
@@ -14,3 +14,3 @@ export default { | ||
labelFileRemoveError: "Erreur durant la suppression", | ||
labelTapToCancel: "appuyez pour annuler", | ||
labelTapToCancel: "appuyer pour annuler", | ||
labelTapToRetry: "appuyer pour réessayer", | ||
@@ -22,5 +22,5 @@ labelTapToUndo: "appuyer pour revenir en arrière", | ||
labelButtonAbortItemProcessing: "Annuler", | ||
labelButtonUndoItemProcessing: "Retour en arrière", | ||
labelButtonUndoItemProcessing: "Revenir en arrière", | ||
labelButtonRetryItemProcessing: "Recommencer", | ||
labelButtonProcessItem: "Charger", | ||
labelButtonProcessItem: "Transférer", | ||
labelMaxFileSizeExceeded: "Le fichier est trop volumineux", | ||
@@ -31,3 +31,3 @@ labelMaxFileSize: "La taille maximale de fichier est {filesize}", | ||
labelFileTypeNotAllowed: "Fichier non valide", | ||
fileValidateTypeLabelExpectedTypes: "Attendez {allButLastType} ou {lastType}", | ||
fileValidateTypeLabelExpectedTypes: "Attendu {allButLastType} ou {lastType}", | ||
imageValidateSizeLabelFormatError: "Type d'image non pris en charge", | ||
@@ -34,0 +34,0 @@ imageValidateSizeLabelImageSizeTooSmall: "L'image est trop petite", |
{ | ||
"name": "filepond", | ||
"version": "4.30.3", | ||
"version": "4.30.4", | ||
"description": "FilePond, Where files go to stretch their bits.", | ||
@@ -59,2 +59,3 @@ "license": "MIT", | ||
"jest": "^24.8.0", | ||
"jest-mock-console": "^1.2.3", | ||
"postcss-cli": "^6.1.3", | ||
@@ -61,0 +62,0 @@ "precss": "^4.0.0", |
@@ -66,2 +66,3 @@ # [<img src="https://github.com/pqina/filepond-github-assets/blob/master/logo.svg" height="44" alt="FilePond"/>](https://pqina.nl/filepond/) | ||
* [PDF Preview](https://github.com/Adri-Glez/filepond-plugin-pdf-preview) ([Adri-Glez/filepond-plugin-pdf-preview](https://github.com/Adri-Glez/filepond-plugin-pdf-preview) | ||
* [PDF Convert](https://github.com/alexandreDavid/filepond-plugin-pdf-convert) ([alexandreDavid/filepond-plugin-pdf-convert](https://github.com/alexandreDavid/filepond-plugin-pdf-convert)) | ||
* [Copy Path](https://github.com/jnkn6/filepond-plugin-copy-path) ([jnkn6/filepond-plugin-copy-path](https://github.com/jnkn6/filepond-plugin-copy-path)) | ||
@@ -68,0 +69,0 @@ |
@@ -127,2 +127,23 @@ // Based on definitions by Zach Posten for React-Filepond <https://github.com/zposten> | ||
export interface ProcessServerChunkTransferOptions { | ||
chunkTransferId: string, | ||
chunkServer: ServerUrl, | ||
/** | ||
* Chunk uploads enabled | ||
*/ | ||
chunkUploads: boolean, | ||
/** | ||
* Forcing use of chunk uploads even for files smaller than chunk size | ||
*/ | ||
chunkForce: boolean, | ||
/** | ||
* Size of chunks | ||
*/ | ||
chunkSize: number, | ||
/** | ||
* Amount of times to retry upload of a chunk when it fails | ||
*/ | ||
chunkRetryDelays: number[] | ||
} | ||
export type ProcessServerConfigFunction = ( | ||
@@ -149,3 +170,10 @@ /** The name of the input field. */ | ||
/** Let FilePond know the request has been cancelled. */ | ||
abort: () => void | ||
abort: () => void, | ||
/** | ||
* Let Filepond know and store the current file chunk transfer id so it can track the | ||
* progress of the whole file upload | ||
*/ | ||
transfer: (transferId: string) => void, | ||
options: ProcessServerChunkTransferOptions | ||
) => void; | ||
@@ -751,2 +779,19 @@ | ||
fileSizeBase?: number; | ||
/** | ||
* Tells FilePond to store files in hidden file input elements so they can be posted along with | ||
* normal form post. This only works if the browser supports the DataTransfer constructor, | ||
* this is the case on Firefox, Chrome, Chromium powered browsers and Safari version 14.1 | ||
* and higher. | ||
* @default false | ||
*/ | ||
storeAsFile?: boolean; | ||
/** | ||
* Shows Powered by PQINA in footer. Can be disabled by setting to false, but please do | ||
* link to https://pqina.nl somewhere else on your website, or otherwise donate to help | ||
* keep the project alive. | ||
* @default "Powered by PQINA" | ||
*/ | ||
credits?: false | ||
} | ||
@@ -753,0 +798,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1117423
40
22808
212
21