groundfloor-react-ui 1.2.41 → 1.2.43

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.
Files changed (3) hide show
  1. package/dist/index.es.js +187 -174
  2. package/dist/index.js +185 -172
  3. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from"prop-types";import t,{forwardRef as l,useRef as o,useState as r,useEffect as i,createRef as n,Component as a,Fragment as c,createContext as s,useMemo as d,useContext as p}from"react";import m,{useTheme as b,css as u,keyframes as g,createGlobalStyle as f}from"styled-components";import{ReactSVG as h}from"react-svg";import{usePopperTooltip as y}from"react-popper-tooltip";import x from"react-datepicker";import v from"dayjs";import"dayjs/locale/es";import A,{components as C}from"react-select";import w from"react-select/async";import S from"react-signature-pad-wrapper";import E from"react-data-table-component";import k from"react-modal";import{createPortal as z}from"react-dom";function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},V.apply(this,arguments)}const M={"primary-1":"#2E56F4","primary-2":"#081348"},B={error:"#DD0000",success:"#00B904 "},W={"neutral-1":"#39424D","neutral-2":"#929EAC","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},I={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},L={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},R={primary:{...M},ui:{...B},neutral:{...W},shade:{...I},graph:{...L},variant:{...M,...B,...W,...I,...L},textColor:M["primary-2"],bgColor:"#FFFFFF",black:"#000000",border:"#D4D7E3"},P={common:{color:"blue","background-color":`${R.bgColor}`},label:{"padding-left":"6px","font-style":"normal","font-weight":"normal","font-size":"14px",display:"flex",width:"inherit","align-items":"flex-start",color:`${R.variant["neutral-2"]}`,"margin-bottom":"0","padding-bottom":"0"},button:{color:"red","border-color":"black"},progressbarLabel:{display:"block","margin-left":"13px","margin-bottom":"7px","padding-bottom":"0","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${R.neutral["neutral-2"]}`},spinner:{"background-color":`${R.variant["neutral-1"]}`},avatarContainer:{background:"transparent",display:"flex","align-items":"center",width:"auto",position:"relative"},avatarCircle:{"border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","box-sizing":"border-box"},avatarCircleSM:{"font-weight":"600","font-size":"12px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"16px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"18px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"16px","font-size":"16px"},avatarNameLG:{"margin-left":"16px","font-size":"16px"},"textbox-wrapper":{"border-radius":"4px",padding:"5.5px 7px",display:"flex","align-items":"center","line-height":".5rem",position:"relative"},"input-wrapper":{border:"0",outline:"0",margin:"0 5px",padding:"0px","font-size":"14px","flex-grow":"1","flex-shrink":"0","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},"textarea-wrapper":{border:"0",outline:"0",color:`${R.variant["primary-2"]}`,margin:"0 5px",padding:"5px","font-size":"14px","flex-grow":"1","flex-shrink":"0","line-height":"12px"},"label-text":{"font-family":"Averta","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${R.variant["neutral-2"]}`,display:"flex","align-items":"center","justify-content":"center",width:"max-content","background-color":"transparent","margin-bottom":"0px","padding-bottom":"0px"},image:{"border-radius":"0%",width:"100%",height:"100%"},imageAvatar:{"border-radius":"50%","box-sizing":"border-box",position:"absolute"},imageAvatarSM:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"30px",height:"30px"},imageAvatarMD:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"32px",height:"32px"},imageAvatarLG:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"38px",height:"38px"},table:{table:{style:{borderRadius:"4px",paddingRight:"0px",backgroundColor:"transparent"}},checkbox:{style:{maxHeight:"28px",maxWidth:"28px"}},headRow:{style:{background:`${R.variant["neutral-5"]}`,borderLeft:`1px solid ${R.variant["neutral-5"]}`,borderRight:`1px headRowsolid ${R.variant["neutral-5"]}`,borderTop:`1px solid ${R.variant["neutral-5"]}`,borderTopLeftRadius:"4px",borderTopRightRadius:"4px",paddingLeft:"56px",borderBottom:"none",minHeight:"44px",maxHeight:"44px"}},headCells:{style:{fontSize:"14px",fontWeight:"600","&:first-of-type":{paddingLeft:"0px !important"}}},rows:{style:{background:`${R.variant.bgColor}`,"&:not(:last-of-type)":{borderBottomColor:"none"},"&:last-of-type":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},borderLeft:`1px solid ${R.variant["neutral-5"]}`,borderRight:`1px solid ${R.variant["neutral-5"]}`,borderBottom:`1px solid ${R.variant["neutral-5"]}`},highlightOnHoverStyle:{backgroundColor:`${R.variant["neutral-5"]}`}}},header:{display:"flex","justify-content":"space-between","align-items":"center",position:"fixed","z-index":"1000",top:"0",right:"0",left:"0","min-height":"56px","margin-left":"48px","font-size":"16px","background-color":`${R.bgColor}`,"border-bottom":`0.5px solid ${R.variant["neutral-3"]}`},content:{"background-color":"#eef1f7",width:"100%","min-height":"100%","padding-top":"53px","box-sizing":"border-box",display:"flex","flex-direction":"column","margin-left":"70px"},"radio-outer-circle":{width:"20px",height:"20px","min-width":"20px","min-height":"20px","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"},"radio-inner-circle":{display:"flex","align-self":"center",margin:"0","border-radius":"50%"},"radio-label":{display:"block","margin-bottom":"7px","padding-bottom":"0",color:`${R.variant["neutral-2"]}`},"option-text":{color:"#A9B1B8","font-size":"16px"},sidebarContainer:{"min-height":"100%",overflow:"hidden","background-color":"#2e56f4",position:"fixed",color:"white",width:"48px",transition:"width ease 400ms"},"checkBox-outer":{border:`2px solid ${R.border}`,minWidth:"20px",width:"20px",height:"20px","border-radius":"3px",cursor:"pointer","background-color":`${R.bgColor}`},"checkBox-inner":{"background-repeat":"no-repeat","background-position":"center",minWidth:"20px",width:"20px",height:"20px",color:`${R.bgColor}`,cursor:"pointer","text-align":"center","border-radius":"3px"},"check-label":{display:"block","margin-bottom":"7px","padding-bottom":"0px",color:`${R.variant["neutral-2"]}`},"checkbox-option-text":{"font-size":"16px","margin-left":"10px","background-color":`${R.bgColor}`},"toggle-switch-wrapper":{display:"flex","align-items":"center",gap:"7px",width:"fit-content"},"toggle-switch-checkbox-label":{position:"absolute",width:"45px",height:"22px","border-radius":"31px",cursor:"pointer",marginBottom:"0px"},"toggle-switch-option-text":{color:`${R.neutral["neutral-1"]}`,"font-size":"16px"},"dropzone-parent":{height:"86px","padding-left":"8px","padding-right":"8px",display:"flex","justify-content":"center","align-items":"center","font-size":"16px","border-radius":"5.5px",color:` ${R.textColor}`},"dropzone-file-div":{width:"inherit",height:"38px",display:"flex","justify-content":"center","align-items":"center","font-size":"14px",color:`${R.textColor}`,"background-color":`${R.bgColor}`,"box-shadow":"0px 5px 15px rgba(33, 55, 71, 0.096946)","border-radius":"5.5px","margin-top":"5px"},"dropzone-text-div":{display:"flex","justify-content":"center","margin-left":"14px",color:`${R.textColor}`,"background-color":"transparent"},"dropzone-file-name":{"margin-left":"5px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap",padding:"2px","font-size":"14px",color:"#494949"},"signature-parent-div":{"border-radius":"5.5px","align-content":"flex-start","justify-content":"center",width:"inherit","max-width":"532px",height:"86px",display:"block","flex-flow":"column wrap","font-size":"17px",color:`${R.textColor}`,"background-color":`${R.bgColor}`},"signature-wrapper-div":{display:"flex",flex:"auto","justify-content":"center","align-items":"center","font-size":"17px",height:"inherit",color:`${R.textColor}`,"background-color":"transparent"},"signature-input-text":{border:"0","text-align":"center",display:"block",height:"48px",width:"calc(100% - 54px)!important","background-color":`${R.bgColor}`,"font-family":"Beauty","background-clip":"padding-box",color:"#444444","font-style":"normal","font-weight":"normal","font-size":"47px","padding-left":"10px"},"modal-background":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.6)","z-index":"2000"},"modal-wrapper":{position:"fixed",display:"flex","align-items":"end","justify-content":"center","flex-direction":"column",background:"white",width:"fit-content",height:"fit-content",top:"50%",left:"50%",transform:"translate(-50%, -50%)","border-radius":"5px"},"modal-close-button":{cursor:"pointer",width:"fit-content",height:"fit-content",padding:"0","padding-right":"5px","padding-top":"5px",color:`${R.textColor}`},footer:{display:"flex","margin-top":"auto",width:"100%"},drawer:{"min-height":"100%",overflow:"hidden",position:"fixed",width:"360px",transition:"transform ease 400ms",display:"flex","flex-direction":"column","background-color":"white","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"56px",right:"0px","z-index":"1001"},"drawer-close":{transform:"translateX(360px)"},"drawer-open":{transform:"translateX(0px)"},"tooltip-container":{"background-color":`${R.bgColor}`,"border-radius":"3.6px",border:`1px solid ${R.bgColor}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"tooltip-arrow":{height:"19px",position:"absolute",width:"29px","pointer-events":"none"},"tooltip-arrow-before":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",width:"0"},"tooltip-arrow-after":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",position:"absolute",width:"0"},"tp-cont-bottom-arrow-before":{"border-color":`transparent transparent ${R.bgColor} transparent`,"border-width":"0 15px 19px 15px",position:"absolute",top:"-1px"},"tp-cont-bottom-arrow-after":{"border-color":`transparent transparent ${R.bgColor} transparent`,"border-width":"0 15px 19px 15px"},"tp-cont-top-arrow-before":{"border-color":`${R.bgColor} transparent transparent transparent`,"border-width":"19px 15px 0 15px",position:"absolute",top:"1px"},"tp-cont-top-arrow-after":{"border-color":`${R.bgColor} transparent transparent transparent`,"border-width":"19px 15px 0 15px"},"tp-cont-right-arrow-before":{"border-color":`transparent ${R.bgColor} transparent transparent`,"border-width":"15px 19px 15px 0"},"tp-cont-right-arrow-after":{"border-color":`transparent ${R.bgColor} transparent transparent`,"border-width":"15px 19px 15px 0",left:"6px",top:"0"},"tp-cont-left-arrow-before":{"border-color":`transparent transparent transparent ${R.bgColor}`,"border-width":"15px 0 15px 19px"},"tp-cont-left-arrow-after":{"border-color":`transparent transparent transparent ${R.bgColor}`,"border-width":"15px 0 15px 19px",left:"3px",top:"0"},"tp-cont-bottom-arrow":{left:"0","margin-top":"-19px",top:"0"},"tp-cont-top-arrow":{bottom:"0",left:"0","margin-bottom":"-19px"},"tp-cont-right-arrow":{left:"0","margin-left":"-24px"},"tp-cont-left-arrow":{"margin-right":"-24px",right:"0"},overlay:{"background-color":`${R.bgColor}`,"border-radius":"3.6px",border:`1px solid ${R.bgColor}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"simple-overlay":{"background-color":`${R.variant["neutral-1"]}`,"border-radius":"6px",border:`1px solid ${R.variant["neutral-1"]}`,color:`${R.bgColor}`,display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"sidebar-container":{"background-color":"#2e56f4",position:"fixed",color:"white",transition:"all ease 300ms",display:"flex","flex-direction":"column","z-index":"1001"},"sidebar-container-open":{width:"240px"},"sidebar-container-close":{width:"48px"},"sidebar-container-mobile-open":{width:"240px","z-index":"9999999"},"sidebar-container-mobile-close":{width:"0px","z-index":"1001"},"sidebar-pusher":{"min-height":"100%",overflow:"hidden","background-color":"transparent",position:"fixed",transition:"width ease 400ms"},"sidebar-pusher-open":{width:"240px"},"sidebar-pusher-close":{width:"70px"},"sidebar-pusher-mobile":{width:"0px"},"modalComp-custom-style":{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",zIndex:"999"}},"modalComp-modal-close":{position:"absolute",top:"15px",right:"10px",outline:"none",border:"none",background:"transparent",cursor:"pointer"},"modalComp-modal-body":{"margin-top":"20px","margin-bottom":"15px"},"modalComp-modal-footer":{"margin-top":"30px","margin-bottom":"15px",padding:"1rem 3rem 0rem 3rem","&:before":{content:"",position:"fixed",display:"inline-block",left:0,right:0,"margin-top":"-0.9rem","z-index":-1},"selectComp-label-wrapper":{paddingBottom:"10px",display:"flex",width:"25vw"}},"popOver-Content":{padding:"16px",color:"white",width:"226px",borderRadius:"3.6px"},"popOver-header":{marginBottom:"8px",fontWeight:"600"},"popOver-body":{marginBottom:"11.5px"},ColorWrapper:{borderRadius:"4.87px",padding:"8px 21px",display:"flex"},"input-color":{borderRadius:"4px",width:"24px",height:"24px"},toastWrapper:{backgroundColor:"#ffffff",maxWidth:"416px",borderRadius:"6px 6px 0px 0px",paddingTop:"16px",zIndex:"2000"},messageWrapper:{paddingLeft:"16px",borderLeft:"1px solid #E5E7F0",marginLeft:"16px",marginRight:"16px",fontStyle:"normal",fontWeight:"400",fontSize:"14px",lineHeight:"20px"}},T=(e,t)=>{if(e){let l={};if(e[t]){for(const o in e[t])l[o]=e[t][o],delete e.common[o];for(const t in e.common)l[t]=e.common[t]}return l}};function H(e,t){var l=parseInt(e.slice(1,3),16),o=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return t?"rgba("+l+", "+o+", "+r+", "+t+")":"rgb("+l+", "+o+", "+r+")"}H("#FF0000",.5);const j=m.div`
1
+ import e from"prop-types";import t,{forwardRef as l,useRef as o,useState as r,useEffect as i,createRef as n,Component as a,Fragment as c,createContext as s,useMemo as d,useContext as p}from"react";import m,{useTheme as b,css as u,keyframes as g,createGlobalStyle as f}from"styled-components";import{ReactSVG as h}from"react-svg";import{usePopperTooltip as y}from"react-popper-tooltip";import x from"react-datepicker";import v from"dayjs";import"dayjs/locale/es";import A,{components as C}from"react-select";import w from"react-select/async";import S from"react-signature-pad-wrapper";import E from"react-data-table-component";import k from"react-modal";import{createPortal as z}from"react-dom";function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},V.apply(this,arguments)}const M={"primary-1":"#2E56F4","primary-2":"#081348"},B={error:"#DD0000",success:"#00B904 "},I={"neutral-1":"#39424D","neutral-2":"#929EAC","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},W={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},L={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},R={primary:{...M},ui:{...B},neutral:{...I},shade:{...W},graph:{...L},variant:{...M,...B,...I,...W,...L},textColor:M["primary-2"],bgColor:"#FFFFFF",black:"#000000",border:"#D4D7E3"},P={common:{color:"blue","background-color":`${R.bgColor}`},label:{"padding-left":"6px","font-style":"normal","font-weight":"normal","font-size":"14px",display:"flex",width:"inherit","align-items":"flex-start",color:`${R.variant["neutral-2"]}`,"margin-bottom":"0","padding-bottom":"0"},button:{color:"red","border-color":"black"},"progressBar-label":{display:"block","margin-left":"13px","margin-bottom":"8px","padding-bottom":"0","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${R.neutral["neutral-2"]}`},spinner:{"background-color":`${R.variant["neutral-1"]}`},avatarContainer:{background:"transparent",display:"flex","align-items":"center",width:"auto",position:"relative"},avatarCircle:{"border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","box-sizing":"border-box"},avatarCircleSM:{"font-weight":"600","font-size":"12px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"16px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"18px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"16px","font-size":"16px"},avatarNameLG:{"margin-left":"16px","font-size":"16px"},"textbox-wrapper":{"border-radius":"4px",padding:"5.5px 7px",display:"flex","align-items":"center","line-height":".5rem",position:"relative"},"input-wrapper":{border:"0",outline:"0",margin:"0 5px",padding:"0px","font-size":"14px","flex-grow":"1","flex-shrink":"0","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},"textarea-wrapper":{border:"0",outline:"0",color:`${R.variant["primary-2"]}`,margin:"0 5px",padding:"5px","font-size":"14px","flex-grow":"1","flex-shrink":"0","line-height":"12px"},"label-text":{"font-family":"Averta","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${R.variant["neutral-2"]}`,display:"flex","align-items":"center","justify-content":"center",width:"max-content","background-color":"transparent","margin-bottom":"0px","padding-bottom":"0px"},image:{"border-radius":"0%",width:"100%",height:"100%"},imageAvatar:{"border-radius":"50%","box-sizing":"border-box",position:"absolute"},imageAvatarSM:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"30px",height:"30px"},imageAvatarMD:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"32px",height:"32px"},imageAvatarLG:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"38px",height:"38px"},table:{table:{style:{borderRadius:"4px",paddingRight:"0px",backgroundColor:"transparent"}},checkbox:{style:{maxHeight:"28px",maxWidth:"28px"}},headRow:{style:{background:`${R.variant["neutral-5"]}`,borderLeft:`1px solid ${R.variant["neutral-5"]}`,borderRight:`1px headRowsolid ${R.variant["neutral-5"]}`,borderTop:`1px solid ${R.variant["neutral-5"]}`,borderTopLeftRadius:"4px",borderTopRightRadius:"4px",paddingLeft:"56px",borderBottom:"none",minHeight:"44px",maxHeight:"44px"}},headCells:{style:{fontSize:"14px",fontWeight:"600","&:first-of-type":{paddingLeft:"0px !important"}}},rows:{style:{background:`${R.variant.bgColor}`,"&:not(:last-of-type)":{borderBottomColor:"none"},"&:last-of-type":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},borderLeft:`1px solid ${R.variant["neutral-5"]}`,borderRight:`1px solid ${R.variant["neutral-5"]}`,borderBottom:`1px solid ${R.variant["neutral-5"]}`},highlightOnHoverStyle:{backgroundColor:`${R.variant["neutral-5"]}`}}},header:{display:"flex","justify-content":"space-between","align-items":"center",position:"fixed","z-index":"1000",top:"0",right:"0",left:"0","min-height":"56px","margin-left":"48px","font-size":"16px","background-color":`${R.bgColor}`,"border-bottom":`0.5px solid ${R.variant["neutral-3"]}`},content:{"background-color":"#eef1f7",width:"100%","min-height":"100%","padding-top":"53px","box-sizing":"border-box",display:"flex","flex-direction":"column","margin-left":"70px"},"radio-outer-circle":{width:"20px",height:"20px","min-width":"20px","min-height":"20px","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"},"radio-inner-circle":{display:"flex","align-self":"center",margin:"0","border-radius":"50%"},"radio-label":{display:"block","margin-bottom":"8px","padding-bottom":0,color:`${R.variant["neutral-2"]}`},"option-text":{color:"#A9B1B8","font-size":"16px"},sidebarContainer:{"min-height":"100%",overflow:"hidden","background-color":"#2e56f4",position:"fixed",color:"white",width:"48px",transition:"width ease 400ms"},"checkBox-outer":{border:`2px solid ${R.border}`,minWidth:"20px",width:"20px",height:"20px","border-radius":"3px",cursor:"pointer","background-color":`${R.bgColor}`},"checkBox-inner":{"background-repeat":"no-repeat","background-position":"center",minWidth:"20px",width:"20px",height:"20px",color:`${R.bgColor}`,cursor:"pointer","text-align":"center","border-radius":"3px"},"check-label":{display:"block","margin-bottom":"8px","padding-bottom":"0px",color:`${R.variant["neutral-2"]}`},"checkbox-option-text":{"font-size":"16px","margin-left":"10px","background-color":`${R.bgColor}`},"toggle-switch-wrapper":{display:"flex","align-items":"center",gap:"7px",width:"fit-content"},"toggle-switch-checkbox-label":{position:"absolute",width:"45px",height:"22px","border-radius":"31px",cursor:"pointer",marginBottom:"0px"},"toggle-switch-option-text":{color:`${R.neutral["neutral-1"]}`,"font-size":"16px"},"dropzone-parent":{height:"86px","padding-left":"8px","padding-right":"8px",display:"flex","justify-content":"center","align-items":"center","font-size":"16px","border-radius":"5.5px",color:` ${R.textColor}`},"dropzone-file-div":{width:"inherit",height:"38px",display:"flex","justify-content":"center","align-items":"center","font-size":"14px",color:`${R.textColor}`,"background-color":`${R.bgColor}`,"box-shadow":"0px 5px 15px rgba(33, 55, 71, 0.096946)","border-radius":"5.5px","margin-top":"5px"},"dropzone-text-div":{display:"flex","justify-content":"center","margin-left":"14px",color:`${R.textColor}`,"background-color":"transparent"},"dropzone-file-name":{"margin-left":"5px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap",padding:"2px","font-size":"14px",color:"#494949"},"signature-parent-div":{"border-radius":"5.5px","align-content":"flex-start","justify-content":"center",width:"inherit","max-width":"532px",height:"86px",display:"block","flex-flow":"column wrap","font-size":"17px",color:`${R.textColor}`,"background-color":`${R.bgColor}`},"signature-wrapper-div":{display:"flex",flex:"auto","justify-content":"center","align-items":"center","font-size":"17px",height:"inherit",color:`${R.textColor}`,"background-color":"transparent"},"signature-input-text":{border:"0","text-align":"center",display:"block",height:"48px",width:"calc(100% - 54px)!important","background-color":`${R.bgColor}`,"font-family":"Beauty","background-clip":"padding-box",color:"#444444","font-style":"normal","font-weight":"normal","font-size":"47px","padding-left":"10px"},"modal-background":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.6)","z-index":"2000"},"modal-wrapper":{position:"fixed",display:"flex","align-items":"end","justify-content":"center","flex-direction":"column",background:"white",width:"fit-content",height:"fit-content",top:"50%",left:"50%",transform:"translate(-50%, -50%)","border-radius":"5px"},"modal-close-button":{cursor:"pointer",width:"fit-content",height:"fit-content",padding:"0","padding-right":"5px","padding-top":"5px",color:`${R.textColor}`},footer:{display:"flex","margin-top":"auto",width:"100%"},drawer:{"min-height":"100%",overflow:"hidden",position:"fixed",width:"360px",transition:"transform ease 400ms",display:"flex","flex-direction":"column","background-color":"white","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"56px",right:"0px","z-index":"1001"},"drawer-close":{transform:"translateX(360px)"},"drawer-open":{transform:"translateX(0px)"},"tooltip-container":{"background-color":`${R.bgColor}`,"border-radius":"3.6px",border:`1px solid ${R.bgColor}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"tooltip-arrow":{height:"19px",position:"absolute",width:"29px","pointer-events":"none"},"tooltip-arrow-before":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",width:"0"},"tooltip-arrow-after":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",position:"absolute",width:"0"},"tp-cont-bottom-arrow-before":{"border-color":`transparent transparent ${R.bgColor} transparent`,"border-width":"0 15px 19px 15px",position:"absolute",top:"-1px"},"tp-cont-bottom-arrow-after":{"border-color":`transparent transparent ${R.bgColor} transparent`,"border-width":"0 15px 19px 15px"},"tp-cont-top-arrow-before":{"border-color":`${R.bgColor} transparent transparent transparent`,"border-width":"19px 15px 0 15px",position:"absolute",top:"1px"},"tp-cont-top-arrow-after":{"border-color":`${R.bgColor} transparent transparent transparent`,"border-width":"19px 15px 0 15px"},"tp-cont-right-arrow-before":{"border-color":`transparent ${R.bgColor} transparent transparent`,"border-width":"15px 19px 15px 0"},"tp-cont-right-arrow-after":{"border-color":`transparent ${R.bgColor} transparent transparent`,"border-width":"15px 19px 15px 0",left:"6px",top:"0"},"tp-cont-left-arrow-before":{"border-color":`transparent transparent transparent ${R.bgColor}`,"border-width":"15px 0 15px 19px"},"tp-cont-left-arrow-after":{"border-color":`transparent transparent transparent ${R.bgColor}`,"border-width":"15px 0 15px 19px",left:"3px",top:"0"},"tp-cont-bottom-arrow":{left:"0","margin-top":"-19px",top:"0"},"tp-cont-top-arrow":{bottom:"0",left:"0","margin-bottom":"-19px"},"tp-cont-right-arrow":{left:"0","margin-left":"-24px"},"tp-cont-left-arrow":{"margin-right":"-24px",right:"0"},overlay:{"background-color":`${R.bgColor}`,"border-radius":"3.6px",border:`1px solid ${R.bgColor}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"simple-overlay":{"background-color":`${R.variant["neutral-1"]}`,"border-radius":"6px",border:`1px solid ${R.variant["neutral-1"]}`,color:`${R.bgColor}`,display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"sidebar-container":{"background-color":"#2e56f4",position:"fixed",color:"white",transition:"all ease 300ms",display:"flex","flex-direction":"column","z-index":"1001"},"sidebar-container-open":{width:"240px"},"sidebar-container-close":{width:"48px"},"sidebar-container-mobile-open":{width:"240px","z-index":"9999999"},"sidebar-container-mobile-close":{width:"0px","z-index":"1001"},"sidebar-pusher":{"min-height":"100%",overflow:"hidden","background-color":"transparent",position:"fixed",transition:"width ease 400ms"},"sidebar-pusher-open":{width:"240px"},"sidebar-pusher-close":{width:"70px"},"sidebar-pusher-mobile":{width:"0px"},"modalComp-custom-style":{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",zIndex:"999"}},"modalComp-modal-close":{position:"absolute",top:"15px",right:"10px",outline:"none",border:"none",background:"transparent",cursor:"pointer"},"modalComp-modal-body":{"margin-top":"20px","margin-bottom":"15px"},"modalComp-modal-footer":{"margin-top":"30px","margin-bottom":"15px",padding:"1rem 3rem 0rem 3rem","&:before":{content:"",position:"fixed",display:"inline-block",left:0,right:0,"margin-top":"-0.9rem","z-index":-1},"selectComp-label-wrapper":{paddingBottom:"10px",display:"flex",width:"25vw"}},"popOver-Content":{padding:"16px",color:"white",width:"226px",borderRadius:"3.6px"},"popOver-header":{marginBottom:"8px",fontWeight:"600"},"popOver-body":{marginBottom:"11.5px"},ColorWrapper:{borderRadius:"4.87px",padding:"8px 21px",display:"flex"},"input-color":{borderRadius:"4px",width:"24px",height:"24px"},toastWrapper:{backgroundColor:"#ffffff",maxWidth:"416px",borderRadius:"6px 6px 0px 0px",paddingTop:"16px",zIndex:"2000"},messageWrapper:{paddingLeft:"16px",borderLeft:"1px solid #E5E7F0",marginLeft:"16px",marginRight:"16px",fontStyle:"normal",fontWeight:"400",fontSize:"14px",lineHeight:"20px"}},T=(e,t)=>{if(e){let l={};if(e[t]){for(const o in e[t])l[o]=e[t][o],delete e.common[o];for(const t in e.common)l[t]=e.common[t]}return l}};function H(e,t){var l=parseInt(e.slice(1,3),16),o=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return t?"rgba("+l+", "+o+", "+r+", "+t+")":"rgb("+l+", "+o+", "+r+")"}H("#FF0000",.5);const j=m.div`
2
2
  color: ${({activeTheme:e})=>e.textColor};
3
3
  padding-top: 25px;
4
4
  padding-bottom: 25px;
@@ -546,7 +546,7 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t i
546
546
  animation: ${Ve} 1s linear infinite;
547
547
 
548
548
  ${({customStyles:e})=>e}
549
- `,i=b()||R;return t.createElement(r,{theme:i,size:e,thickness:l,customStyles:o})};Me.propTypes={size:e.number,thickness:e.number,customStyles:e.object},Me.defaultProps={size:20,thickness:3,customStyles:null};const Be={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},We=m.button`
549
+ `,i=b()||R;return t.createElement(r,{theme:i,size:e,thickness:l,customStyles:o})};Me.propTypes={size:e.number,thickness:e.number,customStyles:e.object},Me.defaultProps={size:20,thickness:3,customStyles:null};const Be={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Ie=m.button`
550
550
  background: transparent;
551
551
  color: ${({theme:e})=>e.variant["primary-1"]};
552
552
  padding: ${({size:e})=>Be[e].padding};
@@ -568,7 +568,7 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t i
568
568
 
569
569
  // custom styles
570
570
  ${({btnStyle:e})=>e}
571
- `,Ie=({btnStyle:e,block:l,size:o,style:r,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=b()||R;return t.createElement(We,V({id:s,block:l,variant:i,defaultStyle:"button",type:c,style:r,size:o,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(ze,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};Ie.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,isLoading:e.bool,onClick:e.func,type:e.string,btnStyle:e.object,id:e.string},Ie.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Le={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Re=({theme:e,variant:t})=>H(e.variant[t],.6),Pe=m.button`
571
+ `,We=({btnStyle:e,block:l,size:o,style:r,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=b()||R;return t.createElement(Ie,V({id:s,block:l,variant:i,defaultStyle:"button",type:c,style:r,size:o,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(ze,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};We.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,isLoading:e.bool,onClick:e.func,type:e.string,btnStyle:e.object,id:e.string},We.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Le={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Re=({theme:e,variant:t})=>H(e.variant[t],.6),Pe=m.button`
572
572
  background: ${({theme:e,variant:t})=>e.variant[t]};
573
573
  color: ${({theme:e})=>e.bgColor};
574
574
  padding: ${({size:e})=>Le[e].padding};
@@ -714,7 +714,7 @@ ${({inBuiltCss:e,defaultTooltipBodyStyle:t})=>T(e,t)}
714
714
  ${({inBuiltCss:e,defaultTooltipTriggerStyle:t})=>T(e,t)}
715
715
  // custom styles
716
716
  ${({customTriggerStyle:e})=>e}
717
- `,Qe=({inBuiltCss:e,contentTrigger:l,contentTooltip:o,popperOptionsP:r,settings:i,customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:u,customStylesTPArightBefore:g,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:E,customHeaderStyle:k,customBodyStyle:z,customTriggerStyle:M,headerTooltip:B,footerTooltip:W,...I})=>{const L=b()||R,T={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:H,getTooltipProps:j,setTooltipRef:q,setTriggerRef:F,visible:Z}=y({interactive:!0,...i},T);return t.createElement(t.Fragment,null,t.createElement(Ye,{ref:F,inBuiltCss:P,customTriggerStyle:M,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},l),Z&&t.createElement(Oe,V({inBuiltCss:P,theme:L,ref:q},j({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:u,customStylesTPArightBefore:g,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),t.createElement(Ge,V({inBuiltCss:P},H({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w})),t.createElement(De,V({defaultTooltipContentStyle:"popOver-Content",theme:L,inBuiltCss:P},I,{customContentStyle:E}),t.createElement(Xe,V({defaultTooltipHeaderStyle:"popOver-header",theme:L,inBuiltCss:P},I,{customHeaderStyle:k}),B),t.createElement(Je,V({defaultTooltipBodyStyle:"popOver-body",theme:L,inBuiltCss:P},I,{customBodyStyle:z}),o),t.createElement(Ue,null,W))))};Qe.propTypes={contentTrigger:e.any,headerTooltip:e.any,contentTooltip:e.any,footerTooltip:e.any,popperOptionsP:e.object,settings:e.object,customContentStyle:e.object,customHeaderStyle:e.object,customBodyStyle:e.object,customStylesTPContainer:e.object,customStylesTPAbottom:e.object,customStylesTPAbottomBefore:e.object,customStylesTPAbottomAfter:e.object,customStylesTPAtop:e.object,customStylesTPAtopBefore:e.object,customStylesTPAtopAfter:e.object,customStylesTPAright:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object,customStylesTPAleft:e.object,customStylesTPAleftBefore:e.object,customStylesTPAleftAfter:e.object,customStylesTPArrow:e.object,customStylesTPAbefore:e.object,customStylesTPAafter:e.object,customTriggerStyle:e.object},Qe.defaultProps={contentTrigger:t.createElement("div",null,"Trigger"),headerTooltip:"Lovely tooltip title",contentTooltip:"There are a lot of things you can do in space, and space essentially is unlimited resources.",footerTooltip:t.createElement(qe,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ne=m.div`
717
+ `,Qe=({inBuiltCss:e,contentTrigger:l,contentTooltip:o,popperOptionsP:r,settings:i,customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:u,customStylesTPArightBefore:g,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:E,customHeaderStyle:k,customBodyStyle:z,customTriggerStyle:M,headerTooltip:B,footerTooltip:I,...W})=>{const L=b()||R,T={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:H,getTooltipProps:j,setTooltipRef:q,setTriggerRef:F,visible:Z}=y({interactive:!0,...i},T);return t.createElement(t.Fragment,null,t.createElement(Ye,{ref:F,inBuiltCss:P,customTriggerStyle:M,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},l),Z&&t.createElement(Oe,V({inBuiltCss:P,theme:L,ref:q},j({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:u,customStylesTPArightBefore:g,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),t.createElement(Ge,V({inBuiltCss:P},H({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w})),t.createElement(De,V({defaultTooltipContentStyle:"popOver-Content",theme:L,inBuiltCss:P},W,{customContentStyle:E}),t.createElement(Xe,V({defaultTooltipHeaderStyle:"popOver-header",theme:L,inBuiltCss:P},W,{customHeaderStyle:k}),B),t.createElement(Je,V({defaultTooltipBodyStyle:"popOver-body",theme:L,inBuiltCss:P},W,{customBodyStyle:z}),o),t.createElement(Ue,null,I))))};Qe.propTypes={contentTrigger:e.any,headerTooltip:e.any,contentTooltip:e.any,footerTooltip:e.any,popperOptionsP:e.object,settings:e.object,customContentStyle:e.object,customHeaderStyle:e.object,customBodyStyle:e.object,customStylesTPContainer:e.object,customStylesTPAbottom:e.object,customStylesTPAbottomBefore:e.object,customStylesTPAbottomAfter:e.object,customStylesTPAtop:e.object,customStylesTPAtopBefore:e.object,customStylesTPAtopAfter:e.object,customStylesTPAright:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object,customStylesTPAleft:e.object,customStylesTPAleftBefore:e.object,customStylesTPAleftAfter:e.object,customStylesTPArrow:e.object,customStylesTPAbefore:e.object,customStylesTPAafter:e.object,customTriggerStyle:e.object},Qe.defaultProps={contentTrigger:t.createElement("div",null,"Trigger"),headerTooltip:"Lovely tooltip title",contentTooltip:"There are a lot of things you can do in space, and space essentially is unlimited resources.",footerTooltip:t.createElement(qe,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ne=m.div`
718
718
  background: transparent;
719
719
  color: ${({theme:e,variant:t})=>e.variant[t]};
720
720
  font-size: ${({isPrimary:e})=>e?"16px":"14px"};
@@ -1081,7 +1081,7 @@ ${({customInputColorStyle:e})=>e}
1081
1081
  padding-left: 12px;
1082
1082
  padding-bottom: 12px;
1083
1083
  cursor: pointer;
1084
- `,vt=({startDate:e,setStartDate:l,disabled:n,theme:a,startYear:c,endYearRange:s,format:d,placeholderText:p,...m})=>{const u=b()||R,g=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var f=[],h=s||10,y=c||(new Date).getFullYear();y<=(new Date).getFullYear()+h;y++)f.push(y);const v=o(null),A=o(null),[C,w]=r(!1),[S,E]=r(!1),[k,z]=r(!1),[M,B]=r(!1),[W,I]=r(e.getFullYear()),[L,P]=r(g[e.getMonth()]);i((()=>{P(g[e.getMonth()]),I(e.getFullYear())}),[e]),i((()=>(document.addEventListener("click",T,!0),()=>{document.removeEventListener("click",T,!0)})),[]);const T=e=>{v.current&&!v.current.contains(e.target)&&w(!1)},H=e=>{A.current&&!A.current.contains(e.target)&&E(!1)};return i((()=>(document.addEventListener("click",H,!0),()=>{document.removeEventListener("click",H,!0)})),[]),t.createElement(mt,V({disabled:n,theme:a},m),t.createElement(x,{selected:e,dateFormat:d||"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>l(e),placeholderText:p,adjustDateOnChange:!0,disabled:n,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:l,changeMonth:o})=>t.createElement(bt,null,t.createElement("div",{style:{display:"flex"}},t.createElement(gt,{ref:v},t.createElement(ft,{onClick:()=>{w(!C),E(!1)}},t.createElement("span",{onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1),style:{color:`${k?u.variant["primary-1"]:u.textColor}`}},g[e.getMonth()]),t.createElement(ut,null,t.createElement(N,{icon:"triangle-down",color:k?u.variant["primary-1"]:u.textColor,size:7}))),C&&t.createElement(ht,null,t.createElement(yt,{theme:a,onMouseEnter:()=>z(!0)},g.map(((e,l)=>t.createElement(xt,{selectedMonth:L,onClick:()=>{z(!1),o(l),w(!1),P(g[l])},key:Math.random()},t.createElement("span",{style:{color:`${L===e?u.variant["primary-1"]:u.textColor}`}},e))))))),t.createElement(gt,{ref:A},t.createElement(ft,{style:{marginLeft:"28px"},onClick:()=>{E(!S),w(!1)}},t.createElement("span",{onMouseEnter:()=>B(!0),onMouseLeave:()=>B(!1),style:{color:`${M?u.variant["primary-1"]:u.textColor}`}},e.getFullYear()),t.createElement(ut,null,t.createElement(N,{icon:"triangle-down",color:M?u.variant["primary-1"]:u.textColor,size:7}))),S&&t.createElement(ht,null,t.createElement(yt,{onMouseEnter:()=>B(!0)},f.map(((e,o)=>t.createElement(xt,{onClick:()=>{B(!1),l(e),I(e),E(!1)},key:Math.random()},t.createElement("span",{style:{color:`${W===e?u.variant["primary-1"]:u.textColor}`}},e)))))))))}))};vt.propTypes={startDate:e.any,setStartDate:e.func,disabled:e.bool,theme:e.object,startYear:e.number,endYearRange:e.number,format:e.string,placeholderText:e.string},vt.defaultProps={theme:R,startDate:"",setStartDate:()=>{},disabled:!1};const At=m.div`
1084
+ `,vt=({startDate:e,setStartDate:l,disabled:n,theme:a,startYear:c,endYearRange:s,format:d,placeholderText:p,...m})=>{const u=b()||R,g=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var f=[],h=s||10,y=c||(new Date).getFullYear();y<=(new Date).getFullYear()+h;y++)f.push(y);const v=o(null),A=o(null),[C,w]=r(!1),[S,E]=r(!1),[k,z]=r(!1),[M,B]=r(!1),[I,W]=r(e.getFullYear()),[L,P]=r(g[e.getMonth()]);i((()=>{P(g[e.getMonth()]),W(e.getFullYear())}),[e]),i((()=>(document.addEventListener("click",T,!0),()=>{document.removeEventListener("click",T,!0)})),[]);const T=e=>{v.current&&!v.current.contains(e.target)&&w(!1)},H=e=>{A.current&&!A.current.contains(e.target)&&E(!1)};return i((()=>(document.addEventListener("click",H,!0),()=>{document.removeEventListener("click",H,!0)})),[]),t.createElement(mt,V({disabled:n,theme:a},m),t.createElement(x,{selected:e,dateFormat:d||"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>l(e),placeholderText:p,adjustDateOnChange:!0,disabled:n,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:l,changeMonth:o})=>t.createElement(bt,null,t.createElement("div",{style:{display:"flex"}},t.createElement(gt,{ref:v},t.createElement(ft,{onClick:()=>{w(!C),E(!1)}},t.createElement("span",{onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1),style:{color:`${k?u.variant["primary-1"]:u.textColor}`}},g[e.getMonth()]),t.createElement(ut,null,t.createElement(N,{icon:"triangle-down",color:k?u.variant["primary-1"]:u.textColor,size:7}))),C&&t.createElement(ht,null,t.createElement(yt,{theme:a,onMouseEnter:()=>z(!0)},g.map(((e,l)=>t.createElement(xt,{selectedMonth:L,onClick:()=>{z(!1),o(l),w(!1),P(g[l])},key:Math.random()},t.createElement("span",{style:{color:`${L===e?u.variant["primary-1"]:u.textColor}`}},e))))))),t.createElement(gt,{ref:A},t.createElement(ft,{style:{marginLeft:"28px"},onClick:()=>{E(!S),w(!1)}},t.createElement("span",{onMouseEnter:()=>B(!0),onMouseLeave:()=>B(!1),style:{color:`${M?u.variant["primary-1"]:u.textColor}`}},e.getFullYear()),t.createElement(ut,null,t.createElement(N,{icon:"triangle-down",color:M?u.variant["primary-1"]:u.textColor,size:7}))),S&&t.createElement(ht,null,t.createElement(yt,{onMouseEnter:()=>B(!0)},f.map(((e,o)=>t.createElement(xt,{onClick:()=>{B(!1),l(e),W(e),E(!1)},key:Math.random()},t.createElement("span",{style:{color:`${I===e?u.variant["primary-1"]:u.textColor}`}},e)))))))))}))};vt.propTypes={startDate:e.any,setStartDate:e.func,disabled:e.bool,theme:e.object,startYear:e.number,endYearRange:e.number,format:e.string,placeholderText:e.string},vt.defaultProps={theme:R,startDate:"",setStartDate:()=>{},disabled:!1};const At=m.div`
1085
1085
  .react-datepicker-wrapper {
1086
1086
  display: flex;
1087
1087
  }
@@ -1105,6 +1105,12 @@ border: 1px solid ${({theme:e})=>e.border};
1105
1105
  padding: 5.5px 12px;
1106
1106
  padding-right: 7px;
1107
1107
  border-radius: 4px;
1108
+ width: "100%";
1109
+ color: "#9c9c9c";
1110
+ display:'flex';
1111
+ justify-content:'space-between';
1112
+ alignItems: 'center'
1113
+
1108
1114
 
1109
1115
  // custom styles
1110
1116
  ${({timeBtnStyle:e})=>e};
@@ -1116,7 +1122,14 @@ padding: 8px;
1116
1122
 
1117
1123
  // custom styles
1118
1124
  ${({customHeaderStyle:e})=>e};
1119
- `,Et=({defaultValue:e,onChange:l,inputType:o,onClick:i,placeHolder:n,value:a,disabled:c,startYear:s,endYearRange:d,icon:p,iconColor:m,iconSize:u,customHeaderStyle:g,timeBtnStyle:f,wrapperStyle:h,...y})=>{const[A,C]=r(e);let w=A?new Date(A):null;for(var S=[],E=d||10,k=s||(new Date).getFullYear();k<=(new Date).getFullYear()+E;k++)S.push(k);let z={};switch(o){case"date":default:z.dateFormat="dd MMM, yyyy";break;case"month":z.dateFormat="MMMM yyyy",z.showMonthYearPicker=!0;break;case"year":z.dateFormat="yyyy",z.showYearPicker=!0;break;case"datetime-local":z.dateFormat="dd MMM yyyy, hh:mm a",z.showTimeSelect=!0,z.timeFormat="hh:mm a",z.timeIntervals=15,z.timeCaption="Time";break;case"time":z.showTimeSelect=!0,z.showTimeSelectOnly=!0,z.dateFormat="hh:mm a"}const M=b()||R;return t.createElement(At,V({theme:M},y,{wrapperStyle:h}),t.createElement(x,V({selected:w,disabled:c,customInput:t.createElement(Ct,{value:a,onClick:i,placeholder:n,theme:M},t.createElement(wt,V({theme:M,style:{width:"100%",color:"#9c9c9c",display:"flex",justifyContent:"space-between"},onClick:i,timeBtnStyle:f},y),a||(n||"-- : -- --"),t.createElement("span",{style:{marginTop:"-1px",marginLeft:"7px",float:"right"}},p?t.createElement(N,{icon:p,color:m,size:u}):null))),onChange:e=>{console.log(e),C(e);var t=null;t="datetime-local"==o?v(e).format("DD MMM YYYY, hh:mm A"):"date"==o?v(e).format("DD MMM, YYYY"):"year"==o?v(e).format("YYYY"):"month"==o?v(e).format("MMMM YYYY"):"time"==o?v(e).format("hh:mm A"):v(e).format("DD MMM, YYYY"),l(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:n},z,{renderCustomHeader:({date:e,changeYear:l,decreaseMonth:r,increaseMonth:i})=>{let n=v(e).format("MMMM");return t.createElement(St,V({theme:M},y,{inputType:o,customHeaderStyle:g}),"year"!==o?t.createElement("span",{style:{paddingLeft:"10px"},onClick:r},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"17",viewBox:"0 0 11 17"},t.createElement("path",{fill:"#9C9C9C",d:"M497.062 631.646L498.476 633.06 490.4 641.136 482.324 633.06 483.738 631.646 490.4 638.307z",transform:"rotate(90 561.9 79.891)"}))):null,t.createElement("b",null,"year"!==o?t.createElement("span",{style:{paddingRight:"5px"}},n):null," ",t.createElement("span",{className:"calender-year"},t.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>l(e)},S.map((e=>t.createElement("option",{key:e,value:e},e)))))),"year"!==o?t.createElement("span",{style:{paddingRight:"10px"},onClick:i},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"17",viewBox:"0 0 11 17"},t.createElement("path",{fill:"#9C9C9C",d:"M773.062 631.646L774.476 633.06 766.4 641.136 758.324 633.06 759.738 631.646 766.4 638.307z",transform:"matrix(0 1 1 0 -630.991 -758.009)"}))):null)}})))};Et.propTypes={defaultValue:e.string,onChange:e.func,inputType:e.string,onClick:e.func,placeHolder:e.string,value:e.string,disabled:e.bool,startYear:e.number,endYearRange:e.number,icon:e.string,iconColor:e.string,iconSize:e.number,customHeaderStyle:e.object,timeBtnStyle:e.object,wrapperStyle:e.object},Et.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,iconColor:"black",iconSize:16,value:"",defaultValue:"",onChange:()=>{}};const kt=m.div`
1125
+ `,Et=m.span`
1126
+ margin-top:-1px;
1127
+ margin-left: 7px;
1128
+ float: right;
1129
+
1130
+ // custom styles
1131
+ ${({customIconContainerStyle:e})=>e};
1132
+ `,kt=({defaultValue:e,onChange:l,inputType:o,onClick:i,placeHolder:n,value:a,disabled:c,startYear:s,endYearRange:d,icon:p,iconColor:m,iconSize:u,customHeaderStyle:g,timeBtnStyle:f,wrapperStyle:h,customIconContainerStyle:y,...A})=>{const[C,w]=r(e);let S=C?new Date(C):null;for(var E=[],k=d||10,z=s||(new Date).getFullYear();z<=(new Date).getFullYear()+k;z++)E.push(z);let M={};switch(o){case"date":default:M.dateFormat="dd MMM, yyyy";break;case"month":M.dateFormat="MMMM yyyy",M.showMonthYearPicker=!0;break;case"year":M.dateFormat="yyyy",M.showYearPicker=!0;break;case"datetime-local":M.dateFormat="dd MMM yyyy, hh:mm a",M.showTimeSelect=!0,M.timeFormat="hh:mm a",M.timeIntervals=15,M.timeCaption="Time";break;case"time":M.showTimeSelect=!0,M.showTimeSelectOnly=!0,M.dateFormat="hh:mm a"}const B=b()||R;return t.createElement(At,V({theme:B},A,{wrapperStyle:h}),t.createElement(x,V({selected:S,disabled:c,customInput:t.createElement(Ct,{value:a,onClick:i,placeholder:n,theme:B},t.createElement(wt,V({theme:B,style:{width:"100%",color:"#9c9c9c",display:"flex",justifyContent:"space-between",alignItems:"center"},onClick:i,timeBtnStyle:f},A),a||(n||"-- : -- --"),t.createElement(Et,V({theme:B},A,{customIconContainerStyle:y}),p?t.createElement(N,{icon:p,color:m,size:u}):null))),onChange:e=>{console.log(e),w(e);var t=null;t="datetime-local"==o?v(e).format("DD MMM YYYY, hh:mm A"):"date"==o?v(e).format("DD MMM, YYYY"):"year"==o?v(e).format("YYYY"):"month"==o?v(e).format("MMMM YYYY"):"time"==o?v(e).format("hh:mm A"):v(e).format("DD MMM, YYYY"),l(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:n},M,{renderCustomHeader:({date:e,changeYear:l,decreaseMonth:r,increaseMonth:i})=>{let n=v(e).format("MMMM");return t.createElement(St,V({theme:B},A,{inputType:o,customHeaderStyle:g}),"year"!==o?t.createElement("span",{style:{paddingLeft:"10px"},onClick:r},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"17",viewBox:"0 0 11 17"},t.createElement("path",{fill:"#9C9C9C",d:"M497.062 631.646L498.476 633.06 490.4 641.136 482.324 633.06 483.738 631.646 490.4 638.307z",transform:"rotate(90 561.9 79.891)"}))):null,t.createElement("b",null,"year"!==o?t.createElement("span",{style:{paddingRight:"5px"}},n):null," ",t.createElement("span",{className:"calender-year"},t.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>l(e)},E.map((e=>t.createElement("option",{key:e,value:e},e)))))),"year"!==o?t.createElement("span",{style:{paddingRight:"10px"},onClick:i},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"17",viewBox:"0 0 11 17"},t.createElement("path",{fill:"#9C9C9C",d:"M773.062 631.646L774.476 633.06 766.4 641.136 758.324 633.06 759.738 631.646 766.4 638.307z",transform:"matrix(0 1 1 0 -630.991 -758.009)"}))):null)}})))};kt.propTypes={defaultValue:e.string,onChange:e.func,inputType:e.string,onClick:e.func,placeHolder:e.string,value:e.string,disabled:e.bool,startYear:e.number,endYearRange:e.number,icon:e.string,iconColor:e.string,iconSize:e.number,customHeaderStyle:e.object,timeBtnStyle:e.object,wrapperStyle:e.object,customIconContainerStyle:e.object},kt.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,iconColor:"black",iconSize:16,value:"",defaultValue:"",onChange:()=>{}};const zt=m.div`
1120
1133
  .master-dropdown,
1121
1134
  .new-select {
1122
1135
  .master-dropdown__menu,
@@ -1259,7 +1272,7 @@ padding: 8px;
1259
1272
  border: ${({theme:e,backgroundColor:t})=>t?"1px solid "+t:"1px solid "+e.primary["primary-1"]};
1260
1273
  }
1261
1274
 
1262
- `;kt.defaultProps={theme:R};const zt=m.div`
1275
+ `;zt.defaultProps={theme:R};const Vt=m.div`
1263
1276
  // Default style
1264
1277
  display: flex;
1265
1278
 
@@ -1267,11 +1280,11 @@ padding: 8px;
1267
1280
  ${({inBuiltCss:e,labelWrapperStyle:t})=>T(e,t)}
1268
1281
  // custom styles
1269
1282
  ${({customLabelStyles:e})=>e}
1270
- `,Vt=m.div`
1283
+ `,Mt=m.div`
1271
1284
  margin-left: 6px;
1272
1285
  margin-top: -15.5px;
1273
1286
  cursor: pointer;
1274
- `,Mt=({getValue:e,children:l,...o})=>{const r=e().length;return t.createElement(C.ValueContainer,o,l,r>1&&t.createElement("span",{className:"text-more-alt"},"& ",r-1," more"))},Bt=({label:e,labelStyle:l,optionArr:o,selectedValue:r,setSelectedValue:i,placeHolder:n,isClearable:a,isValid:c,height:s,fontSize:d,loadOptions:p,onInputChange:m,clearSelected:u,customWrapperStyles:g,customLabelStyles:f,isRequired:h,dropdownType:y,isDisabled:x,isLoading:v,id:A,iconName:w,iconStyles:S,iconColor:E,iconSize:k,showIndicator:z,leftIcon:M,leftIconColor:B,leftIconSize:W,backgroundColor:I,placeHolderColor:L,indicatorBackgroundColor:T,inputColor:H,...j})=>{const q=b()||R,F=e=>{const l={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},o=t.createElement("div",{style:{...l,backgroundColor:e?.data?.color??q.primary["primary-1"]}},t.createElement(N,{icon:"check-icon",color:"white"})),r=t.createElement("div",{style:{...l,backgroundColor:"#e0e7ff"}});return t.createElement(C.Option,e,t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",width:"100%"}},e.isSelected?o:r,t.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},Z=({index:e,...l})=>{const o=l?.data?.label||"Select";return!e&&t.createElement("span",{className:"text-main-alt-value"},o)},O={control:(e,t)=>({...e,border:c?I&&c?"1px solid "+I:"1px solid "+q.border:"1px solid "+q.ui.error,minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:I||q.bgColor}),placeholder:e=>({...e,fontSize:d+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:L||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:T||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,display:"flex",justifyContent:"space-between",fontSize:d+"px",marginTop:"-4px"}),indicatorsContainer:e=>({...e,padding:0}),menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:d+"px",width:"100%",minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px"}),singleValue:e=>({...e,fontSize:d+"px",marginLeft:"0px",width:"auto",maxWidth:"89%",marginRight:0}),multiValue:e=>({...e,marginLeft:"0px",width:"auto"}),input:e=>({...e,fontSize:d+"px",color:H||"hsl(0, 0%, 20%)"}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?q.neutral["neutral-5"]:q.bgColor,padding:"10px",cursor:"pointer",color:"#081348",width:"inherit"}),menuPortal:e=>({...e,zIndex:9999999})},G={DropdownIndicator:e=>{const l=t.createElement(C.DropdownIndicator,e,t.createElement(Vt,null,t.createElement(N,{icon:w,color:E,size:k,customstyles:S})));return!0===z?l:null},ValueContainer:Mt,IndicatorSeparator:()=>null,ClearIndicator:e=>t.createElement(C.ClearIndicator,e,a?t.createElement(Vt,{onClick:()=>{u(),e.clearValue()}},t.createElement(N,{icon:"cross-icon",color:"black",size:8})):null)};let D=null;switch(y){case"multiSelect":D=t.createElement(Wt,V({type:"multiSelect",MultiValue:Z,Option:F,value:r,CommonRenderedComponent:G,optionArr:o,placeHolder:n,isDisabled:x,stylesComp:O,setSelectedValue:i,isLoading:v,id:A,isClearable:a},j));break;case"asyncSingleSelect":D=t.createElement(It,V({CommonRenderedComponent:G,loadOptions:p,onInputChange:m,styles:O,placeholder:n,onChange:i,isLoading:v,isDisabled:x,id:A,value:r,isClearable:a},j));break;case"asyncMultiSelect":D=t.createElement(It,V({type:"asyncMultiSelect",CommonRenderedComponent:G,MultiValue:Z,Option:F,onChange:i,placeholder:n,styles:O,isDisabled:x,isLoading:v,loadOptions:p,onInputChange:m,id:A,isClearable:a},j));break;default:D=t.createElement(Wt,V({type:"singleSelect",value:{value:r?r.value:"",label:r?r.label:""},CommonRenderedComponent:G,optionArr:o,placeHolder:n,isDisabled:x,stylesComp:O,setSelectedValue:i,isLoading:v,id:A,isClearable:a},j))}return t.createElement(kt,{style:g,backgroundColor:I,isValid:c,fontSize:d,theme:q},e&&t.createElement(zt,{inBuiltCss:P,labelWrapperStyle:"selectComp-label-wrapper",style:f},t.createElement(lt,{customStyles:l,type:"label-text",text:e,style:{marginBottom:"7px",paddingBottom:"0px"}}),h&&t.createElement("div",{style:{marginLeft:"4px",color:`${q.ui.error}`}},"*")),D)},Wt=({type:e,Option:l,value:o,CommonRenderedComponent:r,MultiValue:i,optionArr:n,placeHolder:a,isDisabled:c,stylesComp:s,setSelectedValue:d,isLoading:p,id:m,isClearable:b,...u})=>{let g={...r};return"multiSelect"===e&&(g.MultiValue=i,g.Option=l),t.createElement(A,V({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:g,options:n,placeholder:a,isDisabled:c,value:o,styles:s,onChange:d,isLoading:p,id:m,isClearable:b,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},u))},It=({CommonRenderedComponent:e,MultiValue:l,Option:o,type:r,id:i,styles:n,...a})=>{let c={...e};return"asyncMultiSelect"===r&&(c.MultiValue=l,c.Option=o),t.createElement(w,V({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===r,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==r,isSearchable:!0,styles:n,menuShouldScrollIntoView:!1},a))};Bt.propTypes={label:e.string,labelStyle:e.object,optionArr:e.array,selectedValue:e.object,setSelectedValue:e.func,placeHolder:e.string,fontSize:e.number,clearSelected:e.func,loadOptions:e.func,onInputChange:e.func,customWrapperStyles:e.object,customLabelStyles:e.object,isRequired:e.bool,dropdownType:e.string,isDisabled:e.bool,isLoading:e.bool,isValid:e.bool,height:e.number,isClearable:e.bool,id:e.string,iconName:e.string,iconColor:e.string,iconSize:e.number,leftIcon:e.string,leftIconColor:e.string,leftIconSize:e.number,showIndicator:e.bool,backgroundColor:e.string,placeHolderColor:e.string,inputColor:e.string},Bt.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0};const Lt=m.div`
1287
+ `,Bt=({getValue:e,children:l,...o})=>{const r=e().length;return t.createElement(C.ValueContainer,o,l,r>1&&t.createElement("span",{className:"text-more-alt"},"& ",r-1," more"))},It=({label:e,labelStyle:l,optionArr:o,selectedValue:r,setSelectedValue:i,placeHolder:n,isClearable:a,isValid:c,height:s,fontSize:d,loadOptions:p,onInputChange:m,clearSelected:u,customWrapperStyles:g,customLabelStyles:f,isRequired:h,dropdownType:y,isDisabled:x,isLoading:v,id:A,iconName:w,iconStyles:S,iconColor:E,iconSize:k,showIndicator:z,leftIcon:M,leftIconColor:B,leftIconSize:I,backgroundColor:W,placeHolderColor:L,indicatorBackgroundColor:T,inputColor:H,...j})=>{const q=b()||R,F=e=>{const l={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},o=t.createElement("div",{style:{...l,backgroundColor:e?.data?.color??q.primary["primary-1"]}},t.createElement(N,{icon:"check-icon",color:"white"})),r=t.createElement("div",{style:{...l,backgroundColor:"#e0e7ff"}});return t.createElement(C.Option,e,t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",width:"100%"}},e.isSelected?o:r,t.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},Z=({index:e,...l})=>{const o=l?.data?.label||"Select";return!e&&t.createElement("span",{className:"text-main-alt-value"},o)},O={control:(e,t)=>({...e,border:c?W&&c?"1px solid "+W:"1px solid "+q.border:"1px solid "+q.ui.error,minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:W||q.bgColor}),placeholder:e=>({...e,fontSize:d+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:L||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:T||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,display:"flex",justifyContent:"space-between",fontSize:d+"px",marginTop:"-4px"}),indicatorsContainer:e=>({...e,padding:0}),menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:d+"px",width:"100%",minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px"}),singleValue:e=>({...e,fontSize:d+"px",marginLeft:"0px",width:"auto",maxWidth:"89%",marginRight:0}),multiValue:e=>({...e,marginLeft:"0px",width:"auto"}),input:e=>({...e,fontSize:d+"px",color:H||"hsl(0, 0%, 20%)"}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?q.neutral["neutral-5"]:q.bgColor,padding:"10px",cursor:"pointer",color:"#081348",width:"inherit"}),menuPortal:e=>({...e,zIndex:9999999})},G={DropdownIndicator:e=>{const l=t.createElement(C.DropdownIndicator,e,t.createElement(Mt,null,t.createElement(N,{icon:w,color:E,size:k,customstyles:S})));return!0===z?l:null},ValueContainer:Bt,IndicatorSeparator:()=>null,ClearIndicator:e=>t.createElement(C.ClearIndicator,e,a?t.createElement(Mt,{onClick:()=>{u(),e.clearValue()}},t.createElement(N,{icon:"cross-icon",color:"black",size:8})):null)};let D=null;switch(y){case"multiSelect":D=t.createElement(Wt,V({type:"multiSelect",MultiValue:Z,Option:F,value:r,CommonRenderedComponent:G,optionArr:o,placeHolder:n,isDisabled:x,stylesComp:O,setSelectedValue:i,isLoading:v,id:A,isClearable:a},j));break;case"asyncSingleSelect":D=t.createElement(Lt,V({CommonRenderedComponent:G,loadOptions:p,onInputChange:m,styles:O,placeholder:n,onChange:i,isLoading:v,isDisabled:x,id:A,value:r,isClearable:a},j));break;case"asyncMultiSelect":D=t.createElement(Lt,V({type:"asyncMultiSelect",CommonRenderedComponent:G,MultiValue:Z,Option:F,onChange:i,placeholder:n,styles:O,isDisabled:x,isLoading:v,loadOptions:p,onInputChange:m,id:A,isClearable:a},j));break;default:D=t.createElement(Wt,V({type:"singleSelect",value:{value:r?r.value:"",label:r?r.label:""},CommonRenderedComponent:G,optionArr:o,placeHolder:n,isDisabled:x,stylesComp:O,setSelectedValue:i,isLoading:v,id:A,isClearable:a},j))}return t.createElement(zt,{style:g,backgroundColor:W,isValid:c,fontSize:d,theme:q},e&&t.createElement(Vt,{inBuiltCss:P,labelWrapperStyle:"selectComp-label-wrapper",style:f},t.createElement(lt,{customStyles:l,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),h&&t.createElement("div",{style:{marginLeft:"4px",color:`${q.ui.error}`}},"*")),D)},Wt=({type:e,Option:l,value:o,CommonRenderedComponent:r,MultiValue:i,optionArr:n,placeHolder:a,isDisabled:c,stylesComp:s,setSelectedValue:d,isLoading:p,id:m,isClearable:b,...u})=>{let g={...r};return"multiSelect"===e&&(g.MultiValue=i,g.Option=l),t.createElement(A,V({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:g,options:n,placeholder:a,isDisabled:c,value:o,styles:s,onChange:d,isLoading:p,id:m,isClearable:b,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},u))},Lt=({CommonRenderedComponent:e,MultiValue:l,Option:o,type:r,id:i,styles:n,...a})=>{let c={...e};return"asyncMultiSelect"===r&&(c.MultiValue=l,c.Option=o),t.createElement(w,V({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===r,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==r,isSearchable:!0,styles:n,menuShouldScrollIntoView:!1},a))};It.propTypes={label:e.string,labelStyle:e.object,optionArr:e.array,selectedValue:e.object,setSelectedValue:e.func,placeHolder:e.string,fontSize:e.number,clearSelected:e.func,loadOptions:e.func,onInputChange:e.func,customWrapperStyles:e.object,customLabelStyles:e.object,isRequired:e.bool,dropdownType:e.string,isDisabled:e.bool,isLoading:e.bool,isValid:e.bool,height:e.number,isClearable:e.bool,id:e.string,iconName:e.string,iconColor:e.string,iconSize:e.number,leftIcon:e.string,leftIconColor:e.string,leftIconSize:e.number,showIndicator:e.bool,backgroundColor:e.string,placeHolderColor:e.string,inputColor:e.string},It.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0};const Rt=m.div`
1275
1288
  //Set the styles from the default styles object
1276
1289
  ${({inBuiltCss:e,defaultStyles:t})=>T(e,t)}
1277
1290
 
@@ -1288,15 +1301,15 @@ padding: 8px;
1288
1301
 
1289
1302
  // custom styles
1290
1303
  ${({customDropzoneStyles:e})=>e}
1291
- `,Rt=m.div`
1304
+ `,Pt=m.div`
1292
1305
  //Set the styles from the default styles object
1293
1306
  ${({inBuiltCss:e,defaultStyles:t})=>T(e,t)}
1294
1307
 
1295
1308
  // custom styles
1296
1309
  ${({customFileStyles:e})=>e}
1297
- `,Pt=m.input`
1310
+ `,Tt=m.input`
1298
1311
  display: none;
1299
- `,Tt=m.div`
1312
+ `,Ht=m.div`
1300
1313
  //Set the styles from the default styles object
1301
1314
  ${({inBuiltCss:e,defaultStyles:t})=>T(e,t)}
1302
1315
 
@@ -1308,19 +1321,19 @@ padding: 8px;
1308
1321
 
1309
1322
  // custom styles
1310
1323
  ${({customFileNameStyles:e})=>e}
1311
- `;const Ht=m.div`
1324
+ `;const jt=m.div`
1312
1325
  cursor: pointer;
1313
1326
  padding-left: 1px;
1314
1327
  margin-left: auto;
1315
1328
  margin-right: 10px;
1316
1329
  display: flex;
1317
1330
  justify-content: center;
1318
- `,jt=m.div`
1331
+ `,qt=m.div`
1319
1332
  margin-left: 11px;
1320
1333
  padding-left: 2px;
1321
1334
  display: flex;
1322
1335
  justify-content: center;
1323
- `,qt=m.div`
1336
+ `,Ft=m.div`
1324
1337
  color: #494949;
1325
1338
  margin-left: 11px;
1326
1339
  padding-left: 2px;
@@ -1331,18 +1344,18 @@ padding: 8px;
1331
1344
  align-items: center;
1332
1345
  margin: 20px 0px;
1333
1346
  font-size: 14px;
1334
- `;const Ft=({label:e,labelStyle:l,labelInline:o,required:i,message:a,fileArr:c,setFileArr:s,deleteFile:d,customDropzoneStyles:p,customFileStyles:m,customTextStyles:u,customFileNameStyles:g,backgroundColor:f,singleFile:h,messageSize:y,showSupportedFormats:x,file_extensions:v,maxFilesAmount:A,minFilesAmount:C,fileSizeLimit:w,fileSizeNamingConvention:S,errorMessages:E,suggesionMessage:k,MessagelabelStyle:z,dropValid:M,setDropValid:B,dropzoneContent:W,dropIcon:I,iconColor:L,id:T,customTooltipContentStyle:H,customStylesTPArightBefore:j,customStylesTPArightAfter:q,...F})=>{const Z=b()||R,[O,G]=r(!1),D=n(),[X,J]=r(M),[U,Y]=r("");let Q;var K=v,$=!1,_=x?"That file type is not supported.":"",ee=(k=x?"The Supported format's are: ":"","");1==h&&(C=1,A=1);var te="Please upload (min."+C+" to max."+A+")files",le=e=>{ee="";let t=[];var l=0,o=c.length;if(o+1<C||o+1>A){var r="The file size is not uploaded";ee=U?.amount,ee=void 0!==ee?ee:r}for(const e of c)l+=e.size;if(""==ee)for(const[o,c]of Object.entries(e)){$=!0,c.name,l+=c.size;var i=c.name.split(".");i=i[i.length-1],$=K.includes(i.toLowerCase());var n=1024;("MB"==S||"GB"==S||"TB"==S)&&(n*=1024);var a=Math.round(l/n);if(0==$&&(ee=E?.format,ee=ee?ee+_:_),a>w&&$){$=!1;r="The file must be under "+w+" "+S;ee=E?.size,ee=null!=ee?ee:r}!0===$&&(Q&&URL.revokeObjectURL(Q),Q=URL.createObjectURL(c),c.path=Q,t.push(c))}return ee.length>0?(B(!1),J(M),Y(ee)):(B(!0),J(M),Y("")),t};function oe(e){e.preventDefault(),e.stopPropagation()}function re(e,t){let l=[...c,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),s(l),G(!1),l}function ie(e,t){if(e instanceof File){const t=c.filter((t=>t.name!==e.name));s(t)}else!function(e,t){const l=c.filter((t=>t.name!==e.name));s(l),d(e)}(e)}return t.createElement("div",null,t.createElement("div",{style:{display:"flex",width:"inherit"}},t.createElement(lt,V({customStyles:l,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:""+(o?"":"7px"),paddingBottom:"0px"}},F)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${Z.variant.error}`}},"*")),t.createElement(Lt,{theme:Z,inBuiltCss:P,defaultStyles:"dropzone-parent",backgroundColor:f,customDropzoneStyles:M?p:{},onDragLeave:function(e){oe(e),G(!1)},onDragOver:function(e){oe(e),G(!0)},onDrop:function(e){oe(e);const{files:t}=e.dataTransfer;var l=le(t);G(!0),F.onFilesAdded(re(l,h))},onClick:function(){D.current.click()},hover:O,dropValid:M,fileArr:c},t.createElement(Pt,V({ref:D,valid:X,dropValid:M,type:"file",id:T,multiple:1!=h,onChange:function(e){e.target,G(!1);var t=le(e.target.files);t&&F.onFilesAdded(re(t,h))},onClick:e=>e.target.value=null},F)),M?t.createElement(t.Fragment,null,I?t.createElement(N,{icon:I,color:O?Z.bgColor:L,size:24}):t.createElement(N,{icon:"file-upload",color:O?Z.bgColor:Z.primary["primary-1"],size:24})):null,t.createElement(Tt,{dropValid:M,valid:X,hover:O,backgroundColor:f,customTextStyles:u,inBuiltCss:P,defaultStyles:"dropzone-text-div"},M?t.createElement(t.Fragment,null,W?t.createElement("div",{style:{color:O?Z.bgColor:null}},W):t.createElement("div",null,t.createElement("span",{style:{color:O?Z.bgColor:Z.primary["primary-1"]}},"Choose a file"," "),t.createElement("span",{style:{color:O?Z.bgColor:Z.neutral["neutral-2"]}},"or"," "),t.createElement("span",{style:{color:O?Z.bgColor:Z.textColor}},"drag ",h?"it":"them"," here"))):t.createElement("div",null,t.createElement("span",{style:{color:Z.variant.error}},"Try again!!"," "),t.createElement("span",{style:{color:Z.textColor}},U||a)))),U===_?t.createElement("div",{style:{display:"flex"}},t.createElement(lt,V({themeColor:R,customStyles:z,type:"label-text",labelInline:o,text:k,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(o?"":"16.64px")}},F)),t.createElement(Qe,{contentTrigger:t.createElement("span",null,"read more"),headerTooltip:"",contentTooltip:JSON.stringify(K),footerTooltip:"",popperOptionsP:{placement:"right"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:Z.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:H,customStylesTPArightBefore:j,customStylesTPArightAfter:q})):"The file size is not uploaded"===U?t.createElement(lt,V({themeColor:R,customStyles:z,type:"label-text",labelInline:o,text:te,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(o?"":"16.64px")}},F)):"",c?.map(((e,l)=>t.createElement(Rt,{inBuiltCss:P,defaultStyles:"dropzone-file-div",key:`${e}-${l}`,customFileStyles:m},t.createElement(jt,null,t.createElement(N,{icon:"file-icon",color:Z.primary["primary-1"]})),(File,t.createElement("a",{style:{color:Z.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),t.createElement(qt,null,e?.otherInfo),t.createElement(Ht,{key:101*Math.random()|0,onClick:()=>ie(e)},t.createElement("div",{style:{marginRight:"7px"}},t.createElement(N,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:Z.primary["primary-1"]})),t.createElement(N,{icon:"cross-icon",color:Z.neutral["neutral-2"],size:13}))))))};Ft.propTypes={onFilesAdded:e.func,dropValid:e.bool,setDropValid:e.func,message:e.string,fileArr:e.array,setFileArr:e.func,customDropzoneStyles:e.object,customFileStyles:e.object,customTextStyles:e.object,customFileNameStyles:e.object,backgroundColor:e.string,messageSize:e.number,maxFilesAmount:e.number,minFilesAmount:e.number,fileSizeLimit:e.number,fileSizeNamingConvention:e.string,showSupportedFormats:e.bool,file_extensions:e.array,errorMessages:e.object,suggesionMessage:e.any,MessagelabelStyle:e.object,id:e.string,dropzoneContent:e.any,dropIcon:e.string,iconColor:e.string,singleFile:e.bool,customTooltipContentStyle:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object},Ft.defaultProps={onFilesAdded:()=>null,dropValid:!0,message:"",fileArr:[],setFileArr:()=>{},customDropzoneStyles:{},customFileStyles:{},customTextStyles:{},customFileNameStyles:{},messageSize:100,additionalText:"",maxFilesAmount:5,minFilesAmount:1,fileSizeLimit:10,fileSizeNamingConvention:"MB",showSupportedFormats:!0,file_extensions:["doc","docx","jpg","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const Zt=m.div`
1347
+ `;const Zt=({label:e,labelStyle:l,labelInline:o,required:i,message:a,fileArr:c,setFileArr:s,deleteFile:d,customDropzoneStyles:p,customFileStyles:m,customTextStyles:u,customFileNameStyles:g,backgroundColor:f,singleFile:h,messageSize:y,showSupportedFormats:x,file_extensions:v,maxFilesAmount:A,minFilesAmount:C,fileSizeLimit:w,fileSizeNamingConvention:S,errorMessages:E,suggesionMessage:k,MessagelabelStyle:z,dropValid:M,setDropValid:B,dropzoneContent:I,dropIcon:W,iconColor:L,id:T,customTooltipContentStyle:H,customStylesTPArightBefore:j,customStylesTPArightAfter:q,...F})=>{const Z=b()||R,[O,G]=r(!1),D=n(),[X,J]=r(M),[U,Y]=r("");let Q;var K=v,$=!1,_=x?"That file type is not supported.":"",ee=(k=x?"The Supported format's are: ":"","");1==h&&(C=1,A=1);var te="Please upload (min."+C+" to max."+A+")files",le=e=>{ee="";let t=[];var l=0,o=c.length;if(o+1<C||o+1>A){var r="The file size is not uploaded";ee=U?.amount,ee=void 0!==ee?ee:r}for(const e of c)l+=e.size;if(""==ee)for(const[o,c]of Object.entries(e)){$=!0,c.name,l+=c.size;var i=c.name.split(".");i=i[i.length-1],$=K.includes(i.toLowerCase());var n=1024;("MB"==S||"GB"==S||"TB"==S)&&(n*=1024);var a=Math.round(l/n);if(0==$&&(ee=E?.format,ee=ee?ee+_:_),a>w&&$){$=!1;r="The file must be under "+w+" "+S;ee=E?.size,ee=null!=ee?ee:r}!0===$&&(Q&&URL.revokeObjectURL(Q),Q=URL.createObjectURL(c),c.path=Q,t.push(c))}return ee.length>0?(B(!1),J(M),Y(ee)):(B(!0),J(M),Y("")),t};function oe(e){e.preventDefault(),e.stopPropagation()}function re(e,t){let l=[...c,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),s(l),G(!1),l}function ie(e,t){if(e instanceof File){const t=c.filter((t=>t.name!==e.name));s(t)}else!function(e,t){const l=c.filter((t=>t.name!==e.name));s(l),d(e)}(e)}return t.createElement("div",null,t.createElement("div",{style:{display:"flex",width:"inherit"}},t.createElement(lt,V({customStyles:l,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:`${o?0:"8px"}`,paddingBottom:"0px"}},F)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${Z.variant.error}`}},"*")),t.createElement(Rt,{theme:Z,inBuiltCss:P,defaultStyles:"dropzone-parent",backgroundColor:f,customDropzoneStyles:M?p:{},onDragLeave:function(e){oe(e),G(!1)},onDragOver:function(e){oe(e),G(!0)},onDrop:function(e){oe(e);const{files:t}=e.dataTransfer;var l=le(t);G(!0),F.onFilesAdded(re(l,h))},onClick:function(){D.current.click()},hover:O,dropValid:M,fileArr:c},t.createElement(Tt,V({ref:D,valid:X,dropValid:M,type:"file",id:T,multiple:1!=h,onChange:function(e){e.target,G(!1);var t=le(e.target.files);t&&F.onFilesAdded(re(t,h))},onClick:e=>e.target.value=null},F)),M?t.createElement(t.Fragment,null,W?t.createElement(N,{icon:W,color:O?Z.bgColor:L,size:24}):t.createElement(N,{icon:"file-upload",color:O?Z.bgColor:Z.primary["primary-1"],size:24})):null,t.createElement(Ht,{dropValid:M,valid:X,hover:O,backgroundColor:f,customTextStyles:u,inBuiltCss:P,defaultStyles:"dropzone-text-div"},M?t.createElement(t.Fragment,null,I?t.createElement("div",{style:{color:O?Z.bgColor:null}},I):t.createElement("div",null,t.createElement("span",{style:{color:O?Z.bgColor:Z.primary["primary-1"]}},"Choose a file"," "),t.createElement("span",{style:{color:O?Z.bgColor:Z.neutral["neutral-2"]}},"or"," "),t.createElement("span",{style:{color:O?Z.bgColor:Z.textColor}},"drag ",h?"it":"them"," here"))):t.createElement("div",null,t.createElement("span",{style:{color:Z.variant.error}},"Try again!!"," "),t.createElement("span",{style:{color:Z.textColor}},U||a)))),U===_?t.createElement("div",{style:{display:"flex"}},t.createElement(lt,V({themeColor:R,customStyles:z,type:"label-text",labelInline:o,text:k,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},F)),t.createElement(Qe,{contentTrigger:t.createElement("span",null,"read more"),headerTooltip:"",contentTooltip:JSON.stringify(K),footerTooltip:"",popperOptionsP:{placement:"right"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:Z.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:H,customStylesTPArightBefore:j,customStylesTPArightAfter:q})):"The file size is not uploaded"===U?t.createElement(lt,V({themeColor:R,customStyles:z,type:"label-text",labelInline:o,text:te,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},F)):"",c?.map(((e,l)=>t.createElement(Pt,{inBuiltCss:P,defaultStyles:"dropzone-file-div",key:`${e}-${l}`,customFileStyles:m},t.createElement(qt,null,t.createElement(N,{icon:"file-icon",color:Z.primary["primary-1"]})),(File,t.createElement("a",{style:{color:Z.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),t.createElement(Ft,null,e?.otherInfo),t.createElement(jt,{key:101*Math.random()|0,onClick:()=>ie(e)},t.createElement("div",{style:{marginRight:"7px"}},t.createElement(N,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:Z.primary["primary-1"]})),t.createElement(N,{icon:"cross-icon",color:Z.neutral["neutral-2"],size:13}))))))};Zt.propTypes={onFilesAdded:e.func,dropValid:e.bool,setDropValid:e.func,message:e.string,fileArr:e.array,setFileArr:e.func,customDropzoneStyles:e.object,customFileStyles:e.object,customTextStyles:e.object,customFileNameStyles:e.object,backgroundColor:e.string,messageSize:e.number,maxFilesAmount:e.number,minFilesAmount:e.number,fileSizeLimit:e.number,fileSizeNamingConvention:e.string,showSupportedFormats:e.bool,file_extensions:e.array,errorMessages:e.object,suggesionMessage:e.any,MessagelabelStyle:e.object,id:e.string,dropzoneContent:e.any,dropIcon:e.string,iconColor:e.string,singleFile:e.bool,customTooltipContentStyle:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object},Zt.defaultProps={onFilesAdded:()=>null,dropValid:!0,message:"",fileArr:[],setFileArr:()=>{},customDropzoneStyles:{},customFileStyles:{},customTextStyles:{},customFileNameStyles:{},messageSize:100,additionalText:"",maxFilesAmount:5,minFilesAmount:1,fileSizeLimit:10,fileSizeNamingConvention:"MB",showSupportedFormats:!0,file_extensions:["doc","docx","jpg","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const Ot=m.div`
1335
1348
  display: contents;
1336
1349
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1337
1350
 
1338
1351
  ${({WrapperDivStyle:e})=>e}
1339
- `,Ot=m.input`
1352
+ `,Gt=m.input`
1340
1353
  display: none;
1341
1354
  min-height: 100vh;
1342
1355
  padding: 0 0.5rem;
1343
1356
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1344
1357
 
1345
- `,Gt=m.div`
1358
+ `,Dt=m.div`
1346
1359
  height: 49px;
1347
1360
  width: 49px;
1348
1361
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor};
@@ -1354,7 +1367,7 @@ padding: 8px;
1354
1367
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1355
1368
 
1356
1369
  ${({IconWrapperStyle:e})=>e}
1357
- `,Dt=m.div`
1370
+ `,Xt=m.div`
1358
1371
  // background-color: ${({theme:e})=>e.bgColor};
1359
1372
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor};
1360
1373
  width: 134px;
@@ -1396,7 +1409,7 @@ padding: 8px;
1396
1409
  }
