mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
cont. removing broadcast srv jslib refs
This commit is contained in:
parent
5ff545e541
commit
4a18a4eb93
@ -17,8 +17,6 @@ import { VaultTimeoutService } from 'jslib/abstractions/vaultTimeout.service';
|
|||||||
|
|
||||||
import { LockComponent as BaseLockComponent } from 'jslib/angular/components/lock.component';
|
import { LockComponent as BaseLockComponent } from 'jslib/angular/components/lock.component';
|
||||||
|
|
||||||
import { BroadcasterService } from 'jslib/angular/services/broadcaster.service';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-lock',
|
selector: 'app-lock',
|
||||||
templateUrl: 'lock.component.html',
|
templateUrl: 'lock.component.html',
|
||||||
@ -29,10 +27,9 @@ export class LockComponent extends BaseLockComponent {
|
|||||||
userService: UserService, cryptoService: CryptoService,
|
userService: UserService, cryptoService: CryptoService,
|
||||||
storageService: StorageService, vaultTimeoutService: VaultTimeoutService,
|
storageService: StorageService, vaultTimeoutService: VaultTimeoutService,
|
||||||
environmentService: EnvironmentService, stateService: StateService,
|
environmentService: EnvironmentService, stateService: StateService,
|
||||||
apiService: ApiService, broadcasterService: BroadcasterService,
|
apiService: ApiService, private route: ActivatedRoute) {
|
||||||
private route: ActivatedRoute) {
|
|
||||||
super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService,
|
super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService,
|
||||||
storageService, vaultTimeoutService, environmentService, stateService, apiService, broadcasterService);
|
storageService, vaultTimeoutService, environmentService, stateService, apiService);
|
||||||
}
|
}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
|
@ -22,8 +22,6 @@ import { SyncService } from 'jslib/abstractions/sync.service';
|
|||||||
import { LoginComponent as BaseLoginComponent } from 'jslib/angular/components/login.component';
|
import { LoginComponent as BaseLoginComponent } from 'jslib/angular/components/login.component';
|
||||||
import { ModalComponent } from 'jslib/angular/components/modal.component';
|
import { ModalComponent } from 'jslib/angular/components/modal.component';
|
||||||
|
|
||||||
import { BroadcasterService } from 'jslib/angular/services/broadcaster.service';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-login',
|
selector: 'app-login',
|
||||||
templateUrl: 'login.component.html',
|
templateUrl: 'login.component.html',
|
||||||
@ -37,10 +35,9 @@ export class LoginComponent extends BaseLoginComponent {
|
|||||||
syncService: SyncService, private componentFactoryResolver: ComponentFactoryResolver,
|
syncService: SyncService, private componentFactoryResolver: ComponentFactoryResolver,
|
||||||
platformUtilsService: PlatformUtilsService, stateService: StateService,
|
platformUtilsService: PlatformUtilsService, stateService: StateService,
|
||||||
environmentService: EnvironmentService, passwordGenerationService: PasswordGenerationService,
|
environmentService: EnvironmentService, passwordGenerationService: PasswordGenerationService,
|
||||||
cryptoFunctionService: CryptoFunctionService, storageService: StorageService,
|
cryptoFunctionService: CryptoFunctionService, storageService: StorageService) {
|
||||||
broadcasterService: BroadcasterService) {
|
|
||||||
super(authService, router, platformUtilsService, i18nService, stateService, environmentService,
|
super(authService, router, platformUtilsService, i18nService, stateService, environmentService,
|
||||||
passwordGenerationService, cryptoFunctionService, broadcasterService, storageService);
|
passwordGenerationService, cryptoFunctionService, storageService);
|
||||||
super.onSuccessfulLogin = () => {
|
super.onSuccessfulLogin = () => {
|
||||||
return syncService.fullSync(true);
|
return syncService.fullSync(true);
|
||||||
};
|
};
|
||||||
|
@ -9,8 +9,6 @@ import { PasswordGenerationService } from 'jslib/abstractions/passwordGeneration
|
|||||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||||
import { StateService } from 'jslib/abstractions/state.service';
|
import { StateService } from 'jslib/abstractions/state.service';
|
||||||
|
|
||||||
import { BroadcasterService } from 'jslib/angular/services/broadcaster.service';
|
|
||||||
|
|
||||||
import { RegisterComponent as BaseRegisterComponent } from 'jslib/angular/components/register.component';
|
import { RegisterComponent as BaseRegisterComponent } from 'jslib/angular/components/register.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -21,9 +19,8 @@ export class RegisterComponent extends BaseRegisterComponent {
|
|||||||
constructor(authService: AuthService, router: Router,
|
constructor(authService: AuthService, router: Router,
|
||||||
i18nService: I18nService, cryptoService: CryptoService,
|
i18nService: I18nService, cryptoService: CryptoService,
|
||||||
apiService: ApiService, stateService: StateService,
|
apiService: ApiService, stateService: StateService,
|
||||||
platformUtilsService: PlatformUtilsService, passwordGenerationService: PasswordGenerationService,
|
platformUtilsService: PlatformUtilsService, passwordGenerationService: PasswordGenerationService) {
|
||||||
broadcasterService: BroadcasterService) {
|
|
||||||
super(authService, router, i18nService, cryptoService, apiService, stateService, platformUtilsService,
|
super(authService, router, i18nService, cryptoService, apiService, stateService, platformUtilsService,
|
||||||
passwordGenerationService, broadcasterService);
|
passwordGenerationService);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,8 +15,6 @@ import { PolicyService } from 'jslib/abstractions/policy.service';
|
|||||||
import { SyncService } from 'jslib/abstractions/sync.service';
|
import { SyncService } from 'jslib/abstractions/sync.service';
|
||||||
import { UserService } from 'jslib/abstractions/user.service';
|
import { UserService } from 'jslib/abstractions/user.service';
|
||||||
|
|
||||||
import { BroadcasterService } from 'jslib/angular/services/broadcaster.service';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
SetPasswordComponent as BaseSetPasswordComponent,
|
SetPasswordComponent as BaseSetPasswordComponent,
|
||||||
} from 'jslib/angular/components/set-password.component';
|
} from 'jslib/angular/components/set-password.component';
|
||||||
@ -30,9 +28,9 @@ export class SetPasswordComponent extends BaseSetPasswordComponent {
|
|||||||
cryptoService: CryptoService, messagingService: MessagingService,
|
cryptoService: CryptoService, messagingService: MessagingService,
|
||||||
userService: UserService, passwordGenerationService: PasswordGenerationService,
|
userService: UserService, passwordGenerationService: PasswordGenerationService,
|
||||||
platformUtilsService: PlatformUtilsService, policyService: PolicyService, router: Router,
|
platformUtilsService: PlatformUtilsService, policyService: PolicyService, router: Router,
|
||||||
syncService: SyncService, route: ActivatedRoute, broadcasterService: BroadcasterService) {
|
syncService: SyncService, route: ActivatedRoute) {
|
||||||
super(i18nService, cryptoService, messagingService, userService, passwordGenerationService,
|
super(i18nService, cryptoService, messagingService, userService, passwordGenerationService,
|
||||||
platformUtilsService, policyService, router, apiService, syncService, route, broadcasterService);
|
platformUtilsService, policyService, router, apiService, syncService, route);
|
||||||
}
|
}
|
||||||
|
|
||||||
get masterPasswordScoreWidth() {
|
get masterPasswordScoreWidth() {
|
||||||
|
Loading…
Reference in New Issue
Block a user