constructor(private cdr: ChangeDetectorRef, private scrollToService: ScrollToService, private uploaderService: UploaderService) {
import {of as observableOf, Observable } from 'rxjs';
import { FileUploader } from 'ng2-file-upload';
import { uniqueId } from 'lodash';
import { ScrollToConfigOptions, ScrollToService } from '@nicky-lenaers/ngx-scroll-to';
import { UploaderOptions } from './uploader-options.model';
import { isNotEmpty, isUndefined } from '../empty.util';
import { UploaderService } from './uploader.service';
templateUrl: 'uploader.component.html',
styleUrls: ['uploader.component.scss'],
changeDetection: ChangeDetectionStrategy.Default,
encapsulation: ViewEncapsulation.Emulated
export class UploaderComponent {
@Input() dropMsg: string;
@Input() dropOverDocumentMsg: string;
@Input() enableDragOverDocument: boolean;
@Input() onBeforeUpload: () => void;
@Input() uploadFilesOptions: UploaderOptions;
@Output() onCompleteItem: EventEmitter<any> = new EventEmitter<any>();