import{_ as S}from"./ComponentContainerProperty-0cc92dbf.js";import{d as q,o as i,A as n,B as l,f as e,a as m,G as u,E as A,c as B,F as D,_ as P,cN as j,bc as I,ar as K,S as L,aq as M,cF as N,cG as O,U as Q}from"./index-39d329c4.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-9b4187c8.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-cd47233b.js";import{_ as R}from"./UploadFile-559f918e.js";import{_ as T}from"./UploadImg-e9385982.js";import{E as W}from"./el-card-5cc80b8a.js";import{E as X}from"./el-text-df6ae3a1.js";import{u as Y}from"./util-8fee7fda.js";import"./index-ca9729d7.js";import"./color-6e929987.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./vuedraggable.umd-bfdd5929.js";import"./Dialog-6a91c005.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-fd572571.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-a7541bf5.js";import"./el-tree-select-2af4c3cc.js";import"./tree-fd3a041e.js";import"./category-c00e0426.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-7a43f9fe.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-f3ab50e7.js";import"./index.vue_vue_type_script_setup_true_lang-24521fcb.js";import"./index-e66b1f22.js";import"./el-image-7f18c10a.js";import"./el-image-viewer-b66eac2e.js";import"./spu-42eb31d6.js";import"./UploadFile.vue_vue_type_style_index_0_scoped_a9e67aa2_lang-3dfd3bb9.js";import"./useMessage-47346882.js";import"./index-0c406c8d.js";import"./Qrcode-934fcc60.js";import"./IFrame.vue_vue_type_script_setup_true_lang-5df22f83.js";import"./el-collapse-item-d4073a86.js";const Z=q({name:"CarouselProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(y,{emit:U}){const h=y,x=U,{formData:t}=Y(h.modelValue,x);return($,o)=>{const f=P,V=j,c=I,s=K,d=L,r=M,w=N,g=O,v=X,_=W,b=T,E=R,k=J,F=H,z=Q,G=S;return i(),n(G,{modelValue:m(t).style,"onUpdate:modelValue":o[5]||(o[5]=a=>m(t).style=a)},{default:l(()=>[e(z,{"label-width":"80px",model:m(t)},{default:l(()=>[e(_,{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(c,{class:"item",content:"\u9ED8\u8BA4",placement:"bottom"},{default:l(()=>[e(V,{label:"default"},{default:l(()=>[e(f,{icon:"system-uicons:carousel"})]),_:1})]),_:1}),e(c,{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})):A("",!0)]),_:1}),e(_,{header:"\u5185\u5BB9\u8BBE\u7F6E",class:"property-group",shadow:"never"},{default:l(()=>[e(F,{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(),B(D,{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(E,{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(k,{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};