export const buttonsMap = new Map<string, string>([
	['Headings', 'js-heading-btn'],
	['Bold', 'js-bold-btn'],
	['Italics', 'js-italic-btn'],
	['Inline Code', 'js-code-btn'],
	['Strikethrough', 'js-strike-btn'],
	['Link', 'js-insert-link-btn'],
	['Blockquote', 'js-blockquote-btn'],
	['Codeblock', 'js-code-block-btn'],
	['Image', 'js-insert-image-btn'],
	['Numbered List', 'js-numbered-list-btn'],
	['Bulleted List', 'js-bullet-list-btn'],
	['hr', 'js-horizontal-rule-btn'],
	['disabled', 'is-disabled']
]);

export enum Modes {
	qna = 'qna',
	renewalAsessments = 'renewal-assessments',
	selfAssessments = 'self-assessments',
	docs = 'docs'
}

export const modeButtonsToDisable: ModeDisableButtons = {
	docs: '',
	'renewal-assessments': 'Headings,Link,Blockquote,Image,hr,Strikethrough,disabled,disabled',
	'self-assessments': '',
	qna: ''
};

export interface ModeDisableButtons extends IObjectKeys {
	docs: string;
	'renewal-assessments': string;
	'self-assessments': string;
	qna: string;
}

export interface IObjectKeys {
	[key: string]: any;
}