1397
1410
  }
1398
1411
  ${({MainDivStyle:e})=>e};
1399
- `,Xt=({image:e,setImage:l,WrapperDivStyle:n,MainDivStyle:a,IconWrapperStyle:c,iconSize:s,iconColor:d,isDisabled:p,id:m})=>{const[u,g]=r(),f=o(),h=b()||R,[y,x]=r(),[v,A]=r(!1);function C(e){e.preventDefault(),e.stopPropagation()}i((()=>{if(e&&v){const t=new FileReader;t.onloadend=()=>{g(t.result)},t.readAsDataURL(e)}else g(e)}),[e]);const w=e=>{e&&"image"===e.type.substr(0,5)?(A(!0),l(e)):A(!1)};return t.createElement(Zt,{onDragLeave:function(e){C(e),x(!1)},onDragOver:function(e){C(e),x(!0)},onDrop:function(e){C(e);const{files:t}=e.dataTransfer;w(t[0])},WrapperDivStyle:n,isDisabled:p},t.createElement(Dt,{isDisabled:p,theme:h,MainDivStyle:a,style:{backgroundImage:`url(${u})`},onClick:e=>{e.preventDefault(),f.current.click()}},!u&&t.createElement("div",{className:"icon-on-not-preview"},t.createElement(Gt,{IconWrapperStyle:c,theme:h,isDisabled:p},t.createElement("img",{src:U,alt:"",height:"40px",width:"48px"}))),t.createElement("div",{className:"icon-on-preview"},t.createElement(Gt,{IconWrapperStyle:c,isDisabled:p,theme:h},t.createElement(N,{icon:"camera-icon",size:s,color:d||h.variant["primary-1"]})))),t.createElement(Ot,{id:m,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{A(!0),l(e.target.files[0])},disabled:p,isDisabled:p}))};Xt.propTypes={image:e.any,setImage:e.func,WrapperDivStyle:e.object,MainDivStyle:e.object,IconWrapperStyle:e.object,iconSize:e.number},Xt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Jt=m.div`
1412
+ `,Jt=({image:e,setImage:l,WrapperDivStyle:n,MainDivStyle:a,IconWrapperStyle:c,iconSize:s,iconColor:d,isDisabled:p,id:m})=>{const[u,g]=r(),f=o(),h=b()||R,[y,x]=r(),[v,A]=r(!1);function C(e){e.preventDefault(),e.stopPropagation()}i((()=>{if(e&&v){const t=new FileReader;t.onloadend=()=>{g(t.result)},t.readAsDataURL(e)}else g(e)}),[e]);const w=e=>{e&&"image"===e.type.substr(0,5)?(A(!0),l(e)):A(!1)};return t.createElement(Ot,{onDragLeave:function(e){C(e),x(!1)},onDragOver:function(e){C(e),x(!0)},onDrop:function(e){C(e);const{files:t}=e.dataTransfer;w(t[0])},WrapperDivStyle:n,isDisabled:p},t.createElement(Xt,{isDisabled:p,theme:h,MainDivStyle:a,style:{backgroundImage:`url(${u})`},onClick:e=>{e.preventDefault(),f.current.click()}},!u&&t.createElement("div",{className:"icon-on-not-preview"},t.createElement(Dt,{IconWrapperStyle:c,theme:h,isDisabled:p},t.createElement("img",{src:U,alt:"",height:"40px",width:"48px"}))),t.createElement("div",{className:"icon-on-preview"},t.createElement(Dt,{IconWrapperStyle:c,isDisabled:p,theme:h},t.createElement(N,{icon:"camera-icon",size:s,color:d||h.variant["primary-1"]})))),t.createElement(Gt,{id:m,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{A(!0),l(e.target.files[0])},disabled:p,isDisabled:p}))};Jt.propTypes={image:e.any,setImage:e.func,WrapperDivStyle:e.object,MainDivStyle:e.object,IconWrapperStyle:e.object,iconSize:e.number},Jt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Ut=m.div`
1400
1413
  border: 1px solid
