import{__rest as o}from"../../_virtual/_tslib.js";import{jsx as t}from"react/jsx-runtime";import{isNil as i}from"lodash-es";import e from"../Button/Button.js";import r from"../Tooltip/Tooltip.js";import{HideShowEvent as l}from"../../constants/dialog.js";var n=function(n){var p=n.tooltipContent,s=n.tooltipPosition,a=n.tooltipHideDelay,m=n.tooltipShowDelay,c=n.tooltipContainerSelector,y=n.tooltipMoveBy,h=o(n,["tooltipContent","tooltipPosition","tooltipHideDelay","tooltipShowDelay","tooltipContainerSelector","tooltipMoveBy"]),d=t(e,Object.assign({},h));return i(p)||(d=t(r,Object.assign({moveBy:y,position:s,hideDelay:a,showDelay:m,content:p,showTrigger:[l.MOUSE_ENTER],hideTrigger:[l.MOUSE_LEAVE],containerSelector:c},{children:d}))),d};export{n as ButtonWrapper};
