1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Add standalone false to all non migrated (#14797)

Adds standalone: false to all components since Angular is changing the default to true and we'd rather not have the angular PR change 300+ files.
This commit is contained in:
Oscar Hinton
2025-05-15 16:44:07 +02:00
committed by GitHub
parent 623deea4fc
commit ac49e594c1
311 changed files with 350 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ import { GroupView } from "../../core";
@Component({
selector: "app-group-badge",
templateUrl: "group-name-badge.component.html",
standalone: false,
})
export class GroupNameBadgeComponent implements OnChanges {
@Input() selectedGroups: SelectionReadOnlyRequest[];

View File

@@ -26,6 +26,7 @@ import { CollectionFilter } from "../../../../vault/individual-vault/vault-filte
selector: "app-organization-vault-filter",
templateUrl:
"../../../../vault/individual-vault/vault-filter/components/vault-filter.component.html",
standalone: false,
})
export class VaultFilterComponent
extends BaseVaultFilterComponent

View File

@@ -9,6 +9,7 @@ import { AccountService } from "@bitwarden/common/auth/abstractions/account.serv
@Component({
selector: "app-org-info",
templateUrl: "organization-information.component.html",
standalone: false,
})
export class OrganizationInformationComponent implements OnInit {
@Input() nameOnly = false;

View File

@@ -21,16 +21,19 @@ import { isEnterpriseOrgGuard } from "./is-enterprise-org.guard";
@Component({
template: "<h1>This is the home screen!</h1>",
standalone: false,
})
export class HomescreenComponent {}
@Component({
template: "<h1>This component can only be accessed by a enterprise organization!</h1>",
standalone: false,
})
export class IsEnterpriseOrganizationComponent {}
@Component({
template: "<h1>This is the organization upgrade screen!</h1>",
standalone: false,
})
export class OrganizationUpgradeScreenComponent {}

View File

@@ -20,16 +20,19 @@ import { isPaidOrgGuard } from "./is-paid-org.guard";
@Component({
template: "<h1>This is the home screen!</h1>",
standalone: false,
})
export class HomescreenComponent {}
@Component({
template: "<h1>This component can only be accessed by a paid organization!</h1>",
standalone: false,
})
export class PaidOrganizationOnlyComponent {}
@Component({
template: "<h1>This is the organization upgrade screen!</h1>",
standalone: false,
})
export class OrganizationUpgradeScreenComponent {}

View File

@@ -19,16 +19,19 @@ import { organizationRedirectGuard } from "./org-redirect.guard";
@Component({
template: "<h1>This is the home screen!</h1>",
standalone: false,
})
export class HomescreenComponent {}
@Component({
template: "<h1>This is the admin console!</h1>",
standalone: false,
})
export class AdminConsoleComponent {}
@Component({
template: "<h1> This is a subroute of the admin console!</h1>",
standalone: false,
})
export class AdminConsoleSubrouteComponent {}

View File

@@ -48,6 +48,7 @@ const EVENT_SYSTEM_USER_TO_TRANSLATION: Record<EventSystemUser, string> = {
@Component({
selector: "app-org-events",
templateUrl: "events.component.html",
standalone: false,
})
export class EventsComponent extends BaseEventsComponent implements OnInit, OnDestroy {
exportFileName = "org-events";

View File

@@ -110,6 +110,7 @@ export const openGroupAddEditDialog = (
@Component({
selector: "app-group-add-edit",
templateUrl: "group-add-edit.component.html",
standalone: false,
})
export class GroupAddEditComponent implements OnInit, OnDestroy {
private organization$ = this.accountService.activeAccount$.pipe(

View File

@@ -75,6 +75,7 @@ const groupsFilter = (filter: string) => {
@Component({
templateUrl: "groups.component.html",
standalone: false,
})
export class GroupsComponent {
loading = true;

View File

@@ -18,6 +18,7 @@ export type UserConfirmDialogData = {
@Component({
selector: "app-user-confirm",
templateUrl: "user-confirm.component.html",
standalone: false,
})
export class UserConfirmComponent implements OnInit {
name: string;

View File

@@ -33,6 +33,7 @@ type BulkConfirmDialogParams = {
@Component({
templateUrl: "bulk-confirm-dialog.component.html",
standalone: false,
})
export class BulkConfirmDialogComponent extends BaseBulkConfirmComponent {
organizationId: string;

View File

@@ -18,6 +18,7 @@ type BulkDeleteDialogParams = {
@Component({
templateUrl: "bulk-delete-dialog.component.html",
standalone: false,
})
export class BulkDeleteDialogComponent {
organizationId: string;

View File

@@ -22,6 +22,7 @@ export type BulkEnableSecretsManagerDialogData = {
@Component({
templateUrl: `bulk-enable-sm-dialog.component.html`,
standalone: false,
})
export class BulkEnableSecretsManagerDialogComponent implements OnInit {
protected dataSource = new TableDataSource<OrganizationUserView>();

View File

@@ -21,6 +21,7 @@ type BulkRemoveDialogParams = {
@Component({
templateUrl: "bulk-remove-dialog.component.html",
standalone: false,
})
export class BulkRemoveDialogComponent extends BaseBulkRemoveComponent {
organizationId: string;

View File

@@ -18,6 +18,7 @@ type BulkRestoreDialogParams = {
@Component({
selector: "app-bulk-restore-revoke",
templateUrl: "bulk-restore-revoke.component.html",
standalone: false,
})
export class BulkRestoreRevokeComponent {
isRevoking: boolean;

View File

@@ -41,6 +41,7 @@ type BulkStatusDialogData = {
@Component({
selector: "app-bulk-status",
templateUrl: "bulk-status.component.html",
standalone: false,
})
export class BulkStatusComponent implements OnInit {
users: BulkStatusEntry[];

View File

@@ -106,6 +106,7 @@ export enum MemberDialogResult {
@Component({
templateUrl: "member-dialog.component.html",
standalone: false,
})
export class MemberDialogComponent implements OnDestroy {
loading = true;

View File

@@ -10,6 +10,7 @@ import { Utils } from "@bitwarden/common/platform/misc/utils";
@Component({
selector: "app-nested-checkbox",
templateUrl: "nested-checkbox.component.html",
standalone: false,
})
export class NestedCheckboxComponent implements OnInit, OnDestroy {
private destroy$ = new Subject<void>();

View File

@@ -59,6 +59,7 @@ export enum ResetPasswordDialogResult {
@Component({
selector: "app-reset-password",
templateUrl: "reset-password.component.html",
standalone: false,
})
/**
* Used in a dialog for initiating the account recovery process against a

View File

@@ -88,6 +88,7 @@ class MembersTableDataSource extends PeopleTableDataSource<OrganizationUserView>
@Component({
templateUrl: "members.component.html",
standalone: false,
})
export class MembersComponent extends BaseMembersComponent<OrganizationUserView> {
userType = OrganizationUserType;

View File

@@ -14,5 +14,6 @@ export class DisableSendPolicy extends BasePolicy {
@Component({
selector: "policy-disable-send",
templateUrl: "disable-send.component.html",
standalone: false,
})
export class DisableSendPolicyComponent extends BasePolicyComponent {}

View File

@@ -28,6 +28,7 @@ export class MasterPasswordPolicy extends BasePolicy {
@Component({
selector: "policy-master-password",
templateUrl: "master-password.component.html",
standalone: false,
})
export class MasterPasswordPolicyComponent extends BasePolicyComponent implements OnInit {
MinPasswordLength = Utils.minimumPasswordLength;

View File

@@ -21,6 +21,7 @@ export class PasswordGeneratorPolicy extends BasePolicy {
@Component({
selector: "policy-password-generator",
templateUrl: "password-generator.component.html",
standalone: false,
})
export class PasswordGeneratorPolicyComponent extends BasePolicyComponent {
// these properties forward the application default settings to the UI

View File

@@ -14,5 +14,6 @@ export class PersonalOwnershipPolicy extends BasePolicy {
@Component({
selector: "policy-personal-ownership",
templateUrl: "personal-ownership.component.html",
standalone: false,
})
export class PersonalOwnershipPolicyComponent extends BasePolicyComponent {}

View File

@@ -31,6 +31,7 @@ import { PolicyEditComponent, PolicyEditDialogResult } from "./policy-edit.compo
@Component({
selector: "app-org-policies",
templateUrl: "policies.component.html",
standalone: false,
})
export class PoliciesComponent implements OnInit {
loading = true;

View File

@@ -50,6 +50,7 @@ export enum PolicyEditDialogResult {
@Component({
selector: "app-policy-edit",
templateUrl: "policy-edit.component.html",
standalone: false,
})
export class PolicyEditComponent implements AfterViewInit {
@ViewChild("policyForm", { read: ViewContainerRef, static: true })

View File

@@ -14,5 +14,6 @@ export class RemoveUnlockWithPinPolicy extends BasePolicy {
@Component({
selector: "remove-unlock-with-pin",
templateUrl: "remove-unlock-with-pin.component.html",
standalone: false,
})
export class RemoveUnlockWithPinPolicyComponent extends BasePolicyComponent {}

View File

@@ -19,5 +19,6 @@ export class RequireSsoPolicy extends BasePolicy {
@Component({
selector: "policy-require-sso",
templateUrl: "require-sso.component.html",
standalone: false,
})
export class RequireSsoPolicyComponent extends BasePolicyComponent {}

View File

@@ -27,6 +27,7 @@ export class ResetPasswordPolicy extends BasePolicy {
@Component({
selector: "policy-reset-password",
templateUrl: "reset-password.component.html",
standalone: false,
})
export class ResetPasswordPolicyComponent extends BasePolicyComponent implements OnInit {
data = this.formBuilder.group({

View File

@@ -15,6 +15,7 @@ export class SendOptionsPolicy extends BasePolicy {
@Component({
selector: "policy-send-options",
templateUrl: "send-options.component.html",
standalone: false,
})
export class SendOptionsPolicyComponent extends BasePolicyComponent {
data = this.formBuilder.group({

View File

@@ -14,6 +14,7 @@ export class SingleOrgPolicy extends BasePolicy {
@Component({
selector: "policy-single-org",
templateUrl: "single-org.component.html",
standalone: false,
})
export class SingleOrgPolicyComponent extends BasePolicyComponent implements OnInit {
async ngOnInit() {

View File

@@ -14,5 +14,6 @@ export class TwoFactorAuthenticationPolicy extends BasePolicy {
@Component({
selector: "policy-two-factor-authentication",
templateUrl: "two-factor-authentication.component.html",
standalone: false,
})
export class TwoFactorAuthenticationPolicyComponent extends BasePolicyComponent {}

View File

@@ -17,6 +17,7 @@ import { ReportVariant, reports, ReportType, ReportEntry } from "../../../dirt/r
@Component({
selector: "app-org-reports-home",
templateUrl: "reports-home.component.html",
standalone: false,
})
export class ReportsHomeComponent implements OnInit {
reports$: Observable<ReportEntry[]>;

View File

@@ -41,6 +41,7 @@ import { DeleteOrganizationDialogResult, openDeleteOrganizationDialog } from "./
@Component({
selector: "app-org-account",
templateUrl: "account.component.html",
standalone: false,
})
export class AccountComponent implements OnInit, OnDestroy {
selfHosted = false;

View File

@@ -29,6 +29,7 @@ import { TwoFactorVerifyComponent } from "../../../auth/settings/two-factor/two-
@Component({
selector: "app-two-factor-setup",
templateUrl: "../../../auth/settings/two-factor/two-factor-setup.component.html",
standalone: false,
})
export class TwoFactorSetupComponent extends BaseTwoFactorSetupComponent implements OnInit {
tabbedHeader = false;

View File

@@ -55,6 +55,7 @@ export enum PermissionMode {
multi: true,
},
],
standalone: false,
})
export class AccessSelectorComponent implements ControlValueAccessor, OnInit, OnDestroy {
private destroy$ = new Subject<void>();

View File

@@ -5,6 +5,7 @@ import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.servic
@Pipe({
name: "userType",
standalone: false,
})
export class UserTypePipe implements PipeTransform {
constructor(private i18nService: I18nService) {}

View File

@@ -19,6 +19,7 @@ import { BaseAcceptComponent } from "../../../common/base.accept.component";
@Component({
selector: "app-accept-family-sponsorship",
templateUrl: "accept-family-sponsorship.component.html",
standalone: false,
})
export class AcceptFamilySponsorshipComponent extends BaseAcceptComponent {
protected logo = BitwardenLogo;

View File

@@ -49,6 +49,7 @@ const IdleTimeout = 60000 * 10; // 10 minutes
@Component({
selector: "app-root",
templateUrl: "app.component.html",
standalone: false,
})
export class AppComponent implements OnDestroy, OnInit {
private lastActivity: Date = null;

View File

@@ -13,16 +13,19 @@ import { deepLinkGuard } from "./deep-link.guard";
@Component({
template: "",
standalone: false,
})
export class GuardedRouteTestComponent {}
@Component({
template: "",
standalone: false,
})
export class LockTestComponent {}
@Component({
template: "",
standalone: false,
})
export class RedirectTestComponent {}

View File

@@ -7,6 +7,7 @@ import { CreatePasskeyIcon } from "@bitwarden/angular/auth/icons/create-passkey.
@Component({
selector: "app-login-via-webauthn",
templateUrl: "login-via-webauthn.component.html",
standalone: false,
})
export class LoginViaWebAuthnComponent extends BaseLoginViaWebAuthnComponent {
protected readonly Icons = { CreatePasskeyIcon, CreatePasskeyFailedIcon };

View File

@@ -14,6 +14,7 @@ import { OrganizationInvite } from "./organization-invite";
@Component({
templateUrl: "accept-organization.component.html",
standalone: false,
})
export class AcceptOrganizationComponent extends BaseAcceptComponent {
orgName$ = this.acceptOrganizationInviteService.orgName$;

View File

@@ -13,6 +13,7 @@ import { ToastService } from "@bitwarden/components";
@Component({
selector: "app-recover-delete",
templateUrl: "recover-delete.component.html",
standalone: false,
})
export class RecoverDeleteComponent {
protected recoverDeleteForm = new FormGroup({

View File

@@ -16,6 +16,7 @@ import { ToastService } from "@bitwarden/components";
@Component({
selector: "app-recover-two-factor",
templateUrl: "recover-two-factor.component.html",
standalone: false,
})
export class RecoverTwoFactorComponent implements OnInit {
protected formGroup = new FormGroup({

View File

@@ -11,6 +11,7 @@ import { AcceptOrganizationInviteService } from "./organization-invite/accept-or
@Component({
selector: "app-set-password",
templateUrl: "set-password.component.html",
standalone: false,
})
export class SetPasswordComponent extends BaseSetPasswordComponent {
routerService = inject(RouterService);

View File

@@ -17,6 +17,7 @@ import { SetAccountVerifyDevicesDialogComponent } from "./set-account-verify-dev
@Component({
selector: "app-account",
templateUrl: "account.component.html",
standalone: false,
})
export class AccountComponent implements OnInit, OnDestroy {
private destroy$ = new Subject<void>();

View File

@@ -31,6 +31,7 @@ type ChangeAvatarDialogData = {
@Component({
templateUrl: "change-avatar-dialog.component.html",
encapsulation: ViewEncapsulation.None,
standalone: false,
})
export class ChangeAvatarDialogComponent implements OnInit, OnDestroy {
profile: ProfileResponse;

View File

@@ -17,6 +17,7 @@ import { KdfConfigService, KeyService } from "@bitwarden/key-management";
@Component({
selector: "app-change-email",
templateUrl: "change-email.component.html",
standalone: false,
})
export class ChangeEmailComponent implements OnInit {
tokenSent = false;

View File

@@ -12,6 +12,7 @@ import { DialogService, ToastService } from "@bitwarden/components";
@Component({
selector: "app-deauthorize-sessions",
templateUrl: "deauthorize-sessions.component.html",
standalone: false,
})
export class DeauthorizeSessionsComponent {
deauthForm = this.formBuilder.group({

View File

@@ -11,6 +11,7 @@ import { DialogRef, DialogService, ToastService } from "@bitwarden/components";
@Component({
templateUrl: "delete-account-dialog.component.html",
standalone: false,
})
export class DeleteAccountDialogComponent {
deleteForm = this.formBuilder.group({

View File

@@ -19,6 +19,7 @@ import { ChangeAvatarDialogComponent } from "./change-avatar-dialog.component";
@Component({
selector: "app-profile",
templateUrl: "profile.component.html",
standalone: false,
})
export class ProfileComponent implements OnInit, OnDestroy {
loading = true;

View File

@@ -24,6 +24,7 @@ import { Component, EventEmitter, Input, Output } from "@angular/core";
>
</bit-avatar>
</span>`,
standalone: false,
})
export class SelectableAvatarComponent {
@Input() id: string;

View File

@@ -32,6 +32,7 @@ import { UserKeyRotationService } from "../../key-management/key-rotation/user-k
@Component({
selector: "app-change-password",
templateUrl: "change-password.component.html",
standalone: false,
})
export class ChangePasswordComponent
extends BaseChangePasswordComponent

View File

@@ -26,6 +26,7 @@ type EmergencyAccessConfirmDialogData = {
@Component({
selector: "emergency-access-confirm",
templateUrl: "emergency-access-confirm.component.html",
standalone: false,
})
export class EmergencyAccessConfirmComponent implements OnInit {
loading = true;

View File

@@ -36,6 +36,7 @@ export enum EmergencyAccessAddEditDialogResult {
@Component({
selector: "emergency-access-add-edit",
templateUrl: "emergency-access-add-edit.component.html",
standalone: false,
})
export class EmergencyAccessAddEditComponent implements OnInit {
loading = true;

View File

@@ -42,6 +42,7 @@ import {
@Component({
selector: "emergency-access",
templateUrl: "emergency-access.component.html",
standalone: false,
})
export class EmergencyAccessComponent implements OnInit {
loaded = false;

View File

@@ -40,6 +40,7 @@ type EmergencyAccessTakeoverDialogData = {
@Component({
selector: "emergency-access-takeover",
templateUrl: "emergency-access-takeover.component.html",
standalone: false,
})
export class EmergencyAccessTakeoverComponent
extends ChangePasswordComponent

View File

@@ -15,6 +15,7 @@ import { EmergencyViewDialogComponent } from "./emergency-view-dialog.component"
selector: "emergency-access-view",
templateUrl: "emergency-access-view.component.html",
providers: [{ provide: CipherFormConfigService, useClass: DefaultCipherFormConfigService }],
standalone: false,
})
export class EmergencyAccessViewComponent implements OnInit {
id: EmergencyAccessId | null = null;

View File

@@ -23,6 +23,7 @@ export type ApiKeyDialogData = {
@Component({
selector: "app-api-key",
templateUrl: "api-key.component.html",
standalone: false,
})
export class ApiKeyComponent {
clientId: string;

View File

@@ -16,6 +16,7 @@ import { KdfConfig, KdfType, KeyService } from "@bitwarden/key-management";
@Component({
selector: "app-change-kdf-confirmation",
templateUrl: "change-kdf-confirmation.component.html",
standalone: false,
})
export class ChangeKdfConfirmationComponent {
kdfConfig: KdfConfig;

View File

@@ -21,6 +21,7 @@ import { ChangeKdfConfirmationComponent } from "./change-kdf-confirmation.compon
@Component({
selector: "app-change-kdf",
templateUrl: "change-kdf.component.html",
standalone: false,
})
export class ChangeKdfComponent implements OnInit, OnDestroy {
kdfConfig: KdfConfig = DEFAULT_KDF_CONFIG;

View File

@@ -13,6 +13,7 @@ import { ApiKeyComponent } from "./api-key.component";
@Component({
selector: "app-security-keys",
templateUrl: "security-keys.component.html",
standalone: false,
})
export class SecurityKeysComponent implements OnInit {
showChangeKdf = true;

View File

@@ -6,6 +6,7 @@ import { ConfigService } from "@bitwarden/common/platform/abstractions/config/co
@Component({
selector: "app-security",
templateUrl: "security.component.html",
standalone: false,
})
export class SecurityComponent implements OnInit {
showChangePassword = true;

View File

@@ -33,6 +33,7 @@ type Step =
@Component({
templateUrl: "create-credential-dialog.component.html",
standalone: false,
})
export class CreateCredentialDialogComponent implements OnInit {
protected readonly NameMaxCharacters = 50;

View File

@@ -26,6 +26,7 @@ export interface DeleteCredentialDialogParams {
@Component({
templateUrl: "delete-credential-dialog.component.html",
standalone: false,
})
export class DeleteCredentialDialogComponent implements OnInit, OnDestroy {
private destroy$ = new Subject<void>();

View File

@@ -23,6 +23,7 @@ export interface EnableEncryptionDialogParams {
@Component({
templateUrl: "enable-encryption-dialog.component.html",
standalone: false,
})
export class EnableEncryptionDialogComponent implements OnInit, OnDestroy {
private destroy$ = new Subject<void>();

View File

@@ -23,6 +23,7 @@ import { openEnableCredentialDialogComponent } from "./enable-encryption-dialog/
host: {
"aria-live": "polite",
},
standalone: false,
})
export class WebauthnLoginSettingsComponent implements OnInit, OnDestroy {
private destroy$ = new Subject<void>();

View File

@@ -23,6 +23,7 @@ import {
*/
@Component({
templateUrl: "user-verification-prompt.component.html",
standalone: false,
})
export class UserVerificationPromptComponent extends BaseUserVerificationPrompt {
constructor(

View File

@@ -23,5 +23,6 @@ import { UserVerificationComponent as BaseComponent } from "@bitwarden/angular/a
transition(":enter", [style({ opacity: 0 }), animate("100ms", style({ opacity: 1 }))]),
]),
],
standalone: false,
})
export class UserVerificationComponent extends BaseComponent {}

View File

@@ -9,6 +9,7 @@ import { AcceptOrganizationInviteService } from "./organization-invite/accept-or
@Component({
selector: "app-update-password",
templateUrl: "update-password.component.html",
standalone: false,
})
export class UpdatePasswordComponent extends BaseUpdatePasswordComponent {
private routerService = inject(RouterService);

View File

@@ -5,5 +5,6 @@ import { UpdateTempPasswordComponent as BaseUpdateTempPasswordComponent } from "
@Component({
selector: "app-update-temp-password",
templateUrl: "update-temp-password.component.html",
standalone: false,
})
export class UpdateTempPasswordComponent extends BaseUpdateTempPasswordComponent {}

View File

@@ -15,6 +15,7 @@ import { ToastService } from "@bitwarden/components";
@Component({
selector: "app-verify-email-token",
templateUrl: "verify-email-token.component.html",
standalone: false,
})
export class VerifyEmailTokenComponent implements OnInit {
constructor(

View File

@@ -14,6 +14,7 @@ import { ToastService } from "@bitwarden/components";
@Component({
selector: "app-verify-recover-delete",
templateUrl: "verify-recover-delete.component.html",
standalone: false,
})
export class VerifyRecoverDeleteComponent implements OnInit {
email: string;

View File

@@ -12,6 +12,7 @@ import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/pl
@Component({
templateUrl: "billing-history-view.component.html",
standalone: false,
})
export class BillingHistoryViewComponent implements OnInit {
loading = false;

View File

@@ -25,6 +25,7 @@ import { TaxInfoComponent } from "../../shared/tax-info.component";
@Component({
templateUrl: "./premium.component.html",
standalone: false,
})
export class PremiumComponent {
@ViewChild(PaymentComponent) paymentComponent: PaymentComponent;

View File

@@ -9,6 +9,7 @@ import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/pl
@Component({
templateUrl: "subscription.component.html",
standalone: false,
})
export class SubscriptionComponent implements OnInit {
hasPremium$: Observable<boolean>;

View File

@@ -28,6 +28,7 @@ import { UpdateLicenseDialogResult } from "../shared/update-license-types";
@Component({
templateUrl: "user-subscription.component.html",
standalone: false,
})
export class UserSubscriptionComponent implements OnInit {
loading = false;

View File

@@ -23,6 +23,7 @@ import { AddSponsorshipDialogComponent } from "./add-sponsorship-dialog.componen
@Component({
selector: "app-free-bitwarden-families",
templateUrl: "free-bitwarden-families.component.html",
standalone: false,
})
export class FreeBitwardenFamiliesComponent implements OnInit {
loading = signal<boolean>(true);

View File

@@ -19,6 +19,7 @@ import { ToastService } from "@bitwarden/components";
@Component({
selector: "app-adjust-subscription",
templateUrl: "adjust-subscription.component.html",
standalone: false,
})
export class AdjustSubscription implements OnInit, OnDestroy {
@Input() organizationId: string;

View File

@@ -22,6 +22,7 @@ export interface BillingSyncApiModalData {
@Component({
templateUrl: "billing-sync-api-key.component.html",
standalone: false,
})
export class BillingSyncApiKeyComponent {
protected organizationId: string;

View File

@@ -21,6 +21,7 @@ export interface BillingSyncKeyModalData {
@Component({
templateUrl: "billing-sync-key.component.html",
standalone: false,
})
export class BillingSyncKeyComponent {
protected entityId: string;

View File

@@ -9,6 +9,7 @@ import { LogService } from "@bitwarden/common/platform/abstractions/log.service"
@Component({
selector: "app-change-plan",
templateUrl: "change-plan.component.html",
standalone: false,
})
export class ChangePlanComponent {
@Input() organizationId: string;

View File

@@ -20,6 +20,7 @@ type DownloadLicenseDialogData = {
@Component({
templateUrl: "download-license.component.html",
standalone: false,
})
export class DownloadLicenceDialogComponent {
licenseForm = this.formBuilder.group({

View File

@@ -12,6 +12,7 @@ import {
@Component({
templateUrl: "organization-billing-history-view.component.html",
standalone: false,
})
export class OrgBillingHistoryViewComponent implements OnInit, OnDestroy {
loading = false;

View File

@@ -44,6 +44,7 @@ import { SecretsManagerSubscriptionOptions } from "./sm-adjust-subscription.comp
@Component({
templateUrl: "organization-subscription-cloud.component.html",
standalone: false,
})
export class OrganizationSubscriptionCloudComponent implements OnInit, OnDestroy {
static readonly QUERY_PARAM_UPGRADE: string = "upgrade";

View File

@@ -36,6 +36,7 @@ enum LicenseOptions {
@Component({
templateUrl: "organization-subscription-selfhost.component.html",
standalone: false,
})
export class OrganizationSubscriptionSelfhostComponent implements OnInit, OnDestroy {
subscription: SelfHostedOrganizationSubscriptionView;

View File

@@ -37,6 +37,7 @@ import { FreeTrial } from "../../types/free-trial";
@Component({
templateUrl: "./organization-payment-method.component.html",
standalone: false,
})
export class OrganizationPaymentMethodComponent implements OnDestroy {
organizationId: string;

View File

@@ -59,6 +59,7 @@ export interface SecretsManagerSubscriptionOptions {
@Component({
selector: "app-sm-adjust-subscription",
templateUrl: "sm-adjust-subscription.component.html",
standalone: false,
})
export class SecretsManagerAdjustSubscriptionComponent implements OnInit, OnDestroy {
@Input() organizationId: string;

View File

@@ -23,6 +23,7 @@ import { secretsManagerSubscribeFormFactory } from "../shared";
@Component({
selector: "sm-subscribe-standalone",
templateUrl: "sm-subscribe-standalone.component.html",
standalone: false,
})
export class SecretsManagerSubscribeStandaloneComponent {
@Input() plan: PlanResponse;

View File

@@ -34,6 +34,7 @@ const SubscriptionHiddenIcon = svgIcon`
<p class="tw-font-bold">{{ "billingManagedByProvider" | i18n: providerName }}</p>
<p>{{ "billingContactProviderForAssistance" | i18n }}</p>
</div>`,
standalone: false,
})
export class SubscriptionHiddenComponent {
@Input() providerName: string;

View File

@@ -26,6 +26,7 @@ type ComponentData = {
@Component({
selector: "app-subscription-status",
templateUrl: "subscription-status.component.html",
standalone: false,
})
export class SubscriptionStatusComponent {
@Input({ required: true }) organizationSubscriptionResponse: OrganizationSubscriptionResponse;

View File

@@ -36,6 +36,7 @@ interface RequestSponsorshipForm {
@Component({
selector: "app-sponsored-families",
templateUrl: "sponsored-families.component.html",
standalone: false,
})
export class SponsoredFamiliesComponent implements OnInit, OnDestroy {
loading = false;

View File

@@ -18,6 +18,7 @@ import { DialogService, ToastService } from "@bitwarden/components";
@Component({
selector: "[sponsoring-org-row]",
templateUrl: "sponsoring-org-row.component.html",
standalone: false,
})
export class SponsoringOrgRowComponent implements OnInit {
@Input() sponsoringOrg: Organization = null;

View File

@@ -35,6 +35,7 @@ export type PayPalConfig = {
@Component({
templateUrl: "add-credit-dialog.component.html",
standalone: false,
})
export class AddCreditDialogComponent implements OnInit {
@ViewChild("ppButtonForm", { read: ElementRef, static: true }) ppButtonFormRef: ElementRef;

View File

@@ -39,6 +39,7 @@ export enum AdjustPaymentDialogResultType {
@Component({
templateUrl: "./adjust-payment-dialog.component.html",
standalone: false,
})
export class AdjustPaymentDialogComponent implements OnInit {
@ViewChild(PaymentComponent) paymentComponent: PaymentComponent;

View File

@@ -31,6 +31,7 @@ export enum AdjustStorageDialogResultType {
@Component({
templateUrl: "./adjust-storage-dialog.component.html",
standalone: false,
})
export class AdjustStorageDialogComponent {
protected formGroup = new FormGroup({

View File

@@ -11,6 +11,7 @@ import {
@Component({
selector: "app-billing-history",
templateUrl: "billing-history.component.html",
standalone: false,
})
export class BillingHistoryComponent {
@Input()

View File

@@ -49,6 +49,7 @@ export const openOffboardingSurvey = (
@Component({
selector: "app-cancel-subscription-form",
templateUrl: "offboarding-survey.component.html",
standalone: false,
})
export class OffboardingSurveyComponent {
protected ResultType = OffboardingSurveyDialogResultType;

View File

@@ -35,6 +35,7 @@ import {
@Component({
templateUrl: "payment-method.component.html",
standalone: false,
})
export class PaymentMethodComponent implements OnInit, OnDestroy {
loading = false;

View File

@@ -17,6 +17,7 @@ import { AbstractSelfHostingLicenseUploaderComponent } from "../../shared/self-h
@Component({
selector: "individual-self-hosting-license-uploader",
templateUrl: "./self-hosting-license-uploader.component.html",
standalone: false,
})
export class IndividualSelfHostingLicenseUploaderComponent extends AbstractSelfHostingLicenseUploaderComponent {
/**

Some files were not shown because too many files have changed in this diff Show More