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