1import{a as g,u as V,bw as C,r as p,a3 as F,a5 as i,i as r,b as d,V as b,w as o,e as x,c as f,k as A,t as B,m as _,af as S,A as T,Y as $,a7 as q,p as t}from"./index-D_c_uriZ.js";const P=g({__name:"qapa-responsive-inline-form",props:{title:{},readonly:{type:Boolean,default:!1},buttonText:{}},emits:["loadPreview","loadForm"],setup(s,{expose:c,emit:w}){const y=s,n=w,{t:v}=V(),k=C(),l=$(),D=q(()=>y.buttonText??v("ui.common.edit"));k.smAndDown.value?n("loadPreview"):n("loadForm");function m(){var e;n("loadForm"),(e=l.value)==null||e.open()}function u(){var e;(e=l.value)==null||e.close()}return c({open:m,close:u}),(e,a)=>(t(),p("div",null,[e.$vuetify.display.smAndDown?(t(),p(F,{key:0},[i(e.$slots,"preview"),a[0]||(a[0]=r()),d(b,null,{default:o(()=>[d(x,{cols:"12",class:"text-center"},{default:o(()=>[s.readonly?_("",!0):(t(),f(A,{key:0,outlined:"",onClick:m,class:"sm-and-down-button-dialog-opener"},{default:o(()=>[r(B(D.value),1)]),_:1}))]),_:1})]),_:1}),a[1]||(a[1]=r()),d(S,{ref_key:"qapaSmAndDownFormDialog",ref:l,title:s.title,size:"sm"},{default:o(()=>[i(e.$slots,"form",{close:u})]),_:3},8,["title"])],64)):(t(),f(T,{key:1,flat:"",class:"inline-form"},{default:o(()=>[i(e.$slots,"form")]),_:3}))]))}});export{P as _}; 2//# sourceMappingURL=qapa-responsive-inline-form.vue_vue_type_script_setup_true_lang-i1z8Z3Dr.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.