1401
1414
  ${({theme:e})=>e.border};
1402
1415
  border-radius: 4px;
@@ -1416,7 +1429,7 @@ padding: 8px;
1416
1429
  fill: ${({theme:e})=>e.variant["primary-1"]};
1417
1430
  }
1418
1431
  }
1419
- `;Jt.defaultProps={theme:R};const Ut=m.input`
1432
+ `;Ut.defaultProps={theme:R};const Yt=m.input`
1420
1433
  width: 85%;
1421
1434
  border: 0;
1422
1435
  outline: 0;
@@ -1429,34 +1442,34 @@ padding: 8px;
1429
1442
 
1430
1443
  // custom styles
1431
1444
  ${({inputStyle:e})=>e}
1432
- `;Ut.defaultProps={theme:R},u`
1445
+ `;Yt.defaultProps={theme:R},u`
1433
1446
  &:after {
1434
1447
  content: ' *';
1435
1448
  color: ${({theme:e})=>e.variant.error};
1436
1449
  }
1437
- `;const Yt=m.label`
1450
+ `;const Qt=m.label`
1438
1451
  display: flex;
1439
1452
  margin-right: 10px;
1440
1453
  align-content: center;
1441
1454
  align-items: center;
1442
1455
  justify-content: center;
1443
1456
  display: block;
1444
- margin-bottom: ${({labelInline:e})=>e?"0":"7px"};
1445
- margin-right: ${({labelInline:e})=>e?"7px":""};
1457
+ margin-bottom: ${({labelInline:e})=>e?0:"8px"};
1458
+ margin-right: ${({labelInline:e})=>e?"8px":0};
1446
1459
  padding-bottom: 0px;
1447
1460
  color: ${({theme:e})=>e.variant["neutral-2"]};
1448
1461
 
1449
1462
  ${({labelStyle:e})=>e}
1450
- `;Yt.defaultProps={theme:R};const Qt=u`
1463
+ `;Qt.defaultProps={theme:R};const Nt=u`
1451
1464
  display: flex;
1452
1465
  align-items: center;
1453
- `,Nt=m.div`
1454
- ${({labelInline:e})=>e?Qt:null}
1466
+ `,Kt=m.div`
1467
+ ${({labelInline:e})=>e?Nt:null}
1455
1468
 
1456
1469
  > div {
1457
1470
  flex: 1 0 auto;
1458
1471
  }
