import { DragDropModule } from "@angular/cdk/drag-drop"; import { DatePipe, registerLocaleData, CommonModule } from "@angular/common"; import localeAf from "@angular/common/locales/af"; import localeAz from "@angular/common/locales/az"; import localeBe from "@angular/common/locales/be"; import localeBg from "@angular/common/locales/bg"; import localeBn from "@angular/common/locales/bn"; import localeBs from "@angular/common/locales/bs"; import localeCa from "@angular/common/locales/ca"; import localeCs from "@angular/common/locales/cs"; import localeDa from "@angular/common/locales/da"; import localeDe from "@angular/common/locales/de"; import localeEl from "@angular/common/locales/el"; import localeEnGb from "@angular/common/locales/en-GB"; import localeEnIn from "@angular/common/locales/en-IN"; import localeEo from "@angular/common/locales/eo"; import localeEs from "@angular/common/locales/es"; import localeEt from "@angular/common/locales/et"; import localeFi from "@angular/common/locales/fi"; import localeFil from "@angular/common/locales/fil"; import localeFr from "@angular/common/locales/fr"; import localeHe from "@angular/common/locales/he"; import localeHi from "@angular/common/locales/hi"; import localeHr from "@angular/common/locales/hr"; import localeHu from "@angular/common/locales/hu"; import localeId from "@angular/common/locales/id"; import localeIt from "@angular/common/locales/it"; import localeJa from "@angular/common/locales/ja"; import localeKa from "@angular/common/locales/ka"; import localeKm from "@angular/common/locales/km"; import localeKn from "@angular/common/locales/kn"; import localeKo from "@angular/common/locales/ko"; import localeLv from "@angular/common/locales/lv"; import localeMl from "@angular/common/locales/ml"; import localeNb from "@angular/common/locales/nb"; import localeNl from "@angular/common/locales/nl"; import localeNn from "@angular/common/locales/nn"; import localePl from "@angular/common/locales/pl"; import localePtBr from "@angular/common/locales/pt"; import localePtPt from "@angular/common/locales/pt-PT"; import localeRo from "@angular/common/locales/ro"; import localeRu from "@angular/common/locales/ru"; import localeSi from "@angular/common/locales/si"; import localeSk from "@angular/common/locales/sk"; import localeSl from "@angular/common/locales/sl"; import localeSr from "@angular/common/locales/sr"; import localeSv from "@angular/common/locales/sv"; import localeTr from "@angular/common/locales/tr"; import localeUk from "@angular/common/locales/uk"; import localeVi from "@angular/common/locales/vi"; import localeZhCn from "@angular/common/locales/zh-Hans"; import localeZhTw from "@angular/common/locales/zh-Hant"; import { NgModule } from "@angular/core"; import { FormsModule, ReactiveFormsModule } from "@angular/forms"; import { RouterModule } from "@angular/router"; import { BadgeModule, ButtonModule } from "@bitwarden/components"; import { InfiniteScrollModule } from "ngx-infinite-scroll"; import { ToastrModule } from "ngx-toastr"; import { UserVerificationComponent } from "jslib-angular/components/user-verification.component"; import { JslibModule } from "jslib-angular/jslib.module"; import { AcceptEmergencyComponent } from "./accounts/accept-emergency.component"; import { AcceptOrganizationComponent } from "./accounts/accept-organization.component"; import { HintComponent } from "./accounts/hint.component"; import { LockComponent } from "./accounts/lock.component"; import { LoginComponent } from "./accounts/login.component"; import { RecoverDeleteComponent } from "./accounts/recover-delete.component"; import { RecoverTwoFactorComponent } from "./accounts/recover-two-factor.component"; import { RegisterComponent } from "./accounts/register.component"; import { RemovePasswordComponent } from "./accounts/remove-password.component"; import { SetPasswordComponent } from "./accounts/set-password.component"; import { SsoComponent } from "./accounts/sso.component"; import { TwoFactorOptionsComponent } from "./accounts/two-factor-options.component"; import { TwoFactorComponent } from "./accounts/two-factor.component"; import { UpdatePasswordComponent } from "./accounts/update-password.component"; import { UpdateTempPasswordComponent } from "./accounts/update-temp-password.component"; import { VerifyEmailTokenComponent } from "./accounts/verify-email-token.component"; import { VerifyRecoverDeleteComponent } from "./accounts/verify-recover-delete.component"; import { NestedCheckboxComponent } from "./components/nested-checkbox.component"; import { PasswordRepromptComponent } from "./components/password-reprompt.component"; import { PasswordStrengthComponent } from "./components/password-strength.component"; import { PremiumBadgeComponent } from "./components/premium-badge.component"; 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"; import { BulkConfirmComponent as OrgBulkConfirmComponent } from "./organizations/manage/bulk/bulk-confirm.component"; import { BulkRemoveComponent as OrgBulkRemoveComponent } from "./organizations/manage/bulk/bulk-remove.component"; import { BulkStatusComponent as OrgBulkStatusComponent } from "./organizations/manage/bulk/bulk-status.component"; import { CollectionAddEditComponent as OrgCollectionAddEditComponent } from "./organizations/manage/collection-add-edit.component"; import { CollectionsComponent as OrgManageCollectionsComponent } from "./organizations/manage/collections.component"; import { EntityEventsComponent as OrgEntityEventsComponent } from "./organizations/manage/entity-events.component"; import { EntityUsersComponent as OrgEntityUsersComponent } from "./organizations/manage/entity-users.component"; import { EventsComponent as OrgEventsComponent } from "./organizations/manage/events.component"; import { GroupAddEditComponent as OrgGroupAddEditComponent } from "./organizations/manage/group-add-edit.component"; import { GroupsComponent as OrgGroupsComponent } from "./organizations/manage/groups.component"; import { ManageComponent as OrgManageComponent } from "./organizations/manage/manage.component"; import { PeopleComponent as OrgPeopleComponent } from "./organizations/manage/people.component"; import { PoliciesComponent as OrgPoliciesComponent } from "./organizations/manage/policies.component"; import { PolicyEditComponent as OrgPolicyEditComponent } from "./organizations/manage/policy-edit.component"; import { ResetPasswordComponent as OrgResetPasswordComponent } from "./organizations/manage/reset-password.component"; import { UserAddEditComponent as OrgUserAddEditComponent } from "./organizations/manage/user-add-edit.component"; import { UserConfirmComponent as OrgUserConfirmComponent } from "./organizations/manage/user-confirm.component"; import { UserGroupsComponent as OrgUserGroupsComponent } from "./organizations/manage/user-groups.component"; import { DisableSendPolicyComponent } from "./organizations/policies/disable-send.component"; import { MasterPasswordPolicyComponent } from "./organizations/policies/master-password.component"; import { PasswordGeneratorPolicyComponent } from "./organizations/policies/password-generator.component"; import { PersonalOwnershipPolicyComponent } from "./organizations/policies/personal-ownership.component"; import { RequireSsoPolicyComponent } from "./organizations/policies/require-sso.component"; import { ResetPasswordPolicyComponent } from "./organizations/policies/reset-password.component"; import { SendOptionsPolicyComponent } from "./organizations/policies/send-options.component"; import { SingleOrgPolicyComponent } from "./organizations/policies/single-org.component"; import { TwoFactorAuthenticationPolicyComponent } from "./organizations/policies/two-factor-authentication.component"; import { AccountComponent as OrgAccountComponent } from "./organizations/settings/account.component"; import { AdjustSubscription } from "./organizations/settings/adjust-subscription.component"; import { ChangePlanComponent } from "./organizations/settings/change-plan.component"; import { DeleteOrganizationComponent } from "./organizations/settings/delete-organization.component"; import { DownloadLicenseComponent } from "./organizations/settings/download-license.component"; import { OrganizationBillingComponent } from "./organizations/settings/organization-billing.component"; import { OrganizationSubscriptionComponent } from "./organizations/settings/organization-subscription.component"; import { SettingsComponent as OrgSettingComponent } from "./organizations/settings/settings.component"; import { TwoFactorSetupComponent as OrgTwoFactorSetupComponent } from "./organizations/settings/two-factor-setup.component"; import { AcceptFamilySponsorshipComponent } from "./organizations/sponsorships/accept-family-sponsorship.component"; import { FamiliesForEnterpriseSetupComponent } from "./organizations/sponsorships/families-for-enterprise-setup.component"; import { ExportComponent as OrgExportComponent } from "./organizations/tools/export.component"; import { ExposedPasswordsReportComponent as OrgExposedPasswordsReportComponent } from "./organizations/tools/exposed-passwords-report.component"; import { ImportComponent as OrgImportComponent } from "./organizations/tools/import.component"; import { InactiveTwoFactorReportComponent as OrgInactiveTwoFactorReportComponent } from "./organizations/tools/inactive-two-factor-report.component"; import { ReusedPasswordsReportComponent as OrgReusedPasswordsReportComponent } from "./organizations/tools/reused-passwords-report.component"; import { ToolsComponent as OrgToolsComponent } from "./organizations/tools/tools.component"; import { UnsecuredWebsitesReportComponent as OrgUnsecuredWebsitesReportComponent } from "./organizations/tools/unsecured-websites-report.component"; import { WeakPasswordsReportComponent as OrgWeakPasswordsReportComponent } from "./organizations/tools/weak-passwords-report.component"; import { AddEditComponent as OrgAddEditComponent } from "./organizations/vault/add-edit.component"; import { AttachmentsComponent as OrgAttachmentsComponent } from "./organizations/vault/attachments.component"; import { CiphersComponent as OrgCiphersComponent } from "./organizations/vault/ciphers.component"; import { CollectionsComponent as OrgCollectionsComponent } from "./organizations/vault/collections.component"; import { GroupingsComponent as OrgGroupingsComponent } from "./organizations/vault/groupings.component"; import { VaultComponent as OrgVaultComponent } from "./organizations/vault/vault.component"; import { ProvidersComponent } from "./providers/providers.component"; import { BreachReportComponent } from "./reports/breach-report.component"; import { ExposedPasswordsReportComponent } from "./reports/exposed-passwords-report.component"; import { InactiveTwoFactorReportComponent } from "./reports/inactive-two-factor-report.component"; import { ReportCardComponent } from "./reports/report-card.component"; import { ReportListComponent } from "./reports/report-list.component"; import { ReportsComponent } from "./reports/reports.component"; import { ReusedPasswordsReportComponent } from "./reports/reused-passwords-report.component"; import { UnsecuredWebsitesReportComponent } from "./reports/unsecured-websites-report.component"; import { WeakPasswordsReportComponent } from "./reports/weak-passwords-report.component"; import { AccessComponent } from "./send/access.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"; import { AccountComponent } from "./settings/account.component"; import { AddCreditComponent } from "./settings/add-credit.component"; import { AdjustPaymentComponent } from "./settings/adjust-payment.component"; import { AdjustStorageComponent } from "./settings/adjust-storage.component"; import { ApiKeyComponent } from "./settings/api-key.component"; import { ChangeEmailComponent } from "./settings/change-email.component"; import { ChangeKdfComponent } from "./settings/change-kdf.component"; import { ChangePasswordComponent } from "./settings/change-password.component"; import { CreateOrganizationComponent } from "./settings/create-organization.component"; import { DeauthorizeSessionsComponent } from "./settings/deauthorize-sessions.component"; import { DeleteAccountComponent } from "./settings/delete-account.component"; import { DomainRulesComponent } from "./settings/domain-rules.component"; import { EmergencyAccessAddEditComponent } from "./settings/emergency-access-add-edit.component"; import { EmergencyAccessAttachmentsComponent } from "./settings/emergency-access-attachments.component"; import { EmergencyAccessConfirmComponent } from "./settings/emergency-access-confirm.component"; import { EmergencyAccessTakeoverComponent } from "./settings/emergency-access-takeover.component"; import { EmergencyAccessViewComponent } from "./settings/emergency-access-view.component"; import { EmergencyAccessComponent } from "./settings/emergency-access.component"; import { EmergencyAddEditComponent } from "./settings/emergency-add-edit.component"; import { LinkSsoComponent } from "./settings/link-sso.component"; import { OptionsComponent } from "./settings/options.component"; import { OrganizationPlansComponent } from "./settings/organization-plans.component"; import { OrganizationsComponent } from "./settings/organizations.component"; import { PaymentComponent } from "./settings/payment.component"; import { PremiumComponent } from "./settings/premium.component"; import { ProfileComponent } from "./settings/profile.component"; import { PurgeVaultComponent } from "./settings/purge-vault.component"; import { SettingsComponent } from "./settings/settings.component"; import { SponsoredFamiliesComponent } from "./settings/sponsored-families.component"; import { SponsoringOrgRowComponent } from "./settings/sponsoring-org-row.component"; import { TaxInfoComponent } from "./settings/tax-info.component"; import { TwoFactorAuthenticatorComponent } from "./settings/two-factor-authenticator.component"; import { TwoFactorDuoComponent } from "./settings/two-factor-duo.component"; import { TwoFactorEmailComponent } from "./settings/two-factor-email.component"; import { TwoFactorRecoveryComponent } from "./settings/two-factor-recovery.component"; import { TwoFactorSetupComponent } from "./settings/two-factor-setup.component"; import { TwoFactorVerifyComponent } from "./settings/two-factor-verify.component"; import { TwoFactorWebAuthnComponent } from "./settings/two-factor-webauthn.component"; import { TwoFactorYubiKeyComponent } from "./settings/two-factor-yubikey.component"; import { UpdateKeyComponent } from "./settings/update-key.component"; import { UpdateLicenseComponent } from "./settings/update-license.component"; import { UserBillingComponent } from "./settings/user-billing.component"; import { UserSubscriptionComponent } from "./settings/user-subscription.component"; import { VaultTimeoutInputComponent } from "./settings/vault-timeout-input.component"; import { VerifyEmailComponent } from "./settings/verify-email.component"; import { ExportComponent } from "./tools/export.component"; import { GeneratorComponent } from "./tools/generator.component"; import { ImportComponent } from "./tools/import.component"; import { PasswordGeneratorHistoryComponent } from "./tools/password-generator-history.component"; import { ToolsComponent } from "./tools/tools.component"; import { AddEditCustomFieldsComponent } from "./vault/add-edit-custom-fields.component"; import { AddEditComponent } from "./vault/add-edit.component"; import { AttachmentsComponent } from "./vault/attachments.component"; import { BulkActionsComponent } from "./vault/bulk-actions.component"; import { BulkDeleteComponent } from "./vault/bulk-delete.component"; import { BulkMoveComponent } from "./vault/bulk-move.component"; import { BulkRestoreComponent } from "./vault/bulk-restore.component"; import { BulkShareComponent } from "./vault/bulk-share.component"; import { CiphersComponent } from "./vault/ciphers.component"; import { CollectionsComponent } from "./vault/collections.component"; import { FolderAddEditComponent } from "./vault/folder-add-edit.component"; import { GroupingsComponent } from "./vault/groupings.component"; import { ShareComponent } from "./vault/share.component"; import { VaultComponent } from "./vault/vault.component"; registerLocaleData(localeAf, "af"); registerLocaleData(localeAz, "az"); registerLocaleData(localeBe, "be"); registerLocaleData(localeBg, "bg"); registerLocaleData(localeBn, "bn"); registerLocaleData(localeBs, "bs"); registerLocaleData(localeCa, "ca"); registerLocaleData(localeCs, "cs"); registerLocaleData(localeDa, "da"); registerLocaleData(localeDe, "de"); registerLocaleData(localeEl, "el"); registerLocaleData(localeEnGb, "en-GB"); registerLocaleData(localeEnIn, "en-IN"); registerLocaleData(localeEo, "eo"); registerLocaleData(localeEs, "es"); registerLocaleData(localeEt, "et"); registerLocaleData(localeFi, "fi"); registerLocaleData(localeFil, "fil"); registerLocaleData(localeFr, "fr"); registerLocaleData(localeHe, "he"); registerLocaleData(localeHi, "hi"); registerLocaleData(localeHr, "hr"); registerLocaleData(localeHu, "hu"); registerLocaleData(localeId, "id"); registerLocaleData(localeIt, "it"); registerLocaleData(localeJa, "ja"); registerLocaleData(localeKa, "ka"); registerLocaleData(localeKm, "km"); registerLocaleData(localeKn, "kn"); registerLocaleData(localeKo, "ko"); registerLocaleData(localeLv, "lv"); registerLocaleData(localeMl, "ml"); registerLocaleData(localeNb, "nb"); registerLocaleData(localeNl, "nl"); registerLocaleData(localeNn, "nn"); registerLocaleData(localePl, "pl"); registerLocaleData(localePtBr, "pt-BR"); registerLocaleData(localePtPt, "pt-PT"); registerLocaleData(localeRo, "ro"); registerLocaleData(localeRu, "ru"); registerLocaleData(localeSi, "si"); registerLocaleData(localeSk, "sk"); registerLocaleData(localeSl, "sl"); registerLocaleData(localeSr, "sr"); registerLocaleData(localeSv, "sv"); registerLocaleData(localeTr, "tr"); registerLocaleData(localeUk, "uk"); registerLocaleData(localeVi, "vi"); registerLocaleData(localeZhCn, "zh-CN"); registerLocaleData(localeZhTw, "zh-TW"); @NgModule({ imports: [ CommonModule, DragDropModule, FormsModule, InfiniteScrollModule, JslibModule, ReactiveFormsModule, RouterModule, ToastrModule, BadgeModule, ButtonModule, ], declarations: [ PremiumBadgeComponent, AcceptEmergencyComponent, AcceptFamilySponsorshipComponent, AcceptOrganizationComponent, AccessComponent, AccountComponent, AddCreditComponent, AddEditComponent, AddEditCustomFieldsComponent, AddEditCustomFieldsComponent, AdjustPaymentComponent, AdjustStorageComponent, AdjustSubscription, ApiKeyComponent, AttachmentsComponent, BreachReportComponent, BulkActionsComponent, BulkDeleteComponent, BulkMoveComponent, BulkRestoreComponent, BulkShareComponent, ChangeEmailComponent, ChangeKdfComponent, ChangePasswordComponent, ChangePlanComponent, CiphersComponent, CollectionsComponent, CreateOrganizationComponent, DeauthorizeSessionsComponent, DeleteAccountComponent, DeleteOrganizationComponent, DisableSendPolicyComponent, DomainRulesComponent, DownloadLicenseComponent, EmergencyAccessAddEditComponent, EmergencyAccessAttachmentsComponent, EmergencyAccessComponent, EmergencyAccessConfirmComponent, EmergencyAccessTakeoverComponent, EmergencyAccessViewComponent, EmergencyAddEditComponent, ExportComponent, ExposedPasswordsReportComponent, FamiliesForEnterpriseSetupComponent, FolderAddEditComponent, FooterComponent, FrontendLayoutComponent, GroupingsComponent, HintComponent, ImportComponent, InactiveTwoFactorReportComponent, LinkSsoComponent, LockComponent, LoginComponent, MasterPasswordPolicyComponent, NavbarComponent, NestedCheckboxComponent, OptionsComponent, OrgAccountComponent, OrgAddEditComponent, OrganizationBillingComponent, OrganizationLayoutComponent, OrganizationPlansComponent, OrganizationsComponent, OrganizationSubscriptionComponent, OrgAttachmentsComponent, OrgBulkConfirmComponent, OrgBulkRemoveComponent, OrgBulkStatusComponent, OrgCiphersComponent, OrgCollectionAddEditComponent, OrgCollectionsComponent, OrgEntityEventsComponent, OrgEntityUsersComponent, OrgEventsComponent, OrgExportComponent, OrgExposedPasswordsReportComponent, OrgGroupAddEditComponent, OrgGroupingsComponent, OrgGroupsComponent, OrgImportComponent, OrgInactiveTwoFactorReportComponent, OrgManageCollectionsComponent, OrgManageComponent, OrgPeopleComponent, OrgPoliciesComponent, OrgPolicyEditComponent, OrgResetPasswordComponent, OrgReusedPasswordsReportComponent, OrgSettingComponent, OrgToolsComponent, OrgTwoFactorSetupComponent, OrgUnsecuredWebsitesReportComponent, OrgUserAddEditComponent, OrgUserConfirmComponent, OrgUserGroupsComponent, OrgVaultComponent, OrgWeakPasswordsReportComponent, GeneratorComponent, PasswordGeneratorHistoryComponent, PasswordGeneratorPolicyComponent, PasswordRepromptComponent, PasswordStrengthComponent, PaymentComponent, PersonalOwnershipPolicyComponent, PremiumComponent, ProfileComponent, ProvidersComponent, PurgeVaultComponent, RecoverDeleteComponent, RecoverTwoFactorComponent, RegisterComponent, RemovePasswordComponent, ReportCardComponent, ReportListComponent, ReportsComponent, RequireSsoPolicyComponent, ResetPasswordPolicyComponent, ReusedPasswordsReportComponent, SendAddEditComponent, SendComponent, SendEffluxDatesComponent, SendOptionsPolicyComponent, SetPasswordComponent, SettingsComponent, ShareComponent, SingleOrgPolicyComponent, SponsoredFamiliesComponent, SponsoringOrgRowComponent, SsoComponent, TaxInfoComponent, ToolsComponent, TwoFactorAuthenticationPolicyComponent, TwoFactorAuthenticatorComponent, TwoFactorComponent, TwoFactorDuoComponent, TwoFactorEmailComponent, TwoFactorOptionsComponent, TwoFactorRecoveryComponent, TwoFactorSetupComponent, TwoFactorVerifyComponent, TwoFactorWebAuthnComponent, TwoFactorYubiKeyComponent, UnsecuredWebsitesReportComponent, UpdateKeyComponent, UpdateLicenseComponent, UpdatePasswordComponent, UpdateTempPasswordComponent, UserBillingComponent, UserLayoutComponent, UserSubscriptionComponent, UserVerificationComponent, VaultComponent, VaultTimeoutInputComponent, VerifyEmailComponent, VerifyEmailTokenComponent, VerifyRecoverDeleteComponent, WeakPasswordsReportComponent, ], exports: [FooterComponent, NavbarComponent, OrganizationPlansComponent], providers: [DatePipe], bootstrap: [], }) export class OssModule {}