import{d as g,r as v,o as a,c as e,f as r,A as n,F as b,R as k,C as w,E as c,a as C,a3 as E,Q as j,_ as z,__tla as D}from"./index-286756b9.js";import{E as q,a as A,__tla as F}from"./el-carousel-item-e8f27ace.js";import{E as O,__tla as P}from"./el-image-73c105b7.js";import{__tla as Q}from"./el-image-viewer-e0e5d3be.js";let y,R=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return Q}catch{}})()]).then(async()=>{let s,l,o,p;s={key:0,class:"h-250px flex items-center justify-center bg-gray-3"},l={key:1,class:"relative"},o={key:0,class:"absolute bottom-10px right-10px rounded-xl bg-black p-x-8px p-y-2px text-10px text-white opacity-40"},p=g({name:"Carousel",__name:"index",props:{property:{type:Object,required:!0}},setup(U){const i=v(0),_=t=>{i.value=t+1};return(t,B)=>{const u=j,m=O,d=q,x=A;return t.property.items.length===0?(a(),e("div",s,[r(u,{icon:"tdesign:image",class:"text-gray-8 text-120px!"})])):(a(),e("div",l,[r(x,{height:"174px",type:t.property.type==="card"?"card":"",autoplay:t.property.autoplay,interval:1e3*t.property.interval,"indicator-position":t.property.indicator==="number"?"none":void 0,onChange:_},{default:n(()=>[(a(!0),e(b,null,k(t.property.items,(f,h)=>(a(),w(d,{key:h},{default:n(()=>[r(m,{class:"h-full w-full",src:f.imgUrl},null,8,["src"])]),_:2},1024))),128))]),_:1},8,["type","autoplay","interval","indicator-position"]),t.property.indicator==="number"?(a(),e("div",o,c(C(i))+" / "+c(t.property.items.length),1)):E("",!0)]))}}}),y=z(p,[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/Carousel/index.vue"]])});export{R as __tla,y as default};