<commit_before>/**
* ng2-dropzone-wrapper
* https://github.com/akshayat/ng2-dropzone-wrapper
*/
import { Directive, ElementRef, Input, OnDestroy, AfterViewInit, OnChanges } from '@angular/core';

declare var $: any;
declare var Dropzone: any;

@Directive({
    selector: 'file-upload'
})
export class FileUploadDirective implements OnDestroy, AfterViewInit, OnChanges {
    wrapperId: string;
    wrapperId$: any;
    id: string;
    id$: any;
    dzId: string;
    css: string = `<wrapper><style id="file-upload-style">
    .showcase{border:1px dashed #000;background:#c5c5c5;color:white;padding:5px;cursor: pointer;}
    .fu-remove{padding-left:5px;color:#e74c3c;}
    .fu-undo{padding-left:5px;color:#3498db;}
    .hidden{display:none;visibility:hidden;}
    </style></wrapper>`;
    defaultMessage: string = 'Click here to upload file';<commit_msg>Added more of a license<commit_after>/**
* Name: ng2-dropzone-wrapper v0.1
* GitHub: https://github.com/akshayat/ng2-dropzone-wrapper
* License: https://github.com/akshayat/ng2-dropzone-wrapper/blob/master/LICENSE
*/
import { Directive, ElementRef, Input, OnDestroy, AfterViewInit, OnChanges } from '@angular/core';

declare var $: any;
declare var Dropzone: any;

@Directive({
    selector: 'file-upload'
})
export class FileUploadDirective implements OnDestroy, AfterViewInit, OnChanges {
    wrapperId: string;
    wrapperId$: any;
    id: string;
    id$: any;
    dzId: string;
    css: string = `<wrapper><style id="file-upload-style">
    .showcase{border:1px dashed #000;background:#c5c5c5;color:white;padding:5px;cursor: pointer;}
    .fu-remove{padding-left:5px;color:#e74c3c;}
    .fu-undo{padding-left:5px;color:#3498db;}
    .hidden{display:none;visibility:hidden;}
    </style></wrapper>`;
    defaultMessage: string = 'Click here to upload file';
{'fraction_non_alphanumeric': 0.15002757859900717, 'fraction_numerical': 0.022614451185879757, 'mean_word_length': 4.777070063694268, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6505328', 'n_tokens_mistral': 632, 'n_tokens_neox': 606, 'n_words': 124}