"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../style/index.js"),n=o=>{const{componentCls:t}=o,e=`${t}-select-popup`;return{[`${e}`]:{padding:o.space,[`${e}-all-option`]:{width:"100%",display:"inline-flex",cursor:"pointer",paddingInline:o.space,paddingBlock:o.spaceSM,[`${e}-all-option-label`]:{paddingInline:o.space}},[`${e}-option-outter`]:{borderRadius:o.antdv.borderRadiusSM,paddingInline:o.space},[`${e}-option-wrapper`]:{minHeight:"30px"},[`${e}-option-content-wrapper`]:{flex:1,flexShrink:1,minWidth:0},[`${e}-option-label`]:{...i.singleRow(o),color:"inherit"},[`${e}-option-custom`]:{flex:1,flexShrink:1,minWidth:0},[`${e}-option-action`]:{display:"none",color:o.colorPrimary,paddingInline:o.spaceSM,paddingBlock:o.spaceXXS,"&:hover":{background:o.colorPrimary,color:"#fff",borderRadius:"2px"}},"div.ant-select-item":{padding:0,paddingBlockEnd:o.spaceXS,fontWeight:"normal !important","&.ant-select-item-option-active:not(.ant-select-item-option-disabled)":{backgroundColor:"unset",[`& ${e}-option-outter`]:{backgroundColor:o.antdv.controlItemBgHover}},"&.ant-select-item-option-selected:not(.ant-select-item-option-disabled)":{backgroundColor:"unset",[`& ${e}-option-outter`]:{backgroundColor:o.antdv.controlItemBgActive}},"&.ant-select-item-option-disabled.ant-select-item-option-selected":{backgroundColor:"unset",[`& ${e}-option-outter`]:{backgroundColor:o.antdv.colorBgContainerDisabled}},"&:hover":{[`${e}-option-action`]:{display:"inline"}},"&:last-child":{paddingBlockEnd:0}},[`&:has(${e}-all-option)`]:{"div.ant-select-item:first-child":{paddingBlockStart:o.spaceXS}}}}};exports.genSelectStyle=n;
