From 4935852c49f9e94c2debfa6966d6fda561c4a296 Mon Sep 17 00:00:00 2001 From: Rik Schennink Date: Mon, 3 Jun 2019 08:26:08 +0200 Subject: [PATCH] add `onactivatefile` and `onprocessfiles` callback --- package-lock.json | 5 ----- src/app/modules/filepond/filepond.component.ts | 4 +++- src/app/modules/filepond/package.json | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 252b4f5..afcba1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3738,11 +3738,6 @@ "resolved": "https://registry.npmjs.org/filepond/-/filepond-4.0.1.tgz", "integrity": "sha512-NNk7tAhlFvJ2XFlSIror3n8ve1FeA8G9wv/YBJWpiEChq+kdm1DLUeDlAYI+aaV2U+S5UMj5C5yvVho/lEWMFg==" }, - "filepond-plugin-file-validate-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/filepond-plugin-file-validate-type/-/filepond-plugin-file-validate-type-1.1.0.tgz", - "integrity": "sha512-EtWdk4cAsFvrkfldJyMN0XwUDAfX6pfDSIusNYSDfH6KDzVZ+ngd+I+P4MVGp8ZnMw5g9mXvuBjLkrZIrm4R6Q==" - }, "filepond-plugin-image-exif-orientation": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/filepond-plugin-image-exif-orientation/-/filepond-plugin-image-exif-orientation-1.0.4.tgz", diff --git a/src/app/modules/filepond/filepond.component.ts b/src/app/modules/filepond/filepond.component.ts index 85d578e..53eb563 100644 --- a/src/app/modules/filepond/filepond.component.ts +++ b/src/app/modules/filepond/filepond.component.ts @@ -48,6 +48,7 @@ const outputs: Array = [ 'oninit', 'onwarning', 'onerror', + 'onactivatefile', 'onaddfilestart', 'onaddfileprogress', 'onaddfile', @@ -55,7 +56,8 @@ const outputs: Array = [ 'onprocessfileprogress', 'onprocessfileabort', 'onprocessfilerevert', - 'onprocessfile', + 'onprocessfile', + 'onprocessfiles', 'onremovefile', 'onpreparefile', 'onupdatefiles' diff --git a/src/app/modules/filepond/package.json b/src/app/modules/filepond/package.json index 327c693..1dcf3c6 100644 --- a/src/app/modules/filepond/package.json +++ b/src/app/modules/filepond/package.json @@ -1,6 +1,6 @@ { "name": "ngx-filepond", - "version": "5.0.0", + "version": "5.0.1", "description": "A handy FilePond adapter component for Angular", "homepage": "https://pqina.nl/filepond", "license": "MIT",