Files
aiot-platform-ui/apps/web-antd/dist/js/property-DFPpd7br.js
lzh 19d36d1ffb
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 8s
chore: build and deploy web-antd
2026-03-09 13:05:46 +08:00

2 lines
2.0 KiB
JavaScript

import{m as d,ab as i,b2 as u,bJ as m,j as t,u as e,ce as n,ai as f}from"../jse/index-index-CMeVxoEG.js";import{bY as V,c9 as s,d8 as y,bW as U,aM as b,c3 as x}from"./bootstrap-CRjSNGHY.js";import{_ as w}from"./component-container-property.vue_vue_type_script_setup_true_lang-98wrZt8I.js";import"./index-BqNZEIdl.js";/* empty css */import"./vuedraggable.umd-C80eNCNV.js";import"./index-Bh-Hd8Ie.js";import"./index-CflXhIdF.js";/* empty css *//* empty css */const $=d({name:"VideoPlayerProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(p,{emit:r}){const a=n(p,"modelValue",r);return(v,l)=>(u(),i(w,{modelValue:e(a).style,"onUpdate:modelValue":l[4]||(l[4]=o=>e(a).style=o)},{style:m(()=>[t(e(s),{label:"高度",name:"height"},{default:m(()=>[t(e(x),{value:e(a).style.height,"onUpdate:value":l[0]||(l[0]=o=>e(a).style.height=o),max:500,min:100},null,8,["value"])]),_:1})]),default:m(()=>[t(e(V),{model:e(a),"label-col":{span:6},"wrapper-col":{span:18}},{default:m(()=>[t(e(s),{label:"上传视频",name:"videoUrl"},{default:m(()=>[t(y,{modelValue:e(a).videoUrl,"onUpdate:modelValue":l[1]||(l[1]=o=>e(a).videoUrl=o),"file-type":["mp4"],limit:1,"file-size":100,class:"min-w-[80px]"},null,8,["modelValue"])]),_:1}),t(e(s),{label:"上传封面",name:"posterUrl"},{default:m(()=>[t(U,{modelValue:e(a).posterUrl,"onUpdate:modelValue":l[2]||(l[2]=o=>e(a).posterUrl=o),draggable:"false",height:"80px",width:"100%",class:"min-w-[80px]","show-description":!1},{tip:m(()=>[...l[5]||(l[5]=[f(" 建议宽度750 ",-1)])]),_:1},8,["modelValue"])]),_:1}),t(e(s),{label:"自动播放",name:"autoplay"},{default:m(()=>[t(e(b),{checked:e(a).autoplay,"onUpdate:checked":l[3]||(l[3]=o=>e(a).autoplay=o)},null,8,["checked"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]))}});export{$ as default};