UNPKG

@aplus-frontend/ui

Version:

2 lines (1 loc) 1.05 kB
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),a=require("../line/index.js"),r={style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"}},i={style:{maxWidth:"100%",flex:1}},l=e.defineComponent({name:"ApSkeletonListItem",__name:"item",props:{active:{type:Boolean}},setup(o){return(n,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(t.Card),{variant:"borderless",style:{borderRadius:0},"body-style":{padding:"24px"}},{default:e.withCtx(()=>[e.createElementVNode("div",r,[e.createElementVNode("div",i,[e.createVNode(e.unref(t.Skeleton),{active:n.active,title:{width:"100px",style:{marginBlockStart:0}},paragraph:{rows:1,style:{margin:0}}},null,8,["active"])]),e.createVNode(e.unref(t.Skeleton).Button,{active:n.active,size:"small",style:{width:"165px",marginBlockStart:"12px"}},null,8,["active"])])]),_:1}),e.createVNode(e.unref(a.ApSkeletonLine))],64))}});exports.default=l;