diff --git a/apps/browser/src/platform/popup/layout/popup-header.component.html b/apps/browser/src/platform/popup/layout/popup-header.component.html index fefc71543142f..4fab187076791 100644 --- a/apps/browser/src/platform/popup/layout/popup-header.component.html +++ b/apps/browser/src/platform/popup/layout/popup-header.component.html @@ -4,7 +4,7 @@ 'tw-bg-background-alt tw-border-transparent': this.background === 'alt' && !pageContentScrolled(), 'tw-bg-background tw-border-secondary-300': - (this.background === 'alt' && pageContentScrolled()) || this.background === 'default', + (this.background === 'alt' && pageContentScrolled()) || this.background === 'default' }" >
diff --git a/apps/browser/src/platform/popup/layout/popup-page.component.html b/apps/browser/src/platform/popup/layout/popup-page.component.html index cef86a384921b..e62f9e70f9172 100644 --- a/apps/browser/src/platform/popup/layout/popup-page.component.html +++ b/apps/browser/src/platform/popup/layout/popup-page.component.html @@ -6,7 +6,7 @@ [ngClass]="{ 'tw-invisible': loading || nonScrollable.childElementCount === 0, 'tw-border-secondary-300': scrolled(), - 'tw-border-transparent': !scrolled(), + 'tw-border-transparent': !scrolled() }" > diff --git a/apps/browser/src/vault/popup/components/vault/contact-avatar.component.html b/apps/browser/src/vault/popup/components/vault/contact-avatar.component.html index 4b8ea5d32a036..3107d80615bda 100644 --- a/apps/browser/src/vault/popup/components/vault/contact-avatar.component.html +++ b/apps/browser/src/vault/popup/components/vault/contact-avatar.component.html @@ -8,7 +8,7 @@ 'background-color': backgroundColor, color: 'white', 'text-align': 'center', - 'font-weight': 'bold', + 'font-weight': 'bold' }" > {{ initials }} diff --git a/apps/browser/src/vault/popup/components/vault/view-custom-fields.component.html b/apps/browser/src/vault/popup/components/vault/view-custom-fields.component.html index 77d5209cc7dff..21d96b01f4fd0 100644 --- a/apps/browser/src/vault/popup/components/vault/view-custom-fields.component.html +++ b/apps/browser/src/vault/popup/components/vault/view-custom-fields.component.html @@ -16,7 +16,7 @@

class="box-content" [ngStyle]="{ 'margin-top.px': - cipher.type !== cipherType.Paper && cipher.type !== cipherType.Contact ? 0 : -15, + cipher.type !== cipherType.Paper && cipher.type !== cipherType.Contact ? 0 : -15 }" > diff --git a/apps/cli/src/tools/export.command.ts b/apps/cli/src/tools/export.command.ts index 51c9690890900..71858a9c95dd9 100644 --- a/apps/cli/src/tools/export.command.ts +++ b/apps/cli/src/tools/export.command.ts @@ -38,7 +38,7 @@ export class ExportCommand { // format is 'undefined' => Defaults to 'csv' // Any other case => returns the options.format const format = - password && options.format == "json" ? "encrypted_json" : (options.format ?? "csv"); + password && options.format == "json" ? "encrypted_json" : options.format ?? "csv"; if (!this.isSupportedExportFormat(format)) { return Response.badRequest( diff --git a/apps/desktop/src/vault/app/vault/vault-filter/filters/collection-filter.component.html b/apps/desktop/src/vault/app/vault/vault-filter/filters/collection-filter.component.html index 667cdf6798c6c..28c815d8371e4 100644 --- a/apps/desktop/src/vault/app/vault/vault-filter/filters/collection-filter.component.html +++ b/apps/desktop/src/vault/app/vault/vault-filter/filters/collection-filter.component.html @@ -13,7 +13,7 @@

aria-hidden="true" [ngClass]="{ 'bwi-angle-right': isCollapsed(collectionsGrouping), - 'bwi-angle-down': !isCollapsed(collectionsGrouping), + 'bwi-angle-down': !isCollapsed(collectionsGrouping) }" >  {{ collectionsGrouping.name | i18n }} @@ -42,7 +42,7 @@

aria-hidden="true" [ngClass]="{ 'bwi-angle-right': isCollapsed(c.node), - 'bwi-angle-down': !isCollapsed(c.node), + 'bwi-angle-down': !isCollapsed(c.node) }" > diff --git a/apps/desktop/src/vault/app/vault/vault-filter/filters/folder-filter.component.html b/apps/desktop/src/vault/app/vault/vault-filter/filters/folder-filter.component.html index a2240b03ff539..218a4c12692a0 100644 --- a/apps/desktop/src/vault/app/vault/vault-filter/filters/folder-filter.component.html +++ b/apps/desktop/src/vault/app/vault/vault-filter/filters/folder-filter.component.html @@ -13,7 +13,7 @@

aria-hidden="true" [ngClass]="{ 'bwi-angle-right': isCollapsed(foldersGrouping), - 'bwi-angle-down': !isCollapsed(foldersGrouping), + 'bwi-angle-down': !isCollapsed(foldersGrouping) }" >  {{ foldersGrouping.name | i18n }} @@ -33,7 +33,7 @@

