blob: 25d170320ea853cc95327669710885e49df2c337 [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";
Ittay Sternf7926712019-07-07 19:23:03 +030037import {NetworkStepService} from "./service-planning/objectsToTree/models/vrf/vrfModal/networkStep/network.step.service";
38import {VpnStepService} from "./service-planning/objectsToTree/models/vrf/vrfModal/vpnStep/vpn.step.service";
Ittay Stern6f900cc2018-08-29 17:01:32 +030039
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030040
41@NgModule({
42 imports: [
Einat Vinouzee1f79742019-08-27 16:01:01 +030043 TreeModule.forRoot(),
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030044 BrowserModule,
45 ContextMenuModule,
Ittay Stern6f900cc2018-08-29 17:01:32 +030046 FormsModule,
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030047 TooltipModule,
48 CommonModule,
Ittay Stern6f900cc2018-08-29 17:01:32 +030049 SdcUiComponentsModule,
50 SharedModule.forRoot(),
51 FeatureFlagModule.forRoot()],
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030052 providers: [
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030053 AaiService,
Ittay Stern6f900cc2018-08-29 17:01:32 +030054 ObjectToTreeService,
55 AvailableModelsTreeService,
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030056 ContextMenuService,
Ittay Stern6f900cc2018-08-29 17:01:32 +030057 DuplicateService,
58 DrawingBoardTreeService,
59 DrawingBoardHeaderService,
60 DrawingBoardPermissions,
61 SafePipe,
62 ObjectToInstanceTreeService,
63 ObjectToModelTreeService,
64 DynamicInputsService,
65 InstanceTreeGenerator,
66 SharedTreeService,
67 SdcUiServices.ModalService,
68 SdcUiServices.LoaderService,
69 CreateDynamicComponentService,
70 ComponentInfoService,
Ittay Sternf7926712019-07-07 19:23:03 +030071 DragAndDropService,
72 NetworkStepService,
73 VpnStepService],
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030074 declarations: [
75 AvailableModelsTreeComponent,
76 HighlightPipe,
77 DrawingBoardTreeComponent,
78 DrawingBoardHeader,
79 ServicePlanningComponent,
Ittay Stern6f900cc2018-08-29 17:01:32 +030080 ServicePlanningEmptyComponent,
81 DuplicateVnfComponent,
82 TreeNodeHeaderPropertiesComponent,
83 SearchComponent,
84 ComponentInfoComponent],
85 entryComponents: [DuplicateVnfComponent],
86 exports: [AvailableModelsTreeComponent, DrawingBoardTreeComponent, DrawingBoardHeader, TreeNodeHeaderPropertiesComponent, SearchComponent]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030087})
88
Ittay Stern6f900cc2018-08-29 17:01:32 +030089export class DrawingBoardModule {
90}