groundfloor-react-ui 1.2.30 → 1.2.32

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 +248 -212
  2. package/dist/index.js +310 -274
  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 o,useRef as r,useState as l,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 u,css as g,keyframes as b,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,{components as A}from"react-select";import C from"react-select/async";import w from"react-signature-pad-wrapper";import S from"react-data-table-component";import E from"react-modal";import{createPortal as k}from"react-dom";function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},z.apply(this,arguments)}const V={"primary-1":"#2E56F4","primary-2":"#081348"},M={error:"#DD0000",success:"#00B904 "},B={"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"},I={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},R={primary:{...V},ui:{...M},neutral:{...B},shade:{...W},graph:{...I},variant:{...V,...M,...B,...W,...I},textColor:V["primary-2"],bgColor:"#FFFFFF",black:"#000000",border:"#D4D7E3"},L={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":"13px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"12px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"16px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"10px","font-size":"16px"},avatarNameLG:{"margin-left":"12px","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":"51px","padding-left":"39px","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:"70px",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":"#FFFFFF","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"51px",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:"70px"},"sidebar-container-mobile-open":{width:"240px","z-index":"1001"},"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"}},P=(e,t)=>{if(e){let o={};if(e[t]){for(const r in e[t])o[r]=e[t][r],delete e.common[r];for(const t in e.common)o[t]=e.common[t]}return o}};function H(e,t){var o=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),l=parseInt(e.slice(5,7),16);return t?"rgba("+o+", "+r+", "+l+", "+t+")":"rgb("+o+", "+r+", "+l+")"}H("#FF0000",.5);const T=m.div`
1
+ import e from"prop-types";import t,{forwardRef as o,useRef as r,useState as l,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 u,css as g,keyframes as b,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,{components as A}from"react-select";import C from"react-select/async";import S from"react-signature-pad-wrapper";import w from"react-data-table-component";import E from"react-modal";import{createPortal as k}from"react-dom";function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},z.apply(this,arguments)}const V={"primary-1":"#2E56F4","primary-2":"#081348"},M={error:"#DD0000",success:"#00B904 "},W={"neutral-1":"#39424D","neutral-2":"#929EAC","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},B={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},I={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},R={primary:{...V},ui:{...M},neutral:{...W},shade:{...B},graph:{...I},variant:{...V,...M,...W,...B,...I},textColor:V["primary-2"],bgColor:"#FFFFFF",black:"#000000",border:"#D4D7E3"},L={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":"13px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"12px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"16px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"10px","font-size":"16px"},avatarNameLG:{"margin-left":"12px","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":"51px","padding-left":"39px","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:"70px",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":"#FFFFFF","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"51px",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:"70px"},"sidebar-container-mobile-open":{width:"240px","z-index":"1001"},"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"}},P=(e,t)=>{if(e){let o={};if(e[t]){for(const r in e[t])o[r]=e[t][r],delete e.common[r];for(const t in e.common)o[t]=e.common[t]}return o}};function T(e,t){var o=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),l=parseInt(e.slice(5,7),16);return t?"rgba("+o+", "+r+", "+l+", "+t+")":"rgb("+o+", "+r+", "+l+")"}T("#FF0000",.5);const H=m.div`
2
2
  color: ${({activeTheme:e})=>e.textColor};
3
3
  padding-top: 25px;
4
4
  padding-bottom: 25px;
@@ -13,7 +13,7 @@ import e from"prop-types";import t,{forwardRef as o,useRef as r,useState as l,us
13
13
 
14
14
  // custom styles
15
15
  ${({customStyles:e})=>e}
16
- `,q=({type:e,header:o,content:r,...l})=>{const i=u()||R;return t.createElement(T,z({activeTheme:i},l),o,r)};q.propTypes={header:e.any,content:e.any};const j=m.div`
16
+ `,j=({type:e,header:o,content:r,...l})=>{const i=u()||R;return t.createElement(H,z({activeTheme:i},l),o,r)};j.propTypes={header:e.any,content:e.any};const q=m.div`
17
17
 
18
18
  color: ${({activeTheme:e})=>e.textColor};
19
19
  padding-top: 25px;
@@ -32,7 +32,7 @@ import e from"prop-types";import t,{forwardRef as o,useRef as r,useState as l,us
32
32
 
33
33
  // custom styles
34
34
  ${({customStyles:e})=>e}
35
- `,F=o((({type:e,header:o,content:r,...l},i)=>{const n=u()||R;return t.createElement(j,z({inBuiltCss:L,activeTheme:n},l,{ref:i}),o,r)}));F.propTypes={type:e.string,header:e.any,content:e.any};const O={sm:{cardWidth:"178px",cardMinHeight:"88px",borderRadius:"4px",border:"0.7px",bodyHeight:"55px",footerFontSize:"10px",footerMinHeight:"31px",footerPadding:"10.5px 16px",footerLineHeight:"16px",lineHeight:"12px"},md:{cardWidth:"215px",cardMinHeight:"123px",borderRadius:"6px",border:"1px",bodyHeight:"67px",footerFontSize:"14px",footerMinHeight:"54px",footerPadding:"18px 19px",footerLineHeight:"12px",lineHeight:"16px"}},Z=m.div`
35
+ `,F=o((({type:e,header:o,content:r,...l},i)=>{const n=u()||R;return t.createElement(q,z({inBuiltCss:L,activeTheme:n},l,{ref:i}),o,r)}));F.propTypes={type:e.string,header:e.any,content:e.any};const O={sm:{cardWidth:"178px",cardMinHeight:"88px",borderRadius:"4px",border:"0.7px",bodyHeight:"55px",footerFontSize:"10px",footerMinHeight:"31px",footerPadding:"10.5px 16px",footerLineHeight:"16px",lineHeight:"12px"},md:{cardWidth:"215px",cardMinHeight:"123px",borderRadius:"6px",border:"1px",bodyHeight:"67px",footerFontSize:"14px",footerMinHeight:"54px",footerPadding:"18px 19px",footerLineHeight:"12px",lineHeight:"16px"}},Z=m.div`
36
36
  ${({trimFileName:e})=>e?g`
37
37
  height: ${({size:e})=>O[e].cardMinHeight};
38
38
  `:g`
@@ -140,7 +140,7 @@ import e from"prop-types";import t,{forwardRef as o,useRef as r,useState as l,us
140
140
 
141
141
  // custom styles
142
142
  ${({customWrapperStyles:e})=>e}
143
- `,Y=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,toggleState:m,contentIsOpen:g,id:b,customWrapperStyles:f,showIconInfo:h,...y})=>{const x=r(null),v=u()||R,[A,C]=l(!1);return i((()=>{C(g)}),[g]),t.createElement(q,z({customStyles:e,type:"accordionContainer"},y,{header:t.createElement(q,z({customStyles:o,type:"accordionToggle"},y,{onClick:()=>{C(!A)},header:p,content:t.createElement(K,{theme:v,customWrapperStyles:f},h&&t.createElement("span",null,A?"Click to hide":"Click to open"),t.createElement("div",{style:c&&A?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",transition:"transform ease 95ms",background:"transparent"}},s||t.createElement(N,{icon:"chevron-down",size:11,transform:"translate(0px,-1px)",color:"#A9B1B8"})))})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:x},y,{style:A?{height:"auto"}:{height:"0px",border:"none"},id:b,content:d}))}))};Y.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,toggleState:e.func,id:e.string,customWrapperStyles:e.object,showIconInfo:e.bool},Y.defaultProps={contentToggle:"Toggle",content:"Content",toggleIconAnimation:!0,showIconInfo:!0,toggleState:()=>{},id:"",customStylesAccordionContainer:{"margin-bottom":"10px",padding:"0","box-shadow":"none"},customStylesAccordionTogggle:{background:"#F0F3F8",cursor:"pointer","border-radius":"4px 4px 0 0",border:"0.5px solid #E2E6F5",color:`${R.variant["primary-2"]}`,"line-height":"17px","font-size":"14px",padding:"10px 17px",display:"flex","align-items":"center","justify-content":"space-between","box-shadow":"none",width:"auto"},customStylesAccordionContent:{"border-radius":"0 0 4px 4px",border:"0.5px solid #E2E6F5","border-top":"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:"0",width:"auto"}};const $=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,isSelected:m,index:g,handleClick:b,isAccordionOpen:f,id:h,customSelectCardColor:y,...x})=>{const[v,A]=l(!1),C=r(null),[w,S]=l({}),[E,k]=l({}),V=u()||R;return i((()=>{m?(S((e=>({...e,backgroundColor:y||V.variant["primary-1"],marginBottom:"15.5px",marginTop:0!==g?"15.5px":"0px"}))),k((e=>({...e,backgroundColor:y||V.variant["primary-1"],paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(S({}),k({}))}),[m]),i((()=>{A(!!f)}),[f]),t.createElement(q,z({customStyles:{...e,...w},type:"accordionContainer"},x,{header:t.createElement(q,z({customStyles:{...o,...E},type:"accordionToggle"},x,{onClick:()=>{v||b(g),A(!v)},header:p,content:t.createElement("div",{style:c&&v?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},s)})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:C},x,{style:v?{height:C.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:h,content:d}))}))};$.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,id:e.string},$.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const _=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,isSelected:m,index:u,handleClick:g,isAccordionOpen:b,disable:f,id:h,...y})=>{const[x,v]=l(!1),A=r(null),[C,w]=l({}),[S,E]=l({});return i((()=>{m?(w((e=>({...e,backgroundColor:"#2444d8",marginBottom:"15.5px",marginTop:0!==u?"15.5px":"0px"}))),E((e=>({...e,backgroundColor:"#2444d8",paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(w({}),E({}))}),[m]),i((()=>{v(!!b)}),[b]),t.createElement(q,z({customStyles:{...e,...C},type:"accordionContainer"},y,{header:t.createElement(q,z({customStyles:{...o,...S},type:"accordionToggle"},y,{onClick:()=>{f||(x||g(u),v(!x))},header:p,content:t.createElement("div",{style:c&&x?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},s)})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:A},y,{style:x?{height:A.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:h,content:d}))}))};_.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,id:e.string},_.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const ee=m.div`
143
+ `,Y=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,toggleState:m,contentIsOpen:g,id:b,customWrapperStyles:f,showIconInfo:h,...y})=>{const x=r(null),v=u()||R,[A,C]=l(!1);return i((()=>{C(g)}),[g]),t.createElement(j,z({customStyles:e,type:"accordionContainer"},y,{header:t.createElement(j,z({customStyles:o,type:"accordionToggle"},y,{onClick:()=>{C(!A)},header:p,content:t.createElement(K,{theme:v,customWrapperStyles:f},h&&t.createElement("span",null,A?"Click to hide":"Click to open"),t.createElement("div",{style:c&&A?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",transition:"transform ease 95ms",background:"transparent"}},s||t.createElement(N,{icon:"chevron-down",size:11,transform:"translate(0px,-1px)",color:"#A9B1B8"})))})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:x},y,{style:A?{height:"auto"}:{height:"0px",border:"none"},id:b,content:d}))}))};Y.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,toggleState:e.func,id:e.string,customWrapperStyles:e.object,showIconInfo:e.bool},Y.defaultProps={contentToggle:"Toggle",content:"Content",toggleIconAnimation:!0,showIconInfo:!0,toggleState:()=>{},id:"",customStylesAccordionContainer:{"margin-bottom":"10px",padding:"0","box-shadow":"none"},customStylesAccordionTogggle:{background:"#F0F3F8",cursor:"pointer","border-radius":"4px 4px 0 0",border:"0.5px solid #E2E6F5",color:`${R.variant["primary-2"]}`,"line-height":"17px","font-size":"14px",padding:"10px 17px",display:"flex","align-items":"center","justify-content":"space-between","box-shadow":"none",width:"auto"},customStylesAccordionContent:{"border-radius":"0 0 4px 4px",border:"0.5px solid #E2E6F5","border-top":"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:"0",width:"auto"}};const $=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,isSelected:m,index:g,handleClick:b,isAccordionOpen:f,id:h,customSelectCardColor:y,...x})=>{const[v,A]=l(!1),C=r(null),[S,w]=l({}),[E,k]=l({}),V=u()||R;return i((()=>{m?(w((e=>({...e,backgroundColor:y||V.variant["primary-1"],marginBottom:"15.5px",marginTop:0!==g?"15.5px":"0px"}))),k((e=>({...e,backgroundColor:y||V.variant["primary-1"],paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(w({}),k({}))}),[m]),i((()=>{A(!!f)}),[f]),t.createElement(j,z({customStyles:{...e,...S},type:"accordionContainer"},x,{header:t.createElement(j,z({customStyles:{...o,...E},type:"accordionToggle"},x,{onClick:()=>{v||b(g),A(!v)},header:p,content:t.createElement("div",{style:c&&v?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},s)})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:C},x,{style:v?{height:C.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:h,content:d}))}))};$.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,id:e.string},$.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const _=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,isSelected:m,index:u,handleClick:g,isAccordionOpen:b,disable:f,id:h,...y})=>{const[x,v]=l(!1),A=r(null),[C,S]=l({}),[w,E]=l({});return i((()=>{m?(S((e=>({...e,backgroundColor:"#2444d8",marginBottom:"15.5px",marginTop:0!==u?"15.5px":"0px"}))),E((e=>({...e,backgroundColor:"#2444d8",paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(S({}),E({}))}),[m]),i((()=>{v(!!b)}),[b]),t.createElement(j,z({customStyles:{...e,...C},type:"accordionContainer"},y,{header:t.createElement(j,z({customStyles:{...o,...w},type:"accordionToggle"},y,{onClick:()=>{f||(x||g(u),v(!x))},header:p,content:t.createElement("div",{style:c&&x?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},s)})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:A},y,{style:x?{height:A.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:h,content:d}))}))};_.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,id:e.string},_.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const ee=m.div`
144
144
  color: ${({theme:e,variant:t})=>t?e.variant[t]:"white"};
145
145
  ${({scroll:e})=>e?g`
146
146
  display: flex;
@@ -273,11 +273,27 @@ ${({inBuiltCss:e,type:t,size:o,customStyles:r})=>{if(e){let l={};if(e[t]){for(co
273
273
  &:hover {
274
274
  ${({inBuiltCss:e,type:t,size:o,customStylesHover:r})=>{if(e){return{...{},...r}}}}
275
275
  }
276
- `,ue=({customStylesContainer:e,customStylesImage:o,customStylesCircle:r,customStylesName:i,customStylesNameHover:n,size:a,toggleName:c,user:s,border:d,isSelected:p,selectedStyle:m,notSelectedStyle:g,...b})=>{const f=u()||R,[h,y]=l("loading");return t.createElement(de,z({border:d,inBuiltCss:L,customStyles:e,type:"avatarContainer"},b),s?.url&&t.createElement(ie,z({},b,{inBuiltCss:L,customStyles:o,type:"imageAvatar",size:a,alt:"user-picture",src:s.url,handleImageStatus:e=>{y(e)},style:{visibility:"loaded"!==h?"hidden":"visible"}})),t.createElement(pe,z({},b,{theme:f,selectedStyle:m,notSelectedStyle:g,inBuiltCss:L,type:"avatarCircle",customStyles:r,size:a,style:{visibility:"loaded"!==h?"visible":"hidden"},isSelected:p}),s?.userName&&s?.userName.split(" ").length>=2?s?.userName.split(" ")[0].charAt(0).toUpperCase()+s?.userName.split(" ")[1].charAt(0).toUpperCase():s?.userName&&1===s?.userName.split(" ").length&&s?.userName.split(" ")[0].charAt(0).toUpperCase()),c&&t.createElement(me,z({theme:f},b,{inBuiltCss:L,type:"avatarName",customStyles:i,customStylesHover:n,size:a}),s.userName," "))};ue.propTypes={customStylesCircle:e.object,customStylesName:e.object,customStylesContainer:e.object,customStylesImage:e.object,toggleName:e.bool,size:e.oneOf(["SM","MD","LG"]),user:e.object,customStylesNameHover:e.object},ue.defaultProps={block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null};const ge=m.span`
276
+ `,ue=m.span`
277
+ background-color: red;
278
+ color: white;
279
+ height: 13px;
280
+ width: 13px;
281
+ border-radius: 50%;
282
+ font-Size: 6px;
283
+ position: absolute;
284
+ top: 2px;
285
+ left: 30px;
286
+ display: flex;
287
+ justify-content: center;
288
+ align-items: center;
289
+
290
+ // custom styles
291
+ ${({notificationCircleStyles:e})=>e}
292
+ `,ge=({customStylesContainer:e,customStylesImage:o,customStylesCircle:r,customStylesName:i,customStylesNameHover:n,size:a,toggleName:c,user:s,border:d,isSelected:p,selectedStyle:m,notSelectedStyle:g,notificationCount:b,notificationCircleStyles:f,...h})=>{const y=u()||R,[x,v]=l("loading");return t.createElement(de,z({border:d,inBuiltCss:L,customStyles:e,type:"avatarContainer"},h),s?.url&&t.createElement(ie,z({},h,{inBuiltCss:L,customStyles:o,type:"imageAvatar",size:a,alt:"user-picture",src:s.url,handleImageStatus:e=>{v(e)},style:{visibility:"loaded"!==x?"hidden":"visible"}})),t.createElement(pe,z({},h,{theme:y,selectedStyle:m,notSelectedStyle:g,inBuiltCss:L,type:"avatarCircle",customStyles:r,size:a,style:{visibility:"loaded"!==x?"visible":"hidden"},isSelected:p}),s?.userName&&s?.userName.split(" ").length>=2?s?.userName.split(" ")[0].charAt(0).toUpperCase()+s?.userName.split(" ")[1].charAt(0).toUpperCase():s?.userName&&1===s?.userName.split(" ").length&&s?.userName.split(" ")[0].charAt(0).toUpperCase()),b>0&&t.createElement(ue,{notificationCircleStyles:f},"10")," ",c&&t.createElement(me,z({theme:y},h,{inBuiltCss:L,type:"avatarName",customStyles:i,customStylesHover:n,size:a}),s.userName," "))};ge.propTypes={customStylesCircle:e.object,customStylesName:e.object,customStylesContainer:e.object,customStylesImage:e.object,toggleName:e.bool,size:e.oneOf(["SM","MD","LG"]),user:e.object,customStylesNameHover:e.object,notificationCircleStyles:e.object,notificationCount:e.number},ge.defaultProps={block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null,notificationCircleStyles:{},notificationCount:0};const be=m.span`
277
293
 
278
294
  ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.common)r[t]=e.common[t];for(const o in e[t])r[o]=e[t][o],delete e.common[o]}return{...r,...o}}}}
279
295
  width: auto;
280
- `,be=m.div`
296
+ `,fe=m.div`
281
297
 
282
298
  background-color: ${({theme:e})=>e.primary["primary-1"]};
283
299
  color: ${({theme:e})=>e.bgColor};
@@ -292,7 +308,7 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
292
308
  ${o}
293
309
  `}
294
310
  font-weight: 600;
295
- `,fe=m.span`
311
+ `,he=m.span`
296
312
 
297
313
  color: ${({theme:e})=>e.textColor};
298
314
 
@@ -302,7 +318,7 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
302
318
  &:hover {
303
319
  ${({inBuiltCss:e,type:t,size:o,customStylesHover:r})=>{if(e){return{...{},...r}}}}
304
320
  }
305
- `,he=({inBuiltCss:e,customStylesContainer:o,customStylesImage:r,customStylesCircle:i,customStylesName:n,customStylesNameHover:a,size:c,toggleName:s,user:d,border:p,selectedStyle:m,notSelectedStyle:g,isSelected:b,value:f,...h})=>{const y=u()||R,[x,v]=l("loading");return t.createElement(ge,z({border:p,theme:y,inBuiltCss:L,customStyles:o,type:"avatarContainer"},h),d?.url&&t.createElement(ie,z({},h,{inBuiltCss:L,customStyles:r,type:"imageAvatar",size:c,alt:"user-picture",src:d.url,handleImageStatus:e=>{v(e)},style:{visibility:"loaded"!==x?"hidden":"visible"}})),t.createElement(be,z({},h,{theme:y,inBuiltCss:L,type:"avatarCircle",customStyles:i,size:c,style:{visibility:"loaded"!==x?"visible":"hidden"},isSelected:b,selectedStyle:m,notSelectedStyle:g}),f),s&&t.createElement(fe,z({theme:y},h,{inBuiltCss:L,type:"avatarName",customStyles:n,customStylesHover:a,size:c}),d.userName," "))};he.propTypes={customStylesCircle:e.object,customStylesName:e.object,customStylesContainer:e.object,customStylesImage:e.object,toggleName:e.bool,size:e.oneOf(["SM","MD","LG"]),user:e.object},he.defaultProps={inBuiltCss:e.object},he.defaultProps={inBuiltCss:L,block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null};const ye=m.div`
321
+ `,ye=({inBuiltCss:e,customStylesContainer:o,customStylesImage:r,customStylesCircle:i,customStylesName:n,customStylesNameHover:a,size:c,toggleName:s,user:d,border:p,selectedStyle:m,notSelectedStyle:g,isSelected:b,value:f,...h})=>{const y=u()||R,[x,v]=l("loading");return t.createElement(be,z({border:p,theme:y,inBuiltCss:L,customStyles:o,type:"avatarContainer"},h),d?.url&&t.createElement(ie,z({},h,{inBuiltCss:L,customStyles:r,type:"imageAvatar",size:c,alt:"user-picture",src:d.url,handleImageStatus:e=>{v(e)},style:{visibility:"loaded"!==x?"hidden":"visible"}})),t.createElement(fe,z({},h,{theme:y,inBuiltCss:L,type:"avatarCircle",customStyles:i,size:c,style:{visibility:"loaded"!==x?"visible":"hidden"},isSelected:b,selectedStyle:m,notSelectedStyle:g}),f),s&&t.createElement(he,z({theme:y},h,{inBuiltCss:L,type:"avatarName",customStyles:n,customStylesHover:a,size:c}),d.userName," "))};ye.propTypes={customStylesCircle:e.object,customStylesName:e.object,customStylesContainer:e.object,customStylesImage:e.object,toggleName:e.bool,size:e.oneOf(["SM","MD","LG"]),user:e.object},ye.defaultProps={inBuiltCss:e.object},ye.defaultProps={inBuiltCss:L,block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null};const xe=m.div`
306
322
  color: ${({theme:e})=>e.textColor};
307
323
  display: flex;
308
324
  background-color: ${({backgroundColor:e,theme:t})=>e||t.variant["insight-purple"]};
@@ -312,20 +328,20 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
312
328
  padding-top: 22px;
313
329
  padding-bottom: 22px;
314
330
  width: inherit;
315
- `,xe=m.div`
331
+ `,ve=m.div`
316
332
  color: ${({theme:e})=>e.textColor};
317
333
  display: flex;
318
334
  font-size: 16px;
319
335
  text-align: left;
320
336
  word-wrap: break-word;
321
- `,ve=({backgroundColor:e,borderColor:o,variant:r,children:l,...i})=>{const n=u()||R;return t.createElement(t.Fragment,null,t.createElement(ye,z({theme:n,backgroundColor:e,borderColor:o},i),t.createElement(xe,z({theme:n},i),l)))};ve.propTypes={backgroundColor:e.string,borderColor:e.string,children:e.any},ve.defaultProps={children:""};const Ae=b`
337
+ `,Ae=({backgroundColor:e,borderColor:o,variant:r,children:l,...i})=>{const n=u()||R;return t.createElement(t.Fragment,null,t.createElement(xe,z({theme:n,backgroundColor:e,borderColor:o},i),t.createElement(ve,z({theme:n},i),l)))};Ae.propTypes={backgroundColor:e.string,borderColor:e.string,children:e.any},Ae.defaultProps={children:""};const Ce=b`
322
338
  0% {
323
339
  opacity: 1;
324
340
  }
325
341
  100% {
326
342
  opacity: 0;
327
343
  }
328
- `,Ce=m.div`
344
+ `,Se=m.div`
329
345
  ${({size:e,thickness:t,propellerHeight:o})=>g`
330
346
  display: inline-block;
331
347
  position: relative;
@@ -334,7 +350,7 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
334
350
 
335
351
  div{
336
352
  transform-origin: 0px ${e/2}px;
337
- animation: ${Ae} 1s linear infinite;
353
+ animation: ${Ce} 1s linear infinite;
338
354
  width: fit-content;
339
355
 
340
356
  ::after {
@@ -421,13 +437,13 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
421
437
  }
422
438
  }
423
439
  `}
424
- `,we=({size:e,thickness:o,propellerHeight:r,customStyles:l})=>{const i=L;return t.createElement(Ce,{theme:i,size:e,thickness:o,propellerHeight:r,customStyles:l,type:"spinner"},t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null))};Ce.defaultProps={theme:L},we.propTypes={size:e.number,thickness:e.number,propellerHeight:e.number,customStyles:e.object},we.defaultProps={size:20,thickness:2,propellerHeight:25,customStyles:null};const Se={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Ee=m.button`
440
+ `,we=({size:e,thickness:o,propellerHeight:r,customStyles:l})=>{const i=L;return t.createElement(Se,{theme:i,size:e,thickness:o,propellerHeight:r,customStyles:l,type:"spinner"},t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null))};Se.defaultProps={theme:L},we.propTypes={size:e.number,thickness:e.number,propellerHeight:e.number,customStyles:e.object},we.defaultProps={size:20,thickness:2,propellerHeight:25,customStyles:null};const Ee={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},ke=m.button`
425
441
  background: transparent;
426
442
  color: ${({theme:e})=>e.variant["primary-1"]};
427
- padding: ${({size:e})=>Se[e].padding};
443
+ padding: ${({size:e})=>Ee[e].padding};
428
444
  border: none;
429
445
  border-radius: 5px;
430
- font-size: ${({size:e})=>Se[e].fontSize};
446
+ font-size: ${({size:e})=>Ee[e].fontSize};
431
447
  display: flex;
432
448
  align-items: center;
433
449
  width: ${({block:e})=>e?"100%":"auto"};
@@ -443,13 +459,13 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
443
459
 
444
460
  // custom styles
445
461
  ${({btnStyle:e})=>e}
446
- `,ke=({btnStyle:e,block:o,size:r,style:l,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=u()||R;return t.createElement(Ee,z({id:s,block:o,variant:i,defaultStyle:"button",type:c,style:l,size:r,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};ke.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},ke.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const ze={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Ve=({theme:e,variant:t})=>H(e.variant[t],.6),Me=m.button`
462
+ `,ze=({btnStyle:e,block:o,size:r,style:l,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=u()||R;return t.createElement(ke,z({id:s,block:o,variant:i,defaultStyle:"button",type:c,style:l,size:r,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};ze.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},ze.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ve={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Me=({theme:e,variant:t})=>T(e.variant[t],.6),We=m.button`
447
463
  background: ${({theme:e,variant:t})=>e.variant[t]};
448
464
  color: ${({theme:e})=>e.bgColor};
449
- padding: ${({size:e})=>ze[e].padding};
465
+ padding: ${({size:e})=>Ve[e].padding};
450
466
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
451
467
  border-radius: 5px;
452
- font-size: ${({size:e})=>ze[e].fontSize};
468
+ font-size: ${({size:e})=>Ve[e].fontSize};
453
469
  display: flex;
454
470
  align-items: center;
455
471
  width: ${({block:e})=>e?"100%":"auto"};
@@ -458,8 +474,8 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
458
474
  outline: none;
459
475
  &:disabled {
460
476
  color: ${({theme:e})=>e.bgColor};
461
- background: ${Ve};
462
- border: 1px solid ${Ve};
477
+ background: ${Me};
478
+ border: 1px solid ${Me};
463
479
  cursor: not-allowed;
464
480
  }
465
481
 
@@ -468,12 +484,12 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
468
484
 
469
485
  // custom styles
470
486
  ${({btnStyle:e})=>e}
471
- `,Be=({btnStyle:e,block:o,size:r,style:l,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=u()||R;return t.createElement(Me,z({id:s,block:o,variant:i,defaultStyle:"button",type:c,style:l,size:r,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};Be.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},Be.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const We={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},Ie=m.button`
487
+ `,Be=({btnStyle:e,block:o,size:r,style:l,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=u()||R;return t.createElement(We,z({id:s,block:o,variant:i,defaultStyle:"button",type:c,style:l,size:r,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};Be.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},Be.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ie={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},Re=m.button`
472
488
  color: ${({theme:e,variant:t})=>e.variant[t]};
473
489
  background: ${({theme:e})=>e.bgColor};
474
- padding: ${({size:e})=>We[e].padding};
490
+ padding: ${({size:e})=>Ie[e].padding};
475
491
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
476
- font-size: ${({size:e})=>We[e].fontSize};
492
+ font-size: ${({size:e})=>Ie[e].fontSize};
477
493
  border-radius: 5px;
478
494
  display: flex;
479
495
  align-items: center;
@@ -491,7 +507,7 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
491
507
  ${({theme:e,defaultStyle:t})=>P(e,t)}
492
508
  // custom styles
493
509
  ${({btnStyle:e})=>e}
494
- `,Re=({btnStyle:e,isLoading:o,block:r,size:l,style:i,variant:n,disabled:a,type:c,theme:s,id:d,...p})=>{const m=u()||R;return t.createElement(Ie,z({id:d,block:r,variant:n,defaultStyle:"button",style:i,size:l,disabled:a,type:c,btnStyle:e,isLoading:o,theme:s},p),o&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{theme:s,customStyles:{"background-color":m.variant[n]},size:16})," "),p.children," ")};Re.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,onClick:e.func,theme:e.object,type:e.string,btnStyle:e.object,id:e.string},Ie.defaultProps={theme:R},Re.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Le=m.button`
510
+ `,Le=({btnStyle:e,isLoading:o,block:r,size:l,style:i,variant:n,disabled:a,type:c,theme:s,id:d,...p})=>{const m=u()||R;return t.createElement(Re,z({id:d,block:r,variant:n,defaultStyle:"button",style:i,size:l,disabled:a,type:c,btnStyle:e,isLoading:o,theme:s},p),o&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{theme:s,customStyles:{"background-color":m.variant[n]},size:16})," "),p.children," ")};Le.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,onClick:e.func,theme:e.object,type:e.string,btnStyle:e.object,id:e.string},Re.defaultProps={theme:R},Le.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Pe=m.button`
495
511
  background: ${({disabled:e,theme:t,variant:o})=>e?"#BBC4CF":t.variant[o]};
496
512
  color: ${({theme:e})=>e.bgColor};
497
513
  padding: 3px 14px;
@@ -514,7 +530,7 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
514
530
 
515
531
  //Set the styles from the default styles object
516
532
  ${({theme:e,defaultStyle:t})=>P(e,t)}
517
- `,Pe=({block:e,style:o,variant:r,disabled:l,type:i,id:n,...a})=>(u(),t.createElement(Le,z({id:n,block:e,variant:r,defaultStyle:"button",type:i,style:o,disabled:l},a),a.children));Pe.propTypes={variant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object,type:e.string,id:e.string},Le.defaultProps={theme:R},Pe.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,onClick:void 0,id:""};const He=m.div`
533
+ `,Te=({block:e,style:o,variant:r,disabled:l,type:i,id:n,...a})=>(u(),t.createElement(Pe,z({id:n,block:e,variant:r,defaultStyle:"button",type:i,style:o,disabled:l},a),a.children));Te.propTypes={variant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object,type:e.string,id:e.string},Pe.defaultProps={theme:R},Te.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,onClick:void 0,id:""};const He=m.div`
518
534
  background-color: ${({theme:e})=>e.bgColor};
519
535
  border: 1px solid ${({theme:e})=>e.bgColor};
520
536
  color: ${({theme:e})=>e.black},
@@ -558,7 +574,7 @@ ${({inBuiltCss:e,type:t,customStylesTPContainer:o})=>{if(e){let t={};if(e["toolt
558
574
  &[data-popper-placement*='left'] .tooltip-arrow::after {
559
575
  ${({inBuiltCss:e,type:t,customStylesTPAleftAfter:o,theme:r})=>{if(e){let t={};if(e["tp-cont-left-arrow-before"]){for(const o in e.common)t[o]=e.common[o];for(const o in e["tp-cont-left-arrow-after"])t[o]=e["tp-cont-left-arrow-after"][o],delete e.common[o]}let l=o||{borderColor:`transparent transparent transparent ${r.primary["primary-1"]} `};return{...t,...l}}}}
560
576
  }
561
- `,Te=m.div`
577
+ `,je=m.div`
562
578
 
563
579
  ${({inBuiltCss:e,type:t,customStylesTPArrow:o})=>{if(e){let t={};if(e["tooltip-arrow"]){for(const o in e.common)t[o]=e.common[o];for(const o in e["tooltip-arrow"])t[o]=e["tooltip-arrow"][o],delete e.common[o]}return{...t,...o}}}}
564
580
 
@@ -576,20 +592,20 @@ background-color: ${({theme:e})=>e.primary["primary-1"]};
576
592
  ${({inBuiltCss:e,defaultTooltipContentStyle:t})=>P(e,t)}
577
593
  // custom styles
578
594
  ${({customContentStyle:e})=>e}
579
- `,je=m.div`
595
+ `,Fe=m.div`
580
596
  ${({inBuiltCss:e,defaultTooltipHeaderStyle:t})=>P(e,t)}
581
597
  // custom styles
582
598
  ${({customHeaderStyle:e})=>e}
583
- `,Fe=m.div`
599
+ `,Oe=m.div`
584
600
  ${({inBuiltCss:e,defaultTooltipBodyStyle:t})=>P(e,t)}
585
601
  // custom styles
586
602
  ${({customBodyStyle:e})=>e}
587
- `,Oe=m.div`
588
603
  `,Ze=m.div`
604
+ `,Xe=m.div`
589
605
  ${({inBuiltCss:e,defaultTooltipTriggerStyle:t})=>P(e,t)}
590
606
  // custom styles
591
607
  ${({customTriggerStyle:e})=>e}
592
- `,Xe=({inBuiltCss:e,contentTrigger:o,contentTooltip:r,popperOptionsP:l,settings:i,customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:g,customStylesTPArightBefore:b,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:E,customHeaderStyle:k,customBodyStyle:V,customTriggerStyle:M,headerTooltip:B,footerTooltip:W,...I})=>{const P=u()||R,H={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...l},{getArrowProps:T,getTooltipProps:q,setTooltipRef:j,setTriggerRef:F,visible:O}=y({interactive:!0,...i},H);return t.createElement(t.Fragment,null,t.createElement(Ze,{ref:F,inBuiltCss:L,customTriggerStyle:M,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},o),O&&t.createElement(He,z({inBuiltCss:L,theme:P,ref:j},q({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:g,customStylesTPArightBefore:b,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),t.createElement(Te,z({inBuiltCss:L},T({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w})),t.createElement(qe,z({defaultTooltipContentStyle:"popOver-Content",theme:P,inBuiltCss:L},I,{customContentStyle:E}),t.createElement(je,z({defaultTooltipHeaderStyle:"popOver-header",theme:P,inBuiltCss:L},I,{customHeaderStyle:k}),B),t.createElement(Fe,z({defaultTooltipBodyStyle:"popOver-body",theme:P,inBuiltCss:L},I,{customBodyStyle:V}),r),t.createElement(Oe,null,W))))};Xe.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},Xe.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(Re,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ge=m.div`
608
+ `,Ge=({inBuiltCss:e,contentTrigger:o,contentTooltip:r,popperOptionsP:l,settings:i,customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:g,customStylesTPArightBefore:b,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:S,customTooltipContentStyle:w,customContentStyle:E,customHeaderStyle:k,customBodyStyle:V,customTriggerStyle:M,headerTooltip:W,footerTooltip:B,...I})=>{const P=u()||R,T={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...l},{getArrowProps:H,getTooltipProps:j,setTooltipRef:q,setTriggerRef:F,visible:O}=y({interactive:!0,...i},T);return t.createElement(t.Fragment,null,t.createElement(Xe,{ref:F,inBuiltCss:L,customTriggerStyle:M,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},o),O&&t.createElement(He,z({inBuiltCss:L,theme:P,ref:q},j({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:g,customStylesTPArightBefore:b,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),t.createElement(je,z({inBuiltCss:L},H({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:S})),t.createElement(qe,z({defaultTooltipContentStyle:"popOver-Content",theme:P,inBuiltCss:L},I,{customContentStyle:E}),t.createElement(Fe,z({defaultTooltipHeaderStyle:"popOver-header",theme:P,inBuiltCss:L},I,{customHeaderStyle:k}),W),t.createElement(Oe,z({defaultTooltipBodyStyle:"popOver-body",theme:P,inBuiltCss:L},I,{customBodyStyle:V}),r),t.createElement(Ze,null,B))))};Ge.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},Ge.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(Le,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Je=m.div`
593
609
  background: transparent;
594
610
  color: ${({theme:e,variant:t})=>e.variant[t]};
595
611
  font-size: ${({isPrimary:e})=>e?"16px":"14px"};
@@ -625,10 +641,10 @@ ${({customTriggerStyle:e})=>e}
625
641
  .breadcrumb-icon-separator {
626
642
  margin: 0 ${({isPrimary:e})=>e?"12px":"7px"};
627
643
  }
628
- `,Je=m.div`
644
+ `,Ue=m.div`
629
645
  display: flex;
630
646
  flex-wrap: nowrap;
631
- `,Ue=m.div`
647
+ `,De=m.div`
632
648
  cursor: ${({href:e})=>e?"pointer":"default"};
633
649
  list-style: none;
634
650
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -659,17 +675,17 @@ ${({customTriggerStyle:e})=>e}
659
675
  z-index: 1;
660
676
  overflow: hidden;
661
677
  }
662
- `,De=m.div`
678
+ `,Qe=m.div`
663
679
  display: flex;
664
680
  margin-bottom: 15px;
665
681
  position: relative;
666
- `,Qe=({wrap:e,block:o,style:n,variant:a,variantSeparator:c,appLogo:s,separator:d,items:p,onClick:m,isPrimary:g,collapse:b,folderIcon:f,...h})=>{const y=u()||R,x=r(null),[v,A]=l(void 0),C=()=>{A(x?.current?.scrollWidth<x?.current?.offsetWidth)};i((()=>{C(),console.log(p)}),[p]),i((()=>{if(!e)return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)}),[]),p.length;const w=p.map(((e,o)=>t.createElement(Je,{key:o},0!==o||s?t.createElement("div",{className:"breadcrumb-icon-separator"},d):null,t.createElement(Ue,{id:e.id,theme:y,onClick:()=>{e.href&&m(e.href)},variant:a,href:e.href,"data-title":e.label},e.label)))),S=p.slice(1,p.length-3).map(((e,o)=>t.createElement(De,{key:o},f?t.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},t.createElement(N,{icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"})):null,t.createElement(Ue,{id:e.id,theme:y,onClick:()=>{console.log("clicked"),e.href&&m(e.href)},variant:a,href:e.href,"data-title":e.label},e.label)))),E=p?1==b?p.length<=4?w:t.createElement(t.Fragment,null,t.createElement(Je,{key:0},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(Ue,{id:p[0].id,theme:y,onClick:()=>{p[0].href&&m(p[0].href)},variant:a,href:p[0].href,"data-title":p[0].label},p[0].label)),t.createElement(Je,null,t.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},d),t.createElement(Xe,{contentTrigger:t.createElement(N,{icon:"ellipses-horizontal",size:12,color:"#6B747F",style:{padding:"0 4px",paddingBottom:"6px",marginTop:"-5.5px"}}),customTriggerStyle:{cursor:"pointer",background:"#E2E6F5",borderRadius:"3px"},headerTooltip:"",customHeaderStyle:{marginBottom:"0px"},contentTooltip:t.createElement(t.Fragment,null,S),footerTooltip:"",popperOptionsP:{placement:"bottom"},customContentStyle:{width:"182px",backgroundColor:"white",color:"#6B747F",boxShadow:"0px 6px 40px rgba(56, 66, 100, 0.482627)",display:"flex",flexDirection:"column",alignItems:"flex-start",padding:"16px",gap:"8px",position:"absolute",borderRadius:"3.6px",paddingBottom:"0px",marginTop:"-8.8px",marginLeft:"-6px"},customBodyStyle:{marginBottom:"0px"},customStylesTPArrow:{display:"none"},settings:{closeOnOutsideClick:!0,trigger:"click"}})),t.createElement(Je,{key:p.length-3},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(Ue,{id:p[p.length-3].id,theme:y,onClick:()=>{p[p.length-3].href&&m(p[p.length-3].href)},variant:a,href:p[p.length-3].href,"data-title":p[p.length-3].label},p[p.length-3].label)),t.createElement(Je,{key:p.length-2},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(Ue,{id:p[p.length-2].id,theme:y,onClick:()=>{p[p.length-2].href&&m(p[p.length-2].href)},variant:a,href:p[p.length-2].href,"data-title":p[p.length-2].label},p[p.length-2].label)),t.createElement(Je,{key:p.length-1},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(Ue,{id:p[p.length-1].id,theme:y,onClick:()=>{p[p.length-1].href&&m(p[p.length-1].href)},variant:a,href:p[p.length-1].href,"data-title":p[p.length-1].label},p[p.length-1].label))):w:null;return t.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"start"}},t.createElement("div",{style:{display:"flex",position:"absolute"}},t.createElement(Ge,z({theme:y,isWrap:e,ref:e?null:x,isBreadcrumbVisible:v,block:o,variant:a,variantSeparator:c,style:n,isPrimary:g},h),s&&t.createElement("div",{className:"breadcrumb-icon"},s),E)))};Qe.propTypes={variant:e.string,variantSeparator:e.string,onClick:e.func,appLogo:e.any,separator:e.any,items:e.array,block:e.bool,wrap:e.bool,isPrimary:e.bool,collapse:e.bool,folderIcon:e.bool},Qe.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const Ne=m.label`
682
+ `,Ne=({wrap:e,block:o,style:n,variant:a,variantSeparator:c,appLogo:s,separator:d,items:p,onClick:m,isPrimary:g,collapse:b,folderIcon:f,...h})=>{const y=u()||R,x=r(null),[v,A]=l(void 0),C=()=>{A(x?.current?.scrollWidth<x?.current?.offsetWidth)};i((()=>{C()}),[p]),i((()=>{if(!e)return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)}),[]),p.length;const S=p.map(((e,o)=>t.createElement(Ue,{key:o},0!==o||s?t.createElement("div",{className:"breadcrumb-icon-separator"},d):null,t.createElement(De,{id:e.id,theme:y,onClick:()=>{e.href&&m(e.href)},variant:a,href:e.href,"data-title":e.label},e.label)))),w=p.slice(1,p.length-3).map(((e,o)=>t.createElement(Qe,{key:o},f?t.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},t.createElement(N,{icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"})):null,t.createElement(De,{id:e.id,theme:y,onClick:()=>{e.href&&m(e.href)},variant:a,href:e.href,"data-title":e.label},e.label)))),E=p?1==b?p.length<=4?S:t.createElement(t.Fragment,null,t.createElement(Ue,{key:0},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(De,{id:p[0].id,theme:y,onClick:()=>{p[0].href&&m(p[0].href)},variant:a,href:p[0].href,"data-title":p[0].label},p[0].label)),t.createElement(Ue,null,t.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},d),t.createElement(Ge,{contentTrigger:t.createElement(N,{icon:"ellipses-horizontal",size:12,color:"#6B747F",style:{padding:"0 4px",paddingBottom:"6px",marginTop:"-5.5px"}}),customTriggerStyle:{cursor:"pointer",background:"#E2E6F5",borderRadius:"3px"},headerTooltip:"",customHeaderStyle:{marginBottom:"0px"},contentTooltip:t.createElement(t.Fragment,null,w),footerTooltip:"",popperOptionsP:{placement:"bottom"},customContentStyle:{width:"182px",backgroundColor:"white",color:"#6B747F",boxShadow:"0px 6px 40px rgba(56, 66, 100, 0.482627)",display:"flex",flexDirection:"column",alignItems:"flex-start",padding:"16px",gap:"8px",position:"absolute",borderRadius:"3.6px",paddingBottom:"0px",marginTop:"-8.8px",marginLeft:"-6px"},customBodyStyle:{marginBottom:"0px"},customStylesTPArrow:{display:"none"},settings:{closeOnOutsideClick:!0,trigger:"click"}})),t.createElement(Ue,{key:p.length-3},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(De,{id:p[p.length-3].id,theme:y,onClick:()=>{p[p.length-3].href&&m(p[p.length-3].href)},variant:a,href:p[p.length-3].href,"data-title":p[p.length-3].label},p[p.length-3].label)),t.createElement(Ue,{key:p.length-2},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(De,{id:p[p.length-2].id,theme:y,onClick:()=>{p[p.length-2].href&&m(p[p.length-2].href)},variant:a,href:p[p.length-2].href,"data-title":p[p.length-2].label},p[p.length-2].label)),t.createElement(Ue,{key:p.length-1},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(De,{id:p[p.length-1].id,theme:y,onClick:()=>{p[p.length-1].href&&m(p[p.length-1].href)},variant:a,href:p[p.length-1].href,"data-title":p[p.length-1].label},p[p.length-1].label))):S:null;return t.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"start"}},t.createElement("div",{style:{display:"flex",position:"absolute"}},t.createElement(Je,z({theme:y,isWrap:e,ref:e?null:x,isBreadcrumbVisible:v,block:o,variant:a,variantSeparator:c,style:n,isPrimary:g},h),s&&t.createElement("div",{className:"breadcrumb-icon"},s),E)))};Ne.propTypes={variant:e.string,variantSeparator:e.string,onClick:e.func,appLogo:e.any,separator:e.any,items:e.array,block:e.bool,wrap:e.bool,isPrimary:e.bool,collapse:e.bool,folderIcon:e.bool},Ne.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const Ke=m.label`
667
683
  //Set the styles from the default styles object
668
684
  ${({theme:e,type:t})=>P(e,t)}
669
685
 
670
686
  // custom styles
671
687
  ${({customStyles:e})=>e}
672
- `,Ke=({customStyles:e,text:o,className:r,required:l,...i})=>{const n=L;return t.createElement(Ne,z({required:l,theme:n,customStyles:e,type:"label"},i),o,l&&t.createElement("div",{style:{marginLeft:"4px",color:`${R.variant.error}`}},"*"))};Ke.propTypes={customStyles:e.object,text:e.string},Ke.defaultProps={text:""};const Ye=m.div`
688
+ `,Ye=({customStyles:e,text:o,className:r,required:l,...i})=>{const n=L;return t.createElement(Ke,z({required:l,theme:n,customStyles:e,type:"label"},i),o,l&&t.createElement("div",{style:{marginLeft:"4px",color:`${R.variant.error}`}},"*"))};Ye.propTypes={customStyles:e.object,text:e.string},Ye.defaultProps={text:""};const $e=m.div`
673
689
  box-sizing: initial;
674
690
 
675
691
  //Set the styles from the default styles object
@@ -680,7 +696,7 @@ ${({customTriggerStyle:e})=>e}
680
696
 
681
697
  // custom styles
682
698
  ${({checkBoxOuterStyle:e})=>e}
683
- `;Ye.defaultProps={theme:R};const $e=m.div`
699
+ `;$e.defaultProps={theme:R};const _e=m.div`
684
700
  box-sizing: initial;
685
701
 
686
702
  //Set the styles from the default styles object
@@ -695,7 +711,7 @@ ${({customTriggerStyle:e})=>e}
695
711
  align-items: center;
696
712
  // custom styles
697
713
  ${({checkBoxInnerStyle:e})=>e}
698
- `;$e.defaultProps={theme:R};const _e=m.span`
714
+ `;_e.defaultProps={theme:R};const et=m.span`
699
715
  word-break: break-all;
700
716
 
701
717
  //Set the styles from the default styles object
@@ -707,7 +723,7 @@ ${({customTriggerStyle:e})=>e}
707
723
 
708
724
  // custom styles
709
725
  ${({optionTextStyle:e})=>e}
710
- `;_e.defaultProps={theme:R};const et=m.label`
726
+ `;et.defaultProps={theme:R};const tt=m.label`
711
727
  width: fit-content;
712
728
  margin-bottom: ${({inline:e})=>e?"":"18px !important"};
713
729
  cursor: pointer;
@@ -717,10 +733,10 @@ ${({customTriggerStyle:e})=>e}
717
733
 
718
734
  // custom styles
719
735
  ${({wrapperStyles:e})=>e}
720
- `,tt=m.div`
736
+ `,ot=m.div`
721
737
  flex-direction: ${({inline:e})=>e?"row":"column"};
722
738
  width: ${({inline:e})=>e?"initial":"auto"};
723
- `,ot=({getCheckedArr:e,checkBoxOuterStyle:o,checkBoxInnerStyle:r,optionTextStyle:l,defaultBorderColor:n,defaultTextColor:a,checkedTextColor:c,checkedCheckBoxColor:s,labelStyle:d,label:p,options:m,setOptions:g,wrapperStyles:b,inline:f,wrapperStyle:h,isRequired:y,...x})=>{const v=u()||R;i((()=>{A(m)}),[]);const A=t=>{let o=t.filter((e=>!1!==e.checked));e(o)},C=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return t.createElement("div",z({style:C},x),t.createElement("div",{style:{display:"flex"}},t.createElement(Ke,z({customStyles:d,type:"check-label",text:p},x)),y&&t.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),t.createElement(tt,z({style:{display:"flex",flexWrap:"wrap"},inline:f},x),m?.map(((e,i)=>t.createElement(et,z({inline:f,id:e.id,key:`${e.name}-${i}`,onClick:()=>{((e,t)=>{let o=[...m];o[t].checked=!e.checked,g(o),A(o)})(e,i)},wrapperStyles:b},x),e.checked?t.createElement($e,z({theme:v,inBuiltCss:L,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:n,checkedCheckBoxColor:s,checked:!e?.disabled&&e.checked},x),t.createElement(N,{icon:"check-icon",size:18,color:"white"})):t.createElement(Ye,z({inBuiltCss:L,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:n,theme:v},x)),t.createElement(_e,{theme:v,inline:f,optionTextStyle:{...l,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:a,checkedTextColor:c},e.label))))))};ot.propTypes={wrapperStyle:e.object,label:e.string,labelStyle:e.object,checkBoxOuterStyle:e.object,checkBoxInnerStyle:e.object,optionTextStyle:e.object,defaultTextColor:e.string,checkedTextColor:e.string,defaultBorderColor:e.string,checkedCheckBoxColor:e.string,inline:e.bool,options:e.array,setOptions:e.func,getCheckedArr:e.func,isRequired:e.bool,wrapperStyles:e.object},ot.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const rt=m.div`
739
+ `,rt=({getCheckedArr:e,checkBoxOuterStyle:o,checkBoxInnerStyle:r,optionTextStyle:l,defaultBorderColor:n,defaultTextColor:a,checkedTextColor:c,checkedCheckBoxColor:s,labelStyle:d,label:p,options:m,setOptions:g,wrapperStyles:b,inline:f,wrapperStyle:h,isRequired:y,...x})=>{const v=u()||R;i((()=>{A(m)}),[]);const A=t=>{let o=t.filter((e=>!1!==e.checked));e(o)},C=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return t.createElement("div",z({style:C},x),t.createElement("div",{style:{display:"flex"}},t.createElement(Ye,z({customStyles:d,type:"check-label",text:p},x)),y&&t.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),t.createElement(ot,z({style:{display:"flex",flexWrap:"wrap"},inline:f},x),m?.map(((e,i)=>t.createElement(tt,z({inline:f,id:e.id,key:`${e.name}-${i}`,onClick:()=>{((e,t)=>{let o=[...m];o[t].checked=!e.checked,g(o),A(o)})(e,i)},wrapperStyles:b},x),e.checked?t.createElement(_e,z({theme:v,inBuiltCss:L,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:n,checkedCheckBoxColor:s,checked:!e?.disabled&&e.checked},x),t.createElement(N,{icon:"check-icon",size:18,color:"white"})):t.createElement($e,z({inBuiltCss:L,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:n,theme:v},x)),t.createElement(et,{theme:v,inline:f,optionTextStyle:{...l,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:a,checkedTextColor:c},e.label))))))};rt.propTypes={wrapperStyle:e.object,label:e.string,labelStyle:e.object,checkBoxOuterStyle:e.object,checkBoxInnerStyle:e.object,optionTextStyle:e.object,defaultTextColor:e.string,checkedTextColor:e.string,defaultBorderColor:e.string,checkedCheckBoxColor:e.string,inline:e.bool,options:e.array,setOptions:e.func,getCheckedArr:e.func,isRequired:e.bool,wrapperStyles:e.object},rt.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const lt=m.div`
724
740
  border: 1px solid ${({theme:e})=>e.variant["neutral-4"]};
725
741
  background-color: ${({theme:e})=>e.bgColor};
726
742
 
@@ -732,7 +748,7 @@ ${({inBuiltCss:e,defaultColorWrapperStyle:t})=>P(e,t)}
732
748
  // custom styles
733
749
  ${({customColorWrapperStyle:e})=>e}
734
750
 
735
- `,lt=m.input`
751
+ `,it=m.input`
736
752
 
737
753
  border: 0.5px solid ${({theme:e})=>e.variant["neutral-4"]};
738
754
  box-shadow: 0px 5px 37px rgba(56, 66, 100, 0.0880136);
@@ -753,7 +769,7 @@ padding: 0;
753
769
  ${({inBuiltCss:e,defaultInputColorStyle:t})=>P(e,t)}
754
770
  // custom styles
755
771
  ${({customInputColorStyle:e})=>e}
756
- `,it=({label:e,labelStyle:o,value:r,setValue:l,customInputColorStyle:i,customColorWrapperStyle:n,id:a,...c})=>{const s=u()||R;return t.createElement(rt,z({customColorWrapperStyle:n,defaultColorWrapperStyle:"ColorWrapper",theme:s,inBuiltCss:L},c),t.createElement(lt,z({id:a,customInputColorStyle:i,defaultInputColorStyle:"input-color",inBuiltCss:L,theme:s},c,{type:"color",value:r,onChange:e=>{l(e.target.value)}})),t.createElement(Ke,z({themeColor:R,customStyles:o,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};it.propTypes={label:e.string,labelStyle:e.object,value:e.string,setValue:e.func,customInputColorStyle:e.object,customColorWrapperStyle:e.object,id:e.string},it.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const nt=m.div`
772
+ `,nt=({label:e,labelStyle:o,value:r,setValue:l,customInputColorStyle:i,customColorWrapperStyle:n,id:a,...c})=>{const s=u()||R;return t.createElement(lt,z({customColorWrapperStyle:n,defaultColorWrapperStyle:"ColorWrapper",theme:s,inBuiltCss:L},c),t.createElement(it,z({id:a,customInputColorStyle:i,defaultInputColorStyle:"input-color",inBuiltCss:L,theme:s},c,{type:"color",value:r,onChange:e=>{l(e.target.value)}})),t.createElement(Ye,z({themeColor:R,customStyles:o,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};nt.propTypes={label:e.string,labelStyle:e.object,value:e.string,setValue:e.func,customInputColorStyle:e.object,customColorWrapperStyle:e.object,id:e.string},nt.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const at=m.div`
757
773
  display: flex;
758
774
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
759
775
 
@@ -892,24 +908,24 @@ ${({customInputColorStyle:e})=>e}
892
908
  .react-datepicker::after {
893
909
  box-sizing: initial !important;
894
910
  }
895
- `;nt.defaultProps={theme:R};const at=m.div`
911
+ `;at.defaultProps={theme:R};const ct=m.div`
896
912
  display: flex;
897
913
  align-items: flex-start;
898
914
  justify-content: center;
899
915
  font-size: 16px;
900
916
  padding-top: 12px;
901
917
  padding-bottom: 15px;
902
- `,ct=m.div`
918
+ `,st=m.div`
903
919
  display: flex;
904
920
  justify-content: center;
905
921
  margin-left: 6px;
906
- `,st=m("div")`
907
- width: inherit;
908
922
  `,dt=m("div")`
923
+ width: inherit;
924
+ `,pt=m("div")`
909
925
  display: flex;
910
926
  flex-direction: row;
911
927
  cursor: pointer;
912
- `,pt=m("div")`
928
+ `,mt=m("div")`
913
929
  margin-top: 8px;
914
930
  position: absolute;
915
931
  z-index: 100;
@@ -920,7 +936,7 @@ ${({customInputColorStyle:e})=>e}
920
936
  background: white;
921
937
  box-shadow: 0px 6px 20px rgb(56 66 100 / 15%);
922
938
  border-radius: 4px;
923
- `,mt=m("ul")`
939
+ `,ut=m("ul")`
924
940
  list-style: none;
925
941
  padding: 0;
926
942
  margin: 12px;
@@ -947,7 +963,7 @@ ${({customInputColorStyle:e})=>e}
947
963
  background-color: ${({theme:e})=>e.neutral["neutral-4"]};
948
964
  border-radius: 10px;
949
965
  }
950
- `;mt.defaultProps={theme:R};const ut=m("li")`
966
+ `;ut.defaultProps={theme:R};const gt=m("li")`
951
967
  text-align: left;
952
968
  font-style: normal;
953
969
  font-weight: normal;
@@ -956,7 +972,7 @@ ${({customInputColorStyle:e})=>e}
956
972
  padding-left: 12px;
957
973
  padding-bottom: 12px;
958
974
  cursor: pointer;
959
- `,gt=({startDate:e,setStartDate:o,disabled:n,theme:a,...c})=>{const s=u()||R,d=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var p=[],m=2010;m<=(new Date).getFullYear()+10;m++)p.push(m);const g=r(null),b=r(null),[f,h]=l(!1),[y,v]=l(!1),[A,C]=l(!1),[w,S]=l(!1),[E,k]=l(e.getFullYear()),[V,M]=l(d[e.getMonth()]);i((()=>{M(d[e.getMonth()]),k(e.getFullYear())}),[e]),i((()=>(document.addEventListener("click",B,!0),()=>{document.removeEventListener("click",B,!0)})),[]);const B=e=>{g.current&&!g.current.contains(e.target)&&h(!1)},W=e=>{b.current&&!b.current.contains(e.target)&&v(!1)};return i((()=>(document.addEventListener("click",W,!0),()=>{document.removeEventListener("click",W,!0)})),[]),t.createElement(nt,z({disabled:n,theme:a},c),t.createElement(x,{selected:e,dateFormat:"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>o(e),placeholderText:"select date",adjustDateOnChange:!0,disabled:n,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:o,changeMonth:r})=>t.createElement(at,null,t.createElement("div",{style:{display:"flex"}},t.createElement(st,{ref:g},t.createElement(dt,{onClick:()=>{h(!f),v(!1)}},t.createElement("span",{onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),style:{color:`${A?s.variant["primary-1"]:s.textColor}`}},d[e.getMonth()]),t.createElement(ct,null,t.createElement(N,{icon:"triangle-down",color:A?s.variant["primary-1"]:s.textColor,size:7}))),f&&t.createElement(pt,null,t.createElement(mt,{theme:a,onMouseEnter:()=>C(!0)},d.map(((e,o)=>t.createElement(ut,{selectedMonth:V,onClick:()=>{C(!1),r(o),h(!1),M(d[o])},key:Math.random()},t.createElement("span",{style:{color:`${V===e?s.variant["primary-1"]:s.textColor}`}},e))))))),t.createElement(st,{ref:b},t.createElement(dt,{style:{marginLeft:"28px"},onClick:()=>{v(!y),h(!1)}},t.createElement("span",{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),style:{color:`${w?s.variant["primary-1"]:s.textColor}`}},e.getFullYear()),t.createElement(ct,null,t.createElement(N,{icon:"triangle-down",color:w?s.variant["primary-1"]:s.textColor,size:7}))),y&&t.createElement(pt,null,t.createElement(mt,{onMouseEnter:()=>S(!0)},p.map(((e,r)=>t.createElement(ut,{onClick:()=>{S(!1),o(e),k(e),v(!1)},key:Math.random()},t.createElement("span",{style:{color:`${E===e?s.variant["primary-1"]:s.textColor}`}},e)))))))))}))};gt.propTypes={startDate:e.any,setStartDate:e.func,disabled:e.bool,theme:e.object},gt.defaultProps={theme:R,startDate:"",setStartDate:()=>{},disabled:!1};const bt=m.div`
975
+ `,bt=({startDate:e,setStartDate:o,disabled:n,theme:a,startYear:c,endYearRange:s,format:d,placeholderText:p,...m})=>{const g=u()||R,b=["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=r(null),A=r(null),[C,S]=l(!1),[w,E]=l(!1),[k,V]=l(!1),[M,W]=l(!1),[B,I]=l(e.getFullYear()),[L,P]=l(b[e.getMonth()]);i((()=>{P(b[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)&&S(!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(at,z({disabled:n,theme:a},m),t.createElement(x,{selected:e,dateFormat:d||"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>o(e),placeholderText:p,adjustDateOnChange:!0,disabled:n,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:o,changeMonth:r})=>t.createElement(ct,null,t.createElement("div",{style:{display:"flex"}},t.createElement(dt,{ref:v},t.createElement(pt,{onClick:()=>{S(!C),E(!1)}},t.createElement("span",{onMouseEnter:()=>V(!0),onMouseLeave:()=>V(!1),style:{color:`${k?g.variant["primary-1"]:g.textColor}`}},b[e.getMonth()]),t.createElement(st,null,t.createElement(N,{icon:"triangle-down",color:k?g.variant["primary-1"]:g.textColor,size:7}))),C&&t.createElement(mt,null,t.createElement(ut,{theme:a,onMouseEnter:()=>V(!0)},b.map(((e,o)=>t.createElement(gt,{selectedMonth:L,onClick:()=>{V(!1),r(o),S(!1),P(b[o])},key:Math.random()},t.createElement("span",{style:{color:`${L===e?g.variant["primary-1"]:g.textColor}`}},e))))))),t.createElement(dt,{ref:A},t.createElement(pt,{style:{marginLeft:"28px"},onClick:()=>{E(!w),S(!1)}},t.createElement("span",{onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),style:{color:`${M?g.variant["primary-1"]:g.textColor}`}},e.getFullYear()),t.createElement(st,null,t.createElement(N,{icon:"triangle-down",color:M?g.variant["primary-1"]:g.textColor,size:7}))),w&&t.createElement(mt,null,t.createElement(ut,{onMouseEnter:()=>W(!0)},f.map(((e,r)=>t.createElement(gt,{onClick:()=>{W(!1),o(e),I(e),E(!1)},key:Math.random()},t.createElement("span",{style:{color:`${B===e?g.variant["primary-1"]:g.textColor}`}},e)))))))))}))};bt.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},bt.defaultProps={theme:R,startDate:"",setStartDate:()=>{},disabled:!1};const ft=m.div`
960
976
  .master-dropdown,
961
977
  .new-select {
962
978
  .master-dropdown__menu,
@@ -1095,14 +1111,15 @@ ${({customInputColorStyle:e})=>e}
1095
1111
  }
1096
1112
  .new-select__control:hover,
1097
1113
  .new-select__control--is-focused {
1098
- border: 1px solid ${({theme:e})=>e.primary["primary-1"]};
1114
+ // border: 1px solid ${({theme:e,backgroundColor:t})=>e.primary["primary-1"]};
1115
+ border: ${({theme:e,backgroundColor:t})=>t?"1px solid "+t:"1px solid "+e.primary["primary-1"]};
1099
1116
  }
1100
1117
 
1101
1118
  // .css-ry76bm-singleValue {
1102
1119
  // margin-right: 5px;
1103
1120
  // max-width: 80%;
1104
1121
  // }
1105
- `;bt.defaultProps={theme:R};const ft=m.div`
1122
+ `;ft.defaultProps={theme:R};const ht=m.div`
1106
1123
  // Default style
1107
1124
  display: flex;
1108
1125
 
@@ -1110,15 +1127,15 @@ ${({customInputColorStyle:e})=>e}
1110
1127
  ${({inBuiltCss:e,labelWrapperStyle:t})=>P(e,t)}
1111
1128
  // custom styles
1112
1129
  ${({customLabelStyles:e})=>e}
1113
- `,ht=m.div`
1130
+ `,yt=m.div`
1114
1131
  margin-left: 6px;
1115
1132
  margin-top: -14px;
1116
1133
  cursor: pointer;
1117
- `,yt=({getValue:e,children:o,...r})=>{const l=e().length;return t.createElement(A.ValueContainer,r,o,l>1&&t.createElement("span",{className:"text-more-alt"},"& ",l-1," more"))},xt=({label:e,labelStyle:o,optionArr:r,selectedValue:l,setSelectedValue:i,placeHolder:n,isClearable:a,isValid:c,height:s,fontSize:d,loadOptions:p,onInputChange:m,clearSelected:g,customWrapperStyles:b,customLabelStyles:f,isRequired:h,dropdownType:y,isDisabled:x,isLoading:v,id:C,iconName:w,iconColor:S,iconSize:E,showIndicator:k,leftIcon:V,leftIconColor:M,leftIconSize:B,backgroundColor:W,placeHolderColor:I,inputColor:P,...H})=>{const T=u()||R,q=e=>{const o={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},r=t.createElement("div",{style:{...o,backgroundColor:e?.data?.color??T.primary["primary-1"]}},t.createElement(N,{icon:"check-icon",color:"white"})),l=t.createElement("div",{style:{...o,backgroundColor:"#e0e7ff"}});return t.createElement(A.Option,e,t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",width:"100%"}},e.isSelected?r:l,t.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},j=({index:e,...o})=>{const r=o?.data?.label||"Select";return!e&&t.createElement("span",{className:"text-main-alt-value"},r)},F={control:(e,t)=>({...e,border:c?"1px solid "+T.border:"1px solid "+T.ui.error,minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:W||T.bgColor}),placeholder:e=>({...e,fontSize:d+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:I||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),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"}),indicatorsContainer:e=>({...e,padding:0,height:`${s}px`}),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:P||"hsl(0, 0%, 20%)"}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?T.neutral["neutral-5"]:T.bgColor,padding:"10px",cursor:"pointer",color:"#081348",width:"inherit"}),...H.styles},O={DropdownIndicator:e=>{const o=t.createElement(A.DropdownIndicator,e,t.createElement(ht,null,t.createElement(N,{icon:w,color:S,size:E})));return!0===k?o:null},ValueContainer:yt,IndicatorSeparator:()=>null,ClearIndicator:e=>t.createElement(A.ClearIndicator,e,a?t.createElement(ht,{onClick:()=>{g(),e.clearValue()}},t.createElement(N,{icon:"cross-icon",color:"black",size:8})):null)};let Z=null;switch(y){case"multiSelect":Z=t.createElement(vt,z({type:"multiSelect",MultiValue:j,Option:q,value:l,CommonRenderedComponent:O,optionArr:r,placeHolder:n,isDisabled:x,stylesComp:F,setSelectedValue:i,isLoading:v,id:C,isClearable:a},H));break;case"asyncSingleSelect":Z=t.createElement(At,z({CommonRenderedComponent:O,loadOptions:p,onInputChange:m,styles:F,placeholder:n,onChange:i,isLoading:v,isDisabled:x,id:C,value:l,isClearable:a},H));break;case"asyncMultiSelect":Z=t.createElement(At,z({type:"asyncMultiSelect",CommonRenderedComponent:O,MultiValue:j,Option:q,onChange:i,placeholder:n,styles:F,isDisabled:x,isLoading:v,loadOptions:p,onInputChange:m,id:C,isClearable:a},H));break;default:Z=t.createElement(vt,z({type:"singleSelect",value:{value:l?l.value:"",label:l?l.label:""},CommonRenderedComponent:O,optionArr:r,placeHolder:n,isDisabled:x,stylesComp:F,setSelectedValue:i,isLoading:v,id:C,isClearable:a},H))}return t.createElement(bt,{style:b,isValid:c,fontSize:d,theme:T},e&&t.createElement(ft,{inBuiltCss:L,labelWrapperStyle:"selectComp-label-wrapper",style:f},t.createElement(Ke,{customStyles:o,type:"label-text",text:e,style:{marginBottom:"7px",paddingBottom:"0px"}}),h&&t.createElement("div",{style:{marginLeft:"4px",color:`${T.ui.error}`}},"*")),Z)},vt=({type:e,Option:o,value:r,CommonRenderedComponent:l,MultiValue:i,optionArr:n,placeHolder:a,isDisabled:c,stylesComp:s,setSelectedValue:d,isLoading:p,id:m,isClearable:u,...g})=>{let b={...l};return"multiSelect"===e&&(b.MultiValue=i,b.Option=o),t.createElement(v,z({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:b,options:n,placeholder:a,isDisabled:c,value:r,styles:s,onChange:d,isLoading:p,id:m,isClearable:u,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},g))},At=({CommonRenderedComponent:e,MultiValue:o,Option:r,type:l,id:i,styles:n,...a})=>{let c={...e};return"asyncMultiSelect"===l&&(c.MultiValue=o,c.Option=r),t.createElement(C,z({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===l,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==l,isSearchable:!0,styles:n,menuShouldScrollIntoView:!1},a))};xt.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},xt.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 Ct=m.div`
1134
+ `,xt=({getValue:e,children:o,...r})=>{const l=e().length;return t.createElement(A.ValueContainer,r,o,l>1&&t.createElement("span",{className:"text-more-alt"},"& ",l-1," more"))},vt=({label:e,labelStyle:o,optionArr:r,selectedValue:l,setSelectedValue:i,placeHolder:n,isClearable:a,isValid:c,height:s,fontSize:d,loadOptions:p,onInputChange:m,clearSelected:g,customWrapperStyles:b,customLabelStyles:f,isRequired:h,dropdownType:y,isDisabled:x,isLoading:v,id:C,iconName:S,iconColor:w,iconSize:E,showIndicator:k,leftIcon:V,leftIconColor:M,leftIconSize:W,backgroundColor:B,placeHolderColor:I,inputColor:P,...T})=>{const H=u()||R,j=e=>{const o={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},r=t.createElement("div",{style:{...o,backgroundColor:e?.data?.color??H.primary["primary-1"]}},t.createElement(N,{icon:"check-icon",color:"white"})),l=t.createElement("div",{style:{...o,backgroundColor:"#e0e7ff"}});return t.createElement(A.Option,e,t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",width:"100%"}},e.isSelected?r:l,t.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},q=({index:e,...o})=>{const r=o?.data?.label||"Select";return!e&&t.createElement("span",{className:"text-main-alt-value"},r)},F={control:(e,t)=>({...e,border:c?B&&c?"1px solid "+B:"1px solid "+H.border:"1px solid "+H.ui.error,minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:B||H.bgColor}),placeholder:e=>({...e,fontSize:d+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:I||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),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"}),indicatorsContainer:e=>({...e,padding:0,height:`${s}px`}),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:P||"hsl(0, 0%, 20%)"}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?H.neutral["neutral-5"]:H.bgColor,padding:"10px",cursor:"pointer",color:"#081348",width:"inherit"}),...T.styles},O={DropdownIndicator:e=>{const o=t.createElement(A.DropdownIndicator,e,t.createElement(yt,null,t.createElement(N,{icon:S,color:w,size:E})));return!0===k?o:null},ValueContainer:xt,IndicatorSeparator:()=>null,ClearIndicator:e=>t.createElement(A.ClearIndicator,e,a?t.createElement(yt,{onClick:()=>{g(),e.clearValue()}},t.createElement(N,{icon:"cross-icon",color:"black",size:8})):null)};let Z=null;switch(y){case"multiSelect":Z=t.createElement(At,z({type:"multiSelect",MultiValue:q,Option:j,value:l,CommonRenderedComponent:O,optionArr:r,placeHolder:n,isDisabled:x,stylesComp:F,setSelectedValue:i,isLoading:v,id:C,isClearable:a},T));break;case"asyncSingleSelect":Z=t.createElement(Ct,z({CommonRenderedComponent:O,loadOptions:p,onInputChange:m,styles:F,placeholder:n,onChange:i,isLoading:v,isDisabled:x,id:C,value:l,isClearable:a},T));break;case"asyncMultiSelect":Z=t.createElement(Ct,z({type:"asyncMultiSelect",CommonRenderedComponent:O,MultiValue:q,Option:j,onChange:i,placeholder:n,styles:F,isDisabled:x,isLoading:v,loadOptions:p,onInputChange:m,id:C,isClearable:a},T));break;default:Z=t.createElement(At,z({type:"singleSelect",value:{value:l?l.value:"",label:l?l.label:""},CommonRenderedComponent:O,optionArr:r,placeHolder:n,isDisabled:x,stylesComp:F,setSelectedValue:i,isLoading:v,id:C,isClearable:a},T))}return t.createElement(ft,{style:b,backgroundColor:B,isValid:c,fontSize:d,theme:H},e&&t.createElement(ht,{inBuiltCss:L,labelWrapperStyle:"selectComp-label-wrapper",style:f},t.createElement(Ye,{customStyles:o,type:"label-text",text:e,style:{marginBottom:"7px",paddingBottom:"0px"}}),h&&t.createElement("div",{style:{marginLeft:"4px",color:`${H.ui.error}`}},"*")),Z)},At=({type:e,Option:o,value:r,CommonRenderedComponent:l,MultiValue:i,optionArr:n,placeHolder:a,isDisabled:c,stylesComp:s,setSelectedValue:d,isLoading:p,id:m,isClearable:u,...g})=>{let b={...l};return"multiSelect"===e&&(b.MultiValue=i,b.Option=o),t.createElement(v,z({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:b,options:n,placeholder:a,isDisabled:c,value:r,styles:s,onChange:d,isLoading:p,id:m,isClearable:u,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},g))},Ct=({CommonRenderedComponent:e,MultiValue:o,Option:r,type:l,id:i,styles:n,...a})=>{let c={...e};return"asyncMultiSelect"===l&&(c.MultiValue=o,c.Option=r),t.createElement(C,z({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===l,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==l,isSearchable:!0,styles:n,menuShouldScrollIntoView:!1},a))};vt.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},vt.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 St=m.div`
1118
1135
  //Set the styles from the default styles object
1119
1136
  ${({inBuiltCss:e,defaultStyles:t})=>P(e,t)}
1120
1137
 
1121
- background-color:${({hover:e,dropValid:t,fileArr:o,backgroundColor:r,theme:l})=>t?t&&e&&r?r:t&&e&&!r?l.primary["primary-1"]:t&&!e&&o.length>0?l.bgColor:t&&!e&&0==o.length?H(l.primary["primary-1"],.05):void 0:"rgba(215, 0, 0, 0.05)"}
1138
+ background-color:${({hover:e,dropValid:t,fileArr:o,backgroundColor:r,theme:l})=>t?t&&e&&r?r:t&&e&&!r?l.primary["primary-1"]:t&&!e&&o.length>0?l.bgColor:t&&!e&&0==o.length?T(l.primary["primary-1"],.05):void 0:"rgba(215, 0, 0, 0.05)"}
1122
1139
 
1123
1140
  };
1124
1141
  border: 1px
@@ -1137,9 +1154,9 @@ ${({customInputColorStyle:e})=>e}
1137
1154
 
1138
1155
  // custom styles
1139
1156
  ${({customFileStyles:e})=>e}
1140
- `,St=m.input`
1157
+ `,Et=m.input`
1141
1158
  display: none;
1142
- `,Et=m.div`
1159
+ `,kt=m.div`
1143
1160
  //Set the styles from the default styles object
1144
1161
  ${({inBuiltCss:e,defaultStyles:t})=>P(e,t)}
1145
1162
 
@@ -1151,19 +1168,19 @@ ${({customInputColorStyle:e})=>e}
1151
1168
 
1152
1169
  // custom styles
1153
1170
  ${({customFileNameStyles:e})=>e}
1154
- `;const kt=m.div`
1171
+ `;const zt=m.div`
1155
1172
  cursor: pointer;
1156
1173
  padding-left: 1px;
1157
1174
  margin-left: auto;
1158
1175
  margin-right: 10px;
1159
1176
  display: flex;
1160
1177
  justify-content: center;
1161
- `,zt=m.div`
1178
+ `,Vt=m.div`
1162
1179
  margin-left: 11px;
1163
1180
  padding-left: 2px;
1164
1181
  display: flex;
1165
1182
  justify-content: center;
1166
- `,Vt=m.div`
1183
+ `,Mt=m.div`
1167
1184
  color: #494949;
1168
1185
  margin-left: 11px;
1169
1186
  padding-left: 2px;
@@ -1174,18 +1191,18 @@ ${({customInputColorStyle:e})=>e}
1174
1191
  align-items: center;
1175
1192
  margin: 20px 0px;
1176
1193
  font-size: 14px;
1177
- `;const Mt=({label:e,labelStyle:o,labelInline:r,required:i,message:a,fileArr:c,setFileArr:s,deleteFile:d,customDropzoneStyles:p,customFileStyles:m,customTextStyles:g,customFileNameStyles:b,backgroundColor:f,singleFile:h,messageSize:y,showSupportedFormats:x,file_extensions:v,maxFilesAmount:A,minFilesAmount:C,fileSizeLimit:w,fileSizeNamingConvention:S,errorMessages:E,suggesionMessage:k,MessagelabelStyle:V,dropValid:M,setDropValid:B,id:W,...I})=>{const P=u()||R,[H,T]=l(!1),q=n(),[j,F]=l(M),[O,Z]=l("");let X;var G=v,J=!1,U=x?"That file type is not supported.":"",D=(k=x?"Only Supported: "+JSON.stringify(G):"","");1==h&&(C=1,A=1);var Q="Please upload (min."+C+" to max."+A+")files",K=e=>{D="";var t=0,o=c.length;if(o+1<C||o+1>A){var r="The file size is not uploaded";D=O?.amount,D=void 0!==D?D:r}for(const e of c)t+=e.size;if(""==D)for(const[o,a]of Object.entries(e)){a.name,t+=a.size;var l=a.name.split(".");l=l[l.length-1],J=G.includes(l.toLowerCase());var i=1024;("MB"==S||"GB"==S||"TB"==S)&&(i*=1024);var n=Math.round(t/i);if(0==J){D=E?.format,D=D?D+U:U;break}if(n>w&&J){J=!1;r="The file must be under "+w+" "+S;D=E?.size,D=null!=D?D:r;break}}return 0==J?(B(!1),F(M),Z(D),console.log(M)):(B(!0),F(M),Z("")),J};function Y(e){e.preventDefault(),e.stopPropagation()}function $(e,t){let o=1==t?[]:[...c];for(let t=0;t<e.length;t++)o.push(e.item(t));t||(o=o.filter(((e,t,o)=>t===o.findIndex((t=>t.place===e.place&&t.name===e.name)))));var r=K(o);return s(r?o:[]),T(!1),o}function _(e,t){if(e instanceof File){const t=c.filter((t=>t.name!==e.name));s(t)}else!function(e,t){const o=c.filter((t=>t.name!==e.name));s(o),d(e)}(e)}return t.createElement("div",null,t.createElement("div",{style:{display:"flex",width:"inherit"}},t.createElement(Ke,z({customStyles:o,type:"label-text",labelInline:r,text:e,style:{display:"flex",marginBottom:""+(r?"":"7px"),paddingBottom:"0px"}},I)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${P.variant.error}`}},"*")),t.createElement(Ct,{theme:P,inBuiltCss:L,defaultStyles:"dropzone-parent",backgroundColor:f,customDropzoneStyles:p,onDragLeave:function(e){Y(e),T(!1)},onDragOver:function(e){Y(e),T(!0)},onDrop:function(e){Y(e);const{files:t}=e.dataTransfer;T(!0),I.onFilesAdded($(t,h))},onClick:function(){q.current.click()},hover:H,dropValid:M,fileArr:c},t.createElement(St,z({ref:q,type:"file",id:W,multiple:1!=h,onChange:function(e){const{files:t}=e.target;T(!1),K(e.target.files)&&(X&&URL.revokeObjectURL(X),X=URL.createObjectURL(t[0]),t[0].path=X,console.log(t),I.onFilesAdded($(t,h)))},onClick:e=>e.target.value=null},I)),M&&j?t.createElement(N,{icon:"file-upload",color:H?P.bgColor:P.primary["primary-1"],size:24}):null,t.createElement(Et,{dropValid:M,valid:j,hover:H,customTextStyles:g,inBuiltCss:L,defaultStyles:"dropzone-text-div"},M?t.createElement("div",null,t.createElement("span",{style:{color:H?P.bgColor:P.primary["primary-1"]}},"Choose a file"," "),t.createElement("span",{style:{color:H?P.bgColor:P.neutral["neutral-2"]}},"or"," "),t.createElement("span",{style:{color:H?P.bgColor:P.textColor}},"drag ",h?"it":"them"," here")):t.createElement("div",null,t.createElement("span",{style:{color:P.variant.error}},"Try again!!"," "),t.createElement("span",{style:{color:P.textColor}},O||a)))),O===U?t.createElement(Ke,z({themeColor:R,customStyles:V,type:"label-text",labelInline:r,text:k,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(r?"":"16.64px")}},I)):"The file size is not uploaded"===O?t.createElement(Ke,z({themeColor:R,customStyles:V,type:"label-text",labelInline:r,text:Q,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(r?"":"16.64px")}},I)):"",c?.map(((e,o)=>t.createElement(wt,{inBuiltCss:L,defaultStyles:"dropzone-file-div",key:`${e}-${o}`,customFileStyles:m},t.createElement(zt,null,t.createElement(N,{icon:"file-icon",color:P.primary["primary-1"]})),(File,t.createElement("a",{style:{color:P.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),t.createElement(Vt,null,e?.otherInfo),t.createElement(kt,{key:101*Math.random()|0,onClick:()=>_(e)},t.createElement("div",{style:{marginRight:"7px"}},t.createElement(N,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:P.primary["primary-1"]})),t.createElement(N,{icon:"cross-icon",color:P.neutral["neutral-2"],size:13}))))))};Mt.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},Mt.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:""};const Bt=m.div`
1194
+ `;const Wt=({label:e,labelStyle:o,labelInline:r,required:i,message:a,fileArr:c,setFileArr:s,deleteFile:d,customDropzoneStyles:p,customFileStyles:m,customTextStyles:g,customFileNameStyles:b,backgroundColor:f,singleFile:h,messageSize:y,showSupportedFormats:x,file_extensions:v,maxFilesAmount:A,minFilesAmount:C,fileSizeLimit:S,fileSizeNamingConvention:w,errorMessages:E,suggesionMessage:k,MessagelabelStyle:V,dropValid:M,setDropValid:W,dropzoneContent:B,dropIcon:I,iconColor:P,id:T,...H})=>{const j=u()||R,[q,F]=l(!1),O=n(),[Z,X]=l(M),[G,J]=l("");let U;var D=v,Q=!1,K=x?"That file type is not supported.":"",Y=(k=x?"Only Supported: "+JSON.stringify(D):"","");1==h&&(C=1,A=1);var $="Please upload (min."+C+" to max."+A+")files",_=e=>{Y="";var t=0,o=c.length;if(o+1<C||o+1>A){var r="The file size is not uploaded";Y=G?.amount,Y=void 0!==Y?Y:r}for(const e of c)t+=e.size;if(""==Y)for(const[o,a]of Object.entries(e)){a.name,t+=a.size;var l=a.name.split(".");l=l[l.length-1],Q=D.includes(l.toLowerCase());var i=1024;("MB"==w||"GB"==w||"TB"==w)&&(i*=1024);var n=Math.round(t/i);if(0==Q){Y=E?.format,Y=Y?Y+K:K;break}if(n>S&&Q){Q=!1;r="The file must be under "+S+" "+w;Y=E?.size,Y=null!=Y?Y:r;break}}return 0==Q?(W(!1),X(M),J(Y)):(W(!0),X(M),J("")),Q};function ee(e){e.preventDefault(),e.stopPropagation()}function te(e,t){let o=[...c];for(let t=0;t<e.length;t++)o.push(e.item(t));return t||(o=o.filter(((e,t,o)=>t===o.findIndex((t=>t.place===e.place&&t.name===e.name))))),_(o)||o.pop(),s(o),F(!1),o}function oe(e,t){if(e instanceof File){const t=c.filter((t=>t.name!==e.name));s(t)}else!function(e,t){const o=c.filter((t=>t.name!==e.name));s(o),d(e)}(e)}return t.createElement("div",null,t.createElement("div",{style:{display:"flex",width:"inherit"}},t.createElement(Ye,z({customStyles:o,type:"label-text",labelInline:r,text:e,style:{display:"flex",marginBottom:""+(r?"":"7px"),paddingBottom:"0px"}},H)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${j.variant.error}`}},"*")),t.createElement(St,{theme:j,inBuiltCss:L,defaultStyles:"dropzone-parent",backgroundColor:f,customDropzoneStyles:p,onDragLeave:function(e){ee(e),F(!1)},onDragOver:function(e){ee(e),F(!0)},onDrop:function(e){ee(e);const{files:t}=e.dataTransfer;F(!0),H.onFilesAdded(te(t,h))},onClick:function(){O.current.click()},hover:q,dropValid:M,fileArr:c},t.createElement(Et,z({ref:O,valid:Z,dropValid:M,type:"file",id:T,multiple:1!=h,onChange:function(e){const{files:t}=e.target;F(!1),_(e.target.files)&&(U&&URL.revokeObjectURL(U),U=URL.createObjectURL(t[0]),t[0].path=U,H.onFilesAdded(te(t,h)))},onClick:e=>e.target.value=null},H)),M?t.createElement(t.Fragment,null,I?t.createElement(N,{icon:I,color:q?j.bgColor:P,size:24}):t.createElement(N,{icon:"file-upload",color:q?j.bgColor:j.primary["primary-1"],size:24})):null,t.createElement(kt,{dropValid:M,valid:Z,hover:q,backgroundColor:f,customTextStyles:g,inBuiltCss:L,defaultStyles:"dropzone-text-div"},M?t.createElement(t.Fragment,null,B?t.createElement("div",{style:{color:q?j.bgColor:null}},B):t.createElement("div",null,t.createElement("span",{style:{color:q?j.bgColor:j.primary["primary-1"]}},"Choose a file"," "),t.createElement("span",{style:{color:q?j.bgColor:j.neutral["neutral-2"]}},"or"," "),t.createElement("span",{style:{color:q?j.bgColor:j.textColor}},"drag ",h?"it":"them"," here"))):t.createElement("div",null,t.createElement("span",{style:{color:j.variant.error}},"Try again!!"," "),t.createElement("span",{style:{color:j.textColor}},G||a)))),G===K?t.createElement(Ye,z({themeColor:R,customStyles:V,type:"label-text",labelInline:r,text:k,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(r?"":"16.64px")}},H)):"The file size is not uploaded"===G?t.createElement(Ye,z({themeColor:R,customStyles:V,type:"label-text",labelInline:r,text:$,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(r?"":"16.64px")}},H)):"",c?.map(((e,o)=>t.createElement(wt,{inBuiltCss:L,defaultStyles:"dropzone-file-div",key:`${e}-${o}`,customFileStyles:m},t.createElement(Vt,null,t.createElement(N,{icon:"file-icon",color:j.primary["primary-1"]})),(File,t.createElement("a",{style:{color:j.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),t.createElement(Mt,null,e?.otherInfo),t.createElement(zt,{key:101*Math.random()|0,onClick:()=>oe(e)},t.createElement("div",{style:{marginRight:"7px"}},t.createElement(N,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:j.primary["primary-1"]})),t.createElement(N,{icon:"cross-icon",color:j.neutral["neutral-2"],size:13}))))))};Wt.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},Wt.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 Bt=m.div`
1178
1195
  display: contents;
1179
1196
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1180
1197
 
1181
1198
  ${({WrapperDivStyle:e})=>e}
1182
- `,Wt=m.input`
1199
+ `,It=m.input`
1183
1200
  display: none;
1184
1201
  min-height: 100vh;
1185
1202
  padding: 0 0.5rem;
1186
1203
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1187
1204
 
1188
- `,It=m.div`
1205
+ `,Rt=m.div`
1189
1206
  height: 49px;
1190
1207
  width: 49px;
1191
1208
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor};
@@ -1197,7 +1214,7 @@ ${({customInputColorStyle:e})=>e}
1197
1214
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1198
1215
 
1199
1216
  ${({IconWrapperStyle:e})=>e}
1200
- `,Rt=m.div`
1217
+ `,Lt=m.div`
1201
1218
  // background-color: ${({theme:e})=>e.bgColor};
1202
1219
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor};
1203
1220
  width: 134px;
@@ -1239,7 +1256,7 @@ ${({customInputColorStyle:e})=>e}
1239
1256
  }
1240
1257
  }
1241
1258
  ${({MainDivStyle:e})=>e};
1242
- `,Lt=({image:e,setImage:o,WrapperDivStyle:n,MainDivStyle:a,IconWrapperStyle:c,iconSize:s,iconColor:d,isDisabled:p,id:m})=>{const[g,b]=l(),f=r(),h=u()||R,[y,x]=l(),[v,A]=l(!1);function C(e){e.preventDefault(),e.stopPropagation()}i((()=>{if(e&&v){const t=new FileReader;t.onloadend=()=>{b(t.result)},t.readAsDataURL(e)}else b(e)}),[e]);const w=e=>{e&&"image"===e.type.substr(0,5)?(A(!0),o(e)):A(!1)};return t.createElement(Bt,{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(Rt,{isDisabled:p,theme:h,MainDivStyle:a,style:{backgroundImage:`url(${g})`},onClick:e=>{e.preventDefault(),f.current.click()}},!g&&t.createElement("div",{className:"icon-on-not-preview"},t.createElement(It,{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(It,{IconWrapperStyle:c,isDisabled:p,theme:h},t.createElement(N,{icon:"camera-icon",size:s,color:d||h.variant["primary-1"]})))),t.createElement(Wt,{id:m,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{A(!0),o(e.target.files[0])},disabled:p,isDisabled:p}))};Lt.propTypes={image:e.any,setImage:e.func,WrapperDivStyle:e.object,MainDivStyle:e.object,IconWrapperStyle:e.object,iconSize:e.number},Lt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Pt=m.div`
1259
+ `,Pt=({image:e,setImage:o,WrapperDivStyle:n,MainDivStyle:a,IconWrapperStyle:c,iconSize:s,iconColor:d,isDisabled:p,id:m})=>{const[g,b]=l(),f=r(),h=u()||R,[y,x]=l(),[v,A]=l(!1);function C(e){e.preventDefault(),e.stopPropagation()}i((()=>{if(e&&v){const t=new FileReader;t.onloadend=()=>{b(t.result)},t.readAsDataURL(e)}else b(e)}),[e]);const S=e=>{e&&"image"===e.type.substr(0,5)?(A(!0),o(e)):A(!1)};return t.createElement(Bt,{onDragLeave:function(e){C(e),x(!1)},onDragOver:function(e){C(e),x(!0)},onDrop:function(e){C(e);const{files:t}=e.dataTransfer;S(t[0])},WrapperDivStyle:n,isDisabled:p},t.createElement(Lt,{isDisabled:p,theme:h,MainDivStyle:a,style:{backgroundImage:`url(${g})`},onClick:e=>{e.preventDefault(),f.current.click()}},!g&&t.createElement("div",{className:"icon-on-not-preview"},t.createElement(Rt,{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(Rt,{IconWrapperStyle:c,isDisabled:p,theme:h},t.createElement(N,{icon:"camera-icon",size:s,color:d||h.variant["primary-1"]})))),t.createElement(It,{id:m,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{A(!0),o(e.target.files[0])},disabled:p,isDisabled:p}))};Pt.propTypes={image:e.any,setImage:e.func,WrapperDivStyle:e.object,MainDivStyle:e.object,IconWrapperStyle:e.object,iconSize:e.number},Pt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Tt=m.div`
1243
1260
  border: 1px solid
1244
1261
  ${({theme:e})=>e.border};
1245
1262
  border-radius: 4px;
@@ -1259,7 +1276,7 @@ ${({customInputColorStyle:e})=>e}
1259
1276
  fill: ${({theme:e})=>e.variant["primary-1"]};
1260
1277
  }
1261
1278
  }
1262
- `;Pt.defaultProps={theme:R};const Ht=m.input`
1279
+ `;Tt.defaultProps={theme:R};const Ht=m.input`
1263
1280
  width: 85%;
1264
1281
  border: 0;
1265
1282
  outline: 0;
@@ -1277,7 +1294,7 @@ ${({customInputColorStyle:e})=>e}
1277
1294
  content: ' *';
1278
1295
  color: ${({theme:e})=>e.variant.error};
1279
1296
  }
1280
- `;const Tt=m.label`
1297
+ `;const jt=m.label`
1281
1298
  display: flex;
1282
1299
  margin-right: 10px;
1283
1300
  align-content: center;
@@ -1290,16 +1307,16 @@ ${({customInputColorStyle:e})=>e}
1290
1307
  color: ${({theme:e})=>e.variant["neutral-2"]};
1291
1308
 
1292
1309
  ${({labelStyle:e})=>e}
1293
- `;Tt.defaultProps={theme:R};const qt=g`
1310
+ `;jt.defaultProps={theme:R};const qt=g`
1294
1311
  display: flex;
1295
1312
  align-items: center;
1296
- `,jt=m.div`
1313
+ `,Ft=m.div`
1297
1314
  ${({labelInline:e})=>e?qt:null}
1298
1315
 
1299
1316
  > div {
1300
1317
  flex: 1 0 auto;
1301
1318
  }
1302
- `;jt.defaultProps={theme:R};const Ft=({label:e,inputValue:o,inputStyle:r,iconBefore:l,iconAfter:i,onChange:n,theme:a,id:c,labelStyle:s,...d})=>t.createElement(jt,d,e.length>0&&t.createElement(Tt,{labelStyle:s},e),t.createElement("div",null,t.createElement(Pt,d,t.createElement("div",{className:"input-icon"},l),t.createElement(Ht,z({},d,{inputStyle:r,value:o,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))));Ft.propTypes={theme:e.object,label:e.string,labelInline:e.bool,inputValue:e.any,inputStyle:e.object,id:e.string,labelStyle:e.object},Ft.defaultProps={theme:R,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const Ot=m.div`
1319
+ `;Ft.defaultProps={theme:R};const Ot=({label:e,inputValue:o,inputStyle:r,iconBefore:l,iconAfter:i,onChange:n,theme:a,id:c,labelStyle:s,...d})=>t.createElement(Ft,d,e.length>0&&t.createElement(jt,{labelStyle:s},e),t.createElement("div",null,t.createElement(Tt,d,t.createElement("div",{className:"input-icon"},l),t.createElement(Ht,z({},d,{inputStyle:r,value:o,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))));Ot.propTypes={theme:e.object,label:e.string,labelInline:e.bool,inputValue:e.any,inputStyle:e.object,id:e.string,labelStyle:e.object},Ot.defaultProps={theme:R,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const Zt=m.div`
1303
1320
  background-color: ${({theme:e})=>e.bgColor};
1304
1321
 
1305
1322
  //Set the styles from the default styles object
@@ -1325,9 +1342,9 @@ ${({customInputColorStyle:e})=>e}
1325
1342
 
1326
1343
  // custom styles
1327
1344
  ${({textBoxStyle:e})=>e}
1328
- `;Ot.defaultProps={theme:R};const Zt=m.input`
1345
+ `;Zt.defaultProps={theme:R};const Xt=m.input`
1329
1346
  width: 85%;
1330
- -webkit-text-security: ${({showEye:e})=>e?"none":"disc"};
1347
+
1331
1348
 
1332
1349
  //Set the styles from the default styles object
1333
1350
  ${({inBuiltCss:e,defaultInputStyle:t})=>P(e,t)}
@@ -1338,18 +1355,18 @@ ${({customInputColorStyle:e})=>e}
1338
1355
  .sc-furwcr bxRAoq {
1339
1356
  color: ${({theme:e})=>e.variant["neutral-3"]};
1340
1357
  }
1341
- `;Zt.defaultProps={theme:R};const Xt=g`
1358
+ `;Xt.defaultProps={theme:R};const Gt=g`
1342
1359
  display: flex;
1343
1360
  gap: 7px;
1344
1361
  align-items: start;
1345
- `,Gt=m.div`
1346
- ${({labelInline:e})=>e?Xt:null}
1362
+ `,Jt=m.div`
1363
+ ${({labelInline:e})=>e?Gt:null}
1347
1364
  .err-text {
1348
1365
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1349
1366
  margin-top: 5px;
1350
1367
  font-size: 10px;
1351
1368
  }
1352
- `;Gt.defaultProps={theme:R};const Jt=({passwordRules:e,textBoxStyle:o,labelStyle:r,inputStyle:i,errMsg:n,required:a,label:c,labelInline:s,isValid:d,rulesStyle:p,id:m,showHideIcon:g,errMsgColor:b,...f})=>{const[h,y]=l(!1),x=u()||R;return t.createElement(Gt,z({onPaste:e=>(e.preventDefault(),!1),onCopy:e=>(e.preventDefault(),!1),labelInline:s,inBuiltCss:L,errMsgColor:b,theme:x},f),t.createElement("div",{style:{display:"flex"}},t.createElement(Ke,z({customStyles:r,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(Ot,z({required:a,theme:x,textBoxStyle:o,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:L},f),t.createElement(Zt,z({inputStyle:i,type:"text",id:m,showEye:h,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:L},f)),!0===g?t.createElement("div",{className:"input-icon",onClick:()=>y(!h),style:{position:"absolute",right:"7px"}},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):""))};Jt.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},Jt.defaultProps={inBuiltCss:L,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const Ut=m.div`
1369
+ `;Jt.defaultProps={theme:R};const Ut=({passwordRules:e,textBoxStyle:o,labelStyle:r,inputStyle:i,errMsg:n,required:a,label:c,labelInline:s,isValid:d,rulesStyle:p,id:m,showHideIcon:g,errMsgColor:b,...f})=>{l(!1);const[h,y]=l("password"),x=u()||R;return t.createElement(Jt,z({labelInline:s,inBuiltCss:L,errMsgColor:b,theme:x},f),t.createElement("div",{style:{display:"flex"}},t.createElement(Ye,z({customStyles:r,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(Zt,z({required:a,theme:x,textBoxStyle:o,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:L},f),t.createElement(Xt,z({inputStyle:i,type:h,autocomplete:"off",id:m,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:L},f)),!0===g?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):""))};Ut.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},Ut.defaultProps={inBuiltCss:L,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const Dt=m.div`
1353
1370
  box-sizing: initial;
1354
1371
 
1355
1372
  //Set the styles from the default styles object
@@ -1359,7 +1376,7 @@ ${({customInputColorStyle:e})=>e}
1359
1376
 
1360
1377
  // custom styles
1361
1378
  ${({radioOuterCircleStyle:e})=>e}
1362
- `;Ut.defaultProps={theme:R};const Dt=m.div`
1379
+ `;Dt.defaultProps={theme:R};const Qt=m.div`
1363
1380
  box-sizing: initial;
1364
1381
 
1365
1382
  //Set the styles from the default styles object
@@ -1371,7 +1388,7 @@ ${({customInputColorStyle:e})=>e}
1371
1388
 
1372
1389
  // custom styles
1373
1390
  ${({radioInnerCircleStyle:e})=>e}
1374
- `;Dt.defaultProps={theme:R};const Qt=m.div`
1391
+ `;Qt.defaultProps={theme:R};const Nt=m.div`
1375
1392
  //Set the styles from the default styles object
1376
1393
  ${({inBuiltCss:e,defaultOptionStyle:t})=>P(e,t)}
1377
1394
  margin-right: ${({inline:e})=>e?"":"30px"};
@@ -1379,7 +1396,7 @@ ${({customInputColorStyle:e})=>e}
1379
1396
 
1380
1397
  // custom styles
1381
1398
  ${({optionStyle:e})=>e}
1382
- `;Qt.defaultProps={theme:R};const Nt=m.div`
1399
+ `;Nt.defaultProps={theme:R};const Kt=m.div`
1383
1400
  margin-bottom: ${({inline:e})=>e?"":"14px"};
1384
1401
  cursor: pointer;
1385
1402
  align-items: center;
@@ -1388,11 +1405,11 @@ ${({customInputColorStyle:e})=>e}
1388
1405
 
1389
1406
  // custom styles
1390
1407
  ${({WrapperDivStyle:e})=>e}
1391
- `,Kt=m.div`
1408
+ `,Yt=m.div`
1392
1409
  display: ${({inline:e})=>e?"flex":"inline-block"};
1393
1410
  width: max-content;
1394
1411
  margin: 0;
1395
- `,Yt=({radioOuterCircleStyle:e,radioInnerCircleStyle:o,labelStyle:r,label:l,optionStyle:i,options:n,selectedCircleColor:a,selectedOptionTextColor:c,onChange:s,selected:d,width:p,height:m,inline:g,defaultBorderColor:b,defaultOptionColor:f,WrapperDivStyle:h,...y})=>{const x=u()||R;return t.createElement("div",null,t.createElement(Ke,{customStyles:r,type:"radio-label",text:l}),t.createElement(Kt,{inline:g},n.map(((r,l)=>t.createElement(Nt,{WrapperDivStyle:h,key:l+101*Math.random(),id:r.id,inline:g,onClick:()=>{!r?.disabled&&s(r.value)}},t.createElement(Ut,{theme:x,inBuiltCss:L,defaultBorderColor:b,selectedCircleColor:a,radioOuterCircleStyle:{...e,cursor:r?.disabled?"not-allowed ":" pointer",borderColor:r?.disabled&&r?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:r.value,selected:!r?.disabled&&d},t.createElement(Dt,{inBuiltCss:L,theme:x,width:p,height:m,selectedCircleColor:a,radioInnerCircleStyle:{...o,cursor:r?.disabled?"not-allowed ":" pointer",backgroundColor:r?.disabled?"transparent":r?.value===d?o?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:r.value,selected:d})),t.createElement(Qt,{defaultOptionColor:f,optionStyle:{...i,cursor:r?.disabled?"not-allowed ":" pointer",color:r?.disabled&&r?.disabledColor},inBuiltCss:L,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!r?.disabled&&r.value===d},r.label))))))};Yt.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},Yt.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const $t=m.div`
1412
+ `,$t=({radioOuterCircleStyle:e,radioInnerCircleStyle:o,labelStyle:r,label:l,optionStyle:i,options:n,selectedCircleColor:a,selectedOptionTextColor:c,onChange:s,selected:d,width:p,height:m,inline:g,defaultBorderColor:b,defaultOptionColor:f,WrapperDivStyle:h,...y})=>{const x=u()||R;return t.createElement("div",null,t.createElement(Ye,{customStyles:r,type:"radio-label",text:l}),t.createElement(Yt,{inline:g},n.map(((r,l)=>t.createElement(Kt,{WrapperDivStyle:h,key:l+101*Math.random(),id:r.id,inline:g,onClick:()=>{!r?.disabled&&s(r.value)}},t.createElement(Dt,{theme:x,inBuiltCss:L,defaultBorderColor:b,selectedCircleColor:a,radioOuterCircleStyle:{...e,cursor:r?.disabled?"not-allowed ":" pointer",borderColor:r?.disabled&&r?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:r.value,selected:!r?.disabled&&d},t.createElement(Qt,{inBuiltCss:L,theme:x,width:p,height:m,selectedCircleColor:a,radioInnerCircleStyle:{...o,cursor:r?.disabled?"not-allowed ":" pointer",backgroundColor:r?.disabled?"transparent":r?.value===d?o?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:r.value,selected:d})),t.createElement(Nt,{defaultOptionColor:f,optionStyle:{...i,cursor:r?.disabled?"not-allowed ":" pointer",color:r?.disabled&&r?.disabledColor},inBuiltCss:L,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!r?.disabled&&r.value===d},r.label))))))};$t.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},$t.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const _t=m.div`
1396
1413
  background-color: ${({theme:e})=>e.bgColor};
1397
1414
 
1398
1415
  //Set the styles from the default styles object
@@ -1413,7 +1430,7 @@ ${({customInputColorStyle:e})=>e}
1413
1430
  ${({textBoxStyle:e})=>e}
1414
1431
 
1415
1432
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}
1416
- `,_t=m.input`
1433
+ `,eo=m.input`
1417
1434
  color: ${({theme:e})=>e.black};
1418
1435
  width: 85%;
1419
1436
  white-space: nowrap;
@@ -1429,18 +1446,18 @@ ${({customInputColorStyle:e})=>e}
1429
1446
  color: ${R.variant["neutral-3"]};
1430
1447
  }
1431
1448
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}};
1432
- `,eo=g`
1449
+ `,to=g`
1433
1450
  display: flex;
