2026-02-01 21:53:26 +03:30
|
|
|
import{aB as S,d as fe,aK as D,k as R,r as ye,C as x,aI as k,aH as ue,aT as Ne,a5 as vn,bp as Et,s as X,o as he,$ as oe,dv as Je,E as Ge,a0 as Me,co as _,e as Fe,a9 as qe,bj as gn,I as Ce,bb as Ee,dw as hn,b0 as Ze,aJ as ke,bM as Pt,b1 as bn,bu as me,bT as ge,af as Sn,aC as et,ae as Te,bP as yn,bn as Le,dx as wn,bR as ve,cs as gt,b2 as In,bd as Cn,am as xn,cy as $n,b6 as tt,cu as Xe,a$ as be,cT as Ft,a_ as On,bJ as Tn,aD as Mn,br as En,bm as Pn,c2 as Fn,dy as Dn,dz as Rn,aL as Vn,aN as Oe,aM as Hn,aO as ht}from"./CqMGdh3i.js";import{T as Nn}from"./DAm35wCk.js";import{a as Ln,S as Bn}from"./Bvb2KE_X.js";import{O as _n}from"./hRWhkcZm.js";import{i as An}from"./D-bUn136.js";import{R as zn}from"./B8BNQJT3.js";import{u as Wn,i as bt}from"./DtM3W8XB.js";import{u as St}from"./DFqTtjB6.js";import{C as Kn}from"./CDQxiK-V.js";import{u as jn,b as Un}from"./CqL7MJb4.js";import{g as Yn,a as Gn}from"./DhpIxLUX.js";import{a as Xn,s as Qn,c as Jn,b as qn,i as yt}from"./CseG1518.js";function wt(e,t){const{key:o}=e;let n;return"value"in e&&({value:n}=e),o??(n!==void 0?n:`rc-index-key-${t}`)}function Dt(e,t){const{label:o,value:n,options:l}=e||{};return{label:o||(t?"children":"label"),value:n||"value",options:l||"options"}}function Zn(e){let{fieldNames:t,childrenAsData:o}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=[],{label:l,value:i,options:u}=Dt(t,!1);function r(p,a){p.forEach(d=>{const g=d[l];if(a||!(u in d)){const f=d[i];n.push({key:wt(d,n.length),groupOption:a,data:d,label:g,value:f})}else{let f=g;f===void 0&&o&&(f=d.label),n.push({key:wt(d,n.length),group:!0,data:d,label:f}),r(d[u],!0)}})}return r(e,!1),n}function Qe(e){const t=S({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function kn(e,t){if(!t||!t.length)return null;let o=!1;function n(i,u){let[r,...p]=u;if(!r)return[i];const a=i.split(r);return o=o||a.length>1,a.reduce((d,g)=>[...d,...n(g,p)],[]).filter(d=>d)}const l=n(e,t);return o?l:null}var eo=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(o[n[l]]=e[n[l]]);return o};const to=e=>{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},no=fe({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:D.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:D.oneOfType([Number,Boolean]).def(!0),popupElement:D.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:o,attrs:n,expose:l}=t;const i=R(()=>{const{dropdownMatchSelectWidth:r}=e;return to(r)}),u=ye();return l({getPopupElement:()=>u.value}),()=>{const r=S(S({},e),n),{empty:p=!1}=r,a=eo(r,["empty"]),{visible:d,dropdownAlign:g,prefixCls:f,popupElement:y,dropdownClassName:b,dropdownStyle:$,direction:T="ltr",placement:I,dropdownMatchSelectWidth:F,containerWidth:V,dropdownRender:M,animation:h,transitionName:N,getPopupContainer:E,getTriggerDOMNode:P,onPopupVisibleChange:L,onPopupMouseEnter:A,onPopupFocusin:B,onPopupFocusout:j}=a,Y=`${f}-dropdown`;let z=y;M&&(z=M({menuNode:y,props:e}));const G=h?`${Y}-${h}`:N,W=S({minWidth:`${V}px`},$);return typeof F=="number"?W.width=`${F}px`:F&&(W.width=`${V}px`),x(Nn,k(k({},e),{},{showAction:L?["click"]:[],hideAction:L?["click"]:[],popupPlacement:I||(T==
|
2026-01-27 16:02:45 +03:30
|
|
|
`,`\r
|
2026-02-01 17:38:39 +03:30
|
|
|
`].includes(s))),Y=(s,c,O)=>{var w,K;let J=!0,q=s;(w=e.onActiveValueChange)===null||w===void 0||w.call(e,null);const Z=O?null:kn(s,e.tokenSeparators);return e.mode!=="combobox"&&Z&&(q="",(K=e.onSearchSplit)===null||K===void 0||K.call(e,Z),B(!1),J=!1),e.onSearch&&M.value!==q&&e.onSearch(q,{source:c?"typing":"effect"}),J},z=s=>{var c;!s||!s.trim()||(c=e.onSearch)===null||c===void 0||c.call(e,s,{source:"submit"})};oe(E,()=>{!E.value&&!i.value&&e.mode!=="combobox"&&Y("",!1,!1)},{immediate:!0,flush:"post"}),oe(()=>e.disabled,()=>{N.value&&e.disabled&&P(!1),e.disabled&&!b.value&&T(!1)},{immediate:!0});const[G,W]=Vt(),te=function(s){var c;const O=G(),{which:w}=s;if(w===_.ENTER&&(e.mode!=="combobox"&&s.preventDefault(),E.value||B(!0)),W(!!M.value),w===_.BACKSPACE&&!O&&i.value&&!M.value&&e.displayValues.length){const Z=[...e.displayValues];let Q=null;for(let le=Z.length-1;le>=0;le-=1){const ae=Z[le];if(!ae.disabled){Z.splice(le,1),Q=ae;break}}Q&&e.onDisplayValuesChange(Z,{type:"remove",values:[Q]})}for(var K=arguments.length,J=new Array(K>1?K-1:0),q=1;q<K;q++)J[q-1]=arguments[q];E.value&&y.value&&y.value.onKeydown(s,...J),(c=e.onKeydown)===null||c===void 0||c.call(e,s,...J)},ie=function(s){for(var c=arguments.length,O=new Array(c>1?c-1:0),w=1;w<c;w++)O[w-1]=arguments[w];E.value&&y.value&&y.value.onKeyup(s,...O),e.onKeyup&&e.onKeyup(s,...O)},m=s=>{const c=e.displayValues.filter(O=>O!==s);e.onDisplayValuesChange(c,{type:"remove",values:[s]})},H=X(!1),C=function(){T(!0),e.disabled||(e.onFocus&&!H.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&B(!0)),H.value=!0},U=ye(!1),ne=function(){if(U.value||(b.value=!0,T(!1,()=>{H.value=!1,b.value=!1,B(!1)}),e.disabled))return;const s=M.value;s&&(e.mode==="tags"?e.onSearch(s,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},re=()=>{U.value=!0},se=()=>{U.value=!1};qe("VCSelectContainerEvent",{focus:C,blur:ne});const ee=[];he(()=>{ee.forEach(s=>clearTimeout(s)),ee.splice(0,ee.length)}),Fe(()=>{ee.forEach(s=>clearTimeout(s)),ee.splice(0,ee.length)});const ce=function(s){var c,O;const{target:w}=s,K=(c=g.value)===null||c===void 0?void 0:c.getPopupElement();if(K&&K.contains(w)){const Q=setTimeout(()=>{var le;const ae=ee.indexOf(Q);ae!==-1&&ee.splice(ae,1),I(),!r.value&&!K.contains(document.activeElement)&&((le=f.value)===null||le===void 0||le.focus())});ee.push(Q)}for(var J=arguments.length,q=new Array(J>1?J-1:0),Z=1;Z<J;Z++)q[Z-1]=arguments[Z];(O=e.onMousedown)===null||O===void 0||O.call(e,s,...q)},de=X(null),v=()=>{};return he(()=>{oe(A,()=>{var s;if(A.value){const c=Math.ceil((s=a.value)===null||s===void 0?void 0:s.offsetWidth);de.value!==c&&!Number.isNaN(c)&&(de.value=c)}},{immediate:!0,flush:"post"})}),co([a,g],A,B),po(Nt(S(S({},hn(e)),{open:E,triggerOpen:A,showSearch:u,multiple:i,toggleOpen:B}))),()=>{const s=S(S({},e),o),{prefixCls:c,id:O,open:w,defaultOpen:K,mode:J,showSearch:q,searchValue:Z,onSearch:Q,allowClear:le,clearIcon:ae,showArrow:De,inputIcon:Re,disabled:xe,loading:Ve,getInputElement:rt,getPopupContainer:Yt,placement:Gt,animation:Xt,transitionName:Qt,dropdownStyle:Jt,dropdownClassName:qt,dropdownMatchSelectWidth:Zt,dropdownRender:kt,dropdownAlign:en,showAction:rl,direction:tn,tokenSeparators:sl,tagRender:nn,optionLabelRender:on,onPopupScroll:ul,onDropdownVisibleChange:cl,onFocus:dl,onBlur:fl,onKeyup:pl,onKeydown:ml,onMousedown:vl,onClear:_e,omitDomProps:Ae,getRawInputElement:st,displayValues:He,onDisplayValuesChange:ln,emptyOptions:an,activeDescendantId:rn,activeValue:sn,OptionList:un}=s,cn=vo(s,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","
|
2026-01-27 16:02:45 +03:30
|
|
|
&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-bottomLeft,
|
|
|
|
|
&${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-bottomLeft
|
2026-02-01 17:38:39 +03:30
|
|
|
`]:{animationName:qn},[`
|
2026-01-27 16:02:45 +03:30
|
|
|
&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topLeft,
|
|
|
|
|
&${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topLeft
|
2026-02-01 17:38:39 +03:30
|
|
|
`]:{animationName:Jn},[`&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-bottomLeft`]:{animationName:Qn},[`&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topLeft`]:{animationName:Xn},"&-hidden":{display:"none"},"&-empty":{color:e.colorTextDisabled},[`${n}-empty`]:S(S({},Tt(e)),{color:e.colorTextDisabled}),[`${n}`]:S(S({},Tt(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":S({flex:"auto"},Xe),"&-state":{flex:"none"},[`&-active:not(${n}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${n}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${n}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${n}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},yt(e,"slide-up"),yt(e,"slide-down"),bt(e,"move-up"),bt(e,"move-down")]},Ie=2;function Ut(e){let{controlHeightSM:t,controlHeight:o,lineWidth:n}=e;const l=(o-t)/2-n,i=Math.ceil(l/2);return[l,i]}function je(e,t){const{componentCls:o,iconCls:n}=e,l=`${o}-selection-overflow`,i=e.controlHeightSM,[u]=Ut(e),r=t?`${o}-${t}`:"";return{[`${o}-multiple${r}`]:{fontSize:e.fontSize,[l]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${o}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${u-Ie}px ${Ie*2}px`,borderRadius:e.borderRadius,[`${o}-show-search&`]:{cursor:"text"},[`${o}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Ie}px 0`,lineHeight:`${i}px`,content:'"\\a0"'}},[`
|
2026-01-27 16:02:45 +03:30
|
|
|
&${o}-show-arrow ${o}-selector,
|
|
|
|
|
&${o}-allow-clear ${o}-selector
|
|
|
|
|
`]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${o}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:Ie,marginBottom:Ie,lineHeight:`${i-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:Ie*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${o}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":S(S({},Ft()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${l}-item + ${l}-item`]:{[`${o}-selection-search`]:{marginInlineStart:0}},[`${o}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-u,"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${o}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function ko(e){const{componentCls:t}=e,o=be(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,n]=Ut(e);return[je(e),je(o,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInlineStart:e.controlPaddingHorizontalSM-e.lineWidth,insetInlineEnd:"auto"},[`${t}-selection-search`]:{marginInlineStart:n}}},je(be(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function Ue(e,t){const{componentCls:o,inputPaddingHorizontalBase:n,borderRadius:l}=e,i=e.controlHeight-e.lineWidth*2,u=Math.ceil(e.fontSize*1.25),r=t?`${o}-${t}`:"";return{[`${o}-single${r}`]:{fontSize:e.fontSize,[`${o}-selector`]:S(S({},tt(e)),{display:"flex",borderRadius:l,[`${o}-selection-search`]:{position:"absolute",top:0,insetInlineStart:n,insetInlineEnd:n,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
|
|
${o}-selection-item,
|
|
|
|
|
${o}-selection-placeholder
|
|
|
|
|
`]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${o}-selection-item`]:{position:"relative",userSelect:"none"},[`${o}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${o}-selection-item:after`,`${o}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
|
|
&${o}-show-arrow ${o}-selection-item,
|
|
|
|
|
&${o}-show-arrow ${o}-selection-placeholder
|
|
|
|
|
`]:{paddingInlineEnd:u},[`&${o}-open ${o}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${o}-customize-input)`]:{[`${o}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${n}px`,[`${o}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${o}-customize-input`]:{[`${o}-selector`]:{"&:after":{display:"none"},[`${o}-selection-search`]:{position:"static",width:"100%"},[`${o}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${n}px`,"&:after":{display:"none"}}}}}}}function el(e){const{componentCls:t}=e,o=e.controlPaddingHorizontalSM-e.lineWidth;return[Ue(e),Ue(be(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:o,insetInlineEnd:o},[`${t}-selector`]:{padding:`0 ${o}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:o+e.fontSize*1.5},[`
|
|
|
|
|
&${t}-show-arrow ${t}-selection-item,
|
|
|
|
|
&${t}-show-arrow ${t}-selection-placeholder
|
2026-02-01 17:38:39 +03:30
|
|
|
`]:{paddingInlineEnd:e.fontSize*1.5}}}},Ue(be(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const tl=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},Ye=function(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:n,borderHoverColor:l,outlineColor:i,antCls:u}=t,r=o?{[`${n}-selector`]:{borderColor:l}}:{};return{[e]:{[`&:not(${n}-disabled):not(${n}-customize-input):not(${u}-pagination-size-changer)`]:S(S({},r),{[`${n}-focused& ${n}-selector`]:{borderColor:l,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${i}`,borderInlineEndWidth:`${t.controlLineWidth}px !important`,outline:0},[`&:hover ${n}-selector`]:{borderColor:l,borderInlineEndWidth:`${t.controlLineWidth}px !important`}})}}},nl=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ol=e=>{const{componentCls:t,inputPaddingHorizontalBase:o,iconCls:n}=e;return{[t]:S(S({},tt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:S(S({},tl(e)),nl(e)),[`${t}-selection-item`]:S({flex:1,fontWeight:"normal"},Xe),[`${t}-selection-placeholder`]:S(S({},Xe),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:S(S({},Ft()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[n]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:o+e.fontSize+e.paddingXXS}}}},ll=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},ol(e),el(e),ko(e),Zo(e),{[`${t}-rtl`]:{direction:"rtl"}},Ye(t,be(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),Ye(`${t}-status-error`,be(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),Ye(`${t}-status-warning`,be(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),Tn(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},il=On("Select",(e,t)=>{let{rootPrefixCls:o}=t;const n=be(e,{rootPrefixCls:o,inputPaddingHorizontalBase:e.paddingSM-1});return[ll(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),al=()=>S(S({},Le(jt(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{value:ht([Array,Object,String,Number]),defaultValue:ht([Array,Object,String,Number]),notFoundContent:D.any,suffixIcon:D.any,it
|