mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-04 13:44:00 +01:00
111 lines
4.2 KiB
TypeScript
111 lines
4.2 KiB
TypeScript
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';
|
|
|
|
import { EnvironmentComponent } from './accounts/environment.component';
|
|
import { HintComponent } from './accounts/hint.component';
|
|
import { HomeComponent } from './accounts/home.component';
|
|
import { LockComponent } from './accounts/lock.component';
|
|
import { LoginComponent } from './accounts/login.component';
|
|
import { RegisterComponent } from './accounts/register.component';
|
|
import { TwoFactorOptionsComponent } from './accounts/two-factor-options.component';
|
|
import { TwoFactorComponent } from './accounts/two-factor.component';
|
|
import { SettingsComponent } from './settings/settings.component';
|
|
import { TabsComponent } from './tabs.component';
|
|
import { ExportComponent } from './tools/export.component';
|
|
import { PasswordGeneratorComponent } from './tools/password-generator.component';
|
|
import { PasswordGeneratorHistoryComponent } from './tools/password-generator-history.component';
|
|
import { ToolsComponent } from './tools/tools.component';
|
|
import { AddEditComponent } from './vault/add-edit.component';
|
|
import { CiphersComponent } from './vault/ciphers.component';
|
|
import { CurrentTabComponent } from './vault/current-tab.component';
|
|
import { GroupingsComponent } from './vault/groupings.component';
|
|
import { ViewComponent } from './vault/view.component';
|
|
|
|
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';
|
|
import { BoxRowDirective } from 'jslib/angular/directives/box-row.directive';
|
|
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';
|
|
import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe';
|
|
|
|
import { ActionButtonsComponent } from './components/action-buttons.component';
|
|
import { CiphersListComponent } from './components/ciphers-list.component';
|
|
import { PopOutComponent } from './components/pop-out.component';
|
|
|
|
import { IconComponent } from 'jslib/angular/components/icon.component';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
BrowserModule,
|
|
BrowserAnimationsModule,
|
|
FormsModule,
|
|
AppRoutingModule,
|
|
ServicesModule,
|
|
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
|
|
pageTracking: {
|
|
clearQueryParams: true,
|
|
},
|
|
}),
|
|
ToasterModule,
|
|
],
|
|
declarations: [
|
|
ActionButtonsComponent,
|
|
AddEditComponent,
|
|
ApiActionDirective,
|
|
AppComponent,
|
|
AutofocusDirective,
|
|
BlurClickDirective,
|
|
BoxRowDirective,
|
|
CiphersComponent,
|
|
CiphersListComponent,
|
|
CurrentTabComponent,
|
|
EnvironmentComponent,
|
|
ExportComponent,
|
|
FallbackSrcDirective,
|
|
GroupingsComponent,
|
|
HomeComponent,
|
|
HintComponent,
|
|
I18nPipe,
|
|
IconComponent,
|
|
LockComponent,
|
|
LoginComponent,
|
|
PasswordGeneratorComponent,
|
|
PasswordGeneratorHistoryComponent,
|
|
PopOutComponent,
|
|
RegisterComponent,
|
|
SearchCiphersPipe,
|
|
SettingsComponent,
|
|
StopClickDirective,
|
|
StopPropDirective,
|
|
TabsComponent,
|
|
ToolsComponent,
|
|
TwoFactorOptionsComponent,
|
|
TwoFactorComponent,
|
|
ViewComponent,
|
|
],
|
|
entryComponents: [
|
|
|
|
],
|
|
providers: [],
|
|
bootstrap: [AppComponent],
|
|
})
|
|
export class AppModule { }
|