import{i as e,n as t}from"./rolldown-runtime-ConPGZeh.js";import{Bn as n,Nn as r,Rr as i,Sr as a,Xn as o,Zn as s,er as c,jr as l,li as u,or as d}from"./vendor-primevue-D1-E3-0M.js";var f,p,m,h,g,_,v=t((()=>{r(),f={class:`grid grid-cols-[auto_1fr] gap-x-2 gap-y-1`},p={class:`content-center text-xs text-node-component-slot-text`},m={class:`content-center text-xs text-node-component-slot-text`},h={class:`content-center text-xs text-node-component-slot-text`},g={class:`content-center text-xs text-node-component-slot-text`},_=d({__name:`WidgetBoundingBox`,props:{modelValue:{default:()=>({x:0,y:0,width:512,height:512})},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=l(e,`modelValue`),r=o({get:()=>t.value.x,set:e=>{t.value={...t.value,x:e}}}),d=o({get:()=>t.value.y,set:e=>{t.value={...t.value,y:e}}}),_=o({get:()=>t.value.width,set:e=>{t.value={...t.value,width:e}}}),v=o({get:()=>t.value.height,set:e=>{t.value={...t.value,height:e}}});return(e,t)=>(a(),c(`div`,f,[s(`label`,p,u(e.$t(`boundingBox.x`)),1),i(s(`input`,{"onUpdate:modelValue":t[0]||=e=>r.value=e,type:`number`,min:0,step:`1`,class:`h-7 rounded-lg border-none bg-component-node-widget-background px-2 text-xs text-component-node-foreground focus:outline-0`},null,512),[[n,r.value,void 0,{number:!0}]]),s(`label`,m,u(e.$t(`boundingBox.y`)),1),i(s(`input`,{"onUpdate:modelValue":t[1]||=e=>d.value=e,type:`number`,min:0,step:`1`,class:`h-7 rounded-lg border-none bg-component-node-widget-background px-2 text-xs text-component-node-foreground focus:outline-0`},null,512),[[n,d.value,void 0,{number:!0}]]),s(`label`,h,u(e.$t(`boundingBox.width`)),1),i(s(`input`,{"onUpdate:modelValue":t[2]||=e=>_.value=e,type:`number`,min:1,step:`1`,class:`h-7 rounded-lg border-none bg-component-node-widget-background px-2 text-xs text-component-node-foreground focus:outline-0`},null,512),[[n,_.value,void 0,{number:!0}]]),s(`label`,g,u(e.$t(`boundingBox.height`)),1),i(s(`input`,{"onUpdate:modelValue":t[3]||=e=>v.value=e,type:`number`,min:1,step:`1`,class:`h-7 rounded-lg border-none bg-component-node-widget-background px-2 text-xs text-component-node-foreground focus:outline-0`},null,512),[[n,v.value,void 0,{number:!0}]])]))}})})),y,b=t((()=>{v(),v(),y=_}));export{b as n,y as t};
//# sourceMappingURL=WidgetBoundingBox-DlPKkVs5.js.map