import {html} from "../../../../../framework/component.js" import {validateChatContent} from "../../../common/chat-validators.js" import {ValueChangeEvent} from "../../../../xio-components/inputs/events/value-change-event.js" export function renderChatAuthorship({ sendable, onSendClick, onEnterPress, onValidityChange, }: { sendable: boolean onSendClick: (event: Event) => void onEnterPress: (event: Event) => void onValidityChange: (valid: boolean) => void }) { function handleContentChange(event: ValueChangeEvent) { const value = event.detail.value onValidityChange(value !== undefined) } return html`
send message
` }