import{b as m,p as d,a$ as f,o as c,h as V,f as a,B as v}from"./index.4d3e3847.js";import{a as h}from"./remoteSelect.9c029262.js";import{R}from"./basic-form.vue_vue_type_style_index_0_scoped_d6f0d2ed_lang.3165143d.js";const B=m({__name:"Video",props:{placeholder:null,modelValue:null,unit:null},emits:["update:modelValue","change"],setup(t,{expose:s,emit:p}){const u=t,n=d(null),o=f(u,"modelValue");function i(r){n.value.initalData(r)}return s({initalData:i}),(r,e)=>(c(),V(a(R),{modelValue:a(o),"onUpdate:modelValue":e[0]||(e[0]=l=>v(o)?o.value=l:null),api:a(h),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=>p("change",l)),onInital:e[2]||(e[2]=l=>o.value=l)},null,8,["modelValue","api","placeholder"]))}});export{B as _};
