blob: 7e59f1741bdf1df75a7f5bfe5552a8cb9df8ee5c [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";
Yoav Schneiderman4ef3ee72020-01-08 14:46:14 +020039import {ModalModule} from "onap-ui-angular/dist/modals/modal.module";
40import {ModalService} from "../shared/components/customModal/services/modal.service";
Ittay Stern6f900cc2018-08-29 17:01:32 +030041
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030042
43@NgModule({
44 imports: [
Einat Vinouzee1f79742019-08-27 16:01:01 +030045 TreeModule.forRoot(),
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030046 BrowserModule,
47 ContextMenuModule,
Ittay Stern6f900cc2018-08-29 17:01:32 +030048 FormsModule,
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030049 TooltipModule,
50 CommonModule,
Ittay Stern6f900cc2018-08-29 17:01:32 +030051 SdcUiComponentsModule,
52 SharedModule.forRoot(),
Yoav Schneiderman4ef3ee72020-01-08 14:46:14 +020053 FeatureFlagModule.forRoot(),
54 ModalModule],
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030055 providers: [
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030056 AaiService,
Ittay Stern6f900cc2018-08-29 17:01:32 +030057 ObjectToTreeService,
58 AvailableModelsTreeService,
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030059 ContextMenuService,
Ittay Stern6f900cc2018-08-29 17:01:32 +030060 DuplicateService,
61 DrawingBoardTreeService,
62 DrawingBoardHeaderService,
63 DrawingBoardPermissions,
64 SafePipe,
65 ObjectToInstanceTreeService,
66 ObjectToModelTreeService,
67 DynamicInputsService,
68 InstanceTreeGenerator,
69 SharedTreeService,
Yoav Schneiderman4ef3ee72020-01-08 14:46:14 +020070 ModalService,
Ittay Stern6f900cc2018-08-29 17:01:32 +030071 SdcUiServices.LoaderService,
72 CreateDynamicComponentService,
73 ComponentInfoService,
Ittay Sternf7926712019-07-07 19:23:03 +030074 DragAndDropService,
75 NetworkStepService,
76 VpnStepService],
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030077 declarations: [
78 AvailableModelsTreeComponent,
79 HighlightPipe,
80 DrawingBoardTreeComponent,
81 DrawingBoardHeader,
82 ServicePlanningComponent,
Ittay Stern6f900cc2018-08-29 17:01:32 +030083 ServicePlanningEmptyComponent,
84 DuplicateVnfComponent,
85 TreeNodeHeaderPropertiesComponent,
86 SearchComponent,
87 ComponentInfoComponent],
88 entryComponents: [DuplicateVnfComponent],
Yoav Schneiderman4ef3ee72020-01-08 14:46:14 +020089 exports: [AvailableModelsTreeComponent, DrawingBoardTreeComponent, DrawingBoardHeader, TreeNodeHeaderPropertiesComponent, SearchComponent, DuplicateVnfComponent]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030090})
91
Ittay Stern6f900cc2018-08-29 17:01:32 +030092export class DrawingBoardModule {
93}