You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.7 KiB
70 lines
1.7 KiB
import { SuperComponent, RelationsOptions } from '../common/src/index';
|
|
export default class CheckBoxGroup extends SuperComponent {
|
|
externalClasses: string[];
|
|
relations: RelationsOptions;
|
|
data: {
|
|
prefix: string;
|
|
classPrefix: string;
|
|
checkboxOptions: any[];
|
|
};
|
|
properties: {
|
|
borderless: {
|
|
type: BooleanConstructor;
|
|
value: boolean;
|
|
};
|
|
style?: {
|
|
type: StringConstructor;
|
|
value?: string;
|
|
};
|
|
disabled?: {
|
|
type: BooleanConstructor;
|
|
value?: boolean;
|
|
};
|
|
max?: {
|
|
type: NumberConstructor;
|
|
value?: number;
|
|
};
|
|
name?: {
|
|
type: StringConstructor;
|
|
value?: string;
|
|
};
|
|
options?: {
|
|
type: ArrayConstructor;
|
|
value?: import("./type").CheckboxOption[];
|
|
};
|
|
value?: {
|
|
type: ArrayConstructor;
|
|
value?: import("./type").CheckboxGroupValue;
|
|
};
|
|
defaultValue?: {
|
|
type: ArrayConstructor;
|
|
value?: import("./type").CheckboxGroupValue;
|
|
};
|
|
};
|
|
observers: {
|
|
value(): void;
|
|
};
|
|
lifetimes: {
|
|
attached(): void;
|
|
ready(): void;
|
|
};
|
|
controlledProps: {
|
|
key: string;
|
|
event: string;
|
|
}[];
|
|
$checkAll: any;
|
|
methods: {
|
|
getChilds(): any;
|
|
updateChildren(): void;
|
|
updateValue({ value, checked, checkAll, indeterminate }: {
|
|
value: any;
|
|
checked: any;
|
|
checkAll: any;
|
|
indeterminate: any;
|
|
}): void;
|
|
initWithOptions(): void;
|
|
handleInnerChildChange(e: any): void;
|
|
setCheckall(): void;
|
|
};
|
|
}
|