import{b as u,p as d,a$ as m,x as i,o as f,h as c,f as r,B as b}from"./index.4d3e3847.js";import{h as V}from"./remoteSelect.9c029262.js";import{R as h}from"./basic-form.vue_vue_type_style_index_0_scoped_d6f0d2ed_lang.3165143d.js";const C=u({__name:"ComCard",props:{placeholder:null,modelValue:null,project_name:null,disabled:{type:Boolean}},emits:["update:modelValue","change"],setup(o,{emit:p}){const s=o,t=d(null),a=m(s,"modelValue");return i(()=>s.project_name,n=>{!n&&!t.value||t.value.initalData({project_name:n})},{deep:!0}),(n,e)=>(f(),c(r(h),{modelValue:r(a),"onUpdate:modelValue":e[0]||(e[0]=l=>b(a)?a.value=l:null),api:r(V),placeholder:o.placeholder,disabled:o.disabled,ref_key:"remoteSelectRef",ref:t,"response-label-prop":"combination","response-val-prop":"id","request-prop":"combination",onItemChange:e[1]||(e[1]=l=>p("change",l)),onInital:e[2]||(e[2]=l=>a.value=l)},null,8,["modelValue","api","placeholder","disabled"]))}});export{C as _};
