bitwarden-estensione-browser/src/app/app.module.ts

170 lines
6.7 KiB
TypeScript
Raw Normal View History

2018-06-05 05:10:41 +02:00
import 'core-js';
2018-06-05 21:02:53 +02:00
import { ToasterModule } from 'angular2-toaster';
import { Angulartics2Module } from 'angulartics2';
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
2018-06-05 05:10:41 +02:00
import { AppRoutingModule } from './app-routing.module';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
2018-06-10 04:40:53 +02:00
import { ServicesModule } from './services/services.module';
2018-06-05 21:02:53 +02:00
2018-06-05 05:10:41 +02:00
import { AppComponent } from './app.component';
2018-06-06 23:25:57 +02:00
import { ModalComponent } from './modal.component';
2018-06-05 05:10:41 +02:00
2018-06-21 17:28:14 +02:00
import { AvatarComponent } from './components/avatar.component';
2018-06-26 02:49:49 +02:00
import { CalloutComponent } from './components/callout.component';
2018-06-21 17:28:14 +02:00
2018-06-08 23:08:19 +02:00
import { FooterComponent } from './layouts/footer.component';
import { FrontendLayoutComponent } from './layouts/frontend-layout.component';
import { NavbarComponent } from './layouts/navbar.component';
import { OrganizationLayoutComponent } from './layouts/organization-layout.component';
import { UserLayoutComponent } from './layouts/user-layout.component';
2018-06-05 21:02:53 +02:00
import { HintComponent } from './accounts/hint.component';
import { LockComponent } from './accounts/lock.component';
2018-06-05 21:02:53 +02:00
import { LoginComponent } from './accounts/login.component';
import { RegisterComponent } from './accounts/register.component';
2018-06-05 21:06:50 +02:00
import { TwoFactorOptionsComponent } from './accounts/two-factor-options.component';
2018-06-05 21:02:53 +02:00
import { TwoFactorComponent } from './accounts/two-factor.component';
2018-06-21 04:27:37 +02:00
import { AccountComponent } from './settings/account.component';
import { ChangeEmailComponent } from './settings/change-email.component';
import { ChangePasswordComponent } from './settings/change-password.component';
2018-06-21 23:14:36 +02:00
import { DeauthorizeSessionsComponent } from './settings/deauthorize-sessions.component';
import { DeleteAccountComponent } from './settings/delete-account.component';
2018-06-26 05:16:59 +02:00
import { DomainRulesComponent } from './settings/domain-rules.component';
2018-06-25 22:44:06 +02:00
import { OptionsComponent } from './settings/options.component';
2018-06-21 17:43:50 +02:00
import { ProfileComponent } from './settings/profile.component';
import { PurgeVaultComponent } from './settings/purge-vault.component';
2018-06-21 04:27:37 +02:00
import { SettingsComponent } from './settings/settings.component';
2018-06-10 05:33:12 +02:00
import { ExportComponent } from './tools/export.component';
import { ImportComponent } from './tools/import.component';
2018-06-21 00:16:20 +02:00
import { PasswordGeneratorHistoryComponent } from './tools/password-generator-history.component';
import { PasswordGeneratorComponent } from './tools/password-generator.component';
2018-06-10 05:33:12 +02:00
import { ToolsComponent } from './tools/tools.component';
2018-06-07 05:23:14 +02:00
import { AddEditComponent } from './vault/add-edit.component';
2018-06-06 23:25:57 +02:00
import { AttachmentsComponent } from './vault/attachments.component';
import { BulkDeleteComponent } from './vault/bulk-delete.component';
2018-06-12 23:33:08 +02:00
import { BulkMoveComponent } from './vault/bulk-move.component';
2018-06-13 06:03:48 +02:00
import { BulkShareComponent } from './vault/bulk-share.component';
2018-06-06 23:25:57 +02:00
import { CiphersComponent } from './vault/ciphers.component';
2018-06-12 19:08:47 +02:00
import { CollectionsComponent } from './vault/collections.component';
2018-06-06 23:25:57 +02:00
import { FolderAddEditComponent } from './vault/folder-add-edit.component';
import { GroupingsComponent } from './vault/groupings.component';
2018-06-11 16:09:59 +02:00
import { OrganizationsComponent } from './vault/organizations.component';
2018-06-12 17:46:11 +02:00
import { ShareComponent } from './vault/share.component';
2018-06-05 05:10:41 +02:00
import { VaultComponent } from './vault/vault.component';
2018-06-05 21:06:50 +02:00
import { IconComponent } from 'jslib/angular/components/icon.component';
2018-06-05 21:02:53 +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';
import { BoxRowDirective } from 'jslib/angular/directives/box-row.directive';
import { FallbackSrcDirective } from 'jslib/angular/directives/fallback-src.directive';
import { InputVerbatimDirective } from 'jslib/angular/directives/input-verbatim.directive';
import { StopClickDirective } from 'jslib/angular/directives/stop-click.directive';
import { StopPropDirective } from 'jslib/angular/directives/stop-prop.directive';
2018-06-09 06:39:14 +02:00
import { TrueFalseValueDirective } from 'jslib/angular/directives/true-false-value.directive';
2018-06-05 21:02:53 +02:00
import { I18nPipe } from 'jslib/angular/pipes/i18n.pipe';
import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe';
2018-06-05 05:10:41 +02:00
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
AppRoutingModule,
2018-06-05 21:02:53 +02:00
ServicesModule,
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
pageTracking: {
clearQueryParams: true,
},
}),
ToasterModule,
2018-06-05 05:10:41 +02:00
],
declarations: [
2018-06-21 04:27:37 +02:00
AccountComponent,
2018-06-07 05:23:14 +02:00
AddEditComponent,
2018-06-05 21:02:53 +02:00
ApiActionDirective,
2018-06-05 05:10:41 +02:00
AppComponent,
2018-06-06 23:25:57 +02:00
AttachmentsComponent,
2018-06-05 21:02:53 +02:00
AutofocusDirective,
2018-06-21 17:28:14 +02:00
AvatarComponent,
2018-06-05 21:02:53 +02:00
BlurClickDirective,
BoxRowDirective,
BulkDeleteComponent,
2018-06-12 23:33:08 +02:00
BulkMoveComponent,
2018-06-13 06:03:48 +02:00
BulkShareComponent,
2018-06-26 02:49:49 +02:00
CalloutComponent,
ChangeEmailComponent,
ChangePasswordComponent,
2018-06-06 23:25:57 +02:00
CiphersComponent,
2018-06-12 19:08:47 +02:00
CollectionsComponent,
2018-06-21 23:14:36 +02:00
DeauthorizeSessionsComponent,
DeleteAccountComponent,
2018-06-26 05:16:59 +02:00
DomainRulesComponent,
2018-06-10 05:33:12 +02:00
ExportComponent,
2018-06-05 21:02:53 +02:00
FallbackSrcDirective,
2018-06-06 23:25:57 +02:00
FolderAddEditComponent,
2018-06-08 23:08:19 +02:00
FooterComponent,
FrontendLayoutComponent,
2018-06-06 23:25:57 +02:00
GroupingsComponent,
2018-06-05 21:02:53 +02:00
HintComponent,
2018-06-05 21:06:50 +02:00
IconComponent,
2018-06-05 21:02:53 +02:00
I18nPipe,
2018-06-10 05:33:12 +02:00
ImportComponent,
2018-06-05 21:02:53 +02:00
InputVerbatimDirective,
LockComponent,
2018-06-05 21:02:53 +02:00
LoginComponent,
2018-06-06 23:25:57 +02:00
ModalComponent,
2018-06-08 23:08:19 +02:00
NavbarComponent,
2018-06-25 22:44:06 +02:00
OptionsComponent,
2018-06-11 16:09:59 +02:00
OrganizationsComponent,
2018-06-08 23:08:19 +02:00
OrganizationLayoutComponent,
2018-06-21 00:16:20 +02:00
PasswordGeneratorComponent,
PasswordGeneratorHistoryComponent,
2018-06-21 17:43:50 +02:00
ProfileComponent,
PurgeVaultComponent,
2018-06-05 21:02:53 +02:00
RegisterComponent,
SearchCiphersPipe,
2018-06-21 04:27:37 +02:00
SettingsComponent,
2018-06-12 17:46:11 +02:00
ShareComponent,
2018-06-05 21:02:53 +02:00
StopClickDirective,
StopPropDirective,
2018-06-10 05:33:12 +02:00
ToolsComponent,
2018-06-09 06:39:14 +02:00
TrueFalseValueDirective,
2018-06-05 21:02:53 +02:00
TwoFactorComponent,
2018-06-05 21:06:50 +02:00
TwoFactorOptionsComponent,
2018-06-08 23:08:19 +02:00
UserLayoutComponent,
2018-06-05 05:10:41 +02:00
VaultComponent,
],
entryComponents: [
2018-06-07 05:23:14 +02:00
AddEditComponent,
2018-06-06 23:25:57 +02:00
AttachmentsComponent,
BulkDeleteComponent,
2018-06-12 23:33:08 +02:00
BulkMoveComponent,
2018-06-13 06:03:48 +02:00
BulkShareComponent,
2018-06-12 19:08:47 +02:00
CollectionsComponent,
2018-06-21 23:14:36 +02:00
DeauthorizeSessionsComponent,
DeleteAccountComponent,
2018-06-06 23:25:57 +02:00
FolderAddEditComponent,
ModalComponent,
2018-06-21 00:16:20 +02:00
PasswordGeneratorHistoryComponent,
PurgeVaultComponent,
2018-06-12 17:46:11 +02:00
ShareComponent,
2018-06-11 17:43:10 +02:00
TwoFactorOptionsComponent,
2018-06-05 05:10:41 +02:00
],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule { }