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