profinansy-ui-lib 3.8.19 → 3.8.21

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.
@@ -573,7 +573,7 @@ Check the top-level render call using <`+q+">.")}return G}}function U2(M,G){{if(
573
573
  Copyright (c) 2018 Jed Watson.
574
574
  Licensed under the MIT License (MIT), see
575
575
  http://jedwatson.github.io/classnames
576
- */var Ol;function hh(){return Ol||(Ol=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=o(i,r(l)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=o(a,l));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(ea)),ea.exports}var mh=hh();const Be=y9(mh),gh=()=>{const[e,t]=m.useState(!1);return m.useEffect(()=>{const n=document.getElementById(x3);if(!n)return;const r=n.children[n.children.length-1];if(!r)return;const o=Array.from(r.children).filter(a=>a instanceof HTMLDivElement),i=o[o.length-1];return t(!0),i.style.display="none",()=>{i&&(i.style.display="flex")}},[]),{isExistStack:e}},x3="react-modals",Nt=e=>{const{animation:t,showModal:n,content:r,handleClose:o}=bi({isOpen:e.open,children:e.children,onClose:e.onClose});return n?s.jsx(Ch,{...e,onClose:o,animation:t,children:r}):null},Ch=({onClose:e,children:t,title:n,subtitle:r,showCloseButton:o=!0,styleContent:i,styleContentInside:a,classNameWrapper:l,styleBackground:c,styleWrapper:u,classNameBackground:f,classNameContent:p,className:C,classNameHeader:g,animation:v,disableClosing:b=!1,titlePosition:x="left",isOverflowAuto:y=!1,rightContent:E,bottomContent:w,adaptiveRightContent:I,maxWidth:k,containerId:$=x3})=>{const L=()=>{b||S()},S=()=>{e&&e()};vi(L);const{isExistStack:D}=gh(),{mode:j}=te();return s.jsx(Q1,{id:$,children:s.jsx(h.ThemeProvider,{theme:J[j],children:s.jsxs(eh,{className:Be(l,"modal-wrapper",C),$open:v,style:u,$isOverflowAuto:y,children:[!D&&s.jsx(th,{className:f,onClick:L,style:c}),s.jsx(nh,{children:s.jsxs(rh,{$isOverflowAuto:y,$maxWidth:k,$open:v,$showCloseButton:o,className:Be(p,"modal-content"),style:i,children:[o&&s.jsx(uh,{onClick:e,children:s.jsx(b3,{className:"modal-closeBtn"})}),s.jsxs(oh,{$isOverflowAuto:y,style:a,className:"modal-contentInside",children:[!!n&&s.jsxs(ih,{className:Be(g,"modal-header"),children:[s.jsxs(ah,{adaptiveRightContent:I,children:[s.jsx(sh,{titlePosition:x,tag:"h5",variant:"header5-Bold",children:n}),E||null]}),!!r&&s.jsx(lh,{tag:"span",variant:"text-Regular",children:r})]}),t,w&&s.jsx(ch,{children:w})]})]})})]})})})},vh=h.styled.div`
576
+ */var Ol;function hh(){return Ol||(Ol=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=o(i,r(l)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=o(a,l));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(ea)),ea.exports}var mh=hh();const Be=y9(mh),gh=()=>{const[e,t]=m.useState(!1);return m.useEffect(()=>{const n=document.getElementById(x3);if(!n)return;const r=n.children[n.children.length-1];if(!r)return;const o=Array.from(r.children).filter(a=>a instanceof HTMLDivElement),i=o[o.length-1];return t(!0),i.style.display="none",()=>{i&&(i.style.display="flex")}},[]),{isExistStack:e}},x3="react-modals",Nt=e=>{const{animation:t,showModal:n,content:r,handleClose:o}=bi({isOpen:e.open,children:e.children,onClose:e.onClose});return n?s.jsx(Ch,{...e,onClose:o,animation:t,children:r}):null},Ch=({onClose:e,children:t,title:n,subtitle:r,showCloseButton:o=!0,styleContent:i,styleContentInside:a,classNameWrapper:l,styleBackground:c,styleWrapper:u,classNameBackground:f,classNameContent:p,className:C,classNameHeader:g,animation:v,disableClosing:b=!1,titlePosition:x="left",isOverflowAuto:y=!1,rightContent:E,bottomContent:w,adaptiveRightContent:I,maxWidth:k,containerId:$=x3})=>{const L=()=>{b||S()},S=()=>{e&&e()};vi(L);const{isExistStack:D}=gh(),{mode:j}=te();return s.jsx(Q1,{id:$,children:s.jsx(h.ThemeProvider,{theme:J[j],children:s.jsxs(eh,{className:Be(l,"modal-wrapper",C),$open:v,style:u,$isOverflowAuto:y,children:[!D&&s.jsx(th,{className:f,onClick:L,style:c}),s.jsx(nh,{children:s.jsxs(rh,{$isOverflowAuto:y,$maxWidth:k,$open:v,$showCloseButton:o,className:Be(p,"modal-content"),style:i,children:[o&&s.jsx(uh,{onClick:e,children:s.jsx(b3,{className:"modal-closeBtn"})}),s.jsxs(oh,{$isOverflowAuto:y,style:a,className:"modal-contentInside",children:[!!n&&s.jsxs(ih,{className:Be(g,"modal-header"),children:[s.jsxs(ah,{adaptiveRightContent:I,children:[s.jsx(sh,{titlePosition:x,tag:"h5",variant:"header5-Bold",children:n}),E||null]}),!!r&&s.jsx(lh,{tag:"span",variant:"text-Regular",children:r})]}),t,w&&s.jsx(ch,{className:"modal-bottomContent",children:w})]})]})})]})})})},vh=h.styled.div`
577
577
  display: flex;
578
578
  font-family: 'Manrope', sans-serif;
579
579
  max-width: 900px;