<commit_before>import {CropperDrawSettings} from "./cropperDrawSettings";

export interface ICropperSettings {
    canvasWidth?: number;
    canvasHeight?: number;
    width?: number;
    height?: number;
    minWidth?: number;
    minHeight?: number;
    minWithRelativeToResolution?: boolean;
    croppedWidth?: number;
    croppedHeight?: number;
    touchRadius?: number;
    cropperDrawSettings?: any;
    noFileInput?: boolean;
    allowedFilesRegex?: RegExp;
    rounded: boolean;
    keepAspect: boolean;
    preserveSize: boolean;
}

export class CropperSettings implements ICropperSettings {

    public canvasWidth: number = 300;
    public canvasHeight: number = 300;

    public width: number = 200;
    public height: number = 200;

    public minWidth: number = 50;
    public minHeight: number = 50;
    public minWithRelativeToResolution: boolean = true;

    public responsive: boolean = false;

    public croppedWidth: number = 100;
    public croppedHeight: number = 100;

    public cropperDrawSettings: CropperDrawSettings = new CropperDrawSettings();
    public touchRadius: number = 20;
    public noFileInput: boolean = false;

    public fileType:string = "png";

    public allowedFilesRegex: RegExp = /\.(jpe?g|png|gif)$/i;
    public preserveSize: boolean = false;

    private _rounded: boolean = false;
    private _keepAspect: boolean = true;


    constructor() {
        // init
    }
<commit_msg>Added dragRadius<commit_after>import {CropperDrawSettings} from "./cropperDrawSettings";

export interface ICropperSettings {
    canvasWidth?: number;
    canvasHeight?: number;
    width?: number;
    height?: number;
    minWidth?: number;
    minHeight?: number;
    minWithRelativeToResolution?: boolean;
    croppedWidth?: number;
    croppedHeight?: number;
    touchRadius?: number;
    cropperDrawSettings?: any;
    noFileInput?: boolean;
    allowedFilesRegex?: RegExp;
    rounded: boolean;
    keepAspect: boolean;
    preserveSize: boolean;
    dragRadius: number;
}

export class CropperSettings implements ICropperSettings {

    public canvasWidth: number = 300;
    public canvasHeight: number = 300;

    public width: number = 200;
    public height: number = 200;

    public minWidth: number = 50;
    public minHeight: number = 50;
    public minWithRelativeToResolution: boolean = true;

    public responsive: boolean = false;

    public croppedWidth: number = 100;
    public croppedHeight: number = 100;

    public cropperDrawSettings: CropperDrawSettings = new CropperDrawSettings();
    public touchRadius: number = 20;
    public noFileInput: boolean = false;
    
    public dragRadius: number = 200;

    public fileType:string = "png";

    public allowedFilesRegex: RegExp = /\.(jpe?g|png|gif)$/i;
    public preserveSize: boolean = false;

    private _rounded: boolean = false;
    private _keepAspect: boolean = true;


    constructor() {
        // init
    }

{'fraction_non_alphanumeric': 0.09171496760995568, 'fraction_numerical': 0.017388339584043642, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '624107', 'n_tokens_mistral': 891, 'n_tokens_neox': 801, 'n_words': 243}