move AnonLayoutWrapperComponent to libs

This commit is contained in:
rr-bw 2024-04-24 16:34:45 -07:00
parent debc7e8447
commit 090d37ed54
No known key found for this signature in database
GPG Key ID: 3FA13C3ADEE51D5D
5 changed files with 5 additions and 6 deletions

View File

@ -8,6 +8,7 @@ import {
tdeDecryptionRequiredGuard,
UnauthGuard,
} from "@bitwarden/angular/auth/guards";
import { AnonLayoutWrapperComponent } from "@bitwarden/auth/angular";
import { flagEnabled, Flags } from "../utils/flags";
@ -16,7 +17,6 @@ import { FamiliesForEnterpriseSetupComponent } from "./admin-console/organizatio
import { CreateOrganizationComponent } from "./admin-console/settings/create-organization.component";
import { SponsoredFamiliesComponent } from "./admin-console/settings/sponsored-families.component";
import { AcceptOrganizationComponent } from "./auth/accept-organization.component";
import { AnonLayoutWrapperComponent } from "./auth/anon-layout-wrapper.component";
import { deepLinkGuard } from "./auth/guards/deep-link.guard";
import { HintComponent } from "./auth/hint.component";
import { LockComponent } from "./auth/lock.component";

View File

@ -7,7 +7,6 @@ import { InfiniteScrollModule } from "ngx-infinite-scroll";
import { ToastrModule } from "ngx-toastr";
import { JslibModule } from "@bitwarden/angular/jslib.module";
import { AnonLayoutComponent } from "@bitwarden/auth/angular";
import {
AsyncActionsModule,
AvatarModule,
@ -81,7 +80,6 @@ import "./locales";
TabsModule,
ToggleGroupModule,
TypographyModule,
AnonLayoutComponent,
// Web specific
],
@ -120,7 +118,6 @@ import "./locales";
TabsModule,
ToggleGroupModule,
TypographyModule,
AnonLayoutComponent,
// Web specific
],

View File

@ -1,11 +1,12 @@
import { Component, OnDestroy, OnInit } from "@angular/core";
import { RouterModule } from "@angular/router";
import { SharedModule } from "../shared";
import { AnonLayoutComponent } from "./anon-layout.component";
@Component({
standalone: true,
templateUrl: "anon-layout-wrapper.component.html",
imports: [SharedModule],
imports: [AnonLayoutComponent, RouterModule],
})
export class AnonLayoutWrapperComponent implements OnInit, OnDestroy {
async ngOnInit() {

View File

@ -6,6 +6,7 @@
export * from "./icons";
export * from "./anon-layout/anon-layout.component";
export * from "./anon-layout/anon-layout-wrapper.component";
export * from "./fingerprint-dialog/fingerprint-dialog.component";
export * from "./password-callout/password-callout.component";