  • @@ -52,7 +52,7 @@

    aria-hidden="true" [ngClass]="{ 'bwi-angle-right': isCollapsed(f.node), - 'bwi-angle-down': !isCollapsed(f.node), + 'bwi-angle-down': !isCollapsed(f.node) }" > diff --git a/apps/desktop/src/vault/app/vault/vault-filter/filters/organization-filter.component.html b/apps/desktop/src/vault/app/vault/vault-filter/filters/organization-filter.component.html index f77f279a96fb6..2740b2297811d 100644 --- a/apps/desktop/src/vault/app/vault/vault-filter/filters/organization-filter.component.html +++ b/apps/desktop/src/vault/app/vault/vault-filter/filters/organization-filter.component.html @@ -15,7 +15,7 @@ aria-hidden="true" [ngClass]="{ 'bwi-angle-right': isCollapsed, - 'bwi-angle-down': !isCollapsed, + 'bwi-angle-down': !isCollapsed }" > @@ -74,7 +74,7 @@

    aria-hidden="true" [ngClass]="{ 'bwi-angle-right': isCollapsed, - 'bwi-angle-down': !isCollapsed, + 'bwi-angle-down': !isCollapsed }" > diff --git a/apps/desktop/src/vault/app/vault/vault-filter/filters/type-filter.component.html b/apps/desktop/src/vault/app/vault/vault-filter/filters/type-filter.component.html index 381c06e8b672d..1df87a69ed6ac 100644 --- a/apps/desktop/src/vault/app/vault/vault-filter/filters/type-filter.component.html +++ b/apps/desktop/src/vault/app/vault/vault-filter/filters/type-filter.component.html @@ -12,7 +12,7 @@