1459
- `;Nt.defaultProps={theme:R};const Kt=({label:e,inputValue:l,inputStyle:o,iconBefore:r,iconAfter:i,onChange:n,theme:a,id:c,labelStyle:s,...d})=>t.createElement(Nt,d,e.length>0&&t.createElement(Yt,{labelStyle:s},e),t.createElement("div",null,t.createElement(Jt,d,t.createElement("div",{className:"input-icon"},r),t.createElement(Ut,V({},d,{inputStyle:o,value:l,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&n(t)},type:"number",id:c})),t.createElement("div",{className:"input-icon",style:{position:"absolute",right:"7px"}},i))));Kt.propTypes={theme:e.object,label:e.string,labelInline:e.bool,inputValue:e.any,inputStyle:e.object,id:e.string,labelStyle:e.object},Kt.defaultProps={theme:R,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const $t=m.div`
1472
+ `;Kt.defaultProps={theme:R};const $t=({label:e,inputValue:l,inputStyle:o,iconBefore:r,iconAfter:i,onChange:n,theme:a,id:c,labelStyle:s,...d})=>t.createElement(Kt,d,e.length>0&&t.createElement(Qt,{labelStyle:s},e),t.createElement("div",null,t.createElement(Ut,d,t.createElement("div",{className:"input-icon"},r),t.createElement(Yt,V({},d,{inputStyle:o,value:l,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&n(t)},type:"number",id:c})),t.createElement("div",{className:"input-icon",style:{position:"absolute",right:"7px"}},i))));$t.propTypes={theme:e.object,label:e.string,labelInline:e.bool,inputValue:e.any,inputStyle:e.object,id:e.string,labelStyle:e.object},$t.defaultProps={theme:R,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const _t=m.div`
1460
1473
  background-color: ${({theme:e})=>e.bgColor};
1461
1474
 
1462
1475
  //Set the styles from the default styles object
@@ -1482,7 +1495,7 @@ padding: 8px;
1482
1495
 
1483
1496
  // custom styles
1484
1497
  ${({textBoxStyle:e})=>e}
1485
- `;$t.defaultProps={theme:R};const _t=m.input`
1498
+ `;_t.defaultProps={theme:R};const el=m.input`
1486
1499
  width: 85%;
1487
1500
 
1488
1501
 
@@ -1495,18 +1508,18 @@ padding: 8px;
1495
1508
  .sc-furwcr bxRAoq {
1496
1509
  color: ${({theme:e})=>e.variant["neutral-3"]};
1497
1510
  }
1498
- `;_t.defaultProps={theme:R};const el=u`
1511
+ `;el.defaultProps={theme:R};const tl=u`
1499
1512
  display: flex;
1500
1513
  gap: 7px;
1501
1514
  align-items: start;
1502
- `,tl=m.div`
1503
- ${({labelInline:e})=>e?el:null}
1515
+ `,ll=m.div`
1516
+ ${({labelInline:e})=>e?tl:null}
1504
1517
  .err-text {
1505
1518
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1506
1519
  margin-top: 5px;
1507
1520
  font-size: 10px;
1508
1521
  }
1509
- `;tl.defaultProps={theme:R};const ll=({passwordRules:e,textBoxStyle:l,labelStyle:o,inputStyle:i,errMsg:n,required:a,label:c,labelInline:s,isValid:d,rulesStyle:p,id:m,showHideIcon:u,errMsgColor:g,...f})=>{r(!1);const[h,y]=r("password"),x=b()||R;return t.createElement(tl,V({labelInline:s,inBuiltCss:P,errMsgColor:g,theme:x},f),t.createElement("div",{style:{display:"flex"}},t.createElement(lt,V({customStyles:o,type:"label-text",text:c,errMsg:n,style:{display:"flex",marginBottom:""+(s?"0px":"7px"),paddingBottom:"0px"}},f)),a&&t.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"}},t.createElement("div",{style:{width:"100%"}},t.createElement($t,V({required:a,theme:x,textBoxStyle:l,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:P},f),t.createElement(_t,V({inputStyle:i,type:h,autocomplete:"off",id:m,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:P},f)),!0===u?t.createElement("div",{className:"input-icon",onClick:()=>{"password"===h?y("text"):"text"===h&&y("password")},style:{position:"absolute",right:"7px"}},"text"===h?t.createElement(N,{icon:"eye-show"}):t.createElement(N,{icon:"eye-hide"})):""),n.length>0&&t.createElement("div",{className:"err-text"},n)),e?t.createElement("div",{style:{...p,marginLeft:"5px"}},e):""))};ll.propTypes={inBuiltCss:e.object,theme:e.object,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,textBoxStyle:e.object,labelStyle:e.object,inputStyle:e.object,rulesStyle:e.object,id:e.string,showHideIcon:e.bool},ll.defaultProps={inBuiltCss:P,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const ol=m.div`
1522
+ `;ll.defaultProps={theme:R};const ol=({passwordRules:e,textBoxStyle:l,labelStyle:o,inputStyle:i,errMsg:n,required:a,label:c,labelInline:s,isValid:d,rulesStyle:p,id:m,showHideIcon:u,errMsgColor:g,...f})=>{r(!1);const[h,y]=r("password"),x=b()||R;return t.createElement(ll,V({labelInline:s,inBuiltCss:P,errMsgColor:g,theme:x},f),t.createElement("div",{style:{display:"flex"}},t.createElement(lt,V({customStyles:o,type:"label-text",text:c,errMsg:n,style:{display:"flex",marginBottom:`${s?0:"8px"}`,paddingBottom:"0px"}},f)),a&&t.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"}},t.createElement("div",{style:{width:"100%"}},t.createElement(_t,V({required:a,theme:x,textBoxStyle:l,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:P},f),t.createElement(el,V({inputStyle:i,type:h,autocomplete:"off",id:m,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:P},f)),!0===u?t.createElement("div",{className:"input-icon",onClick:()=>{"password"===h?y("text"):"text"===h&&y("password")},style:{position:"absolute",right:"7px"}},"text"===h?t.createElement(N,{icon:"eye-show"}):t.createElement(N,{icon:"eye-hide"})):""),n.length>0&&t.createElement("div",{className:"err-text"},n)),e?t.createElement("div",{style:{...p,marginLeft:"5px"}},e):""))};ol.propTypes={inBuiltCss:e.object,theme:e.object,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,textBoxStyle:e.object,labelStyle:e.object,inputStyle:e.object,rulesStyle:e.object,id:e.string,showHideIcon:e.bool},ol.defaultProps={inBuiltCss:P,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const rl=m.div`
1510
1523
  box-sizing: initial;
1511
1524
 
1512
1525
  //Set the styles from the default styles object
@@ -1516,7 +1529,7 @@ padding: 8px;
1516
1529
 
1517
1530
  // custom styles
1518
1531
  ${({radioOuterCircleStyle:e})=>e}
1519
- `;ol.defaultProps={theme:R};const rl=m.div`
1532
+ `;rl.defaultProps={theme:R};const il=m.div`
1520
1533
  box-sizing: initial;
1521
1534
 
1522
1535
  //Set the styles from the default styles object
@@ -1528,7 +1541,7 @@ padding: 8px;
1528
1541
 
1529
1542
  // custom styles
1530
1543
  ${({radioInnerCircleStyle:e})=>e}
1531
- `;rl.defaultProps={theme:R};const il=m.div`
1544
+ `;il.defaultProps={theme:R};const nl=m.div`
1532
1545
  //Set the styles from the default styles object
1533
1546
  ${({inBuiltCss:e,defaultOptionStyle:t})=>T(e,t)}
1534
1547
  margin-right: ${({inline:e})=>e?"":"30px"};
@@ -1536,7 +1549,7 @@ padding: 8px;
1536
1549
 
1537
1550
  // custom styles
1538
1551
  ${({optionStyle:e})=>e}
1539
- `;il.defaultProps={theme:R};const nl=m.div`
1552
+ `;nl.defaultProps={theme:R};const al=m.div`
1540
1553
  margin-bottom: ${({inline:e})=>e?"":"14px"};
1541
1554
  cursor: pointer;
1542
1555
  align-items: center;
@@ -1545,11 +1558,11 @@ padding: 8px;
1545
1558
 
1546
1559
  // custom styles
1547
1560
  ${({WrapperDivStyle:e})=>e}
1548
- `,al=m.div`
1561
+ `,cl=m.div`
1549
1562
  display: ${({inline:e})=>e?"flex":"inline-block"};
1550
1563
  width: max-content;
1551
1564
  margin: 0;
1552
- `,cl=({radioOuterCircleStyle:e,radioInnerCircleStyle:l,labelStyle:o,label:r,optionStyle:i,options:n,selectedCircleColor:a,selectedOptionTextColor:c,onChange:s,selected:d,width:p,height:m,inline:u,defaultBorderColor:g,defaultOptionColor:f,WrapperDivStyle:h,...y})=>{const x=b()||R;return t.createElement("div",null,t.createElement(lt,{customStyles:o,type:"radio-label",text:r}),t.createElement(al,{inline:u},n.map(((o,r)=>t.createElement(nl,{WrapperDivStyle:h,key:r+101*Math.random(),id:o.id,inline:u,onClick:()=>{!o?.disabled&&s(o.value)}},t.createElement(ol,{theme:x,inBuiltCss:P,defaultBorderColor:g,selectedCircleColor:a,radioOuterCircleStyle:{...e,cursor:o?.disabled?"not-allowed ":" pointer",borderColor:o?.disabled&&o?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:o.value,selected:!o?.disabled&&d},t.createElement(rl,{inBuiltCss:P,theme:x,width:p,height:m,selectedCircleColor:a,radioInnerCircleStyle:{...l,cursor:o?.disabled?"not-allowed ":" pointer",backgroundColor:o?.disabled?"transparent":o?.value===d?l?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:o.value,selected:d})),t.createElement(il,{defaultOptionColor:f,optionStyle:{...i,cursor:o?.disabled?"not-allowed ":" pointer",color:o?.disabled&&o?.disabledColor},inBuiltCss:P,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!o?.disabled&&o.value===d},o.label))))))};cl.propTypes={label:e.string,labelStyle:e.object,inline:e.bool,options:e.array,optionStyle:e.object,WrapperDivStyle:e.object,selected:e.string,onChange:e.func,defaultOptionColor:e.string,defaultBorderColor:e.string,radioOuterCircleStyle:e.object,radioInnerCircleStyle:e.object,width:e.string,height:e.string,selectedCircleColor:e.string,selectedOptionTextColor:e.string},cl.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const sl=m.div`
1565
+ `,sl=({radioOuterCircleStyle:e,radioInnerCircleStyle:l,labelStyle:o,label:r,optionStyle:i,options:n,selectedCircleColor:a,selectedOptionTextColor:c,onChange:s,selected:d,width:p,height:m,inline:u,defaultBorderColor:g,defaultOptionColor:f,WrapperDivStyle:h,...y})=>{const x=b()||R;return t.createElement("div",null,t.createElement(lt,{customStyles:o,type:"radio-label",text:r}),t.createElement(cl,{inline:u},n.map(((o,r)=>t.createElement(al,{WrapperDivStyle:h,key:r+101*Math.random(),id:o.id,inline:u,onClick:()=>{!o?.disabled&&s(o.value)}},t.createElement(rl,{theme:x,inBuiltCss:P,defaultBorderColor:g,selectedCircleColor:a,radioOuterCircleStyle:{...e,cursor:o?.disabled?"not-allowed ":" pointer",borderColor:o?.disabled&&o?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:o.value,selected:!o?.disabled&&d},t.createElement(il,{inBuiltCss:P,theme:x,width:p,height:m,selectedCircleColor:a,radioInnerCircleStyle:{...l,cursor:o?.disabled?"not-allowed ":" pointer",backgroundColor:o?.disabled?"transparent":o?.value===d?l?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:o.value,selected:d})),t.createElement(nl,{defaultOptionColor:f,optionStyle:{...i,cursor:o?.disabled?"not-allowed ":" pointer",color:o?.disabled&&o?.disabledColor},inBuiltCss:P,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!o?.disabled&&o.value===d},o.label))))))};sl.propTypes={label:e.string,labelStyle:e.object,inline:e.bool,options:e.array,optionStyle:e.object,WrapperDivStyle:e.object,selected:e.string,onChange:e.func,defaultOptionColor:e.string,defaultBorderColor:e.string,radioOuterCircleStyle:e.object,radioInnerCircleStyle:e.object,width:e.string,height:e.string,selectedCircleColor:e.string,selectedOptionTextColor:e.string},sl.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const dl=m.div`
1553
1566
  background-color: ${({theme:e})=>e.bgColor};
1554
1567
 
1555
1568
  //Set the styles from the default styles object
@@ -1570,7 +1583,7 @@ padding: 8px;
1570
1583
  ${({textBoxStyle:e})=>e}
1571
1584
 
1572
1585
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}
1573
- `,dl=m.input`
1586
+ `,pl=m.input`
1574
1587
  color: ${({theme:e})=>e.black};
1575
1588
  width: 85%;
1576
1589
  white-space: nowrap;
@@ -1586,18 +1599,18 @@ padding: 8px;
1586
1599
  color: ${R.variant["neutral-3"]};
1587
1600
  }
1588
1601
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}};
1589
- `,pl=u`
1602
+ `,ml=u`
1590
1603
  display: flex;
1591
1604
  gap: 7px;
1592
1605
  align-items: center;
1593
- `,ml=m.div`
1594
- ${({labelInline:e})=>e?pl:null}
1606
+ `,bl=m.div`
1607
+ ${({labelInline:e})=>e?ml:null}
1595
1608
  .err-text {
1596
1609
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1597
1610
  margin-top: 5px;
1598
1611
  font-size: 10px;
1599
1612
  }