1434
1451
  gap: 7px;
1435
1452
  align-items: center;
1436
- `,to=m.div`
1437
- ${({labelInline:e})=>e?eo:null}
1453
+ `,oo=m.div`
1454
+ ${({labelInline:e})=>e?to:null}
1438
1455
  .err-text {
1439
1456
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1440
1457
  margin-top: 5px;
1441
1458
  font-size: 10px;
1442
1459
  }
1443
- `,oo=({textBoxStyle:e,labelStyle:o,inputStyle:r,errMsg:l,required:i,label:n,labelInline:a,iconBefore:c,iconAfter:s,isValid:d,type:p,isDisabled:m,id:g,errMsgColor:b,iconAfterStyle:f,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...A})=>{const C=u()||R;return t.createElement(to,z({labelInline:a,theme:C,errMsgColor:b},A),t.createElement("div",{style:{display:"flex"}},t.createElement(Ke,z({customStyles:o,type:"label-text",labelInline:a,text:n,errMsg:l,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($t,z({required:i,isDisabled:m,theme:C,textBoxStyle:e,isValid:d,inBuiltCss:L,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),t.createElement("div",{className:"input-icon",style:{...h}},c),t.createElement(_t,z({inputStyle:r,type:p,theme:C,id:g,defaultInputStyle:"input-wrapper",isDisabled:m,disabled:m,ref:y,pattern:x},A)),t.createElement("div",{className:"input-icon",style:{...f}},s))),l.length>0&&t.createElement("div",{className:"err-text"},l))};oo.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},oo.defaultProps={inBuiltCss:L,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const ro=({label:e,placeholder:o,handleSearch:r,searchInput:l,customStylesForm:i,customStyleObject:n,textBoxStyle:a,id:c,...s})=>t.createElement(oo,z({iconAfter:t.createElement(N,{icon:"magnifier-icon"}),label:e,textBoxStyle:a,placeholder:o,ref:l,onChange:r,id:c},s)),lo=m.div`
1460
+ `,ro=({textBoxStyle:e,labelStyle:o,inputStyle:r,errMsg:l,required:i,label:n,labelInline:a,iconBefore:c,iconAfter:s,isValid:d,type:p,isDisabled:m,id:g,errMsgColor:b,iconAfterStyle:f,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...A})=>{const C=u()||R;return t.createElement(oo,z({labelInline:a,theme:C,errMsgColor:b},A),t.createElement("div",{style:{display:"flex"}},t.createElement(Ye,z({customStyles:o,type:"label-text",labelInline:a,text:n,errMsg:l,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(_t,z({required:i,isDisabled:m,theme:C,textBoxStyle:e,isValid:d,inBuiltCss:L,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),t.createElement("div",{className:"input-icon",style:{...h}},c),t.createElement(eo,z({inputStyle:r,type:p,theme:C,id:g,defaultInputStyle:"input-wrapper",isDisabled:m,disabled:m,ref:y,pattern:x},A)),t.createElement("div",{className:"input-icon",style:{...f}},s))),l.length>0&&t.createElement("div",{className:"err-text"},l))};ro.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},ro.defaultProps={inBuiltCss:L,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const lo=({label:e,placeholder:o,handleSearch:r,searchInput:l,customStylesForm:i,customStyleObject:n,textBoxStyle:a,id:c,...s})=>t.createElement(ro,z({iconAfter:t.createElement(N,{icon:"magnifier-icon"}),label:e,textBoxStyle:a,placeholder:o,ref:l,onChange:r,id:c},s)),io=m.div`
1444
1461
  //Set the styles from the default styles object