    aria-hidden="true" [ngClass]="{ 'bwi-angle-right': isCollapsed, - 'bwi-angle-down': !isCollapsed, + 'bwi-angle-down': !isCollapsed }" >  {{ typesNode.name | i18n }} diff --git a/apps/web/src/app/auth/settings/account/change-avatar-dialog.component.html b/apps/web/src/app/auth/settings/account/change-avatar-dialog.component.html index 34e9f734fc060..05fff978b0c4e 100644 --- a/apps/web/src/app/auth/settings/account/change-avatar-dialog.component.html +++ b/apps/web/src/app/auth/settings/account/change-avatar-dialog.component.html @@ -26,7 +26,7 @@ title="{{ 'customColor' | i18n }}" [ngClass]="{ '!tw-outline-[3px] tw-outline-primary-600 hover:tw-outline-[3px] hover:tw-outline-primary-600': - customColorSelected, + customColorSelected }" class="tw-relative tw-flex tw-h-24 tw-w-24 tw-cursor-pointer tw-place-content-center tw-content-center tw-justify-center tw-rounded-full tw-border tw-border-solid tw-border-secondary-600 tw-outline tw-outline-0 tw-outline-offset-1 hover:tw-outline-1 hover:tw-outline-primary-300 focus:tw-outline-2 focus:tw-outline-primary-600" [style.background-color]="customColor$ | async" diff --git a/apps/web/src/app/auth/trial-initiation/complete-trial-initiation/complete-trial-initiation.component.html b/apps/web/src/app/auth/trial-initiation/complete-trial-initiation/complete-trial-initiation.component.html index 9400e512c3069..83327cfd805dc 100644 --- a/apps/web/src/app/auth/trial-initiation/complete-trial-initiation/complete-trial-initiation.component.html +++ b/apps/web/src/app/auth/trial-initiation/complete-trial-initiation/complete-trial-initiation.component.html @@ -34,7 +34,7 @@ [organizationInfo]="{ name: orgInfoFormGroup.value.name, email: orgInfoFormGroup.value.billingEmail, - type: trialOrganizationType, + type: trialOrganizationType }" [subscriptionProduct]=" product === ProductType.SecretsManager diff --git a/apps/web/src/app/auth/trial-initiation/secrets-manager/secrets-manager-trial-paid-stepper.component.html b/apps/web/src/app/auth/trial-initiation/secrets-manager/secrets-manager-trial-paid-stepper.component.html index 1acf4c320970a..b827dc98bf4c7 100644 --- a/apps/web/src/app/auth/trial-initiation/secrets-manager/secrets-manager-trial-paid-stepper.component.html +++ b/apps/web/src/app/auth/trial-initiation/secrets-manager/secrets-manager-trial-paid-stepper.component.html @@ -33,7 +33,7 @@ [organizationInfo]="{ name: formGroup.get('name').value, email: formGroup.get('email').value, - type: productType, + type: productType }" [subscriptionProduct]="SubscriptionProduct.SecretsManager" (steppedBack)="steppedBack()" diff --git a/apps/web/src/app/auth/trial-initiation/trial-initiation.component.html b/apps/web/src/app/auth/trial-initiation/trial-initiation.component.html index ed1dc6cda9b6a..d8e646c8d58dd 100644 --- a/apps/web/src/app/auth/trial-initiation/trial-initiation.component.html +++ b/apps/web/src/app/auth/trial-initiation/trial-initiation.component.html @@ -102,7 +102,7 @@

    [organizationInfo]="{ name: orgInfoFormGroup.get('name').value, email: orgInfoFormGroup.get('email').value, - type: trialOrganizationType, + type: trialOrganizationType }" [subscriptionProduct]="SubscriptionProduct.PasswordManager" (steppedBack)="previousStep()" diff --git a/apps/web/src/app/auth/trial-initiation/vertical-stepper/vertical-step-content.component.html b/apps/web/src/app/auth/trial-initiation/vertical-stepper/vertical-step-content.component.html index 5d7d3c62d2fd4..06b1dc7c51a6e 100644 --- a/apps/web/src/app/auth/trial-initiation/vertical-stepper/vertical-step-content.component.html +++ b/apps/web/src/app/auth/trial-initiation/vertical-stepper/vertical-step-content.component.html @@ -6,7 +6,7 @@ [disabled]="disabled" class="tw-flex tw-w-full tw-items-center tw-border-none tw-bg-transparent" [ngClass]="{ - 'hover:tw-bg-secondary-100': !disabled && step.editable, + 'hover:tw-bg-secondary-100': !disabled && step.editable }" [attr.aria-expanded]="selected" > @@ -16,7 +16,7 @@ [ngClass]="{ 'tw-bg-primary-600 tw-text-contrast': selected, 'tw-bg-secondary-300 tw-text-main': !selected && !disabled && step.editable, - 'tw-bg-transparent tw-text-muted': disabled, + 'tw-bg-transparent tw-text-muted': disabled }" > {{ stepNumber }} @@ -30,13 +30,13 @@

