import{d as _,u as p,r as f,t as m,o as h,a as w,b as t,e,f as s,_ as b,w as o,Q as v,g as C,m as V,h as k}from"./index-ChZ5pZgG.js";import{u as x,a as Q}from"./CodeEditor-CnZTVh8q.js";const g={class:"border-2 code-editor"},y={class:"code-editor__actions"},B={class:"inline-block"},E={class:"inline-block"},q=_({__name:"CodeViewer",props:{value:{}},setup(i){const a=p(),r=i,l=x(),n=f(null),{copyContent:c}=Q(n,{initialValue:m(r,"value")});return(L,d)=>(h(),w("div",g,[t("div",{ref_key:"editor",ref:n,class:"full-width full-height"},null,512),t("div",y,[t("div",B,[e(b,{round:"",flat:"",dense:"","custom-handler":s(c)},null,8,["custom-handler"])]),t("div",E,[e(k,{icon:"settings",round:"",flat:"",dense:""},{default:o(()=>[e(v,{style:{"white-space":"nowrap"},anchor:"bottom right",self:"top end"},{default:o(()=>[e(C,{dense:"",class:"q-py-sm"},{default:o(()=>[e(V,{modelValue:s(l).wrapLines,"onUpdate:modelValue":d[0]||(d[0]=u=>s(l).wrapLines=u),size:"32px",dense:"",label:s(a)("shared.code_editor.actions.wrap_lines.label"),title:s(a)("shared.code_editor.actions.wrap_lines.title")},null,8,["modelValue","label","title"])]),_:1})]),_:1})]),_:1})])])]))}});export{q as default};
//# sourceMappingURL=CodeViewer-DnwpxwMC.js.map
