summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/drawingBoard/drawingBoard.module.ts
blob: 6a3574f233f1818185938734cf24b11f2cedb392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import {AvailableModelsTreeService} from './service-planning/available-models-tree/available-models-tree.service';
import {HighlightPipe} from '../shared/pipes/highlight/highlight-filter.pipe';
import {TreeModule} from 'angular-tree-component';
import {BrowserModule} from '@angular/platform-browser';
import {TooltipModule} from 'ngx-tooltip';
import {AvailableModelsTreeComponent} from './service-planning/available-models-tree/available-models-tree.component';
import {AaiService} from '../shared/services/aaiService/aai.service';
import {DrawingBoardTreeComponent} from './service-planning/drawing-board-tree/drawing-board-tree.component';
import {SharedModule} from '../shared/shared.module';
import {ContextMenuModule, ContextMenuService} from 'ngx-contextmenu';
import {CommonModule} from '@angular/common';
import {DrawingBoardHeader} from './service-planning/drawing-board-header/drawing-board-header.component';
import {ServicePlanningComponent, ServicePlanningEmptyComponent} from './service-planning/service-planning.component';
import {DuplicateVnfComponent} from './service-planning/duplicate/duplicate-vnf.component';
import {DuplicateService} from './service-planning/duplicate/duplicate.service';
import {FormsModule} from '@angular/forms';
import {DrawingBoardTreeService} from "./service-planning/drawing-board-tree/drawing-board-tree.service";
import {DrawingBoardHeaderService} from "./service-planning/drawing-board-header/drawing-board-header.service";
import {TreeNodeHeaderPropertiesComponent} from "./service-planning/drawing-board-tree/tree-node-header-properties/tree-node-header-properties.component";
import {SafePipe} from "../shared/pipes/safe/safe.pipe";
import {FeatureFlagModule} from "../featureFlag/featureFlag.module";
import {DynamicInputsService} from "./service-planning/objectsToTree/dynamicInputs.service";
import {InstanceTreeGenerator} from "./service-planning/drawing-board-tree/instance.tree.generator";
import {SharedTreeService} from "./service-planning/objectsToTree/shared.tree.service";
import {ObjectToModelTreeService} from "./service-planning/objectsToTree/objectToModelTree/objectToModelTree.service";
import {ObjectToInstanceTreeService} from "./service-planning/objectsToTree/objectToInstanceTree/objectToInstanceTree.service";
import {ObjectToTreeService} from "./service-planning/objectsToTree/objectToTree.service";
import {SearchComponent} from "./service-planning/search/search.component";
import {SdcUiComponentsModule} from "onap-ui-angular";
import {DrawingBoardPermissions} from "./guards/servicePlanningGuard/drawingBoardGuard";
import {NgModule} from '@angular/core';
import {DragAndDropService} from "./service-planning/drawing-board-tree/dragAndDrop/dragAndDrop.service";
import {SdcUiServices} from "onap-ui-angular/dist";
import {CreateDynamicComponentService} from "onap-ui-angular/dist/utils/create-dynamic-component.service";
import {ComponentInfoComponent} from './service-planning/component-info/component-info.component';
import {ComponentInfoService} from "./service-planning/component-info/component-info.service";


@NgModule({
  imports: [
    TreeModule,
    BrowserModule,
    ContextMenuModule,
    FormsModule,
    TooltipModule,
    CommonModule,
    SdcUiComponentsModule,
    SharedModule.forRoot(),
    FeatureFlagModule.forRoot()],
  providers: [
    AaiService,
    ObjectToTreeService,
    AvailableModelsTreeService,
    ContextMenuService,
    DuplicateService,
    DrawingBoardTreeService,
    DrawingBoardHeaderService,
    DrawingBoardPermissions,
    SafePipe,
    ObjectToInstanceTreeService,
    ObjectToModelTreeService,
    DynamicInputsService,
    InstanceTreeGenerator,
    SharedTreeService,
    SdcUiServices.ModalService,
    SdcUiServices.LoaderService,
    CreateDynamicComponentService,
    ComponentInfoService,
    DragAndDropService],
  declarations: [
    AvailableModelsTreeComponent,
    HighlightPipe,
    DrawingBoardTreeComponent,
    DrawingBoardHeader,
    ServicePlanningComponent,
    ServicePlanningEmptyComponent,
    DuplicateVnfComponent,
    TreeNodeHeaderPropertiesComponent,
    SearchComponent,
    ComponentInfoComponent],
  entryComponents: [DuplicateVnfComponent],
  exports: [AvailableModelsTreeComponent, DrawingBoardTreeComponent, DrawingBoardHeader, TreeNodeHeaderPropertiesComponent, SearchComponent]
})

export class DrawingBoardModule {
}