bitwarden-estensione-browser/bitwarden_license/bit-web/src/app/secrets-manager/layout/secrets-manager-logo.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
14 KiB
TypeScript
Raw Normal View History

SM-310 [] Secrets (#3355) * [SM-63] Secrets List overview (#3239) The purpose of this PR is to create a new component for the Secrets Manager project where all the secrets associated to a specific organization ID can be viewed. * [SM-63] Secrets List overview (#3239) The purpose of this PR is to create a new component for the Secrets Manager project where all the secrets associated to a specific organization ID can be viewed. * [SM-63] Display dates based off Figma (#3358) * Display dates based off Figma * Swapping date to medium format * [SM-185] Use feature flags for secrets (#3409) * Fix SM lint errors (#3526) * Fix SM lint errors * Update bitwarden_license/bit-web/src/app/sm/secrets/secrets.component.ts Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * [SM-65] Create/Edit Secrets Dialog (#3376) The purpose of this PR is to add a Create/Edit Secrets dialog component. * [SM-198] Empty Secrets View (#3585) * SM-198 Empty Secrets View * [SM-64] Soft delete secrets (#3549) * Soft delete secrets * SM-95-ProjectList (#3508) * Adding project list and creating a shared module for secrets * updates to style , temporarily using secrets results until API portion is completed * removing non project related options from the list, updting api call to call projects now * Adding view project option from drop down * Changes requested by Thomas * Changes requested by Thomas * suggested fixes * fixes after merge from master * Adding decrypting to project list * Update bitwarden_license/bit-web/src/app/sm/shared/sm-shared.module.ts Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * Update bitwarden_license/bit-web/src/app/sm/projects/project.service.ts Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * Update bitwarden_license/bit-web/src/app/sm/projects/project.service.ts Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * fix to projectRequest so name is type EncString instead of string * lint + prettier fixes * Oscar's suggestions - Removing this. from projectList * updating to use bitIconButton * Updating to use BitIconButton Co-authored-by: CarleyDiaz-Bitwarden <103955722+CarleyDiaz-Bitwarden@users.noreply.github.com> Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * Fix double edit secret dialog (#3645) * Fix typescript errors on secrets init (#3649) * Resolve breaking changes * Remove unecessary class * SM-198 Update empty list text. (#3652) * [SM-267] Minor visual fixes (#3673) * SM-96: Add/Edit Project for SM (#3616) * SM-96: Initial add for Add/Edit project * Update secrets.module.ts * Small fixes based on PR comments * SM-96: Small fixes + fix new project creation * Fully fix create / edit project * SM-96: Update toast text * Remove message with exclamation * SM-96: Fix broken build * SM-96: Remove disabled on save buttons for SM dialogs & switch to early exits * SM-96: Run linter * [SM-186] Service Accounts - Overview (#3653) * SM-186 Service Accounts Overview * Remove duplicate titles (#3659) * [SM-187] Create Service Account Dialog (#3710) * SM-187 Create Service Account Dialog * Fix renamed paths * SM Modal Updates (#3776) * Add type=button to cancel button on sm dialogs * Update new secret/project modal titles to match design * Add loading spinner for project and secret edit modals * Add max length to project name * Use Tailwind CSS class instead of custom and remove click handler * Fix spinner * Add buttonType=primary to project dialog save button * Fix loading change for secret dialog and use tw-text-center Co-authored-by: Hinton <hinton@users.noreply.github.com> * [SM-113] Delete Projects Dialog (#3777) * SM-113 Add Delete Projects Dialog * [SM-306] Migrate secrets dialog to async form (#3849) * [SM-310] Prepare secrets manager for merge to master (#3885) * Remove Built In Validator on Project Delete (#3909) Handle all Project Delete validation through custom validator * [SM-312] Mark all inputs as touched when submitting (#3920) * Use new icon for no item (#3917) * Create navigation component (#3881) * [SM-150] Project / Secret mapping (#3912) * wip * removing added file * updates * handling projects and secrets mapping in UI * moving files and fixing errors * Update bitwarden_license/bit-web/src/app/secrets-manager/secrets/secrets-list.component.html Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * Decrypt the name * fixing the secrets-list.component bug * renaming file and view name * lint fixes * removing secret with projects list response, and other misc name changes * Adding back things I shouldnt have deleted * Update bitwarden_license/bit-web/src/app/secrets-manager/secrets/responses/secret-with-projects-list.response.ts Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * updating button (#3779) * [SM-300] Access Tokens (#3955) * [SM-301] fix: associate labels with inputs (#4058) * fix: wrap input in label * fix: update all label in projects and service accounts * [SM-196] Create Access Token Dialog (#4095) * Add create access token dialog * Use ServiceAccountView for access token creation * Set version to readonly for access token * DRY up Expiration Date & bug fix * Break out expiration options component * Move expiration-options to layout; Match FIGMA * Create Generic Key generator * Add getByServiceAccountId * Change to use keyMaterial and not the full key * Use access token id, not service account * Remove generic key generator * Swap to service account name placeholder * Swap ExpirationOptions to a CVA * No longer masking according to FIGMA * Remove schema comment * Code review updates * Update required logic and approach * Move ExpirationOptionsComponent into access Co-authored-by: Hinton <hinton@users.noreply.github.com> * SM-99: Individual Project / Secrets Tab (#4011) Co-authored-by: Hinton <hinton@users.noreply.github.com> * Fixes for the demo (#4159) * [SM-360] Add support for never expiring access tokens (#4150) * Add support for never expiring access tokens * Render performance fixes * Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/access/dialogs/expiration-options.component.ts Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * [SM-360] Fix access token display dialog for never expiring tokens (#4164) * Fix access token display dialog * Add disableClose to access token display dialog * [SM-299] Add license checks (#4078) * [SM-69] feature: create org-switcher, bit-nav-item, bit-nav-group, bit-nav-divider (#4073) * feat: create nav-item, nav-group, org-switcher * add tree variant; add stories; move to component library * render button if no link is present * fix routerLinkActive; add template comments; fix styles * update storybook stories * rename to route * a11y fixes * update stories * simplify tree nesting * rename nav-base component * add divider; finish org-switcher; add overview page skeleton * add nav-divider story * code review * rename components to CL naming scheme * fix iconButton focus color * apply code review changes * fix strict template route param * add ariaLabel input; update org-switcher a11y * add two way binding for nav-group open state; update stories * add toggle control to org-switcher * [SM-310] Disable Secrets Manager in QA (#4199) Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com> Co-authored-by: Thomas Avery <tavery@bitwarden.com> Co-authored-by: CarleyDiaz-Bitwarden <103955722+CarleyDiaz-Bitwarden@users.noreply.github.com> Co-authored-by: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com> Co-authored-by: Colton Hurst <colton@coltonhurst.com> Co-authored-by: Will Martin <contact@willmartian.com>
2022-12-09 11:21:07 +01:00
import { svgIcon } from "@bitwarden/components";
export const SecretsManagerLogo = svgIcon`
<svg viewBox="0 0 197 51" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M51.865 10.157c-1.299-1.814-3.066-2.684-5.338-2.684-2.38 0-4.22.98-5.41 2.866H40.9c.145-1.742.217-3.011.217-3.81V.944a.648.648 0 0 0-.65-.653h-3.895c-.36 0-.649.29-.649.653v25.502c0 .363.289.653.65.653h2.885a.667.667 0 0 0 .613-.4l.685-1.704h.36c1.3 1.669 3.03 2.467 5.303 2.467 2.272 0 4.075-.835 5.41-2.612 1.334-1.741 1.983-4.208 1.983-7.4 0-3.084-.649-5.514-1.947-7.292Zm-9.846 2.757c.613-.798 1.587-1.197 2.849-1.197 1.082 0 1.983.472 2.633 1.415.613.943.938 2.358.938 4.244 0 1.85-.325 3.337-.938 4.317-.613 1.016-1.515 1.523-2.561 1.523-1.334 0-2.308-.471-2.921-1.342-.614-.87-.902-2.358-.902-4.425v-.58c0-1.815.324-3.157.902-3.955ZM58.5 27.134h3.896c.36 0 .685-.363.649-.689V8.525a.648.648 0 0 0-.65-.653H58.5c-.36 0-.649.29-.649.653V26.48c0 .363.289.653.65.653Zm20.883-4.317c-1.082.29-1.983.436-2.74.436-.65 0-1.227-.182-1.588-.58-.397-.327-.613-.908-.613-1.633v-9.214h4.905a.418.418 0 0 0 .433-.435V8.126c0-.11-.108-.218-.216-.218h-5.158V4.244a.418.418 0 0 0-.433-.435h-2.597c-.18 0-.324.109-.396.29l-1.407 3.773-2.85 1.705a.13.13 0 0 1-.017.054.13.13 0 0 0-.018.055v1.705c0 .254.18.435.432.435h2.056v9.25c0 2.104.505 3.7 1.443 4.752.938 1.089 2.453 1.596 4.544 1.596 1.732 0 3.282-.253 4.509-.761a.446.446 0 0 0 .252-.4v-3.01c0-.29-.252-.508-.54-.436Zm20.414 3.52c.217.47.614.797 1.119.797h.144c.541 0 .974-.326 1.118-.834l4.544-16.868a.825.825 0 0 0-.793-1.052.847.847 0 0 0-.794.616l-2.705 10.121c-.829 3.265-1.262 5.296-1.37 6.022h-.108c-.181-.907-.686-2.648-1.515-5.369l-3.39-10.665a1.051 1.051 0 0 0-1.01-.725c-.505 0-.902.29-1.046.725l-3.643 10.738c-.325.907-.83 2.684-1.479 5.369h-.108c-.217-1.306-.686-3.265-1.37-5.95L84.577 8.996a.845.845 0 0 0-.794-.616h-.108c-.577 0-.974.544-.83 1.052l4.8 16.868c.144.508.577.834 1.082.834.505 0 .938-.29 1.082-.762l3.931-11.717.757-2.466.361-1.306h.108l.282 1.065a87.39 87.39 0 0 0 .728 2.671l3.823 11.717Zm21.893.217c.036.326.325.58.65.58.36 0 .685-.363.721-.58v-11.79c0-2.213-.505-3.918-1.515-4.97-1.046-1.088-2.561-1.632-4.617-1.632-1.803 0-3.57.4-5.374 1.125-.396.145-.577.616-.396 1.015.18.4.649.58 1.046.4 1.587-.762 3.101-1.125 4.616-1.125 1.587 0 2.705.435 3.463 1.342.757.907 1.118 2.213 1.118 4.027v1.233l-3.535.109c-2.921 0-5.085.616-6.636 1.632-1.515 1.052-2.309 2.866-2.164 4.752.072 1.415.577 2.54 1.478 3.374 1.01.943 2.417 1.415 4.256 1.415 1.335 0 2.525-.218 3.499-.726 1.01-.508 1.948-1.378 2.885-2.575h.181l.324 2.394Zm-2.128-2.358c-1.118 1.124-2.669 1.705-4.688 1.705-1.299 0-2.309-.327-3.102-.87-.685-.654-1.046-1.597-1.046-2.758 0-1.45.577-2.575 1.695-3.264 1.154-.69 2.994-1.125 5.627-1.234l3.246-.145v1.814c0 1.995-.578 3.627-1.732 4.752Zm18.359-16.07a14.21 14.21 0 0 0-1.696-.11c-1.226 0-2.272.291-3.101.872-.866.544-1.695 1.523-2.453 2.902h-.108l-.144-2.685c0-.399-.325-.689-.722-.689a.726.726 0 0 0-.721.725v17.05c0 .472.361.834.829.834.469 0 .83-.362.83-.834v-9.504c0-2.032.505-3.773 1.515-5.115 1.01-1.342 2.308-2.031 3.895-2.031.541 0 1.082.072 1.623.145.433.072.866-.182.938-.617a.818.818 0 0 0-.685-.943Zm14.499.616c-.974-.471-2.164-.725-3.499-.725-2.597 0-4.544.87-5.915 2.43-1.37 1.742-2.02 4.208-2.02 7.437 0 3.083.722 5.405 2.056 7.037 1.407 1.633 3.318 2.43 5.915 2.43 2.633 0 4.689-1.051 6.096-3.191h.144l.361 2.357c.036.327.288.545.577.545a.572.572 0 0 0 .577-.58V1.124a.819.819 0 0 0-.83-.835.818.818 0 0 0-.829.835v5.912c0 1.379.036 2.757.108 4.245h-.108c-.758-1.197-1.623-2.068-2.633-2.54Zm-8.115 3.011c1.046-1.45 2.56-2.176 4.616-2.176 2.164 0 3.715.617 4.653 1.922 1.01 1.234 1.479 3.301 1.479 6.204v.29c0 2.83-.469 4.86-1.479 6.094-.974 1.233-2.489 1.85-4.617 1.85-4.111 0-6.167-2.648-6.167-7.944 0-2.757.505-4.825 1.515-6.24Zm19.873 13.168c1.551 1.705 3.642 2.54 6.348 2.54 1.082 0 2.055-.073 2.957-.327a12.269 12.269 0 0 0 2.453-.725.745.745 0 0 0 .469-.69c0-.507-.505-.87-.974-.689-.83.29-1.515.472-2.092.58-.794.146-1.768.218-2.813.218-2.201 0-3.86-.616-5.05-1.995-1.19-1.378-1.767-3.337-1.803-5.913h13.417v-1.378c0-2.648-.613-4.752-1.912-6.276-1.226-1.524-2.993-2.285-5.157-2.285-2.489 0-4.437.907-5.915 2.72-1.479 1.778-2.201 4.172-2.
</svg>
`;