groundfloor-react-ui 1.2.79 → 1.2.81

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 +260 -211
  2. package/dist/index.js +261 -212
  3. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from"prop-types";import t,{forwardRef as l,useRef as o,useState as r,useEffect as i,createRef as a,Component as n,Fragment as c,createContext as s,useMemo as d,useContext as p}from"react";import m,{useTheme as u,css as b,keyframes as g,createGlobalStyle as f}from"styled-components";import{ReactSVG as h}from"react-svg";import{usePopperTooltip as y}from"react-popper-tooltip";import x from"react-phone-input-2";import v from"dayjs";import"dayjs/locale/es";import C from"react-datepicker";import A,{components as w}from"react-select";import S from"react-select/async";import k from"react-signature-pad-wrapper";import E from"react-data-table-component";import V from"react-modal";import{createPortal as z}from"react-dom";function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},M.apply(this,arguments)}const B={"primary-1":"#2A50FD","primary-2":"#081348"},I={error:"#DD0000",success:"#00B904 "},L={"neutral-1":"#39424D","neutral-2":"#6B747F","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},W={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},R={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},P={white:"#FFFFFF",black:"#000000","text-color":B["primary-2"],border:L["neutral-3"]},H={primary:{...B},ui:{...I},neutral:{...L},shade:{...W},graph:{...R},additional:{...P},variant:{...B,...I,...L,...W,...R,...P}},T={common:{color:"blue","background-color":`${H.additional.white}`},label:{"padding-left":"6px","font-style":"normal","font-weight":"normal","font-size":"14px",display:"flex",width:"inherit","align-items":"flex-start",color:`${H.variant["neutral-2"]}`,"margin-bottom":"0","padding-bottom":"0"},"progressBar-label":{display:"block","margin-bottom":"8px","padding-bottom":"0","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${H.neutral["neutral-2"]}`},spinner:{"background-color":`${H.variant["neutral-1"]}`},avatarContainer:{background:"transparent",display:"flex","align-items":"center",width:"auto",position:"relative"},avatarCircle:{"border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","box-sizing":"border-box"},avatarCircleSM:{"font-weight":"600","font-size":"12px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"16px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"18px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"16px","font-size":"16px"},avatarNameLG:{"margin-left":"16px","font-size":"16px"},"textbox-wrapper":{"border-radius":"4px",padding:"5.5px 7px",display:"flex","align-items":"center","line-height":".5rem",position:"relative"},"input-wrapper":{border:"0",outline:"0",margin:"0 5px",padding:"0px","font-size":"14px","flex-grow":"1","flex-shrink":"0","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},"textarea-wrapper":{border:"0",outline:"0",color:`${H.variant["primary-2"]}`,margin:"0 5px",padding:"5px","font-size":"14px","flex-grow":"1","flex-shrink":"0","line-height":"12px"},"label-text":{"font-style":"normal","font-weight":"normal","font-size":"14px",color:`${H.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:`${H.variant["neutral-5"]}`,borderLeft:`1px solid ${H.variant["neutral-5"]}`,borderRight:`1px headRowsolid ${H.variant["neutral-5"]}`,borderTop:`1px solid ${H.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:`${H.variant.white}`,"&:not(:last-of-type)":{borderBottomColor:"none"},"&:last-of-type":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},borderLeft:`1px solid ${H.variant["neutral-5"]}`,borderRight:`1px solid ${H.variant["neutral-5"]}`,borderBottom:`1px solid ${H.variant["neutral-5"]}`},highlightOnHoverStyle:{backgroundColor:`${H.variant["neutral-5"]}`}}},header:{display:"flex","justify-content":"space-between","align-items":"center",position:"fixed","z-index":"1000",top:"0",right:"0",left:"0","min-height":"56px","margin-left":"48px","font-size":"16px","background-color":`${H.additional.white}`,"border-bottom":`0.5px solid ${H.variant["neutral-3"]}`},content:{"background-color":"#eef1f7",width:"100%","min-height":"100%","padding-top":"53px","box-sizing":"border-box",display:"flex","flex-direction":"column","margin-left":"70px"},"radio-outer-circle":{width:"20px",height:"20px","min-width":"20px","min-height":"20px","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"},"radio-inner-circle":{display:"flex","align-self":"center",margin:"0","border-radius":"50%"},"radio-label":{display:"block","margin-bottom":"8px","padding-bottom":0,color:`${H.variant["neutral-2"]}`},"option-text":{color:"#A9B1B8","font-size":"16px"},sidebarContainer:{"min-height":"100%",overflow:"hidden","background-color":"#2e56f4",position:"fixed",color:"white",width:"48px",transition:"width ease 400ms"},"checkBox-outer":{border:`2px solid ${H.additional.border}`,minWidth:"20px",width:"20px",height:"20px","border-radius":"3px",cursor:"pointer","background-color":`${H.additional.white}`},"checkBox-inner":{"background-repeat":"no-repeat","background-position":"center",minWidth:"20px",width:"20px",height:"20px",color:`${H.additional.white}`,cursor:"pointer","text-align":"center","border-radius":"3px"},"check-label":{display:"block","margin-bottom":"8px","padding-bottom":"0px",color:`${H.variant["neutral-2"]}`},"toggle-switch-wrapper":{display:"inline-flex","align-items":"center",width:"fit-content"},"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:` ${H.textColor}`},"dropzone-file-div":{width:"inherit",height:"38px",display:"flex","justify-content":"center","align-items":"center","font-size":"14px",color:`${H.textColor}`,"background-color":`${H.additional.white}`,"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:`${H.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:`${H.textColor}`,"background-color":`${H.additional.white}`},"signature-wrapper-div":{display:"flex",flex:"auto","justify-content":"center","align-items":"center","font-size":"17px",height:"inherit",color:`${H.textColor}`,"background-color":"transparent"},"signature-input-text":{border:"0","text-align":"center",display:"block",height:"48px",width:"calc(100% - 54px)!important","background-color":`${H.additional.white}`,"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":"flex-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:`${H.textColor}`},footer:{display:"flex","margin-top":"auto",width:"100%"},drawer:{"min-height":"100%",overflow:"hidden",position:"fixed",width:"360px",transition:"transform ease 400ms",display:"flex","flex-direction":"column","background-color":"white","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"56px",right:"0px","z-index":"1001"},"drawer-close":{transform:"translateX(360px)"},"drawer-open":{transform:"translateX(0px)"},"tooltip-container":{"background-color":`${H.additional.white}`,"border-radius":"3.6px",border:`1px solid ${H.additional.white}`,"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 ${H.additional.white} transparent`,"border-width":"0 15px 19px 15px",position:"absolute",top:"-1px"},"tp-cont-bottom-arrow-after":{"border-color":`transparent transparent ${H.additional.white} transparent`,"border-width":"0 15px 19px 15px"},"tp-cont-top-arrow-before":{"border-color":`${H.additional.white} transparent transparent transparent`,"border-width":"19px 15px 0 15px",position:"absolute",top:"1px"},"tp-cont-top-arrow-after":{"border-color":`${H.additional.white} transparent transparent transparent`,"border-width":"19px 15px 0 15px"},"tp-cont-right-arrow-before":{"border-color":`transparent ${H.additional.white} transparent transparent`,"border-width":"15px 19px 15px 0"},"tp-cont-right-arrow-after":{"border-color":`transparent ${H.additional.white} transparent transparent`,"border-width":"15px 19px 15px 0",left:"6px",top:"0"},"tp-cont-left-arrow-before":{"border-color":`transparent transparent transparent ${H.additional.white} `,"border-width":"15px 0 15px 19px"},"tp-cont-left-arrow-after":{"border-color":`transparent transparent transparent ${H.additional.white} `,"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":`${H.additional.white} `,"border-radius":"3.6px",border:`1px solid ${H.additional.white} `,"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":`${H.variant["neutral-1"]} `,"border-radius":"6px",border:`1px solid ${H.variant["neutral-1"]} `,color:`${H.additional.white} `,display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"sidebar-container":{"background-color":"#2e56f4",position:"fixed",color:"white",display:"flex","flex-direction":"column","z-index":"999999"},"sidebar-container-open":{width:"256px"},"sidebar-container-close":{width:"48px"},"sidebar-container-mobile-open":{width:"256px","z-index":"9999999"},"sidebar-container-mobile-close":{width:"0px","z-index":"1001"},"sidebar-pusher":{"min-height":"100%",overflow:"hidden","background-color":"transparent",position:"fixed",transition:"width ease 400ms"},"sidebar-pusher-open":{width:"240px"},"sidebar-pusher-close":{width:"70px"},"sidebar-pusher-mobile":{width:"0px"},"modalComp-custom-style":{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",zIndex:"999"}},"modalComp-modal-close":{position:"absolute",top:"15px",right:"10px",outline:"none",border:"none",background:"transparent",cursor:"pointer"},"modalComp-modal-body":{"margin-top":"20px","margin-bottom":"15px"},"modalComp-modal-footer":{"margin-top":"30px","margin-bottom":"15px",padding:"1rem 3rem 0rem 3rem","&:before":{content:"",position:"fixed",display:"inline-block",left:0,right:0,"margin-top":"-0.9rem","z-index":-1},"selectComp-label-wrapper":{paddingBottom:"10px",display:"flex",width:"25vw"}},"popOver-Content":{padding:"16px",color:"white",width:"226px",borderRadius:"3.6px"},"popOver-header":{marginBottom:"8px",fontWeight:"600"},"popOver-body":{marginBottom:"11.5px"},ColorWrapper:{borderRadius:"4.87px",padding:"8px 21px",display:"flex"},"input-color":{borderRadius:"4px !important",width:"24px !important",height:"24px !important"},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"}},j=(e,t)=>{if(e){let l={};if(e[t]){for(const o in e[t])l[o]=e[t][o],delete e.common[o];for(const t in e.common)l[t]=e.common[t]}return l}};function F(e,t){var l=parseInt(e.slice(1,3),16),o=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return t?"rgba("+l+", "+o+", "+r+", "+t+")":"rgb("+l+", "+o+", "+r+")"}F("#FF0000",.5);const q=m.div`
1
+ import e from"prop-types";import t,{forwardRef as l,useRef as o,useState as r,useEffect as i,createRef as a,Component as n,Fragment as c,createContext as s,useMemo as d,useContext as p}from"react";import m,{useTheme as u,css as b,keyframes as g,createGlobalStyle as f}from"styled-components";import{ReactSVG as h}from"react-svg";import{usePopperTooltip as y}from"react-popper-tooltip";import x from"react-phone-input-2";import v from"dayjs";import"dayjs/locale/es";import C from"react-datepicker";import A,{components as w}from"react-select";import S from"react-select/async";import k from"react-signature-pad-wrapper";import E from"react-data-table-component";import V from"react-modal";import{createPortal as z}from"react-dom";function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},M.apply(this,arguments)}const B={"primary-1":"#2A50FD","primary-2":"#081348"},L={error:"#DD0000",success:"#00B904 "},I={"neutral-1":"#39424D","neutral-2":"#6B747F","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},W={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},R={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},P={white:"#FFFFFF",black:"#000000","text-color":B["primary-2"],border:I["neutral-3"]},H={primary:{...B},ui:{...L},neutral:{...I},shade:{...W},graph:{...R},additional:{...P},variant:{...B,...L,...I,...W,...R,...P}},T={common:{color:"blue","background-color":`${H.additional.white}`},label:{"padding-left":"6px","font-style":"normal","font-weight":"normal","font-size":"14px",display:"flex",width:"inherit","align-items":"flex-start",color:`${H.variant["neutral-2"]}`,"margin-bottom":"0","padding-bottom":"0"},"progressBar-label":{display:"block","margin-bottom":"8px","padding-bottom":"0","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${H.neutral["neutral-2"]}`},spinner:{"background-color":`${H.variant["neutral-1"]}`},avatarContainer:{background:"transparent",display:"flex","align-items":"center",width:"auto",position:"relative"},avatarCircle:{"border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","box-sizing":"border-box"},avatarCircleSM:{"font-weight":"600","font-size":"12px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"16px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"18px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"16px","font-size":"16px"},avatarNameLG:{"margin-left":"16px","font-size":"16px"},"textbox-wrapper":{"border-radius":"4px",padding:"5.5px 7px",display:"flex","align-items":"center","line-height":".5rem",position:"relative"},"input-wrapper":{border:"0",outline:"0",margin:"0 5px",padding:"0px","font-size":"14px","flex-grow":"1","flex-shrink":"0","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},"textarea-wrapper":{border:"0",outline:"0",color:`${H.variant["primary-2"]}`,margin:"0 5px",padding:"5px","font-size":"14px","flex-grow":"1","flex-shrink":"0","line-height":"12px"},"label-text":{"font-style":"normal","font-weight":"normal","font-size":"14px",color:`${H.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:`${H.variant["neutral-5"]}`,borderLeft:`1px solid ${H.variant["neutral-5"]}`,borderRight:`1px headRowsolid ${H.variant["neutral-5"]}`,borderTop:`1px solid ${H.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:`${H.variant.white}`,"&:not(:last-of-type)":{borderBottomColor:"none"},"&:last-of-type":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},borderLeft:`1px solid ${H.variant["neutral-5"]}`,borderRight:`1px solid ${H.variant["neutral-5"]}`,borderBottom:`1px solid ${H.variant["neutral-5"]}`},highlightOnHoverStyle:{backgroundColor:`${H.variant["neutral-5"]}`}}},header:{display:"flex","justify-content":"space-between","align-items":"center",position:"fixed","z-index":"1000",top:"0",right:"0",left:"0","min-height":"56px","margin-left":"48px","font-size":"16px","background-color":`${H.additional.white}`,"border-bottom":`0.5px solid ${H.variant["neutral-3"]}`},content:{"background-color":"#eef1f7",width:"100%","min-height":"100%","padding-top":"53px","box-sizing":"border-box",display:"flex","flex-direction":"column","margin-left":"70px"},"radio-outer-circle":{width:"20px",height:"20px","min-width":"20px","min-height":"20px","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"},"radio-inner-circle":{display:"flex","align-self":"center",margin:"0","border-radius":"50%"},"radio-label":{display:"block","margin-bottom":"8px","padding-bottom":0,color:`${H.variant["neutral-2"]}`},"option-text":{color:"#A9B1B8","font-size":"16px"},sidebarContainer:{"min-height":"100%",overflow:"hidden","background-color":"#2e56f4",position:"fixed",color:"white",width:"48px",transition:"width ease 400ms"},"checkBox-outer":{border:`2px solid ${H.additional.border}`,minWidth:"20px",width:"20px",height:"20px","border-radius":"3px",cursor:"pointer","background-color":`${H.additional.white}`},"checkBox-inner":{"background-repeat":"no-repeat","background-position":"center",minWidth:"20px",width:"20px",height:"20px",color:`${H.additional.white}`,cursor:"pointer","text-align":"center","border-radius":"3px"},"check-label":{display:"block","margin-bottom":"8px","padding-bottom":"0px",color:`${H.variant["neutral-2"]}`},"toggle-switch-wrapper":{display:"inline-flex","align-items":"center",width:"fit-content"},"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:` ${H.textColor}`},"dropzone-file-div":{width:"inherit",height:"38px",display:"flex","justify-content":"center","align-items":"center","font-size":"14px",color:`${H.textColor}`,"background-color":`${H.additional.white}`,"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:`${H.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:`${H.textColor}`,"background-color":`${H.additional.white}`},"signature-wrapper-div":{display:"flex",flex:"auto","justify-content":"center","align-items":"center","font-size":"17px",height:"inherit",color:`${H.textColor}`,"background-color":"transparent"},"signature-input-text":{border:"0","text-align":"center",display:"block",height:"48px",width:"calc(100% - 54px)!important","background-color":`${H.additional.white}`,"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":"flex-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:`${H.textColor}`},footer:{display:"flex","margin-top":"auto",width:"100%"},drawer:{"min-height":"100%",overflow:"hidden",position:"fixed",width:"360px",transition:"transform ease 400ms",display:"flex","flex-direction":"column","background-color":"white","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"56px",right:"0px","z-index":"1001"},"drawer-close":{transform:"translateX(360px)"},"drawer-open":{transform:"translateX(0px)"},"tooltip-container":{"background-color":`${H.additional.white}`,"border-radius":"3.6px",border:`1px solid ${H.additional.white}`,"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 ${H.additional.white} transparent`,"border-width":"0 15px 19px 15px",position:"absolute",top:"-1px"},"tp-cont-bottom-arrow-after":{"border-color":`transparent transparent ${H.additional.white} transparent`,"border-width":"0 15px 19px 15px"},"tp-cont-top-arrow-before":{"border-color":`${H.additional.white} transparent transparent transparent`,"border-width":"19px 15px 0 15px",position:"absolute",top:"1px"},"tp-cont-top-arrow-after":{"border-color":`${H.additional.white} transparent transparent transparent`,"border-width":"19px 15px 0 15px"},"tp-cont-right-arrow-before":{"border-color":`transparent ${H.additional.white} transparent transparent`,"border-width":"15px 19px 15px 0"},"tp-cont-right-arrow-after":{"border-color":`transparent ${H.additional.white} transparent transparent`,"border-width":"15px 19px 15px 0",left:"6px",top:"0"},"tp-cont-left-arrow-before":{"border-color":`transparent transparent transparent ${H.additional.white} `,"border-width":"15px 0 15px 19px"},"tp-cont-left-arrow-after":{"border-color":`transparent transparent transparent ${H.additional.white} `,"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":`${H.additional.white} `,"border-radius":"3.6px",border:`1px solid ${H.additional.white} `,"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":`${H.variant["neutral-1"]} `,"border-radius":"6px",border:`1px solid ${H.variant["neutral-1"]} `,color:`${H.additional.white} `,display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"sidebar-container":{"background-color":"#2e56f4",position:"fixed",color:"white",display:"flex","flex-direction":"column","z-index":"999999"},"sidebar-container-open":{width:"256px"},"sidebar-container-close":{width:"48px"},"sidebar-container-mobile-open":{width:"256px","z-index":"9999999"},"sidebar-container-mobile-close":{width:"0px","z-index":"1001"},"sidebar-pusher":{"min-height":"100%",overflow:"hidden","background-color":"transparent",position:"fixed",transition:"width ease 400ms"},"sidebar-pusher-open":{width:"240px"},"sidebar-pusher-close":{width:"70px"},"sidebar-pusher-mobile":{width:"0px"},"modalComp-custom-style":{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",zIndex:"999"}},"modalComp-modal-close":{position:"absolute",top:"15px",right:"10px",outline:"none",border:"none",background:"transparent",cursor:"pointer"},"modalComp-modal-body":{"margin-top":"20px","margin-bottom":"15px"},"modalComp-modal-footer":{"margin-top":"30px","margin-bottom":"15px",padding:"1rem 3rem 0rem 3rem","&:before":{content:"",position:"fixed",display:"inline-block",left:0,right:0,"margin-top":"-0.9rem","z-index":-1},"selectComp-label-wrapper":{paddingBottom:"10px",display:"flex",width:"25vw"}},"popOver-Content":{padding:"16px",color:"white",width:"226px",borderRadius:"3.6px"},"popOver-header":{marginBottom:"8px",fontWeight:"600"},"popOver-body":{marginBottom:"11.5px"},ColorWrapper:{borderRadius:"4.87px",padding:"8px 21px",display:"flex"},"input-color":{borderRadius:"4px !important",width:"24px !important",height:"24px !important"},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"}},j=(e,t)=>{if(e){let l={};if(e[t]){for(const o in e[t])l[o]=e[t][o],delete e.common[o];for(const t in e.common)l[t]=e.common[t]}return l}};function F(e,t){var l=parseInt(e.slice(1,3),16),o=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return t?"rgba("+l+", "+o+", "+r+", "+t+")":"rgb("+l+", "+o+", "+r+")"}F("#FF0000",.5);const q=m.div`
2
2
  color: ${({activeTheme:e})=>e.additional["text-color"]};
3
3
  padding-top: 25px;
4
4
  padding-bottom: 25px;
@@ -527,13 +527,13 @@ width: ${({size:e})=>e+"px"};
527
527
  animation: ${Me} 1s linear infinite;
528
528
 
529
529
  ${({customStyles:e})=>e}
530
- `,Ie=({size:e,thickness:l,customStyles:o})=>{const r=u()||H;return t.createElement(Be,{theme:r,size:e,thickness:l,customStyles:o})};Ie.propTypes={size:e.number,thickness:e.number,customStyles:e.object},Ie.defaultProps={size:20,thickness:3,customStyles:null};const Le={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},We=m.button`
530
+ `,Le=({size:e,thickness:l,customStyles:o})=>{const r=u()||H;return t.createElement(Be,{theme:r,size:e,thickness:l,customStyles:o})};Le.propTypes={size:e.number,thickness:e.number,customStyles:e.object},Le.defaultProps={size:20,thickness:3,customStyles:null};const Ie={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},We=m.button`
531
531
  background: transparent;
532
532
  color: ${({theme:e})=>e.variant["primary-1"]};
533
- padding: ${({size:e})=>Le[e].padding};
533
+ padding: ${({size:e})=>Ie[e].padding};
534
534
  border: none;
535
535
  border-radius: 5px;
536
- font-size: ${({size:e})=>Le[e].fontSize};
536
+ font-size: ${({size:e})=>Ie[e].fontSize};
537
537
  display: flex;
538
538
  align-items: center;
539
539
  width: ${({block:e})=>e?"100%":"auto"};
@@ -700,7 +700,7 @@ ${({inBuiltCss:e,defaultTooltipBodyStyle:t})=>j(e,t)}
700
700
  ${({inBuiltCss:e,defaultTooltipTriggerStyle:t})=>j(e,t)}
701
701
  // custom styles
702
702
  ${({customTriggerStyle:e})=>e}
703
- `,Qe=({inBuiltCss:e,contentTrigger:l,contentTooltip:o,popperOptionsP:r,settings:i,customStylesTPContainer:a,customStylesTPAbottom:n,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:b,customStylesTPArightBefore:g,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:C,customStylesTPAbefore:A,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:k,customHeaderStyle:E,customBodyStyle:V,customTriggerStyle:z,headerTooltip:B,footerTooltip:I,...L})=>{const W=u()||H,R={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:P,getTooltipProps:j,setTooltipRef:F,setTriggerRef:q,visible:Z}=y({interactive:!0,...i},R);return t.createElement(t.Fragment,null,t.createElement(Ne,{ref:q,inBuiltCss:T,customTriggerStyle:z,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},l),Z&&t.createElement(De,M({inBuiltCss:T,theme:W,ref:F},j({className:"tooltip-container"}),{customStylesTPContainer:a,customStylesTPAbottom:n,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:b,customStylesTPArightBefore:g,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),t.createElement(Ge,M({inBuiltCss:T},P({className:"tooltip-arrow"}),{customStylesTPArrow:C,customStylesTPAbefore:A,customStylesTPAafter:w})),t.createElement(Xe,M({defaultTooltipContentStyle:"popOver-Content",theme:W,inBuiltCss:T},L,{customContentStyle:k}),t.createElement(Je,M({defaultTooltipHeaderStyle:"popOver-header",theme:W,inBuiltCss:T},L,{customHeaderStyle:E}),B),t.createElement(Ue,M({defaultTooltipBodyStyle:"popOver-body",theme:W,inBuiltCss:T},L,{customBodyStyle:V}),o),t.createElement(Ye,null,I))))};Qe.propTypes={contentTrigger:e.any,headerTooltip:e.any,contentTooltip:e.any,footerTooltip:e.any,popperOptionsP:e.object,settings:e.object,customContentStyle:e.object,customHeaderStyle:e.object,customBodyStyle:e.object,customStylesTPContainer:e.object,customStylesTPAbottom:e.object,customStylesTPAbottomBefore:e.object,customStylesTPAbottomAfter:e.object,customStylesTPAtop:e.object,customStylesTPAtopBefore:e.object,customStylesTPAtopAfter:e.object,customStylesTPAright:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object,customStylesTPAleft:e.object,customStylesTPAleftBefore:e.object,customStylesTPAleftAfter:e.object,customStylesTPArrow:e.object,customStylesTPAbefore:e.object,customStylesTPAafter:e.object,customTriggerStyle:e.object},Qe.defaultProps={contentTrigger:t.createElement("div",null,"Trigger"),headerTooltip:"",contentTooltip:"",footerTooltip:t.createElement(qe,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ke=m.div`
703
+ `,Qe=({inBuiltCss:e,contentTrigger:l,contentTooltip:o,popperOptionsP:r,settings:i,customStylesTPContainer:a,customStylesTPAbottom:n,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:b,customStylesTPArightBefore:g,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:C,customStylesTPAbefore:A,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:k,customHeaderStyle:E,customBodyStyle:V,customTriggerStyle:z,headerTooltip:B,footerTooltip:L,...I})=>{const W=u()||H,R={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:P,getTooltipProps:j,setTooltipRef:F,setTriggerRef:q,visible:Z}=y({interactive:!0,...i},R);return t.createElement(t.Fragment,null,t.createElement(Ne,{ref:q,inBuiltCss:T,customTriggerStyle:z,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},l),Z&&t.createElement(De,M({inBuiltCss:T,theme:W,ref:F},j({className:"tooltip-container"}),{customStylesTPContainer:a,customStylesTPAbottom:n,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:b,customStylesTPArightBefore:g,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),t.createElement(Ge,M({inBuiltCss:T},P({className:"tooltip-arrow"}),{customStylesTPArrow:C,customStylesTPAbefore:A,customStylesTPAafter:w})),t.createElement(Xe,M({defaultTooltipContentStyle:"popOver-Content",theme:W,inBuiltCss:T},I,{customContentStyle:k}),t.createElement(Je,M({defaultTooltipHeaderStyle:"popOver-header",theme:W,inBuiltCss:T},I,{customHeaderStyle:E}),B),t.createElement(Ue,M({defaultTooltipBodyStyle:"popOver-body",theme:W,inBuiltCss:T},I,{customBodyStyle:V}),o),t.createElement(Ye,null,L))))};Qe.propTypes={contentTrigger:e.any,headerTooltip:e.any,contentTooltip:e.any,footerTooltip:e.any,popperOptionsP:e.object,settings:e.object,customContentStyle:e.object,customHeaderStyle:e.object,customBodyStyle:e.object,customStylesTPContainer:e.object,customStylesTPAbottom:e.object,customStylesTPAbottomBefore:e.object,customStylesTPAbottomAfter:e.object,customStylesTPAtop:e.object,customStylesTPAtopBefore:e.object,customStylesTPAtopAfter:e.object,customStylesTPAright:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object,customStylesTPAleft:e.object,customStylesTPAleftBefore:e.object,customStylesTPAleftAfter:e.object,customStylesTPArrow:e.object,customStylesTPAbefore:e.object,customStylesTPAafter:e.object,customTriggerStyle:e.object},Qe.defaultProps={contentTrigger:t.createElement("div",null,"Trigger"),headerTooltip:"",contentTooltip:"",footerTooltip:t.createElement(qe,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ke=m.div`
704
704
  background: transparent;
705
705
  color: ${({theme:e,variant:t})=>e.variant[t]};
706
706
  font-size: ${({isPrimary:e})=>e?"16px":"14px"};
@@ -774,13 +774,62 @@ ${({customTriggerStyle:e})=>e}
774
774
  display: flex;
775
775
  margin-bottom: 15px;
776
776
  position: relative;
777
- `,tt=({wrap:e,block:l,style:a,variant:n,variantSeparator:c,appLogo:s,separator:d,items:p,onClick:m,isPrimary:b,collapse:g,folderIcon:f,folderIconProps:h,iconMargin:y,...x})=>{const v=u()||H,C=o(null),[A,w]=r(void 0),S=()=>{w(C?.current?.scrollWidth<C?.current?.offsetWidth)};i((()=>{S()}),[p]),i((()=>{if(!e)return window.addEventListener("resize",S),()=>window.removeEventListener("resize",S)}),[]);const k=p.map(((e,l)=>t.createElement($e,{key:l},0!==l||s?t.createElement("div",{className:"breadcrumb-icon-separator"},d):null,t.createElement(_e,{id:e.id,theme:v,onClick:()=>{e.href&&m(e.href)},variant:n,href:e.href,"data-title":e.label},e.label))));let E,V;we().width<500?(E=2,V=p.slice(-1)):(E=4,V=p.slice(-3));const z=V.map(((e,l)=>t.createElement($e,{key:p.length-3},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(_e,{id:e.id,theme:v,onClick:()=>{e.href&&m(e.href)},variant:n,href:e.href,"data-title":e.label},e.label)))),B=p.slice(1,p.length-(E-1)).map(((e,l)=>t.createElement(et,{key:l},f?t.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},t.createElement($,M({icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"},h))):null,t.createElement(_e,{id:e.id,theme:v,onClick:()=>{e.href&&m(e.href)},variant:n,href:e.href,"data-title":e.label},e.label)))),I=p?1==g?p.length<=E?k:t.createElement(t.Fragment,null,t.createElement($e,{key:0},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(_e,{id:p[0].id,theme:v,onClick:()=>{p[0].href&&m(p[0].href)},variant:n,href:p[0].href,"data-title":p[0].label},p[0].label)),t.createElement($e,null,t.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},d),t.createElement(Qe,{contentTrigger:t.createElement($,{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,B),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"}})),z):k:null;return t.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},t.createElement("div",{style:{display:"flex",position:"absolute"}},t.createElement(Ke,M({theme:v,isWrap:e,ref:e?null:C,isBreadcrumbVisible:A,block:l,variant:n,variantSeparator:c,style:a,isPrimary:b,iconMargin:y},x),s&&t.createElement("div",{className:"breadcrumb-icon"},s),I)))};tt.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,iconMargin:e.string},tt.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const lt=m.label`
777
+ `,tt=({wrap:e,block:l,style:a,variant:n,variantSeparator:c,appLogo:s,separator:d,items:p,onClick:m,isPrimary:b,collapse:g,folderIcon:f,folderIconProps:h,iconMargin:y,...x})=>{const v=u()||H,C=o(null),[A,w]=r(void 0),S=()=>{w(C?.current?.scrollWidth<C?.current?.offsetWidth)};i((()=>{S()}),[p]),i((()=>{if(!e)return window.addEventListener("resize",S),()=>window.removeEventListener("resize",S)}),[]);const k=p.map(((e,l)=>t.createElement($e,{key:l},0!==l||s?t.createElement("div",{className:"breadcrumb-icon-separator"},d):null,t.createElement(_e,{id:e.id,theme:v,onClick:()=>{e.href&&m(e.href)},variant:n,href:e.href,"data-title":e.label},e.label))));let E,V;we().width<500?(E=2,V=p.slice(-1)):(E=4,V=p.slice(-3));const z=V.map(((e,l)=>t.createElement($e,{key:p.length-3},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(_e,{id:e.id,theme:v,onClick:()=>{e.href&&m(e.href)},variant:n,href:e.href,"data-title":e.label},e.label)))),B=p.slice(1,p.length-(E-1)).map(((e,l)=>t.createElement(et,{key:l},f?t.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},t.createElement($,M({icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"},h))):null,t.createElement(_e,{id:e.id,theme:v,onClick:()=>{e.href&&m(e.href)},variant:n,href:e.href,"data-title":e.label},e.label)))),L=p?1==g?p.length<=E?k:t.createElement(t.Fragment,null,t.createElement($e,{key:0},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(_e,{id:p[0].id,theme:v,onClick:()=>{p[0].href&&m(p[0].href)},variant:n,href:p[0].href,"data-title":p[0].label},p[0].label)),t.createElement($e,null,t.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},d),t.createElement(Qe,{contentTrigger:t.createElement($,{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,B),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"}})),z):k:null;return t.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},t.createElement("div",{style:{display:"flex",position:"absolute"}},t.createElement(Ke,M({theme:v,isWrap:e,ref:e?null:C,isBreadcrumbVisible:A,block:l,variant:n,variantSeparator:c,style:a,isPrimary:b,iconMargin:y},x),s&&t.createElement("div",{className:"breadcrumb-icon"},s),L)))};tt.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,iconMargin:e.string},tt.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const lt=m.label`
778
778
  //Set the styles from the default styles object
779
779
  ${({theme:e,type:t})=>j(e,t)}
780
780
 
781
781
  // custom styles
782
782
  ${({customStyles:e})=>e}
783
783
  `,ot=({customStyles:e,text:l,className:o,required:r,...i})=>{const a=T;return t.createElement(lt,M({required:r,theme:a,customStyles:e,type:"label"},i),l,r&&t.createElement("div",{style:{marginLeft:"4px",color:`${H.variant.error}`}},"*"))};ot.propTypes={customStyles:e.object,text:e.string},ot.defaultProps={text:""};const rt=m.div`
784
+ display: flex;
785
+ flex-direction: column;
786
+ ${({containerStyle:e})=>e};
787
+ `,it=m.div`
788
+ display: flex;
789
+ flex-wrap: wrap;
790
+ align-items: baseline;
791
+ border-radius: 4px;
792
+ padding: 8px;
793
+ border: none;
794
+ outline: none;
795
+ ${({inputContainerStyle:e})=>e};
796
+ `,at=m.div`
797
+ background-color: ${({theme:e})=>e.variant["selection-bg"]};
798
+ color: ${({theme:e})=>e.variant["neutral-1"]} ;
799
+ border-radius: 4px;
800
+ padding: 4px 8px;
801
+ margin-right: 8px;
802
+ margin-bottom: 8px;
803
+ display: flex;
804
+ align-items: center;
805
+
806
+ &:hover {
807
+ cursor: pointer;
808
+ }
809
+ `,nt=m.span`
810
+ margin-right: 8px;
811
+ word-break: break-all;
812
+ `,ct=m.input`
813
+ flex-grow: 1;
814
+ padding: 0;
815
+ border: none;
816
+ outline: none;
817
+ margin-right: 8px;
818
+ font-size: inherit;
819
+ color: ${({theme:e})=>e.variant["neutral-1"]};
820
+ background-color: transparent;
821
+
822
+ &:focus {
823
+ outline: none;
824
+ }
825
+
826
+ &::placeholder {
827
+ color: ${({theme:e})=>e.variant["neutral-3"]};
828
+ }
829
+ `,st=m.span`
830
+ color: ${({theme:e})=>e.variant.error};
831
+ ${({errorTextStyle:e})=>e};
832
+ `,dt=({listChips:e,setListChips:l,currentChip:o,setCurrentChip:a,chipListString:n,placeholder:c,validationCheck:s,errorMsg:d,handleBlurProps:p,label:m,labelCusTomStyles:b,containerStyle:g,inputContainerStyle:f,errorTextStyle:h,...y})=>{let x=n?n.split(","):e||[];const[v,C]=r(x),[A,w]=r(o),[S,k]=r(""),E=u()||H;i((()=>{C(x)}),[]);return t.createElement(rt,{theme:E,containerStyle:g},t.createElement(it,{inputContainerStyle:f},t.createElement(ot,{text:m,customStyles:b}),v.map(((e,l)=>t.createElement(at,{theme:E,key:e+`${l}`,onClick:()=>(e=>{const t=[...v];t.splice(e,1),C(t),k("")})(l)},t.createElement(nt,null,e)))),t.createElement(ct,{type:"text",placeholder:c,value:A,onKeyDown:e=>{let t=s(A,v);"Enter"===e.key||","===e.key?(e.preventDefault(),t?A.trim()&&(C([...v,A.trim()]),w(""),k("")):k(d)):"Backspace"!==e.key||A||C(v.slice(0,-1))},onChange:e=>{w(e.target.value),k("")},theme:E,onBlur:()=>{const e=s(A,v);if(e&&A.trim()){const e=[...v,A.trim()];p(e.join(",")),C(e),w("")}else e||k(d)}})),S&&t.createElement(st,{errorTextStyle:h,theme:E},S))};dt.propTypes={listChips:e.arrayOf(e.string),setListChips:e.func,chipListString:e.string,currentChip:e.string,setCurrentChip:e.func,placeholder:e.string,validationCheck:e.func.isRequired,errorMsg:e.string,label:e.string,labelCusTomStyles:e.object,containerStyle:e.object,inputContainerStyle:e.object,errorTextStyle:e.object},dt.defaultProps={listChips:[],setListChips:()=>{},currentChip:"",setCurrentChip:()=>{},placeholder:"",errorMsg:"Please enter a valid email address",label:"From:",labelCusTomStyles:{},containerStyle:{},inputContainerStyle:{},errorTextStyle:{}};const pt=m.div`
784
833
  box-sizing: initial;
785
834
 
786
835
  //Set the styles from the default styles object
@@ -791,7 +840,7 @@ ${({customTriggerStyle:e})=>e}
791
840
 
792
841
  // custom styles
793
842
  ${({checkBoxOuterStyle:e})=>e}
794
- `;rt.defaultProps={theme:H};const it=m.div`
843
+ `;pt.defaultProps={theme:H};const mt=m.div`
795
844
  box-sizing: initial;
796
845
 
797
846
  //Set the styles from the default styles object
@@ -806,7 +855,7 @@ ${({customTriggerStyle:e})=>e}
806
855
  align-items: center;
807
856
  // custom styles
808
857
  ${({checkBoxInnerStyle:e})=>e}
809
- `;it.defaultProps={theme:H};const at=m.span`
858
+ `;mt.defaultProps={theme:H};const ut=m.span`
810
859
  word-break: break-word;
811
860
 
812
861
  //Set the styles from the default styles object
@@ -818,7 +867,7 @@ ${({customTriggerStyle:e})=>e}
818
867
 
819
868
  // custom styles
820
869
  ${({optionTextStyle:e})=>e}
821
- `;at.defaultProps={theme:H};const nt=m.label`
870
+ `;ut.defaultProps={theme:H};const bt=m.label`
822
871
  width: fit-content;
823
872
  margin-bottom: ${({inline:e})=>e?"":"18px !important"};
824
873
  cursor: pointer;
@@ -828,10 +877,10 @@ ${({customTriggerStyle:e})=>e}
828
877
 
829
878
  // custom styles
830
879
  ${({wrapperStyles:e})=>e}
831
- `,ct=m.div`
880
+ `,gt=m.div`
832
881
  flex-direction: ${({inline:e})=>e?"row":"column"};
833
882
  width: ${({inline:e})=>e?"initial":"auto"};
834
- `,st=({getCheckedArr:e,checkBoxOuterStyle:l,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:a,defaultTextColor:n,checkedTextColor:c,checkedCheckBoxColor:s,labelStyle:d,label:p,options:m,setOptions:b,wrapperStyles:g,inline:f,wrapperStyle:h,isRequired:y,...x})=>{const v=u()||H;i((()=>{C(m)}),[]);const C=t=>{let l=t.filter((e=>!1!==e.checked));e(l)},A=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return t.createElement("div",M({style:A},x),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({customStyles:d,type:"check-label",text:p},x)),y&&t.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),t.createElement(ct,M({style:{display:"flex",flexWrap:"wrap"},inline:f},x),m?.map(((e,i)=>t.createElement(nt,M({inline:f,id:e.id,key:`${e.name}-${i}`,onClick:()=>{!e.disabled&&((e,t)=>{let l=[...m];l[t].checked=!e.checked,b(l),C(l)})(e,i)},wrapperStyles:g},x),e.checked?t.createElement(it,M({theme:v,inBuiltCss:T,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:a,checkedCheckBoxColor:s,checked:e.checked},x),t.createElement($,{icon:"check-icon",size:18,color:"white"})):t.createElement(rt,M({inBuiltCss:T,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...l,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:a,theme:v},x)),t.createElement(at,{theme:v,inline:f,optionTextStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:n,checkedTextColor:c},e.label))))))};st.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},st.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const dt=m.div`
883
+ `,ft=({getCheckedArr:e,checkBoxOuterStyle:l,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:a,defaultTextColor:n,checkedTextColor:c,checkedCheckBoxColor:s,labelStyle:d,label:p,options:m,setOptions:b,wrapperStyles:g,inline:f,wrapperStyle:h,isRequired:y,...x})=>{const v=u()||H;i((()=>{C(m)}),[]);const C=t=>{let l=t.filter((e=>!1!==e.checked));e(l)},A=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return t.createElement("div",M({style:A},x),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({customStyles:d,type:"check-label",text:p},x)),y&&t.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),t.createElement(gt,M({style:{display:"flex",flexWrap:"wrap"},inline:f},x),m?.map(((e,i)=>t.createElement(bt,M({inline:f,id:e.id,key:`${e.name}-${i}`,onClick:()=>{!e.disabled&&((e,t)=>{let l=[...m];l[t].checked=!e.checked,b(l),C(l)})(e,i)},wrapperStyles:g},x),e.checked?t.createElement(mt,M({theme:v,inBuiltCss:T,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:a,checkedCheckBoxColor:s,checked:e.checked},x),t.createElement($,{icon:"check-icon",size:18,color:"white"})):t.createElement(pt,M({inBuiltCss:T,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...l,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:a,theme:v},x)),t.createElement(ut,{theme:v,inline:f,optionTextStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:n,checkedTextColor:c},e.label))))))};ft.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},ft.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const ht=m.div`
835
884
  border: 1px solid ${({theme:e})=>e.variant["neutral-4"]};
836
885
  background-color: ${({theme:e})=>e.additional.white};
837
886
 
@@ -843,7 +892,7 @@ ${({inBuiltCss:e,defaultColorWrapperStyle:t})=>j(e,t)}
843
892
  // custom styles
844
893
  ${({customColorWrapperStyle:e})=>e}
845
894
 
846
- `,pt=m.input`
895
+ `,yt=m.input`
847
896
 
848
897
  border: 0.5px solid ${({theme:e})=>e.variant["neutral-4"]} !important;
849
898
  box-shadow: 0px 5px 37px rgba(56, 66, 100, 0.0880136);
@@ -864,11 +913,11 @@ background-color: ${({value:e})=>e};
864
913
  ${({inBuiltCss:e,defaultInputColorStyle:t})=>j(e,t)}
865
914
  // custom styles
866
915
  ${({customInputColorStyle:e})=>e}
867
- `,mt=({label:e,labelStyle:l,value:o,setValue:r,customInputColorStyle:i,customColorWrapperStyle:a,id:n,...c})=>{const s=u()||H;return t.createElement(dt,M({customColorWrapperStyle:a,defaultColorWrapperStyle:"ColorWrapper",theme:s,inBuiltCss:T},c),t.createElement(pt,M({id:n,customInputColorStyle:i,defaultInputColorStyle:"input-color",inBuiltCss:T,theme:s},c,{type:"color",value:o,onChange:e=>{r(e.target.value)}})),t.createElement(ot,M({themeColor:H,customStyles:l,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};mt.propTypes={label:e.string,labelStyle:e.object,value:e.string,setValue:e.func,customInputColorStyle:e.object,customColorWrapperStyle:e.object,id:e.string},mt.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const ut=b`
916
+ `,xt=({label:e,labelStyle:l,value:o,setValue:r,customInputColorStyle:i,customColorWrapperStyle:a,id:n,...c})=>{const s=u()||H;return t.createElement(ht,M({customColorWrapperStyle:a,defaultColorWrapperStyle:"ColorWrapper",theme:s,inBuiltCss:T},c),t.createElement(yt,M({id:n,customInputColorStyle:i,defaultInputColorStyle:"input-color",inBuiltCss:T,theme:s},c,{type:"color",value:o,onChange:e=>{r(e.target.value)}})),t.createElement(ot,M({themeColor:H,customStyles:l,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};xt.propTypes={label:e.string,labelStyle:e.object,value:e.string,setValue:e.func,customInputColorStyle:e.object,customColorWrapperStyle:e.object,id:e.string},xt.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const vt=b`
868
917
  display: flex;
869
918
  gap: 7px;
870
919
  align-items: center;
871
- `,bt=m.div`
920
+ `,Ct=m.div`
872
921
  .react-tel-input {
873
922
  border: 1px solid ${({theme:e})=>e.additional.border};
874
923
  cursor: default;
@@ -914,11 +963,11 @@ ${({customInputColorStyle:e})=>e}
914
963
  input:placeholder-shown {
915
964
  text-overflow: ellipsis;
916
965
  }
917
- ${({labelInline:e})=>e?ut:null}
966
+ ${({labelInline:e})=>e?vt:null}
918
967
 
919
968
  // custom styles
920
969
  ${({wrapperStyle:e})=>e}
921
- `,gt=({labelProps:e,formProps:l,country:i,regions:a,countryCodeEditable:n,isDisabled:c})=>{const s=o(null),d=u()||H,[p,m]=r(""),[b,g]=r(""),f={label:"",required:!1,labelStyle:{},...e};return t.createElement(bt,M({theme:d},l),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({style:{display:"flex",marginBottom:`${l?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"}},f))),t.createElement(x,{required:f.required,theme:d,disabled:c,disableCountryGuess:!0,ref:s,country:i||null,countryCodeEditable:n,regions:a,value:p,alwaysDefaultMask:!1,placeholder:b,onChange:(e,t,l,o)=>{let r="";if(0!==Object.keys(t).length){let e,l;t.format.split(" ").map(((o,i)=>{0===i?(e=`+${t.dialCode}`,r=e):(l=o.replace(/\./g,"X"),r=`${r} ${l}`)}))}m(e),g(r)}}))};gt.propTypes={regions:e.array,labelProps:e.object,formProps:e.object,countryCodeEditable:e.bool,country:e.string,isDisabled:e.bool},gt.defaultProps={labelProps:{},country:"ca",regions:["america"],countryCodeEditable:!1,isDisabled:!1};const ft=m.div`
970
+ `,At=({labelProps:e,formProps:l,country:i,regions:a,countryCodeEditable:n,isDisabled:c})=>{const s=o(null),d=u()||H,[p,m]=r(""),[b,g]=r(""),f={label:"",required:!1,labelStyle:{},...e};return t.createElement(Ct,M({theme:d},l),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({style:{display:"flex",marginBottom:`${l?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"}},f))),t.createElement(x,{required:f.required,theme:d,disabled:c,disableCountryGuess:!0,ref:s,country:i||null,countryCodeEditable:n,regions:a,value:p,alwaysDefaultMask:!1,placeholder:b,onChange:(e,t,l,o)=>{let r="";if(0!==Object.keys(t).length){let e,l;t.format.split(" ").map(((o,i)=>{0===i?(e=`+${t.dialCode}`,r=e):(l=o.replace(/\./g,"X"),r=`${r} ${l}`)}))}m(e),g(r)}}))};At.propTypes={regions:e.array,labelProps:e.object,formProps:e.object,countryCodeEditable:e.bool,country:e.string,isDisabled:e.bool},At.defaultProps={labelProps:{},country:"ca",regions:["america"],countryCodeEditable:!1,isDisabled:!1};const wt=m.div`
922
971
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
923
972
  .react-datepicker__tab-loop {
924
973
  position: absolute;
@@ -1074,24 +1123,24 @@ ${({customInputColorStyle:e})=>e}
1074
1123
 
1075
1124
  // custom styles
1076
1125
  ${({wrapperStyle:e})=>e};
1077
- `,ht=m.div`
1126
+ `,St=m.div`
1078
1127
  display: flex;
1079
1128
  align-items: flex-start;
1080
1129
  justify-content: center;
1081
1130
  font-size: 16px;
1082
1131
  padding-top: 12px;
1083
1132
  padding-bottom: 15px;
1084
- `,yt=m.div`
1133
+ `,kt=m.div`
1085
1134
  display: flex;
1086
1135
  justify-content: center;
1087
1136
  margin-left: 6px;
1088
- `,xt=m("div")`
1137
+ `,Et=m("div")`
1089
1138
  width: inherit;
1090
- `,vt=m("div")`
1139
+ `,Vt=m("div")`
1091
1140
  display: flex;
1092
1141
  flex-direction: row;
1093
1142
  cursor: pointer;
1094
- `,Ct=m("div")`
1143
+ `,zt=m("div")`
1095
1144
  margin-top: 8px;
1096
1145
  position: absolute;
1097
1146
  z-index: 100;
@@ -1102,7 +1151,7 @@ ${({customInputColorStyle:e})=>e}
1102
1151
  background: white;
1103
1152
  box-shadow: 0px 6px 20px rgb(56 66 100 / 15%);
1104
1153
  border-radius: 4px;
1105
- `,At=m("ul")`
1154
+ `,Mt=m("ul")`
1106
1155
  list-style: none;
1107
1156
  padding: 0;
1108
1157
  margin: 12px;
@@ -1128,7 +1177,7 @@ ${({customInputColorStyle:e})=>e}
1128
1177
  background-color: ${({theme:e})=>e.variant["neutral-4"]};
1129
1178
  border-radius: 10px;
1130
1179
  }
1131
- `,wt=m("li")`
1180
+ `,Bt=m("li")`
1132
1181
  text-align: left;
1133
1182
  font-style: normal;
1134
1183
  font-weight: normal;
@@ -1137,9 +1186,9 @@ ${({customInputColorStyle:e})=>e}
1137
1186
  padding-left: 12px;
1138
1187
  padding-bottom: 12px;
1139
1188
  cursor: pointer;
1140
- `,St=m.div`
1189
+ `,Lt=m.div`
1141
1190
  width: 100%;
1142
- `,kt=m.button`
1191
+ `,It=m.button`
1143
1192
  background-color: ${({theme:e,disabled:t})=>t?e.variant["secondary-5"]:e.additional.white};
1144
1193
  padding: 5.5px 12px;
1145
1194
  padding-right: 7px;
@@ -1159,14 +1208,14 @@ ${({customInputColorStyle:e})=>e}
1159
1208
 
1160
1209
  // custom styles
1161
1210
  ${({timeBtnStyle:e})=>e};
1162
- `,Et=m.span`
1211
+ `,Wt=m.span`
1163
1212
  margin-top: -1px;
1164
1213
  margin-left: 7px;
1165
1214
  float: right;
1166
1215
 
1167
1216
  // custom styles
1168
1217
  ${({customIconContainerStyle:e})=>e};
1169
- `,Vt=["January","February","March","April","May","June","July","August","September","October","November","December"],zt=({selectedDate:e,setSelectedDate:l,disabled:a,startYear:n,endYearRange:c,format:s,customIconContainerStyle:d,placeHolder:p,value:m,timeBtnStyle:b,onClick:g,onChange:f,wrapperStyle:h,iconProps:y,labelProps:x,...A})=>{const w=u()||H;let S=[],k=c||10;for(let e=n||(new Date).getFullYear();e<=(new Date).getFullYear()+k;e++)S.push(e);const E=o(null),V=o(null),[z,B]=r(!1),[I,L]=r(!1),[W,R]=r(!1),[P,T]=r(!1),[j,F]=r(e.getFullYear()),[q,Z]=r(Vt[e.getMonth()]);i((()=>{Z(Vt[e.getMonth()]),F(e.getFullYear())}),[e]),i((()=>(O(document,"click","add",D(E,(()=>B(!1)))),O(document,"click","add",D(V,(()=>L(!1)))),()=>{O(document,"click","remove",D(E,(()=>B(!1)))),O(document,"click","remove",D(V,(()=>L(!1))))})),[]);const O=(e,t,l,o,r)=>{"add"===l?e.addEventListener(t,o,r||!1):e.removeEventListener(t,o,r||!1)},D=(e,t)=>l=>{e.current&&!e.current.contains(l.target)&&t()},G={icon:"calender",color:"black",size:"16",...y};return t.createElement(ft,M({disabled:a,theme:w},A,{wrapperStyle:h}),t.createElement(ot,M({customStyles:{marginBottom:"7px",padding:0}},x)),t.createElement(C,M({selected:m===e?e:m,useWeekdaysShort:!0,onChange:e=>{l(e),f(e)},adjustDateOnChange:!0,disabled:a,dropdownMode:"select",customInput:t.createElement(St,{value:m,onClick:g,placeholder:p,theme:w},t.createElement(kt,M({theme:w,value:m,onClick:g,timeBtnStyle:b},A),t.createElement("div",null,m?v(m).format(s||"DD/MM/YYYY"):p||"select a date"),t.createElement(Et,M({theme:w},A,{customIconContainerStyle:d,className:"input-icon"}),G.icon?t.createElement($,G):null))),renderCustomHeader:({date:e,changeYear:l,changeMonth:o})=>t.createElement(ht,null,t.createElement("div",{style:{display:"flex"}},t.createElement(xt,{ref:E},t.createElement(vt,{onClick:()=>{B(!z),L(!1)}},t.createElement("span",{onMouseEnter:()=>R(!0),onMouseLeave:()=>R(!1),style:{color:`${W?w.variant["primary-1"]:w.additional["text-color"]}`}},Vt[e.getMonth()]),t.createElement(yt,null,t.createElement($,{icon:"triangle-down",color:W?w.variant["primary-1"]:w.additional["text-color"],size:7}))),z&&t.createElement(Ct,null,t.createElement(At,{theme:w,onMouseEnter:()=>R(!0)},Vt.map(((e,l)=>t.createElement(wt,{selectedMonth:q,onClick:()=>{R(!1),o(l),B(!1),Z(Vt[l])},key:Math.random()},t.createElement("span",{style:{color:`${q===e?w.variant["primary-1"]:w.additional["text-color"]}`}},e))))))),t.createElement(xt,{ref:V},t.createElement(vt,{style:{marginLeft:"28px"},onClick:()=>{L(!I),B(!1)}},t.createElement("span",{onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),style:{color:`${P?w.variant["primary-1"]:w.additional["text-color"]}`}},e.getFullYear()),t.createElement(yt,null,t.createElement($,{icon:"triangle-down",color:P?w.variant["primary-1"]:w.additional["text-color"],size:7}))),I&&t.createElement(Ct,null,t.createElement(At,{onMouseEnter:()=>T(!0),theme:w},S.map(((e,o)=>t.createElement(wt,{onClick:()=>{T(!1),l(e),F(e),L(!1)},key:Math.random()+o},t.createElement("span",{style:{color:`${j===e?w.variant["primary-1"]:w.additional["text-color"]}`}},e)))))))))},A)))};zt.propTypes={selectedDate:e.any,setSelectedDate:e.func,disabled:e.bool,startYear:e.number,endYearRange:e.number,format:e.string,placeHolder:e.string,onChange:e.func,timeBtnStyle:e.object,wrapperStyle:e.object,customIconContainerStyle:e.object,iconProps:e.object,value:e.any,onClick:e.func,labelProps:e.object},zt.defaultProps={selectedDate:new Date,setSelectedDate:()=>{},disabled:!1,onChange:()=>{},value:"",onClick:()=>{}};const Mt=m.div`
1218
+ `,Rt=["January","February","March","April","May","June","July","August","September","October","November","December"],Pt=({selectedDate:e,setSelectedDate:l,disabled:a,startYear:n,endYearRange:c,format:s,customIconContainerStyle:d,placeHolder:p,value:m,timeBtnStyle:b,onClick:g,onChange:f,wrapperStyle:h,iconProps:y,labelProps:x,...A})=>{const w=u()||H;let S=[],k=c||10;for(let e=n||(new Date).getFullYear();e<=(new Date).getFullYear()+k;e++)S.push(e);const E=o(null),V=o(null),[z,B]=r(!1),[L,I]=r(!1),[W,R]=r(!1),[P,T]=r(!1),[j,F]=r(e.getFullYear()),[q,Z]=r(Rt[e.getMonth()]);i((()=>{Z(Rt[e.getMonth()]),F(e.getFullYear())}),[e]),i((()=>(O(document,"click","add",D(E,(()=>B(!1)))),O(document,"click","add",D(V,(()=>I(!1)))),()=>{O(document,"click","remove",D(E,(()=>B(!1)))),O(document,"click","remove",D(V,(()=>I(!1))))})),[]);const O=(e,t,l,o,r)=>{"add"===l?e.addEventListener(t,o,r||!1):e.removeEventListener(t,o,r||!1)},D=(e,t)=>l=>{e.current&&!e.current.contains(l.target)&&t()},G={icon:"calender",color:"black",size:"16",...y};return t.createElement(wt,M({disabled:a,theme:w},A,{wrapperStyle:h}),t.createElement(ot,M({customStyles:{marginBottom:"7px",padding:0}},x)),t.createElement(C,M({selected:m===e?e:m,useWeekdaysShort:!0,onChange:e=>{l(e),f(e)},adjustDateOnChange:!0,disabled:a,dropdownMode:"select",customInput:t.createElement(Lt,{value:m,onClick:g,placeholder:p,theme:w},t.createElement(It,M({theme:w,value:m,onClick:g,timeBtnStyle:b},A),t.createElement("div",null,m?v(m).format(s||"DD/MM/YYYY"):p||"select a date"),t.createElement(Wt,M({theme:w},A,{customIconContainerStyle:d,className:"input-icon"}),G.icon?t.createElement($,G):null))),renderCustomHeader:({date:e,changeYear:l,changeMonth:o})=>t.createElement(St,null,t.createElement("div",{style:{display:"flex"}},t.createElement(Et,{ref:E},t.createElement(Vt,{onClick:()=>{B(!z),I(!1)}},t.createElement("span",{onMouseEnter:()=>R(!0),onMouseLeave:()=>R(!1),style:{color:`${W?w.variant["primary-1"]:w.additional["text-color"]}`}},Rt[e.getMonth()]),t.createElement(kt,null,t.createElement($,{icon:"triangle-down",color:W?w.variant["primary-1"]:w.additional["text-color"],size:7}))),z&&t.createElement(zt,null,t.createElement(Mt,{theme:w,onMouseEnter:()=>R(!0)},Rt.map(((e,l)=>t.createElement(Bt,{selectedMonth:q,onClick:()=>{R(!1),o(l),B(!1),Z(Rt[l])},key:Math.random()},t.createElement("span",{style:{color:`${q===e?w.variant["primary-1"]:w.additional["text-color"]}`}},e))))))),t.createElement(Et,{ref:V},t.createElement(Vt,{style:{marginLeft:"28px"},onClick:()=>{I(!L),B(!1)}},t.createElement("span",{onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),style:{color:`${P?w.variant["primary-1"]:w.additional["text-color"]}`}},e.getFullYear()),t.createElement(kt,null,t.createElement($,{icon:"triangle-down",color:P?w.variant["primary-1"]:w.additional["text-color"],size:7}))),L&&t.createElement(zt,null,t.createElement(Mt,{onMouseEnter:()=>T(!0),theme:w},S.map(((e,o)=>t.createElement(Bt,{onClick:()=>{T(!1),l(e),F(e),I(!1)},key:Math.random()+o},t.createElement("span",{style:{color:`${j===e?w.variant["primary-1"]:w.additional["text-color"]}`}},e)))))))))},A)))};Pt.propTypes={selectedDate:e.any,setSelectedDate:e.func,disabled:e.bool,startYear:e.number,endYearRange:e.number,format:e.string,placeHolder:e.string,onChange:e.func,timeBtnStyle:e.object,wrapperStyle:e.object,customIconContainerStyle:e.object,iconProps:e.object,value:e.any,onClick:e.func,labelProps:e.object},Pt.defaultProps={selectedDate:new Date,setSelectedDate:()=>{},disabled:!1,onChange:()=>{},value:"",onClick:()=>{}};const Ht=m.div`
1170
1219
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1171
1220
  .react-datepicker__tab-loop{
1172
1221
  position: absolute;
@@ -1241,7 +1290,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1241
1290
 
1242
1291
  // custom styles
1243
1292
  ${({wrapperStyle:e})=>e};
1244
- `,Bt=m.div``,It=m.button`
1293
+ `,Tt=m.div``,jt=m.button`
1245
1294
  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1246
1295
  background-color: ${({theme:e,disabled:t})=>t?e.variant["neutral-5"]:e.additional.white};
1247
1296
  padding: 5.5px 12px;
@@ -1261,7 +1310,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1261
1310
 
1262
1311
  // custom styles
1263
1312
  ${({timeBtnStyle:e})=>e};
1264
- `,Lt=m.div`
1313
+ `,Ft=m.div`
1265
1314
  display: flex;
1266
1315
  align-items: center;
1267
1316
  justify-content: ${({inputType:e})=>"year"!==e?"space-between":"center"};
@@ -1269,7 +1318,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1269
1318
  color: ${({theme:e})=>e.additional.white};
1270
1319
  // custom styles
1271
1320
  ${({customHeaderStyle:e})=>e};
1272
- `,Wt=m.span`
1321
+ `,qt=m.span`
1273
1322
  margin-top: -1px;
1274
1323
  margin-left: 7px;
1275
1324
  float: right;
@@ -1277,19 +1326,19 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1277
1326
  // custom styles
1278
1327
  ${({customIconContainerStyle:e})=>e};
1279
1328
 
1280
- `,Rt=b`
1329
+ `,Zt=b`
1281
1330
  display: flex;
1282
1331
  gap: 7px;
1283
1332
  align-items: center;
1284
- `,Pt=m.div`
1285
- ${({labelInline:e})=>e?Rt:null}
1286
- ${({labelInline:e})=>e?Rt:null}
1333
+ `,Ot=m.div`
1334
+ ${({labelInline:e})=>e?Zt:null}
1335
+ ${({labelInline:e})=>e?Zt:null}
1287
1336
  .err-text {
1288
1337
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1289
1338
  margin-top: 5px;
1290
1339
  font-size: 10px;
1291
1340
  }
1292
- `,Ht=({defaultValue:e,onChange:l,inputType:o,onClick:i,placeHolder:a,value:n,disabled:c,startYear:s,endYearRange:d,iconProps:p,customHeaderStyle:m,timeBtnStyle:b,wrapperStyle:g,customIconContainerStyle:f,label:h,labelInline:y,labelStyle:x,required:A,errMsg:w,errMsgColor:S,isValid:k,...E})=>{const[V,z]=r(e);let B=V?new Date(V):null;for(var I=[],L=d||10,W=s||(new Date).getFullYear();W<=(new Date).getFullYear()+L;W++)I.push(W);let R={};switch(o){case"date":default:R.dateFormat="dd MMM, yyyy";break;case"month":R.dateFormat="MMMM yyyy",R.showMonthYearPicker=!0;break;case"year":R.dateFormat="yyyy",R.showYearPicker=!0;break;case"datetime-local":R.dateFormat="dd MMM yyyy, hh:mm a",R.showTimeSelect=!0,R.timeFormat="hh:mm a",R.timeIntervals=15,R.timeCaption="Time";break;case"time":R.showTimeSelect=!0,R.showTimeSelectOnly=!0,R.dateFormat="hh:mm a"}const P=u()||H,T={icon:"calender",color:P.variant["primary-1"],size:"16",...p};return t.createElement(Pt,M({labelInline:y,errMsgColor:S,theme:P},E),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({customStyles:x,type:"label-text",labelInline:y,errMsg:w,text:h,style:{display:"flex",marginBottom:""+(y?"":"7px"),paddingBottom:"0px"}},E)),A&&t.createElement("div",{style:{marginLeft:"4px",color:`${P.variant.error}`}},"*")),t.createElement(Mt,M({theme:P},E,{wrapperStyle:g,isValid:k,disabled:c}),t.createElement(C,M({selected:B,disabled:c,customInput:t.createElement(Bt,{value:n,onClick:i,placeholder:a,theme:P},t.createElement(It,M({theme:P,value:n,onClick:i,timeBtnStyle:b,disabled:c},E),t.createElement("div",null,n||(a||"-- : -- --")),t.createElement(Wt,M({theme:P},E,{customIconContainerStyle:f,className:"input-icon"}),T.icon?t.createElement($,T):null))),onChange:e=>{z(e);var t=null;t="datetime-local"==o?v(e).format("DD MMM YYYY, hh:mm A"):"date"==o?v(e).format("DD MMM, YYYY"):"year"==o?v(e).format("YYYY"):"month"==o?v(e).format("MMMM YYYY"):"time"==o?v(e).format("hh:mm A"):v(e).format("DD MMM, YYYY"),l(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:a},R,{renderCustomHeader:({date:e,changeYear:l,decreaseMonth:r,increaseMonth:i})=>{let a=v(e).format("MMMM");return t.createElement(Lt,M({theme:P},E,{inputType:o,customHeaderStyle:m}),"year"!==o?t.createElement("span",{style:{paddingLeft:"10px"},onClick:r},t.createElement($,{icon:"chevron-left",color:"white",size:16})):null,t.createElement("b",null,"year"!==o?t.createElement("span",{style:{paddingRight:"5px"}},a):null," ",t.createElement("span",{className:"calender-year"},t.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>l(e)},I.map((e=>t.createElement("option",{key:e,value:e},e)))))),"year"!==o?t.createElement("span",{style:{paddingRight:"10px"},onClick:i},t.createElement($,{icon:"chevron-right",color:"white",size:16})):null)}}))),w.length>0&&t.createElement("div",{className:"err-text"},w))};Ht.propTypes={defaultValue:e.string,onChange:e.func,inputType:e.string,onClick:e.func,placeHolder:e.string,value:e.string,disabled:e.bool,startYear:e.number,endYearRange:e.number,iconProps:e.object,customHeaderStyle:e.object,timeBtnStyle:e.object,wrapperStyle:e.object,customIconContainerStyle:e.object,label:e.string,labelStyle:e.object,labelInline:e.bool,errMsg:e.string,errMsgColor:e.string,isValid:e.bool},Ht.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,value:"",defaultValue:"",onChange:()=>{},label:"",required:!1,labelInline:!1,errMsg:"",isValid:!0};const Tt=m.div`
1341
+ `,Dt=({defaultValue:e,onChange:l,inputType:o,onClick:i,placeHolder:a,value:n,disabled:c,startYear:s,endYearRange:d,iconProps:p,customHeaderStyle:m,timeBtnStyle:b,wrapperStyle:g,customIconContainerStyle:f,label:h,labelInline:y,labelStyle:x,required:A,errMsg:w,errMsgColor:S,isValid:k,...E})=>{const[V,z]=r(e);let B=V?new Date(V):null;for(var L=[],I=d||10,W=s||(new Date).getFullYear();W<=(new Date).getFullYear()+I;W++)L.push(W);let R={};switch(o){case"date":default:R.dateFormat="dd MMM, yyyy";break;case"month":R.dateFormat="MMMM yyyy",R.showMonthYearPicker=!0;break;case"year":R.dateFormat="yyyy",R.showYearPicker=!0;break;case"datetime-local":R.dateFormat="dd MMM yyyy, hh:mm a",R.showTimeSelect=!0,R.timeFormat="hh:mm a",R.timeIntervals=15,R.timeCaption="Time";break;case"time":R.showTimeSelect=!0,R.showTimeSelectOnly=!0,R.dateFormat="hh:mm a"}const P=u()||H,T={icon:"calender",color:P.variant["primary-1"],size:"16",...p};return t.createElement(Ot,M({labelInline:y,errMsgColor:S,theme:P},E),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({customStyles:x,type:"label-text",labelInline:y,errMsg:w,text:h,style:{display:"flex",marginBottom:""+(y?"":"7px"),paddingBottom:"0px"}},E)),A&&t.createElement("div",{style:{marginLeft:"4px",color:`${P.variant.error}`}},"*")),t.createElement(Ht,M({theme:P},E,{wrapperStyle:g,isValid:k,disabled:c}),t.createElement(C,M({selected:B,disabled:c,customInput:t.createElement(Tt,{value:n,onClick:i,placeholder:a,theme:P},t.createElement(jt,M({theme:P,value:n,onClick:i,timeBtnStyle:b,disabled:c},E),t.createElement("div",null,n||(a||"-- : -- --")),t.createElement(qt,M({theme:P},E,{customIconContainerStyle:f,className:"input-icon"}),T.icon?t.createElement($,T):null))),onChange:e=>{z(e);var t=null;t="datetime-local"==o?v(e).format("DD MMM YYYY, hh:mm A"):"date"==o?v(e).format("DD MMM, YYYY"):"year"==o?v(e).format("YYYY"):"month"==o?v(e).format("MMMM YYYY"):"time"==o?v(e).format("hh:mm A"):v(e).format("DD MMM, YYYY"),l(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:a},R,{renderCustomHeader:({date:e,changeYear:l,decreaseMonth:r,increaseMonth:i})=>{let a=v(e).format("MMMM");return t.createElement(Ft,M({theme:P},E,{inputType:o,customHeaderStyle:m}),"year"!==o?t.createElement("span",{style:{paddingLeft:"10px"},onClick:r},t.createElement($,{icon:"chevron-left",color:"white",size:16})):null,t.createElement("b",null,"year"!==o?t.createElement("span",{style:{paddingRight:"5px"}},a):null," ",t.createElement("span",{className:"calender-year"},t.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>l(e)},L.map((e=>t.createElement("option",{key:e,value:e},e)))))),"year"!==o?t.createElement("span",{style:{paddingRight:"10px"},onClick:i},t.createElement($,{icon:"chevron-right",color:"white",size:16})):null)}}))),w.length>0&&t.createElement("div",{className:"err-text"},w))};Dt.propTypes={defaultValue:e.string,onChange:e.func,inputType:e.string,onClick:e.func,placeHolder:e.string,value:e.string,disabled:e.bool,startYear:e.number,endYearRange:e.number,iconProps:e.object,customHeaderStyle:e.object,timeBtnStyle:e.object,wrapperStyle:e.object,customIconContainerStyle:e.object,label:e.string,labelStyle:e.object,labelInline:e.bool,errMsg:e.string,errMsgColor:e.string,isValid:e.bool},Dt.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,value:"",defaultValue:"",onChange:()=>{},label:"",required:!1,labelInline:!1,errMsg:"",isValid:!0};const Gt=m.div`
1293
1342
  cursor: ${({isDisabled:e})=>e?"not-allowed":"initial"} !important;
1294
1343
 
1295
1344
  .text-main-alt {
@@ -1316,7 +1365,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1316
1365
  .text-main-alt-value {
1317
1366
  display: none !important;
1318
1367
  }
1319
- `,jt=m.div`
1368
+ `,Xt=m.div`
1320
1369
  // Default style
1321
1370
  display: flex;
1322
1371
 
@@ -1324,11 +1373,11 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1324
1373
  ${({inBuiltCss:e,labelWrapperStyle:t})=>j(e,t)}
1325
1374
  // custom styles
1326
1375
  ${({customLabelStyles:e})=>e}
1327
- `,Ft=m.div`
1376
+ `,Jt=m.div`
1328
1377
  margin-left: 6px;
1329
1378
  margin-top: -15.5px;
1330
1379
  cursor: pointer;
1331
- `,qt=({getValue:e,children:l,...o})=>{const r=e().length;return t.createElement(w.ValueContainer,o,l,r>1&&t.createElement("span",{className:"text-more-alt"},"& ",r-1," more"))},Zt=({label:e,labelStyle:l,optionArr:o,selectedValue:r,setSelectedValue:i,placeHolder:a,isClearable:n,isValid:c,height:s,fontSize:d,loadOptions:p,onInputChange:m,clearSelected:b,customWrapperStyles:g,customLabelStyles:f,isRequired:h,dropdownType:y,isDisabled:x,isLoading:v,id:C,iconName:A,iconStyles:S,iconColor:k,iconSize:E,showIndicator:V,leftIcon:z,leftIconColor:B,leftIconSize:I,backgroundColor:L,placeHolderColor:W,indicatorBackgroundColor:R,inputColor:P,menuListFooter:j,customSelectStyles:F,errorMessage:q,...Z})=>{const O=u()||H,D=e=>{const l={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},o=t.createElement("div",{style:{...l,backgroundColor:e?.data?.color??O.primary["primary-1"]}},t.createElement($,{icon:"check-icon",color:"white"})),r=t.createElement("div",{style:{...l,backgroundColor:"#e0e7ff"}});return t.createElement(w.Option,e,t.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%"}},e.isSelected?o:r,t.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},G=({index:e,...l})=>{const o=l?.data?.label||"Select";return!e&&t.createElement("span",{className:"text-main-alt-value"},o)},X={control:(e,t)=>({...e,border:c?L&&c?"1px solid "+L:"1px solid "+O.border:"1px solid "+O.ui.error,minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:t.isDisabled?O.variant["neutral-5"]:L||O.additional.white}),placeholder:e=>({...e,fontSize:d+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:W||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:R||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,fontSize:d+"px",marginTop:"-4px"}),indicatorsContainer:e=>({...e,padding:0}),menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:d+"px",width:"100%",minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px"}),singleValue:e=>({...e,fontSize:d+"px",marginLeft:"0px",width:"auto",marginRight:0,display:"grid"}),multiValue:e=>({...e,marginLeft:"0px",width:"auto",display:"grid"}),input:e=>({...e,fontSize:d+"px",color:P||"hsl(0, 0%, 20%)",padding:0,margin:0}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?O.neutral["neutral-5"]:O.additional.white,padding:"10px",cursor:t.isDisabled?"not-allowed":"pointer",color:"#081348",opacity:t.isDisabled?.6:1,width:"inherit",boxSizing:"initial"}),menuPortal:e=>({...e,zIndex:99999999}),...F},J={DropdownIndicator:e=>{const l=t.createElement(w.DropdownIndicator,e,t.createElement(Ft,null,t.createElement($,{icon:A,color:k,size:E,customstyles:S})));return!0===V?l:null},ValueContainer:qt,IndicatorSeparator:()=>null,ClearIndicator:e=>t.createElement(w.ClearIndicator,e,n?t.createElement(Ft,{onClick:()=>{b(),e.clearValue()}},t.createElement($,{icon:"cross-icon",color:"black",size:8})):null),MenuList:e=>{const{MenuListHeader:l=null,MenuListFooter:o=null}=e.selectProps.components;return t.createElement(w.MenuList,e,e.children.length&&l,e.children,e.children.length&&o)},MenuListFooter:j};let U=null;switch(y){case"multiSelect":U=t.createElement(Ot,M({type:"multiSelect",MultiValue:G,Option:D,value:r,CommonRenderedComponent:J,optionArr:o,placeHolder:a,isDisabled:x,stylesComp:X,setSelectedValue:i,isLoading:v,id:C,isClearable:n},Z));break;case"asyncSingleSelect":U=t.createElement(Dt,M({CommonRenderedComponent:J,loadOptions:p,onInputChange:m,styles:X,placeholder:a,onChange:i,isLoading:v,isDisabled:x,id:C,value:r,isClearable:n},Z));break;case"asyncMultiSelect":U=t.createElement(Dt,M({type:"asyncMultiSelect",CommonRenderedComponent:J,MultiValue:G,Option:D,onChange:i,placeholder:a,styles:X,isDisabled:x,isLoading:v,loadOptions:p,onInputChange:m,id:C,isClearable:n},Z));break;default:U=t.createElement(Ot,M({type:"singleSelect",value:{value:r?r.value:"",label:r?r.label:""},CommonRenderedComponent:J,optionArr:o,placeHolder:a,isDisabled:x,stylesComp:X,setSelectedValue:i,isLoading:v,id:C,isClearable:n},Z))}return t.createElement(Tt,{style:g,backgroundColor:L,isValid:c,fontSize:d,theme:O,isDisabled:x},e&&t.createElement(jt,{inBuiltCss:T,labelWrapperStyle:"selectComp-label-wrapper",style:f},t.createElement(ot,{customStyles:l,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),h&&t.createElement("div",{style:{marginLeft:"4px",color:`${O.ui.error}`}},"*")),U,!c&&q)},Ot=({type:e,Option:l,value:o,CommonRenderedComponent:r,MultiValue:i,optionArr:a,placeHolder:n,isDisabled:c,stylesComp:s,setSelectedValue:d,isLoading:p,id:m,isClearable:u,...b})=>{let g={...r};return"multiSelect"===e&&(g.MultiValue=i,g.Option=l),t.createElement(A,M({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:g,options:a,placeholder:n,isDisabled:c,value:o,styles:s,onChange:d,isLoading:p,id:m,isClearable:u,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},b))},Dt=({CommonRenderedComponent:e,MultiValue:l,Option:o,type:r,id:i,styles:a,...n})=>{let c={...e};return"asyncMultiSelect"===r&&(c.MultiValue=l,c.Option=o),t.createElement(S,M({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===r,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==r,isSearchable:!0,styles:a,menuShouldScrollIntoView:!1},n))};Zt.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,menuListFooter:e.any,customSelectStyles:e.object},Zt.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,customSelectStyles:{}};const Gt=m.div`
1380
+ `,Ut=({getValue:e,children:l,...o})=>{const r=e().length;return t.createElement(w.ValueContainer,o,l,r>1&&t.createElement("span",{className:"text-more-alt"},"& ",r-1," more"))},Yt=({label:e,labelStyle:l,optionArr:o,selectedValue:r,setSelectedValue:i,placeHolder:a,isClearable:n,isValid:c,height:s,fontSize:d,loadOptions:p,onInputChange:m,clearSelected:b,customWrapperStyles:g,customLabelStyles:f,isRequired:h,dropdownType:y,isDisabled:x,isLoading:v,id:C,iconName:A,iconStyles:S,iconColor:k,iconSize:E,showIndicator:V,leftIcon:z,leftIconColor:B,leftIconSize:L,backgroundColor:I,placeHolderColor:W,indicatorBackgroundColor:R,inputColor:P,menuListFooter:j,customSelectStyles:F,errorMessage:q,...Z})=>{const O=u()||H,D=e=>{const l={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},o=t.createElement("div",{style:{...l,backgroundColor:e?.data?.color??O.primary["primary-1"]}},t.createElement($,{icon:"check-icon",color:"white"})),r=t.createElement("div",{style:{...l,backgroundColor:"#e0e7ff"}});return t.createElement(w.Option,e,t.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%"}},e.isSelected?o:r,t.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},G=({index:e,...l})=>{const o=l?.data?.label||"Select";return!e&&t.createElement("span",{className:"text-main-alt-value"},o)},X={control:(e,t)=>({...e,border:c?I&&c?"1px solid "+I:"1px solid "+O.border:"1px solid "+O.ui.error,minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:t.isDisabled?O.variant["neutral-5"]:I||O.additional.white}),placeholder:e=>({...e,fontSize:d+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:W||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:R||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,fontSize:d+"px",marginTop:"-4px"}),indicatorsContainer:e=>({...e,padding:0}),menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:d+"px",width:"100%",minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px"}),singleValue:e=>({...e,fontSize:d+"px",marginLeft:"0px",width:"auto",marginRight:0,display:"grid"}),multiValue:e=>({...e,marginLeft:"0px",width:"auto",display:"grid"}),input:e=>({...e,fontSize:d+"px",color:P||"hsl(0, 0%, 20%)",padding:0,margin:0}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?O.neutral["neutral-5"]:O.additional.white,padding:"10px",cursor:t.isDisabled?"not-allowed":"pointer",color:"#081348",opacity:t.isDisabled?.6:1,width:"inherit",boxSizing:"initial"}),menuPortal:e=>({...e,zIndex:99999999}),...F},J={DropdownIndicator:e=>{const l=t.createElement(w.DropdownIndicator,e,t.createElement(Jt,null,t.createElement($,{icon:A,color:k,size:E,customstyles:S})));return!0===V?l:null},ValueContainer:Ut,IndicatorSeparator:()=>null,ClearIndicator:e=>t.createElement(w.ClearIndicator,e,n?t.createElement(Jt,{onClick:()=>{b(),e.clearValue()}},t.createElement($,{icon:"cross-icon",color:"black",size:8})):null),MenuList:e=>{const{MenuListHeader:l=null,MenuListFooter:o=null}=e.selectProps.components;return t.createElement(w.MenuList,e,e.children.length&&l,e.children,e.children.length&&o)},MenuListFooter:j};let U=null;switch(y){case"multiSelect":U=t.createElement(Nt,M({type:"multiSelect",MultiValue:G,Option:D,value:r,CommonRenderedComponent:J,optionArr:o,placeHolder:a,isDisabled:x,stylesComp:X,setSelectedValue:i,isLoading:v,id:C,isClearable:n},Z));break;case"asyncSingleSelect":U=t.createElement(Qt,M({CommonRenderedComponent:J,loadOptions:p,onInputChange:m,styles:X,placeholder:a,onChange:i,isLoading:v,isDisabled:x,id:C,value:r,isClearable:n},Z));break;case"asyncMultiSelect":U=t.createElement(Qt,M({type:"asyncMultiSelect",CommonRenderedComponent:J,MultiValue:G,Option:D,onChange:i,placeholder:a,styles:X,isDisabled:x,isLoading:v,loadOptions:p,onInputChange:m,id:C,isClearable:n},Z));break;default:U=t.createElement(Nt,M({type:"singleSelect",value:{value:r?r.value:"",label:r?r.label:""},CommonRenderedComponent:J,optionArr:o,placeHolder:a,isDisabled:x,stylesComp:X,setSelectedValue:i,isLoading:v,id:C,isClearable:n},Z))}return t.createElement(Gt,{style:g,backgroundColor:I,isValid:c,fontSize:d,theme:O,isDisabled:x},e&&t.createElement(Xt,{inBuiltCss:T,labelWrapperStyle:"selectComp-label-wrapper",style:f},t.createElement(ot,{customStyles:l,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),h&&t.createElement("div",{style:{marginLeft:"4px",color:`${O.ui.error}`}},"*")),U,!c&&q)},Nt=({type:e,Option:l,value:o,CommonRenderedComponent:r,MultiValue:i,optionArr:a,placeHolder:n,isDisabled:c,stylesComp:s,setSelectedValue:d,isLoading:p,id:m,isClearable:u,...b})=>{let g={...r};return"multiSelect"===e&&(g.MultiValue=i,g.Option=l),t.createElement(A,M({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:g,options:a,placeholder:n,isDisabled:c,value:o,styles:s,onChange:d,isLoading:p,id:m,isClearable:u,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},b))},Qt=({CommonRenderedComponent:e,MultiValue:l,Option:o,type:r,id:i,styles:a,...n})=>{let c={...e};return"asyncMultiSelect"===r&&(c.MultiValue=l,c.Option=o),t.createElement(S,M({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===r,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==r,isSearchable:!0,styles:a,menuShouldScrollIntoView:!1},n))};Yt.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,menuListFooter:e.any,customSelectStyles:e.object},Yt.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,customSelectStyles:{}};const Kt=m.div`
1332
1381
  //Set the styles from the default styles object
1333
1382
  ${({inBuiltCss:e,defaultStyles:t})=>j(e,t)}
1334
1383
 
@@ -1345,15 +1394,15 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1345
1394
 
1346
1395
  // custom styles
1347
1396
  ${({customDropzoneStyles:e})=>e}
1348
- `,Xt=m.div`
1397
+ `,$t=m.div`
1349
1398
  //Set the styles from the default styles object
1350
1399
  ${({inBuiltCss:e,defaultStyles:t})=>j(e,t)}
1351
1400
 
1352
1401
  // custom styles
1353
1402
  ${({customFileStyles:e})=>e}
1354
- `,Jt=m.input`
1403
+ `,_t=m.input`
1355
1404
  display: none;
1356
- `,Ut=m.div`
1405
+ `,el=m.div`
1357
1406
  //Set the styles from the default styles object
1358
1407
  ${({inBuiltCss:e,defaultStyles:t})=>j(e,t)}
1359
1408
 
@@ -1365,18 +1414,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1365
1414
 
1366
1415
  // custom styles
1367
1416
  ${({customFileNameStyles:e})=>e}
1368
- `;const Yt=m.div`
1417
+ `;const tl=m.div`
1369
1418
  padding-left: 1px;
1370
1419
  margin-left: auto;
1371
1420
  margin-right: 10px;
1372
1421
  display: flex;
1373
1422
  justify-content: center;
1374
- `,Nt=m.div`
1423
+ `,ll=m.div`
1375
1424
  margin-left: 11px;
1376
1425
  padding-left: 2px;
1377
1426
  display: flex;
1378
1427
  justify-content: center;
1379
- `,Qt=m.div`
1428
+ `,ol=m.div`
1380
1429
  color: #494949;
1381
1430
  margin-left: 11px;
1382
1431
  padding-left: 2px;
@@ -1387,9 +1436,9 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1387
1436
  align-items: center;
1388
1437
  margin: 20px 0px;
1389
1438
  font-size: 14px;
1390
- `;const Kt=({label:e,labelStyle:l,labelInline:o,required:i,message:n,fileArr:c,setFileArr:s,deleteFile:d,customDropzoneStyles:p,customFileStyles:m,customTextStyles:b,customFileNameStyles:g,backgroundColor:f,singleFile:h,messageSize:y,showSupportedFormats:x,file_extensions:v,maxFilesAmount:C,minFilesAmount:A,fileSizeLimit:w,fileSizeNamingConvention:S,errorMessages:k,suggesionMessage:E,MessagelabelStyle:V,dropValid:z,setDropValid:B,dropzoneContent:I,dropIcon:L,iconColor:W,id:R,customTooltipContentStyle:P,customStylesTPArightBefore:j,customStylesTPArightAfter:F,...q})=>{const Z=u()||H,[O,D]=r(!1),G=a(),[X,J]=r(z),[U,Y]=r("");let N;var Q=v;let K=new Map(Q.map((e=>[e.toLowerCase(),e])));K=Array.from(K.values()).join(", ");var _=!1,ee=x?"All file formats cannot be used with the files you provided.":"",te="";1==h&&(A=1,C=1);var le="Please upload (min."+A+" to max."+C+")files",oe=e=>{te="";let t=[];var l=0,o=c.length;if(o+e.length<A||o+e.length>C){var r=`Please upload (minimum ${A} to maximum ${C} files)`;te=k?.amount,te=void 0!==te?te:r}for(const e of c)e.size&&(l+=e.size);if(""==te)for(const[o,c]of Object.entries(e)){_=!0,c.name,l+=c.size;var i=c.name.split(".");i=i[i.length-1],_=Q.includes(i.toLowerCase());var a=1024;("MB"===S||"GB"===S||"TB"===S)&&(a*=1024);var n=l/a;if(!1===_&&(te=k?.format,te=te||ee),n>w&&_){_=!1;r="The file(s) must be under "+w+" "+S;te=k?.size,te=void 0!==te?te:r}_&&(N=URL.createObjectURL(c),c.path=N,t.push(c))}return te.length>0?(B(!1),J(z),Y(te)):(B(!0),J(z),Y("")),t};function re(e){e.preventDefault(),e.stopPropagation()}function ie(e,t){let l=[...c,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),s(l),D(!1),l}function ae(e,t){if(e instanceof File){const t=c.findIndex((t=>t.name===e.name));let l=c[t].path;URL.revokeObjectURL(l);const o=c.filter((t=>t.name!==e.name));s(o)}else!function(e,t){const l=c.filter((t=>t.name!==e.name));s(l),d(e)}(e)}const ne=t.createElement("div",null,K);return t.createElement("div",null,t.createElement("div",{style:{display:"flex",width:"inherit"}},t.createElement(ot,M({customStyles:l,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:`${o?0:"8px"}`,paddingBottom:"0px"}},q)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${Z.variant.error}`}},"*")),t.createElement(Gt,{theme:Z,inBuiltCss:T,defaultStyles:"dropzone-parent",backgroundColor:f,customDropzoneStyles:z?p:{},onDragLeave:function(e){re(e),D(!1)},onDragOver:function(e){re(e),D(!0)},onDrop:function(e){re(e);const{files:t}=e.dataTransfer;var l=oe(t);D(!0),q.onFilesAdded(ie(l,h))},onClick:function(){G.current.click()},hover:O,dropValid:z,fileArr:c},t.createElement(Jt,M({ref:G,valid:X,dropValid:z,type:"file",id:R,multiple:!h,onChange:function(e){let{files:t}=e.target;D(!1);var l=oe(t);l&&q.onFilesAdded(ie(l,h))},onClick:e=>e.target.value=null},q)),z?t.createElement(t.Fragment,null,L?t.createElement($,{icon:L,color:O?Z.additional.white:W,size:24}):t.createElement($,{icon:"file-upload",color:O?Z.additional.white:Z.primary["primary-1"],size:24})):null,t.createElement(Ut,{dropValid:z,valid:X,hover:O,backgroundColor:f,customTextStyles:b,inBuiltCss:T,defaultStyles:"dropzone-text-div"},z?t.createElement(t.Fragment,null,I?t.createElement("div",{style:{color:O?Z.additional.white:null}},I):t.createElement("div",null,t.createElement("span",{style:{color:O?Z.additional.white:Z.primary["primary-1"]}},"Choose a file"," "),t.createElement("span",{style:{color:O?Z.additional.white:Z.neutral["neutral-2"]}},"or"," "),t.createElement("span",{style:{color:O?Z.additional.white:Z.additional["text-color"]}},"drag ",h?"it":"them"," here"))):t.createElement("div",null,t.createElement("span",{style:{color:Z.variant.error}},"Try again!!"," "),t.createElement("span",{style:{color:Z.additional["text-color"]}},U||n)))),U===ee||k.format?t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({themeColor:H,customStyles:V,type:"label-text",labelInline:o,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},q)),t.createElement(Qe,{contentTrigger:t.createElement("span",{style:{cursor:"pointer"}},"Click here to view the supported file types"),headerTooltip:"",contentTooltip:ne,footerTooltip:"",popperOptionsP:{placement:"bottom"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:Z.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:P,customStylesTPArightBefore:j,customStylesTPArightAfter:F})):"The file size is not uploaded"===U?t.createElement(ot,M({themeColor:H,customStyles:V,type:"label-text",labelInline:o,text:le,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},q)):"",c?.map(((e,l)=>t.createElement(Xt,{inBuiltCss:T,defaultStyles:"dropzone-file-div",key:`${e}-${l}`,customFileStyles:m},t.createElement(Nt,null,t.createElement($,{icon:"file-icon",color:Z.primary["primary-1"]})),(File,t.createElement("a",{style:{color:Z.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),t.createElement(Qt,null,e?.otherInfo),t.createElement(Yt,{key:101*Math.random()|0},t.createElement("div",{style:{marginRight:"7px"}},t.createElement($,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:Z.primary["primary-1"]})),t.createElement($,{icon:"cross-icon",color:Z.neutral["neutral-2"],size:13,onClick:()=>ae(e),customstyles:{cursor:"pointer"}}))))))};Kt.propTypes={onFilesAdded:e.func,dropValid:e.bool,setDropValid:e.func,message:e.string,fileArr:e.array,setFileArr:e.func,customDropzoneStyles:e.object,customFileStyles:e.object,customTextStyles:e.object,customFileNameStyles:e.object,backgroundColor:e.string,messageSize:e.number,maxFilesAmount:e.number,minFilesAmount:e.number,fileSizeLimit:e.number,fileSizeNamingConvention:e.string,showSupportedFormats:e.bool,file_extensions:e.array,errorMessages:e.object,suggesionMessage:e.any,MessagelabelStyle:e.object,id:e.string,dropzoneContent:e.any,dropIcon:e.string,iconColor:e.string,singleFile:e.bool,customTooltipContentStyle:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object},Kt.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","JPG","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const $t=b`
1439
+ `;const rl=({label:e,labelStyle:l,labelInline:o,required:i,message:n,fileArr:c,setFileArr:s,deleteFile:d,customDropzoneStyles:p,customFileStyles:m,customTextStyles:b,customFileNameStyles:g,backgroundColor:f,singleFile:h,messageSize:y,showSupportedFormats:x,file_extensions:v,maxFilesAmount:C,minFilesAmount:A,fileSizeLimit:w,fileSizeNamingConvention:S,errorMessages:k,suggesionMessage:E,MessagelabelStyle:V,dropValid:z,setDropValid:B,dropzoneContent:L,dropIcon:I,iconColor:W,id:R,customTooltipContentStyle:P,customStylesTPArightBefore:j,customStylesTPArightAfter:F,...q})=>{const Z=u()||H,[O,D]=r(!1),G=a(),[X,J]=r(z),[U,Y]=r("");let N;var Q=v;let K=new Map(Q.map((e=>[e.toLowerCase(),e])));K=Array.from(K.values()).join(", ");var _=!1,ee=x?"All file formats cannot be used with the files you provided.":"",te="";1==h&&(A=1,C=1);var le="Please upload (min."+A+" to max."+C+")files",oe=e=>{te="";let t=[];var l=c.length;if(l+e.length<A||l+e.length>C){var o=`Please upload (minimum ${A} to maximum ${C} files)`;te=k?.amount,te=void 0!==te?te:o}if(""==te)for(const[l,a]of Object.entries(e)){_=!0,a.name;let e=a.size,l=a.name.split(".");l=l[l.length-1],_=Q.includes(l.toLowerCase());var r=1024;("MB"===S||"GB"===S||"TB"===S)&&(r*=1024);var i=e/r;if(!1===_&&(te=k?.format,te=te||ee),i>w&&_){_=!1;o="Each file must be under "+w+" "+S;te=k?.size,te=void 0!==te?te:o}_&&(N=URL.createObjectURL(a),a.path=N,t.push(a))}return te.length>0?(B(!1),J(z),Y(te)):(B(!0),J(z),Y("")),t};function re(e){e.preventDefault(),e.stopPropagation()}function ie(e,t){let l=[...c,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),s(l),D(!1),l}function ae(e,t){if(e instanceof File){const t=c.findIndex((t=>t.name===e.name));let l=c[t].path;URL.revokeObjectURL(l);const o=c.filter((t=>t.name!==e.name));s(o)}else!function(e,t){const l=c.filter((t=>t.name!==e.name));s(l),d(e)}(e)}const ne=t.createElement("div",null,K);return t.createElement("div",null,t.createElement("div",{style:{display:"flex",width:"inherit"}},t.createElement(ot,M({customStyles:l,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:`${o?0:"8px"}`,paddingBottom:"0px"}},q)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${Z.variant.error}`}},"*")),t.createElement(Kt,{theme:Z,inBuiltCss:T,defaultStyles:"dropzone-parent",backgroundColor:f,customDropzoneStyles:z?p:{},onDragLeave:function(e){re(e),D(!1)},onDragOver:function(e){re(e),D(!0)},onDrop:function(e){re(e);const{files:t}=e.dataTransfer;var l=oe(t);D(!0),q.onFilesAdded(ie(l,h))},onClick:function(){G.current.click()},hover:O,dropValid:z,fileArr:c},t.createElement(_t,M({ref:G,valid:X,dropValid:z,type:"file",id:R,multiple:!h,onChange:function(e){let{files:t}=e.target;D(!1);var l=oe(t);l&&q.onFilesAdded(ie(l,h))},onClick:e=>e.target.value=null},q)),z?t.createElement(t.Fragment,null,I?t.createElement($,{icon:I,color:O?Z.additional.white:W,size:24}):t.createElement($,{icon:"file-upload",color:O?Z.additional.white:Z.primary["primary-1"],size:24})):null,t.createElement(el,{dropValid:z,valid:X,hover:O,backgroundColor:f,customTextStyles:b,inBuiltCss:T,defaultStyles:"dropzone-text-div"},z?t.createElement(t.Fragment,null,L?t.createElement("div",{style:{color:O?Z.additional.white:null}},L):t.createElement("div",null,t.createElement("span",{style:{color:O?Z.additional.white:Z.primary["primary-1"]}},"Choose a file"," "),t.createElement("span",{style:{color:O?Z.additional.white:Z.neutral["neutral-2"]}},"or"," "),t.createElement("span",{style:{color:O?Z.additional.white:Z.additional["text-color"]}},"drag ",h?"it":"them"," here"))):t.createElement("div",null,t.createElement("span",{style:{color:Z.variant.error}},"Try again!!"," "),t.createElement("span",{style:{color:Z.additional["text-color"]}},U||n)))),U===ee||k.format?t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({themeColor:H,customStyles:V,type:"label-text",labelInline:o,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},q)),t.createElement(Qe,{contentTrigger:t.createElement("span",{style:{cursor:"pointer"}},"Click here to view the supported file types"),headerTooltip:"",contentTooltip:ne,footerTooltip:"",popperOptionsP:{placement:"bottom"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:Z.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:P,customStylesTPArightBefore:j,customStylesTPArightAfter:F})):"The file size is not uploaded"===U?t.createElement(ot,M({themeColor:H,customStyles:V,type:"label-text",labelInline:o,text:le,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},q)):"",c?.map(((e,l)=>t.createElement($t,{inBuiltCss:T,defaultStyles:"dropzone-file-div",key:`${e}-${l}`,customFileStyles:m},t.createElement(ll,null,t.createElement($,{icon:"file-icon",color:Z.primary["primary-1"]})),(File,t.createElement("a",{style:{color:Z.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),t.createElement(ol,null,e?.otherInfo),t.createElement(tl,{key:101*Math.random()|0},t.createElement("div",{style:{marginRight:"7px"}},t.createElement($,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:Z.primary["primary-1"]})),t.createElement($,{icon:"cross-icon",color:Z.neutral["neutral-2"],size:13,onClick:()=>ae(e),customstyles:{cursor:"pointer"}}))))))};rl.propTypes={onFilesAdded:e.func,dropValid:e.bool,setDropValid:e.func,message:e.string,fileArr:e.array,setFileArr:e.func,customDropzoneStyles:e.object,customFileStyles:e.object,customTextStyles:e.object,customFileNameStyles:e.object,backgroundColor:e.string,messageSize:e.number,maxFilesAmount:e.number,minFilesAmount:e.number,fileSizeLimit:e.number,fileSizeNamingConvention:e.string,showSupportedFormats:e.bool,file_extensions:e.array,errorMessages:e.object,suggesionMessage:e.any,MessagelabelStyle:e.object,id:e.string,dropzoneContent:e.any,dropIcon:e.string,iconColor:e.string,singleFile:e.bool,customTooltipContentStyle:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object},rl.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","JPG","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const il=b`
1391
1440
  pointer-events: none;
1392
- `,_t=m.input`
1441
+ `,al=m.input`
1393
1442
  background-color: transparent;
1394
1443
  width: 100%;
1395
1444
  white-space: nowrap;
@@ -1397,7 +1446,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1397
1446
  text-overflow: ellipsis;
1398
1447
  border-color: transparent;
1399
1448
  cursor: ${({isDisabled:e})=>e?"not-allowed":"default"};
1400
- ${({readOnly:e})=>e?$t:null}
1449
+ ${({readOnly:e})=>e?il:null}
1401
1450
 
1402
1451
  &:focus-visible {
1403
1452
  outline: none;
@@ -1405,30 +1454,30 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1405
1454
 
1406
1455
  // custom styles
1407
1456
  ${({inputStyle:e})=>e}
1408
- `,el=m.div`
1457
+ `,nl=m.div`
1409
1458
  display: flex;
1410
1459
  width: 100%;
1411
1460
 
1412
1461
  // custom styles
1413
1462
  ${({inputContainerStyle:e})=>e}
1414
- `,tl=b`
1463
+ `,cl=b`
1415
1464
  display: flex;
1416
1465
  align-items: end;
1417
- `,ll=m.div`
1466
+ `,sl=m.div`
1418
1467
  width: 100%;
1419
- ${({labelInline:e})=>e?tl:null}
1420
- `,ol=({labelProps:e,formProps:l,value:r,setValue:i,inputStyle:a,inputContainerStyle:n,isDisabled:c,required:s,...d})=>{const p=u()||H,[m,b]=t.useState(!0),g=o(),f={label:"",labelStyle:{},...e},h={labelInline:!0,...l};return t.createElement(ll,M({theme:p},h),t.createElement("div",{style:{display:"flex",marginRight:"16px"}},t.createElement(ot,M({style:{display:"flex",marginBottom:`${h?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"}},f))),t.createElement(el,M({theme:p,style:{borderBottom:""+(m?"none":"1px solid #BBC4CF")},inputContainerStyle:n,isDisabled:c},d),t.createElement(_t,M({type:"text",value:r,readOnly:m,onChange:e=>{i(e.target.value)},ref:g,onBlur:()=>{b(!0)},theme:p},d,{inputStyle:a,isDisabled:c,disabled:c,onClick:e=>{}})),t.createElement($,{icon:"edit-box",color:m||c?p.variant["neutral-2"]:p.variant["primary-1"],size:16,style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:c?"not-allowed":"pointer"},onClick:()=>{c||(b(!1),g.current.focus())}})))};ol.propTypes={value:e.any,setValue:e.func,isDisabled:e.bool,formProps:e.object,labelProps:e.object},ol.defaultProps={value:"",isDisabled:!1,setValue:()=>{}};const rl=m.div`
1468
+ ${({labelInline:e})=>e?cl:null}
1469
+ `,dl=({labelProps:e,formProps:l,value:r,setValue:i,inputStyle:a,inputContainerStyle:n,isDisabled:c,required:s,...d})=>{const p=u()||H,[m,b]=t.useState(!0),g=o(),f={label:"",labelStyle:{},...e},h={labelInline:!0,...l};return t.createElement(sl,M({theme:p},h),t.createElement("div",{style:{display:"flex",marginRight:"16px"}},t.createElement(ot,M({style:{display:"flex",marginBottom:`${h?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"}},f))),t.createElement(nl,M({theme:p,style:{borderBottom:""+(m?"none":"1px solid #BBC4CF")},inputContainerStyle:n,isDisabled:c},d),t.createElement(al,M({type:"text",value:r,readOnly:m,onChange:e=>{i(e.target.value)},ref:g,onBlur:()=>{b(!0)},theme:p},d,{inputStyle:a,isDisabled:c,disabled:c,onClick:e=>{}})),t.createElement($,{icon:"edit-box",color:m||c?p.variant["neutral-2"]:p.variant["primary-1"],size:16,style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:c?"not-allowed":"pointer"},onClick:()=>{c||(b(!1),g.current.focus())}})))};dl.propTypes={value:e.any,setValue:e.func,isDisabled:e.bool,formProps:e.object,labelProps:e.object},dl.defaultProps={value:"",isDisabled:!1,setValue:()=>{}};const pl=m.div`
1421
1470
  display: contents;
1422
1471
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1423
1472
 
1424
1473
  ${({WrapperDivStyle:e})=>e}
1425
- `,il=m.input`
1474
+ `,ml=m.input`
1426
1475
  display: none;
1427
1476
  min-height: 100vh;
1428
1477
  padding: 0 0.5rem;
1429
1478
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1430
1479
 
1431
- `,al=m.div`
1480
+ `,ul=m.div`
1432
1481
  height: 49px;
1433
1482
  width: 49px;
1434
1483
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white};
@@ -1440,7 +1489,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1440
1489
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1441
1490
 
1442
1491
  ${({IconWrapperStyle:e})=>e}
1443
- `,nl=m.div`
1492
+ `,bl=m.div`
1444
1493
  // background-color: ${({theme:e})=>e.additional.white};
1445
1494
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white};
1446
1495
  width: 134px;
@@ -1482,7 +1531,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1482
1531
  }
1483
1532
  }
1484
1533
  ${({MainDivStyle:e})=>e};
1485
- `,cl=({image:e,setImage:l,WrapperDivStyle:a,MainDivStyle:n,IconWrapperStyle:c,iconSize:s,iconColor:d,isDisabled:p,id:m})=>{const[b,g]=r(),f=o(),h=u()||H,[y,x]=r(),[v,C]=r(!1);function A(e){e.preventDefault(),e.stopPropagation()}i((()=>{if(e&&v){const t=new FileReader;t.onloadend=()=>{g(t.result)},t.readAsDataURL(e)}else g(e)}),[e]);const w=e=>{e&&"image"===e.type.substr(0,5)?(C(!0),l(e)):C(!1)};return t.createElement(rl,{onDragLeave:function(e){A(e),x(!1)},onDragOver:function(e){A(e),x(!0)},onDrop:function(e){A(e);const{files:t}=e.dataTransfer;w(t[0])},WrapperDivStyle:a,isDisabled:p},t.createElement(nl,{isDisabled:p,theme:h,MainDivStyle:n,style:{backgroundImage:`url(${b})`},onClick:e=>{e.preventDefault(),f.current.click()}},!b&&t.createElement("div",{className:"icon-on-not-preview"},t.createElement(al,{IconWrapperStyle:c,theme:h,isDisabled:p},t.createElement("img",{src:N,alt:"",height:"40px",width:"48px"}))),t.createElement("div",{className:"icon-on-preview"},t.createElement(al,{IconWrapperStyle:c,isDisabled:p,theme:h},t.createElement($,{icon:"camera-icon",size:s,color:d||h.variant["primary-1"]})))),t.createElement(il,{id:m,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{C(!0),l(e.target.files[0])},disabled:p,isDisabled:p}))};cl.propTypes={image:e.any,setImage:e.func,WrapperDivStyle:e.object,MainDivStyle:e.object,IconWrapperStyle:e.object,iconSize:e.number},cl.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const sl=m.div`
1534
+ `,gl=({image:e,setImage:l,WrapperDivStyle:a,MainDivStyle:n,IconWrapperStyle:c,iconSize:s,iconColor:d,isDisabled:p,id:m})=>{const[b,g]=r(),f=o(),h=u()||H,[y,x]=r(),[v,C]=r(!1);function A(e){e.preventDefault(),e.stopPropagation()}i((()=>{if(e&&v){const t=new FileReader;t.onloadend=()=>{g(t.result)},t.readAsDataURL(e)}else g(e)}),[e]);const w=e=>{e&&"image"===e.type.substr(0,5)?(C(!0),l(e)):C(!1)};return t.createElement(pl,{onDragLeave:function(e){A(e),x(!1)},onDragOver:function(e){A(e),x(!0)},onDrop:function(e){A(e);const{files:t}=e.dataTransfer;w(t[0])},WrapperDivStyle:a,isDisabled:p},t.createElement(bl,{isDisabled:p,theme:h,MainDivStyle:n,style:{backgroundImage:`url(${b})`},onClick:e=>{e.preventDefault(),f.current.click()}},!b&&t.createElement("div",{className:"icon-on-not-preview"},t.createElement(ul,{IconWrapperStyle:c,theme:h,isDisabled:p},t.createElement("img",{src:N,alt:"",height:"40px",width:"48px"}))),t.createElement("div",{className:"icon-on-preview"},t.createElement(ul,{IconWrapperStyle:c,isDisabled:p,theme:h},t.createElement($,{icon:"camera-icon",size:s,color:d||h.variant["primary-1"]})))),t.createElement(ml,{id:m,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{C(!0),l(e.target.files[0])},disabled:p,isDisabled:p}))};gl.propTypes={image:e.any,setImage:e.func,WrapperDivStyle:e.object,MainDivStyle:e.object,IconWrapperStyle:e.object,iconSize:e.number},gl.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const fl=m.div`
1486
1535
  border: 1px solid ${({theme:e})=>e.additional.border};
1487
1536
  border-radius: 4px;
1488
1537
  padding: 5.5px 12px;
@@ -1522,7 +1571,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1522
1571
  input[type='number'] {
1523
1572
  -moz-appearance: textfield;
1524
1573
  }
1525
- `,dl=m.input`
1574
+ `,hl=m.input`
1526
1575
  width: 85%;
1527
1576
  border: 0;
1528
1577
  outline: 0;
@@ -1535,16 +1584,16 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1535
1584
 
1536
1585
  // custom styles
1537
1586
  ${({inputStyle:e})=>e}
1538
- `,pl=b`
1587
+ `,yl=b`
1539
1588
  display: flex;
1540
1589
  align-items: center;
1541
- `,ml=m.div`
1542
- ${({labelInline:e})=>e?pl:null}
1590
+ `,xl=m.div`
1591
+ ${({labelInline:e})=>e?yl:null}
1543
1592
 
1544
1593
  > div {
1545
1594
  flex: 1 0 auto;
1546
1595
  }
1547
- `,ul=({inputValue:e,inputStyle:l,onChange:o,id:r,labelProps:i})=>{const a=u()||H;return t.createElement(ml,{labelInline:i?.labelInline},t.createElement(ot,M({style:{display:"flex",marginBottom:`${i?.labelInline?0:"8px"}`,marginRight:`${i?.labelInline?"8px":0}`,paddingBottom:"0px"}},i)),t.createElement("div",null,t.createElement(sl,{theme:a},t.createElement(dl,{theme:a,inputStyle:l,value:e,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&o(t)},type:"number",id:r}))))};ul.propTypes={inputValue:e.any,inputStyle:e.object,id:e.string,labelProps:e.object,onChange:e.func},ul.defaultProps={inputStyle:{},inputValue:"",id:"",onChange:()=>{}};const bl=m.div`
1596
+ `,vl=({inputValue:e,inputStyle:l,onChange:o,id:r,labelProps:i})=>{const a=u()||H;return t.createElement(xl,{labelInline:i?.labelInline},t.createElement(ot,M({style:{display:"flex",marginBottom:`${i?.labelInline?0:"8px"}`,marginRight:`${i?.labelInline?"8px":0}`,paddingBottom:"0px"}},i)),t.createElement("div",null,t.createElement(fl,{theme:a},t.createElement(hl,{theme:a,inputStyle:l,value:e,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&o(t)},type:"number",id:r}))))};vl.propTypes={inputValue:e.any,inputStyle:e.object,id:e.string,labelProps:e.object,onChange:e.func},vl.defaultProps={inputStyle:{},inputValue:"",id:"",onChange:()=>{}};const Cl=m.div`
1548
1597
  background-color: ${({theme:e})=>e.additional.white};
1549
1598
 
1550
1599
  //Set the styles from the default styles object
@@ -1570,7 +1619,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1570
1619
 
1571
1620
  // custom styles
1572
1621
  ${({textBoxStyle:e})=>e}
1573
- `;bl.defaultProps={theme:H};const gl=m.input`
1622
+ `;Cl.defaultProps={theme:H};const Al=m.input`
1574
1623
  width: 85%;
1575
1624
 
1576
1625
  //Set the styles from the default styles object
@@ -1582,18 +1631,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1582
1631
  .sc-furwcr bxRAoq {
1583
1632
  color: ${({theme:e})=>e.variant["neutral-3"]};
1584
1633
  }
1585
- `,fl=b`
1634
+ `,wl=b`
1586
1635
  display: flex;
1587
1636
  gap: 7px;
1588
1637
  align-items: flex-start;
1589
- `,hl=m.div`
1590
- ${({labelInline:e})=>e?fl:null}
1638
+ `,Sl=m.div`
1639
+ ${({labelInline:e})=>e?wl:null}
1591
1640
  .err-text {
1592
1641
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1593
1642
  margin-top: 5px;
1594
1643
  font-size: 10px;
1595
1644
  }
1596
- `,yl=({passwordRules:e,textBoxStyle:l,labelStyle:o,inputStyle:i,errMsg:a,required:n,label:c,labelInline:s,isValid:d,rulesStyle:p,id:m,showHideIcon:b,errMsgColor:g,...f})=>{const[h,y]=r("password"),x=u()||H;return t.createElement(hl,M({labelInline:s,inBuiltCss:T,errMsgColor:g,theme:x},f),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({customStyles:o,type:"label-text",text:c,errMsg:a,style:{display:"flex",marginBottom:`${s?0:"8px"}`,paddingBottom:"0px"}},f)),n&&t.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),t.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start"}},t.createElement("div",{style:{width:"100%"}},t.createElement(bl,M({required:n,theme:x,textBoxStyle:l,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:T},f),t.createElement(gl,M({},f,{inputStyle:i,type:h,id:m,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:T})),!0===b?t.createElement("div",{className:"input-icon",onClick:()=>y("password"===h?"text":"password"),style:{position:"absolute",right:"7px"}},t.createElement($,{icon:"text"===h?"eye-show":"eye-hide"})):""),a.length>0&&t.createElement("div",{className:"err-text"},a)),e?t.createElement("div",{style:{...p,marginLeft:"5px"}},e):""))};yl.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},yl.defaultProps={inBuiltCss:T,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const xl=m.div`
1645
+ `,kl=({passwordRules:e,textBoxStyle:l,labelStyle:o,inputStyle:i,errMsg:a,required:n,label:c,labelInline:s,isValid:d,rulesStyle:p,id:m,showHideIcon:b,errMsgColor:g,...f})=>{const[h,y]=r("password"),x=u()||H;return t.createElement(Sl,M({labelInline:s,inBuiltCss:T,errMsgColor:g,theme:x},f),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({customStyles:o,type:"label-text",text:c,errMsg:a,style:{display:"flex",marginBottom:`${s?0:"8px"}`,paddingBottom:"0px"}},f)),n&&t.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),t.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start"}},t.createElement("div",{style:{width:"100%"}},t.createElement(Cl,M({required:n,theme:x,textBoxStyle:l,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:T},f),t.createElement(Al,M({},f,{inputStyle:i,type:h,id:m,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:T})),!0===b?t.createElement("div",{className:"input-icon",onClick:()=>y("password"===h?"text":"password"),style:{position:"absolute",right:"7px"}},t.createElement($,{icon:"text"===h?"eye-show":"eye-hide"})):""),a.length>0&&t.createElement("div",{className:"err-text"},a)),e?t.createElement("div",{style:{...p,marginLeft:"5px"}},e):""))};kl.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},kl.defaultProps={inBuiltCss:T,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const El=m.div`
1597
1646
  box-sizing: initial;
1598
1647
 
1599
1648
  //Set the styles from the default styles object
@@ -1603,7 +1652,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1603
1652
 
1604
1653
  // custom styles
1605
1654
  ${({radioOuterCircleStyle:e})=>e}
1606
- `;xl.defaultProps={theme:H};const vl=m.div`
1655
+ `;El.defaultProps={theme:H};const Vl=m.div`
1607
1656
  box-sizing: initial;
1608
1657
 
1609
1658
  //Set the styles from the default styles object
@@ -1615,7 +1664,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1615
1664
 
1616
1665
  // custom styles
1617
1666
  ${({radioInnerCircleStyle:e})=>e}
1618
- `;vl.defaultProps={theme:H};const Cl=m.div`
1667
+ `;Vl.defaultProps={theme:H};const zl=m.div`
1619
1668
  //Set the styles from the default styles object
1620
1669
  ${({inBuiltCss:e,defaultOptionStyle:t})=>j(e,t)}
1621
1670
  margin-right: ${({inline:e})=>e?"":"30px"};
@@ -1623,7 +1672,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1623
1672
 
1624
1673
  // custom styles
1625
1674
  ${({optionStyle:e})=>e}
1626
- `;Cl.defaultProps={theme:H};const Al=m.div`
1675
+ `;zl.defaultProps={theme:H};const Ml=m.div`
1627
1676
  margin-bottom: ${({inline:e})=>e?"":"14px"};
1628
1677
  cursor: pointer;
1629
1678
  align-items: center;
@@ -1632,11 +1681,11 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1632
1681
 
1633
1682
  // custom styles
1634
1683
  ${({WrapperDivStyle:e})=>e}
1635
- `,wl=m.div`
1684
+ `,Bl=m.div`
1636
1685
  display: ${({inline:e})=>e?"flex":"inline-block"};
1637
1686
  width: max-content;
1638
1687
  margin: 0;
1639
- `,Sl=({radioOuterCircleStyle:e,radioInnerCircleStyle:l,labelStyle:o,label:r,optionStyle:i,options:a,selectedCircleColor:n,selectedOptionTextColor:c,onChange:s,selected:d,width:p,height:m,inline:b,defaultBorderColor:g,defaultOptionColor:f,WrapperDivStyle:h,...y})=>{const x=u()||H;return t.createElement("div",null,t.createElement(ot,{customStyles:o,type:"radio-label",text:r}),t.createElement(wl,{inline:b},a.map(((o,r)=>t.createElement(Al,{WrapperDivStyle:h,key:r+101*Math.random(),id:o.id,inline:b,onClick:()=>{!o?.disabled&&s(o.value)}},t.createElement(xl,{theme:x,inBuiltCss:T,defaultBorderColor:g,selectedCircleColor:n,radioOuterCircleStyle:{...e,cursor:o?.disabled?"not-allowed ":" pointer",borderColor:o?.disabled&&o?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:o.value,selected:d},t.createElement(vl,{inBuiltCss:T,theme:x,width:p,height:m,selectedCircleColor:n,radioInnerCircleStyle:{...l,cursor:o?.disabled?"not-allowed ":" pointer",backgroundColor:o?.disabled&&o?.disabledColor?o?.disabledColor:o?.value===d?l?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:o.value,selected:d})),t.createElement(Cl,{defaultOptionColor:f,optionStyle:{...i,cursor:o?.disabled?"not-allowed ":" pointer",color:o?.disabled&&o?.disabledColor},inBuiltCss:T,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!o?.disabled&&o.value===d},o.label))))))};Sl.propTypes={label:e.string,labelStyle:e.object,inline:e.bool,options:e.array,optionStyle:e.object,WrapperDivStyle:e.object,selected:e.string,onChange:e.func,defaultOptionColor:e.string,defaultBorderColor:e.string,radioOuterCircleStyle:e.object,radioInnerCircleStyle:e.object,width:e.string,height:e.string,selectedCircleColor:e.string,selectedOptionTextColor:e.string},Sl.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const kl=m.div`
1688
+ `,Ll=({radioOuterCircleStyle:e,radioInnerCircleStyle:l,labelStyle:o,label:r,optionStyle:i,options:a,selectedCircleColor:n,selectedOptionTextColor:c,onChange:s,selected:d,width:p,height:m,inline:b,defaultBorderColor:g,defaultOptionColor:f,WrapperDivStyle:h,...y})=>{const x=u()||H;return t.createElement("div",null,t.createElement(ot,{customStyles:o,type:"radio-label",text:r}),t.createElement(Bl,{inline:b},a.map(((o,r)=>t.createElement(Ml,{WrapperDivStyle:h,key:r+101*Math.random(),id:o.id,inline:b,onClick:()=>{!o?.disabled&&s(o.value)}},t.createElement(El,{theme:x,inBuiltCss:T,defaultBorderColor:g,selectedCircleColor:n,radioOuterCircleStyle:{...e,cursor:o?.disabled?"not-allowed ":" pointer",borderColor:o?.disabled&&o?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:o.value,selected:d},t.createElement(Vl,{inBuiltCss:T,theme:x,width:p,height:m,selectedCircleColor:n,radioInnerCircleStyle:{...l,cursor:o?.disabled?"not-allowed ":" pointer",backgroundColor:o?.disabled&&o?.disabledColor?o?.disabledColor:o?.value===d?l?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:o.value,selected:d})),t.createElement(zl,{defaultOptionColor:f,optionStyle:{...i,cursor:o?.disabled?"not-allowed ":" pointer",color:o?.disabled&&o?.disabledColor},inBuiltCss:T,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!o?.disabled&&o.value===d},o.label))))))};Ll.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},Ll.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const Il=m.div`
1640
1689
  background-color: ${({theme:e})=>e.additional.white};
1641
1690
 
1642
1691
  //Set the styles from the default styles object
@@ -1657,7 +1706,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1657
1706
  ${({textBoxStyle:e})=>e}
1658
1707
 
1659
1708
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white}
1660
- `,El=m.input`
1709
+ `,Wl=m.input`
1661
1710
  color: ${({theme:e})=>e.additional.black};
1662
1711
  width: 85%;
1663
1712
  white-space: nowrap;
@@ -1675,18 +1724,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1675
1724
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white}};
1676
1725
  cursor: ${({isDisabled:e})=>e?"not-allowed":"text"};
