UNPKG

@docsvision/webclient

Version:

Type definitions for DocsVision WebClient scripts and extensions.

44 lines (43 loc) 1.57 kB
/// <reference types="react" /> import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models"; import { LoadingState } from "@docsvision/webclient/System/LoadingState"; export interface IDepartmentTreeNodeData { childrenLoaded: boolean; displayName: React.ReactNode; uniqueId: string; parentUniqueId?: string; iconClass: string; level: number; visible: boolean; children: IDepartmentTreeNodeData[]; nodeClass?: string; disabled?: boolean; title?: string; loading?: LoadingState; } /** @internal */ export declare class DepartmentTreeNodeData implements IDepartmentTreeNodeData { private mData; private mChildren; private mName; private mExpanded; level: number; visible: boolean; parentUniqueId: string; loading: LoadingState; static Create(data: GenModels.DepartmentTreeNode, enabledItemTypes: GenModels.SearchDepartmentType): DepartmentTreeNodeData; static CreateMany(dataArray: GenModels.DepartmentTreeNode[], enabledItemTypes: GenModels.SearchDepartmentType): DepartmentTreeNodeData[]; disabled: boolean; get data(): GenModels.DepartmentTreeNode; get displayName(): React.ReactNode; set displayName(val: React.ReactNode); get uniqueId(): string; get title(): string; get iconClass(): string; get children(): DepartmentTreeNodeData[]; set children(values: DepartmentTreeNodeData[]); get expanded(): boolean; set expanded(value: boolean); get childrenLoaded(): boolean; set childrenLoaded(val: boolean); }