import { RadioDirection } from '../component/radio/radio-direction.constant'; export class Defaults { // Common between components static DISPLAY_KEY: string = 'label'; static VALUE_KEY: string = 'value'; static REQUIRED: boolean = false; // Error Messages static REQUIRED_ERROR_MESSAGE = 'This is a required field.'; static AT_LEAST_ONE_ERROR_MESSAGE = 'Please select at least one option'; static MISSING_FORM_CONTROL_ERROR_MESSAGE = 'Please provide Form Control'; static MISSING_FORM_ARRAY_ERROR_MESSAGE = 'Please provide Form Array'; static MISSING_FORM_GROUP_ERROR_MESSAGE = 'Please provide Form Group'; static MISSING_DATA_SOURCE_ERROR_MESSAGE = 'Please provide Data Source'; static MISSING_OPTIONS_ERROR_MESSAGE = 'Please provide Options'; static REQUIRED_PERSON_SEARCH_ERROR_MESSAGE = 'This is a required field. Please select employee from the search results.'; static FIX_FORM_ERROR_MESSAGE = 'Please correct the above error(s) before submission.'; static CONFIRMATION_MESSAGE_ON_DELETION = 'Are you sure you want to delete? Changes will be permanent. ' + 'If you do not want to delete, select Cancel. Or, select OK to Delete.'; static CONFIRMATION_MESSAGE_ON_EDIT = 'Are you sure you want to update? ' + 'If you do not want to save, select Cancel. Or, select Save to update.'; static EMPTY_RESPONSE_MSG = 'No Data'; static REQUIRED_PERSON_SEARCH_ERROR_MESSAGE_NOT_SELECTED_FROM_DROPDOWN = 'Please select employee from the search results.'; static MINIMUM_RECORDS_REQUIRED = 'Please add at least one record.'; // Radio component static RADIO_DIRECTION: RadioDirection = RadioDirection.COLUMN; // Input Box component static INPUT_TYPE: string = 'text'; // Iterable component static ITERABLE_KEY: string = 'items'; static VALID: string = 'VALID'; static ROWS: number = 5; static COLUMNS: number = 100; static PLACEHOLDER: string = ''; static TEXTAREA_MAX_LENGTH: number = 500; static MIN_LENGTH: number = 1; static DATASOURCE_DISPLAY_KEY: string = 'name'; static THEME: string = 'primary'; static INPUT_BOX_MAXLENGTH: number = 50; static TEXT_ALIGN = 'left'; static MD_ARROW_DOWN = 'keyboard_arrow_down'; static MD_ARROW_UP = 'keyboard_arrow_up'; static COMBO_PLACEHOLDER: string = 'Type or search'; static OTHER: string = 'Other'; static PERSON_SEARCH_PLACEHOLDER: string = 'Search by Name'; };