import{createVNode as n}from"vue";import m from"../../../_util/classNames.mjs";import k from"../../hooks/useMergeProps.mjs";import{isSameWeek as C}from"../../utils/dateUtil.mjs";import u from"../DatePanel/index.mjs";function i(c){const l=k(c),{prefixCls:o,generateConfig:r,locale:a,value:f}=l,s=`${o}-cell`,p=e=>n("td",{key:"week",class:m(s,`${s}-week`)},[r.locale.getWeek(a.locale,e)]),t=`${o}-week-panel-row`;return n(u,{...l,panelName:"week",prefixColumn:p,rowClassName:e=>m(t,{[`${t}-selected`]:C(r,a.locale,f,e)}),keyboardConfig:{onLeftRight:null}},null)}i.displayName="WeekPanel";i.inheritAttrs=!1;export{i as default};
