import{I as a}from"./iconify-p99pbjf9.js";import{d as u,g as s,A as c,H as f,P as h,j as e,t,O as r,J as l,B as i,aH as b,C as k,c as g,h as B}from"./index-DOFLUERq.js";import{_ as v}from"./_plugin-vue_export-helper-DlAUqK2U.js";const M={key:0,class:"spacer-text"},S={key:1,class:"spacer-actions"},x=["title"],y=["title"],C=u({__name:"SpacerBlock",props:{editMode:{type:Boolean}},emits:["delete"],setup(o,{emit:d}){const p=d,m=g(()=>[{label:t("Delete"),key:"delete",icon:()=>B(a,{icon:"tabler:trash",size:16})}]);function _(n){n==="delete"&&p("delete")}return(n,D)=>(s(),c("div",{class:f(["spacer",{"edit-mode":o.editMode}])},[o.editMode?(s(),c("div",M,h(e(t)("Spacer")),1)):r("",!0),o.editMode?(s(),c("div",S,[l("button",{class:"action-btn drag-handle",title:e(t)("Drag")},[i(e(a),{icon:"tabler:grip-vertical"})],8,x),i(e(b),{trigger:"click",options:m.value,onSelect:_},{default:k(()=>[l("button",{class:"action-btn",title:e(t)("More")},[i(e(a),{icon:"tabler:dots"})],8,y)]),_:1},8,["options"])])):r("",!0)],2))}}),w=v(C,[["__scopeId","data-v-11cc4534"]]);export{w as default};
