"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../../utils/cssinjs/index.js"),n=t=>{const{componentCls:e}=t;return{[e]:{[`${e}-content-container`]:{position:"relative","&--spinning":{opacity:t.apListSpinnigOpacity,userSelect:"none",pointerEvents:"none"}},[`${e}__footer`]:{marginTop:t.space,display:"flex",justifyContent:"flex-end"},[`${e}__spin-wrapper`]:{position:"absolute",width:"100%",top:0,bottom:0,borderRadius:t.borderRadius,display:"flex",justifyContent:"center",alignItems:"center",zIndex:1},[`${e}-scroll-wrapper`]:{height:"100%"},"&--adaptive":{height:"100%",display:"flex",flexDirection:"column",[`${e}-content-container`]:{flexGrow:1,flexShrink:1,overflow:"hidden","&:has(.ant-empty)":{display:"flex",justifyContent:"center",alignItems:"center"},[`${e}__content`]:{height:"100%",overflow:"auto"}}}}}},o=i.genComponentStyleHook("ApList",t=>[n(t)],{apListSpinnigOpacity:.5},{skipUnit:["apListSpinnigOpacity"]});exports.default=o;exports.genApListStyle=n;
