From b9eb4003a1b7cc13869de66e054209f0ea09a4f5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 11:11:55 -0400 Subject: [PATCH] [deps] Autofill: Update prettier to v3.3.3 (#10228) * [deps] Autofill: Update prettier to v3.3.3 * prettier formatting changes * fix SyntaxError for literal @ inline html --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Prusik --- .../popup/layout/popup-header.component.html | 2 +- .../platform/popup/layout/popup-page.component.html | 2 +- .../tools/popup/generator/generator.component.html | 2 +- apps/cli/src/tools/export.command.ts | 2 +- apps/desktop/src/app/tools/generator.component.html | 2 +- .../filters/collection-filter.component.html | 4 ++-- .../filters/folder-filter.component.html | 6 +++--- .../filters/organization-filter.component.html | 4 ++-- .../vault-filter/filters/type-filter.component.html | 2 +- .../policies/master-password.component.html | 2 +- .../policies/password-generator.component.html | 2 +- .../account/change-avatar-dialog.component.html | 2 +- ...secrets-manager-trial-paid-stepper.component.html | 2 +- .../trial-initiation/trial-initiation.component.html | 2 +- .../vertical-step-content.component.html | 8 ++++---- .../vertical-stepper/vertical-step.component.html | 2 +- .../individual/user-subscription.component.html | 2 +- .../organization-subscription-cloud.component.html | 2 +- .../src/app/layouts/header/web-header.component.html | 2 +- .../product-switcher-content.component.html | 2 +- .../onboarding/onboarding-task.component.html | 2 +- apps/web/src/app/tools/generator.component.html | 2 +- .../vault/individual-vault/add-edit.component.html | 2 +- .../services/routed-vault-filter.service.ts | 2 +- .../components/vault-filter-section.component.html | 6 +++--- .../bit-web/src/app/auth/sso/sso.component.html | 2 +- .../clients/create-client-dialog.component.html | 2 +- .../manage-client-subscription-dialog.component.html | 2 +- .../provider-subscription.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 +- .../passphrase-generator-options-evaluator.ts | 2 +- libs/common/src/tools/generator/random.ts | 2 +- .../src/chip-select/chip-select.component.html | 6 +++--- .../src/dialog/dialog/dialog.component.html | 2 +- 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 +- package-lock.json | 9 +++++---- package.json | 2 +- 50 files changed, 74 insertions(+), 73 deletions(-) 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 31cd126532..82a2b715a0 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 e62f9e70f9..cef86a3849 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/tools/popup/generator/generator.component.html b/apps/browser/src/tools/popup/generator/generator.component.html index 4c39c22b48..d92d32a562 100644 --- a/apps/browser/src/tools/popup/generator/generator.component.html +++ b/apps/browser/src/tools/popup/generator/generator.component.html @@ -240,7 +240,7 @@ />
- + 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/app/tools/generator.component.html b/apps/desktop/src/app/tools/generator.component.html index 9af67522de..0a8043fe59 100644 --- a/apps/desktop/src/app/tools/generator.component.html +++ b/apps/desktop/src/app/tools/generator.component.html @@ -265,7 +265,7 @@ />
- +  {{ 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 218a4c1269..a2240b03ff 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 2740b22978..f77f279a96 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 1df87a69ed..381c06e8b6 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/admin-console/organizations/policies/master-password.component.html b/apps/web/src/app/admin-console/organizations/policies/master-password.component.html index 85670f7d19..63a59208cc 100644 --- a/apps/web/src/app/admin-console/organizations/policies/master-password.component.html +++ b/apps/web/src/app/admin-console/organizations/policies/master-password.component.html @@ -50,6 +50,6 @@ - !@#$%^&* + !@#$%^&*
  • diff --git a/apps/web/src/app/admin-console/organizations/policies/password-generator.component.html b/apps/web/src/app/admin-console/organizations/policies/password-generator.component.html index 80df5fa2e6..63d6671afe 100644 --- a/apps/web/src/app/admin-console/organizations/policies/password-generator.component.html +++ b/apps/web/src/app/admin-console/organizations/policies/password-generator.component.html @@ -44,7 +44,7 @@ - !@#$%^&* + !@#$%^&*

    {{ "passphrase" | 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 05fff978b0..34e9f734fc 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/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 b827dc98bf..1acf4c3209 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 d8e646c8d5..ed1dc6cda9 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 06b1dc7c51..5d7d3c62d2 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 427a409917..1881df1c7f 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/billing/individual/user-subscription.component.html b/apps/web/src/app/billing/individual/user-subscription.component.html index 5f9e6463f1..08eec09ff9 100644 --- a/apps/web/src/app/billing/individual/user-subscription.component.html +++ b/apps/web/src/app/billing/individual/user-subscription.component.html @@ -65,7 +65,7 @@ - {{ i.name }} {{ i.quantity > 1 ? "×" + i.quantity : "" }} @ + {{ i.name }} {{ i.quantity > 1 ? "×" + i.quantity : "" }} @ {{ i.amount | currency: "$" }} {{ i.quantity * i.amount | currency: "$" }} /{{ i.interval | i18n }} diff --git a/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.html b/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.html index dff6cc5c61..35cb0c2ac7 100644 --- a/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.html +++ b/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.html @@ -75,7 +75,7 @@ {{ i.productName | i18n }} - - {{ i.name }} {{ i.quantity > 1 ? "×" + i.quantity : "" }} @ + {{ i.name }} {{ i.quantity > 1 ? "×" + i.quantity : "" }} @ {{ i.amount | currency: "$" }} 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 5b55eede77..c8cbd9f8da 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 55f7240194..41346675bb 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 6623ac4afb..f0c0b01e06 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/tools/generator.component.html b/apps/web/src/app/tools/generator.component.html index f52d1f020d..d73fe37701 100644 --- a/apps/web/src/app/tools/generator.component.html +++ b/apps/web/src/app/tools/generator.component.html @@ -210,7 +210,7 @@ [disabled]="enforcedPasswordPolicyOptions?.useSpecial" attr.aria-label="{{ 'specialCharacters' | i18n }}" /> - +
    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 80d2d48548..a42b522827 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 4fd9f2a6ff..bb52dd4feb 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 6095ec7279..b2b5d1fef9 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 66ac422441..ed58650f21 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/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.html b/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.html index 5c8a098579..f47df92efa 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.html +++ b/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.html @@ -27,7 +27,7 @@ {{ getFormattedPlanName(i.planName) }} {{ "orgSeats" | i18n }} ({{ i.cadence.toLowerCase() }}) {{ "×" }}{{ getFormattedSeatCount(i.seatMinimum, i.purchasedSeats) }} - @ + @ {{ getFormattedCost( i.cost, diff --git a/libs/angular/src/auth/components/environment-selector.component.html b/libs/angular/src/auth/components/environment-selector.component.html index a8dab8f121..673f647984 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 ba5abecaac..c6e01bf00a 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 8f62d3a342..826608b574 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 503cd7b782..a70675c788 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/common/src/tools/generator/passphrase/passphrase-generator-options-evaluator.ts b/libs/common/src/tools/generator/passphrase/passphrase-generator-options-evaluator.ts index 207ffe8675..cdde114914 100644 --- a/libs/common/src/tools/generator/passphrase/passphrase-generator-options-evaluator.ts +++ b/libs/common/src/tools/generator/passphrase/passphrase-generator-options-evaluator.ts @@ -115,7 +115,7 @@ export class PassphraseGeneratorOptionsEvaluator const wordSeparator = options.wordSeparator === "" ? "" - : options.wordSeparator?.[0] ?? DefaultPassphraseGenerationOptions.wordSeparator; + : (options.wordSeparator?.[0] ?? DefaultPassphraseGenerationOptions.wordSeparator); return { ...options, diff --git a/libs/common/src/tools/generator/random.ts b/libs/common/src/tools/generator/random.ts index 1400ed1175..f2a4673d4c 100644 --- a/libs/common/src/tools/generator/random.ts +++ b/libs/common/src/tools/generator/random.ts @@ -29,7 +29,7 @@ export class CryptoServiceRandomizer implements Randomizer { // ref: https://stackoverflow.com/a/12646864/1090359 async shuffle(items: Array, options?: { copy?: boolean }) { - const shuffled = options?.copy ?? true ? [...items] : items; + const shuffled = (options?.copy ?? true) ? [...items] : items; for (let i = shuffled.length - 1; i > 0; i--) { const j = await this.uniform(0, i); diff --git a/libs/components/src/chip-select/chip-select.component.html b/libs/components/src/chip-select/chip-select.component.html index 9ee12983f8..91d9d0fadb 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 6f38f3d64e..c07239af6d 100644 --- a/libs/components/src/dialog/dialog/dialog.component.html +++ b/libs/components/src/dialog/dialog/dialog.component.html @@ -38,7 +38,7 @@ 'tw-overflow-y-auto': !loading, 'tw-invisible tw-overflow-y-hidden': loading, 'tw-bg-background': background === 'default', - 'tw-bg-background-alt': background === 'alt' + 'tw-bg-background-alt': background === 'alt', }" > diff --git a/libs/components/src/layout/layout.component.html b/libs/components/src/layout/layout.component.html index 2daefce556..56c0af8f0d 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 @@