import { IBaseForm } from '../baseForm' import { paramsInterfaceValidKey } from '../../../script' export interface TimePickerInterface extends IBaseForm { startPlaceholder?: string endPlaceholder?: string popperClass?: string format?: Function valueFormat?: Function initMethods?: boolean focusMethod?: Function } export class TimePickerConfig implements TimePickerInterface { startPlaceholder = 'startTime' endPlaceholder = 'endTime' type = 'infoTimePicker' label = '' model = 'time' popperClass = '' initMethods = false size = '' methods = (): void => {} disabled = (): boolean => false focusMethod = (): void => {} valueFormat = (): string => 'HH:mm:ss' format = (): string => 'HH:mm:ss' // eslint-disable-next-line @typescript-eslint/member-ordering constructor (params: TimePickerInterface) { paramsInterfaceValidKey(this, params) } }