1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-27 05:33:59 +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

@@ -25,7 +25,7 @@ export class AcceptProviderComponent extends BaseAcceptComponent {
route: ActivatedRoute,
stateService: StateService,
private apiService: ApiService,
platformUtilService: PlatformUtilsService
platformUtilService: PlatformUtilsService,
) {
super(router, platformUtilService, i18nService, route, stateService);
}
@@ -37,13 +37,13 @@ export class AcceptProviderComponent extends BaseAcceptComponent {
await this.apiService.postProviderUserAccept(
qParams.providerId,
qParams.providerUserId,
request
request,
);
this.platformUtilService.showToast(
"success",
this.i18nService.t("inviteAccepted"),
this.i18nService.t("providerInviteAcceptedDesc"),
{ timeout: 10000 }
{ timeout: 10000 },
);
this.router.navigate(["/vault"]);
}

View File

@@ -76,7 +76,7 @@
</thead>
<tbody>
<tr *ngFor="let e of events">
<td>{{ e.date | date : "medium" }}</td>
<td>{{ e.date | date: "medium" }}</td>
<td>
<i
class="text-muted bwi bwi-lg {{ e.appIcon }}"

View File

@@ -36,7 +36,7 @@ export class EventsComponent extends BaseEventsComponent implements OnInit {
private router: Router,
logService: LogService,
private userNamePipe: UserNamePipe,
fileDownloadService: FileDownloadService
fileDownloadService: FileDownloadService,
) {
super(
eventService,
@@ -44,7 +44,7 @@ export class EventsComponent extends BaseEventsComponent implements OnInit {
exportService,
platformUtilsService,
logService,
fileDownloadService
fileDownloadService,
);
}
@@ -77,7 +77,7 @@ export class EventsComponent extends BaseEventsComponent implements OnInit {
this.providerId,
startDate,
endDate,
continuationToken
continuationToken,
);
}

View File

@@ -13,7 +13,10 @@ export class ManageComponent implements OnInit {
provider: Provider;
accessEvents = false;
constructor(private route: ActivatedRoute, private providerService: ProviderService) {}
constructor(
private route: ActivatedRoute,
private providerService: ProviderService,
) {}
ngOnInit() {
// eslint-disable-next-line rxjs-angular/prefer-takeuntil, rxjs/no-async-subscribe

View File

@@ -90,7 +90,7 @@
!loading &&
(isPaging()
? pagedUsers
: (users | search : searchText : 'name' : 'email' : 'id')) as searchedUsers
: (users | search: searchText : 'name' : 'email' : 'id')) as searchedUsers
"
>
<p *ngIf="!searchedUsers.length">{{ "noUsersInList" | i18n }}</p>

View File

@@ -69,7 +69,7 @@ export class PeopleComponent
userNamePipe: UserNamePipe,
stateService: StateService,
private providerService: ProviderService,
dialogService: DialogService
dialogService: DialogService,
) {
super(
apiService,
@@ -83,7 +83,7 @@ export class PeopleComponent
searchPipe,
userNamePipe,
stateService,
dialogService
dialogService,
);
}
@@ -161,7 +161,7 @@ export class PeopleComponent
modal.close();
this.removeUser(user);
});
}
},
);
}
@@ -188,7 +188,7 @@ export class PeopleComponent
(comp) => {
comp.providerId = this.providerId;
comp.users = this.getCheckedUsers();
}
},
);
await modal.onClosedPromise();
@@ -207,7 +207,7 @@ export class PeopleComponent
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("noSelectedUsersApplicable")
this.i18nService.t("noSelectedUsersApplicable"),
);
return;
}
@@ -219,7 +219,7 @@ export class PeopleComponent
users,
filteredUsers,
response,
this.i18nService.t("bulkReinviteMessage")
this.i18nService.t("bulkReinviteMessage"),
);
} catch (e) {
this.validationService.showError(e);
@@ -238,7 +238,7 @@ export class PeopleComponent
(comp) => {
comp.providerId = this.providerId;
comp.users = this.getCheckedUsers();
}
},
);
await modal.onClosedPromise();
@@ -249,14 +249,14 @@ export class PeopleComponent
users: ProviderUserUserDetailsResponse[],
filteredUsers: ProviderUserUserDetailsResponse[],
request: Promise<ListResponse<ProviderUserBulkResponse>>,
successfullMessage: string
successfullMessage: string,
) {
const [modal, childComponent] = await this.modalService.openViewRef(
BulkStatusComponent,
this.bulkStatusModalRef,
(comp) => {
comp.loading = true;
}
},
);
// Workaround to handle closing the modal shortly after it has been opened

View File

@@ -43,7 +43,7 @@
required
appAutoFocus
/>
<small class="text-muted">{{ "inviteMultipleEmailDesc" | i18n : "20" }}</small>
<small class="text-muted">{{ "inviteMultipleEmailDesc" | i18n: "20" }}</small>
</div>
</ng-container>
<h3>

View File

@@ -38,7 +38,7 @@ export class UserAddEditComponent implements OnInit {
private i18nService: I18nService,
private platformUtilsService: PlatformUtilsService,
private logService: LogService,
private dialogService: DialogService
private dialogService: DialogService,
) {}
async ngOnInit() {
@@ -68,7 +68,7 @@ export class UserAddEditComponent implements OnInit {
this.formPromise = this.apiService.putProviderUser(
this.providerId,
this.providerUserId,
request
request,
);
} else {
const request = new ProviderUserInviteRequest();
@@ -80,7 +80,7 @@ export class UserAddEditComponent implements OnInit {
this.platformUtilsService.showToast(
"success",
null,
this.i18nService.t(this.editMode ? "editedUserId" : "invitedUsers", this.name)
this.i18nService.t(this.editMode ? "editedUserId" : "invitedUsers", this.name),
);
this.onSavedUser.emit();
} catch (e) {
@@ -109,7 +109,7 @@ export class UserAddEditComponent implements OnInit {
this.platformUtilsService.showToast(
"success",
null,
this.i18nService.t("removedUserId", this.name)
this.i18nService.t("removedUserId", this.name),
);
this.onDeletedUser.emit();
} catch (e) {