mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-12 00:41:29 +01:00
[PM-16485] Remove deprecated and unused PasswordGenerationService (#13053)
* Remove deprecated and unused PasswordGenerationService * Remove unused state-service --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
parent
9d987a2513
commit
682e62cb6b
@ -13,9 +13,7 @@ import { EnvironmentService } from "@bitwarden/common/platform/abstractions/envi
|
|||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
import { StateService } from "@bitwarden/common/platform/abstractions/state.service";
|
|
||||||
import { DialogService, ToastService } from "@bitwarden/components";
|
import { DialogService, ToastService } from "@bitwarden/components";
|
||||||
import { PasswordGenerationServiceAbstraction } from "@bitwarden/generator-legacy";
|
|
||||||
import { KeyService } from "@bitwarden/key-management";
|
import { KeyService } from "@bitwarden/key-management";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -34,9 +32,7 @@ export class RegisterComponent extends BaseRegisterComponent {
|
|||||||
i18nService: I18nService,
|
i18nService: I18nService,
|
||||||
keyService: KeyService,
|
keyService: KeyService,
|
||||||
apiService: ApiService,
|
apiService: ApiService,
|
||||||
stateService: StateService,
|
|
||||||
platformUtilsService: PlatformUtilsService,
|
platformUtilsService: PlatformUtilsService,
|
||||||
passwordGenerationService: PasswordGenerationServiceAbstraction,
|
|
||||||
environmentService: EnvironmentService,
|
environmentService: EnvironmentService,
|
||||||
logService: LogService,
|
logService: LogService,
|
||||||
auditService: AuditService,
|
auditService: AuditService,
|
||||||
@ -51,9 +47,7 @@ export class RegisterComponent extends BaseRegisterComponent {
|
|||||||
i18nService,
|
i18nService,
|
||||||
keyService,
|
keyService,
|
||||||
apiService,
|
apiService,
|
||||||
stateService,
|
|
||||||
platformUtilsService,
|
platformUtilsService,
|
||||||
passwordGenerationService,
|
|
||||||
environmentService,
|
environmentService,
|
||||||
logService,
|
logService,
|
||||||
auditService,
|
auditService,
|
||||||
|
@ -12,9 +12,7 @@ import { EnvironmentService } from "@bitwarden/common/platform/abstractions/envi
|
|||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
import { StateService } from "@bitwarden/common/platform/abstractions/state.service";
|
|
||||||
import { DialogService, ToastService } from "@bitwarden/components";
|
import { DialogService, ToastService } from "@bitwarden/components";
|
||||||
import { PasswordGenerationServiceAbstraction } from "@bitwarden/generator-legacy";
|
|
||||||
import { KeyService } from "@bitwarden/key-management";
|
import { KeyService } from "@bitwarden/key-management";
|
||||||
|
|
||||||
const BroadcasterSubscriptionId = "RegisterComponent";
|
const BroadcasterSubscriptionId = "RegisterComponent";
|
||||||
@ -32,9 +30,7 @@ export class RegisterComponent extends BaseRegisterComponent implements OnInit,
|
|||||||
i18nService: I18nService,
|
i18nService: I18nService,
|
||||||
keyService: KeyService,
|
keyService: KeyService,
|
||||||
apiService: ApiService,
|
apiService: ApiService,
|
||||||
stateService: StateService,
|
|
||||||
platformUtilsService: PlatformUtilsService,
|
platformUtilsService: PlatformUtilsService,
|
||||||
passwordGenerationService: PasswordGenerationServiceAbstraction,
|
|
||||||
environmentService: EnvironmentService,
|
environmentService: EnvironmentService,
|
||||||
private broadcasterService: BroadcasterService,
|
private broadcasterService: BroadcasterService,
|
||||||
private ngZone: NgZone,
|
private ngZone: NgZone,
|
||||||
@ -51,9 +47,7 @@ export class RegisterComponent extends BaseRegisterComponent implements OnInit,
|
|||||||
i18nService,
|
i18nService,
|
||||||
keyService,
|
keyService,
|
||||||
apiService,
|
apiService,
|
||||||
stateService,
|
|
||||||
platformUtilsService,
|
platformUtilsService,
|
||||||
passwordGenerationService,
|
|
||||||
environmentService,
|
environmentService,
|
||||||
logService,
|
logService,
|
||||||
auditService,
|
auditService,
|
||||||
|
@ -17,9 +17,7 @@ import { EnvironmentService } from "@bitwarden/common/platform/abstractions/envi
|
|||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
import { StateService } from "@bitwarden/common/platform/abstractions/state.service";
|
|
||||||
import { DialogService, ToastService } from "@bitwarden/components";
|
import { DialogService, ToastService } from "@bitwarden/components";
|
||||||
import { PasswordGenerationServiceAbstraction } from "@bitwarden/generator-legacy";
|
|
||||||
import { KeyService } from "@bitwarden/key-management";
|
import { KeyService } from "@bitwarden/key-management";
|
||||||
|
|
||||||
import { AcceptOrganizationInviteService } from "../organization-invite/accept-organization.service";
|
import { AcceptOrganizationInviteService } from "../organization-invite/accept-organization.service";
|
||||||
@ -45,9 +43,7 @@ export class RegisterFormComponent extends BaseRegisterComponent implements OnIn
|
|||||||
i18nService: I18nService,
|
i18nService: I18nService,
|
||||||
keyService: KeyService,
|
keyService: KeyService,
|
||||||
apiService: ApiService,
|
apiService: ApiService,
|
||||||
stateService: StateService,
|
|
||||||
platformUtilsService: PlatformUtilsService,
|
platformUtilsService: PlatformUtilsService,
|
||||||
passwordGenerationService: PasswordGenerationServiceAbstraction,
|
|
||||||
private policyService: PolicyService,
|
private policyService: PolicyService,
|
||||||
environmentService: EnvironmentService,
|
environmentService: EnvironmentService,
|
||||||
logService: LogService,
|
logService: LogService,
|
||||||
@ -64,9 +60,7 @@ export class RegisterFormComponent extends BaseRegisterComponent implements OnIn
|
|||||||
i18nService,
|
i18nService,
|
||||||
keyService,
|
keyService,
|
||||||
apiService,
|
apiService,
|
||||||
stateService,
|
|
||||||
platformUtilsService,
|
platformUtilsService,
|
||||||
passwordGenerationService,
|
|
||||||
environmentService,
|
environmentService,
|
||||||
logService,
|
logService,
|
||||||
auditService,
|
auditService,
|
||||||
|
@ -15,10 +15,8 @@ import { EnvironmentService } from "@bitwarden/common/platform/abstractions/envi
|
|||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
import { StateService } from "@bitwarden/common/platform/abstractions/state.service";
|
|
||||||
import { Utils } from "@bitwarden/common/platform/misc/utils";
|
import { Utils } from "@bitwarden/common/platform/misc/utils";
|
||||||
import { DialogService, ToastService } from "@bitwarden/components";
|
import { DialogService, ToastService } from "@bitwarden/components";
|
||||||
import { PasswordGenerationServiceAbstraction } from "@bitwarden/generator-legacy";
|
|
||||||
import { DEFAULT_KDF_CONFIG, KeyService } from "@bitwarden/key-management";
|
import { DEFAULT_KDF_CONFIG, KeyService } from "@bitwarden/key-management";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@ -91,9 +89,7 @@ export class RegisterComponent extends CaptchaProtectedComponent implements OnIn
|
|||||||
i18nService: I18nService,
|
i18nService: I18nService,
|
||||||
protected keyService: KeyService,
|
protected keyService: KeyService,
|
||||||
protected apiService: ApiService,
|
protected apiService: ApiService,
|
||||||
protected stateService: StateService,
|
|
||||||
platformUtilsService: PlatformUtilsService,
|
platformUtilsService: PlatformUtilsService,
|
||||||
protected passwordGenerationService: PasswordGenerationServiceAbstraction,
|
|
||||||
environmentService: EnvironmentService,
|
environmentService: EnvironmentService,
|
||||||
protected logService: LogService,
|
protected logService: LogService,
|
||||||
protected auditService: AuditService,
|
protected auditService: AuditService,
|
||||||
|
Loading…
Reference in New Issue
Block a user