1 | import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
2 | import { TreeService } from './tree.service';
|
3 | import * as TreeTypes from './tree.types';
|
4 | import { NodeCheckedEvent, NodeUncheckedEvent } from './tree.events';
|
5 | import { Tree } from './tree';
|
6 | import { TreeController } from './tree-controller';
|
7 | import * as i0 from "@angular/core";
|
8 | export declare class TreeComponent implements OnInit, OnChanges, OnDestroy {
|
9 | private treeService;
|
10 | private static EMPTY_TREE;
|
11 | treeModel: TreeTypes.TreeModel;
|
12 | settings: TreeTypes.Ng2TreeSettings;
|
13 | nodeCreated: EventEmitter<any>;
|
14 | nodeRemoved: EventEmitter<any>;
|
15 | nodeRenamed: EventEmitter<any>;
|
16 | nodeSelected: EventEmitter<any>;
|
17 | nodeUnselected: EventEmitter<any>;
|
18 | nodeMoved: EventEmitter<any>;
|
19 | nodeExpanded: EventEmitter<any>;
|
20 | nodeCollapsed: EventEmitter<any>;
|
21 | loadNextLevel: EventEmitter<any>;
|
22 | nodeChecked: EventEmitter<NodeCheckedEvent>;
|
23 | nodeUnchecked: EventEmitter<NodeUncheckedEvent>;
|
24 | menuItemSelected: EventEmitter<any>;
|
25 | tree: Tree;
|
26 | rootComponent: any;
|
27 | template: any;
|
28 | private subscriptions;
|
29 | constructor(treeService: TreeService);
|
30 | ngOnChanges(changes: SimpleChanges): void;
|
31 | ngOnInit(): void;
|
32 | getController(): TreeController;
|
33 | getControllerByNodeId(id: number | string): TreeController;
|
34 | ngOnDestroy(): void;
|
35 | static ɵfac: i0.ɵɵFactoryDeclaration<TreeComponent, never>;
|
36 | static ɵcmp: i0.ɵɵComponentDeclaration<TreeComponent, "tree", never, { "treeModel": { "alias": "tree"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; }, { "nodeCreated": "nodeCreated"; "nodeRemoved": "nodeRemoved"; "nodeRenamed": "nodeRenamed"; "nodeSelected": "nodeSelected"; "nodeUnselected": "nodeUnselected"; "nodeMoved": "nodeMoved"; "nodeExpanded": "nodeExpanded"; "nodeCollapsed": "nodeCollapsed"; "loadNextLevel": "loadNextLevel"; "nodeChecked": "nodeChecked"; "nodeUnchecked": "nodeUnchecked"; "menuItemSelected": "menuItemSelected"; }, ["template"], never, false, never>;
|
37 | }
|