"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");function g({prefixCls:t,components:c={},needConfirmButton:l,onNow:s,onOk:u,okDisabled:r,showNow:d,locale:n}){let o,a;if(l){const i=c.button||"button";s&&d!==!1&&(o=e.createVNode("li",{class:`${t}-now`},[e.createVNode("a",{class:`${t}-now-btn`,onClick:s},[n.now])])),a=l&&e.createVNode("li",{class:`${t}-ok`},[e.createVNode(i,{disabled:r,onClick:b=>{b.stopPropagation(),u&&u()}},{default:()=>[n.ok]})])}return!o&&!a?null:e.createVNode("ul",{class:`${t}-ranges`},[o,a])}exports.default=g;