1677
1726
 
1678
- `,Vl=b`
1727
+ `,Rl=b`
1679
1728
  display: flex;
1680
1729
  gap: 7px;
1681
1730
  align-items: center;
1682
- `,zl=m.div`
1683
- ${({labelInline:e})=>e?Vl:null}
1731
+ `,Pl=m.div`
1732
+ ${({labelInline:e})=>e?Rl:null}
1684
1733
  .err-text {
1685
1734
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1686
1735
  margin-top: 5px;
1687
1736
  font-size: 10px;
1688
1737
  }
1689
- `,Ml=({textBoxStyle:e,labelStyle:l,inputStyle:o,errMsg:r,required:i,label:a,labelInline:n,iconBefore:c,iconAfter:s,isValid:d,type:p,isDisabled:m,id:b,errMsgColor:g,iconAfterStyle:f,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...C})=>{const A=u()||H;return t.createElement(zl,M({labelInline:n,theme:A,errMsgColor:g},C),t.createElement(ot,M({customStyles:l,type:"label-text",labelInline:n,text:a,errMsg:r,style:{display:"flex",marginBottom:`${n?0:"8px"}`,paddingBottom:"0px"},required:i},C)),t.createElement(kl,M({required:i,isDisabled:m,theme:A,textBoxStyle:e,isValid:d,inBuiltCss:T,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},C),t.createElement("div",{className:"input-icon",style:{...h}},c),t.createElement(El,M({inputStyle:o,type:p,theme:A,id:b,defaultInputStyle:"input-wrapper",isDisabled:m,disabled:m,ref:y,pattern:x},C)),t.createElement("div",{className:"input-icon",style:{...f}},s)),r.length>0&&t.createElement("div",{className:"err-text"},r))};Ml.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},Ml.defaultProps={inBuiltCss:T,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const Bl=({label:e,placeholder:l,handleSearch:o,searchInput:r,customStylesForm:i,customStyleObject:a,textBoxStyle:n,id:c,...s})=>t.createElement(Ml,M({iconAfter:t.createElement($,{icon:"magnifier-icon"}),label:e,textBoxStyle:n,placeholder:l,ref:r,onChange:o,id:c},s)),Il=m.div`
1738
+ `,Hl=({textBoxStyle:e,labelStyle:l,inputStyle:o,errMsg:r,required:i,label:a,labelInline:n,iconBefore:c,iconAfter:s,isValid:d,type:p,isDisabled:m,id:b,errMsgColor:g,iconAfterStyle:f,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...C})=>{const A=u()||H;return t.createElement(Pl,M({labelInline:n,theme:A,errMsgColor:g},C),t.createElement(ot,M({customStyles:l,type:"label-text",labelInline:n,text:a,errMsg:r,style:{display:"flex",marginBottom:`${n?0:"8px"}`,paddingBottom:"0px"},required:i},C)),t.createElement(Il,M({required:i,isDisabled:m,theme:A,textBoxStyle:e,isValid:d,inBuiltCss:T,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},C),t.createElement("div",{className:"input-icon",style:{...h}},c),t.createElement(Wl,M({inputStyle:o,type:p,theme:A,id:b,defaultInputStyle:"input-wrapper",isDisabled:m,disabled:m,ref:y,pattern:x},C)),t.createElement("div",{className:"input-icon",style:{...f}},s)),r.length>0&&t.createElement("div",{className:"err-text"},r))};Hl.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},Hl.defaultProps={inBuiltCss:T,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const Tl=({label:e,placeholder:l,handleSearch:o,searchInput:r,customStylesForm:i,customStyleObject:a,textBoxStyle:n,id:c,...s})=>t.createElement(Hl,M({iconAfter:t.createElement($,{icon:"magnifier-icon"}),label:e,textBoxStyle:n,placeholder:l,ref:r,onChange:o,id:c},s)),jl=m.div`
1690
1739
  //Set the styles from the default styles object
