aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/modals/modal.module.ts
blob: 5697437c0c4128442ac598f1ea04c0c86ef25584 (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
import { NgModule } from "@angular/core";
import { ModalComponent } from "./modal.component";
import { ModalService } from "./modal.service";
import { CommonModule, LowerCasePipe } from "@angular/common";
import { ButtonsModule } from "../buttons/buttons.module";
import { AnimationDirectivesModule } from "../animations/animation-directives.module";
import { CreateDynamicComponentService } from "../utils/create-dynamic-component.service";
import { ModalButtonComponent } from "./modal-button.component";
import { ModalCloseButtonComponent } from "./modal-close-button.component";
import { SvgIconModule } from "../svg-icon/svg-icon.module";

@NgModule({
    declarations: [
        ModalComponent,
        ModalButtonComponent,
        ModalCloseButtonComponent
    ],
    imports: [
        CommonModule,
        ButtonsModule,
        AnimationDirectivesModule,
        SvgIconModule
    ],
    entryComponents: [
        ModalComponent,
        ModalCloseButtonComponent
    ],
    exports: [ModalButtonComponent],
    providers: [CreateDynamicComponentService, ModalService, LowerCasePipe]
})
export class ModalModule {

}