1 | import { interfaces, Container } from 'inversify';
|
2 | import { TreeWidget, TreeProps } from './tree-widget';
|
3 | import { TreeModel } from './tree-model';
|
4 | import { Tree } from './tree';
|
5 | import { TreeSelectionService } from './tree-selection';
|
6 | import { TreeExpansionService } from './tree-expansion';
|
7 | import { TreeNavigationService } from './tree-navigation';
|
8 | import { TreeDecoratorService } from './tree-decorator';
|
9 | import { TreeSearch } from './tree-search';
|
10 | import { FuzzySearch } from './fuzzy-search';
|
11 | import { SearchBoxFactory } from './search-box';
|
12 | import { TreeFocusService } from './tree-focus-service';
|
13 | export declare function isTreeServices(candidate?: Partial<TreeProps> | Partial<TreeContainerProps>): candidate is TreeContainerProps;
|
14 | export declare function createTreeContainer(parent: interfaces.Container, props?: Partial<TreeContainerProps>): Container;
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | export declare function createTreeContainer(parent: interfaces.Container, props?: Partial<TreeProps>): Container;
|
20 | export interface SearchBoxFactoryFactory {
|
21 | (context: interfaces.Context): SearchBoxFactory;
|
22 | }
|
23 | interface TreeConstants {
|
24 | searchBoxFactory: SearchBoxFactory;
|
25 | props: TreeProps;
|
26 | }
|
27 | interface TreeServices {
|
28 | tree: Tree;
|
29 | selectionService: TreeSelectionService;
|
30 | expansionService: TreeExpansionService;
|
31 | navigationService: TreeNavigationService;
|
32 | model: TreeModel;
|
33 | widget: TreeWidget;
|
34 | search: TreeSearch;
|
35 | fuzzy: FuzzySearch;
|
36 | decoratorService: TreeDecoratorService;
|
37 | focusService: TreeFocusService;
|
38 | }
|
39 | interface TreeTypes extends TreeServices, TreeConstants {
|
40 | }
|
41 | export declare type TreeIdentifiers = {
|
42 | [K in keyof TreeTypes]: interfaces.ServiceIdentifier<TreeTypes[K]>;
|
43 | };
|
44 | declare type TreeServiceProviders = {
|
45 | [K in keyof TreeServices]: interfaces.Newable<TreeServices[K]>;
|
46 | };
|
47 | export interface TreeContainerProps extends TreeServiceProviders {
|
48 | props: Partial<TreeProps>;
|
49 | searchBoxFactory: SearchBoxFactoryFactory;
|
50 | }
|
51 | export {};
|
52 |
|
\ | No newline at end of file |