1691
1740
  ${({inBuiltCss:e,defaultParentDivStyle:t})=>j(e,t)}
1692
1741
 
@@ -1695,7 +1744,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1695
1744
  &:focus-within {
1696
1745
  border-color: ${({activeColor:e,theme:t})=>e||t.primary["primary-1"]};
1697
1746
  }
1698
- `,Ll=m.div`
1747
+ `,Fl=m.div`
1699
1748
  //Set the styles from the default styles object
1700
1749
  ${({inBuiltCss:e,defaultWrapperDivStyle:t})=>j(e,t)}
1701
1750
 
@@ -1707,7 +1756,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1707
1756
  border-left: ${({signIcon:e})=>e?"":"none"};
1708
1757
  margin-left: ${({signIcon:e})=>e?"":"42px"};
1709
1758
  position: ${({signIcon:e})=>e?"absolute":""};
1710
- `,Wl=m.div`
1759
+ `,ql=m.div`
1711
1760
  width: 39px;
1712
1761
  height: 44px;
1713
1762
  display: flex;
@@ -1717,7 +1766,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1717
1766
  border-bottom: ${({penIcon:e,isMyInputFocused:t,activeColor:l,defaultColor:o,theme:r})=>e?t?`1px solid ${l||r.primary["primary-1"]}`:`1px solid ${o||r.neutral["neutral-3"]}`:""};