1445
1462
  ${({inBuiltCss:e,defaultParentDivStyle:t})=>P(e,t)}
1446
1463
 
@@ -1449,7 +1466,7 @@ ${({customInputColorStyle:e})=>e}
1449
1466
  &:focus-within {
1450
1467
  border-color: ${({activeColor:e,theme:t})=>e||t.primary["primary-1"]};
1451
1468
  }
1452
- `,io=m.div`
1469
+ `,no=m.div`
1453
1470
  //Set the styles from the default styles object
1454
1471
  ${({inBuiltCss:e,defaultWrapperDivStyle:t})=>P(e,t)}
1455
1472
 
@@ -1461,7 +1478,7 @@ ${({customInputColorStyle:e})=>e}
1461
1478
  border-left: ${({signIcon:e})=>e?"":"none"};
1462
1479
  margin-left: ${({signIcon:e})=>e?"":"42px"};
1463
1480
  position: ${({signIcon:e})=>e?"absolute":""};
1464
- `,no=m.div`
1481
+ `,ao=m.div`
1465
1482
  width: 39px;
1466
1483
  height: 44px;
1467
1484
  display: flex;
@@ -1471,7 +1488,7 @@ ${({customInputColorStyle:e})=>e}
1471
1488
  border-bottom: ${({penIcon:e,isMyInputFocused:t,activeColor:o,defaultColor:r,theme:l})=>e?t?`1px solid ${o||l.primary["primary-1"]}`:`1px solid ${r||l.neutral["neutral-3"]}`:""};
