import { Component, EventEmitter, Input, Output } from "@angular/core"; import { ButtonModule, NoItemsModule, svgIcon } from "@bitwarden/components"; import { SharedModule } from "../../shared"; import { CollectionDialogTabType } from "../components/collection-dialog"; const icon = svgIcon` `; @Component({ selector: "collection-access-restricted", standalone: true, imports: [SharedModule, ButtonModule, NoItemsModule], template: ` {{ "youDoNotHavePermissions" | i18n }} `, }) export class CollectionAccessRestrictedComponent { protected icon = icon; protected collectionDialogTabType = CollectionDialogTabType; @Input() canEditCollection = false; @Input() canViewCollectionInfo = false; @Output() viewCollectionClicked = new EventEmitter<{ readonly: boolean; tab: CollectionDialogTabType; }>(); }