1import{r as m}from"./DI9E8FS9.js";import{ab as p,ao as f,h as y,o as r,w as x,f as q,e as i,m as l,t as n,n as a,c as v,i as g,am as k,j as w,at as o}from"./CvcEKp_A.js";import"./BN_7HF1G.js";const S={slots:{root:"my-5",container:"flex items-center gap-3 font-mono text-sm",name:"font-semibold text-primary",wrapper:"flex-1 flex items-center gap-1.5 text-xs",required:"rounded-sm bg-error/10 text-error px-1.5 py-0.5",type:"rounded-sm bg-elevated text-toned px-1.5 py-0.5",description:"mt-3 text-muted text-sm [&_code]:text-xs/4"}},N={__name:"ProseField",props:{as:{type:null,required:!1},name:{type:String,required:!1},type:{type:String,required:!1},description:{type:String,required:!1},required:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(e){const t=e,u=p(),c=f(),s=v(()=>o({extend:o(S),...c.ui?.prose?.field||{}})());return(d,B)=>(r(),y(g(k),{as:e.as,class:a(s.value.root({class:[t.ui?.root,t.class]}))},{default:x(()=>[q("div",{class:a(s.value.container({class:t.ui?.container}))},[e.name?(r(),i("span",{key:0,class:a(s.value.name({class:t.ui?.name}))},n(e.name),3)):l("",!0),e.type||e.required?(r(),i("div",{key:1,class:a(s.value.wrapper({class:t.ui?.wrapper}))},[e.type?(r(),i("span",{key:0,class:a(s.value.type({class:t.ui?.type}))},n(e.type),3)):l("",!0),e.required?(r(),i("span",{key:1,class:a(s.value.required({class:t.ui?.required}))}," required ",2)):l("",!0)],2)):l("",!0)],2),u.default||e.description?(r(),i("div",{key:0,class:a(s.value.description({class:t.ui?.description}))},[m(d.$slots,"default",{mdcUnwrap:"p"},()=>[w(n(e.description),1)])],2)):l("",!0)]),_:3},8,["as","class"]))}};export{N as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.