profinansy-ui-lib 3.8.39 → 3.8.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6952,7 +6952,7 @@ Check the top-level render call using <`+q+">.")}return G}}function J2(M,G){{if(
6952
6952
  &:hover {
6953
6953
  background: ${({theme:e})=>e.background.primary};
6954
6954
  }
6955
- `,yc=e=>d.createElement("svg",{width:8,height:4,viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.90385 0.844053L6.90092 0.841127C6.75739 0.697597 6.52141 0.697597 6.37788 0.841127L4.20455 3.01446C4.09141 3.1276 3.90739 3.1276 3.79425 3.01446L1.62092 0.841127C1.47739 0.697597 1.24141 0.697597 1.09788 0.841127C0.954352 0.984656 0.954352 1.22064 1.09788 1.36417L3.27121 3.5375C3.67141 3.9377 4.32739 3.9377 4.72759 3.5375L6.90092 1.36417C6.97461 1.29048 7.0094 1.19609 7.0094 1.10265C7.0094 1.00568 6.96893 0.913784 6.90385 0.844053Z",fill:"#454545"})),wc=e=>d.createElement("svg",{width:8,height:13,viewBox:"0 0 8 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.88318 12.0938L6.88904 12.088C7.17609 11.8009 7.17609 11.329 6.88904 11.0419L2.54237 6.69523C2.31609 6.46895 2.31609 6.10091 2.54237 5.87464L6.88904 1.52797C7.17609 1.24091 7.17609 0.768955 6.88904 0.481896C6.60198 0.194837 6.13002 0.194837 5.84296 0.481896L1.49629 4.82856C0.695898 5.62895 0.695898 6.94091 1.49629 7.74131L5.84296 12.088C5.99034 12.2354 6.17911 12.3049 6.366 12.3049C6.55994 12.3049 6.74372 12.224 6.88318 12.0938Z",fill:"#454545"})),La=["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],WA=(e,t)=>{const n=[];for(let r=e;r<=t;r++)n.push(r);return n},GA=e=>{const t=m.useRef(null),n=m.useRef(null),r=m.useRef(null),o=m.useRef(null),{date:i,changeYear:a,changeMonth:l,decreaseMonth:c,increaseMonth:u,prevMonthButtonDisabled:f,nextMonthButtonDisabled:p,customHeaderCount:C}=e,g=WA(1900,2099),v=k=>{l(La.indexOf(k)),t.current?.handleClose&&t.current.handleClose()},b=k=>{a(k),n.current?.handleClose&&n.current.handleClose()},x=k=>{k&&o.current?.scrollIntoView({block:"nearest"})},y=k=>{k&&r.current?.scrollIntoView({block:"nearest"})},w=o0(i,C),E=La[n7(w)],I=r7(w);return s.jsxs(OA,{onClick:k=>k.preventDefault(),children:[s.jsx(bc,{style:{paddingRight:25},onClick:c,disabled:f,children:s.jsx(wc,{})}),s.jsxs(NA,{children:[s.jsx(_1,{onOpenList:x,withoutPortal:!0,padding:"2px",width:"90px",height:"200px",ref:t,targetElement:s.jsxs(ZA,{children:[E," ",s.jsx(yc,{})]}),children:s.jsx("div",{children:La.map(k=>s.jsx(xc,{ref:k===E?o:null,isActiveItem:k===E,onClick:()=>v(k),children:k},k))})}),s.jsx(_1,{onOpenList:y,withoutPortal:!0,padding:"2px",width:"90px",height:"200px",ref:n,targetElement:s.jsxs(Tu,{children:[I," ",s.jsx(yc,{})]}),children:s.jsx("div",{children:g.map(k=>s.jsx(xc,{ref:k===I?r:null,isActiveItem:k===I,onClick:()=>b(k),children:k},k))})})]}),s.jsx(bc,{style:{paddingLeft:25},onClick:u,disabled:p,children:s.jsx(wc,{style:{transform:"rotate(180deg)"}})})]})},YA=h.styled.div`
6955
+ `,yc=e=>d.createElement("svg",{width:8,height:4,viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.90385 0.844053L6.90092 0.841127C6.75739 0.697597 6.52141 0.697597 6.37788 0.841127L4.20455 3.01446C4.09141 3.1276 3.90739 3.1276 3.79425 3.01446L1.62092 0.841127C1.47739 0.697597 1.24141 0.697597 1.09788 0.841127C0.954352 0.984656 0.954352 1.22064 1.09788 1.36417L3.27121 3.5375C3.67141 3.9377 4.32739 3.9377 4.72759 3.5375L6.90092 1.36417C6.97461 1.29048 7.0094 1.19609 7.0094 1.10265C7.0094 1.00568 6.96893 0.913784 6.90385 0.844053Z",fill:"#454545"})),wc=e=>d.createElement("svg",{width:8,height:13,viewBox:"0 0 8 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.88318 12.0938L6.88904 12.088C7.17609 11.8009 7.17609 11.329 6.88904 11.0419L2.54237 6.69523C2.31609 6.46895 2.31609 6.10091 2.54237 5.87464L6.88904 1.52797C7.17609 1.24091 7.17609 0.768955 6.88904 0.481896C6.60198 0.194837 6.13002 0.194837 5.84296 0.481896L1.49629 4.82856C0.695898 5.62895 0.695898 6.94091 1.49629 7.74131L5.84296 12.088C5.99034 12.2354 6.17911 12.3049 6.366 12.3049C6.55994 12.3049 6.74372 12.224 6.88318 12.0938Z",fill:"#454545"})),La=["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],WA=(e,t)=>{const n=[];for(let r=e;r<=t;r++)n.push(r);return n},GA=e=>{const t=m.useRef(null),n=m.useRef(null),r=m.useRef(null),o=m.useRef(null),{date:i,changeYear:a,changeMonth:l,decreaseMonth:c,increaseMonth:u,prevMonthButtonDisabled:f,nextMonthButtonDisabled:p,customHeaderCount:C}=e,g=WA(1900,2099),v=k=>{l(La.indexOf(k)-C),t.current?.handleClose&&t.current.handleClose()},b=k=>{a(k),n.current?.handleClose&&n.current.handleClose()},x=k=>{k&&o.current?.scrollIntoView({block:"nearest"})},y=k=>{k&&r.current?.scrollIntoView({block:"nearest"})},w=o0(i,C),E=La[n7(w)],I=r7(w);return s.jsxs(OA,{onClick:k=>k.preventDefault(),children:[s.jsx(bc,{style:{paddingRight:25},onClick:c,disabled:f,children:s.jsx(wc,{})}),s.jsxs(NA,{children:[s.jsx(_1,{onOpenList:x,withoutPortal:!0,padding:"2px",width:"90px",height:"200px",ref:t,targetElement:s.jsxs(ZA,{children:[E," ",s.jsx(yc,{})]}),children:s.jsx("div",{children:La.map(k=>s.jsx(xc,{ref:k===E?o:null,isActiveItem:k===E,onClick:()=>v(k),children:k},k))})}),s.jsx(_1,{onOpenList:y,withoutPortal:!0,padding:"2px",width:"90px",height:"200px",ref:n,targetElement:s.jsxs(Tu,{children:[I," ",s.jsx(yc,{})]}),children:s.jsx("div",{children:g.map(k=>s.jsx(xc,{ref:k===I?r:null,isActiveItem:k===I,onClick:()=>b(k),children:k},k))})})]}),s.jsx(bc,{style:{paddingLeft:25},onClick:u,disabled:p,children:s.jsx(wc,{style:{transform:"rotate(180deg)"}})})]})},YA=h.styled.div`
6956
6956
  display: flex;
6957
6957
  align-items: center;
6958
6958