1718
1767
  background-color: rgba(255, 255, 255, 0.05);
1719
1768
  cursor: pointer;
1720
- `,Rl=m.input`
1769
+ `,Zl=m.input`
1721
1770
  ${({inBuiltCss:e,defaultInputStyle:t})=>j(e,t)}
1722
1771
 
1723
1772
  border-bottom: ${({value:e,defaultColor:t,theme:l})=>e.length>0?"none":t};
@@ -1741,17 +1790,17 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1741
1790
 
1742
1791
  // custom styles
1743
1792
  ${({customInputStyle:e})=>e}
1744
- `,Pl=m.div`
1793
+ `,Ol=m.div`
1745
1794
  position: relative;
1746
1795
  width: inherit;
1747
1796
  display: flex;
1748
1797
  margin: 4px;
1749
- `,Hl=m.div`
1798
+ `,Dl=m.div`
1750
1799
  padding-left: 2px;
1751
1800
  display: flex;
1752
1801
  justify-content: center;
1753
1802
  cursor: pointer;
1754
- `,Tl=({onChange:e,activeColor:l,defaultColor:a,placeholderColor:n,placeholderText:c,customInputStyle:s,pointsArray:d,setPointsArray:p,value:m,setValue:b,valueForSignatureDrawing:g,setValueForSignatureDrawing:f,imageURL:h,setImageURL:y,id:x,...v})=>{const C=u()||H,[A,w]=r("default"),[S,E]=r(!1),[V,z]=r(!1),M=o(null);i((()=>{V&&(I(),f(M.current))}),[!0===V]);const B=()=>{b(""),f(M.current),M.current&&M.current.clear(),E(!1),z(!1)},I=()=>(p(M.current.toData()),y(M.current.toDataURL("image/png")),[h,d]);return t.createElement(Il,{inBuiltCss:T,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:S,selected:A,activeColor:l,defaultColor:a,theme:C},t.createElement(Ll,{inBuiltCss:T,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:l,defaultColor:a,selected:A,isMyInputFocused:S,signIcon:!0,theme:C},t.createElement(Wl,{activeColor:l,defaultColor:a,isMyInputFocused:S,theme:C,penIcon:!0,onClick:()=>{w("default"),B()}},t.createElement($,{icon:"pen-icon",color:"default"===A?l||C.primary["primary-1"]:C.additional.black})),t.createElement(Wl,{activeColor:l,defaultColor:a,theme:C,isMyInputFocused:S,penIcon:!1,onClick:()=>{w("sign"),B()}},t.createElement($,{icon:"sign-icon",color:"default"!==A?l||C.primary["primary-1"]:C.additional.black}))),t.createElement(Ll,{inBuiltCss:T,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:l,defaultColor:a,theme:C,selected:A,isMyInputFocused:S,signIcon:!1,onTouchStart:()=>{}},"default"===A?t.createElement(Rl,{inBuiltCss:T,defaultInputStyle:"signature-input-text",placeholder:c,placeholderColor:n,customInputStyle:s,onBlur:()=>E(!1),onFocus:()=>E(!0),id:x,value:m,defaultColor:a,theme:C,onChange:e=>b(e.target.value)}):t.createElement(Pl,{onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),onClick:()=>{z(!0),I()}},t.createElement(k,{ref:M,id:x,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(m||V)&&t.createElement(Hl,{selected:A,onClick:()=>B()},t.createElement($,{icon:"cross-icon",color:a||C.neutral["neutral-3"]}))))};Tl.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},Tl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const jl=m.div`
1803
+ `,Gl=({onChange:e,activeColor:l,defaultColor:a,placeholderColor:n,placeholderText:c,customInputStyle:s,pointsArray:d,setPointsArray:p,value:m,setValue:b,valueForSignatureDrawing:g,setValueForSignatureDrawing:f,imageURL:h,setImageURL:y,id:x,...v})=>{const C=u()||H,[A,w]=r("default"),[S,E]=r(!1),[V,z]=r(!1),M=o(null);i((()=>{V&&(L(),f(M.current))}),[!0===V]);const B=()=>{b(""),f(M.current),M.current&&M.current.clear(),E(!1),z(!1)},L=()=>(p(M.current.toData()),y(M.current.toDataURL("image/png")),[h,d]);return t.createElement(jl,{inBuiltCss:T,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:S,selected:A,activeColor:l,defaultColor:a,theme:C},t.createElement(Fl,{inBuiltCss:T,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:l,defaultColor:a,selected:A,isMyInputFocused:S,signIcon:!0,theme:C},t.createElement(ql,{activeColor:l,defaultColor:a,isMyInputFocused:S,theme:C,penIcon:!0,onClick:()=>{w("default"),B()}},t.createElement($,{icon:"pen-icon",color:"default"===A?l||C.primary["primary-1"]:C.additional.black})),t.createElement(ql,{activeColor:l,defaultColor:a,theme:C,isMyInputFocused:S,penIcon:!1,onClick:()=>{w("sign"),B()}},t.createElement($,{icon:"sign-icon",color:"default"!==A?l||C.primary["primary-1"]:C.additional.black}))),t.createElement(Fl,{inBuiltCss:T,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:l,defaultColor:a,theme:C,selected:A,isMyInputFocused:S,signIcon:!1,onTouchStart:()=>{}},"default"===A?t.createElement(Zl,{inBuiltCss:T,defaultInputStyle:"signature-input-text",placeholder:c,placeholderColor:n,customInputStyle:s,onBlur:()=>E(!1),onFocus:()=>E(!0),id:x,value:m,defaultColor:a,theme:C,onChange:e=>b(e.target.value)}):t.createElement(Ol,{onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),onClick:()=>{z(!0),L()}},t.createElement(k,{ref:M,id:x,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(m||V)&&t.createElement(Dl,{selected:A,onClick:()=>B()},t.createElement($,{icon:"cross-icon",color:a||C.neutral["neutral-3"]}))))};Gl.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},Gl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const Xl=m.div`
1755
1804
  background-color: ${({theme:e})=>e.additional.white};
1756
1805
  //Set the styles from the default styles object
1757
1806
  ${({inBuiltCss:e,defaultWrapperStyle:t})=>j(e,t)}
@@ -1773,19 +1822,19 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1773
1822
 
1774
1823
  // custom styles
1775
1824
  ${({textAreaStyle:e})=>e}
1776
- `,Fl=m.textarea`
1825
+ `,Jl=m.textarea`
1777
1826
  //Set the styles from the default styles object
1778
1827
  ${({inBuiltCss:e,defaultInputStyle:t})=>j(e,t)}
1779
1828
  margin: 0;
1780
1829
  overflow: auto;
1781
1830
  resize: vertical // custom styles
1782
1831
  ${({inputStyle:e})=>e};
1783
- `,ql=b`
1832
+ `,Ul=b`
1784
1833
  display: flex;
1785
1834
  gap: 7px;
1786
1835
  align-items: center;
1787
- `,Zl=m.div`
1788
- ${({labelInline:e})=>e?ql:null}
1836
+ `,Yl=m.div`
1837
+ ${({labelInline:e})=>e?Ul:null}
1789
1838
  ${({customStylesForm:e})=>{if(e)return{...e}}}
1790
1839
  position: relative;
1791
1840
  .err-text {
@@ -1793,7 +1842,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1793
1842
  margin-top: 5px;
1794
1843
  font-size: 10px;
1795
1844
  }
1796
- `,Ol=t.forwardRef((({customStylesForm:e,textAreaStyle:l,labelStyle:o,inputStyle:r,errMsg:i,required:a,label:n,labelInline:c,iconBefore:s,iconAfter:d,isValid:p,rows:m,cols:b,id:g,...f},h)=>{const y=u()||H;return t.createElement(Zl,M({labelInline:c,customStylesForm:e,theme:y},f),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({customStyles:o,type:"label-text",labelInline:c,text:n,errMsg:i,style:{display:"flex",marginBottom:`${c?0:"8px"}`,paddingBottom:"0px"}},f)),a&&t.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),t.createElement(jl,M({theme:y,required:a,textAreaStyle:l,isValid:p,inBuiltCss:T,defaultWrapperStyle:"textbox-wrapper"},f),t.createElement("div",{className:"input-icon"},s),t.createElement(Fl,M({ref:h,inputStyle:r,defaultInputStyle:"textarea-wrapper",cols:b,rows:m,inBuiltCss:T,id:g},f,{size:"1"})),t.createElement("div",{className:"input-icon"},d)),t.createElement("div",{className:"err-text"},i))}));Ol.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},Ol.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const Dl=m.div`
1845
+ `,Nl=t.forwardRef((({customStylesForm:e,textAreaStyle:l,labelStyle:o,inputStyle:r,errMsg:i,required:a,label:n,labelInline:c,iconBefore:s,iconAfter:d,isValid:p,rows:m,cols:b,id:g,...f},h)=>{const y=u()||H;return t.createElement(Yl,M({labelInline:c,customStylesForm:e,theme:y},f),t.createElement("div",{style:{display:"flex"}},t.createElement(ot,M({customStyles:o,type:"label-text",labelInline:c,text:n,errMsg:i,style:{display:"flex",marginBottom:`${c?0:"8px"}`,paddingBottom:"0px"}},f)),a&&t.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),t.createElement(Xl,M({theme:y,required:a,textAreaStyle:l,isValid:p,inBuiltCss:T,defaultWrapperStyle:"textbox-wrapper"},f),t.createElement("div",{className:"input-icon"},s),t.createElement(Jl,M({ref:h,inputStyle:r,defaultInputStyle:"textarea-wrapper",cols:b,rows:m,inBuiltCss:T,id:g},f,{size:"1"})),t.createElement("div",{className:"input-icon"},d)),t.createElement("div",{className:"err-text"},i))}));Nl.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},Nl.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const Ql=m.div`
1797
1846
  color: #a9b1b8;
