mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
[PM-9921] Add Popout to Add/Edit/View components (#10382)
* add popout component to add/edit component * add popout component to view cipher components * fix formatting
This commit is contained in:
parent
334393ff16
commit
aaf8b3e2b1
@ -4,7 +4,9 @@
|
||||
[pageTitle]="headerText"
|
||||
[backAction]="handleBackButton.bind(this)"
|
||||
showBackButton
|
||||
></popup-header>
|
||||
>
|
||||
<app-pop-out slot="end" />
|
||||
</popup-header>
|
||||
|
||||
<vault-cipher-form
|
||||
*ngIf="!loading"
|
||||
|
@ -21,6 +21,7 @@ import {
|
||||
} from "@bitwarden/vault";
|
||||
|
||||
import BrowserPopupUtils from "../../../../../platform/popup/browser-popup-utils";
|
||||
import { PopOutComponent } from "../../../../../platform/popup/components/pop-out.component";
|
||||
import { PopupFooterComponent } from "../../../../../platform/popup/layout/popup-footer.component";
|
||||
import { PopupHeaderComponent } from "../../../../../platform/popup/layout/popup-header.component";
|
||||
import { PopupPageComponent } from "../../../../../platform/popup/layout/popup-page.component";
|
||||
@ -118,6 +119,7 @@ export type AddEditQueryParams = Partial<Record<keyof QueryParams, string>>;
|
||||
PopupFooterComponent,
|
||||
CipherFormModule,
|
||||
AsyncActionsModule,
|
||||
PopOutComponent,
|
||||
],
|
||||
})
|
||||
export class AddEditV2Component implements OnInit {
|
||||
|
@ -1,5 +1,7 @@
|
||||
<popup-page>
|
||||
<popup-header slot="header" [pageTitle]="headerText" showBackButton> </popup-header>
|
||||
<popup-header slot="header" [pageTitle]="headerText" showBackButton>
|
||||
<app-pop-out slot="end" />
|
||||
</popup-header>
|
||||
|
||||
<app-cipher-view *ngIf="cipher" [cipher]="cipher"></app-cipher-view>
|
||||
|
||||
|
@ -24,6 +24,7 @@ import {
|
||||
} from "@bitwarden/components";
|
||||
|
||||
import { CipherViewComponent } from "../../../../../../../../libs/vault/src/cipher-view";
|
||||
import { PopOutComponent } from "../../../../../platform/popup/components/pop-out.component";
|
||||
|
||||
import { PopupFooterComponent } from "./../../../../../platform/popup/layout/popup-footer.component";
|
||||
import { PopupHeaderComponent } from "./../../../../../platform/popup/layout/popup-header.component";
|
||||
@ -45,6 +46,7 @@ import { PopupPageComponent } from "./../../../../../platform/popup/layout/popup
|
||||
IconButtonModule,
|
||||
CipherViewComponent,
|
||||
AsyncActionsModule,
|
||||
PopOutComponent,
|
||||
],
|
||||
})
|
||||
export class ViewV2Component {
|
||||
|
Loading…
Reference in New Issue
Block a user