From 625da0776d9d9c27e09e733baf8cccebf600b31f Mon Sep 17 00:00:00 2001 From: William Martin Date: Thu, 25 Jul 2024 14:06:43 -0400 Subject: [PATCH] run prettier again after giving node more memory (lol) --- .../bit-web/src/app/auth/sso/sso.component.html | 2 +- .../clients/create-client-dialog.component.html | 2 +- .../manage-client-subscription-dialog.component.html | 2 +- .../components/environment-selector.component.html | 2 +- libs/common/src/platform/services/state.service.ts | 4 ++-- libs/common/src/platform/state/derive-definition.ts | 2 +- libs/common/src/platform/state/key-definition.ts | 2 +- .../common/src/platform/state/user-key-definition.ts | 2 +- .../src/chip-select/chip-select.component.html | 6 +++--- .../src/dialog/dialog/dialog.component.html | 4 ++-- .../src/form-field/form-field.component.html | 4 ++-- libs/components/src/layout/layout.component.html | 2 +- .../src/navigation/nav-item.component.html | 12 ++++++------ .../src/navigation/side-nav.component.html | 4 ++-- libs/components/src/section/section.component.ts | 2 +- .../core/src/engine/crypto-service-randomizer.ts | 2 +- .../generator/core/src/engine/email-calculator.ts | 2 +- .../generator/core/src/engine/email-randomizer.ts | 4 ++-- .../passphrase-generator-options-evaluator.ts | 2 +- .../strategies/eff-username-generator-strategy.ts | 4 ++-- .../custom-fields/custom-fields.component.html | 2 +- 21 files changed, 34 insertions(+), 34 deletions(-) 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 64bb7b571cf..c7b53ed3ad6 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 66ac422441a..ed58650f211 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 @@ 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 a8dab8f1213..673f6479849 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 ba5abecaac6..c6e01bf00a1 100644 --- a/libs/common/src/platform/services/state.service.ts +++ b/libs/common/src/platform/services/state.service.ts @@ -414,11 +414,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 8f62d3a342c..826608b574c 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 503cd7b7828..a70675c7888 100644 --- a/libs/common/src/platform/state/user-key-definition.ts +++ b/libs/common/src/platform/state/user-key-definition.ts @@ -51,7 +51,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/components/src/chip-select/chip-select.component.html b/libs/components/src/chip-select/chip-select.component.html index 9ee12983f8a..91d9d0fadb5 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 9c2bed339ec..06a7772edbe 100644 --- a/libs/components/src/dialog/dialog/dialog.component.html +++ b/libs/components/src/dialog/dialog/dialog.component.html @@ -32,7 +32,7 @@
diff --git a/libs/components/src/form-field/form-field.component.html b/libs/components/src/form-field/form-field.component.html index 1fbc7e2a572..ae7445085d6 100644 --- a/libs/components/src/form-field/form-field.component.html +++ b/libs/components/src/form-field/form-field.component.html @@ -30,7 +30,7 @@ class="default-content tw-w-full tw-relative tw-py-2 has-[bit-select]:tw-p-0 has-[bit-multi-select]:tw-p-0 has-[input:read-only:not([hidden])]:tw-bg-secondary-100 has-[textarea:read-only:not([hidden])]:tw-bg-secondary-100" [ngClass]="[ prefixSlot.childElementCount === 0 ? 'tw-rounded-l-lg tw-pl-3' : '', - suffixSlot.childElementCount === 0 ? 'tw-rounded-r-lg tw-pr-3' : '' + suffixSlot.childElementCount === 0 ? 'tw-rounded-r-lg tw-pr-3' : '', ]" > @@ -86,7 +86,7 @@ 'tw-border-secondary-300/50 tw-border-b': !disableReadOnlyBorder && !defaultContentIsFocused(), 'tw-border-b-2 tw-border-transparent': disableReadOnlyBorder && !defaultContentIsFocused(), - 'tw-border-b-2 tw-border-primary-500': defaultContentIsFocused() + 'tw-border-b-2 tw-border-primary-500': defaultContentIsFocused(), }" >
@@ -30,7 +30,7 @@