import{d as g,r as v,o as a,c as e,i as r,w as n,F as b,k,l as w,t as c,a as E,a2 as j,v as C,_ as O,__tla as P}from"./index-2c56227b.js";import{E as q,a as A,__tla as D}from"./el-carousel-item-5f943f22.js";import{E as F,__tla as G}from"./el-image-cae97e2e.js";import{__tla as H}from"./el-image-viewer-da1b6008.js";let y,U=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return H}catch{}})()]).then(async()=>{let o,s,l,i;o={key:0,class:"h-250px flex items-center justify-center bg-gray-3"},s={key:1,class:"relative"},l={key:0,class:"absolute bottom-10px right-10px rounded-xl bg-black p-x-8px p-y-2px text-10px text-white opacity-40"},i=g({name:"Carousel",__name:"index",props:{property:{type:Object,required:!0}},setup(z){const p=v(0),_=t=>{p.value=t+1};return(t,B)=>{const u=C,m=F,d=q,x=A;return t.property.items.length===0?(a(),e("div",o,[r(u,{icon:"tdesign:image",class:"text-gray-8 text-120px!"})])):(a(),e("div",s,[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",l,c(E(p))+" / "+c(t.property.items.length),1)):j("",!0)]))}}}),y=O(i,[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/components/DiyEditor/components/mobile/Carousel/index.vue"]])});export{U as __tla,y as default};
