2018-01-23 05:37:36 +01:00
|
|
|
import 'core-js';
|
2018-01-16 20:48:34 +01:00
|
|
|
import 'zone.js/dist/zone';
|
|
|
|
|
2018-01-26 16:50:06 +01:00
|
|
|
import { Angulartics2Module } from 'angulartics2';
|
|
|
|
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
|
2018-01-16 21:58:17 +01:00
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
2018-01-26 20:12:41 +01:00
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
2018-01-23 22:58:32 +01:00
|
|
|
import { FormsModule } from '@angular/forms';
|
2018-01-16 21:58:17 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
2018-01-23 05:37:36 +01:00
|
|
|
import { ServicesModule } from './services/services.module';
|
2018-01-26 20:12:41 +01:00
|
|
|
import { ToasterModule } from 'angular2-toaster';
|
2018-01-16 21:58:17 +01:00
|
|
|
|
2018-01-26 20:56:54 +01:00
|
|
|
import { AddEditComponent } from './vault/add-edit.component';
|
2018-01-16 20:48:34 +01:00
|
|
|
import { AppComponent } from './app.component';
|
2018-01-27 19:47:48 +01:00
|
|
|
import { BlurClickDirective } from './directives/blur-click.directive';
|
2018-01-24 04:21:14 +01:00
|
|
|
import { CiphersComponent } from './vault/ciphers.component';
|
2018-01-24 05:38:56 +01:00
|
|
|
import { FallbackSrcDirective } from './directives/fallback-src.directive';
|
2018-01-24 04:21:14 +01:00
|
|
|
import { GroupingsComponent } from './vault/groupings.component';
|
2018-01-24 20:59:03 +01:00
|
|
|
import { I18nPipe } from './pipes/i18n.pipe';
|
2018-01-23 23:29:30 +01:00
|
|
|
import { IconComponent } from './vault/icon.component';
|
2018-01-16 21:58:17 +01:00
|
|
|
import { LoginComponent } from './accounts/login.component';
|
2018-01-29 15:33:43 +01:00
|
|
|
import { ModalComponent } from './modal.component';
|
|
|
|
import { PasswordGeneratorComponent } from './vault/password-generator.component';
|
2018-01-30 03:41:00 +01:00
|
|
|
import { SearchCiphersPipe } from './pipes/search-ciphers.pipe';
|
2018-01-24 05:38:56 +01:00
|
|
|
import { StopClickDirective } from './directives/stop-click.directive';
|
|
|
|
import { StopPropDirective } from './directives/stop-prop.directive';
|
2018-01-16 22:12:26 +01:00
|
|
|
import { VaultComponent } from './vault/vault.component';
|
2018-01-24 04:21:14 +01:00
|
|
|
import { ViewComponent } from './vault/view.component';
|
2018-01-16 20:48:34 +01:00
|
|
|
|
|
|
|
@NgModule({
|
2018-01-16 21:58:17 +01:00
|
|
|
imports: [
|
2018-01-26 20:12:41 +01:00
|
|
|
BrowserAnimationsModule,
|
2018-01-23 22:58:32 +01:00
|
|
|
FormsModule,
|
2018-01-16 21:58:17 +01:00
|
|
|
AppRoutingModule,
|
2018-01-23 05:37:36 +01:00
|
|
|
ServicesModule,
|
2018-01-26 16:50:06 +01:00
|
|
|
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
|
|
|
|
pageTracking: {
|
|
|
|
clearQueryParams: true,
|
|
|
|
},
|
|
|
|
}),
|
2018-01-26 20:12:41 +01:00
|
|
|
ToasterModule,
|
2018-01-16 21:58:17 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
2018-01-26 20:56:54 +01:00
|
|
|
AddEditComponent,
|
2018-01-16 21:58:17 +01:00
|
|
|
AppComponent,
|
2018-01-27 19:47:48 +01:00
|
|
|
BlurClickDirective,
|
2018-01-24 04:21:14 +01:00
|
|
|
CiphersComponent,
|
2018-01-24 05:38:56 +01:00
|
|
|
FallbackSrcDirective,
|
2018-01-24 04:21:14 +01:00
|
|
|
GroupingsComponent,
|
2018-01-24 20:59:03 +01:00
|
|
|
I18nPipe,
|
2018-01-23 23:29:30 +01:00
|
|
|
IconComponent,
|
2018-01-16 21:58:17 +01:00
|
|
|
LoginComponent,
|
2018-01-29 15:33:43 +01:00
|
|
|
ModalComponent,
|
|
|
|
PasswordGeneratorComponent,
|
2018-01-30 03:41:00 +01:00
|
|
|
SearchCiphersPipe,
|
2018-01-24 05:38:56 +01:00
|
|
|
StopClickDirective,
|
2018-01-27 20:43:29 +01:00
|
|
|
StopPropDirective,
|
2018-01-16 22:12:26 +01:00
|
|
|
VaultComponent,
|
2018-01-24 04:21:14 +01:00
|
|
|
ViewComponent,
|
2018-01-16 21:58:17 +01:00
|
|
|
],
|
2018-01-29 15:33:43 +01:00
|
|
|
entryComponents: [
|
|
|
|
ModalComponent,
|
|
|
|
PasswordGeneratorComponent,
|
|
|
|
],
|
2018-01-16 21:58:17 +01:00
|
|
|
providers: [],
|
2018-01-16 20:48:34 +01:00
|
|
|
bootstrap: [AppComponent],
|
|
|
|
})
|
|
|
|
export class AppModule { }
|