@forgeroute/ui 0.5.32 → 0.5.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"forgeroute-ui-conversations.mjs","names":[],"sources":["../../../projects/forgeroute-ui/conversations/src/lib/bulk-message-panel/bulk-message-panel.component.ts","../../../projects/forgeroute-ui/conversations/src/lib/conversations/conversations.utils.ts","../../../projects/forgeroute-ui/conversations/src/lib/conversations/conversations.component.ts"],"sourcesContent":["import {\n Component, input, output, effect, untracked,\n ChangeDetectionStrategy, signal, computed, inject, } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { SidePanelComponent } from '@forgeroute/ui/core';\nimport { ToggleBadgeComponent } from '@forgeroute/ui/toggle-badge';\nimport { TextInputComponent } from '@forgeroute/ui/text-input';\nimport { TextareaInputComponent } from '@forgeroute/ui/textarea-input';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\nexport interface BulkMessageContact {\n id: string;\n name: string;\n email: string | null;\n phone: string | null;\n}\n\nexport interface BulkMessageSendEvent {\n channel: 'email' | 'text';\n subject: string;\n body: string;\n contacts: BulkMessageContact[];\n}\n\n@Component({\n selector: 'ui-bulk-message-panel',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [FormsModule, SidePanelComponent, ToggleBadgeComponent, TextInputComponent, TextareaInputComponent],\n template: `\n <ui-side-panel\n [open]=\"open()\"\n [title]=\"labels.t('bulkMessagePanel.sendBulkMessage')\"\n [primaryLabel]=\"primaryLabel()\"\n primaryVariant=\"warning\"\n [primaryLoading]=\"sending()\"\n [primaryDisabled]=\"!canSend()\"\n (closed)=\"closed.emit()\"\n (primaryClick)=\"onSend()\">\n\n <div class=\"msg-channel-row\">\n <label class=\"form-label\">{{ labels.t('bulkMessagePanel.sendVia') }}</label>\n <div class=\"msg-via-tabs\">\n <ui-toggle-badge [active]=\"channel() === 'email'\" (toggle)=\"onChannelChange('email')\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"/><path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"/></svg>{{ labels.t('common.email') }}</ui-toggle-badge>\n @if (textEnabled()) {\n <ui-toggle-badge [active]=\"channel() === 'text'\" (toggle)=\"onChannelChange('text')\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/></svg>{{ labels.t('common.text') }}</ui-toggle-badge>\n }\n </div>\n </div>\n\n <p class=\"bulk-msg-recipients\">{{ labels.t('bulkMessagePanel.sendingTo') }} <strong>{{ activeContacts().length }}</strong> {{ labels.t(activeContacts().length === 1 ? 'bulkMessagePanel.contactWord_one' : 'bulkMessagePanel.contactWord_other') }}\n @if (skippedCount() > 0) {\n <span class=\"bulk-msg-skipped\">&mdash; {{ labels.t(skippedCount() === 1 ? 'bulkMessagePanel.skippedNo_one' : 'bulkMessagePanel.skippedNo_other', { count: skippedCount(), what: labels.t(channel() === 'email' ? 'bulkMessagePanel.noEmailWord' : 'bulkMessagePanel.noPhoneWord') }) }}</span>\n }\n </p>\n\n @if (channel() === 'email') {\n <ui-text-input [label]=\"labels.t('common.subject')\" [(ngModel)]=\"subject\" [placeholder]=\"labels.t('bulkMessagePanel.subjectLine')\" />\n }\n <ui-textarea-input [label]=\"labels.t('common.message')\" [rows]=\"6\" [(ngModel)]=\"body\" [placeholder]=\"labels.t('bulkMessagePanel.writeYourMessage')\" />\n\n </ui-side-panel>\n `,\n styles: [`\n .msg-channel-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }\n .msg-via-tabs { display: flex; gap: 6px; flex-wrap: wrap; }\n .form-label { font-size: 0.75rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }\n .bulk-msg-recipients { font-size: 0.9375rem; color: #334155; margin: 0 0 16px; }\n .bulk-msg-skipped { color: #94a3b8; font-size: 0.875rem; }\n `],\n})\nexport class BulkMessagePanelComponent {\n protected readonly labels = inject(UiLabelsService);\n readonly open = input(false);\n readonly contacts = input<BulkMessageContact[]>([]);\n readonly textEnabled = input(false);\n readonly sending = input(false);\n\n readonly closed = output<void>();\n readonly send = output<BulkMessageSendEvent>();\n\n readonly channel = signal<'email' | 'text'>('email');\n\n private readonly _subject = signal('');\n private readonly _body = signal('');\n\n get subject() { return this._subject(); }\n set subject(v: string) { this._subject.set(v); }\n\n get body() { return this._body(); }\n set body(v: string) { this._body.set(v); }\n\n readonly emailContacts = computed(() => this.contacts().filter(c => !!c.email));\n readonly textContacts = computed(() => this.contacts().filter(c => !!c.phone));\n readonly activeContacts = computed(() => this.channel() === 'email' ? this.emailContacts() : this.textContacts());\n readonly skippedCount = computed(() => this.contacts().length - this.activeContacts().length);\n\n readonly canSend = computed(() => {\n if (this.activeContacts().length === 0) return false;\n if (this.channel() === 'email') return !!this._subject().trim() && !!this._body().trim();\n return !!this._body().trim();\n });\n\n readonly primaryLabel = computed(() => {\n const n = this.activeContacts().length;\n return this.labels.t(n === 1 ? 'bulkMessagePanel.sendToN_one' : 'bulkMessagePanel.sendToN_other', { count: n });\n });\n\n private _prevOpen = false;\n\n constructor() {\n effect(() => {\n const isOpen = this.open();\n const openedNow = isOpen && !this._prevOpen;\n this._prevOpen = isOpen;\n if (openedNow) {\n untracked(() => {\n const hasEmail = this.contacts().some(c => !!c.email);\n this.channel.set(hasEmail ? 'email' : 'text');\n this._subject.set('');\n this._body.set('');\n });\n }\n });\n }\n\n onChannelChange(ch: 'email' | 'text') { this.channel.set(ch); }\n\n onSend() {\n if (!this.canSend() || this.sending()) return;\n this.send.emit({\n channel: this.channel(),\n subject: this._subject(),\n body: this._body(),\n contacts: this.activeContacts(),\n });\n }\n}\n","import { ConversationMessage, ConversationMessageRow } from './conversations.models';\nimport { UiLabelKey, UiLabelsService, defaultLabel, uiText } from '@forgeroute/ui/core';\nimport { safeLocale } from '@forgeroute/ui/core';\n\n/**\n * Pure display helpers of `ui-conversations` (no Angular). Dates are formatted with an explicit 'en-US' locale and are only ever\n * read from ISO strings, so Chrome, Edge, Firefox and Safari print the same text.\n */\n\n/** \"(512) 555-0100\"; \"+1 (512) 555-0100\" for an 11-digit number that starts with 1; anything else is returned as stored ('' for none). */\nexport function formatConversationPhone(phone: string | null | undefined): string {\n if (!phone) return '';\n const digits = phone.replace(/\\D/g, '');\n if (digits.length === 10) return `(${digits.slice(0, 3)}) ${digits.slice(3, 6)}-${digits.slice(6)}`;\n if (digits.length === 11 && digits.startsWith('1')) return `+1 (${digits.slice(1, 4)}) ${digits.slice(4, 7)}-${digits.slice(7)}`;\n return phone;\n}\n\n/** The text cut at `len` characters with \"...\" ('' for none). */\nexport function truncateConversationText(text: string | null | undefined, len: number): string {\n if (!text) return '';\n return text.length > len ? text.substring(0, len) + '...' : text;\n}\n\n/** \"now\", \"5m\", \"3h\", \"2d\", then \"Oct 12\" (the list's time column). '' for a missing or unreadable date. */\nexport function formatConversationTime(iso: string | null | undefined, now: Date = new Date(), ui?: UiLabelsService): string {\n const text = (key: UiLabelKey, params?: Record<string, string | number>) => ui ? ui.t(key, params) : defaultLabel(key, params);\n if (!iso) return '';\n const d = new Date(iso);\n if (Number.isNaN(d.getTime())) return '';\n const mins = Math.floor((now.getTime() - d.getTime()) / 60000);\n if (mins < 1) return text('time.now');\n if (mins < 60) return text('time.minutesShort', { n: mins });\n const hrs = Math.floor(mins / 60);\n if (hrs < 24) return text('time.hoursShort', { n: hrs });\n const days = Math.floor(hrs / 24);\n if (days < 7) return text('time.daysShort', { n: days });\n return d.toLocaleDateString(safeLocale(ui?.locale()), { month: 'short', day: 'numeric' });\n}\n\n/** \"3:05 PM\" (a message's time). '' for an unreadable date. */\nexport function formatMessageTime(iso: string, ui?: UiLabelsService): string {\n const d = new Date(iso);\n return Number.isNaN(d.getTime()) ? '' : d.toLocaleTimeString(safeLocale(ui?.locale()), { hour: 'numeric', minute: '2-digit' });\n}\n\n/** \"Today\", \"Yesterday\" or \"Oct 12, 2026\" (the date separator in a thread). '' for an unreadable date (never \"Invalid Date\"). */\nexport function conversationDateLabel(iso: string, now: Date = new Date(), ui?: UiLabelsService): string {\n const d = new Date(iso);\n if (Number.isNaN(d.getTime())) return '';\n const yesterday = new Date(now);\n yesterday.setDate(yesterday.getDate() - 1);\n if (d.toDateString() === now.toDateString()) return ui ? ui.t('time.today') : defaultLabel('time.today');\n if (d.toDateString() === yesterday.toDateString()) return ui ? ui.t('time.yesterday') : defaultLabel('time.yesterday');\n return d.toLocaleDateString(safeLocale(ui?.locale()), { month: 'short', day: 'numeric', year: 'numeric' });\n}\n\n/** First letter of the name, upper case, for the avatar ('?' for a blank name). */\nexport function conversationInitial(name: string | null | undefined): string {\n return (name ?? '').trim().charAt(0).toUpperCase() || '?';\n}\n\n/** Each message with the date separator that goes above it ('' when it shares the day of the previous message). */\nexport function groupMessagesByDay(messages: readonly ConversationMessage[], now: Date = new Date(), ui?: UiLabelsService): ConversationMessageRow[] {\n return messages.map((message, i) => {\n const label = conversationDateLabel(message.sentAt, now, ui);\n return { message, separator: i === 0 || conversationDateLabel(messages[i - 1].sentAt, now, ui) !== label ? label : '' };\n });\n}\n\n/** What the status mark beside an outbound message says to a screen reader ('' for a status that shows nothing). */\nexport function conversationMessageStatusLabel(status: string | null | undefined): string {\n switch (status) {\n case 'delivered': return uiText('conversations.status.delivered');\n case 'sent': return uiText('conversations.status.sent');\n case 'failed': return uiText('conversations.status.failed');\n case 'scheduled': return uiText('conversations.status.scheduled');\n default: return '';\n }\n}\n\n/** The mark shown beside an outbound message: ticks for sent / delivered, the word for the rest. */\nexport function conversationMessageStatusMark(status: string | null | undefined): string {\n if (status === 'delivered') return '✓✓';\n if (status === 'sent') return '✓';\n return conversationMessageStatusLabel(status);\n}\n\n/**\n * The plain text of formatted composer HTML, the way it reads: paragraphs, list items and line breaks become line breaks, everything else\n * is its text. Runs on an inert document, so nothing in `html` is executed. Trimmed; '' for nothing.\n */\nexport function conversationHtmlToText(html: string | null | undefined): string {\n if (!html) return '';\n const doc = new DOMParser().parseFromString(`<body>${html}</body>`, 'text/html');\n const out: string[] = [];\n const walk = (node: Node): void => {\n node.childNodes.forEach(child => {\n if (child.nodeType === Node.TEXT_NODE) { out.push(child.nodeValue ?? ''); return; }\n if (child.nodeType !== Node.ELEMENT_NODE) return;\n const el = child as Element;\n if (el.tagName === 'BR') { out.push('\\n'); return; }\n if (/^(SCRIPT|STYLE|NOSCRIPT|TEMPLATE)$/.test(el.tagName)) return;\n const block = /^(P|DIV|LI|UL|OL|BLOCKQUOTE|H[1-6])$/.test(el.tagName);\n if (block && out.length && !/\\n$/.test(out[out.length - 1])) out.push('\\n');\n walk(el);\n if (block && !/\\n$/.test(out[out.length - 1] ?? '')) out.push('\\n');\n });\n };\n walk(doc.body);\n return out.join('').replace(/\\u00a0/g, ' ').replace(/\\n{3,}/g, '\\n\\n').trim();\n}\n","import {\n ChangeDetectionStrategy, Component, ElementRef, ViewEncapsulation, Injector, afterNextRender, computed, effect, inject, input, model, output, signal, untracked, viewChild,\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RichTextEditorComponent, RichTextOption } from '@forgeroute/ui/editor';\nimport { plainTextToHtml, sanitizeRichTextHtml } from '@forgeroute/ui/editor';\nimport { AlertComponent } from '@forgeroute/ui/alert';\nimport { TextareaInputComponent } from '@forgeroute/ui/textarea-input';\nimport { AvatarComponent } from '@forgeroute/ui/avatar';\nimport { BadgeComponent } from '@forgeroute/ui/badge';\nimport { ButtonComponent } from '@forgeroute/ui/core';\nimport { QuickFilterTab } from '@forgeroute/ui/table-types';\nimport { EmptyStateComponent } from '@forgeroute/ui/empty-state';\nimport { FileInputComponent } from '@forgeroute/ui/file-input';\nimport { ListComponent } from '@forgeroute/ui/list';\nimport { PaginationComponent } from '@forgeroute/ui/pagination';\nimport { QuickFilterTabsComponent } from '@forgeroute/ui/quick-filter-tabs';\nimport { SearchInputComponent } from '@forgeroute/ui/search-input';\nimport { SkeletonComponent } from '@forgeroute/ui/skeleton';\nimport { TooltipDirective } from '@forgeroute/ui/tooltip';\nimport { ModalComponent } from '@forgeroute/ui/core';\nimport { ConversationAttachment, ConversationItem, ConversationLink, ConversationLinkGroup, ConversationMessage, ConversationSendEvent } from './conversations.models';\nimport {\n conversationHtmlToText, conversationInitial, conversationMessageStatusLabel, conversationMessageStatusMark, formatConversationTime, formatMessageTime, groupMessagesByDay,\n truncateConversationText,\n} from './conversations.utils';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\n/** A message's formatted text. Its own (unencapsulated) component so the styles reach the markup that `innerHTML` creates. */\n@Component({\n selector: 'ui-conversation-rich-body',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: { class: 'cv-rich', '[innerHTML]': 'safe()' },\n template: '',\n styles: [`\n .cv-rich { display: block; font-size: 0.875rem; line-height: 1.45; word-break: break-word; }\n .cv-rich p, .cv-rich div { margin: 0; }\n .cv-rich ul, .cv-rich ol { margin: 0; padding-inline-start: 1.25rem; }\n .cv-rich a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }\n .cv-rich strong, .cv-rich b { font-weight: 700; }\n .cv-rich blockquote { margin: 4px 0; padding-inline-start: 10px; border-inline-start: 3px solid currentColor; opacity: 0.9; }\n .cv-rich h1, .cv-rich h2, .cv-rich h3, .cv-rich h4 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; }\n .cv-rich hr { border: 0; border-top: 1px solid currentColor; opacity: 0.4; margin: 6px 0; }\n `],\n})\nexport class ConversationRichBodyComponent {\n readonly html = input('');\n protected readonly safe = computed(() => sanitizeRichTextHtml(this.html(), { mode: 'paste' }));\n}\n\n/** The composer's toolbar: just what a message needs. */\nconst RICH_COMPOSER_HIDE: RichTextOption[] = [\n 'strikethrough', 'heading', 'fontSize', 'fontFamily', 'textColor', 'highlight', 'align', 'indent', 'outdent', 'clearFormat',\n];\n\n/** At or below this width the list and the thread take turns (one column), like the CSS breakpoint. */\nconst SINGLE_COLUMN_QUERY = '(max-width: 768px)';\n/** The thread follows new messages only while the user is within this many pixels of its end. */\nconst NEAR_BOTTOM_PX = 120;\nconst PREVIEW_LENGTH = 60;\nlet nextId = 0;\n\n/**\n * The text-message inbox: a conversation list (search, filter tabs, pagination) on the left, the open thread (header, messages with date\n * separators and media, composer) in the middle and an optional contact panel on the right. On a phone the list and the thread take turns.\n *\n * <ui-conversations\n * [conversations]=\"rows()\" [selected]=\"open()\" [messages]=\"messages()\" [loading]=\"loading()\" [messagesLoading]=\"threadLoading()\"\n * [filterTabs]=\"tabs\" [filterCounts]=\"counts()\" [activeFilter]=\"filter()\" [page]=\"page()\" [pageSize]=\"25\" [totalItems]=\"total()\"\n * [(draft)]=\"draft\" [sending]=\"sending()\" [canWrite]=\"canWrite()\" [hasContext]=\"true\" [(contextOpen)]=\"contextOpen\"\n * (searchChange)=\"onSearch($event)\" (filterChange)=\"filter.set($event)\" (pageChange)=\"page.set($event)\"\n * (selectConversation)=\"open.set($event)\" (send)=\"onSend($event)\" ...>\n * <div uiConversationsContext> ...contact details... </div>\n * </ui-conversations>\n *\n * The component keeps NO data and makes NO requests: the host loads, polls, sends, uploads, deletes and changes status, and passes the\n * results back in. It owns the layout, the keyboard / screen-reader behaviour, the scroll-to-latest rule (the thread follows new messages\n * only while the user is at its end), the focus moves of the one-column layout and the Enter-to-send rule (Shift+Enter is a new line; the\n * Enter that confirms an IME composition is not a send). `[canWrite]=\"false\"` is the read-only view: no New / Delete / status / template\n * buttons and no composer.\n *\n * `[allowNew]=\"false\"` / `[allowDelete]=\"false\"` hide the New and Delete buttons for a host that cannot start or delete conversations while the composer\n * stays (a reply-only inbox such as Portal Messages). A message may carry a `sender` and an `action` link button (`(messageAction)`); a long thread\n * shows \"Load earlier messages\" while `[hasEarlier]` (`(loadEarlier)`); a failed thread load shows `[messagesError]` with Retry (`(messagesRetry)`).\n *\n * Test ids: conversations, conv-search, conv-filters, new-message-btn, conv-loading, conv-error, conv-retry, conv-empty, conv-item, conv-unread,\n * conv-arrow, conv-delete-btn, thread-empty, thread-error, thread-retry, load-earlier, msg-sender, msg-action, back-to-list, thread-name, thread-phone, use-template-btn, context-toggle, status-btn, thread-delete-btn,\n * messages, messages-loading, messages-empty, message, msg-status, attach-btn, attach-input, attachment-preview, attachment-remove,\n * msg-rich-body, compose-input, send-btn, compose-opted-out, compose-loading-contact, context-panel, context-close.\n */\n@Component({\n selector: 'ui-conversations',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n FormsModule, AlertComponent, AvatarComponent, BadgeComponent, ButtonComponent, EmptyStateComponent, FileInputComponent, ListComponent,\n PaginationComponent, QuickFilterTabsComponent, RichTextEditorComponent, SearchInputComponent, SkeletonComponent, TextareaInputComponent, TooltipDirective,\n ConversationRichBodyComponent, ModalComponent,\n ],\n template: `\n <div class=\"cv-layout\" [class.has-context]=\"contextVisible()\" data-testid=\"conversations\">\n @if (contextVisible()) {\n <div class=\"cv-context-backdrop\" (click)=\"closeContext()\" aria-hidden=\"true\"></div>\n }\n\n <!-- LEFT: conversation list -->\n <section class=\"cv-list-panel\" [class.cv-hidden-mobile]=\"!!selected()\" [attr.aria-labelledby]=\"titleId\">\n <div class=\"cv-list-header\">\n <h2 class=\"cv-list-title\" [id]=\"titleId\">{{ title() }}</h2>\n @if (canWrite() && allowNew()) {\n <ui-button class=\"cv-new-btn\" variant=\"primary\" size=\"sm\" [ariaLabel]=\"newLabel()\" [uiTooltip]=\"newTooltip()\" tooltipPosition=\"bottom\" (click)=\"newConversation.emit()\" data-testid=\"new-message-btn\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"16\"/><line x1=\"8\" y1=\"12\" x2=\"16\" y2=\"12\"/></svg>\n </ui-button>\n }\n </div>\n\n @if (showFilters()) {\n <div class=\"cv-search\">\n <ui-search-input [placeholder]=\"searchPlaceholder()\" [ariaLabel]=\"searchAriaLabel()\" [(value)]=\"searchText\" (searchChange)=\"searchChange.emit($event)\" data-testid=\"conv-search\" />\n </div>\n @if (filterTabs().length) {\n <div class=\"cv-filters\">\n <ui-quick-filter-tabs [ariaLabel]=\"filterAriaLabel()\" [tabs]=\"filterTabs()\" [counts]=\"filterCounts()\" [activeValue]=\"activeFilter()\" (tabChange)=\"filterChange.emit($event)\" data-testid=\"conv-filters\" />\n </div>\n }\n }\n\n @if (loading()) {\n <div class=\"cv-loading\" aria-busy=\"true\" [attr.aria-label]=\"loadingLabel()\" data-testid=\"conv-loading\">\n @for (i of skeletonRows; track i) {\n <div class=\"cv-skeleton\">\n <ui-skeleton [height]=\"40\" width=\"40px\" [radius]=\"20\" />\n <div class=\"cv-skel-content\">\n <div class=\"cv-skel-row\">\n <ui-skeleton width=\"55%\" [height]=\"12\" />\n <ui-skeleton width=\"48px\" [height]=\"10\" />\n </div>\n <ui-skeleton width=\"30%\" [height]=\"10\" [mb]=\"2\" />\n <ui-skeleton width=\"85%\" [height]=\"10\" />\n </div>\n </div>\n }\n </div>\n } @else if (error()) {\n <div class=\"cv-error\" data-testid=\"conv-error\">\n <ui-alert variant=\"danger\">{{ error() }}</ui-alert>\n <ui-button variant=\"secondary\" size=\"sm\" (click)=\"retry.emit()\" data-testid=\"conv-retry\">{{ labels.t('common.retry') }}</ui-button>\n </div>\n } @else if (conversations().length === 0) {\n <ui-empty-state iconType=\"message\" data-testid=\"conv-empty\" [title]=\"filtering() ? filteredEmptyTitle() : emptyTitle()\" [message]=\"emptyText()\" />\n } @else {\n <div class=\"cv-list\">\n <ui-list [ariaLabel]=\"listAriaLabel()\" [items]=\"conversations()\" [trackBy]=\"trackConversation\" [navigable]=\"selectable()\" [arrow]=\"false\" (itemClick)=\"onRowOpen($event)\">\n <ng-template let-conv>\n <div class=\"cv-item\" data-testid=\"conv-item\" [attr.data-conversation-id]=\"conv.id\"\n [class.selected]=\"selected()?.id === conv.id\" [class.unread]=\"(conv.unreadCount ?? 0) > 0\">\n <ui-avatar [initials]=\"initial(conv.name)\" [name]=\"conv.name\" [size]=\"40\" />\n <div class=\"cv-item-info\">\n <div class=\"cv-item-top\">\n <span class=\"cv-name\">{{ conv.name }}</span>@if (selected()?.id === conv.id) {<span class=\"cv-sr-only\">, {{ labels.t('conversations.openSr') }}</span>}\n <span class=\"cv-time\">{{ relativeTime(conv.lastMessageAt) }}</span>\n </div>\n @if (conv.subtitle) { <span class=\"cv-subtitle\">{{ conv.subtitle }}</span> }\n <div class=\"cv-item-bottom\">\n <p class=\"cv-preview\">{{ preview(conv.preview) || noMessagesText() }}</p>\n <div class=\"cv-item-right\">\n @if (conv.statusLabel) { <ui-badge [label]=\"conv.statusLabel\" variant=\"gray\" /> }\n @if ((conv.unreadCount ?? 0) > 0) {\n <ui-badge class=\"cv-unread-badge\" [label]=\"'' + conv.unreadCount\" variant=\"blue\" data-testid=\"conv-unread\" />\n <span class=\"cv-sr-only\">{{ labels.t('conversations.unread') }}</span>\n }\n @if (canWrite() && allowDelete()) {\n <ui-button class=\"cv-delete-btn\" variant=\"icon-danger\" [ariaLabel]=\"deleteRowLabel() + ' ' + conv.name\" (click)=\"$event.stopPropagation(); deleteConversation.emit(conv)\" data-testid=\"conv-delete-btn\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M3 6h18\"/><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\"/><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\"/></svg>\n </ui-button>\n }\n </div>\n </div>\n </div>\n @if (showRowArrow()) {\n <svg class=\"cv-row-arrow\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\" data-testid=\"conv-arrow\"><path d=\"M9 18l6-6-6-6\"/></svg>\n }\n </div>\n </ng-template>\n </ui-list>\n <ui-pagination [ariaLabel]=\"paginationAriaLabel()\" [page]=\"page()\" [pageSize]=\"pageSize()\" [totalItems]=\"totalItems()\" (pageChange)=\"pageChange.emit($event)\" />\n </div>\n }\n </section>\n\n <!-- CENTER: message thread -->\n <section class=\"cv-thread-panel\" [class.cv-hidden-mobile]=\"!selected()\" [attr.aria-label]=\"threadAriaLabel()\">\n @if (selected(); as conv) {\n <div class=\"cv-thread-header\">\n @if (selectable()) {\n <ui-button class=\"cv-back-btn\" variant=\"secondary\" size=\"sm\" [ariaLabel]=\"backLabel()\" (click)=\"onBack()\" data-testid=\"back-to-list\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><polyline points=\"15 18 9 12 15 6\"/></svg>\n </ui-button>\n }\n <div class=\"cv-thread-header-info\">\n <ui-avatar [initials]=\"initial(conv.name)\" [name]=\"conv.name\" [size]=\"40\" />\n <div class=\"cv-thread-header-text\">\n <h3 class=\"cv-thread-name\" #threadHeading tabindex=\"-1\" data-testid=\"thread-name\">{{ conv.name }}</h3>\n @if (conv.subtitle) { <span class=\"cv-thread-subtitle\" data-testid=\"thread-phone\">{{ conv.subtitle }}</span> }\n </div>\n </div>\n <div class=\"cv-thread-actions\">\n @if (canWrite() && templatesEnabled()) {\n <ui-button class=\"cv-thread-action\" variant=\"secondary\" size=\"sm\" [ariaLabel]=\"templateLabel()\" [uiTooltip]=\"templateLabel()\" tooltipPosition=\"bottom\" [disabled]=\"composerDisabled()\" (click)=\"templateRequest.emit()\" data-testid=\"use-template-btn\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"/><polyline points=\"14 2 14 8 20 8\"/></svg>\n </ui-button>\n }\n @if (hasContext()) {\n <ui-button #contextToggle class=\"cv-thread-action\" [variant]=\"contextOpen() ? 'primary' : 'secondary'\" size=\"sm\" [ariaLabel]=\"contextOpen() ? hideContextLabel() : showContextLabel()\" [uiTooltip]=\"contextOpen() ? hideContextLabel() : contextTitle()\" tooltipPosition=\"bottom\" (click)=\"toggleContext()\" data-testid=\"context-toggle\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"/><circle cx=\"12\" cy=\"7\" r=\"4\"/></svg>\n </ui-button>\n }\n @if (canWrite() && statusActionLabel()) {\n <ui-button class=\"cv-thread-action\" variant=\"secondary\" size=\"sm\" [ariaLabel]=\"statusActionLabel() ?? ''\" [uiTooltip]=\"statusActionLabel()\" tooltipPosition=\"bottom\" [disabled]=\"statusChanging()\" (click)=\"statusChange.emit(conv)\" data-testid=\"status-btn\">\n @if (statusActionIcon() === 'reopen') {\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><polyline points=\"1 4 1 10 7 10\"/><path d=\"M3.51 15a9 9 0 1 0 2.13-9.36L1 10\"/></svg>\n } @else {\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"/><polyline points=\"22 4 12 14.01 9 11.01\"/></svg>\n }\n </ui-button>\n }\n @if (canWrite() && allowDelete()) {\n <ui-button class=\"cv-thread-action\" variant=\"danger\" size=\"sm\" [ariaLabel]=\"deleteThreadLabel()\" [uiTooltip]=\"deleteThreadLabel()\" tooltipPosition=\"bottom\" (click)=\"deleteConversation.emit(conv)\" data-testid=\"thread-delete-btn\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M3 6h18\"/><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\"/><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\"/></svg>\n </ui-button>\n }\n </div>\n </div>\n\n <div class=\"cv-messages\" #messagesEl role=\"log\" aria-live=\"polite\" aria-relevant=\"additions\" tabindex=\"0\"\n [attr.aria-label]=\"messagesAriaLabel() + ' ' + conv.name\" [attr.aria-busy]=\"messagesLoading()\" (scroll)=\"onMessagesScroll()\" data-testid=\"messages\">\n @if (messagesLoading()) {\n <div class=\"cv-messages-loading\" data-testid=\"messages-loading\">\n @for (i of skeletonBubbles; track i) {\n <div class=\"cv-msg-skeleton\" [class.outbound]=\"i % 2 === 0\">\n <ui-skeleton [height]=\"48\" [width]=\"i % 2 === 0 ? '60%' : '55%'\" [radius]=\"16\" />\n </div>\n }\n </div>\n } @else if (messagesError()) {\n <div class=\"cv-messages-error\" data-testid=\"thread-error\">\n <ui-alert variant=\"danger\">{{ messagesError() }}</ui-alert>\n <ui-button variant=\"secondary\" size=\"sm\" (click)=\"messagesRetry.emit()\" data-testid=\"thread-retry\">{{ labels.t('common.retry') }}</ui-button>\n </div>\n } @else if (messages().length === 0) {\n <div class=\"cv-messages-empty\" data-testid=\"messages-empty\">\n <p>{{ canWrite() ? noMessagesWriteText() : noMessagesReadText() }}</p>\n </div>\n } @else {\n @if (hasEarlier()) {\n <div class=\"cv-load-earlier\">\n <ui-button variant=\"secondary\" size=\"sm\" [loading]=\"loadingEarlier()\" (click)=\"loadEarlier.emit()\" data-testid=\"load-earlier\">{{ loadEarlierLabel() }}</ui-button>\n </div>\n }\n @for (row of messageRows(); track row.message.id) {\n @if (row.separator) { <div class=\"cv-date-separator\"><span>{{ row.separator }}</span></div> }\n <div class=\"cv-bubble\" data-testid=\"message\" [class.outbound]=\"row.message.direction === 'outbound'\" [class.inbound]=\"row.message.direction === 'inbound'\">\n <span class=\"cv-sr-only\">{{ row.message.direction === 'outbound' ? youLabel() : conv.name }}:</span>\n @if (row.message.media; as media) {\n <div class=\"cv-media\">\n @if (media.type?.startsWith('image/')) {\n <button type=\"button\" class=\"cv-image-btn\" (click)=\"mediaOpen.emit(media.url)\" [attr.aria-label]=\"openMediaLabel() + ' ' + (media.fileName || imageFallbackName())\">\n <img [src]=\"media.url\" [alt]=\"media.fileName || imageFallbackName()\" class=\"cv-image\" loading=\"lazy\" />\n </button>\n } @else if (media.type?.startsWith('video/')) {\n <video [src]=\"media.url\" class=\"cv-video\" controls preload=\"metadata\"></video>\n } @else {\n <a [href]=\"media.url\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"cv-file-link\">{{ media.fileName || fileFallbackName() }}</a>\n }\n </div>\n }\n @if (row.message.bodyHtml) { <ui-conversation-rich-body [html]=\"row.message.bodyHtml\" data-testid=\"msg-rich-body\" /> }\n @else if (row.message.body) { <p class=\"cv-body\">{{ row.message.body }}</p> }\n @if (row.message.link; as msgLink) {\n @if (msgLink.url) {\n <a class=\"cv-link-chip\" [href]=\"msgLink.url\" data-testid=\"msg-link\"><svg class=\"cv-link-icon\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5\"/><path d=\"M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5\"/></svg><span class=\"cv-link-label\">{{ msgLink.label }}</span></a>\n } @else {\n <span class=\"cv-link-chip\" data-testid=\"msg-link\"><svg class=\"cv-link-icon\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5\"/><path d=\"M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5\"/></svg><span class=\"cv-link-label\">{{ msgLink.label }}</span></span>\n }\n }\n <span class=\"cv-meta\">\n @if (row.message.sender) { <span class=\"cv-sender\" data-testid=\"msg-sender\">{{ row.message.sender }}</span> }\n {{ time(row.message) }}\n @if (row.message.action; as action) {\n <button type=\"button\" class=\"cv-msg-action\" data-testid=\"msg-action\" (click)=\"messageAction.emit(row.message)\">{{ action.label }}</button>\n }\n @if (row.message.direction === 'outbound' && statusLabel(row.message.status)) {\n <span class=\"cv-status\" [class.failed]=\"row.message.status === 'failed'\" data-testid=\"msg-status\">\n <span aria-hidden=\"true\">{{ statusMark(row.message.status) }}</span>\n <span class=\"cv-sr-only\">{{ statusLabel(row.message.status) }}</span>\n </span>\n }\n </span>\n </div>\n }\n }\n </div>\n\n @if (canWrite()) {\n <div class=\"cv-compose\">\n @if (attachment(); as file) {\n <div class=\"cv-attachment\" data-testid=\"attachment-preview\">\n @if (file.previewUrl) {\n <img [src]=\"file.previewUrl\" [alt]=\"attachmentPreviewLabel()\" class=\"cv-attachment-thumb\" />\n } @else {\n <span class=\"cv-attachment-name\">{{ file.fileName }}</span>\n }\n <ui-button class=\"cv-attachment-remove\" variant=\"icon-danger\" [ariaLabel]=\"removeAttachmentLabel()\" (click)=\"attachmentRemove.emit()\" data-testid=\"attachment-remove\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>\n </ui-button>\n </div>\n }\n @if (link(); as chosen) {\n <div class=\"cv-link-preview\" data-testid=\"link-preview\">\n <span class=\"cv-link-chip cv-link-chip-compose\"><svg class=\"cv-link-icon\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5\"/><path d=\"M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5\"/></svg><span class=\"cv-link-label\" data-testid=\"link-preview-label\">{{ chosen.label }}</span></span>\n <ui-button class=\"cv-link-remove\" variant=\"icon-danger\" [ariaLabel]=\"removeLinkLabel()\" [disabled]=\"sending()\" (click)=\"link.set(null)\" data-testid=\"link-remove\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>\n </ui-button>\n </div>\n }\n <div class=\"cv-compose-row\">\n @if (linkGroups() !== null) {\n <ui-button class=\"cv-link-btn\" variant=\"icon\" [ariaLabel]=\"linkLabel()\" [uiTooltip]=\"linkLabel()\" [disabled]=\"sending() || composerDisabled()\" (click)=\"openLinkPicker()\" data-testid=\"link-btn\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5\"/><path d=\"M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5\"/></svg>\n </ui-button>\n }\n @if (attachEnabled()) {\n <ui-button class=\"cv-attach-btn\" variant=\"icon\" [ariaLabel]=\"attachLabel()\" [disabled]=\"uploading() || composerDisabled()\" [loading]=\"uploading()\" (click)=\"openFilePicker()\" data-testid=\"attach-btn\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48\"/></svg>\n </ui-button>\n <ui-file-input [showField]=\"false\" [accept]=\"acceptedFiles()\" [maxSize]=\"maxFileSize()\" [toastOnReject]=\"true\"\n [typeMessage]=\"typeMessage()\" [sizeMessage]=\"sizeMessage()\" (filesSelected)=\"filesSelected.emit($event)\" data-testid=\"attach-input\" />\n }\n @if (richText()) {\n <ui-rich-text-editor class=\"cv-compose-input cv-compose-rich\" [ariaLabel]=\"composeLabel()\" [placeholder]=\"composePlaceholder()\" [hide]=\"richHide\"\n [minHeight]=\"44\" [maxHeight]=\"160\" [ngModel]=\"editorHtml()\" (ngModelChange)=\"onEditorChange($event)\" [disabled]=\"composerDisabled()\" [error]=\"composerError()\" [showErrors]=\"composerError() !== ''\"\n (keydown)=\"onComposeKeydown($event)\" data-testid=\"compose-input\" />\n } @else {\n <ui-textarea-input class=\"cv-compose-input\" [ariaLabel]=\"composeLabel()\" [placeholder]=\"composePlaceholder()\" [rows]=\"1\" [maxlength]=\"maxLength()\"\n [ngModel]=\"draft()\" (ngModelChange)=\"draft.set($event)\" [disabled]=\"composerDisabled()\" [error]=\"composerError()\" [showErrors]=\"composerError() !== ''\"\n (keydown)=\"onComposeKeydown($event)\" data-testid=\"compose-input\" />\n }\n <ui-button class=\"cv-send-btn\" variant=\"primary\" [ariaLabel]=\"sendLabel()\" [disabled]=\"!canSend()\" [loading]=\"sending()\" (click)=\"sendMessage()\" data-testid=\"send-btn\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"13\"/><polygon points=\"22 2 15 22 11 13 2 9 22 2\"/></svg>\n </ui-button>\n </div>\n @if (composerNotice()) {\n <ui-alert variant=\"warning\" data-testid=\"compose-opted-out\">{{ composerNotice() }}</ui-alert>\n }\n <!-- Always in the page (a live region that appears together with its text is often not announced): only its text comes and goes. -->\n <p class=\"cv-compose-status\" role=\"status\" data-testid=\"compose-loading-contact\">{{ composerStatus() }}</p>\n </div>\n }\n } @else {\n <ui-empty-state iconType=\"message\" [title]=\"threadEmptyTitle()\" [message]=\"threadEmptyMessage()\" data-testid=\"thread-empty\" />\n }\n </section>\n\n @if (linkGroups() !== null) {\n <ui-modal [open]=\"pickerOpen()\" [title]=\"linkPickerTitle()\" maxWidth=\"480px\" bodyOverflow=\"hidden\" dialogTestId=\"link-picker\" (close)=\"closeLinkPicker()\">\n <ui-search-input [placeholder]=\"linkSearchPlaceholder()\" [ariaLabel]=\"linkSearchLabel()\" [(value)]=\"linkQuery\" data-testid=\"link-search\" />\n <div class=\"cv-link-list\" data-testid=\"link-list\">\n @if (linkLoading()) {\n <p class=\"cv-link-note\" role=\"status\" data-testid=\"link-loading\">{{ linkLoadingText() }}</p>\n } @else if (visibleLinkGroups().length === 0) {\n <p class=\"cv-link-note\" data-testid=\"link-empty\">{{ linkEmptyText() }}</p>\n } @else {\n @for (group of visibleLinkGroups(); track group.type) {\n <div class=\"cv-link-section\" role=\"group\" [attr.aria-label]=\"group.label\" data-testid=\"link-section\">\n <div class=\"cv-link-section-label\" aria-hidden=\"true\">{{ group.label }}</div>\n @for (item of group.items; track item.id) {\n <button type=\"button\" class=\"cv-link-item\" data-testid=\"link-item\" (click)=\"pickLink(group, item)\">{{ item.label }}</button>\n }\n </div>\n }\n }\n </div>\n </ui-modal>\n }\n\n <!-- RIGHT: contact panel (the host's content) -->\n @if (contextVisible()) {\n <aside class=\"cv-context\" #contextPanel tabindex=\"-1\" [attr.aria-label]=\"contextTitle()\" (keydown.escape)=\"closeContext(true)\" data-testid=\"context-panel\">\n <div class=\"cv-context-header\">\n <h3>{{ contextTitle() }}</h3>\n <ui-button variant=\"icon\" [ariaLabel]=\"closeContextLabel()\" (click)=\"closeContext(true)\" data-testid=\"context-close\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>\n </ui-button>\n </div>\n <div class=\"cv-context-body\"><ng-content select=\"[uiConversationsContext]\" /></div>\n </aside>\n }\n </div>\n `,\n styles: [`\n :host { display: flex; flex: 1; min-height: 0; min-width: 0; }\n .cv-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }\n\n .cv-layout { display: grid; grid-template-columns: 340px 1fr; flex: 1; min-height: 0; min-width: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); border: 1px solid #e2e8f0; }\n .cv-layout.has-context { grid-template-columns: 340px 1fr 280px; }\n\n .cv-list-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #e2e8f0; background: #f8fafc; overflow: hidden; }\n .cv-list-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px; }\n .cv-list-title { margin: 0; font-size: 1.125rem; font-weight: 700; color: #1e293b; }\n .cv-search, .cv-filters { padding: 0 16px 12px; }\n .cv-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }\n\n .cv-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f1f5f9; transition: background 0.15s; }\n .cv-item.unread { background: #fffbeb; }\n .cv-item.selected { background: #eff6ff; box-shadow: inset 3px 0 0 #2563eb; }\n .cv-item-info { flex: 1; min-width: 0; }\n /* The \"opens the thread\" arrow sits inside the row, so the open / unread tint and the blue bar cover it. */\n .cv-row-arrow { flex: 0 0 auto; align-self: center; color: #94a3b8; }\n .cv-item-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }\n .cv-name { font-size: 0.875rem; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n .cv-time { font-size: 0.6875rem; color: #64748b; flex-shrink: 0; margin-left: 8px; }\n .cv-subtitle { font-size: 0.6875rem; color: #64748b; display: block; margin-bottom: 2px; }\n .cv-item-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }\n .cv-preview { margin: 0; font-size: 0.8125rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }\n .cv-item-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }\n /* The delete button shows on hover or keyboard focus (always on touch screens). */\n .cv-delete-btn { opacity: 0; transition: opacity 0.15s; }\n .cv-item:hover .cv-delete-btn, .cv-item:focus-within .cv-delete-btn, .cv-delete-btn:focus-within { opacity: 1; }\n @media (hover: none) { .cv-delete-btn { opacity: 1; } }\n\n .cv-loading { padding: 8px 0; }\n .cv-skeleton { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid #f1f5f9; }\n .cv-skel-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }\n .cv-skel-row { display: flex; justify-content: space-between; gap: 8px; }\n .cv-error { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; text-align: center; }\n\n .cv-thread-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; background: #fff; }\n .cv-thread-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e2e8f0; background: #fff; }\n .cv-back-btn { display: none; }\n .cv-thread-header-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }\n .cv-thread-header-text { min-width: 0; display: flex; flex-direction: column; }\n .cv-thread-name { margin: 0; font-size: 0.9375rem; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n .cv-thread-name:focus { outline: none; }\n .cv-thread-name:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; border-radius: 4px; }\n .cv-thread-subtitle { font-size: 0.75rem; color: #64748b; }\n .cv-thread-actions { display: flex; align-items: center; gap: 8px; }\n\n .cv-messages { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; background: #f8fafc; }\n .cv-messages:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }\n .cv-messages-loading { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; }\n .cv-msg-skeleton { display: flex; }\n .cv-msg-skeleton.outbound { justify-content: flex-end; }\n .cv-messages-error { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; text-align: center; }\n .cv-load-earlier { display: flex; justify-content: center; padding: 4px 0 12px; }\n .cv-sender { font-weight: 600; }\n /* Linked record: a chip under a message's text and above the composer */\n .cv-link-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid transparent; font-size: 0.8rem; font-weight: 600; text-decoration: none; }\n .cv-link-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }\n .cv-link-icon { flex: none; }\n .cv-bubble.inbound .cv-link-chip { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }\n .cv-bubble.outbound .cv-link-chip { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); color: #fff; }\n .cv-link-chip:is(a):hover { filter: brightness(0.96); text-decoration: underline; }\n .cv-link-chip:is(a):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }\n .cv-link-preview { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }\n .cv-link-chip-compose { margin-top: 0; background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }\n .cv-link-list { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; max-height: 320px; overflow-y: auto; }\n .cv-link-section-label { padding: 8px 4px 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #64748b; }\n .cv-link-item { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; text-align: start; font: inherit; font-size: 0.875rem; color: #1e293b; cursor: pointer; }\n .cv-link-item:hover { background: #f1f5f9; }\n .cv-link-item:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }\n .cv-link-note { margin: 16px 0; text-align: center; font-size: 0.875rem; color: #64748b; }\n @media (pointer: coarse), (max-width: 480px) { .cv-link-item { min-height: 44px; } }\n .cv-msg-action { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }\n .cv-msg-action:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }\n .cv-messages-empty { display: flex; align-items: center; justify-content: center; flex: 1; }\n .cv-messages-empty p { margin: 0; font-size: 0.875rem; color: #64748b; text-align: center; }\n\n .cv-date-separator { display: flex; align-items: center; justify-content: center; padding: 16px 0 8px; }\n .cv-date-separator span { padding: 4px 14px; border-radius: 12px; background: #e2e8f0; font-size: 0.6875rem; font-weight: 600; color: #475569; text-transform: uppercase; letter-spacing: 0.3px; }\n\n .cv-bubble { max-width: 70%; padding: 10px 14px; border-radius: 16px; position: relative; word-break: break-word; overflow-wrap: break-word; }\n .cv-bubble.inbound { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px; }\n .cv-bubble.inbound .cv-body, .cv-bubble.inbound .cv-rich { color: #1e293b; }\n .cv-bubble.inbound .cv-meta { color: #64748b; }\n .cv-bubble.outbound { align-self: flex-end; background: #2563eb; border-bottom-right-radius: 4px; }\n .cv-bubble.outbound .cv-body, .cv-bubble.outbound .cv-rich, .cv-bubble.outbound .cv-meta { color: #fff; }\n @media (prefers-reduced-motion: no-preference) {\n .cv-bubble { animation: cv-appear 0.2s ease; }\n .cv-context { animation: cv-slide-in 0.25s ease; }\n }\n .cv-body { margin: 0; font-size: 0.875rem; line-height: 1.45; word-break: break-word; white-space: pre-wrap; }\n .cv-media { margin-bottom: 6px; }\n .cv-image-btn { display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; }\n .cv-image-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px #2563eb; }\n .cv-image { display: block; max-width: 240px; max-height: 240px; border-radius: 8px; object-fit: cover; }\n .cv-video { max-width: 240px; max-height: 200px; border-radius: 8px; }\n .cv-file-link { font-size: 0.8125rem; color: #fff; text-decoration: underline; }\n .cv-bubble.inbound .cv-file-link { color: #2563eb; }\n .cv-meta { display: flex; align-items: center; gap: 6px; justify-content: flex-end; font-size: 0.6875rem; margin-top: 4px; }\n .cv-status { font-weight: 500; }\n .cv-status.failed { color: #fff; font-weight: 700; }\n .cv-bubble.inbound .cv-status.failed { color: #dc2626; }\n\n .cv-compose { display: flex; flex-direction: column; padding: 12px 20px 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e2e8f0; background: #fff; }\n .cv-compose-row { display: flex; align-items: flex-end; gap: 10px; }\n .cv-compose-input { flex: 1; min-width: 0; }\n .cv-attach-btn, .cv-send-btn { flex-shrink: 0; }\n .cv-attachment { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 8px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }\n .cv-attachment-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }\n .cv-attachment-name { font-size: 0.8125rem; color: #475569; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n .cv-attachment-remove { flex-shrink: 0; }\n .cv-compose-status { margin: 4px 0 0; font-size: 0.8125rem; color: #64748b; }\n .cv-compose-status:empty { margin: 0; }\n\n .cv-context-backdrop { display: none; }\n .cv-context { width: 100%; min-width: 0; border-left: 1px solid #e2e8f0; background: #fff; display: flex; flex-direction: column; overflow-y: auto; }\n .cv-context-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #e2e8f0; }\n .cv-context-header h3 { margin: 0; font-size: 0.875rem; font-weight: 700; color: #1e293b; }\n .cv-context-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }\n\n @keyframes cv-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }\n @keyframes cv-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }\n\n @media (max-width: 1100px) { .cv-layout.has-context { grid-template-columns: 280px 1fr 240px; } }\n @media (max-width: 768px) {\n .cv-layout, .cv-layout.has-context { grid-template-columns: 1fr; height: 100%; }\n .cv-hidden-mobile { display: none !important; }\n .cv-back-btn { display: inline-flex; }\n .cv-context-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 99; }\n .cv-context { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw; z-index: 100; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1); }\n .cv-bubble { max-width: 85%; }\n .cv-messages { padding: 12px 16px; }\n .cv-thread-header { padding: 12px 16px; }\n }\n @media (max-width: 480px) {\n .cv-thread-subtitle { display: none; }\n .cv-compose { padding: 8px 12px 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }\n /* The editor takes the full width on its own row (its toolbar stays on one row: six 44px tools); Attach and Send share the row under it. */\n .cv-compose-row { flex-wrap: wrap; }\n .cv-compose-input { order: -1; flex: 1 1 100%; }\n .cv-send-btn { margin-inline-start: auto; }\n .cv-list-header { padding: 12px 16px 10px; }\n .cv-context { width: 100%; max-width: 100vw; }\n }\n `],\n})\nexport class ConversationsComponent {\n protected readonly labels = inject(UiLabelsService);\n // ── List ──────────────────────────────────────────────────────────\n readonly conversations = input<readonly ConversationItem[]>([]);\n /** The open conversation (null = none: the empty thread shows, and on a phone the list). It need not be on the current list page. */\n readonly selected = input<ConversationItem | null>(null);\n readonly titleInput = input<string | null>(null, { alias: 'title' });\n readonly title = computed(() => this.titleInput() ?? this.labels.t('conversations.title'));\n readonly loading = input(false);\n /** A failed list load: the message, with a Retry button. */\n readonly error = input<string | null>(null);\n /** The search text (two-way). The host usually reacts to `(searchChange)`, which fires after the search box's own debounce. */\n readonly searchText = model('');\n readonly searchPlaceholderInput = input<string | null>(null, { alias: 'searchPlaceholder' });\n readonly searchPlaceholder = computed(() => this.searchPlaceholderInput() ?? this.labels.t('conversations.searchPlaceholder'));\n readonly searchAriaLabelInput = input<string | null>(null, { alias: 'searchAriaLabel' });\n readonly searchAriaLabel = computed(() => this.searchAriaLabelInput() ?? this.labels.t('conversations.searchAriaLabel'));\n /** Search and filter tabs are hidden until the host says the first load is done (they would flash while loading). */\n readonly showFilters = input(true);\n /** Filter tabs; none = no filter row. The empty value `''` is the \"All\" tab. */\n readonly filterTabs = input<QuickFilterTab[]>([]);\n readonly filterCounts = input<Record<string, number>>({});\n readonly activeFilter = input('');\n readonly filterAriaLabelInput = input<string | null>(null, { alias: 'filterAriaLabel' });\n readonly filterAriaLabel = computed(() => this.filterAriaLabelInput() ?? this.labels.t('conversations.filterAriaLabel'));\n /** 1-based page, page size and total of the list. */\n readonly page = input(1);\n readonly pageSize = input(25);\n readonly totalItems = input(0);\n readonly paginationAriaLabelInput = input<string | null>(null, { alias: 'paginationAriaLabel' });\n readonly paginationAriaLabel = computed(() => this.paginationAriaLabelInput() ?? this.labels.t('conversations.paginationAriaLabel'));\n readonly listAriaLabelInput = input<string | null>(null, { alias: 'listAriaLabel' });\n readonly listAriaLabel = computed(() => this.listAriaLabelInput() ?? this.labels.t('conversations.listAriaLabel'));\n readonly loadingLabelInput = input<string | null>(null, { alias: 'loadingLabel' });\n readonly loadingLabel = computed(() => this.loadingLabelInput() ?? this.labels.t('conversations.loadingLabel'));\n readonly emptyTitleInput = input<string | null>(null, { alias: 'emptyTitle' });\n readonly emptyTitle = computed(() => this.emptyTitleInput() ?? this.labels.t('conversations.emptyTitle'));\n readonly emptyMessageInput = input<string | null>(null, { alias: 'emptyMessage' });\n readonly emptyMessage = computed(() => this.emptyMessageInput() ?? this.labels.t('conversations.emptyMessage'));\n /** The empty-list text for a read-only user (who has no + button). */\n readonly emptyReadOnlyMessageInput = input<string | null>(null, { alias: 'emptyReadOnlyMessage' });\n readonly emptyReadOnlyMessage = computed(() => this.emptyReadOnlyMessageInput() ?? this.labels.t('conversations.emptyReadOnlyMessage'));\n readonly filteredEmptyTitleInput = input<string | null>(null, { alias: 'filteredEmptyTitle' });\n readonly filteredEmptyTitle = computed(() => this.filteredEmptyTitleInput() ?? this.labels.t('conversations.filteredEmptyTitle'));\n readonly filteredEmptyMessageInput = input<string | null>(null, { alias: 'filteredEmptyMessage' });\n readonly filteredEmptyMessage = computed(() => this.filteredEmptyMessageInput() ?? this.labels.t('conversations.filteredEmptyMessage'));\n readonly noMessagesTextInput = input<string | null>(null, { alias: 'noMessagesText' });\n readonly noMessagesText = computed(() => this.noMessagesTextInput() ?? this.labels.t('conversations.noMessagesText'));\n /** Shows the + (New) button for a writer. `false` for a host that cannot start conversations. */\n readonly allowNew = input(true);\n /** Shows the bins (row and thread header) for a writer. `false` for a host that cannot delete conversations. */\n readonly allowDelete = input(true);\n /** The arrow at the end of each conversation row, drawn inside the row so its highlight covers it. Default false (hidden); `true` where the arrow helps (rows that open a thread on a phone). */\n readonly showRowArrow = input(false);\n /** Rows open their conversation on click / Enter (pointer cursor, hover tint, focusable) and the thread has a Back button. `false` for a host with one conversation that is always open: nothing to click, no Back. */\n readonly selectable = input(true);\n readonly newLabelInput = input<string | null>(null, { alias: 'newLabel' });\n readonly newLabel = computed(() => this.newLabelInput() ?? this.labels.t('conversations.newLabel'));\n readonly newTooltipInput = input<string | null>(null, { alias: 'newTooltip' });\n readonly newTooltip = computed(() => this.newTooltipInput() ?? this.labels.t('conversations.newTooltip'));\n readonly deleteRowLabelInput = input<string | null>(null, { alias: 'deleteRowLabel' });\n readonly deleteRowLabel = computed(() => this.deleteRowLabelInput() ?? this.labels.t('conversations.deleteRowLabel'));\n\n // ── Thread ────────────────────────────────────────────────────────\n readonly messages = input<readonly ConversationMessage[]>([]);\n readonly messagesLoading = input(false);\n /** A failed thread load: the message, with a Retry button (`(messagesRetry)`). */\n readonly messagesError = input<string | null>(null);\n /** The loaded messages are only the newest ones: a \"Load earlier messages\" button shows above them. */\n readonly hasEarlier = input(false);\n readonly loadingEarlier = input(false);\n readonly loadEarlierLabelInput = input<string | null>(null, { alias: 'loadEarlierLabel' });\n readonly loadEarlierLabel = computed(() => this.loadEarlierLabelInput() ?? this.labels.t('conversations.loadEarlierLabel'));\n /** The thread header's Close / Reopen button: its label (also the tooltip); null = no button. */\n readonly statusActionLabel = input<string | null>(null);\n /** `close` (a check) or `reopen` (a circular arrow): which icon the status button shows. */\n readonly statusActionIcon = input<'close' | 'reopen'>('close');\n readonly statusChanging = input(false);\n /** Shows the \"Use a template\" button (disabled with the composer). */\n readonly templatesEnabled = input(false);\n readonly templateLabelInput = input<string | null>(null, { alias: 'templateLabel' });\n readonly templateLabel = computed(() => this.templateLabelInput() ?? this.labels.t('conversations.templateLabel'));\n readonly deleteThreadLabelInput = input<string | null>(null, { alias: 'deleteThreadLabel' });\n readonly deleteThreadLabel = computed(() => this.deleteThreadLabelInput() ?? this.labels.t('conversations.deleteThreadLabel'));\n readonly backLabelInput = input<string | null>(null, { alias: 'backLabel' });\n readonly backLabel = computed(() => this.backLabelInput() ?? this.labels.t('conversations.backLabel'));\n readonly threadAriaLabelInput = input<string | null>(null, { alias: 'threadAriaLabel' });\n readonly threadAriaLabel = computed(() => this.threadAriaLabelInput() ?? this.labels.t('conversations.threadAriaLabel'));\n readonly messagesAriaLabelInput = input<string | null>(null, { alias: 'messagesAriaLabel' });\n readonly messagesAriaLabel = computed(() => this.messagesAriaLabelInput() ?? this.labels.t('conversations.messagesAriaLabel'));\n readonly threadEmptyTitleInput = input<string | null>(null, { alias: 'threadEmptyTitle' });\n readonly threadEmptyTitle = computed(() => this.threadEmptyTitleInput() ?? this.labels.t('conversations.threadEmptyTitle'));\n readonly threadEmptyMessageInput = input<string | null>(null, { alias: 'threadEmptyMessage' });\n readonly threadEmptyMessage = computed(() => this.threadEmptyMessageInput() ?? this.labels.t('conversations.threadEmptyMessage'));\n readonly noMessagesWriteTextInput = input<string | null>(null, { alias: 'noMessagesWriteText' });\n readonly noMessagesWriteText = computed(() => this.noMessagesWriteTextInput() ?? this.labels.t('conversations.noMessagesWriteText'));\n readonly noMessagesReadTextInput = input<string | null>(null, { alias: 'noMessagesReadText' });\n readonly noMessagesReadText = computed(() => this.noMessagesReadTextInput() ?? this.labels.t('conversations.noMessagesReadText'));\n readonly youLabelInput = input<string | null>(null, { alias: 'youLabel' });\n readonly youLabel = computed(() => this.youLabelInput() ?? this.labels.t('conversations.youLabel'));\n readonly openMediaLabelInput = input<string | null>(null, { alias: 'openMediaLabel' });\n readonly openMediaLabel = computed(() => this.openMediaLabelInput() ?? this.labels.t('conversations.openMediaLabel'));\n readonly imageFallbackNameInput = input<string | null>(null, { alias: 'imageFallbackName' });\n readonly imageFallbackName = computed(() => this.imageFallbackNameInput() ?? this.labels.t('conversations.imageFallbackName'));\n readonly fileFallbackNameInput = input<string | null>(null, { alias: 'fileFallbackName' });\n readonly fileFallbackName = computed(() => this.fileFallbackNameInput() ?? this.labels.t('conversations.fileFallbackName'));\n\n // ── Contact panel ─────────────────────────────────────────────────\n /** Shows the contact-info toggle. The panel's content is the host's, projected with the `uiConversationsContext` attribute. */\n readonly hasContext = input(false);\n /** The panel is open (two-way). It closes itself on Escape, the X and (one column) the backdrop, and when the conversation is closed. */\n readonly contextOpen = model(false);\n readonly contextTitleInput = input<string | null>(null, { alias: 'contextTitle' });\n readonly contextTitle = computed(() => this.contextTitleInput() ?? this.labels.t('conversations.contextTitle'));\n readonly showContextLabelInput = input<string | null>(null, { alias: 'showContextLabel' });\n readonly showContextLabel = computed(() => this.showContextLabelInput() ?? this.labels.t('conversations.showContextLabel'));\n readonly hideContextLabelInput = input<string | null>(null, { alias: 'hideContextLabel' });\n readonly hideContextLabel = computed(() => this.hideContextLabelInput() ?? this.labels.t('conversations.hideContextLabel'));\n readonly closeContextLabelInput = input<string | null>(null, { alias: 'closeContextLabel' });\n readonly closeContextLabel = computed(() => this.closeContextLabelInput() ?? this.labels.t('conversations.closeContextLabel'));\n\n // ── Composer ──────────────────────────────────────────────────────\n /** Read-only view: no New / Delete / status / template buttons and no composer. */\n readonly canWrite = input(true);\n /** The message being typed (two-way). The host clears it after a successful send. */\n readonly draft = model('');\n readonly sending = input(false);\n /** The composer is locked (e.g. the contact opted out): the box, attach and template buttons are disabled and nothing can be sent. */\n readonly composerDisabled = input(false);\n /** A host-side reason nothing can be sent right now (e.g. the contact is still loading); the Send button is disabled. */\n readonly sendBlocked = input(false);\n /** A warning under the composer, e.g. \"This contact has opted out of text messages.\" */\n readonly composerNotice = input('');\n /** A polite status line under the composer (a live region), e.g. \"Loading contact...\". */\n readonly composerStatus = input('');\n /** An error on the message box. */\n readonly composerError = input('');\n /** Longest message (in plain text) Send accepts; longer disables Send, the host words the reason in `composerError` (1600 = the SMS provider's limit for one send). */\n readonly maxLength = input(1600);\n /**\n * Opt-in formatted composer (`ui-rich-text-editor`: bold, italic, underline, link, lists). Default false = the plain textarea, Enter sends and\n * Shift+Enter is a new line. In rich mode `[(draft)]` still holds the PLAIN text (so a host's length and merge-field checks and a template\n * insert work on text), Enter starts a new paragraph / list item and the message is sent with the Send button or Ctrl/Cmd+Enter;\n * `(send)` carries `text` (plain) and `html` (sanitised). Messages with `bodyHtml` show formatted in either mode.\n */\n readonly richText = input(false);\n readonly attachment = input<ConversationAttachment | null>(null);\n readonly uploading = input(false);\n readonly attachEnabled = input(true);\n readonly acceptedFiles = input('image/*,video/*');\n readonly maxFileSize = input<number | null>(null);\n readonly typeMessageInput = input<string | null>(null, { alias: 'typeMessage' });\n readonly typeMessage = computed(() => this.typeMessageInput() ?? this.labels.t('conversations.typeMessage'));\n readonly sizeMessageInput = input<string | null>(null, { alias: 'sizeMessage' });\n readonly sizeMessage = computed(() => this.sizeMessageInput() ?? this.labels.t('conversations.sizeMessage'));\n readonly composeLabelInput = input<string | null>(null, { alias: 'composeLabel' });\n readonly composeLabel = computed(() => this.composeLabelInput() ?? this.labels.t('conversations.composeLabel'));\n readonly composePlaceholderInput = input<string | null>(null, { alias: 'composePlaceholder' });\n readonly composePlaceholder = computed(() => this.composePlaceholderInput() ?? this.labels.t('conversations.composePlaceholder'));\n readonly sendLabelInput = input<string | null>(null, { alias: 'sendLabel' });\n readonly sendLabel = computed(() => this.sendLabelInput() ?? this.labels.t('conversations.sendLabel'));\n readonly attachLabelInput = input<string | null>(null, { alias: 'attachLabel' });\n readonly attachLabel = computed(() => this.attachLabelInput() ?? this.labels.t('conversations.attachLabel'));\n readonly removeAttachmentLabelInput = input<string | null>(null, { alias: 'removeAttachmentLabel' });\n readonly removeAttachmentLabel = computed(() => this.removeAttachmentLabelInput() ?? this.labels.t('conversations.removeAttachmentLabel'));\n readonly attachmentPreviewLabelInput = input<string | null>(null, { alias: 'attachmentPreviewLabel' });\n readonly attachmentPreviewLabel = computed(() => this.attachmentPreviewLabelInput() ?? this.labels.t('conversations.attachmentPreviewLabel'));\n\n /** \"Now\" for the relative times and date separators; null = the real clock. For tests and demos. */\n readonly now = input<Date | null>(null);\n\n // ── Outputs ───────────────────────────────────────────────────────\n readonly searchChange = output<string>();\n readonly filterChange = output<string>();\n readonly pageChange = output<number>();\n /** A row was clicked or opened with the keyboard. */\n readonly selectConversation = output<ConversationItem>();\n /** Back (one column): the host clears `selected`; the focus returns to the row that was open. */\n readonly back = output<void>();\n readonly newConversation = output<void>();\n readonly retry = output<void>();\n /** The bin on a row, or in the thread header. The host asks for confirmation. */\n readonly deleteConversation = output<ConversationItem>();\n /** The Close / Reopen button of the open conversation. */\n readonly statusChange = output<ConversationItem>();\n readonly templateRequest = output<void>();\n readonly send = output<ConversationSendEvent>();\n /** Files accepted by the attach picker (type and size already checked against `acceptedFiles` / `maxFileSize`). */\n readonly filesSelected = output<File[]>();\n readonly attachmentRemove = output<void>();\n\n /**\n * Link a record to a message (opt-in): `null` (default) = no link button, no picker, nothing changes. A list (even an empty one) turns on a \"Link a record\"\n * button in the composer that opens a searchable picker of these sections; the pick becomes `[(link)]`, shows as a removable chip above the composer, and\n * goes out with `(send)` as `link`. Load the sections when `(linkPickerOpened)` fires and show `[linkLoading]` meanwhile.\n */\n readonly linkGroups = input<readonly ConversationLinkGroup[] | null>(null);\n readonly linkLoading = input(false);\n /** The record linked to the message being written. Cleared by the host after a send, like `[(draft)]`; the chip's × clears it too. */\n readonly link = model<ConversationLink | null>(null);\n readonly linkLabelInput = input<string | null>(null, { alias: 'linkLabel' });\n readonly linkLabel = computed(() => this.linkLabelInput() ?? this.labels.t('conversations.linkLabel'));\n readonly linkPickerTitleInput = input<string | null>(null, { alias: 'linkPickerTitle' });\n readonly linkPickerTitle = computed(() => this.linkPickerTitleInput() ?? this.labels.t('conversations.linkPickerTitle'));\n readonly linkSearchPlaceholderInput = input<string | null>(null, { alias: 'linkSearchPlaceholder' });\n readonly linkSearchPlaceholder = computed(() => this.linkSearchPlaceholderInput() ?? this.labels.t('conversations.linkSearchPlaceholder'));\n readonly linkSearchLabelInput = input<string | null>(null, { alias: 'linkSearchLabel' });\n readonly linkSearchLabel = computed(() => this.linkSearchLabelInput() ?? this.labels.t('conversations.linkSearchLabel'));\n readonly linkEmptyTextInput = input<string | null>(null, { alias: 'linkEmptyText' });\n readonly linkEmptyText = computed(() => this.linkEmptyTextInput() ?? this.labels.t('conversations.linkEmptyText'));\n readonly linkLoadingTextInput = input<string | null>(null, { alias: 'linkLoadingText' });\n readonly linkLoadingText = computed(() => this.linkLoadingTextInput() ?? this.labels.t('conversations.linkLoadingText'));\n readonly removeLinkLabelInput = input<string | null>(null, { alias: 'removeLinkLabel' });\n readonly removeLinkLabel = computed(() => this.removeLinkLabelInput() ?? this.labels.t('conversations.removeLinkLabel'));\n /** The \"Link a record\" button opened the picker: load the sections now. */\n readonly linkPickerOpened = output<void>();\n /** An image in a bubble was clicked: the host opens it (usually in a new tab). */\n readonly mediaOpen = output<string>();\n /** The link-style button of a message (`ConversationMessage.action`) was clicked. */\n readonly messageAction = output<ConversationMessage>();\n /** \"Load earlier messages\": the host puts the older page above the loaded messages. */\n readonly loadEarlier = output<void>();\n /** Retry after a failed thread load. */\n readonly messagesRetry = output<void>();\n\n protected readonly titleId = `cv-title-${nextId++}`;\n protected readonly skeletonRows = [1, 2, 3, 4, 5];\n protected readonly skeletonBubbles = [0, 1, 2];\n protected readonly trackConversation = (c: ConversationItem) => c.id;\n protected readonly initial = conversationInitial;\n protected readonly statusLabel = conversationMessageStatusLabel;\n protected readonly statusMark = conversationMessageStatusMark;\n\n private readonly injector = inject(Injector);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly threadHeading = viewChild<ElementRef<HTMLElement>>('threadHeading');\n private readonly messagesEl = viewChild<ElementRef<HTMLElement>>('messagesEl');\n private readonly contextPanel = viewChild<ElementRef<HTMLElement>>('contextPanel');\n private readonly fileInput = viewChild(FileInputComponent);\n\n /** True while the thread is scrolled to (or within NEAR_BOTTOM_PX of) its end; kept by the scroll handler. */\n private atBottom = true;\n private lastThreadId: string | null = null;\n\n protected readonly filtering = computed(() => !!this.searchText().trim() || this.activeFilter() !== '');\n protected readonly emptyText = computed(() =>\n this.filtering() ? this.filteredEmptyMessage() : (this.canWrite() ? this.emptyMessage() : this.emptyReadOnlyMessage()));\n protected readonly messageRows = computed(() => groupMessagesByDay(this.messages(), this.clock(), this.labels));\n protected readonly contextVisible = computed(() => this.hasContext() && this.contextOpen() && !!this.selected());\n /** Something to send (text, a file or a linked record), the composer is open and no request is running. */\n readonly canSend = computed(() =>\n !this.composerDisabled() && !this.sendBlocked() && !this.sending() && (this.draft().trim().length > 0 || !!this.attachment() || !!this.link()) && this.draft().trim().length <= this.maxLength());\n protected readonly pickerOpen = signal(false);\n protected readonly linkQuery = signal('');\n /** The picker's sections narrowed by the search (case-insensitive, on the record label); a section with no match is left out. */\n protected readonly visibleLinkGroups = computed(() => {\n const q = this.linkQuery().trim().toLowerCase();\n const groups = this.linkGroups() ?? [];\n if (!q) return groups.filter(g => g.items.length > 0);\n return groups\n .map(g => ({ ...g, items: g.items.filter(i => i.label.toLowerCase().includes(q)) }))\n .filter(g => g.items.length > 0);\n });\n /** The composer's formatted content. `draft` is always its plain text, so a host that reads or sets `[(draft)]` never sees markup. */\n protected readonly editorHtml = signal('');\n protected readonly richHide = RICH_COMPOSER_HIDE;\n\n constructor() {\n // A host that sets or clears `[(draft)]` (a template, the box emptied after a send) is shown in the editor. The editor's own typing already matches.\n effect(() => {\n const text = this.draft();\n if (!this.richText()) return;\n untracked(() => { if (text !== conversationHtmlToText(this.editorHtml())) this.editorHtml.set(plainTextToHtml(text)); });\n });\n // Opening a thread, or a new message while the user is at the end, scrolls to the latest message. A user who scrolled up to read is left alone.\n effect(() => {\n const id = this.selected()?.id ?? null;\n const count = this.messages().length;\n untracked(() => {\n const switched = id !== this.lastThreadId;\n this.lastThreadId = id;\n if (switched) this.atBottom = true;\n if (count > 0 && this.atBottom) this.scrollToBottom();\n });\n });\n // No conversation open: the contact panel goes with it (and is closed the next time one opens).\n effect(() => {\n if (!this.selected() && this.contextOpen()) untracked(() => this.contextOpen.set(false));\n });\n }\n\n protected relativeTime(iso: string | null | undefined): string { return formatConversationTime(iso, this.clock(), this.labels); }\n protected preview(text: string | null | undefined): string { return truncateConversationText(text, PREVIEW_LENGTH); }\n protected time(message: ConversationMessage): string { return formatMessageTime(message.sentAt, this.labels); }\n\n /** A row was clicked or opened with the keyboard. */\n protected onRowOpen(conv: ConversationItem): void {\n this.selectConversation.emit(conv);\n // One column (a phone): the list is replaced by the thread, so the focus moves to the thread's heading instead of staying on a hidden row.\n if (this.singleColumn()) afterNextRender(() => this.threadHeading()?.nativeElement.focus(), { injector: this.injector });\n }\n\n protected onBack(): void {\n const id = this.selected()?.id;\n this.back.emit();\n // The list shows again: the focus returns to the row that was open.\n afterNextRender(() => {\n const rows = Array.from(this.host.nativeElement.querySelectorAll<HTMLElement>('[data-testid=\"conv-item\"]'));\n (rows.find(r => r.dataset['conversationId'] === id) ?? rows[0])?.closest<HTMLElement>('li')?.focus();\n }, { injector: this.injector });\n }\n\n protected onMessagesScroll(): void {\n const el = this.messagesEl()?.nativeElement;\n if (el) this.atBottom = el.scrollHeight - el.scrollTop - el.clientHeight < NEAR_BOTTOM_PX;\n }\n\n protected toggleContext(): void {\n if (this.contextOpen()) { this.closeContext(true); return; }\n this.contextOpen.set(true);\n afterNextRender(() => this.contextPanel()?.nativeElement.focus(), { injector: this.injector });\n }\n\n /** Closes the contact panel; `restoreFocus` puts the focus back on the toggle that opened it. */\n protected closeContext(restoreFocus = false): void {\n this.contextOpen.set(false);\n if (restoreFocus) {\n afterNextRender(() => this.host.nativeElement.querySelector<HTMLElement>('[data-testid=\"context-toggle\"] button')?.focus(), { injector: this.injector });\n }\n }\n\n protected openFilePicker(): void { this.fileInput()?.open(); }\n\n protected onComposeKeydown(event: KeyboardEvent): void {\n // Plain: Enter sends, Shift+Enter is a new line. Rich: Enter is a new paragraph / list item, Ctrl or Cmd+Enter sends.\n // The Enter that confirms an IME composition (Japanese, Chinese, Korean keyboards) is never a send.\n if (event.key !== 'Enter' || event.isComposing) return;\n if (this.richText() ? (event.ctrlKey || event.metaKey) : !event.shiftKey) { event.preventDefault(); this.sendMessage(); }\n }\n\n protected onEditorChange(html: string): void {\n this.editorHtml.set(html);\n this.draft.set(conversationHtmlToText(html));\n }\n\n protected sendMessage(): void {\n if (!this.canSend()) return;\n const link = this.link();\n const base: ConversationSendEvent = this.richText()\n ? { text: this.draft().trim(), html: sanitizeRichTextHtml(this.editorHtml(), { mode: 'paste' }) }\n : { text: this.draft().trim() };\n this.send.emit(link ? { ...base, link } : base);\n }\n\n protected openLinkPicker(): void {\n this.linkQuery.set('');\n this.pickerOpen.set(true);\n this.linkPickerOpened.emit();\n }\n\n protected closeLinkPicker(): void { this.pickerOpen.set(false); }\n\n protected pickLink(group: ConversationLinkGroup, item: { id: string; label: string }): void {\n this.link.set({ type: group.type, id: item.id, label: item.label });\n this.pickerOpen.set(false);\n }\n\n private clock(): Date { return this.now() ?? new Date(); }\n\n private singleColumn(): boolean {\n return typeof window !== 'undefined' && typeof window.matchMedia === 'function' && window.matchMedia(SINGLE_COLUMN_QUERY).matches;\n }\n\n private scrollToBottom(): void {\n afterNextRender(() => {\n const el = this.messagesEl()?.nativeElement;\n if (el) el.scrollTop = el.scrollHeight;\n }, { injector: this.injector });\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyEA,IAAa,4BAAb,MAAa,0BAAyB;CAepC,IAAI,UAAO;EAAK,OAAO,KAAK,SAAQ;CAAI;CACxC,IAAI,QAAQ,GAAS;EAAI,KAAK,SAAS,IAAI,CAAC;CAAG;CAE/C,IAAI,OAAI;EAAK,OAAO,KAAK,MAAK;CAAI;CAClC,IAAI,KAAK,GAAS;EAAI,KAAK,MAAM,IAAI,CAAC;CAAG;CAoBzC,cAAA;EAtCmB,KAAA,SAAS,OAAO,eAAe;EACzC,KAAA,OAAc,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAC1B,KAAA,WAAc,MAA4B,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;EAC7C,KAAA,cAAc,MAAM,OAAM,GAAA,YAAA,CAAA,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AA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,sBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,kBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,kBAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,WAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,eAAA;EAAA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,aAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,eAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,iBAAe,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAClB,cAAY,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACV,gBAAc,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAC1C,kBAAkB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
1
+ {"version":3,"file":"forgeroute-ui-conversations.mjs","names":[],"sources":["../../../projects/forgeroute-ui/conversations/src/lib/bulk-message-panel/bulk-message-panel.component.ts","../../../projects/forgeroute-ui/conversations/src/lib/conversations/conversations.utils.ts","../../../projects/forgeroute-ui/conversations/src/lib/conversations/conversations.component.ts"],"sourcesContent":["import {\n Component, input, output, effect, untracked,\n ChangeDetectionStrategy, signal, computed, inject, } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { SidePanelComponent } from '@forgeroute/ui/core';\nimport { ToggleBadgeComponent } from '@forgeroute/ui/toggle-badge';\nimport { TextInputComponent } from '@forgeroute/ui/text-input';\nimport { TextareaInputComponent } from '@forgeroute/ui/textarea-input';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\nexport interface BulkMessageContact {\n id: string;\n name: string;\n email: string | null;\n phone: string | null;\n}\n\nexport interface BulkMessageSendEvent {\n channel: 'email' | 'text';\n subject: string;\n body: string;\n contacts: BulkMessageContact[];\n}\n\n@Component({\n selector: 'ui-bulk-message-panel',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [FormsModule, SidePanelComponent, ToggleBadgeComponent, TextInputComponent, TextareaInputComponent],\n template: `\n <ui-side-panel\n [open]=\"open()\"\n [title]=\"labels.t('bulkMessagePanel.sendBulkMessage')\"\n [primaryLabel]=\"primaryLabel()\"\n primaryVariant=\"warning\"\n [primaryLoading]=\"sending()\"\n [primaryDisabled]=\"!canSend()\"\n (closed)=\"closed.emit()\"\n (primaryClick)=\"onSend()\">\n\n <div class=\"msg-channel-row\">\n <label class=\"form-label\">{{ labels.t('bulkMessagePanel.sendVia') }}</label>\n <div class=\"msg-via-tabs\">\n <ui-toggle-badge [active]=\"channel() === 'email'\" (toggle)=\"onChannelChange('email')\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"/><path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"/></svg>{{ labels.t('common.email') }}</ui-toggle-badge>\n @if (textEnabled()) {\n <ui-toggle-badge [active]=\"channel() === 'text'\" (toggle)=\"onChannelChange('text')\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/></svg>{{ labels.t('common.text') }}</ui-toggle-badge>\n }\n </div>\n </div>\n\n <p class=\"bulk-msg-recipients\">{{ labels.t('bulkMessagePanel.sendingTo') }} <strong>{{ activeContacts().length }}</strong> {{ labels.t(activeContacts().length === 1 ? 'bulkMessagePanel.contactWord_one' : 'bulkMessagePanel.contactWord_other') }}\n @if (skippedCount() > 0) {\n <span class=\"bulk-msg-skipped\">&mdash; {{ labels.t(skippedCount() === 1 ? 'bulkMessagePanel.skippedNo_one' : 'bulkMessagePanel.skippedNo_other', { count: skippedCount(), what: labels.t(channel() === 'email' ? 'bulkMessagePanel.noEmailWord' : 'bulkMessagePanel.noPhoneWord') }) }}</span>\n }\n </p>\n\n @if (channel() === 'email') {\n <ui-text-input [label]=\"labels.t('common.subject')\" [(ngModel)]=\"subject\" [placeholder]=\"labels.t('bulkMessagePanel.subjectLine')\" />\n }\n <ui-textarea-input [label]=\"labels.t('common.message')\" [rows]=\"6\" [(ngModel)]=\"body\" [placeholder]=\"labels.t('bulkMessagePanel.writeYourMessage')\" />\n\n </ui-side-panel>\n `,\n styles: [`\n .msg-channel-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }\n .msg-via-tabs { display: flex; gap: 6px; flex-wrap: wrap; }\n .form-label { font-size: 0.75rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }\n .bulk-msg-recipients { font-size: 0.9375rem; color: #334155; margin: 0 0 16px; }\n .bulk-msg-skipped { color: #94a3b8; font-size: 0.875rem; }\n `],\n})\nexport class BulkMessagePanelComponent {\n protected readonly labels = inject(UiLabelsService);\n readonly open = input(false);\n readonly contacts = input<BulkMessageContact[]>([]);\n readonly textEnabled = input(false);\n readonly sending = input(false);\n\n readonly closed = output<void>();\n readonly send = output<BulkMessageSendEvent>();\n\n readonly channel = signal<'email' | 'text'>('email');\n\n private readonly _subject = signal('');\n private readonly _body = signal('');\n\n get subject() { return this._subject(); }\n set subject(v: string) { this._subject.set(v); }\n\n get body() { return this._body(); }\n set body(v: string) { this._body.set(v); }\n\n readonly emailContacts = computed(() => this.contacts().filter(c => !!c.email));\n readonly textContacts = computed(() => this.contacts().filter(c => !!c.phone));\n readonly activeContacts = computed(() => this.channel() === 'email' ? this.emailContacts() : this.textContacts());\n readonly skippedCount = computed(() => this.contacts().length - this.activeContacts().length);\n\n readonly canSend = computed(() => {\n if (this.activeContacts().length === 0) return false;\n if (this.channel() === 'email') return !!this._subject().trim() && !!this._body().trim();\n return !!this._body().trim();\n });\n\n readonly primaryLabel = computed(() => {\n const n = this.activeContacts().length;\n return this.labels.t(n === 1 ? 'bulkMessagePanel.sendToN_one' : 'bulkMessagePanel.sendToN_other', { count: n });\n });\n\n private _prevOpen = false;\n\n constructor() {\n effect(() => {\n const isOpen = this.open();\n const openedNow = isOpen && !this._prevOpen;\n this._prevOpen = isOpen;\n if (openedNow) {\n untracked(() => {\n const hasEmail = this.contacts().some(c => !!c.email);\n this.channel.set(hasEmail ? 'email' : 'text');\n this._subject.set('');\n this._body.set('');\n });\n }\n });\n }\n\n onChannelChange(ch: 'email' | 'text') { this.channel.set(ch); }\n\n onSend() {\n if (!this.canSend() || this.sending()) return;\n this.send.emit({\n channel: this.channel(),\n subject: this._subject(),\n body: this._body(),\n contacts: this.activeContacts(),\n });\n }\n}\n","import { ConversationMessage, ConversationMessageRow } from './conversations.models';\nimport { UiLabelKey, UiLabelsService, defaultLabel, uiText } from '@forgeroute/ui/core';\nimport { safeLocale } from '@forgeroute/ui/core';\n\n/**\n * Pure display helpers of `ui-conversations` (no Angular). Dates are formatted with an explicit 'en-US' locale and are only ever\n * read from ISO strings, so Chrome, Edge, Firefox and Safari print the same text.\n */\n\n/** \"(512) 555-0100\"; \"+1 (512) 555-0100\" for an 11-digit number that starts with 1; anything else is returned as stored ('' for none). */\nexport function formatConversationPhone(phone: string | null | undefined): string {\n if (!phone) return '';\n const digits = phone.replace(/\\D/g, '');\n if (digits.length === 10) return `(${digits.slice(0, 3)}) ${digits.slice(3, 6)}-${digits.slice(6)}`;\n if (digits.length === 11 && digits.startsWith('1')) return `+1 (${digits.slice(1, 4)}) ${digits.slice(4, 7)}-${digits.slice(7)}`;\n return phone;\n}\n\n/** The text cut at `len` characters with \"...\" ('' for none). */\nexport function truncateConversationText(text: string | null | undefined, len: number): string {\n if (!text) return '';\n return text.length > len ? text.substring(0, len) + '...' : text;\n}\n\n/** \"now\", \"5m\", \"3h\", \"2d\", then \"Oct 12\" (the list's time column). '' for a missing or unreadable date. */\nexport function formatConversationTime(iso: string | null | undefined, now: Date = new Date(), ui?: UiLabelsService): string {\n const text = (key: UiLabelKey, params?: Record<string, string | number>) => ui ? ui.t(key, params) : defaultLabel(key, params);\n if (!iso) return '';\n const d = new Date(iso);\n if (Number.isNaN(d.getTime())) return '';\n const mins = Math.floor((now.getTime() - d.getTime()) / 60000);\n if (mins < 1) return text('time.now');\n if (mins < 60) return text('time.minutesShort', { n: mins });\n const hrs = Math.floor(mins / 60);\n if (hrs < 24) return text('time.hoursShort', { n: hrs });\n const days = Math.floor(hrs / 24);\n if (days < 7) return text('time.daysShort', { n: days });\n return d.toLocaleDateString(safeLocale(ui?.locale()), { month: 'short', day: 'numeric' });\n}\n\n/** \"3:05 PM\" (a message's time). '' for an unreadable date. */\nexport function formatMessageTime(iso: string, ui?: UiLabelsService): string {\n const d = new Date(iso);\n return Number.isNaN(d.getTime()) ? '' : d.toLocaleTimeString(safeLocale(ui?.locale()), { hour: 'numeric', minute: '2-digit' });\n}\n\n/** \"Today\", \"Yesterday\" or \"Oct 12, 2026\" (the date separator in a thread). '' for an unreadable date (never \"Invalid Date\"). */\nexport function conversationDateLabel(iso: string, now: Date = new Date(), ui?: UiLabelsService): string {\n const d = new Date(iso);\n if (Number.isNaN(d.getTime())) return '';\n const yesterday = new Date(now);\n yesterday.setDate(yesterday.getDate() - 1);\n if (d.toDateString() === now.toDateString()) return ui ? ui.t('time.today') : defaultLabel('time.today');\n if (d.toDateString() === yesterday.toDateString()) return ui ? ui.t('time.yesterday') : defaultLabel('time.yesterday');\n return d.toLocaleDateString(safeLocale(ui?.locale()), { month: 'short', day: 'numeric', year: 'numeric' });\n}\n\n/** First letter of the name, upper case, for the avatar ('?' for a blank name). */\nexport function conversationInitial(name: string | null | undefined): string {\n return (name ?? '').trim().charAt(0).toUpperCase() || '?';\n}\n\n/** Each message with the date separator that goes above it ('' when it shares the day of the previous message). */\nexport function groupMessagesByDay(messages: readonly ConversationMessage[], now: Date = new Date(), ui?: UiLabelsService): ConversationMessageRow[] {\n return messages.map((message, i) => {\n const label = conversationDateLabel(message.sentAt, now, ui);\n return { message, separator: i === 0 || conversationDateLabel(messages[i - 1].sentAt, now, ui) !== label ? label : '' };\n });\n}\n\n/** What the status mark beside an outbound message says to a screen reader ('' for a status that shows nothing). */\nexport function conversationMessageStatusLabel(status: string | null | undefined): string {\n switch (status) {\n case 'delivered': return uiText('conversations.status.delivered');\n case 'sent': return uiText('conversations.status.sent');\n case 'failed': return uiText('conversations.status.failed');\n case 'scheduled': return uiText('conversations.status.scheduled');\n default: return '';\n }\n}\n\n/** The mark shown beside an outbound message: ticks for sent / delivered, the word for the rest. */\nexport function conversationMessageStatusMark(status: string | null | undefined): string {\n if (status === 'delivered') return '✓✓';\n if (status === 'sent') return '✓';\n return conversationMessageStatusLabel(status);\n}\n\n/**\n * The plain text of formatted composer HTML, the way it reads: paragraphs, list items and line breaks become line breaks, everything else\n * is its text. Runs on an inert document, so nothing in `html` is executed. Trimmed; '' for nothing.\n */\nexport function conversationHtmlToText(html: string | null | undefined): string {\n if (!html) return '';\n const doc = new DOMParser().parseFromString(`<body>${html}</body>`, 'text/html');\n const out: string[] = [];\n const walk = (node: Node): void => {\n node.childNodes.forEach(child => {\n if (child.nodeType === Node.TEXT_NODE) { out.push(child.nodeValue ?? ''); return; }\n if (child.nodeType !== Node.ELEMENT_NODE) return;\n const el = child as Element;\n if (el.tagName === 'BR') { out.push('\\n'); return; }\n if (/^(SCRIPT|STYLE|NOSCRIPT|TEMPLATE)$/.test(el.tagName)) return;\n const block = /^(P|DIV|LI|UL|OL|BLOCKQUOTE|H[1-6])$/.test(el.tagName);\n if (block && out.length && !/\\n$/.test(out[out.length - 1])) out.push('\\n');\n walk(el);\n if (block && !/\\n$/.test(out[out.length - 1] ?? '')) out.push('\\n');\n });\n };\n walk(doc.body);\n return out.join('').replace(/\\u00a0/g, ' ').replace(/\\n{3,}/g, '\\n\\n').trim();\n}\n","import {\n ChangeDetectionStrategy, Component, ElementRef, ViewEncapsulation, Injector, afterNextRender, computed, effect, inject, input, model, output, signal, untracked, viewChild,\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RichTextEditorComponent, RichTextOption } from '@forgeroute/ui/editor';\nimport { plainTextToHtml, sanitizeRichTextHtml } from '@forgeroute/ui/editor';\nimport { AlertComponent } from '@forgeroute/ui/alert';\nimport { TextareaInputComponent } from '@forgeroute/ui/textarea-input';\nimport { AvatarComponent } from '@forgeroute/ui/avatar';\nimport { BadgeComponent } from '@forgeroute/ui/badge';\nimport { ButtonComponent } from '@forgeroute/ui/core';\nimport { QuickFilterTab } from '@forgeroute/ui/table-types';\nimport { EmptyStateComponent } from '@forgeroute/ui/empty-state';\nimport { FileInputComponent } from '@forgeroute/ui/file-input';\nimport { ListComponent } from '@forgeroute/ui/list';\nimport { PaginationComponent } from '@forgeroute/ui/pagination';\nimport { QuickFilterTabsComponent } from '@forgeroute/ui/quick-filter-tabs';\nimport { SearchInputComponent } from '@forgeroute/ui/search-input';\nimport { SkeletonComponent } from '@forgeroute/ui/skeleton';\nimport { TooltipDirective } from '@forgeroute/ui/tooltip';\nimport { ModalComponent } from '@forgeroute/ui/core';\nimport { ConversationAttachment, ConversationItem, ConversationLink, ConversationLinkGroup, ConversationMessage, ConversationSendEvent } from './conversations.models';\nimport {\n conversationHtmlToText, conversationInitial, conversationMessageStatusLabel, conversationMessageStatusMark, formatConversationTime, formatMessageTime, groupMessagesByDay,\n truncateConversationText,\n} from './conversations.utils';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\n/** A message's formatted text. Its own (unencapsulated) component so the styles reach the markup that `innerHTML` creates. */\n@Component({\n selector: 'ui-conversation-rich-body',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: { class: 'cv-rich', '[innerHTML]': 'safe()' },\n template: '',\n styles: [`\n .cv-rich { display: block; font-size: 0.875rem; line-height: 1.45; word-break: break-word; }\n .cv-rich p, .cv-rich div { margin: 0; }\n .cv-rich ul, .cv-rich ol { margin: 0; padding-inline-start: 1.25rem; }\n .cv-rich a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }\n .cv-rich strong, .cv-rich b { font-weight: 700; }\n .cv-rich blockquote { margin: 4px 0; padding-inline-start: 10px; border-inline-start: 3px solid currentColor; opacity: 0.9; }\n .cv-rich h1, .cv-rich h2, .cv-rich h3, .cv-rich h4 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; }\n .cv-rich hr { border: 0; border-top: 1px solid currentColor; opacity: 0.4; margin: 6px 0; }\n `],\n})\nexport class ConversationRichBodyComponent {\n readonly html = input('');\n protected readonly safe = computed(() => sanitizeRichTextHtml(this.html(), { mode: 'paste' }));\n}\n\n/** The composer's toolbar: just what a message needs. */\nconst RICH_COMPOSER_HIDE: RichTextOption[] = [\n 'strikethrough', 'heading', 'fontSize', 'fontFamily', 'textColor', 'highlight', 'align', 'indent', 'outdent', 'clearFormat',\n];\n\n/** At or below this width the list and the thread take turns (one column), like the CSS breakpoint. */\nconst SINGLE_COLUMN_QUERY = '(max-width: 768px)';\n/** The thread follows new messages only while the user is within this many pixels of its end. */\nconst NEAR_BOTTOM_PX = 120;\nconst PREVIEW_LENGTH = 60;\nlet nextId = 0;\n\n/**\n * The text-message inbox: a conversation list (search, filter tabs, pagination) on the left, the open thread (header, messages with date\n * separators and media, composer) in the middle and an optional contact panel on the right. On a phone the list and the thread take turns.\n *\n * <ui-conversations\n * [conversations]=\"rows()\" [selected]=\"open()\" [messages]=\"messages()\" [loading]=\"loading()\" [messagesLoading]=\"threadLoading()\"\n * [filterTabs]=\"tabs\" [filterCounts]=\"counts()\" [activeFilter]=\"filter()\" [page]=\"page()\" [pageSize]=\"25\" [totalItems]=\"total()\"\n * [(draft)]=\"draft\" [sending]=\"sending()\" [canWrite]=\"canWrite()\" [hasContext]=\"true\" [(contextOpen)]=\"contextOpen\"\n * (searchChange)=\"onSearch($event)\" (filterChange)=\"filter.set($event)\" (pageChange)=\"page.set($event)\"\n * (selectConversation)=\"open.set($event)\" (send)=\"onSend($event)\" ...>\n * <div uiConversationsContext> ...contact details... </div>\n * </ui-conversations>\n *\n * The component keeps NO data and makes NO requests: the host loads, polls, sends, uploads, deletes and changes status, and passes the\n * results back in. It owns the layout, the keyboard / screen-reader behaviour, the scroll-to-latest rule (the thread follows new messages\n * only while the user is at its end), the focus moves of the one-column layout and the Enter-to-send rule (Shift+Enter is a new line; the\n * Enter that confirms an IME composition is not a send). `[canWrite]=\"false\"` is the read-only view: no New / Delete / status / template\n * buttons and no composer.\n *\n * `[allowNew]=\"false\"` / `[allowDelete]=\"false\"` hide the New and Delete buttons for a host that cannot start or delete conversations while the composer\n * stays (a reply-only inbox such as Portal Messages). A message may carry a `sender` and an `action` link button (`(messageAction)`); a long thread\n * shows \"Load earlier messages\" while `[hasEarlier]` (`(loadEarlier)`); a failed thread load shows `[messagesError]` with Retry (`(messagesRetry)`).\n *\n * Test ids: conversations, conv-search, conv-filters, new-message-btn, conv-loading, conv-error, conv-retry, conv-empty, conv-item, conv-unread,\n * conv-arrow, conv-delete-btn, thread-empty, thread-error, thread-retry, load-earlier, msg-sender, msg-action, back-to-list, thread-name, thread-phone, use-template-btn, context-toggle, status-btn, thread-delete-btn,\n * messages, messages-loading, messages-empty, message, msg-status, attach-btn, attach-input, attachment-preview, attachment-remove,\n * msg-rich-body, compose-input, send-btn, compose-opted-out, compose-loading-contact, context-panel, context-close.\n */\n@Component({\n selector: 'ui-conversations',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n FormsModule, AlertComponent, AvatarComponent, BadgeComponent, ButtonComponent, EmptyStateComponent, FileInputComponent, ListComponent,\n PaginationComponent, QuickFilterTabsComponent, RichTextEditorComponent, SearchInputComponent, SkeletonComponent, TextareaInputComponent, TooltipDirective,\n ConversationRichBodyComponent, ModalComponent,\n ],\n template: `\n <div class=\"cv-layout\" [class.has-context]=\"contextVisible()\" data-testid=\"conversations\">\n @if (contextVisible()) {\n <div class=\"cv-context-backdrop\" (click)=\"closeContext()\" aria-hidden=\"true\"></div>\n }\n\n <!-- LEFT: conversation list -->\n <section class=\"cv-list-panel\" [class.cv-hidden-mobile]=\"!!selected()\" [attr.aria-labelledby]=\"titleId\">\n <div class=\"cv-list-header\">\n <h2 class=\"cv-list-title\" [id]=\"titleId\">{{ title() }}</h2>\n @if (canWrite() && allowNew()) {\n <ui-button class=\"cv-new-btn\" variant=\"primary\" size=\"sm\" [ariaLabel]=\"newLabel()\" [uiTooltip]=\"newTooltip()\" tooltipPosition=\"bottom\" (click)=\"newConversation.emit()\" data-testid=\"new-message-btn\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"16\"/><line x1=\"8\" y1=\"12\" x2=\"16\" y2=\"12\"/></svg>\n </ui-button>\n }\n </div>\n\n @if (showFilters()) {\n <div class=\"cv-search\">\n <ui-search-input [placeholder]=\"searchPlaceholder()\" [ariaLabel]=\"searchAriaLabel()\" [(value)]=\"searchText\" (searchChange)=\"searchChange.emit($event)\" data-testid=\"conv-search\" />\n </div>\n @if (filterTabs().length) {\n <div class=\"cv-filters\">\n <ui-quick-filter-tabs [ariaLabel]=\"filterAriaLabel()\" [tabs]=\"filterTabs()\" [counts]=\"filterCounts()\" [activeValue]=\"activeFilter()\" (tabChange)=\"filterChange.emit($event)\" data-testid=\"conv-filters\" />\n </div>\n }\n }\n\n @if (loading()) {\n <div class=\"cv-loading\" aria-busy=\"true\" [attr.aria-label]=\"loadingLabel()\" data-testid=\"conv-loading\">\n @for (i of skeletonRows; track i) {\n <div class=\"cv-skeleton\">\n <ui-skeleton [height]=\"40\" width=\"40px\" [radius]=\"20\" />\n <div class=\"cv-skel-content\">\n <div class=\"cv-skel-row\">\n <ui-skeleton width=\"55%\" [height]=\"12\" />\n <ui-skeleton width=\"48px\" [height]=\"10\" />\n </div>\n <ui-skeleton width=\"30%\" [height]=\"10\" [mb]=\"2\" />\n <ui-skeleton width=\"85%\" [height]=\"10\" />\n </div>\n </div>\n }\n </div>\n } @else if (error()) {\n <div class=\"cv-error\" data-testid=\"conv-error\">\n <ui-alert variant=\"danger\">{{ error() }}</ui-alert>\n <ui-button variant=\"secondary\" size=\"sm\" (click)=\"retry.emit()\" data-testid=\"conv-retry\">{{ labels.t('common.retry') }}</ui-button>\n </div>\n } @else if (conversations().length === 0) {\n <ui-empty-state iconType=\"message\" data-testid=\"conv-empty\" [title]=\"filtering() ? filteredEmptyTitle() : emptyTitle()\" [message]=\"emptyText()\" />\n } @else {\n <div class=\"cv-list\">\n <ui-list [ariaLabel]=\"listAriaLabel()\" [items]=\"conversations()\" [trackBy]=\"trackConversation\" [navigable]=\"selectable()\" [arrow]=\"false\" (itemClick)=\"onRowOpen($event)\">\n <ng-template let-conv>\n <div class=\"cv-item\" data-testid=\"conv-item\" [attr.data-conversation-id]=\"conv.id\"\n [class.selected]=\"selected()?.id === conv.id\" [class.unread]=\"(conv.unreadCount ?? 0) > 0\">\n <ui-avatar [initials]=\"initial(conv.name)\" [name]=\"conv.name\" [size]=\"40\" />\n <div class=\"cv-item-info\">\n <div class=\"cv-item-top\">\n <span class=\"cv-name\">{{ conv.name }}</span>@if (selected()?.id === conv.id) {<span class=\"cv-sr-only\">, {{ labels.t('conversations.openSr') }}</span>}\n <span class=\"cv-time\">{{ relativeTime(conv.lastMessageAt) }}</span>\n </div>\n @if (conv.subtitle) { <span class=\"cv-subtitle\">{{ conv.subtitle }}</span> }\n <div class=\"cv-item-bottom\">\n <p class=\"cv-preview\">{{ preview(conv.preview) || noMessagesText() }}</p>\n <div class=\"cv-item-right\">\n @if (conv.statusLabel) { <ui-badge [label]=\"conv.statusLabel\" variant=\"gray\" /> }\n @if ((conv.unreadCount ?? 0) > 0) {\n <ui-badge class=\"cv-unread-badge\" [label]=\"'' + conv.unreadCount\" variant=\"blue\" data-testid=\"conv-unread\" />\n <span class=\"cv-sr-only\">{{ labels.t('conversations.unread') }}</span>\n }\n @if (canWrite() && allowDelete()) {\n <ui-button class=\"cv-delete-btn\" variant=\"icon-danger\" [ariaLabel]=\"deleteRowLabel() + ' ' + conv.name\" (click)=\"$event.stopPropagation(); deleteConversation.emit(conv)\" data-testid=\"conv-delete-btn\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M3 6h18\"/><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\"/><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\"/></svg>\n </ui-button>\n }\n </div>\n </div>\n </div>\n @if (showRowArrow()) {\n <svg class=\"cv-row-arrow\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\" data-testid=\"conv-arrow\"><path d=\"M9 18l6-6-6-6\"/></svg>\n }\n </div>\n </ng-template>\n </ui-list>\n <ui-pagination [ariaLabel]=\"paginationAriaLabel()\" [page]=\"page()\" [pageSize]=\"pageSize()\" [totalItems]=\"totalItems()\" (pageChange)=\"pageChange.emit($event)\" />\n </div>\n }\n </section>\n\n <!-- CENTER: message thread -->\n <section class=\"cv-thread-panel\" [class.cv-hidden-mobile]=\"!selected()\" [attr.aria-label]=\"threadAriaLabel()\">\n @if (selected(); as conv) {\n <div class=\"cv-thread-header\">\n @if (selectable()) {\n <ui-button class=\"cv-back-btn\" variant=\"secondary\" size=\"sm\" [ariaLabel]=\"backLabel()\" (click)=\"onBack()\" data-testid=\"back-to-list\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><polyline points=\"15 18 9 12 15 6\"/></svg>\n </ui-button>\n }\n <div class=\"cv-thread-header-info\">\n <ui-avatar [initials]=\"initial(conv.name)\" [name]=\"conv.name\" [size]=\"40\" />\n <div class=\"cv-thread-header-text\">\n <h3 class=\"cv-thread-name\" #threadHeading tabindex=\"-1\" data-testid=\"thread-name\">{{ conv.name }}</h3>\n @if (conv.subtitle) { <span class=\"cv-thread-subtitle\" data-testid=\"thread-phone\">{{ conv.subtitle }}</span> }\n </div>\n </div>\n <div class=\"cv-thread-actions\">\n @if (canWrite() && templatesEnabled()) {\n <ui-button class=\"cv-thread-action\" variant=\"secondary\" size=\"sm\" [ariaLabel]=\"templateLabel()\" [uiTooltip]=\"templateLabel()\" tooltipPosition=\"bottom\" [disabled]=\"composerDisabled()\" (click)=\"templateRequest.emit()\" data-testid=\"use-template-btn\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"/><polyline points=\"14 2 14 8 20 8\"/></svg>\n </ui-button>\n }\n @if (hasContext()) {\n <ui-button #contextToggle class=\"cv-thread-action\" [variant]=\"contextOpen() ? 'primary' : 'secondary'\" size=\"sm\" [ariaLabel]=\"contextOpen() ? hideContextLabel() : showContextLabel()\" [uiTooltip]=\"contextOpen() ? hideContextLabel() : contextTitle()\" tooltipPosition=\"bottom\" (click)=\"toggleContext()\" data-testid=\"context-toggle\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"/><circle cx=\"12\" cy=\"7\" r=\"4\"/></svg>\n </ui-button>\n }\n @if (canWrite() && statusActionLabel()) {\n <ui-button class=\"cv-thread-action\" variant=\"secondary\" size=\"sm\" [ariaLabel]=\"statusActionLabel() ?? ''\" [uiTooltip]=\"statusActionLabel()\" tooltipPosition=\"bottom\" [disabled]=\"statusChanging()\" (click)=\"statusChange.emit(conv)\" data-testid=\"status-btn\">\n @if (statusActionIcon() === 'reopen') {\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><polyline points=\"1 4 1 10 7 10\"/><path d=\"M3.51 15a9 9 0 1 0 2.13-9.36L1 10\"/></svg>\n } @else {\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"/><polyline points=\"22 4 12 14.01 9 11.01\"/></svg>\n }\n </ui-button>\n }\n @if (canWrite() && allowDelete()) {\n <ui-button class=\"cv-thread-action\" variant=\"danger\" size=\"sm\" [ariaLabel]=\"deleteThreadLabel()\" [uiTooltip]=\"deleteThreadLabel()\" tooltipPosition=\"bottom\" (click)=\"deleteConversation.emit(conv)\" data-testid=\"thread-delete-btn\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M3 6h18\"/><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\"/><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\"/></svg>\n </ui-button>\n }\n </div>\n </div>\n\n <div class=\"cv-messages\" #messagesEl role=\"log\" aria-live=\"polite\" aria-relevant=\"additions\" tabindex=\"0\"\n [attr.aria-label]=\"messagesAriaLabel() + ' ' + conv.name\" [attr.aria-busy]=\"messagesLoading()\" (scroll)=\"onMessagesScroll()\" data-testid=\"messages\">\n @if (messagesLoading()) {\n <div class=\"cv-messages-loading\" data-testid=\"messages-loading\">\n @for (i of skeletonBubbles; track i) {\n <div class=\"cv-msg-skeleton\" [class.outbound]=\"i % 2 === 0\">\n <ui-skeleton [height]=\"48\" [width]=\"i % 2 === 0 ? '60%' : '55%'\" [radius]=\"16\" />\n </div>\n }\n </div>\n } @else if (messagesError()) {\n <div class=\"cv-messages-error\" data-testid=\"thread-error\">\n <ui-alert variant=\"danger\">{{ messagesError() }}</ui-alert>\n <ui-button variant=\"secondary\" size=\"sm\" (click)=\"messagesRetry.emit()\" data-testid=\"thread-retry\">{{ labels.t('common.retry') }}</ui-button>\n </div>\n } @else if (messages().length === 0) {\n <div class=\"cv-messages-empty\" data-testid=\"messages-empty\">\n <p>{{ canWrite() ? noMessagesWriteText() : noMessagesReadText() }}</p>\n </div>\n } @else {\n @if (hasEarlier()) {\n <div class=\"cv-load-earlier\">\n <ui-button variant=\"secondary\" size=\"sm\" [loading]=\"loadingEarlier()\" (click)=\"loadEarlier.emit()\" data-testid=\"load-earlier\">{{ loadEarlierLabel() }}</ui-button>\n </div>\n }\n @for (row of messageRows(); track row.message.id) {\n @if (row.separator) { <div class=\"cv-date-separator\"><span>{{ row.separator }}</span></div> }\n <div class=\"cv-bubble\" data-testid=\"message\" [class.outbound]=\"row.message.direction === 'outbound'\" [class.inbound]=\"row.message.direction === 'inbound'\">\n <span class=\"cv-sr-only\">{{ row.message.direction === 'outbound' ? youLabel() : conv.name }}:</span>\n @if (row.message.media; as media) {\n <div class=\"cv-media\">\n @if (media.type?.startsWith('image/')) {\n <button type=\"button\" class=\"cv-image-btn\" (click)=\"mediaOpen.emit(media.url)\" [attr.aria-label]=\"openMediaLabel() + ' ' + (media.fileName || imageFallbackName())\">\n <img [src]=\"media.url\" [alt]=\"media.fileName || imageFallbackName()\" class=\"cv-image\" loading=\"lazy\" />\n </button>\n } @else if (media.type?.startsWith('video/')) {\n <video [src]=\"media.url\" class=\"cv-video\" controls preload=\"metadata\"></video>\n } @else {\n <a [href]=\"media.url\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"cv-file-link\">{{ media.fileName || fileFallbackName() }}</a>\n }\n </div>\n }\n @if (row.message.bodyHtml) { <ui-conversation-rich-body [html]=\"row.message.bodyHtml\" data-testid=\"msg-rich-body\" /> }\n @else if (row.message.body) { <p class=\"cv-body\">{{ row.message.body }}</p> }\n @if (row.message.link; as msgLink) {\n @if (msgLink.url) {\n <a class=\"cv-link-chip\" [href]=\"msgLink.url\" data-testid=\"msg-link\"><svg class=\"cv-link-icon\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5\"/><path d=\"M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5\"/></svg><span class=\"cv-link-label\">{{ msgLink.label }}</span></a>\n } @else {\n <span class=\"cv-link-chip\" data-testid=\"msg-link\"><svg class=\"cv-link-icon\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5\"/><path d=\"M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5\"/></svg><span class=\"cv-link-label\">{{ msgLink.label }}</span></span>\n }\n }\n <span class=\"cv-meta\">\n @if (row.message.sender) { <span class=\"cv-sender\" data-testid=\"msg-sender\">{{ row.message.sender }}</span> }\n {{ time(row.message) }}\n @if (row.message.action; as action) {\n <button type=\"button\" class=\"cv-msg-action\" data-testid=\"msg-action\" (click)=\"messageAction.emit(row.message)\">{{ action.label }}</button>\n }\n @if (row.message.direction === 'outbound' && statusLabel(row.message.status)) {\n <span class=\"cv-status\" [class.failed]=\"row.message.status === 'failed'\" data-testid=\"msg-status\">\n <span aria-hidden=\"true\">{{ statusMark(row.message.status) }}</span>\n <span class=\"cv-sr-only\">{{ statusLabel(row.message.status) }}</span>\n </span>\n }\n </span>\n </div>\n }\n }\n </div>\n\n @if (canWrite()) {\n <div class=\"cv-compose\">\n @if (attachment(); as file) {\n <div class=\"cv-attachment\" data-testid=\"attachment-preview\">\n @if (file.previewUrl) {\n <img [src]=\"file.previewUrl\" [alt]=\"attachmentPreviewLabel()\" class=\"cv-attachment-thumb\" />\n } @else {\n <span class=\"cv-attachment-name\">{{ file.fileName }}</span>\n }\n <ui-button class=\"cv-attachment-remove\" variant=\"icon-danger\" [ariaLabel]=\"removeAttachmentLabel()\" (click)=\"attachmentRemove.emit()\" data-testid=\"attachment-remove\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>\n </ui-button>\n </div>\n }\n @if (link(); as chosen) {\n <div class=\"cv-link-preview\" data-testid=\"link-preview\">\n <span class=\"cv-link-chip cv-link-chip-compose\"><svg class=\"cv-link-icon\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5\"/><path d=\"M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5\"/></svg><span class=\"cv-link-label\" data-testid=\"link-preview-label\">{{ chosen.label }}</span></span>\n <ui-button class=\"cv-link-remove\" variant=\"icon-danger\" [ariaLabel]=\"removeLinkLabel()\" [disabled]=\"sending()\" (click)=\"link.set(null)\" data-testid=\"link-remove\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>\n </ui-button>\n </div>\n }\n <div class=\"cv-compose-row\">\n @if (linkGroups() !== null) {\n <ui-button class=\"cv-link-btn\" variant=\"icon\" [ariaLabel]=\"linkLabel()\" [uiTooltip]=\"linkLabel()\" [disabled]=\"sending() || composerDisabled()\" (click)=\"openLinkPicker()\" data-testid=\"link-btn\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5\"/><path d=\"M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5\"/></svg>\n </ui-button>\n }\n @if (attachEnabled()) {\n <ui-button class=\"cv-attach-btn\" variant=\"icon\" [ariaLabel]=\"attachLabel()\" [disabled]=\"uploading() || composerDisabled()\" [loading]=\"uploading()\" (click)=\"openFilePicker()\" data-testid=\"attach-btn\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48\"/></svg>\n </ui-button>\n <ui-file-input [showField]=\"false\" [accept]=\"acceptedFiles()\" [maxSize]=\"maxFileSize()\" [toastOnReject]=\"true\"\n [typeMessage]=\"typeMessage()\" [sizeMessage]=\"sizeMessage()\" (filesSelected)=\"filesSelected.emit($event)\" data-testid=\"attach-input\" />\n }\n @if (richText()) {\n <ui-rich-text-editor class=\"cv-compose-input cv-compose-rich\" [ariaLabel]=\"composeLabel()\" [placeholder]=\"composePlaceholder()\" [hide]=\"richHide\"\n [minHeight]=\"44\" [maxHeight]=\"160\" [ngModel]=\"editorHtml()\" (ngModelChange)=\"onEditorChange($event)\" [disabled]=\"composerDisabled()\" [error]=\"composerError()\" [showErrors]=\"composerError() !== ''\"\n (keydown)=\"onComposeKeydown($event)\" data-testid=\"compose-input\" />\n } @else {\n <ui-textarea-input class=\"cv-compose-input\" [ariaLabel]=\"composeLabel()\" [placeholder]=\"composePlaceholder()\" [rows]=\"1\" [maxlength]=\"maxLength()\"\n [ngModel]=\"draft()\" (ngModelChange)=\"draft.set($event)\" [disabled]=\"composerDisabled()\" [error]=\"composerError()\" [showErrors]=\"composerError() !== ''\"\n (keydown)=\"onComposeKeydown($event)\" data-testid=\"compose-input\" />\n }\n <ui-button class=\"cv-send-btn\" variant=\"primary\" [ariaLabel]=\"sendLabel()\" [disabled]=\"!canSend()\" [loading]=\"sending()\" (click)=\"sendMessage()\" data-testid=\"send-btn\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"13\"/><polygon points=\"22 2 15 22 11 13 2 9 22 2\"/></svg>\n </ui-button>\n </div>\n @if (composerNotice()) {\n <ui-alert variant=\"warning\" data-testid=\"compose-opted-out\">{{ composerNotice() }}</ui-alert>\n }\n <!-- Always in the page (a live region that appears together with its text is often not announced): only its text comes and goes. -->\n <p class=\"cv-compose-status\" role=\"status\" data-testid=\"compose-loading-contact\">{{ composerStatus() }}</p>\n </div>\n }\n } @else {\n <ui-empty-state iconType=\"message\" [title]=\"threadEmptyTitle()\" [message]=\"threadEmptyMessage()\" data-testid=\"thread-empty\" />\n }\n </section>\n\n @if (linkGroups() !== null) {\n <ui-modal [open]=\"pickerOpen()\" [title]=\"linkPickerTitle()\" maxWidth=\"480px\" bodyOverflow=\"hidden\" dialogTestId=\"link-picker\" (close)=\"closeLinkPicker()\">\n <ui-search-input [placeholder]=\"linkSearchPlaceholder()\" [ariaLabel]=\"linkSearchLabel()\" [(value)]=\"linkQuery\" data-testid=\"link-search\" />\n <div class=\"cv-link-list\" data-testid=\"link-list\">\n @if (linkLoading()) {\n <p class=\"cv-link-note\" role=\"status\" data-testid=\"link-loading\">{{ linkLoadingText() }}</p>\n } @else if (visibleLinkGroups().length === 0) {\n <p class=\"cv-link-note\" data-testid=\"link-empty\">{{ linkEmptyText() }}</p>\n } @else {\n @for (group of visibleLinkGroups(); track group.type) {\n <div class=\"cv-link-section\" role=\"group\" [attr.aria-label]=\"group.label\" data-testid=\"link-section\">\n <div class=\"cv-link-section-label\" aria-hidden=\"true\">{{ group.label }}</div>\n @for (item of group.items; track item.id) {\n <button type=\"button\" class=\"cv-link-item\" data-testid=\"link-item\" (click)=\"pickLink(group, item)\">{{ item.label }}</button>\n }\n </div>\n }\n }\n </div>\n </ui-modal>\n }\n\n <!-- RIGHT: contact panel (the host's content) -->\n @if (contextVisible()) {\n <aside class=\"cv-context\" #contextPanel tabindex=\"-1\" [attr.aria-label]=\"contextTitle()\" (keydown.escape)=\"closeContext(true)\" data-testid=\"context-panel\">\n <div class=\"cv-context-header\">\n <h3>{{ contextTitle() }}</h3>\n <ui-button variant=\"icon\" [ariaLabel]=\"closeContextLabel()\" (click)=\"closeContext(true)\" data-testid=\"context-close\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>\n </ui-button>\n </div>\n <div class=\"cv-context-body\"><ng-content select=\"[uiConversationsContext]\" /></div>\n </aside>\n }\n </div>\n `,\n styles: [`\n :host { display: flex; flex: 1; min-height: 0; min-width: 0; }\n .cv-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }\n\n .cv-layout { display: grid; grid-template-columns: 340px 1fr; flex: 1; min-height: 0; min-width: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); border: 1px solid #e2e8f0; }\n .cv-layout.has-context { grid-template-columns: 340px 1fr 280px; }\n\n .cv-list-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #e2e8f0; background: #f8fafc; overflow: hidden; }\n .cv-list-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px; }\n .cv-list-title { margin: 0; font-size: 1.125rem; font-weight: 700; color: #1e293b; }\n .cv-search, .cv-filters { padding: 0 16px 12px; }\n .cv-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }\n\n .cv-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f1f5f9; transition: background 0.15s; }\n .cv-item.unread { background: #fffbeb; }\n .cv-item.selected { background: #eff6ff; box-shadow: inset 3px 0 0 #2563eb; }\n .cv-item-info { flex: 1; min-width: 0; }\n /* The \"opens the thread\" arrow sits inside the row, so the open / unread tint and the blue bar cover it. */\n .cv-row-arrow { flex: 0 0 auto; align-self: center; color: #94a3b8; }\n .cv-item-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }\n .cv-name { font-size: 0.875rem; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n .cv-time { font-size: 0.6875rem; color: #64748b; flex-shrink: 0; margin-left: 8px; }\n .cv-subtitle { font-size: 0.6875rem; color: #64748b; display: block; margin-bottom: 2px; }\n .cv-item-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }\n .cv-preview { margin: 0; font-size: 0.8125rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }\n .cv-item-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }\n /* The delete button shows on hover or keyboard focus (always on touch screens). */\n .cv-delete-btn { opacity: 0; transition: opacity 0.15s; }\n .cv-item:hover .cv-delete-btn, .cv-item:focus-within .cv-delete-btn, .cv-delete-btn:focus-within { opacity: 1; }\n @media (hover: none) { .cv-delete-btn { opacity: 1; } }\n\n .cv-loading { padding: 8px 0; }\n .cv-skeleton { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid #f1f5f9; }\n .cv-skel-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }\n .cv-skel-row { display: flex; justify-content: space-between; gap: 8px; }\n .cv-error { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; text-align: center; }\n\n .cv-thread-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; background: #fff; }\n .cv-thread-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e2e8f0; background: #fff; }\n .cv-back-btn { display: none; }\n .cv-thread-header-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }\n .cv-thread-header-text { min-width: 0; display: flex; flex-direction: column; }\n .cv-thread-name { margin: 0; font-size: 0.9375rem; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n .cv-thread-name:focus { outline: none; }\n .cv-thread-name:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; border-radius: 4px; }\n .cv-thread-subtitle { font-size: 0.75rem; color: #64748b; }\n .cv-thread-actions { display: flex; align-items: center; gap: 8px; }\n\n .cv-messages { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; background: #f8fafc; }\n .cv-messages:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }\n .cv-messages-loading { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; }\n .cv-msg-skeleton { display: flex; }\n .cv-msg-skeleton.outbound { justify-content: flex-end; }\n .cv-messages-error { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; text-align: center; }\n .cv-load-earlier { display: flex; justify-content: center; padding: 4px 0 12px; }\n .cv-sender { font-weight: 600; }\n /* Linked record: a chip under a message's text and above the composer */\n .cv-link-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid transparent; font-size: 0.8rem; font-weight: 600; text-decoration: none; }\n .cv-link-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }\n .cv-link-icon { flex: none; }\n .cv-bubble.inbound .cv-link-chip { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }\n .cv-bubble.outbound .cv-link-chip { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); color: #fff; }\n .cv-link-chip:is(a):hover { filter: brightness(0.96); text-decoration: underline; }\n .cv-link-chip:is(a):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }\n .cv-link-preview { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }\n .cv-link-chip-compose { margin-top: 0; background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }\n .cv-link-list { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; max-height: 320px; overflow-y: auto; }\n .cv-link-section-label { padding: 8px 4px 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #64748b; }\n .cv-link-item { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; text-align: start; font: inherit; font-size: 0.875rem; color: #1e293b; cursor: pointer; }\n .cv-link-item:hover { background: #f1f5f9; }\n .cv-link-item:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }\n .cv-link-note { margin: 16px 0; text-align: center; font-size: 0.875rem; color: #64748b; }\n @media (pointer: coarse), (max-width: 480px) { .cv-link-item { min-height: 44px; } }\n .cv-msg-action { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }\n .cv-msg-action:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }\n .cv-messages-empty { display: flex; align-items: center; justify-content: center; flex: 1; }\n .cv-messages-empty p { margin: 0; font-size: 0.875rem; color: #64748b; text-align: center; }\n\n .cv-date-separator { display: flex; align-items: center; justify-content: center; padding: 16px 0 8px; }\n .cv-date-separator span { padding: 4px 14px; border-radius: 12px; background: #e2e8f0; font-size: 0.6875rem; font-weight: 600; color: #475569; text-transform: uppercase; letter-spacing: 0.3px; }\n\n .cv-bubble { max-width: 70%; padding: 10px 14px; border-radius: 16px; position: relative; word-break: break-word; overflow-wrap: break-word; }\n .cv-bubble.inbound { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px; }\n .cv-bubble.inbound .cv-body, .cv-bubble.inbound .cv-rich { color: #1e293b; }\n .cv-bubble.inbound .cv-meta { color: #64748b; }\n .cv-bubble.outbound { align-self: flex-end; background: #2563eb; border-bottom-right-radius: 4px; }\n .cv-bubble.outbound .cv-body, .cv-bubble.outbound .cv-rich, .cv-bubble.outbound .cv-meta { color: #fff; }\n @media (prefers-reduced-motion: no-preference) {\n .cv-bubble { animation: cv-appear 0.2s ease; }\n .cv-context { animation: cv-slide-in 0.25s ease; }\n }\n .cv-body { margin: 0; font-size: 0.875rem; line-height: 1.45; word-break: break-word; white-space: pre-wrap; }\n .cv-media { margin-bottom: 6px; }\n .cv-image-btn { display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; }\n .cv-image-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px #2563eb; }\n .cv-image { display: block; max-width: 240px; max-height: 240px; border-radius: 8px; object-fit: cover; }\n .cv-video { max-width: 240px; max-height: 200px; border-radius: 8px; }\n .cv-file-link { font-size: 0.8125rem; color: #fff; text-decoration: underline; }\n .cv-bubble.inbound .cv-file-link { color: #2563eb; }\n .cv-meta { display: flex; align-items: center; gap: 6px; justify-content: flex-end; font-size: 0.6875rem; margin-top: 4px; }\n .cv-status { font-weight: 500; }\n .cv-status.failed { color: #fff; font-weight: 700; }\n .cv-bubble.inbound .cv-status.failed { color: #dc2626; }\n\n .cv-compose { display: flex; flex-direction: column; padding: 12px 20px 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e2e8f0; background: #fff; }\n .cv-compose-row { display: flex; align-items: flex-end; gap: 10px; }\n .cv-compose-input { flex: 1; min-width: 0; }\n .cv-attach-btn, .cv-send-btn { flex-shrink: 0; }\n .cv-attachment { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 8px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }\n .cv-attachment-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }\n .cv-attachment-name { font-size: 0.8125rem; color: #475569; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n .cv-attachment-remove { flex-shrink: 0; }\n .cv-compose-status { margin: 4px 0 0; font-size: 0.8125rem; color: #64748b; }\n .cv-compose-status:empty { margin: 0; }\n\n .cv-context-backdrop { display: none; }\n .cv-context { width: 100%; min-width: 0; border-left: 1px solid #e2e8f0; background: #fff; display: flex; flex-direction: column; overflow-y: auto; }\n .cv-context-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #e2e8f0; }\n .cv-context-header h3 { margin: 0; font-size: 0.875rem; font-weight: 700; color: #1e293b; }\n .cv-context-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }\n\n @keyframes cv-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }\n @keyframes cv-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }\n\n @media (max-width: 1100px) { .cv-layout.has-context { grid-template-columns: 280px 1fr 240px; } }\n @media (max-width: 768px) {\n .cv-layout, .cv-layout.has-context { grid-template-columns: 1fr; height: 100%; }\n .cv-hidden-mobile { display: none !important; }\n .cv-back-btn { display: inline-flex; }\n .cv-context-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 99; }\n .cv-context { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw; z-index: 100; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1); }\n .cv-bubble { max-width: 85%; }\n .cv-messages { padding: 12px 16px; }\n .cv-thread-header { padding: 12px 16px; }\n }\n @media (max-width: 480px) {\n .cv-thread-subtitle { display: none; }\n .cv-compose { padding: 8px 12px 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }\n /* The editor takes the full width on its own row (its toolbar stays on one row: six 44px tools); Attach and Send share the row under it. */\n .cv-compose-row { flex-wrap: wrap; }\n .cv-compose-input { order: -1; flex: 1 1 100%; }\n .cv-send-btn { margin-inline-start: auto; }\n .cv-list-header { padding: 12px 16px 10px; }\n .cv-context { width: 100%; max-width: 100vw; }\n }\n `],\n})\nexport class ConversationsComponent {\n protected readonly labels = inject(UiLabelsService);\n // ── List ──────────────────────────────────────────────────────────\n readonly conversations = input<readonly ConversationItem[]>([]);\n /** The open conversation (null = none: the empty thread shows, and on a phone the list). It need not be on the current list page. */\n readonly selected = input<ConversationItem | null>(null);\n readonly titleInput = input<string | null>(null, { alias: 'title' });\n readonly title = computed(() => this.titleInput() ?? this.labels.t('conversations.title'));\n readonly loading = input(false);\n /** A failed list load: the message, with a Retry button. */\n readonly error = input<string | null>(null);\n /** The search text (two-way). The host usually reacts to `(searchChange)`, which fires after the search box's own debounce. */\n readonly searchText = model('');\n readonly searchPlaceholderInput = input<string | null>(null, { alias: 'searchPlaceholder' });\n readonly searchPlaceholder = computed(() => this.searchPlaceholderInput() ?? this.labels.t('conversations.searchPlaceholder'));\n readonly searchAriaLabelInput = input<string | null>(null, { alias: 'searchAriaLabel' });\n readonly searchAriaLabel = computed(() => this.searchAriaLabelInput() ?? this.labels.t('conversations.searchAriaLabel'));\n /** Search and filter tabs are hidden until the host says the first load is done (they would flash while loading). */\n readonly showFilters = input(true);\n /** Filter tabs; none = no filter row. The empty value `''` is the \"All\" tab. */\n readonly filterTabs = input<QuickFilterTab[]>([]);\n readonly filterCounts = input<Record<string, number>>({});\n readonly activeFilter = input('');\n readonly filterAriaLabelInput = input<string | null>(null, { alias: 'filterAriaLabel' });\n readonly filterAriaLabel = computed(() => this.filterAriaLabelInput() ?? this.labels.t('conversations.filterAriaLabel'));\n /** 1-based page, page size and total of the list. */\n readonly page = input(1);\n readonly pageSize = input(25);\n readonly totalItems = input(0);\n readonly paginationAriaLabelInput = input<string | null>(null, { alias: 'paginationAriaLabel' });\n readonly paginationAriaLabel = computed(() => this.paginationAriaLabelInput() ?? this.labels.t('conversations.paginationAriaLabel'));\n readonly listAriaLabelInput = input<string | null>(null, { alias: 'listAriaLabel' });\n readonly listAriaLabel = computed(() => this.listAriaLabelInput() ?? this.labels.t('conversations.listAriaLabel'));\n readonly loadingLabelInput = input<string | null>(null, { alias: 'loadingLabel' });\n readonly loadingLabel = computed(() => this.loadingLabelInput() ?? this.labels.t('conversations.loadingLabel'));\n readonly emptyTitleInput = input<string | null>(null, { alias: 'emptyTitle' });\n readonly emptyTitle = computed(() => this.emptyTitleInput() ?? this.labels.t('conversations.emptyTitle'));\n readonly emptyMessageInput = input<string | null>(null, { alias: 'emptyMessage' });\n readonly emptyMessage = computed(() => this.emptyMessageInput() ?? this.labels.t('conversations.emptyMessage'));\n /** The empty-list text for a read-only user (who has no + button). */\n readonly emptyReadOnlyMessageInput = input<string | null>(null, { alias: 'emptyReadOnlyMessage' });\n readonly emptyReadOnlyMessage = computed(() => this.emptyReadOnlyMessageInput() ?? this.labels.t('conversations.emptyReadOnlyMessage'));\n readonly filteredEmptyTitleInput = input<string | null>(null, { alias: 'filteredEmptyTitle' });\n readonly filteredEmptyTitle = computed(() => this.filteredEmptyTitleInput() ?? this.labels.t('conversations.filteredEmptyTitle'));\n readonly filteredEmptyMessageInput = input<string | null>(null, { alias: 'filteredEmptyMessage' });\n readonly filteredEmptyMessage = computed(() => this.filteredEmptyMessageInput() ?? this.labels.t('conversations.filteredEmptyMessage'));\n readonly noMessagesTextInput = input<string | null>(null, { alias: 'noMessagesText' });\n readonly noMessagesText = computed(() => this.noMessagesTextInput() ?? this.labels.t('conversations.noMessagesText'));\n /** Shows the + (New) button for a writer. `false` for a host that cannot start conversations. */\n readonly allowNew = input(true);\n /** Shows the bins (row and thread header) for a writer. `false` for a host that cannot delete conversations. */\n readonly allowDelete = input(true);\n /** The arrow at the end of each conversation row, drawn inside the row so its highlight covers it. Default false (hidden); `true` where the arrow helps (rows that open a thread on a phone). */\n readonly showRowArrow = input(false);\n /** Rows open their conversation on click / Enter (pointer cursor, hover tint, focusable) and the thread has a Back button. `false` for a host with one conversation that is always open: nothing to click, no Back. */\n readonly selectable = input(true);\n readonly newLabelInput = input<string | null>(null, { alias: 'newLabel' });\n readonly newLabel = computed(() => this.newLabelInput() ?? this.labels.t('conversations.newLabel'));\n readonly newTooltipInput = input<string | null>(null, { alias: 'newTooltip' });\n readonly newTooltip = computed(() => this.newTooltipInput() ?? this.labels.t('conversations.newTooltip'));\n readonly deleteRowLabelInput = input<string | null>(null, { alias: 'deleteRowLabel' });\n readonly deleteRowLabel = computed(() => this.deleteRowLabelInput() ?? this.labels.t('conversations.deleteRowLabel'));\n\n // ── Thread ────────────────────────────────────────────────────────\n readonly messages = input<readonly ConversationMessage[]>([]);\n readonly messagesLoading = input(false);\n /** A failed thread load: the message, with a Retry button (`(messagesRetry)`). */\n readonly messagesError = input<string | null>(null);\n /** The loaded messages are only the newest ones: a \"Load earlier messages\" button shows above them. */\n readonly hasEarlier = input(false);\n readonly loadingEarlier = input(false);\n readonly loadEarlierLabelInput = input<string | null>(null, { alias: 'loadEarlierLabel' });\n readonly loadEarlierLabel = computed(() => this.loadEarlierLabelInput() ?? this.labels.t('conversations.loadEarlierLabel'));\n /** The thread header's Close / Reopen button: its label (also the tooltip); null = no button. */\n readonly statusActionLabel = input<string | null>(null);\n /** `close` (a check) or `reopen` (a circular arrow): which icon the status button shows. */\n readonly statusActionIcon = input<'close' | 'reopen'>('close');\n readonly statusChanging = input(false);\n /** Shows the \"Use a template\" button (disabled with the composer). */\n readonly templatesEnabled = input(false);\n readonly templateLabelInput = input<string | null>(null, { alias: 'templateLabel' });\n readonly templateLabel = computed(() => this.templateLabelInput() ?? this.labels.t('conversations.templateLabel'));\n readonly deleteThreadLabelInput = input<string | null>(null, { alias: 'deleteThreadLabel' });\n readonly deleteThreadLabel = computed(() => this.deleteThreadLabelInput() ?? this.labels.t('conversations.deleteThreadLabel'));\n readonly backLabelInput = input<string | null>(null, { alias: 'backLabel' });\n readonly backLabel = computed(() => this.backLabelInput() ?? this.labels.t('conversations.backLabel'));\n readonly threadAriaLabelInput = input<string | null>(null, { alias: 'threadAriaLabel' });\n readonly threadAriaLabel = computed(() => this.threadAriaLabelInput() ?? this.labels.t('conversations.threadAriaLabel'));\n readonly messagesAriaLabelInput = input<string | null>(null, { alias: 'messagesAriaLabel' });\n readonly messagesAriaLabel = computed(() => this.messagesAriaLabelInput() ?? this.labels.t('conversations.messagesAriaLabel'));\n readonly threadEmptyTitleInput = input<string | null>(null, { alias: 'threadEmptyTitle' });\n readonly threadEmptyTitle = computed(() => this.threadEmptyTitleInput() ?? this.labels.t('conversations.threadEmptyTitle'));\n readonly threadEmptyMessageInput = input<string | null>(null, { alias: 'threadEmptyMessage' });\n readonly threadEmptyMessage = computed(() => this.threadEmptyMessageInput() ?? this.labels.t('conversations.threadEmptyMessage'));\n readonly noMessagesWriteTextInput = input<string | null>(null, { alias: 'noMessagesWriteText' });\n readonly noMessagesWriteText = computed(() => this.noMessagesWriteTextInput() ?? this.labels.t('conversations.noMessagesWriteText'));\n readonly noMessagesReadTextInput = input<string | null>(null, { alias: 'noMessagesReadText' });\n readonly noMessagesReadText = computed(() => this.noMessagesReadTextInput() ?? this.labels.t('conversations.noMessagesReadText'));\n readonly youLabelInput = input<string | null>(null, { alias: 'youLabel' });\n readonly youLabel = computed(() => this.youLabelInput() ?? this.labels.t('conversations.youLabel'));\n readonly openMediaLabelInput = input<string | null>(null, { alias: 'openMediaLabel' });\n readonly openMediaLabel = computed(() => this.openMediaLabelInput() ?? this.labels.t('conversations.openMediaLabel'));\n readonly imageFallbackNameInput = input<string | null>(null, { alias: 'imageFallbackName' });\n readonly imageFallbackName = computed(() => this.imageFallbackNameInput() ?? this.labels.t('conversations.imageFallbackName'));\n readonly fileFallbackNameInput = input<string | null>(null, { alias: 'fileFallbackName' });\n readonly fileFallbackName = computed(() => this.fileFallbackNameInput() ?? this.labels.t('conversations.fileFallbackName'));\n\n // ── Contact panel ─────────────────────────────────────────────────\n /** Shows the contact-info toggle. The panel's content is the host's, projected with the `uiConversationsContext` attribute. */\n readonly hasContext = input(false);\n /** The panel is open (two-way). It closes itself on Escape, the X and (one column) the backdrop, and when the conversation is closed. */\n readonly contextOpen = model(false);\n readonly contextTitleInput = input<string | null>(null, { alias: 'contextTitle' });\n readonly contextTitle = computed(() => this.contextTitleInput() ?? this.labels.t('conversations.contextTitle'));\n readonly showContextLabelInput = input<string | null>(null, { alias: 'showContextLabel' });\n readonly showContextLabel = computed(() => this.showContextLabelInput() ?? this.labels.t('conversations.showContextLabel'));\n readonly hideContextLabelInput = input<string | null>(null, { alias: 'hideContextLabel' });\n readonly hideContextLabel = computed(() => this.hideContextLabelInput() ?? this.labels.t('conversations.hideContextLabel'));\n readonly closeContextLabelInput = input<string | null>(null, { alias: 'closeContextLabel' });\n readonly closeContextLabel = computed(() => this.closeContextLabelInput() ?? this.labels.t('conversations.closeContextLabel'));\n\n // ── Composer ──────────────────────────────────────────────────────\n /** Read-only view: no New / Delete / status / template buttons and no composer. */\n readonly canWrite = input(true);\n /** The message being typed (two-way). The host clears it after a successful send. */\n readonly draft = model('');\n readonly sending = input(false);\n /** The composer is locked (e.g. the contact opted out): the box, attach and template buttons are disabled and nothing can be sent. */\n readonly composerDisabled = input(false);\n /** A host-side reason nothing can be sent right now (e.g. the contact is still loading); the Send button is disabled. */\n readonly sendBlocked = input(false);\n /** A warning under the composer, e.g. \"This contact has opted out of text messages.\" */\n readonly composerNotice = input('');\n /** A polite status line under the composer (a live region), e.g. \"Loading contact...\". */\n readonly composerStatus = input('');\n /** An error on the message box. */\n readonly composerError = input('');\n /** Longest message (in plain text) Send accepts; longer disables Send, the host words the reason in `composerError` (1600 = the SMS provider's limit for one send). */\n readonly maxLength = input(1600);\n /**\n * Opt-in formatted composer (`ui-rich-text-editor`: bold, italic, underline, link, lists). Default false = the plain textarea, Enter sends and\n * Shift+Enter is a new line. In rich mode `[(draft)]` still holds the PLAIN text (so a host's length and merge-field checks and a template\n * insert work on text), Enter starts a new paragraph / list item and the message is sent with the Send button or Ctrl/Cmd+Enter;\n * `(send)` carries `text` (plain) and `html` (sanitised). Messages with `bodyHtml` show formatted in either mode.\n */\n readonly richText = input(false);\n readonly attachment = input<ConversationAttachment | null>(null);\n readonly uploading = input(false);\n readonly attachEnabled = input(true);\n readonly acceptedFiles = input('image/*,video/*');\n readonly maxFileSize = input<number | null>(null);\n readonly typeMessageInput = input<string | null>(null, { alias: 'typeMessage' });\n readonly typeMessage = computed(() => this.typeMessageInput() ?? this.labels.t('conversations.typeMessage'));\n readonly sizeMessageInput = input<string | null>(null, { alias: 'sizeMessage' });\n readonly sizeMessage = computed(() => this.sizeMessageInput() ?? this.labels.t('conversations.sizeMessage'));\n readonly composeLabelInput = input<string | null>(null, { alias: 'composeLabel' });\n readonly composeLabel = computed(() => this.composeLabelInput() ?? this.labels.t('conversations.composeLabel'));\n readonly composePlaceholderInput = input<string | null>(null, { alias: 'composePlaceholder' });\n readonly composePlaceholder = computed(() => this.composePlaceholderInput() ?? this.labels.t('conversations.composePlaceholder'));\n readonly sendLabelInput = input<string | null>(null, { alias: 'sendLabel' });\n readonly sendLabel = computed(() => this.sendLabelInput() ?? this.labels.t('conversations.sendLabel'));\n readonly attachLabelInput = input<string | null>(null, { alias: 'attachLabel' });\n readonly attachLabel = computed(() => this.attachLabelInput() ?? this.labels.t('conversations.attachLabel'));\n readonly removeAttachmentLabelInput = input<string | null>(null, { alias: 'removeAttachmentLabel' });\n readonly removeAttachmentLabel = computed(() => this.removeAttachmentLabelInput() ?? this.labels.t('conversations.removeAttachmentLabel'));\n readonly attachmentPreviewLabelInput = input<string | null>(null, { alias: 'attachmentPreviewLabel' });\n readonly attachmentPreviewLabel = computed(() => this.attachmentPreviewLabelInput() ?? this.labels.t('conversations.attachmentPreviewLabel'));\n\n /** \"Now\" for the relative times and date separators; null = the real clock. For tests and demos. */\n readonly now = input<Date | null>(null);\n\n // ── Outputs ───────────────────────────────────────────────────────\n readonly searchChange = output<string>();\n readonly filterChange = output<string>();\n readonly pageChange = output<number>();\n /** A row was clicked or opened with the keyboard. */\n readonly selectConversation = output<ConversationItem>();\n /** Back (one column): the host clears `selected`; the focus returns to the row that was open. */\n readonly back = output<void>();\n readonly newConversation = output<void>();\n readonly retry = output<void>();\n /** The bin on a row, or in the thread header. The host asks for confirmation. */\n readonly deleteConversation = output<ConversationItem>();\n /** The Close / Reopen button of the open conversation. */\n readonly statusChange = output<ConversationItem>();\n readonly templateRequest = output<void>();\n readonly send = output<ConversationSendEvent>();\n /** Files accepted by the attach picker (type and size already checked against `acceptedFiles` / `maxFileSize`). */\n readonly filesSelected = output<File[]>();\n readonly attachmentRemove = output<void>();\n\n /**\n * Link a record to a message (opt-in): `null` (default) = no link button, no picker, nothing changes. A list (even an empty one) turns on a \"Link a record\"\n * button in the composer that opens a searchable picker of these sections; the pick becomes `[(link)]`, shows as a removable chip above the composer, and\n * goes out with `(send)` as `link`. Load the sections when `(linkPickerOpened)` fires and show `[linkLoading]` meanwhile.\n */\n readonly linkGroups = input<readonly ConversationLinkGroup[] | null>(null);\n readonly linkLoading = input(false);\n /** The record linked to the message being written. Cleared by the host after a send, like `[(draft)]`; the chip's × clears it too. */\n readonly link = model<ConversationLink | null>(null);\n readonly linkLabelInput = input<string | null>(null, { alias: 'linkLabel' });\n readonly linkLabel = computed(() => this.linkLabelInput() ?? this.labels.t('conversations.linkLabel'));\n readonly linkPickerTitleInput = input<string | null>(null, { alias: 'linkPickerTitle' });\n readonly linkPickerTitle = computed(() => this.linkPickerTitleInput() ?? this.labels.t('conversations.linkPickerTitle'));\n readonly linkSearchPlaceholderInput = input<string | null>(null, { alias: 'linkSearchPlaceholder' });\n readonly linkSearchPlaceholder = computed(() => this.linkSearchPlaceholderInput() ?? this.labels.t('conversations.linkSearchPlaceholder'));\n readonly linkSearchLabelInput = input<string | null>(null, { alias: 'linkSearchLabel' });\n readonly linkSearchLabel = computed(() => this.linkSearchLabelInput() ?? this.labels.t('conversations.linkSearchLabel'));\n readonly linkEmptyTextInput = input<string | null>(null, { alias: 'linkEmptyText' });\n readonly linkEmptyText = computed(() => this.linkEmptyTextInput() ?? this.labels.t('conversations.linkEmptyText'));\n readonly linkLoadingTextInput = input<string | null>(null, { alias: 'linkLoadingText' });\n readonly linkLoadingText = computed(() => this.linkLoadingTextInput() ?? this.labels.t('conversations.linkLoadingText'));\n readonly removeLinkLabelInput = input<string | null>(null, { alias: 'removeLinkLabel' });\n readonly removeLinkLabel = computed(() => this.removeLinkLabelInput() ?? this.labels.t('conversations.removeLinkLabel'));\n /** The \"Link a record\" button opened the picker: load the sections now. */\n readonly linkPickerOpened = output<void>();\n /** An image in a bubble was clicked: the host opens it (usually in a new tab). */\n readonly mediaOpen = output<string>();\n /** The link-style button of a message (`ConversationMessage.action`) was clicked. */\n readonly messageAction = output<ConversationMessage>();\n /** \"Load earlier messages\": the host puts the older page above the loaded messages. */\n readonly loadEarlier = output<void>();\n /** Retry after a failed thread load. */\n readonly messagesRetry = output<void>();\n\n protected readonly titleId = `cv-title-${nextId++}`;\n protected readonly skeletonRows = [1, 2, 3, 4, 5];\n protected readonly skeletonBubbles = [0, 1, 2];\n protected readonly trackConversation = (c: ConversationItem) => c.id;\n protected readonly initial = conversationInitial;\n protected readonly statusLabel = conversationMessageStatusLabel;\n protected readonly statusMark = conversationMessageStatusMark;\n\n private readonly injector = inject(Injector);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly threadHeading = viewChild<ElementRef<HTMLElement>>('threadHeading');\n private readonly messagesEl = viewChild<ElementRef<HTMLElement>>('messagesEl');\n private readonly contextPanel = viewChild<ElementRef<HTMLElement>>('contextPanel');\n private readonly fileInput = viewChild(FileInputComponent);\n\n /** True while the thread is scrolled to (or within NEAR_BOTTOM_PX of) its end; kept by the scroll handler. */\n private atBottom = true;\n private lastThreadId: string | null = null;\n\n protected readonly filtering = computed(() => !!this.searchText().trim() || this.activeFilter() !== '');\n protected readonly emptyText = computed(() =>\n this.filtering() ? this.filteredEmptyMessage() : (this.canWrite() ? this.emptyMessage() : this.emptyReadOnlyMessage()));\n protected readonly messageRows = computed(() => groupMessagesByDay(this.messages(), this.clock(), this.labels));\n protected readonly contextVisible = computed(() => this.hasContext() && this.contextOpen() && !!this.selected());\n /** Something to send (text, a file or a linked record), the composer is open and no request is running. */\n readonly canSend = computed(() =>\n !this.composerDisabled() && !this.sendBlocked() && !this.sending() && (this.draft().trim().length > 0 || !!this.attachment() || !!this.link()) && this.draft().trim().length <= this.maxLength());\n protected readonly pickerOpen = signal(false);\n protected readonly linkQuery = signal('');\n /** The picker's sections narrowed by the search (case-insensitive, on the record label); a section with no match is left out. */\n protected readonly visibleLinkGroups = computed(() => {\n const q = this.linkQuery().trim().toLowerCase();\n const groups = this.linkGroups() ?? [];\n if (!q) return groups.filter(g => g.items.length > 0);\n return groups\n .map(g => ({ ...g, items: g.items.filter(i => i.label.toLowerCase().includes(q)) }))\n .filter(g => g.items.length > 0);\n });\n /** The composer's formatted content. `draft` is always its plain text, so a host that reads or sets `[(draft)]` never sees markup. */\n protected readonly editorHtml = signal('');\n protected readonly richHide = RICH_COMPOSER_HIDE;\n\n constructor() {\n // A host that sets or clears `[(draft)]` (a template, the box emptied after a send) is shown in the editor. The editor's own typing already matches.\n effect(() => {\n const text = this.draft();\n if (!this.richText()) return;\n untracked(() => { if (text !== conversationHtmlToText(this.editorHtml())) this.editorHtml.set(plainTextToHtml(text)); });\n });\n // Opening a thread, or a new message while the user is at the end, scrolls to the latest message. A user who scrolled up to read is left alone.\n effect(() => {\n const id = this.selected()?.id ?? null;\n const count = this.messages().length;\n untracked(() => {\n const switched = id !== this.lastThreadId;\n this.lastThreadId = id;\n if (switched) this.atBottom = true;\n if (count > 0 && this.atBottom) this.scrollToBottom();\n });\n });\n // No conversation open: the contact panel goes with it (and is closed the next time one opens).\n effect(() => {\n if (!this.selected() && this.contextOpen()) untracked(() => this.contextOpen.set(false));\n });\n }\n\n protected relativeTime(iso: string | null | undefined): string { return formatConversationTime(iso, this.clock(), this.labels); }\n protected preview(text: string | null | undefined): string { return truncateConversationText(text, PREVIEW_LENGTH); }\n protected time(message: ConversationMessage): string { return formatMessageTime(message.sentAt, this.labels); }\n\n /** A row was clicked or opened with the keyboard. */\n protected onRowOpen(conv: ConversationItem): void {\n this.selectConversation.emit(conv);\n // One column (a phone): the list is replaced by the thread, so the focus moves to the thread's heading instead of staying on a hidden row.\n if (this.singleColumn()) afterNextRender(() => this.threadHeading()?.nativeElement.focus(), { injector: this.injector });\n }\n\n protected onBack(): void {\n const id = this.selected()?.id;\n this.back.emit();\n // The list shows again: the focus returns to the row that was open.\n afterNextRender(() => {\n const rows = Array.from(this.host.nativeElement.querySelectorAll<HTMLElement>('[data-testid=\"conv-item\"]'));\n (rows.find(r => r.dataset['conversationId'] === id) ?? rows[0])?.closest<HTMLElement>('li')?.focus();\n }, { injector: this.injector });\n }\n\n protected onMessagesScroll(): void {\n const el = this.messagesEl()?.nativeElement;\n if (el) this.atBottom = el.scrollHeight - el.scrollTop - el.clientHeight < NEAR_BOTTOM_PX;\n }\n\n protected toggleContext(): void {\n if (this.contextOpen()) { this.closeContext(true); return; }\n this.contextOpen.set(true);\n afterNextRender(() => this.contextPanel()?.nativeElement.focus(), { injector: this.injector });\n }\n\n /** Closes the contact panel; `restoreFocus` puts the focus back on the toggle that opened it. */\n protected closeContext(restoreFocus = false): void {\n this.contextOpen.set(false);\n if (restoreFocus) {\n afterNextRender(() => this.host.nativeElement.querySelector<HTMLElement>('[data-testid=\"context-toggle\"] button')?.focus(), { injector: this.injector });\n }\n }\n\n protected openFilePicker(): void { this.fileInput()?.open(); }\n\n protected onComposeKeydown(event: KeyboardEvent): void {\n // Plain: Enter sends, Shift+Enter is a new line. Rich: Enter is a new paragraph / list item, Ctrl or Cmd+Enter sends.\n // The Enter that confirms an IME composition (Japanese, Chinese, Korean keyboards) is never a send.\n if (event.key !== 'Enter' || event.isComposing) return;\n if (this.richText() ? (event.ctrlKey || event.metaKey) : !event.shiftKey) { event.preventDefault(); this.sendMessage(); }\n }\n\n protected onEditorChange(html: string): void {\n this.editorHtml.set(html);\n this.draft.set(conversationHtmlToText(html));\n }\n\n protected sendMessage(): void {\n if (!this.canSend()) return;\n const link = this.link();\n const base: ConversationSendEvent = this.richText()\n ? { text: this.draft().trim(), html: sanitizeRichTextHtml(this.editorHtml(), { mode: 'paste' }) }\n : { text: this.draft().trim() };\n this.send.emit(link ? { ...base, link } : base);\n }\n\n protected openLinkPicker(): void {\n this.linkQuery.set('');\n this.pickerOpen.set(true);\n this.linkPickerOpened.emit();\n }\n\n protected closeLinkPicker(): void { this.pickerOpen.set(false); }\n\n protected pickLink(group: ConversationLinkGroup, item: { id: string; label: string }): void {\n this.link.set({ type: group.type, id: item.id, label: item.label });\n this.pickerOpen.set(false);\n }\n\n private clock(): Date { return this.now() ?? new Date(); }\n\n private singleColumn(): boolean {\n return typeof window !== 'undefined' && typeof window.matchMedia === 'function' && window.matchMedia(SINGLE_COLUMN_QUERY).matches;\n }\n\n private scrollToBottom(): void {\n afterNextRender(() => {\n const el = this.messagesEl()?.nativeElement;\n if (el) el.scrollTop = el.scrollHeight;\n }, { injector: this.injector });\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyEA,IAAa,4BAAb,MAAa,0BAAyB;CAepC,IAAI,UAAO;EAAK,OAAO,KAAK,SAAQ;CAAI;CACxC,IAAI,QAAQ,GAAS;EAAI,KAAK,SAAS,IAAI,CAAC;CAAG;CAE/C,IAAI,OAAI;EAAK,OAAO,KAAK,MAAK;CAAI;CAClC,IAAI,KAAK,GAAS;EAAI,KAAK,MAAM,IAAI,CAAC;CAAG;CAoBzC,cAAA;EAtCmB,KAAA,SAAS,OAAO,eAAe;EACzC,KAAA,OAAc,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAC1B,KAAA,WAAc,MAA4B,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;EAC7C,KAAA,cAAc,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EAC1B,KAAA,UAAc,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EAE1B,KAAA,SAAS,OAAM;EACf,KAAA,OAAS,OAAM;EAEf,KAAA,UAAU,OAAyB,SAAQ,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EAEnC,KAAA,WAAW,OAAO,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;EACrB,KAAA,QA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