2021-12-20 15:47:17 +01:00
|
|
|
import "zone.js/dist/zone";
|
2018-01-16 20:48:34 +01:00
|
|
|
|
2023-02-02 00:14:24 +01:00
|
|
|
// Register the locales for the application
|
|
|
|
import "./locales";
|
|
|
|
|
2022-02-24 20:50:19 +01:00
|
|
|
import { NgModule } from "@angular/core";
|
|
|
|
|
2022-12-20 13:31:18 +01:00
|
|
|
import { ColorPasswordCountPipe } from "@bitwarden/angular/pipes/color-password-count.pipe";
|
|
|
|
import { ColorPasswordPipe } from "@bitwarden/angular/pipes/color-password.pipe";
|
|
|
|
|
2023-02-06 22:53:37 +01:00
|
|
|
import { AccessibilityCookieComponent } from "../auth/accessibility-cookie.component";
|
|
|
|
import { DeleteAccountComponent } from "../auth/delete-account.component";
|
|
|
|
import { EnvironmentComponent } from "../auth/environment.component";
|
2023-02-08 20:57:41 +01:00
|
|
|
import { HintComponent } from "../auth/hint.component";
|
2023-02-06 22:53:37 +01:00
|
|
|
import { LockComponent } from "../auth/lock.component";
|
|
|
|
import { LoginApprovalComponent } from "../auth/login/login-approval.component";
|
|
|
|
import { LoginModule } from "../auth/login/login.module";
|
|
|
|
import { RegisterComponent } from "../auth/register.component";
|
|
|
|
import { RemovePasswordComponent } from "../auth/remove-password.component";
|
|
|
|
import { SetPasswordComponent } from "../auth/set-password.component";
|
|
|
|
import { SsoComponent } from "../auth/sso.component";
|
|
|
|
import { TwoFactorOptionsComponent } from "../auth/two-factor-options.component";
|
|
|
|
import { TwoFactorComponent } from "../auth/two-factor.component";
|
|
|
|
import { UpdateTempPasswordComponent } from "../auth/update-temp-password.component";
|
2023-01-31 22:08:37 +01:00
|
|
|
import { PremiumComponent } from "../vault/app/accounts/premium.component";
|
|
|
|
import { PasswordRepromptComponent } from "../vault/app/components/password-reprompt.component";
|
|
|
|
import { AddEditCustomFieldsComponent } from "../vault/app/vault/add-edit-custom-fields.component";
|
|
|
|
import { AddEditComponent } from "../vault/app/vault/add-edit.component";
|
|
|
|
import { AttachmentsComponent } from "../vault/app/vault/attachments.component";
|
|
|
|
import { FolderAddEditComponent } from "../vault/app/vault/folder-add-edit.component";
|
|
|
|
import { PasswordHistoryComponent } from "../vault/app/vault/password-history.component";
|
|
|
|
import { ShareComponent } from "../vault/app/vault/share.component";
|
|
|
|
import { VaultFilterModule } from "../vault/app/vault/vault-filter/vault-filter.module";
|
|
|
|
import { VaultItemsComponent } from "../vault/app/vault/vault-items.component";
|
|
|
|
import { VaultComponent } from "../vault/app/vault/vault.component";
|
|
|
|
import { ViewCustomFieldsComponent } from "../vault/app/vault/view-custom-fields.component";
|
|
|
|
import { ViewComponent } from "../vault/app/vault/view.component";
|
|
|
|
|
2022-02-24 20:50:19 +01:00
|
|
|
import { SettingsComponent } from "./accounts/settings.component";
|
|
|
|
import { VaultTimeoutInputComponent } from "./accounts/vault-timeout-input.component";
|
|
|
|
import { AppRoutingModule } from "./app-routing.module";
|
|
|
|
import { AppComponent } from "./app.component";
|
|
|
|
import { SetPinComponent } from "./components/set-pin.component";
|
2022-04-19 17:29:43 +02:00
|
|
|
import { UserVerificationComponent } from "./components/user-verification.component";
|
2022-02-24 20:50:19 +01:00
|
|
|
import { AccountSwitcherComponent } from "./layout/account-switcher.component";
|
|
|
|
import { HeaderComponent } from "./layout/header.component";
|
|
|
|
import { NavComponent } from "./layout/nav.component";
|
|
|
|
import { SearchComponent } from "./layout/search/search.component";
|
|
|
|
import { AddEditComponent as SendAddEditComponent } from "./send/add-edit.component";
|
|
|
|
import { EffluxDatesComponent as SendEffluxDatesComponent } from "./send/efflux-dates.component";
|
|
|
|
import { SendComponent } from "./send/send.component";
|
2022-08-08 21:08:35 +02:00
|
|
|
import { SharedModule } from "./shared/shared.module";
|
2023-02-02 16:52:05 +01:00
|
|
|
import { CollectionsComponent } from "./vault/collections.component";
|
|
|
|
import { ExportComponent } from "./vault/export.component";
|
|
|
|
import { GeneratorComponent } from "./vault/generator.component";
|
|
|
|
import { PasswordGeneratorHistoryComponent } from "./vault/password-generator-history.component";
|
2018-08-02 15:26:50 +02:00
|
|
|
|
2018-01-16 20:48:34 +01:00
|
|
|
@NgModule({
|
2023-02-05 16:57:21 +01:00
|
|
|
imports: [SharedModule, AppRoutingModule, VaultFilterModule, LoginModule],
|
2021-12-20 15:47:17 +01:00
|
|
|
declarations: [
|
2022-06-09 14:14:31 +02:00
|
|
|
AccessibilityCookieComponent,
|
2022-03-21 11:39:35 +01:00
|
|
|
AccountSwitcherComponent,
|
2021-12-20 15:47:17 +01:00
|
|
|
AddEditComponent,
|
|
|
|
AddEditCustomFieldsComponent,
|
|
|
|
AppComponent,
|
|
|
|
AttachmentsComponent,
|
2022-11-22 14:30:33 +01:00
|
|
|
VaultItemsComponent,
|
2021-12-20 15:47:17 +01:00
|
|
|
CollectionsComponent,
|
2022-12-20 13:31:18 +01:00
|
|
|
ColorPasswordPipe,
|
|
|
|
ColorPasswordCountPipe,
|
2022-07-29 21:49:58 +02:00
|
|
|
DeleteAccountComponent,
|
2021-12-20 15:47:17 +01:00
|
|
|
EnvironmentComponent,
|
|
|
|
ExportComponent,
|
|
|
|
FolderAddEditComponent,
|
2022-03-21 11:39:35 +01:00
|
|
|
HeaderComponent,
|
2021-12-20 15:47:17 +01:00
|
|
|
HintComponent,
|
|
|
|
LockComponent,
|
|
|
|
NavComponent,
|
2022-04-01 00:49:53 +02:00
|
|
|
GeneratorComponent,
|
2021-12-20 15:47:17 +01:00
|
|
|
PasswordGeneratorHistoryComponent,
|
|
|
|
PasswordHistoryComponent,
|
|
|
|
PasswordRepromptComponent,
|
|
|
|
PremiumComponent,
|
|
|
|
RegisterComponent,
|
|
|
|
RemovePasswordComponent,
|
2022-03-21 11:39:35 +01:00
|
|
|
SearchComponent,
|
2021-12-20 15:47:17 +01:00
|
|
|
SendAddEditComponent,
|
|
|
|
SendComponent,
|
|
|
|
SendEffluxDatesComponent,
|
|
|
|
SetPasswordComponent,
|
|
|
|
SetPinComponent,
|
|
|
|
SettingsComponent,
|
|
|
|
ShareComponent,
|
|
|
|
SsoComponent,
|
|
|
|
TwoFactorComponent,
|
|
|
|
TwoFactorOptionsComponent,
|
|
|
|
UpdateTempPasswordComponent,
|
2022-04-19 17:29:43 +02:00
|
|
|
UserVerificationComponent,
|
2021-12-20 15:47:17 +01:00
|
|
|
VaultComponent,
|
|
|
|
VaultTimeoutInputComponent,
|
|
|
|
ViewComponent,
|
|
|
|
ViewCustomFieldsComponent,
|
2023-02-05 16:57:21 +01:00
|
|
|
LoginApprovalComponent,
|
2021-12-20 15:47:17 +01:00
|
|
|
],
|
|
|
|
bootstrap: [AppComponent],
|
2018-01-16 20:48:34 +01:00
|
|
|
})
|
2021-12-20 15:47:17 +01:00
|
|
|
export class AppModule {}
|