1600
- `,bl=({textBoxStyle:e,labelStyle:l,inputStyle:o,errMsg:r,required:i,label:n,labelInline:a,iconBefore:c,iconAfter:s,isValid:d,type:p,isDisabled:m,id:u,errMsgColor:g,iconAfterStyle:f,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...A})=>{const C=b()||R;return t.createElement(ml,V({labelInline:a,theme:C,errMsgColor:g},A),t.createElement("div",{style:{display:"flex"}},t.createElement(lt,V({customStyles:l,type:"label-text",labelInline:a,text:n,errMsg:r,style:{display:"flex",marginBottom:""+(a?"":"7px"),paddingBottom:"0px"}},A)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${C.variant.error}`}},"*")),t.createElement("div",null,t.createElement(sl,V({required:i,isDisabled:m,theme:C,textBoxStyle:e,isValid:d,inBuiltCss:P,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),t.createElement("div",{className:"input-icon",style:{...h}},c),t.createElement(dl,V({inputStyle:o,type:p,theme:C,id:u,defaultInputStyle:"input-wrapper",isDisabled:m,disabled:m,ref:y,pattern:x},A)),t.createElement("div",{className:"input-icon",style:{...f}},s))),r.length>0&&t.createElement("div",{className:"err-text"},r))};bl.propTypes={inBuiltCss:e.object,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,iconBefore:e.any,iconAfter:e.any,textBoxStyle:e.object,labelStyle:e.object,inputStyle:e.object,type:e.string,isDisabled:e.bool,id:e.string,errMsgColor:e.string,iconAfterStyle:e.object,iconBeforeStyle:e.object,iconColorOnFocus:e.string},bl.defaultProps={inBuiltCss:P,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const ul=({label:e,placeholder:l,handleSearch:o,searchInput:r,customStylesForm:i,customStyleObject:n,textBoxStyle:a,id:c,...s})=>t.createElement(bl,V({iconAfter:t.createElement(N,{icon:"magnifier-icon"}),label:e,textBoxStyle:a,placeholder:l,ref:r,onChange:o,id:c},s)),gl=m.div`
1613
+ `,ul=({textBoxStyle:e,labelStyle:l,inputStyle:o,errMsg:r,required:i,label:n,labelInline:a,iconBefore:c,iconAfter:s,isValid:d,type:p,isDisabled:m,id:u,errMsgColor:g,iconAfterStyle:f,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...A})=>{const C=b()||R;return t.createElement(bl,V({labelInline:a,theme:C,errMsgColor:g},A),t.createElement("div",{style:{display:"flex"}},t.createElement(lt,V({customStyles:l,type:"label-text",labelInline:a,text:n,errMsg:r,style:{display:"flex",marginBottom:`${a?0:"8px"}`,paddingBottom:"0px"}},A)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${C.variant.error}`}},"*")),t.createElement("div",null,t.createElement(dl,V({required:i,isDisabled:m,theme:C,textBoxStyle:e,isValid:d,inBuiltCss:P,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),t.createElement("div",{className:"input-icon",style:{...h}},c),t.createElement(pl,V({inputStyle:o,type:p,theme:C,id:u,defaultInputStyle:"input-wrapper",isDisabled:m,disabled:m,ref:y,pattern:x},A)),t.createElement("div",{className:"input-icon",style:{...f}},s))),r.length>0&&t.createElement("div",{className:"err-text"},r))};ul.propTypes={inBuiltCss:e.object,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,iconBefore:e.any,iconAfter:e.any,textBoxStyle:e.object,labelStyle:e.object,inputStyle:e.object,type:e.string,isDisabled:e.bool,id:e.string,errMsgColor:e.string,iconAfterStyle:e.object,iconBeforeStyle:e.object,iconColorOnFocus:e.string},ul.defaultProps={inBuiltCss:P,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const gl=({label:e,placeholder:l,handleSearch:o,searchInput:r,customStylesForm:i,customStyleObject:n,textBoxStyle:a,id:c,...s})=>t.createElement(ul,V({iconAfter:t.createElement(N,{icon:"magnifier-icon"}),label:e,textBoxStyle:a,placeholder:l,ref:r,onChange:o,id:c},s)),fl=m.div`
1601
1614
  //Set the styles from the default styles object
1602
1615
  ${({inBuiltCss:e,defaultParentDivStyle:t})=>T(e,t)}
1603
1616
 
@@ -1606,7 +1619,7 @@ padding: 8px;
1606
1619
  &:focus-within {
1607
1620
  border-color: ${({activeColor:e,theme:t})=>e||t.primary["primary-1"]};
1608
1621
  }
1609
- `,fl=m.div`
1622
+ `,hl=m.div`
1610
1623
  //Set the styles from the default styles object
1611
1624
  ${({inBuiltCss:e,defaultWrapperDivStyle:t})=>T(e,t)}
1612
1625
 
@@ -1618,7 +1631,7 @@ padding: 8px;
1618
1631
  border-left: ${({signIcon:e})=>e?"":"none"};
1619
1632
  margin-left: ${({signIcon:e})=>e?"":"42px"};
1620
1633
  position: ${({signIcon:e})=>e?"absolute":""};
1621
- `,hl=m.div`
1634
+ `,yl=m.div`
1622
1635
  width: 39px;
1623
1636
  height: 44px;
1624
1637
  display: flex;
@@ -1628,7 +1641,7 @@ padding: 8px;
1628
1641
  border-bottom: ${({penIcon:e,isMyInputFocused:t,activeColor:l,defaultColor:o,theme:r})=>e?t?`1px solid ${l||r.primary["primary-1"]}`:`1px solid ${o||r.neutral["neutral-3"]}`:""};
1629
1642
  background-color: rgba(255, 255, 255, 0.05);
1630
1643
  cursor: pointer;
1631
- `,yl=m.input`
1644
+ `,xl=m.input`
1632
1645
  ${({inBuiltCss:e,defaultInputStyle:t})=>T(e,t)}
1633
1646
 
1634
1647
  border-bottom: ${({value:e,defaultColor:t,theme:l})=>e.length>0?"none":t};
@@ -1653,17 +1666,17 @@ padding: 8px;
1653
1666
 
1654
1667
  // custom styles
1655
1668
  ${({customInputStyle:e})=>e}
1656
- `,xl=m.div`
1669
+ `,vl=m.div`
1657
1670
  position: relative;
1658
1671
  width: inherit;
1659
1672
  display: flex;
1660
1673
  margin: 4px;
1661
- `,vl=m.div`
1674
+ `,Al=m.div`
1662
1675
  padding-left: 2px;
1663
1676
  display: flex;
1664
1677
  justify-content: center;
1665
1678
  cursor: pointer;
1666
- `,Al=({onChange:e,activeColor:l,defaultColor:n,placeholderColor:a,placeholderText:c,customInputStyle:s,pointsArray:d,setPointsArray:p,value:m,setValue:u,valueForSignatureDrawing:g,setValueForSignatureDrawing:f,imageURL:h,setImageURL:y,id:x,...v})=>{const A=b()||R,[C,w]=r("default"),[E,k]=r(!1),[z,V]=r(!1),M=o(null);i((()=>{z&&(W(),f(M.current))}),[!0===z]);const B=()=>{u(""),f(M.current),M.current&&M.current.clear(),k(!1),V(!1)},W=()=>(p(M.current.toData()),y(M.current.toDataURL("image/png")),[h,d]);return t.createElement(gl,{inBuiltCss:P,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:E,selected:C,activeColor:l,defaultColor:n,theme:A},t.createElement(fl,{inBuiltCss:P,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:l,defaultColor:n,selected:C,isMyInputFocused:E,signIcon:!0,theme:A},t.createElement(hl,{activeColor:l,defaultColor:n,isMyInputFocused:E,theme:A,penIcon:!0,onClick:()=>{w("default"),B()}},t.createElement(N,{icon:"pen-icon",color:"default"===C?l||A.primary["primary-1"]:A.black})),t.createElement(hl,{activeColor:l,defaultColor:n,theme:A,isMyInputFocused:E,penIcon:!1,onClick:()=>{w("sign"),B()}},t.createElement(N,{icon:"sign-icon",color:"default"!==C?l||A.primary["primary-1"]:A.black}))),t.createElement(fl,{inBuiltCss:P,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:l,defaultColor:n,theme:A,selected:C,isMyInputFocused:E,signIcon:!1,onTouchStart:()=>{}},"default"===C?t.createElement(yl,{inBuiltCss:P,defaultInputStyle:"signature-input-text",placeholder:c,placeholderColor:a,customInputStyle:s,onBlur:()=>k(!1),onFocus:()=>k(!0),id:x,value:m,defaultColor:n,theme:A,onChange:e=>u(e.target.value)}):t.createElement(xl,{onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onClick:()=>{V(!0),W()}},t.createElement(S,{ref:M,id:x,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(m||z)&&t.createElement(vl,{selected:C,onClick:()=>B()},t.createElement(N,{icon:"cross-icon",color:n||A.neutral["neutral-3"]}))))};Al.propTypes={activeColor:e.string,defaultColor:e.string,placeholderColor:e.string,placeholderText:e.string,customInputStyle:e.object,pointsArray:e.any,setPointsArray:e.func,value:e.string,setValue:e.func,imageURL:e.string,setImageURL:e.func,id:e.string},Al.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const Cl=m.div`
1679
+ `,Cl=({onChange:e,activeColor:l,defaultColor:n,placeholderColor:a,placeholderText:c,customInputStyle:s,pointsArray:d,setPointsArray:p,value:m,setValue:u,valueForSignatureDrawing:g,setValueForSignatureDrawing:f,imageURL:h,setImageURL:y,id:x,...v})=>{const A=b()||R,[C,w]=r("default"),[E,k]=r(!1),[z,V]=r(!1),M=o(null);i((()=>{z&&(I(),f(M.current))}),[!0===z]);const B=()=>{u(""),f(M.current),M.current&&M.current.clear(),k(!1),V(!1)},I=()=>(p(M.current.toData()),y(M.current.toDataURL("image/png")),[h,d]);return t.createElement(fl,{inBuiltCss:P,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:E,selected:C,activeColor:l,defaultColor:n,theme:A},t.createElement(hl,{inBuiltCss:P,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:l,defaultColor:n,selected:C,isMyInputFocused:E,signIcon:!0,theme:A},t.createElement(yl,{activeColor:l,defaultColor:n,isMyInputFocused:E,theme:A,penIcon:!0,onClick:()=>{w("default"),B()}},t.createElement(N,{icon:"pen-icon",color:"default"===C?l||A.primary["primary-1"]:A.black})),t.createElement(yl,{activeColor:l,defaultColor:n,theme:A,isMyInputFocused:E,penIcon:!1,onClick:()=>{w("sign"),B()}},t.createElement(N,{icon:"sign-icon",color:"default"!==C?l||A.primary["primary-1"]:A.black}))),t.createElement(hl,{inBuiltCss:P,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:l,defaultColor:n,theme:A,selected:C,isMyInputFocused:E,signIcon:!1,onTouchStart:()=>{}},"default"===C?t.createElement(xl,{inBuiltCss:P,defaultInputStyle:"signature-input-text",placeholder:c,placeholderColor:a,customInputStyle:s,onBlur:()=>k(!1),onFocus:()=>k(!0),id:x,value:m,defaultColor:n,theme:A,onChange:e=>u(e.target.value)}):t.createElement(vl,{onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onClick:()=>{V(!0),I()}},t.createElement(S,{ref:M,id:x,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(m||z)&&t.createElement(Al,{selected:C,onClick:()=>B()},t.createElement(N,{icon:"cross-icon",color:n||A.neutral["neutral-3"]}))))};Cl.propTypes={activeColor:e.string,defaultColor:e.string,placeholderColor:e.string,placeholderText:e.string,customInputStyle:e.object,pointsArray:e.any,setPointsArray:e.func,value:e.string,setValue:e.func,imageURL:e.string,setImageURL:e.func,id:e.string},Cl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const wl=m.div`
1667
1680
  background-color: ${({theme:e})=>e.bgColor};
1668
1681
  //Set the styles from the default styles object
1669
1682
  ${({inBuiltCss:e,defaultWrapperStyle:t})=>T(e,t)}
@@ -1685,19 +1698,19 @@ padding: 8px;
1685
1698
 
1686
1699
  // custom styles
1687
1700
  ${({textAreaStyle:e})=>e}
1688
- `,wl=m.textarea`
1701
+ `,Sl=m.textarea`
1689
1702
  //Set the styles from the default styles object
1690
1703
  ${({inBuiltCss:e,defaultInputStyle:t})=>T(e,t)}
1691
1704
  margin: 0;
1692
1705
  overflow: auto;
1693
1706
  resize: vertical // custom styles
1694
1707
  ${({inputStyle:e})=>e};
1695
- `,Sl=u`
1708
+ `,El=u`
1696
1709
  display: flex;
1697
1710
  gap: 7px;
1698
1711
  align-items: center;
1699
- `,El=m.div`
1700
- ${({labelInline:e})=>e?Sl:null}
1712
+ `,kl=m.div`
1713
+ ${({labelInline:e})=>e?El:null}
1701
1714
  ${({customStylesForm:e})=>{if(e)return{...e}}}
1702
1715
  position: relative;
1703
1716
  .err-text {
@@ -1705,7 +1718,7 @@ padding: 8px;
1705
1718
  margin-top: 5px;
1706
1719
  font-size: 10px;
1707
1720
  }
1708
- `,kl=t.forwardRef((({customStylesForm:e,textAreaStyle:l,labelStyle:o,inputStyle:r,errMsg:i,required:n,label:a,labelInline:c,iconBefore:s,iconAfter:d,isValid:p,rows:m,cols:u,id:g,...f},h)=>{const y=b()||R;return t.createElement(El,V({labelInline:c,customStylesForm:e,theme:y},f),t.createElement("div",{style:{display:"flex"}},t.createElement(lt,V({customStyles:o,type:"label-text",labelInline:c,text:a,errMsg:i,style:{display:"flex",marginBottom:""+(c?"":"7px"),paddingBottom:"0px"}},f)),n&&t.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),t.createElement(Cl,V({theme:y,required:n,textAreaStyle:l,isValid:p,inBuiltCss:P,defaultWrapperStyle:"textbox-wrapper"},f),t.createElement("div",{className:"input-icon"},s),t.createElement(wl,V({ref:h,inputStyle:r,defaultInputStyle:"textarea-wrapper",cols:u,rows:m,inBuiltCss:P,id:g},f,{size:"1"})),t.createElement("div",{className:"input-icon"},d)),t.createElement("div",{className:"err-text"},i))}));kl.propTypes={rows:e.number,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,iconBefore:e.any,iconAfter:e.any,textAreaStyle:e.object,labelStyle:e.object,inputStyle:e.object,id:e.string},kl.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const zl=m.div`
1721
+ `,zl=t.forwardRef((({customStylesForm:e,textAreaStyle:l,labelStyle:o,inputStyle:r,errMsg:i,required:n,label:a,labelInline:c,iconBefore:s,iconAfter:d,isValid:p,rows:m,cols:u,id:g,...f},h)=>{const y=b()||R;return t.createElement(kl,V({labelInline:c,customStylesForm:e,theme:y},f),t.createElement("div",{style:{display:"flex"}},t.createElement(lt,V({customStyles:o,type:"label-text",labelInline:c,text:a,errMsg:i,style:{display:"flex",marginBottom:`${c?0:"8px"}`,paddingBottom:"0px"}},f)),n&&t.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),t.createElement(wl,V({theme:y,required:n,textAreaStyle:l,isValid:p,inBuiltCss:P,defaultWrapperStyle:"textbox-wrapper"},f),t.createElement("div",{className:"input-icon"},s),t.createElement(Sl,V({ref:h,inputStyle:r,defaultInputStyle:"textarea-wrapper",cols:u,rows:m,inBuiltCss:P,id:g},f,{size:"1"})),t.createElement("div",{className:"input-icon"},d)),t.createElement("div",{className:"err-text"},i))}));zl.propTypes={rows:e.number,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,iconBefore:e.any,iconAfter:e.any,textAreaStyle:e.object,labelStyle:e.object,inputStyle:e.object,id:e.string},zl.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const Vl=m.div`
1709
1722
  color: #a9b1b8;
1710
1723
  font-size: 21px;
1711
1724
  border: 1px solid
@@ -1719,7 +1732,7 @@ padding: 8px;
1719
1732
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
1720
1733
  outline: none;
1721
1734
  }
1722
- `,Vl=m.input`
1735
+ `,Ml=m.input`
1723
1736
  border: 0;
1724
1737
  outline: 0;
1725
1738
  color: ${({theme:e})=>e.variant["primary-2"]};
@@ -1729,22 +1742,22 @@ padding: 8px;
1729
1742
  width: 24px;
1730
1743
  text-align:center;
1731
1744
  background-color: ${({theme:e})=>e.bgColor};
1732
- `,Ml=u`
1745
+ `,Bl=u`
1733
1746
  &:after {
1734
1747
  content: ' *';
1735
1748
  color: ${({theme:e})=>e.variant.error};
1736
1749
  }
1737
- `,Bl=m.label`
1750
+ `,Il=m.label`
1738
1751
  display: block;
1739
- margin-bottom: ${({labelInline:e,errMsg:t})=>e&&t?"18px":"7px"};
1740
- margin-right: ${({labelInline:e})=>e?"7px":""};
1752
+ margin-bottom: ${({labelInline:e,errMsg:t})=>e&&t?"18px":"8px"};
1753
+ margin-right: ${({labelInline:e})=>e?"8px":""};
1741
1754
  color: ${({theme:e})=>e.variant["neutral-2"]};
1742
- ${({required:e})=>e?Ml:null}
1755
+ ${({required:e})=>e?Bl:null}
1743
1756
  padding-bottom: 0px;
1744
1757
  `,Wl=u`
1745
1758
  display: flex;
1746
1759
  align-items: center;
1747
- `,Il=m.div`
1760
+ `,Ll=m.div`
1748
1761
  ${({labelInline:e})=>e?Wl:null}
1749
1762
  .err-text {
1750
1763
  color: ${({theme:e})=>e.variant.error};
@@ -1755,7 +1768,7 @@ padding: 8px;
1755
1768
  > div {
1756
1769
  flex: 1 0 auto;
1757
1770
  }
1758
- `,Ll=m.button`
1771
+ `,Rl=m.button`
1759
1772
  border: none;
1760
1773
  outline: none;
1761
1774
  border-radius: 4px;
@@ -1764,9 +1777,9 @@ padding: 8px;
1764
1777
  padding: 5px 6px;
1765
1778
  font-size: 18px;
1766
1779
  cursor: pointer;
1767
- `,Rl=({label:e,errMsg:l,hour:o,minute:r,period:i,onChange:n,id:a,...c})=>{const s=b()||R;return t.createElement(Il,V({theme:s},c),t.createElement(Bl,V({theme:s},c,{errMsg:l}),e),t.createElement("div",null,t.createElement(zl,V({theme:s,id:a},c),t.createElement(Vl,{theme:s,value:o,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;n({hour:t,minute:r,period:i})}}),":",t.createElement(Vl,{theme:s,value:r,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;n({hour:o,minute:t,period:i})}}),t.createElement(Ll,{theme:s,onClick:function(e){n({hour:o,minute:r,period:"AM"===i?"PM":"AM"})}},i)),t.createElement("div",{className:"err-text"},l)))};Rl.propTypes={label:e.string,hour:e.number.isRequired,minute:e.number.isRequired,period:e.string.isRequired,required:e.bool,labelInline:e.bool,isValid:e.bool,errMsg:e.string,id:e.string},Rl.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Pl=m.div`
1780
+ `,Pl=({label:e,errMsg:l,hour:o,minute:r,period:i,onChange:n,id:a,...c})=>{const s=b()||R;return t.createElement(Ll,V({theme:s},c),t.createElement(Il,V({theme:s},c,{errMsg:l}),e),t.createElement("div",null,t.createElement(Vl,V({theme:s,id:a},c),t.createElement(Ml,{theme:s,value:o,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;n({hour:t,minute:r,period:i})}}),":",t.createElement(Ml,{theme:s,value:r,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;n({hour:o,minute:t,period:i})}}),t.createElement(Rl,{theme:s,onClick:function(e){n({hour:o,minute:r,period:"AM"===i?"PM":"AM"})}},i)),t.createElement("div",{className:"err-text"},l)))};Pl.propTypes={label:e.string,hour:e.number.isRequired,minute:e.number.isRequired,period:e.string.isRequired,required:e.bool,labelInline:e.bool,isValid:e.bool,errMsg:e.string,id:e.string},Pl.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Tl=m.div`
1768
1781
  ${({inBuiltCss:e,defaultCheckBoxWrapperStyle:t})=>T(e,t)}
1769
- `,Tl=m.label`
1782
+ `,Hl=m.label`
1770
1783
 
1771
1784
  left: ${({labelPosition:e})=>"right"===e?"initial":"50px"};
1772
1785
  margin-right: ${({labelPosition:e})=>"left"===e?"30px":"0px"};
@@ -1792,7 +1805,7 @@ padding: 8px;
1792
1805
  // custom styles
1793
1806
  ${({customSwitchStyle:e})=>e}
1794
1807
  }
1795
- `,Hl=m.input.attrs({type:"checkbox"})`
1808
+ `,jl=m.input.attrs({type:"checkbox"})`
1796
1809
  opacity: 0;
1797
1810
  z-index: 1;
1798
1811
  border-radius: 31px;
@@ -1803,7 +1816,7 @@ padding: 8px;
1803
1816
  left: ${({labelPosition:e})=>"right"===e?"initial":"50px"};
1804
1817
 
1805
1818
 
1806
- `,jl=m.span`
1819
+ `,ql=m.span`
1807
1820
 
1808
1821
  margin-right: ${({labelPosition:e})=>"30px"};
1809
1822
 
@@ -1812,34 +1825,34 @@ padding: 8px;
1812
1825
 
1813
1826
  // custom styles
1814
1827
  ${({optionStyle:e})=>e}
1815
- `,ql=({checked:e,customSwitchStyle:l,customToggleBoxStyle:o,backgroundColor:r,disabledColor:i,switchColor:n,onClick:a,trueLabel:c,falseLabel:s,optionStyle:d,labelPosition:p,id:m,isDisabled:u,...g})=>{const f=b()||R;return t.createElement(Pl,V({inBuiltCss:P,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},g),"left"===p&&t.createElement(jl,V({optionStyle:d,inBuiltCss:P,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},g),e?c:s),t.createElement(Hl,V({},g,{labelPosition:p,id:m,inBuiltCss:P,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{a(!e)},isChecked:e,disabled:u,isDisabled:u})),t.createElement(Tl,V({},g,{labelPosition:p,htmlFor:m,customToggleBoxStyle:o,customSwitchStyle:l,disabledColor:i,backgroundColor:r,switchColor:n,inBuiltCss:P,defaultCheckBoxLabelStyle:"toggle-switch-checkbox-label",checked:e,theme:f,isDisabled:u})),"right"===p&&t.createElement(jl,V({optionStyle:d,inBuiltCss:P,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},g),e?c:s))};ql.propTypes={customToggleBoxStyle:e.object,customSwitchStyle:e.object,backgroundColor:e.string,checked:e.bool,trueLabel:e.string,falseLabel:e.string,id:e.string,labelPosition:e.string,isDisabled:e.bool},ql.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Fl=m.div`
1828
+ `,Fl=({checked:e,customSwitchStyle:l,customToggleBoxStyle:o,backgroundColor:r,disabledColor:i,switchColor:n,onClick:a,trueLabel:c,falseLabel:s,optionStyle:d,labelPosition:p,id:m,isDisabled:u,...g})=>{const f=b()||R;return t.createElement(Tl,V({inBuiltCss:P,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},g),"left"===p&&t.createElement(ql,V({optionStyle:d,inBuiltCss:P,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},g),e?c:s),t.createElement(jl,V({},g,{labelPosition:p,id:m,inBuiltCss:P,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{a(!e)},isChecked:e,disabled:u,isDisabled:u})),t.createElement(Hl,V({},g,{labelPosition:p,htmlFor:m,customToggleBoxStyle:o,customSwitchStyle:l,disabledColor:i,backgroundColor:r,switchColor:n,inBuiltCss:P,defaultCheckBoxLabelStyle:"toggle-switch-checkbox-label",checked:e,theme:f,isDisabled:u})),"right"===p&&t.createElement(ql,V({optionStyle:d,inBuiltCss:P,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},g),e?c:s))};Fl.propTypes={customToggleBoxStyle:e.object,customSwitchStyle:e.object,backgroundColor:e.string,checked:e.bool,trueLabel:e.string,falseLabel:e.string,id:e.string,labelPosition:e.string,isDisabled:e.bool},Fl.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Zl=m.div`
1816
1829
  background-color: ${({theme:e})=>e.bgColor};
1817
1830
  padding: 24px 8px;
1818
1831
  ${({commentBodyStyle:e})=>e};
1819
- `,Zl=m.div`
1832
+ `,Ol=m.div`
1820
1833
  display: flex;
1821
1834
  flex-direction: column;
1822
1835
  margin-bottom: 24px;
1823
1836
  ${({commentWrapperStyle:e})=>e};
1824
- `,Ol=m.div`
1837
+ `,Gl=m.div`
1825
1838
  display: flex;
1826
1839
  flex-direction: row;
1827
1840
  width: 100%;
1828
1841
  justify-content: flex-start;
1829
1842
  align-items: center;
1830
1843
  ${({commentHeadStyle:e})=>e};
1831
- `,Gl=m.span`
1844
+ `,Dl=m.span`
1832
1845
  margin-left: 24px;
1833
1846
  font-size: 14px;
1834
1847
  color: ${({theme:e})=>e.variant["neutral-2"]};
1835
1848
  font-weight: 400;
1836
1849
  ${({dateTimeStyle:e})=>e};
1837
- `,Dl=m.span`
1838
- margin: 0.75rem 0 0 3rem;
1850
+ `,Xl=m.span`
1851
+ margin: 0.75rem 0 3.5rem;
1839
1852
  font-size: 16px;
1840
1853
  color: ${R.variant["graph-6"]};
1841
1854
  ${({commentDivStyle:e})=>e};
1842
- `,Xl=m.div`
1855
+ `,Jl=m.div`
1843
1856
  display: flex;
1844
1857
  justify-content: flex-start;
1845
1858
  align-items: start;
@@ -1848,13 +1861,13 @@ padding: 8px;
1848
1861
  padding: 16px 24px;
1849
1862
  border-radius: 0px 0px 4px 4px;
1850
1863
  ${({inputWrapperStyle:e})=>e};
1851
- `,Jl=m.div`
1864
+ `,Ul=m.div`
1852
1865
  display: inline-flex;
1853
1866
  margin-top: 16px;
1854
- `,Ul=m.div`
1867
+ `,Yl=m.div`
1855
1868
  width: 100%;
1856
1869
  margin-left: 16px;
1857
- `,Yl=({inputValue:e,setInputValue:l,commentArray:o,commentBodyStyle:i,commentWrapperStyle:n,commentHeadStyle:a,dateTimeStyle:c,commentDivStyle:s,inputWrapperStyle:d,onSave:p,myInfo:m,placeholder:u,...g})=>{const f=b()||R,[h,y]=r(!1);return t.createElement(Fl,{commentBodyStyle:i,theme:f},o.map(((e,l)=>{const{name:o,date:r,comment:i,image:d}=e;return t.createElement(Zl,{key:l,commentWrapperStyle:n},t.createElement(Ol,{commentHeadStyle:a},t.createElement(de,V({user:{fullName:o,userName:o,url:d},toggleName:!0,size:"LG"},g)),t.createElement(Gl,{dateTimeStyle:c,theme:f},r)),t.createElement(Dl,{commentDivStyle:s},i))})),t.createElement(Xl,{theme:f,inputWrapperStyle:d},t.createElement(de,{user:{fullName:m?.fullName,userName:m?.userName,url:m?.url},toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}}),t.createElement(Ul,null,t.createElement(bl,{value:e,onChange:e=>l(e.target.value),placeholder:u,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>y(!0)}),h&&t.createElement(Jl,null,t.createElement(Te,V({size:"sm",onClick:p},g),"Save"),t.createElement(Ie,{size:"sm",btnStyle:{color:f.variant["neutral-1"]},onClick:e=>y(!1)},"Cancel")))))};Yl.propTypes={commentBodyStyle:e.object,commentWrapperStyle:e.object,commentHeadStyle:e.object,dateTimeStyle:e.object,commentDivStyle:e.object,inputWrapperStyle:e.object,onSave:e.func,commentArray:e.array,inputValue:e.string,setInputValue:e.func,myInfo:e.object,placeholder:e.string},Yl.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:""};const Ql=m.div`
1870
+ `,Ql=({inputValue:e,setInputValue:l,commentArray:o,commentBodyStyle:i,commentWrapperStyle:n,commentHeadStyle:a,dateTimeStyle:c,commentDivStyle:s,inputWrapperStyle:d,onSave:p,myInfo:m,placeholder:u,...g})=>{const f=b()||R,[h,y]=r(!1);return t.createElement(Zl,{commentBodyStyle:i,theme:f},o.map(((e,l)=>{const{name:o,date:r,comment:i,image:d}=e;return t.createElement(Ol,{key:l,commentWrapperStyle:n},t.createElement(Gl,{commentHeadStyle:a},t.createElement(de,V({user:{fullName:o,userName:o,url:d},toggleName:!0,size:"LG"},g)),t.createElement(Dl,{dateTimeStyle:c,theme:f},r)),t.createElement(Xl,{commentDivStyle:s},i))})),t.createElement(Jl,{theme:f,inputWrapperStyle:d},t.createElement(de,{user:{fullName:m?.fullName,userName:m?.userName,url:m?.url},toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}}),t.createElement(Yl,null,t.createElement(ul,{value:e,onChange:e=>l(e.target.value),placeholder:u,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>y(!0)}),h&&t.createElement(Ul,null,t.createElement(Te,V({size:"sm",onClick:p},g),"Save"),t.createElement(We,{size:"sm",btnStyle:{color:f.variant["neutral-1"]},onClick:e=>y(!1)},"Cancel")))))};Ql.propTypes={commentBodyStyle:e.object,commentWrapperStyle:e.object,commentHeadStyle:e.object,dateTimeStyle:e.object,commentDivStyle:e.object,inputWrapperStyle:e.object,onSave:e.func,commentArray:e.array,inputValue:e.string,setInputValue:e.func,myInfo:e.object,placeholder:e.string},Ql.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:""};const Nl=m.div`
1858
1871
  //Set the styles from the default styles object
1859
1872
  ${({theme:e,type:t})=>T(e,t)}
1860
1873
  @media (max-width: 980px) {
@@ -1862,7 +1875,7 @@ padding: 8px;
1862
1875
  }
1863
1876
  // custom styles
1864
1877
  ${({customStyles:e})=>e}
1865
- `,Nl=({theme:e,type:l,customStyles:o,...r})=>t.createElement(Ql,V({theme:e,customStyles:o,type:l},r),r.children);Nl.propTypes={theme:e.object,customStyles:e.object,type:e.string},Nl.defaultProps={theme:P,customStyles:null,type:"content"};const Kl=m.div`
1878
+ `,Kl=({theme:e,type:l,customStyles:o,...r})=>t.createElement(Nl,V({theme:e,customStyles:o,type:l},r),r.children);Kl.propTypes={theme:e.object,customStyles:e.object,type:e.string},Kl.defaultProps={theme:P,customStyles:null,type:"content"};const $l=m.div`
1866
1879
  width: 100%;
1867
1880
  display: flex;
1868
1881
  flex-direction: column;
@@ -1874,7 +1887,7 @@ padding: 8px;
1874
1887
  button:focus {
1875
1888
  outline: none;
1876
1889
  }
1877
- `,$l=m.div`
1890
+ `,_l=m.div`
1878
1891
  position: relative;
1879
1892
  display: flex;
1880
1893
  width: 100%;
@@ -1958,7 +1971,7 @@ padding: 8px;
1958
1971
  margin-top: 0;
1959
1972
  }
1960
1973
  }
1961
- `,_l=m.span`
1974
+ `,eo=m.span`
1962
1975
  color: #2e56f4;
1963
1976
  font-style: normal;
1964
1977
  font-weight: normal;
@@ -1968,14 +1981,14 @@ padding: 8px;
1968
1981
  margin-top: 37px;
1969
1982
  margin-right: 65px;
1970
1983
  white-space: nowrap;
1971
- `,eo=m.div`
1984
+ `,to=m.div`
1972
1985
  display: flex;
1973
1986
  flex-direction: column;
1974
1987
  ${""}
1975
1988
  max-width: 1340px;
1976
1989
  width: 100%;
1977
1990
  align-items: center;
1978
- `,to=m.div`
1991
+ `,lo=m.div`
1979
1992
  position: absolute;
1980
1993
  font-size: 12px;
1981
1994
  border-radius: 50%;
@@ -1992,23 +2005,23 @@ padding: 8px;
1992
2005
  transform: translate(30%, -30%);
1993
2006
  color: white;
1994
2007
  font-weight: 600;
1995
- `,lo=m.div`
1996
- width: 90%;
1997
2008
  `,oo=m.div`
2009
+ width: 90%;
2010
+ `,ro=m.div`
1998
2011
  background: linear-gradient(
1999
2012
  0deg,
2000
2013
  hsla(0, 0%, 100%, 1) 20%,
2001
2014
  hsla(0, 0%, 100%, 0.5) 100%
2002
2015
  );
2003
2016
  width: 90%;
2004
- `,ro=m.div`
2005
- width: 90%;
2006
2017
  `,io=m.div`
2018
+ width: 90%;
2019
+ `,no=m.div`
2007
2020
  display: flex;
2008
2021
  margin-left: auto !important;
2009
2022
  margin-right: auto !important;
2010
2023
  cursor: pointer;
2011
- `,no=m.div`
2024
+ `,ao=m.div`
2012
2025
  display: flex;
2013
2026
  flex-direction: column;
2014
2027
  width: 180px;
@@ -2017,10 +2030,10 @@ padding: 8px;
2017
2030
  border-radius: 6px;
2018
2031
  margin-right: 0.5rem;
2019
2032
  z-index: 999;
2020
- `,ao=m.div`
2033
+ `,co=m.div`
2021
2034
  margin: 10.5px 13px;
2022
2035
  padding: 0;
2023
- `,co=m.div`
2036
+ `,so=m.div`
2024
2037
  color: #081348;
2025
2038
  padding: 7.7px 6.5px 7.7px 24px;
2026
2039
  margin: 2.5px 13px;
@@ -2038,7 +2051,7 @@ padding: 8px;
2038
2051
  background: #eaeefe;
2039
2052
  border-radius: 5px;
2040
2053
  }
2041
- `,so=m.div`
2054
+ `,po=m.div`
2042
2055
  position: relative;
2043
2056
  display: flex;
2044
2057
  width: 100%;
@@ -2122,41 +2135,41 @@ padding: 8px;
2122
2135
  margin-top: 0;
2123
2136
  }
2124
2137
  }
2125
- `,po=m.div`
2138
+ `,mo=m.div`
2126
2139
  display: flex;
2127
2140
  justify-content: end;
2128
- `,mo=m.div`
2141
+ `,bo=m.div`
2129
2142
  display: flex;
2130
2143
  justify-content: center;
2131
2144
  flex-direction: row;
2132
2145
  align-items: flex-start;
2133
2146
  gap: 20px;
2134
- `,bo=m.div`
2147
+ `,uo=m.div`
2135
2148
  width: 48;
2136
2149
  max-width: 48%;
2137
2150
  min-width: 48%;
2138
2151
 
2139
- `,uo=m.form`
2152
+ `,go=m.form`
2140
2153
  width: 40vw;
2141
2154
  display: flex;
2142
2155
  justify-content: center;
2143
2156
  flex-direction: column;
2144
2157
  gap: 20px;
2145
2158
  ${({customStyles:e})=>e}
2146
- `,go=({customStyles:e,children:l})=>t.createElement(uo,{customStyles:e},l),fo=m.div`
2159
+ `,fo=({customStyles:e,children:l})=>t.createElement(go,{customStyles:e},l),ho=m.div`
2147
2160
  display: ${({vertical:e})=>e?"inline-block":"block"};
2148
2161
  background: ${({theme:e,borderColor:t})=>t||e.neutral["neutral-5"]};
2149
2162
  content: '';
2150
2163
  height: ${({vertical:e,thickness:t,height:l})=>e?l:t};
2151
2164
  width: ${({vertical:e,thickness:t})=>e?t:null};
2152
- `,ho=({vertical:e,borderColor:l,thickness:o,height:r,...i})=>{const n=b()||R;return t.createElement(fo,V({theme:n,borderColor:l,thickness:o,vertical:e,height:r},i))};ho.propTypes={thickness:e.string,borderColor:e.string,vertical:e.bool,height:e.string},ho.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const yo=m.div`
2165
+ `,yo=({vertical:e,borderColor:l,thickness:o,height:r,...i})=>{const n=b()||R;return t.createElement(ho,V({theme:n,borderColor:l,thickness:o,vertical:e,height:r},i))};yo.propTypes={thickness:e.string,borderColor:e.string,vertical:e.bool,height:e.string},yo.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const xo=m.div`
2153
2166
  //Set the styles from the default styles object
2154
2167
  ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.common)r[t]=e.common[t];for(const l in e[t])delete e.common[l],r[l]=e[t][l];r=l?{...r,...e["drawer-open"]}:{...r,...e["drawer-close"]}}return{...r,...o}}}}
2155
- `,xo=({customStyles:e,drawerOpen:l,setDrawerOpen:r,children:n,...a})=>{const c=o(null);var s;return i((()=>{function e(e){s.current&&!s.current.contains(e.target)&&r(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[s=c]),t.createElement("div",{ref:c},t.createElement(yo,V({inBuiltCss:P,customStyles:e,type:"drawer",drawerOpen:l},a),n))};xo.propTypes={customStyles:e.object,drawerOpen:e.bool,setDrawerOpen:e.func},xo.defaultProps={setDrawerOpen:()=>null};class vo extends a{constructor(e){super(e),this.state={hasError:!1},this.refreshPage=this.refreshPage.bind(this)}componentDidCatch(e,t){this.setState({hasError:!0})}refreshPage(){window.location.reload()}render(){const{hasError:e}=this.state;return e?t.createElement(c,null,t.createElement("h3",null,t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.12em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1856 1664"},t.createElement("path",{d:"M1056 1375v-190q0-14-9.5-23.5t-22.5-9.5H832q-13 0-22.5 9.5T800 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19q-13-11-24-11H818q-11 0-24 11q-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126q-17 29-46.5 46t-63.5 17H160q-34 0-63.5-17T50 1601q-37-63-2-126L816 67q17-31 47-49t65-18t65 18t47 49z",fill:"currentColor"})),"We have experienced an issue. We generated a support ticket on our end to investigate this issue We are sorry about the inconvenience."),t.createElement(Te,{onClick:()=>this.refreshPage()},"Click to refresh")):this.props.children}}vo.propTypes={children:e.any};const Ao=u`
2168
+ `,vo=({customStyles:e,drawerOpen:l,setDrawerOpen:r,children:n,...a})=>{const c=o(null);var s;return i((()=>{function e(e){s.current&&!s.current.contains(e.target)&&r(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[s=c]),t.createElement("div",{ref:c},t.createElement(xo,V({inBuiltCss:P,customStyles:e,type:"drawer",drawerOpen:l},a),n))};vo.propTypes={customStyles:e.object,drawerOpen:e.bool,setDrawerOpen:e.func},vo.defaultProps={setDrawerOpen:()=>null};class Ao extends a{constructor(e){super(e),this.state={hasError:!1},this.refreshPage=this.refreshPage.bind(this)}componentDidCatch(e,t){this.setState({hasError:!0})}refreshPage(){window.location.reload()}render(){const{hasError:e}=this.state;return e?t.createElement(c,null,t.createElement("h3",null,t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.12em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1856 1664"},t.createElement("path",{d:"M1056 1375v-190q0-14-9.5-23.5t-22.5-9.5H832q-13 0-22.5 9.5T800 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19q-13-11-24-11H818q-11 0-24 11q-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126q-17 29-46.5 46t-63.5 17H160q-34 0-63.5-17T50 1601q-37-63-2-126L816 67q17-31 47-49t65-18t65 18t47 49z",fill:"currentColor"})),"We have experienced an issue. We generated a support ticket on our end to investigate this issue We are sorry about the inconvenience."),t.createElement(Te,{onClick:()=>this.refreshPage()},"Click to refresh")):this.props.children}}Ao.propTypes={children:e.any};const Co=u`
2156
2169
  color: ${({theme:e})=>e.variant["primary-1"]};
2157
2170
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
2158
2171
  background: ${({theme:e})=>H(e.primary["primary-1"],.04)};
2159
- `,Co=m.button`
2172
+ `,wo=m.button`
2160
2173
  font-size: 14px;
2161
2174
  color: ${({theme:e})=>e.variant["primary-2"]};
2162
2175
  background: ${({theme:e})=>H(e.variant["neutral-5"],.7)};
