import { paramsInterfaceValidKey } from '../../../script/index' export interface ColorPickerInterface { showAlpha?: boolean colorFormat?: string popperClass?: string predefine?: string[] model: string disabled?: Function size?: string deepData?: number methods?: Function } export class ColorPickerConfig implements ColorPickerInterface { model = '' showAlpha = false colorFormat = '' popperClass = '' predefine: string[] = [] size = '' deepData: number | undefined = undefined methods = (): void => {} disabled = (): boolean => false constructor (params: ColorPickerInterface) { paramsInterfaceValidKey(this, params) } }