const e=require("../../PanelContext.js"),t=require("../../hooks/useMergeProps.js"),n=require("../Header.js");let r=require("vue");function i(i){let a=t.default(i),{prefixCls:o,generateConfig:s,viewDate:c,onPrevDecades:l,onNextDecades:u}=a,{hideHeader:d}=e.useInjectPanel();if(d)return null;let f=`${o}-header`,p=s.getYear(c),m=Math.floor(p/100)*100,h=m+100-1;return(0,r.createVNode)(n.default,{...a,prefixCls:f,onSuperPrev:l,onSuperNext:u},{default:()=>[m,(0,r.createTextVNode)(`-`),h]})}i.displayName=`DecadeHeader`,i.inheritAttrs=!1,exports.default=i;