[{"data":1,"prerenderedAt":331},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":50,"navigation":69,"mobile-docs-page-meta":85,"docs-pages-category":98,"\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit":108,"surround-\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit":328},[4],{"title":5,"path":6,"stem":7,"children":8,"page":49},"Docs","\u002Fdocs","docs",[9,19],{"title":10,"path":11,"stem":12,"children":13},"Introduction","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[14,15],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation",{"title":20,"path":21,"stem":22,"children":23},"Components","\u002Fdocs\u002Fcomponents","docs\u002F2.components\u002F0.index",[24,25,29,33,37,41,45],{"title":20,"path":21,"stem":22},{"title":26,"path":27,"stem":28},"Chat","\u002Fdocs\u002Fcomponents\u002Fchat","docs\u002F2.components\u002F1.chat",{"title":30,"path":31,"stem":32},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":34,"path":35,"stem":36},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":38,"path":39,"stem":40},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":42,"path":43,"stem":44},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":46,"path":47,"stem":48},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",false,[51,53,55,57,59,61,63,65,67],{"path":27,"title":26,"description":52},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":31,"title":30,"description":54},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":35,"title":34,"description":56},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":39,"title":38,"description":58},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":43,"title":42,"description":60},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":62},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":47,"title":46,"description":64},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":17,"title":16,"description":66},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":68},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",[70],{"title":5,"path":6,"stem":7,"children":71,"page":49},[72,76],{"title":10,"path":11,"stem":12,"children":73},[74,75],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":77},[78,79,80,81,82,83,84],{"title":20,"path":21,"stem":22},{"title":26,"path":27,"stem":28},{"title":30,"path":31,"stem":32},{"title":34,"path":35,"stem":36},{"title":38,"path":39,"stem":40},{"title":42,"path":43,"stem":44},{"title":46,"path":47,"stem":48},[86,88,89,90,92,93,94,95,96],{"path":11,"category":87},"overview",{"path":17,"category":87},{"path":21,"category":87},{"path":27,"category":91},"chat",{"path":31,"category":91},{"path":35,"category":91},{"path":39,"category":91},{"path":43,"category":91},{"path":47,"category":97},"content",[99,100,101,102,103,104,105,106,107],{"path":11,"category":87},{"path":17,"category":87},{"path":21,"category":87},{"path":27,"category":91},{"path":31,"category":91},{"path":35,"category":91},{"path":39,"category":91},{"path":43,"category":91},{"path":47,"category":97},{"id":109,"title":42,"body":110,"category":91,"description":60,"extension":323,"meta":324,"navigation":325,"path":43,"seo":326,"stem":44,"__hash__":327},"docs\u002Fdocs\u002F2.components\u002F5.chat-prompt-submit.md",{"type":111,"value":112,"toc":310},"minimark",[113,117,121,132,136,144,148,153,155,159,163,263,267],[114,115],"component-preview",{"name":116},"ChatPromptSubmitDemo",[118,119,16],"h2",{"id":120},"installation",[122,123,129],"pre",{"className":124,"code":126,"language":127,"meta":128},[125],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fchat-prompt-submit.json\"\n","bash","",[130,131,126],"code",{"__ignoreMap":128},[118,133,135],{"id":134},"usage","Usage",[122,137,142],{"className":138,"code":140,"language":141,"meta":128},[139],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { ChatPromptSubmit } from '@\u002Fcomponents\u002Fchat-prompt-submit'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CChatPromptSubmit status=\"ready\" @stop=\"handleStop\" @reload=\"handleReload\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[130,143,140],{"__ignoreMap":128},[118,145,147],{"id":146},"examples","Examples",[149,150,152],"h3",{"id":151},"default","Default",[114,154],{"name":116},[118,156,158],{"id":157},"api-reference","API Reference",[149,160,162],{"id":161},"props","Props",[164,165,166,184],"table",{},[167,168,169],"thead",{},[170,171,172,176,179,181],"tr",{},[173,174,175],"th",{},"Prop",[173,177,178],{},"Type",[173,180,152],{},[173,182,183],{},"Description",[185,186,187,208,228,246],"tbody",{},[170,188,189,195,200,205],{},[190,191,192],"td",{},[130,193,194],{},"status",[190,196,197],{},[130,198,199],{},"'ready' | 'streaming' | 'submitted' | 'error'",[190,201,202],{},[130,203,204],{},"'ready'",[190,206,207],{},"Current chat status. Controls the displayed icon.",[170,209,210,215,220,225],{},[190,211,212],{},[130,213,214],{},"disabled",[190,216,217],{},[130,218,219],{},"boolean",[190,221,222],{},[130,223,224],{},"false",[190,226,227],{},"Disable the button.",[170,229,230,235,240,243],{},[190,231,232],{},[130,233,234],{},"ariaLabel",[190,236,237],{},[130,238,239],{},"string",[190,241,242],{},"status-aware label",[190,244,245],{},"Accessible label for the icon-only button.",[170,247,248,253,257,260],{},[190,249,250],{},[130,251,252],{},"class",[190,254,255],{},[130,256,239],{},[190,258,259],{},"—",[190,261,262],{},"Additional CSS classes.",[149,264,266],{"id":265},"emits","Emits",[164,268,269,278],{},[167,270,271],{},[170,272,273,276],{},[173,274,275],{},"Event",[173,277,183],{},[185,279,280,298],{},[170,281,282,287],{},[190,283,284],{},[130,285,286],{},"stop",[190,288,289,290,293,294,297],{},"Emitted when clicked during ",[130,291,292],{},"streaming"," or ",[130,295,296],{},"submitted"," status.",[170,299,300,305],{},[190,301,302],{},[130,303,304],{},"reload",[190,306,289,307,297],{},[130,308,309],{},"error",{"title":128,"searchDepth":311,"depth":311,"links":312},2,[313,314,315,319],{"id":120,"depth":311,"text":16},{"id":134,"depth":311,"text":135},{"id":146,"depth":311,"text":147,"children":316},[317],{"id":151,"depth":318,"text":152},3,{"id":157,"depth":311,"text":158,"children":320},[321,322],{"id":161,"depth":318,"text":162},{"id":265,"depth":318,"text":266},"md",{},true,{"title":42,"description":60},"OxikV4sqOUjbIMc8MI2jT-aIoG4c4zLS5I1ty2A8ksI",[329,330],{"title":38,"path":39,"stem":40,"children":-1},{"title":46,"path":47,"stem":48,"children":-1},1782356297149]