aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/composition/composition-page.module.ts
blob: 18524a05be926fde3131883b94cfa7c6fb92f4e8 (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
/**
 * Created by ob0695 on 6/4/2018.
 */
import {NgModule} from "@angular/core";
import {CommonModule} from "@angular/common";
import {CompositionGraphModule} from "./graph/composition-graph.module";
import {CompositionPageComponent} from "./composition-page.component";
import {NgxsModule} from "@ngxs/store";
import {PaletteModule} from "./palette/palette.module";
import { CompositionPanelModule } from "app/ng2/pages/composition/panel/composition-panel.module";
import {CompositionService} from "./composition.service";
import {DndModule} from "ngx-drag-drop";
import {GraphState} from "./common/store/graph.state";

@NgModule({
    declarations: [CompositionPageComponent],
    imports: [CommonModule,
        CompositionGraphModule,
        CompositionPanelModule,
        PaletteModule,
        DndModule,
        NgxsModule.forFeature([
            GraphState])],
    exports: [CompositionPageComponent],
    entryComponents: [CompositionPageComponent],
    providers: [CompositionService]
})
export class CompositionPageModule {
}