2018-04-04 04:14:54 +02:00
|
|
|
import 'core-js';
|
|
|
|
import 'zone.js/dist/zone';
|
|
|
|
|
|
|
|
import { ToasterModule } from 'angular2-toaster';
|
|
|
|
import { Angulartics2Module } from 'angulartics2';
|
|
|
|
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { ServicesModule } from './services/services.module';
|
|
|
|
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
|
2018-04-04 16:08:30 +02:00
|
|
|
import { EnvironmentComponent } from './accounts/environment.component';
|
|
|
|
import { HintComponent } from './accounts/hint.component';
|
2018-04-04 20:19:44 +02:00
|
|
|
import { HomeComponent } from './accounts/home.component';
|
2018-04-05 04:59:42 +02:00
|
|
|
import { LockComponent } from './accounts/lock.component';
|
2018-04-04 04:14:54 +02:00
|
|
|
import { LoginComponent } from './accounts/login.component';
|
2018-04-04 16:08:30 +02:00
|
|
|
import { RegisterComponent } from './accounts/register.component';
|
|
|
|
import { TwoFactorOptionsComponent } from './accounts/two-factor-options.component';
|
|
|
|
import { TwoFactorComponent } from './accounts/two-factor.component';
|
2018-04-05 04:59:42 +02:00
|
|
|
import { TabsComponent } from './tabs.component';
|
2018-04-05 21:35:56 +02:00
|
|
|
import { CiphersComponent } from './vault/ciphers.component';
|
2018-04-05 04:59:42 +02:00
|
|
|
import { CurrentTabComponent } from './vault/current-tab.component';
|
|
|
|
import { GroupingsComponent } from './vault/groupings.component';
|
2018-04-04 04:14:54 +02:00
|
|
|
|
2018-04-04 14:27:31 +02:00
|
|
|
import { ApiActionDirective } from 'jslib/angular/directives/api-action.directive';
|
|
|
|
import { AutofocusDirective } from 'jslib/angular/directives/autofocus.directive';
|
|
|
|
import { BlurClickDirective } from 'jslib/angular/directives/blur-click.directive';
|
2018-04-04 20:19:44 +02:00
|
|
|
import { BoxRowDirective } from 'jslib/angular/directives/box-row.directive';
|
2018-04-04 14:27:31 +02:00
|
|
|
import { FallbackSrcDirective } from 'jslib/angular/directives/fallback-src.directive';
|
|
|
|
import { StopClickDirective } from 'jslib/angular/directives/stop-click.directive';
|
|
|
|
import { StopPropDirective } from 'jslib/angular/directives/stop-prop.directive';
|
|
|
|
|
|
|
|
import { I18nPipe } from 'jslib/angular/pipes/i18n.pipe';
|
2018-04-05 21:35:56 +02:00
|
|
|
import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe';
|
|
|
|
|
|
|
|
import { ActionButtonsComponent } from './components/action-buttons.component';
|
2018-04-05 23:27:31 +02:00
|
|
|
import { CiphersListComponent } from './components/ciphers-list.component';
|
2018-04-05 21:35:56 +02:00
|
|
|
import { PopOutComponent } from './components/pop-out.component';
|
|
|
|
|
|
|
|
import { IconComponent } from 'jslib/angular/components/icon.component';
|
2018-04-04 14:27:31 +02:00
|
|
|
|
2018-04-04 04:14:54 +02:00
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
FormsModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
ServicesModule,
|
|
|
|
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
|
|
|
|
pageTracking: {
|
|
|
|
clearQueryParams: true,
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
ToasterModule,
|
|
|
|
],
|
|
|
|
declarations: [
|
2018-04-05 21:35:56 +02:00
|
|
|
ActionButtonsComponent,
|
2018-04-04 14:27:31 +02:00
|
|
|
ApiActionDirective,
|
2018-04-04 04:14:54 +02:00
|
|
|
AppComponent,
|
2018-04-04 14:27:31 +02:00
|
|
|
AutofocusDirective,
|
|
|
|
BlurClickDirective,
|
2018-04-04 20:19:44 +02:00
|
|
|
BoxRowDirective,
|
2018-04-05 21:35:56 +02:00
|
|
|
CiphersComponent,
|
2018-04-05 23:27:31 +02:00
|
|
|
CiphersListComponent,
|
2018-04-05 04:59:42 +02:00
|
|
|
CurrentTabComponent,
|
2018-04-04 16:08:30 +02:00
|
|
|
EnvironmentComponent,
|
2018-04-04 14:27:31 +02:00
|
|
|
FallbackSrcDirective,
|
2018-04-05 04:59:42 +02:00
|
|
|
GroupingsComponent,
|
2018-04-04 20:19:44 +02:00
|
|
|
HomeComponent,
|
2018-04-04 16:08:30 +02:00
|
|
|
HintComponent,
|
2018-04-04 14:27:31 +02:00
|
|
|
I18nPipe,
|
2018-04-05 21:35:56 +02:00
|
|
|
IconComponent,
|
2018-04-05 04:59:42 +02:00
|
|
|
LockComponent,
|
2018-04-04 04:14:54 +02:00
|
|
|
LoginComponent,
|
2018-04-05 21:35:56 +02:00
|
|
|
PopOutComponent,
|
2018-04-04 16:08:30 +02:00
|
|
|
RegisterComponent,
|
2018-04-05 21:35:56 +02:00
|
|
|
SearchCiphersPipe,
|
2018-04-04 14:27:31 +02:00
|
|
|
StopClickDirective,
|
2018-04-04 16:08:30 +02:00
|
|
|
StopPropDirective,
|
2018-04-05 04:59:42 +02:00
|
|
|
TabsComponent,
|
2018-04-04 16:08:30 +02:00
|
|
|
TwoFactorOptionsComponent,
|
|
|
|
TwoFactorComponent
|
2018-04-04 04:14:54 +02:00
|
|
|
],
|
|
|
|
entryComponents: [
|
|
|
|
|
|
|
|
],
|
|
|
|
providers: [],
|
|
|
|
bootstrap: [AppComponent],
|
|
|
|
})
|
|
|
|
export class AppModule { }
|