1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00

[deps] Autofill: Update prettier to v3 (#7014)

* [deps] Autofill: Update prettier to v3

* prettier formatting updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
renovate[bot]
2023-11-29 16:15:20 -05:00
committed by GitHub
parent 4ff5f38e89
commit 28de9439be
1145 changed files with 5898 additions and 5612 deletions

View File

@@ -7,7 +7,7 @@
<h2 bitTypography="h2" class="tw-mb-4 tw-text-center">View Send</h2>
</div>
<div class="tw-w-full tw-text-center" *ngIf="creatorIdentifier != null">
<p>{{ "sendAccessCreatorIdentifier" | i18n : creatorIdentifier }}</p>
<p>{{ "sendAccessCreatorIdentifier" | i18n: creatorIdentifier }}</p>
</div>
<bit-callout *ngIf="hideEmail" type="warning" title="{{ 'warning' | i18n }}">
{{ "viewSendHiddenEmailWarning" | i18n }}
@@ -51,7 +51,7 @@
></app-send-access-file>
</ng-container>
<p *ngIf="expirationDate" class="tw-text-center tw-text-muted">
Expires: {{ expirationDate | date : "medium" }}
Expires: {{ expirationDate | date: "medium" }}
</p>
</div>
</ng-container>

View File

@@ -64,7 +64,7 @@ export class AccessComponent implements OnInit {
private sendApiService: SendApiService,
private platformUtilsService: PlatformUtilsService,
private i18nService: I18nService,
protected formBuilder: FormBuilder
protected formBuilder: FormBuilder,
) {}
protected get expirationDate() {
@@ -105,7 +105,7 @@ export class AccessComponent implements OnInit {
this.password,
keyArray,
"sha256",
SEND_KDF_ITERATIONS
SEND_KDF_ITERATIONS,
);
this.accessRequest.password = Utils.fromBufferToB64(passwordHash);
}
@@ -130,7 +130,7 @@ export class AccessComponent implements OnInit {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
e.message
e.message,
);
} else {
this.error = true;

View File

@@ -37,7 +37,7 @@ export class AddEditComponent extends BaseAddEditComponent {
dialogService: DialogService,
formBuilder: FormBuilder,
protected dialogRef: DialogRef,
@Inject(DIALOG_DATA) params: { sendId: string }
@Inject(DIALOG_DATA) params: { sendId: string },
) {
super(
i18nService,
@@ -51,7 +51,7 @@ export class AddEditComponent extends BaseAddEditComponent {
stateService,
sendApiService,
dialogService,
formBuilder
formBuilder,
);
this.sendId = params.sendId;

View File

@@ -28,7 +28,7 @@ export class SendAccessFileComponent {
private platformUtilsService: PlatformUtilsService,
private cryptoService: CryptoService,
private fileDownloadService: FileDownloadService,
private sendApiService: SendApiService
private sendApiService: SendApiService,
) {}
protected download = async () => {
@@ -38,7 +38,7 @@ export class SendAccessFileComponent {
const downloadData = await this.sendApiService.getSendFileDownloadData(
this.send,
this.accessRequest
this.accessRequest,
);
if (Utils.isNullOrWhitespace(downloadData.url)) {

View File

@@ -24,7 +24,7 @@ export class SendAccessTextComponent {
constructor(
private i18nService: I18nService,
private platformUtilsService: PlatformUtilsService,
private formBuilder: FormBuilder
private formBuilder: FormBuilder,
) {}
get send(): SendAccessView {
@@ -40,7 +40,7 @@ export class SendAccessTextComponent {
}
this.formGroup.controls.sendText.patchValue(
this.showText ? this.send.text.text : this.send.text.maskedText
this.showText ? this.send.text.text : this.send.text.maskedText,
);
}
@@ -49,7 +49,7 @@ export class SendAccessTextComponent {
this.platformUtilsService.showToast(
"success",
null,
this.i18nService.t("valueCopied", this.i18nService.t("sendTypeText"))
this.i18nService.t("valueCopied", this.i18nService.t("sendTypeText")),
);
}

View File

@@ -156,9 +156,7 @@
</ng-container>
</td>
<td bitCell class="tw-text-muted" (click)="editSend(s)" class="tw-cursor-pointer">
<small bitTypography="body2" appStopProp>{{
s.deletionDate | date : "medium"
}}</small>
<small bitTypography="body2" appStopProp>{{ s.deletionDate | date: "medium" }}</small>
</td>
<td bitCell class="tw-w-0 tw-text-right">
<button

View File

@@ -54,7 +54,7 @@ export class SendComponent extends BaseSendComponent {
private broadcasterService: BroadcasterService,
logService: LogService,
sendApiService: SendApiService,
dialogService: DialogService
dialogService: DialogService,
) {
super(
sendService,
@@ -66,7 +66,7 @@ export class SendComponent extends BaseSendComponent {
policyService,
logService,
sendApiService,
dialogService
dialogService,
);
}