{ "version": 3, "sources": ["src/app/shared/tag-badge/tag-badge.component.ts", "src/app/shared/tag-badge/tag-badge.component.html"], "sourcesContent": ["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\r\nimport {CommonModule} from \"@angular/common\";\r\n\r\n/**\r\n * What type of cursor to apply to the tag badge\r\n */\r\nexport enum TagBadgeCursor {\r\n /**\r\n * Allows the user to select text\r\n * cursor: default\r\n */\r\n Selectable,\r\n /**\r\n * Informs the user they can click and interact with badge\r\n * cursor: pointer\r\n */\r\n Clickable,\r\n /**\r\n * Informs the user they cannot click or interact with badge\r\n * cursor: not-allowed\r\n */\r\n NotAllowed,\r\n}\r\n\r\n@Component({\r\n selector: 'app-tag-badge',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './tag-badge.component.html',\r\n styleUrls: ['./tag-badge.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class TagBadgeComponent {\r\n\r\n @Input() selectionMode: TagBadgeCursor = TagBadgeCursor.Selectable;\r\n @Input() fillStyle: 'filled' | 'outline' = 'outline';\r\n\r\n get TagBadgeCursor() {\r\n return TagBadgeCursor;\r\n }\r\n}\r\n", "