mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[PM-2135] feat: create new user-verification module
This commit is contained in:
3
apps/web/src/app/components/user-verification/index.ts
Normal file
3
apps/web/src/app/components/user-verification/index.ts
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
export * from "./user-verification.module";
|
||||||
|
export * from "./user-verification.component";
|
||||||
|
export * from "./user-verification-prompt.component";
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
import { NgModule } from "@angular/core";
|
||||||
|
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
||||||
|
|
||||||
|
import { SharedModule } from "../../shared/shared.module";
|
||||||
|
|
||||||
|
import { UserVerificationPromptComponent } from "./user-verification-prompt.component";
|
||||||
|
import { UserVerificationComponent } from "./user-verification.component";
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [SharedModule, FormsModule, ReactiveFormsModule],
|
||||||
|
declarations: [UserVerificationComponent, UserVerificationPromptComponent],
|
||||||
|
exports: [UserVerificationComponent, UserVerificationPromptComponent],
|
||||||
|
})
|
||||||
|
export class UserVerificationModule {}
|
||||||
@@ -64,8 +64,7 @@ import { TaxInfoComponent } from "../billing/settings/tax-info.component";
|
|||||||
import { UserSubscriptionComponent } from "../billing/settings/user-subscription.component";
|
import { UserSubscriptionComponent } from "../billing/settings/user-subscription.component";
|
||||||
import { DynamicAvatarComponent } from "../components/dynamic-avatar.component";
|
import { DynamicAvatarComponent } from "../components/dynamic-avatar.component";
|
||||||
import { SelectableAvatarComponent } from "../components/selectable-avatar.component";
|
import { SelectableAvatarComponent } from "../components/selectable-avatar.component";
|
||||||
import { UserVerificationPromptComponent } from "../components/user-verification-prompt.component";
|
import { UserVerificationModule } from "../components/user-verification";
|
||||||
import { UserVerificationComponent } from "../components/user-verification.component";
|
|
||||||
import { FooterComponent } from "../layouts/footer.component";
|
import { FooterComponent } from "../layouts/footer.component";
|
||||||
import { FrontendLayoutComponent } from "../layouts/frontend-layout.component";
|
import { FrontendLayoutComponent } from "../layouts/frontend-layout.component";
|
||||||
import { NavbarComponent } from "../layouts/navbar.component";
|
import { NavbarComponent } from "../layouts/navbar.component";
|
||||||
@@ -122,6 +121,7 @@ import { SharedModule } from "./shared.module";
|
|||||||
ProductSwitcherModule,
|
ProductSwitcherModule,
|
||||||
ChangeKdfModule,
|
ChangeKdfModule,
|
||||||
DynamicAvatarComponent,
|
DynamicAvatarComponent,
|
||||||
|
UserVerificationModule,
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
PremiumBadgeComponent,
|
PremiumBadgeComponent,
|
||||||
@@ -178,7 +178,6 @@ import { SharedModule } from "./shared.module";
|
|||||||
GeneratorComponent,
|
GeneratorComponent,
|
||||||
PasswordGeneratorHistoryComponent,
|
PasswordGeneratorHistoryComponent,
|
||||||
PasswordRepromptComponent,
|
PasswordRepromptComponent,
|
||||||
UserVerificationPromptComponent,
|
|
||||||
PaymentComponent,
|
PaymentComponent,
|
||||||
PaymentMethodComponent,
|
PaymentMethodComponent,
|
||||||
PreferencesComponent,
|
PreferencesComponent,
|
||||||
@@ -224,7 +223,6 @@ import { SharedModule } from "./shared.module";
|
|||||||
BillingHistoryViewComponent,
|
BillingHistoryViewComponent,
|
||||||
UserLayoutComponent,
|
UserLayoutComponent,
|
||||||
UserSubscriptionComponent,
|
UserSubscriptionComponent,
|
||||||
UserVerificationComponent,
|
|
||||||
VaultTimeoutInputComponent,
|
VaultTimeoutInputComponent,
|
||||||
VerifyEmailComponent,
|
VerifyEmailComponent,
|
||||||
VerifyEmailTokenComponent,
|
VerifyEmailTokenComponent,
|
||||||
@@ -232,6 +230,7 @@ import { SharedModule } from "./shared.module";
|
|||||||
LowKdfComponent,
|
LowKdfComponent,
|
||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
|
UserVerificationModule,
|
||||||
PremiumBadgeComponent,
|
PremiumBadgeComponent,
|
||||||
AcceptEmergencyComponent,
|
AcceptEmergencyComponent,
|
||||||
AcceptOrganizationComponent,
|
AcceptOrganizationComponent,
|
||||||
@@ -330,7 +329,6 @@ import { SharedModule } from "./shared.module";
|
|||||||
BillingHistoryViewComponent,
|
BillingHistoryViewComponent,
|
||||||
UserLayoutComponent,
|
UserLayoutComponent,
|
||||||
UserSubscriptionComponent,
|
UserSubscriptionComponent,
|
||||||
UserVerificationComponent,
|
|
||||||
VaultTimeoutInputComponent,
|
VaultTimeoutInputComponent,
|
||||||
VerifyEmailComponent,
|
VerifyEmailComponent,
|
||||||
VerifyEmailTokenComponent,
|
VerifyEmailTokenComponent,
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import { PolicyService } from "@bitwarden/common/admin-console/abstractions/poli
|
|||||||
import { EncryptedExportType } from "@bitwarden/common/enums";
|
import { EncryptedExportType } from "@bitwarden/common/enums";
|
||||||
import { VaultExportServiceAbstraction } from "@bitwarden/exporter/vault-export";
|
import { VaultExportServiceAbstraction } from "@bitwarden/exporter/vault-export";
|
||||||
|
|
||||||
import { UserVerificationPromptComponent } from "../../components/user-verification-prompt.component";
|
import { UserVerificationPromptComponent } from "../../components/user-verification";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-export",
|
selector: "app-export",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { combineLatestWith, Observable, startWith, switchMap } from "rxjs";
|
|||||||
import { DialogServiceAbstraction } from "@bitwarden/angular/services/dialog";
|
import { DialogServiceAbstraction } from "@bitwarden/angular/services/dialog";
|
||||||
import { ModalService } from "@bitwarden/angular/services/modal.service";
|
import { ModalService } from "@bitwarden/angular/services/modal.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
|
||||||
import { UserVerificationPromptComponent } from "@bitwarden/web-vault/app/components/user-verification-prompt.component";
|
import { UserVerificationPromptComponent } from "@bitwarden/web-vault/app/components/user-verification";
|
||||||
|
|
||||||
import { AccessTokenView } from "../models/view/access-token.view";
|
import { AccessTokenView } from "../models/view/access-token.view";
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
|||||||
import { LogService } from "@bitwarden/common/abstractions/log.service";
|
import { LogService } from "@bitwarden/common/abstractions/log.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
|
||||||
import { OrganizationService } from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction";
|
import { OrganizationService } from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction";
|
||||||
import { UserVerificationPromptComponent } from "@bitwarden/web-vault/app/components/user-verification-prompt.component";
|
import { UserVerificationPromptComponent } from "@bitwarden/web-vault/app/components/user-verification";
|
||||||
|
|
||||||
import { SecretsManagerPortingApiService } from "../services/sm-porting-api.service";
|
import { SecretsManagerPortingApiService } from "../services/sm-porting-api.service";
|
||||||
import { SecretsManagerPortingService } from "../services/sm-porting.service";
|
import { SecretsManagerPortingService } from "../services/sm-porting.service";
|
||||||
|
|||||||
Reference in New Issue
Block a user