import{createVNode as e}from"vue";function t({prefixCls:t,components:n={},needConfirmButton:r,onNow:i,onOk:a,okDisabled:o,showNow:s,locale:c}){let l,u;if(r){let d=n.button||`button`;i&&s!==!1&&(l=e(`li`,{class:`${t}-now`},[e(`a`,{class:`${t}-now-btn`,onClick:i},[c.now])])),u=r&&e(`li`,{class:`${t}-ok`},[e(d,{disabled:o,onClick:e=>{e.stopPropagation(),a&&a()}},{default:()=>[c.ok]})])}return!l&&!u?null:e(`ul`,{class:`${t}-ranges`},[l,u])}export{t as default};