1798
1847
  font-size: 21px;
1799
1848
  border: 1px solid
@@ -1807,7 +1856,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1807
1856
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
1808
1857
  outline: none;
1809
1858
  }
1810
- `,Gl=m.input`
1859
+ `,Kl=m.input`
1811
1860
  border: 0;
1812
1861
  outline: 0;
1813
1862
  color: ${({theme:e})=>e.variant["primary-2"]};
@@ -1817,23 +1866,23 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1817
1866
  width: 24px;
1818
1867
  text-align:center;
1819
1868
  background-color: ${({theme:e})=>e.additional.white};
1820
- `,Xl=b`
1869
+ `,$l=b`
1821
1870
  &:after {
1822
1871
  content: ' *';
1823
1872
  color: ${({theme:e})=>e.variant.error};
1824
1873
  }
1825
- `,Jl=m.label`
1874
+ `,_l=m.label`
1826
1875
  display: block;
1827
1876
  margin-bottom: ${({labelInline:e,errMsg:t})=>e&&t?"18px":"8px"};
1828
1877
  margin-right: ${({labelInline:e})=>e?"8px":""};
1829
1878
  color: ${({theme:e})=>e.variant["neutral-2"]};
1830
- ${({required:e})=>e?Xl:null}
1879
+ ${({required:e})=>e?$l:null}
1831
1880
  padding-bottom: 0px;
1832
- `,Ul=b`
1881
+ `,eo=b`
1833
1882
  display: flex;
1834
1883
  align-items: center;
1835
- `,Yl=m.div`
1836
- ${({labelInline:e})=>e?Ul:null}
1884
+ `,to=m.div`
1885
+ ${({labelInline:e})=>e?eo:null}
1837
1886
  .err-text {
1838
1887
  color: ${({theme:e})=>e.variant.error};
1839
1888
  margin-top: 5px;
@@ -1843,7 +1892,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1843
1892
  > div {
1844
1893
  flex: 1 0 auto;
1845
1894
  }
1846
- `,Nl=m.button`
1895
+ `,lo=m.button`
1847
1896
  border: none;
1848
1897
  outline: none;
1849
1898
  border-radius: 4px;
@@ -1852,9 +1901,9 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1852
1901
  padding: 5px 6px;
1853
1902
  font-size: 18px;
1854
1903
  cursor: pointer;
1855
- `,Ql=({label:e,errMsg:l,hour:o,minute:r,period:i,onChange:a,id:n,...c})=>{const s=u()||H;return t.createElement(Yl,M({theme:s},c),t.createElement(Jl,M({theme:s},c,{errMsg:l}),e),t.createElement("div",null,t.createElement(Dl,M({theme:s,id:n},c),t.createElement(Gl,{theme:s,value:o,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;a({hour:t,minute:r,period:i})}}),":",t.createElement(Gl,{theme:s,value:r,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;a({hour:o,minute:t,period:i})}}),t.createElement(Nl,{theme:s,onClick:function(e){a({hour:o,minute:r,period:"AM"===i?"PM":"AM"})}},i)),t.createElement("div",{className:"err-text"},l)))};Ql.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},Ql.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Kl=m.div`
1904
+ `,oo=({label:e,errMsg:l,hour:o,minute:r,period:i,onChange:a,id:n,...c})=>{const s=u()||H;return t.createElement(to,M({theme:s},c),t.createElement(_l,M({theme:s},c,{errMsg:l}),e),t.createElement("div",null,t.createElement(Ql,M({theme:s,id:n},c),t.createElement(Kl,{theme:s,value:o,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;a({hour:t,minute:r,period:i})}}),":",t.createElement(Kl,{theme:s,value:r,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;a({hour:o,minute:t,period:i})}}),t.createElement(lo,{theme:s,onClick:function(e){a({hour:o,minute:r,period:"AM"===i?"PM":"AM"})}},i)),t.createElement("div",{className:"err-text"},l)))};oo.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},oo.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const ro=m.div`
1856
1905
  ${({inBuiltCss:e,defaultCheckBoxWrapperStyle:t})=>j(e,t)}
1857
- `,$l=m.label`
1906
+ `,io=m.label`
1858
1907
  position: absolute;
1859
1908
  width: ${({labelPosition:e})=>"inside"===e?"51.52px":"45px"};
1860
1909
  height: ${({labelPosition:e})=>"inside"===e?"20.11px":"22px"};
@@ -1880,7 +1929,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1880
1929
  // custom styles
1881
1930
  ${({customSwitchStyle:e})=>e}
1882
1931
  }
1883
- `,_l=m.input.attrs({type:"checkbox"})`
1932
+ `,ao=m.input.attrs({type:"checkbox"})`
1884
1933
  opacity: 0;
1885
1934
  z-index: 1;
1886
1935
  border-radius: 11.04px;
@@ -1892,7 +1941,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1892
1941
  // custom styles
1893
1942
 
1894
1943
 
1895
- `,eo=m.span`
1944
+ `,no=m.span`
1896
1945
  color: ${({theme:e,labelPosition:t})=>"inside"===t?e.neutral["neutral-5"]:e.additional["text-color"]};
1897
1946
  font-size: ${({labelPosition:e})=>"inside"===e?"10px":"16px"};
1898
1947
  position: ${({labelPosition:e})=>"inside"===e?"absolute":"initial"};
@@ -1900,7 +1949,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1900
1949
  margin-right:${({labelPosition:e})=>"inside"===e?0:"8px"};
1901
1950
  // custom styles
1902
1951
  ${({optionStyle:e})=>e};
1903
- `,to=({checked:e,customSwitchStyle:l,customToggleBoxStyle:o,onClick:r,optionStyle:i,id:a,isDisabled:n,trueLabel:c,falseLabel:s,labelPosition:d,...p})=>{const m=u()||H;return t.createElement(Kl,M({inBuiltCss:T,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},p),"left"===d&&t.createElement(eo,{optionStyle:i,inBuiltCss:T,theme:m,checked:e,labelPosition:d},e?c:s),t.createElement(_l,M({},p,{id:a,inBuiltCss:T,onClick:()=>{r(!e)},isChecked:e,disabled:n,isDisabled:n,customToggleBoxStyle:o,labelPosition:d})),t.createElement($l,M({},p,{htmlFor:a,customToggleBoxStyle:o,customSwitchStyle:l,inBuiltCss:T,checked:e,theme:m,isDisabled:n,labelPosition:d})),("right"===d||"inside"===d)&&t.createElement(eo,{optionStyle:i,inBuiltCss:T,theme:m,checked:e,labelPosition:d},e?c:s))};to.propTypes={customToggleBoxStyle:e.object,customSwitchStyle:e.object,checked:e.bool,id:e.string,isDisabled:e.bool,trueLabel:e.string,falseLabel:e.string,labelPosition:e.oneOf(["left","right","inside"])},to.defaultProps={checked:!1,customSwitchStyle:{},customToggleBoxStyle:{},id:"",isDisabled:!1,trueLabel:"Yes",falseLabel:"NO",labelPosition:"right"};const lo=m.div`
1952
+ `,co=({checked:e,customSwitchStyle:l,customToggleBoxStyle:o,onClick:r,optionStyle:i,id:a,isDisabled:n,trueLabel:c,falseLabel:s,labelPosition:d,...p})=>{const m=u()||H;return t.createElement(ro,M({inBuiltCss:T,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},p),"left"===d&&t.createElement(no,{optionStyle:i,inBuiltCss:T,theme:m,checked:e,labelPosition:d},e?c:s),t.createElement(ao,M({},p,{id:a,inBuiltCss:T,onClick:()=>{r(!e)},isChecked:e,disabled:n,isDisabled:n,customToggleBoxStyle:o,labelPosition:d})),t.createElement(io,M({},p,{htmlFor:a,customToggleBoxStyle:o,customSwitchStyle:l,inBuiltCss:T,checked:e,theme:m,isDisabled:n,labelPosition:d})),("right"===d||"inside"===d)&&t.createElement(no,{optionStyle:i,inBuiltCss:T,theme:m,checked:e,labelPosition:d},e?c:s))};co.propTypes={customToggleBoxStyle:e.object,customSwitchStyle:e.object,checked:e.bool,id:e.string,isDisabled:e.bool,trueLabel:e.string,falseLabel:e.string,labelPosition:e.oneOf(["left","right","inside"])},co.defaultProps={checked:!1,customSwitchStyle:{},customToggleBoxStyle:{},id:"",isDisabled:!1,trueLabel:"Yes",falseLabel:"NO",labelPosition:"right"};const so=m.div`
1904
1953
  background-color: ${({theme:e})=>e.additional.white};
1905
1954
  padding: 24px 8px;
1906
1955
  ${({commentWrapperStyle:e})=>e};
@@ -1916,10 +1965,10 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1916
1965
  }
1917
1966
  }
1918
1967
  }
1919
- `,oo=m.div`
1968
+ `,po=m.div`
1920
1969
  margin-bottom: 24px;
1921
1970
  ${({commentBodyStyle:e})=>e};
1922
- `,ro=m.div`
1971
+ `,mo=m.div`
1923
1972
  display: flex;
1924
1973
  flex-direction: row;
1925
1974
  width: 100%;
@@ -1930,7 +1979,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1930
1979
  flex-direction: column;
1931
1980
  align-items: flex-start;
1932
1981
  }
1933
- `,io=m.span`
1982
+ `,uo=m.span`
1934
1983
  margin-left: 24px;
1935
1984
  font-size: 14px;
1936
1985
  color: ${({theme:e})=>e.variant["neutral-2"]};
@@ -1939,13 +1988,13 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1939
1988
  @media (max-width: 576px) {
1940
1989
  margin-left: 56px;
1941
1990
  }
1942
- `,ao=m.div`
1991
+ `,bo=m.div`
1943
1992
  margin: 0.75rem 0 0 3.5rem;
1944
1993
  font-size: 16px;
1945
1994
  word-break: break-word;
1946
1995
  color: ${H.variant["graph-6"]};
1947
1996
  ${({commentDivStyle:e})=>e};
1948
- `,no=m.div`
1997
+ `,go=m.div`
1949
1998
  display: flex;
1950
1999
  justify-content: flex-start;
1951
2000
  align-items: flex-start;
@@ -1954,13 +2003,13 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1954
2003
  padding: 16px 24px;
1955
2004
  border-radius: 0px 0px 4px 4px;
1956
2005
  ${({inputWrapperStyle:e})=>e};
1957
- `,co=m.div`
2006
+ `,fo=m.div`
1958
2007
  display: inline-flex;
1959
2008
  margin-top: 16px;
1960
- `,so=m.div`
2009
+ `,ho=m.div`
1961
2010
  width: 100%;
1962
2011
  margin-left: 16px;
1963
- `,po=({commentsArray:e,customStyles:l,myInfoAvatarProps:o,loading:i,viewOnly:a,textInputProps:n,saveBtnProps:c,cancelBtnProps:s,loadMore:d,avatarProps:p,message:m})=>{const b=u()||H,[g,f]=r(!1),[h,y]=r(e||[]);return t.createElement(lo,{commentWrapperStyle:l?.commentWrapperStyle,theme:b},h.map(((e,o)=>{const{name:r,date:i,comment:a,image:n}=e;return t.createElement(oo,{key:o,commentBodyStyle:l?.commentBodyStyle,theme:b},t.createElement(ro,{commentHeadStyle:l?.commentHeadStyle},t.createElement(be,M({user:{fullName:r,userName:r,url:n},toggleName:!0,size:"LG",customStylesName:{color:b.additional["text-color"]}},p)),t.createElement(io,{dateTimeStyle:l?.dateTimeStyle,theme:b},i)),t.createElement(ao,{commentDivStyle:l?.commentDivStyle},a))})),!i&&0===h.length&&m,i&&t.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"24px"}},t.createElement(Ie,{size:25})),!i&&d.showLoadMore&&t.createElement("div",{className:"load-more"},t.createElement(Re,{onClick:()=>(async()=>{let e=await d.callback();y((t=>[...t,...e]))})()},"Load more")),!a&&t.createElement(no,{theme:b,inputWrapperStyle:l?.inputWrapperStyle},t.createElement(be,M({toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}},o)),t.createElement(so,null,t.createElement(Ml,M({inputStyle:{height:"23px"},isValid:!0,onFocus:e=>f(!0)},n)),g&&t.createElement(co,null,t.createElement(Te,c,c.text),t.createElement(Re,M({disabled:!(!s?.isLoading&&!c?.isLoading),onClick:e=>f(!1),btnStyle:{color:b.variant["neutral-1"]}},s),s.text)))))};po.propTypes={commentsArray:e.array,customStyles:e.object,myInfoAvatarProps:e.bool,viewOnly:e.bool,textInputProps:e.object,saveBtnProps:e.object,cancelBtnProps:e.object,loadMore:e.object,avatarProps:e.object,message:e.element},po.defaultProps={commentsArray:[],customStyles:{commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{}},myInfoAvatarProps:{},loading:!1,viewOnly:!1,textInputProps:{},saveBtnProps:{size:"sm",text:"Save"},cancelBtnProps:{size:"sm",text:"Cancel"},loadMore:{showLoadMore:!1,callback:()=>{}},avatarProps:{},message:t.createElement("span",{style:{textAlign:"center",display:"block",marginBottom:"16px"}},"No comments yet")};const mo=m.div`
2012
+ `,yo=({commentsArray:e,customStyles:l,myInfoAvatarProps:o,loading:i,viewOnly:a,textInputProps:n,saveBtnProps:c,cancelBtnProps:s,loadMore:d,avatarProps:p,message:m})=>{const b=u()||H,[g,f]=r(!1),[h,y]=r(e||[]),x=async e=>{let t;t="post"===e?await c.callback():await d.callback(),y((e=>[...e,...t]))};return t.createElement(so,{commentWrapperStyle:l?.commentWrapperStyle,theme:b},h.map(((e,o)=>{const{name:r,date:i,comment:a,image:n}=e;return t.createElement(po,{key:o,commentBodyStyle:l?.commentBodyStyle,theme:b},t.createElement(mo,{commentHeadStyle:l?.commentHeadStyle},t.createElement(be,M({user:{fullName:r,userName:r,url:n},toggleName:!0,size:"LG",customStylesName:{color:b.additional["text-color"]}},p)),t.createElement(uo,{dateTimeStyle:l?.dateTimeStyle,theme:b},i)),t.createElement(bo,{commentDivStyle:l?.commentDivStyle},a))})),!i&&0===h.length&&m,i&&t.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"24px"}},t.createElement(Le,{size:25})),!i&&d.showLoadMore&&t.createElement("div",{className:"load-more"},t.createElement(Re,{onClick:()=>x("load")},"Load more")),!a&&t.createElement(go,{theme:b,inputWrapperStyle:l?.inputWrapperStyle},t.createElement(be,M({toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}},o)),t.createElement(ho,null,t.createElement(Hl,M({inputStyle:{height:"23px"},isValid:!0,onFocus:e=>f(!0)},n)),g&&t.createElement(fo,null,t.createElement(Te,M({onClick:e=>x("post")},c),c.text),t.createElement(Re,M({disabled:!(!s?.isLoading&&!c?.isLoading),onClick:e=>f(!1),btnStyle:{color:b.variant["neutral-1"]}},s),s.text)))))};yo.propTypes={commentsArray:e.array,customStyles:e.object,myInfoAvatarProps:e.bool,viewOnly:e.bool,textInputProps:e.object,saveBtnProps:e.object,cancelBtnProps:e.object,loadMore:e.object,avatarProps:e.object,message:e.element},yo.defaultProps={commentsArray:[],customStyles:{commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{}},myInfoAvatarProps:{},loading:!1,viewOnly:!1,textInputProps:{},saveBtnProps:{size:"sm",text:"Save"},cancelBtnProps:{size:"sm",text:"Cancel"},loadMore:{showLoadMore:!1,callback:()=>{}},avatarProps:{},message:t.createElement("span",{style:{textAlign:"center",display:"block",marginBottom:"16px"}},"No comments yet")};const xo=m.div`
1964
2013
  //Set the styles from the default styles object
1965
2014
  ${({theme:e,type:t})=>j(e,t)}
1966
2015
  @media (max-width: 980px) {
@@ -1968,7 +2017,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1968
2017
  }
1969
2018
  // custom styles
1970
2019
  ${({customStyles:e})=>e}
1971
- `,uo=({theme:e,type:l,customStyles:o,...r})=>t.createElement(mo,M({theme:e,customStyles:o,type:l},r),r.children);uo.propTypes={theme:e.object,customStyles:e.object,type:e.string},uo.defaultProps={theme:T,customStyles:null,type:"content"};const bo=m.div`
2020
+ `,vo=({theme:e,type:l,customStyles:o,...r})=>t.createElement(xo,M({theme:e,customStyles:o,type:l},r),r.children);vo.propTypes={theme:e.object,customStyles:e.object,type:e.string},vo.defaultProps={theme:T,customStyles:null,type:"content"};const Co=m.div`
1972
2021
  width: 100%;
1973
2022
  display: flex;
1974
2023
  flex-direction: column;
@@ -1980,7 +2029,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1980
2029
  button:focus {
1981
2030
  outline: none;
1982
2031
  }
1983
- `,go=m.div`
2032
+ `,Ao=m.div`
1984
2033
  position: relative;
1985
2034
  display: flex;
1986
2035
  width: 100%;
@@ -2064,7 +2113,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2064
2113
  margin-top: 0;
2065
2114
  }
2066
2115
  }
2067
- `,fo=m.span`
2116
+ `,wo=m.span`
2068
2117
  color: #2e56f4;
2069
2118
  font-style: normal;
2070
2119
  font-weight: normal;
@@ -2074,14 +2123,14 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2074
2123
  margin-top: 37px;
2075
2124
  margin-right: 65px;
2076
2125
  white-space: nowrap;
2077
- `,ho=m.div`
2126
+ `,So=m.div`
2078
2127
  display: flex;
2079
2128
  flex-direction: column;
2080
2129
  ${""}
2081
2130
  max-width: 1340px;
2082
2131
  width: 100%;
2083
2132
  align-items: center;
2084
- `,yo=m.div`
2133
+ `,ko=m.div`
2085
2134
  position: absolute;
2086
2135
  font-size: 12px;
2087
2136
  border-radius: 50%;
@@ -2098,23 +2147,23 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2098
2147
  transform: translate(30%, -30%);
2099
2148
  color: white;
2100
2149
  font-weight: 600;
2101
- `,xo=m.div`
2150
+ `,Eo=m.div`
2102
2151
  width: 90%;
2103
- `,vo=m.div`
2152
+ `,Vo=m.div`
2104
2153
  background: linear-gradient(
2105
2154
  0deg,
2106
2155
  hsla(0, 0%, 100%, 1) 20%,
2107
2156
  hsla(0, 0%, 100%, 0.5) 100%
2108
2157
  );
2109
2158
  width: 90%;
2110
- `,Co=m.div`
2159
+ `,zo=m.div`
2111
2160
  width: 90%;
2112
- `,Ao=m.div`
2161
+ `,Mo=m.div`
2113
2162
  display: flex;
2114
2163
  margin-left: auto !important;
2115
2164
  margin-right: auto !important;
2116
2165
  cursor: pointer;
2117
- `,wo=m.div`
2166
+ `,Bo=m.div`
2118
2167
  display: flex;
2119
2168
  flex-direction: column;
2120
2169
  width: 180px;
@@ -2123,10 +2172,10 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2123
2172
  border-radius: 6px;
2124
2173
  margin-right: 0.5rem;
2125
2174
  z-index: 999;
2126
- `,So=m.div`
2175
+ `,Lo=m.div`
2127
2176
  margin: 10.5px 13px;
2128
2177
  padding: 0;
2129
- `,ko=m.div`
2178
+ `,Io=m.div`
2130
2179
  color: #081348;
2131
2180
  padding: 7.7px 6.5px 7.7px 24px;
2132
2181
  margin: 2.5px 13px;
@@ -2144,7 +2193,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2144
2193
  background: #eaeefe;
2145
2194
  border-radius: 5px;
2146
2195
  }
2147
- `,Eo=m.div`
2196
+ `,Wo=m.div`
2148
2197
  position: relative;
2149
2198
  display: flex;
2150
2199
  width: 100%;
@@ -2228,41 +2277,41 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2228
2277
  margin-top: 0;
2229
2278
  }
2230
2279
  }
2231
- `,Vo=m.div`
2280
+ `,Ro=m.div`
2232
2281
  display: flex;
2233
2282
  justify-content: flex-end;
2234
- `,zo=m.div`
2283
+ `,Po=m.div`
2235
2284
  display: flex;
2236
2285
  justify-content: center;
2237
2286
  flex-direction: row;
2238
2287
  align-items: flex-start;
2239
2288
  gap: 20px;
2240
- `,Mo=m.div`
2289
+ `,Ho=m.div`
2241
2290
  width: 48;
2242
2291
  max-width: 48%;
2243
2292
  min-width: 48%;
2244
2293
 
2245
- `,Bo=m.form`
2294
+ `,To=m.form`
2246
2295
  width: 40vw;
2247
2296
  display: flex;
2248
2297
  justify-content: center;
2249
2298
  flex-direction: column;
2250
2299
  gap: 20px;
2251
2300
  ${({customStyles:e})=>e}
2252
- `,Io=({customStyles:e,children:l})=>t.createElement(Bo,{customStyles:e},l),Lo=m.div`
2301
+ `,jo=({customStyles:e,children:l})=>t.createElement(To,{customStyles:e},l),Fo=m.div`
2253
2302
  display: ${({vertical:e})=>e?"inline-block":"block"};
2254
2303
  background: ${({theme:e,borderColor:t})=>t||e.neutral["neutral-5"]};
2255
2304
  content: '';
2256
2305
  height: ${({vertical:e,thickness:t,height:l})=>e?l:t};
2257
2306
  width: ${({vertical:e,thickness:t})=>e?t:null};
2258
- `,Wo=({vertical:e,borderColor:l,thickness:o,height:r,...i})=>{const a=u()||H;return t.createElement(Lo,M({theme:a,borderColor:l,thickness:o,vertical:e,height:r},i))};Wo.propTypes={thickness:e.string,borderColor:e.string,vertical:e.bool,height:e.string},Wo.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const Ro=m.div`
2307
+ `,qo=({vertical:e,borderColor:l,thickness:o,height:r,...i})=>{const a=u()||H;return t.createElement(Fo,M({theme:a,borderColor:l,thickness:o,vertical:e,height:r},i))};qo.propTypes={thickness:e.string,borderColor:e.string,vertical:e.bool,height:e.string},qo.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const Zo=m.div`
2259
2308
  //Set the styles from the default styles object
2260
2309
  ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.common)r[t]=e.common[t];for(const l in e[t])delete e.common[l],r[l]=e[t][l];r=l?{...r,...e["drawer-open"]}:{...r,...e["drawer-close"]}}return{...r,...o}}}}
2261
- `,Po=({customStyles:e,drawerOpen:l,setDrawerOpen:o,children:r,...i})=>t.createElement(Ro,M({inBuiltCss:T,customStyles:e,type:"drawer",drawerOpen:l},i),r);Po.propTypes={customStyles:e.object,drawerOpen:e.bool,setDrawerOpen:e.func},Po.defaultProps={setDrawerOpen:()=>null};class Ho extends n{constructor(e){super(e),this.state={hasError:!1},this.refreshPage=this.refreshPage.bind(this)}componentDidCatch(e,t){this.setState({hasError:!0})}refreshPage(){window.location.reload()}render(){const{hasError:e}=this.state;return e?t.createElement(c,null,t.createElement("h3",null,t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.12em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1856 1664"},t.createElement("path",{d:"M1056 1375v-190q0-14-9.5-23.5t-22.5-9.5H832q-13 0-22.5 9.5T800 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19q-13-11-24-11H818q-11 0-24 11q-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126q-17 29-46.5 46t-63.5 17H160q-34 0-63.5-17T50 1601q-37-63-2-126L816 67q17-31 47-49t65-18t65 18t47 49z",fill:"currentColor"})),"We have experienced an issue. We generated a support ticket on our end to investigate this issue We are sorry about the inconvenience."),t.createElement(Te,{onClick:()=>this.refreshPage()},"Click to refresh")):this.props.children}}Ho.propTypes={children:e.any};const To=b`
2310
+ `,Oo=({customStyles:e,drawerOpen:l,setDrawerOpen:o,children:r,...i})=>t.createElement(Zo,M({inBuiltCss:T,customStyles:e,type:"drawer",drawerOpen:l},i),r);Oo.propTypes={customStyles:e.object,drawerOpen:e.bool,setDrawerOpen:e.func},Oo.defaultProps={setDrawerOpen:()=>null};class Do extends n{constructor(e){super(e),this.state={hasError:!1},this.refreshPage=this.refreshPage.bind(this)}componentDidCatch(e,t){this.setState({hasError:!0})}refreshPage(){window.location.reload()}render(){const{hasError:e}=this.state;return e?t.createElement(c,null,t.createElement("h3",null,t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.12em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1856 1664"},t.createElement("path",{d:"M1056 1375v-190q0-14-9.5-23.5t-22.5-9.5H832q-13 0-22.5 9.5T800 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19q-13-11-24-11H818q-11 0-24 11q-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126q-17 29-46.5 46t-63.5 17H160q-34 0-63.5-17T50 1601q-37-63-2-126L816 67q17-31 47-49t65-18t65 18t47 49z",fill:"currentColor"})),"We have experienced an issue. We generated a support ticket on our end to investigate this issue We are sorry about the inconvenience."),t.createElement(Te,{onClick:()=>this.refreshPage()},"Click to refresh")):this.props.children}}Do.propTypes={children:e.any};const Go=b`
2262
2311
  color: ${({theme:e})=>e.variant["primary-1"]};
2263
2312
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
2264
2313
  background: ${({theme:e})=>F(e.primary["primary-1"],.04)};
2265
- `,jo=m.button`
2314
+ `,Xo=m.button`
2266
2315
  font-size: 14px;
2267
2316
  color: ${({theme:e})=>e.variant["primary-2"]};
2268
2317
  background: ${({theme:e})=>F(e.variant["neutral-5"],.7)};
@@ -2272,19 +2321,19 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2272
2321
  outline: none;
2273
2322
  cursor: ${({disabled:e})=>e?"default":"pointer"};
2274
2323
 
2275
- ${({selected:e})=>e?To:null}
2324
+ ${({selected:e})=>e?Go:null}
2276
2325
  ${({customStyles:e})=>e}
2277
2326
 
2278
2327
 
2279
2328
  &:not(:first-child) {
2280
2329
  margin-left: 8px;
2281
2330
  }
2282
- `,Fo=({options:e,selected:l,onClick:o,customStyles:r,disabled:i,...a})=>{const n=u()||H,c=e.map(((e,a)=>t.createElement(jo,{theme:n,key:`${e.label}_${a}_${e.value}`,selected:l===e.value,onClick:()=>{o(e.value)},customStyles:r,disabled:i},e.label)));return t.createElement(t.Fragment,null,c)};Fo.propTypes={options:e.array,selected:e.string,onClick:e.func,customStyles:e.object,disabled:e.bool},Fo.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const qo=m.footer`
2331
+ `,Jo=({options:e,selected:l,onClick:o,customStyles:r,disabled:i,...a})=>{const n=u()||H,c=e.map(((e,a)=>t.createElement(Xo,{theme:n,key:`${e.label}_${a}_${e.value}`,selected:l===e.value,onClick:()=>{o(e.value)},customStyles:r,disabled:i},e.label)));return t.createElement(t.Fragment,null,c)};Jo.propTypes={options:e.array,selected:e.string,onClick:e.func,customStyles:e.object,disabled:e.bool},Jo.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const Uo=m.footer`
2283
2332
  //Set the styles from the default styles object
2284
2333
  ${({theme:e,type:t})=>j(e,t)}
2285
2334
  // custom styles
2286
2335
  ${({customStyles:e})=>e}
2287
- `,Zo=l((({theme:e,customStyles:l,...o},r)=>t.createElement(qo,M({ref:r,theme:e,type:"footer",customStyles:l},o),o.children)));Zo.propTypes={theme:e.object,customStyles:e.object,type:e.string},qo.defaultProps={theme:e.object},Zo.defaultProps={theme:T,customStyles:null};const Oo=m.div`
2336
+ `,Yo=l((({theme:e,customStyles:l,...o},r)=>t.createElement(Uo,M({ref:r,theme:e,type:"footer",customStyles:l},o),o.children)));Yo.propTypes={theme:e.object,customStyles:e.object,type:e.string},Uo.defaultProps={theme:e.object},Yo.defaultProps={theme:T,customStyles:null};const No=m.div`
2288
2337
  font-size: 14px;
2289
2338
  background-color: transparent;
2290
2339
  display: flex;
@@ -2301,7 +2350,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2301
2350
  ${({footerWidth:e})=>{if(e<650)return b`
2302
2351
  flex-direction: column;
2303
2352
  `}}
2304
- `,Do=m.div`
2353
+ `,Qo=m.div`
2305
2354
  display: flex;
2306
2355
  ${({footerWidth:e})=>{if(e<650)return b`
2307
2356
  margin-bottom: 5px;
@@ -2311,18 +2360,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2311
2360
  align-items: center;
2312
2361
  margin-bottom: 0;
2313
2362
  `}}
2314
- `,Go=m.div`
2363
+ `,Ko=m.div`
2315
2364
  margin-top: inherit;
2316
2365
  margin-bottom: inherit;
2317
2366
  ${({footerWidth:e})=>{if(e<350)return b`
2318
2367
  margin-bottom: 5px;
2319
2368
  `}}
2320
- `,Xo=m.div`
2369
+ `,$o=m.div`
2321
2370
  margin: 0 10px;
2322
2371
  ${({footerWidth:e})=>{if(e<350)return b`
2323
2372
  display: none;
2324
2373
  `}}
2325
- `,Jo=({variant:e,textColor:l,size:o,width:r,footerWidth:i,customStyles:a,...n})=>{const c=(new Date).getFullYear();return t.createElement(Oo,M({variant:e,textColor:l,footerWidth:i,customStyles:a},n),t.createElement(Do,{footerWidth:i},t.createElement(Go,{footerWidth:i},"Premise HQ"),t.createElement(Xo,{footerWidth:i},"|"),t.createElement(Go,{footerWidth:i},"All Rights Restricted ",c," ©")),t.createElement(Do,{footerWidth:i},t.createElement(Go,{footerWidth:i},"Terms of use"),t.createElement(Xo,{footerWidth:i},"|"),t.createElement(Go,{footerWidth:i},"Privacy Policy")))},Uo=m.header`
2374
+ `,_o=({variant:e,textColor:l,size:o,width:r,footerWidth:i,customStyles:a,...n})=>{const c=(new Date).getFullYear();return t.createElement(No,M({variant:e,textColor:l,footerWidth:i,customStyles:a},n),t.createElement(Qo,{footerWidth:i},t.createElement(Ko,{footerWidth:i},"Premise HQ"),t.createElement($o,{footerWidth:i},"|"),t.createElement(Ko,{footerWidth:i},"All Rights Restricted ",c," ©")),t.createElement(Qo,{footerWidth:i},t.createElement(Ko,{footerWidth:i},"Terms of use"),t.createElement($o,{footerWidth:i},"|"),t.createElement(Ko,{footerWidth:i},"Privacy Policy")))},er=m.header`
2326
2375
 
2327
2376
  background-color: ${({theme:e})=>e.additional.white};
2328
2377
  border-bottom: 0.5px solid ${({theme:e})=>e.variant["neutral-3"]};
@@ -2330,7 +2379,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2330
2379
  ${({inBuiltCss:e,type:t})=>j(e,t)}
2331
2380
  // custom styles
2332
2381
  ${({customStyles:e})=>e}
2333
- `,Yo=({type:e,customStyles:l,...o})=>{const r=u()||H;return t.createElement(Uo,M({theme:r,type:"header",customStyles:l,inBuiltCss:T},o),o.children)};Yo.propTypes={customStyles:e.object,type:e.string},Yo.defaultProps={type:"header",customStyles:null};const No=m.div`
2382
+ `,tr=({type:e,customStyles:l,...o})=>{const r=u()||H;return t.createElement(er,M({theme:r,type:"header",customStyles:l,inBuiltCss:T},o),o.children)};tr.propTypes={customStyles:e.object,type:e.string},tr.defaultProps={type:"header",customStyles:null};const lr=m.div`
2334
2383
  display: flex;
2335
2384
  justify-content: ${({showRowsPerPage:e})=>e?"space-between":"center"};
2336
2385
  align-items: center;
@@ -2339,7 +2388,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2339
2388
  @media (max-width: 992px) {
2340
2389
  justify-content: center;
2341
2390
  }
2342
- `,Qo=m.div`
2391
+ `,or=m.div`
2343
2392
  display: flex;
2344
2393
  justify-content: center;
2345
2394
  align-items: center;
@@ -2365,7 +2414,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2365
2414
  }
2366
2415
 
2367
2416
  ${({customIconWrapperStyles:e})=>e}
2368
- `,Ko=m.ul`
2417
+ `,rr=m.ul`
2369
2418
 
2370
2419
  display: flex;
2371
2420
  justify-content: space-between;
@@ -2422,15 +2471,15 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2422
2471
  }
