import{b as p,as as d,at as u,_ as y}from"./app-QjDgb7aF.js";import{b as m,A as v,j as a,p as l,q as s,y as n,l as f,u as _,H as k,x as b}from"./vue-Cm77DuTi.js";const B={class:"key"},C={class:"value"},h=m({__name:"MkKeyValue",props:{copy:{default:null},oneline:{type:Boolean,default:!1}},setup(e){const i=e,c=async()=>{await d(i.copy??""),await u()};return(t,o)=>{const r=v("tooltip");return a(),l("div",{class:b(["alqyeyti",{oneline:e.oneline}])},[s("div",B,[n(t.$slots,"key",{},void 0,!0)]),s("div",C,[n(t.$slots,"value",{},void 0,!0),e.copy?f((a(),l("button",{key:0,class:"_textButton",style:{"margin-left":"0.5em"},onClick:c},[...o[0]||(o[0]=[s("i",{class:"ph-clipboard-text ph-bold"},null,-1)])])),[[r,_(p).ts.copy]]):k("",!0)])],2)}}}),w=y(h,[["__scopeId","data-v-6331f385"]]);export{w as M};
//# sourceMappingURL=MkKeyValue-BeApKcpm.js.map
