From 8967fc21db417473c319f0402ab81b98bc703b8a Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Mon, 2 Jun 2025 21:40:06 +0200 Subject: [PATCH] Remove standalone true from billing (#15038) --- apps/browser/src/billing/popup/settings/premium-v2.component.ts | 1 - .../accounts/trial-initiation/trial-billing-step.component.ts | 1 - .../src/app/billing/members/add-sponsorship-dialog.component.ts | 1 - .../app/billing/organizations/change-plan-dialog.component.ts | 1 - .../app/billing/organizations/organization-plans.component.ts | 1 - .../billing/shared/billing-free-families-nav-item.component.ts | 1 - .../src/app/billing/shared/payment/payment-label.component.ts | 1 - apps/web/src/app/billing/shared/payment/payment.component.ts | 1 - apps/web/src/app/billing/shared/tax-info.component.ts | 1 - .../shared/verify-bank-account/verify-bank-account.component.ts | 1 - .../web/src/app/billing/warnings/free-trial-warning.component.ts | 1 - .../app/billing/warnings/reseller-renewal-warning.component.ts | 1 - .../app/billing/providers/clients/manage-clients.component.ts | 1 - .../src/app/billing/providers/clients/no-clients.component.ts | 1 - .../bit-web/src/app/billing/providers/clients/replace.pipe.ts | 1 - 15 files changed, 15 deletions(-) diff --git a/apps/browser/src/billing/popup/settings/premium-v2.component.ts b/apps/browser/src/billing/popup/settings/premium-v2.component.ts index ff0e8efd64..fde4468834 100644 --- a/apps/browser/src/billing/popup/settings/premium-v2.component.ts +++ b/apps/browser/src/billing/popup/settings/premium-v2.component.ts @@ -29,7 +29,6 @@ import { PopupPageComponent } from "../../../platform/popup/layout/popup-page.co @Component({ selector: "app-premium", templateUrl: "premium-v2.component.html", - standalone: true, imports: [ ButtonModule, CardComponent, diff --git a/apps/web/src/app/billing/accounts/trial-initiation/trial-billing-step.component.ts b/apps/web/src/app/billing/accounts/trial-initiation/trial-billing-step.component.ts index 63c4213964..fda7faeeb2 100644 --- a/apps/web/src/app/billing/accounts/trial-initiation/trial-billing-step.component.ts +++ b/apps/web/src/app/billing/accounts/trial-initiation/trial-billing-step.component.ts @@ -68,7 +68,6 @@ export enum SubscriptionProduct { selector: "app-trial-billing-step", templateUrl: "trial-billing-step.component.html", imports: [BillingSharedModule], - standalone: true, }) export class TrialBillingStepComponent implements OnInit, OnDestroy { @ViewChild(PaymentComponent) paymentComponent: PaymentComponent; diff --git a/apps/web/src/app/billing/members/add-sponsorship-dialog.component.ts b/apps/web/src/app/billing/members/add-sponsorship-dialog.component.ts index 7e6c0d464c..f3c01e41db 100644 --- a/apps/web/src/app/billing/members/add-sponsorship-dialog.component.ts +++ b/apps/web/src/app/billing/members/add-sponsorship-dialog.component.ts @@ -38,7 +38,6 @@ interface AddSponsorshipDialogParams { @Component({ templateUrl: "add-sponsorship-dialog.component.html", - standalone: true, imports: [ JslibModule, ButtonModule, diff --git a/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts b/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts index a6e8670d94..f6e271f234 100644 --- a/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts +++ b/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts @@ -109,7 +109,6 @@ interface OnSuccessArgs { @Component({ templateUrl: "./change-plan-dialog.component.html", - standalone: true, imports: [BillingSharedModule], }) export class ChangePlanDialogComponent implements OnInit, OnDestroy { diff --git a/apps/web/src/app/billing/organizations/organization-plans.component.ts b/apps/web/src/app/billing/organizations/organization-plans.component.ts index aad3b8df76..ca8db39a04 100644 --- a/apps/web/src/app/billing/organizations/organization-plans.component.ts +++ b/apps/web/src/app/billing/organizations/organization-plans.component.ts @@ -77,7 +77,6 @@ const Allowed2020PlansForLegacyProviders = [ @Component({ selector: "app-organization-plans", templateUrl: "organization-plans.component.html", - standalone: true, imports: [BillingSharedModule, OrganizationCreateModule], }) export class OrganizationPlansComponent implements OnInit, OnDestroy { diff --git a/apps/web/src/app/billing/shared/billing-free-families-nav-item.component.ts b/apps/web/src/app/billing/shared/billing-free-families-nav-item.component.ts index ad32264527..60b46c2b64 100644 --- a/apps/web/src/app/billing/shared/billing-free-families-nav-item.component.ts +++ b/apps/web/src/app/billing/shared/billing-free-families-nav-item.component.ts @@ -10,7 +10,6 @@ import { BillingSharedModule } from "./billing-shared.module"; @Component({ selector: "billing-free-families-nav-item", templateUrl: "./billing-free-families-nav-item.component.html", - standalone: true, imports: [NavigationModule, BillingSharedModule], }) export class BillingFreeFamiliesNavItemComponent { diff --git a/apps/web/src/app/billing/shared/payment/payment-label.component.ts b/apps/web/src/app/billing/shared/payment/payment-label.component.ts index 80a4087456..025727d1d1 100644 --- a/apps/web/src/app/billing/shared/payment/payment-label.component.ts +++ b/apps/web/src/app/billing/shared/payment/payment-label.component.ts @@ -14,7 +14,6 @@ import { SharedModule } from "../../../shared"; @Component({ selector: "app-payment-label", templateUrl: "./payment-label.component.html", - standalone: true, imports: [FormFieldModule, SharedModule], }) export class PaymentLabelComponent { diff --git a/apps/web/src/app/billing/shared/payment/payment.component.ts b/apps/web/src/app/billing/shared/payment/payment.component.ts index 75db7779a0..afb67dec88 100644 --- a/apps/web/src/app/billing/shared/payment/payment.component.ts +++ b/apps/web/src/app/billing/shared/payment/payment.component.ts @@ -22,7 +22,6 @@ import { PaymentLabelComponent } from "./payment-label.component"; @Component({ selector: "app-payment", templateUrl: "./payment.component.html", - standalone: true, imports: [BillingServicesModule, SharedModule, PaymentLabelComponent], }) export class PaymentComponent implements OnInit, OnDestroy { diff --git a/apps/web/src/app/billing/shared/tax-info.component.ts b/apps/web/src/app/billing/shared/tax-info.component.ts index 74e2ab35cb..35c4a3fcc4 100644 --- a/apps/web/src/app/billing/shared/tax-info.component.ts +++ b/apps/web/src/app/billing/shared/tax-info.component.ts @@ -21,7 +21,6 @@ import { SharedModule } from "../../shared"; @Component({ selector: "app-tax-info", templateUrl: "tax-info.component.html", - standalone: true, imports: [SharedModule], }) export class TaxInfoComponent implements OnInit, OnDestroy { diff --git a/apps/web/src/app/billing/shared/verify-bank-account/verify-bank-account.component.ts b/apps/web/src/app/billing/shared/verify-bank-account/verify-bank-account.component.ts index d2cd473d3d..b7cdfbe60a 100644 --- a/apps/web/src/app/billing/shared/verify-bank-account/verify-bank-account.component.ts +++ b/apps/web/src/app/billing/shared/verify-bank-account/verify-bank-account.component.ts @@ -10,7 +10,6 @@ import { SharedModule } from "../../../shared"; @Component({ selector: "app-verify-bank-account", templateUrl: "./verify-bank-account.component.html", - standalone: true, imports: [SharedModule], }) export class VerifyBankAccountComponent { diff --git a/apps/web/src/app/billing/warnings/free-trial-warning.component.ts b/apps/web/src/app/billing/warnings/free-trial-warning.component.ts index e83873e9d6..b000878bf6 100644 --- a/apps/web/src/app/billing/warnings/free-trial-warning.component.ts +++ b/apps/web/src/app/billing/warnings/free-trial-warning.component.ts @@ -37,7 +37,6 @@ import { } `, - standalone: true, imports: [AnchorLinkDirective, AsyncPipe, BannerComponent, I18nPipe], }) export class FreeTrialWarningComponent implements OnInit { diff --git a/apps/web/src/app/billing/warnings/reseller-renewal-warning.component.ts b/apps/web/src/app/billing/warnings/reseller-renewal-warning.component.ts index fc94e85e28..6bcfba5ce6 100644 --- a/apps/web/src/app/billing/warnings/reseller-renewal-warning.component.ts +++ b/apps/web/src/app/billing/warnings/reseller-renewal-warning.component.ts @@ -27,7 +27,6 @@ import { } `, - standalone: true, imports: [AsyncPipe, BannerComponent], }) export class ResellerRenewalWarningComponent implements OnInit { diff --git a/bitwarden_license/bit-web/src/app/billing/providers/clients/manage-clients.component.ts b/bitwarden_license/bit-web/src/app/billing/providers/clients/manage-clients.component.ts index a57e635134..de9e63cd50 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/clients/manage-clients.component.ts +++ b/bitwarden_license/bit-web/src/app/billing/providers/clients/manage-clients.component.ts @@ -51,7 +51,6 @@ import { ReplacePipe } from "./replace.pipe"; @Component({ templateUrl: "manage-clients.component.html", - standalone: true, imports: [ AvatarModule, TableModule, diff --git a/bitwarden_license/bit-web/src/app/billing/providers/clients/no-clients.component.ts b/bitwarden_license/bit-web/src/app/billing/providers/clients/no-clients.component.ts index 7e4323d760..768f22c573 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/clients/no-clients.component.ts +++ b/bitwarden_license/bit-web/src/app/billing/providers/clients/no-clients.component.ts @@ -24,7 +24,6 @@ const gearIcon = svgIcon` @Component({ selector: "app-no-clients", - standalone: true, imports: [SharedOrganizationModule], template: `
diff --git a/bitwarden_license/bit-web/src/app/billing/providers/clients/replace.pipe.ts b/bitwarden_license/bit-web/src/app/billing/providers/clients/replace.pipe.ts index 4a06e85f53..ad8c6a8940 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/clients/replace.pipe.ts +++ b/bitwarden_license/bit-web/src/app/billing/providers/clients/replace.pipe.ts @@ -2,7 +2,6 @@ import { Pipe, PipeTransform } from "@angular/core"; @Pipe({ name: "replace", - standalone: true, }) export class ReplacePipe implements PipeTransform { transform(value: string, pattern: string, replacement: string): string {