"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("@aplus-frontend/antdv"),m=require("@aplus-frontend/antdv/es/_util/hooks/useBreakpoint"),p={style:{width:"100%",justifyContent:"space-between",display:"flex"}},v=e.defineComponent({name:"ApSkeletonDescItem",__name:"item",props:{size:{},active:{type:Boolean}},setup(t){const l=t;l.size;const i={lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1},s={xs:1,sm:2,md:3,lg:3,xl:3,xxl:4},u=m(),r=e.computed(()=>u.value||i),d=e.computed(()=>Object.keys(r.value).filter(o=>r.value[o]===!0)[0]||"md"),c=e.computed(()=>l.size===void 0?s[d.value]||3:l.size);return(o,f)=>(e.openBlock(),e.createElementBlock("div",p,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(new Array(c.value).fill(null),(k,a)=>(e.openBlock(),e.createElementBlock("div",{key:a,style:e.normalizeStyle({flex:1,paddingInlineStart:a===0?0:"24px",paddingInlineEnd:a===c.value-1?0:"24px"})},[e.createVNode(e.unref(n.Skeleton),{active:t.active,paragraph:!1,title:{style:{marginBlockStart:0}}},null,8,["active"]),e.createVNode(e.unref(n.Skeleton),{active:t.active,paragraph:!1,title:{style:{marginBlockStart:"8px"}}},null,8,["active"]),e.createVNode(e.unref(n.Skeleton),{active:t.active,paragraph:!1,title:{style:{marginBlockStart:"8px"}}},null,8,["active"])],4))),128))]))}});exports.default=v;
