Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-dropzone

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-dropzone - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

bundles/ngx-dropzone.umd.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/platform-browser"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-dropzone",["exports","@angular/core","@angular/platform-browser","@angular/common"],t):t(e["ngx-dropzone"]={},e.ng.core,e.ng.platformBrowser,e.ng.common)}(this,function(e,o,r,t){"use strict";var n=function(){function e(){}return e.decorators=[{type:o.Directive,args:[{selector:"ngx-dropzone-label"}]}],e}(),i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function a(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function s(o,r){var i,a,s,e,p={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return e={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function n(e){if(i)throw new TypeError("Generator is already executing.");for(;p;)try{if(i=1,a&&(s=2&e[0]?a["return"]:e[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,e[1])).done)return s;switch(a=0,s&&(e=[2&e[0],s.value]),e[0]){case 0:case 1:s=e;break;case 4:return p.label++,{value:e[1],done:!1};case 5:p.label++,a=e[1],e=[0];continue;case 7:e=p.ops.pop(),p.trys.pop();continue;default:if(!(s=0<(s=p.trys).length&&s[s.length-1])&&(6===e[0]||2===e[0])){p=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3])){p.label=e[1];break}if(6===e[0]&&p.label<s[1]){p.label=s[1],s=e;break}if(s&&p.label<s[2]){p.label=s[2],p.ops.push(e);break}s[2]&&p.ops.pop(),p.trys.pop();continue}e=r.call(o,p)}catch(t){e=[6,t],a=0}finally{i=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([t,e])}}}function p(e){return null!=e&&""+e!="false"}var l={BACKSPACE:8,DELETE:46};l[l.BACKSPACE]="BACKSPACE",l[l.DELETE]="DELETE";var c=function(){function e(e){this.sanitizer=e,this._removable=!1,this.removed=new o.EventEmitter,this.tabIndex=0}return Object.defineProperty(e.prototype,"removable",{get:function(){return this._removable},set:function(e){this._removable=p(e)},enumerable:!0,configurable:!0}),e.prototype.keyEvent=function(e){switch(e.keyCode){case l.BACKSPACE:case l.DELETE:this.remove()}},Object.defineProperty(e.prototype,"hostStyle",{get:function(){return this.sanitizer.bypassSecurityTrustStyle("\n\t\t\tdisplay: flex;\n\t\t\theight: 140px;\n\t\t\tmin-height: 140px;\n\t\t\tmin-width: 180px;\n\t\t\tmax-width: 180px;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tpadding: 0 20px;\n\t\t\tmargin: 10px;\n\t\t\tborder-radius: 5px;\n\t\t\tposition: relative;\n\t\t")},enumerable:!0,configurable:!0}),e.prototype._remove=function(e){e.stopPropagation(),this.remove()},e.prototype.remove=function(){this._removable&&this.removed.next(this.file)},e.prototype.readFile=function(){return function e(t,a,s,p){return new(s||(s=Promise))(function(e,n){function o(e){try{i(p.next(e))}catch(t){n(t)}}function r(e){try{i(p["throw"](e))}catch(t){n(t)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(o,r)}i((p=p.apply(t,a||[])).next())})}(this,void 0,void 0,function(){var o=this;return s(this,function(e){return[2,new Promise(function(t,n){var e=new FileReader;if(e.onload=function(e){t(e.target.result)},e.onerror=function(e){console.error("FileReader failed on file "+o.file.name+"."),n(e)},!o.file)return n("No file to read. Please provide a file using the [file] Input property.");e.readAsDataURL(o.file)})]})})},e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone-preview",template:'\n\t\t<ng-content select="ngx-dropzone-label"></ng-content>\n\t\t<ngx-dropzone-remove-badge *ngIf="removable" (click)="_remove($event)">\n\t\t</ngx-dropzone-remove-badge>\n\t',styles:[":host(){background-image:linear-gradient(to top,#ededed,#efefef,#f1f1f1,#f4f4f4,#f6f6f6)}:host():focus,:host():hover{background-image:linear-gradient(to top,#e3e3e3,#ebeaea,#e8e7e7,#ebeaea,#f4f4f4);outline:0}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() ::ng-deep ngx-dropzone-label{overflow-wrap:break-word}"]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer}]},e.propDecorators={file:[{type:o.Input}],removable:[{type:o.Input}],removed:[{type:o.Output}],keyEvent:[{type:o.HostListener,args:["keyup",["$event"]]}],hostStyle:[{type:o.HostBinding,args:["style"]}],tabIndex:[{type:o.HostBinding,args:["tabindex"]}]},e}(),d=function(){function e(){}return e.prototype.parseFileList=function(e,t,n,o){for(var r=[],i=[],a=0;a<e.length;a++){var s=e.item(a);this.isAccepted(s,t)?n&&s.size>n?this.rejectFile(i,s,"size"):!o&&1<=r.length?this.rejectFile(i,s,"no_multiple"):r.push(s):this.rejectFile(i,s,"type")}return{addedFiles:r,rejectedFiles:i}},e.prototype.isAccepted=function(e,t){if("*"===t)return!0;var n=t.split(",").map(function(e){return e.toLowerCase().trim()}),o=e.type.toLowerCase(),r=e.name.toLowerCase();return!!n.find(function(e){return e.endsWith("/*")?o.split("/")[0]===e.split("/")[0]:e.startsWith(".")?r.endsWith(e):e==o})},e.prototype.rejectFile=function(e,t,n){var o=t;o.reason=n,e.push(o)},e.decorators=[{type:o.Injectable}],e}(),u=function(){function e(e){this.service=e,this.change=new o.EventEmitter,this.accept="*",this._disabled=!1,this._multiple=!0,this._maxFileSize=undefined,this._expandable=!1,this._disableClick=!1,this._isHovered=!1}return Object.defineProperty(e.prototype,"_hasPreviews",{get:function(){return!!this._previewChildren.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=p(e),this._isHovered&&(this._isHovered=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(e){this._multiple=p(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxFileSize",{get:function(){return this._maxFileSize},set:function(e){this._maxFileSize=function t(e){return isNaN(parseFloat(e))||isNaN(Number(e))?null:Number(e)}(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandable",{get:function(){return this._expandable},set:function(e){this._expandable=p(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClick",{get:function(){return this._disableClick},set:function(e){this._disableClick=p(e)},enumerable:!0,configurable:!0}),e.prototype.showFileSelector=function(){this.disabled||this.disableClick||this._fileInput.nativeElement.click()},e.prototype._onDragOver=function(e){this.disabled||(this.preventDefault(e),this._isHovered=!0)},e.prototype._onDragLeave=function(){this._isHovered=!1},e.prototype._onDrop=function(e){this.disabled||(this.preventDefault(e),this._isHovered=!1,this.handleFileDrop(e.dataTransfer.files))},e.prototype._onFilesSelected=function(e){var t=e.target.files;this.handleFileDrop(t),this._fileInput.nativeElement.value="",this.preventDefault(e)},e.prototype.handleFileDrop=function(e){var t=this.service.parseFileList(e,this.accept,this.maxFileSize,this.multiple);this.change.next({addedFiles:t.addedFiles,rejectedFiles:t.rejectedFiles,source:this})},e.prototype.preventDefault=function(e){e.preventDefault(),e.stopPropagation()},e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone, [ngx-dropzone]",template:'<input #fileInput type="file" [multiple]="multiple" [accept]="accept" (change)="_onFilesSelected($event)" [id]="id"\n [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby">\n<ng-content select="ngx-dropzone-label" *ngIf="!_hasPreviews"></ng-content>\n<ng-content select="ngx-dropzone-preview"></ng-content>\n',styles:[":host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+ngx-dropzone-label{outline:-webkit-focus-ring-color auto 5px;outline:#000 dotted 1px}"],providers:[d]}]}],e.ctorParameters=function(){return[{type:d,decorators:[{type:o.Self}]}]},e.propDecorators={_previewChildren:[{type:o.ContentChildren,args:[c,{descendants:!0}]}],_fileInput:[{type:o.ViewChild,args:["fileInput"]}],change:[{type:o.Output}],accept:[{type:o.Input}],disabled:[{type:o.Input},{type:o.HostBinding,args:["class.ngx-dz-disabled"]}],multiple:[{type:o.Input}],maxFileSize:[{type:o.Input}],expandable:[{type:o.Input},{type:o.HostBinding,args:["class.expandable"]}],disableClick:[{type:o.Input},{type:o.HostBinding,args:["class.unclickable"]}],id:[{type:o.Input}],ariaLabel:[{type:o.Input,args:["aria-label"]}],ariaLabelledby:[{type:o.Input,args:["aria-labelledby"]}],_isHovered:[{type:o.HostBinding,args:["class.ngx-dz-hovered"]}],showFileSelector:[{type:o.HostListener,args:["click"]}],_onDragOver:[{type:o.HostListener,args:["dragover",["$event"]]}],_onDragLeave:[{type:o.HostListener,args:["dragleave"]}],_onDrop:[{type:o.HostListener,args:["drop",["$event"]]}]},e}(),f=function(n){function e(e){var t=n.call(this,e)||this;return t.imageSrc="",t}return a(e,n),e.prototype.ngOnInit=function(){var t=this;this.readFile().then(function(e){return setTimeout(function(){return t.imageSrc=e})})["catch"](function(e){return console.error(e)})},e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone-image-preview",template:'\n <img [src]="imageSrc" />\n\t\t<ng-content select="ngx-dropzone-label"></ng-content>\n <ngx-dropzone-remove-badge *ngIf="removable" (click)="_remove($event)">\n </ngx-dropzone-remove-badge>\n\t',styles:[":host(){min-width:unset!important;max-width:unset!important;padding:0!important}:host():focus img,:host():hover img{opacity:.7}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() img{max-height:100%;border-radius:5px;opacity:.8}:host() ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"],providers:[{provide:c,useExisting:e}]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer}]},e}(c),g=function(){function e(){}return e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone-remove-badge",template:'\n <svg>\n <line x1="0" y1="0" x2="10" y2="10" />\n <line x1="0" y1="10" x2="10" y2="0" />\n </svg>\n ',styles:[":host(){display:flex;justify-content:center;align-items:center;height:22px;width:22px;position:absolute;top:5px;right:5px;border-radius:50%;background:#bbb;color:#333;cursor:pointer}:host():hover{background:#aeaeae}:host()>svg{height:10px;width:10px}:host()>svg>line{stroke-width:2px;stroke:#fff}"]}]}],e}(),h=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.ngOnInit=function(){this.file?(this.videoSrc=URL.createObjectURL(this.file),this.sanitizedVideoSrc=this.sanitizer.bypassSecurityTrustUrl(this.videoSrc)):console.error("No file to read. Please provide a file using the [file] Input property.")},e.prototype.ngOnDestroy=function(){URL.revokeObjectURL(this.videoSrc)},e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone-video-preview",template:'\n <video *ngIf="sanitizedVideoSrc" controls (click)="$event.stopPropagation()">\n <source [src]="sanitizedVideoSrc" />\n </video>\n <ng-content select="ngx-dropzone-label"></ng-content>\n <ngx-dropzone-remove-badge *ngIf="removable" (click)="_remove($event)">\n </ngx-dropzone-remove-badge>\n\t',styles:[":host(){min-width:unset!important;max-width:unset!important;padding:0!important}:host():focus video,:host():hover video{opacity:.7}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() video{max-height:100%;border-radius:5px}:host() ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"],providers:[{provide:c,useExisting:e}]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer}]},e}(c),b=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[t.CommonModule],declarations:[u,n,c,f,g,h],exports:[u,n,c,f,g,h]}]}],e}();e.NgxDropzoneModule=b,e.NgxDropzoneComponent=u,e.NgxDropzonePreviewComponent=c,e.NgxDropzoneImagePreviewComponent=f,e.NgxDropzoneVideoPreviewComponent=h,e.NgxDropzoneRemoveBadgeComponent=g,e.ɵb=n,e.ɵa=d,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/platform-browser"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-dropzone",["exports","@angular/core","@angular/platform-browser","@angular/common"],t):t(e["ngx-dropzone"]={},e.ng.core,e.ng.platformBrowser,e.ng.common)}(this,function(e,o,r,t){"use strict";var n=function(){function e(){}return e.decorators=[{type:o.Directive,args:[{selector:"ngx-dropzone-label"}]}],e}(),i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function a(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function s(o,r){var i,a,s,e,p={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return e={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function n(e){if(i)throw new TypeError("Generator is already executing.");for(;p;)try{if(i=1,a&&(s=2&e[0]?a["return"]:e[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,e[1])).done)return s;switch(a=0,s&&(e=[2&e[0],s.value]),e[0]){case 0:case 1:s=e;break;case 4:return p.label++,{value:e[1],done:!1};case 5:p.label++,a=e[1],e=[0];continue;case 7:e=p.ops.pop(),p.trys.pop();continue;default:if(!(s=0<(s=p.trys).length&&s[s.length-1])&&(6===e[0]||2===e[0])){p=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3])){p.label=e[1];break}if(6===e[0]&&p.label<s[1]){p.label=s[1],s=e;break}if(s&&p.label<s[2]){p.label=s[2],p.ops.push(e);break}s[2]&&p.ops.pop(),p.trys.pop();continue}e=r.call(o,p)}catch(t){e=[6,t],a=0}finally{i=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([t,e])}}}function p(e){return null!=e&&""+e!="false"}var l={BACKSPACE:8,DELETE:46};l[l.BACKSPACE]="BACKSPACE",l[l.DELETE]="DELETE";var c=function(){function e(e){this.sanitizer=e,this._removable=!1,this.removed=new o.EventEmitter,this.tabIndex=0}return Object.defineProperty(e.prototype,"removable",{get:function(){return this._removable},set:function(e){this._removable=p(e)},enumerable:!0,configurable:!0}),e.prototype.keyEvent=function(e){switch(e.keyCode){case l.BACKSPACE:case l.DELETE:this.remove()}},Object.defineProperty(e.prototype,"hostStyle",{get:function(){return this.sanitizer.bypassSecurityTrustStyle("\n\t\t\tdisplay: flex;\n\t\t\theight: 140px;\n\t\t\tmin-height: 140px;\n\t\t\tmin-width: 180px;\n\t\t\tmax-width: 180px;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tpadding: 0 20px;\n\t\t\tmargin: 10px;\n\t\t\tborder-radius: 5px;\n\t\t\tposition: relative;\n\t\t")},enumerable:!0,configurable:!0}),e.prototype._remove=function(e){e.stopPropagation(),this.remove()},e.prototype.remove=function(){this._removable&&this.removed.next(this.file)},e.prototype.readFile=function(){return function e(t,a,s,p){return new(s||(s=Promise))(function(e,n){function o(e){try{i(p.next(e))}catch(t){n(t)}}function r(e){try{i(p["throw"](e))}catch(t){n(t)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(o,r)}i((p=p.apply(t,a||[])).next())})}(this,void 0,void 0,function(){var o=this;return s(this,function(e){return[2,new Promise(function(t,n){var e=new FileReader;if(e.onload=function(e){t(e.target.result)},e.onerror=function(e){console.error("FileReader failed on file "+o.file.name+"."),n(e)},!o.file)return n("No file to read. Please provide a file using the [file] Input property.");e.readAsDataURL(o.file)})]})})},e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone-preview",template:'\n\t\t<ng-content select="ngx-dropzone-label"></ng-content>\n\t\t<ngx-dropzone-remove-badge *ngIf="removable" (click)="_remove($event)">\n\t\t</ngx-dropzone-remove-badge>\n\t',styles:[":host(){background-image:linear-gradient(to top,#ededed,#efefef,#f1f1f1,#f4f4f4,#f6f6f6)}:host():focus,:host():hover{background-image:linear-gradient(to top,#e3e3e3,#ebeaea,#e8e7e7,#ebeaea,#f4f4f4);outline:0}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() ::ng-deep ngx-dropzone-label{overflow-wrap:break-word}"]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer}]},e.propDecorators={file:[{type:o.Input}],removable:[{type:o.Input}],removed:[{type:o.Output}],keyEvent:[{type:o.HostListener,args:["keyup",["$event"]]}],hostStyle:[{type:o.HostBinding,args:["style"]}],tabIndex:[{type:o.HostBinding,args:["tabindex"]}]},e}(),d=function(){function e(){}return e.prototype.parseFileList=function(e,t,n,o){for(var r=[],i=[],a=0;a<e.length;a++){var s=e.item(a);this.isAccepted(s,t)?n&&s.size>n?this.rejectFile(i,s,"size"):!o&&1<=r.length?this.rejectFile(i,s,"no_multiple"):r.push(s):this.rejectFile(i,s,"type")}return{addedFiles:r,rejectedFiles:i}},e.prototype.isAccepted=function(e,t){if("*"===t)return!0;var n=t.split(",").map(function(e){return e.toLowerCase().trim()}),o=e.type.toLowerCase(),r=e.name.toLowerCase();return!!n.find(function(e){return e.endsWith("/*")?o.split("/")[0]===e.split("/")[0]:e.startsWith(".")?r.endsWith(e):e==o})},e.prototype.rejectFile=function(e,t,n){var o=t;o.reason=n,e.push(o)},e.decorators=[{type:o.Injectable}],e}(),u=function(){function e(e){this.service=e,this.change=new o.EventEmitter,this.accept="*",this._disabled=!1,this._multiple=!0,this._maxFileSize=undefined,this._expandable=!1,this._disableClick=!1,this._isHovered=!1}return Object.defineProperty(e.prototype,"_hasPreviews",{get:function(){return!!this._previewChildren.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=p(e),this._isHovered&&(this._isHovered=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(e){this._multiple=p(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxFileSize",{get:function(){return this._maxFileSize},set:function(e){this._maxFileSize=function t(e){return isNaN(parseFloat(e))||isNaN(Number(e))?null:Number(e)}(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandable",{get:function(){return this._expandable},set:function(e){this._expandable=p(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClick",{get:function(){return this._disableClick},set:function(e){this._disableClick=p(e)},enumerable:!0,configurable:!0}),e.prototype.showFileSelector=function(){this.disabled||this.disableClick||this._fileInput.nativeElement.click()},e.prototype._onDragOver=function(e){this.disabled||(this.preventDefault(e),this._isHovered=!0)},e.prototype._onDragLeave=function(){this._isHovered=!1},e.prototype._onDrop=function(e){this.disabled||(this.preventDefault(e),this._isHovered=!1,this.handleFileDrop(e.dataTransfer.files))},e.prototype._onFilesSelected=function(e){var t=e.target.files;this.handleFileDrop(t),this._fileInput.nativeElement.value="",this.preventDefault(e)},e.prototype.handleFileDrop=function(e){var t=this.service.parseFileList(e,this.accept,this.maxFileSize,this.multiple);this.change.next({addedFiles:t.addedFiles,rejectedFiles:t.rejectedFiles,source:this})},e.prototype.preventDefault=function(e){e.preventDefault(),e.stopPropagation()},e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone, [ngx-dropzone]",template:'<input\n #fileInput\n type="file"\n [id]="id"\n [multiple]="multiple"\n [accept]="accept"\n [disabled]="disabled"\n (change)="_onFilesSelected($event)"\n [attr.aria-label]="ariaLabel"\n [attr.aria-labelledby]="ariaLabelledby"\n [attr.aria-describedby]="ariaDescribedBy"\n>\n<ng-content select="ngx-dropzone-label" *ngIf="!_hasPreviews"></ng-content>\n<ng-content select="ngx-dropzone-preview"></ng-content>\n',styles:[":host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+::ng-deep ngx-dropzone-label{outline:#000 dotted 1px;outline:-webkit-focus-ring-color auto 5px}"],providers:[d]}]}],e.ctorParameters=function(){return[{type:d,decorators:[{type:o.Self}]}]},e.propDecorators={_previewChildren:[{type:o.ContentChildren,args:[c,{descendants:!0}]}],_fileInput:[{type:o.ViewChild,args:["fileInput"]}],change:[{type:o.Output}],accept:[{type:o.Input}],disabled:[{type:o.Input},{type:o.HostBinding,args:["class.ngx-dz-disabled"]}],multiple:[{type:o.Input}],maxFileSize:[{type:o.Input}],expandable:[{type:o.Input},{type:o.HostBinding,args:["class.expandable"]}],disableClick:[{type:o.Input},{type:o.HostBinding,args:["class.unclickable"]}],id:[{type:o.Input}],ariaLabel:[{type:o.Input,args:["aria-label"]}],ariaLabelledby:[{type:o.Input,args:["aria-labelledby"]}],ariaDescribedBy:[{type:o.Input,args:["aria-describedby"]}],_isHovered:[{type:o.HostBinding,args:["class.ngx-dz-hovered"]}],showFileSelector:[{type:o.HostListener,args:["click"]}],_onDragOver:[{type:o.HostListener,args:["dragover",["$event"]]}],_onDragLeave:[{type:o.HostListener,args:["dragleave"]}],_onDrop:[{type:o.HostListener,args:["drop",["$event"]]}]},e}(),f=function(n){function e(e){var t=n.call(this,e)||this;return t.imageSrc="",t}return a(e,n),e.prototype.ngOnInit=function(){var t=this;this.readFile().then(function(e){return setTimeout(function(){return t.imageSrc=e})})["catch"](function(e){return console.error(e)})},e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone-image-preview",template:'\n <img [src]="imageSrc" />\n\t\t<ng-content select="ngx-dropzone-label"></ng-content>\n <ngx-dropzone-remove-badge *ngIf="removable" (click)="_remove($event)">\n </ngx-dropzone-remove-badge>\n\t',styles:[":host(){min-width:unset!important;max-width:unset!important;padding:0!important}:host():focus img,:host():hover img{opacity:.7}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() img{max-height:100%;border-radius:5px;opacity:.8}:host() ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"],providers:[{provide:c,useExisting:e}]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer}]},e}(c),g=function(){function e(){}return e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone-remove-badge",template:'\n <svg>\n <line x1="0" y1="0" x2="10" y2="10" />\n <line x1="0" y1="10" x2="10" y2="0" />\n </svg>\n ',styles:[":host(){display:flex;justify-content:center;align-items:center;height:22px;width:22px;position:absolute;top:5px;right:5px;border-radius:50%;background:#bbb;color:#333;cursor:pointer}:host():hover{background:#aeaeae}:host()>svg{height:10px;width:10px}:host()>svg>line{stroke-width:2px;stroke:#fff}"]}]}],e}(),h=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.ngOnInit=function(){this.file?(this.videoSrc=URL.createObjectURL(this.file),this.sanitizedVideoSrc=this.sanitizer.bypassSecurityTrustUrl(this.videoSrc)):console.error("No file to read. Please provide a file using the [file] Input property.")},e.prototype.ngOnDestroy=function(){URL.revokeObjectURL(this.videoSrc)},e.decorators=[{type:o.Component,args:[{selector:"ngx-dropzone-video-preview",template:'\n <video *ngIf="sanitizedVideoSrc" controls (click)="$event.stopPropagation()">\n <source [src]="sanitizedVideoSrc" />\n </video>\n <ng-content select="ngx-dropzone-label"></ng-content>\n <ngx-dropzone-remove-badge *ngIf="removable" (click)="_remove($event)">\n </ngx-dropzone-remove-badge>\n\t',styles:[":host(){min-width:unset!important;max-width:unset!important;padding:0!important}:host():focus video,:host():hover video{opacity:.7}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() video{max-height:100%;border-radius:5px}:host() ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"],providers:[{provide:c,useExisting:e}]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer}]},e}(c),b=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[t.CommonModule],declarations:[u,n,c,f,g,h],exports:[u,n,c,f,g,h]}]}],e}();e.NgxDropzoneModule=b,e.NgxDropzoneComponent=u,e.NgxDropzonePreviewComponent=c,e.NgxDropzoneImagePreviewComponent=f,e.NgxDropzoneVideoPreviewComponent=h,e.NgxDropzoneRemoveBadgeComponent=g,e.ɵb=n,e.ɵa=d,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ngx-dropzone.umd.min.js.map

@@ -199,8 +199,18 @@ /**

selector: 'ngx-dropzone, [ngx-dropzone]',
template: `<input #fileInput type="file" [multiple]="multiple" [accept]="accept" (change)="_onFilesSelected($event)" [id]="id"
[attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby">
template: `<input
#fileInput
type="file"
[id]="id"
[multiple]="multiple"
[accept]="accept"
[disabled]="disabled"
(change)="_onFilesSelected($event)"
[attr.aria-label]="ariaLabel"
[attr.aria-labelledby]="ariaLabelledby"
[attr.aria-describedby]="ariaDescribedBy"
>
<ng-content select="ngx-dropzone-label" *ngIf="!_hasPreviews"></ng-content>
<ng-content select="ngx-dropzone-preview"></ng-content>
`,
styles: [`:host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+ngx-dropzone-label{outline:-webkit-focus-ring-color auto 5px;outline:#000 dotted 1px}`],
styles: [`:host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+::ng-deep ngx-dropzone-label{outline:#000 dotted 1px;outline:-webkit-focus-ring-color auto 5px}`],
providers: [NgxDropzoneService]

@@ -226,2 +236,3 @@ },] },

ariaLabelledby: [{ type: Input, args: ['aria-labelledby',] }],
ariaDescribedBy: [{ type: Input, args: ['aria-describedby',] }],
_isHovered: [{ type: HostBinding, args: ['class.ngx-dz-hovered',] }],

@@ -280,3 +291,3 @@ showFileSelector: [{ type: HostListener, args: ['click',] }],

/**
* Expose the id, aria-label and aria-labelledby of the native file input for proper accessibility.
* Expose the id, aria-label, aria-labelledby and aria-describedby of the native file input for proper accessibility.
* @type {?}

@@ -290,2 +301,4 @@ */

/** @type {?} */
NgxDropzoneComponent.prototype.ariaDescribedBy;
/** @type {?} */
NgxDropzoneComponent.prototype._isHovered;

@@ -298,2 +311,2 @@ /**

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWRyb3B6b25lLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1kcm9wem9uZS8iLCJzb3VyY2VzIjpbImxpYi9uZ3gtZHJvcHpvbmUvbmd4LWRyb3B6b25lLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxZQUFZLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLElBQUksRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkssT0FBTyxFQUFFLGtCQUFrQixFQUFvQixNQUFNLHlCQUF5QixDQUFDO0FBQy9FLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUN6RSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSx3REFBd0QsQ0FBQzs7OztBQUVyRyw0Q0FJQzs7O0lBSEMsd0NBQTZCOztJQUM3Qiw0Q0FBbUI7O0lBQ25CLCtDQUFzQjs7QUFheEIsTUFBTSxPQUFPLG9CQUFv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MzIpOiBQcmV2ZW50IHRoZSBkZWZhdWx0IGV2ZW50IGJlaGF2aW91ciB3aGljaCBjYXVzZWQgdGhlIGNoYW5nZSBldmVudCB0byBlbWl0IHR3aWNlLlxuICAgIHRoaXMucHJldmVudERlZmF1bHQoZXZlbnQpO1xuICB9XG5cbiAgcHJpdmF0ZSBoYW5kbGVGaWxlRHJvcChmaWxlczogRmlsZUxpc3QpIHtcbiAgICBjb25zdCByZXN1bHQgPSB0aGlzLnNlcnZpY2UucGFyc2VGaWxlTGlzdChmaWxlcywgdGhpcy5hY2NlcHQsIHRoaXMubWF4RmlsZVNpemUsIHRoaXMubXVsdGlwbGUpO1xuXG4gICAgdGhpcy5jaGFuZ2UubmV4dCh7XG4gICAgICBhZGRlZEZpbGVzOiByZXN1bHQuYWRkZWRGaWxlcyxcbiAgICAgIHJlamVjdGVkRmlsZXM6IHJlc3VsdC5yZWplY3RlZEZpbGVzLFxuICAgICAgc291cmNlOiB0aGlzXG4gICAgfSk7XG4gIH1cblxuICBwcml2YXRlIHByZXZlbnREZWZhdWx0KGV2ZW50OiBEcmFnRXZlbnQpIHtcbiAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgIGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpO1xuICB9XG59XG4iXX0=

@@ -254,4 +254,4 @@ /**

selector: 'ngx-dropzone, [ngx-dropzone]',
template: "<input #fileInput type=\"file\" [multiple]=\"multiple\" [accept]=\"accept\" (change)=\"_onFilesSelected($event)\" [id]=\"id\"\n [attr.aria-label]=\"ariaLabel\" [attr.aria-labelledby]=\"ariaLabelledby\">\n<ng-content select=\"ngx-dropzone-label\" *ngIf=\"!_hasPreviews\"></ng-content>\n<ng-content select=\"ngx-dropzone-preview\"></ng-content>\n",
styles: [":host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+ngx-dropzone-label{outline:-webkit-focus-ring-color auto 5px;outline:#000 dotted 1px}"],
template: "<input\n #fileInput\n type=\"file\"\n [id]=\"id\"\n [multiple]=\"multiple\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n (change)=\"_onFilesSelected($event)\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n>\n<ng-content select=\"ngx-dropzone-label\" *ngIf=\"!_hasPreviews\"></ng-content>\n<ng-content select=\"ngx-dropzone-preview\"></ng-content>\n",
styles: [":host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+::ng-deep ngx-dropzone-label{outline:#000 dotted 1px;outline:-webkit-focus-ring-color auto 5px}"],
providers: [NgxDropzoneService]

@@ -277,2 +277,3 @@ },] },

ariaLabelledby: [{ type: Input, args: ['aria-labelledby',] }],
ariaDescribedBy: [{ type: Input, args: ['aria-describedby',] }],
_isHovered: [{ type: HostBinding, args: ['class.ngx-dz-hovered',] }],

@@ -334,3 +335,3 @@ showFileSelector: [{ type: HostListener, args: ['click',] }],

/**
* Expose the id, aria-label and aria-labelledby of the native file input for proper accessibility.
* Expose the id, aria-label, aria-labelledby and aria-describedby of the native file input for proper accessibility.
* @type {?}

@@ -344,2 +345,4 @@ */

/** @type {?} */
NgxDropzoneComponent.prototype.ariaDescribedBy;
/** @type {?} */
NgxDropzoneComponent.prototype._isHovered;

@@ -352,2 +355,2 @@ /**

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWRyb3B6b25lLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1kcm9wem9uZS8iLCJzb3VyY2VzIjpbImxpYi9uZ3gtZHJvcHpvbmUvbmd4LWRyb3B6b25lLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxZQUFZLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLElBQUksRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkssT0FBTyxFQUFFLGtCQUFrQixFQUFvQixNQUFNLHlCQUF5QixDQUFDO0FBQy9FLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUN6RSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSx3REFBd0QsQ0FBQzs7OztBQUVyRyw0Q0FJQzs7O0lBSEMsd0NBQTZCOztJQUM3Qiw0Q0FBbUI7O0lBQ25CLCtDQUFzQjs7QUFHeEI7SUFZRSw4QkFDa0IsT0FBMkI7UUFBM0IsWUFBTyxHQUFQLE9BQU8sQ0FBb0I7Ozs7UUFlMUIsV0FBTSxHQUFHLElBQUksWUFBWSxFQUEwQixDQUFDOzs7O1FBRzlELFdBQU0sR0FBRyxHQUFHLENBQUM7UUFlZCxjQUFTLEdBQUcsS0FBSyxDQU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,8 +485,18 @@ import { Directive, Component, Input, Output, EventEmitter, HostBinding, HostListener, Injectable, ViewChild, ContentChildren, Self, NgModule } from '@angular/core';

selector: 'ngx-dropzone, [ngx-dropzone]',
template: `<input #fileInput type="file" [multiple]="multiple" [accept]="accept" (change)="_onFilesSelected($event)" [id]="id"
[attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby">
template: `<input
#fileInput
type="file"
[id]="id"
[multiple]="multiple"
[accept]="accept"
[disabled]="disabled"
(change)="_onFilesSelected($event)"
[attr.aria-label]="ariaLabel"
[attr.aria-labelledby]="ariaLabelledby"
[attr.aria-describedby]="ariaDescribedBy"
>
<ng-content select="ngx-dropzone-label" *ngIf="!_hasPreviews"></ng-content>
<ng-content select="ngx-dropzone-preview"></ng-content>
`,
styles: [`:host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+ngx-dropzone-label{outline:-webkit-focus-ring-color auto 5px;outline:#000 dotted 1px}`],
styles: [`:host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+::ng-deep ngx-dropzone-label{outline:#000 dotted 1px;outline:-webkit-focus-ring-color auto 5px}`],
providers: [NgxDropzoneService]

@@ -512,2 +522,3 @@ },] },

ariaLabelledby: [{ type: Input, args: ['aria-labelledby',] }],
ariaDescribedBy: [{ type: Input, args: ['aria-describedby',] }],
_isHovered: [{ type: HostBinding, args: ['class.ngx-dz-hovered',] }],

@@ -697,2 +708,2 @@ showFileSelector: [{ type: HostListener, args: ['click',] }],

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWRyb3B6b25lLmpzLm1hcCIsInNvdXJjZXMiOlsibmc6Ly9uZ3gtZHJvcHpvbmUvbGliL25neC1kcm9wem9uZS1sYWJlbC5kaXJlY3RpdmUudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvaGVscGVycy50cyIsIm5nOi8vbmd4LWRyb3B6b25lL2xpYi9uZ3gtZHJvcHpvbmUtcHJldmlldy9uZ3gtZHJvcHpvbmUtcHJldmlldy5jb21wb25lbnQudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvbmd4LWRyb3B6b25lLnNlcnZpY2UudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvbmd4LWRyb3B6b25lL25neC1kcm9wem9uZS5jb21wb25lbnQudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvbmd4LWRyb3B6b25lLXByZXZpZXcvbmd4LWRyb3B6b25lLWltYWdlLXByZXZpZXcvbmd4LWRyb3B6b25lLWltYWdlLXByZXZpZXcuY29tcG9uZW50LnRzIiwibmc6Ly9uZ3gtZHJvcHpvbmUvbGliL25neC1kcm9wem9uZS1wcmV2aWV3L25neC1kcm9wem9uZS1yZW1vdmUtYmFkZ2Uvbmd4LWRyb3B6b25lLXJlbW92ZS1iYWRnZS5jb21wb25lbnQudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvbmd4LWRyb3B6b25lLXByZXZpZXcvbmd4LWRyb3B6b25lLXZpZGVvLXByZXZp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K0JBQStCO29CQUMvQixnQ0FBZ0M7aUJBQ2hDO2dCQUNELE9BQU8sRUFBRTtvQkFDUixvQkFBb0I7b0JBQ3BCLHlCQUF5QjtvQkFDekIsMkJBQTJCO29CQUMzQixnQ0FBZ0M7b0JBQ2hDLCtCQUErQjtvQkFDL0IsZ0NBQWdDO2lCQUNoQzthQUNEOzs7Ozs7Ozs7Ozs7Ozs7In0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWRyb3B6b25lLmpzLm1hcCIsInNvdXJjZXMiOlsibmc6Ly9uZ3gtZHJvcHpvbmUvbGliL25neC1kcm9wem9uZS1sYWJlbC5kaXJlY3RpdmUudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvaGVscGVycy50cyIsIm5nOi8vbmd4LWRyb3B6b25lL2xpYi9uZ3gtZHJvcHpvbmUtcHJldmlldy9uZ3gtZHJvcHpvbmUtcHJldmlldy5jb21wb25lbnQudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvbmd4LWRyb3B6b25lLnNlcnZpY2UudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvbmd4LWRyb3B6b25lL25neC1kcm9wem9uZS5jb21wb25lbnQudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvbmd4LWRyb3B6b25lLXByZXZpZXcvbmd4LWRyb3B6b25lLWltYWdlLXByZXZpZXcvbmd4LWRyb3B6b25lLWltYWdlLXByZXZpZXcuY29tcG9uZW50LnRzIiwibmc6Ly9uZ3gtZHJvcHpvbmUvbGliL25neC1kcm9wem9uZS1wcmV2aWV3L25neC1kcm9wem9uZS1yZW1vdmUtYmFkZ2Uvbmd4LWRyb3B6b25lLXJlbW92ZS1iYWRnZS5jb21wb25lbnQudHMiLCJuZzovL25neC1kcm9wem9uZS9saWIvbmd4LWRyb3B6b25lLXByZXZpZXcvbmd4LWRyb3B6b25lLXZpZGVvLXByZXZpZXcvbmd4LWRyb3B6b25lLXZpZG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QUNGO2FBQ0Y7Ozs7WUFuQlEsWUFBWTs7Ozs7OztBQ0ZyQixNQThCYSxpQkFBaUI7OztZQXJCN0IsUUFBUSxTQUFDO2dCQUNULE9BQU8sRUFBRTtvQkFDUixZQUFZO2lCQUNaO2dCQUNELFlBQVksRUFBRTtvQkFDYixvQkFBb0I7b0JBQ3BCLHlCQUF5QjtvQkFDekIsMkJBQTJCO29CQUMzQixnQ0FBZ0M7b0JBQ2hDLCtCQUErQjtvQkFDL0IsZ0NBQWdDO2lCQUNoQztnQkFDRCxPQUFPLEVBQUU7b0JBQ1Isb0JBQW9CO29CQUNwQix5QkFBeUI7b0JBQ3pCLDJCQUEyQjtvQkFDM0IsZ0NBQWdDO29CQUNoQywrQkFBK0I7b0JBQy9CLGdDQUFnQztpQkFDaEM7YUFDRDs7Ozs7Ozs7Ozs7Ozs7OyJ9

@@ -36,6 +36,7 @@ import { EventEmitter, QueryList, ElementRef } from '@angular/core';

private _disableClick;
/** Expose the id, aria-label and aria-labelledby of the native file input for proper accessibility. */
/** Expose the id, aria-label, aria-labelledby and aria-describedby of the native file input for proper accessibility. */
id: string;
ariaLabel: string;
ariaLabelledby: string;
ariaDescribedBy: string;
_isHovered: boolean;

@@ -42,0 +43,0 @@ /** Show the native OS file explorer to select files. */

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"NgxDropzoneModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":2}],"declarations":[{"__symbolic":"reference","name":"NgxDropzoneComponent"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},{"__symbolic":"reference","name":"NgxDropzoneImagePreviewComponent"},{"__symbolic":"reference","name":"NgxDropzoneRemoveBadgeComponent"},{"__symbolic":"reference","name":"NgxDropzoneVideoPreviewComponent"}],"exports":[{"__symbolic":"reference","name":"NgxDropzoneComponent"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},{"__symbolic":"reference","name":"NgxDropzoneImagePreviewComponent"},{"__symbolic":"reference","name":"NgxDropzoneRemoveBadgeComponent"},{"__symbolic":"reference","name":"NgxDropzoneVideoPreviewComponent"}]}]}],"members":{}},"NgxDropzoneChangeEvent":{"__symbolic":"interface"},"NgxDropzoneComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"ngx-dropzone, [ngx-dropzone]","template":"<input #fileInput type=\"file\" [multiple]=\"multiple\" [accept]=\"accept\" (change)=\"_onFilesSelected($event)\" [id]=\"id\"\n [attr.aria-label]=\"ariaLabel\" [attr.aria-labelledby]=\"ariaLabelledby\">\n<ng-content select=\"ngx-dropzone-label\" *ngIf=\"!_hasPreviews\"></ng-content>\n<ng-content select=\"ngx-dropzone-preview\"></ng-content>\n","styles":[":host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+ngx-dropzone-label{outline:-webkit-focus-ring-color auto 5px;outline:#000 dotted 1px}"],"providers":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":24,"character":5}}]],"parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"_previewChildren":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":28,"character":3},"arguments":[{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},{"descendants":true}]}]}],"_fileInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":36,"character":3},"arguments":["fileInput"]}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"accept":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":46,"character":3},"arguments":["class.ngx-dz-disabled"]}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":3}}]}],"maxFileSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"expandable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":81,"character":3},"arguments":["class.expandable"]}]}],"disableClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":92,"character":3},"arguments":["class.unclickable"]}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":102,"character":3}}]}],"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":3},"arguments":["aria-label"]}]}],"ariaLabelledby":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3},"arguments":["aria-labelledby"]}]}],"_isHovered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":106,"character":3},"arguments":["class.ngx-dz-hovered"]}]}],"showFileSelector":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":110,"character":3},"arguments":["click"]}]}],"_onDragOver":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":117,"character":3},"arguments":["dragover",["$event"]]}]}],"_onDragLeave":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":127,"character":3},"arguments":["dragleave"]}]}],"_onDrop":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":132,"character":3},"arguments":["drop",["$event"]]}]}],"_onFilesSelected":[{"__symbolic":"method"}],"handleFileDrop":[{"__symbolic":"method"}],"preventDefault":[{"__symbolic":"method"}]}},"NgxDropzonePreviewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"ngx-dropzone-preview","template":"\n\t\t<ng-content select=\"ngx-dropzone-label\"></ng-content>\n\t\t<ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n\t\t</ngx-dropzone-remove-badge>\n\t","styles":[":host(){background-image:linear-gradient(to top,#ededed,#efefef,#f1f1f1,#f4f4f4,#f6f6f6)}:host():focus,:host():hover{background-image:linear-gradient(to top,#e3e3e3,#ebeaea,#e8e7e7,#ebeaea,#f4f4f4);outline:0}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() ::ng-deep ngx-dropzone-label{overflow-wrap:break-word}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":21,"character":23}]}],"file":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":2}}]}],"removable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":2}}]}],"removed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":2}}]}],"keyEvent":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":40,"character":2},"arguments":["keyup",["$event"]]}]}],"hostStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":53,"character":2},"arguments":["style"]}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":73,"character":2},"arguments":["tabindex"]}]}],"_remove":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}],"readFile":[{"__symbolic":"method"}]}},"NgxDropzoneImagePreviewComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"ngx-dropzone-image-preview","template":"\n <img [src]=\"imageSrc\" />\n\t\t<ng-content select=\"ngx-dropzone-label\"></ng-content>\n <ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n </ngx-dropzone-remove-badge>\n\t","styles":[":host(){min-width:unset!important;max-width:unset!important;padding:0!important}:host():focus img,:host():hover img{opacity:.7}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() img{max-height:100%;border-radius:5px;opacity:.8}:host() ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"],"providers":[{"provide":{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},"useExisting":{"__symbolic":"reference","name":"NgxDropzoneImagePreviewComponent"}}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":23,"character":15}]}],"ngOnInit":[{"__symbolic":"method"}]}},"NgxDropzoneVideoPreviewComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"ngx-dropzone-video-preview","template":"\n <video *ngIf=\"sanitizedVideoSrc\" controls (click)=\"$event.stopPropagation()\">\n <source [src]=\"sanitizedVideoSrc\" />\n </video>\n <ng-content select=\"ngx-dropzone-label\"></ng-content>\n <ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n </ngx-dropzone-remove-badge>\n\t","styles":[":host(){min-width:unset!important;max-width:unset!important;padding:0!important}:host():focus video,:host():hover video{opacity:.7}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() video{max-height:100%;border-radius:5px}:host() ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"],"providers":[{"provide":{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},"useExisting":{"__symbolic":"reference","name":"NgxDropzoneVideoPreviewComponent"}}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":25,"character":15}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"NgxDropzoneRemoveBadgeComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ngx-dropzone-remove-badge","template":"\n <svg>\n <line x1=\"0\" y1=\"0\" x2=\"10\" y2=\"10\" />\n <line x1=\"0\" y1=\"10\" x2=\"10\" y2=\"0\" />\n </svg>\n ","styles":[":host(){display:flex;justify-content:center;align-items:center;height:22px;width:22px;position:absolute;top:5px;right:5px;border-radius:50%;background:#bbb;color:#333;cursor:pointer}:host():hover{background:#aeaeae}:host()>svg{height:10px;width:10px}:host()>svg>line{stroke-width:2px;stroke:#fff}"]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":25,"character":1}}],"members":{"parseFileList":[{"__symbolic":"method"}],"isAccepted":[{"__symbolic":"method"}],"rejectFile":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"ngx-dropzone-label"}]}],"members":{}}},"origins":{"NgxDropzoneModule":"./lib/ngx-dropzone.module","NgxDropzoneChangeEvent":"./lib/ngx-dropzone/ngx-dropzone.component","NgxDropzoneComponent":"./lib/ngx-dropzone/ngx-dropzone.component","NgxDropzonePreviewComponent":"./lib/ngx-dropzone-preview/ngx-dropzone-preview.component","NgxDropzoneImagePreviewComponent":"./lib/ngx-dropzone-preview/ngx-dropzone-image-preview/ngx-dropzone-image-preview.component","NgxDropzoneVideoPreviewComponent":"./lib/ngx-dropzone-preview/ngx-dropzone-video-preview/ngx-dropzone-video-preview.component","NgxDropzoneRemoveBadgeComponent":"./lib/ngx-dropzone-preview/ngx-dropzone-remove-badge/ngx-dropzone-remove-badge.component","ɵa":"./lib/ngx-dropzone.service","ɵb":"./lib/ngx-dropzone-label.directive"},"importAs":"ngx-dropzone"}
{"__symbolic":"module","version":4,"metadata":{"NgxDropzoneModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":2}],"declarations":[{"__symbolic":"reference","name":"NgxDropzoneComponent"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},{"__symbolic":"reference","name":"NgxDropzoneImagePreviewComponent"},{"__symbolic":"reference","name":"NgxDropzoneRemoveBadgeComponent"},{"__symbolic":"reference","name":"NgxDropzoneVideoPreviewComponent"}],"exports":[{"__symbolic":"reference","name":"NgxDropzoneComponent"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},{"__symbolic":"reference","name":"NgxDropzoneImagePreviewComponent"},{"__symbolic":"reference","name":"NgxDropzoneRemoveBadgeComponent"},{"__symbolic":"reference","name":"NgxDropzoneVideoPreviewComponent"}]}]}],"members":{}},"NgxDropzoneChangeEvent":{"__symbolic":"interface"},"NgxDropzoneComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"ngx-dropzone, [ngx-dropzone]","template":"<input\n #fileInput\n type=\"file\"\n [id]=\"id\"\n [multiple]=\"multiple\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n (change)=\"_onFilesSelected($event)\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n>\n<ng-content select=\"ngx-dropzone-label\" *ngIf=\"!_hasPreviews\"></ng-content>\n<ng-content select=\"ngx-dropzone-preview\"></ng-content>\n","styles":[":host(){display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host().ngx-dz-hovered{border-style:solid}:host().ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host().expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host().unclickable{cursor:default}:host() ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host() input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host() input:focus+::ng-deep ngx-dropzone-label{outline:#000 dotted 1px;outline:-webkit-focus-ring-color auto 5px}"],"providers":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":34,"character":5}}]],"parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"_previewChildren":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":38,"character":3},"arguments":[{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},{"descendants":true}]}]}],"_fileInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":46,"character":3},"arguments":["fileInput"]}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":49,"character":3}}]}],"accept":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":56,"character":3},"arguments":["class.ngx-dz-disabled"]}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"maxFileSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}}]}],"expandable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":91,"character":3},"arguments":["class.expandable"]}]}],"disableClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":102,"character":3},"arguments":["class.unclickable"]}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":112,"character":3}}]}],"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":113,"character":3},"arguments":["aria-label"]}]}],"ariaLabelledby":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3},"arguments":["aria-labelledby"]}]}],"ariaDescribedBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3},"arguments":["aria-describedby"]}]}],"_isHovered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":117,"character":3},"arguments":["class.ngx-dz-hovered"]}]}],"showFileSelector":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":121,"character":3},"arguments":["click"]}]}],"_onDragOver":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":128,"character":3},"arguments":["dragover",["$event"]]}]}],"_onDragLeave":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":138,"character":3},"arguments":["dragleave"]}]}],"_onDrop":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":143,"character":3},"arguments":["drop",["$event"]]}]}],"_onFilesSelected":[{"__symbolic":"method"}],"handleFileDrop":[{"__symbolic":"method"}],"preventDefault":[{"__symbolic":"method"}]}},"NgxDropzonePreviewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"ngx-dropzone-preview","template":"\n\t\t<ng-content select=\"ngx-dropzone-label\"></ng-content>\n\t\t<ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n\t\t</ngx-dropzone-remove-badge>\n\t","styles":[":host(){background-image:linear-gradient(to top,#ededed,#efefef,#f1f1f1,#f4f4f4,#f6f6f6)}:host():focus,:host():hover{background-image:linear-gradient(to top,#e3e3e3,#ebeaea,#e8e7e7,#ebeaea,#f4f4f4);outline:0}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() ::ng-deep ngx-dropzone-label{overflow-wrap:break-word}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":21,"character":23}]}],"file":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":2}}]}],"removable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":2}}]}],"removed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":2}}]}],"keyEvent":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":40,"character":2},"arguments":["keyup",["$event"]]}]}],"hostStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":53,"character":2},"arguments":["style"]}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":73,"character":2},"arguments":["tabindex"]}]}],"_remove":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}],"readFile":[{"__symbolic":"method"}]}},"NgxDropzoneImagePreviewComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"ngx-dropzone-image-preview","template":"\n <img [src]=\"imageSrc\" />\n\t\t<ng-content select=\"ngx-dropzone-label\"></ng-content>\n <ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n </ngx-dropzone-remove-badge>\n\t","styles":[":host(){min-width:unset!important;max-width:unset!important;padding:0!important}:host():focus img,:host():hover img{opacity:.7}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() img{max-height:100%;border-radius:5px;opacity:.8}:host() ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"],"providers":[{"provide":{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},"useExisting":{"__symbolic":"reference","name":"NgxDropzoneImagePreviewComponent"}}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":23,"character":15}]}],"ngOnInit":[{"__symbolic":"method"}]}},"NgxDropzoneVideoPreviewComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"ngx-dropzone-video-preview","template":"\n <video *ngIf=\"sanitizedVideoSrc\" controls (click)=\"$event.stopPropagation()\">\n <source [src]=\"sanitizedVideoSrc\" />\n </video>\n <ng-content select=\"ngx-dropzone-label\"></ng-content>\n <ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n </ngx-dropzone-remove-badge>\n\t","styles":[":host(){min-width:unset!important;max-width:unset!important;padding:0!important}:host():focus video,:host():hover video{opacity:.7}:host():focus ngx-dropzone-remove-badge,:host():hover ngx-dropzone-remove-badge{opacity:1}:host() ngx-dropzone-remove-badge{opacity:0}:host() video{max-height:100%;border-radius:5px}:host() ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"],"providers":[{"provide":{"__symbolic":"reference","name":"NgxDropzonePreviewComponent"},"useExisting":{"__symbolic":"reference","name":"NgxDropzoneVideoPreviewComponent"}}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":25,"character":15}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"NgxDropzoneRemoveBadgeComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ngx-dropzone-remove-badge","template":"\n <svg>\n <line x1=\"0\" y1=\"0\" x2=\"10\" y2=\"10\" />\n <line x1=\"0\" y1=\"10\" x2=\"10\" y2=\"0\" />\n </svg>\n ","styles":[":host(){display:flex;justify-content:center;align-items:center;height:22px;width:22px;position:absolute;top:5px;right:5px;border-radius:50%;background:#bbb;color:#333;cursor:pointer}:host():hover{background:#aeaeae}:host()>svg{height:10px;width:10px}:host()>svg>line{stroke-width:2px;stroke:#fff}"]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":25,"character":1}}],"members":{"parseFileList":[{"__symbolic":"method"}],"isAccepted":[{"__symbolic":"method"}],"rejectFile":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"ngx-dropzone-label"}]}],"members":{}}},"origins":{"NgxDropzoneModule":"./lib/ngx-dropzone.module","NgxDropzoneChangeEvent":"./lib/ngx-dropzone/ngx-dropzone.component","NgxDropzoneComponent":"./lib/ngx-dropzone/ngx-dropzone.component","NgxDropzonePreviewComponent":"./lib/ngx-dropzone-preview/ngx-dropzone-preview.component","NgxDropzoneImagePreviewComponent":"./lib/ngx-dropzone-preview/ngx-dropzone-image-preview/ngx-dropzone-image-preview.component","NgxDropzoneVideoPreviewComponent":"./lib/ngx-dropzone-preview/ngx-dropzone-video-preview/ngx-dropzone-video-preview.component","NgxDropzoneRemoveBadgeComponent":"./lib/ngx-dropzone-preview/ngx-dropzone-remove-badge/ngx-dropzone-remove-badge.component","ɵa":"./lib/ngx-dropzone.service","ɵb":"./lib/ngx-dropzone-label.directive"},"importAs":"ngx-dropzone"}
{
"name": "ngx-dropzone",
"description": "A highly configurable dropzone component for Angular.",
"version": "2.2.0",
"version": "2.2.1",
"author": "Peter Freeman",

@@ -6,0 +6,0 @@ "keywords": [

@@ -92,2 +92,4 @@ # ngx-dropzone

* `[expandable]`: Allow the dropzone container to expand vertically as the number of previewed files increases. Defaults to `false` which means that it will allow for horizontal scrolling.
* `[disableClick]`: Prevent the file selector from opening when clicking the dropzone.
* `[id], [aria-label], [aria-labelledby]`, `[aria-describedby]`: Forward the accessibility properties to the file input element.

@@ -94,0 +96,0 @@ It has the following Output event:

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 not supported yet

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 not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc