mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 21:50:15 +00:00
* Update modules to not import loose-components Instead they should import their dependencies directly. Only OssModule imports loose-components.module.ts. * Remove unused imports and exports
56 lines
3.4 KiB
TypeScript
56 lines
3.4 KiB
TypeScript
import { NgModule } from "@angular/core";
|
|
|
|
import { RecoverDeleteComponent } from "../auth/recover-delete.component";
|
|
import { RecoverTwoFactorComponent } from "../auth/recover-two-factor.component";
|
|
import { VerifyEmailTokenComponent } from "../auth/verify-email-token.component";
|
|
import { VerifyRecoverDeleteComponent } from "../auth/verify-recover-delete.component";
|
|
import { FreeBitwardenFamiliesComponent } from "../billing/members/free-bitwarden-families.component";
|
|
import { SponsoredFamiliesComponent } from "../billing/settings/sponsored-families.component";
|
|
import { SponsoringOrgRowComponent } from "../billing/settings/sponsoring-org-row.component";
|
|
// eslint-disable-next-line no-restricted-imports -- Temporarily disabled until DIRT refactors these out of this module
|
|
import { ExposedPasswordsReportComponent as OrgExposedPasswordsReportComponent } from "../dirt/reports/pages/organizations/exposed-passwords-report.component";
|
|
// eslint-disable-next-line no-restricted-imports -- Temporarily disabled until DIRT refactors these out of this module
|
|
import { InactiveTwoFactorReportComponent as OrgInactiveTwoFactorReportComponent } from "../dirt/reports/pages/organizations/inactive-two-factor-report.component";
|
|
// eslint-disable-next-line no-restricted-imports -- Temporarily disabled until DIRT refactors these out of this module
|
|
import { ReusedPasswordsReportComponent as OrgReusedPasswordsReportComponent } from "../dirt/reports/pages/organizations/reused-passwords-report.component";
|
|
// eslint-disable-next-line no-restricted-imports -- Temporarily disabled until DIRT refactors these out of this module
|
|
import { UnsecuredWebsitesReportComponent as OrgUnsecuredWebsitesReportComponent } from "../dirt/reports/pages/organizations/unsecured-websites-report.component";
|
|
// eslint-disable-next-line no-restricted-imports -- Temporarily disabled until DIRT refactors these out of this module
|
|
import { WeakPasswordsReportComponent as OrgWeakPasswordsReportComponent } from "../dirt/reports/pages/organizations/weak-passwords-report.component";
|
|
import { RemovePasswordComponent } from "../key-management/key-connector/remove-password.component";
|
|
import { HeaderModule } from "../layouts/header/header.module";
|
|
import { OrganizationBadgeModule } from "../vault/individual-vault/organization-badge/organization-badge.module";
|
|
import { PipesModule } from "../vault/individual-vault/pipes/pipes.module";
|
|
|
|
import { SharedModule } from "./shared.module";
|
|
|
|
// Please do not add to this list of declarations - we should refactor these into modules when doing so makes sense until there are none left.
|
|
// If you are building new functionality, please create or extend a feature module instead.
|
|
@NgModule({
|
|
imports: [SharedModule, HeaderModule, OrganizationBadgeModule, PipesModule],
|
|
declarations: [
|
|
OrgExposedPasswordsReportComponent,
|
|
OrgInactiveTwoFactorReportComponent,
|
|
OrgReusedPasswordsReportComponent,
|
|
OrgUnsecuredWebsitesReportComponent,
|
|
OrgWeakPasswordsReportComponent,
|
|
RecoverDeleteComponent,
|
|
RecoverTwoFactorComponent,
|
|
RemovePasswordComponent,
|
|
SponsoredFamiliesComponent,
|
|
FreeBitwardenFamiliesComponent,
|
|
SponsoringOrgRowComponent,
|
|
VerifyEmailTokenComponent,
|
|
VerifyRecoverDeleteComponent,
|
|
],
|
|
exports: [
|
|
RecoverDeleteComponent,
|
|
RecoverTwoFactorComponent,
|
|
RemovePasswordComponent,
|
|
SponsoredFamiliesComponent,
|
|
VerifyEmailTokenComponent,
|
|
VerifyRecoverDeleteComponent,
|
|
],
|
|
})
|
|
export class LooseComponentsModule {}
|