    {{ step.label }} diff --git a/apps/web/src/app/auth/trial-initiation/vertical-stepper/vertical-step.component.html b/apps/web/src/app/auth/trial-initiation/vertical-stepper/vertical-step.component.html index 1881df1c7f3d6..427a40991752c 100644 --- a/apps/web/src/app/auth/trial-initiation/vertical-stepper/vertical-step.component.html +++ b/apps/web/src/app/auth/trial-initiation/vertical-stepper/vertical-step.component.html @@ -3,7 +3,7 @@ class="tw-inline-block tw-w-11/12 tw-pl-7" [ngClass]="{ 'tw-border-0 tw-border-l tw-border-solid tw-border-secondary-300': applyBorder, - 'tw-pt-6': addSubLabelSpacing, + 'tw-pt-6': addSubLabelSpacing }" > diff --git a/apps/web/src/app/layouts/header/web-header.component.html b/apps/web/src/app/layouts/header/web-header.component.html index c8cbd9f8dabed..5b55eede77886 100644 --- a/apps/web/src/app/layouts/header/web-header.component.html +++ b/apps/web/src/app/layouts/header/web-header.component.html @@ -3,7 +3,7 @@ class="-tw-m-6 tw-mb-3 tw-flex tw-flex-col tw-p-6" [ngClass]="{ 'tw-border-0 tw-border-b tw-border-solid tw-border-secondary-300 tw-bg-background-alt tw-pb-0': - tabsContainer.childElementCount !== 0, + tabsContainer.childElementCount !== 0 }" >

    diff --git a/apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html b/apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html index 41346675bbbc6..55f72401946ec 100644 --- a/apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html +++ b/apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html @@ -5,7 +5,7 @@
    diff --git a/apps/web/src/app/shared/components/onboarding/onboarding-task.component.html b/apps/web/src/app/shared/components/onboarding/onboarding-task.component.html index f0c0b01e06e3c..6623ac4afb7e0 100644 --- a/apps/web/src/app/shared/components/onboarding/onboarding-task.component.html +++ b/apps/web/src/app/shared/components/onboarding/onboarding-task.component.html @@ -2,7 +2,7 @@ {{ title }} diff --git a/apps/web/src/app/vault/individual-vault/add-edit.component.html b/apps/web/src/app/vault/individual-vault/add-edit.component.html index 6313689007125..07721ab626801 100644 --- a/apps/web/src/app/vault/individual-vault/add-edit.component.html +++ b/apps/web/src/app/vault/individual-vault/add-edit.component.html @@ -493,7 +493,7 @@

    {{ title }}

    aria-hidden="true" [ngClass]="{ 'bwi-eye': !showCardNumber, - 'bwi-eye-slash': showCardNumber, + 'bwi-eye-slash': showCardNumber }" > diff --git a/apps/web/src/app/vault/individual-vault/vault-filter/services/routed-vault-filter.service.ts b/apps/web/src/app/vault/individual-vault/vault-filter/services/routed-vault-filter.service.ts index a42b5228272c2..80d2d48548162 100644 --- a/apps/web/src/app/vault/individual-vault/vault-filter/services/routed-vault-filter.service.ts +++ b/apps/web/src/app/vault/individual-vault/vault-filter/services/routed-vault-filter.service.ts @@ -66,7 +66,7 @@ export class RoutedVaultFilterService implements OnDestroy { collectionId: filter.collectionId ?? null, folderId: filter.folderId ?? null, organizationId: - filter.organizationIdParamType === "path" ? null : (filter.organizationId ?? null), + filter.organizationIdParamType === "path" ? null : filter.organizationId ?? null, type: filter.type ?? null, }, queryParamsHandling: "merge", diff --git a/apps/web/src/app/vault/individual-vault/vault-filter/shared/components/vault-filter-section.component.html b/apps/web/src/app/vault/individual-vault/vault-filter/shared/components/vault-filter-section.component.html index bb52dd4feb7e7..4fd9f2a6ff7ee 100644 --- a/apps/web/src/app/vault/individual-vault/vault-filter/shared/components/vault-filter-section.component.html +++ b/apps/web/src/app/vault/individual-vault/vault-filter/shared/components/vault-filter-section.component.html @@ -25,7 +25,7 @@ >

     {{ headerNode.node.name | i18n }} @@ -44,7 +44,7 @@

  • @@ -62,7 +62,7 @@