1472
1489
  background-color: rgba(255, 255, 255, 0.05);
1473
1490
  cursor: pointer;
1474
- `,ao=m.input`
1491
+ `,co=m.input`
1475
1492
  ${({inBuiltCss:e,defaultInputStyle:t})=>P(e,t)}
1476
1493
 
1477
1494
  border-bottom: ${({value:e,defaultColor:t,theme:o})=>e.length>0?"none":t};
@@ -1496,17 +1513,17 @@ ${({customInputColorStyle:e})=>e}
1496
1513
 
1497
1514
  // custom styles
1498
1515
  ${({customInputStyle:e})=>e}
1499
- `,co=m.div`
1516
+ `,so=m.div`
1500
1517
  position: relative;
1501
1518
  width: inherit;
1502
1519
  display: flex;
1503
1520
  margin: 4px;
1504
- `,so=m.div`
1521
+ `,po=m.div`
1505
1522
  padding-left: 2px;
1506
1523
  display: flex;
1507
1524
  justify-content: center;
1508
1525
  cursor: pointer;
1509
- `,po=({onChange:e,activeColor:o,defaultColor:n,placeholderColor:a,placeholderText:c,customInputStyle:s,pointsArray:d,setPointsArray:p,value:m,setValue:g,valueForSignatureDrawing:b,setValueForSignatureDrawing:f,imageURL:h,setImageURL:y,id:x,...v})=>{const A=u()||R,[C,S]=l("default"),[E,k]=l(!1),[z,V]=l(!1),M=r(null);i((()=>{z&&(W(),f(M.current))}),[!0===z]);const B=()=>{g(""),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(lo,{inBuiltCss:L,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:E,selected:C,activeColor:o,defaultColor:n,theme:A},t.createElement(io,{inBuiltCss:L,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:o,defaultColor:n,selected:C,isMyInputFocused:E,signIcon:!0,theme:A},t.createElement(no,{activeColor:o,defaultColor:n,isMyInputFocused:E,theme:A,penIcon:!0,onClick:()=>{S("default"),B()}},t.createElement(N,{icon:"pen-icon",color:"default"===C?o||A.primary["primary-1"]:A.black})),t.createElement(no,{activeColor:o,defaultColor:n,theme:A,isMyInputFocused:E,penIcon:!1,onClick:()=>{S("sign"),B()}},t.createElement(N,{icon:"sign-icon",color:"default"!==C?o||A.primary["primary-1"]:A.black}))),t.createElement(io,{inBuiltCss:L,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:o,defaultColor:n,theme:A,selected:C,isMyInputFocused:E,signIcon:!1,onTouchStart:()=>{}},"default"===C?t.createElement(ao,{inBuiltCss:L,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=>g(e.target.value)}):t.createElement(co,{onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onClick:()=>{V(!0),W()}},t.createElement(w,{ref:M,id:x,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(m||z)&&t.createElement(so,{selected:C,onClick:()=>B()},t.createElement(N,{icon:"cross-icon",color:n||A.neutral["neutral-3"]}))))};po.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},po.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const mo=m.div`
1526
+ `,mo=({onChange:e,activeColor:o,defaultColor:n,placeholderColor:a,placeholderText:c,customInputStyle:s,pointsArray:d,setPointsArray:p,value:m,setValue:g,valueForSignatureDrawing:b,setValueForSignatureDrawing:f,imageURL:h,setImageURL:y,id:x,...v})=>{const A=u()||R,[C,w]=l("default"),[E,k]=l(!1),[z,V]=l(!1),M=r(null);i((()=>{z&&(B(),f(M.current))}),[!0===z]);const W=()=>{g(""),f(M.current),M.current&&M.current.clear(),k(!1),V(!1)},B=()=>(p(M.current.toData()),y(M.current.toDataURL("image/png")),[h,d]);return t.createElement(io,{inBuiltCss:L,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:E,selected:C,activeColor:o,defaultColor:n,theme:A},t.createElement(no,{inBuiltCss:L,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:o,defaultColor:n,selected:C,isMyInputFocused:E,signIcon:!0,theme:A},t.createElement(ao,{activeColor:o,defaultColor:n,isMyInputFocused:E,theme:A,penIcon:!0,onClick:()=>{w("default"),W()}},t.createElement(N,{icon:"pen-icon",color:"default"===C?o||A.primary["primary-1"]:A.black})),t.createElement(ao,{activeColor:o,defaultColor:n,theme:A,isMyInputFocused:E,penIcon:!1,onClick:()=>{w("sign"),W()}},t.createElement(N,{icon:"sign-icon",color:"default"!==C?o||A.primary["primary-1"]:A.black}))),t.createElement(no,{inBuiltCss:L,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:o,defaultColor:n,theme:A,selected:C,isMyInputFocused:E,signIcon:!1,onTouchStart:()=>{}},"default"===C?t.createElement(co,{inBuiltCss:L,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=>g(e.target.value)}):t.createElement(so,{onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onClick:()=>{V(!0),B()}},t.createElement(S,{ref:M,id:x,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(m||z)&&t.createElement(po,{selected:C,onClick:()=>W()},t.createElement(N,{icon:"cross-icon",color:n||A.neutral["neutral-3"]}))))};mo.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},mo.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const uo=m.div`
1510
1527
  background-color: ${({theme:e})=>e.bgColor};
