import{_ as y,e as m,z as o,w as a,b as t,F as k,ar as C,V as $,H as r,t as n,ai as x,i as V,G as w,n as B,c as d,P as p,an as _,l as h,k as f,ag as z,a7 as A}from"./index-DaawSADr.js";const D={props:{modelValue:Boolean,actions:Array,title:{type:String,default:"Advanced"}},emits:["close"],data(){return{}},computed:{_value:{get(){return this.modelValue},set(l){this.$emit("update:modelValue",l)}}},methods:{}},N={class:"text-h5"},S={style:{"font-size":"1.1rem"}},T={class:"action-desc"};function b(l,s,c,F,I,u){return o(),m(A,{onKeydown:s[1]||(s[1]=z(e=>l.$emit("close"),["esc"])),modelValue:u._value,"onUpdate:modelValue":s[2]||(s[2]=e=>u._value=e),"max-width":"800"},{default:a(()=>[t(k,null,{default:a(()=>[t(C,null,{default:a(()=>[t($,{class:"pa-3",align:"center"},{default:a(()=>[r("span",N,n(c.title),1),t(x),t(V,{icon:"close","aria-label":"Close dialog",onClick:s[0]||(s[0]=e=>l.$emit("close"))})]),_:1})]),_:1}),t(w,null,{default:a(()=>[r("div",{class:B(["action-grid",l.$vuetify.display.name])},[(o(!0),d(p,null,_(c.actions,(e,v)=>(o(),d("div",{key:v},[t(h,{color:e.color||"primary",size:"x-large"},{default:a(()=>[f(n(e.icon),1)]),_:2},1032,["color"]),r("div",S,n(e.text),1),r("div",T,n(e.desc),1),(o(!0),d(p,null,_(e.options,(i,g)=>(o(),m(V,{key:g,onClick:K=>l.$emit("action",i.action,i.args),variant:"text",color:e.color||"primary"},{default:a(()=>[f(n(i.name),1)]),_:2},1032,["onClick","color"]))),128))]))),128))],2)]),_:1})]),_:1})]),_:1},8,["modelValue"])}const G=y(D,[["render",b],["__scopeId","data-v-2ac94d00"]]);export{G as default};
