refactorings

This commit is contained in:
2025-10-05 14:04:25 +00:00
parent 57b5415e66
commit 2a5a5e2121
9 changed files with 219 additions and 404 deletions

View File

@@ -1,8 +1,8 @@
<script lang="ts">
import { mdiSendVariantOutline } from "@mdi/js"
import Icon from "../widgets/Icon.svelte"
import type { Chat } from "./chat"
let { chat }: { chat: Chat } = $props()
import type { WerkChatSession } from "@kontextwerk/web-sdk"
let { chat }: { chat: WerkChatSession } = $props()
let value = $state("")
let textareaEl: HTMLTextAreaElement = $state(null)
function autoResize() {