import type { SelectChangeEvent } from '@mui/material/Select';
import type { ChangeEvent } from 'react';

export interface AddCompany {
	container: string;
	title: string;
	id: string;
	selectContainer: string;
	selectBox: string;
	submitButton: string;
	saveButtonIcon: string;
	formGroup: string;
	inputContainerClassName: string;
	cancelButton: string;
	switchToList: (event: boolean) => void;
	companyName: string;
	companyNameHandler: (event: ChangeEvent<HTMLInputElement>) => void;
	industryHandler: (event: SelectChangeEvent<string>) => void;
	industryValue: string;
	industryTypeValue: string;
	currencyValue: string;
	industryId: number;
	companyId: string;
	saveCancelButtons: string;
	companyRegNumberHandler: (event: number) => void;
	subscriberHandler: (event: string) => void;
}

export interface SelectValueHelper {
	industry: { value: string; label: string; id: number | null }[];
	industryType: { value: string; label: string }[];
	currency: { value: string; label: string }[];
}

const companyDropdownPredefinedValues: SelectValueHelper = {
	industry: [
		{
			value: 'null',
			label: 'Select Industry',
			id: null
		},
		{
			value: 'Manufacturing',
			label: 'Manufacturing',
			id: 0
		},
		{
			value: 'Construction & Engineering',
			label: 'Construction & Engineering',
			id: 1
		},
		{
			value: 'Construction Goods & Services',
			label: 'Construction Goods & Services',
			id: 2
		},
		{
			value: 'Wholesale & Distribution',
			label: 'Wholesale & Distribution',
			id: 3
		},
		{
			value: 'Business Services',
			label: 'Business Services',
			id: 4
		},
		{
			value: 'Basic Materials & Energy',
			label: 'Basic Materials & Energy',
			id: 5
		},
		{
			value: 'Healthcare & Biotech',
			label: 'Healthcare & Biotech',
			id: 6
		},
		{
			value: 'IT',
			label: 'IT',
			id: 7
		},
		{
			value: 'Financial Services',
			label: 'Financial Services',
			id: 8
		},
		{
			value: 'Media & Entertainment',
			label: 'Media & Entertainment',
			id: 9
		}
	],
	industryType: [
		{
			value: 'Services',
			label: 'Services'
		},
		{
			value: 'All Other',
			label: 'All Other'
		}
	],
	currency: [
		{
			value: 'GBP',
			label: '£'
		},
		{
			value: 'USD',
			label: '$'
		},
		{
			value: 'EUR',
			label: '€'
		},
		{
			value: 'JPY',
			label: '¥'
		}
	]
};
export default companyDropdownPredefinedValues;
