armisa-models
Version:
models of armisa!
29 lines (28 loc) • 1.14 kB
TypeScript
/// <reference types="react" />
import { BaseSelfControl } from './BaseSelfControl';
import { IControlSimulateKey } from './../Page/Events';
export type ISelfCheckTree = 0 | 1 | 2 | 3 | 4;
export interface INewProperties {
propertyName: string;
onChangePropertyName: string | undefined;
controlRef: React.RefObject<HTMLInputElement>;
caption: string;
showHasChangeFlag: boolean;
onErrorSimulateKey?: IControlSimulateKey;
}
export declare class SelfCheckTree extends BaseSelfControl<ISelfCheckTree, ISelfCheckTree, ISelfCheckTree, HTMLDivElement> {
#private;
isValueEmpty: () => boolean;
isValueNotEmpty: () => boolean;
validate: () => void;
cleaningClassInitializer: () => void;
refreshHasChange: () => void;
restartDefaultValue: () => void;
get value(): ISelfCheckTree;
set value(value: ISelfCheckTree);
setValue: (value: ISelfCheckTree) => void;
deserialize: (value: ISelfCheckTree) => void;
constructor(value: ISelfCheckTree);
static empty(): SelfCheckTree;
static deserialize(value: ISelfCheckTree | null): SelfCheckTree;
}