2019-04-02 15:02:31 +02:00
|
|
|
<div id="vault" attr.aria-hidden="{{showingModal}}">
|
2019-02-21 22:53:32 +01:00
|
|
|
<app-vault-groupings id="groupings" (onAllClicked)="clearGroupingFilters()" (onFavoritesClicked)="filterFavorites()"
|
|
|
|
(onCipherTypeClicked)="filterCipherType($event)" (onFolderClicked)="filterFolder($event.id)"
|
|
|
|
(onAddFolder)="addFolder()" (onEditFolder)="editFolder($event.id)"
|
|
|
|
(onCollectionClicked)="filterCollection($event.id)">
|
2018-01-24 23:41:57 +01:00
|
|
|
</app-vault-groupings>
|
2019-02-21 22:53:32 +01:00
|
|
|
<app-vault-ciphers id="items" [activeCipherId]="cipherId" (onCipherClicked)="viewCipher($event)"
|
|
|
|
(onCipherRightClicked)="viewCipherMenu($event)" (onAddCipher)="addCipher($event)"
|
|
|
|
(onAddCipherOptions)="addCipherOptions()">
|
2018-01-24 23:41:57 +01:00
|
|
|
</app-vault-ciphers>
|
2019-02-21 22:53:32 +01:00
|
|
|
<app-vault-view id="details" *ngIf="cipherId && action === 'view'" [cipherId]="cipherId"
|
2020-01-31 17:07:32 +01:00
|
|
|
(onCloneCipher)="cloneCipher($event)" (onEditCipher)="editCipher($event)"
|
|
|
|
(onViewCipherPasswordHistory)="viewCipherPasswordHistory($event)">
|
2018-01-24 23:41:57 +01:00
|
|
|
</app-vault-view>
|
2020-01-31 17:07:32 +01:00
|
|
|
<app-vault-add-edit id="details" *ngIf="action === 'add' || action === 'edit' || action === 'clone'"
|
|
|
|
[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)"
|
|
|
|
(onGeneratePassword)="openPasswordGenerator(true)">
|
2018-01-26 20:56:54 +01:00
|
|
|
</app-vault-add-edit>
|
2020-01-31 17:07:32 +01:00
|
|
|
<div id="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>
|
|
|
|
</div>
|
2018-01-21 05:45:22 +01:00
|
|
|
</div>
|
2019-04-02 15:02:31 +02:00
|
|
|
<ng-template #passwordGenerator></ng-template>
|
|
|
|
<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>
|
|
|
|
<ng-template #exportVault></ng-template>
|