21 lines
98 KiB
JavaScript
21 lines
98 KiB
JavaScript
|
|
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[9021],{29021:function(Po,nr,j){j.d(nr,{default:function(){return ho}});var tr=j(27484),Le=j.n(tr),ar=j(6833),rr=j.n(ar),lr=j(96036),or=j.n(lr),ir=j(55183),ur=j.n(ir),cr=j(172),sr=j.n(cr),dr=j(28734),fr=j.n(dr),vr=j(10285),mr=j.n(vr);Le().extend(mr()),Le().extend(fr()),Le().extend(rr()),Le().extend(or()),Le().extend(ur()),Le().extend(sr()),Le().extend(function(e,n){var t=n.prototype,a=t.format;t.format=function(o){var i=(o||"").replace("Wo","wo");return a.bind(this)(i)}});var gr={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},dn=function(n){var t=gr[n];return t||n.split("_")[0]},Xt=function(){},hr={getNow:function(){var n=Le()();return typeof n.tz=="function"?n.tz():n},getFixedDate:function(n){return Le()(n,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(n){return n.endOf("month")},getWeekDay:function(n){var t=n.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(n){return n.year()},getMonth:function(n){return n.month()},getDate:function(n){return n.date()},getHour:function(n){return n.hour()},getMinute:function(n){return n.minute()},getSecond:function(n){return n.second()},getMillisecond:function(n){return n.millisecond()},addYear:function(n,t){return n.add(t,"year")},addMonth:function(n,t){return n.add(t,"month")},addDate:function(n,t){return n.add(t,"day")},setYear:function(n,t){return n.year(t)},setMonth:function(n,t){return n.month(t)},setDate:function(n,t){return n.date(t)},setHour:function(n,t){return n.hour(t)},setMinute:function(n,t){return n.minute(t)},setSecond:function(n,t){return n.second(t)},setMillisecond:function(n,t){return n.millisecond(t)},isAfter:function(n,t){return n.isAfter(t)},isValidate:function(n){return n.isValid()},locale:{getWeekFirstDay:function(n){return Le()().locale(dn(n)).localeData().firstDayOfWeek()},getWeekFirstDate:function(n,t){return t.locale(dn(n)).weekday(0)},getWeek:function(n,t){return t.locale(dn(n)).week()},getShortWeekDays:function(n){return Le()().locale(dn(n)).localeData().weekdaysMin()},getShortMonths:function(n){return Le()().locale(dn(n)).localeData().monthsShort()},format:function(n,t,a){return t.locale(dn(n)).format(a)},parse:function(n,t,a){for(var r=dn(n),o=0;o<a.length;o+=1){var i=a[o],u=t;if(i.includes("wo")||i.includes("Wo")){for(var s=u.split("-")[0],d=u.split("-")[1],c=Le()(s,"YYYY").startOf("year").locale(r),f=0;f<=52;f+=1){var m=c.add(f,"week");if(m.format("Wo")===d)return m}return Xt(),null}var g=Le()(u,i,!0).locale(r);if(g.isValid())return g}return t&&Xt(),null}}},pr=hr,Gt=j(8745),l=j(67294),Qt=j(20841),Jt=j(24019),Cr=j(32198),br=j(93967),Re=j.n(br),Me=j(87462),Ae=j(74902),ne=j(1413),$=j(97685),we=j(56790),_e=j(8410),qt=j(98423),ot=j(64217),Sr=j(80334),Ce=j(4942),Pr=j(40228);function xr(e,n){return e!==void 0?e:n?"bottomRight":"bottomLeft"}var yr=l.createContext(null),Ge=yr,Ir={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function kr(e){var n=e.popupElement,t=e.popupStyle,a=e.popupClassName,r=e.popupAlign,o=e.transitionName,i=e.getPopupContainer,u=e.children,s=e.range,d=e.placement,c=e.builtinPlacements,f=c===void 0?Ir:c,m=e.direction,g=e.visible,v=e.onClose,h=l.useContext(Ge),C=h.prefixCls,p="".concat(C,"-dropdown"),y=xr(d,m==="rtl");return l.createElement(Pr.Z,{showAction:[],hideAction:["click"],popupPlacement:y,builtinPlacements:f,prefixCls:p,popupTransitionName:o,popup:n,popupAlign:r,popupVisible:g,popupClassName:Re()(a,(0,Ce.Z)((0,Ce.Z)({},"".concat(p,"-range"),s),"".concat(p,"-rtl"),m==="rtl")),popupStyle:t,stretch:"minWidth",getPopupContainer:i,onPopupVisibleChange:function(b){b||v()}},u)}var _t=kr;function it(e,n){for(var t=arguments.length>2&&arguments[2
|
||
|
|
&:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-disabled)`]:{[t]:{background:i}},[`&-in-view${n}-today ${t}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,Pe.bf)(u)} ${s} ${d}`,borderRadius:r,content:'""'}},[`&-in-view${n}-in-range,
|
||
|
|
&-in-view${n}-range-start,
|
||
|
|
&-in-view${n}-range-end`]:{position:"relative",[`&:not(${n}-disabled):before`]:{background:c}},[`&-in-view${n}-selected,
|
||
|
|
&-in-view${n}-range-start,
|
||
|
|
&-in-view${n}-range-end`]:{[`&:not(${n}-disabled) ${t}`]:{color:f,background:d},[`&${n}-disabled ${t}`]:{background:v}},[`&-in-view${n}-range-start:not(${n}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${n}-range-end:not(${n}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${n}-range-start:not(${n}-range-end) ${t}`]:{borderStartStartRadius:r,borderEndStartRadius:r,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${n}-range-end:not(${n}-range-start) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:r,borderEndEndRadius:r},"&-disabled":{color:m,cursor:"not-allowed",[t]:{background:"transparent"},"&::before":{background:g}},[`&-disabled${n}-today ${t}::before`]:{borderColor:m}}},Yl=e=>{const{componentCls:n,pickerCellCls:t,pickerCellInnerCls:a,pickerYearMonthCellWidth:r,pickerControlIconSize:o,cellWidth:i,paddingSM:u,paddingXS:s,paddingXXS:d,colorBgContainer:c,lineWidth:f,lineType:m,borderRadiusLG:g,colorPrimary:v,colorTextHeading:h,colorSplit:C,pickerControlIconBorderWidth:p,colorIcon:y,textHeight:S,motionDurationMid:b,colorIconHover:I,fontWeightStrong:P,cellHeight:x,pickerCellPaddingVertical:Y,colorTextDisabled:R,colorText:F,fontSize:H,motionDurationSlow:A,withoutTimeCellHeight:Z,pickerQuarterPanelContentHeight:N,borderRadiusSM:M,colorTextLightSolid:T,cellHoverBg:B,timeColumnHeight:X,timeColumnWidth:z,timeCellHeight:W,controlItemBgActive:w,marginXXS:k,pickerDatePanelPaddingHorizontal:D,pickerControlIconMargin:O}=e,G=e.calc(i).mul(7).add(e.calc(D).mul(2)).equal();return{[n]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:c,borderRadius:g,outline:"none","&-focused":{borderColor:v},"&-rtl":{[`${n}-prev-icon,
|
||
|
|
${n}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${n}-next-icon,
|
||
|
|
${n}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${n}-time-panel`]:{[`${n}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:G},"&-header":{display:"flex",padding:`0 ${(0,Pe.bf)(s)}`,color:h,borderBottom:`${(0,Pe.bf)(f)} ${m} ${C}`,"> *":{flex:"none"},button:{padding:0,color:y,lineHeight:(0,Pe.bf)(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${b}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:H,"&:hover":{color:I},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:P,lineHeight:(0,Pe.bf)(S),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:s},"&:hover":{color:v}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:o,height:o,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:o,height:o,border:"0 solid currentcolor",borderBlockStartWidth:p,borderInlineStartWidth:p,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:O,insetInlineStart:O,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockStartWidth:p,borderInlineStartWidth:p,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:x,fontWeight:"normal"},th:{height:e.calc(x).add(e.calc(Y).mul(2)).equal(),color:F,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,Pe.bf)(Y)} 0`,color:R,cursor:"pointer","&-in-view":{color:F}},Tl(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${n}-content`]:{height:e.calc(Z).mul(4).equal()},[a]:{padding:`0 ${(0,Pe.bf)(s)}`}},"&-quarter-panel":{[`${n}-content`]:{height:N}},"&-decade-panel":{[a]:{padding:`0 ${(0,Pe.bf)(e.calc(s).div(2).equal())}`},[`${n}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${n}-body`]:{padding:`0 ${(0,Pe.bf)(s)}`},[a]:{width:r}},"&-date-panel":{[`${n}-body`]:{padding:`${(0,Pe.bf)(s)} ${(0,Pe.bf)(D)}`},[`${n}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel-row":{td:{"&:before":{transition:`background ${b}`},"&:first-child:before":{borderStartStartRadius:M,borderEndStartRadius:M},"&:last-child:before":{borderStartEndRadius:M,borderEndEndRadius:M}},"&:hover td:before":{background:B},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${t}`]:{"&:before":{background:v},[`&${n}-cell-week`]:{color:new Jn.t(T).setA(.5).toHexString()},[a]:{color:T}}},"&-range-hover td:before":{background:w}},"&-week-panel, &-date-panel-show-week":{[`${n}-body`]:{padding:`${(0,Pe.bf)(s)} ${(0,Pe.bf)(u)}`},[`${n}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${n}-time-panel`]:{borderInlineStart:`${(0,Pe.bf)(f)} ${m} ${C}`},[`${n}-date-panel,
|
||
|
|
${n}-time-panel`]:{transition:`opacity ${A}`},"&-active":{[`${n}-date-panel,
|
||
|
|
${n}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${n}-content`]:{display:"flex",flex:"auto",height:X},"&-column":{flex:"1 0 auto",width:z,margin:`${(0,Pe.bf)(d)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${b}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,Pe.bf)(W)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,Pe.bf)(f)} ${m} ${C}`},"&-active":{background:new Jn.t(w).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${n}-time-panel-cell`]:{marginInline:k,[`${n}-time-panel-cell-inner`]:{display:"block",width:e.calc(z).sub(e.calc(k).mul(2)).equal(),height:W,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(z).sub(W).div(2).equal(),color:F,lineHeight:(0,Pe.bf)(W),borderRadius:M,cursor:"pointer",transition:`background ${b}`,"&:hover":{background:B}},"&-selected":{[`${n}-time-panel-cell-inner`]:{background:w}},"&-disabled":{[`${n}-time-panel-cell-inner`]:{color:R,background:"transparent",cursor:"not-allowed"}}}}}}}}};var Al=e=>{const{componentCls:n,textHeight:t,lineWidth:a,paddingSM:r,antCls:o,colorPrimary:i,cellActiveWithRangeBg:u,colorPrimaryBorder:s,lineType:d,colorSplit:c}=e;return{[`${n}-dropdown`]:{[`${n}-footer`]:{borderTop:`${(0,Pe.bf)(a)} ${d} ${c}`,"&-extra":{padding:`0 ${(0,Pe.bf)(r)}`,lineHeight:(0,Pe.bf)(e.calc(t).sub(e.calc(a).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,Pe.bf)(a)} ${d} ${c}`}}},[`${n}-panels + ${n}-footer ${n}-ranges`]:{justifyContent:"space-between"},[`${n}-ranges`]:{marginBlock:0,paddingInline:(0,Pe.bf)(r),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,Pe.bf)(e.calc(t).sub(e.calc(a).mul(2)).equal()),display:"inline-block"},[`${n}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${n}-preset > ${o}-tag-blue`]:{color:i,background:u,borderColor:s,cursor:"pointer"},[`${n}-ok`]:{paddingBlock:e.calc(a).mul(2).equal(),marginInlineStart:"auto"}}}}};const Bl=e=>{const{componentCls:n,controlHeightLG:t,paddingXXS:a,padding:r}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerYearMonthCellWidth:e.calc(t).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(t).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(a).add(e.calc(a).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(r).add(e.calc(a).div(2)).equal()}},jl=e=>{const{colorBgContainerDisabled:n,controlHeight:t,controlHeightSM:a,controlHeightLG:r,paddingXXS:o,lineWidth:i}=e,u=o*2,s=i*2,d=Math.min(t-u,t-s),c=Math.min(a-u,a-s),f=Math.min(r-u,r-s);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(o/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Jn.t(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Jn.t(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:n,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:a*1.5,cellHeight:a,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:d,multipleItemHeightSM:c,multipleItemHeightLG:f,multipleSelectorBgDisabled:n,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Ll=e=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,Wa.T)(e)),jl(e)),(0,Ua.w)(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50});var qn=j(93900),Wl=e=>{const{componentCls:n}=e;return{[n]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,qn.qG)(e)),(0,qn.vc)(e)),(0,qn.H8
|
||
|
|
&${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft,
|
||
|
|
&${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${a}-slide-up-appear, &${a}-slide-up-enter`]:{[`${t}-range-arrow${t}-range-arrow`]:{transition:"none"}},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-dropdown-placement-topLeft,
|
||
|
|
&${a}-slide-up-enter${a}-slide-up-enter-active${t}-dropdown-placement-topRight,
|
||
|
|
&${a}-slide-up-appear${a}-slide-up-appear-active${t}-dropdown-placement-topLeft,
|
||
|
|
&${a}-slide-up-appear${a}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Cn.Qt},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,
|
||
|
|
&${a}-slide-up-enter${a}-slide-up-enter-active${t}-dropdown-placement-bottomRight,
|
||
|
|
&${a}-slide-up-appear${a}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
|
||
|
|
&${a}-slide-up-appear${a}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Cn.fJ},[`&${a}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-dropdown-placement-topLeft,
|
||
|
|
&${a}-slide-up-leave${a}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Cn.ly},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
|
||
|
|
&${a}-slide-up-leave${a}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Cn.Uw},[`${t}-panel > ${t}-time-panel`]:{paddingTop:R},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(r).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${x} ease-out`},(0,Ua.W)(e,H,z)),{"&:before":{insetInlineStart:e.calc(r).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:H,borderRadius:A,boxShadow:Z,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:X,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:y,borderInlineEnd:`${(0,Pe.bf)(o)} ${i} ${M}`,li:Object.assign(Object.assign({},Pt.vS),{borderRadius:N,paddingInline:y,paddingBlock:e.calc(C).sub(W).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:S},"&:hover":{background:T}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${(0,Pe.bf)(e.calc(F).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"scale(-1, 1)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Cn.oN)(e,"slide-up"),(0,Cn.oN)(e,"slide-down"),(0,za.Fm)(e,"move-up"),(0,za.Fm)(e,"move-down")]};var Xa=(0,Hl.I$)("DatePicker",e=>{const n=(0,xt.IX)((0,Wa.e)(e),Bl(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Al(n),Ul(n),Wl(n),zl(n),Vl(n),(0,Fl.c)(e,{focusElCls:`${e.componentCls}-focused`})]},Ll),Kl=j(43277);function Xl(e,n,t){return t!==void 0?t:n==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:n==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:n==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:n==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:n==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Gl(e,n,t){return t!==void 0?t:n==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:n==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:n==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:n==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:n==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function Ga(e,n){const{allowClear:t=!0}=e,{clearIcon:a,removeIcon:r}=(0,Kl.Z)(Object.assign(Object.assign({},e),{prefixCls:n,componentName:"DatePicker"}));return[l.useMemo(()=>t===!1?!1:Object.assign({clearIcon:a},t===!0?{}:t),[t,a]),r]}const[Ql,Jl]=["week","WeekPicker"],[ql,_l]=["month","MonthPicker"],[eo,no]=["year","YearPicker"],[to,ao]=["quarter","QuarterPicker"],[kt,Qa]=["time","TimePicker"];var ro=j(83622),lo=e=>l.createElement(ro.ZP,Object.assign({size:"small",type:"primary"},e));function Ja(e){return(0,l.useMemo)(()=>Object.assign({button:lo},e),[e])}function qa(e,...n){const t=e||{};return n.reduce((a,r)=>(Object.keys(r||{}).forEach(o=>{const i=t[o],u=r[o];if(i&&typeof i=="object")if(u&&typeof u=="object")a[o]=qa(i,a[o],u);else{const{_default:s}=i;a[o]=a[o]||{},a[o][s]=Re()(a[o][s],u)}else a[o]=Re()(a[o],u)}),a),{})}function oo(e,...n){return l.useMemo(()=>qa.apply(void 0,[e].concat(n)),[n])}function io(...e){return l.useMemo(()=>e.reduce((n,t={})=>(Object.keys(t).forEach(a=>{n[a]=Object.assign(Object.assign({},n[a]),t[a])}),n),{}),[e])}function Mt(e,n){const t=Object.assign({},e);return Object.keys(n).forEach(a=>{if(a!=="_default"){const r=n[a],o=t[a]||{};t[a]=r?Mt(o,r):o}}),t}function uo(e,n,t){const a=oo.apply(voi
|