1import{D as i}from"./dropdown-BB-qdlqg.js";import{r as e,cT as W,c as X}from"./index-DxrXdkiz.js";import{R as Y}from"./EllipsisOutlined-Cof_97-w.js";import{B as c}from"./Button-Bb5sVw_A.js";import{S as Z}from"./index-CVtS-LX_.js";import{c as ee}from"./util-BZpXxe0i.js";const l=o=>{const{getPopupContainer:m,getPrefixCls:d,direction:r}=e.useContext(W),{prefixCls:u,type:s="default",danger:a,disabled:n,loading:f,onClick:C,htmlType:g,children:P,className:x,menu:y,arrow:R,autoFocus:B,trigger:b,align:h,open:w,onOpenChange:D,placement:E,getPopupContainer:T,href:N,icon:O=e.createElement(Y,null),title:H,buttonsRender:S=V=>V,mouseEnterDelay:v,mouseLeaveDelay:z,overlayClassName:I,overlayStyle:_,destroyOnHidden:k,destroyPopupOnHide:L,dropdownRender:$,popupRender:A,...F}=o,p=d("dropdown",u),U=`${p}-button`,t={menu:y,arrow:R,autoFocus:B,align:h,disabled:n,trigger:n?[]:b,onOpenChange:D,getPopupContainer:T||m,mouseEnterDelay:v,mouseLeaveDelay:z,classNames:{root:I},styles:{root:_},destroyOnHidden:k,popupRender:A||$},{compactSize:j,compactItemClassnames:q}=ee(p,r),G=X(U,q,x);"destroyPopupOnHide"in o&&(t.destroyPopupOnHide=L),"open"in o&&(t.open=w),"placement"in o?t.placement=E:t.placement=r==="rtl"?"bottomLeft":"bottomRight";const J=e.createElement(c,{type:s,danger:a,disabled:n,loading:f,onClick:C,htmlType:g,href:N,title:H},P),K=e.createElement(c,{type:s,danger:a,icon:O}),[M,Q]=S([J,K]);return e.createElement(Z.Compact,{className:G,size:j,block:!0,...F},M,e.createElement(i,{...t},Q))};l.__ANT_BUTTON=!0;const te=i;te.Button=l;export{te as D};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.