1import{n as e}from"./Dd_uD5pT.js";import{$ as t,B as n,R as r,S as i,St as a,Ut as o,W as s,d as c,m as l,nt as u,p as d,pt as f,z as p}from"./DTyrszCS.js";import{t as m}from"./BDNMzG2s.js";import{t as h}from"./bguRySbW.js";var g=class{subscriptions=new Map;subscribe(e,t){let n=this.subscriptions.get(e);n?n.push(t):this.subscriptions.set(e,[t])}emit(e,...t){let n=this.subscriptions.get(e);n&&n.forEach(e=>e(...t))}release(e,t){let n=this.subscriptions.get(e);n&&this.subscriptions.set(e,n.filter(e=>e!==t))}},_=class{static FOCUS=`focus`;static INSERT=`insert`;static ERROR=`error`},v=i({__name:`FormComponentWrapper`,props:{blueprint:{},form:{},widthFull:{type:Boolean,default:!1}},setup(e){let i=e,m=f(1),g=c(()=>i.form.expressions.visible(i.blueprint)),v=c(()=>i.widthFull?`col-12`:[`col-12`,`col-md-${i.blueprint.width*y.value}`]),y=c(()=>Math.ceil(12/i.form.dimensions.rowSpace(i.form.schema.parent(i.blueprint))));r(()=>{i.form.events.subscribe(_.FOCUS,b)}),p(()=>{i.form.events.release(_.FOCUS,b)});function b(){m.value++}let x=c(()=>i.blueprint.name);return t(x,(e,t)=>{i.form.document.renameEntry(e,t)}),(t,r)=>{let i=h;return a(g)?(n(),d(i,{key:0,class:o([`component`,a(v)]),form:e.form,blueprint:e.blueprint},{default:u(()=>[s(t.$slots,`default`,{},void 0,!0)]),_:3},8,[`class`,`form`,`blueprint`])):l(``,!0)}}}),y=e({default:()=>b}),b=Object.assign(m(v,[[`__scopeId`,`data-v-5aaca1be`]]),{__name:`FormComponentWrapper`});export{_ as i,y as n,g as r,b as t};
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.