@@ -2166,19 +2179,19 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:o})=>{if(e){let r={};if(e[t]){
2166
2179
  outline: none;
2167
2180
  cursor: ${({disabled:e})=>e?"default":"pointer"};
2168
2181
 
2169
- ${({selected:e})=>e?Ao:null}
2182
+ ${({selected:e})=>e?Co:null}
2170
2183
  ${({customStyles:e})=>e}
2171
2184
 
2172
2185
 
2173
2186
  &:not(:first-child) {
2174
2187
  margin-left: 8px;
2175
2188
  }
2176
- `,wo=({options:e,selected:l,onClick:o,customStyles:r,disabled:i,...n})=>{const a=b()||R,c=e.map(((e,n)=>t.createElement(Co,{theme:a,key:`${e.label}_${n}_${e.value}`,selected:l===e.value,onClick:()=>{o(e.value)},customStyles:r,disabled:i},e.label)));return t.createElement(t.Fragment,null,c)};wo.propTypes={options:e.array,selected:e.string,onClick:e.func,customStyles:e.object,disabled:e.bool},wo.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const So=m.footer`
2189
+ `,So=({options:e,selected:l,onClick:o,customStyles:r,disabled:i,...n})=>{const a=b()||R,c=e.map(((e,n)=>t.createElement(wo,{theme:a,key:`${e.label}_${n}_${e.value}`,selected:l===e.value,onClick:()=>{o(e.value)},customStyles:r,disabled:i},e.label)));return t.createElement(t.Fragment,null,c)};So.propTypes={options:e.array,selected:e.string,onClick:e.func,customStyles:e.object,disabled:e.bool},So.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const Eo=m.footer`
2177
2190
  //Set the styles from the default styles object
2178
2191
  ${({theme:e,type:t})=>T(e,t)}
2179
2192
  // custom styles
2180
2193
  ${({customStyles:e})=>e}
2181
- `,Eo=l((({theme:e,customStyles:l,...o},r)=>t.createElement(So,V({ref:r,theme:e,type:"footer",customStyles:l},o),o.children)));Eo.propTypes={theme:e.object,customStyles:e.object,type:e.string},So.defaultProps={theme:e.object},Eo.defaultProps={theme:P,customStyles:null};const ko=m.div`
2194
+ `,ko=l((({theme:e,customStyles:l,...o},r)=>t.createElement(Eo,V({ref:r,theme:e,type:"footer",customStyles:l},o),o.children)));ko.propTypes={theme:e.object,customStyles:e.object,type:e.string},Eo.defaultProps={theme:e.object},ko.defaultProps={theme:P,customStyles:null};const zo=m.div`
2182
2195
  font-size: 14px;
2183
2196
  background-color: transparent;
2184
2197
  display: flex;
@@ -2196,7 +2209,7 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:o})=>{if(e){let r={};if(e[t]){
2196
2209
  ${({footerWidth:e})=>{if(e<650)return u`
2197
2210
  flex-direction: column;
2198
2211
  `}}
2199
- `,zo=m.div`
2212
+ `,Vo=m.div`
2200
2213
  display: flex;
2201
2214
  ${({footerWidth:e})=>{if(e<650)return u`
2202
2215
  margin-bottom: 5px;
@@ -2206,18 +2219,18 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:o})=>{if(e){let r={};if(e[t]){
2206
2219
  align-items: center;
2207
2220
  margin-bottom: 0;
2208
2221
  `}}
2209
- `,Vo=m.div`
2222
+ `,Mo=m.div`
2210
2223
  margin-top: inherit;
2211
2224
  margin-bottom: inherit;
2212
2225
  ${({footerWidth:e})=>{if(e<350)return u`
2213
2226
  margin-bottom: 5px;
2214
2227
  `}}
2215
- `,Mo=m.div`
2228
+ `,Bo=m.div`
2216
2229
  margin: 0 10px;
2217
2230
  ${({footerWidth:e})=>{if(e<350)return u`
2218
2231
  display: none;
2219
2232
  `}}
2220
- `,Bo=({variant:e,textColor:l,size:o,width:r,footerWidth:i,customStyles:n,...a})=>{const c=(new Date).getFullYear();return t.createElement(ko,V({variant:e,textColor:l,footerWidth:i,customStyles:n},a),t.createElement(zo,{footerWidth:i},t.createElement(Vo,{footerWidth:i},"Premise HQ"),t.createElement(Mo,{footerWidth:i},"|"),t.createElement(Vo,{footerWidth:i},"All Rights Restricted ",c," ©")),t.createElement(zo,{footerWidth:i},t.createElement(Vo,{footerWidth:i},"Terms of use"),t.createElement(Mo,{footerWidth:i},"|"),t.createElement(Vo,{footerWidth:i},"Privacy Policy")))},Wo=m.header`
2233
+ `,Io=({variant:e,textColor:l,size:o,width:r,footerWidth:i,customStyles:n,...a})=>{const c=(new Date).getFullYear();return t.createElement(zo,V({variant:e,textColor:l,footerWidth:i,customStyles:n},a),t.createElement(Vo,{footerWidth:i},t.createElement(Mo,{footerWidth:i},"Premise HQ"),t.createElement(Bo,{footerWidth:i},"|"),t.createElement(Mo,{footerWidth:i},"All Rights Restricted ",c," ©")),t.createElement(Vo,{footerWidth:i},t.createElement(Mo,{footerWidth:i},"Terms of use"),t.createElement(Bo,{footerWidth:i},"|"),t.createElement(Mo,{footerWidth:i},"Privacy Policy")))},Wo=m.header`
2221
2234
 
2222
2235
  background-color: ${({theme:e})=>e.bgColor};
2223
2236
  border-bottom: 0.5px solid ${({theme:e})=>e.variant["neutral-3"]};
@@ -2225,7 +2238,7 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:o})=>{if(e){let r={};if(e[t]){
2225
2238
  ${({inBuiltCss:e,type:t})=>T(e,t)}
2226
2239
  // custom styles
2227
2240
  ${({customStyles:e})=>e}
2228
- `,Io=({type:e,customStyles:l,...o})=>{const r=b()||R;return t.createElement(Wo,V({theme:r,type:"header",customStyles:l,inBuiltCss:P},o),o.children)};Io.propTypes={customStyles:e.object,type:e.string},Io.defaultProps={type:"header",customStyles:null};const Lo=m.div`
2241
+ `,Lo=({type:e,customStyles:l,...o})=>{const r=b()||R;return t.createElement(Wo,V({theme:r,type:"header",customStyles:l,inBuiltCss:P},o),o.children)};Lo.propTypes={customStyles:e.object,type:e.string},Lo.defaultProps={type:"header",customStyles:null};const Ro=m.div`
2229
2242
  box-sizing: border-box;
2230
2243
  display: flex;
2231
2244
  justify-content: center;
@@ -2233,8 +2246,8 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:o})=>{if(e){let r={};if(e[t]){
2233
2246
  width: auto;
2234
2247
 
2235
2248
  ${({size:e})=>u`height: ${e}px;`}
2236
- `,Ro=m.div`
2237
2249
  `,Po=m.div`
2250
+ `,To=m.div`
2238
2251
  box-sizing: border-box;
2239
2252
  display: flex;
2240
2253
  justify-content: center;
@@ -2263,11 +2276,11 @@ svg {
2263
2276
  `}
2264
2277
  }
2265
2278
  }
2266
- `,To=({theme:e,toggleSet:l,slide:o,color:r,size:i,transform:n,ratingValue:a,starVal:c,hover:s,...d})=>t.createElement(Po,V({theme:e,ratingValue:a,starVal:c,hover:s,toggleSet:l,color:r,size:i,transform:n},d),t.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",id:"star_filled","data-name":"star filled",xmlns:"http://www.w3.org/2000/svg"},t.createElement("defs",null,t.createElement("clipPath",{id:"starFilled"},t.createElement("path",{id:"Star",d:"M10,15,4.122,18.09l1.123-6.545L.489,6.91l6.572-.955L10,0l2.939,5.955,6.572.955-4.755,4.635,1.123,6.545Z",transform:"translate(2 3)",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"1.5"}))),t.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),t.createElement("rect",{x:o,y:"0",fill:r,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function Ho(e,t){let l=5*e/t;const o=[],r=l;for(let e=0;e<5;e++){if(l-1>=0)o.push("0");else if(l-1<0&&l-1>-1){const e=(24*l-24).toString();o.push(e)}else o.push("-24");l-=1}return{array:o,value:r}}function jo(e,t){return 100*e/t}const qo=({type:e,customStylesContainer:l,customStylesStar:o,customStylesPercentage:n,color:a,size:c,handleClick:s,transform:d,maxRange:p,value:m,toggleStar:u,toggleSet:g,identifier:f,...h})=>{b();const[y,x]=r(void 0),[v,A]=r(void 0),[C,w]=r(void 0),[S,E]=r(void 0);i((()=>{x(Ho(m,p).array),A(Ho(m,p).value),w(jo(m,p))}),[m,p]),i((()=>{S?x(Ho(S,p).array):(x(Ho(m,p).array),A(Ho(m,p).value),w(jo(m,p)))}),[S]);const k=t.createElement(t.Fragment,null,y?.map(((e,l)=>{const r=20*(l+1);return t.createElement(To,{ratingValue:r,starVal:v,hover:S,toggleSet:g,onClick:g?()=>s(r):null,onMouseEnter:g?()=>{E(r)}:null,onMouseLeave:g?()=>{E(null)}:null,slide:e,color:a,className:"star",size:c,transform:d,key:f?.concat(l),customStyles:o})})));return t.createElement(Lo,V({customStyles:l,type:e,size:c},h,{className:"container"}),u?k:t.createElement(Ro,{type:e,customStyles:n},C,"%"))};qo.propTypes={customStylesContainer:e.object,customStylesStar:e.object,customStylesPercentage:e.object,type:e.string,color:e.string,size:e.number,transform:e.object,handleClick:e.func,maxRange:e.number,value:e.number,toggleStar:e.bool,toggleSet:e.bool,identifier:e.string},qo.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Fo=m.div`
2279
+ `,Ho=({theme:e,toggleSet:l,slide:o,color:r,size:i,transform:n,ratingValue:a,starVal:c,hover:s,...d})=>t.createElement(To,V({theme:e,ratingValue:a,starVal:c,hover:s,toggleSet:l,color:r,size:i,transform:n},d),t.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",id:"star_filled","data-name":"star filled",xmlns:"http://www.w3.org/2000/svg"},t.createElement("defs",null,t.createElement("clipPath",{id:"starFilled"},t.createElement("path",{id:"Star",d:"M10,15,4.122,18.09l1.123-6.545L.489,6.91l6.572-.955L10,0l2.939,5.955,6.572.955-4.755,4.635,1.123,6.545Z",transform:"translate(2 3)",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"1.5"}))),t.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),t.createElement("rect",{x:o,y:"0",fill:r,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function jo(e,t){let l=5*e/t;const o=[],r=l;for(let e=0;e<5;e++){if(l-1>=0)o.push("0");else if(l-1<0&&l-1>-1){const e=(24*l-24).toString();o.push(e)}else o.push("-24");l-=1}return{array:o,value:r}}function qo(e,t){return 100*e/t}const Fo=({type:e,customStylesContainer:l,customStylesStar:o,customStylesPercentage:n,color:a,size:c,handleClick:s,transform:d,maxRange:p,value:m,toggleStar:u,toggleSet:g,identifier:f,...h})=>{b();const[y,x]=r(void 0),[v,A]=r(void 0),[C,w]=r(void 0),[S,E]=r(void 0);i((()=>{x(jo(m,p).array),A(jo(m,p).value),w(qo(m,p))}),[m,p]),i((()=>{S?x(jo(S,p).array):(x(jo(m,p).array),A(jo(m,p).value),w(qo(m,p)))}),[S]);const k=t.createElement(t.Fragment,null,y?.map(((e,l)=>{const r=20*(l+1);return t.createElement(Ho,{ratingValue:r,starVal:v,hover:S,toggleSet:g,onClick:g?()=>s(r):null,onMouseEnter:g?()=>{E(r)}:null,onMouseLeave:g?()=>{E(null)}:null,slide:e,color:a,className:"star",size:c,transform:d,key:f?.concat(l),customStyles:o})})));return t.createElement(Ro,V({customStyles:l,type:e,size:c},h,{className:"container"}),u?k:t.createElement(Po,{type:e,customStyles:n},C,"%"))};Fo.propTypes={customStylesContainer:e.object,customStylesStar:e.object,customStylesPercentage:e.object,type:e.string,color:e.string,size:e.number,transform:e.object,handleClick:e.func,maxRange:e.number,value:e.number,toggleStar:e.bool,toggleSet:e.bool,identifier:e.string},Fo.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Zo=m.div`
2267
2280
  .form-check-input {
2268
2281
  accent-color: ${({theme:e})=>e.primary["primary-1"]};
2269
2282
  }
2270
- `,Zo=({customStyles:e,inBuiltCss:l,type:o="table",sortIcon:r,data:i,tableColumns:n,progressPending:a,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:p,responsive:m,conditionalRowStyles:u,fixedHeader:g,fixedHeaderScrollHeight:f,checkboxColor:h,...y})=>{let x={};if(l&&l[o]&&(x=l[o]),e)for(const t in e)x[t]=e[t];const v=b()||R,A=t.forwardRef((({onClick:e,...l},o)=>t.createElement(Fo,{theme:v},t.createElement("input",V({type:"checkbox",className:"form-check-input",ref:o,onClick:e},l)))));return t.createElement(E,V({responsive:m,data:i,columns:n,noHeader:!0,highlightOnHover:!0,sortIcon:r,progressPending:a,customStyles:x,defaultSortFieldId:c,progressComponent:p||void 0,sortServer:d,onSort:(e,t,l)=>{s(e,t,l)},conditionalRowStyles:u,fixedHeader:g,fixedHeaderScrollHeight:f,selectableRowsComponent:A},y))};Zo.propTypes={inBuiltCss:e.object,sortIcon:e.any,data:e.array,tableColumns:e.array,progressPending:e.bool,progressComponent:e.any,defaultSortFieldId:e.number,sortServer:e.bool,handleOnSort:e.any,responsive:e.bool,conditionalRowStyles:e.array,fixedHeader:e.bool,fixedHeaderScrollHeight:e.string,customStyle:e.object},Zo.defaultProps={inBuiltCss:P,sortIcon:t.createElement(N,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100vh"};const Oo=({title:e,subtitle:l,wrapperStyle:o,imgLink:r,imgStyle:i,iconSize:n})=>{const a=b()||R,c={fontSize:"26px",fontWeight:"bold",color:`${a.textColor}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},s={fontSize:"13px",color:`${a.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return t.createElement("div",{style:o},t.createElement("div",{style:c},r?t.createElement("img",{src:r,alt:"userIcon",srcset:"",style:i}):t.createElement(N,{icon:"user-icon",size:n,color:a.primary["primary-1"]})," ",t.createElement("h4",null,e)),t.createElement("div",{style:s},t.createElement("p",null,l)))};Oo.propTypes={size:e.number},Oo.defaultProps={iconSize:23};const Go=({formData:e,customStyles:l,...o})=>{const r=e=>{switch(e.type){case"header":return(e=>t.createElement(c,null,t.createElement(Io,V({},e,o),e.children),e))(e);case"label":return(e=>t.createElement(lt,V({style:{marginBottom:"7px",paddingBottom:"0"}},e,o)))(e);case"text":return(e=>t.createElement(bl,V({},e,o)))(e);case"textArea":return(e=>t.createElement(kl,V({},e,o)))(e);case"number":return(e=>t.createElement(Kt,V({},e,o)))(e);case"radio":return(e=>t.createElement(cl,V({key:101*Math.random()|0},e,o)))(e);case"checkBox":return(e=>t.createElement(ct,V({},e,o)))(e);case"singleSelect":return(e=>t.createElement(Bt,V({dropdownType:"singleSelect"},e,o)))(e);case"multiSelect":return(e=>t.createElement(Bt,V({dropdownType:"multiSelect"},e,o)))(e);case"asyncSingleSelect":return(e=>t.createElement(Bt,V({dropdownType:"asyncSingleSelect"},e,o)))(e);case"asyncMultiSelect":return(e=>t.createElement(Bt,V({dropdownType:"asyncMultiSelect"},e,o)))(e);case"signature":return(e=>t.createElement(Al,V({},e,o)))(e);case"fileUpload":return(e=>t.createElement(Ft,V({},e,o)))(e);case"date":return(e=>t.createElement(vt,V({},e,o)))(e);case"toggle":return(e=>t.createElement(ql,V({},e,o)))(e);case"rating":return(e=>t.createElement(qo,V({},e,o)))(e);case"buttonPrimary":return(e=>t.createElement(Te,V({},e,o)))(e);case"buttonSecondary":return(e=>t.createElement(qe,V({},e,o)))(e);case"buttonTiny":return(e=>t.createElement(Ze,V({},e,o)))(e);case"search":return(e=>t.createElement(ul,V({},e,o)))(e);case"table":return(e=>t.createElement(Zo,V({},e,o)))(e);case"passwordInput":return(e=>t.createElement(ll,V({},e,o)))(e);case"headerComponent":return(e=>t.createElement(Oo,V({},e,o)))(e)}};return t.createElement(c,null,t.createElement(so,{defaultThemeColor:R},t.createElement(go,{onSubmit:()=>{},customStyles:l},e.map(((e,l)=>e.length>1?t.createElement(mo,null,e.map(((l,o)=>t.createElement(bo,{cols:e.length},r(l))))):r(e[0]))))))},Do=({formData:e,onSubmit:l,onReset:o,style:r,...i})=>{const n=e=>{switch(e.type){case"submit":return(e=>t.createElement(Te,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>t.createElement(qe,{block:e.block,disabled:i.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return t.createElement(c,null,t.createElement(po,{style:r},e&&e.map(((e,t)=>e.map(((e,t)=>n(e)))))))};const Xo=f`
2283
+ `,Oo=({customStyles:e,inBuiltCss:l,type:o="table",sortIcon:r,data:i,tableColumns:n,progressPending:a,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:p,responsive:m,conditionalRowStyles:u,fixedHeader:g,fixedHeaderScrollHeight:f,checkboxColor:h,...y})=>{let x={};if(l&&l[o]&&(x=l[o]),e)for(const t in e)x[t]=e[t];const v=b()||R,A=t.forwardRef((({onClick:e,...l},o)=>t.createElement(Zo,{theme:v},t.createElement("input",V({type:"checkbox",className:"form-check-input",ref:o,onClick:e},l)))));return t.createElement(E,V({responsive:m,data:i,columns:n,noHeader:!0,highlightOnHover:!0,sortIcon:r,progressPending:a,customStyles:x,defaultSortFieldId:c,progressComponent:p||void 0,sortServer:d,onSort:(e,t,l)=>{s(e,t,l)},conditionalRowStyles:u,fixedHeader:g,fixedHeaderScrollHeight:f,selectableRowsComponent:A},y))};Oo.propTypes={inBuiltCss:e.object,sortIcon:e.any,data:e.array,tableColumns:e.array,progressPending:e.bool,progressComponent:e.any,defaultSortFieldId:e.number,sortServer:e.bool,handleOnSort:e.any,responsive:e.bool,conditionalRowStyles:e.array,fixedHeader:e.bool,fixedHeaderScrollHeight:e.string,customStyle:e.object},Oo.defaultProps={inBuiltCss:P,sortIcon:t.createElement(N,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100vh"};const Go=({title:e,subtitle:l,wrapperStyle:o,imgLink:r,imgStyle:i,iconSize:n})=>{const a=b()||R,c={fontSize:"26px",fontWeight:"bold",color:`${a.textColor}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},s={fontSize:"13px",color:`${a.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return t.createElement("div",{style:o},t.createElement("div",{style:c},r?t.createElement("img",{src:r,alt:"userIcon",srcset:"",style:i}):t.createElement(N,{icon:"user-icon",size:n,color:a.primary["primary-1"]})," ",t.createElement("h4",null,e)),t.createElement("div",{style:s},t.createElement("p",null,l)))};Go.propTypes={size:e.number},Go.defaultProps={iconSize:23};const Do=({formData:e,customStyles:l,...o})=>{const r=e=>{switch(e.type){case"header":return(e=>t.createElement(c,null,t.createElement(Lo,V({},e,o),e.children),e))(e);case"label":return(e=>t.createElement(lt,V({style:{marginBottom:"8px",paddingBottom:"0"}},e,o)))(e);case"text":return(e=>t.createElement(ul,V({},e,o)))(e);case"textArea":return(e=>t.createElement(zl,V({},e,o)))(e);case"number":return(e=>t.createElement($t,V({},e,o)))(e);case"radio":return(e=>t.createElement(sl,V({key:101*Math.random()|0},e,o)))(e);case"checkBox":return(e=>t.createElement(ct,V({},e,o)))(e);case"singleSelect":return(e=>t.createElement(It,V({dropdownType:"singleSelect"},e,o)))(e);case"multiSelect":return(e=>t.createElement(It,V({dropdownType:"multiSelect"},e,o)))(e);case"asyncSingleSelect":return(e=>t.createElement(It,V({dropdownType:"asyncSingleSelect"},e,o)))(e);case"asyncMultiSelect":return(e=>t.createElement(It,V({dropdownType:"asyncMultiSelect"},e,o)))(e);case"signature":return(e=>t.createElement(Cl,V({},e,o)))(e);case"fileUpload":return(e=>t.createElement(Zt,V({},e,o)))(e);case"date":return(e=>t.createElement(vt,V({},e,o)))(e);case"toggle":return(e=>t.createElement(Fl,V({},e,o)))(e);case"rating":return(e=>t.createElement(Fo,V({},e,o)))(e);case"buttonPrimary":return(e=>t.createElement(Te,V({},e,o)))(e);case"buttonSecondary":return(e=>t.createElement(qe,V({},e,o)))(e);case"buttonTiny":return(e=>t.createElement(Ze,V({},e,o)))(e);case"search":return(e=>t.createElement(gl,V({},e,o)))(e);case"table":return(e=>t.createElement(Oo,V({},e,o)))(e);case"passwordInput":return(e=>t.createElement(ol,V({},e,o)))(e);case"headerComponent":return(e=>t.createElement(Go,V({},e,o)))(e)}};return t.createElement(c,null,t.createElement(po,{defaultThemeColor:R},t.createElement(fo,{onSubmit:()=>{},customStyles:l},e.map(((e,l)=>e.length>1?t.createElement(bo,null,e.map(((l,o)=>t.createElement(uo,{cols:e.length},r(l))))):r(e[0]))))))},Xo=({formData:e,onSubmit:l,onReset:o,style:r,...i})=>{const n=e=>{switch(e.type){case"submit":return(e=>t.createElement(Te,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>t.createElement(qe,{block:e.block,disabled:i.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return t.createElement(c,null,t.createElement(mo,{style:r},e&&e.map(((e,t)=>e.map(((e,t)=>n(e)))))))};const Jo=f`
2271
2284
  @font-face {
2272
2285
  font-family: "Averta";
2273
2286
  font-weight: 100;
@@ -2375,7 +2388,7 @@ svg {
2375
2388
  * {
2376
2389
  font-family: "Averta";
2377
2390
  }
2378
- `,Jo=m.span`
2391
+ `,Uo=m.span`
2379
2392
  background: transparent;
2380
2393
  position: relative;
2381
2394
  display: flex;
@@ -2384,12 +2397,12 @@ svg {
2384
2397
  &>span:not(:first-of-type){
2385
2398
  margin-left: -13px;
2386
2399
  }
2387
- `,Uo=m.p`
2400
+ `,Yo=m.p`
2388
2401
  color: ${({theme:e,variantQty:t})=>e.variant[t]};
2389
2402
  margin: 0;
2390
2403
  margin-left: 7px;
2391
2404
  font-size: 16px;
2392
- `,Yo=({items:e,block:l,size:o,variantCircle:r,variantName:i,variantQty:n,flagName:a,user:c,colorCircle:s,colorBorderCircle:d,...p})=>{const m=b()||R;return t.createElement(Jo,V({block:l},p),e?.map(((l,n)=>{let a={},c={};return a.backgroundColor=s?`${m.variant[s]}`:`${m.variant[r]}`,0!==n&&(a.border=d?`2px solid ${d}`:`2px solid ${m.variant[r]}`,c.border=d?`2px solid ${d}`:`2px solid ${m.variant[r]}`),1===e.length?t.createElement(de,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:o,toggleName:!0,user:l,customStylesCircle:a,customStylesImage:c}):n<=3?t.createElement(de,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:o,toggleName:!1,user:l,customStylesCircle:a,customStylesImage:c}):null})),e.length-4>0?t.createElement(Uo,{theme:m,variantQty:n},"+",e.length-4):null)};Yo.propTypes={variantCircle:e.string,variantName:e.string,size:e.oneOf(["SM","MD","LG"]),user:e.object,theme:e.object,colorCircle:e.string,colorBorderCircle:e.string,variantQty:e.string},Yo.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Qo=m.div`
2405
+ `,Qo=({items:e,block:l,size:o,variantCircle:r,variantName:i,variantQty:n,flagName:a,user:c,colorCircle:s,colorBorderCircle:d,...p})=>{const m=b()||R;return t.createElement(Uo,V({block:l},p),e?.map(((l,n)=>{let a={},c={};return a.backgroundColor=s?`${m.variant[s]}`:`${m.variant[r]}`,0!==n&&(a.border=d?`2px solid ${d}`:`2px solid ${m.variant[r]}`,c.border=d?`2px solid ${d}`:`2px solid ${m.variant[r]}`),1===e.length?t.createElement(de,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:o,toggleName:!0,user:l,customStylesCircle:a,customStylesImage:c}):n<=3?t.createElement(de,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:o,toggleName:!1,user:l,customStylesCircle:a,customStylesImage:c}):null})),e.length-4>0?t.createElement(Yo,{theme:m,variantQty:n},"+",e.length-4):null)};Qo.propTypes={variantCircle:e.string,variantName:e.string,size:e.oneOf(["SM","MD","LG"]),user:e.object,theme:e.object,colorCircle:e.string,colorBorderCircle:e.string,variantQty:e.string},Qo.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const No=m.div`
2393
2406
  max-width: inherit;
2394
2407
  width: inherit;
2395
2408
  font-size: 14px;
@@ -2415,7 +2428,7 @@ svg {
2415
2428
  &[data-popper-placement*='top'] .tooltip-arrow::after {
2416
2429
  border-color: ${({theme:e,variantTPbg:t})=>t?e.variant[t]:"#6b747f"} transparent transparent transparent;
2417
2430
  }
2418
- `,No=m.div`
2431
+ `,Ko=m.div`
2419
2432
  display: flex;
2420
2433
  color: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2421
2434
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:o})=>t?e.variant[o]:e.variant[l]};
@@ -2430,24 +2443,24 @@ svg {
2430
2443
  svg path {
2431
2444
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2432
2445
  }
2433
- `,Ko=m.div`
2446
+ `,$o=m.div`
2434
2447
  display: flex;
2435
2448
  justify-content: space-evenly;
2436
2449
  flex-grow: 1;
2437
2450
  align-items: stretch;
2438
- `,$o=({label:e,index:l,style:o,items:r,variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,divider:p,indexPrefix:m,onClick:u,icon:g,variantTPtext:f,variantTPbg:h,...x})=>{b();const{getArrowProps:v,getTooltipProps:A,setTooltipRef:C,setTriggerRef:w,visible:S}=y();return t.createElement(t.Fragment,null,t.createElement(Ko,{ref:w},t.createElement(No,{variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,onClick:d?null:()=>{u(u)}},g),p),S&&t.createElement(Qo,V({variantTPtext:f,variantTPbg:h,ref:C},A({className:"tooltip-container"})),e,t.createElement("div",v({className:"tooltip-arrow"}))))};$o.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func,variantTPtext:e.string,variantTPbg:e.string},Ko.defaultProps={theme:R},No.defaultProps={theme:R},Qo.defaultProps={theme:R},$o.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const _o=m.div`
2451
+ `,_o=({label:e,index:l,style:o,items:r,variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,divider:p,indexPrefix:m,onClick:u,icon:g,variantTPtext:f,variantTPbg:h,...x})=>{b();const{getArrowProps:v,getTooltipProps:A,setTooltipRef:C,setTriggerRef:w,visible:S}=y();return t.createElement(t.Fragment,null,t.createElement($o,{ref:w},t.createElement(Ko,{variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,onClick:d?null:()=>{u(u)}},g),p),S&&t.createElement(No,V({variantTPtext:f,variantTPbg:h,ref:C},A({className:"tooltip-container"})),e,t.createElement("div",v({className:"tooltip-arrow"}))))};_o.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func,variantTPtext:e.string,variantTPbg:e.string},$o.defaultProps={theme:R},Ko.defaultProps={theme:R},No.defaultProps={theme:R},_o.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const er=m.div`
2439
2452
  display: flex;
2440
2453
  justify-content: space-evenly;
2441
2454
  align-items: stretch;
2442
2455
  height: 42px;
2443
2456
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2444
2457
  border-radius: 3px;
2445
- `,er=m.div`
2458
+ `,tr=m.div`
2446
2459
  display: flex;
2447
2460
  justify-content: space-evenly;
2448
2461
  flex-grow: 1;
2449
2462
  align-items: stretch;
2450
- `,tr=m.div`
2463
+ `,lr=m.div`
2451
2464
  display: flex;
2452
2465
  color: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2453
2466
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:o})=>t?e.variant[o]:e.variant[l]};
@@ -2462,19 +2475,19 @@ svg {
2462
2475
  svg path {
2463
2476
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2464
2477
  }
2465
- `,lr=({style:e,items:l,variant:o,borderVariant:r,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,...m})=>(b(),t.createElement(_o,V({variant:o,borderVariant:r},m),l?.map(((e,m)=>t.createElement(er,{key:d.concat(m)},t.createElement(tr,{variant:o,borderVariant:r,bgVariant:i,variantDisable:n,variantBgDisable:a,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>p(e.label)},e.icon),l?.length-1!==m&&s)))));lr.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func},_o.defaultProps={theme:R},er.defaultProps={theme:R},tr.defaultProps={theme:R},lr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const or=m.div`
2478
+ `,or=({style:e,items:l,variant:o,borderVariant:r,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,...m})=>(b(),t.createElement(er,V({variant:o,borderVariant:r},m),l?.map(((e,m)=>t.createElement(tr,{key:d.concat(m)},t.createElement(lr,{variant:o,borderVariant:r,bgVariant:i,variantDisable:n,variantBgDisable:a,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>p(e.label)},e.icon),l?.length-1!==m&&s)))));or.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func},er.defaultProps={theme:R},tr.defaultProps={theme:R},lr.defaultProps={theme:R},or.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const rr=m.div`
2466
2479
  display: flex;
2467
2480
  justify-content: space-evenly;
2468
2481
  align-items: stretch;
2469
2482
  height: 42px;
2470
2483
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2471
2484
  border-radius: 3px;
2472
- `,rr=m.div`
2485
+ `,ir=m.div`
2473
2486
  display: flex;
2474
2487
  justify-content: space-evenly;
2475
2488
  flex-grow: 1;
2476
2489
  align-items: stretch;
2477
- `,ir=m.div`
2490
+ `,nr=m.div`
2478
2491
  display: flex;
2479
2492
  color: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2480
2493
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:o})=>t?e.variant[o]:e.variant[l]};
@@ -2489,28 +2502,28 @@ svg {
2489
2502
  svg path {
2490
2503
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2491
2504
  }
2492
- `,nr=({style:e,items:l,variant:o,borderVariant:r,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,variantTPtext:m,variantTPbg:u,...g})=>(b(),t.createElement(or,V({variant:o,borderVariant:r},g),l?.map(((e,b)=>t.createElement($o,{key:d.concat(b),variant:o,borderVariant:r,bgVariant:i,variantDisable:n,variantBgDisable:a,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{p(e.label)},divider:l?.length-1!==b&&s,icon:e.icon,index:b,label:e.label,variantTPtext:m,variantTPbg:u})))));nr.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func,variantTPtext:e.string,variantTPbg:e.string},or.defaultProps={theme:R},rr.defaultProps={theme:R},ir.defaultProps={theme:R},nr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const ar=m.div`
2505
+ `,ar=({style:e,items:l,variant:o,borderVariant:r,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,variantTPtext:m,variantTPbg:u,...g})=>(b(),t.createElement(rr,V({variant:o,borderVariant:r},g),l?.map(((e,b)=>t.createElement(_o,{key:d.concat(b),variant:o,borderVariant:r,bgVariant:i,variantDisable:n,variantBgDisable:a,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{p(e.label)},divider:l?.length-1!==b&&s,icon:e.icon,index:b,label:e.label,variantTPtext:m,variantTPbg:u})))));ar.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func,variantTPtext:e.string,variantTPbg:e.string},rr.defaultProps={theme:R},ir.defaultProps={theme:R},nr.defaultProps={theme:R},ar.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const cr=m.div`
2493
2506
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2494
2507
  border: 1.3px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
2495
2508
  border-radius: 50%;
2496
2509
  width: ${({size:e})=>e}px;
2497
2510
  height: ${({size:e})=>e}px;
2498
2511
  box-sizing: border-box;
2499
- `,cr=({variant:e,bgColor:l,borderColor:o,...r})=>(b(),t.createElement(ar,V({variant:e,borderColor:o,bgColor:l},r)));cr.propTypes={variant:e.string,size:e.number,theme:e.object,borderColor:e.string,bgColor:e.string},ar.defaultProps={theme:R},cr.defaultProps={theme:R,variant:"primary-1",size:11};const sr=m.div`
2512
+ `,sr=({variant:e,bgColor:l,borderColor:o,...r})=>(b(),t.createElement(cr,V({variant:e,borderColor:o,bgColor:l},r)));sr.propTypes={variant:e.string,size:e.number,theme:e.object,borderColor:e.string,bgColor:e.string},cr.defaultProps={theme:R},sr.defaultProps={theme:R,variant:"primary-1",size:11};const dr=m.div`
2500
2513
  display: inline-flex;
2501
2514
  align-items: center;
2502
2515
  background-color: transparent;
2503
2516
  min-height: 24px;
2504
- `,dr=m.div`
2517
+ `,pr=m.div`
2505
2518
  display: flex;
2506
2519
  justify-content: space-evenly;
2507
2520
  width: 69px;
2508
- `,pr=m.p`
2521
+ `,mr=m.p`
2509
2522
  display: flex;
2510
2523
  color: ${({theme:e,variantText:t,colorText:l})=>l||e.variant[t]};
2511
2524
  font-size: 16px;
2512
2525
  margin: 0 5px;
2513
- `,mr=({style:e,variantCircle:l,variantText:o,level:r,textArray:i,colorArray:n,indexPrefix:a,colorText:c,...s})=>(b(),t.createElement(sr,s,t.createElement(dr,null,[1,2,3,4].map(((e,o)=>{let i="#D4D7E3",c=null,s=null;return r<=0&&(r=0),r>=4&&(r=4),n?r>=e?(c=n[r],i=n[r]):c=n[0]:r>=e?(s=l,i=l):s="#FFFFFF",t.createElement(cr,{key:a.concat(o),variant:s,borderColor:i,bgColor:c,size:11})}))),i&&t.createElement(pr,{variantText:o,colorText:c},i[r])));mr.propTypes={variantCircle:e.string,variantText:e.string,level:e.number,indexPrefix:e.string,theme:e.object,block:e.bool,textArray:e.array,colorArray:e.array,colorText:e.string},pr.defaultProps={theme:R},mr.defaultProps={theme:R,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const br={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},ur=m.button`
2526
+ `,br=({style:e,variantCircle:l,variantText:o,level:r,textArray:i,colorArray:n,indexPrefix:a,colorText:c,...s})=>(b(),t.createElement(dr,s,t.createElement(pr,null,[1,2,3,4].map(((e,o)=>{let i="#D4D7E3",c=null,s=null;return r<=0&&(r=0),r>=4&&(r=4),n?r>=e?(c=n[r],i=n[r]):c=n[0]:r>=e?(s=l,i=l):s="#FFFFFF",t.createElement(sr,{key:a.concat(o),variant:s,borderColor:i,bgColor:c,size:11})}))),i&&t.createElement(mr,{variantText:o,colorText:c},i[r])));br.propTypes={variantCircle:e.string,variantText:e.string,level:e.number,indexPrefix:e.string,theme:e.object,block:e.bool,textArray:e.array,colorArray:e.array,colorText:e.string},mr.defaultProps={theme:R},br.defaultProps={theme:R,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const ur={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},gr=m.button`
2514
2527
  ${({underlined:e})=>e?null:u`&:hover {text-decoration: underline}`};
2515
2528
  background: transparent;
2516
2529
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -2521,7 +2534,7 @@ svg {
2521
2534
  justify-content: start;
2522
2535
  border: none;
2523
2536
  cursor: pointer;
2524
- font-size: ${({size:e})=>br[e].fontSize};
2537
+ font-size: ${({size:e})=>ur[e].fontSize};
2525
2538
 
2526
2539
  &:disabled {
2527
2540
  color: ${({theme:e})=>e.variant["neutral-3"]};
@@ -2531,7 +2544,7 @@ svg {
2531
2544
  * {
2532
2545
  outline: none;
2533
2546
  }
2534
- `,gr=({block:e,size:l,style:o,variant:r,disabled:i,underlined:n,...a})=>(b(),t.createElement(ur,V({block:e,variant:r,type:"button",style:o,size:l,disabled:i,underlined:n},a),a.children));gr.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,onClick:e.func,theme:e.object,underlined:e.bool},ur.defaultProps={theme:R},gr.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const fr=m.div`
2547
+ `,fr=({block:e,size:l,style:o,variant:r,disabled:i,underlined:n,...a})=>(b(),t.createElement(gr,V({block:e,variant:r,type:"button",style:o,size:l,disabled:i,underlined:n},a),a.children));fr.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,onClick:e.func,theme:e.object,underlined:e.bool},gr.defaultProps={theme:R},fr.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const hr=m.div`
2535
2548
  display: flex;
2536
2549
  justify-content: space-between;
2537
2550
  align-items: start;
@@ -2542,33 +2555,33 @@ svg {
2542
2555
  z-index: 100;
2543
2556
  // custom styles
2544
2557
  ${({customModalHeaderStyle:e})=>e}
2545
- `,hr=m.div`
2558
+ `,yr=m.div`
2546
2559
  //Set the styles from the default styles object
2547
2560
  ${({inBuiltCss:e,type:t})=>T(e,t)}
2548
2561
  // custom styles
2549
2562
  ${({customModalBodyStyle:e})=>e}
2550
- `,yr=m.div`
2563
+ `,xr=m.div`
2551
2564
  max-height: 60vh;
2552
2565
  padding: 0 24px 24px 24px;
2553
2566
  overflow-y: auto;
2554
2567
  ${({contentWrapperStyle:e})=>e}
2555
- `,xr=m.div`
2568
+ `,vr=m.div`
2556
2569
  padding-top: 16px;
2557
2570
 
2558
2571
  //Set the styles from the default styles object
2559
2572
  ${({inBuiltCss:e,type:t})=>T(e,t)}
2560
2573
  // custom styles
2561
2574
  ${({customModalFooterStyle:e})=>e}
2562
- `,vr=m.div`
2575
+ `,Ar=m.div`
2563
2576
  cursor: pointer;
2564
- `;try{k.setAppElement("#root")}catch(e){k.setAppElement("#__next")}const Ar=({modalIsOpen:e,toggleModal:l,closeOnOutsideClick:o,headerContent:r,bodyContent:i,footerContent:n,customModalHeaderStyle:a,customModalBodyStyle:c,customModalFooterStyle:s,customWidth:d,customMinWidth:p,customMaxWidth:m,contentStyle:u,contentWrapperStyle:g,customZIndex:f,...h})=>{const y={overlay:{zIndex:f,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:p,overflow:"hidden",border:`1px solid ${(b()||R).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:d&&d,maxWidth:m&&m,...u}};return t.createElement(k,V({isOpen:e,onRequestClose:o?l:void 0,style:y,contentLabel:"Modal"},h),t.createElement(fr,{style:a},r,t.createElement(vr,{onClick:l},t.createElement(N,{icon:"close-icon",size:18}))),t.createElement(yr,{contentWrapperStyle:g},t.createElement(hr,{inBuiltCss:P,style:c},i),t.createElement(xr,{inBuiltCss:P,style:s},n)))};Ar.propTypes={modalIsOpen:e.bool,toggleModal:e.func,closeOnOutsideClick:e.bool,headerContent:e.any,bodyContent:e.any,footerContent:e.any,customModalHeaderStyle:e.object,customModalBodyStyle:e.object,customModalFooterStyle:e.object,customMinWidth:e.string,contentStyle:e.object,contentWrapperStyle:e.object,customZIndex:e.number},Ar.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:999999};const Cr=m.div`
2577
+ `;try{k.setAppElement("#root")}catch(e){k.setAppElement("#__next")}const Cr=({modalIsOpen:e,toggleModal:l,closeOnOutsideClick:o,headerContent:r,bodyContent:i,footerContent:n,customModalHeaderStyle:a,customModalBodyStyle:c,customModalFooterStyle:s,customWidth:d,customMinWidth:p,customMaxWidth:m,contentStyle:u,contentWrapperStyle:g,customZIndex:f,...h})=>{const y={overlay:{zIndex:f,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:p,overflow:"hidden",border:`1px solid ${(b()||R).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:d&&d,maxWidth:m&&m,...u}};return t.createElement(k,V({isOpen:e,onRequestClose:o?l:void 0,style:y,contentLabel:"Modal"},h),t.createElement(hr,{style:a},r,t.createElement(Ar,{onClick:l},t.createElement(N,{icon:"close-icon",size:18}))),t.createElement(xr,{contentWrapperStyle:g},t.createElement(yr,{inBuiltCss:P,style:c},i),t.createElement(vr,{inBuiltCss:P,style:s},n)))};Cr.propTypes={modalIsOpen:e.bool,toggleModal:e.func,closeOnOutsideClick:e.bool,headerContent:e.any,bodyContent:e.any,footerContent:e.any,customModalHeaderStyle:e.object,customModalBodyStyle:e.object,customModalFooterStyle:e.object,customMinWidth:e.string,contentStyle:e.object,contentWrapperStyle:e.object,customZIndex:e.number},Cr.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:999999};const wr=m.div`
2565
2578
  ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])o[l]=e[t][l],delete e.common[l]}return{...o,...l}}}}
2566
2579
  }
2567
- `,wr=({theme:e,toggleSimple:l,contentTrigger:o,contentOverlay:r,popperOptionsP:i,settingsP:n,customStyles:a,...c})=>{let s={},d={};l?(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d}):(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),s={...s,...i},d={...d,...n};const{getArrowProps:p,getTooltipProps:m,setTooltipRef:b,setTriggerRef:u,visible:g}=y({...d},s);return t.createElement(t.Fragment,null,t.createElement("div",{ref:u,style:{width:"fit-content",height:"fit-content"}},o),g&&t.createElement(Cr,V({type:l?"simple-overlay":"overlay",theme:e,ref:b},m({className:"tooltip-container"}),{customStyles:a}),r))};wr.propTypes={theme:e.object,contentTrigger:e.any,contentOverlay:e.any,popperOptionsP:e.object,settingsP:e.object,customStyles:e.object,toggleSimple:e.bool},wr.defaultProps={theme:P,contentTrigger:t.createElement("div",null,"Trigger"),contentOverlay:t.createElement("div",null,"I am the Overlay")};const Sr=m.div`
2580
+ `,Sr=({theme:e,toggleSimple:l,contentTrigger:o,contentOverlay:r,popperOptionsP:i,settingsP:n,customStyles:a,...c})=>{let s={},d={};l?(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d}):(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),s={...s,...i},d={...d,...n};const{getArrowProps:p,getTooltipProps:m,setTooltipRef:b,setTriggerRef:u,visible:g}=y({...d},s);return t.createElement(t.Fragment,null,t.createElement("div",{ref:u,style:{width:"fit-content",height:"fit-content"}},o),g&&t.createElement(wr,V({type:l?"simple-overlay":"overlay",theme:e,ref:b},m({className:"tooltip-container"}),{customStyles:a}),r))};Sr.propTypes={theme:e.object,contentTrigger:e.any,contentOverlay:e.any,popperOptionsP:e.object,settingsP:e.object,customStyles:e.object,toggleSimple:e.bool},Sr.defaultProps={theme:P,contentTrigger:t.createElement("div",null,"Trigger"),contentOverlay:t.createElement("div",null,"I am the Overlay")};const Er=m.div`
2568
2581
  display: flex;
2569
2582
  justify-content: center;
2570
2583
  ${({customParentStyles:e})=>e}
2571
- `,Er=m.span`
2584
+ `,kr=m.span`
2572
2585
  background-color: ${({selected:e,theme:t})=>e?t.variant["neutral-5"]:"transparent"};
2573
2586
  color: ${({selected:e,theme:t})=>e?t.variant["primary-2"]:t.variant["neutral-3"]};
2574
2587
  padding: 8px 14px;
@@ -2580,7 +2593,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2580
2593
  font-size: 14px;
2581
2594
 
2582
2595
  ${({customItemStyles:e})=>e}
2583
- `,kr=m.div`
2596
+ `,zr=m.div`
2584
2597
  display: flex;
2585
2598
  justify-content: center;
2586
2599
  align-items: center;
@@ -2603,16 +2616,16 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2603
2616
  }
2604
2617
 
2605
2618
  ${({customIconWrapperStyles:e})=>e}
2606
- `,zr=m.div`
2607
- padding: 0 15px;
2608
2619
  `,Vr=m.div`
2620
+ padding: 0 15px;
2621
+ `,Mr=m.div`
2609
2622
  display: flex;
2610
2623
  align-items: center;
2611
2624
  justify-content: center;
2612
2625
  color: ${({theme:e})=>e.variant["neutral-2"]};
2613
2626
 
2614
2627
  ${({customLeftWrapperStyles:e})=>e}
2615
- `,Mr=m.div`
2628
+ `,Br=m.div`
2616
2629
  display: flex;
2617
2630
  margin: 0;
2618
2631
  align-items: center;
@@ -2625,11 +2638,11 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2625
2638
  margin: 0 10px;
2626
2639
  color: ${({theme:e})=>e.variant["neutral-2"]};
2627
2640
  }
2628
- `,Br=({selectedPage:e,setSelectedPage:l,totalPage:o,customItemStyles:n,customLeftWrapperStyles:a,customIconWrapperStyles:c,previousText:s,nextText:d,pageToShow:p,totalResults:m,showResultPerPage:u,customParentStyles:g,customRightWrapperStyles:f,...h})=>{const y=b()||R,[x,v]=r([]);let A=p>o?o:p;i((()=>{v(Array.from({length:A},((e,t)=>t+1)))}),[o,p,A]);const C=t=>{let r=[];"increase"===t&&x[A-1]<=o&&e!==x[A-1]?l(e+1):"increase"===t&&x[A-1]<o?(r=Array.from({length:A},((e,t)=>t+x[0]+1)),l(e+1),v(r)):"decrease"===t&&x[0]<=e-1?l(e-1):"decrease"===t&&e>1&&(l(e-1),v(Array.from({length:A},((e,t)=>t+x[0]-1))))};return t.createElement(Sr,{customParentStyles:g}," ",t.createElement(Vr,V({theme:y,customLeftWrapperStyles:a},h),t.createElement(kr,V({onClick:()=>C("decrease"),disabled:1===e,theme:y,customIconWrapperStyles:c},h),t.createElement(N,{icon:"triangle-down",transform:"rotate(90deg)",color:y.variant["neutral-3"]}),t.createElement("span",{className:"prev-text"}," ",s)),t.createElement(zr,h,x.map(((o,r)=>t.createElement(Er,{key:r,theme:y,selected:e===o,onClick:()=>l(o),customItemStyles:n},o)))),t.createElement(kr,{onClick:()=>C("increase"),disabled:e===o,theme:y,customIconWrapperStyles:c},t.createElement("span",{className:"next-text"}," ",d),t.createElement(N,{icon:"triangle-down",transform:"rotate(-90deg)",color:y.variant["neutral-3"]}))),u&&t.createElement(Mr,{theme:y,customRightWrapperStyles:f},t.createElement(Bt,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:y.variant["neutral-3"]}),t.createElement("p",{style:{marginBottom:0}},t.createElement("span",null,"OF")," ",m," ",t.createElement("span",null,"RESULTS"))))};Br.propTypes={customItemStyles:e.object,selectedPage:e.number,customLeftWrapperStyles:e.object,customIconWrapperStyles:e.object,previousText:e.string,nextText:e.string,pageToShow:e.number,totalResults:e.number,showResultPerPage:e.bool,customParentStyles:e.object,customRightWrapperStyles:e.object},Br.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const Wr=m.div`
2641
+ `,Ir=({selectedPage:e,setSelectedPage:l,totalPage:o,customItemStyles:n,customLeftWrapperStyles:a,customIconWrapperStyles:c,previousText:s,nextText:d,pageToShow:p,totalResults:m,showResultPerPage:u,customParentStyles:g,customRightWrapperStyles:f,...h})=>{const y=b()||R,[x,v]=r([]);let A=p>o?o:p;i((()=>{v(Array.from({length:A},((e,t)=>t+1)))}),[o,p,A]);const C=t=>{let r=[];"increase"===t&&x[A-1]<=o&&e!==x[A-1]?l(e+1):"increase"===t&&x[A-1]<o?(r=Array.from({length:A},((e,t)=>t+x[0]+1)),l(e+1),v(r)):"decrease"===t&&x[0]<=e-1?l(e-1):"decrease"===t&&e>1&&(l(e-1),v(Array.from({length:A},((e,t)=>t+x[0]-1))))};return t.createElement(Er,{customParentStyles:g}," ",t.createElement(Mr,V({theme:y,customLeftWrapperStyles:a},h),t.createElement(zr,V({onClick:()=>C("decrease"),disabled:1===e,theme:y,customIconWrapperStyles:c},h),t.createElement(N,{icon:"triangle-down",transform:"rotate(90deg)",color:y.variant["neutral-3"]}),t.createElement("span",{className:"prev-text"}," ",s)),t.createElement(Vr,h,x.map(((o,r)=>t.createElement(kr,{key:r,theme:y,selected:e===o,onClick:()=>l(o),customItemStyles:n},o)))),t.createElement(zr,{onClick:()=>C("increase"),disabled:e===o,theme:y,customIconWrapperStyles:c},t.createElement("span",{className:"next-text"}," ",d),t.createElement(N,{icon:"triangle-down",transform:"rotate(-90deg)",color:y.variant["neutral-3"]}))),u&&t.createElement(Br,{theme:y,customRightWrapperStyles:f},t.createElement(It,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:y.variant["neutral-3"]}),t.createElement("p",{style:{marginBottom:0}},t.createElement("span",null,"OF")," ",m," ",t.createElement("span",null,"RESULTS"))))};Ir.propTypes={customItemStyles:e.object,selectedPage:e.number,customLeftWrapperStyles:e.object,customIconWrapperStyles:e.object,previousText:e.string,nextText:e.string,pageToShow:e.number,totalResults:e.number,showResultPerPage:e.bool,customParentStyles:e.object,customRightWrapperStyles:e.object},Ir.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const Wr=m.div`
2629
2642
  display: flex;
2630
2643
  align-items: center;
2631
2644
  color: ${({theme:e})=>e.variant["neutral-2"]};
2632
- `,Ir=({...e})=>{const l=b()||R;return t.createElement(Wr,{theme:l},e.children)},Lr=m.div`
2645
+ `,Lr=({...e})=>{const l=b()||R;return t.createElement(Wr,{theme:l},e.children)},Rr=m.div`
2633
2646
  font-size: 14px;
2634
2647
  color: ${({selected:e,theme:t})=>e?t.variant["primary-1"]:null};
2635
2648
 
@@ -2645,7 +2658,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2645
2658
  &:not(:first-child):not(:last-child) {
2646
2659
  margin: 0 22px;
2647
2660
  }
2648
- `;(Ir.PageItem=function({selected:e,...l}){const o=b()||R;return t.createElement(Lr,V({selected:e,theme:o},l),l.children)}).propTypes={selected:e.bool},Ir.PageItem.defaultProps={selected:!1};const Rr=m.div`
2661
+ `;(Lr.PageItem=function({selected:e,...l}){const o=b()||R;return t.createElement(Rr,V({selected:e,theme:o},l),l.children)}).propTypes={selected:e.bool},Lr.PageItem.defaultProps={selected:!1};const Pr=m.div`
2649
2662
  position: relative;
2650
2663
  height: 10px;
2651
2664
  border-radius: 10px;
@@ -2658,7 +2671,7 @@ position: relative;
2658
2671
 
2659
2672
  // custom styles
2660
2673
  ${({progressWrapStyle:e})=>e}
2661
- `,Pr=m.div`
2674
+ `,Tr=m.div`
2662
2675
  height: inherit;
2663
2676
  width: inherit;
2664
2677
  transition: width 1s ease-in-out;
@@ -2670,12 +2683,12 @@ position: relative;
2670
2683
  ${({progressBarStyle:e})=>e}
2671
2684
  width: ${({now:e})=>e+"%"};
2672
2685
  background-color: ${({color:e,theme:t})=>e||t.primary["primary-1"]};
2673
- `,Tr=({labelStyle:e,progressBarStyle:l,progressWrapStyle:o,label:r,now:i,color:n,innerContent:a,...c})=>{const s=b()||R;return t.createElement("div",null,t.createElement(lt,V({inBuiltCss:P,customStyles:e,type:"progressbarLabel",text:r},c)),t.createElement(Rr,V({progressBarStyle:l,theme:s,progressWrapStyle:o,color:n},c),t.createElement(Pr,V({progressBarStyle:l,now:i,theme:s,color:n},c)),t.createElement("div",{style:{position:"absolute",zIndex:"3",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},a)))};Tr.propTypes={labelStyle:e.object,progressBarStyle:e.object,progressWrapStyle:e.object,color:e.string,label:e.string,now:e.number,innerContent:e.any},Tr.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const Hr=m.div`
2686
+ `,Hr=({labelStyle:e,progressBarStyle:l,progressWrapStyle:o,label:r,now:i,color:n,innerContent:a,...c})=>{const s=b()||R;return t.createElement("div",null,t.createElement(lt,V({inBuiltCss:P,customStyles:e,type:"progressBar-label",text:r},c)),t.createElement(Pr,V({progressBarStyle:l,theme:s,progressWrapStyle:o,color:n},c),t.createElement(Tr,V({progressBarStyle:l,now:i,theme:s,color:n},c)),t.createElement("div",{style:{position:"absolute",zIndex:"3",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},a)))};Hr.propTypes={labelStyle:e.object,progressBarStyle:e.object,progressWrapStyle:e.object,color:e.string,label:e.string,now:e.number,innerContent:e.any},Hr.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const jr=m.div`
2674
2687
  background: transparent;
2675
2688
  display: flex;
2676
2689
  align-items: center;
2677
2690
  width: ${({block:e})=>e?"100%":"fit-content"};
2678
- `,jr=m.div`
2691
+ `,qr=m.div`
2679
2692
  margin: 0;
2680
2693
  color: ${({theme:e,variantOff:t})=>e.variant[t]};
2681
2694
  white-space: nowrap;
@@ -2693,16 +2706,16 @@ position: relative;
2693
2706
  &>div:first-of-type{
2694
2707
  color: ${({theme:e,variantOn:t})=>e.variant[t]};
2695
2708
  }
2696
- `,qr=m.div`
2709
+ `,Fr=m.div`
2697
2710
  display: flex;
2698
2711
  margin-left: 20px;
2699
- `,Fr=m.div`
2712
+ `,Zr=m.div`
2700
2713
  height: 6px;
2701
2714
  width: ${({widthStep:e})=>e}px;
2702
2715
  margin: 0 3px;
2703
2716
  background-color: ${({theme:e,isActive:t,variantOn:l,variantOff:o})=>t?e.variant[l]:e.variant[o]};
2704
2717
  border-radius: 19px;
2705
- `,Zr=({block:e,variantOn:l,variantOff:o,currentStep:r,totalSteps:i,widthStep:n,style:a,progressText:c,...s})=>(b(),t.createElement(Hr,V({block:e},s,{style:a}),t.createElement(jr,V({},s,{variantOn:l,variantOff:o}),c||"Page"," ",t.createElement("div",null,r)," of ",t.createElement("div",null,i)),t.createElement(qr,s,Array.from(Array(i).keys()).map((e=>t.createElement(Fr,{key:"formSteps".concat(e),isActive:r===e+1,variantOn:l,variantOff:o,widthStep:n}))))));Zr.propTypes={variantOn:e.string,variantOff:e.string,block:e.bool,theme:e.object,currentStep:e.number,totalSteps:e.number,widthStep:e.number,progressText:e.string},Hr.defaultProps={theme:R},jr.defaultProps={theme:R},qr.defaultProps={theme:R},Fr.defaultProps={theme:R},Zr.defaultProps={theme:R,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Or=m.button`
2718
+ `,Or=({block:e,variantOn:l,variantOff:o,currentStep:r,totalSteps:i,widthStep:n,style:a,progressText:c,...s})=>(b(),t.createElement(jr,V({block:e},s,{style:a}),t.createElement(qr,V({},s,{variantOn:l,variantOff:o}),c||"Page"," ",t.createElement("div",null,r)," of ",t.createElement("div",null,i)),t.createElement(Fr,s,Array.from(Array(i).keys()).map((e=>t.createElement(Zr,{key:"formSteps".concat(e),isActive:r===e+1,variantOn:l,variantOff:o,widthStep:n}))))));Or.propTypes={variantOn:e.string,variantOff:e.string,block:e.bool,theme:e.object,currentStep:e.number,totalSteps:e.number,widthStep:e.number,progressText:e.string},jr.defaultProps={theme:R},qr.defaultProps={theme:R},Fr.defaultProps={theme:R},Zr.defaultProps={theme:R},Or.defaultProps={theme:R,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Gr=m.button`
2706
2719
  background: ${({disabled:e,theme:t,bgVariant:l})=>e?"#BBC4CF":t.variant[l]};
2707
2720
  color: ${({theme:e,variant:t})=>e.variant[t]};
2708
2721
  padding: 6px 17px;
@@ -2729,7 +2742,7 @@ position: relative;
2729
2742
  * {
2730
2743
  outline: none;
2731
2744
  }
2732
- `,Gr=({block:e,style:l,variant:o,bgVariant:r,disabled:i,...n})=>(b(),t.createElement(Or,V({block:e,variant:o,bgVariant:r,type:"button",style:l,disabled:i},n),n.children));Gr.propTypes={variant:e.string,bgVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Or.defaultProps={theme:R},Gr.defaultProps={theme:R,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const Dr=m.button`
2745
+ `,Dr=({block:e,style:l,variant:o,bgVariant:r,disabled:i,...n})=>(b(),t.createElement(Gr,V({block:e,variant:o,bgVariant:r,type:"button",style:l,disabled:i},n),n.children));Dr.propTypes={variant:e.string,bgVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Gr.defaultProps={theme:R},Dr.defaultProps={theme:R,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const Xr=m.button`
2733
2746
  background: ${({disabled:e,theme:t})=>e?"#BBC4CF":t.bgColor};
2734
2747
  color: ${({theme:e,variant:t})=>e.variant[t]};
2735
2748
  padding: 6px 17px;
@@ -2752,7 +2765,7 @@ position: relative;
2752
2765
  fill: #929EAC;
2753
2766
  }
