2021-02-03 22:24:49 +01:00
|
|
|
<div id="vault" class="vault" attr.aria-hidden="{{ showingModal }}">
|
|
|
|
<app-vault-ciphers
|
|
|
|
id="items"
|
|
|
|
class="items"
|
|
|
|
[activeCipherId]="cipherId"
|
|
|
|
(onCipherClicked)="viewCipher($event)"
|
2019-02-21 22:53:32 +01:00
|
|
|
(onCipherRightClicked)="viewCipherMenu($event)"
|
|
|
|
(onAddCipher)="addCipher($event)"
|
|
|
|
(onAddCipherOptions)="addCipherOptions()"
|
|
|
|
>
|
2018-01-24 23:41:57 +01:00
|
|
|
</app-vault-ciphers>
|
2021-02-03 22:24:49 +01:00
|
|
|
<app-vault-view
|
|
|
|
id="details"
|
|
|
|
class="details"
|
|
|
|
*ngIf="cipherId && action === 'view'"
|
|
|
|
[cipherId]="cipherId"
|
2021-05-28 20:08:44 +02:00
|
|
|
(onCloneCipher)="cloneCipherWithoutPasswordPrompt($event)"
|
|
|
|
(onEditCipher)="editCipherWithoutPasswordPrompt($event)"
|
2020-04-13 21:13:10 +02:00
|
|
|
(onViewCipherPasswordHistory)="viewCipherPasswordHistory($event)"
|
|
|
|
(onRestoredCipher)="restoredCipher($event)"
|
|
|
|
(onDeletedCipher)="deletedCipher($event)"
|
|
|
|
>
|
2018-01-24 23:41:57 +01:00
|
|
|
</app-vault-view>
|
2021-02-03 22:24:49 +01:00
|
|
|
<app-vault-add-edit
|
|
|
|
id="addEdit"
|
|
|
|
class="details"
|
|
|
|
*ngIf="action === 'add' || action === 'edit' || action === 'clone'"
|
2020-01-31 17:07:32 +01:00
|
|
|
[cloneMode]="action === 'clone'"
|
2019-02-21 22:53:32 +01:00
|
|
|
[folderId]="action === 'add' && folderId !== 'none' ? folderId : null"
|
|
|
|
[organizationId]="action === 'add' ? addOrganizationId : null"
|
|
|
|
[collectionIds]="action === 'add' ? addCollectionIds : null"
|
2020-01-31 17:07:32 +01:00
|
|
|
[type]="action === 'add' ? (addType ? addType : type) : null"
|
|
|
|
[cipherId]="action === 'edit' || action === 'clone' ? cipherId : null"
|
2019-02-21 22:53:32 +01:00
|
|
|
(onSavedCipher)="savedCipher($event)"
|
|
|
|
(onDeletedCipher)="deletedCipher($event)"
|
|
|
|
(onEditAttachments)="editCipherAttachments($event)"
|
|
|
|
(onCancelled)="cancelledAddEdit($event)"
|
|
|
|
(onShareCipher)="shareCipher($event)"
|
|
|
|
(onEditCollections)="cipherCollections($event)"
|
2022-03-29 21:01:57 +02:00
|
|
|
(onGeneratePassword)="openGenerator(true, true)"
|
|
|
|
(onGenerateUsername)="openGenerator(true, false)"
|
2019-02-21 22:53:32 +01:00
|
|
|
>
|
2018-01-26 20:56:54 +01:00
|
|
|
</app-vault-add-edit>
|
2021-02-03 22:24:49 +01:00
|
|
|
<div
|
|
|
|
id="logo"
|
|
|
|
class="logo"
|
|
|
|
*ngIf="action !== 'add' && action !== 'edit' && action !== 'view' && action !== 'clone'"
|
|
|
|
>
|
2018-02-01 04:26:00 +01:00
|
|
|
<div class="content">
|
|
|
|
<div class="inner-content">
|
2019-04-02 15:02:31 +02:00
|
|
|
<img class="logo-image" alt="Bitwarden" aria-hidden="true" />
|
2018-02-01 04:26:00 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2022-02-14 21:43:05 +01:00
|
|
|
<app-vault-groupings
|
|
|
|
id="groupings"
|
|
|
|
class="groupings"
|
|
|
|
(onAllClicked)="clearGroupingFilters()"
|
|
|
|
(onFavoritesClicked)="filterFavorites()"
|
|
|
|
(onCipherTypeClicked)="filterCipherType($event)"
|
|
|
|
(onFolderClicked)="filterFolder($event.id)"
|
|
|
|
(onAddFolder)="addFolder()"
|
|
|
|
(onEditFolder)="editFolder($event.id)"
|
|
|
|
(onCollectionClicked)="filterCollection($event.id)"
|
|
|
|
(onTrashClicked)="filterDeleted()"
|
|
|
|
>
|
|
|
|
</app-vault-groupings>
|
2018-01-21 05:45:22 +01:00
|
|
|
</div>
|
2022-04-01 00:49:53 +02:00
|
|
|
<ng-template #generator></ng-template>
|
2019-04-02 15:02:31 +02:00
|
|
|
<ng-template #attachments></ng-template>
|
|
|
|
<ng-template #collections></ng-template>
|
|
|
|
<ng-template #share></ng-template>
|
|
|
|
<ng-template #folderAddEdit></ng-template>
|
|
|
|
<ng-template #passwordHistory></ng-template>
|