1511
1528
  //Set the styles from the default styles object
1512
1529
  ${({inBuiltCss:e,defaultWrapperStyle:t})=>P(e,t)}
@@ -1528,19 +1545,19 @@ ${({customInputColorStyle:e})=>e}
1528
1545
 
1529
1546
  // custom styles
1530
1547
  ${({textAreaStyle:e})=>e}
1531
- `,uo=m.textarea`
1548
+ `,go=m.textarea`
1532
1549
  //Set the styles from the default styles object
1533
1550
  ${({inBuiltCss:e,defaultInputStyle:t})=>P(e,t)}
1534
1551
  margin: 0;
1535
1552
  overflow: auto;
1536
1553
  resize: vertical // custom styles
1537
1554
  ${({inputStyle:e})=>e};
1538
- `,go=g`
1555
+ `,bo=g`
1539
1556
  display: flex;
1540
1557
  gap: 7px;
1541
1558
  align-items: center;
1542
- `,bo=m.div`
1543
- ${({labelInline:e})=>e?go:null}
1559
+ `,fo=m.div`
1560
+ ${({labelInline:e})=>e?bo:null}
1544
1561
  ${({customStylesForm:e})=>{if(e)return{...e}}}
1545
1562
  position: relative;
1546
1563
  .err-text {
@@ -1548,7 +1565,7 @@ ${({customInputColorStyle:e})=>e}
1548
1565
  margin-top: 5px;
1549
1566
  font-size: 10px;
1550
1567
  }
1551
- `,fo=t.forwardRef((({customStylesForm:e,textAreaStyle:o,labelStyle:r,inputStyle:l,errMsg:i,required:n,label:a,labelInline:c,iconBefore:s,iconAfter:d,isValid:p,rows:m,cols:g,id:b,...f},h)=>{const y=u()||R;return t.createElement(bo,z({labelInline:c,customStylesForm:e,theme:y},f),t.createElement("div",{style:{display:"flex"}},t.createElement(Ke,z({customStyles:r,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(mo,z({theme:y,required:n,textAreaStyle:o,isValid:p,inBuiltCss:L,defaultWrapperStyle:"textbox-wrapper"},f),t.createElement("div",{className:"input-icon"},s),t.createElement(uo,z({ref:h,inputStyle:l,defaultInputStyle:"textarea-wrapper",cols:g,rows:m,inBuiltCss:L,id:b},f,{size:"1"})),t.createElement("div",{className:"input-icon"},d)),t.createElement("div",{className:"err-text"},i))}));fo.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},fo.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const ho=m.div`
1568
+ `,ho=t.forwardRef((({customStylesForm:e,textAreaStyle:o,labelStyle:r,inputStyle:l,errMsg:i,required:n,label:a,labelInline:c,iconBefore:s,iconAfter:d,isValid:p,rows:m,cols:g,id:b,...f},h)=>{const y=u()||R;return t.createElement(fo,z({labelInline:c,customStylesForm:e,theme:y},f),t.createElement("div",{style:{display:"flex"}},t.createElement(Ye,z({customStyles:r,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(uo,z({theme:y,required:n,textAreaStyle:o,isValid:p,inBuiltCss:L,defaultWrapperStyle:"textbox-wrapper"},f),t.createElement("div",{className:"input-icon"},s),t.createElement(go,z({ref:h,inputStyle:l,defaultInputStyle:"textarea-wrapper",cols:g,rows:m,inBuiltCss:L,id:b},f,{size:"1"})),t.createElement("div",{className:"input-icon"},d)),t.createElement("div",{className:"err-text"},i))}));ho.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},ho.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const yo=m.div`
1552
1569
  color: #a9b1b8;
1553
1570
  font-size: 21px;
1554
1571
  border: 1px solid
@@ -1562,7 +1579,7 @@ ${({customInputColorStyle:e})=>e}
1562
1579
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
1563
1580
  outline: none;
1564
1581
  }
1565
- `,yo=m.input`
1582
+ `,xo=m.input`
1566
1583
  border: 0;
1567
1584
  outline: 0;
1568
1585
  color: ${({theme:e})=>e.variant["primary-2"]};
@@ -1572,23 +1589,23 @@ ${({customInputColorStyle:e})=>e}
1572
1589
  width: 24px;
1573
1590
  text-align:center;
1574
1591
  background-color: ${({theme:e})=>e.bgColor};
1575
- `,xo=g`
1592
+ `,vo=g`
1576
1593
  &:after {
1577
1594
  content: ' *';
1578
1595
  color: ${({theme:e})=>e.variant.error};
1579
1596
  }
1580
- `,vo=m.label`
1597
+ `,Ao=m.label`
1581
1598
  display: block;
1582
1599
  margin-bottom: ${({labelInline:e,errMsg:t})=>e&&t?"18px":"7px"};
1583
1600
  margin-right: ${({labelInline:e})=>e?"7px":""};
1584
1601
  color: ${({theme:e})=>e.variant["neutral-2"]};
1585
- ${({required:e})=>e?xo:null}
1602
+ ${({required:e})=>e?vo:null}
1586
1603
  padding-bottom: 0px;
1587
- `,Ao=g`
1604
+ `,Co=g`
1588
1605
  display: flex;
1589
1606
  align-items: center;
1590
- `,Co=m.div`
1591
- ${({labelInline:e})=>e?Ao:null}
1607
+ `,So=m.div`
1608
+ ${({labelInline:e})=>e?Co:null}
1592
1609
  .err-text {
1593
1610
  color: ${({theme:e})=>e.variant.error};
1594
1611
  margin-top: 5px;
@@ -1607,9 +1624,9 @@ ${({customInputColorStyle:e})=>e}
1607
1624
  padding: 5px 6px;
1608
1625
  font-size: 18px;
1609
1626
  cursor: pointer;
1610
- `,So=({label:e,errMsg:o,hour:r,minute:l,period:i,onChange:n,id:a,...c})=>{const s=u()||R;return t.createElement(Co,z({theme:s},c),t.createElement(vo,z({theme:s},c,{errMsg:o}),e),t.createElement("div",null,t.createElement(ho,z({theme:s,id:a},c),t.createElement(yo,{theme:s,value:r,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;n({hour:t,minute:l,period:i})}}),":",t.createElement(yo,{theme:s,value:l,onChange:function(e){console.log("minute change",e.currentTarget.value);const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;n({hour:r,minute:t,period:i})}}),t.createElement(wo,{theme:s,onClick:function(e){n({hour:r,minute:l,period:"AM"===i?"PM":"AM"})}},i)),t.createElement("div",{className:"err-text"},o)))};So.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},So.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Eo=m.div`
1627
+ `,Eo=({label:e,errMsg:o,hour:r,minute:l,period:i,onChange:n,id:a,...c})=>{const s=u()||R;return t.createElement(So,z({theme:s},c),t.createElement(Ao,z({theme:s},c,{errMsg:o}),e),t.createElement("div",null,t.createElement(yo,z({theme:s,id:a},c),t.createElement(xo,{theme:s,value:r,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;n({hour:t,minute:l,period:i})}}),":",t.createElement(xo,{theme:s,value:l,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;n({hour:r,minute:t,period:i})}}),t.createElement(wo,{theme:s,onClick:function(e){n({hour:r,minute:l,period:"AM"===i?"PM":"AM"})}},i)),t.createElement("div",{className:"err-text"},o)))};Eo.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},Eo.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const ko=m.div`
1611
1628
  ${({inBuiltCss:e,defaultCheckBoxWrapperStyle:t})=>P(e,t)}
1612
- `,ko=m.label`
1629
+ `,zo=m.label`
1613
1630
 
1614
1631
  left: ${({labelPosition:e})=>"right"===e?"initial":"50px"};
1615
1632
  margin-right: ${({labelPosition:e})=>"left"===e?"30px":"0px"};
@@ -1635,7 +1652,7 @@ ${({customInputColorStyle:e})=>e}
1635
1652
  // custom styles
1636
1653
  ${({customSwitchStyle:e})=>e}
1637
1654
  }
1638
- `,zo=m.input.attrs({type:"checkbox"})`
1655
+ `,Vo=m.input.attrs({type:"checkbox"})`
1639
1656
  opacity: 0;
1640
1657
  z-index: 1;
1641
1658
  border-radius: 31px;
@@ -1646,7 +1663,7 @@ ${({customInputColorStyle:e})=>e}
1646
1663
  left: ${({labelPosition:e})=>"right"===e?"initial":"50px"};
1647
1664
 
1648
1665
 
1649
- `,Vo=m.span`
1666
+ `,Mo=m.span`
1650
1667
 
1651
1668
  margin-right: ${({labelPosition:e})=>"30px"};
1652
1669
 
@@ -1655,34 +1672,34 @@ ${({customInputColorStyle:e})=>e}
1655
1672
 
1656
1673
  // custom styles
1657
1674
  ${({optionStyle:e})=>e}
1658
- `,Mo=({checked:e,customSwitchStyle:o,customToggleBoxStyle:r,backgroundColor:l,disabledColor:i,switchColor:n,onClick:a,trueLabel:c,falseLabel:s,optionStyle:d,labelPosition:p,id:m,isDisabled:g,...b})=>{const f=u()||R;return t.createElement(Eo,z({inBuiltCss:L,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},b),"left"===p&&t.createElement(Vo,z({optionStyle:d,inBuiltCss:L,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},b),e?c:s),t.createElement(zo,z({},b,{labelPosition:p,id:m,inBuiltCss:L,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{a(!e)},isChecked:e,disabled:g,isDisabled:g})),t.createElement(ko,z({},b,{labelPosition:p,htmlFor:m,customToggleBoxStyle:r,customSwitchStyle:o,disabledColor:i,backgroundColor:l,switchColor:n,inBuiltCss:L,defaultCheckBoxLabelStyle:"toggle-switch-checkbox-label",checked:e,theme:f,isDisabled:g})),"right"===p&&t.createElement(Vo,z({optionStyle:d,inBuiltCss:L,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},b),e?c:s))};Mo.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},Mo.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Bo=m.div`
1675
+ `,Wo=({checked:e,customSwitchStyle:o,customToggleBoxStyle:r,backgroundColor:l,disabledColor:i,switchColor:n,onClick:a,trueLabel:c,falseLabel:s,optionStyle:d,labelPosition:p,id:m,isDisabled:g,...b})=>{const f=u()||R;return t.createElement(ko,z({inBuiltCss:L,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},b),"left"===p&&t.createElement(Mo,z({optionStyle:d,inBuiltCss:L,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},b),e?c:s),t.createElement(Vo,z({},b,{labelPosition:p,id:m,inBuiltCss:L,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{a(!e)},isChecked:e,disabled:g,isDisabled:g})),t.createElement(zo,z({},b,{labelPosition:p,htmlFor:m,customToggleBoxStyle:r,customSwitchStyle:o,disabledColor:i,backgroundColor:l,switchColor:n,inBuiltCss:L,defaultCheckBoxLabelStyle:"toggle-switch-checkbox-label",checked:e,theme:f,isDisabled:g})),"right"===p&&t.createElement(Mo,z({optionStyle:d,inBuiltCss:L,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},b),e?c:s))};Wo.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},Wo.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Bo=m.div`
1659
1676
  background-color: ${({theme:e})=>e.bgColor};
1660
1677
  padding: 24px 8px;
1661
1678
  ${({commentBodyStyle:e})=>e};
1662
- `,Wo=m.div`
1679
+ `,Io=m.div`
1663
1680
  display: flex;
1664
1681
  flex-direction: column;
1665
1682
  margin-bottom: 24px;
1666
1683
  ${({commentWrapperStyle:e})=>e};
1667
- `,Io=m.div`
1684
+ `,Ro=m.div`
1668
1685
  display: flex;
1669
1686
  flex-direction: row;
1670
1687
  width: 100%;
1671
1688
  justify-content: flex-start;
1672
1689
  align-items: center;
1673
1690
  ${({commentHeadStyle:e})=>e};
1674
- `,Ro=m.span`
1691
+ `,Lo=m.span`
1675
1692
  margin-left: 24px;
1676
1693
  font-size: 14px;
1677
1694
  color: ${({theme:e})=>e.variant["neutral-2"]};
1678
1695
  font-weight: 400;
1679
1696
  ${({dateTimeStyle:e})=>e};
1680
- `,Lo=m.span`
1697
+ `,Po=m.span`
1681
1698
  margin: 0.75rem 0 0 3rem;
1682
1699
  font-size: 16px;
1683
1700
  color: ${R.variant["graph-6"]};
1684
1701
  ${({commentDivStyle:e})=>e};
1685
- `,Po=m.div`
1702
+ `,To=m.div`
1686
1703
  display: flex;
1687
1704
  justify-content: flex-start;
1688
1705
  align-items: start;
@@ -1694,10 +1711,10 @@ ${({customInputColorStyle:e})=>e}
1694
1711
  `,Ho=m.div`
1695
1712
  display: inline-flex;
1696
1713
  margin-top: 16px;
1697
- `,To=m.div`
1714
+ `,jo=m.div`
1698
1715
  width: 100%;
1699
1716
  margin-left: 16px;
1700
- `,qo=({inputValue:e,setInputValue:o,commentArray:r,commentBodyStyle:i,commentWrapperStyle:n,commentHeadStyle:a,dateTimeStyle:c,commentDivStyle:s,inputWrapperStyle:d,onSave:p,myInfo:m,placeholder:g,...b})=>{const f=u()||R,[h,y]=l(!1);return t.createElement(Bo,{commentBodyStyle:i,theme:f},r.map(((e,o)=>{const{name:r,date:l,comment:i,image:d}=e;return t.createElement(Wo,{key:o,commentWrapperStyle:n},t.createElement(Io,{commentHeadStyle:a},t.createElement(se,z({user:{fullName:r,userName:r,url:d},toggleName:!0,size:"LG"},b)),t.createElement(Ro,{dateTimeStyle:c,theme:f},l)),t.createElement(Lo,{commentDivStyle:s},i))})),t.createElement(Po,{theme:f,inputWrapperStyle:d},t.createElement(se,{user:{fullName:m?.fullName,userName:m?.userName,url:m?.url},toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}}),t.createElement(To,null,t.createElement(oo,{value:e,onChange:e=>o(e.target.value),placeholder:g,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>y(!0)}),h&&t.createElement(Ho,null,t.createElement(Be,z({size:"sm",onClick:p},b),"Save"),t.createElement(ke,{size:"sm",btnStyle:{color:f.variant["neutral-1"]},onClick:e=>y(!1)},"Cancel")))))};qo.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},qo.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:""};const jo=m.div`
1717
+ `,qo=({inputValue:e,setInputValue:o,commentArray:r,commentBodyStyle:i,commentWrapperStyle:n,commentHeadStyle:a,dateTimeStyle:c,commentDivStyle:s,inputWrapperStyle:d,onSave:p,myInfo:m,placeholder:g,...b})=>{const f=u()||R,[h,y]=l(!1);return t.createElement(Bo,{commentBodyStyle:i,theme:f},r.map(((e,o)=>{const{name:r,date:l,comment:i,image:d}=e;return t.createElement(Io,{key:o,commentWrapperStyle:n},t.createElement(Ro,{commentHeadStyle:a},t.createElement(se,z({user:{fullName:r,userName:r,url:d},toggleName:!0,size:"LG"},b)),t.createElement(Lo,{dateTimeStyle:c,theme:f},l)),t.createElement(Po,{commentDivStyle:s},i))})),t.createElement(To,{theme:f,inputWrapperStyle:d},t.createElement(se,{user:{fullName:m?.fullName,userName:m?.userName,url:m?.url},toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}}),t.createElement(jo,null,t.createElement(ro,{value:e,onChange:e=>o(e.target.value),placeholder:g,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>y(!0)}),h&&t.createElement(Ho,null,t.createElement(Be,z({size:"sm",onClick:p},b),"Save"),t.createElement(ze,{size:"sm",btnStyle:{color:f.variant["neutral-1"]},onClick:e=>y(!1)},"Cancel")))))};qo.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},qo.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:""};const Fo=m.div`
1701
1718
  //Set the styles from the default styles object
1702
1719
  ${({theme:e,type:t})=>P(e,t)}
1703
1720
  @media (max-width: 980px) {
@@ -1705,7 +1722,7 @@ ${({customInputColorStyle:e})=>e}
1705
1722
  }
1706
1723
  // custom styles
1707
1724
  ${({customStyles:e})=>e}
1708
- `,Fo=({theme:e,type:o,customStyles:r,...l})=>t.createElement(jo,z({theme:e,customStyles:r,type:o},l),l.children);Fo.propTypes={theme:e.object,customStyles:e.object,type:e.string},Fo.defaultProps={theme:L,customStyles:null,type:"content"};const Oo=m.div`
1725
+ `,Oo=({theme:e,type:o,customStyles:r,...l})=>t.createElement(Fo,z({theme:e,customStyles:r,type:o},l),l.children);Oo.propTypes={theme:e.object,customStyles:e.object,type:e.string},Oo.defaultProps={theme:L,customStyles:null,type:"content"};const Zo=m.div`
1709
1726
  width: 100%;
1710
1727
  display: flex;
1711
1728
  flex-direction: column;
@@ -1717,7 +1734,7 @@ ${({customInputColorStyle:e})=>e}
1717
1734
  button:focus {
1718
1735
  outline: none;
1719
1736
  }
1720
- `,Zo=m.div`
1737
+ `,Xo=m.div`
1721
1738
  position: relative;
1722
1739
  display: flex;
1723
1740
  width: 100%;
@@ -1801,7 +1818,7 @@ ${({customInputColorStyle:e})=>e}
1801
1818
  margin-top: 0;
1802
1819
  }
1803
1820
  }
1804
- `,Xo=m.span`
1821
+ `,Go=m.span`
1805
1822
  color: #2e56f4;
1806
1823
  font-style: normal;
1807
1824
  font-weight: normal;
@@ -1811,14 +1828,14 @@ ${({customInputColorStyle:e})=>e}
1811
1828
  margin-top: 37px;
1812
1829
  margin-right: 65px;
1813
1830
  white-space: nowrap;
1814
- `,Go=m.div`
1831
+ `,Jo=m.div`
1815
1832
  display: flex;
1816
1833
  flex-direction: column;
1817
1834
  ${""}
1818
1835
  max-width: 1340px;
1819
1836
  width: 100%;
1820
1837
  align-items: center;
1821
- `,Jo=m.div`
1838
+ `,Uo=m.div`
1822
1839
  position: absolute;
1823
1840
  font-size: 12px;
1824
1841
  border-radius: 50%;
@@ -1835,23 +1852,23 @@ ${({customInputColorStyle:e})=>e}
1835
1852
  transform: translate(30%, -30%);
1836
1853
  color: white;
1837
1854
  font-weight: 600;
1838
- `,Uo=m.div`
1839
- width: 90%;
1840
1855
  `,Do=m.div`
1856
+ width: 90%;
1857
+ `,Qo=m.div`
1841
1858
  background: linear-gradient(
1842
1859
  0deg,
1843
1860
  hsla(0, 0%, 100%, 1) 20%,
1844
1861
  hsla(0, 0%, 100%, 0.5) 100%
1845
1862
  );
1846
1863
  width: 90%;
1847
- `,Qo=m.div`
1848
- width: 90%;
1849
1864
  `,No=m.div`
1865
+ width: 90%;
1866
+ `,Ko=m.div`
1850
1867
  display: flex;
1851
1868
  margin-left: auto !important;
1852
1869
  margin-right: auto !important;
1853
1870
  cursor: pointer;
1854
- `,Ko=m.div`
1871
+ `,Yo=m.div`
1855
1872
  display: flex;
1856
1873
  flex-direction: column;
1857
1874
  width: 180px;
@@ -1860,10 +1877,10 @@ ${({customInputColorStyle:e})=>e}
1860
1877
  border-radius: 6px;
1861
1878
  margin-right: 0.5rem;
1862
1879
  z-index: 999;
1863
- `,Yo=m.div`
1880
+ `,$o=m.div`
1864
1881
  margin: 10.5px 13px;
1865
1882
  padding: 0;
1866
- `,$o=m.div`
1883
+ `,_o=m.div`
1867
1884
  color: #081348;
1868
1885
  padding: 7.7px 6.5px 7.7px 24px;
1869
1886
  margin: 2.5px 13px;
@@ -1881,7 +1898,7 @@ ${({customInputColorStyle:e})=>e}
1881
1898
  background: #eaeefe;
1882
1899
  border-radius: 5px;
1883
1900
  }
1884
- `,_o=m.div`
1901
+ `,er=m.div`
1885
1902
  position: relative;
1886
1903
  display: flex;
1887
1904
  width: 100%;
@@ -1965,63 +1982,63 @@ ${({customInputColorStyle:e})=>e}
1965
1982
  margin-top: 0;
1966
1983
  }
1967
1984
  }
1968
- `,er=m.div`
1985
+ `,tr=m.div`
1969
1986
  display: flex;
1970
1987
  justify-content: end;
1971
- `,tr=m.div`
1988
+ `,or=m.div`
1972
1989
  display: flex;
1973
1990
  justify-content: center;
1974
1991
  flex-direction: row;
1975
1992
  align-items: flex-start;
1976
1993
  gap: 20px;
1977
- `,or=m.div`
1994
+ `,rr=m.div`
1978
1995
  width: 48;
1979
1996
  max-width: 48%;
1980
1997
  min-width: 48%;
1981
1998
 
1982
- `,rr=m.form`
1999
+ `,lr=m.form`
1983
2000
  width: 40vw;
1984
2001
  display: flex;
1985
2002
  justify-content: center;
1986
2003
  flex-direction: column;
1987
2004
  gap: 20px;
1988
2005
  ${({customStyles:e})=>e}
1989
- `,lr=({customStyles:e,children:o})=>t.createElement(rr,{customStyles:e},o),ir=m.div`
2006
+ `,ir=({customStyles:e,children:o})=>t.createElement(lr,{customStyles:e},o),nr=m.div`
1990
2007
  display: ${({vertical:e})=>e?"inline-block":"block"};
1991
2008
  background: ${({theme:e,borderColor:t})=>t||e.neutral["neutral-5"]};
1992
2009
  content: '';
1993
2010
  height: ${({vertical:e,thickness:t,height:o})=>e?o:t};
1994
2011
  width: ${({vertical:e,thickness:t})=>e?t:null};
1995
- `,nr=({vertical:e,borderColor:o,thickness:r,height:l,...i})=>{const n=u()||R;return t.createElement(ir,z({theme:n,borderColor:o,thickness:r,vertical:e,height:l},i))};nr.propTypes={thickness:e.string,borderColor:e.string,vertical:e.bool,height:e.string},nr.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const ar=m.div`
2012
+ `,ar=({vertical:e,borderColor:o,thickness:r,height:l,...i})=>{const n=u()||R;return t.createElement(nr,z({theme:n,borderColor:o,thickness:r,vertical:e,height:l},i))};ar.propTypes={thickness:e.string,borderColor:e.string,vertical:e.bool,height:e.string},ar.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const cr=m.div`
1996
2013
  //Set the styles from the default styles object
