1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00
bitwarden-browser/libs/tools/export/vault-export
Daniel James Smith c749447894
[PM-8254] Create shareable export component (#9246)
* Make export.component a standalone component

Fix lint issue with takeUntil

* Create shareable export.component.html

Copied existing export.component.html as that has already been migrated to use the component library components
Strip the markup from the dialog and the submit-button

* Add outputs to inform the hosting component about certain events (submit, loading, disabled)

Emit successful Export

Expose a form-id so the hosting component can bind to this form

Fix name of output

* Ensure that the file gets prefixed with `org`when exporting from an organization

* When exporting from an organization ensure Organization_ClientExportedVault is collected

* Add comments to the components outputs

* Better way of addressing the previously fixed lint issue

* Fix disabling the form not emitting the formDisabled state

* Add better comments to Outputs based on PR feedback

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-05-28 22:32:01 +02:00
..
vault-export-core Prefer prefetching keys (#9289) 2024-05-22 09:56:24 -04:00
vault-export-ui [PM-8254] Create shareable export component (#9246) 2024-05-28 22:32:01 +02:00
README.md [PM-6780][PM-6781] Create vault-export-ui package / Migrate export-scope-callout.component to CL (#8318) 2024-03-20 22:11:57 +00:00

Vault Export

This folder contains 2 packages that can be used to export a users or an organizational vault.

vault-export-core

Package name: @bitwarden/vault-export-core

Contains all types, models, and services to export a user or organization's vault.

Currently in use by the Bitwarden Web Vault, CLI, desktop app and browser extension

vault-export-ui

Package name: @bitwarden/vault-export-ui

Contains all UI components used for the vault-export