{ "version": 3, "sources": ["libs/galaxy/chat/src/chat-bubble/chat-bubble.component.ts", "libs/galaxy/chat/src/chat-bubble/chat-bubble.component.html", "libs/galaxy/chat/src/chat-divider-text/chat-divider-text.component.ts", "libs/galaxy/chat/src/chat-divider-text/chat-divider-text.component.html", "libs/galaxy/chat/src/chat-event/chat-event.component.ts", "libs/galaxy/chat/src/chat-event/chat-event.component.html", "libs/galaxy/chat/src/chat-container/chat-container.component.ts", "libs/galaxy/chat/src/chat-container/chat-container.component.html", "libs/galaxy/chat/src/chat-message/chat-message.component.ts", "libs/galaxy/chat/src/chat-message/chat-message.component.html", "libs/galaxy/chat/src/chat-message-group/chat-message-group.component.ts", "libs/galaxy/chat/src/chat-message-group/chat-message-group.component.html", "libs/galaxy/chat/src/directives/additional-metadata.ts", "libs/galaxy/chat/src/chat.module.ts"], "sourcesContent": ["import { Component, HostBinding, Input } from '@angular/core';\n\n/**\n * @deprecated Use the new `glxy-chat-message-group` component instead\n */\n@Component({\n selector: 'glxy-chat-bubble',\n templateUrl: './chat-bubble.component.html',\n styleUrls: ['./chat-bubble.component.scss'],\n})\nexport class ChatBubbleComponent {\n @HostBinding('class') class = 'glxy-chat-bubble';\n\n @Input() type: 'sent' | 'received' = 'received';\n\n @Input() messageText?: string;\n\n @Input() messageFrom?: string;\n\n @Input() messageMetadata?: string;\n\n @Input() profilePicUrl?: string;\n\n @Input() profileSVGIcon?: string;\n\n @Input() profileBackgroundColor?: string;\n\n @Input() profileSourceIconUrl?: string;\n\n @Input() showProfilePic?: boolean | 'auto' = `auto`;\n\n @Input() sentFromYou = true;\n\n @Input() isTyping = false;\n\n get shouldShowProfilePic(): boolean {\n return (\n this.showProfilePic === true ||\n (this.type === 'received' && this.showProfilePic !== false) ||\n (this.type === 'sent' && !this.sentFromYou && this.showProfilePic !== false)\n );\n }\n\n get profilePicCSS(): string {\n return this.profilePicUrl ? 'url(' + this.profilePicUrl + ')' : '';\n }\n\n get profileSourceIconCSS(): string {\n return this.profileSourceIconUrl ? 'url(' + this.profileSourceIconUrl + ')' : '';\n }\n}\n", "