import{a as d,r as m,ao as c,c as f,j as b,u as n,O as V}from"./index.4d061c66.js";import{h as v}from"./remoteSelect.403add72.js";import{R}from"./remote-select.36ee67a3.js";const k=d({__name:"ComCard",props:{placeholder:null,modelValue:null,project_name:null,disabled:{type:Boolean}},emits:["update:modelValue","change"],setup(o,{expose:s,emit:p}){const u=o,t=m(null),a=c(u,"modelValue");function i(r){t.value.initalData(r)}return s({initalData:i}),(r,e)=>(f(),b(n(R),{modelValue:n(a),"onUpdate:modelValue":e[0]||(e[0]=l=>V(a)?a.value=l:null),api:n(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{k as _};