2754
2767
  }
2755
- `,Xr=({block:e,style:l,variant:o,borderVariant:r,disabled:i,...n})=>(b(),t.createElement(Dr,V({block:e,variant:o,borderVariant:r,type:"button",style:l,disabled:i},n),n.children));Xr.propTypes={variant:e.string,borderVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Dr.defaultProps={theme:R},Xr.defaultProps={theme:R,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Jr=m.div`
2768
+ `,Jr=({block:e,style:l,variant:o,borderVariant:r,disabled:i,...n})=>(b(),t.createElement(Xr,V({block:e,variant:o,borderVariant:r,type:"button",style:l,disabled:i},n),n.children));Jr.propTypes={variant:e.string,borderVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Xr.defaultProps={theme:R},Jr.defaultProps={theme:R,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Ur=m.div`
2756
2769
  display: flex;
2757
2770
  flex-direction: column;
2758
2771
  height: ${({toggleSideBarOpen:e})=>"100vh"};
@@ -2760,7 +2773,7 @@ position: relative;
2760
2773
  @media (max-width: 428px) {
2761
2774
  height: ${({toggleSideBarOpen:e})=>e?"100vh":"56px"};
2762
2775
  }
2763
- `,Ur=m.div`
2776
+ `,Yr=m.div`
2764
2777
  min-height: 56px;
2765
2778
  display: flex;
2766
2779
  background-color: ${({theme:e})=>e.primary["primary-1"]};
@@ -2777,7 +2790,7 @@ position: relative;
2777
2790
  }
2778
2791
 
2779
2792
  ${({headerStyles:e})=>e}
2780
- `,Yr=m.div`
2793
+ `,Qr=m.div`
2781
2794
  display: flex;
2782
2795
  background-color: transparent;
2783
2796
  flex-direction: column;
@@ -2787,7 +2800,7 @@ position: relative;
2787
2800
  // @media (max-width: 428px) {
2788
2801
  // display: ${({toggleSideBarOpen:e})=>e?"block":"none"} ;
2789
2802
  // }
2790
- `,Qr=m.div`
2803
+ `,Nr=m.div`
2791
2804
  display: flex;
2792
2805
  justify-content: flex-start;
2793
2806
  align-items: center;
