import{createVNode as n}from"vue";import{useInjectPanel as p}from"../../PanelContext.mjs";import u from"../../hooks/useMergeProps.mjs";import{formatValue as d}from"../../utils/dateUtil.mjs";import c from"../Header.mjs";function r(o){const t=u(o),{hideHeader:a}=p();if(a.value)return null;const{prefixCls:i,generateConfig:f,locale:l,value:e,format:m}=t,s=`${i}-header`;return n(c,{prefixCls:s},{default:()=>[e?d(e,{locale:l,format:m,generateConfig:f}):" "]})}r.displayName="TimeHeader";r.inheritAttrs=!1;export{r as default};
