summaryrefslogtreecommitdiffstats
path: root/src/angular/modals/modal.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/angular/modals/modal.module.ts')
-rw-r--r--src/angular/modals/modal.module.ts33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/angular/modals/modal.module.ts b/src/angular/modals/modal.module.ts
new file mode 100644
index 0000000..5697437
--- /dev/null
+++ b/src/angular/modals/modal.module.ts
@@ -0,0 +1,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 {
+
+}