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