mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Refactor organization reporting to use module
This commit is contained in:
@@ -55,8 +55,6 @@ import { ResetPasswordPolicyComponent } from "../organizations/policies/reset-pa
|
|||||||
import { SendOptionsPolicyComponent } from "../organizations/policies/send-options.component";
|
import { SendOptionsPolicyComponent } from "../organizations/policies/send-options.component";
|
||||||
import { SingleOrgPolicyComponent } from "../organizations/policies/single-org.component";
|
import { SingleOrgPolicyComponent } from "../organizations/policies/single-org.component";
|
||||||
import { TwoFactorAuthenticationPolicyComponent } from "../organizations/policies/two-factor-authentication.component";
|
import { TwoFactorAuthenticationPolicyComponent } from "../organizations/policies/two-factor-authentication.component";
|
||||||
import { ReportListComponent as OrgReportListComponent } from "../organizations/reporting/report-list.component";
|
|
||||||
import { ReportingComponent as OrgReportingComponent } from "../organizations/reporting/reporting.component";
|
|
||||||
import { AccountComponent as OrgAccountComponent } from "../organizations/settings/account.component";
|
import { AccountComponent as OrgAccountComponent } from "../organizations/settings/account.component";
|
||||||
import { AdjustSubscription } from "../organizations/settings/adjust-subscription.component";
|
import { AdjustSubscription } from "../organizations/settings/adjust-subscription.component";
|
||||||
import { ChangePlanComponent } from "../organizations/settings/change-plan.component";
|
import { ChangePlanComponent } from "../organizations/settings/change-plan.component";
|
||||||
@@ -263,8 +261,6 @@ import { OrganizationBadgeModule } from "./vault/modules/organization-badge/orga
|
|||||||
OrgUserConfirmComponent,
|
OrgUserConfirmComponent,
|
||||||
OrgUserGroupsComponent,
|
OrgUserGroupsComponent,
|
||||||
OrgWeakPasswordsReportComponent,
|
OrgWeakPasswordsReportComponent,
|
||||||
OrgReportingComponent,
|
|
||||||
OrgReportListComponent,
|
|
||||||
GeneratorComponent,
|
GeneratorComponent,
|
||||||
PasswordGeneratorHistoryComponent,
|
PasswordGeneratorHistoryComponent,
|
||||||
PasswordGeneratorPolicyComponent,
|
PasswordGeneratorPolicyComponent,
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
|
import { LooseComponentsModule } from "../../loose-components.module";
|
||||||
|
import { SharedModule } from "../../shared.module";
|
||||||
|
|
||||||
|
import { ReportListComponent } from "./report-list.component";
|
||||||
|
import { ReportingComponent } from "./reporting.component";
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [SharedModule, LooseComponentsModule],
|
||||||
|
declarations: [ReportListComponent, ReportingComponent],
|
||||||
|
exports: [ReportListComponent, ReportingComponent],
|
||||||
|
})
|
||||||
|
export class OrganizationReportingModule {}
|
||||||
@@ -2,7 +2,7 @@ import { Component } from "@angular/core";
|
|||||||
import { NavigationEnd, Router } from "@angular/router";
|
import { NavigationEnd, Router } from "@angular/router";
|
||||||
import { filter, Subscription } from "rxjs";
|
import { filter, Subscription } from "rxjs";
|
||||||
|
|
||||||
import { ReportTypes } from "../../reports/report-card.component";
|
import { ReportTypes } from "../../../reports/report-card.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-org-report-list",
|
selector: "app-org-report-list",
|
||||||
@@ -8,6 +8,8 @@ import { OrganizationBillingHistoryComponent } from "../modules/organizations/bi
|
|||||||
import { OrganizationBillingTabComponent } from "../modules/organizations/billing/organization-billing-tab.component";
|
import { OrganizationBillingTabComponent } from "../modules/organizations/billing/organization-billing-tab.component";
|
||||||
import { OrganizationPaymentMethodComponent } from "../modules/organizations/billing/organization-payment-method.component";
|
import { OrganizationPaymentMethodComponent } from "../modules/organizations/billing/organization-payment-method.component";
|
||||||
import { OrganizationSubscriptionComponent } from "../modules/organizations/billing/organization-subscription.component";
|
import { OrganizationSubscriptionComponent } from "../modules/organizations/billing/organization-subscription.component";
|
||||||
|
import { ReportListComponent } from "../modules/organizations/reporting/report-list.component";
|
||||||
|
import { ReportingComponent } from "../modules/organizations/reporting/reporting.component";
|
||||||
import { OrganizationVaultModule } from "../modules/vault/modules/organization-vault/organization-vault.module";
|
import { OrganizationVaultModule } from "../modules/vault/modules/organization-vault/organization-vault.module";
|
||||||
|
|
||||||
import { GroupsComponent } from "./groups/groups.component";
|
import { GroupsComponent } from "./groups/groups.component";
|
||||||
@@ -15,8 +17,6 @@ import { PermissionsGuard } from "./guards/permissions.guard";
|
|||||||
import { OrganizationLayoutComponent } from "./layouts/organization-layout.component";
|
import { OrganizationLayoutComponent } from "./layouts/organization-layout.component";
|
||||||
import { EventsComponent } from "./manage/events.component";
|
import { EventsComponent } from "./manage/events.component";
|
||||||
import { MembersComponent } from "./members/members.component";
|
import { MembersComponent } from "./members/members.component";
|
||||||
import { ReportListComponent } from "./reporting/report-list.component";
|
|
||||||
import { ReportingComponent } from "./reporting/reporting.component";
|
|
||||||
import { NavigationPermissionsService } from "./services/navigation-permissions.service";
|
import { NavigationPermissionsService } from "./services/navigation-permissions.service";
|
||||||
import { AccountComponent } from "./settings/account.component";
|
import { AccountComponent } from "./settings/account.component";
|
||||||
import { SettingsComponent } from "./settings/settings.component";
|
import { SettingsComponent } from "./settings/settings.component";
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { LooseComponentsModule } from "./modules/loose-components.module";
|
|||||||
import { OrganizationBillingModule } from "./modules/organizations/billing/organization-billing.module";
|
import { OrganizationBillingModule } from "./modules/organizations/billing/organization-billing.module";
|
||||||
import { OrganizationCreateModule } from "./modules/organizations/create/organization-create.module";
|
import { OrganizationCreateModule } from "./modules/organizations/create/organization-create.module";
|
||||||
import { OrganizationManageModule } from "./modules/organizations/manage/organization-manage.module";
|
import { OrganizationManageModule } from "./modules/organizations/manage/organization-manage.module";
|
||||||
|
import { OrganizationReportingModule } from "./modules/organizations/reporting/organization-reporting.module";
|
||||||
import { OrganizationUserModule } from "./modules/organizations/users/organization-user.module";
|
import { OrganizationUserModule } from "./modules/organizations/users/organization-user.module";
|
||||||
import { PipesModule } from "./modules/pipes/pipes.module";
|
import { PipesModule } from "./modules/pipes/pipes.module";
|
||||||
import { SharedModule } from "./modules/shared.module";
|
import { SharedModule } from "./modules/shared.module";
|
||||||
@@ -23,6 +24,7 @@ import { OrganizationBadgeModule } from "./modules/vault/modules/organization-ba
|
|||||||
OrganizationUserModule,
|
OrganizationUserModule,
|
||||||
OrganizationCreateModule,
|
OrganizationCreateModule,
|
||||||
OrganizationBillingModule,
|
OrganizationBillingModule,
|
||||||
|
OrganizationReportingModule,
|
||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|||||||
Reference in New Issue
Block a user