[{"data":1,"prerenderedAt":512},["ShallowReactive",2],{"navigation_docs":3,"-packages-ui":67,"-packages-ui-surround":507},[4,20,41],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Overview",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Adding Documentation","\u002Fgetting-started\u002Fadding-documentation","1.getting-started\u002F3.adding-documentation","i-lucide-file-plus",{"title":21,"icon":22,"path":23,"stem":24,"children":25,"page":6},"Applications","i-lucide-layout-grid","\u002Fapplications","2.applications",[26,31,36],{"title":27,"path":28,"stem":29,"icon":30},"Web","\u002Fapplications\u002Fweb","2.applications\u002F1.web","i-lucide-globe-code",{"title":32,"path":33,"stem":34,"icon":35},"Coordinator","\u002Fapplications\u002Fcoordinator","2.applications\u002F2.coordinator","i-lucide-clock",{"title":37,"path":38,"stem":39,"icon":40},"Profile Chrome Extension","\u002Fapplications\u002Fprofile-recorder","2.applications\u002F3.profile-recorder","i-lucide-mouse-pointer-click",{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":6},"Packages","i-lucide-package","\u002Fpackages","3.packages",[47,52,57,62],{"title":48,"path":49,"stem":50,"icon":51},"Profile Runner","\u002Fpackages\u002Fprofile-runner","3.packages\u002F1.profile-runner","i-lucide-scan-search",{"title":53,"path":54,"stem":55,"icon":56},"Schema","\u002Fpackages\u002Fschema","3.packages\u002F2.schema","i-lucide-file-json",{"title":58,"path":59,"stem":60,"icon":61},"UI","\u002Fpackages\u002Fui","3.packages\u002F2.ui","i-lucide-layout-dashboard",{"title":63,"path":64,"stem":65,"icon":66},"Coordinator SDK","\u002Fpackages\u002Fcoordinator-sdk","3.packages\u002F3.coordinator-sdk","i-lucide-plug-zap",{"id":68,"title":58,"body":69,"description":500,"extension":501,"links":502,"meta":503,"navigation":504,"path":59,"seo":505,"stem":60,"__hash__":506},"docs\u002F3.packages\u002F2.ui.md",{"type":70,"value":71,"toc":494},"minimark",[72,104,109,116,184,207,211,251,337,341,360,364,471,490],[73,74,75,79,80,87,88,91,92,95,96,99,100,103],"p",{},[76,77,78],"code",{},"@scrape-admin\u002Fui"," is a ",[81,82,86],"a",{"href":83,"rel":84},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002Fguide\u002Fgoing-further\u002Fmodules",[85],"nofollow","Nuxt module"," that registers shared\ncomponents and composables used across Scrape Admin's Nuxt apps. It depends on ",[76,89,90],{},"@nuxt\u002Fui"," and\n",[76,93,94],{},"nuxt-monaco-editor",", and builds on ",[76,97,98],{},"@scrape-admin\u002Fschema"," \u002F ",[76,101,102],{},"@scrape-admin\u002Fweb-schema"," types.",[105,106,108],"h2",{"id":107},"setup","Setup",[73,110,111,112,115],{},"Add the module to an app's ",[76,113,114],{},"nuxt.config.ts",":",[117,118,123],"pre",{"className":119,"code":120,"language":121,"meta":122,"style":122},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  modules: ['@scrape-admin\u002Fui'],\n})\n","ts","",[76,124,125,149,175],{"__ignoreMap":122},[126,127,130,134,137,141,145],"span",{"class":128,"line":129},"line",1,[126,131,133],{"class":132},"s7zQu","export",[126,135,136],{"class":132}," default",[126,138,140],{"class":139},"s2Zo4"," defineNuxtConfig",[126,142,144],{"class":143},"sTEyZ","(",[126,146,148],{"class":147},"sMK4o","{\n",[126,150,152,156,158,161,164,167,169,172],{"class":128,"line":151},2,[126,153,155],{"class":154},"swJcz","  modules",[126,157,115],{"class":147},[126,159,160],{"class":143}," [",[126,162,163],{"class":147},"'",[126,165,78],{"class":166},"sfazB",[126,168,163],{"class":147},[126,170,171],{"class":143},"]",[126,173,174],{"class":147},",\n",[126,176,178,181],{"class":128,"line":177},3,[126,179,180],{"class":147},"}",[126,182,183],{"class":143},")\n",[73,185,186,187,190,191,194,195,198,199,202,203,206],{},"Components under ",[76,188,189],{},"runtime\u002Fcomponents\u002Fglobal"," are registered globally (no import needed); components under\n",[76,192,193],{},"runtime\u002Fcomponents"," (for example ",[76,196,197],{},"AppPageHeader"," and ",[76,200,201],{},"AdminPageHeader",") are available but not global. Composables\nunder ",[76,204,205],{},"runtime\u002Fcomposables"," are auto-imported.",[105,208,210],{"id":209},"form-inputs","Form inputs",[73,212,213,214,217,218,221,222,225,226,229,230,194,232,235,236,174,239,242,243,246,247,250],{},"Several components are designed to be used as ",[76,215,216],{},"AutoFormPrimitive","\u002F",[76,219,220],{},"AutoForm"," inputs via a Zod schema's ",[76,223,224],{},"meta().input.component",",\nmatching the ",[76,227,228],{},"component"," names referenced in ",[76,231,102],{},[76,233,234],{},"CollectionSelect",", ",[76,237,238],{},"ProfileSelect",[76,240,241],{},"IconInput",", and ",[76,244,245],{},"CronExpressionInput"," on ",[76,248,249],{},"CreateCollectionSchema","):",[252,253,254,262,277,282,309,321],"ul",{},[255,256,257,99,259,261],"li",{},[76,258,234],{},[76,260,238],{}," — searchable selects for existing collections and profiles.",[255,263,264,266,267,272,273,276],{},[76,265,241],{}," — picks an ",[81,268,271],{"href":269,"rel":270},"https:\u002F\u002Ficon-set.io",[85],"Iconify"," icon (e.g. for a collection's ",[76,274,275],{},"icon"," field).",[255,278,279,281],{},[76,280,245],{}," — validates and previews a cron expression.",[255,283,284,235,287,235,290,235,293,235,296,235,299,235,302,174,305,308],{},[76,285,286],{},"UrlInput",[76,288,289],{},"TagInput",[76,291,292],{},"DateInput",[76,294,295],{},"MoneyInput",[76,297,298],{},"CurrencyInput",[76,300,301],{},"IntervalInput",[76,303,304],{},"SwitchToggle",[76,306,307],{},"TeamMemberRoleInput"," — typed inputs for their respective value types.",[255,310,311,235,314,235,317,320],{},[76,312,313],{},"ProfileActionsInput",[76,315,316],{},"ProfileBlockInput",[76,318,319],{},"ProfileElementsInput"," — structured editors for a profile's actions and\nelements.",[255,322,323,326,327,332,333,336],{},[76,324,325],{},"MonacoCodeEditor"," — a ",[81,328,331],{"href":329,"rel":330},"https:\u002F\u002Fmicrosoft.github.io\u002Fmonaco-editor\u002F",[85],"Monaco"," code editor, used by\n",[76,334,335],{},"ProfileYamlEditor"," to edit a profile as raw YAML.",[105,338,340],{"id":339},"other-components","Other components",[252,342,343,350],{},[255,344,345,99,347,349],{},[76,346,197],{},[76,348,201],{}," — consistent page headers for the app and admin sections.",[255,351,352,355,356,359],{},[76,353,354],{},"ConfirmDialog"," — a confirmation modal, opened via the ",[76,357,358],{},"useConfirmDialog"," composable rather than directly.",[105,361,363],{"id":362},"composables","Composables",[117,365,367],{"className":119,"code":366,"language":121,"meta":122,"style":122},"const confirm = useConfirmDialog()\n\nconst confirmed = await confirm({\n  title: 'Delete collection?',\n  description: 'This cannot be undone.',\n  confirmText: 'Delete',\n})\n",[76,368,369,387,393,412,430,447,464],{"__ignoreMap":122},[126,370,371,375,378,381,384],{"class":128,"line":129},[126,372,374],{"class":373},"spNyl","const",[126,376,377],{"class":143}," confirm ",[126,379,380],{"class":147},"=",[126,382,383],{"class":139}," useConfirmDialog",[126,385,386],{"class":143},"()\n",[126,388,389],{"class":128,"line":151},[126,390,392],{"emptyLinePlaceholder":391},true,"\n",[126,394,395,397,400,402,405,408,410],{"class":128,"line":177},[126,396,374],{"class":373},[126,398,399],{"class":143}," confirmed ",[126,401,380],{"class":147},[126,403,404],{"class":132}," await",[126,406,407],{"class":139}," confirm",[126,409,144],{"class":143},[126,411,148],{"class":147},[126,413,415,418,420,423,426,428],{"class":128,"line":414},4,[126,416,417],{"class":154},"  title",[126,419,115],{"class":147},[126,421,422],{"class":147}," '",[126,424,425],{"class":166},"Delete collection?",[126,427,163],{"class":147},[126,429,174],{"class":147},[126,431,433,436,438,440,443,445],{"class":128,"line":432},5,[126,434,435],{"class":154},"  description",[126,437,115],{"class":147},[126,439,422],{"class":147},[126,441,442],{"class":166},"This cannot be undone.",[126,444,163],{"class":147},[126,446,174],{"class":147},[126,448,450,453,455,457,460,462],{"class":128,"line":449},6,[126,451,452],{"class":154},"  confirmText",[126,454,115],{"class":147},[126,456,422],{"class":147},[126,458,459],{"class":166},"Delete",[126,461,163],{"class":147},[126,463,174],{"class":147},[126,465,467,469],{"class":128,"line":466},7,[126,468,180],{"class":147},[126,470,183],{"class":143},[73,472,473,475,476,478,479,482,483,217,486,489],{},[76,474,358],{}," opens a ",[76,477,354],{}," through ",[76,480,481],{},"useOverlay()"," and resolves to ",[76,484,485],{},"true",[76,487,488],{},"false"," based on the user's\nchoice.",[491,492,493],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":122,"searchDepth":151,"depth":151,"links":495},[496,497,498,499],{"id":107,"depth":151,"text":108},{"id":209,"depth":151,"text":210},{"id":339,"depth":151,"text":340},{"id":362,"depth":151,"text":363},"Common UI elements and components for the Scrape Admin applications.","md",null,{},{"icon":61},{"title":58,"description":500},"fMoN47hPrHld_F62v9Xw9c5KHvNzZvWXSzRBRO-_sXA",[508,510],{"title":53,"path":54,"stem":55,"description":509,"icon":56,"children":-1},"Shared schema for profiles, collections, entries, and webhooks.",{"title":63,"path":64,"stem":65,"description":511,"icon":66,"children":-1},"A typed client for the coordinator's scheduled webhook API.",1790864111785]