import{a as m,r as d,ao as f,c,j as V,u as a,O as v}from"./index.4d061c66.js";import{a as R}from"./remoteSelect.403add72.js";import{R as h}from"./remote-select.36ee67a3.js";const S=m({__name:"Video",props:{placeholder:null,modelValue:null,unit:null},emits:["update:modelValue","change"],setup(t,{expose:s,emit:u}){const p=t,n=d(null),o=f(p,"modelValue");function i(r){n.value.initalData(r)}return s({initalData:i}),(r,e)=>(c(),V(a(h),{modelValue:a(o),"onUpdate:modelValue":e[0]||(e[0]=l=>v(o)?o.value=l:null),api:a(R),placeholder:t.placeholder,showDisabled:!0,ref_key:"remoteSelectRef",ref:n,"response-label-prop":"video_name","response-val-prop":"id","request-prop":"video_name",onItemChange:e[1]||(e[1]=l=>u("change",l)),onInital:e[2]||(e[2]=l=>o.value=l)},null,8,["modelValue","api","placeholder"]))}});export{S as _};