2423
2472
  .icon {
2424
2473
  display: none;
2425
- }`,$o=m.div`
2474
+ }`,ir=m.div`
2426
2475
  display: flex;
2427
2476
  justify-content: center;
2428
2477
  align-items: center;
2429
- `,_o=(e,t,l=1)=>{let o=e;const r=[];for(;o<=t;)r.push(o),o+=l;return r},er=({totalRecords:e,pageNeighbours:l,onPageChanged:o,currentPageNumber:a,propsDropdownSelect:n,showRowsPerPage:c})=>{let s=n?.selectedValue?.value||10;0==s?s=1:s>e&&(s=e);const[d,p]=r(a),[m,b]=r(Math.ceil(e/s)),[g,f]=r({from:1+(d-1)*s,to:d*s>e?e:d*s}),h=u()||H,{width:y}=we();l=y<512?0:y<768?1:l,i((()=>{b(Math.ceil(e/s)),x(1)}),[s]),i((()=>{f({from:1+(d-1)*s,to:d*s>e?e:d*s})}),[d]);const x=t=>{const l=Math.max(0,Math.min(t,m));p(l);o({currentPage:l,totalPages:m,totalRecords:e})},v=e=>t=>{t.preventDefault(),x(e)},C=e=>{e.preventDefault(),x(d-2*(l||1)-1)},A=e=>{e.preventDefault(),x(d+2*(l||1)+1)};if(!e||1===m||0===s)return null;const w=(()=>{const e=2*l+3;if(m>e+3){const t=Math.max(2,d-l),o=Math.min(m-1,d+l);let r=_o(t,o);const i=t>2,a=m-o>1,n=e-(r.length+1);switch(!0){case i&&!a:r=["LEFT",..._o(t-n,t-1),...r];break;case!i&&a:{const e=_o(o+1,o+n);r=[...r,...e,"RIGHT"];break}default:r=["LEFT",...r,"RIGHT"]}return[1,...r,m]}return _o(1,m)})();return t.createElement(No,{theme:h,showRowsPerPage:c},t.createElement(Ko,{theme:h},t.createElement(Qo,{onClick:1!==d?v(d-1):null,disabled:1===d,theme:h},t.createElement($,{icon:"triangle-down",transform:"rotate(90deg)",color:"#BBC4CF"}),t.createElement("span",{className:"prev-text"}," PREVIOUS")),w.map(((e,l)=>"LEFT"===e?t.createElement("li",{key:l,className:"page-item"},t.createElement("div",{className:"page-link",onClick:C},t.createElement("span",{className:"text"},t.createElement($,{icon:"load-more",color:"#081348",transform:"rotate(90deg)"})),t.createElement("span",{className:"icon"},t.createElement($,{icon:"ellipses-horizontal",color:"#081348"}))," ")):"RIGHT"===e?t.createElement("li",{key:l,className:"page-item"},t.createElement("div",{className:"page-link",onClick:A},t.createElement("span",{className:"text"},t.createElement($,{icon:"load-more",color:h.primary["primary-2"],transform:"rotate(-90deg)"})),t.createElement("span",{className:"icon"},t.createElement($,{icon:"ellipses-horizontal",color:h.primary["primary-2"]})))):t.createElement("li",{key:l,className:"page-item"+(d===e?" active":"")},t.createElement("div",{className:"page-link",onClick:v(e)},e)))),t.createElement(Qo,{onClick:d!==m?v(d+1):null,disabled:d===m,theme:h},t.createElement("span",{className:"next-text"}," NEXT"),t.createElement($,{icon:"triangle-down",transform:"rotate(-90deg)",color:"#BBC4CF"}))),c&&t.createElement($o,null,t.createElement("span",{style:{margin:"0 16px",color:h.variant["neutral-3"],fontSize:"12px"}},"Rows Per Page"),t.createElement(Zt,M({customSelectStyles:{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:"14px",width:"100%",maxWidth:"100px"}),control:(e,t)=>({...e,border:"1px solid transparent",borderRadius:"6.25391px",height:"31px",minHeight:"31px",boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:"#F2F4FE",maxWidth:"100px",minWidth:"50px"}),singleValue:e=>({...e,fontSize:"12px",marginLeft:"0px",width:"100",marginRight:0})},customWrapperStyles:{marginRight:"16px"},isSearchable:!1,optionArr:[{value:10,label:10},{value:20,label:20},{value:30,label:30}]},n)),t.createElement("span",{style:{color:h.variant["neutral-3"],fontSize:"12px"}},g?.from,"-",g?.to," of"," ",t.createElement("span",{style:{color:h.variant["neutral-1"]}},e)," ","Results")))};er.propTypes={totalRecords:e.number.isRequired,pageNeighbours:e.number,onPageChanged:e.func,showRowsPerPage:e.bool,currentPageNumber:e.number},er.defaultProps={totalRecords:0,pageNeighbours:1,onPageChanged:()=>null,showRowsPerPage:!1,currentPageNumber:1};const tr=m.div`
2478
+ `,ar=(e,t,l=1)=>{let o=e;const r=[];for(;o<=t;)r.push(o),o+=l;return r},nr=({totalRecords:e,pageNeighbours:l,onPageChanged:o,currentPageNumber:a,propsDropdownSelect:n,showRowsPerPage:c})=>{let s=n?.selectedValue?.value||10;0==s?s=1:s>e&&(s=e);const[d,p]=r(a),[m,b]=r(Math.ceil(e/s)),[g,f]=r({from:1+(d-1)*s,to:d*s>e?e:d*s}),h=u()||H,{width:y}=we();l=y<512?0:y<768?1:l,i((()=>{b(Math.ceil(e/s)),x(1)}),[s]),i((()=>{f({from:1+(d-1)*s,to:d*s>e?e:d*s})}),[d]);const x=t=>{const l=Math.max(0,Math.min(t,m));p(l);o({currentPage:l,totalPages:m,totalRecords:e})},v=e=>t=>{t.preventDefault(),x(e)},C=e=>{e.preventDefault(),x(d-2*(l||1)-1)},A=e=>{e.preventDefault(),x(d+2*(l||1)+1)};if(!e||1===m||0===s)return null;const w=(()=>{const e=2*l+3;if(m>e+3){const t=Math.max(2,d-l),o=Math.min(m-1,d+l);let r=ar(t,o);const i=t>2,a=m-o>1,n=e-(r.length+1);switch(!0){case i&&!a:r=["LEFT",...ar(t-n,t-1),...r];break;case!i&&a:{const e=ar(o+1,o+n);r=[...r,...e,"RIGHT"];break}default:r=["LEFT",...r,"RIGHT"]}return[1,...r,m]}return ar(1,m)})();return t.createElement(lr,{theme:h,showRowsPerPage:c},t.createElement(rr,{theme:h},t.createElement(or,{onClick:1!==d?v(d-1):null,disabled:1===d,theme:h},t.createElement($,{icon:"triangle-down",transform:"rotate(90deg)",color:"#BBC4CF"}),t.createElement("span",{className:"prev-text"}," PREVIOUS")),w.map(((e,l)=>"LEFT"===e?t.createElement("li",{key:l,className:"page-item"},t.createElement("div",{className:"page-link",onClick:C},t.createElement("span",{className:"text"},t.createElement($,{icon:"load-more",color:"#081348",transform:"rotate(90deg)"})),t.createElement("span",{className:"icon"},t.createElement($,{icon:"ellipses-horizontal",color:"#081348"}))," ")):"RIGHT"===e?t.createElement("li",{key:l,className:"page-item"},t.createElement("div",{className:"page-link",onClick:A},t.createElement("span",{className:"text"},t.createElement($,{icon:"load-more",color:h.primary["primary-2"],transform:"rotate(-90deg)"})),t.createElement("span",{className:"icon"},t.createElement($,{icon:"ellipses-horizontal",color:h.primary["primary-2"]})))):t.createElement("li",{key:l,className:"page-item"+(d===e?" active":"")},t.createElement("div",{className:"page-link",onClick:v(e)},e)))),t.createElement(or,{onClick:d!==m?v(d+1):null,disabled:d===m,theme:h},t.createElement("span",{className:"next-text"}," NEXT"),t.createElement($,{icon:"triangle-down",transform:"rotate(-90deg)",color:"#BBC4CF"}))),c&&t.createElement(ir,null,t.createElement("span",{style:{margin:"0 16px",color:h.variant["neutral-3"],fontSize:"12px"}},"Rows Per Page"),t.createElement(Yt,M({customSelectStyles:{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:"14px",width:"100%",maxWidth:"100px"}),control:(e,t)=>({...e,border:"1px solid transparent",borderRadius:"6.25391px",height:"31px",minHeight:"31px",boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:"#F2F4FE",maxWidth:"100px",minWidth:"50px"}),singleValue:e=>({...e,fontSize:"12px",marginLeft:"0px",width:"100",marginRight:0})},customWrapperStyles:{marginRight:"16px"},isSearchable:!1,optionArr:[{value:10,label:10},{value:20,label:20},{value:30,label:30}]},n)),t.createElement("span",{style:{color:h.variant["neutral-3"],fontSize:"12px"}},g?.from,"-",g?.to," of"," ",t.createElement("span",{style:{color:h.variant["neutral-1"]}},e)," ","Results")))};nr.propTypes={totalRecords:e.number.isRequired,pageNeighbours:e.number,onPageChanged:e.func,showRowsPerPage:e.bool,currentPageNumber:e.number},nr.defaultProps={totalRecords:0,pageNeighbours:1,onPageChanged:()=>null,showRowsPerPage:!1,currentPageNumber:1};const cr=m.div`
2430
2479
  display: flex;
2431
2480
  align-items: center;
2432
2481
  color: ${({theme:e})=>e.variant["neutral-2"]};
2433
- `,lr=({...e})=>{const l=u()||H;return t.createElement(tr,{theme:l},e.children)},or=m.div`
2482
+ `,sr=({...e})=>{const l=u()||H;return t.createElement(cr,{theme:l},e.children)},dr=m.div`
2434
2483
  font-size: 14px;
2435
2484
  color: ${({selected:e,theme:t})=>e?t.variant["primary-1"]:null};
2436
2485
 
@@ -2446,12 +2495,12 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2446
2495
  &:not(:first-child):not(:last-child) {
2447
2496
  margin: 0 22px;
2448
2497
  }
2449
- `;(lr.PageItem=function({selected:e,...l}){const o=u()||H;return t.createElement(or,M({selected:e,theme:o},l),l.children)}).propTypes={selected:e.bool},lr.PageItem.defaultProps={selected:!1};const rr=m.div`
2498
+ `;(sr.PageItem=function({selected:e,...l}){const o=u()||H;return t.createElement(dr,M({selected:e,theme:o},l),l.children)}).propTypes={selected:e.bool},sr.PageItem.defaultProps={selected:!1};const pr=m.div`
2450
2499
  display: flex;
2451
2500
  justify-content: center;
2452
2501
  align-items: center;
2453
2502
  ${({customParentStyles:e})=>e}
2454
- `,ir=m.span`
2503
+ `,mr=m.span`
2455
2504
  background-color: ${({selected:e,theme:t})=>e?t.variant["neutral-5"]:"transparent"};
2456
2505
  color: ${({selected:e,theme:t})=>e?t.variant["primary-2"]:t.variant["neutral-3"]};
2457
2506
  padding: 8px 14px;
@@ -2463,7 +2512,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2463
2512
  font-size: 14px;
2464
2513
 
2465
2514
  ${({customItemStyles:e})=>e}
2466
- `,ar=m.div`
2515
+ `,ur=m.div`
2467
2516
  display: flex;
2468
2517
  justify-content: center;
2469
2518
  align-items: center;
@@ -2486,16 +2535,16 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2486
2535
  }
2487
2536
 
2488
2537
  ${({customIconWrapperStyles:e})=>e}
2489
- `,nr=m.div`
2538
+ `,br=m.div`
2490
2539
  padding: 0 15px;
2491
- `,cr=m.div`
2540
+ `,gr=m.div`
2492
2541
  display: flex;
2493
2542
  align-items: center;
2494
2543
  justify-content: center;
2495
2544
  color: ${({theme:e})=>e.variant["neutral-2"]};
2496
2545
 
2497
2546
  ${({customLeftWrapperStyles:e})=>e}
2498
- `,sr=m.div`
2547
+ `,fr=m.div`
2499
2548
  display: flex;
2500
2549
  margin: 0;
2501
2550
  align-items: center;
@@ -2508,7 +2557,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2508
2557
  margin: 0 10px;
2509
2558
  color: ${({theme:e})=>e.variant["neutral-2"]};
2510
2559
  }
2511
- `,dr=({selectedPage:e,setSelectedPage:l,totalPage:o,customItemStyles:a,customLeftWrapperStyles:n,customIconWrapperStyles:c,previousText:s,nextText:d,pageToShow:p,totalResults:m,showResultPerPage:b,customParentStyles:g,customRightWrapperStyles:f,...h})=>{const y=u()||H,[x,v]=r([]);let C=p>o?o:p;i((()=>{v(Array.from({length:C},((e,t)=>t+1)))}),[o,p,C]);const A=t=>{let r=[];"increase"===t&&x[C-1]<=o&&e!==x[C-1]?l(e+1):"increase"===t&&x[C-1]<o?(r=Array.from({length:C},((e,t)=>t+x[0]+1)),v(r),l(e+1)):"decrease"===t&&x[0]<=e-1?l(e-1):"decrease"===t&&e>1&&(v(Array.from({length:C},((e,t)=>t+x[0]-1))),l(e-1))};return t.createElement(rr,{customParentStyles:g}," ",t.createElement(cr,M({theme:y,customLeftWrapperStyles:n},h),t.createElement(ar,M({onClick:()=>A("decrease"),disabled:1===e,theme:y,customIconWrapperStyles:c},h),t.createElement($,{icon:"triangle-down",transform:"rotate(90deg)",color:y.variant["neutral-3"]}),t.createElement("span",{className:"prev-text"}," ",s)),t.createElement(nr,h,x.map(((o,r)=>t.createElement(ir,{key:r,theme:y,selected:e===o,onClick:()=>l(o),customItemStyles:a},o)))),t.createElement(ar,{onClick:()=>A("increase"),disabled:e===o,theme:y,customIconWrapperStyles:c},t.createElement("span",{className:"next-text"}," ",d),t.createElement($,{icon:"triangle-down",transform:"rotate(-90deg)",color:y.variant["neutral-3"]}))),b&&t.createElement(sr,{theme:y,customRightWrapperStyles:f},t.createElement(Zt,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:y.variant["neutral-3"]}),t.createElement("p",{style:{marginBottom:0}},t.createElement("span",null,"OF")," ",m," ",t.createElement("span",null,"RESULTS"))))};dr.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},dr.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const pr=m.div`
2560
+ `,hr=({selectedPage:e,setSelectedPage:l,totalPage:o,customItemStyles:a,customLeftWrapperStyles:n,customIconWrapperStyles:c,previousText:s,nextText:d,pageToShow:p,totalResults:m,showResultPerPage:b,customParentStyles:g,customRightWrapperStyles:f,...h})=>{const y=u()||H,[x,v]=r([]);let C=p>o?o:p;i((()=>{v(Array.from({length:C},((e,t)=>t+1)))}),[o,p,C]);const A=t=>{let r=[];"increase"===t&&x[C-1]<=o&&e!==x[C-1]?l(e+1):"increase"===t&&x[C-1]<o?(r=Array.from({length:C},((e,t)=>t+x[0]+1)),v(r),l(e+1)):"decrease"===t&&x[0]<=e-1?l(e-1):"decrease"===t&&e>1&&(v(Array.from({length:C},((e,t)=>t+x[0]-1))),l(e-1))};return t.createElement(pr,{customParentStyles:g}," ",t.createElement(gr,M({theme:y,customLeftWrapperStyles:n},h),t.createElement(ur,M({onClick:()=>A("decrease"),disabled:1===e,theme:y,customIconWrapperStyles:c},h),t.createElement($,{icon:"triangle-down",transform:"rotate(90deg)",color:y.variant["neutral-3"]}),t.createElement("span",{className:"prev-text"}," ",s)),t.createElement(br,h,x.map(((o,r)=>t.createElement(mr,{key:r,theme:y,selected:e===o,onClick:()=>l(o),customItemStyles:a},o)))),t.createElement(ur,{onClick:()=>A("increase"),disabled:e===o,theme:y,customIconWrapperStyles:c},t.createElement("span",{className:"next-text"}," ",d),t.createElement($,{icon:"triangle-down",transform:"rotate(-90deg)",color:y.variant["neutral-3"]}))),b&&t.createElement(fr,{theme:y,customRightWrapperStyles:f},t.createElement(Yt,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:y.variant["neutral-3"]}),t.createElement("p",{style:{marginBottom:0}},t.createElement("span",null,"OF")," ",m," ",t.createElement("span",null,"RESULTS"))))};hr.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},hr.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const yr=m.div`
2512
2561
  box-sizing: border-box;
2513
2562
  display: flex;
2514
2563
  justify-content: center;
@@ -2516,8 +2565,8 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2516
2565
  width: auto;
2517
2566
 
2518
2567
  ${({size:e})=>b`height: ${e}px;`}
2519
- `,mr=m.div`
2520
- `,ur=m.div`
2568
+ `,xr=m.div`
2569
+ `,vr=m.div`
2521
2570
  box-sizing: border-box;
2522
2571
  display: flex;
2523
2572
  justify-content: center;
@@ -2546,11 +2595,11 @@ svg {
2546
2595
  `}
2547
2596
  }
2548
2597
  }
2549
- `,br=({theme:e,toggleSet:l,slide:o,color:r,size:i,transform:a,ratingValue:n,starVal:c,hover:s,...d})=>t.createElement(ur,M({theme:e,ratingValue:n,starVal:c,hover:s,toggleSet:l,color:r,size:i,transform:a},d),t.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",id:"star_filled","data-name":"star filled",xmlns:"http://www.w3.org/2000/svg"},t.createElement("defs",null,t.createElement("clipPath",{id:"starFilled"},t.createElement("path",{id:"Star",d:"M10,15,4.122,18.09l1.123-6.545L.489,6.91l6.572-.955L10,0l2.939,5.955,6.572.955-4.755,4.635,1.123,6.545Z",transform:"translate(2 3)",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"1.5"}))),t.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),t.createElement("rect",{x:o,y:"0",fill:r,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function gr(e,t){let l=5*e/t;const o=[],r=l;for(let e=0;e<5;e++){if(l-1>=0)o.push("0");else if(l-1<0&&l-1>-1){const e=(24*l-24).toString();o.push(e)}else o.push("-24");l-=1}return{array:o,value:r}}function fr(e,t){return 100*e/t}const hr=({type:e,customStylesContainer:l,customStylesStar:o,customStylesPercentage:a,color:n,size:c,handleClick:s,transform:d,maxRange:p,value:m,toggleStar:b,toggleSet:g,identifier:f,...h})=>{u();const[y,x]=r(void 0),[v,C]=r(void 0),[A,w]=r(void 0),[S,k]=r(void 0);i((()=>{x(gr(m,p).array),C(gr(m,p).value),w(fr(m,p))}),[m,p]),i((()=>{S?x(gr(S,p).array):(x(gr(m,p).array),C(gr(m,p).value),w(fr(m,p)))}),[S]);const E=t.createElement(t.Fragment,null,y?.map(((e,l)=>{const r=20*(l+1);return t.createElement(br,{ratingValue:r,starVal:v,hover:S,toggleSet:g,onClick:g?()=>s(r):null,onMouseEnter:g?()=>{k(r)}:null,onMouseLeave:g?()=>{k(null)}:null,slide:e,color:n,className:"star",size:c,transform:d,key:f?.concat(l),customStyles:o})})));return t.createElement(pr,M({customStyles:l,type:e,size:c},h,{className:"container"}),b?E:t.createElement(mr,{type:e,customStyles:a},A,"%"))};hr.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},hr.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const yr=m.div`
2598
+ `,Cr=({theme:e,toggleSet:l,slide:o,color:r,size:i,transform:a,ratingValue:n,starVal:c,hover:s,...d})=>t.createElement(vr,M({theme:e,ratingValue:n,starVal:c,hover:s,toggleSet:l,color:r,size:i,transform:a},d),t.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",id:"star_filled","data-name":"star filled",xmlns:"http://www.w3.org/2000/svg"},t.createElement("defs",null,t.createElement("clipPath",{id:"starFilled"},t.createElement("path",{id:"Star",d:"M10,15,4.122,18.09l1.123-6.545L.489,6.91l6.572-.955L10,0l2.939,5.955,6.572.955-4.755,4.635,1.123,6.545Z",transform:"translate(2 3)",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"1.5"}))),t.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),t.createElement("rect",{x:o,y:"0",fill:r,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function Ar(e,t){let l=5*e/t;const o=[],r=l;for(let e=0;e<5;e++){if(l-1>=0)o.push("0");else if(l-1<0&&l-1>-1){const e=(24*l-24).toString();o.push(e)}else o.push("-24");l-=1}return{array:o,value:r}}function wr(e,t){return 100*e/t}const Sr=({type:e,customStylesContainer:l,customStylesStar:o,customStylesPercentage:a,color:n,size:c,handleClick:s,transform:d,maxRange:p,value:m,toggleStar:b,toggleSet:g,identifier:f,...h})=>{u();const[y,x]=r(void 0),[v,C]=r(void 0),[A,w]=r(void 0),[S,k]=r(void 0);i((()=>{x(Ar(m,p).array),C(Ar(m,p).value),w(wr(m,p))}),[m,p]),i((()=>{S?x(Ar(S,p).array):(x(Ar(m,p).array),C(Ar(m,p).value),w(wr(m,p)))}),[S]);const E=t.createElement(t.Fragment,null,y?.map(((e,l)=>{const r=20*(l+1);return t.createElement(Cr,{ratingValue:r,starVal:v,hover:S,toggleSet:g,onClick:g?()=>s(r):null,onMouseEnter:g?()=>{k(r)}:null,onMouseLeave:g?()=>{k(null)}:null,slide:e,color:n,className:"star",size:c,transform:d,key:f?.concat(l),customStyles:o})})));return t.createElement(yr,M({customStyles:l,type:e,size:c},h,{className:"container"}),b?E:t.createElement(xr,{type:e,customStyles:a},A,"%"))};Sr.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},Sr.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const kr=m.div`
2550
2599
  .form-check-input {
2551
2600
  accent-color: ${({theme:e})=>e.primary["primary-1"]};
2552
2601
  }
2553
- `,xr=({customStyles:e,inBuiltCss:l,type:o="table",sortIcon:r,data:i,tableColumns:a,progressPending:n,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:p,responsive:m,conditionalRowStyles:b,fixedHeader:g,fixedHeaderScrollHeight:f,checkboxColor:h,...y})=>{let x={};if(l&&l[o]&&(x=l[o]),e)for(const t in e)x[t]=e[t];const v=u()||H,C=t.forwardRef((({onClick:e,...l},o)=>t.createElement(yr,{theme:v},t.createElement("input",M({type:"checkbox",className:"form-check-input",ref:o,onClick:e},l)))));return t.createElement(E,M({responsive:m,data:i,columns:a,noHeader:!0,highlightOnHover:!0,sortIcon:r,progressPending:n,customStyles:x,defaultSortFieldId:c,progressComponent:p||void 0,sortServer:d,onSort:(e,t,l)=>{s(e,t,l)},conditionalRowStyles:b,fixedHeader:g,fixedHeaderScrollHeight:f,selectableRowsComponent:C},y))};xr.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},xr.defaultProps={inBuiltCss:T,sortIcon:t.createElement($,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100%"};const vr=({title:e,subtitle:l,wrapperStyle:o,imgLink:r,imgStyle:i,iconSize:a})=>{const n=u()||H,c={fontSize:"26px",fontWeight:"bold",color:`${n.additional["text-color"]}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},s={fontSize:"13px",color:`${n.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return t.createElement("div",{style:o},t.createElement("div",{style:c},r?t.createElement("img",{src:r,alt:"userIcon",style:i}):t.createElement($,{icon:"user-icon",size:a,color:n.primary["primary-1"]})," ",t.createElement("h4",null,e)),t.createElement("div",{style:s},t.createElement("p",null,l)))};vr.propTypes={size:e.number},vr.defaultProps={iconSize:23};const Cr=({formData:e,customStyles:l,...o})=>{const r=e=>{switch(e.type){case"header":return(e=>t.createElement(c,null,t.createElement(Yo,M({},e,o),e.children),e))(e);case"label":return(e=>t.createElement(ot,M({style:{marginBottom:"8px",paddingBottom:"0"}},e,o)))(e);case"text":return(e=>t.createElement(Ml,M({},e,o)))(e);case"textArea":return(e=>t.createElement(Ol,M({},e,o)))(e);case"number":return(e=>t.createElement(ul,M({},e,o)))(e);case"radio":return(e=>t.createElement(Sl,M({key:101*Math.random()|0},e,o)))(e);case"checkBox":return(e=>t.createElement(st,M({},e,o)))(e);case"singleSelect":return(e=>t.createElement(Zt,M({dropdownType:"singleSelect"},e,o)))(e);case"multiSelect":return(e=>t.createElement(Zt,M({dropdownType:"multiSelect"},e,o)))(e);case"asyncSingleSelect":return(e=>t.createElement(Zt,M({dropdownType:"asyncSingleSelect"},e,o)))(e);case"asyncMultiSelect":return(e=>t.createElement(Zt,M({dropdownType:"asyncMultiSelect"},e,o)))(e);case"signature":return(e=>t.createElement(Tl,M({},e,o)))(e);case"fileUpload":return(e=>t.createElement(Kt,M({},e,o)))(e);case"date":return(e=>t.createElement(zt,M({},e,o)))(e);case"paginationTypeTwo":return(e=>t.createElement(dr,M({},e,o)))(e);case"toggle":return(e=>t.createElement(to,M({},e,o)))(e);case"icon":return(e=>t.createElement($,M({},e,o)))(e);case"roundedLoader":return(e=>t.createElement(Ie,M({},e,o)))(e);case"alert":return(e=>t.createElement(re,M({},e,o)))(e);case"banner":return(e=>t.createElement(Ae,M({},e,o)))(e);case"divider":return(e=>t.createElement(Wo,M({},e,o)))(e);case"headerComponent":case"headerComponent":return(e=>t.createElement(vr,M({},e,o)))(e);case"documentCard":return(e=>t.createElement(Y,M({},e,o)))(e);case"imageUploader":return(e=>t.createElement(cl,M({},e,o)))(e);case"accordion":return(e=>t.createElement(ee,M({},e,o)))(e);case"content":return(e=>t.createElement(uo,M({},e,o)))(e);case"rating":return(e=>t.createElement(hr,M({},e,o)))(e);case"buttonPrimary":return(e=>t.createElement(Te,M({},e,o)))(e);case"buttonSecondary":return(e=>t.createElement(qe,M({},e,o)))(e);case"buttonTiny":return(e=>t.createElement(Oe,M({},e,o)))(e);case"buttonLink":return(e=>t.createElement(Re,M({},e,o)))(e);case"search":return(e=>t.createElement(Bl,M({},e,o)))(e);case"table":return(e=>t.createElement(xr,M({},e,o)))(e);case"passwordInput":return(e=>t.createElement(yl,M({},e,o)))(e)}};return t.createElement(c,null,t.createElement(Eo,{defaultThemeColor:H},t.createElement(Io,{onSubmit:()=>{},customStyles:l},e.map(((e,l)=>e.length>1?t.createElement(zo,null,e.map(((l,o)=>t.createElement(Mo,{cols:e.length},r(l))))):r(e[0]))))))},Ar=({formData:e,onSubmit:l,onReset:o,style:r,...i})=>{const a=e=>{switch(e.type){case"submit":return(e=>t.createElement(Te,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>t.createElement(qe,{block:e.block,disabled:i.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return t.createElement(c,null,t.createElement(Vo,{style:r},e&&e.map(((e,t)=>e.map(((e,t)=>a(e)))))))};const wr=f`
2602
+ `,Er=({customStyles:e,inBuiltCss:l,type:o="table",sortIcon:r,data:i,tableColumns:a,progressPending:n,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:p,responsive:m,conditionalRowStyles:b,fixedHeader:g,fixedHeaderScrollHeight:f,checkboxColor:h,...y})=>{let x={};if(l&&l[o]&&(x=l[o]),e)for(const t in e)x[t]=e[t];const v=u()||H,C=t.forwardRef((({onClick:e,...l},o)=>t.createElement(kr,{theme:v},t.createElement("input",M({type:"checkbox",className:"form-check-input",ref:o,onClick:e},l)))));return t.createElement(E,M({responsive:m,data:i,columns:a,noHeader:!0,highlightOnHover:!0,sortIcon:r,progressPending:n,customStyles:x,defaultSortFieldId:c,progressComponent:p||void 0,sortServer:d,onSort:(e,t,l)=>{s(e,t,l)},conditionalRowStyles:b,fixedHeader:g,fixedHeaderScrollHeight:f,selectableRowsComponent:C},y))};Er.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},Er.defaultProps={inBuiltCss:T,sortIcon:t.createElement($,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100%"};const Vr=({title:e,subtitle:l,wrapperStyle:o,imgLink:r,imgStyle:i,iconSize:a})=>{const n=u()||H,c={fontSize:"26px",fontWeight:"bold",color:`${n.additional["text-color"]}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},s={fontSize:"13px",color:`${n.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return t.createElement("div",{style:o},t.createElement("div",{style:c},r?t.createElement("img",{src:r,alt:"userIcon",style:i}):t.createElement($,{icon:"user-icon",size:a,color:n.primary["primary-1"]})," ",t.createElement("h4",null,e)),t.createElement("div",{style:s},t.createElement("p",null,l)))};Vr.propTypes={size:e.number},Vr.defaultProps={iconSize:23};const zr=({formData:e,customStyles:l,...o})=>{const r=e=>{switch(e.type){case"header":return(e=>t.createElement(c,null,t.createElement(tr,M({},e,o),e.children),e))(e);case"label":return(e=>t.createElement(ot,M({style:{marginBottom:"8px",paddingBottom:"0"}},e,o)))(e);case"text":return(e=>t.createElement(Hl,M({},e,o)))(e);case"textArea":return(e=>t.createElement(Nl,M({},e,o)))(e);case"number":return(e=>t.createElement(vl,M({},e,o)))(e);case"radio":return(e=>t.createElement(Ll,M({key:101*Math.random()|0},e,o)))(e);case"checkBox":return(e=>t.createElement(ft,M({},e,o)))(e);case"singleSelect":return(e=>t.createElement(Yt,M({dropdownType:"singleSelect"},e,o)))(e);case"multiSelect":return(e=>t.createElement(Yt,M({dropdownType:"multiSelect"},e,o)))(e);case"asyncSingleSelect":return(e=>t.createElement(Yt,M({dropdownType:"asyncSingleSelect"},e,o)))(e);case"asyncMultiSelect":return(e=>t.createElement(Yt,M({dropdownType:"asyncMultiSelect"},e,o)))(e);case"signature":return(e=>t.createElement(Gl,M({},e,o)))(e);case"fileUpload":return(e=>t.createElement(rl,M({},e,o)))(e);case"date":return(e=>t.createElement(Pt,M({},e,o)))(e);case"paginationTypeTwo":return(e=>t.createElement(hr,M({},e,o)))(e);case"toggle":return(e=>t.createElement(co,M({},e,o)))(e);case"icon":return(e=>t.createElement($,M({},e,o)))(e);case"roundedLoader":return(e=>t.createElement(Le,M({},e,o)))(e);case"alert":return(e=>t.createElement(re,M({},e,o)))(e);case"banner":return(e=>t.createElement(Ae,M({},e,o)))(e);case"divider":return(e=>t.createElement(qo,M({},e,o)))(e);case"headerComponent":case"headerComponent":return(e=>t.createElement(Vr,M({},e,o)))(e);case"documentCard":return(e=>t.createElement(Y,M({},e,o)))(e);case"imageUploader":return(e=>t.createElement(gl,M({},e,o)))(e);case"accordion":return(e=>t.createElement(ee,M({},e,o)))(e);case"content":return(e=>t.createElement(vo,M({},e,o)))(e);case"rating":return(e=>t.createElement(Sr,M({},e,o)))(e);case"buttonPrimary":return(e=>t.createElement(Te,M({},e,o)))(e);case"buttonSecondary":return(e=>t.createElement(qe,M({},e,o)))(e);case"buttonTiny":return(e=>t.createElement(Oe,M({},e,o)))(e);case"buttonLink":return(e=>t.createElement(Re,M({},e,o)))(e);case"search":return(e=>t.createElement(Tl,M({},e,o)))(e);case"table":return(e=>t.createElement(Er,M({},e,o)))(e);case"passwordInput":return(e=>t.createElement(kl,M({},e,o)))(e)}};return t.createElement(c,null,t.createElement(Wo,{defaultThemeColor:H},t.createElement(jo,{onSubmit:()=>{},customStyles:l},e.map(((e,l)=>e.length>1?t.createElement(Po,null,e.map(((l,o)=>t.createElement(Ho,{cols:e.length},r(l))))):r(e[0]))))))},Mr=({formData:e,onSubmit:l,onReset:o,style:r,...i})=>{const a=e=>{switch(e.type){case"submit":return(e=>t.createElement(Te,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>t.createElement(qe,{block:e.block,disabled:i.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return t.createElement(c,null,t.createElement(Ro,{style:r},e&&e.map(((e,t)=>e.map(((e,t)=>a(e)))))))};const Br=f`
2554
2603
  @font-face {
2555
2604
  font-family: "Averta";
2556
2605
  font-weight: 100;
@@ -2658,7 +2707,7 @@ svg {
2658
2707
  * {
2659
2708
  font-family: "Averta";
2660
2709
  }
2661
- `,Sr=m.span`
2710
+ `,Lr=m.span`
2662
2711
  background: transparent;
2663
2712
  position: relative;
2664
2713
  display: flex;
@@ -2667,12 +2716,12 @@ svg {
2667
2716
  &>span:not(:first-of-type){
2668
2717
  margin-left: -13px;
2669
2718
  }
2670
- `,kr=m.p`
2719
+ `,Ir=m.p`
2671
2720
  color: ${({theme:e,variantQty:t})=>e.variant[t]};
2672
2721
  margin: 0;
2673
2722
  margin-left: 7px;
2674
2723
  font-size: 16px;
2675
- `,Er=({items:e,size:l,variantCircle:o,variantName:r,variantQty:i,user:a,colorCircle:n,colorBorderCircle:c,...s})=>{const d=u()||H;return t.createElement(Sr,s,e?.map(((i,a)=>{let s={},p={};return s.backgroundColor=n?`${d.variant[n]}`:`${d.variant[o]}`,0!==a&&(s.border=c?`2px solid ${c}`:`2px solid ${d.variant[o]}`,p.border=c?`2px solid ${c}`:`2px solid ${d.variant[o]}`),1===e.length?t.createElement(be,{key:i.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${d.variant[{variantName:r}]}`},size:l,toggleName:!0,user:i,customStylesCircle:s,customStylesImage:p}):a<=3?t.createElement(be,{key:i.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${d.variant[{variantName:r}]}`},size:l,toggleName:!1,user:i,customStylesCircle:s,customStylesImage:p}):null})),e.length-4>0?t.createElement(kr,{theme:d,variantQty:i},"+",e.length-4):null)};Er.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},Er.defaultProps={variantCircle:"primary-1",variantName:"primary-2",size:"MD",user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Vr=m.div`
2724
+ `,Wr=({items:e,size:l,variantCircle:o,variantName:r,variantQty:i,user:a,colorCircle:n,colorBorderCircle:c,...s})=>{const d=u()||H;return t.createElement(Lr,s,e?.map(((i,a)=>{let s={},p={};return s.backgroundColor=n?`${d.variant[n]}`:`${d.variant[o]}`,0!==a&&(s.border=c?`2px solid ${c}`:`2px solid ${d.variant[o]}`,p.border=c?`2px solid ${c}`:`2px solid ${d.variant[o]}`),1===e.length?t.createElement(be,{key:i.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${d.variant[{variantName:r}]}`},size:l,toggleName:!0,user:i,customStylesCircle:s,customStylesImage:p}):a<=3?t.createElement(be,{key:i.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${d.variant[{variantName:r}]}`},size:l,toggleName:!1,user:i,customStylesCircle:s,customStylesImage:p}):null})),e.length-4>0?t.createElement(Ir,{theme:d,variantQty:i},"+",e.length-4):null)};Wr.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},Wr.defaultProps={variantCircle:"primary-1",variantName:"primary-2",size:"MD",user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Rr=m.div`
2676
2725
  max-width: inherit;
2677
2726
  width: inherit;
2678
2727
  font-size: 14px;
@@ -2698,7 +2747,7 @@ svg {
2698
2747
  &[data-popper-placement*='top'] .tooltip-arrow::after {
2699
2748
  border-color: ${({theme:e,variantTPbg:t})=>t?e.variant[t]:"#6b747f"} transparent transparent transparent;
2700
2749
  }
2701
- `,zr=m.div`
2750
+ `,Pr=m.div`
2702
2751
  display: flex;
2703
2752
  color: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2704
2753
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:o})=>t?e.variant[o]:e.variant[l]};
@@ -2713,24 +2762,24 @@ svg {
2713
2762
  svg path {
2714
2763
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2715
2764
  }
2716
- `,Mr=m.div`
2765
+ `,Hr=m.div`
2717
2766
  display: flex;
2718
2767
  justify-content: space-evenly;
2719
2768
  flex-grow: 1;
2720
2769
  align-items: stretch;
2721
- `,Br=({label:e,index:l,style:o,items:r,variant:i,borderVariant:a,bgVariant:n,variantDisable:c,variantBgDisable:s,disabled:d,divider:p,indexPrefix:m,onClick:b,icon:g,variantTPtext:f,variantTPbg:h,...x})=>{u();const{getArrowProps:v,getTooltipProps:C,setTooltipRef:A,setTriggerRef:w,visible:S}=y();return t.createElement(t.Fragment,null,t.createElement(Mr,{ref:w},t.createElement(zr,{variant:i,borderVariant:a,bgVariant:n,variantDisable:c,variantBgDisable:s,disabled:d,onClick:d?null:()=>{b(b)}},g),p),S&&t.createElement(Vr,M({variantTPtext:f,variantTPbg:h,ref:A},C({className:"tooltip-container"})),e,t.createElement("div",v({className:"tooltip-arrow"}))))};Br.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},Mr.defaultProps={theme:H},zr.defaultProps={theme:H},Vr.defaultProps={theme:H},Br.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Ir=m.div`
2770
+ `,Tr=({label:e,index:l,style:o,items:r,variant:i,borderVariant:a,bgVariant:n,variantDisable:c,variantBgDisable:s,disabled:d,divider:p,indexPrefix:m,onClick:b,icon:g,variantTPtext:f,variantTPbg:h,...x})=>{u();const{getArrowProps:v,getTooltipProps:C,setTooltipRef:A,setTriggerRef:w,visible:S}=y();return t.createElement(t.Fragment,null,t.createElement(Hr,{ref:w},t.createElement(Pr,{variant:i,borderVariant:a,bgVariant:n,variantDisable:c,variantBgDisable:s,disabled:d,onClick:d?null:()=>{b(b)}},g),p),S&&t.createElement(Rr,M({variantTPtext:f,variantTPbg:h,ref:A},C({className:"tooltip-container"})),e,t.createElement("div",v({className:"tooltip-arrow"}))))};Tr.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},Hr.defaultProps={theme:H},Pr.defaultProps={theme:H},Rr.defaultProps={theme:H},Tr.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const jr=m.div`
2722
2771
  display: flex;
2723
2772
  justify-content: space-evenly;
2724
2773
  align-items: stretch;
2725
2774
  height: 42px;
2726
2775
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2727
2776
  border-radius: 3px;
2728
- `,Lr=m.div`
2777
+ `,Fr=m.div`
2729
2778
  display: flex;
2730
2779
  justify-content: space-evenly;
2731
2780
  flex-grow: 1;
2732
2781
  align-items: stretch;
2733
- `,Wr=m.div`
2782
+ `,qr=m.div`
2734
2783
  display: flex;
2735
2784
  color: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2736
2785
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:o})=>t?e.variant[o]:e.variant[l]};
@@ -2745,19 +2794,19 @@ svg {
2745
2794
  svg path {
2746
2795
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2747
2796
  }
2748
- `,Rr=({style:e,items:l,variant:o,borderVariant:r,bgVariant:i,variantDisable:a,variantBgDisable:n,allDisabled:c,divider:s,indexPrefix:d,onClick:p,...m})=>(u(),t.createElement(Ir,M({variant:o,borderVariant:r},m),l?.map(((e,m)=>t.createElement(Lr,{key:d.concat(m)},t.createElement(Wr,{variant:o,borderVariant:r,bgVariant:i,variantDisable:a,variantBgDisable:n,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>p(e.label)},e.icon),l?.length-1!==m&&s)))));Rr.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},Ir.defaultProps={theme:H},Lr.defaultProps={theme:H},Wr.defaultProps={theme:H},Rr.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white"};const Pr=m.div`
2797
+ `,Zr=({style:e,items:l,variant:o,borderVariant:r,bgVariant:i,variantDisable:a,variantBgDisable:n,allDisabled:c,divider:s,indexPrefix:d,onClick:p,...m})=>(u(),t.createElement(jr,M({variant:o,borderVariant:r},m),l?.map(((e,m)=>t.createElement(Fr,{key:d.concat(m)},t.createElement(qr,{variant:o,borderVariant:r,bgVariant:i,variantDisable:a,variantBgDisable:n,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>p(e.label)},e.icon),l?.length-1!==m&&s)))));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},jr.defaultProps={theme:H},Fr.defaultProps={theme:H},qr.defaultProps={theme:H},Zr.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white"};const Or=m.div`
2749
2798
  display: flex;
2750
2799
  justify-content: space-evenly;
2751
2800
  align-items: stretch;
2752
2801
  height: 42px;
2753
2802
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2754
2803
  border-radius: 3px;
2755
- `,Hr=m.div`
2804
+ `,Dr=m.div`
2756
2805
  display: flex;
2757
2806
  justify-content: space-evenly;
2758
2807
  flex-grow: 1;
2759
2808
  align-items: stretch;
2760
- `,Tr=m.div`
2809
+ `,Gr=m.div`
2761
2810
  display: flex;
2762
2811
  color: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2763
2812
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:o})=>t?e.variant[o]:e.variant[l]};
@@ -2772,28 +2821,28 @@ svg {
2772
2821
  svg path {
2773
2822
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:o})=>t?e.variant[o]:e.variant[l]};
2774
2823
  }