1997
2014
  ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){for(const t in e.common)l[t]=e.common[t];for(const o in e[t])delete e.common[o],l[o]=e[t][o];l=o?{...l,...e["drawer-open"]}:{...l,...e["drawer-close"]}}return{...l,...r}}}}
1998
- `,cr=({customStyles:e,drawerOpen:o,children:r,...l})=>t.createElement(ar,z({inBuiltCss:L,customStyles:e,type:"drawer",drawerOpen:o},l),r);cr.propTypes={customStyles:e.object,drawerOpen:e.bool};class sr 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(Be,{onClick:()=>this.refreshPage()},"Click to refresh")):this.props.children}}sr.propTypes={children:e.any};const dr=g`
2015
+ `,sr=({customStyles:e,drawerOpen:o,children:r,...l})=>t.createElement(cr,z({inBuiltCss:L,customStyles:e,type:"drawer",drawerOpen:o},l),r);sr.propTypes={customStyles:e.object,drawerOpen:e.bool};class dr 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(Be,{onClick:()=>this.refreshPage()},"Click to refresh")):this.props.children}}dr.propTypes={children:e.any};const pr=g`
1999
2016
  color: ${({theme:e})=>e.variant["primary-1"]};
2000
2017
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
2001
- background: ${({theme:e})=>H(e.primary["primary-1"],.04)};
2002
- `,pr=m.button`
2018
+ background: ${({theme:e})=>T(e.primary["primary-1"],.04)};
2019
+ `,mr=m.button`
2003
2020
  font-size: 14px;
2004
2021
  color: ${({theme:e})=>e.variant["primary-2"]};
2005
- background: ${({theme:e})=>H(e.variant["neutral-5"],.7)};
2006
- border: 1px solid ${({theme:e})=>H(e.variant["neutral-5"],.7)};
2022
+ background: ${({theme:e})=>T(e.variant["neutral-5"],.7)};
2023
+ border: 1px solid ${({theme:e})=>T(e.variant["neutral-5"],.7)};
2007
2024
  padding: 4px 24px;
2008
2025
  border-radius: 999px;
2009
2026
  outline: none;
2010
2027
  cursor: ${({disabled:e})=>e?"default":"pointer"};
2011
2028
 
2012
- ${({selected:e})=>e?dr:null}
2029
+ ${({selected:e})=>e?pr:null}
2013
2030
  ${({customStyles:e})=>e}
2014
2031
 
2015
2032
 
2016
2033
  &:not(:first-child) {
2017
2034
  margin-left: 8px;
2018
2035
  }
2019
- `,mr=({options:e,selected:o,onClick:r,customStyles:l,disabled:i,...n})=>{const a=u()||R,c=e.map(((e,n)=>t.createElement(pr,{theme:a,key:`${e.label}_${n}_${e.value}`,selected:o===e.value,onClick:()=>{r(e.value)},customStyles:l,disabled:i},e.label)));return t.createElement(t.Fragment,null,c)};mr.propTypes={options:e.array,selected:e.string,onClick:e.func,customStyles:e.object,disabled:e.bool},mr.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const ur=m.footer`
2036
+ `,ur=({options:e,selected:o,onClick:r,customStyles:l,disabled:i,...n})=>{const a=u()||R,c=e.map(((e,n)=>t.createElement(mr,{theme:a,key:`${e.label}_${n}_${e.value}`,selected:o===e.value,onClick:()=>{r(e.value)},customStyles:l,disabled:i},e.label)));return t.createElement(t.Fragment,null,c)};ur.propTypes={options:e.array,selected:e.string,onClick:e.func,customStyles:e.object,disabled:e.bool},ur.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const gr=m.footer`
2020
2037
  //Set the styles from the default styles object
2021
2038
  ${({theme:e,type:t})=>P(e,t)}
2022
2039
  // custom styles
2023
2040
  ${({customStyles:e})=>e}
2024
- `,gr=o((({theme:e,customStyles:o,...r},l)=>t.createElement(ur,z({ref:l,theme:e,type:"footer",customStyles:o},r),r.children)));gr.propTypes={theme:e.object,customStyles:e.object,type:e.string},ur.defaultProps={theme:e.object},gr.defaultProps={theme:L,customStyles:null};const br=m.div`
2041
+ `,br=o((({theme:e,customStyles:o,...r},l)=>t.createElement(gr,z({ref:l,theme:e,type:"footer",customStyles:o},r),r.children)));br.propTypes={theme:e.object,customStyles:e.object,type:e.string},gr.defaultProps={theme:e.object},br.defaultProps={theme:L,customStyles:null};const fr=m.div`
2025
2042
  font-size: 14px;
2026
2043
  background-color: transparent;
2027
2044
  display: flex;
@@ -2037,7 +2054,7 @@ ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2037
2054
  ${({footerWidth:e})=>{if(e<650)return g`
2038
2055
  flex-direction: column;
2039
2056
  `}}
2040
- `,fr=m.div`
2057
+ `,hr=m.div`
2041
2058
  display: flex;
2042
2059
  ${({footerWidth:e})=>{if(e<650)return g`
2043
2060
  margin-bottom: 5px;
@@ -2047,18 +2064,18 @@ ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2047
2064
  align-items: center;
2048
2065
  margin-bottom: 0;
2049
2066
  `}}
2050
- `,hr=m.div`
2067
+ `,yr=m.div`
2051
2068
  margin-top: inherit;
2052
2069
  margin-bottom: inherit;
2053
2070
  ${({footerWidth:e})=>{if(e<350)return g`
2054
2071
  margin-bottom: 5px;
2055
2072
  `}}
2056
- `,yr=m.div`
2073
+ `,xr=m.div`
2057
2074
  margin: 0 10px;
2058
2075
  ${({footerWidth:e})=>{if(e<350)return g`
2059
2076
  display: none;
2060
2077
  `}}
2061
- `,xr=({variant:e,textColor:o,size:r,width:l,footerWidth:i,...n})=>{const a=(new Date).getFullYear();return t.createElement(br,z({variant:e,textColor:o,footerWidth:i},n),t.createElement(fr,{footerWidth:i},t.createElement(hr,{footerWidth:i},"Premise HQ"),t.createElement(yr,{footerWidth:i},"|"),t.createElement(hr,{footerWidth:i},"All Rights Restricted ",a," ©")),t.createElement(fr,{footerWidth:i},t.createElement(hr,{footerWidth:i},"Terms of use"),t.createElement(yr,{footerWidth:i},"|"),t.createElement(hr,{footerWidth:i},"Privacy Policy")))},vr=m.header`
2078
+ `,vr=({variant:e,textColor:o,size:r,width:l,footerWidth:i,...n})=>{const a=(new Date).getFullYear();return t.createElement(fr,z({variant:e,textColor:o,footerWidth:i},n),t.createElement(hr,{footerWidth:i},t.createElement(yr,{footerWidth:i},"Premise HQ"),t.createElement(xr,{footerWidth:i},"|"),t.createElement(yr,{footerWidth:i},"All Rights Restricted ",a," ©")),t.createElement(hr,{footerWidth:i},t.createElement(yr,{footerWidth:i},"Terms of use"),t.createElement(xr,{footerWidth:i},"|"),t.createElement(yr,{footerWidth:i},"Privacy Policy")))},Ar=m.header`
2062
2079
 
2063
2080
  background-color: ${({theme:e})=>e.bgColor};
2064
2081
  border-bottom: 0.5px solid ${({theme:e})=>e.variant["neutral-3"]};
@@ -2066,7 +2083,7 @@ ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2066
2083
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2067
2084
  // custom styles
2068
2085
  ${({customStyles:e})=>e}
2069
- `,Ar=({type:e,customStyles:o,...r})=>{const l=u()||R;return t.createElement(vr,z({theme:l,type:"header",customStyles:o,inBuiltCss:L},r),r.children)};Ar.propTypes={customStyles:e.object,type:e.string},Ar.defaultProps={type:"header",customStyles:null};const Cr=m.div`
2086
+ `,Cr=({type:e,customStyles:o,...r})=>{const l=u()||R;return t.createElement(Ar,z({theme:l,type:"header",customStyles:o,inBuiltCss:L},r),r.children)};Cr.propTypes={customStyles:e.object,type:e.string},Cr.defaultProps={type:"header",customStyles:null};const Sr=m.div`
2070
2087
  box-sizing: border-box;
2071
2088
  display: flex;
2072
2089
  justify-content: center;
@@ -2075,7 +2092,7 @@ ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2075
2092
 
2076
2093
  ${({size:e})=>g`height: ${e}px;`}
2077
2094
  `,wr=m.div`
2078
- `,Sr=m.div`
2095
+ `,Er=m.div`
2079
2096
  box-sizing: border-box;
2080
2097
  display: flex;
2081
2098
  justify-content: center;
