import{_ as j}from"./ComponentContainerProperty-c1184365.js";import{d as G,o as i,j as n,w as l,i as e,a as m,m as u,l as H,c as P,F as X,_ as Y,d3 as q,aR as A,ah as I,G as L,ag as M,cX as R,cY as S,H as T}from"./index-abad4030.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-11fa9aba.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-5ff08c3b.js";import{_ as K}from"./UploadFile-deffa502.js";import{_ as N}from"./UploadImg-4addd383.js";import{E as O}from"./el-card-ae8ad827.js";import{E as Q}from"./el-text-a24fb190.js";import{u as W}from"./util-bca5ebaa.js";import"./index-516295df.js";import"./color-6e929987.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./vuedraggable.umd-8bfe8b14.js";import"./Dialog-59824a83.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-6f841dc0.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-5b9e6589.js";import"./el-tree-select-25ec6c82.js";import"./tree-0af4953a.js";import"./category-608481db.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-c285be5c.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-7f96d0ff.js";import"./index.vue_vue_type_script_setup_true_lang-bec51e2c.js";import"./index-84234f22.js";import"./el-image-56b655c9.js";import"./el-image-viewer-589d6dbb.js";import"./spu-05fe52fb.js";import"./UploadFile.vue_vue_type_style_index_0_scoped_a9e67aa2_lang-cab470b4.js";import"./useMessage-7954cb2f.js";import"./index-b9506fe9.js";import"./Qrcode-026af33e.js";import"./IFrame.vue_vue_type_script_setup_true_lang-aad19a9d.js";import"./el-collapse-item-fdec7875.js";const Z=G({name:"CarouselProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(y,{emit:U}){const h=y,x=U,{formData:t}=W(h.modelValue,x);return($,o)=>{const f=Y,V=q,_=A,s=I,d=L,r=M,w=R,g=S,v=Q,c=O,b=N,k=K,z=J,D=B,E=T,F=j;return i(),n(F,{modelValue:m(t).style,"onUpdate:modelValue":o[5]||(o[5]=a=>m(t).style=a)},{default:l(()=>[e(E,{"label-width":"80px",model:m(t)},{default:l(()=>[e(c,{header:"\u6837\u5F0F\u8BBE\u7F6E",class:"property-group",shadow:"never"},{default:l(()=>[e(d,{label:"\u6837\u5F0F",prop:"type"},{default:l(()=>[e(s,{modelValue:m(t).type,"onUpdate:modelValue":o[0]||(o[0]=a=>m(t).type=a)},{default:l(()=>[e(_,{class:"item",content:"\u9ED8\u8BA4",placement:"bottom"},{default:l(()=>[e(V,{label:"default"},{default:l(()=>[e(f,{icon:"system-uicons:carousel"})]),_:1})]),_:1}),e(_,{class:"item",content:"\u5361\u7247",placement:"bottom"},{default:l(()=>[e(V,{label:"card"},{default:l(()=>[e(f,{icon:"ic:round-view-carousel"})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"\u6307\u793A\u5668",prop:"indicator"},{default:l(()=>[e(s,{modelValue:m(t).indicator,"onUpdate:modelValue":o[1]||(o[1]=a=>m(t).indicator=a)},{default:l(()=>[e(r,{label:"dot"},{default:l(()=>o[6]||(o[6]=[u("\u5C0F\u5706\u70B9")])),_:1}),e(r,{label:"number"},{default:l(()=>o[7]||(o[7]=[u("\u6570\u5B57")])),_:1})]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"\u662F\u5426\u8F6E\u64AD",prop:"autoplay"},{default:l(()=>[e(w,{modelValue:m(t).autoplay,"onUpdate:modelValue":o[2]||(o[2]=a=>m(t).autoplay=a)},null,8,["modelValue"])]),_:1}),m(t).autoplay?(i(),n(d,{key:0,label:"\u64AD\u653E\u95F4\u9694",prop:"interval"},{default:l(()=>[e(g,{modelValue:m(t).interval,"onUpdate:modelValue":o[3]||(o[3]=a=>m(t).interval=a),max:10,min:.5,step:.5,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"]),e(v,{type:"info"},{default:l(()=>o[8]||(o[8]=[u("\u5355\u4F4D\uFF1A\u79D2")])),_:1})]),_:1})):H("",!0)]),_:1}),e(c,{header:"\u5185\u5BB9\u8BBE\u7F6E",class:"property-group",shadow:"never"},{default:l(()=>[e(D,{modelValue:m(t).items,"onUpdate:modelValue":o[4]||(o[4]=a=>m(t).items=a),"empty-item":{type:"img"}},{default:l(({element:a})=>[e(d,{label:"\u7C7B\u578B",prop:"type",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[e(s,{modelValue:a.type,"onUpdate:modelValue":p=>a.type=p},{default:l(()=>[e(r,{label:"img"},{default:l(()=>o[9]||(o[9]=[u("\u56FE\u7247")])),_:1}),e(r,{label:"video"},{default:l(()=>o[10]||(o[10]=[u("\u89C6\u9891")])),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),a.type==="img"?(i(),n(d,{key:0,label:"\u56FE\u7247",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[e(b,{modelValue:a.imgUrl,"onUpdate:modelValue":p=>a.imgUrl=p,draggable:"false",height:"80px",width:"100%",class:"min-w-80px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):(i(),P(X,{key:1},[e(d,{label:"\u5C01\u9762",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[e(b,{modelValue:a.imgUrl,"onUpdate:modelValue":p=>a.imgUrl=p,draggable:"false",height:"80px",width:"100%",class:"min-w-80px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e(d,{label:"\u89C6\u9891",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[e(k,{modelValue:a.videoUrl,"onUpdate:modelValue":p=>a.videoUrl=p,"file-type":["mp4"],limit:1,"file-size":100,class:"min-w-80px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)],64)),e(d,{label:"\u94FE\u63A5",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[e(z,{modelValue:a.url,"onUpdate:modelValue":p=>a.url=p},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{Z as default};