blob: 6a3574f233f1818185938734cf24b11f2cedb392 [file] [log] [blame]
Ittay Stern6f900cc2018-08-29 17:01:32 +03001import {AvailableModelsTreeService} from './service-planning/available-models-tree/available-models-tree.service';
2import {HighlightPipe} from '../shared/pipes/highlight/highlight-filter.pipe';
3import {TreeModule} from 'angular-tree-component';
4import {BrowserModule} from '@angular/platform-browser';
5import {TooltipModule} from 'ngx-tooltip';
6import {AvailableModelsTreeComponent} from './service-planning/available-models-tree/available-models-tree.component';
7import {AaiService} from '../shared/services/aaiService/aai.service';
8import {DrawingBoardTreeComponent} from './service-planning/drawing-board-tree/drawing-board-tree.component';
9import {SharedModule} from '../shared/shared.module';
10import {ContextMenuModule, ContextMenuService} from 'ngx-contextmenu';
11import {CommonModule} from '@angular/common';
12import {DrawingBoardHeader} from './service-planning/drawing-board-header/drawing-board-header.component';
13import {ServicePlanningComponent, ServicePlanningEmptyComponent} from './service-planning/service-planning.component';
14import {DuplicateVnfComponent} from './service-planning/duplicate/duplicate-vnf.component';
15import {DuplicateService} from './service-planning/duplicate/duplicate.service';
16import {FormsModule} from '@angular/forms';
17import {DrawingBoardTreeService} from "./service-planning/drawing-board-tree/drawing-board-tree.service";
18import {DrawingBoardHeaderService} from "./service-planning/drawing-board-header/drawing-board-header.service";
19import {TreeNodeHeaderPropertiesComponent} from "./service-planning/drawing-board-tree/tree-node-header-properties/tree-node-header-properties.component";
20import {SafePipe} from "../shared/pipes/safe/safe.pipe";
21import {FeatureFlagModule} from "../featureFlag/featureFlag.module";
22import {DynamicInputsService} from "./service-planning/objectsToTree/dynamicInputs.service";
23import {InstanceTreeGenerator} from "./service-planning/drawing-board-tree/instance.tree.generator";
24import {SharedTreeService} from "./service-planning/objectsToTree/shared.tree.service";
25import {ObjectToModelTreeService} from "./service-planning/objectsToTree/objectToModelTree/objectToModelTree.service";
26import {ObjectToInstanceTreeService} from "./service-planning/objectsToTree/objectToInstanceTree/objectToInstanceTree.service";
27import {ObjectToTreeService} from "./service-planning/objectsToTree/objectToTree.service";
28import {SearchComponent} from "./service-planning/search/search.component";
29import {SdcUiComponentsModule} from "onap-ui-angular";
30import {DrawingBoardPermissions} from "./guards/servicePlanningGuard/drawingBoardGuard";
31import {NgModule} from '@angular/core';
32import {DragAndDropService} from "./service-planning/drawing-board-tree/dragAndDrop/dragAndDrop.service";
33import {SdcUiServices} from "onap-ui-angular/dist";
34import {CreateDynamicComponentService} from "onap-ui-angular/dist/utils/create-dynamic-component.service";
35import {ComponentInfoComponent} from './service-planning/component-info/component-info.component';
36import {ComponentInfoService} from "./service-planning/component-info/component-info.service";
37
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030038
39@NgModule({
40 imports: [
41 TreeModule,
42 BrowserModule,
43 ContextMenuModule,
Ittay Stern6f900cc2018-08-29 17:01:32 +030044 FormsModule,
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030045 TooltipModule,
46 CommonModule,
Ittay Stern6f900cc2018-08-29 17:01:32 +030047 SdcUiComponentsModule,
48 SharedModule.forRoot(),
49 FeatureFlagModule.forRoot()],
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030050 providers: [
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030051 AaiService,
Ittay Stern6f900cc2018-08-29 17:01:32 +030052 ObjectToTreeService,
53 AvailableModelsTreeService,
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030054 ContextMenuService,
Ittay Stern6f900cc2018-08-29 17:01:32 +030055 DuplicateService,
56 DrawingBoardTreeService,
57 DrawingBoardHeaderService,
58 DrawingBoardPermissions,
59 SafePipe,
60 ObjectToInstanceTreeService,
61 ObjectToModelTreeService,
62 DynamicInputsService,
63 InstanceTreeGenerator,
64 SharedTreeService,
65 SdcUiServices.ModalService,
66 SdcUiServices.LoaderService,
67 CreateDynamicComponentService,
68 ComponentInfoService,
69 DragAndDropService],
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030070 declarations: [
71 AvailableModelsTreeComponent,
72 HighlightPipe,
73 DrawingBoardTreeComponent,
74 DrawingBoardHeader,
75 ServicePlanningComponent,
Ittay Stern6f900cc2018-08-29 17:01:32 +030076 ServicePlanningEmptyComponent,
77 DuplicateVnfComponent,
78 TreeNodeHeaderPropertiesComponent,
79 SearchComponent,
80 ComponentInfoComponent],
81 entryComponents: [DuplicateVnfComponent],
82 exports: [AvailableModelsTreeComponent, DrawingBoardTreeComponent, DrawingBoardHeader, TreeNodeHeaderPropertiesComponent, SearchComponent]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030083})
84
Ittay Stern6f900cc2018-08-29 17:01:32 +030085export class DrawingBoardModule {
86}