@@ -2816,7 +2829,7 @@ position: relative;
2816
2829
  p {
2817
2830
  margin: 0;
2818
2831
  }
2819
- `,Nr=({headerContent:e,bodyContent:l,footerContent:o,toggleSideBarOpen:n,headerStyles:a,selectedStyle:c,notSelectedStyle:s,customStylesNameHover:d,listElementStyle:p,customSelectCardColor:m,user:u,firstBottomContent:g,secondBottomContent:f,selectedAppPath:h,setSelectedAppPath:y,selectedAppPageId:x,setSelectedAppPageId:v,setParentId:A,setRouterObject:C,...w})=>{const S=b()||R,[E,k]=r(null),[z,V]=r(!1),[M,B]=r([]);return i((()=>{B(h.split("/"));let e=h.split("/"),t=l&&l.find((t=>e[1]===t.path.split("/")[1])),o=t?.routes&&t?.routes.find((e=>e?.path===h));v(o?.pageId||null),C(o||null),A(t?.pageId||null)}),[h]),t.createElement(Jr,{onMouseEnter:()=>V(!0),onMouseLeave:()=>{k(null),V(!1)},toggleSideBarOpen:n},t.createElement(Ur,{theme:S,headerStyles:a},e),t.createElement(Yr,{toggleSideBarOpen:n},l&&l.filter((e=>!0===e.visibleAsMenu))?.map(((e,l,o)=>{let r=o.length;return t.createElement(_,{key:e.pageId,index:l,handleClick:e=>{!function(e){k(e)}(e)},isAccordionOpen:l===E||z&&e?.value?.toLowerCase()===M[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===M[1]?.toLowerCase(),customSelectCardColor:m,customStylesAccordionContainer:{"box-shadow":"none","border-radius":"0px","background-color":"transparent",position:r-1===l?"absolute":"initial",bottom:r-1===l&&"0px",padding:r-1===l?"2px 0px 10px 0px":"0px 0px 0px 0px"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"8px","padding-top":"16px","padding-bottom":"16px",cursor:"pointer"},customStylesAccordionContent:{transition:"height ease 0.2s",overflow:"hidden",padding:"0","background-color":"transparent",color:"white",position:"relative","box-shadow":"none"},contentToggle:t.createElement(ge,{selectedStyle:c,notSelectedStyle:s,toggleName:n,customStylesName:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white","font-weight":"600"},customStylesNameHover:d,size:"MD",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e?.value?.toLowerCase()===M[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((l,o)=>t.createElement(Qr,{listElementStyle:p,key:e.pageId+o,onClick:()=>{y(l.path)}},t.createElement("span",{className:"selected-disk",style:{visibility:M[2]?.toLowerCase()===l?.path.split("/")[2]?.toLowerCase()?"visible":"hidden"}}),t.createElement("span",{className:"link"}," ",l?.link)))))})}))))},Kr=m.div`
2832
+ `,Kr=({headerContent:e,bodyContent:l,footerContent:o,toggleSideBarOpen:n,headerStyles:a,selectedStyle:c,notSelectedStyle:s,customStylesNameHover:d,listElementStyle:p,customSelectCardColor:m,user:u,firstBottomContent:g,secondBottomContent:f,selectedAppPath:h,setSelectedAppPath:y,selectedAppPageId:x,setSelectedAppPageId:v,setParentId:A,setRouterObject:C,...w})=>{const S=b()||R,[E,k]=r(null),[z,V]=r(!1),[M,B]=r([]);return i((()=>{B(h.split("/"));let e=h.split("/"),t=l&&l.find((t=>e[1]===t.path.split("/")[1])),o=t?.routes&&t?.routes.find((e=>e?.path===h));v(o?.pageId||null),C(o||null),A(t?.pageId||null)}),[h]),t.createElement(Ur,{onMouseEnter:()=>V(!0),onMouseLeave:()=>{k(null),V(!1)},toggleSideBarOpen:n},t.createElement(Yr,{theme:S,headerStyles:a},e),t.createElement(Qr,{toggleSideBarOpen:n},l&&l.filter((e=>!0===e.visibleAsMenu))?.map(((e,l,o)=>{let r=o.length;return t.createElement(_,{key:e.pageId,index:l,handleClick:e=>{!function(e){k(e)}(e)},isAccordionOpen:l===E||z&&e?.value?.toLowerCase()===M[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===M[1]?.toLowerCase(),customSelectCardColor:m,customStylesAccordionContainer:{"box-shadow":"none","border-radius":"0px","background-color":"transparent",position:r-1===l?"absolute":"initial",bottom:r-1===l&&"0px",padding:r-1===l?"2px 0px 10px 0px":"0px 0px 0px 0px"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"8px","padding-top":"16px","padding-bottom":"16px",cursor:"pointer"},customStylesAccordionContent:{transition:"height ease 0.2s",overflow:"hidden",padding:"0","background-color":"transparent",color:"white",position:"relative","box-shadow":"none"},contentToggle:t.createElement(ge,{selectedStyle:c,notSelectedStyle:s,toggleName:n,customStylesName:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white","font-weight":"600"},customStylesNameHover:d,size:"MD",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e?.value?.toLowerCase()===M[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((l,o)=>t.createElement(Nr,{listElementStyle:p,key:e.pageId+o,onClick:()=>{y(l.path)}},t.createElement("span",{className:"selected-disk",style:{visibility:M[2]?.toLowerCase()===l?.path.split("/")[2]?.toLowerCase()?"visible":"hidden"}}),t.createElement("span",{className:"link"}," ",l?.link)))))})}))))},$r=m.div`
2820
2833
  background-color: ${({theme:e})=>e.variant["primary-1"]} !important;
2821
2834
  color: ${({theme:e})=>e.bgColor};
2822
2835
  overflow-y: auto;
@@ -2834,7 +2847,7 @@ ${({isOpen:e,forceOpen:t,inBuiltCss:l,type:o,customStylesContainerOpen:r,customS
2834
2847
  @media (max-width: 980px) {
2835
2848
  ${({isOpen:e,inBuiltCss:t,type:l,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r})=>{}}
2836
2849
  }
2837
- `,$r=m.div`
2850
+ `,_r=m.div`
2838
2851
  ${({inBuiltCss:e,type:t})=>T(e,"sidebar-pusher")}
2839
2852
  ${({customStylesPusher:e})=>e}
2840
2853
 
@@ -2843,33 +2856,33 @@ ${({forceOpen:e,inBuiltCss:t,type:l,customStylesPusherOpen:o,customStylesPusherC
2843
2856
  @media (max-width: 980px) {
2844
2857
  ${({inBuiltCss:e,type:t,customStylesPusherMobile:l})=>({...T(e,"sidebar-pusher-mobile"),...l})}
2845
2858
  }
2846
- `,_r=({customStylesContainer:e,customStylesContainerOpen:l,customStylesContainerClose:o,customStylesContainerMobileOpen:r,customStylesContainerMobileClose:i,customStylesPusher:n,customStylesPusherOpen:a,customStylesPusherClose:c,customStylesPusherMobile:s,forceOpen:d,forceClose:p,handleSidebar:m,toggleSideBarOpen:u,pinner:g,...f})=>{function h(e){m(e)}const y=b()||R;return t.createElement(Kr,V({theme:y,inBuiltCss:P,customStyles:e,type:"sidebarContainer",onMouseEnter:()=>{d||h(!0)},onMouseLeave:()=>{h(!1),p()},forceOpen:d,isOpen:u},f),t.createElement($r,null),f.children,g)};_r.propTypes={customStylesContainer:e.object,customStylesContainerOpen:e.object,customStylesContainerClose:e.object,customStylesContainerMobileOpen:e.object,customStylesContainerMobileClose:e.object,customStylesPusher:e.object,customStylesPusherOpen:e.object,customStylesPusherClose:e.object,customStylesPusherMobile:e.object,forceOpen:e.bool,forceClose:e.func,handleSidebar:e.func,toggleSideBarOpen:e.bool,pinner:e.any},_r.defaultProps={forceClose:()=>{},forceOpen:!1};const ei={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},ti=m.div`
2859
+ `,ei=({customStylesContainer:e,customStylesContainerOpen:l,customStylesContainerClose:o,customStylesContainerMobileOpen:r,customStylesContainerMobileClose:i,customStylesPusher:n,customStylesPusherOpen:a,customStylesPusherClose:c,customStylesPusherMobile:s,forceOpen:d,forceClose:p,handleSidebar:m,toggleSideBarOpen:u,pinner:g,...f})=>{function h(e){m(e)}const y=b()||R;return t.createElement($r,V({theme:y,inBuiltCss:P,customStyles:e,type:"sidebarContainer",onMouseEnter:()=>{d||h(!0)},onMouseLeave:()=>{h(!1),p()},forceOpen:d,isOpen:u},f),t.createElement(_r,null),f.children,g)};ei.propTypes={customStylesContainer:e.object,customStylesContainerOpen:e.object,customStylesContainerClose:e.object,customStylesContainerMobileOpen:e.object,customStylesContainerMobileClose:e.object,customStylesPusher:e.object,customStylesPusherOpen:e.object,customStylesPusherClose:e.object,customStylesPusherMobile:e.object,forceOpen:e.bool,forceClose:e.func,handleSidebar:e.func,toggleSideBarOpen:e.bool,pinner:e.any},ei.defaultProps={forceClose:()=>{},forceOpen:!1};const ti={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},li=m.div`
2847
2860
  background: ${({theme:e,variant:t})=>e.variant[t]};
2848
2861
  color: ${({theme:e})=>e.bgColor};
2849
- padding: ${({size:e})=>ei[e].padding};
2862
+ padding: ${({size:e})=>ti[e].padding};
2850
2863
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
2851
2864
  border-radius: 42px;
2852
- font-size: ${({size:e})=>ei[e].fontSize};
2865
+ font-size: ${({size:e})=>ti[e].fontSize};
2853
2866
  font-weight: 600;
2854
2867
  display: flex;
2855
2868
  align-items: center;
2856
2869
  width: ${({block:e})=>e?"auto":"fit-content"};
2857
2870
  box-sizing: border-box;
2858
2871
 
2859
- `,li=({block:e,style:l,variant:o,...r})=>(b(),t.createElement(ti,V({block:e,variant:o,style:l},r),r.children));li.propTypes={variant:e.string,block:e.bool,theme:e.object},ti.defaultProps={theme:R},li.defaultProps={theme:R,variant:"primary-1",block:!1};const oi={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},ri=m.div`
2872
+ `,oi=({block:e,style:l,variant:o,...r})=>(b(),t.createElement(li,V({block:e,variant:o,style:l},r),r.children));oi.propTypes={variant:e.string,block:e.bool,theme:e.object},li.defaultProps={theme:R},oi.defaultProps={theme:R,variant:"primary-1",block:!1};const ri={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},ii=m.div`
2860
2873
  color: ${({theme:e,variant:t})=>e.variant[t]};
2861
2874
  background: ${({theme:e})=>e.bgColor};
2862
- padding: ${({size:e})=>oi[e].padding};
2875
+ padding: ${({size:e})=>ri[e].padding};
2863
2876
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
2864
2877
  border-radius: 42px;
2865
- font-size: ${({size:e})=>oi[e].fontSize};
2878
+ font-size: ${({size:e})=>ri[e].fontSize};
2866
2879
  font-weight: 600;
2867
2880
  display: flex;
2868
2881
  align-items: center;
2869
2882
  width: ${({block:e})=>e?"auto":"fit-content"};
2870
2883
  box-sizing: border-box;
2871
2884
 
2872
- `,ii=({block:e,style:l,variant:o,...r})=>(b(),t.createElement(ri,V({block:e,variant:o,style:l},r),r.children));ii.propTypes={variant:e.string,block:e.bool,theme:e.object},ri.defaultProps={theme:R},ii.defaultProps={theme:R,variant:"primary-1",block:!1};const ni={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},ai=m.div`
2885
+ `,ni=({block:e,style:l,variant:o,...r})=>(b(),t.createElement(ii,V({block:e,variant:o,style:l},r),r.children));ni.propTypes={variant:e.string,block:e.bool,theme:e.object},ii.defaultProps={theme:R},ni.defaultProps={theme:R,variant:"primary-1",block:!1};const ai={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},ci=m.div`
2873
2886
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2874
2887
  color: ${({theme:e,textColor:t})=>t||e.bgColor};
2875
2888
  border-radius: 13.5px;
@@ -2877,11 +2890,11 @@ font-size: 14px;
2877
2890
  display: inline-flex;
2878
2891
  align-items: center;
2879
2892
  justify-content: center;
2880
- min-width: ${({block:e,size:t})=>e?"auto":ni[t].width};
2893
+ min-width: ${({block:e,size:t})=>e?"auto":ai[t].width};
2881
2894
  height: 28px;
2882
2895
  box-sizing: border-box;
2883
2896
  overflow: hidden;
2884
- `,ci=({block:e,style:l,variant:o,textColor:r,bgColor:i,...n})=>(b(),t.createElement(ai,V({block:e,variant:o,textColor:r,bgColor:i,style:l},n),n.children));ci.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,bgColor:e.string},ai.defaultProps={theme:R},ci.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const si={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},di=m.div`
2897
+ `,si=({block:e,style:l,variant:o,textColor:r,bgColor:i,...n})=>(b(),t.createElement(ci,V({block:e,variant:o,textColor:r,bgColor:i,style:l},n),n.children));si.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,bgColor:e.string},ci.defaultProps={theme:R},si.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const di={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},pi=m.div`
2885
2898
  background: ${({theme:e})=>e.bgColor};
2886
2899
  color: ${({theme:e,variant:t,textColor:l})=>l||e.variant[t]};
2887
2900
  border: 1px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
@@ -2890,30 +2903,30 @@ font-size: 14px;
2890
2903
  display: flex;
2891
2904
  align-items: center;
2892
2905
  justify-content: center;
2893
- width: ${({block:e,size:t})=>e?"auto":si[t].width};
2906
+ width: ${({block:e,size:t})=>e?"auto":di[t].width};
2894
2907
  height: 27px;
2895
2908
  box-sizing: border-box;
2896
2909
  overflow: hidden;
2897
- `,pi=({block:e,style:l,variant:o,textColor:r,borderColor:i,...n})=>(b(),t.createElement(di,V({block:e,variant:o,textColor:r,borderColor:i,style:l},n),n.children));pi.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,borderColor:e.string},di.defaultProps={theme:R},pi.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const mi=e=>t.createElement("div",null,e.childern);mi.propTypes={name:e.string};const bi=m.div`
2910
+ `,mi=({block:e,style:l,variant:o,textColor:r,borderColor:i,...n})=>(b(),t.createElement(pi,V({block:e,variant:o,textColor:r,borderColor:i,style:l},n),n.children));mi.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,borderColor:e.string},pi.defaultProps={theme:R},mi.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const bi=e=>t.createElement("div",null,e.childern);bi.propTypes={name:e.string};const ui=m.div`
2898
2911
  padding: 24px;
2899
2912
  ${({tabWrapperStyle:e})=>e}
2900
- `,ui=m.div`
2913
+ `,gi=m.div`
2901
2914
  color: ${({theme:e})=>e.variant["graph-5"]};
2902
2915
  display: flex;
2903
2916
  align-items: flex-start;
2904
2917
  column-gap: 12px;
2905
2918
  padding-bottom: 24px;
2906
2919
  ${({headerWrapperStyle:e})=>e}
2907
- `,gi=m.span`
2920
+ `,fi=m.span`
2908
2921
  font-size: 16px;
2909
2922
  padding: 7px 20px;
2910
2923
  background-color: ${({theme:e,isActive:t})=>t?H(e.variant["primary-1"],.2):"transparent"};
2911
2924
  cursor: pointer;
2912
2925
  border-radius: 5px;
2913
2926
  ${({headerStyle:e})=>e}
2914
- `,fi=m.div`
2927
+ `,hi=m.div`
2915
2928
  ${({tabContentStyle:e})=>e}
2916
- `,hi=({children:e,tabWrapperStyle:l,headerStyle:o,tabContentStyle:n,headerWrapperStyle:a,dividerStyle:c,...s})=>{const[d,p]=r([]),[m,u]=r({}),[g,f]=r("");i((()=>{const l=[],o={};t.Children.forEach(e,(e=>{if(!t.isValidElement(e))return;const{name:r}=e.props;l.push(r),o[r]=e.props.children})),p(l),f(l[0]),u({...o})}),[e]);const h=b()||R;return t.createElement(bi,{tabWrapperStyle:l},t.createElement(ui,{theme:h,headerWrapperStyle:a},d.map(((e,l)=>t.createElement(gi,{onClick:()=>{f(e)},key:l,theme:h,isActive:e===g,headerStyle:o},e)))),t.createElement(ho,{theme:h,height:"8px",dividerStyle:c}),t.createElement(fi,{tabContentStyle:n},Object.keys(m).map((e=>e===g?t.createElement("div",null,m[e]):null))))};hi.propTypes={children:function(e,l,o){const r=e[l];let i=null;return t.Children.forEach(r,(function(e){e.type!==mi&&(i=new Error("`"+o+"` children should be of type `TabPanel`."))})),i}},hi.propTypes={tabWrapperStyle:e.object,headerWrapperStyle:e.object,headerStyle:e.object,dividerStyle:e.object,tabContentStyle:e.object},hi.defaultProps={tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const yi=m.div`
2929
+ `,yi=({children:e,tabWrapperStyle:l,headerStyle:o,tabContentStyle:n,headerWrapperStyle:a,dividerStyle:c,...s})=>{const[d,p]=r([]),[m,u]=r({}),[g,f]=r("");i((()=>{const l=[],o={};t.Children.forEach(e,(e=>{if(!t.isValidElement(e))return;const{name:r}=e.props;l.push(r),o[r]=e.props.children})),p(l),f(l[0]),u({...o})}),[e]);const h=b()||R;return t.createElement(ui,{tabWrapperStyle:l},t.createElement(gi,{theme:h,headerWrapperStyle:a},d.map(((e,l)=>t.createElement(fi,{onClick:()=>{f(e)},key:l,theme:h,isActive:e===g,headerStyle:o},e)))),t.createElement(yo,{theme:h,height:"8px",dividerStyle:c}),t.createElement(hi,{tabContentStyle:n},Object.keys(m).map((e=>e===g?t.createElement("div",null,m[e]):null))))};yi.propTypes={children:function(e,l,o){const r=e[l];let i=null;return t.Children.forEach(r,(function(e){e.type!==bi&&(i=new Error("`"+o+"` children should be of type `TabPanel`."))})),i}},yi.propTypes={tabWrapperStyle:e.object,headerWrapperStyle:e.object,headerStyle:e.object,dividerStyle:e.object,tabContentStyle:e.object},yi.defaultProps={tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const xi=m.div`
2917
2930
  .notification {
2918
2931
  background: ${({theme:e})=>e.bgColor};
2919
2932
  transition: 0.3s ease;
@@ -2987,7 +3000,7 @@ overflow: hidden;
2987
3000
  .close-icon {
2988
3001
  cursor: pointer;
2989
3002
  }
2990
- `,xi=({close:e,children:l,type:r,position:n,timeout:a})=>{((e,t)=>{const l=o(e);i((()=>{l.current=e}),[e]),i((()=>{if(null===t)return;const e=setTimeout((()=>l.current()),t);return()=>clearTimeout(e)}),[t])})(e,a||5e4);const c=b()||R;let s=null;switch(r){case"success":s=t.createElement(N,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":s=t.createElement(N,{icon:"info-icon",color:"white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":s=t.createElement(N,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})}return t.createElement(yi,{theme:c,type:r},t.createElement("div",{className:`notification toast ${n}`},t.createElement("div",{className:"leftSide"},t.createElement("div",{className:"notification-icon"},s),t.createElement("div",null,t.createElement("p",{className:"notification-message"},l))),t.createElement("div",{className:"close-icon",onClick:e},t.createElement(N,{icon:"close-icon",color:c.variant["neutral-2"]}))))},vi=s(),Ai=m.div`
3003
+ `,vi=({close:e,children:l,type:r,position:n,timeout:a})=>{((e,t)=>{const l=o(e);i((()=>{l.current=e}),[e]),i((()=>{if(null===t)return;const e=setTimeout((()=>l.current()),t);return()=>clearTimeout(e)}),[t])})(e,a||5e4);const c=b()||R;let s=null;switch(r){case"success":s=t.createElement(N,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":s=t.createElement(N,{icon:"info-icon",color:"white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":s=t.createElement(N,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})}return t.createElement(xi,{theme:c,type:r},t.createElement("div",{className:`notification toast ${n}`},t.createElement("div",{className:"leftSide"},t.createElement("div",{className:"notification-icon"},s),t.createElement("div",null,t.createElement("p",{className:"notification-message"},l))),t.createElement("div",{className:"close-icon",onClick:e},t.createElement(N,{icon:"close-icon",color:c.variant["neutral-2"]}))))},Ai=s(),Ci=m.div`
2991
3004
  .notification-container {
2992
3005
  font-size: 14px;
2993
3006
  box-sizing: border-box;
@@ -3040,9 +3053,9 @@ overflow: hidden;
3040
3053
  transform: translateX(0);
3041
3054
  }
3042
3055
  }
3043
- `;function Ci(){let e=46656*Math.random()|0,t=46656*Math.random()|0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}const wi=e=>{const[l,o]=r([]),n=(e,t)=>{o((l=>[...l,{id:Ci(),content:t,type:e}]))},a=d((()=>({open:n})),[]),[c,s]=r(!1);return i((()=>(s(!0),()=>s(!1))),[]),t.createElement(vi.Provider,{value:a},e.children,c?z(t.createElement(Ai,null,t.createElement("div",{className:`notification-container ${e.position}`},l.map((l=>t.createElement(xi,{key:l.id,type:l.type,position:e.position,timeout:e.timeout,close:()=>{return e=l.id,o((t=>t.filter((t=>t.id!==e))));var e}},l.content))))),document.body):null)},Si=()=>p(vi),Ei={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},ki=m.div`
3056
+ `;function wi(){let e=46656*Math.random()|0,t=46656*Math.random()|0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}const Si=e=>{const[l,o]=r([]),n=(e,t)=>{o((l=>[...l,{id:wi(),content:t,type:e}]))},a=d((()=>({open:n})),[]),[c,s]=r(!1);return i((()=>(s(!0),()=>s(!1))),[]),t.createElement(Ai.Provider,{value:a},e.children,c?z(t.createElement(Ci,null,t.createElement("div",{className:`notification-container ${e.position}`},l.map((l=>t.createElement(vi,{key:l.id,type:l.type,position:e.position,timeout:e.timeout,close:()=>{return e=l.id,o((t=>t.filter((t=>t.id!==e))));var e}},l.content))))),document.body):null)},Ei=()=>p(Ai),ki={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},zi=m.div`
3044
3057
  color: ${({theme:e,text:t})=>t?e.variant[t]:e.textColor};
3045
3058
  // background: ${({theme:e,bg:t})=>t?e.variant[t]:e.bgColor};
3046
- font-size: ${({size:e})=>Ei[e].fontSize};
3047
- line-height: ${({size:e})=>Ei[e].lineHeight};
3048
- `,zi=({size:e,children:l,bg:o,text:r,...i})=>{const n=b()||R;return t.createElement(ki,V({theme:n,bg:o,text:r,size:e},i),t.createElement(Xo,{theme:n}),l)};zi.propTypes={size:e.oneOf(["xs","sm","md","lg"]),text:e.string,bg:e.string,children:e.any,theme:e.object},zi.defaultProps={size:"md"};export{$ as Accordion,_ as AccordionSB,ee as AccordionSBfooter,io as ActionContainer,co as ActionItem,re as ArrowBar,de as Avatar,ge as AvatarSB,xe as AvatarSBfooter,Ce as Banner,et as Breadcrumb,$o as ButtonPopup,q as Card,Z as CardRef,ct as CheckBoxInput,pt as ColorInput,Yl as Comment,Nl as Content,Gr as DarkSecondaryLink,vt as DateSelect,Et as DateTime,ho as Divider,J as DocumentCard,Se as DotPulseLoader,xo as Drawer,Bt as DropdownSelect,Ft as DropzoneInput,vo as ErrorBoundary,wo as FilterChip,Eo as Footer,Bo as FooterContent,Go as FormComponent,so as FormContainer,go as FormWrapper,Yo as GroupAvatars,lr as GroupButtons,nr as GroupButtonsPopup,mr as GroupStatusCircle,Io as Header,Oo as HeaderComponent,gr as HyperLink,N as Icon,ne as Image,Xt as ImageUploader,lt as Label,Xr as LightSecondaryLink,Ie as LinkButton,ze as Loader,Ar as ModalComp,bo as MultiColumnDiv,mo as MultiColumnWrapper,Nr as Navbar,Kt as NumericInput,wr as Overlay,no as OverlayOptionContainer,ao as OverlayOptionItemLabel,Kl as PageContent,Br as Pagination,Ir as PaginationDefault,ll as PasswordInput,Te as PrimaryButton,li as PrimaryStatusChip,Tr as ProgressBar,Zr as ProgressSteps,cl as RadioInput,qo as Rating,Me as RoundedLoader,ul as SearchInput,qe as SecondaryButton,ii as SecondaryStatusChip,_r as Sidebar,Al as SignatureInput,ci as SlimPrimaryStatusChip,pi as SlimSecondaryStatusChip,cr as StatusCircle,eo as StyledCentralBar,_l as StyledClearSearch,lo as StyledCreateRow,oo as StyledRow,$l as StyledRowSearch,ro as StyledSearchRow,to as StyledWarning,po as SubmitButtonContainer,Do as SubmitComponent,mi as TabPanel,Zo as Table,hi as Tabs,kl as TextArea,bl as TextInput,Rl as TimeInput,Ze as TinyButton,wi as ToastProvider,ql as ToggleSwitch,Qe as Tooltip,zi as Typography,P as defaultStyles,R as defaultThemeColor,T as getDefaultStyles,L as graphColor,H as hexToRGB,W as neutralColor,M as primaryColor,I as shadeColor,B as uiColor,Si as useToast};
3059
+ font-size: ${({size:e})=>ki[e].fontSize};
3060
+ line-height: ${({size:e})=>ki[e].lineHeight};
3061
+ `,Vi=({size:e,children:l,bg:o,text:r,...i})=>{const n=b()||R;return t.createElement(zi,V({theme:n,bg:o,text:r,size:e},i),t.createElement(Jo,{theme:n}),l)};Vi.propTypes={size:e.oneOf(["xs","sm","md","lg"]),text:e.string,bg:e.string,children:e.any,theme:e.object},Vi.defaultProps={size:"md"};export{$ as Accordion,_ as AccordionSB,ee as AccordionSBfooter,no as ActionContainer,so as ActionItem,re as ArrowBar,de as Avatar,ge as AvatarSB,xe as AvatarSBfooter,Ce as Banner,et as Breadcrumb,_o as ButtonPopup,q as Card,Z as CardRef,ct as CheckBoxInput,pt as ColorInput,Ql as Comment,Kl as Content,Dr as DarkSecondaryLink,vt as DateSelect,kt as DateTime,yo as Divider,J as DocumentCard,Se as DotPulseLoader,vo as Drawer,It as DropdownSelect,Zt as DropzoneInput,Ao as ErrorBoundary,So as FilterChip,ko as Footer,Io as FooterContent,Do as FormComponent,po as FormContainer,fo as FormWrapper,Qo as GroupAvatars,or as GroupButtons,ar as GroupButtonsPopup,br as GroupStatusCircle,Lo as Header,Go as HeaderComponent,fr as HyperLink,N as Icon,ne as Image,Jt as ImageUploader,lt as Label,Jr as LightSecondaryLink,We as LinkButton,ze as Loader,Cr as ModalComp,uo as MultiColumnDiv,bo as MultiColumnWrapper,Kr as Navbar,$t as NumericInput,Sr as Overlay,ao as OverlayOptionContainer,co as OverlayOptionItemLabel,$l as PageContent,Ir as Pagination,Lr as PaginationDefault,ol as PasswordInput,Te as PrimaryButton,oi as PrimaryStatusChip,Hr as ProgressBar,Or as ProgressSteps,sl as RadioInput,Fo as Rating,Me as RoundedLoader,gl as SearchInput,qe as SecondaryButton,ni as SecondaryStatusChip,ei as Sidebar,Cl as SignatureInput,si as SlimPrimaryStatusChip,mi as SlimSecondaryStatusChip,sr as StatusCircle,to as StyledCentralBar,eo as StyledClearSearch,oo as StyledCreateRow,ro as StyledRow,_l as StyledRowSearch,io as StyledSearchRow,lo as StyledWarning,mo as SubmitButtonContainer,Xo as SubmitComponent,bi as TabPanel,Oo as Table,yi as Tabs,zl as TextArea,ul as TextInput,Pl as TimeInput,Ze as TinyButton,Si as ToastProvider,Fl as ToggleSwitch,Qe as Tooltip,Vi as Typography,P as defaultStyles,R as defaultThemeColor,T as getDefaultStyles,L as graphColor,H as hexToRGB,I as neutralColor,M as primaryColor,W as shadeColor,B as uiColor,Ei as useToast};