1import{du as V,x as p,b as y,j as g,w as t,aH as b,E as s,dv as u,D as l,F as i,t as n,cg as S,V as f,h as c}from"./app-BV_MRGiY.js";import{V as v}from"./VDialog-GnDViphN.js";import{V as w,b as x,c as C,a as B}from"./VCard-Dq9ovDQ1.js";import{V as $}from"./VSpacer-BDYNWQQy.js";const T={__name:"SimpleDialog",props:u({title:{type:String,default:""},body:{type:String,default:""},cancel:{type:String,default:""},confirm:{type:String,default:""},maxWidth:{type:String,default:"400"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:u(["cancel","confirm"],["update:modelValue"]),setup(e){const r=V(e,"modelValue"),{t:m}=p();return(d,a)=>(y(),g(v,{modelValue:r.value,"onUpdate:modelValue":a[2]||(a[2]=o=>r.value=o),class:"bs-dialog__simple",persistent:"","max-width":e.maxWidth,attach:".v-application",onKeydown:a[3]||(a[3]=b(s(o=>d.$emit("cancel"),["stop","prevent"]),["esc"]))},{default:t(()=>[l(w,{class:"pt-2"},{default:t(()=>[l(x,{class:"text-h5"},{default:t(()=>[i(n(e.title),1)]),_:1}),l(C,null,{default:t(()=>[S(d.$slots,"default",{},()=>[i(n(e.body),1)])]),_:3}),l(B,null,{default:t(()=>[l($),l(f,{variant:"text",onClick:a[0]||(a[0]=s(o=>d.$emit("cancel",o),["stop"]))},{default:t(()=>[i(n(e.cancel||c(m)("async.common.button.cancel")),1)]),_:1}),l(f,{color:"primary",disabled:e.disabled,loading:e.loading,variant:"flat",onClick:a[1]||(a[1]=s(o=>d.$emit("confirm",o),["stop"]))},{default:t(()=>[i(n(e.confirm||c(m)("async.common.button.confirm")),1)]),_:1},8,["disabled","loading"])]),_:1})]),_:3})]),_:3},8,["modelValue","max-width"]))}};export{T as _}; 2//# sourceMappingURL=SimpleDialog-Cn2_e6eE.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.