const e=require("../_util/classNames.js"),t=require("../vc-trigger/index.js"),n=require("./hooks/useMergeProps.js");let r=require("vue");var i={bottomLeft:{points:[`tl`,`bl`],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:[`tr`,`br`],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:[`bl`,`tl`],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:[`br`,`tr`],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function a(a,{slots:o}){let{prefixCls:s,popupStyle:c,visible:l,dropdownClassName:u,dropdownAlign:d,transitionName:f,getPopupContainer:p,range:m,popupPlacement:h,direction:g}=n.default(a),_=`${s}-dropdown`;return(0,r.createVNode)(t.default,{showAction:[],hideAction:[],popupPlacement:h===void 0?g===`rtl`?`bottomRight`:`bottomLeft`:h,builtinPlacements:i,prefixCls:_,popupTransitionName:f,popupAlign:d,popupVisible:l,popupClassName:e.default(u,{[`${_}-range`]:m,[`${_}-rtl`]:g===`rtl`}),popupStyle:c,getPopupContainer:p},{default:o.default,popup:o.popupElement})}exports.default=a;