[{"data":1,"prerenderedAt":477},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":58,"navigation":81,"mobile-docs-page-meta":99,"docs-pages-category":115,"\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal":127,"surround-\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal":474},[4],{"title":5,"path":6,"stem":7,"children":8,"page":57},"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,49,53],{"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",{"title":50,"path":51,"stem":52},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":54,"path":55,"stem":56},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",false,[59,61,63,65,67,69,71,73,75,77,79],{"path":27,"title":26,"description":60},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":31,"title":30,"description":62},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":35,"title":34,"description":64},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":39,"title":38,"description":66},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":43,"title":42,"description":68},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":70},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":47,"title":46,"description":72},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":17,"title":16,"description":74},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":76},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":55,"title":54,"description":78},"Render an on-page table of contents from app-supplied heading links.",{"path":51,"title":50,"description":80},"Render a responsive pricing plan section from app-owned data.",[82],{"title":5,"path":6,"stem":7,"children":83,"page":57},[84,88],{"title":10,"path":11,"stem":12,"children":85},[86,87],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":89},[90,91,92,93,94,95,96,97,98],{"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},{"title":50,"path":51,"stem":52},{"title":54,"path":55,"stem":56},[100,102,103,104,106,107,108,109,110,112,114],{"path":11,"category":101},"overview",{"path":17,"category":101},{"path":21,"category":101},{"path":27,"category":105},"chat",{"path":31,"category":105},{"path":35,"category":105},{"path":39,"category":105},{"path":43,"category":105},{"path":47,"category":111},"content",{"path":51,"category":113},"marketing",{"path":55,"category":111},[116,117,118,119,120,121,122,123,124,125,126],{"path":11,"category":101},{"path":17,"category":101},{"path":21,"category":101},{"path":27,"category":105},{"path":31,"category":105},{"path":35,"category":105},{"path":39,"category":105},{"path":43,"category":105},{"path":47,"category":111},{"path":51,"category":113},{"path":55,"category":111},{"id":128,"title":46,"body":129,"category":111,"description":72,"extension":469,"meta":470,"navigation":471,"path":47,"seo":472,"stem":48,"__hash__":473},"docs\u002Fdocs\u002F2.components\u002F6.docs-search-modal.md",{"type":130,"value":131,"toc":453},"minimark",[132,136,140,151,155,163,167,173,180,188,191,195,200,202,206,210,376,380,409,413,443,447],[133,134],"component-preview",{"name":135},"DocsSearchModalDemo",[137,138,16],"h2",{"id":139},"installation",[141,142,148],"pre",{"className":143,"code":145,"language":146,"meta":147},[144],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fdocs-search-modal.json\"\n","bash","",[149,150,145],"code",{"__ignoreMap":147},[137,152,154],{"id":153},"usage","Usage",[141,156,161],{"className":157,"code":159,"language":160,"meta":147},[158],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { DocsSearchModal, type DocsSearchItem } from '@\u002Fcomponents\u002Fdocs-search-modal'\n\nconst open = ref(false)\n\nconst items: DocsSearchItem[] = [\n  {\n    title: 'Introduction',\n    description: 'Start here to understand the docs structure.',\n    href: '\u002Fdocs\u002Fintroduction',\n    section: 'Getting Started',\n    content: 'overview installation usage'\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cbutton type=\"button\" @click=\"open = true\">\n    Search\n  \u003C\u002Fbutton>\n\n  \u003CDocsSearchModal v-model:open=\"open\" :items=\"items\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[149,162,159],{"__ignoreMap":147},[137,164,166],{"id":165},"app-owned-data","App-Owned Data",[168,169,170,172],"p",{},[149,171,46],{}," owns the modal UI, keyboard shortcut, local filtering, and result rendering boundary. Your app owns the search data.",[168,174,175,176,179],{},"Map static docs, Nuxt Content results, or any other source into ",[149,177,178],{},"DocsSearchItem[]"," before passing it to the component.",[141,181,186],{"className":182,"code":184,"language":185,"meta":147},[183],"language-ts","import type { DocsSearchItem } from '@\u002Fcomponents\u002Fdocs-search-modal'\n\nconst items: DocsSearchItem[] = pages.map(page => ({\n  title: page.title,\n  description: page.description,\n  href: page.path,\n  section: page.category,\n  content: page.bodyText\n}))\n","ts",[149,187,184],{"__ignoreMap":147},[168,189,190],{},"The component intentionally does not crawl pages, query Nuxt Content, call a search provider, rank results, or persist recent searches.",[137,192,194],{"id":193},"examples","Examples",[196,197,199],"h3",{"id":198},"default","Default",[133,201],{"name":135},[137,203,205],{"id":204},"api-reference","API Reference",[196,207,209],{"id":208},"props","Props",[211,212,213,231],"table",{},[214,215,216],"thead",{},[217,218,219,223,226,228],"tr",{},[220,221,222],"th",{},"Prop",[220,224,225],{},"Type",[220,227,199],{},[220,229,230],{},"Description",[232,233,234,254,274,293,312,331,359],"tbody",{},[217,235,236,242,246,251],{},[237,238,239],"td",{},[149,240,241],{},"items",[237,243,244],{},[149,245,178],{},[237,247,248],{},[149,249,250],{},"[]",[237,252,253],{},"Searchable items supplied by your app.",[217,255,256,261,266,271],{},[237,257,258],{},[149,259,260],{},"placeholder",[237,262,263],{},[149,264,265],{},"string",[237,267,268],{},[149,269,270],{},"'Search documentation...'",[237,272,273],{},"Search input placeholder.",[217,275,276,281,285,290],{},[237,277,278],{},[149,279,280],{},"searchLabel",[237,282,283],{},[149,284,265],{},[237,286,287],{},[149,288,289],{},"'Search documentation'",[237,291,292],{},"Accessible label for the dialog and search input.",[217,294,295,300,304,309],{},[237,296,297],{},[149,298,299],{},"emptyText",[237,301,302],{},[149,303,265],{},[237,305,306],{},[149,307,308],{},"'No pages available.'",[237,310,311],{},"Text shown when no query is entered and there are no items.",[217,313,314,319,323,328],{},[237,315,316],{},[149,317,318],{},"noResultsText",[237,320,321],{},[149,322,265],{},[237,324,325],{},[149,326,327],{},"'No results found.'",[237,329,330],{},"Text shown when a query has no matches.",[217,332,333,338,343,348],{},[237,334,335],{},[149,336,337],{},"shortcut",[237,339,340],{},[149,341,342],{},"boolean",[237,344,345],{},[149,346,347],{},"true",[237,349,350,351,354,355,358],{},"Enable ",[149,352,353],{},"Cmd+K"," \u002F ",[149,356,357],{},"Ctrl+K"," to open the modal.",[217,360,361,366,370,373],{},[237,362,363],{},[149,364,365],{},"class",[237,367,368],{},[149,369,265],{},[237,371,372],{},"—",[237,374,375],{},"Additional CSS classes for the modal panel.",[196,377,379],{"id":378},"models","Models",[211,381,382,393],{},[214,383,384],{},[217,385,386,389,391],{},[220,387,388],{},"Model",[220,390,225],{},[220,392,230],{},[232,394,395],{},[217,396,397,402,406],{},[237,398,399],{},[149,400,401],{},"open",[237,403,404],{},[149,405,342],{},[237,407,408],{},"Controls whether the modal is open.",[196,410,412],{"id":411},"slots","Slots",[211,414,415,426],{},[214,416,417],{},[217,418,419,422,424],{},[220,420,421],{},"Slot",[220,423,209],{},[220,425,230],{},[232,427,428],{},[217,429,430,435,440],{},[237,431,432],{},[149,433,434],{},"item",[237,436,437],{},[149,438,439],{},"{ item, query }",[237,441,442],{},"Custom result renderer.",[196,444,446],{"id":445},"types","Types",[141,448,451],{"className":449,"code":450,"language":185,"meta":147},[183],"interface DocsSearchItem {\n  title: string\n  href: string\n  description?: string\n  section?: string\n  content?: string\n}\n",[149,452,450],{"__ignoreMap":147},{"title":147,"searchDepth":454,"depth":454,"links":455},2,[456,457,458,459,463],{"id":139,"depth":454,"text":16},{"id":153,"depth":454,"text":154},{"id":165,"depth":454,"text":166},{"id":193,"depth":454,"text":194,"children":460},[461],{"id":198,"depth":462,"text":199},3,{"id":204,"depth":454,"text":205,"children":464},[465,466,467,468],{"id":208,"depth":462,"text":209},{"id":378,"depth":462,"text":379},{"id":411,"depth":462,"text":412},{"id":445,"depth":462,"text":446},"md",{},true,{"title":46,"description":72},"PrAa06gN3jJafoX_OoQOFi42BIYFo7LJHFKWCvUlPT0",[475,476],{"title":42,"path":43,"stem":44,"children":-1},{"title":50,"path":51,"stem":52,"children":-1},1782375509086]