2018-04-10 18:06:13 +02:00
|
|
|
import { CreateUserComponent } from './pages/create-user/create-user.component';
|
2018-04-10 17:17:20 +02:00
|
|
|
import { EditUserComponent } from './pages/edit-user/edit-user.component';
|
|
|
|
import { UsersOperation } from './operations/users.operations';
|
|
|
|
import { AdminGuard } from './services/admin-guard.service';
|
2018-04-10 16:16:11 +02:00
|
|
|
import { CreateAuthComponent } from './pages/create-auth/create-auth.component';
|
2018-04-09 17:25:54 +02:00
|
|
|
import { StopPropagateClickDirective } from './utils/stop-propagate-click.directive';
|
2018-04-09 11:16:06 +02:00
|
|
|
import { PagesizeComponent } from './partials/pagesize/pagesize.component';
|
|
|
|
import { PagingComponent } from './partials/paging/paging.component';
|
|
|
|
import { DomainsOperation } from './operations/domains.operations';
|
2018-04-08 16:48:56 +02:00
|
|
|
import { PasswordOperation } from './operations/password.operations';
|
2018-04-08 14:30:00 +02:00
|
|
|
import { AuthGuard } from './services/auth-guard.service';
|
2018-04-09 17:25:54 +02:00
|
|
|
import { FocusDirective } from './utils/focus.directive';
|
2018-04-08 13:02:00 +02:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { AlertComponent } from './partials/alert/alert.component';
|
|
|
|
import { AlertMessageComponent } from './partials/alert-message/alert-message.component';
|
|
|
|
import { FaIconComponent } from './partials/fa-icon/fa-icon.component';
|
|
|
|
import { NavbarComponent } from './partials/navbar/navbar.component';
|
|
|
|
import { NavbarEntryComponent } from './partials/navbar-entry/navbar-entry.component';
|
|
|
|
import { SortComponent } from './partials/sort/sort.component';
|
|
|
|
import { ModalContainerComponent } from './partials/modal-container/modal-container.component';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { ModalService } from './services/modal.service';
|
|
|
|
import { LoginComponent } from './pages/login/login.component';
|
|
|
|
import { StateService } from './services/state.service';
|
|
|
|
import { HttpService } from './services/http.service';
|
|
|
|
import { SessionOperation } from './operations/session.operation';
|
|
|
|
import { DomainsComponent } from './pages/domains/domains.component';
|
2018-04-08 16:48:56 +02:00
|
|
|
import { PasswordComponent } from './pages/password/password.component';
|
2018-04-09 11:16:06 +02:00
|
|
|
import { EditSlaveComponent } from './pages/edit-slave/edit-slave.component';
|
2018-04-09 13:30:04 +02:00
|
|
|
import { EditAuthComponent } from './pages/edit-auth/edit-auth.component';
|
2018-04-09 14:57:35 +02:00
|
|
|
import { SelectComponent } from './partials/select/select.component';
|
2018-04-09 22:32:23 +02:00
|
|
|
import { CreateSlaveComponent } from './pages/create-slave/create-slave.component';
|
2018-04-10 17:17:20 +02:00
|
|
|
import { UsersComponent } from './pages/users/users.component';
|
2018-04-08 13:02:00 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
AlertComponent,
|
|
|
|
AlertMessageComponent,
|
|
|
|
FaIconComponent,
|
|
|
|
NavbarComponent,
|
|
|
|
NavbarEntryComponent,
|
|
|
|
SortComponent,
|
|
|
|
ModalContainerComponent,
|
|
|
|
LoginComponent,
|
2018-04-08 14:30:00 +02:00
|
|
|
DomainsComponent,
|
2018-04-08 16:48:56 +02:00
|
|
|
FocusDirective,
|
2018-04-09 11:16:06 +02:00
|
|
|
PasswordComponent,
|
|
|
|
PagingComponent,
|
|
|
|
PagesizeComponent,
|
2018-04-09 13:30:04 +02:00
|
|
|
EditSlaveComponent,
|
2018-04-09 14:57:35 +02:00
|
|
|
EditAuthComponent,
|
2018-04-09 17:25:54 +02:00
|
|
|
SelectComponent,
|
2018-04-09 22:32:23 +02:00
|
|
|
StopPropagateClickDirective,
|
2018-04-10 16:16:11 +02:00
|
|
|
CreateSlaveComponent,
|
2018-04-10 17:17:20 +02:00
|
|
|
CreateAuthComponent,
|
|
|
|
UsersComponent,
|
2018-04-10 18:06:13 +02:00
|
|
|
EditUserComponent,
|
|
|
|
CreateUserComponent
|
2018-04-08 13:02:00 +02:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
ReactiveFormsModule
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
ModalService,
|
|
|
|
StateService,
|
|
|
|
HttpService,
|
2018-04-08 14:30:00 +02:00
|
|
|
SessionOperation,
|
2018-04-08 16:48:56 +02:00
|
|
|
PasswordOperation,
|
2018-04-09 11:16:06 +02:00
|
|
|
DomainsOperation,
|
2018-04-10 17:17:20 +02:00
|
|
|
UsersOperation,
|
|
|
|
AuthGuard,
|
|
|
|
AdminGuard
|
2018-04-08 13:02:00 +02:00
|
|
|
],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|