2775
- `,jr=({style:e,items:l,variant:o,borderVariant:r,bgVariant:i,variantDisable:a,variantBgDisable:n,allDisabled:c,divider:s,indexPrefix:d,onClick:p,variantTPtext:m,variantTPbg:b,...g})=>(u(),t.createElement(Pr,M({variant:o,borderVariant:r},g),l?.map(((e,u)=>t.createElement(Br,{key:d.concat(u),variant:o,borderVariant:r,bgVariant:i,variantDisable:a,variantBgDisable:n,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{p(e.label)},divider:l?.length-1!==u&&s,icon:e.icon,index:u,label:e.label,variantTPtext:m,variantTPbg:b})))));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,variantTPtext:e.string,variantTPbg:e.string},Pr.defaultProps={theme:H},Hr.defaultProps={theme:H},Tr.defaultProps={theme:H},jr.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Fr=m.div`
2824
+ `,Xr=({style:e,items:l,variant:o,borderVariant:r,bgVariant:i,variantDisable:a,variantBgDisable:n,allDisabled:c,divider:s,indexPrefix:d,onClick:p,variantTPtext:m,variantTPbg:b,...g})=>(u(),t.createElement(Or,M({variant:o,borderVariant:r},g),l?.map(((e,u)=>t.createElement(Tr,{key:d.concat(u),variant:o,borderVariant:r,bgVariant:i,variantDisable:a,variantBgDisable:n,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{p(e.label)},divider:l?.length-1!==u&&s,icon:e.icon,index:u,label:e.label,variantTPtext:m,variantTPbg:b})))));Xr.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:H},Dr.defaultProps={theme:H},Gr.defaultProps={theme:H},Xr.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Jr=m.div`
2776
2825
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2777
2826
  border: 1.3px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
2778
2827
  border-radius: 50%;
2779
2828
  width: ${({size:e})=>e}px;
2780
2829
  height: ${({size:e})=>e}px;
2781
2830
  box-sizing: border-box;
2782
- `,qr=({variant:e,bgColor:l,borderColor:o,...r})=>(u(),t.createElement(Fr,M({variant:e,borderColor:o,bgColor:l},r)));qr.propTypes={variant:e.string,size:e.number,theme:e.object,borderColor:e.string,bgColor:e.string},Fr.defaultProps={theme:H},qr.defaultProps={theme:H,variant:"primary-1",size:11};const Zr=m.div`
2831
+ `,Ur=({variant:e,bgColor:l,borderColor:o,...r})=>(u(),t.createElement(Jr,M({variant:e,borderColor:o,bgColor:l},r)));Ur.propTypes={variant:e.string,size:e.number,theme:e.object,borderColor:e.string,bgColor:e.string},Jr.defaultProps={theme:H},Ur.defaultProps={theme:H,variant:"primary-1",size:11};const Yr=m.div`
2783
2832
  display: inline-flex;
2784
2833
  align-items: center;
2785
2834
  background-color: transparent;
2786
2835
  min-height: 24px;
2787
- `,Or=m.div`
2836
+ `,Nr=m.div`
2788
2837
  display: flex;
2789
2838
  justify-content: space-evenly;
2790
2839
  width: 69px;
2791
- `,Dr=m.p`
2840
+ `,Qr=m.p`
2792
2841
  display: flex;
2793
2842
  color: ${({theme:e,variantText:t,colorText:l})=>l||e.variant[t]};
2794
2843
  font-size: 16px;
2795
2844
  margin: 0 5px;
2796
- `,Gr=({style:e,variantCircle:l,variantText:o,level:r,textArray:i,colorArray:a,indexPrefix:n,colorText:c,...s})=>(u(),t.createElement(Zr,s,t.createElement(Or,null,[1,2,3,4].map(((e,o)=>{let i="#D4D7E3",c=null,s=null;return r<=0&&(r=0),r>=4&&(r=4),a?r>=e?(c=a[r],i=a[r]):c=a[0]:r>=e?(s=l,i=l):s="#FFFFFF",t.createElement(qr,{key:n.concat(o),variant:s,borderColor:i,bgColor:c,size:11})}))),i&&t.createElement(Dr,{variantText:o,colorText:c},i[r])));Gr.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},Dr.defaultProps={theme:H},Gr.defaultProps={theme:H,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const Xr={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},Jr=m.button`
2845
+ `,Kr=({style:e,variantCircle:l,variantText:o,level:r,textArray:i,colorArray:a,indexPrefix:n,colorText:c,...s})=>(u(),t.createElement(Yr,s,t.createElement(Nr,null,[1,2,3,4].map(((e,o)=>{let i="#D4D7E3",c=null,s=null;return r<=0&&(r=0),r>=4&&(r=4),a?r>=e?(c=a[r],i=a[r]):c=a[0]:r>=e?(s=l,i=l):s="#FFFFFF",t.createElement(Ur,{key:n.concat(o),variant:s,borderColor:i,bgColor:c,size:11})}))),i&&t.createElement(Qr,{variantText:o,colorText:c},i[r])));Kr.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},Qr.defaultProps={theme:H},Kr.defaultProps={theme:H,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const $r={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},_r=m.button`
2797
2846
  ${({underlined:e})=>e?null:b`&:hover {text-decoration: underline}`};
2798
2847
  background: transparent;
2799
2848
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -2804,7 +2853,7 @@ svg {
2804
2853
  justify-content: flex-start;
2805
2854
  border: none;
2806
2855
  cursor: pointer;
2807
- font-size: ${({size:e})=>Xr[e].fontSize};
2856
+ font-size: ${({size:e})=>$r[e].fontSize};
2808
2857
 
2809
2858
  &:disabled {
2810
2859
  color: ${({theme:e})=>e.variant["neutral-3"]};
@@ -2814,7 +2863,7 @@ svg {
2814
2863
  * {
2815
2864
  outline: none;
2816
2865
  }
2817
- `,Ur=({block:e,size:l,style:o,variant:r,disabled:i,underlined:a,...n})=>(u(),t.createElement(Jr,M({block:e,variant:r,type:"button",style:o,size:l,disabled:i,underlined:a},n),n.children));Ur.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},Jr.defaultProps={theme:H},Ur.defaultProps={theme:H,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const Yr=f`
2866
+ `,ei=({block:e,size:l,style:o,variant:r,disabled:i,underlined:a,...n})=>(u(),t.createElement(_r,M({block:e,variant:r,type:"button",style:o,size:l,disabled:i,underlined:a},n),n.children));ei.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},_r.defaultProps={theme:H},ei.defaultProps={theme:H,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const ti=f`
2818
2867
  @keyframes blowUpModal {
2819
2868
  0% {
2820
2869
  transform: translate(-50%,-50%) scale(0) ;
@@ -2843,7 +2892,7 @@ svg {
2843
2892
  animation: blowUpModalTwo 0.3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
2844
2893
  }
2845
2894
 
2846
- `,Nr=m.div`
2895
+ `,li=m.div`
2847
2896
  display: flex;
2848
2897
  justify-content: space-between;
2849
2898
  align-items: flex-start;
@@ -2854,29 +2903,29 @@ svg {
2854
2903
  z-index: 100;
2855
2904
  // custom styles
2856
2905
  ${({customModalHeaderStyle:e})=>e}
2857
- `,Qr=m.div`
2906
+ `,oi=m.div`
2858
2907
  //Set the styles from the default styles object
2859
2908
  ${({inBuiltCss:e,type:t})=>j(e,t)}
2860
2909
  // custom styles
2861
2910
  ${({customModalBodyStyle:e})=>e}
2862
- `,Kr=m.div`
2911
+ `,ri=m.div`
2863
2912
  max-height: 60vh;
2864
2913
  padding: 0 24px 24px 24px;
2865
2914
  overflow-y: auto;
2866
2915
  ${({contentWrapperStyle:e})=>e}
2867
- `,$r=m.div`
2916
+ `,ii=m.div`
2868
2917
  padding-top: 16px;
2869
2918
 
2870
2919
  //Set the styles from the default styles object
2871
2920
  ${({inBuiltCss:e,type:t})=>j(e,t)}
2872
2921
  // custom styles
2873
2922
  ${({customModalFooterStyle:e})=>e}
2874
- `,_r=m.div`
2923
+ `,ai=m.div`
2875
2924
  cursor: pointer;
2876
- `;try{V.setAppElement("#root")}catch(e){V.setAppElement("#__next")}const ei=({modalIsOpen:e,toggleModal:l,closeOnOutsideClick:o,headerContent:r,bodyContent:i,footerContent:a,customModalHeaderStyle:n,customModalBodyStyle:c,customModalFooterStyle:s,customWidth:d,customMinWidth:p,customMaxWidth:m,contentStyle:b,contentWrapperStyle:g,customZIndex:f,hideIcon:h,...y})=>{const x={overlay:{zIndex:f,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",minWidth:p,overflow:"hidden",border:`1px solid ${(u()||H).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:d&&d,maxWidth:m&&m,...b}};return t.createElement("div",null,t.createElement(V,M({closeTimeoutMS:500,isOpen:e,onRequestClose:o?l:void 0,style:x,contentLabel:"Modal"},y),r&&t.createElement(Nr,{style:n},t.createElement("div",null,r),!h&&t.createElement(_r,{onClick:l},t.createElement($,{icon:"close-icon",size:18}))),!r&&!h&&t.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginRight:"24px",paddingTop:"24px"}},t.createElement("div",null),t.createElement(_r,{onClick:l},t.createElement($,{icon:"close-icon",size:18}))),t.createElement(Kr,{contentWrapperStyle:g},t.createElement(Qr,{inBuiltCss:T,style:c},i),a&&t.createElement($r,{inBuiltCss:T,style:s},a))),t.createElement(Yr,null))};ei.propTypes={modalIsOpen:e.bool,toggleModal:e.func,closeOnOutsideClick:e.bool,headerContent:e.any,hideIcon:e.bool,bodyContent:e.any,footerContent:e.any,customModalHeaderStyle:e.object,customModalBodyStyle:e.object,customModalFooterStyle:e.object,customMinWidth:e.string,contentStyle:e.object,contentWrapperStyle:e.object,customZIndex:e.number},ei.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:9999999,hideIcon:!1};const ti=m.div`
2925
+ `;try{V.setAppElement("#root")}catch(e){V.setAppElement("#__next")}const ni=({modalIsOpen:e,toggleModal:l,closeOnOutsideClick:o,headerContent:r,bodyContent:i,footerContent:a,customModalHeaderStyle:n,customModalBodyStyle:c,customModalFooterStyle:s,customWidth:d,customMinWidth:p,customMaxWidth:m,contentStyle:b,contentWrapperStyle:g,customZIndex:f,hideIcon:h,...y})=>{const x={overlay:{zIndex:f,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",minWidth:p,overflow:"hidden",border:`1px solid ${(u()||H).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:d&&d,maxWidth:m&&m,...b}};return t.createElement("div",null,t.createElement(V,M({closeTimeoutMS:500,isOpen:e,onRequestClose:o?l:void 0,style:x,contentLabel:"Modal"},y),r&&t.createElement(li,{style:n},t.createElement("div",null,r),!h&&t.createElement(ai,{onClick:l},t.createElement($,{icon:"close-icon",size:18}))),!r&&!h&&t.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginRight:"24px",paddingTop:"24px"}},t.createElement("div",null),t.createElement(ai,{onClick:l},t.createElement($,{icon:"close-icon",size:18}))),t.createElement(ri,{contentWrapperStyle:g},t.createElement(oi,{inBuiltCss:T,style:c},i),a&&t.createElement(ii,{inBuiltCss:T,style:s},a))),t.createElement(ti,null))};ni.propTypes={modalIsOpen:e.bool,toggleModal:e.func,closeOnOutsideClick:e.bool,headerContent:e.any,hideIcon:e.bool,bodyContent:e.any,footerContent:e.any,customModalHeaderStyle:e.object,customModalBodyStyle:e.object,customModalFooterStyle:e.object,customMinWidth:e.string,contentStyle:e.object,contentWrapperStyle:e.object,customZIndex:e.number},ni.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:9999999,hideIcon:!1};const ci=m.div`
2877
2926
  ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])o[l]=e[t][l],delete e.common[l]}return{...o,...l}}}}
2878
2927
  }
2879
- `,li=({theme:e,toggleSimple:l,contentTrigger:o,contentOverlay:r,popperOptionsP:i,settingsP:a,customStyles:n,...c})=>{let s={},d={};l?(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d}):(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),s={...s,...i},d={...d,...a};const{getArrowProps:p,getTooltipProps:m,setTooltipRef:u,setTriggerRef:b,visible:g}=y({...d},s);return t.createElement(t.Fragment,null,t.createElement("div",{ref:b,style:{width:"fit-content",height:"fit-content"}},o),g&&t.createElement(ti,M({type:l?"simple-overlay":"overlay",theme:e,ref:u},m({className:"tooltip-container"}),{customStyles:n}),r))};li.propTypes={theme:e.object,contentTrigger:e.any,contentOverlay:e.any,popperOptionsP:e.object,settingsP:e.object,customStyles:e.object,toggleSimple:e.bool},li.defaultProps={theme:T,contentTrigger:t.createElement("div",null,"Trigger"),contentOverlay:t.createElement("div",null,"I am the Overlay")};const oi=m.div`
2928
+ `,si=({theme:e,toggleSimple:l,contentTrigger:o,contentOverlay:r,popperOptionsP:i,settingsP:a,customStyles:n,...c})=>{let s={},d={};l?(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d}):(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),s={...s,...i},d={...d,...a};const{getArrowProps:p,getTooltipProps:m,setTooltipRef:u,setTriggerRef:b,visible:g}=y({...d},s);return t.createElement(t.Fragment,null,t.createElement("div",{ref:b,style:{width:"fit-content",height:"fit-content"}},o),g&&t.createElement(ci,M({type:l?"simple-overlay":"overlay",theme:e,ref:u},m({className:"tooltip-container"}),{customStyles:n}),r))};si.propTypes={theme:e.object,contentTrigger:e.any,contentOverlay:e.any,popperOptionsP:e.object,settingsP:e.object,customStyles:e.object,toggleSimple:e.bool},si.defaultProps={theme:T,contentTrigger:t.createElement("div",null,"Trigger"),contentOverlay:t.createElement("div",null,"I am the Overlay")};const di=m.div`
2880
2929
  position: relative;
2881
2930
  height: 10px;
2882
2931
  border-radius: 10px;
@@ -2887,7 +2936,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2887
2936
 
2888
2937
  // custom styles
2889
2938
  ${({progressWrapStyle:e})=>e}
2890
- `,ri=m.div`
2939
+ `,pi=m.div`
2891
2940
  height: inherit;
2892
2941
  /* border-radius: inherit; */
2893
2942
  text-align: right;
@@ -2898,12 +2947,12 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2898
2947
  // custom styles
2899
2948
  ${({progressBarStyle:e})=>e}
2900
2949
 
2901
- `,ii=({labelStyle:e,progressBarStyle:l,progressWrapStyle:o,label:a,total:n,sections:c,innerContent:s,baseColor:d,baseTitle:p,labelProps:m,props:b})=>{const g=u()||H,[f,h]=r([[]]),[y,x]=r(null);i((()=>{c&&c.length>0&&h(c)}),[c]);const v=f?.length>0?f?.reduce(((e,t)=>e+t.count),0):0;v>n&&(n=v);const C=f?.length>0?f?.map((e=>e.count/n*100)):[],A=null!==y?f[y].label:p;return t.createElement("div",null,t.createElement(ot,M({inBuiltCss:T,customStyles:e,type:"progressBar-label",text:a},m)),t.createElement(oi,M({theme:g,progressWrapStyle:o,color:d,title:A},b),f?.map(((e,o)=>t.createElement(ri,M({key:o,onMouseEnter:()=>x(o),onMouseLeave:()=>x(null),progressBarStyle:l,theme:g,color:e.color,style:{width:C[o]+"%",left:0===o?0:C.slice(0,o).reduce(((e,t)=>e+t),0)+"%"}},b)))),t.createElement("div",{style:{position:"absolute",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)",cursor:"default"},onMouseEnter:e=>((e,t)=>{e.stopPropagation(),x(t)})(e,y),onMouseLeave:e=>{e.stopPropagation(),x(null)}},s)))};ii.propTypes={labelStyle:e.object,progressBarStyle:e.object,progressWrapStyle:e.object,sections:e.arrayOf(e.shape({color:e.string.isRequired,percentage:e.number,count:e.number.isRequired})).isRequired},ii.defaultProps={labelStyle:{},progressBarStyle:{},progressWrapStyle:{},label:"",total:100,innerContent:"",baseColor:"",baseTitle:"Total Task",labelProps:{},props:{}};const ai=m.div`
2950
+ `,mi=({labelStyle:e,progressBarStyle:l,progressWrapStyle:o,label:a,total:n,sections:c,innerContent:s,baseColor:d,baseTitle:p,labelProps:m,props:b})=>{const g=u()||H,[f,h]=r([[]]),[y,x]=r(null);i((()=>{c&&c.length>0&&h(c)}),[c]);const v=f?.length>0?f?.reduce(((e,t)=>e+t.count),0):0;v>n&&(n=v);const C=f?.length>0?f?.map((e=>e.count/n*100)):[],A=null!==y?f[y].label:p;return t.createElement("div",null,t.createElement(ot,M({inBuiltCss:T,customStyles:e,type:"progressBar-label",text:a},m)),t.createElement(di,M({theme:g,progressWrapStyle:o,color:d,title:A},b),f?.map(((e,o)=>t.createElement(pi,M({key:o,onMouseEnter:()=>x(o),onMouseLeave:()=>x(null),progressBarStyle:l,theme:g,color:e.color,style:{width:C[o]+"%",left:0===o?0:C.slice(0,o).reduce(((e,t)=>e+t),0)+"%"}},b)))),t.createElement("div",{style:{position:"absolute",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)",cursor:"default"},onMouseEnter:e=>((e,t)=>{e.stopPropagation(),x(t)})(e,y),onMouseLeave:e=>{e.stopPropagation(),x(null)}},s)))};mi.propTypes={labelStyle:e.object,progressBarStyle:e.object,progressWrapStyle:e.object,sections:e.arrayOf(e.shape({color:e.string.isRequired,percentage:e.number,count:e.number.isRequired})).isRequired},mi.defaultProps={labelStyle:{},progressBarStyle:{},progressWrapStyle:{},label:"",total:100,innerContent:"",baseColor:"",baseTitle:"Total Task",labelProps:{},props:{}};const ui=m.div`
2902
2951
  background: transparent;
2903
2952
  display: flex;
2904
2953
  align-items: center;
2905
2954
  width: ${({block:e})=>e?"100%":"fit-content"};
2906
- `,ni=m.div`
2955
+ `,bi=m.div`
2907
2956
  margin: 0;
2908
2957
  color: ${({theme:e,variantOff:t})=>e.variant[t]};
2909
2958
  white-space: nowrap;
@@ -2921,18 +2970,18 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2921
2970
  &>div:first-of-type{
2922
2971
  color: ${({theme:e,variantOn:t})=>e.variant[t]};
2923
2972
  }
2924
- `,ci=m.div`
2973
+ `,gi=m.div`
2925
2974
  display: flex;
2926
2975
  margin-left: 20px;
2927
2976
  ${({stepsStyle:e})=>e}
2928
2977
 
2929
- `,si=m.div`
2978
+ `,fi=m.div`
2930
2979
  height: 6px;
2931
2980
  width: ${({widthStep:e})=>e}px;
2932
2981
  margin: 0 3px;
2933
2982
  background-color: ${({theme:e,isActive:t,variantOn:l,variantOff:o})=>t?e.variant[l]:e.variant[o]};
2934
2983
  border-radius: 19px;
2935
- `,di=({block:e,variantOn:l,variantOff:o,currentStep:r,totalSteps:i,widthStep:a,style:n,progressText:c,stepsStyle:s,...d})=>(u(),t.createElement(ai,M({block:e},d,{style:n}),t.createElement(ni,M({},d,{variantOn:l,variantOff:o}),c||"Page"," ",t.createElement("div",null,r)," of ",t.createElement("div",null,i)),t.createElement(ci,M({stepsStyle:s},d),Array.from(Array(i).keys()).map((e=>t.createElement(si,{key:"formSteps".concat(e),isActive:r===e+1,variantOn:l,variantOff:o,widthStep:a}))))));di.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},ai.defaultProps={theme:H},ni.defaultProps={theme:H},ci.defaultProps={theme:H},si.defaultProps={theme:H},di.defaultProps={theme:H,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const pi=m.button`
2984
+ `,hi=({block:e,variantOn:l,variantOff:o,currentStep:r,totalSteps:i,widthStep:a,style:n,progressText:c,stepsStyle:s,...d})=>(u(),t.createElement(ui,M({block:e},d,{style:n}),t.createElement(bi,M({},d,{variantOn:l,variantOff:o}),c||"Page"," ",t.createElement("div",null,r)," of ",t.createElement("div",null,i)),t.createElement(gi,M({stepsStyle:s},d),Array.from(Array(i).keys()).map((e=>t.createElement(fi,{key:"formSteps".concat(e),isActive:r===e+1,variantOn:l,variantOff:o,widthStep:a}))))));hi.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},ui.defaultProps={theme:H},bi.defaultProps={theme:H},gi.defaultProps={theme:H},fi.defaultProps={theme:H},hi.defaultProps={theme:H,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const yi=m.button`
2936
2985
  background: ${({disabled:e,theme:t,bgVariant:l})=>e?"#BBC4CF":t.variant[l]};
2937
2986
  color: ${({theme:e,variant:t})=>e.variant[t]};
2938
2987
  padding: 6px 17px;
@@ -2959,7 +3008,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2959
3008
  * {
2960
3009
  outline: none;
2961
3010
  }
2962
- `,mi=({block:e,style:l,variant:o,bgVariant:r,disabled:i,...a})=>(u(),t.createElement(pi,M({block:e,variant:o,bgVariant:r,type:"button",style:l,disabled:i},a),a.children));mi.propTypes={variant:e.string,bgVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},pi.defaultProps={theme:H},mi.defaultProps={theme:H,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const ui=m.button`
3011
+ `,xi=({block:e,style:l,variant:o,bgVariant:r,disabled:i,...a})=>(u(),t.createElement(yi,M({block:e,variant:o,bgVariant:r,type:"button",style:l,disabled:i},a),a.children));xi.propTypes={variant:e.string,bgVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},yi.defaultProps={theme:H},xi.defaultProps={theme:H,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const vi=m.button`
2963
3012
  background: ${({disabled:e,theme:t})=>e?"#BBC4CF":t.additional.white};
2964
3013
  color: ${({theme:e,variant:t})=>e.variant[t]};
2965
3014
  padding: 6px 17px;
@@ -2982,7 +3031,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2982
3031
  fill: #929EAC;
2983
3032
  }
2984
3033
  }
2985
- `,bi=({block:e,style:l,variant:o,borderVariant:r,disabled:i,...a})=>(u(),t.createElement(ui,M({block:e,variant:o,borderVariant:r,type:"button",style:l,disabled:i},a),a.children));bi.propTypes={variant:e.string,borderVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},ui.defaultProps={theme:H},bi.defaultProps={theme:H,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const gi={width:"auto",padding:0,boxShadow:"none",background:"transparent"},fi={background:"transparent",cursor:"pointer",border:"none",color:"white",fontSize:"16px",boxShadow:"none",borderRadius:0,padding:"8px 0 8px"},hi={borderTop:"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:0,background:"transparent",borderRadius:0,boxShadow:"none"},yi={float:"right",marginRight:"8px",marginTop:"3px"},xi={boxShadow:"none",borderRadius:0,backgroundColor:"transparent"},vi={padding:0,boxShadow:"none",borderRadius:0,backgroundColor:"transparent",cursor:"pointer"},Ci={transition:"height ease 0.2s",overflow:"hidden",padding:"0",backgroundColor:"transparent",color:"white",position:"relative",boxShadow:"none"},Ai={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white",fontWeight:"600"},wi={padding:"0px 16px 0 0",marginLeft:"30px",height:"auto"},Si=m.div`
3034
+ `,Ci=({block:e,style:l,variant:o,borderVariant:r,disabled:i,...a})=>(u(),t.createElement(vi,M({block:e,variant:o,borderVariant:r,type:"button",style:l,disabled:i},a),a.children));Ci.propTypes={variant:e.string,borderVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},vi.defaultProps={theme:H},Ci.defaultProps={theme:H,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Ai={width:"auto",padding:0,boxShadow:"none",background:"transparent"},wi={background:"transparent",cursor:"pointer",border:"none",color:"white",fontSize:"16px",boxShadow:"none",borderRadius:0,padding:"8px 0 8px"},Si={borderTop:"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:0,background:"transparent",borderRadius:0,boxShadow:"none"},ki={float:"right",marginRight:"8px",marginTop:"3px"},Ei={boxShadow:"none",borderRadius:0,backgroundColor:"transparent"},Vi={padding:0,boxShadow:"none",borderRadius:0,backgroundColor:"transparent",cursor:"pointer"},zi={transition:"height ease 0.2s",overflow:"hidden",padding:"0",backgroundColor:"transparent",color:"white",position:"relative",boxShadow:"none"},Mi={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white",fontWeight:"600"},Bi={padding:"0px 16px 0 0",marginLeft:"30px",height:"auto"},Li=m.div`
2986
3035
  display: flex;
