dialogues.module.ts 1.39 KB
Newer Older
1 2 3
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
Lukas Burgey's avatar
Lukas Burgey committed
4 5

// imports
6 7
import { MaterialModule } from '../material/material.module';
import { SharedModule } from '../shared/shared.module';
Lukas Burgey's avatar
Lukas Burgey committed
8
import { SshkeysModule } from '../sshkeys/sshkeys.module';
Lukas Burgey's avatar
Lukas Burgey committed
9
import { PreferencesModule } from '../preferences/preferences.module';
Lukas Burgey's avatar
Lukas Burgey committed
10 11

// declarations
12 13 14 15 16
import { QuestionnaireComponent } from './questionnaire/questionnaire.component';
import { ProfileComponent } from './profile/profile.component';
import { AccountComponent } from './account/account.component';
import { CredentialsComponent } from './credentials/credentials.component';
import { MessageComponent } from './message/message.component';
Lukas Burgey's avatar
Lukas Burgey committed
17 18

//providers
19
import { DialogService } from './dialog.service';
Lukas Burgey's avatar
Lukas Burgey committed
20
import { ProfileDialogService } from './profile-dialog.service';
Lukas Burgey's avatar
Lukas Burgey committed
21

Lukas Burgey's avatar
Lukas Burgey committed
22

Lukas Burgey's avatar
Lukas Burgey committed
23 24 25 26 27 28
@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    MaterialModule,
    SharedModule,
Lukas Burgey's avatar
Lukas Burgey committed
29
    SshkeysModule,
Lukas Burgey's avatar
Lukas Burgey committed
30
    PreferencesModule,
Lukas Burgey's avatar
Lukas Burgey committed
31 32 33 34 35
  ],
  declarations: [
    QuestionnaireComponent,
    ProfileComponent,
    AccountComponent,
36
    CredentialsComponent,
Lukas Burgey's avatar
Lukas Burgey committed
37
    MessageComponent,
Lukas Burgey's avatar
Lukas Burgey committed
38 39 40 41 42
  ],
  entryComponents: [
    QuestionnaireComponent,
    ProfileComponent,
    AccountComponent,
43
    CredentialsComponent,
Lukas Burgey's avatar
Lukas Burgey committed
44
    MessageComponent,
Lukas Burgey's avatar
Lukas Burgey committed
45 46 47
  ],
  providers: [
    DialogService,
Lukas Burgey's avatar
Lukas Burgey committed
48
    ProfileDialogService,
Lukas Burgey's avatar
Lukas Burgey committed
49 50 51
  ],
})
export class DialoguesModule { }