40760aa884
- server:Go 网关(WS 流式识别中继/计费配额/微信登录支付 mock/反馈/埋点),gummy provider 已真实联调 - desktop:Tauri 2(全局快捷键 push-to-talk/浮层/托盘/设置/登录购买/反馈/首启引导) - android:Compose 主 App + IME(键盘内录音直传) - ios:App + 键盘扩展(1A spike 实证键盘内不可录音,走 deep link 听写) - design/design-pipeline:设计系统 + token 导出 iOS/Android 主题 - doc:前后端设计文档(HTML);web:官网宣传页;todo:任务看板 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
20 lines
797 B
TypeScript
20 lines
797 B
TypeScript
/**
|
|
* 识别浮层 — 桌面端核心界面:按住快捷键时出现在光标旁的深色小窗。
|
|
* 两种主题下都保持深色。
|
|
* @startingPoint section="Components" subtitle="桌面识别浮层 · 聆听/流式两态" viewport="700x220"
|
|
*/
|
|
export interface RecognitionOverlayProps {
|
|
/** listening 聆听中(未出字)/ streaming 流式识别中 @default 'listening' */
|
|
state?: 'listening' | 'streaming';
|
|
/** 已定稿文本(白色) */
|
|
finalText?: string;
|
|
/** 未定稿 partial 文本(灰蓝色,实时刷新) */
|
|
partialText?: string;
|
|
/** 右下角提示 @default '松开 ⌘⇧Space 完成输入' */
|
|
hint?: string;
|
|
/** @default 340 */
|
|
width?: number;
|
|
style?: any;
|
|
}
|
|
export declare function RecognitionOverlay(props: RecognitionOverlayProps): any;
|