@iplab/ngx-file-upload
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -20,15 +20,15 @@ import { OnInit, ElementRef, Renderer2, OnDestroy, TemplateRef, AfterViewInit } from '@angular/core'; | ||
readonly isInvalid: boolean; | ||
private setEvents(); | ||
private checkAndMarkAsDisabled(); | ||
private preventDragEvents(event); | ||
private setEvents; | ||
private checkAndMarkAsDisabled; | ||
private preventDragEvents; | ||
/** | ||
* on file over add class name | ||
*/ | ||
private onDragOver(event); | ||
private onDragOver; | ||
/** | ||
* on mouse out remove class name | ||
*/ | ||
private onDragLeave(event); | ||
private onDragLeave; | ||
onDrop(event: DragEvent): void; | ||
private onTouch; | ||
} |
@@ -28,20 +28,20 @@ import { OnInit, ElementRef, Renderer2, OnDestroy, TemplateRef, ChangeDetectorRef } from '@angular/core'; | ||
readonly isInvalid: boolean; | ||
private setEvents(); | ||
private checkAndMarkAsDisabled(); | ||
private preventDragEvents(event); | ||
private setEvents; | ||
private checkAndMarkAsDisabled; | ||
private preventDragEvents; | ||
/** | ||
* on file over add class name | ||
*/ | ||
private onDragOver(event); | ||
private onDragOver; | ||
/** | ||
* on mouse out remove class name | ||
*/ | ||
private onDragLeave(event); | ||
private onDragLeave; | ||
onDrop(event: DragEvent): void; | ||
onInputChange(event: Event): void; | ||
private clearInputEl(); | ||
private clearInputEl; | ||
/** | ||
* ControlValueAccessor implementation | ||
*/ | ||
private connectToForm(); | ||
private connectToForm; | ||
/** | ||
@@ -48,0 +48,0 @@ * model -> view changes |
@@ -18,5 +18,5 @@ import { OnChanges, SimpleChanges } from '@angular/core'; | ||
export declare class FileSizeValidator implements Validator, OnChanges { | ||
private filesize; | ||
private minsize; | ||
private maxsize; | ||
filesize: string | number; | ||
minsize: string | number; | ||
maxsize: string | number; | ||
private validator; | ||
@@ -27,3 +27,3 @@ private onChange; | ||
registerOnValidatorChange(fn: () => void): void; | ||
private _createValidator(); | ||
private _createValidator; | ||
} | ||
@@ -43,3 +43,3 @@ /** | ||
export declare class FilesLimitValidator implements Validator, OnChanges { | ||
private fileslimit; | ||
fileslimit: string | number; | ||
private validator; | ||
@@ -50,3 +50,3 @@ private onChange; | ||
registerOnValidatorChange(fn: () => void): void; | ||
private _createValidator(); | ||
private _createValidator; | ||
} | ||
@@ -68,3 +68,3 @@ /** | ||
export declare class FilesAcceptValidator implements Validator, OnChanges { | ||
private accept; | ||
accept: string; | ||
private validator; | ||
@@ -75,3 +75,3 @@ private onChange; | ||
registerOnValidatorChange(fn: () => void): void; | ||
private _createValidator(); | ||
private _createValidator; | ||
} |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -134,3 +134,4 @@ import { Input, ElementRef, HostListener, Renderer2, HostBinding, Inject, ViewChild, ContentChild, TemplateRef, Component } from '@angular/core'; | ||
} | ||
const /** @type {?} */ files = event.dataTransfer.files; | ||
/** @type {?} */ | ||
const files = event.dataTransfer.files; | ||
this.control.addFiles(files); | ||
@@ -195,3 +196,3 @@ this.onTouch(); | ||
}; | ||
function FileUploadAttributeComponent_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -218,3 +219,2 @@ FileUploadAttributeComponent.prototype.control; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQtYXR0ci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaXBsYWIvbmd4LWZpbGUtdXBsb2FkLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9maWxlLXVwbG9hZC1hdHRyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUNILEtBQUssRUFFTCxVQUFVLEVBQ1YsWUFBWSxFQUNaLFNBQVMsRUFFVCxXQUFXLEVBQ1gsTUFBTSxFQUNOLFNBQVMsR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mlsZVVwbG9hZFNlcnZpY2UuaXNGaWxlRHJhZ0Ryb3BBdmFpbGFibGUoKVwiPlxyXG5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInVwbG9hZC1pbnB1dFwiPlxyXG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInRlbXBsYXRlUmVmID8gdGVtcGxhdGVSZWYgOiBkZWZhdWx0VGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI2RlZmF1bHRUZW1wbGF0ZT5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaWNvblwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8c3ZnIHZpZXdCb3g9XCIwIDAgOTYgOTZcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxnPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9XCJNNjIuOCw2OC4xYzAtMC42LTAuMi0xLjEtMC42LTEuNWMtMC40LTAuNC0wLjktMC42LTEuNS0wLjZzLTEuMSwwLjItMS41LDAuNlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjLTAuNCwwLjQtMC42LDAuOS0wLjYsMS41YzAsMC42LDAuMiwxLjEsMC42LDEuNWMwLjQsMC40LDAuOSwwLjYsMS41LDAuNnMxLjEtMC4yLDEuNS0wLjZTNjIuOCw2OC43LDYyLjgsNjguMXogTTcxLjMsNjguMVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjMC0wLjYtMC4yLTEuMS0wLjYtMS41Yy0wLjQtMC40LTAuOS0wLjYtMS41LTAuNmMtMC42LDAtMS4xLDAuMi0xLjUsMC42QzY3LjIsNjcsNjcsNjcuNSw2Nyw2OC4xYzAsMC42LDAuMiwxLjEsMC42LDEuNVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzMC45LDAuNiwxLjUsMC42YzAuNiwwLDEuMS0wLjIsMS41LTAuNkM3MS4xLDY5LjIsNzEuMyw2OC43LDcxLjMsNjguMXogTTc1LjUsNjAuN3YxMC42YzAsMC45LTAuMywxLjYtMC45LDIuMlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjLTAuNiwwLjYtMS40LDAuOS0yLjIsMC45SDIzLjdjLTAuOSwwLTEuNi0wLjMtMi4yLTAuOWMtMC42LTAuNi0wLjktMS40LTAuOS0yLjJWNjAuN2MwLTAuOSwwLjMtMS42LDAuOS0yLjJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYzAuNi0wLjYsMS40LTAuOSwyLjItMC45aDE0LjFjMC41LDEuMiwxLjIsMi4yLDIuMywzYzEuMSwwLjgsMi4zLDEuMiwzLjcsMS4yaDguNWMxLjMsMCwyLjYtMC40LDMuNy0xLjJjMS4xLTAuOCwxLjktMS44LDIuMy0zXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGgxNC4xYzAuOSwwLDEuNiwwLjMsMi4yLDAuOUM3NS4yLDU5LjEsNzUuNSw1OS44LDc1LjUsNjAuN3ogTTY0LjgsMzkuM2MtMC40LDAuOS0xLDEuMy0yLDEuM2gtOC41djE0LjhjMCwwLjYtMC4yLDEuMS0wLjYsMS41XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGMtMC40LDAuNC0wLjksMC42LTEuNSwwLjZoLTguNWMtMC42LDAtMS4xLTAuMi0xLjUtMC42Yy0wLjQtMC40LTAuNi0wLjktMC42LTEuNVY0MC42aC04LjVjLTAuOSwwLTEuNi0wLjQtMi0xLjNcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYy0wLjQtMC45LTAuMi0xLjYsMC41LTIuM2wxNC44LTE0LjhjMC40LTAuNCwwLjktMC42LDEuNS0wLjZzMS4xL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mIHRoaXMuY29udHJvbC5zaXplID4gMDtcclxuICAgIH1cclxuXHJcbiAgICBASG9zdEJpbmRpbmcoJ2NsYXNzLm5nLWludmFsaWQnKVxyXG4gICAgcHVibGljIGdldCBpc0ludmFsaWQoKTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuICF0aGlzLmNvbnRyb2wuZGlzYWJsZWQgJiYgdGhpcy5jb250cm9sLmludmFsaWQ7XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBzZXRFdmVudHMoKTogdm9pZCB7XHJcbiAgICAgICAgWydkcmFnJywgJ2RyYWdzdGFydCcsICdkcmFnZW5kJywgJ2RyYWdvdmVyJywgJ2RyYWdlbnRlcicsICdkcmFnbGVhdmUnLCAnZHJvcCddLmZvckVhY2goKGV2ZW50TmFtZSkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLmhvb2tzLnB1c2goXHJcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLmxpc3Rlbih0aGlzLmRvY3VtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB0aGlzLnByZXZlbnREcmFnRXZlbnRzKGV2ZW50KSlcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgWydkcmFnb3ZlcicsICdkcmFnZW50ZXInXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB0aGlzLm9uRHJhZ092ZXIoZXZlbnQpKVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBbJ2RyYWdsZWF2ZScsICdkcmFnZW5kJywgJ2Ryb3AnXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYodGhpcy5jb250cm9sLmRpc2FibGVkICYmIGV2ZW50TmFtZSA9PT0gJ2RyYWdsZWF2ZScgfHwgZXZlbnROYW1lICE9PSAnZHJhZ2xlYXZlJykge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uRHJhZ0xlYXZlKGV2ZW50KTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBbJ2RyYWdsZWF2ZSddLmZvckVhY2goKGV2ZW50TmFtZSkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLmhvb2tzLnB1c2goXHJcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLmxpc3Rlbih0aGlzLm92ZXJsYXkubmF0aXZlRWxlbWVudCwgZXZlbnROYW1lLCAoZXZlbnQ6IGFueSkgPT4gdGhpcy5vbkRyYWdMZWF2ZShldmVudCkpXHJcbiAgICAgICAgICAgICk7XHJcbiAgICAgICAgfSk7XHJcblxyXG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9ucy5wdXNoKFxyXG4gICAgICAgICAgICB0aGlzLmNvbnRyb2wuc3RhdHVzQ2hhbmdlcy5zdWJzY3JpYmUoKHN0YXR1cykgPT4gdGhpcy5jaGVja0FuZE1hcmtBc0Rpc2FibGVkKCkpXHJcbiAgICAgICAgKTtcclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIGNoZWNrQW5kTWFya0FzRGlzYWJsZWQoKTogdm9pZCB7XHJcbiAgICAgICAgaWYgKHRoa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yXG5cclxuQENvbXBvbmVudCh7XHJcbiAgICBzZWxlY3RvcjogYFtmaWxlLWRyb3Atem9uZV1gLFxyXG4gICAgdGVtcGxhdGU6IGBcclxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgPGRpdiAjb3ZlcmxheSBjbGFzcz1cIm92ZXJsYXlcIiAqbmdJZj1cImZpbGVVcGxvYWRTZXJ2aWNlLmlzRmlsZURyYWdEcm9wQXZhaWxhYmxlKClcIj5cclxuXHJcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ1cGxvYWQtaW5wdXRcIj5cclxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJ0ZW1wbGF0ZVJlZiA/IHRlbXBsYXRlUmVmIDogZGVmYXVsdFRlbXBsYXRlXCI+PC9uZy1jb250YWluZXI+XHJcblxyXG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNkZWZhdWx0VGVtcGxhdGU+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImljb25cIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPHN2ZyB2aWV3Qm94PVwiMCAwIDk2IDk2XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Zz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPVwiTTYyLjgsNjguMWMwLTAuNi0wLjItMS4xLTAuNi0xLjVjLTAuNC0wLjQtMC45LTAuNi0xLjUtMC42cy0xLjEsMC4yLTEuNSwwLjZcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYy0wLjQsMC40LTAuNiwwLjktMC42LDEuNWMwLDAuNiwwLjIsMS4xLDAuNiwxLjVjMC40LDAuNCwwLjksMC42LDEuNSwwLjZzMS4xLTAuMiwxLjUtMC42UzYyLjgsNjguNyw2Mi44LDY4LjF6IE03MS4zLDY4LjFcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYzAtMC42LTAuMi0xLjEtMC42LTEuNWMtMC40LTAuNC0wLjktMC42LTEuNS0wLjZjLTAuNiwwLTEuMSwwLjItMS41LDAuNkM2Ny4yLDY3LDY3LDY3LjUsNjcsNjguMWMwLDAuNiwwLjIsMS4xLDAuNiwxLjVcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgczAuOSwwLjYsMS41LDAuNmMwLjYsMCwxLjEtMC4yLDEuNS0wLjZDNzEuMSw2OS4yLDcxLjMsNjguNyw3MS4zLDY4LjF6IE03NS41LDYwLjd2MTAuNmMwLDAuOS0wLjMsMS42LTAuOSwyLjJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYy0wLjYsMC42LTEuNCwwLjktMi4yLDAuOUgyMy43Yy0wLjksMC0xLjYtMC4zLTIuMi0wLjljLTAuNi0wLjYtMC45LTEuNC0wLjktMi4yVjYwLjdjMC0wLjksMC4zLTEuNiwwLjktMi4yXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGMwLjYtMC42LDEuNC0wLjksMi4yLTAuOWgxNC4xYzAuNSwxLjIsMS4yLDIuMiwyLjMsM2MxLjEsMC44LDIuMywxLjIsMy43LDEuMmg4LjVjMS4zLDAsMi42LTAuNCwzLjctMS4yYzEuMS0wLjgsMS45LTEuOCwyLjMtM1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoMTQuMWMwLjksMCwxLjYsMC4zLDIuMiwwLjlDNzUuMiw1OS4xLDc1LjUsNTkuOCw3NS41LDYwLjd6IE02NC44LDM5LjNjLTAuNCwwLjktMSwxLjMtMiwxLjNoLTguNXYxNC44YzAsMC42LTAuMiwxLjEtMC42LDEuNVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjLTAuNCwwLjQtMC45LDAuNi0xLjUsMC42aC04LjVjLTAuNiwwLTEuMS0wLjItM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uaG9zdEVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgZXZlbnROYW1lLCAoZXZlbnQ6IGFueSkgPT4gdGhpcy5vbkRyYWdPdmVyKGV2ZW50KSlcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgWydkcmFnbGVhdmUnLCAnZHJhZ2VuZCcsICdkcm9wJ10uZm9yRWFjaCgoZXZlbnROYW1lKSA9PiB7XHJcbiAgICAgICAgICAgIHRoaXMuaG9va3MucHVzaChcclxuICAgICAgICAgICAgICAgIHRoaXMucmVuZGVyZXIubGlzdGVuKHRoaXMuaG9zdEVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgZXZlbnROYW1lLCAoZXZlbnQ6IGFueSkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmKHRoaXMuY29udHJvbC5kaXNhYmxlZCAmJiBldmVudE5hbWUgPT09ICdkcmFnbGVhdmUnIHx8IGV2ZW50TmFtZSAhPT0gJ2RyYWdsZWF2ZScpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkRyYWdMZWF2ZShldmVudCk7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgWydkcmFnbGVhdmUnXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5vdmVybGF5Lm5hdGl2ZUVsZW1lbnQsIGV2ZW50TmFtZSwgKGV2ZW50OiBhbnkpID0+IHRoaXMub25EcmFnTGVhdmUoZXZlbnQpKVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMucHVzaChcclxuICAgICAgIC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AgICAqL1xyXG4gICAgcHJpdmF0ZSBvbkRyYWdMZWF2ZShldmVudDogRHJhZ0V2ZW50KTogdm9pZCB7XHJcbiAgICAgICAgdGhpcy5yZW5kZXJlci5yZW1vdmVDbGFzcyh0aGlzLmhvc3RFbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsIERSQUdPVkVSKTtcclxuICAgIH1cclxuXHJcbiAgICBASG9zdExpc3RlbmVyKCdkcm9wJywgWyckZXZlbnQnXSlcclxuICAgIHB1YmxpYyBvbkRyb3AoZXZlbnQ6IERyYWdFdmVudCk6IHZvaWQge1xyXG4gICAgICAgIGlmICh0aGlzLmNvbnRyb2wuZGlzYWJsZWQpIHtcclxuICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgIH1cclxuICAgICAgICBjb25zdCBmaWxlcyA9IGV2ZW50LmRhdGFUcmFuc2Zlci5maWxlcztcclxuICAgICAgICB0aGlzLmNvbnRyb2wuYWRkRmlsZXMoZmlsZXMpO1xyXG4gICAgICAgIHRoaXMub25Ub3VjaCgpO1xyXG4gICAgfVxyXG5cclxuICAgIHByaXZhdGUgb25Ub3VjaDogKCkgPT4gdm9pZCA9ICgpID0+IHtcclxuICAgICAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMuaG9zdEVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgVE9VQ0hFRCk7XHJcbiAgICB9O1xyXG5cclxufSJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -134,3 +134,3 @@ import { Component, Input } from '@angular/core'; | ||
}; | ||
function FileUploadIconComponent_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -143,3 +143,2 @@ FileUploadIconComponent.prototype.file; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZ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G9hZFNlcnZpY2UuZ2V0RmlsZVR5cGUodGhpcy5maWxlKTtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgaXNJY29uKHR5cGU6ICd0ZXh0JyB8ICdhdWRpbycgfCAndmlkZW8nIHwgJ2ltYWdlJyk6IGJvb2xlYW4ge1xyXG4gICAgICAgIHN3aXRjaCAodHlwZSkge1xyXG4gICAgICAgICAgICBjYXNlICd0ZXh0JzpcclxuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmZpbGVUeXBlID09PSAnaHRtbCcgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ2NzcycgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnY3N2JyB8fCB0aGlzLmZpbGVUeXBlID09PSAnanMnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ3BkZicgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ3BwdCcgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAneGxzJyB8fCB0aGlzLmZpbGVUeXBlID09PSAneGxzeCcgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAneG1sJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnZG9jJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdkb2N4JztcclxuICAgICAgICAgICAgY2FzZSAnYXVkaW8nOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZmlsZVR5cGUgPT09ICdhYWMnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICdtaWRpJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdvZ2EnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICd3YXYnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ3dlYmEnO1xyXG4gICAgICAgICAgICBjYXNlICdpbWFnZSc6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5maWxlVHlwZSA9PT0gJ3BuZycgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ2JtcCcgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnZ2lmJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnanBnJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdzdmcnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICd3ZWJwJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdpY28nO1xyXG4gICAgICAgICAgICBjYXNlICd2aWRlbyc6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5maWxlVHlwZSA9PT0gJ2F2aScgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ21wZWcnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ29ndicgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ3dlYm0nIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJzNncCcgfHwgdGhpcy5maWxlVHlwZSA9PT0gJzNnMic7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQtaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaXBsYWIvbmd4LWZpbGUtdXBsb2FkLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9maWxlLXVwbG9hZC1pY29uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMs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Z2UnKTogYm9vbGVhbiB7XHJcbiAgICAgICAgc3dpdGNoICh0eXBlKSB7XHJcbiAgICAgICAgICAgIGNhc2UgJ3RleHQnOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZmlsZVR5cGUgPT09ICdodG1sJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnY3NzJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdjc3YnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICdqcycgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAncGRmJyB8fCB0aGlzLmZpbGVUeXBlID09PSAncHB0JyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICd4bHMnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICd4bHN4JyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICd4bWwnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICdkb2MnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ2RvY3gnO1xyXG4gICAgICAgICAgICBjYXNlICdhdWRpbyc6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5maWxlVHlwZSA9PT0gJ2FhYycgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ21pZGknIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ29nYScgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ3dhdicgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnd2ViYSc7XHJcbiAgICAgICAgICAgIGNhc2UgJ2ltYWdlJzpcclxuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmZpbGVUeXBlID09PSAncG5nJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnYm1wJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdnaWYnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICdqcGcnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ3N2ZycgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ3dlYnAnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ2ljbyc7XHJcbiAgICAgICAgICAgIGNhc2UgJ3ZpZGVvJzpcclxuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmZpbGVUeXBlID09PSAnYXZpJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnbXBlZycgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnb2d2JyB8fCB0aGlzLmZpbGVUeXBlID09PSAnd2VibScgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnM2dwJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnM2cyJztcclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -67,3 +67,3 @@ import { Component, Input } from '@angular/core'; | ||
}; | ||
function FileUploadListItemComponent_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -78,3 +78,2 @@ FileUploadListItemComponent.prototype.index; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQtbGlzdC1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJjb21wb25lbnRzL2ZpbGUtd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UtdXBsb2FkLWljb257ZmxvYXQ6bGVmdDt3aWR0aDozMHB4O2hlaWdodDozNnB4O21hcmdpbjowIDEwcHggMCAwfS5yZW1vdmUtYnRue2ZvbnQtc2l6ZToxMnB4O2N1cnNvcjpwb2ludGVyfS5yZW1vdmUtYnRuIHN2Z3tkaXNwbGF5OmlubGluZS1ibG9jazt2ZXJ0aWNhbC1hbGlnbjotMjAlO2hlaWdodDoxOHB4O3dpZHRoOjE4cHh9YF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEZpbGVVcGxvYWRMaXN0SXRlbUNvbXBvbmVudCB7XHJcblxyXG4gICAgQElucHV0KClcclxuICAgIHB1YmxpYyBpbmRleDogbnVtYmVyO1xyXG5cclxuICAgIEBJbnB1dCgpXHJcbiAgICBwdWJsaWMgZmlsZTogRmlsZTtcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgcHVibGljIGNvbnRyb2w6IEZpbGVVcGxvYWRDb250cm9sO1xyXG5cclxuICAgIGNvbnN0cnVjdG9yKHByaXZhdGUgZmlsZVVwbG9hZFNlcnZpY2U6IEZpbGVVcGxvYWRTZXJ2aWNlKSB7XHJcbiAgICB9XHJcblxyXG4gICAgcHVibGljIHJlbW92ZUZpbGUoZmlsZTogRmlsZSk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMuY29udHJvbC5yZW1vdmVGaWxlKGZpbGUpO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBjYWxjdWxhdGVTaXplKHNpemU6IG51bWJlcik6IHN0cmluZyB7XHJcbiAgICAgICByZXR1cm4gdGhpcy5maWxlVXBsb2FkU2VydmljZS5jYWxjdWxhdGVTaXplKHNpemUpO1xyXG4gICAgfVxyXG59Il19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -11,4 +11,6 @@ import { Component, Input, ElementRef, HostListener, Renderer2, HostBinding, Inject, TemplateRef, ViewChild, ChangeDetectionStrategy, ContentChild, forwardRef, ChangeDetectorRef } from '@angular/core'; | ||
import { FileUploadService } from './../services/file-upload.service'; | ||
export const /** @type {?} */ DRAGOVER = 'dragover'; | ||
export const /** @type {?} */ TOUCHED = 'ng-touched'; | ||
/** @type {?} */ | ||
export const DRAGOVER = 'dragover'; | ||
/** @type {?} */ | ||
export const TOUCHED = 'ng-touched'; | ||
export class FileUploadComponent { | ||
@@ -136,3 +138,4 @@ /** | ||
} | ||
const /** @type {?} */ files = event.dataTransfer.files; | ||
/** @type {?} */ | ||
const files = event.dataTransfer.files; | ||
this.control.addFiles(files); | ||
@@ -146,3 +149,4 @@ this.onTouch(); | ||
onInputChange(event) { | ||
const /** @type {?} */ input = /** @type {?} */ ((event.target)); | ||
/** @type {?} */ | ||
const input = (/** @type {?} */ ((event.target))); | ||
if (!this.control.disabled) { | ||
@@ -276,3 +280,3 @@ this.control.addFiles(input.files); | ||
}; | ||
function FileUploadComponent_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -307,3 +311,2 @@ FileUploadComponent.prototype.control; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGlwbGFiL25neC1maWxlLXVwbG9hZC8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvZmlsZS11cGxvYWQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQ0gsU0FBUyxFQUNULEtBQUssRUFFTCxVQUFVLEVBQ1YsWUFBWSxFQUNaLFNBQVMsRUFFVCxXQUFXLEVBQ1gsTUFBTSxFQUNOLFdBQVcsRUFDWCxTQUFTLEVBQ1QsdUJBQXVCLEVBQ3ZCLFlBQVksRUFDWixVQUFVLEVBQ1YsaUJBQWlCLEVBQ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mVudDogYW55KSA9PiB0aGlzLnByZXZlbnREcmFnRXZlbnRzKGV2ZW50KSlcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgWydkcmFnb3ZlcicsICdkcmFnZW50ZXInXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB0aGlzLm9uRHJhZ092ZXIoZXZlbnQpKVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBbJ2RyYWdsZWF2ZScsICdkcmFnZW5kJywgJ2Ryb3AnXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB0aGlzLm9uRHJhZ0xlYXZlKGV2ZW50KSlcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zLnB1c2goXHJcbiAgICAgICAgICAgIHRoaXMuY29udHJvbC5zdGF0dXNDaGFuZ2VzLnN1YnNjcmliZSgoc3RhdHVzKSA9PiB0aGlzLmNoZWNrQW5kTWFya0FzRGlzYWJsZWQoKSlcclxuICAgICAgICApO1xyXG5cclxuICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMucHVzaChcclxuICAgICAgICAgICAgdGhpcy5jb250cm9sLnZhbHVlQ2hhbmdlcy5zdWJzY3JpYmUoKGZpbGVzKSA9PiB0aGlzLmN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y2goKTtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgb25JbnB1dENoYW5nZShldmVudDogRXZlbnQpOiB2b2lkIHtcclxuICAgICAgICBjb25zdCBpbnB1dCA9IChldmVudC50YXJnZXQpIGFzIEhUTUxJbnB1dEVsZW1lbnQ7XHJcblxyXG4gICAgICAgIGlmICghdGhpcy5jb250cm9sLmRpc2FibGVkKSB7XHJcbiAgICAgICAgICAgIHRoaXMuY29udHJvbC5hZGRGaWxlcyhpbnB1dC5maWxlcyk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHRoaXMuY2xlYXJJbnB1dEVsKCk7XHJcbiAgICAgICAgdGhpcy5vblRvdWNoKCk7XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBjbGVhcklucHV0RWwoKTogdm9pZCB7XHJcbiAgICAgICAgdGhpcy5pbnB1dC5uYXRpdmVFbGVtZW50LnZhbHVlID0gbnVsbDtcclxuICAgIH1cclxuXHJcbiAgICAvKipcclxuICAgICAqIENvbnRyb2xWYWx1ZUFjY2Vzc29yIGltcGxlbWVudGF0aW9uXHJcbiAgICAgKi9cclxuICAgIHByaXZhdGUgY29ubmVjdFRvRm9ybSgpOiB2b2lkIHtcclxuICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMucHVzaChcclxuICAgICAgICAgICAgdGhpcy5jb250cm9sLnZhbHVlQ2hhbmdlcy5zdWJzY3JpYmUoKHYpID0+IHRoaXMub25DaGFuZ2UodikpXHJcbiAgICAgICAgKTtcclxuICAgIH1cclxuXHJcbiAgICAgLyoqXHJcbiAgICAgICogbW9kZWwgLT4gdmlldyBjaGFuZ2VzXHJcbiAgICAgICovXHJcbiAgICBwdWJsaWMgd3JpdGVWYWx1ZShmaWxlczogYW55KTogdm9pZCB7XHJcbiAgICAgICAgaWYgKCFJc051bGxPckVtcHR5KGZpbGVzKSkge1xyXG4gICAgICAgICAgICB0aGlzLmNvbnRyb2wuc2V0VmFsdWUoZmlsZXMpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIG9uQ2hhbmdlOiAodjogQXJyYXk8RmlsZT4pID0+IHZvaWQgPSAoKSA9PiB7fTtcclxuXHJcbiAgICAvKipcclxuICAgICAqIHJlZ2lzdGVyIGZ1bmN0aW9uIHdoaWNoIHdpbGwgYmUgY2FsbGVkIG9uIFVJIGNoYW5nZVxyXG4gICAgICogdG8gdXBkYXRlIHZpZXcgLT4gbW9kZWxcclxuICAgICAqL1xyXG4gICAgcHVibGljIHJlZ2lzdGVyT25DaGFuZ2UoZm46ICh2OiBBcnJheTxGaWxlPikgPT4gdm9pZCk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMub25DaGFuZ2UgPSBmbjtcclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIG9uVG91Y2g6ICgpID0+IHZvaWQgPSAoKSA9PiB7XHJcbiAgICAgICAgdGhpcy5yZW5kZXJlci5hZGRDbGFzcyh0aGlzLmhvc3RFbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsIFRPVUNIRUQpO1xyXG4gICAgfTtcclxuXHJcbiAgICBwdWJsaWMgcmVnaXN0ZXJPblRvdWNoZWQoZm46IGFueSk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMub25Ub3VjaCA9IGZuO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBzZXREaXNhYmxlZFN0YXRlKGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkIHtcclxuICAgICAgICB0aGlzLmNvbnRyb2wuZGlzYWJsZShpc0Rpc2FibGVkKTtcclxuICAgIH1cclxufVxyXG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -54,3 +54,4 @@ import { Directive, forwardRef, Input } from '@angular/core'; | ||
_createValidator() { | ||
let /** @type {?} */ maxSize = null; | ||
/** @type {?} */ | ||
let maxSize = null; | ||
if (!IsNullOrEmpty(this.maxsize)) { | ||
@@ -62,3 +63,4 @@ maxSize = typeof this.maxsize === 'string' ? parseInt(this.maxsize, 10) : this.maxsize; | ||
} | ||
const /** @type {?} */ minSize = typeof this.minsize === 'string' ? parseInt(this.minsize, 10) : this.minsize; | ||
/** @type {?} */ | ||
const minSize = typeof this.minsize === 'string' ? parseInt(this.minsize, 10) : this.minsize; | ||
this.validator = FileUploadValidators.sizeRange({ maxSize, minSize }); | ||
@@ -89,3 +91,3 @@ } | ||
}; | ||
function FileSizeValidator_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -161,3 +163,3 @@ FileSizeValidator.prototype.filesize; | ||
}; | ||
function FilesLimitValidator_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -231,3 +233,3 @@ FilesLimitValidator.prototype.fileslimit; | ||
}; | ||
function FilesAcceptValidator_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -240,3 +242,2 @@ FilesAcceptValidator.prototype.accept; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaXBsYWIvbmd4LWZpbGUtdXBsb2FkLyIsInNvdXJjZXMiOlsiZGlyZWN0aXZlcy92YWxpZGF0b3JzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUE0QixNQUFNLGVBQWUsQ0FBQztBQUN2RixPQUFPLEVBQUUsYUFBYSxFQUE4QixNQUFNLGdCQUFnQixDQUFDO0FBQzNFLE9BQU8sRUFBaUMsb0JBQW9CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNwRyxPQUFPLEVBQUUs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fY3JlYXRlVmFsaWRhdG9yKCk7XHJcbiAgICAgICAgICBpZiAodGhpcy5vbkNoYW5nZSkgdGhpcy5vbkNoYW5nZSgpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgdmFsaWRhdGUoYzogQWJzdHJhY3RDb250cm9sKTogVmFsaWRhdGlvbkVycm9yc3xudWxsIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5hY2NlcHQgIT0gbnVsbCA/IHRoaXMudmFsaWRhdG9yKGMpIDogbnVsbDtcclxuICAgIH1cclxuICBcclxuICAgIHB1YmxpYyByZWdpc3Rlck9uVmFsaWRhdG9yQ2hhbmdlKGZuOiAoKSA9PiB2b2lkKTogdm9pZCB7XHJcbiAgICAgICAgdGhpcy5vbkNoYW5nZSA9IGZuOyBcclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIF9jcmVhdGVWYWxpZGF0b3IoKTogdm9pZCB7XHJcbiAgICAgICAgdGhpcy52YWxpZGF0b3IgPSBGaWxlVXBsb2FkVmFsaWRhdG9ycy5hY2NlcHQodGhpcy5hY2NlcHQuc3BsaXQoJywnKSk7XHJcbiAgICB9XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
* l10n | ||
* | ||
* By Ivan Pintar, http://www.pintar-ivan.com | ||
* Licensed under the MIT License | ||
* See https://github.com/pIvan/file-upload/blob/master/README.md | ||
*/ | ||
import { NgModule, Injector } from '@angular/core'; | ||
@@ -21,5 +28,5 @@ import { ReactiveFormsModule, FormsModule } from '@angular/forms'; | ||
constructor(injector) { | ||
this.injector = injector; | ||
// const fileUploadElement = createCustomElement(FileUploadComponent, { injector }); | ||
// customElements.define('file-upload', fileUploadElement); | ||
this.injector = injector; | ||
} | ||
@@ -63,7 +70,6 @@ /** | ||
]; | ||
function FileUploadModule_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
FileUploadModule.prototype.injector; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGlwbGFiL25neC1maWxlLXVwbG9hZC8iLCJzb3VyY2VzIjpbImZpbGUtdXBsb2FkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBT0EsT0FBTyxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUN6RSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUMzRixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNsRixPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUV2RixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsbUJBQW1CLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUdqSCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsb0JBQW9CLEVBQWlDLE1BQU0sNEJBQTRCLENBQUM7QUFDakcsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBK0I3RCxNQUFNOzs7O0lBRUYsWUFBb0IsUUFBa0I7OztRQUF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mUoJ2ZpbGUtdXBsb2FkJywgZmlsZVVwbG9hZEVsZW1lbnQpO1xyXG4gICAgfVxyXG5cclxuICAgIG5nRG9Cb290c3RyYXAoKSB7fVxyXG59Il19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -14,5 +14,5 @@ import { BehaviorSubject, Subject } from 'rxjs'; | ||
export { STATUS }; | ||
STATUS[STATUS.INVALID] = "INVALID"; | ||
STATUS[STATUS.VALID] = "VALID"; | ||
STATUS[STATUS.DISABLED] = "DISABLED"; | ||
STATUS[STATUS.INVALID] = 'INVALID'; | ||
STATUS[STATUS.VALID] = 'VALID'; | ||
STATUS[STATUS.DISABLED] = 'DISABLED'; | ||
export class FileUploadControl { | ||
@@ -48,9 +48,11 @@ /** | ||
* set functions that determines the synchronous validity of this control. | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} newValidators | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
setValidators(newValidators) { | ||
this.defineValidators(newValidators); | ||
this.validate(); | ||
return this; | ||
(/** @type {?} */ (this)).defineValidators(newValidators); | ||
(/** @type {?} */ (this)).validate(); | ||
return (/** @type {?} */ (this)); | ||
} | ||
@@ -67,28 +69,34 @@ /** | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} file | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
addFile(file) { | ||
this.files.add(file); | ||
this.valueChanges.next(Array.from(this.files.values())); | ||
this.validate(); | ||
return this; | ||
(/** @type {?} */ (this)).files.add(file); | ||
(/** @type {?} */ (this)).valueChanges.next(Array.from((/** @type {?} */ (this)).files.values())); | ||
(/** @type {?} */ (this)).validate(); | ||
return (/** @type {?} */ (this)); | ||
} | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} file | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
removeFile(file) { | ||
this.files.delete(file); | ||
this.valueChanges.next(Array.from(this.files.values())); | ||
this.validate(); | ||
return this; | ||
(/** @type {?} */ (this)).files.delete(file); | ||
(/** @type {?} */ (this)).valueChanges.next(Array.from((/** @type {?} */ (this)).files.values())); | ||
(/** @type {?} */ (this)).validate(); | ||
return (/** @type {?} */ (this)); | ||
} | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} files | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
addFiles(files) { | ||
this.addMultipleFiles(Array.from(files)); | ||
return this; | ||
(/** @type {?} */ (this)).addMultipleFiles(Array.from(files)); | ||
return (/** @type {?} */ (this)); | ||
} | ||
@@ -140,9 +148,11 @@ /** | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} files | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
setValue(files) { | ||
this.files.clear(); | ||
(/** @type {?} */ (this)).files.clear(); | ||
if (files instanceof Array) { | ||
this.addMultipleFiles(files); | ||
(/** @type {?} */ (this)).addMultipleFiles(files); | ||
} | ||
@@ -152,12 +162,14 @@ else { | ||
} | ||
return this; | ||
return (/** @type {?} */ (this)); | ||
} | ||
/** | ||
* reset the control | ||
* @return {?} | ||
* @template THIS | ||
* @this {THIS} | ||
* @return {THIS} | ||
*/ | ||
clear() { | ||
this.files.clear(); | ||
this.valueChanges.next(Array.from(this.files.values())); | ||
return this; | ||
(/** @type {?} */ (this)).files.clear(); | ||
(/** @type {?} */ (this)).valueChanges.next(Array.from((/** @type {?} */ (this)).files.values())); | ||
return (/** @type {?} */ (this)); | ||
} | ||
@@ -171,9 +183,11 @@ /** | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isVisible | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
setListVisibility(isVisible = true) { | ||
this.listVisible = isVisible; | ||
this.listVisibilityChanges.next(this.listVisible); | ||
return this; | ||
(/** @type {?} */ (this)).listVisible = isVisible; | ||
(/** @type {?} */ (this)).listVisibilityChanges.next((/** @type {?} */ (this)).listVisible); | ||
return (/** @type {?} */ (this)); | ||
} | ||
@@ -187,20 +201,24 @@ /** | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isEnabled | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
enable(isEnabled = true) { | ||
this.status = isEnabled ? STATUS.VALID : STATUS.DISABLED; | ||
this.validate(); | ||
this.statusChanged.next(this.status); | ||
return this; | ||
(/** @type {?} */ (this)).status = isEnabled ? STATUS.VALID : STATUS.DISABLED; | ||
(/** @type {?} */ (this)).validate(); | ||
(/** @type {?} */ (this)).statusChanged.next((/** @type {?} */ (this)).status); | ||
return (/** @type {?} */ (this)); | ||
} | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isDisabled | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
disable(isDisabled = true) { | ||
this.status = isDisabled ? STATUS.DISABLED : STATUS.VALID; | ||
this.validate(); | ||
this.statusChanged.next(this.status); | ||
return this; | ||
(/** @type {?} */ (this)).status = isDisabled ? STATUS.DISABLED : STATUS.VALID; | ||
(/** @type {?} */ (this)).validate(); | ||
(/** @type {?} */ (this)).statusChanged.next((/** @type {?} */ (this)).status); | ||
return (/** @type {?} */ (this)); | ||
} | ||
@@ -212,3 +230,4 @@ /** | ||
if (this.status !== STATUS.DISABLED) { | ||
const /** @type {?} */ currentState = this.valid; | ||
/** @type {?} */ | ||
const currentState = this.valid; | ||
this.errors = this.validators.map((validator) => validator(this)).filter((isInvalid) => isInvalid); | ||
@@ -224,3 +243,3 @@ if (currentState !== this.valid) { | ||
} | ||
function FileUploadControl_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -257,3 +276,2 @@ FileUploadControl.prototype.files; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL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KSA9PiBpc0ludmFsaWQpO1xyXG5cclxuICAgICAgICAgICAgaWYgKGN1cnJlbnRTdGF0ZSAhPT0gdGhpcy52YWxpZCkge1xyXG4gICAgICAgICAgICAgICAgdGhpcy5zdGF0dXNDaGFuZ2VkLm5leHQodGhpcy52YWxpZCA/IFNUQVRVUy5WQUxJRCA6IFNUQVRVUy5JTlZBTElEKTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIHRoaXMuZXJyb3JzLmxlbmd0aCA9IDA7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -21,15 +21,15 @@ /** @enum {number} */ | ||
}; | ||
FileAccess[FileAccess.None] = "None"; | ||
FileAccess[FileAccess.Read] = "Read"; | ||
FileAccess[FileAccess.Write] = "Write"; | ||
FileAccess[FileAccess.ReadWrite] = "ReadWrite"; | ||
FileAccess[FileAccess.Execute] = "Execute"; | ||
FileAccess[FileAccess.ReadWriteExecute] = "ReadWriteExecute"; | ||
FileAccess[FileAccess.ExecuteRead] = "ExecuteRead"; | ||
FileAccess[FileAccess.r] = "r"; | ||
FileAccess[FileAccess.w] = "w"; | ||
FileAccess[FileAccess.x] = "x"; | ||
FileAccess[FileAccess.rw] = "rw"; | ||
FileAccess[FileAccess.rwx] = "rwx"; | ||
FileAccess[FileAccess.xr] = "xr"; | ||
FileAccess[FileAccess.None] = 'None'; | ||
FileAccess[FileAccess.Read] = 'Read'; | ||
FileAccess[FileAccess.Write] = 'Write'; | ||
FileAccess[FileAccess.ReadWrite] = 'ReadWrite'; | ||
FileAccess[FileAccess.Execute] = 'Execute'; | ||
FileAccess[FileAccess.ReadWriteExecute] = 'ReadWriteExecute'; | ||
FileAccess[FileAccess.ExecuteRead] = 'ExecuteRead'; | ||
FileAccess[FileAccess.r] = 'r'; | ||
FileAccess[FileAccess.w] = 'w'; | ||
FileAccess[FileAccess.x] = 'x'; | ||
FileAccess[FileAccess.rw] = 'rw'; | ||
FileAccess[FileAccess.rwx] = 'rwx'; | ||
FileAccess[FileAccess.xr] = 'xr'; | ||
/** @enum {string} */ | ||
@@ -98,8 +98,7 @@ const FileUploadTypes = { | ||
zip: 'application/zip', | ||
"3gp": 'video/3gpp', | ||
"3g2": 'video/3gpp2', | ||
"7z": 'application/x-7z-compressed', | ||
'3gp': 'video/3gpp', | ||
'3g2': 'video/3gpp2', | ||
'7z': 'application/x-7z-compressed', | ||
}; | ||
export { FileUploadTypes }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS10eXBlcy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL2ZpbGUtdHlwZXMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7U0F3QlUsV0FBVztTQUNYLHVCQUF1QjtTQUN2QiwwQkFBMEI7U0FDMUIsaUJBQWlCO1NBQ2pCLDhCQUE4QjtTQUM5QiwwQkFBMEI7U0FDMUIsV0FBVztRQUNaLG9CQUFvQjtTQUNuQixxQkFBcUI7U0FDckIsbUJBQW1CO1NBQ25CLFVBQVU7U0FDVixVQUFVO1NBQ1Ysb0JBQW9CO1VBQ25CLHlFQUF5RTtTQUMxRSwrQkFBK0I7VUFDOUIsc0JBQXNCO1FBQ3hCLHdCQUF3QjtTQUN2QixXQUFXO1VBQ1YsV0FBVztTQUNaLGNBQWM7U0FDZCxlQUFlO1NBQ2YsMEJBQTBCO1NBQzFCLFlBQVk7UUFDYix3QkFBd0I7VUFDdEIsa0JBQWtCO1VB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xcclxuICAgICczZ3AnID0gJ3ZpZGVvLzNncHAnLFxyXG4gICAgJzNnMicgPSAndmlkZW8vM2dwcDInLFxyXG4gICAgJzd6JyA9ICdhcHBsaWNhdGlvbi94LTd6LWNvbXByZXNzZWQnXHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -12,3 +12,2 @@ /** | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVycy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL2hlbHBlcnMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxNQUFNLHdCQUF3QixLQUFVO0lBQ3BDLE1BQU0sQ0FBQyxLQUFLLElBQUksSUFBSSxJQUFJLEtBQUssQ0FBQyxNQUFNLEtBQUssQ0FBQyxDQUFDO0NBQzlDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIElzTnVsbE9yRW1wdHkodmFsdWU6IGFueSk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuIHZhbHVlID09IG51bGwgfHwgdmFsdWUubGVuZ3RoID09PSAwO1xyXG59Il19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVycy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL2hlbHBlcnMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxNQUFNLFVBQVUsYUFBYSxDQUFDLEtBQVU7SUFDcEMsT0FBTyxLQUFLLElBQUksSUFBSSxJQUFJLEtBQUssQ0FBQyxNQUFNLEtBQUssQ0FBQyxDQUFDO0FBQy9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gSXNOdWxsT3JFbXB0eSh2YWx1ZTogYW55KTogYm9vbGVhbiB7XHJcbiAgICByZXR1cm4gdmFsdWUgPT0gbnVsbCB8fCB2YWx1ZS5sZW5ndGggPT09IDA7XHJcbn0iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -10,7 +10,2 @@ import { IsNullOrEmpty } from './helpers.class'; | ||
export function ValidationErrors() { } | ||
function ValidationErrors_tsickle_Closure_declarations() { | ||
/* TODO: handle strange member: | ||
[key: string]: any; | ||
*/ | ||
} | ||
/** | ||
@@ -20,11 +15,7 @@ * @record | ||
export function ValidatorFn() { } | ||
function ValidatorFn_tsickle_Closure_declarations() { | ||
/* TODO: handle strange member: | ||
(c: AbstractControl | FileUploadControl): ValidationErrors | null; | ||
*/ | ||
} | ||
/** | ||
* function used to check file size | ||
* @type {?} | ||
*/ | ||
const /** @type {?} */ checkFileSize = (file, maxSize, minSize = 0) => { | ||
const checkFileSize = (file, maxSize, minSize = 0) => { | ||
return (!IsNullOrEmpty(maxSize) && file.size > maxSize) || file.size < minSize ? | ||
@@ -34,3 +25,4 @@ { maxSize, minSize, actual: file.size, file } : null; | ||
const ɵ0 = checkFileSize; | ||
const /** @type {?} */ FILE_EXT_REG = /(^[.]\w*)$/gm; | ||
/** @type {?} */ | ||
const FILE_EXT_REG = /(^[.]\w*)$/gm; | ||
/** | ||
@@ -41,8 +33,12 @@ * function used to check file type | ||
* file_extension|audio/*|video/*|image/*|media_type | ||
* @type {?} | ||
*/ | ||
const /** @type {?} */ checkFileType = (file, allowedTypes) => { | ||
const /** @type {?} */ fileExtension = file.name.slice((file.name.lastIndexOf(".") - 1 >>> 0) + 1); | ||
let /** @type {?} */ isValid = false; | ||
for (let /** @type {?} */ i = 0; i < allowedTypes.length; i++) { | ||
let /** @type {?} */ type = allowedTypes[i]; | ||
const checkFileType = (file, allowedTypes) => { | ||
/** @type {?} */ | ||
const fileExtension = file.name.slice((file.name.lastIndexOf(".") - 1 >>> 0) + 1); | ||
/** @type {?} */ | ||
let isValid = false; | ||
for (let i = 0; i < allowedTypes.length; i++) { | ||
/** @type {?} */ | ||
let type = allowedTypes[i]; | ||
isValid = FILE_EXT_REG.test(type) ? type === fileExtension : new RegExp(type).test(file.type); | ||
@@ -57,8 +53,12 @@ if (isValid) { | ||
const ɵ1 = checkFileType; | ||
const /** @type {?} */ checkValueType = (value) => { | ||
/** @type {?} */ | ||
const checkValueType = (value) => { | ||
if (!Array.isArray(value)) { | ||
throw Error(`FormControl.setValue was provided with wrong argument type, ${value} was provided instead Array<File>`); | ||
} | ||
}; | ||
} | ||
// @dynamic | ||
; | ||
const ɵ2 = checkValueType; | ||
// @dynamic | ||
export class FileUploadValidators { | ||
@@ -74,3 +74,4 @@ /** | ||
return (control) => { | ||
const /** @type {?} */ files = control.value; | ||
/** @type {?} */ | ||
const files = control.value; | ||
if (IsNullOrEmpty(files)) { | ||
@@ -80,3 +81,4 @@ return null; | ||
checkValueType(files); | ||
const /** @type {?} */ toLargeFiles = files.map((file) => checkFileSize(file, maxSize)) | ||
/** @type {?} */ | ||
const toLargeFiles = files.map((file) => checkFileSize(file, maxSize)) | ||
.filter((error) => error); | ||
@@ -95,3 +97,4 @@ return toLargeFiles.length > 0 ? | ||
return (control) => { | ||
const /** @type {?} */ files = control.value; | ||
/** @type {?} */ | ||
const files = control.value; | ||
if (IsNullOrEmpty(files)) { | ||
@@ -101,3 +104,4 @@ return null; | ||
checkValueType(files); | ||
const /** @type {?} */ sizeMismatch = files.map((file) => checkFileSize(file, maxSize, minSize)) | ||
/** @type {?} */ | ||
const sizeMismatch = files.map((file) => checkFileSize(file, maxSize, minSize)) | ||
.filter((error) => error); | ||
@@ -116,3 +120,4 @@ return sizeMismatch.length > 0 ? | ||
return (control) => { | ||
const /** @type {?} */ files = control.value; | ||
/** @type {?} */ | ||
const files = control.value; | ||
if (IsNullOrEmpty(files)) { | ||
@@ -146,3 +151,4 @@ return null; | ||
return (control) => { | ||
const /** @type {?} */ files = control.value; | ||
/** @type {?} */ | ||
const files = control.value; | ||
if (IsNullOrEmpty(files)) { | ||
@@ -152,3 +158,4 @@ return null; | ||
checkValueType(files); | ||
const /** @type {?} */ notAllowedFiles = files.map((file) => checkFileType(file, allowedFileTypes)) | ||
/** @type {?} */ | ||
const notAllowedFiles = files.map((file) => checkFileType(file, allowedFileTypes)) | ||
.filter((error) => error); | ||
@@ -161,3 +168,2 @@ return notAllowedFiles.length > 0 ? | ||
export { ɵ0, ɵ1, ɵ2 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL3ZhbGlkYXRvcnMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUNBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQWNoRCx1QkFBTSxhQUFhLEdBQUcsQ0FBQyxJQUFVLEVBQUUsT0FBZSxFQUFFLFVBQWtCLENBQUMsRUFBMkIsRUFBRTtJQUNoRyxNQUFNLENBQUMsQ0FBQyxDQUFDLGFBQWEsQ0FBQyxPQUFPLENBQUMsSUFBSSxJQUFJLENBQUMsSUFBSSxHQUFHLE9BQU8sQ0FBQyxJQUFJLElBQUksQ0FBQyxJQUFJLEdBQUcsT0FBTyxDQUFDLENB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uICAgIH1cclxuXHJcbiAgICAvKipcclxuICAgICAqIENvbXBhcmUgdGhlIEZpbGUgc2l6ZSBpbiBieXRlcyB3aXRoIG1heCBhbmQgbWluIHNpemUgbGltaXRzXHJcbiAgICAgKiBAZHluYW1pY1xyXG4gICAgICovXHJcbiAgICBwdWJsaWMgc3RhdGljIHNpemVSYW5nZSh7IG1pblNpemUsIG1heFNpemUgfTogeyBtaW5TaXplPzogbnVtYmVyOyBtYXhTaXplPzogbnVtYmVyIH0pOiBWYWxpZGF0b3JGbiB7XHJcbiAgICAgICAgcmV0dXJuIChjb250cm9sOiBBYnN0cmFjdENvbnRyb2wgfCBGaWxlVXBsb2FkQ29udHJvbCk6IHtzaXplUmFuZ2U6IEFycmF5PFZhbGlkYXRpb25FcnJvcnM+fSA9PiB7XHJcbiAgICAgICAgICAgIGNvbnN0IGZpbGVzOiBBcnJheTxGaWxlPiA9IGNvbnRyb2wudmFsdWU7XHJcbiAgICAgICAgICAgIGlmIChJc051bGxPckVtcHR5KGZpbGVzKSkgeyByZXR1cm4gbnVsbDsgfVxyXG4gICAgICAgICAgICBjaGVja1ZhbHVlVHlwZShmaWxlcyk7XHJcblxyXG4gICAgICAgICAgICBjb25zdCBzaXplTWlzbWF0Y2ggPSBmaWxlcy5tYXAoKGZpbGUpID0+IGNoZWNrRmlsZVNpemUoZmlsZSwgbWF4U2l6ZSwgbWluU2l6ZSkpXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZmlsdGVyKChlcnJvcikgPT4gZXJyb3IpO1xyXG5cclxuICAgICAgICAgICAgcmV0dXJuIHNpemVNaXNtYXRjaC5sZW5ndGggPiAwID9cclxuICAgICAgICAgICAgICAgICAgICB7J3NpemVSYW5nZSc6IHNpemVNaXNtYXRjaH0gOiBudWxsO1xyXG4gICAgICAgIH07XHJcbiAgICB9XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiB2YWxpZGF0b3IgdGhhdCByZXF1aXJlcyBjb250cm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ZXM6IEFycmF5PEZpbGU+ID0gY29udHJvbC52YWx1ZTtcclxuICAgICAgICAgICAgaWYgKElzTnVsbE9yRW1wdHkoZmlsZXMpKSB7IHJldHVybiBudWxsOyB9XHJcbiAgICAgICAgICAgIGNoZWNrVmFsdWVUeXBlKGZpbGVzKTtcclxuXHJcbiAgICAgICAgICAgIGNvbnN0IHNpemVNaXNtYXRjaCA9IGZpbGVzLm1hcCgoZmlsZSkgPT4gY2hlY2tGaWxlU2l6ZShmaWxlLCBtYXhTaXplLCBtaW5TaXplKSlcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5maWx0ZXIoKGVycm9yKSA9PiBlcnJvcik7XHJcblxyXG4gICAgICAgICAgICByZXR1cm4gc2l6ZU1pc21hdGNoLmxlbmd0aCA+IDAgP1xyXG4gICAgICAgICAgICAgICAgICAgIHsnc2l6ZVJhbmdlJzogc2l6ZU1pc21hdGNofSA6IG51bGw7XHJcbiAgICAgICAgfTtcclxuICAgIH1cclxuXHJcbiAgICAvKipcclxuICAgICAqIHZhbGlkYXRvciB0aGF0IHJlcXVpcmVzIGNvbnRyb2wgdG8gaGF2ZSBsaW1pdCBvbiBmaWxlcyBudW1iZXJcclxuICAgICAqIEBkeW5hbWljXHJcbiAgICAgKi9cclxuICAgIHB1YmxpYyBzdGF0aWMgZmlsZXNMaW1pdChudW1GaWxlczogbnVtYmVyKTogVmFsaWRhdG9yRm4ge1xyXG4gICAgICAgIHJldHVybiAoY29udHJvbDogQWJzdHJhY3RDb250cm9sIHwgRmlsZVVwbG9hZENvbnRyb2wpOiBWYWxpZGF0aW9uRXJyb3JzID0+IHtcclxuICAgICAgICAgICAgY29uc3QgZmlsZXM6IEFycmF5PEZpbGU+ID0gY29udHJvbC52YWx1ZTtcclxuICAgICAgICAgICAgaWYgKElzTnVsbE9yRW1wdHkoZmlsZXMpKSB7IHJldHVybiBudWxsOyB9XHJcbiAgICAgICAgICAgIGNoZWNrVmFsdWVUeXBlKGZ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AgKiBcclxuICAgICAqICMjIyMgRXhhbXBsZVxyXG4gICAgICogYEZpbGVVcGxvYWRWYWxpZGF0b3JzLmFjY2VwdChbZmlsZV9leHRlbnNpb24sIGF1ZGlvLyosIHZpZGVvLyosIGltYWdlLyosIG1lZGlhX3R5cGVdKWBcclxuICAgICAqIEBkeW5hbWljXHJcbiAgICAgKi9cclxuICAgIHB1YmxpYyBzdGF0aWMgYWNjZXB0KGFsbG93ZWRGaWxlVHlwZXM6IEFycmF5PHN0cmluZz4pIHtcclxuICAgICAgICByZXR1cm4gKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCB8IEZpbGVVcGxvYWRDb250cm9sKTogVmFsaWRhdGlvbkVycm9ycyA9PiB7XHJcbiAgICAgICAgICAgIGNvbnN0IGZpbGVzOiBBcnJheTxGaWxlPiA9IGNvbnRyb2wudmFsdWU7XHJcbiAgICAgICAgICAgIGlmIChJc051bGxPckVtcHR5KGZpbGVzKSkgeyByZXR1cm4gbnVsbDsgfVxyXG4gICAgICAgICAgICBjaGVja1ZhbHVlVHlwZShmaWxlcyk7XHJcblxyXG4gICAgICAgICAgICBjb25zdCBub3RBbGxvd2VkRmlsZXMgPSBmaWxlcy5tYXAoKGZpbGUpID0+IGNoZWNrRmlsZVR5cGUoZmlsZSwgYWxsb3dlZEZpbGVUeXBlcykpXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZmlsdGVyKChlcnJvcikgPT4gZXJyb3IpO1xyXG5cclxuICAgICAgICAgICAgcmV0dXJuIG5vdEFsbG93ZWRGaWxlcy5sZW5ndGggPiAwID9cclxuICAgICAgICAgICAgICAgIHsnZmlsZVR5cGVzJzogbm90QWxsb3dlZEZpbGVzfSA6IG51bGw7XHJcbiAgICAgICAgfTtcclxuICAgIH1cclxuXHJcbn0iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -15,3 +15,2 @@ /** | ||
export { FileUploadService as ɵb } from './services/file-upload.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXBsYWItbmd4LWZpbGUtdXBsb2FkLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGlwbGFiL25neC1maWxlLXVwbG9hZC8iLCJzb3VyY2VzIjpbImlwbGFiLW5neC1maWxlLXVwbG9hZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsMkZBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyw0QkFBNEIsSUFBSSxFQUFFLEVBQUMsTUFBTSx5Q0FBeUMsQ0FBQztBQUMzRixPQUFPLEVBQUMsdUJBQXVCLElBQUksRUFBRSxFQUFDLE1BQU0seUNBQXlDLENBQUM7QUFDdEYsT0FBTyxFQUFDLDJCQUEyQixJQUFJLEVBQUUsRUFBQyxNQUFNLDhDQUE4QyxDQUFDO0FBQy9GLE9BQU8sRUFBQyxtQkFBbUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxvQ0FBb0MsQ0FBQztBQUM3RSxPQUFPLEVBQUMsaUJBQWlCLElBQUksRUFBRSxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxtQkFBbUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUMvSCxPQUFPLEVBQUMsaUJBQWlCLElBQUksRUFBRSxFQUFDLE1BQU0sZ0NBQWdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG5cbmV4cG9ydCB7RmlsZVVwbG9hZEF0dHJpYnV0ZUNvbXBvbmVudCBhcyDJtWV9IGZyb20gJy4vY29tcG9uZW50cy9maWxlLXVwbG9hZC1hdHRyLmNvbXBvbmVudCc7XG5leHBvcnQge0ZpbGVVcGxvYWRJY29uQ29tcG9uZW50IGFzIMm1ZH0gZnJvbSAnLi9jb21wb25lbnRzL2ZpbGUtdXBsb2FkLWljb24uY29tcG9uZW50JztcbmV4cG9ydCB7RmlsZVVwbG9hZExpc3RJdGVtQ29tcG9uZW50IGFzIMm1Y30gZnJvbSAnLi9jb21wb25lbnRzL2ZpbGUtdXBsb2FkLWxpc3QtaXRlbS5jb21wb25lbnQnO1xuZXhwb3J0IHtGaWxlVXBsb2FkQ29tcG9uZW50IGFzIMm1YX0gZnJvbSAnLi9jb21wb25lbnRzL2ZpbGUtdXBsb2FkLmNvbXBvbmVudCc7XG5leHBvcnQge0ZpbGVTaXplVmFsaWRhdG9yIGFzIMm1ZixGaWxlc0FjY2VwdFZhbGlkYXRvciBhcyDJtWgsRmlsZXNMaW1pdFZhbGlkYXRvciBhcyDJtWd9IGZyb20gJy4vZGlyZWN0aXZlcy92YWxpZGF0b3JzLmRpcmVjdGl2ZSc7XG5leHBvcnQge0ZpbGVVcGxvYWRTZXJ2aWNlIGFzIMm1Yn0gZnJvbSAnLi9zZXJ2aWNlcy9maWxlLXVwbG9hZC5zZXJ2aWNlJzsiXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
export { FileUploadControl, FileUploadValidators, FileUploadTypes, FileUploadModule } from './file-upload.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSwyRkFBYyxzQkFBc0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZmlsZS11cGxvYWQubW9kdWxlJzsiXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -19,3 +19,4 @@ import { Injectable, Renderer2 } from '@angular/core'; | ||
isFileDragDropAvailable() { | ||
const /** @type {?} */ div = this.renderer.createElement('div'); | ||
/** @type {?} */ | ||
const div = this.renderer.createElement('div'); | ||
return (('draggable' in div) || ('ondragstart' in div && 'ondrop' in div)) && FormData && !!FileReader; | ||
@@ -52,3 +53,3 @@ } | ||
]; | ||
function FileUploadService_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -59,3 +60,2 @@ FileUploadService.prototype.extensions; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJzZXJ2aWNlcy9maWxlLXVwbG9hZC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFHaEUsTUFBTTs7OztJQUlGLFlBQW9CLFFBQW1CO1FBQW5CLGFBQVEsR0FBUixRQUFRLENBQVc7MEJBRm1CLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDO0tBR3BGOzs7O0lBRU0sdUJBQXVCO1FBQzFCLHVCQUFNLEdBQUcsR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDLGFBQ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DEpO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBnZXRGaWxlVHlwZShmaWxlOiBGaWxlKTogc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gT2JqZWN0LmtleXMoRmlsZVVwbG9hZFR5cGVzKS5maW5kKChrZXkpID0+IEZpbGVVcGxvYWRUeXBlc1trZXldID09PSBmaWxlLnR5cGUpO1xyXG4gICAgfVxyXG59Il19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -135,2 +135,5 @@ import { Input, ElementRef, HostListener, Renderer2, HostBinding, Inject, ViewChild, ContentChild, TemplateRef, Component } from '@angular/core'; | ||
* on file over add class name | ||
*/ | ||
/** | ||
* on file over add class name | ||
* @param {?} event | ||
@@ -149,2 +152,5 @@ * @return {?} | ||
* on mouse out remove class name | ||
*/ | ||
/** | ||
* on mouse out remove class name | ||
* @param {?} event | ||
@@ -173,3 +179,4 @@ * @return {?} | ||
} | ||
var /** @type {?} */ files = event.dataTransfer.files; | ||
/** @type {?} */ | ||
var files = event.dataTransfer.files; | ||
this.control.addFiles(files); | ||
@@ -206,3 +213,3 @@ this.onTouch(); | ||
export { FileUploadAttributeComponent }; | ||
function FileUploadAttributeComponent_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -229,3 +236,2 @@ FileUploadAttributeComponent.prototype.control; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQtYXR0ci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaXBsYWIvbmd4LWZpbGUtdXBsb2FkLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9maWxlLXVwbG9hZC1hdHRyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT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gW2ZpbGUtZHJvcC16b25lXWAsXHJcbiAgICB0ZW1wbGF0ZTogYFxyXG4gICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuICAgICAgICA8ZGl2ICNvdmVybGF5IGNsYXNzPVwib3ZlcmxheVwiICpuZ0lmPVwiZmlsZVVwbG9hZFNlcnZpY2UuaXNGaWxlRHJhZ0Ryb3BBdmFpbGFibGUoKVwiPlxyXG5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInVwbG9hZC1pbnB1dFwiPlxyXG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInRlbXBsYXRlUmVmID8gdGVtcGxhdGVSZWYgOiBkZWZhdWx0VGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI2RlZmF1bHRUZW1wbGF0ZT5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaWNvblwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8c3ZnIHZpZXdCb3g9XCIwIDAgOTYgOTZcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxnPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9XCJNNjIuOCw2OC4xYzAtMC42LTAuMi0xLjEtMC42LTEuNWMtMC40LTAuNC0wLjktMC42LTEuNS0wLjZzLTEuMSwwLjItMS41LDAuNlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjLTAuNCwwLjQtMC42LDAuOS0wLjYsMS41YzAsMC42LDAuMiwxLjEsMC42LDEuNWMwLjQsMC40LDAuOSwwLjYsMS41LDAuNnMxLjEtMC4yLDEuNS0wLjZTNjIuOCw2OC43LDYyLjgsNjguMXogTTcxLjMsNjguMVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjMC0wLjYtMC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MC42aC04LjVjLTAuOSwwLTEuNi0wLjQtMi0xLjNcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYy0wLjQtMC45LTAuMi0xLjYsMC41LTIuM2wxNC44LTE0LjhjMC40LTAuNCwwLjktMC42LDEuNS0wLjZzMS4xLDAuMiwxLjUsMC42TDY0LjMsMzdDNjUsMzcuNyw2NS4xLDM4LjQsNjQuOCwzOS4zelwiLz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zdmc+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidXBsb2FkLXRleHRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGI+RHJvcDwvYj4gaXQgaGVyZVxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICBgLFxyXG4gICAgc3R5bGVzOiBbYDpob3N0e3Bvc2l0aW9uOnJlbGF0aXZlO2Rpc3BsYXk6YmxvY2t9Omhvc3QgLm92ZXJsYXl7ZGlzcGxheTpub25lO2JhY2tncm91bmQ6cmdiYSgyNTUsMjU1LDI1NSwuOCk7b3V0bGluZTojOTJiMGIzIGRhc2hlZCAycHg7b3V0bGluZS1vZmZzZXQ6LTEwcHg7cG9zaXRpb246YWJzb2x1dGU7dG9wOjA7bGVmdDowO3JpZ2h0OjA7Ym90dG9tOjB9Omhvc3QoLmRyYWdvdmVyOm5vdCguZGlzYWJsZWQpKSAub3ZlcmxheXtkaXNwbGF5OmJsb2NrfS5pY29ue2hlaWdodDozNXB4O3dpZHRoOjM1cHg7Ym9yZGVyOjFweCBzb2xpZCAjZWFlYWVhO2JvcmRlci1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4gICAgY29uc3RydWN0b3IoXHJcbiAgICAgICAgcHVibGljIGZpbGVVcGxvYWRTZXJ2aWNlOiBGaWxlVXBsb2FkU2VydmljZSxcclxuICAgICAgICBwcml2YXRlIGhvc3RFbGVtZW50UmVmOiBFbGVtZW50UmVmLFxyXG4gICAgICAgIHByaXZhdGUgcmVuZGVyZXI6IFJlbmRlcmVyMixcclxuICAgICAgICBASW5qZWN0KERPQ1VNRU5UKSBwcml2YXRlIGRvY3VtZW50XHJcbiAgICApIHt9XHJcblxyXG4gICAgcHVibGljIG5nT25Jbml0KCkge1xyXG4gICAgICAgIGlmIChJc051bGxPckVtcHR5KHRoaXMuY29udHJvbCkpIHtcclxuICAgICAgICAgICAgdGhpcy5jb250cm9sID0gbmV3IEZpbGVVcGxvYWRDb250cm9sKCk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBuZ0FmdGVyVmlld0luaXQoKTogdm9pZCB7XHJcbiAgICAgICAgaWYgKHRoaXMuZmlsZVVwbG9hZFNlcnZpY2UuaXNGaWxlRHJhZ0Ryb3BBdmFpbGFibGUoKSkge1xyXG4gICAgICAgICAgICB0aGlzLnNldEV2ZW50cygpO1xyXG4gICAgICAgICAgICB0aGlzLmNoZWNrQW5kTWFya0FzRGlzYWJsZWQoKTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMuaG9va3MuZm9yRWFjaCgoaG9vaykgPT4gaG9vaygpKTtcclxuICAgICAgICB0aGlzLmhvb2tzLmxlbmd0aCA9IDA7XHJcbiAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zLmZvckVhY2goKHN1YnNjcmlwdGlvbikgPT4gc3Vic2NyaXB0aW9uLnVuc3Vic2NyaWJlKCkpO1xyXG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9ucy5sZW5ndGggPSAwO1xyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0QmluZGluZygnY2xhc3MuaGFzLWZpbGVzJylcclxuICAgIHB1YmxpYyBnZXQgaGFzRmlsZXMoKTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuY29udHJvbC5pc0xpc3RWaXNpYmxlICYmIHRoaXMuY29udHJvbC5zaXplID4gMDtcclxuICAgIH1cclxuXHJcbiAgICBASG9zdEJpbmRpbmcoJ2NsYXNzLm5nLWludmFsaWQnKVxyXG4gICAgcHVibGljIGdldCBpc0ludmFsaWQoKTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuICF0aGlzLmNvbnRyb2wuZGlzYWJsZWQgJiYgdGhpcy5jb250cm9sLmludmFsaWQ7XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBzZXRFdmVudHMoKTogdm9pZCB7XHJcbiAgICAgICAgWydkcmFnJywgJ2RyYWdzdGFydCcsICdkcmFnZW5kJywgJ2RyYWdvdmVyJywgJ2RyYWdlbnRlcicsICdkcmFnbGVhdmUnLCAnZHJvcCddLmZvckVhY2goKGV2ZW50TmFtZSkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLmhvb2tzLnB1c2goXHJcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLmxpc3Rlbih0aGlzLmRvY3VtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB0aGlzLnByZXZlbnREcmFnRXZlbnRzKGV2ZW50KSlcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgWydkcmFnb3ZlcicsICdkcmFnZW50ZXInXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB0aGlzLm9uRHJhZ092ZXIoZXZlbnQpKVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBbJ2RyYWdsZWF2ZScsICdkcmFnZW5kJywgJ2Ryb3AnXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYodGhpcy5jb250cm9sLmRpc2FibGVkICYmIGV2ZW50TmFtZSA9PT0gJ2RyYWdsZWF2ZScgfHwgZXZlbnROYW1lICE9PSAnZHJhZ2xlYXZlJykge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uRHJhZ0xlYXZlKGV2ZW50KTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBbJ2RyYWdsZWF2ZSddLmZvckVhY2goKGV2ZW50TmFtZSkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLmhvb2tzLnB1c2goXHJcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLmxpc3Rlbih0aGlzLm92ZXJsYXkubmF0aXZlRWxlbWVudCwgZXZlbnROYW1lLCAoZXZlbnQ6IGFueSkgPT4gdGhpcy5vbkRyYWdMZWF2ZShldmVudCkpXHJcbiAgICAgICAgICAgICk7XHJcbiAgICAgICAgfSk7XHJcblxyXG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9ucy5wdXNoKFxyXG4gICAgICAgICAgICB0aGlzLmNvbnRyb2wuc3RhdHVzQ2hhbmdlcy5zdWJzY3JpYmUoKHN0YXR1cykgP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XRoIGQ9XCJNNjIuOCw2OC4xYzAtMC42LTAuMi0xLjEtMC42LTEuNWMtMC40LTAuNC0wLjktMC42LTEuNS0wLjZzLTEuMSwwLjItMS41LDAuNlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjLTAuNCwwLjQtMC42LDAuOS0wLjYsMS41YzAsMC42LDAuMiwxLjEsMC42LDEuNWMwLjQsMC40LDAuOSwwLjYsMS41LDAuNnMxLjEtMC4yLDEuNS0wLjZTNjIuOCw2OC43LDYyLjgsNjguMXogTTcxLjMsNjguMVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjMC0wLjYtMC4yLTEuMS0wLjYtMS41Yy0wLjQtMC40LTAuOS0wLjYtMS41LTAuNmMtMC42LDAtMS4xLDAuMi0xLjUsMC42QzY3LjIsNjcsNjcsNjcuNSw2Nyw2OC4xYzAsMC42LDAuMiwxLjEsMC42LDEuNVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzMC45LDAuNiwxLjUsMC42YzAuNiwwLDEuMS0wLjIsMS41LTAuNkM3MS4xLDY5LjIsNzEuMyw2OC43LDcxLjMsNjguMXogTTc1LjUsNjAuN3YxMC42YzAsMC45LTAuMywxLjYtMC45LDIuMlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjLTAuNiwwLjYtMS40LDAuOS0yLjIsMC45SDIzLjdjLTAuOSwwLTEuNi0wLjMtMi4yLTAuOWMtMC42LTAuNi0wLjktMS40LTAuOS0yLjJWNjAuN2MwLTAuOSwwLjMtMS42LDAuOS0yLjJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYzAuNi0wLjYsMS40LTAuOSwyLjItMC45aDE0LjFjMC41LDEuMiwxLjIsMi4yLDIuMywzYzEuMSwwLjgsMi4zLDEuMiwzLjcsMS4yaDguNWMxLjMsMCwyLjYtMC40LDMuNy0xLjJjMS4xLTAuOCwxLjktMS44LDIuMy0zXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGgxNC4xYzAuOSwwLDEuNiwwLjMsMi4yLDAuOUM3NS4yLDU5LjEsNzUuNSw1OS44LDc1LjUsNjAuN3ogTTY0LjgsMzkuM2MtMC40LDAuOS0xLDEuMy0yLDEuM2gtOC41djE0LjhjMCwwLjYtMC4yLDEuMS0wLjYsMS41XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGMtMC40LDAuNC0wLjksMC42LTEuNSwwLjZoLTguNWMtMC42LDAtMS4xLTAuMi0xLjUtMC42Yy0wLjQtMC40LTAuNi0wLjktMC42LTEuNVY0MC42aC04LjVjLTAuOSwwLTEuNi0wLjQtMi0xLjNcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYy0wLjQtMC45LTAuMi0xLjYsMC41LTIuM2wxNC44LTE0LjhjMC40LTAuNCwwLjktMC42LDEuNS0wLjZzMS4xLDAuMiwxLjUsMC42TDY0LjMsMzdDNjUsMzcuNyw2NS4xLDM4LjQsNjQuOCwzOS4zelwiLz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zdmc+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidXBsb2FkLXRleHRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGI+RHJvcDwvYj4gaXQgaGVyZVxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICBgLFxyXG4gICAgc3R5bGVzOiBbYDpob3N0e3Bvc2l0aW9uOnJlbGF0aXZlO2Rpc3BsYXk6YmxvY2t9Omhv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Y3VtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB0aGlzLnByZXZlbnREcmFnRXZlbnRzKGV2ZW50KSlcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgWydkcmFnb3ZlcicsICdkcmFnZW50ZXInXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB0aGlzLm9uRHJhZ092ZXIoZXZlbnQpKVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBbJ2RyYWdsZWF2ZScsICdkcmFnZW5kJywgJ2Ryb3AnXS5mb3JFYWNoKChldmVudE5hbWUpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5ob29rcy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5saXN0ZW4odGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBldmVudE5hbWUsIChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYodGhpcy5jb250cm9sLmRpc2FibGVkICYmIGV2ZW50TmFtZSA9PT0gJ2RyYWdsZWF2ZScgfHwgZXZlbnROYW1lICE9PSAnZHJhZ2xlYXZlJykge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uRHJhZ0xlYXZlKGV2ZW50KTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBbJ2RyYWdsZWF2ZSddLmZvckVhY2goKGV2ZW50TmFtZSkgPT4ge1xyXG4gICAgIC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overview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -70,3 +70,3 @@ import { Component, Input } from '@angular/core'; | ||
export { FileUploadIconComponent }; | ||
function FileUploadIconComponent_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -79,3 +79,2 @@ FileUploadIconComponent.prototype.file; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQtaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaXBsYWIvbmd4LWZpbGUtdXBsb2FkLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9maWxlLXVwbG9hZC1pY29uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7O0lBcUZsRSxpQ0FBb0IsaUJBQW9DO1FBQXBDLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBbUI7d0JBRjlCLFNBQVM7S0FHbEM7Ozs7SUFFTSwwQ0FBUTs7OztRQUNYLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDLGlCQUFpQixDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7Ozs7OztJQUczRCx3Q0FBTTs7OztjQUFDLElBQTBDO1FBQ3BELE1BQU0sQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUM7WUFDWCxLQUFLLE1BQU07Z0JBQ1AsTUFBTSxDQUFDLElBQUksQ0FBQyxRQUFRLEtBQUssTUFBTSxJQUFJLElBQUksQ0FBQyxRQUFRLEtBQUssS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gICAgICAgICAgICAgIHJldHVybiB0aGlzLmZpbGVUeXBlID09PSAnYWFjJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnbWlkaScgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnb2dhJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnd2F2JyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICd3ZWJhJztcclxuICAgICAgICAgICAgY2FzZSAnaW1hZ2UnOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZmlsZVR5cGUgPT09ICdwbmcnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICdibXAnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ2dpZicgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ2pwZycgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnc3ZnJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnd2VicCcgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnaWNvJztcclxuICAgICAgICAgICAgY2FzZSAndmlkZW8nOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZmlsZVR5cGUgPT09ICdhdmknIHx8IHRoaXMuZmlsZVR5cGUgPT09ICdtcGVnJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdvZ3YnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICd3ZWJtJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICczZ3AnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICczZzInO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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9IHRoaXMuZmlsZVVwbG9hZFNlcnZpY2UuZ2V0RmlsZVR5cGUodGhpcy5maWxlKTtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgaXNJY29uKHR5cGU6ICd0ZXh0JyB8ICdhdWRpbycgfCAndmlkZW8nIHwgJ2ltYWdlJyk6IGJvb2xlYW4ge1xyXG4gICAgICAgIHN3aXRjaCAodHlwZSkge1xyXG4gICAgICAgICAgICBjYXNlICd0ZXh0JzpcclxuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmZpbGVUeXBlID09PSAnaHRtbCcgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ2NzcycgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnY3N2JyB8fCB0aGlzLmZpbGVUeXBlID09PSAnanMnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ3BkZicgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ3BwdCcgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAneGxzJyB8fCB0aGlzLmZpbGVUeXBlID09PSAneGxzeCcgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAneG1sJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnZG9jJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdkb2N4JztcclxuICAgICAgICAgICAgY2FzZSAnYXVkaW8nOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZmlsZVR5cGUgPT09ICdhYWMnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICdtaWRpJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdvZ2EnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICd3YXYnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ3dlYmEnO1xyXG4gICAgICAgICAgICBjYXNlICdpbWFnZSc6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5maWxlVHlwZSA9PT0gJ3BuZycgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ2JtcCcgfHxcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmZpbGVUeXBlID09PSAnZ2lmJyB8fCB0aGlzLmZpbGVUeXBlID09PSAnanBnJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdzdmcnIHx8IHRoaXMuZmlsZVR5cGUgPT09ICd3ZWJwJyB8fFxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZmlsZVR5cGUgPT09ICdpY28nO1xyXG4gICAgICAgICAgICBjYXNlICd2aWRlbyc6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5maWxlVHlwZSA9PT0gJ2F2aScgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ21wZWcnIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJ29ndicgfHwgdGhpcy5maWxlVHlwZSA9PT0gJ3dlYm0nIHx8XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWxlVHlwZSA9PT0gJzNncCcgfHwgdGhpcy5maWxlVHlwZSA9PT0gJzNnMic7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -53,3 +53,3 @@ import { Component, Input } from '@angular/core'; | ||
export { FileUploadListItemComponent }; | ||
function FileUploadListItemComponent_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -64,3 +64,2 @@ FileUploadListItemComponent.prototype.index; | ||
} | ||
//# sourceMappingURL=data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UuY2FsY3VsYXRlU2l6ZShzaXplKTtcclxuICAgIH1cclxufSJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -11,4 +11,6 @@ import { Component, Input, ElementRef, HostListener, Renderer2, HostBinding, Inject, TemplateRef, ViewChild, ChangeDetectionStrategy, ContentChild, forwardRef, ChangeDetectorRef } from '@angular/core'; | ||
import { FileUploadService } from './../services/file-upload.service'; | ||
export var /** @type {?} */ DRAGOVER = 'dragover'; | ||
export var /** @type {?} */ TOUCHED = 'ng-touched'; | ||
/** @type {?} */ | ||
export var DRAGOVER = 'dragover'; | ||
/** @type {?} */ | ||
export var TOUCHED = 'ng-touched'; | ||
var FileUploadComponent = /** @class */ (function () { | ||
@@ -133,2 +135,5 @@ function FileUploadComponent(fileUploadService, hostElementRef, renderer, document, cdr) { | ||
* on file over add class name | ||
*/ | ||
/** | ||
* on file over add class name | ||
* @param {?} event | ||
@@ -147,2 +152,5 @@ * @return {?} | ||
* on mouse out remove class name | ||
*/ | ||
/** | ||
* on mouse out remove class name | ||
* @param {?} event | ||
@@ -171,3 +179,4 @@ * @return {?} | ||
} | ||
var /** @type {?} */ files = event.dataTransfer.files; | ||
/** @type {?} */ | ||
var files = event.dataTransfer.files; | ||
this.control.addFiles(files); | ||
@@ -185,3 +194,4 @@ this.onTouch(); | ||
function (event) { | ||
var /** @type {?} */ input = /** @type {?} */ ((event.target)); | ||
/** @type {?} */ | ||
var input = (/** @type {?} */ ((event.target))); | ||
if (!this.control.disabled) { | ||
@@ -204,2 +214,5 @@ this.control.addFiles(input.files); | ||
* ControlValueAccessor implementation | ||
*/ | ||
/** | ||
* ControlValueAccessor implementation | ||
* @return {?} | ||
@@ -217,2 +230,5 @@ */ | ||
* model -> view changes | ||
*/ | ||
/** | ||
* model -> view changes | ||
* @param {?} files | ||
@@ -234,2 +250,6 @@ * @return {?} | ||
* to update view -> model | ||
*/ | ||
/** | ||
* register function which will be called on UI change | ||
* to update view -> model | ||
* @param {?} fn | ||
@@ -305,3 +325,3 @@ * @return {?} | ||
export { FileUploadComponent }; | ||
function FileUploadComponent_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -336,3 +356,2 @@ FileUploadComponent.prototype.control; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGlwbGFiL25neC1maWxlLXVwbG9hZC8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvZmlsZS11cGxvYWQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQ0gsU0FBUyxFQUNULEtBQUssRUFFTCxVQUFVLEVBQ1YsWUFBWSxFQUNaLFNBQVMsRUFFVCxXQUFXLEVBQ1gsTUFBTSxFQUNOLFdBQVcsRUFDWCxTQUFTLEVBQ1QsdUJBQXVCLEVBQ3ZCLFlBQVksRUFDWixVQUFVLEVBQ1YsaUJBQWlCLEVBQ3BCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMzQyxPQUFPLEVBQUUsaUJBQWlCLEVBQXdCLE1BQU0sZ0JBQWdCLENBQUM7QUFFekUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDL0QsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzNELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBR3RFLE1BQU0sQ0FBQyxxQkFBTSxRQUFRLEdBQUcsVUFBVSxDQUFDO0FBQ25DLE1BQU0sQ0FBQyx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4gICAgcHJpdmF0ZSBvbkNoYW5nZTogKHY6IEFycmF5PEZpbGU+KSA9PiB2b2lkID0gKCkgPT4ge307XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiByZWdpc3RlciBmdW5jdGlvbiB3aGljaCB3aWxsIGJlIGNhbGxlZCBvbiBVSSBjaGFuZ2VcclxuICAgICAqIHRvIHVwZGF0ZSB2aWV3IC0+IG1vZGVsXHJcbiAgICAgKi9cclxuICAgIHB1YmxpYyByZWdpc3Rlck9uQ2hhbmdlKGZuOiAodjogQXJyYXk8RmlsZT4pID0+IHZvaWQpOiB2b2lkIHtcclxuICAgICAgICB0aGlzLm9uQ2hhbmdlID0gZm47XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBvblRvdWNoOiAoKSA9PiB2b2lkID0gKCkgPT4ge1xyXG4gICAgICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5ob3N0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBUT1VDSEVEKTtcclxuICAgIH07XHJcblxyXG4gICAgcHVibGljIHJlZ2lzdGVyT25Ub3VjaGVkKGZuOiBhbnkpOiB2b2lkIHtcclxuICAgICAgICB0aGlzLm9uVG91Y2ggPSBmbjtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgc2V0RGlzYWJsZWRTdGF0ZShpc0Rpc2FibGVkOiBib29sZWFuKTogdm9pZCB7XHJcbiAgICAgICAgdGhpcy5jb250cm9sLmRpc2FibGUoaXNEaXNhYmxlZCk7XHJcbiAgICB9XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -71,3 +71,4 @@ import { Directive, forwardRef, Input } from '@angular/core'; | ||
function () { | ||
var /** @type {?} */ maxSize = null; | ||
/** @type {?} */ | ||
var maxSize = null; | ||
if (!IsNullOrEmpty(this.maxsize)) { | ||
@@ -79,3 +80,4 @@ maxSize = typeof this.maxsize === 'string' ? parseInt(this.maxsize, 10) : this.maxsize; | ||
} | ||
var /** @type {?} */ minSize = typeof this.minsize === 'string' ? parseInt(this.minsize, 10) : this.minsize; | ||
/** @type {?} */ | ||
var minSize = typeof this.minsize === 'string' ? parseInt(this.minsize, 10) : this.minsize; | ||
this.validator = FileUploadValidators.sizeRange({ maxSize: maxSize, minSize: minSize }); | ||
@@ -106,3 +108,3 @@ }; | ||
export { FileSizeValidator }; | ||
function FileSizeValidator_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -197,3 +199,3 @@ FileSizeValidator.prototype.filesize; | ||
export { FilesLimitValidator }; | ||
function FilesLimitValidator_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -286,3 +288,3 @@ FilesLimitValidator.prototype.fileslimit; | ||
export { FilesAcceptValidator }; | ||
function FilesAcceptValidator_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -295,3 +297,2 @@ FilesAcceptValidator.prototype.accept; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaXBsYWIvbmd4LWZpbGUtdXBsb2FkLyIsInNvdXJjZXMiOlsiZGlyZWN0aXZlcy92YWxpZGF0b3JzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUE0QixNQUFNLGVBQWUsQ0FBQztBQUN2RixPQUFPLEVBQUUsYUFBYSxFQUE4QixNQUFNLGdCQUFnQixDQUFDO0FBQzNFLE9BQU8sRUFBaUMsb0JBQW9CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNwRyxPQUFPLE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b3IgPSBGaWxlVXBsb2FkVmFsaWRhdG9ycy5hY2NlcHQodGhpcy5hY2NlcHQuc3BsaXQoJywnKSk7XHJcbiAgICB9XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
* l10n | ||
* | ||
* By Ivan Pintar, http://www.pintar-ivan.com | ||
* Licensed under the MIT License | ||
* See https://github.com/pIvan/file-upload/blob/master/README.md | ||
*/ | ||
import { NgModule, Injector } from '@angular/core'; | ||
@@ -18,5 +25,5 @@ import { ReactiveFormsModule, FormsModule } from '@angular/forms'; | ||
function FileUploadModule(injector) { | ||
this.injector = injector; | ||
// const fileUploadElement = createCustomElement(FileUploadComponent, { injector }); | ||
// customElements.define('file-upload', fileUploadElement); | ||
this.injector = injector; | ||
} | ||
@@ -65,7 +72,6 @@ /** | ||
export { FileUploadModule }; | ||
function FileUploadModule_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
FileUploadModule.prototype.injector; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGlwbGFiL25neC1maWxlLXVwbG9hZC8iLCJzb3VyY2VzIjpbImZpbGUtdXBsb2FkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBT0EsT0FBTyxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUU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9ydHM6IFtcclxuICAgICAgICBGaWxlVXBsb2FkQ29tcG9uZW50LFxyXG4gICAgICAgIEZpbGVVcGxvYWRBdHRyaWJ1dGVDb21wb25lbnQsXHJcblxyXG4gICAgICAgIEZpbGVTaXplVmFsaWRhdG9yLFxyXG4gICAgICAgIEZpbGVzTGltaXRWYWxpZGF0b3IsXHJcbiAgICAgICAgRmlsZXNBY2NlcHRWYWxpZGF0b3JcclxuICAgIF0sXHJcbiAgICBlbnRyeUNvbXBvbmVudHM6IFtcclxuICAgICAgICBGaWxlVXBsb2FkQ29tcG9uZW50XHJcbiAgICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGaWxlVXBsb2FkTW9kdWxlIHtcclxuXHJcbiAgICBjb25zdHJ1Y3Rvcihwcml2YXRlIGluamVjdG9yOiBJbmplY3Rvcikge1xyXG4gICAgICAgIC8vIGNvbnN0IGZpbGVVcGxvYWRFbGVtZW50ID0gY3JlYXRlQ3VzdG9tRWxlbWVudChGaWxlVXBsb2FkQ29tcG9uZW50LCB7IGluamVjdG9yIH0pO1xyXG4gICAgICAgIC8vIGN1c3RvbUVsZW1lbnRzLmRlZmluZSgnZmlsZS11cGxvYWQnLCBmaWxlVXBsb2FkRWxlbWVudCk7XHJcbiAgICB9XHJcblxyXG4gICAgbmdEb0Jvb3RzdHJhcCgpIHt9XHJcbn0iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -15,5 +15,5 @@ import * as tslib_1 from "tslib"; | ||
export { STATUS }; | ||
STATUS[STATUS.INVALID] = "INVALID"; | ||
STATUS[STATUS.VALID] = "VALID"; | ||
STATUS[STATUS.DISABLED] = "DISABLED"; | ||
STATUS[STATUS.INVALID] = 'INVALID'; | ||
STATUS[STATUS.VALID] = 'VALID'; | ||
STATUS[STATUS.DISABLED] = 'DISABLED'; | ||
var FileUploadControl = /** @class */ (function () { | ||
@@ -46,14 +46,21 @@ function FileUploadControl(validators) { | ||
* set functions that determines the synchronous validity of this control. | ||
*/ | ||
/** | ||
* set functions that determines the synchronous validity of this control. | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} newValidators | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.setValidators = /** | ||
* set functions that determines the synchronous validity of this control. | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} newValidators | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
function (newValidators) { | ||
this.defineValidators(newValidators); | ||
this.validate(); | ||
return this; | ||
(/** @type {?} */ (this)).defineValidators(newValidators); | ||
(/** @type {?} */ (this)).validate(); | ||
return (/** @type {?} */ (this)); | ||
}; | ||
@@ -74,42 +81,59 @@ /** | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} file | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.addFile = /** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} file | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
function (file) { | ||
this.files.add(file); | ||
this.valueChanges.next(Array.from(this.files.values())); | ||
this.validate(); | ||
return this; | ||
(/** @type {?} */ (this)).files.add(file); | ||
(/** @type {?} */ (this)).valueChanges.next(Array.from((/** @type {?} */ (this)).files.values())); | ||
(/** @type {?} */ (this)).validate(); | ||
return (/** @type {?} */ (this)); | ||
}; | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} file | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.removeFile = /** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} file | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
function (file) { | ||
this.files.delete(file); | ||
this.valueChanges.next(Array.from(this.files.values())); | ||
this.validate(); | ||
return this; | ||
(/** @type {?} */ (this)).files.delete(file); | ||
(/** @type {?} */ (this)).valueChanges.next(Array.from((/** @type {?} */ (this)).files.values())); | ||
(/** @type {?} */ (this)).validate(); | ||
return (/** @type {?} */ (this)); | ||
}; | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} files | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.addFiles = /** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} files | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
function (files) { | ||
this.addMultipleFiles(Array.from(files)); | ||
return this; | ||
(/** @type {?} */ (this)).addMultipleFiles(Array.from(files)); | ||
return (/** @type {?} */ (this)); | ||
}; | ||
/** | ||
* @internal | ||
* used to prevent valueChanges emit more times | ||
* when multiple files are uploaded | ||
*/ | ||
/** | ||
* \@internal | ||
@@ -164,2 +188,5 @@ * used to prevent valueChanges emit more times | ||
Object.defineProperty(FileUploadControl.prototype, "size", { | ||
/** | ||
* number of uploaded files | ||
*/ | ||
get: /** | ||
@@ -176,2 +203,5 @@ * number of uploaded files | ||
Object.defineProperty(FileUploadControl.prototype, "value", { | ||
/** | ||
* return list of Files | ||
*/ | ||
get: /** | ||
@@ -188,13 +218,17 @@ * return list of Files | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} files | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.setValue = /** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?} files | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
function (files) { | ||
this.files.clear(); | ||
(/** @type {?} */ (this)).files.clear(); | ||
if (files instanceof Array) { | ||
this.addMultipleFiles(files); | ||
(/** @type {?} */ (this)).addMultipleFiles(files); | ||
} | ||
@@ -204,16 +238,23 @@ else { | ||
} | ||
return this; | ||
return (/** @type {?} */ (this)); | ||
}; | ||
/** | ||
* reset the control | ||
* @return {?} | ||
*/ | ||
/** | ||
* reset the control | ||
* @template THIS | ||
* @this {THIS} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.clear = /** | ||
* reset the control | ||
* @return {?} | ||
* @template THIS | ||
* @this {THIS} | ||
* @return {THIS} | ||
*/ | ||
function () { | ||
this.files.clear(); | ||
this.valueChanges.next(Array.from(this.files.values())); | ||
return this; | ||
(/** @type {?} */ (this)).files.clear(); | ||
(/** @type {?} */ (this)).valueChanges.next(Array.from((/** @type {?} */ (this)).files.values())); | ||
return (/** @type {?} */ (this)); | ||
}; | ||
@@ -231,14 +272,18 @@ Object.defineProperty(FileUploadControl.prototype, "isListVisible", { | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isVisible | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.setListVisibility = /** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isVisible | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
function (isVisible) { | ||
if (isVisible === void 0) { isVisible = true; } | ||
this.listVisible = isVisible; | ||
this.listVisibilityChanges.next(this.listVisible); | ||
return this; | ||
(/** @type {?} */ (this)).listVisible = isVisible; | ||
(/** @type {?} */ (this)).listVisibilityChanges.next((/** @type {?} */ (this)).listVisible); | ||
return (/** @type {?} */ (this)); | ||
}; | ||
@@ -256,30 +301,38 @@ Object.defineProperty(FileUploadControl.prototype, "disabled", { | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isEnabled | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.enable = /** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isEnabled | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
function (isEnabled) { | ||
if (isEnabled === void 0) { isEnabled = true; } | ||
this.status = isEnabled ? STATUS.VALID : STATUS.DISABLED; | ||
this.validate(); | ||
this.statusChanged.next(this.status); | ||
return this; | ||
(/** @type {?} */ (this)).status = isEnabled ? STATUS.VALID : STATUS.DISABLED; | ||
(/** @type {?} */ (this)).validate(); | ||
(/** @type {?} */ (this)).statusChanged.next((/** @type {?} */ (this)).status); | ||
return (/** @type {?} */ (this)); | ||
}; | ||
/** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isDisabled | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
FileUploadControl.prototype.disable = /** | ||
* @template THIS | ||
* @this {THIS} | ||
* @param {?=} isDisabled | ||
* @return {?} | ||
* @return {THIS} | ||
*/ | ||
function (isDisabled) { | ||
if (isDisabled === void 0) { isDisabled = true; } | ||
this.status = isDisabled ? STATUS.DISABLED : STATUS.VALID; | ||
this.validate(); | ||
this.statusChanged.next(this.status); | ||
return this; | ||
(/** @type {?} */ (this)).status = isDisabled ? STATUS.DISABLED : STATUS.VALID; | ||
(/** @type {?} */ (this)).validate(); | ||
(/** @type {?} */ (this)).statusChanged.next((/** @type {?} */ (this)).status); | ||
return (/** @type {?} */ (this)); | ||
}; | ||
@@ -295,3 +348,4 @@ /** | ||
if (this.status !== STATUS.DISABLED) { | ||
var /** @type {?} */ currentState = this.valid; | ||
/** @type {?} */ | ||
var currentState = this.valid; | ||
this.errors = this.validators.map(function (validator) { return validator(_this); }).filter(function (isInvalid) { return isInvalid; }); | ||
@@ -309,3 +363,3 @@ if (currentState !== this.valid) { | ||
export { FileUploadControl }; | ||
function FileUploadControl_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -342,3 +396,2 @@ FileUploadControl.prototype.files; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL2NvbnRyb2wuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE9BQU8sRUFBYyxNQUFNLE1BQU0sQ0FBQztBQUU1RCxPQUF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odGhpcy5zdGF0dXMpO1xyXG4gICAgICAgIHJldHVybiB0aGlzO1xyXG4gICAgfVxyXG5cclxuICAgIHByaXZhdGUgdmFsaWRhdGUoKTogdm9pZCB7XHJcbiAgICAgICAgaWYgKHRoaXMuc3RhdHVzICE9PSBTVEFUVVMuRElTQUJMRUQpIHtcclxuICAgICAgICAgICAgY29uc3QgY3VycmVudFN0YXRlID0gdGhpcy52YWxpZDtcclxuICAgICAgICAgICAgdGhpcy5lcnJvcnMgPSB0aGlzLnZhbGlkYXRvcnMubWFwKCh2YWxpZGF0b3IpID0+IHZhbGlkYXRvcih0aGlzKSkuZmlsdGVyKChpc0ludmFsaWQpID0+IGlzSW52YWxpZCk7XHJcblxyXG4gICAgICAgICAgICBpZiAoY3VycmVudFN0YXRlICE9PSB0aGlzLnZhbGlkKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXR1c0NoYW5nZWQubmV4dCh0aGlzLnZhbGlkID8gU1RBVFVTLlZBTElEIDogU1RBVFVTLklOVkFMSUQpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5lcnJvcnMubGVuZ3RoID0gMDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL2NvbnRyb2wuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE9BQU8sRUFBYyxNQUFNLE1BQU0sQ0FBQztBQUU1RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7OztJQUc1QyxVQUFPO0lBQ1As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ge1xyXG4gICAgICAgIHRoaXMuc3RhdHVzID0gaXNEaXNhYmxlZCA/IFNUQVRVUy5ESVNBQkxFRCA6IFNUQVRVUy5WQUxJRDtcclxuICAgICAgICB0aGlzLnZhbGlkYXRlKCk7XHJcbiAgICAgICAgdGhpcy5zdGF0dXNDaGFuZ2VkLm5leHQodGhpcy5zdGF0dXMpO1xyXG4gICAgICAgIHJldHVybiB0aGlzO1xyXG4gICAgfVxyXG5cclxuICAgIHByaXZhdGUgdmFsaWRhdGUoKTogdm9pZCB7XHJcbiAgICAgICAgaWYgKHRoaXMuc3RhdHVzICE9PSBTVEFUVVMuRElTQUJMRUQpIHtcclxuICAgICAgICAgICAgY29uc3QgY3VycmVudFN0YXRlID0gdGhpcy52YWxpZDtcclxuICAgICAgICAgICAgdGhpcy5lcnJvcnMgPSB0aGlzLnZhbGlkYXRvcnMubWFwKCh2YWxpZGF0b3IpID0+IHZhbGlkYXRvcih0aGlzKSkuZmlsdGVyKChpc0ludmFsaWQpID0+IGlzSW52YWxpZCk7XHJcblxyXG4gICAgICAgICAgICBpZiAoY3VycmVudFN0YXRlICE9PSB0aGlzLnZhbGlkKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXR1c0NoYW5nZWQubmV4dCh0aGlzLnZhbGlkID8gU1RBVFVTLlZBTElEIDogU1RBVFVTLklOVkFMSUQpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5lcnJvcnMubGVuZ3RoID0gMDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -21,15 +21,15 @@ /** @enum {number} */ | ||
}; | ||
FileAccess[FileAccess.None] = "None"; | ||
FileAccess[FileAccess.Read] = "Read"; | ||
FileAccess[FileAccess.Write] = "Write"; | ||
FileAccess[FileAccess.ReadWrite] = "ReadWrite"; | ||
FileAccess[FileAccess.Execute] = "Execute"; | ||
FileAccess[FileAccess.ReadWriteExecute] = "ReadWriteExecute"; | ||
FileAccess[FileAccess.ExecuteRead] = "ExecuteRead"; | ||
FileAccess[FileAccess.r] = "r"; | ||
FileAccess[FileAccess.w] = "w"; | ||
FileAccess[FileAccess.x] = "x"; | ||
FileAccess[FileAccess.rw] = "rw"; | ||
FileAccess[FileAccess.rwx] = "rwx"; | ||
FileAccess[FileAccess.xr] = "xr"; | ||
FileAccess[FileAccess.None] = 'None'; | ||
FileAccess[FileAccess.Read] = 'Read'; | ||
FileAccess[FileAccess.Write] = 'Write'; | ||
FileAccess[FileAccess.ReadWrite] = 'ReadWrite'; | ||
FileAccess[FileAccess.Execute] = 'Execute'; | ||
FileAccess[FileAccess.ReadWriteExecute] = 'ReadWriteExecute'; | ||
FileAccess[FileAccess.ExecuteRead] = 'ExecuteRead'; | ||
FileAccess[FileAccess.r] = 'r'; | ||
FileAccess[FileAccess.w] = 'w'; | ||
FileAccess[FileAccess.x] = 'x'; | ||
FileAccess[FileAccess.rw] = 'rw'; | ||
FileAccess[FileAccess.rwx] = 'rwx'; | ||
FileAccess[FileAccess.xr] = 'xr'; | ||
/** @enum {string} */ | ||
@@ -98,8 +98,7 @@ var FileUploadTypes = { | ||
zip: 'application/zip', | ||
"3gp": 'video/3gpp', | ||
"3g2": 'video/3gpp2', | ||
"7z": 'application/x-7z-compressed', | ||
'3gp': 'video/3gpp', | ||
'3g2': 'video/3gpp2', | ||
'7z': 'application/x-7z-compressed', | ||
}; | ||
export { FileUploadTypes }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS10eXBlcy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL2ZpbGUtdHlwZXM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F1ZGlvL3dlYm0nLFxyXG4gICAgd2VibSA9ICd2aWRlby93ZWJtJyxcclxuICAgIHdlYnAgPSAnaW1hZ2Uvd2VicCcsXHJcbiAgICB3b2ZmID0gJ2ZvbnQvd29mZicsXHJcbiAgICB3b2ZmMiA9ICdmb250L3dvZmYyJyxcclxuICAgIHhodG1sID0gJ2FwcGxpY2F0aW9uL3hodG1sK3htbCcsXHJcbiAgICB4bHMgPSAnYXBwbGljYXRpb24vdm5kLm1zLWV4Y2VsJyxcclxuICAgIHhsc3ggPSAnYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LnNwcmVhZHNoZWV0bWwuc2hlZXQnLFxyXG4gICAgeG1sID0gJ2FwcGxpY2F0aW9uL3htbCcsXHJcbiAgICB4dWwgPSAnYXBwbGljYXRpb24vdm5kLm1vemlsbGEueHVsK3htbCcsXHJcbiAgICB6aXAgPSAnYXBwbGljYXRpb24vemlwJyxcclxuICAgICczZ3AnID0gJ3ZpZGVvLzNncHAnLFxyXG4gICAgJzNnMicgPSAndmlkZW8vM2dwcDInLFxyXG4gICAgJzd6JyA9ICdhcHBsaWNhdGlvbi94LTd6LWNvbXByZXNzZWQnXHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -12,3 +12,2 @@ /** | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVycy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL2hlbHBlcnMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxNQUFNLHdCQUF3QixLQUFVO0lBQ3BDLE1BQU0sQ0FBQyxLQUFLLElBQUksSUFBSSxJQUFJLEtBQUssQ0FBQyxNQUFNLEtBQUssQ0FBQyxDQUFDO0NBQzlDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIElzTnVsbE9yRW1wdHkodmFsdWU6IGFueSk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuIHZhbHVlID09IG51bGwgfHwgdmFsdWUubGVuZ3RoID09PSAwO1xyXG59Il19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVycy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL2hlbHBlcnMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxNQUFNLFVBQVUsYUFBYSxDQUFDLEtBQVU7SUFDcEMsT0FBTyxLQUFLLElBQUksSUFBSSxJQUFJLEtBQUssQ0FBQyxNQUFNLEtBQUssQ0FBQyxDQUFDO0FBQy9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gSXNOdWxsT3JFbXB0eSh2YWx1ZTogYW55KTogYm9vbGVhbiB7XHJcbiAgICByZXR1cm4gdmFsdWUgPT0gbnVsbCB8fCB2YWx1ZS5sZW5ndGggPT09IDA7XHJcbn0iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -10,7 +10,2 @@ import { IsNullOrEmpty } from './helpers.class'; | ||
export function ValidationErrors() { } | ||
function ValidationErrors_tsickle_Closure_declarations() { | ||
/* TODO: handle strange member: | ||
[key: string]: any; | ||
*/ | ||
} | ||
/** | ||
@@ -20,11 +15,7 @@ * @record | ||
export function ValidatorFn() { } | ||
function ValidatorFn_tsickle_Closure_declarations() { | ||
/* TODO: handle strange member: | ||
(c: AbstractControl | FileUploadControl): ValidationErrors | null; | ||
*/ | ||
} | ||
/** | ||
* function used to check file size | ||
* @type {?} | ||
*/ | ||
var /** @type {?} */ checkFileSize = function (file, maxSize, minSize) { | ||
var checkFileSize = function (file, maxSize, minSize) { | ||
if (minSize === void 0) { minSize = 0; } | ||
@@ -35,3 +26,4 @@ return (!IsNullOrEmpty(maxSize) && file.size > maxSize) || file.size < minSize ? | ||
var ɵ0 = checkFileSize; | ||
var /** @type {?} */ FILE_EXT_REG = /(^[.]\w*)$/gm; | ||
/** @type {?} */ | ||
var FILE_EXT_REG = /(^[.]\w*)$/gm; | ||
/** | ||
@@ -42,8 +34,12 @@ * function used to check file type | ||
* file_extension|audio/*|video/*|image/*|media_type | ||
* @type {?} | ||
*/ | ||
var /** @type {?} */ checkFileType = function (file, allowedTypes) { | ||
var /** @type {?} */ fileExtension = file.name.slice((file.name.lastIndexOf(".") - 1 >>> 0) + 1); | ||
var /** @type {?} */ isValid = false; | ||
for (var /** @type {?} */ i = 0; i < allowedTypes.length; i++) { | ||
var /** @type {?} */ type = allowedTypes[i]; | ||
var checkFileType = function (file, allowedTypes) { | ||
/** @type {?} */ | ||
var fileExtension = file.name.slice((file.name.lastIndexOf(".") - 1 >>> 0) + 1); | ||
/** @type {?} */ | ||
var isValid = false; | ||
for (var i = 0; i < allowedTypes.length; i++) { | ||
/** @type {?} */ | ||
var type = allowedTypes[i]; | ||
isValid = FILE_EXT_REG.test(type) ? type === fileExtension : new RegExp(type).test(file.type); | ||
@@ -58,9 +54,15 @@ if (isValid) { | ||
var ɵ1 = checkFileType; | ||
var /** @type {?} */ checkValueType = function (value) { | ||
/** @type {?} */ | ||
var checkValueType = function (value) { | ||
if (!Array.isArray(value)) { | ||
throw Error("FormControl.setValue was provided with wrong argument type, " + value + " was provided instead Array<File>"); | ||
} | ||
}; | ||
} | ||
// @dynamic | ||
; | ||
var ɵ2 = checkValueType; | ||
var FileUploadValidators = /** @class */ (function () { | ||
// @dynamic | ||
var | ||
// @dynamic | ||
FileUploadValidators = /** @class */ (function () { | ||
function FileUploadValidators() { | ||
@@ -71,2 +73,7 @@ } | ||
* Compare the File size in bytes | ||
* @dynamic | ||
*/ | ||
/** | ||
* Validator that requires controls to have a file maximum size length. | ||
* Compare the File size in bytes | ||
* \@dynamic | ||
@@ -85,3 +92,4 @@ * @param {?} maxSize | ||
return function (control) { | ||
var /** @type {?} */ files = control.value; | ||
/** @type {?} */ | ||
var files = control.value; | ||
if (IsNullOrEmpty(files)) { | ||
@@ -91,3 +99,4 @@ return null; | ||
checkValueType(files); | ||
var /** @type {?} */ toLargeFiles = files.map(function (file) { return checkFileSize(file, maxSize); }) | ||
/** @type {?} */ | ||
var toLargeFiles = files.map(function (file) { return checkFileSize(file, maxSize); }) | ||
.filter(function (error) { return error; }); | ||
@@ -100,2 +109,6 @@ return toLargeFiles.length > 0 ? | ||
* Compare the File size in bytes with max and min size limits | ||
* @dynamic | ||
*/ | ||
/** | ||
* Compare the File size in bytes with max and min size limits | ||
* \@dynamic | ||
@@ -114,3 +127,4 @@ * @param {?} __0 | ||
return function (control) { | ||
var /** @type {?} */ files = control.value; | ||
/** @type {?} */ | ||
var files = control.value; | ||
if (IsNullOrEmpty(files)) { | ||
@@ -120,3 +134,4 @@ return null; | ||
checkValueType(files); | ||
var /** @type {?} */ sizeMismatch = files.map(function (file) { return checkFileSize(file, maxSize, minSize); }) | ||
/** @type {?} */ | ||
var sizeMismatch = files.map(function (file) { return checkFileSize(file, maxSize, minSize); }) | ||
.filter(function (error) { return error; }); | ||
@@ -129,2 +144,6 @@ return sizeMismatch.length > 0 ? | ||
* validator that requires control to have limit on files number | ||
* @dynamic | ||
*/ | ||
/** | ||
* validator that requires control to have limit on files number | ||
* \@dynamic | ||
@@ -142,3 +161,4 @@ * @param {?} numFiles | ||
return function (control) { | ||
var /** @type {?} */ files = control.value; | ||
/** @type {?} */ | ||
var files = control.value; | ||
if (IsNullOrEmpty(files)) { | ||
@@ -166,2 +186,18 @@ return null; | ||
* `FileUploadValidators.accept([file_extension, audio/*, video/*, image/*, media_type])` | ||
* @dynamic | ||
*/ | ||
/** | ||
* validator that requires control to have limit on media types | ||
* | ||
* ##### Allowed media types are | ||
* | ||
* - file_extension - a file extension starting with the STOP character, | ||
* e.g: .gif, .jpg, .png, .doc | ||
* - audio/* - All sound files are accepted | ||
* - video/* - All video files are accepted | ||
* - image/* - All image files are accepted | ||
* - media_type - A valid media type, with no parameters. Look at [IANA Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml) for a complete list of standard media types | ||
* | ||
* #### Example | ||
* `FileUploadValidators.accept([file_extension, audio/*, video/*, image/*, media_type])` | ||
* \@dynamic | ||
@@ -191,3 +227,4 @@ * @param {?} allowedFileTypes | ||
return function (control) { | ||
var /** @type {?} */ files = control.value; | ||
/** @type {?} */ | ||
var files = control.value; | ||
if (IsNullOrEmpty(files)) { | ||
@@ -197,3 +234,4 @@ return null; | ||
checkValueType(files); | ||
var /** @type {?} */ notAllowedFiles = files.map(function (file) { return checkFileType(file, allowedFileTypes); }) | ||
/** @type {?} */ | ||
var notAllowedFiles = files.map(function (file) { return checkFileType(file, allowedFileTypes); }) | ||
.filter(function (error) { return error; }); | ||
@@ -206,5 +244,5 @@ return notAllowedFiles.length > 0 ? | ||
}()); | ||
// @dynamic | ||
export { FileUploadValidators }; | ||
export { ɵ0, ɵ1, ɵ2 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL3ZhbGlkYXRvcnMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUNBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTU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2l6ZShmaWxlLCBtYXhTaXplLCBtaW5TaXplKSlcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5maWx0ZXIoKGVycm9yKSA9PiBlcnJvcik7XHJcblxyXG4gICAgICAgICAgICByZXR1cm4gc2l6ZU1pc21hdGNoLmxlbmd0aCA+IDAgP1xyXG4gICAgICAgICAgICAgICAgICAgIHsnc2l6ZVJhbmdlJzogc2l6ZU1pc21hdGNofSA6IG51bGw7XHJcbiAgICAgICAgfTtcclxuICAgIH1cclxuXHJcbiAgICAvKipcclxuICAgICAqIHZhbGlkYXRvciB0aGF0IHJlcXVpcmVzIGNvbnRyb2wgdG8gaGF2ZSBsaW1pdCBvbiBmaWxlcyBudW1iZXJcclxuICAgICAqIEBkeW5hbWljXHJcbiAgICAgKi9cclxuICAgIHB1YmxpYyBzdGF0aWMgZmlsZXNMaW1pdChudW1GaWxlczogbnVtYmVyKTogVmFsaWRhdG9yRm4ge1xyXG4gICAgICAgIHJldHVybiAoY29udHJvbDogQWJzdHJhY3RDb250cm9sIHwgRmlsZVVwbG9hZENvbnRyb2wpOiBWYWxpZGF0aW9uRXJyb3JzID0+IHtcclxuICAgICAgICAgICAgY29uc3QgZmlsZXM6IEFycmF5PEZpbGU+ID0gY29udHJvbC52YWx1ZTtcclxuICAgICAgICAgICAgaWYgKElzTnVsbE9yRW1wdHkoZmlsZXMpKSB7IHJldHVybiBudWxsOyB9XHJcbiAgICAgICAgICAgIGNoZWNrVmFsdWVUeXBlKGZpbGVzKTtcclxuXHJcbiAgICAgICAgICAgIHJldHVybiBmaWxlcy5sZW5ndGggPiBudW1GaWxlcyA/XHJcbiAgICAgICAgICAgICAgICB7J2ZpbGVzTGltaXQnOiB7J21heCc6IG51bUZpbGVzLCAnYWN0dWFsJzogZmlsZXMubGVuZ3RofX0gOiBudWxsO1xyXG4gICAgICAgIH07XHJcbiAgICB9XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiB2YWxpZGF0b3IgdG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6IEFycmF5PHN0cmluZz4pIHtcclxuICAgICAgICByZXR1cm4gKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCB8IEZpbGVVcGxvYWRDb250cm9sKTogVmFsaWRhdGlvbkVycm9ycyA9PiB7XHJcbiAgICAgICAgICAgIGNvbnN0IGZpbGVzOiBBcnJheTxGaWxlPiA9IGNvbnRyb2wudmFsdWU7XHJcbiAgICAgICAgICAgIGlmIChJc051bGxPckVtcHR5KGZpbGVzKSkgeyByZXR1cm4gbnVsbDsgfVxyXG4gICAgICAgICAgICBjaGVja1ZhbHVlVHlwZShmaWxlcyk7XHJcblxyXG4gICAgICAgICAgICBjb25zdCBub3RBbGxvd2VkRmlsZXMgPSBmaWxlcy5tYXAoKGZpbGUpID0+IGNoZWNrRmlsZVR5cGUoZmlsZSwgYWxsb3dlZEZpbGVUeXBlcykpXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZmlsdGVyKChlcnJvcikgPT4gZXJyb3IpO1xyXG5cclxuICAgICAgICAgICAgcmV0dXJuIG5vdEFsbG93ZWRGaWxlcy5sZW5ndGggPiAwID9cclxuICAgICAgICAgICAgICAgIHsnZmlsZVR5cGVzJzogbm90QWxsb3dlZEZpbGVzfSA6IG51bGw7XHJcbiAgICAgICAgfTtcclxuICAgIH1cclxuXHJcbn0iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJoZWxwZXJzL3ZhbGlkYXRvcnMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUNBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7OztBQUdoRCxzQ0FFQzs7OztBQUVELGlDQUVDOzs7OztJQUtL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jaGVja1ZhbHVlVHlwZShmaWxlcyk7XHJcblxyXG4gICAgICAgICAgICBjb25zdCBub3RBbGxvd2VkRmlsZXMgPSBmaWxlcy5tYXAoKGZpbGUpID0+IGNoZWNrRmlsZVR5cGUoZmlsZSwgYWxsb3dlZEZpbGVUeXBlcykpXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZmlsdGVyKChlcnJvcikgPT4gZXJyb3IpO1xyXG5cclxuICAgICAgICAgICAgcmV0dXJuIG5vdEFsbG93ZWRGaWxlcy5sZW5ndGggPiAwID9cclxuICAgICAgICAgICAgICAgIHsnZmlsZVR5cGVzJzogbm90QWxsb3dlZEZpbGVzfSA6IG51bGw7XHJcbiAgICAgICAgfTtcclxuICAgIH1cclxuXHJcbn0iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -15,3 +15,2 @@ /** | ||
export { FileUploadService as ɵb } from './services/file-upload.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXBsYWItbmd4LWZpbGUtdXBsb2FkLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGlwbGFiL25neC1maWxlLXVwbG9hZC8iLCJzb3VyY2VzIjpbImlwbGFiLW5neC1maWxlLXVwbG9hZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsMkZBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyw0QkFBNEIsSUFBSSxFQUFFLEVBQUMsTUFBTSx5Q0FBeUMsQ0FBQztBQUMzRixPQUFPLEVBQUMsdUJBQXVCLElBQUksRUFBRSxFQUFDLE1BQU0seUNBQXlDLENBQUM7QUFDdEYsT0FBTyxFQUFDLDJCQUEyQixJQUFJLEVBQUUsRUFBQyxNQUFNLDhDQUE4QyxDQUFDO0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jdGl2ZSc7XG5leHBvcnQge0ZpbGVVcGxvYWRTZXJ2aWNlIGFzIMm1Yn0gZnJvbSAnLi9zZXJ2aWNlcy9maWxlLXVwbG9hZC5zZXJ2aWNlJzsiXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
export { FileUploadControl, FileUploadValidators, FileUploadTypes, FileUploadModule } from './file-upload.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSwyRkFBYyxzQkFBc0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZmlsZS11cGxvYWQubW9kdWxlJzsiXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc | ||
*/ | ||
@@ -19,3 +19,4 @@ import { Injectable, Renderer2 } from '@angular/core'; | ||
function () { | ||
var /** @type {?} */ div = this.renderer.createElement('div'); | ||
/** @type {?} */ | ||
var div = this.renderer.createElement('div'); | ||
return (('draggable' in div) || ('ondragstart' in div && 'ondrop' in div)) && FormData && !!FileReader; | ||
@@ -64,3 +65,3 @@ }; | ||
export { FileUploadService }; | ||
function FileUploadService_tsickle_Closure_declarations() { | ||
if (false) { | ||
/** @type {?} */ | ||
@@ -71,3 +72,2 @@ FileUploadService.prototype.extensions; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQuc2VydmljZS5qcyIsInNvdXJjZ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Ghpcy5yZW5kZXJlci5jcmVhdGVFbGVtZW50KCdkaXYnKTtcclxuICAgICAgICByZXR1cm4gKCgnZHJhZ2dhYmxlJyBpbiBkaXYpIHx8ICgnb25kcmFnc3RhcnQnIGluIGRpdiAmJiAnb25kcm9wJyBpbiBkaXYpKSAmJiBGb3JtRGF0YSAmJiAhIUZpbGVSZWFkZXI7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIHB1YmxpYyBjYWxjdWxhdGVTaXplKHNpemU6IG51bWJlciwgZXh0ZW5zaW9uSW5kZXg6IG51bWJlciA9IDApOiBzdHJpbmcge1xyXG4gICAgICAgIGlmIChpc05hTihzaXplKSkge1xyXG4gICAgICAgICAgICBzaXplID0gMDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGlmIChzaXplIDwgMTAyNCkge1xyXG4gICAgICAgICAgICByZXR1cm4gYCR7TWF0aC5yb3VuZChzaXplICogMTAwKSAvIDEwMH0gJHt0aGlzLmV4dGVuc2lvbnNbZXh0ZW5zaW9uSW5kZXhdfWA7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gdGhpcy5jYWxjdWxhdGVTaXplKHNpemUgLyAxMDI0LCBleHRlbnNpb25JbmRleCArIDEpO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBnZXRGaWxlVHlwZShmaWxlOiBGaWxlKTogc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gT2JqZWN0LmtleXMoRmlsZVVwbG9hZFR5cGVzKS5maW5kKChrZXkpID0+IEZpbGVVcGxvYWRUeXBlc1trZXldID09PSBmaWxlLnR5cGUpO1xyXG4gICAgfVxyXG59Il19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpcGxhYi9uZ3gtZmlsZS11cGxvYWQvIiwic291cmNlcyI6WyJzZXJ2aWNlcy9maWxl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0gdGhpcy5yZW5kZXJlci5jcmVhdGVFbGVtZW50KCdkaXYnKTtcclxuICAgICAgICByZXR1cm4gKCgnZHJhZ2dhYmxlJyBpbiBkaXYpIHx8ICgnb25kcmFnc3RhcnQnIGluIGRpdiAmJiAnb25kcm9wJyBpbiBkaXYpKSAmJiBGb3JtRGF0YSAmJiAhIUZpbGVSZWFkZXI7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIHB1YmxpYyBjYWxjdWxhdGVTaXplKHNpemU6IG51bWJlciwgZXh0ZW5zaW9uSW5kZXg6IG51bWJlciA9IDApOiBzdHJpbmcge1xyXG4gICAgICAgIGlmIChpc05hTihzaXplKSkge1xyXG4gICAgICAgICAgICBzaXplID0gMDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGlmIChzaXplIDwgMTAyNCkge1xyXG4gICAgICAgICAgICByZXR1cm4gYCR7TWF0aC5yb3VuZChzaXplICogMTAwKSAvIDEwMH0gJHt0aGlzLmV4dGVuc2lvbnNbZXh0ZW5zaW9uSW5kZXhdfWA7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gdGhpcy5jYWxjdWxhdGVTaXplKHNpemUgLyAxMDI0LCBleHRlbnNpb25JbmRleCArIDEpO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBnZXRGaWxlVHlwZShmaWxlOiBGaWxlKTogc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gT2JqZWN0LmtleXMoRmlsZVVwbG9hZFR5cGVzKS5maW5kKChrZXkpID0+IEZpbGVVcGxvYWRUeXBlc1trZXldID09PSBmaWxlLnR5cGUpO1xyXG4gICAgfVxyXG59Il19 |
@@ -6,3 +6,3 @@ import { BehaviorSubject, Observable } from 'rxjs'; | ||
VALID = 1, | ||
DISABLED = 2, | ||
DISABLED = 2 | ||
} | ||
@@ -36,3 +36,3 @@ export declare class FileUploadControl { | ||
setValidators(newValidators: ValidatorFn | Array<ValidatorFn>): this; | ||
private defineValidators(validators); | ||
private defineValidators; | ||
addFile(file: File): this; | ||
@@ -46,3 +46,3 @@ removeFile(file: File): this; | ||
*/ | ||
private addMultipleFiles(files); | ||
private addMultipleFiles; | ||
readonly valid: boolean; | ||
@@ -69,3 +69,3 @@ readonly invalid: boolean; | ||
disable(isDisabled?: boolean): this; | ||
private validate(); | ||
private validate; | ||
} |
@@ -69,3 +69,3 @@ /** | ||
'3g2' = "video/3gpp2", | ||
'7z' = "application/x-7z-compressed", | ||
'7z' = "application/x-7z-compressed" | ||
} |
@@ -20,3 +20,3 @@ import { AbstractControl } from '@angular/forms'; | ||
*/ | ||
static sizeRange({minSize, maxSize}: { | ||
static sizeRange({ minSize, maxSize }: { | ||
minSize?: number; | ||
@@ -23,0 +23,0 @@ maxSize?: number; |
@@ -6,3 +6,3 @@ { | ||
"bugs": "https://github.com/pIvan/file-upload/issues", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"author": "Ivan Pintar", | ||
@@ -29,33 +29,23 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@angular/animations": "^6.0.7", | ||
"@angular/common": "^6.0.7", | ||
"@angular/compiler": "^6.0.7", | ||
"@angular/core": "^6.0.7", | ||
"@angular/forms": "^6.0.7", | ||
"@angular/http": "^6.0.7", | ||
"@angular/platform-browser": "^6.0.7", | ||
"@angular/platform-browser-dynamic": "^6.0.7", | ||
"@angular/router": "^6.0.7", | ||
"core-js": "^2.5.4", | ||
"rxjs": "^6.0.0", | ||
"zone.js": "^0.8.26" | ||
}, | ||
"devDependencies": { | ||
"@angular/animations": "^6.0.7", | ||
"@angular/common": "^6.0.7", | ||
"@angular/compiler": "^6.0.7", | ||
"@angular/core": "^6.0.7", | ||
"@angular/forms": "^6.0.7", | ||
"@angular/http": "^6.0.7", | ||
"@angular/platform-browser": "^6.0.7", | ||
"@angular/platform-browser-dynamic": "^6.0.7", | ||
"@angular/router": "^6.0.7", | ||
"@angular/animations": "^7.0.3", | ||
"@angular/common": "^7.0.3", | ||
"@angular/compiler": "^7.0.3", | ||
"@angular/core": "^7.0.3", | ||
"@angular/forms": "^7.0.3", | ||
"@angular/http": "^7.0.3", | ||
"@angular/platform-browser": "^7.0.3", | ||
"@angular/platform-browser-dynamic": "^7.0.3", | ||
"@angular/router": "^7.0.3", | ||
"core-js": "^2.5.4", | ||
"rxjs": "^6.0.0", | ||
"rxjs": "^6.3.3", | ||
"zone.js": "^0.8.26", | ||
"@angular/compiler-cli": "^6.0.7", | ||
"@angular/compiler-cli": "^7.0.3", | ||
"@angular-devkit/build-angular": "~0.6.8", | ||
"typescript": "~2.7.2", | ||
"@angular/cli": "~6.0.8", | ||
"@angular/language-service": "^6.0.7", | ||
"typescript": "~3.1.6", | ||
"@angular/cli": "~7.0.5", | ||
"@angular/language-service": "^7.0.3", | ||
"@types/jasmine": "~2.8.6", | ||
@@ -76,2 +66,3 @@ "@types/jasminewd2": "~2.0.3", | ||
"ng-packagr": "^3.0.0", | ||
"tsickle": "^0.33.1", | ||
"bootstrap": "4.0.0-alpha.6", | ||
@@ -78,0 +69,0 @@ "google-code-prettify": "1.0.5" |
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 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
Sorry, the diff of this file is not supported yet
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
1303813
3
8980
35