2987
3036
  flex-direction: column;
2988
3037
  height: ${({toggleSideBarOpen:e})=>"100vh"};
@@ -2990,7 +3039,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
2990
3039
  @media (max-width: 428px) {
2991
3040
  height: ${({toggleSideBarOpen:e})=>e?"100vh":"56px"};
2992
3041
  }
2993
- `,ki=m.div`
3042
+ `,Ii=m.div`
2994
3043
  min-height: 56px;
2995
3044
  display: flex;
2996
3045
  align-items: center;
@@ -3013,7 +3062,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
3013
3062
  }
3014
3063
 
3015
3064
  ${({headerStyles:e})=>e}
3016
- `,Ei=m.div`
3065
+ `,Wi=m.div`
3017
3066
  display: flex;
3018
3067
  flex-direction: column;
3019
3068
  background-color: transparent;
@@ -3041,7 +3090,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
3041
3090
  @media (max-width: 428px) {
3042
3091
  margin-top: 56px;
3043
3092
  }
3044
- `,Vi=m.div`
3093
+ `,Ri=m.div`
3045
3094
  display: flex;
3046
3095
  justify-content: flex-start;
3047
3096
  align-items: center;
@@ -3070,7 +3119,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
3070
3119
  p {
3071
3120
  margin: 0;
3072
3121
  }
3073
- `,zi=({headerContent:e,bodyContent:l,toggleSideBarOpen:o,headerStyles:a,selectedStyle:n,notSelectedStyle:c,customStylesNameHover:s,listElementStyle:d,customSelectCardColor:p,selectedAppPath:m,setSelectedAppPath:b,setSelectedAppPageId:g,setParentId:f,setRouterObject:h,notificationCircleStyles:y})=>{const x=u()||H,[v,C]=r(null),[A,w]=r(!1),[S,k]=r([]);i((()=>{k(m.split("/"));let e=m.split("/"),t=l&&l.find((t=>e[1]===t.path.split("/")[1]));E(t),f(t?.id||null)}),[m]),i((()=>{!o&&w(!1),!o&&C(null)}),[o]);const E=e=>{if(e?.routes&&e?.routes.length>0)e.routes.forEach((e=>E(e)));else if(e?.path===m)return g(e?.id||null),h(e||null),null},V=(e,l,o)=>{let r=e?.path.split("/"),i=r.length;return e.routes&&e.routes.length>0?t.createElement(te,{key:e?.id+l,contentToggle:t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",marginLeft:`${o}px`}},t.createElement("span",{style:{visibility:3===i&&S[2]===r[2]?"visible":"hidden",marginRight:"16px",width:"7px",height:"7px",borderRadius:"50%",backgroundColor:x.additional.white,flexShrink:0}}),t.createElement("span",{style:{fontWeight:3===i&&S[2]===r[2]?"bold":"normal"}}," ",e?.link)),isAccordionOpen:m.includes(e.path),showIcon:!0,setContentIsOpen:()=>{},toggleIconAnimation:!0,content:t.createElement("div",null,e.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>V(e,t,o+8)))),customStylesAccordionContainer:gi,customStylesAccordionToggle:fi,customStylesAccordionContent:hi,showIconInfo:!1,customWrapperStyles:yi}):t.createElement(Vi,{listElementStyle:d,key:e?.id+l,onClick:()=>{b(e.path)},theme:x},t.createElement("span",{className:"selected-disk",style:{visibility:i<=3&&S[S.length-1]?.toLowerCase()===r[i-1]?.toLowerCase()?"visible":"hidden",marginRight:"16px"}}),t.createElement("span",{className:"link",style:{marginLeft:o-8+"px",padding:"4px 8px",borderRadius:"4px",backgroundColor:i>3&&m===e?.path?d?.selectedChildBG||x.additional.white:"transparent",fontWeight:i<=3&&S[S.length-1]?.toLowerCase()===r[i-1]?.toLowerCase()?"bold":"normal",color:x.variant.white}}," ",e?.link))};return t.createElement(Si,{onClick:()=>w(!0),onMouseEnter:()=>w(!0),onMouseLeave:()=>{C(null),w(!1)},toggleSideBarOpen:o},t.createElement(ki,{theme:x,headerStyles:a,toggleSideBarOpen:o},e),t.createElement(Ei,{toggleSideBarOpen:o},l&&l?.filter((e=>!0===e.visibleAsMenu))?.map(((e,l,r)=>(r.length,t.createElement("div",{className:"service-layer",key:e?.value+l,onClick:()=>{C(l)},style:{backgroundColor:e?.value?.toLowerCase()===S[1]?.toLowerCase()?p:"transparent"}},t.createElement(te,{index:l,isAccordionOpen:l===v||A&&e?.value?.toLowerCase()===S[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===S[1]?.toLowerCase(),customSelectCardColor:p,customStylesAccordionContainer:{...xi,padding:"0px 0px 0px 0px"},customStylesAccordionToggle:vi,customStylesAccordionContent:Ci,contentToggle:t.createElement(xe,{selectedStyle:{minWidth:"36px",minHeight:"36px",...n},notSelectedStyle:{minWidth:"36px",minHeight:"36px",...c},toggleName:o,customStylesName:Ai,customStylesNameHover:s,size:"MD",user:{userName:e?.label,url:e?.logo,fullName:e?.label},notificationCircleStyles:y,icon:e?.icon?e?.icon:e?.maintenance?t.createElement($,{icon:"maintenance",size:22,color:"white"}):null,isSelected:e?.value?.toLowerCase()===S[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:t.createElement("div",{style:wi},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>V(e,t,0))))})))))))},Mi=m.div`
3122
+ `,Pi=({headerContent:e,bodyContent:l,toggleSideBarOpen:o,headerStyles:a,selectedStyle:n,notSelectedStyle:c,customStylesNameHover:s,listElementStyle:d,customSelectCardColor:p,selectedAppPath:m,setSelectedAppPath:b,setSelectedAppPageId:g,setParentId:f,setRouterObject:h,notificationCircleStyles:y})=>{const x=u()||H,[v,C]=r(null),[A,w]=r(!1),[S,k]=r([]);i((()=>{k(m.split("/"));let e=m.split("/"),t=l&&l.find((t=>e[1]===t.path.split("/")[1]));E(t),f(t?.id||null)}),[m]),i((()=>{!o&&w(!1),!o&&C(null)}),[o]);const E=e=>{if(e?.routes&&e?.routes.length>0)e.routes.forEach((e=>E(e)));else if(e?.path===m)return g(e?.id||null),h(e||null),null},V=(e,l,o)=>{let r=e?.path.split("/"),i=r.length;return e.routes&&e.routes.length>0?t.createElement(te,{key:e?.id+l,contentToggle:t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",marginLeft:`${o}px`}},t.createElement("span",{style:{visibility:3===i&&S[2]===r[2]?"visible":"hidden",marginRight:"16px",width:"7px",height:"7px",borderRadius:"50%",backgroundColor:x.additional.white,flexShrink:0}}),t.createElement("span",{style:{fontWeight:3===i&&S[2]===r[2]?"bold":"normal"}}," ",e?.link)),isAccordionOpen:m.includes(e.path),showIcon:!0,setContentIsOpen:()=>{},toggleIconAnimation:!0,content:t.createElement("div",null,e.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>V(e,t,o+8)))),customStylesAccordionContainer:Ai,customStylesAccordionToggle:wi,customStylesAccordionContent:Si,showIconInfo:!1,customWrapperStyles:ki}):t.createElement(Ri,{listElementStyle:d,key:e?.id+l,onClick:()=>{b(e.path)},theme:x},t.createElement("span",{className:"selected-disk",style:{visibility:i<=3&&S[S.length-1]?.toLowerCase()===r[i-1]?.toLowerCase()?"visible":"hidden",marginRight:"16px"}}),t.createElement("span",{className:"link",style:{marginLeft:o-8+"px",padding:"4px 8px",borderRadius:"4px",backgroundColor:i>3&&m===e?.path?d?.selectedChildBG||x.additional.white:"transparent",fontWeight:i<=3&&S[S.length-1]?.toLowerCase()===r[i-1]?.toLowerCase()?"bold":"normal",color:x.variant.white}}," ",e?.link))};return t.createElement(Li,{onClick:()=>w(!0),onMouseEnter:()=>w(!0),onMouseLeave:()=>{C(null),w(!1)},toggleSideBarOpen:o},t.createElement(Ii,{theme:x,headerStyles:a,toggleSideBarOpen:o},e),t.createElement(Wi,{toggleSideBarOpen:o},l&&l?.filter((e=>!0===e.visibleAsMenu))?.map(((e,l,r)=>(r.length,t.createElement("div",{className:"service-layer",key:e?.value+l,onClick:()=>{C(l)},style:{backgroundColor:e?.value?.toLowerCase()===S[1]?.toLowerCase()?p:"transparent"}},t.createElement(te,{index:l,isAccordionOpen:l===v||A&&e?.value?.toLowerCase()===S[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===S[1]?.toLowerCase(),customSelectCardColor:p,customStylesAccordionContainer:{...Ei,padding:"0px 0px 0px 0px"},customStylesAccordionToggle:Vi,customStylesAccordionContent:zi,contentToggle:t.createElement(xe,{selectedStyle:{minWidth:"36px",minHeight:"36px",...n},notSelectedStyle:{minWidth:"36px",minHeight:"36px",...c},toggleName:o,customStylesName:Mi,customStylesNameHover:s,size:"MD",user:{userName:e?.label,url:e?.logo,fullName:e?.label},notificationCircleStyles:y,icon:e?.icon?e?.icon:e?.maintenance?t.createElement($,{icon:"maintenance",size:22,color:"white"}):null,isSelected:e?.value?.toLowerCase()===S[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:t.createElement("div",{style:Bi},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>V(e,t,0))))})))))))},Hi=m.div`
3074
3123
  background-color: ${({theme:e})=>e.variant["primary-1"]} !important;
3075
3124
  color: ${({theme:e})=>e.additional.white};
3076
3125
  overflow-y: hidden;
@@ -3089,7 +3138,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let o={};if(e[t]){for(const t in e.c
3089
3138
  ${({customStylesContainer:e})=>e}
3090
3139
 
3091
3140
  ${({isOpen:e,forceOpen:t,inBuiltCss:l,customStylesContainerOpen:o,customStylesContainerClose:r})=>e||t?{...j(l,"sidebar-container-open"),...o}:{...j(l,"sidebar-container-close"),...r}}
3092
- `,Bi=m.div`
3141
+ `,Ti=m.div`
3093
3142
  ${({inBuiltCss:e})=>j(e,"sidebar-pusher")}
3094
3143
  ${({customStylesPusher:e})=>e}
3095
3144
 
@@ -3098,33 +3147,33 @@ ${({forceOpen:e,inBuiltCss:t,customStylesPusherOpen:l,customStylesPusherClose:o}
3098
3147
  @media (max-width: 980px) {
3099
3148
  ${({inBuiltCss:e,type:t,customStylesPusherMobile:l})=>({...j(e,"sidebar-pusher-mobile"),...l})}
3100
3149
  }
3101
- `,Ii=({customStylesContainer:e,customStylesContainerOpen:l,customStylesContainerClose:o,customStylesContainerMobileOpen:r,customStylesContainerMobileClose:i,customStylesPusher:a,customStylesPusherOpen:n,customStylesPusherClose:c,customStylesPusherMobile:s,forceOpen:d,forceClose:p,handleSidebar:m,toggleSideBarOpen:b,pinner:g,...f})=>{function h(e){m(e)}const y=u()||H;return t.createElement(Mi,M({theme:y,inBuiltCss:T,customStyles:e,onMouseEnter:()=>{d||h(!0)},onClick:()=>!b&&h(!0),onMouseLeave:()=>{h(!1),p()},forceOpen:d,isOpen:b},f),t.createElement(Bi,null),f.children,g)};Ii.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},Ii.defaultProps={forceClose:()=>{},forceOpen:!1};const Li={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Wi=m.div`
3150
+ `,ji=({customStylesContainer:e,customStylesContainerOpen:l,customStylesContainerClose:o,customStylesContainerMobileOpen:r,customStylesContainerMobileClose:i,customStylesPusher:a,customStylesPusherOpen:n,customStylesPusherClose:c,customStylesPusherMobile:s,forceOpen:d,forceClose:p,handleSidebar:m,toggleSideBarOpen:b,pinner:g,...f})=>{function h(e){m(e)}const y=u()||H;return t.createElement(Hi,M({theme:y,inBuiltCss:T,customStyles:e,onMouseEnter:()=>{d||h(!0)},onClick:()=>!b&&h(!0),onMouseLeave:()=>{h(!1),p()},forceOpen:d,isOpen:b},f),t.createElement(Ti,null),f.children,g)};ji.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},ji.defaultProps={forceClose:()=>{},forceOpen:!1};const Fi={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},qi=m.div`
3102
3151
  background: ${({theme:e,variant:t})=>e.variant[t]};
3103
3152
  color: ${({theme:e})=>e.additional.white};
3104
- padding: ${({size:e})=>Li[e].padding};
3153
+ padding: ${({size:e})=>Fi[e].padding};
3105
3154
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
3106
3155
  border-radius: 42px;
3107
- font-size: ${({size:e})=>Li[e].fontSize};
3156
+ font-size: ${({size:e})=>Fi[e].fontSize};
3108
3157
  font-weight: 600;
3109
3158
  display: flex;
3110
3159
  align-items: center;
3111
3160
  width: ${({block:e})=>e?"auto":"fit-content"};
3112
3161
  box-sizing: border-box;
3113
3162
 
3114
- `,Ri=({block:e,style:l,variant:o,...r})=>(u(),t.createElement(Wi,M({block:e,variant:o,style:l},r),r.children));Ri.propTypes={size:e.oneOf(["sm","md","lg"]),variant:e.string,block:e.bool,theme:e.object},Wi.defaultProps={theme:H},Ri.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Pi={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Hi=m.div`
3163
+ `,Zi=({block:e,style:l,variant:o,...r})=>(u(),t.createElement(qi,M({block:e,variant:o,style:l},r),r.children));Zi.propTypes={size:e.oneOf(["sm","md","lg"]),variant:e.string,block:e.bool,theme:e.object},qi.defaultProps={theme:H},Zi.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Oi={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Di=m.div`
3115
3164
  color: ${({theme:e,variant:t})=>e.variant[t]};
3116
3165
  background: ${({theme:e})=>e.additional.white};
3117
- padding: ${({size:e})=>Pi[e].padding};
3166
+ padding: ${({size:e})=>Oi[e].padding};
3118
3167
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
3119
3168
  border-radius: 42px;
3120
- font-size: ${({size:e})=>Pi[e].fontSize};
3169
+ font-size: ${({size:e})=>Oi[e].fontSize};
3121
3170
  font-weight: 600;
3122
3171
  display: flex;
3123
3172
  align-items: center;
3124
3173
  width: ${({block:e})=>e?"auto":"fit-content"};
3125
3174
  box-sizing: border-box;
3126
3175
 
3127
- `,Ti=({block:e,style:l,variant:o,...r})=>(u(),t.createElement(Hi,M({block:e,variant:o,style:l},r),r.children));Ti.propTypes={size:e.oneOf(["sm","md","lg"]),variant:e.string,block:e.bool,theme:e.object},Hi.defaultProps={theme:H},Ti.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const ji={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Fi=m.div`
3176
+ `,Gi=({block:e,style:l,variant:o,...r})=>(u(),t.createElement(Di,M({block:e,variant:o,style:l},r),r.children));Gi.propTypes={size:e.oneOf(["sm","md","lg"]),variant:e.string,block:e.bool,theme:e.object},Di.defaultProps={theme:H},Gi.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Xi={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Ji=m.div`
3128
3177
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
3129
3178
  color: ${({theme:e,textColor:t})=>t||e.bgColor};
3130
3179
  border-radius: 13.5px;
@@ -3132,11 +3181,11 @@ font-size: 14px;
3132
3181
  display: inline-flex;
3133
3182
  align-items: center;
3134
3183
  justify-content: center;
3135
- min-width: ${({block:e,size:t})=>e?"auto":ji[t].width};
3184
+ min-width: ${({block:e,size:t})=>e?"auto":Xi[t].width};
3136
3185
  height: 28px;
3137
3186
  box-sizing: border-box;
3138
3187
  overflow: hidden;
3139
- `,qi=({block:e,style:l,variant:o,textColor:r,bgColor:i,...a})=>(u(),t.createElement(Fi,M({block:e,variant:o,textColor:r,bgColor:i,style:l},a),a.children));qi.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,bgColor:e.string},Fi.defaultProps={theme:H},qi.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Zi={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Oi=m.div`
3188
+ `,Ui=({block:e,style:l,variant:o,textColor:r,bgColor:i,...a})=>(u(),t.createElement(Ji,M({block:e,variant:o,textColor:r,bgColor:i,style:l},a),a.children));Ui.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,bgColor:e.string},Ji.defaultProps={theme:H},Ui.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Yi={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Ni=m.div`
3140
3189
  background: ${({theme:e})=>e.additional.white};
3141
3190
  color: ${({theme:e,variant:t,textColor:l})=>l||e.variant[t]};
3142
3191
  border: 1px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
@@ -3145,14 +3194,14 @@ font-size: 14px;
3145
3194
  display: inline-flex;
3146
3195
  align-items: center;
3147
3196
  justify-content: center;
3148
- min-width: ${({block:e,size:t})=>e?"auto":Zi[t].width};
3197
+ min-width: ${({block:e,size:t})=>e?"auto":Yi[t].width};
3149
3198
  height: 28px;
3150
3199
  box-sizing: border-box;
3151
3200
  overflow: hidden;
3152
- `,Di=({block:e,style:l,variant:o,textColor:r,borderColor:i,...a})=>(u(),t.createElement(Oi,M({block:e,variant:o,textColor:r,borderColor:i,style:l},a),a.children));Di.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:H},Di.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Gi=m.div`
3201
+ `,Qi=({block:e,style:l,variant:o,textColor:r,borderColor:i,...a})=>(u(),t.createElement(Ni,M({block:e,variant:o,textColor:r,borderColor:i,style:l},a),a.children));Qi.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,borderColor:e.string},Ni.defaultProps={theme:H},Qi.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Ki=m.div`
3153
3202
  padding: 24px;
3154
3203
  ${({tabWrapperStyle:e})=>e}
3155
- `,Xi=m.div`
3204
+ `,$i=m.div`
3156
3205
  color: ${({theme:e})=>e.variant["graph-5"]};
3157
3206
  display: flex;
3158
3207
  align-items: flex-start;
@@ -3160,16 +3209,16 @@ overflow: hidden;
3160
3209
  gap: 12px;
3161
3210
  padding-bottom: 24px;
3162
3211
  ${({headerWrapperStyle:e})=>e}
3163
- `,Ji=m.div`
3212
+ `,_i=m.div`
3164
3213
  font-size: 16px;
3165
3214
  padding: 7px 20px;
3166
3215
  background-color: ${({theme:e,isActive:t})=>t?F(e.variant["primary-1"],.2):"transparent"};
3167
3216
  cursor: pointer;
3168
3217
  border-radius: 5px;
3169
3218
  ${({headerStyle:e})=>e}
3170
- `,Ui=m.div`
3219
+ `,ea=m.div`
3171
3220
  ${({tabContentStyle:e})=>e}
3172
- `,Yi=({tabs:e,activeTab:l,setActiveTab:o,tabWrapperStyle:r,headerWrapperStyle:i,headerStyle:a,dividerStyle:n,tabContentStyle:c,extraContent:s})=>{const d=u()||H;return t.createElement(Gi,{tabWrapperStyle:r},t.createElement(Xi,{theme:d,headerWrapperStyle:i},e.map(((e,r)=>t.createElement(Ji,{theme:d,onClick:()=>o(r),active:r===l,key:e?.title+r,isActive:r===l,headerStyle:a},e.title))),s&&{extraContent:s}),t.createElement(Wo,{theme:d,height:"8px",dividerStyle:n}),e.map(((e,o)=>o===l&&t.createElement(Ui,{tabContentStyle:c,key:o},e.content))))};Yi.propTypes={tabs:e.array,tabWrapperStyle:e.object,headerWrapperStyle:e.object,headerStyle:e.object,dividerStyle:e.object,tabContentStyle:e.object,activeTab:e.number,setActiveTab:e.func},Yi.defaultProps={tabs:[],activeTab:0,tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const Ni=m.div`
3221
+ `,ta=({tabs:e,activeTab:l,setActiveTab:o,tabWrapperStyle:r,headerWrapperStyle:i,headerStyle:a,dividerStyle:n,tabContentStyle:c,extraContent:s})=>{const d=u()||H;return t.createElement(Ki,{tabWrapperStyle:r},t.createElement($i,{theme:d,headerWrapperStyle:i},e.map(((e,r)=>t.createElement(_i,{theme:d,onClick:()=>o(r),active:r===l,key:e?.title+r,isActive:r===l,headerStyle:a},e.title))),s&&{extraContent:s}),t.createElement(qo,{theme:d,height:"8px",dividerStyle:n}),e.map(((e,o)=>o===l&&t.createElement(ea,{tabContentStyle:c,key:o},e.content))))};ta.propTypes={tabs:e.array,tabWrapperStyle:e.object,headerWrapperStyle:e.object,headerStyle:e.object,dividerStyle:e.object,tabContentStyle:e.object,activeTab:e.number,setActiveTab:e.func},ta.defaultProps={tabs:[],activeTab:0,tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const la=m.div`
3173
3222
  .notification {
3174
3223
  background: ${({theme:e})=>e.additional.white};
3175
3224
  transition: 0.3s ease;
@@ -3264,7 +3313,7 @@ overflow: hidden;
3264
3313
  .close-icon {
3265
3314
  cursor: pointer;
3266
3315
  }
3267
- `,Qi=({close:e,children:l,type:r,position:a,timeout:n,localTimeout:c})=>{((e,t)=>{const l=o(e);i((()=>{l.current=e}),[e]),i((()=>{if(null===t)return;const e=setTimeout((()=>l.current()),t);return()=>clearTimeout(e)}),[t])})(e,c||n||5e3);const s=u()||H;let d=null;switch(r){case"success":d=t.createElement($,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":d=t.createElement($,{icon:"warning",color:"white",size:20,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":d=t.createElement($,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"info":d=t.createElement($,{icon:"info-icon",size:10,color:"white",customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"pending":d=t.createElement(Ie,{size:14})}return t.createElement(Ni,{theme:s,type:r,timeout:c||n||5e3},t.createElement("div",{className:`notification toast ${a}`},t.createElement("div",{className:"leftSide"},t.createElement("div",{className:"notification-icon"},d),t.createElement("div",{className:"notification-message"},l)),t.createElement("div",{className:"close-icon",onClick:e},t.createElement($,{icon:"close-icon",color:s.variant["neutral-2"]}))),t.createElement("div",{className:`notification-progress ${a}-border`}))},Ki=s(),$i=m.div`
3316
+ `,oa=({close:e,children:l,type:r,position:a,timeout:n,localTimeout:c})=>{((e,t)=>{const l=o(e);i((()=>{l.current=e}),[e]),i((()=>{if(null===t)return;const e=setTimeout((()=>l.current()),t);return()=>clearTimeout(e)}),[t])})(e,c||n||5e3);const s=u()||H;let d=null;switch(r){case"success":d=t.createElement($,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":d=t.createElement($,{icon:"warning",color:"white",size:20,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":d=t.createElement($,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"info":d=t.createElement($,{icon:"info-icon",size:10,color:"white",customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"pending":d=t.createElement(Le,{size:14})}return t.createElement(la,{theme:s,type:r,timeout:c||n||5e3},t.createElement("div",{className:`notification toast ${a}`},t.createElement("div",{className:"leftSide"},t.createElement("div",{className:"notification-icon"},d),t.createElement("div",{className:"notification-message"},l)),t.createElement("div",{className:"close-icon",onClick:e},t.createElement($,{icon:"close-icon",color:s.variant["neutral-2"]}))),t.createElement("div",{className:`notification-progress ${a}-border`}))},ra=s(),ia=m.div`
3268
3317
  .notification-container {
3269
3318
  font-size: 14px;
3270
3319
  box-sizing: border-box;
@@ -3318,9 +3367,9 @@ overflow: hidden;
3318
3367
  transform: translateX(0);
3319
3368
  }
3320
3369
  }
3321
- `;function _i(){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 ea=e=>{const[l,o]=r([]),a=(e,t,l,r)=>{o((o=>[...o,{id:r||_i(),content:t,type:e,localTimeout:l}]))},n=e=>o((t=>t.filter((t=>t.id!==e)))),c=d((()=>({open:a,close:n})),[]),[s,p]=r(!1);return i((()=>(p(!0),()=>p(!1))),[]),t.createElement(Ki.Provider,{value:c},e.children,s?z(t.createElement($i,null,t.createElement("div",{className:`notification-container ${e.position}`},l.map((l=>t.createElement(Qi,{key:l.id,type:l.type,position:e.position,timeout:e.timeout,localTimeout:l.localTimeout,close:()=>n(l.id)},l.content))))),document.body):null)},ta=()=>p(Ki),la={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},oa=m.div`
3370
+ `;function aa(){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 na=e=>{const[l,o]=r([]),a=(e,t,l,r)=>{o((o=>[...o,{id:r||aa(),content:t,type:e,localTimeout:l}]))},n=e=>o((t=>t.filter((t=>t.id!==e)))),c=d((()=>({open:a,close:n})),[]),[s,p]=r(!1);return i((()=>(p(!0),()=>p(!1))),[]),t.createElement(ra.Provider,{value:c},e.children,s?z(t.createElement(ia,null,t.createElement("div",{className:`notification-container ${e.position}`},l.map((l=>t.createElement(oa,{key:l.id,type:l.type,position:e.position,timeout:e.timeout,localTimeout:l.localTimeout,close:()=>n(l.id)},l.content))))),document.body):null)},ca=()=>p(ra),sa={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},da=m.div`
3322
3371
  color: ${({theme:e,text:t})=>t?e.variant[t]:e.additional["text-color"]};
3323
3372
  background: ${({theme:e,bg:t})=>t?e.variant[t]:e.additional.white};
3324
- font-size: ${({size:e})=>la[e].fontSize};
3325
- line-height: ${({size:e})=>la[e].lineHeight};
3326
- `,ra=({size:e,children:l,bg:o,text:r,...i})=>{const a=u()||H;return t.createElement(oa,M({theme:a,bg:o,text:r,size:e},i),t.createElement(wr,{theme:a}),l)};ra.propTypes={size:e.oneOf(["xs","sm","md","lg"]),text:e.string,bg:e.string,children:e.any,theme:e.object},ra.defaultProps={size:"md"};export{ee as Accordion,te as AccordionSB,Ao as ActionContainer,ko as ActionItem,re as Alert,ce as ArrowBar,be as Avatar,xe as AvatarSB,Ae as Banner,tt as Breadcrumb,Br as ButtonPopup,Z as Card,D as CardRef,st as CheckBoxInput,mt as ColorInput,po as Comment,uo as Content,gt as CountryCodedPhoneInput,mi as DarkSecondaryLink,zt as DateSelect,Ht as DateTime,Wo as Divider,Y as DocumentCard,ke as DotPulseLoader,Po as Drawer,Zt as DropdownSelect,Kt as DropzoneInput,ol as EditableInput,Ho as ErrorBoundary,Fo as FilterChip,Zo as Footer,Jo as FooterContent,Cr as FormComponent,Eo as FormContainer,Io as FormWrapper,Er as GroupAvatars,Rr as GroupButtons,jr as GroupButtonsPopup,Gr as GroupStatusCircle,Yo as Header,vr as HeaderComponent,Ur as HyperLink,$ as Icon,de as Image,cl as ImageUploader,ot as Label,bi as LightSecondaryLink,Re as LinkButton,ze as Loader,ei as ModalComp,Mo as MultiColumnDiv,zo as MultiColumnWrapper,zi as Navbar,ul as NumericInput,li as Overlay,wo as OverlayOptionContainer,So as OverlayOptionItemLabel,bo as PageContent,er as Pagination,lr as PaginationDefault,dr as PaginationTypeTwo,yl as PasswordInput,Te as PrimaryButton,Ri as PrimaryStatusChip,ii as ProgressBar,di as ProgressSteps,Sl as RadioInput,hr as Rating,Ie as RoundedLoader,Bl as SearchInput,qe as SecondaryButton,Ti as SecondaryStatusChip,Ii as Sidebar,Tl as SignatureInput,qi as SlimPrimaryStatusChip,Di as SlimSecondaryStatusChip,qr as StatusCircle,ho as StyledCentralBar,fo as StyledClearSearch,xo as StyledCreateRow,vo as StyledRow,go as StyledRowSearch,Co as StyledSearchRow,yo as StyledWarning,Vo as SubmitButtonContainer,Ar as SubmitComponent,xr as Table,Yi as Tabs,Ol as TextArea,Ml as TextInput,Ql as TimeInput,Oe as TinyButton,ea as ToastProvider,to as ToggleSwitch,Qe as Tooltip,ra as Typography,P as additionalColors,T as defaultStyles,H as defaultThemeColor,j as getDefaultStyles,R as graphColor,F as hexToRGB,L as neutralColor,B as primaryColor,W as shadeColor,I as uiColor,ta as useToast};
3373
+ font-size: ${({size:e})=>sa[e].fontSize};
3374
+ line-height: ${({size:e})=>sa[e].lineHeight};
3375
+ `,pa=({size:e,children:l,bg:o,text:r,...i})=>{const a=u()||H;return t.createElement(da,M({theme:a,bg:o,text:r,size:e},i),t.createElement(Br,{theme:a}),l)};pa.propTypes={size:e.oneOf(["xs","sm","md","lg"]),text:e.string,bg:e.string,children:e.any,theme:e.object},pa.defaultProps={size:"md"};export{ee as Accordion,te as AccordionSB,Mo as ActionContainer,Io as ActionItem,re as Alert,ce as ArrowBar,be as Avatar,xe as AvatarSB,Ae as Banner,tt as Breadcrumb,Tr as ButtonPopup,Z as Card,D as CardRef,ft as CheckBoxInput,dt as ChipsInput,xt as ColorInput,yo as Comment,vo as Content,At as CountryCodedPhoneInput,xi as DarkSecondaryLink,Pt as DateSelect,Dt as DateTime,qo as Divider,Y as DocumentCard,ke as DotPulseLoader,Oo as Drawer,Yt as DropdownSelect,rl as DropzoneInput,dl as EditableInput,Do as ErrorBoundary,Jo as FilterChip,Yo as Footer,_o as FooterContent,zr as FormComponent,Wo as FormContainer,jo as FormWrapper,Wr as GroupAvatars,Zr as GroupButtons,Xr as GroupButtonsPopup,Kr as GroupStatusCircle,tr as Header,Vr as HeaderComponent,ei as HyperLink,$ as Icon,de as Image,gl as ImageUploader,ot as Label,Ci as LightSecondaryLink,Re as LinkButton,ze as Loader,ni as ModalComp,Ho as MultiColumnDiv,Po as MultiColumnWrapper,Pi as Navbar,vl as NumericInput,si as Overlay,Bo as OverlayOptionContainer,Lo as OverlayOptionItemLabel,Co as PageContent,nr as Pagination,sr as PaginationDefault,hr as PaginationTypeTwo,kl as PasswordInput,Te as PrimaryButton,Zi as PrimaryStatusChip,mi as ProgressBar,hi as ProgressSteps,Ll as RadioInput,Sr as Rating,Le as RoundedLoader,Tl as SearchInput,qe as SecondaryButton,Gi as SecondaryStatusChip,ji as Sidebar,Gl as SignatureInput,Ui as SlimPrimaryStatusChip,Qi as SlimSecondaryStatusChip,Ur as StatusCircle,So as StyledCentralBar,wo as StyledClearSearch,Eo as StyledCreateRow,Vo as StyledRow,Ao as StyledRowSearch,zo as StyledSearchRow,ko as StyledWarning,Ro as SubmitButtonContainer,Mr as SubmitComponent,Er as Table,ta as Tabs,Nl as TextArea,Hl as TextInput,oo as TimeInput,Oe as TinyButton,na as ToastProvider,co as ToggleSwitch,Qe as Tooltip,pa as Typography,P as additionalColors,T as defaultStyles,H as defaultThemeColor,j as getDefaultStyles,R as graphColor,F as hexToRGB,I as neutralColor,B as primaryColor,W as shadeColor,L as uiColor,ca as useToast};