import{C as e,I as t,S as n,St as r,T as i,Y as a,in as o,j as s,k as c,kt as l,w as u,x as d}from"./vue.runtime.esm-bundler-DpGzKKN4.js";import{i as f}from"./vue-router-BU7Z_qXI.js";import{t as p}from"./_plugin-vue_export-helper-CnS4QQza.js";import{Hi as m,bt as h,xt as g,yt as _}from"./stores-BWYw2E2w.js";import{a as v}from"./vuedraggable.umd-DdgzD11m.js";import{t as y}from"./ConfigTablePut-B5OCh-uU.js";import{n as b,t as x}from"./ConfigButtonAction-JW2NJDHk.js";var S={class:`interfacial h-full flex flex-row justify-stretch`},C={class:`interfacial-main flex-grow flex flex-col relative w-full`,style:{}},w=p(s({__name:`single`,setup(s){let p=t(`isPreviewForm`,r(!1));f(),_(),g();let w=h(),T=m();d(()=>T.activeDesignTabsValue);let E=d(()=>T.activeDesignTabItem),{y:D}=v(),O=d(()=>`calc(100vh - ${p.value?45:129}px)`);return(t,r)=>(a(),i(`div`,S,[n(`div`,C,[r[2]||=n(`div`,{class:`dynamic-design-tabs absolute w-full -translate-y-full px-3`},null,-1),r[3]||=n(`div`,{class:`flex justify-end p-1`},null,-1),n(`div`,{class:`flex-grow flex mb-3 px-3 webkit-scrollbar overflow-y-auto`,style:o({maxHeight:O.value})},[E.value?(a(),e(b,{key:E.value.formUUID,"form-uuid":E.value.formUUID,arg:E.value.arg,"bind-function":E.value.function,title:E.value.title,sourceControllerUuid:E.value.sourceControllerUuid},null,8,[`form-uuid`,`arg`,`bind-function`,`title`,`sourceControllerUuid`])):u(``,!0)],4)]),c(y,{visible:l(w).configTablePut.visible,"onUpdate:visible":r[0]||=e=>l(w).configTablePut.visible=e},null,8,[`visible`]),c(x,{visible:l(w).configButtonAction.visible,"onUpdate:visible":r[1]||=e=>l(w).configButtonAction.visible=e,isPopUp:l(w).configButtonAction.isPopUp},null,8,[`visible`,`isPopUp`])]))}}),[[`__scopeId`,`data-v-c8940a0b`]]);export{w as default};