    class="bwi bwi-fw" [ngClass]="{ 'bwi-angle-right': isCollapsed(f.node), - 'bwi-angle-down': !isCollapsed(f.node), + 'bwi-angle-down': !isCollapsed(f.node) }" aria-hidden="true" > diff --git a/bitwarden_license/bit-web/src/app/auth/sso/sso.component.html b/bitwarden_license/bit-web/src/app/auth/sso/sso.component.html index b2b5d1fef95be..6095ec7279306 100644 --- a/bitwarden_license/bit-web/src/app/auth/sso/sso.component.html +++ b/bitwarden_license/bit-web/src/app/auth/sso/sso.component.html @@ -259,7 +259,7 @@

    aria-hidden="true" [ngClass]="{ 'bwi-angle-right': !showOpenIdCustomizations, - 'bwi-angle-down': showOpenIdCustomizations, + 'bwi-angle-down': showOpenIdCustomizations }" > diff --git a/bitwarden_license/bit-web/src/app/billing/providers/clients/create-client-dialog.component.html b/bitwarden_license/bit-web/src/app/billing/providers/clients/create-client-dialog.component.html index ed58650f211d2..66ac422441af9 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/clients/create-client-dialog.component.html +++ b/bitwarden_license/bit-web/src/app/billing/providers/clients/create-client-dialog.component.html @@ -61,7 +61,7 @@

    {{ planCard.name }}

