mac: bundle web chat assets
This commit is contained in:
43
apps/macos/Sources/Clawdis/Resources/WebChat/components/MessageEditor.d.ts
vendored
Normal file
43
apps/macos/Sources/Clawdis/Resources/WebChat/components/MessageEditor.d.ts
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
import type { Model } from "@mariozechner/pi-ai";
|
||||
import { LitElement } from "lit";
|
||||
import { type Attachment } from "../utils/attachment-utils.js";
|
||||
import "./AttachmentTile.js";
|
||||
export declare class MessageEditor extends LitElement {
|
||||
private _value;
|
||||
private textareaRef;
|
||||
get value(): string;
|
||||
set value(val: string);
|
||||
isStreaming: boolean;
|
||||
currentModel?: Model<any>;
|
||||
thinkingLevel: "off" | "minimal" | "low" | "medium" | "high";
|
||||
showAttachmentButton: boolean;
|
||||
showModelSelector: boolean;
|
||||
showThinkingSelector: boolean;
|
||||
onInput?: (value: string) => void;
|
||||
onSend?: (input: string, attachments: Attachment[]) => void;
|
||||
onAbort?: () => void;
|
||||
onModelSelect?: () => void;
|
||||
onThinkingChange?: (level: "off" | "minimal" | "low" | "medium" | "high") => void;
|
||||
onFilesChange?: (files: Attachment[]) => void;
|
||||
attachments: Attachment[];
|
||||
maxFiles: number;
|
||||
maxFileSize: number;
|
||||
acceptedTypes: string;
|
||||
processingFiles: boolean;
|
||||
isDragging: boolean;
|
||||
private fileInputRef;
|
||||
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
||||
private handleTextareaInput;
|
||||
private handleKeyDown;
|
||||
private handlePaste;
|
||||
private handleSend;
|
||||
private handleAttachmentClick;
|
||||
private handleFilesSelected;
|
||||
private removeFile;
|
||||
private handleDragOver;
|
||||
private handleDragLeave;
|
||||
private handleDrop;
|
||||
firstUpdated(): void;
|
||||
render(): import("lit-html").TemplateResult<1>;
|
||||
}
|
||||
//# sourceMappingURL=MessageEditor.d.ts.map
|
||||
Reference in New Issue
Block a user