1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00

[AC-1453] Update TrialInitiationModule with new standalone component (#6448)

* import new standalone components directly into TrialInitiationModule instead of
  importing and re-exporting through LooseComponentsModule
This commit is contained in:
Thomas Rittson 2023-10-09 13:06:40 +10:00 committed by GitHub
parent b05b3a2935
commit 21fef9d38d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 13 deletions

View File

@ -6,9 +6,10 @@ import { FormFieldModule } from "@bitwarden/components";
import { OrganizationCreateModule } from "../../admin-console/organizations/create/organization-create.module"; import { OrganizationCreateModule } from "../../admin-console/organizations/create/organization-create.module";
import { RegisterFormModule } from "../../auth/register-form/register-form.module"; import { RegisterFormModule } from "../../auth/register-form/register-form.module";
import { PaymentComponent, TaxInfoComponent } from "../../billing";
import { BillingComponent } from "../../billing/accounts/trial-initiation/billing.component"; import { BillingComponent } from "../../billing/accounts/trial-initiation/billing.component";
import { EnvironmentSelectorModule } from "../../components/environment-selector/environment-selector.module"; import { EnvironmentSelectorModule } from "../../components/environment-selector/environment-selector.module";
import { LooseComponentsModule, SharedModule } from "../../shared"; import { SharedModule } from "../../shared";
import { ConfirmationDetailsComponent } from "./confirmation-details.component"; import { ConfirmationDetailsComponent } from "./confirmation-details.component";
import { AbmEnterpriseContentComponent } from "./content/abm-enterprise-content.component"; import { AbmEnterpriseContentComponent } from "./content/abm-enterprise-content.component";
@ -37,8 +38,9 @@ import { VerticalStepperModule } from "./vertical-stepper/vertical-stepper.modul
FormFieldModule, FormFieldModule,
RegisterFormModule, RegisterFormModule,
OrganizationCreateModule, OrganizationCreateModule,
LooseComponentsModule,
EnvironmentSelectorModule, EnvironmentSelectorModule,
PaymentComponent,
TaxInfoComponent,
], ],
declarations: [ declarations: [
TrialInitiationComponent, TrialInitiationComponent,

View File

@ -51,7 +51,6 @@ import { UpdatePasswordComponent } from "../auth/update-password.component";
import { UpdateTempPasswordComponent } from "../auth/update-temp-password.component"; import { UpdateTempPasswordComponent } from "../auth/update-temp-password.component";
import { VerifyEmailTokenComponent } from "../auth/verify-email-token.component"; import { VerifyEmailTokenComponent } from "../auth/verify-email-token.component";
import { VerifyRecoverDeleteComponent } from "../auth/verify-recover-delete.component"; import { VerifyRecoverDeleteComponent } from "../auth/verify-recover-delete.component";
import { BillingSharedModule } from "../billing/shared";
import { DynamicAvatarComponent } from "../components/dynamic-avatar.component"; import { DynamicAvatarComponent } from "../components/dynamic-avatar.component";
import { SelectableAvatarComponent } from "../components/selectable-avatar.component"; import { SelectableAvatarComponent } from "../components/selectable-avatar.component";
import { FooterComponent } from "../layouts/footer.component"; import { FooterComponent } from "../layouts/footer.component";
@ -107,11 +106,6 @@ import { SharedModule } from "./shared.module";
EnvironmentSelectorModule, EnvironmentSelectorModule,
AccountFingerprintComponent, AccountFingerprintComponent,
PasswordCalloutComponent, PasswordCalloutComponent,
// Temporary export to be removed in AC-1453
// Import PaymentComponent and TaxInfoComponent directly into TrialIniationComponent
// and remove BillingSharedModule here
BillingSharedModule,
], ],
declarations: [ declarations: [
AcceptEmergencyComponent, AcceptEmergencyComponent,
@ -282,11 +276,6 @@ import { SharedModule } from "./shared.module";
VerifyEmailTokenComponent, VerifyEmailTokenComponent,
VerifyRecoverDeleteComponent, VerifyRecoverDeleteComponent,
LowKdfComponent, LowKdfComponent,
// Temporary export to be removed in AC-1453
// Import PaymentComponent and TaxInfoComponent directly into TrialIniationComponent
// and remove BillingSharedModule here
BillingSharedModule,
], ],
}) })
export class LooseComponentsModule {} export class LooseComponentsModule {}