@@ -2104,11 +2121,11 @@ svg {
2104
2121
  `}
2105
2122
  }
2106
2123
  }
2107
- `,Er=({theme:e,toggleSet:o,slide:r,color:l,size:i,transform:n,ratingValue:a,starVal:c,hover:s,...d})=>t.createElement(Sr,z({theme:e,ratingValue:a,starVal:c,hover:s,toggleSet:o,color:l,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:r,y:"0",fill:l,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function kr(e,t){let o=5*e/t;const r=[],l=o;for(let e=0;e<5;e++){if(o-1>=0)r.push("0");else if(o-1<0&&o-1>-1){const e=(24*o-24).toString();r.push(e)}else r.push("-24");o-=1}return{array:r,value:l}}function zr(e,t){return 100*e/t}const Vr=({type:e,customStylesContainer:o,customStylesStar:r,customStylesPercentage:n,color:a,size:c,handleClick:s,transform:d,maxRange:p,value:m,toggleStar:g,toggleSet:b,identifier:f,...h})=>{u();const[y,x]=l(void 0),[v,A]=l(void 0),[C,w]=l(void 0),[S,E]=l(void 0);i((()=>{x(kr(m,p).array),A(kr(m,p).value),w(zr(m,p))}),[m,p]),i((()=>{S?x(kr(S,p).array):(x(kr(m,p).array),A(kr(m,p).value),w(zr(m,p)))}),[S]);const k=t.createElement(t.Fragment,null,y?.map(((e,o)=>{const l=20*(o+1);return t.createElement(Er,{ratingValue:l,starVal:v,hover:S,toggleSet:b,onClick:b?()=>s(l):null,onMouseEnter:b?()=>{E(l)}:null,onMouseLeave:b?()=>{E(null)}:null,slide:e,color:a,className:"star",size:c,transform:d,key:f?.concat(o),customStyles:r})})));return t.createElement(Cr,z({customStyles:o,type:e,size:c},h,{className:"container"}),g?k:t.createElement(wr,{type:e,customStyles:n},C,"%"))};Vr.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},Vr.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Mr=m.div`
2124
+ `,kr=({theme:e,toggleSet:o,slide:r,color:l,size:i,transform:n,ratingValue:a,starVal:c,hover:s,...d})=>t.createElement(Er,z({theme:e,ratingValue:a,starVal:c,hover:s,toggleSet:o,color:l,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:r,y:"0",fill:l,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function zr(e,t){let o=5*e/t;const r=[],l=o;for(let e=0;e<5;e++){if(o-1>=0)r.push("0");else if(o-1<0&&o-1>-1){const e=(24*o-24).toString();r.push(e)}else r.push("-24");o-=1}return{array:r,value:l}}function Vr(e,t){return 100*e/t}const Mr=({type:e,customStylesContainer:o,customStylesStar:r,customStylesPercentage:n,color:a,size:c,handleClick:s,transform:d,maxRange:p,value:m,toggleStar:g,toggleSet:b,identifier:f,...h})=>{u();const[y,x]=l(void 0),[v,A]=l(void 0),[C,S]=l(void 0),[w,E]=l(void 0);i((()=>{x(zr(m,p).array),A(zr(m,p).value),S(Vr(m,p))}),[m,p]),i((()=>{w?x(zr(w,p).array):(x(zr(m,p).array),A(zr(m,p).value),S(Vr(m,p)))}),[w]);const k=t.createElement(t.Fragment,null,y?.map(((e,o)=>{const l=20*(o+1);return t.createElement(kr,{ratingValue:l,starVal:v,hover:w,toggleSet:b,onClick:b?()=>s(l):null,onMouseEnter:b?()=>{E(l)}:null,onMouseLeave:b?()=>{E(null)}:null,slide:e,color:a,className:"star",size:c,transform:d,key:f?.concat(o),customStyles:r})})));return t.createElement(Sr,z({customStyles:o,type:e,size:c},h,{className:"container"}),g?k:t.createElement(wr,{type:e,customStyles:n},C,"%"))};Mr.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},Mr.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Wr=m.div`
2108
2125
  .form-check-input {
2109
2126
  accent-color: ${({theme:e})=>e.primary["primary-1"]};
2110
2127
  }
2111
- `,Br=({customStyles:e,inBuiltCss:o,type:r="table",sortIcon:l,data:i,tableColumns:n,progressPending:a,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:p,responsive:m,conditionalRowStyles:g,fixedHeader:b,fixedHeaderScrollHeight:f,checkboxColor:h,...y})=>{let x={};if(o&&o[r]&&(x=o[r]),e)for(const t in e)x[t]=e[t];const v=u()||R,A=t.forwardRef((({onClick:e,...o},r)=>t.createElement(Mr,{theme:v},t.createElement("input",z({type:"checkbox",className:"form-check-input",ref:r,onClick:e},o)))));return t.createElement(S,z({responsive:m,data:i,columns:n,noHeader:!0,highlightOnHover:!0,sortIcon:l,progressPending:a,customStyles:x,defaultSortFieldId:c,progressComponent:p||void 0,sortServer:d,onSort:(e,t,o)=>{s(e,t,o)},conditionalRowStyles:g,fixedHeader:b,fixedHeaderScrollHeight:f,selectableRowsComponent:A},y))};Br.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},Br.defaultProps={inBuiltCss:L,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,o)=>{console.log(e,t,o)},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100vh"};const Wr=({title:e,subtitle:o,wrapperStyle:r,imgLink:l,imgStyle:i,iconSize:n})=>{const a=u()||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:r},t.createElement("div",{style:c},l?t.createElement("img",{src:l,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,o)))};Wr.propTypes={size:e.number},Wr.defaultProps={iconSize:23};const Ir=({formData:e,customStyles:o,...r})=>{const l=e=>{switch(e.type){case"header":return(e=>t.createElement(c,null,t.createElement(Ar,z({},e,r),e.children),e))(e);case"label":return(e=>t.createElement(Ke,z({style:{marginBottom:"7px",paddingBottom:"0"}},e,r)))(e);case"text":return(e=>t.createElement(oo,z({},e,r)))(e);case"textArea":return(e=>t.createElement(fo,z({},e,r)))(e);case"number":return(e=>t.createElement(Ft,z({},e,r)))(e);case"radio":return(e=>t.createElement(Yt,z({key:101*Math.random()|0},e,r)))(e);case"checkBox":return(e=>t.createElement(ot,z({},e,r)))(e);case"singleSelect":return(e=>t.createElement(xt,z({dropdownType:"singleSelect"},e,r)))(e);case"multiSelect":return(e=>t.createElement(xt,z({dropdownType:"multiSelect"},e,r)))(e);case"asyncSingleSelect":return(e=>t.createElement(xt,z({dropdownType:"asyncSingleSelect"},e,r)))(e);case"asyncMultiSelect":return(e=>t.createElement(xt,z({dropdownType:"asyncMultiSelect"},e,r)))(e);case"signature":return(e=>t.createElement(po,z({},e,r)))(e);case"fileUpload":return(e=>t.createElement(Mt,z({},e,r)))(e);case"date":return(e=>t.createElement(gt,z({},e,r)))(e);case"toggle":return(e=>t.createElement(Mo,z({},e,r)))(e);case"rating":return(e=>t.createElement(Vr,z({},e,r)))(e);case"buttonPrimary":return(e=>t.createElement(Be,z({},e,r)))(e);case"buttonSecondary":return(e=>t.createElement(Re,z({},e,r)))(e);case"buttonTiny":return(e=>t.createElement(Pe,z({},e,r)))(e);case"search":return(e=>t.createElement(ro,z({},e,r)))(e);case"table":return(e=>t.createElement(Br,z({},e,r)))(e);case"passwordInput":return(e=>t.createElement(Jt,z({},e,r)))(e);case"headerComponent":return(e=>t.createElement(Wr,z({},e,r)))(e)}};return t.createElement(c,null,t.createElement(_o,{defaultThemeColor:R},t.createElement(lr,{onSubmit:()=>{console.log("form submit")},customStyles:o},e.map(((e,o)=>e.length>1?t.createElement(tr,null,e.map(((o,r)=>t.createElement(or,{cols:e.length},l(o))))):l(e[0]))))))},Rr=({formData:e,onSubmit:o,onReset:r,style:l,...i})=>{const n=e=>{switch(e.type){case"submit":return(e=>t.createElement(Be,{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(Re,{block:e.block,disabled:i.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return t.createElement(c,null,t.createElement(er,{style:l},e&&e.map(((e,t)=>e.map(((e,t)=>n(e)))))))};const Lr=f`
2128
+ `,Br=({customStyles:e,inBuiltCss:o,type:r="table",sortIcon:l,data:i,tableColumns:n,progressPending:a,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:p,responsive:m,conditionalRowStyles:g,fixedHeader:b,fixedHeaderScrollHeight:f,checkboxColor:h,...y})=>{let x={};if(o&&o[r]&&(x=o[r]),e)for(const t in e)x[t]=e[t];const v=u()||R,A=t.forwardRef((({onClick:e,...o},r)=>t.createElement(Wr,{theme:v},t.createElement("input",z({type:"checkbox",className:"form-check-input",ref:r,onClick:e},o)))));return t.createElement(w,z({responsive:m,data:i,columns:n,noHeader:!0,highlightOnHover:!0,sortIcon:l,progressPending:a,customStyles:x,defaultSortFieldId:c,progressComponent:p||void 0,sortServer:d,onSort:(e,t,o)=>{s(e,t,o)},conditionalRowStyles:g,fixedHeader:b,fixedHeaderScrollHeight:f,selectableRowsComponent:A},y))};Br.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},Br.defaultProps={inBuiltCss:L,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,o)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100vh"};const Ir=({title:e,subtitle:o,wrapperStyle:r,imgLink:l,imgStyle:i,iconSize:n})=>{const a=u()||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:r},t.createElement("div",{style:c},l?t.createElement("img",{src:l,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,o)))};Ir.propTypes={size:e.number},Ir.defaultProps={iconSize:23};const Rr=({formData:e,customStyles:o,...r})=>{const l=e=>{switch(e.type){case"header":return(e=>t.createElement(c,null,t.createElement(Cr,z({},e,r),e.children),e))(e);case"label":return(e=>t.createElement(Ye,z({style:{marginBottom:"7px",paddingBottom:"0"}},e,r)))(e);case"text":return(e=>t.createElement(ro,z({},e,r)))(e);case"textArea":return(e=>t.createElement(ho,z({},e,r)))(e);case"number":return(e=>t.createElement(Ot,z({},e,r)))(e);case"radio":return(e=>t.createElement($t,z({key:101*Math.random()|0},e,r)))(e);case"checkBox":return(e=>t.createElement(rt,z({},e,r)))(e);case"singleSelect":return(e=>t.createElement(vt,z({dropdownType:"singleSelect"},e,r)))(e);case"multiSelect":return(e=>t.createElement(vt,z({dropdownType:"multiSelect"},e,r)))(e);case"asyncSingleSelect":return(e=>t.createElement(vt,z({dropdownType:"asyncSingleSelect"},e,r)))(e);case"asyncMultiSelect":return(e=>t.createElement(vt,z({dropdownType:"asyncMultiSelect"},e,r)))(e);case"signature":return(e=>t.createElement(mo,z({},e,r)))(e);case"fileUpload":return(e=>t.createElement(Wt,z({},e,r)))(e);case"date":return(e=>t.createElement(bt,z({},e,r)))(e);case"toggle":return(e=>t.createElement(Wo,z({},e,r)))(e);case"rating":return(e=>t.createElement(Mr,z({},e,r)))(e);case"buttonPrimary":return(e=>t.createElement(Be,z({},e,r)))(e);case"buttonSecondary":return(e=>t.createElement(Le,z({},e,r)))(e);case"buttonTiny":return(e=>t.createElement(Te,z({},e,r)))(e);case"search":return(e=>t.createElement(lo,z({},e,r)))(e);case"table":return(e=>t.createElement(Br,z({},e,r)))(e);case"passwordInput":return(e=>t.createElement(Ut,z({},e,r)))(e);case"headerComponent":return(e=>t.createElement(Ir,z({},e,r)))(e)}};return t.createElement(c,null,t.createElement(er,{defaultThemeColor:R},t.createElement(ir,{onSubmit:()=>{},customStyles:o},e.map(((e,o)=>e.length>1?t.createElement(or,null,e.map(((o,r)=>t.createElement(rr,{cols:e.length},l(o))))):l(e[0]))))))},Lr=({formData:e,onSubmit:o,onReset:r,style:l,...i})=>{const n=e=>{switch(e.type){case"submit":return(e=>t.createElement(Be,{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(Le,{block:e.block,disabled:i.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return t.createElement(c,null,t.createElement(tr,{style:l},e&&e.map(((e,t)=>e.map(((e,t)=>n(e)))))))};const Pr=f`
2112
2129
  @font-face {
2113
2130
  font-family: "Averta";
2114
2131
  font-weight: 100;
@@ -2216,7 +2233,7 @@ svg {
2216
2233
  * {
2217
2234
  font-family: "Averta";
2218
2235
  }
2219
- `,Pr=m.span`
2236
+ `,Tr=m.span`
2220
2237
  background: transparent;
2221
2238
  position: relative;
2222
2239
  display: flex;
@@ -2230,7 +2247,7 @@ svg {
2230
2247
  margin: 0;
2231
2248
  margin-left: 7px;
2232
2249
  font-size: 16px;
2233
- `,Tr=({items:e,block:o,size:r,variantCircle:l,variantName:i,variantQty:n,flagName:a,user:c,colorCircle:s,colorBorderCircle:d,...p})=>{const m=u()||R;return t.createElement(Pr,z({block:o},p),e?.map(((o,n)=>{let a={},c={};return a.backgroundColor=s?`${m.variant[s]}`:`${m.variant[l]}`,0!==n&&(a.border=d?`2px solid ${d}`:`2px solid ${m.variant[l]}`,c.border=d?`2px solid ${d}`:`2px solid ${m.variant[l]}`),1===e.length?t.createElement(se,{key:o.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:r,toggleName:!0,user:o,customStylesCircle:a,customStylesImage:c}):n<=3?t.createElement(se,{key:o.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:r,toggleName:!1,user:o,customStylesCircle:a,customStylesImage:c}):null})),e.length-4>0?t.createElement(Hr,{theme:m,variantQty:n},"+",e.length-4):null)};Tr.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},Tr.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const qr=m.div`
2250
+ `,jr=({items:e,block:o,size:r,variantCircle:l,variantName:i,variantQty:n,flagName:a,user:c,colorCircle:s,colorBorderCircle:d,...p})=>{const m=u()||R;return t.createElement(Tr,z({block:o},p),e?.map(((o,n)=>{let a={},c={};return a.backgroundColor=s?`${m.variant[s]}`:`${m.variant[l]}`,0!==n&&(a.border=d?`2px solid ${d}`:`2px solid ${m.variant[l]}`,c.border=d?`2px solid ${d}`:`2px solid ${m.variant[l]}`),1===e.length?t.createElement(se,{key:o.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:r,toggleName:!0,user:o,customStylesCircle:a,customStylesImage:c}):n<=3?t.createElement(se,{key:o.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:r,toggleName:!1,user:o,customStylesCircle:a,customStylesImage:c}):null})),e.length-4>0?t.createElement(Hr,{theme:m,variantQty:n},"+",e.length-4):null)};jr.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},jr.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const qr=m.div`
2234
2251
  max-width: inherit;
2235
2252
  width: inherit;
2236
2253
  font-size: 14px;
@@ -2256,7 +2273,7 @@ svg {
2256
2273
  &[data-popper-placement*='top'] .tooltip-arrow::after {
2257
2274
  border-color: ${({theme:e,variantTPbg:t})=>t?e.variant[t]:"#6b747f"} transparent transparent transparent;
2258
2275
  }
2259
- `,jr=m.div`
2276
+ `,Fr=m.div`
2260
2277
  display: flex;
2261
2278
  color: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2262
2279
  background: ${({theme:e,disabled:t,bgVariant:o,variantBgDisable:r})=>t?e.variant[r]:e.variant[o]};
@@ -2271,24 +2288,24 @@ svg {
2271
2288
  svg path {
2272
2289
  fill: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2273
2290
  }
2274
- `,Fr=m.div`
2291
+ `,Or=m.div`
2275
2292
  display: flex;
2276
2293
  justify-content: space-evenly;
2277
2294
  flex-grow: 1;
2278
2295
  align-items: stretch;
2279
- `,Or=({label:e,index:o,style:r,items:l,variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,divider:p,indexPrefix:m,onClick:g,icon:b,variantTPtext:f,variantTPbg:h,...x})=>{u();const{getArrowProps:v,getTooltipProps:A,setTooltipRef:C,setTriggerRef:w,visible:S}=y();return t.createElement(t.Fragment,null,t.createElement(Fr,{ref:w},t.createElement(jr,{variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,onClick:d?null:()=>{g(g)}},b),p),S&&t.createElement(qr,z({variantTPtext:f,variantTPbg:h,ref:C},A({className:"tooltip-container"})),e,t.createElement("div",v({className:"tooltip-arrow"}))))};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,variantTPtext:e.string,variantTPbg:e.string},Fr.defaultProps={theme:R},jr.defaultProps={theme:R},qr.defaultProps={theme:R},Or.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Zr=m.div`
2296
+ `,Zr=({label:e,index:o,style:r,items:l,variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,divider:p,indexPrefix:m,onClick:g,icon:b,variantTPtext:f,variantTPbg:h,...x})=>{u();const{getArrowProps:v,getTooltipProps:A,setTooltipRef:C,setTriggerRef:S,visible:w}=y();return t.createElement(t.Fragment,null,t.createElement(Or,{ref:S},t.createElement(Fr,{variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,onClick:d?null:()=>{g(g)}},b),p),w&&t.createElement(qr,z({variantTPtext:f,variantTPbg:h,ref:C},A({className:"tooltip-container"})),e,t.createElement("div",v({className:"tooltip-arrow"}))))};Zr.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},Fr.defaultProps={theme:R},qr.defaultProps={theme:R},Zr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Xr=m.div`
2280
2297
  display: flex;
2281
2298
  justify-content: space-evenly;
2282
2299
  align-items: stretch;
2283
2300
  height: 42px;
2284
2301
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2285
2302
  border-radius: 3px;
2286
- `,Xr=m.div`
2303
+ `,Gr=m.div`
2287
2304
  display: flex;
2288
2305
  justify-content: space-evenly;
2289
2306
  flex-grow: 1;
2290
2307
  align-items: stretch;
2291
- `,Gr=m.div`
2308
+ `,Jr=m.div`
2292
2309
  display: flex;
2293
2310
  color: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2294
2311
  background: ${({theme:e,disabled:t,bgVariant:o,variantBgDisable:r})=>t?e.variant[r]:e.variant[o]};
@@ -2303,19 +2320,19 @@ svg {
2303
2320
  svg path {
2304
2321
  fill: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2305
2322
  }
2306
- `,Jr=({style:e,items:o,variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,...m})=>(u(),t.createElement(Zr,z({variant:r,borderVariant:l},m),o?.map(((e,m)=>t.createElement(Xr,{key:d.concat(m)},t.createElement(Gr,{variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>p(e.label)},e.icon),o?.length-1!==m&&s)))));Jr.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},Zr.defaultProps={theme:R},Xr.defaultProps={theme:R},Gr.defaultProps={theme:R},Jr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const Ur=m.div`
2323
+ `,Ur=({style:e,items:o,variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,...m})=>(u(),t.createElement(Xr,z({variant:r,borderVariant:l},m),o?.map(((e,m)=>t.createElement(Gr,{key:d.concat(m)},t.createElement(Jr,{variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>p(e.label)},e.icon),o?.length-1!==m&&s)))));Ur.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},Xr.defaultProps={theme:R},Gr.defaultProps={theme:R},Jr.defaultProps={theme:R},Ur.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const Dr=m.div`
2307
2324
  display: flex;
2308
2325
  justify-content: space-evenly;
2309
2326
  align-items: stretch;
2310
2327
  height: 42px;
2311
2328
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2312
2329
  border-radius: 3px;
2313
- `,Dr=m.div`
2330
+ `,Qr=m.div`
2314
2331
  display: flex;
2315
2332
  justify-content: space-evenly;
2316
2333
  flex-grow: 1;
2317
2334
  align-items: stretch;
2318
- `,Qr=m.div`
2335
+ `,Nr=m.div`
2319
2336
  display: flex;
2320
2337
  color: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2321
2338
  background: ${({theme:e,disabled:t,bgVariant:o,variantBgDisable:r})=>t?e.variant[r]:e.variant[o]};
@@ -2330,28 +2347,28 @@ svg {
2330
2347
  svg path {
2331
2348
  fill: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2332
2349
  }
2333
- `,Nr=({style:e,items:o,variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,variantTPtext:m,variantTPbg:g,...b})=>(u(),t.createElement(Ur,z({variant:r,borderVariant:l},b),o?.map(((e,u)=>t.createElement(Or,{key:d.concat(u),variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{p(e.label)},divider:o?.length-1!==u&&s,icon:e.icon,index:u,label:e.label,variantTPtext:m,variantTPbg:g})))));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},Ur.defaultProps={theme:R},Dr.defaultProps={theme:R},Qr.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 Kr=m.div`
2350
+ `,Kr=({style:e,items:o,variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,variantTPtext:m,variantTPbg:g,...b})=>(u(),t.createElement(Dr,z({variant:r,borderVariant:l},b),o?.map(((e,u)=>t.createElement(Zr,{key:d.concat(u),variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{p(e.label)},divider:o?.length-1!==u&&s,icon:e.icon,index:u,label:e.label,variantTPtext:m,variantTPbg:g})))));Kr.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},Dr.defaultProps={theme:R},Qr.defaultProps={theme:R},Nr.defaultProps={theme:R},Kr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Yr=m.div`
2334
2351
  background: ${({theme:e,variant:t,bgColor:o})=>o||e.variant[t]};
2335
2352
  border: 1.3px solid ${({theme:e,variant:t,borderColor:o})=>o||e.variant[t]};
2336
2353
  border-radius: 50%;
2337
2354
  width: ${({size:e})=>e}px;
2338
2355
  height: ${({size:e})=>e}px;
2339
2356
  box-sizing: border-box;
2340
- `,Yr=({variant:e,bgColor:o,borderColor:r,...l})=>(u(),t.createElement(Kr,z({variant:e,borderColor:r,bgColor:o},l)));Yr.propTypes={variant:e.string,size:e.number,theme:e.object,borderColor:e.string,bgColor:e.string},Kr.defaultProps={theme:R},Yr.defaultProps={theme:R,variant:"primary-1",size:11};const $r=m.div`
2357
+ `,$r=({variant:e,bgColor:o,borderColor:r,...l})=>(u(),t.createElement(Yr,z({variant:e,borderColor:r,bgColor:o},l)));$r.propTypes={variant:e.string,size:e.number,theme:e.object,borderColor:e.string,bgColor:e.string},Yr.defaultProps={theme:R},$r.defaultProps={theme:R,variant:"primary-1",size:11};const _r=m.div`
2341
2358
  display: inline-flex;
2342
2359
  align-items: center;
2343
2360
  background-color: transparent;
2344
2361
  min-height: 24px;
2345
- `,_r=m.div`
2362
+ `,el=m.div`
2346
2363
  display: flex;
2347
2364
  justify-content: space-evenly;
2348
2365
  width: 69px;
2349
- `,el=m.p`
2366
+ `,tl=m.p`
2350
2367
  display: flex;
2351
2368
  color: ${({theme:e,variantText:t,colorText:o})=>o||e.variant[t]};
2352
2369
  font-size: 16px;
2353
2370
  margin: 0 5px;
2354
- `,tl=({style:e,variantCircle:o,variantText:r,level:l,textArray:i,colorArray:n,indexPrefix:a,colorText:c,...s})=>(u(),t.createElement($r,s,t.createElement(_r,null,[1,2,3,4].map(((e,r)=>{let i="#D4D7E3",c=null,s=null;return l<=0&&(l=0),l>=4&&(l=4),n?l>=e?(c=n[l],i=n[l]):c=n[0]:l>=e?(s=o,i=o):s="#FFFFFF",t.createElement(Yr,{key:a.concat(r),variant:s,borderColor:i,bgColor:c,size:11})}))),i&&t.createElement(el,{variantText:r,colorText:c},i[l])));tl.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},el.defaultProps={theme:R},tl.defaultProps={theme:R,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const ol={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},rl=m.button`
2371
+ `,ol=({style:e,variantCircle:o,variantText:r,level:l,textArray:i,colorArray:n,indexPrefix:a,colorText:c,...s})=>(u(),t.createElement(_r,s,t.createElement(el,null,[1,2,3,4].map(((e,r)=>{let i="#D4D7E3",c=null,s=null;return l<=0&&(l=0),l>=4&&(l=4),n?l>=e?(c=n[l],i=n[l]):c=n[0]:l>=e?(s=o,i=o):s="#FFFFFF",t.createElement($r,{key:a.concat(r),variant:s,borderColor:i,bgColor:c,size:11})}))),i&&t.createElement(tl,{variantText:r,colorText:c},i[l])));ol.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},tl.defaultProps={theme:R},ol.defaultProps={theme:R,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const rl={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},ll=m.button`
2355
2372
  ${({underlined:e})=>e?null:g`&:hover {text-decoration: underline}`};
2356
2373
  background: transparent;
2357
2374
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -2362,7 +2379,7 @@ svg {
2362
2379
  justify-content: start;
2363
2380
  border: none;
2364
2381
  cursor: pointer;
2365
- font-size: ${({size:e})=>ol[e].fontSize};
2382
+ font-size: ${({size:e})=>rl[e].fontSize};
2366
2383
 
2367
2384
  &:disabled {
2368
2385
  color: ${({theme:e})=>e.variant["neutral-3"]};
@@ -2372,7 +2389,7 @@ svg {
2372
2389
  * {
2373
2390
  outline: none;
2374
2391
  }
2375
- `,ll=({block:e,size:o,style:r,variant:l,disabled:i,underlined:n,...a})=>(u(),t.createElement(rl,z({block:e,variant:l,type:"button",style:r,size:o,disabled:i,underlined:n},a),a.children));ll.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},rl.defaultProps={theme:R},ll.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const il=m.div`
2392
+ `,il=({block:e,size:o,style:r,variant:l,disabled:i,underlined:n,...a})=>(u(),t.createElement(ll,z({block:e,variant:l,type:"button",style:r,size:o,disabled:i,underlined:n},a),a.children));il.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},ll.defaultProps={theme:R},il.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const nl=m.div`
2376
2393
  display: flex;
2377
2394
  justify-content: space-between;
2378
2395
  align-items: start;
@@ -2383,33 +2400,33 @@ svg {
2383
2400
  z-index: 100;
2384
2401
  // custom styles
2385
2402
  ${({customModalHeaderStyle:e})=>e}
2386
- `,nl=m.div`
2403
+ `,al=m.div`
2387
2404
  //Set the styles from the default styles object
2388
2405
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2389
2406
  // custom styles
2390
2407
  ${({customModalBodyStyle:e})=>e}
2391
- `,al=m.div`
2408
+ `,cl=m.div`
2392
2409
  max-height: 60vh;
2393
2410
  padding: 0 24px 24px 24px;
2394
2411
  overflow-y: auto;
2395
2412
  ${({contentWrapperStyle:e})=>e}
2396
- `,cl=m.div`
2413
+ `,sl=m.div`
2397
2414
  padding-top: 16px;
2398
2415
 
2399
2416
  //Set the styles from the default styles object
2400
2417
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2401
2418
  // custom styles
2402
2419
  ${({customModalFooterStyle:e})=>e}
2403
- `,sl=m.div`
2420
+ `,dl=m.div`
2404
2421
  cursor: pointer;
2405
- `;try{E.setAppElement("#root")}catch(e){E.setAppElement("#__next")}const dl=({modalIsOpen:e,toggleModal:o,closeOnOutsideClick:r,headerContent:l,bodyContent:i,footerContent:n,customModalHeaderStyle:a,customModalBodyStyle:c,customModalFooterStyle:s,customWidth:d,customMinWidth:p,customMaxWidth:m,contentStyle:u,contentWrapperStyle:g,...b})=>{const f={overlay:{zIndex:"999999",backgroundColor:"rgb(51 51 51 / 30%)"},content:{borderColor:R.border,top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:p,maxHeight:"85vh",overflow:"hidden",border:"1px solid #EEF1F4",boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:d&&d,maxWidth:m&&m,...u}};return t.createElement(E,z({isOpen:e,onRequestClose:r?o:void 0,style:f,contentLabel:"Modal"},b),t.createElement(il,{style:a},l,t.createElement(sl,{onClick:o},t.createElement(N,{icon:"close-icon",size:18}))),t.createElement(al,{contentWrapperStyle:g},t.createElement(nl,{inBuiltCss:L,style:c},i),t.createElement(cl,{inBuiltCss:L,style:s},n)))};dl.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},dl.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{}};const pl=m.div`
2422
+ `;try{E.setAppElement("#root")}catch(e){E.setAppElement("#__next")}const pl=({modalIsOpen:e,toggleModal:o,closeOnOutsideClick:r,headerContent:l,bodyContent:i,footerContent:n,customModalHeaderStyle:a,customModalBodyStyle:c,customModalFooterStyle:s,customWidth:d,customMinWidth:p,customMaxWidth:m,contentStyle:u,contentWrapperStyle:g,...b})=>{const f={overlay:{zIndex:"999999",backgroundColor:"rgb(51 51 51 / 30%)"},content:{borderColor:R.border,top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:p,maxHeight:"85vh",overflow:"hidden",border:"1px solid #EEF1F4",boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:d&&d,maxWidth:m&&m,...u}};return t.createElement(E,z({isOpen:e,onRequestClose:r?o:void 0,style:f,contentLabel:"Modal"},b),t.createElement(nl,{style:a},l,t.createElement(dl,{onClick:o},t.createElement(N,{icon:"close-icon",size:18}))),t.createElement(cl,{contentWrapperStyle:g},t.createElement(al,{inBuiltCss:L,style:c},i),t.createElement(sl,{inBuiltCss:L,style:s},n)))};pl.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},pl.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{}};const ml=m.div`
2406
2423
  ${({theme:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.common)r[t]=e.common[t];for(const o in e[t])r[o]=e[t][o],delete e.common[o]}return{...r,...o}}}}
2407
2424
  }
2408
- `,ml=({theme:e,toggleSimple:o,contentTrigger:r,contentOverlay:l,popperOptionsP:i,settingsP:n,customStyles:a,...c})=>{let s={},d={};o?(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:u,setTriggerRef:g,visible:b}=y({...d},s);return t.createElement(t.Fragment,null,t.createElement("div",{ref:g,style:{width:"fit-content",height:"fit-content"}},r),b&&t.createElement(pl,z({type:o?"simple-overlay":"overlay",theme:e,ref:u},m({className:"tooltip-container"}),{customStyles:a}),l))};ml.propTypes={theme:e.object,contentTrigger:e.any,contentOverlay:e.any,popperOptionsP:e.object,settingsP:e.object,customStyles:e.object,toggleSimple:e.bool},ml.defaultProps={theme:L,contentTrigger:t.createElement("div",null,"Trigger"),contentOverlay:t.createElement("div",null,"I am the Overlay")};const ul=m.div`
2425
+ `,ul=({theme:e,toggleSimple:o,contentTrigger:r,contentOverlay:l,popperOptionsP:i,settingsP:n,customStyles:a,...c})=>{let s={},d={};o?(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:u,setTriggerRef:g,visible:b}=y({...d},s);return t.createElement(t.Fragment,null,t.createElement("div",{ref:g,style:{width:"fit-content",height:"fit-content"}},r),b&&t.createElement(ml,z({type:o?"simple-overlay":"overlay",theme:e,ref:u},m({className:"tooltip-container"}),{customStyles:a}),l))};ul.propTypes={theme:e.object,contentTrigger:e.any,contentOverlay:e.any,popperOptionsP:e.object,settingsP:e.object,customStyles:e.object,toggleSimple:e.bool},ul.defaultProps={theme:L,contentTrigger:t.createElement("div",null,"Trigger"),contentOverlay:t.createElement("div",null,"I am the Overlay")};const gl=m.div`
2409
2426
  display: flex;
2410
2427
  justify-content: center;
2411
2428
  ${({customParentStyles:e})=>e}
2412
- `,gl=m.span`
2429
+ `,bl=m.span`
2413
2430
  background-color: ${({selected:e,theme:t})=>e?t.variant["neutral-5"]:"transparent"};
2414
2431
  color: ${({selected:e,theme:t})=>e?t.variant["primary-2"]:t.variant["neutral-3"]};
2415
2432
  padding: 8px 14px;
@@ -2421,7 +2438,7 @@ ${({theme:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.c
2421
2438
  font-size: 14px;
2422
2439
 
2423
2440
  ${({customItemStyles:e})=>e}
2424
- `,bl=m.div`
2441
+ `,fl=m.div`
2425
2442
  display: flex;
2426
2443
  justify-content: center;
2427
2444
  align-items: center;
@@ -2438,16 +2455,16 @@ ${({theme:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.c
2438
2455
  }
2439
2456
 
2440
2457
  ${({customIconWrapperStyles:e})=>e}
2441
- `,fl=m.div`
2442
- padding: 0 15px;
2443
2458
  `,hl=m.div`
2459
+ padding: 0 15px;
2460
+ `,yl=m.div`
2444
2461
  display: flex;
2445
2462
  align-items: center;
2446
2463
  justify-content: center;
2447
2464
  color: ${({theme:e})=>e.variant["neutral-2"]};
2448
2465
 
2449
2466
  ${({customLeftWrapperStyles:e})=>e}
2450
- `,yl=m.div`
2467
+ `,xl=m.div`
2451
2468
  display: flex;
2452
2469
  margin: 0;
2453
2470
  align-items: center;
@@ -2460,11 +2477,11 @@ ${({theme:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.c
2460
2477
  margin: 0 10px;
2461
2478
  color: ${({theme:e})=>e.variant["neutral-2"]};
2462
2479
  }
2463
- `,xl=({selectedPage:e,setSelectedPage:o,totalPage:r,customItemStyles:n,customLeftWrapperStyles:a,customIconWrapperStyles:c,previousText:s,nextText:d,pageToShow:p,totalResults:m,showResultPerPage:g,customParentStyles:b,customRightWrapperStyles:f,...h})=>{const y=u()||R,[x,v]=l([]);let A=p>r?r:p;i((()=>{v(Array.from({length:A},((e,t)=>t+1)))}),[r,p,A]);const C=t=>{let l=[];"increase"===t&&x[A-1]<=r&&e!==x[A-1]?o(e+1):"increase"===t&&x[A-1]<r?(l=Array.from({length:A},((e,t)=>t+x[0]+1)),o(e+1),v(l)):"decrease"===t&&x[0]<=e-1?o(e-1):"decrease"===t&&e>1&&(o(e-1),v(Array.from({length:A},((e,t)=>t+x[0]-1))))};return t.createElement(ul,{customParentStyles:b}," ",t.createElement(hl,z({theme:y,customLeftWrapperStyles:a},h),t.createElement(bl,z({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(fl,h,x.map(((r,l)=>t.createElement(gl,{key:l,theme:y,selected:e===r,onClick:()=>o(r),customItemStyles:n},r)))),t.createElement(bl,{onClick:()=>C("increase"),disabled:e===r,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"]}))),g&&t.createElement(yl,{theme:y,customRightWrapperStyles:f},t.createElement(xt,{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",null,t.createElement("span",null,"OF")," ",m," ",t.createElement("span",null,"RESULTS"))))};xl.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},xl.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const vl=m.div`
2480
+ `,vl=({selectedPage:e,setSelectedPage:o,totalPage:r,customItemStyles:n,customLeftWrapperStyles:a,customIconWrapperStyles:c,previousText:s,nextText:d,pageToShow:p,totalResults:m,showResultPerPage:g,customParentStyles:b,customRightWrapperStyles:f,...h})=>{const y=u()||R,[x,v]=l([]);let A=p>r?r:p;i((()=>{v(Array.from({length:A},((e,t)=>t+1)))}),[r,p,A]);const C=t=>{let l=[];"increase"===t&&x[A-1]<=r&&e!==x[A-1]?o(e+1):"increase"===t&&x[A-1]<r?(l=Array.from({length:A},((e,t)=>t+x[0]+1)),o(e+1),v(l)):"decrease"===t&&x[0]<=e-1?o(e-1):"decrease"===t&&e>1&&(o(e-1),v(Array.from({length:A},((e,t)=>t+x[0]-1))))};return t.createElement(gl,{customParentStyles:b}," ",t.createElement(yl,z({theme:y,customLeftWrapperStyles:a},h),t.createElement(fl,z({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(hl,h,x.map(((r,l)=>t.createElement(bl,{key:l,theme:y,selected:e===r,onClick:()=>o(r),customItemStyles:n},r)))),t.createElement(fl,{onClick:()=>C("increase"),disabled:e===r,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"]}))),g&&t.createElement(xl,{theme:y,customRightWrapperStyles:f},t.createElement(vt,{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",null,t.createElement("span",null,"OF")," ",m," ",t.createElement("span",null,"RESULTS"))))};vl.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},vl.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const Al=m.div`
2464
2481
  display: flex;
2465
2482
  align-items: center;
2466
2483
  color: ${({theme:e})=>e.variant["neutral-2"]};
2467
- `,Al=({...e})=>{const o=u()||R;return t.createElement(vl,{theme:o},e.children)},Cl=m.div`
2484
+ `,Cl=({...e})=>{const o=u()||R;return t.createElement(Al,{theme:o},e.children)},Sl=m.div`
2468
2485
  font-size: 14px;
2469
2486
  color: ${({selected:e,theme:t})=>e?t.variant["primary-1"]:null};
2470
2487
 
@@ -2480,7 +2497,7 @@ ${({theme:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.c
2480
2497
  &:not(:first-child):not(:last-child) {
2481
2498
  margin: 0 22px;
2482
2499
  }
2483
- `;(Al.PageItem=function({selected:e,...o}){const r=u()||R;return t.createElement(Cl,z({selected:e,theme:r},o),o.children)}).propTypes={selected:e.bool},Al.PageItem.defaultProps={selected:!1};const wl=m.div`
2500
+ `;(Cl.PageItem=function({selected:e,...o}){const r=u()||R;return t.createElement(Sl,z({selected:e,theme:r},o),o.children)}).propTypes={selected:e.bool},Cl.PageItem.defaultProps={selected:!1};const wl=m.div`
2484
2501
  position: relative;
2485
2502
  height: 10px;
2486
2503
  border-radius: 10px;
@@ -2489,11 +2506,11 @@ position: relative;
2489
2506
  margin-right: 13px;
2490
2507
  width: inherit;
2491
2508
  color: ${({theme:e})=>e.bgColor};
2492
- background-color: ${({color:e,theme:t})=>H(e||t.primary["primary-1"],.5)};
2509
+ background-color: ${({color:e,theme:t})=>T(e||t.primary["primary-1"],.5)};
2493
2510
 
2494
2511
  // custom styles
2495
2512
  ${({progressWrapStyle:e})=>e}
2496
- `,Sl=m.div`
2513
+ `,El=m.div`
2497
2514
  height: inherit;
2498
2515
  width: inherit;
2499
2516
  transition: width 1s ease-in-out;
@@ -2505,12 +2522,12 @@ position: relative;
2505
2522
  ${({progressBarStyle:e})=>e}
2506
2523
  width: ${({now:e})=>e+"%"};
2507
2524
  background-color: ${({color:e,theme:t})=>e||t.primary["primary-1"]};
2508
- `,El=({labelStyle:e,progressBarStyle:o,progressWrapStyle:r,label:l,now:i,color:n,innerContent:a,...c})=>{const s=u()||R;return t.createElement("div",null,t.createElement(Ke,z({inBuiltCss:L,customStyles:e,type:"progressbarLabel",text:l},c)),t.createElement(wl,z({progressBarStyle:o,theme:s,progressWrapStyle:r,color:n},c),t.createElement(Sl,z({progressBarStyle:o,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)))};El.propTypes={labelStyle:e.object,progressBarStyle:e.object,progressWrapStyle:e.object,color:e.string,label:e.string,now:e.number,innerContent:e.any},El.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const kl=m.div`
2525
+ `,kl=({labelStyle:e,progressBarStyle:o,progressWrapStyle:r,label:l,now:i,color:n,innerContent:a,...c})=>{const s=u()||R;return t.createElement("div",null,t.createElement(Ye,z({inBuiltCss:L,customStyles:e,type:"progressbarLabel",text:l},c)),t.createElement(wl,z({progressBarStyle:o,theme:s,progressWrapStyle:r,color:n},c),t.createElement(El,z({progressBarStyle:o,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)))};kl.propTypes={labelStyle:e.object,progressBarStyle:e.object,progressWrapStyle:e.object,color:e.string,label:e.string,now:e.number,innerContent:e.any},kl.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const zl=m.div`
2509
2526
  background: transparent;
2510
2527
  display: flex;
2511
2528
  align-items: center;
2512
2529
  width: ${({block:e})=>e?"100%":"fit-content"};
2513
- `,zl=m.div`
2530
+ `,Vl=m.div`
2514
2531
  margin: 0;
2515
2532
  color: ${({theme:e,variantOff:t})=>e.variant[t]};
2516
2533
  white-space: nowrap;
@@ -2528,16 +2545,16 @@ position: relative;
2528
2545
  &>div:first-of-type{
2529
2546
  color: ${({theme:e,variantOn:t})=>e.variant[t]};
2530
2547
  }
2531
- `,Vl=m.div`
2548
+ `,Ml=m.div`
2532
2549
  display: flex;
2533
2550
  margin-left: 20px;
2534
- `,Ml=m.div`
2551
+ `,Wl=m.div`
2535
2552
  height: 6px;
2536
2553
  width: ${({widthStep:e})=>e}px;
2537
2554
  margin: 0 3px;
2538
2555
  background-color: ${({theme:e,isActive:t,variantOn:o,variantOff:r})=>t?e.variant[o]:e.variant[r]};
2539
2556
  border-radius: 19px;
2540
- `,Bl=({block:e,variantOn:o,variantOff:r,currentStep:l,totalSteps:i,widthStep:n,style:a,...c})=>(u(),t.createElement(kl,z({block:e},c,{style:a}),t.createElement(zl,z({},c,{variantOn:o,variantOff:r}),"Page ",t.createElement("div",null,l)," of ",t.createElement("div",null,i)),t.createElement(Vl,c,Array.from(Array(i).keys()).map((e=>t.createElement(Ml,{key:"formSteps".concat(e),isActive:l===e+1,variantOn:o,variantOff:r,widthStep:n}))))));Bl.propTypes={variantOn:e.string,variantOff:e.string,block:e.bool,theme:e.object,currentStep:e.number,totalSteps:e.number,widthStep:e.number},kl.defaultProps={theme:R},zl.defaultProps={theme:R},Vl.defaultProps={theme:R},Ml.defaultProps={theme:R},Bl.defaultProps={theme:R,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Wl=m.button`
2557
+ `,Bl=({block:e,variantOn:o,variantOff:r,currentStep:l,totalSteps:i,widthStep:n,style:a,progressText:c,...s})=>(u(),t.createElement(zl,z({block:e},s,{style:a}),t.createElement(Vl,z({},s,{variantOn:o,variantOff:r}),c||"Page"," ",t.createElement("div",null,l)," of ",t.createElement("div",null,i)),t.createElement(Ml,s,Array.from(Array(i).keys()).map((e=>t.createElement(Wl,{key:"formSteps".concat(e),isActive:l===e+1,variantOn:o,variantOff:r,widthStep:n}))))));Bl.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},zl.defaultProps={theme:R},Vl.defaultProps={theme:R},Ml.defaultProps={theme:R},Wl.defaultProps={theme:R},Bl.defaultProps={theme:R,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Il=m.button`
2541
2558
  background: ${({disabled:e,theme:t,bgVariant:o})=>e?"#BBC4CF":t.variant[o]};
2542
2559
  color: ${({theme:e,variant:t})=>e.variant[t]};
2543
2560
  padding: 6px 17px;
@@ -2564,7 +2581,7 @@ position: relative;
2564
2581
  * {
2565
2582
  outline: none;
2566
2583
  }
2567
- `,Il=({block:e,style:o,variant:r,bgVariant:l,disabled:i,...n})=>(u(),t.createElement(Wl,z({block:e,variant:r,bgVariant:l,type:"button",style:o,disabled:i},n),n.children));Il.propTypes={variant:e.string,bgVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Wl.defaultProps={theme:R},Il.defaultProps={theme:R,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const Rl=m.button`
2584
+ `,Rl=({block:e,style:o,variant:r,bgVariant:l,disabled:i,...n})=>(u(),t.createElement(Il,z({block:e,variant:r,bgVariant:l,type:"button",style:o,disabled:i},n),n.children));Rl.propTypes={variant:e.string,bgVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Il.defaultProps={theme:R},Rl.defaultProps={theme:R,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const Ll=m.button`
2568
2585
  background: ${({disabled:e,theme:t})=>e?"#BBC4CF":t.bgColor};
2569
2586
  color: ${({theme:e,variant:t})=>e.variant[t]};
2570
2587
  padding: 6px 17px;
@@ -2587,7 +2604,7 @@ position: relative;
2587
2604
  fill: #929EAC;
2588
2605
  }
2589
2606
  }
2590
- `,Ll=({block:e,style:o,variant:r,borderVariant:l,disabled:i,...n})=>(u(),t.createElement(Rl,z({block:e,variant:r,borderVariant:l,type:"button",style:o,disabled:i},n),n.children));Ll.propTypes={variant:e.string,borderVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Rl.defaultProps={theme:R},Ll.defaultProps={theme:R,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Pl=m.div`
2607
+ `,Pl=({block:e,style:o,variant:r,borderVariant:l,disabled:i,...n})=>(u(),t.createElement(Ll,z({block:e,variant:r,borderVariant:l,type:"button",style:o,disabled:i},n),n.children));Pl.propTypes={variant:e.string,borderVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Ll.defaultProps={theme:R},Pl.defaultProps={theme:R,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Tl=m.div`
2591
2608
  display: flex;
2592
2609
  flex-Direction: column;
2593
2610
  height: ${({toggleSideBarOpen:e})=>"100vh"};
@@ -2613,7 +2630,7 @@ position: relative;
2613
2630
  }
2614
2631
 
2615
2632
  ${({headerStyles:e})=>e}
2616
- `,Tl=m.div`
2633
+ `,jl=m.div`
2617
2634
  display: flex;
2618
2635
  background-color: transparent;
2619
2636
  flex-direction: column;
@@ -2649,7 +2666,7 @@ position: relative;
2649
2666
  p {
2650
2667
  margin: 0px;
2651
2668
  }
2652
- `,jl=m.div`
2669
+ `,Fl=m.div`
2653
2670
  display: flex;
2654
2671
  background-color: transparent;
2655
2672
  flex-direction: column;
@@ -2662,7 +2679,7 @@ position: relative;
2662
2679
  // display: ${({toggleSideBarOpen:e})=>e?"block":"none"} ;
2663
2680
 
2664
2681
  // }
2665
- `,Fl=m.div`
2682
+ `,Ol=m.div`
2666
2683
  display: flex;
2667
2684
  align-items: center;
2668
2685
  cursor: pointer;
@@ -2686,7 +2703,7 @@ position: relative;
2686
2703
  p {
2687
2704
  margin: 0 31px;
2688
2705
  }
2689
- `,Ol=({headerContent:e,bodyContent:o,footerContent:r,selectedApp:i,setApp:n,toggleSideBarOpen:a,headerStyles:c,selectedStyle:s,notSelectedStyle:d,customStylesNameHover:p,listElementStyle:m,customSelectCardColor:g,user:b,firstBottomContent:f,secondBottomContent:h,bottomContent:y,...x})=>{const v=u()||R,[A,C]=l(null),[w,S]=l(null),[E,k]=l(!1);return t.createElement(Pl,{onMouseEnter:()=>k(!0),onMouseLeave:()=>{C(null),S(null),k(!1)},toggleSideBarOpen:a},t.createElement(Hl,{theme:v,headerStyles:c},e),t.createElement(Tl,{toggleSideBarOpen:a},o?.map(((e,o)=>t.createElement($,{key:e.pageId,index:o,handleClick:e=>{!function(e){S(null),C(e)}(e)},isAccordionOpen:o===A||E&&e.value.toLowerCase()===i.lev1.toLowerCase(),isSelected:e.value.toLowerCase()===i.lev1.toLowerCase(),customSelectCardColor:g,customStylesAccordionContainer:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"16px","padding-top":"7.5px","padding-bottom":"7.5px",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(ue,{selectedStyle:s,notSelectedStyle:d,toggleName:a,customStylesName:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":e.userName===i.lev1?"600":"400"},customStylesNameHover:p,size:"LG",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e.value===i.lev1}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},e.routes.filter((e=>!0===e.visibleAsMenu)).map(((o,r)=>t.createElement(ql,{listElementStyle:m,key:e.pageId+o.title,onClick:()=>{n({lev1:`${e.value}`,lev2:`${o.title}`})}},t.createElement("span",{style:{visibility:i.lev2.toLowerCase()===o.title.toLowerCase()?"visible":"hidden"}}),t.createElement("p",{style:{marginTop:0===r&&"0px"}},o.title)))))})))),t.createElement(jl,{toggleSideBarOpen:a,onMouseEnter:()=>k(!1)},t.createElement(_,{index:0,handleClick:e=>{!function(e){C(null),S(e)}(e)},isAccordionOpen:0===w,customStylesAccordionContainer:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"16px","padding-top":"7.5px","padding-bottom":"7.5px",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(ue,{selectedStyle:s,notSelectedStyle:d,toggleName:a,customStylesName:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":"400"},customStylesNameHover:p,size:"LG",user:{fullName:b.fullName||"My Account",userName:b.userName||"My Account",url:b.imgUrl}}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},y?.map(((e,o)=>t.createElement(Fl,{listElementStyle:m,key:o},e?.value))))})))},Zl=m.div`
2706
+ `,Zl=({headerContent:e,bodyContent:o,footerContent:r,toggleSideBarOpen:n,headerStyles:a,selectedStyle:c,notSelectedStyle:s,customStylesNameHover:d,listElementStyle:p,customSelectCardColor:m,user:g,firstBottomContent:b,secondBottomContent:f,bottomContent:h,selectedAppPath:y,setSelectedAppPath:x,selectedAppPageId:v,setSelectedAppPageId:A,...C})=>{const S=u()||R,[w,E]=l(null),[k,z]=l(null),[V,M]=l(!1),[W,B]=l([]);return i((()=>{B(y.split("/"));let e=y.split("/"),t=o.find((t=>e[1]===t.path.split("/")[1])).routes.find((e=>e.path===y)).pageId;A(t)}),[y]),t.createElement(Tl,{onMouseEnter:()=>M(!0),onMouseLeave:()=>{E(null),z(null),M(!1)},toggleSideBarOpen:n},t.createElement(Hl,{theme:S,headerStyles:a},e),t.createElement(jl,{toggleSideBarOpen:n},o?.map(((e,o)=>t.createElement($,{key:e.pageId,index:o,handleClick:e=>{!function(e){z(null),E(e)}(e)},isAccordionOpen:o===w||V&&e.value.toLowerCase()===W[1]?.toLowerCase(),isSelected:e.value.toLowerCase()===W[1]?.toLowerCase(),customSelectCardColor:m,customStylesAccordionContainer:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"16px","padding-top":"7.5px","padding-bottom":"7.5px",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:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":"600"},customStylesNameHover:d,size:"LG",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e.value.toLowerCase()===W[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},e.routes.filter((e=>!0===e.visibleAsMenu)).map(((o,r)=>t.createElement(ql,{listElementStyle:p,key:e.pageId+r,onClick:()=>{x(o.path)}},t.createElement("span",{style:{visibility:W[2]?.toLowerCase()===o.path.split("/")[2].toLowerCase()?"visible":"hidden"}}),t.createElement("p",{style:{marginTop:0===r&&"0px",display:"inline-block"}},o.link)))))})))),t.createElement(Fl,{toggleSideBarOpen:n,onMouseEnter:()=>M(!1)},t.createElement(_,{index:0,handleClick:e=>{!function(e){E(null),z(e)}(e)},isAccordionOpen:0===k,customStylesAccordionContainer:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"16px","padding-top":"7.5px","padding-bottom":"7.5px",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:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":"400"},customStylesNameHover:d,size:"LG",user:{fullName:g.fullName||"My Account",userName:g.userName||"My Account",url:g.imgUrl}}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},h?.map(((e,o)=>t.createElement(Ol,{listElementStyle:p,key:o},e?.value))))})))},Xl=m.div`
2690
2707
  background-color: ${({theme:e})=>e.variant["primary-1"]} !important;
2691
2708
  color: ${({theme:e})=>e.bgColor};
2692
2709
  overflow-y: auto;
@@ -2704,7 +2721,7 @@ ${({isOpen:e,forceOpen:t,inBuiltCss:o,type:r,customStylesContainerOpen:l,customS
2704
2721
  @media (max-width: 980px) {
2705
2722
  ${({isOpen:e,inBuiltCss:t,type:o,customStylesContainerMobileOpen:r,customStylesContainerMobileClose:l})=>{}}
2706
2723
  }
2707
- `,Xl=m.div`
2724
+ `,Gl=m.div`
2708
2725
  ${({inBuiltCss:e,type:t})=>P(e,"sidebar-pusher")}
2709
2726
  ${({customStylesPusher:e})=>e}
2710
2727
 
@@ -2713,33 +2730,33 @@ ${({forceOpen:e,inBuiltCss:t,type:o,customStylesPusherOpen:r,customStylesPusherC
2713
2730
  @media (max-width: 980px) {
2714
2731
  ${({inBuiltCss:e,type:t,customStylesPusherMobile:o})=>({...P(e,"sidebar-pusher-mobile"),...o})}
2715
2732
  }
2716
- `,Gl=({customStylesContainer:e,customStylesContainerOpen:o,customStylesContainerClose:r,customStylesContainerMobileOpen:l,customStylesContainerMobileClose:i,customStylesPusher:n,customStylesPusherOpen:a,customStylesPusherClose:c,customStylesPusherMobile:s,forceOpen:d,forceClose:p,handleSidebar:m,toggleSideBarOpen:g,pinner:b,...f})=>{function h(e){m(e),console.log(e)}const y=u()||R;return t.createElement(Zl,z({theme:y,inBuiltCss:L,customStyles:e,type:"sidebarContainer",onMouseEnter:()=>{d||h(!0)},onMouseLeave:()=>{h(!1),p()},forceOpen:d,isOpen:g},f),t.createElement(Xl,null),f.children,b)};Gl.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},Gl.defaultProps={forceClose:()=>{},forceOpen:!1};const Jl={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Ul=m.div`
2733
+ `,Jl=({customStylesContainer:e,customStylesContainerOpen:o,customStylesContainerClose:r,customStylesContainerMobileOpen:l,customStylesContainerMobileClose:i,customStylesPusher:n,customStylesPusherOpen:a,customStylesPusherClose:c,customStylesPusherMobile:s,forceOpen:d,forceClose:p,handleSidebar:m,toggleSideBarOpen:g,pinner:b,...f})=>{function h(e){m(e)}const y=u()||R;return t.createElement(Xl,z({theme:y,inBuiltCss:L,customStyles:e,type:"sidebarContainer",onMouseEnter:()=>{d||h(!0)},onMouseLeave:()=>{h(!1),p()},forceOpen:d,isOpen:g},f),t.createElement(Gl,null),f.children,b)};Jl.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},Jl.defaultProps={forceClose:()=>{},forceOpen:!1};const Ul={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Dl=m.div`
2717
2734
  background: ${({theme:e,variant:t})=>e.variant[t]};
2718
2735
  color: ${({theme:e})=>e.bgColor};
2719
- padding: ${({size:e})=>Jl[e].padding};
2736
+ padding: ${({size:e})=>Ul[e].padding};
2720
2737
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
2721
2738
  border-radius: 42px;
2722
- font-size: ${({size:e})=>Jl[e].fontSize};
2739
+ font-size: ${({size:e})=>Ul[e].fontSize};
2723
2740
  font-weight: 600;
2724
2741
  display: flex;
2725
2742
  align-items: center;
2726
2743
  width: ${({block:e})=>e?"auto":"fit-content"};
2727
2744
  box-sizing: border-box;
2728
2745
 
2729
- `,Dl=({block:e,style:o,variant:r,...l})=>(u(),t.createElement(Ul,z({block:e,variant:r,style:o},l),l.children));Dl.propTypes={variant:e.string,block:e.bool,theme:e.object},Ul.defaultProps={theme:R},Dl.defaultProps={theme:R,variant:"primary-1",block:!1};const Ql={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Nl=m.div`
2746
+ `,Ql=({block:e,style:o,variant:r,...l})=>(u(),t.createElement(Dl,z({block:e,variant:r,style:o},l),l.children));Ql.propTypes={variant:e.string,block:e.bool,theme:e.object},Dl.defaultProps={theme:R},Ql.defaultProps={theme:R,variant:"primary-1",block:!1};const Nl={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Kl=m.div`
2730
2747
  color: ${({theme:e,variant:t})=>e.variant[t]};
2731
2748
  background: ${({theme:e})=>e.bgColor};
2732
- padding: ${({size:e})=>Ql[e].padding};
2749
+ padding: ${({size:e})=>Nl[e].padding};
2733
2750
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
2734
2751
  border-radius: 42px;
2735
- font-size: ${({size:e})=>Ql[e].fontSize};
2752
+ font-size: ${({size:e})=>Nl[e].fontSize};
2736
2753
  font-weight: 600;
2737
2754
  display: flex;
2738
2755
  align-items: center;
2739
2756
  width: ${({block:e})=>e?"auto":"fit-content"};
2740
2757
  box-sizing: border-box;
2741
2758
 
2742
- `,Kl=({block:e,style:o,variant:r,...l})=>(u(),t.createElement(Nl,z({block:e,variant:r,style:o},l),l.children));Kl.propTypes={variant:e.string,block:e.bool,theme:e.object},Nl.defaultProps={theme:R},Kl.defaultProps={theme:R,variant:"primary-1",block:!1};const Yl={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},$l=m.div`
2759
+ `,Yl=({block:e,style:o,variant:r,...l})=>(u(),t.createElement(Kl,z({block:e,variant:r,style:o},l),l.children));Yl.propTypes={variant:e.string,block:e.bool,theme:e.object},Kl.defaultProps={theme:R},Yl.defaultProps={theme:R,variant:"primary-1",block:!1};const $l={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},_l=m.div`
2743
2760
  background: ${({theme:e,variant:t,bgColor:o})=>o||e.variant[t]};
2744
2761
  color: ${({theme:e,textColor:t})=>t||e.bgColor};
2745
2762
  border-radius: 13.5px;
@@ -2747,11 +2764,11 @@ font-size: 14px;
2747
2764
  display: flex;
2748
2765
  align-items: center;
2749
2766
  justify-content: center;
2750
- width: ${({block:e,size:t})=>e?"auto":Yl[t].width};
2767
+ width: ${({block:e,size:t})=>e?"auto":$l[t].width};
2751
2768
  height: 28px;
2752
2769
  box-sizing: border-box;
2753
2770
  overflow: hidden;
2754
- `,_l=({block:e,style:o,variant:r,textColor:l,bgColor:i,...n})=>(u(),t.createElement($l,z({block:e,variant:r,textColor:l,bgColor:i,style:o},n),n.children));_l.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,bgColor:e.string},$l.defaultProps={theme:R},_l.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const ei={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},ti=m.div`
2771
+ `,ei=({block:e,style:o,variant:r,textColor:l,bgColor:i,...n})=>(u(),t.createElement(_l,z({block:e,variant:r,textColor:l,bgColor:i,style:o},n),n.children));ei.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,bgColor:e.string},_l.defaultProps={theme:R},ei.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const ti={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},oi=m.div`
2755
2772
  background: ${({theme:e})=>e.bgColor};
2756
2773
  color: ${({theme:e,variant:t,textColor:o})=>o||e.variant[t]};
2757
2774
  border: 1px solid ${({theme:e,variant:t,borderColor:o})=>o||e.variant[t]};
@@ -2760,11 +2777,30 @@ font-size: 14px;
2760
2777
  display: flex;
2761
2778
  align-items: center;
2762
2779
  justify-content: center;
2763
- width: ${({block:e,size:t})=>e?"auto":ei[t].width};
2780
+ width: ${({block:e,size:t})=>e?"auto":ti[t].width};
2764
2781
  height: 27px;
2765
2782
  box-sizing: border-box;
2766
2783
  overflow: hidden;
2767
- `,oi=({block:e,style:o,variant:r,textColor:l,borderColor:i,...n})=>(u(),t.createElement(ti,z({block:e,variant:r,textColor:l,borderColor:i,style:o},n),n.children));oi.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,borderColor:e.string},ti.defaultProps={theme:R},oi.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const ri=m.div`
2784
+ `,ri=({block:e,style:o,variant:r,textColor:l,borderColor:i,...n})=>(u(),t.createElement(oi,z({block:e,variant:r,textColor:l,borderColor:i,style:o},n),n.children));ri.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,borderColor:e.string},oi.defaultProps={theme:R},ri.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const li=e=>t.createElement("div",null,e.childern);li.propTypes={name:e.string};const ii=m.div`
2785
+ padding: 24px;
2786
+ ${({tabWrapperStyle:e})=>e}
2787
+ `,ni=m.div`
2788
+ color: ${({theme:e})=>e.variant["graph-5"]};
2789
+ display: flex;
2790
+ align-items: flex-start;
2791
+ column-gap: 12px;
2792
+ padding-bottom: 24px;
2793
+ ${({headerWrapperStyle:e})=>e}
2794
+ `,ai=m.span`
2795
+ font-size: 16px;
2796
+ padding: 7px 20px;
2797
+ background-color: ${({theme:e,isActive:t})=>t?T(e.variant["primary-1"],.2):"transparent"};
2798
+ cursor: pointer;
2799
+ border-radius: 5px;
2800
+ ${({headerStyle:e})=>e}
2801
+ `,ci=m.div`
2802
+ ${({tabContentStyle:e})=>e}
2803
+ `,si=({children:e,tabWrapperStyle:o,headerStyle:r,tabContentStyle:n,headerWrapperStyle:a,dividerStyle:c,...s})=>{const[d,p]=l([]),[m,g]=l({}),[b,f]=l("");i((()=>{const o=[],r={};t.Children.forEach(e,(e=>{if(!t.isValidElement(e))return;const{name:l}=e.props;o.push(l),r[l]=e.props.children})),p(o),f(o[0]),g({...r})}),[e]);const h=u()||R;return t.createElement(ii,{tabWrapperStyle:o},t.createElement(ni,{theme:h,headerWrapperStyle:a},d.map(((e,o)=>t.createElement(ai,{onClick:()=>{f(e)},key:o,theme:h,isActive:e===b,headerStyle:r},e)))),t.createElement(ar,{theme:h,height:"8px",dividerStyle:c}),t.createElement(ci,{tabContentStyle:n},Object.keys(m).map((e=>e===b?t.createElement("div",null,m[e]):null))))};si.propTypes={children:function(e,o,r){const l=e[o];let i=null;return t.Children.forEach(l,(function(e){e.type!==li&&(i=new Error("`"+r+"` children should be of type `TabPanel`."))})),i}},si.propTypes={tabWrapperStyle:e.object,headerWrapperStyle:e.object,headerStyle:e.object,dividerStyle:e.object,tabContentStyle:e.object},si.defaultProps={tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const di=m.div`
2768
2804
  .notification {
2769
2805
  background: ${({theme:e})=>e.bgColor};
2770
2806
  transition: 0.3s ease;
@@ -2827,7 +2863,7 @@ overflow: hidden;
2827
2863
 
2828
2864
  cursor: pointer;
2829
2865
  }
2830
- `,li=({close:e,children:o,type:l,position:n,timeout:a})=>{((e,t)=>{const o=r(e);i((()=>{o.current=e}),[e]),i((()=>{if(null===t)return;const e=setTimeout((()=>o.current()),t);return()=>clearTimeout(e)}),[t])})(e,a||5e3);const c=u()||R;let s=null;switch(l){case"success":s=t.createElement(N,{icon:"check-icon",color:"white",size:13,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":s=t.createElement(N,{icon:"info-icon",color:"white",size:11,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(ri,{theme:c,type:l},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"},o))),t.createElement("div",{className:"close-icon",onClick:e},t.createElement(N,{icon:"close-icon",color:c.variant["neutral-2"]}))))},ii=s(),ni=m.div`
2866
+ `,pi=({close:e,children:o,type:l,position:n,timeout:a})=>{((e,t)=>{const o=r(e);i((()=>{o.current=e}),[e]),i((()=>{if(null===t)return;const e=setTimeout((()=>o.current()),t);return()=>clearTimeout(e)}),[t])})(e,a||5e3);const c=u()||R;let s=null;switch(l){case"success":s=t.createElement(N,{icon:"check-icon",color:"white",size:13,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":s=t.createElement(N,{icon:"info-icon",color:"white",size:11,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(di,{theme:c,type:l},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"},o))),t.createElement("div",{className:"close-icon",onClick:e},t.createElement(N,{icon:"close-icon",color:c.variant["neutral-2"]}))))},mi=s(),ui=m.div`
2831
2867
  .notification-container {
2832
2868
  font-size: 14px;
2833
2869
  box-sizing: border-box;
@@ -2880,9 +2916,9 @@ overflow: hidden;
2880
2916
  transform: translateX(0);
2881
2917
  }
2882
2918
  }
2883
- `;function ai(){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 ci=e=>{const[o,r]=l([]),n=(e,t)=>{r((o=>[...o,{id:ai(),content:t,type:e}]))},a=d((()=>({open:n})),[]),[c,s]=l(!1);return i((()=>(s(!0),()=>s(!1))),[]),t.createElement(ii.Provider,{value:a},e.children,c?k(t.createElement(ni,null,t.createElement("div",{className:`notification-container ${e.position}`},o.map((o=>t.createElement(li,{key:o.id,type:o.type,position:e.position,timeout:e.timeout,close:()=>{return e=o.id,r((t=>t.filter((t=>t.id!==e))));var e}},o.content))))),document.body):null)},si=()=>p(ii),di={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},pi=m.div`
2919
+ `;function gi(){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 bi=e=>{const[o,r]=l([]),n=(e,t)=>{r((o=>[...o,{id:gi(),content:t,type:e}]))},a=d((()=>({open:n})),[]),[c,s]=l(!1);return i((()=>(s(!0),()=>s(!1))),[]),t.createElement(mi.Provider,{value:a},e.children,c?k(t.createElement(ui,null,t.createElement("div",{className:`notification-container ${e.position}`},o.map((o=>t.createElement(pi,{key:o.id,type:o.type,position:e.position,timeout:e.timeout,close:()=>{return e=o.id,r((t=>t.filter((t=>t.id!==e))));var e}},o.content))))),document.body):null)},fi=()=>p(mi),hi={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},yi=m.div`
2884
2920
  color: ${({theme:e,text:t})=>t?e.variant[t]:e.textColor};
2885
2921
  // background: ${({theme:e,bg:t})=>t?e.variant[t]:e.bgColor};
2886
- font-size: ${({size:e})=>di[e].fontSize};
2887
- line-height: ${({size:e})=>di[e].lineHeight};
2888
- `,mi=({size:e,children:o,bg:r,text:l,...i})=>{const n=u()||R;return t.createElement(pi,z({theme:n,bg:r,text:l,size:e},i),t.createElement(Lr,{theme:n}),o)};mi.propTypes={size:e.oneOf(["xs","sm","md","lg"]),text:e.string,bg:e.string,children:e.any,theme:e.object},mi.defaultProps={size:"md"};export{Y as Accordion,$ as AccordionSB,_ as AccordionSBfooter,No as ActionContainer,$o as ActionItem,re as ArrowBar,se as Avatar,ue as AvatarSB,he as AvatarSBfooter,ve as Banner,Qe as Breadcrumb,Or as ButtonPopup,q as Card,F as CardRef,ot as CheckBoxInput,it as ColorInput,qo as Comment,Fo as Content,Il as DarkSecondaryLink,gt as DateSelect,nr as Divider,J as DocumentCard,cr as Drawer,xt as DropdownSelect,Mt as DropzoneInput,sr as ErrorBoundary,mr as FilterChip,gr as Footer,xr as FooterContent,Ir as FormComponent,_o as FormContainer,lr as FormWrapper,Tr as GroupAvatars,Jr as GroupButtons,Nr as GroupButtonsPopup,tl as GroupStatusCircle,Ar as Header,Wr as HeaderComponent,ll as HyperLink,N as Icon,ie as Image,Lt as ImageUploader,Ke as Label,Ll as LightSecondaryLink,ke as LinkButton,we as Loader,dl as ModalComp,or as MultiColumnDiv,tr as MultiColumnWrapper,Ol as Navbar,Ft as NumericInput,ml as Overlay,Ko as OverlayOptionContainer,Yo as OverlayOptionItemLabel,Oo as PageContent,xl as Pagination,Al as PaginationDefault,Jt as PasswordInput,Be as PrimaryButton,Dl as PrimaryStatusChip,El as ProgressBar,Bl as ProgressSteps,Yt as RadioInput,Vr as Rating,ro as SearchInput,Re as SecondaryButton,Kl as SecondaryStatusChip,Gl as Sidebar,po as SignatureInput,_l as SlimPrimaryStatusChip,oi as SlimSecondaryStatusChip,Yr as StatusCircle,Go as StyledCentralBar,Xo as StyledClearSearch,Uo as StyledCreateRow,Do as StyledRow,Zo as StyledRowSearch,Qo as StyledSearchRow,Jo as StyledWarning,er as SubmitButtonContainer,Rr as SubmitComponent,Br as Table,fo as TextArea,oo as TextInput,So as TimeInput,Pe as TinyButton,ci as ToastProvider,Mo as ToggleSwitch,Xe as Tooltip,mi as Typography,L as defaultStyles,R as defaultThemeColor,P as getDefaultStyles,I as graphColor,H as hexToRGB,B as neutralColor,V as primaryColor,W as shadeColor,M as uiColor,si as useToast};
2922
+ font-size: ${({size:e})=>hi[e].fontSize};
2923
+ line-height: ${({size:e})=>hi[e].lineHeight};
2924
+ `,xi=({size:e,children:o,bg:r,text:l,...i})=>{const n=u()||R;return t.createElement(yi,z({theme:n,bg:r,text:l,size:e},i),t.createElement(Pr,{theme:n}),o)};xi.propTypes={size:e.oneOf(["xs","sm","md","lg"]),text:e.string,bg:e.string,children:e.any,theme:e.object},xi.defaultProps={size:"md"};export{Y as Accordion,$ as AccordionSB,_ as AccordionSBfooter,Ko as ActionContainer,_o as ActionItem,re as ArrowBar,se as Avatar,ge as AvatarSB,ye as AvatarSBfooter,Ae as Banner,Ne as Breadcrumb,Zr as ButtonPopup,j as Card,F as CardRef,rt as CheckBoxInput,nt as ColorInput,qo as Comment,Oo as Content,Rl as DarkSecondaryLink,bt as DateSelect,ar as Divider,J as DocumentCard,sr as Drawer,vt as DropdownSelect,Wt as DropzoneInput,dr as ErrorBoundary,ur as FilterChip,br as Footer,vr as FooterContent,Rr as FormComponent,er as FormContainer,ir as FormWrapper,jr as GroupAvatars,Ur as GroupButtons,Kr as GroupButtonsPopup,ol as GroupStatusCircle,Cr as Header,Ir as HeaderComponent,il as HyperLink,N as Icon,ie as Image,Pt as ImageUploader,Ye as Label,Pl as LightSecondaryLink,ze as LinkButton,we as Loader,pl as ModalComp,rr as MultiColumnDiv,or as MultiColumnWrapper,Zl as Navbar,Ot as NumericInput,ul as Overlay,Yo as OverlayOptionContainer,$o as OverlayOptionItemLabel,Zo as PageContent,vl as Pagination,Cl as PaginationDefault,Ut as PasswordInput,Be as PrimaryButton,Ql as PrimaryStatusChip,kl as ProgressBar,Bl as ProgressSteps,$t as RadioInput,Mr as Rating,lo as SearchInput,Le as SecondaryButton,Yl as SecondaryStatusChip,Jl as Sidebar,mo as SignatureInput,ei as SlimPrimaryStatusChip,ri as SlimSecondaryStatusChip,$r as StatusCircle,Jo as StyledCentralBar,Go as StyledClearSearch,Do as StyledCreateRow,Qo as StyledRow,Xo as StyledRowSearch,No as StyledSearchRow,Uo as StyledWarning,tr as SubmitButtonContainer,Lr as SubmitComponent,li as TabPanel,Br as Table,si as Tabs,ho as TextArea,ro as TextInput,Eo as TimeInput,Te as TinyButton,bi as ToastProvider,Wo as ToggleSwitch,Ge as Tooltip,xi as Typography,L as defaultStyles,R as defaultThemeColor,P as getDefaultStyles,I as graphColor,T as hexToRGB,W as neutralColor,V as primaryColor,B as shadeColor,M as uiColor,fi as useToast};