import{resetComponent as H}from"../../style/index.mjs";const T=d=>{const{componentCls:i,antCls:r,iconCls:g,tableFilterDropdownWidth:$,tableFilterDropdownSearchWidth:b,paddingXXS:t,paddingXS:o,colorText:x,lineWidth:l,lineType:h,tableBorderColor:w,tableHeaderIconColor:m,fontSizeSM:a,tablePaddingHorizontal:f,borderRadius:p,motionDurationSlow:u,colorTextDescription:C,colorPrimary:S,tableHeaderFilterActiveBg:v,colorTextDisabled:c,tableFilterDropdownBg:k,tableFilterDropdownHeight:y,controlItemBgHover:B,controlItemBgActive:D,boxShadowSecondary:F}=d,I=`${r}-dropdown`,e=`${i}-filter-dropdown`,n=`${r}-tree`,s=`${l}px ${h} ${w}`;return[{[`${i}-wrapper`]:{[`${i}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${i}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-t,marginInline:`${t}px ${-f/2}px`,padding:`0 ${t}px`,color:m,fontSize:a,borderRadius:p,cursor:"pointer",transition:`all ${u}`,"&:hover":{color:C,background:v},"&.active":{color:S}}}},{[`${r}-dropdown`]:{[e]:{...H(d),minWidth:$,backgroundColor:k,borderRadius:p,boxShadow:F,[`${I}-menu`]:{maxHeight:y,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${o}px 0`,color:c,fontSize:a,textAlign:"center",content:'"Not Found"'}},[`${e}-tree`]:{paddingBlock:`${o}px 0`,paddingInline:o,[n]:{padding:0},[`${n}-treenode ${n}-node-content-wrapper:hover`]:{backgroundColor:B},[`${n}-treenode-checkbox-checked ${n}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:D}}},[`${e}-search`]:{padding:o,borderBottom:s,"&-input":{input:{minWidth:b},[g]:{color:c}}},[`${e}-checkall`]:{width:"100%",marginBottom:t,marginInlineStart:t},[`${e}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${o-l}px ${o}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:s}}}},{[`${r}-dropdown ${e}, ${e}-submenu`]:{[`${r}-checkbox-wrapper + span`]:{paddingInlineStart:o,color:x},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]};export{T as default};
