UNPKG

@rdkmaster/jigsaw-labs

Version:

Jigsaw, the next generation component set for RDK

130 lines (129 loc) 3.54 kB
export declare class ZTreeSettingAsync { enable?: boolean; contentType?: string; type?: string; dataType?: string; url?: string | Function; autoParam?: string[] | object; otherParam?: string[] | object; dataFilter?: Function; } export declare enum ZTreeSettingViewSpeedLevel { slow = 0, normal = 1, fast = 2, } export declare class ZTreeSettingView { addDiyDom?: Function; autoCancelSelected?: boolean; dblClickExpand?: boolean; expandSpeed?: ZTreeSettingViewSpeedLevel; fontCss?: object; nameIsHTML?: boolean; selectedMulti?: boolean; showIcon?: boolean; showLine?: boolean; showTitle?: boolean; txtSelectedEnable?: boolean; } export declare class ZTreeSettingDataKey { children?: string; name?: string; title?: string; url?: string; icon?: string; } export declare class ZTreeSettingDataKeep { parent?: boolean; leaf?: boolean; } export declare class ZTreeSettingDataSimpleData { enable?: boolean; idKey?: string; pIdKey?: string; rootPId?: string | number; } export declare class ZTreeSettingData { key?: ZTreeSettingDataKey; simpleData?: ZTreeSettingDataSimpleData; keep?: ZTreeSettingDataKeep; } export declare enum ZTreeSettingCheckRadioType { level = 0, all = 1, } export declare class ZTreeSettingCheck { autoCheckTrigger?: boolean; chkboxType?: { "Y"?: string; "N"?: string; }; chkStyle?: "checkbox" | "radio"; enable?: boolean; nocheckInherit?: boolean; chkDisabledInherit?: boolean; radioType?: ZTreeSettingCheckRadioType; } export declare class ZTreeSettingCallback { beforeAsync?: Function; beforeCheck?: Function; beforeClick?: Function; beforeCollapse?: Function; beforeDblClick?: Function; beforeDrag?: Function; beforeDragOpen?: Function; beforeDrop?: Function; beforeEditName?: Function; beforeExpand?: Function; beforeMouseDown?: Function; beforeMouseUp?: Function; beforeRemove?: Function; beforeRename?: Function; beforeRightClick?: Function; onAsyncError?: Function; onAsyncSuccess?: Function; onCheck?: Function; onClick?: Function; onCollapse?: Function; onDblClick?: Function; onDrag?: Function; onDragMove?: Function; onDrop?: Function; onExpand?: Function; onMouseDown?: Function; onMouseUp?: Function; onNodeCreated?: Function; onRemove?: Function; onRename?: Function; onRightClick?: Function; } export declare class ZTreeSettingEditDrag { autoExpandTrigger?: boolean; isCopy?: boolean; isMove?: boolean; prev?: boolean | Function; next?: boolean | Function; inner?: boolean | Function; borderMax?: number; borderMin?: number; minMoveSize?: number; maxShowNodeNum?: number; autoOpenTime?: number; } export declare class ZTreeSettingEdit { drag?: ZTreeSettingEditDrag; editNameSelectAll?: boolean; enable?: boolean; removeTitle?: string | Function; renameTitle?: string | Function; showRemoveBtn?: boolean | Function; showRenameBtn?: boolean | Function; } export declare class ZTreeSettingSetting { async?: ZTreeSettingAsync; callback?: ZTreeSettingCallback; check?: ZTreeSettingCheck; data?: ZTreeSettingData; edit?: ZTreeSettingEdit; view?: ZTreeSettingView; }