import Base from 'santd/base'; export interface GroupOption { label: string; value: string; disabled?: boolean; checked?: boolean; } export type ValueType = string | number | boolean; export type OptionItem = GroupOption | string | number; export interface GroupProps { value?: Array; defaultValue?: Array; disabled?: boolean; options?: Array; name?: string; } export interface GroupState extends Required> { } export interface GroupComputed { checkboxs: () => GroupOption[]; } export interface CheckboxProps { checked?: boolean; disabled?: boolean; indeterminate?: boolean; value?: ValueType; } export interface CheckboxState { type: 'checkbox'; defaultChecked: boolean; indeterminate: boolean; } export interface CheckboxComputed { classes: () => string[]; inputWrapClasses: () => string[]; } export interface CheckboxChangeEvent { target: CheckboxProps & { checked: boolean; }; stopPropagation: () => void; preventDefault: () => void; nativeEvent: MouseEvent; } export type Checkbox = Base;