    class="tw-text-muted tw-grid tw-grid-flow-col tw-gap-1 tw-grid-cols-1" [ngClass]="{ 'tw-grid-rows-1': additionalSeatsPurchased <= 0, - 'tw-grid-rows-2': additionalSeatsPurchased > 0, + 'tw-grid-rows-2': additionalSeatsPurchased > 0 }" > diff --git a/libs/angular/src/auth/components/environment-selector.component.html b/libs/angular/src/auth/components/environment-selector.component.html index 673f647984988..a8dab8f1213dc 100644 --- a/libs/angular/src/auth/components/environment-selector.component.html +++ b/libs/angular/src/auth/components/environment-selector.component.html @@ -1,6 +1,6 @@
    diff --git a/libs/common/src/platform/services/state.service.ts b/libs/common/src/platform/services/state.service.ts index a0145b252b858..6090b21f7df6d 100644 --- a/libs/common/src/platform/services/state.service.ts +++ b/libs/common/src/platform/services/state.service.ts @@ -535,11 +535,11 @@ export class StateService< } const account = options?.useSecureStorage - ? ((await this.secureStorageService.get(options.userId, options)) ?? + ? (await this.secureStorageService.get(options.userId, options)) ?? (await this.storageService.get( options.userId, this.reconcileOptions(options, { htmlStorageLocation: HtmlStorageLocation.Local }), - ))) + )) : await this.storageService.get(options.userId, options); return account; } diff --git a/libs/common/src/platform/state/derive-definition.ts b/libs/common/src/platform/state/derive-definition.ts index 826608b574c44..8f62d3a342c74 100644 --- a/libs/common/src/platform/state/derive-definition.ts +++ b/libs/common/src/platform/state/derive-definition.ts @@ -164,7 +164,7 @@ export class DeriveDefinition { * Gets the number of milliseconds to wait before cleaning up the state after the last subscriber has unsubscribed. */ get cleanupDelayMs() { - return this.options.cleanupDelayMs < 0 ? 0 : (this.options.cleanupDelayMs ?? 1000); + return this.options.cleanupDelayMs < 0 ? 0 : this.options.cleanupDelayMs ?? 1000; } /** diff --git a/libs/common/src/platform/state/user-key-definition.ts b/libs/common/src/platform/state/user-key-definition.ts index 1548ab2a7c108..397e12d774f91 100644 --- a/libs/common/src/platform/state/user-key-definition.ts +++ b/libs/common/src/platform/state/user-key-definition.ts @@ -63,7 +63,7 @@ export class UserKeyDefinition { * Gets the number of milliseconds to wait before cleaning up the state after the last subscriber has unsubscribed. */ get cleanupDelayMs() { - return this.options.cleanupDelayMs < 0 ? 0 : (this.options.cleanupDelayMs ?? 1000); + return this.options.cleanupDelayMs < 0 ? 0 : this.options.cleanupDelayMs ?? 1000; } /** diff --git a/libs/common/src/tools/integration/integration-context.ts b/libs/common/src/tools/integration/integration-context.ts index 3debf54ba3621..b527e79ce9e1f 100644 --- a/libs/common/src/tools/integration/integration-context.ts +++ b/libs/common/src/tools/integration/integration-context.ts @@ -60,7 +60,7 @@ export class IntegrationContext { options: { base64?: boolean; suffix?: string } = null, ): Settings extends ApiSettings ? string : never { // normalize `token` then assert it has a value - let token = "token" in this.settings ? ((this.settings.token as string) ?? "") : ""; + let token = "token" in this.settings ? (this.settings.token as string) ?? "" : ""; if (token === "") { const error = this.i18n.t("forwaderInvalidToken", this.metadata.name); throw error; diff --git a/libs/common/src/tools/integration/rpc/rest-client.ts b/libs/common/src/tools/integration/rpc/rest-client.ts index c9096d0ce1d99..3cfb8adce1ff4 100644 --- a/libs/common/src/tools/integration/rpc/rest-client.ts +++ b/libs/common/src/tools/integration/rpc/rest-client.ts @@ -91,7 +91,7 @@ export class RestClient { const message = parsed.message?.toString() ?? null; // `false` signals no message found - const result = error && message ? `${error}: ${message}` : (error ?? message ?? false); + const result = error && message ? `${error}: ${message}` : error ?? message ?? false; return result; } diff --git a/libs/components/src/chip-select/chip-select.component.html b/libs/components/src/chip-select/chip-select.component.html index 91d9d0fadb56d..9ee12983f8a94 100644 --- a/libs/components/src/chip-select/chip-select.component.html +++ b/libs/components/src/chip-select/chip-select.component.html @@ -5,7 +5,7 @@ selectedOption ? 'tw-bg-text-muted tw-text-contrast tw-gap-1' : 'tw-bg-transparent tw-text-muted tw-gap-1.5', - focusVisibleWithin() ? 'tw-ring-2 tw-ring-primary-500 tw-ring-offset-1' : '', + focusVisibleWithin() ? 'tw-ring-2 tw-ring-primary-500 tw-ring-offset-1' : '' ]" > @@ -13,7 +13,7 @@ type="button" class="fvw-target tw-inline-flex tw-gap-1.5 tw-items-center tw-bg-transparent hover:tw-bg-transparent tw-border-none tw-outline-none tw-max-w-full tw-py-1 tw-pl-3 last:tw-pr-3 tw-truncate tw-text-[inherit]" [ngClass]="{ - 'tw-cursor-not-allowed': disabled, + 'tw-cursor-not-allowed': disabled }" [bitMenuTriggerFor]="menu" [disabled]="disabled" @@ -37,7 +37,7 @@ [disabled]="disabled" class="tw-bg-transparent hover:tw-bg-transparent tw-outline-none tw-rounded-full tw-p-1 tw-my-1 tw-mr-1 tw-text-[inherit] tw-border-solid tw-border tw-border-text-muted hover:tw-border-text-contrast hover:disabled:tw-border-transparent tw-aspect-square tw-flex tw-items-center tw-justify-center tw-h-fit focus-visible:tw-ring-2 tw-ring-text-contrast focus-visible:hover:tw-border-transparent" [ngClass]="{ - 'tw-cursor-not-allowed': disabled, + 'tw-cursor-not-allowed': disabled }" (click)="clear()" > diff --git a/libs/components/src/dialog/dialog/dialog.component.html b/libs/components/src/dialog/dialog/dialog.component.html index c07239af6d6af..6f38f3d64e841 100644 --- a/libs/components/src/dialog/dialog/dialog.component.html +++ b/libs/components/src/dialog/dialog/dialog.component.html @@ -38,7 +38,7 @@

    diff --git a/libs/components/src/layout/layout.component.html b/libs/components/src/layout/layout.component.html index 56c0af8f0db25..2daefce556e47 100644 --- a/libs/components/src/layout/layout.component.html +++ b/libs/components/src/layout/layout.component.html @@ -25,7 +25,7 @@
    @@ -30,7 +30,7 @@