1import{r as e,G as l,H as a,b as o,d as t}from"./element-plus.80abf16b.js";import{c1 as s,bM as d,c2 as u,c7 as n,c8 as i,bP as m,bW as c,ca as p,cg as r,ce as b}from"./commonmodules.b9c1dd40.js";import"./lodash-es.480d1bd8.js";import"./axios.1263d4b1.js";const f={src:"",width:560,height:315},h={class:"dialog-footer"},V=s({__name:"VideoSetting",props:{domId:null,title:null,componentData:null,save:{type:Function}},setup(s,{expose:V}){const g=s,v=d(JSON.parse(null==g?void 0:g.componentData)),_=d(!1),D=()=>{_.value=!_.value,_.value&&(null==g?void 0:g.componentData)&&(v.value={...f,...JSON.parse(g.componentData)})},U=()=>{g.save(v.value),D()};return V({toggleDialog:D}),(d,f)=>{const V=e,g=l,j=a,w=o,x=t;return u(),n(x,{modelValue:m(_),"onUpdate:modelValue":f[3]||(f[3]=e=>c(_)?_.value=e:null),title:s.title,width:"480px",class:"camps-setting-dialog","close-on-click-modal":!1},{footer:i((()=>[p("span",h,[r(w,{onClick:D},{default:i((()=>[b("Cancel")])),_:1}),r(w,{type:"primary",onClick:U},{default:i((()=>[b("Save")])),_:1})])])),default:i((()=>[r(j,{"label-position":"top"},{default:i((()=>[r(g,{label:"Url"},{default:i((()=>[r(V,{modelValue:m(v).src,"onUpdate:modelValue":f[0]||(f[0]=e=>m(v).src=e)},null,8,["modelValue"])])),_:1}),r(g,{label:"Width"},{default:i((()=>[r(V,{modelValue:m(v).width,"onUpdate:modelValue":f[1]||(f[1]=e=>m(v).width=e)},null,8,["modelValue"])])),_:1}),r(g,{label:"Height"},{default:i((()=>[r(V,{modelValue:m(v).height,"onUpdate:modelValue":f[2]||(f[2]=e=>m(v).height=e)},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["modelValue","title"])}}});export{V as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.