import{_ as p,d as i,bs as c,w as m,x as d,o as v,G as f,l as n,aq as y,c2 as g,bw as k}from"./index.js";const q=i({__name:"account-query",props:{modelValue:{type:String,required:!1},level:{type:String,required:!1}},emits:["change"],setup(t,{expose:u,emit:s}){const a=c(t,"modelValue"),l=m(null);return d(()=>{a.value&&l.value.initalData(a.value)}),u({initialData:r=>l.value.initalData(r)}),(r,e)=>(v(),f(n(k),{modelValue:n(a),"onUpdate:modelValue":e[0]||(e[0]=o=>y(a)?a.value=o:null),ref_key:"RemoteSelectRef",ref:l,style:{width:"100%"},api:n(g),"request-prop":"nickname","response-label-prop":"nickname","response-val-prop":"id",onItemChange:e[1]||(e[1]=o=>s("change")),onClear:e[2]||(e[2]=o=>s("change")),"pro-data":()=>t.level?{level:t.level}:{}},null,8,["modelValue","api","pro-data"]))}});var S=p(q,[["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/components/BasicForm/src/fields/account-query.vue"]]);export{S as A};
