rsanchez
2017-04-13 849f8f0acbe896cac7e531fee6895442382318cc
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import { CommonModule } from '@angular/common';
import { NgModule, TypeProvider } from '@angular/core';
import { HttpModule } from '@angular/http';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule }   from '@angular/forms';
import { MaterialModule } from '@angular/material';
import { CovalentCoreModule } from '@covalent/core';
import { CovalentHttpModule } from '@covalent/http';
import { CovalentDynamicFormsModule } from '@covalent/dynamic-forms'; 
import { LockerModule, DRIVERS } from 'angular-safeguard'; 
import { ToastModule } from 'ng2-toastr/ng2-toastr';
import { HomeComponent }  from './home.component';
import { MetadataManagerComponent }  from './forms/base';
import { FieldReadonlyComponent }  from './forms/base';
import { ErrorCheckerComponent } from './forms/base';
import { LocaleServiceModule, I18nDirective, LocaleService } from './common/i18n';
import { UserService }  from './user.service';
import { PacksService }  from './resources/packs';
import { LicenseTypesService }  from './resources/license_types';
import { OrganizationsService }  from './resources/organizations';
import { ApplicationsService }  from './resources/applications';
import { LicensesService }  from './resources/licenses';
import { UsersService }  from './resources/users';
import { MenuComponent }  from './menu.component';
import { NoMenuComponent }  from './nomenu.component';
import { FooterComponent }  from './footer.component';
import { LicenseListComponent } from './listing/license.list.component';
import { PackListComponent }  from './listing/pack.list.component';
import { ApplicationListComponent } from './listing/application.list.component';
import { LicenseTypeListComponent } from './listing/licensetype.list.component';
import { OrganizationListComponent } from './listing/organization.list.component';
import { UserListComponent } from './listing/user.list.component';
import { LoginFormComponent } from './forms/login.form.component';
import { LicenseFormComponent } from './forms/license.form.component';
import { ApplicationFormComponent } from './forms/application.form.component';
import { PackFormComponent } from "./forms/pack.form.component";
import { LicenseTypeFormComponent } from './forms/licensetype.form.component';
import { OrganizationFormComponent } from './forms/organization.form.component';
import { UserFormComponent } from './forms/user.form.component';
import { appRoutes, appRoutingProviders } from './app.routes';
import { requestOptionsProvider, requestBackendProvider } from './common/default.requests.options';
import { SeCurisSession } from './common/session';
@NgModule({
  imports: [
    LocaleServiceModule.withConfig('en'),
    LockerModule.withConfig({
            driverNamespace: 'securis',
            defaultDriverType: DRIVERS.LOCAL,
            namespaceSeparator: '-'
        }),
    BrowserModule,
    BrowserAnimationsModule,
    HttpModule,
    FormsModule,
    MaterialModule,
    CovalentCoreModule.forRoot(),
    CovalentHttpModule.forRoot(),
    CovalentDynamicFormsModule.forRoot(),
    ToastModule.forRoot(),
    appRoutes,
  ],
  declarations: [
    HomeComponent,
    ApplicationListComponent,
    ApplicationFormComponent,
    PackListComponent,
    PackFormComponent,
    LoginFormComponent,
    ErrorCheckerComponent,
    LicenseListComponent,
    LicenseTypeListComponent,
    OrganizationListComponent,
    UserListComponent,
    LicenseFormComponent,
    LicenseTypeFormComponent,
    OrganizationFormComponent,
    UserFormComponent,
    I18nDirective,
    MenuComponent,
    NoMenuComponent,
    FieldReadonlyComponent,
    FooterComponent,
    MetadataManagerComponent
  ],
  bootstrap: [ HomeComponent ],
  entryComponents: [  ],
  providers: [
    SeCurisSession, 
    UserService,
    PacksService,
    LicensesService,
    PackFormComponent,
    LicenseFormComponent,
    LicenseTypeFormComponent,
    OrganizationFormComponent,
    UserFormComponent,
    ApplicationsService,
    OrganizationsService,
    LicenseTypesService,
    UsersService,
    appRoutingProviders,
    requestOptionsProvider,
    requestBackendProvider
  ]
})
export class AppModule { }