<commit_before>export enum SimpleModalType {
	Default,
	Info,
	Warning,
	Critical
}

export class BaseModalConfig {

	private _blocking:boolean;
	private _title:string;
	private _message:string;
	private _type:SimpleModalType;
	private _icon:string;
	private _width:number;
	private _height:number;
	private _confirmBtn:string;
	private _cancelBtn:string;

	constructor() {
		this._blocking = true;
		this._title = 'Default title';
		this._message = 'Default message';
		this._type = SimpleModalType.Default;
		this._width = 250;
		this._height = 150;
		this._confirmBtn = null;
		this._cancelBtn = 'OK';
	}

	get blocking() : boolean {
		return this._blocking;<commit_msg>Call set type to also set the icon.<commit_after>export enum SimpleModalType {
	Default,
	Info,
	Warning,
	Critical
}

export class BaseModalConfig {

	private _blocking:boolean;
	private _title:string;
	private _message:string;
	private _type:SimpleModalType;
	private _icon:string;
	private _width:number;
	private _height:number;
	private _confirmBtn:string;
	private _cancelBtn:string;

	constructor() {
		this._blocking = true;
		this._title = 'Default title';
		this._message = 'Default message';
		this.type = SimpleModalType.Default;
		this._width = 250;
		this._height = 150;
		this._confirmBtn = null;
		this._cancelBtn = 'OK';
	}

	get blocking() : boolean {
		return this._blocking;
{'fraction_non_alphanumeric': 0.10021945866861741, 'fraction_numerical': 0.008778346744696415, 'mean_word_length': 4.772151898734177, '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': '4202718', 'n_tokens_mistral': 480, 'n_tokens_neox': 432, 'n_words': 110}