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