| 123456789101112131415161718192021222324252627282930313233 |
- import Selectable from './utils/selectable';
- export interface IRessource {
- id: string;
- title?: string;
- children?: Array<IRessource>;
- collapseChildren?: boolean;
- parent?: IRessource;
- parentId?: String;
- height?: number;
- eventEditable?: boolean;
- eventRessourceEditable?: boolean;
- eventBgColor?: string;
- }
- export declare class Ressource implements IRessource, Selectable {
- id: string;
- title: string;
- children: Array<Ressource>;
- collapseChildren: boolean;
- parent?: Ressource;
- height?: number;
- eventEditable: boolean;
- eventRessourceEditable: boolean;
- eventBgColor?: string;
- selected: boolean;
- constructor(obj: IRessource);
- get parentId(): string;
- get depth(): number;
- get show(): boolean;
- childOf(potentialParent: IRessource): boolean;
- toPlainObject(parent: IRessource | undefined): IRessource;
- static toRessource(obj: IRessource): Ressource;
- }
- export default Ressource;
|