groundfloor-react-ui 1.2.37 → 1.2.39

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 +259 -262
  2. package/dist/index.js +258 -261
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("prop-types"),t=require("react"),l=require("styled-components"),a=require("react-svg"),o=require("react-popper-tooltip"),r=require("react-datepicker"),i=require("dayjs");require("dayjs/locale/es");var n=require("react-select"),c=require("react-select/async"),s=require("react-signature-pad-wrapper"),d=require("react-data-table-component"),u=require("react-modal"),p=require("react-dom");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=f(e),b=f(t),g=f(l),h=f(r),y=f(i),x=f(n),v=f(c),A=f(s),C=f(d),w=f(u);function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},S.apply(this,arguments)}const E={"primary-1":"#2E56F4","primary-2":"#081348"},k={error:"#DD0000",success:"#00B904 "},z={"neutral-1":"#39424D","neutral-2":"#929EAC","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},V={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},B={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},M={primary:{...E},ui:{...k},neutral:{...z},shade:{...V},graph:{...B},variant:{...E,...k,...z,...V,...B},textColor:E["primary-2"],bgColor:"#FFFFFF",black:"#000000",border:"#D4D7E3"},I={common:{color:"blue","background-color":`${M.bgColor}`},label:{"padding-left":"6px","font-style":"normal","font-weight":"normal","font-size":"14px",display:"flex",width:"inherit","align-items":"flex-start",color:`${M.variant["neutral-2"]}`,"margin-bottom":"0","padding-bottom":"0"},button:{color:"red","border-color":"black"},progressbarLabel:{display:"block","margin-left":"13px","margin-bottom":"7px","padding-bottom":"0","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${M.neutral["neutral-2"]}`},spinner:{"background-color":`${M.variant["neutral-1"]}`},avatarContainer:{background:"transparent",display:"flex","align-items":"center",width:"auto",position:"relative"},avatarCircle:{"border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","box-sizing":"border-box"},avatarCircleSM:{"font-weight":"600","font-size":"13px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"12px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"16px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"10px","font-size":"16px"},avatarNameLG:{"margin-left":"12px","font-size":"16px"},"textbox-wrapper":{"border-radius":"4px",padding:"5.5px 7px",display:"flex","align-items":"center","line-height":".5rem",position:"relative"},"input-wrapper":{border:"0",outline:"0",margin:"0 5px",padding:"0px","font-size":"14px","flex-grow":"1","flex-shrink":"0","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},"textarea-wrapper":{border:"0",outline:"0",color:`${M.variant["primary-2"]}`,margin:"0 5px",padding:"5px","font-size":"14px","flex-grow":"1","flex-shrink":"0","line-height":"12px"},"label-text":{"font-family":"Averta","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${M.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:`${M.variant["neutral-5"]}`,borderLeft:`1px solid ${M.variant["neutral-5"]}`,borderRight:`1px headRowsolid ${M.variant["neutral-5"]}`,borderTop:`1px solid ${M.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:`${M.variant.bgColor}`,"&:not(:last-of-type)":{borderBottomColor:"none"},"&:last-of-type":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},borderLeft:`1px solid ${M.variant["neutral-5"]}`,borderRight:`1px solid ${M.variant["neutral-5"]}`,borderBottom:`1px solid ${M.variant["neutral-5"]}`},highlightOnHoverStyle:{backgroundColor:`${M.variant["neutral-5"]}`}}},header:{display:"flex","justify-content":"space-between","align-items":"center",position:"fixed","z-index":"1000",top:"0",right:"0",left:"0","min-height":"51px","padding-left":"39px","font-size":"16px","background-color":`${M.bgColor}`,"border-bottom":`0.5px solid ${M.variant["neutral-3"]}`},content:{"background-color":"#eef1f7",width:"100%","min-height":"100%","padding-top":"53px","box-sizing":"border-box",display:"flex","flex-direction":"column","margin-left":"70px"},"radio-outer-circle":{width:"20px",height:"20px","min-width":"20px","min-height":"20px","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"},"radio-inner-circle":{display:"flex","align-self":"center",margin:"0","border-radius":"50%"},"radio-label":{display:"block","margin-bottom":"7px","padding-bottom":"0",color:`${M.variant["neutral-2"]}`},"option-text":{color:"#A9B1B8","font-size":"16px"},sidebarContainer:{"min-height":"100%",overflow:"hidden","background-color":"#2e56f4",position:"fixed",color:"white",width:"70px",transition:"width ease 400ms"},"checkBox-outer":{border:`2px solid ${M.border}`,minWidth:"20px",width:"20px",height:"20px","border-radius":"3px",cursor:"pointer","background-color":`${M.bgColor}`},"checkBox-inner":{"background-repeat":"no-repeat","background-position":"center",minWidth:"20px",width:"20px",height:"20px",color:`${M.bgColor}`,cursor:"pointer","text-align":"center","border-radius":"3px"},"check-label":{display:"block","margin-bottom":"7px","padding-bottom":"0px",color:`${M.variant["neutral-2"]}`},"checkbox-option-text":{"font-size":"16px","margin-left":"10px","background-color":`${M.bgColor}`},"toggle-switch-wrapper":{display:"flex","align-items":"center",gap:"7px",width:"fit-content"},"toggle-switch-checkbox-label":{position:"absolute",width:"45px",height:"22px","border-radius":"31px",cursor:"pointer",marginBottom:"0px"},"toggle-switch-option-text":{color:`${M.neutral["neutral-1"]}`,"font-size":"16px"},"dropzone-parent":{height:"86px","padding-left":"8px","padding-right":"8px",display:"flex","justify-content":"center","align-items":"center","font-size":"16px","border-radius":"5.5px",color:` ${M.textColor}`},"dropzone-file-div":{width:"inherit",height:"38px",display:"flex","justify-content":"center","align-items":"center","font-size":"14px",color:`${M.textColor}`,"background-color":`${M.bgColor}`,"box-shadow":"0px 5px 15px rgba(33, 55, 71, 0.096946)","border-radius":"5.5px","margin-top":"5px"},"dropzone-text-div":{display:"flex","justify-content":"center","margin-left":"14px",color:`${M.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:`${M.textColor}`,"background-color":`${M.bgColor}`},"signature-wrapper-div":{display:"flex",flex:"auto","justify-content":"center","align-items":"center","font-size":"17px",height:"inherit",color:`${M.textColor}`,"background-color":"transparent"},"signature-input-text":{border:"0","text-align":"center",display:"block",height:"48px",width:"calc(100% - 54px)!important","background-color":`${M.bgColor}`,"font-family":"Beauty","background-clip":"padding-box",color:"#444444","font-style":"normal","font-weight":"normal","font-size":"47px","padding-left":"10px"},"modal-background":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.6)","z-index":"2000"},"modal-wrapper":{position:"fixed",display:"flex","align-items":"end","justify-content":"center","flex-direction":"column",background:"white",width:"fit-content",height:"fit-content",top:"50%",left:"50%",transform:"translate(-50%, -50%)","border-radius":"5px"},"modal-close-button":{cursor:"pointer",width:"fit-content",height:"fit-content",padding:"0","padding-right":"5px","padding-top":"5px",color:`${M.textColor}`},footer:{display:"flex","margin-top":"auto",width:"100%"},drawer:{"min-height":"100%",overflow:"hidden",position:"fixed",width:"360px",transition:"transform ease 400ms",display:"flex","flex-direction":"column","background-color":"#FFFFFF","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"51px",right:"0px","z-index":"1001"},"drawer-close":{transform:"translateX(360px)"},"drawer-open":{transform:"translateX(0px)"},"tooltip-container":{"background-color":`${M.bgColor}`,"border-radius":"3.6px",border:`1px solid ${M.bgColor}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"tooltip-arrow":{height:"19px",position:"absolute",width:"29px","pointer-events":"none"},"tooltip-arrow-before":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",width:"0"},"tooltip-arrow-after":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",position:"absolute",width:"0"},"tp-cont-bottom-arrow-before":{"border-color":`transparent transparent ${M.bgColor} transparent`,"border-width":"0 15px 19px 15px",position:"absolute",top:"-1px"},"tp-cont-bottom-arrow-after":{"border-color":`transparent transparent ${M.bgColor} transparent`,"border-width":"0 15px 19px 15px"},"tp-cont-top-arrow-before":{"border-color":`${M.bgColor} transparent transparent transparent`,"border-width":"19px 15px 0 15px",position:"absolute",top:"1px"},"tp-cont-top-arrow-after":{"border-color":`${M.bgColor} transparent transparent transparent`,"border-width":"19px 15px 0 15px"},"tp-cont-right-arrow-before":{"border-color":`transparent ${M.bgColor} transparent transparent`,"border-width":"15px 19px 15px 0"},"tp-cont-right-arrow-after":{"border-color":`transparent ${M.bgColor} transparent transparent`,"border-width":"15px 19px 15px 0",left:"6px",top:"0"},"tp-cont-left-arrow-before":{"border-color":`transparent transparent transparent ${M.bgColor}`,"border-width":"15px 0 15px 19px"},"tp-cont-left-arrow-after":{"border-color":`transparent transparent transparent ${M.bgColor}`,"border-width":"15px 0 15px 19px",left:"3px",top:"0"},"tp-cont-bottom-arrow":{left:"0","margin-top":"-19px",top:"0"},"tp-cont-top-arrow":{bottom:"0",left:"0","margin-bottom":"-19px"},"tp-cont-right-arrow":{left:"0","margin-left":"-24px"},"tp-cont-left-arrow":{"margin-right":"-24px",right:"0"},overlay:{"background-color":`${M.bgColor}`,"border-radius":"3.6px",border:`1px solid ${M.bgColor}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"simple-overlay":{"background-color":`${M.variant["neutral-1"]}`,"border-radius":"6px",border:`1px solid ${M.variant["neutral-1"]}`,color:`${M.bgColor}`,display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"sidebar-container":{"background-color":"#2e56f4",position:"fixed",color:"white",transition:"all ease 300ms",display:"flex","flex-direction":"column","z-index":"1001"},"sidebar-container-open":{width:"240px"},"sidebar-container-close":{width:"70px"},"sidebar-container-mobile-open":{width:"240px","z-index":"1001"},"sidebar-container-mobile-close":{width:"0px","z-index":"1001"},"sidebar-pusher":{"min-height":"100%",overflow:"hidden","background-color":"transparent",position:"fixed",transition:"width ease 400ms"},"sidebar-pusher-open":{width:"240px"},"sidebar-pusher-close":{width:"70px"},"sidebar-pusher-mobile":{width:"0px"},"modalComp-custom-style":{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",zIndex:"999"}},"modalComp-modal-close":{position:"absolute",top:"15px",right:"10px",outline:"none",border:"none",background:"transparent",cursor:"pointer"},"modalComp-modal-body":{"margin-top":"20px","margin-bottom":"15px"},"modalComp-modal-footer":{"margin-top":"30px","margin-bottom":"15px",padding:"1rem 3rem 0rem 3rem","&:before":{content:"",position:"fixed",display:"inline-block",left:0,right:0,"margin-top":"-0.9rem","z-index":-1},"selectComp-label-wrapper":{paddingBottom:"10px",display:"flex",width:"25vw"}},"popOver-Content":{padding:"16px",color:"white",width:"226px",borderRadius:"3.6px"},"popOver-header":{marginBottom:"8px",fontWeight:"600"},"popOver-body":{marginBottom:"11.5px"},ColorWrapper:{borderRadius:"4.87px",padding:"8px 21px",display:"flex"},"input-color":{borderRadius:"4px",width:"24px",height:"24px"},toastWrapper:{backgroundColor:"#ffffff",maxWidth:"416px",borderRadius:"6px 6px 0px 0px",paddingTop:"16px",zIndex:"2000"},messageWrapper:{paddingLeft:"16px",borderLeft:"1px solid #E5E7F0",marginLeft:"16px",marginRight:"16px",fontStyle:"normal",fontWeight:"400",fontSize:"14px",lineHeight:"20px"}},W=(e,t)=>{if(e){let l={};if(e[t]){for(const a in e[t])l[a]=e[t][a],delete e.common[a];for(const t in e.common)l[t]=e.common[t]}return l}};function R(e,t){var l=parseInt(e.slice(1,3),16),a=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return t?"rgba("+l+", "+a+", "+o+", "+t+")":"rgb("+l+", "+a+", "+o+")"}R("#FF0000",.5);const T=g.default.div`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("prop-types"),t=require("react"),l=require("styled-components"),a=require("react-svg"),o=require("react-popper-tooltip"),r=require("react-datepicker"),i=require("dayjs");require("dayjs/locale/es");var n=require("react-select"),c=require("react-select/async"),s=require("react-signature-pad-wrapper"),d=require("react-data-table-component"),u=require("react-modal"),p=require("react-dom");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=f(e),b=f(t),g=f(l),h=f(r),y=f(i),x=f(n),v=f(c),A=f(s),C=f(d),w=f(u);function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},S.apply(this,arguments)}const E={"primary-1":"#2E56F4","primary-2":"#081348"},k={error:"#DD0000",success:"#00B904 "},z={"neutral-1":"#39424D","neutral-2":"#929EAC","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},V={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},B={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},M={primary:{...E},ui:{...k},neutral:{...z},shade:{...V},graph:{...B},variant:{...E,...k,...z,...V,...B},textColor:E["primary-2"],bgColor:"#FFFFFF",black:"#000000",border:"#D4D7E3"},I={common:{color:"blue","background-color":`${M.bgColor}`},label:{"padding-left":"6px","font-style":"normal","font-weight":"normal","font-size":"14px",display:"flex",width:"inherit","align-items":"flex-start",color:`${M.variant["neutral-2"]}`,"margin-bottom":"0","padding-bottom":"0"},button:{color:"red","border-color":"black"},progressbarLabel:{display:"block","margin-left":"13px","margin-bottom":"7px","padding-bottom":"0","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${M.neutral["neutral-2"]}`},spinner:{"background-color":`${M.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:`${M.variant["primary-2"]}`,margin:"0 5px",padding:"5px","font-size":"14px","flex-grow":"1","flex-shrink":"0","line-height":"12px"},"label-text":{"font-family":"Averta","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${M.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:`${M.variant["neutral-5"]}`,borderLeft:`1px solid ${M.variant["neutral-5"]}`,borderRight:`1px headRowsolid ${M.variant["neutral-5"]}`,borderTop:`1px solid ${M.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:`${M.variant.bgColor}`,"&:not(:last-of-type)":{borderBottomColor:"none"},"&:last-of-type":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},borderLeft:`1px solid ${M.variant["neutral-5"]}`,borderRight:`1px solid ${M.variant["neutral-5"]}`,borderBottom:`1px solid ${M.variant["neutral-5"]}`},highlightOnHoverStyle:{backgroundColor:`${M.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":`${M.bgColor}`,"border-bottom":`0.5px solid ${M.variant["neutral-3"]}`},content:{"background-color":"#eef1f7",width:"100%","min-height":"100%","padding-top":"53px","box-sizing":"border-box",display:"flex","flex-direction":"column","margin-left":"70px"},"radio-outer-circle":{width:"20px",height:"20px","min-width":"20px","min-height":"20px","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"},"radio-inner-circle":{display:"flex","align-self":"center",margin:"0","border-radius":"50%"},"radio-label":{display:"block","margin-bottom":"7px","padding-bottom":"0",color:`${M.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 ${M.border}`,minWidth:"20px",width:"20px",height:"20px","border-radius":"3px",cursor:"pointer","background-color":`${M.bgColor}`},"checkBox-inner":{"background-repeat":"no-repeat","background-position":"center",minWidth:"20px",width:"20px",height:"20px",color:`${M.bgColor}`,cursor:"pointer","text-align":"center","border-radius":"3px"},"check-label":{display:"block","margin-bottom":"7px","padding-bottom":"0px",color:`${M.variant["neutral-2"]}`},"checkbox-option-text":{"font-size":"16px","margin-left":"10px","background-color":`${M.bgColor}`},"toggle-switch-wrapper":{display:"flex","align-items":"center",gap:"7px",width:"fit-content"},"toggle-switch-checkbox-label":{position:"absolute",width:"45px",height:"22px","border-radius":"31px",cursor:"pointer",marginBottom:"0px"},"toggle-switch-option-text":{color:`${M.neutral["neutral-1"]}`,"font-size":"16px"},"dropzone-parent":{height:"86px","padding-left":"8px","padding-right":"8px",display:"flex","justify-content":"center","align-items":"center","font-size":"16px","border-radius":"5.5px",color:` ${M.textColor}`},"dropzone-file-div":{width:"inherit",height:"38px",display:"flex","justify-content":"center","align-items":"center","font-size":"14px",color:`${M.textColor}`,"background-color":`${M.bgColor}`,"box-shadow":"0px 5px 15px rgba(33, 55, 71, 0.096946)","border-radius":"5.5px","margin-top":"5px"},"dropzone-text-div":{display:"flex","justify-content":"center","margin-left":"14px",color:`${M.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:`${M.textColor}`,"background-color":`${M.bgColor}`},"signature-wrapper-div":{display:"flex",flex:"auto","justify-content":"center","align-items":"center","font-size":"17px",height:"inherit",color:`${M.textColor}`,"background-color":"transparent"},"signature-input-text":{border:"0","text-align":"center",display:"block",height:"48px",width:"calc(100% - 54px)!important","background-color":`${M.bgColor}`,"font-family":"Beauty","background-clip":"padding-box",color:"#444444","font-style":"normal","font-weight":"normal","font-size":"47px","padding-left":"10px"},"modal-background":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.6)","z-index":"2000"},"modal-wrapper":{position:"fixed",display:"flex","align-items":"end","justify-content":"center","flex-direction":"column",background:"white",width:"fit-content",height:"fit-content",top:"50%",left:"50%",transform:"translate(-50%, -50%)","border-radius":"5px"},"modal-close-button":{cursor:"pointer",width:"fit-content",height:"fit-content",padding:"0","padding-right":"5px","padding-top":"5px",color:`${M.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":`${M.bgColor}`,"border-radius":"3.6px",border:`1px solid ${M.bgColor}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"tooltip-arrow":{height:"19px",position:"absolute",width:"29px","pointer-events":"none"},"tooltip-arrow-before":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",width:"0"},"tooltip-arrow-after":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",position:"absolute",width:"0"},"tp-cont-bottom-arrow-before":{"border-color":`transparent transparent ${M.bgColor} transparent`,"border-width":"0 15px 19px 15px",position:"absolute",top:"-1px"},"tp-cont-bottom-arrow-after":{"border-color":`transparent transparent ${M.bgColor} transparent`,"border-width":"0 15px 19px 15px"},"tp-cont-top-arrow-before":{"border-color":`${M.bgColor} transparent transparent transparent`,"border-width":"19px 15px 0 15px",position:"absolute",top:"1px"},"tp-cont-top-arrow-after":{"border-color":`${M.bgColor} transparent transparent transparent`,"border-width":"19px 15px 0 15px"},"tp-cont-right-arrow-before":{"border-color":`transparent ${M.bgColor} transparent transparent`,"border-width":"15px 19px 15px 0"},"tp-cont-right-arrow-after":{"border-color":`transparent ${M.bgColor} transparent transparent`,"border-width":"15px 19px 15px 0",left:"6px",top:"0"},"tp-cont-left-arrow-before":{"border-color":`transparent transparent transparent ${M.bgColor}`,"border-width":"15px 0 15px 19px"},"tp-cont-left-arrow-after":{"border-color":`transparent transparent transparent ${M.bgColor}`,"border-width":"15px 0 15px 19px",left:"3px",top:"0"},"tp-cont-bottom-arrow":{left:"0","margin-top":"-19px",top:"0"},"tp-cont-top-arrow":{bottom:"0",left:"0","margin-bottom":"-19px"},"tp-cont-right-arrow":{left:"0","margin-left":"-24px"},"tp-cont-left-arrow":{"margin-right":"-24px",right:"0"},overlay:{"background-color":`${M.bgColor}`,"border-radius":"3.6px",border:`1px solid ${M.bgColor}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"simple-overlay":{"background-color":`${M.variant["neutral-1"]}`,"border-radius":"6px",border:`1px solid ${M.variant["neutral-1"]}`,color:`${M.bgColor}`,display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"sidebar-container":{"background-color":"#2e56f4",position:"fixed",color:"white",transition:"all ease 300ms",display:"flex","flex-direction":"column","z-index":"1001"},"sidebar-container-open":{width:"240px"},"sidebar-container-close":{width:"48px"},"sidebar-container-mobile-open":{width:"240px","z-index":"9999999"},"sidebar-container-mobile-close":{width:"0px","z-index":"1001"},"sidebar-pusher":{"min-height":"100%",overflow:"hidden","background-color":"transparent",position:"fixed",transition:"width ease 400ms"},"sidebar-pusher-open":{width:"240px"},"sidebar-pusher-close":{width:"70px"},"sidebar-pusher-mobile":{width:"0px"},"modalComp-custom-style":{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",zIndex:"999"}},"modalComp-modal-close":{position:"absolute",top:"15px",right:"10px",outline:"none",border:"none",background:"transparent",cursor:"pointer"},"modalComp-modal-body":{"margin-top":"20px","margin-bottom":"15px"},"modalComp-modal-footer":{"margin-top":"30px","margin-bottom":"15px",padding:"1rem 3rem 0rem 3rem","&:before":{content:"",position:"fixed",display:"inline-block",left:0,right:0,"margin-top":"-0.9rem","z-index":-1},"selectComp-label-wrapper":{paddingBottom:"10px",display:"flex",width:"25vw"}},"popOver-Content":{padding:"16px",color:"white",width:"226px",borderRadius:"3.6px"},"popOver-header":{marginBottom:"8px",fontWeight:"600"},"popOver-body":{marginBottom:"11.5px"},ColorWrapper:{borderRadius:"4.87px",padding:"8px 21px",display:"flex"},"input-color":{borderRadius:"4px",width:"24px",height:"24px"},toastWrapper:{backgroundColor:"#ffffff",maxWidth:"416px",borderRadius:"6px 6px 0px 0px",paddingTop:"16px",zIndex:"2000"},messageWrapper:{paddingLeft:"16px",borderLeft:"1px solid #E5E7F0",marginLeft:"16px",marginRight:"16px",fontStyle:"normal",fontWeight:"400",fontSize:"14px",lineHeight:"20px"}},W=(e,t)=>{if(e){let l={};if(e[t]){for(const a in e[t])l[a]=e[t][a],delete e.common[a];for(const t in e.common)l[t]=e.common[t]}return l}};function R(e,t){var l=parseInt(e.slice(1,3),16),a=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return t?"rgba("+l+", "+a+", "+o+", "+t+")":"rgb("+l+", "+a+", "+o+")"}R("#FF0000",.5);const T=g.default.div`
2
2
  color: ${({activeTheme:e})=>e.textColor};
3
3
  padding-top: 25px;
4
4
  padding-bottom: 25px;
@@ -140,7 +140,7 @@
140
140
 
141
141
  // custom styles
142
142
  ${({customWrapperStyles:e})=>e}
143
- `,Y=({customStylesAccordionContainer:e,customStylesAccordionTogggle:a,customStylesAccordionIcon:o,customStylesAccordionContent:r,toggleIconAnimation:i,icon:n,content:c,contentToggle:s,toggleState:d,contentIsOpen:u,id:p,customWrapperStyles:f,showIconInfo:m,...g})=>{const h=t.useRef(null),y=l.useTheme()||M,[x,v]=t.useState(!1);return t.useEffect((()=>{v(u)}),[u]),b.default.createElement(L,S({customStyles:e,type:"accordionContainer"},g,{header:b.default.createElement(L,S({customStyles:{borderRadius:x?"5px 5px 0 0":"5px",...a},type:"accordionToggle"},g,{onClick:()=>{v(!x)},header:s,content:b.default.createElement(U,{theme:y,customWrapperStyles:f},m&&b.default.createElement("span",null,x?"Click to hide":"Click to open"),b.default.createElement("div",{style:i&&x?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",transition:"transform ease 95ms",background:"transparent"}},n||b.default.createElement(J,{icon:"chevron-down",size:11,transform:"translate(0px,-1px)",color:"#A9B1B8"})))})),content:b.default.createElement(H,S({customStyles:r,type:"accordionContent",ref:h},g,{style:x?{height:"auto"}:{height:"0px",border:"none"},id:p,content:c}))}))};Y.propTypes={customStylesAccordionContainer:m.default.object,customStylesAccordionTogggle:m.default.object,customStylesAccordionIcon:m.default.object,customStylesAccordionContent:m.default.object,toggleIconAnimation:m.default.bool,icon:m.default.any,content:m.default.any,contentToggle:m.default.any,toggleState:m.default.func,id:m.default.string,customWrapperStyles:m.default.object,showIconInfo:m.default.bool},Y.defaultProps={contentToggle:"Toggle",content:"Content",toggleIconAnimation:!0,showIconInfo:!0,toggleState:()=>{},id:"",customStylesAccordionContainer:{"margin-bottom":"10px",padding:"0","box-shadow":"none"},customStylesAccordionTogggle:{background:"#F0F3F8",cursor:"pointer",border:"0.5px solid #E2E6F5",color:`${M.variant["primary-2"]}`,"line-height":"17px","font-size":"14px",padding:"10px 17px",display:"flex","align-items":"center","justify-content":"space-between","box-shadow":"none",width:"auto"},customStylesAccordionContent:{"border-radius":"0 0 5px 5px",border:"0.5px solid #E2E6F5","border-top":"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:"0",width:"auto"}};const N=({customStylesAccordionContainer:e,customStylesAccordionTogggle:a,customStylesAccordionIcon:o,customStylesAccordionContent:r,toggleIconAnimation:i,icon:n,content:c,contentToggle:s,isSelected:d,index:u,handleClick:p,isAccordionOpen:f,id:m,customSelectCardColor:g,...h})=>{const[y,x]=t.useState(!1),v=t.useRef(null),[A,C]=t.useState({}),[w,E]=t.useState({}),k=l.useTheme()||M;return t.useEffect((()=>{d?(C((e=>({...e,backgroundColor:g||k.variant["primary-1"],marginBottom:"15.5px",marginTop:0!==u?"15.5px":"0px"}))),E((e=>({...e,backgroundColor:g||k.variant["primary-1"],paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(C({}),E({}))}),[d]),t.useEffect((()=>{x(!!f)}),[f]),b.default.createElement(L,S({customStyles:{...e,...A},type:"accordionContainer"},h,{header:b.default.createElement(L,S({customStyles:{...a,...w},type:"accordionToggle"},h,{onClick:()=>{y||p(u),x(!y)},header:s,content:b.default.createElement("div",{style:i&&y?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},n)})),content:b.default.createElement(H,S({customStyles:r,type:"accordionContent",ref:v},h,{style:y?{height:v.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:m,content:c}))}))};N.propTypes={customStylesAccordionContainer:m.default.object,customStylesAccordionTogggle:m.default.object,customStylesAccordionIcon:m.default.object,customStylesAccordionContent:m.default.object,toggleIconAnimation:m.default.bool,icon:m.default.any,content:m.default.any,contentToggle:m.default.any,id:m.default.string},N.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const Q=({customStylesAccordionContainer:e,customStylesAccordionTogggle:l,customStylesAccordionIcon:a,customStylesAccordionContent:o,toggleIconAnimation:r,icon:i,content:n,contentToggle:c,isSelected:s,index:d,handleClick:u,isAccordionOpen:p,disable:f,id:m,...g})=>{const[h,y]=t.useState(!1),x=t.useRef(null),[v,A]=t.useState({}),[C,w]=t.useState({});return t.useEffect((()=>{s?(A((e=>({...e,backgroundColor:"#2444d8",marginBottom:"15.5px",marginTop:0!==d?"15.5px":"0px"}))),w((e=>({...e,backgroundColor:"#2444d8",paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(A({}),w({}))}),[s]),t.useEffect((()=>{y(!!p)}),[p]),b.default.createElement(L,S({customStyles:{...e,...v},type:"accordionContainer"},g,{header:b.default.createElement(L,S({customStyles:{...l,...C},type:"accordionToggle"},g,{onClick:()=>{f||(h||u(d),y(!h))},header:c,content:b.default.createElement("div",{style:r&&h?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},i)})),content:b.default.createElement(H,S({customStyles:o,type:"accordionContent",ref:x},g,{style:h?{height:x.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:m,content:n}))}))};Q.propTypes={customStylesAccordionContainer:m.default.object,customStylesAccordionTogggle:m.default.object,customStylesAccordionIcon:m.default.object,customStylesAccordionContent:m.default.object,toggleIconAnimation:m.default.bool,icon:m.default.any,content:m.default.any,contentToggle:m.default.any,id:m.default.string},Q.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const K=g.default.div`
143
+ `,Y=({customStylesAccordionContainer:e,customStylesAccordionTogggle:a,customStylesAccordionIcon:o,customStylesAccordionContent:r,toggleIconAnimation:i,icon:n,content:c,contentToggle:s,toggleState:d,contentIsOpen:u,id:p,customWrapperStyles:f,showIconInfo:m,...g})=>{const h=t.useRef(null),y=l.useTheme()||M,[x,v]=t.useState(!1);return t.useEffect((()=>{v(u)}),[u]),b.default.createElement(L,S({customStyles:e,type:"accordionContainer"},g,{header:b.default.createElement(L,S({customStyles:{borderRadius:x?"5px 5px 0 0":"5px",...a},type:"accordionToggle"},g,{onClick:()=>{v(!x)},header:s,content:b.default.createElement(U,{theme:y,customWrapperStyles:f},m&&b.default.createElement("span",null,x?"Click to hide":"Click to open"),b.default.createElement("div",{style:i&&x?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",transition:"transform ease 95ms",background:"transparent"}},n||b.default.createElement(J,{icon:"chevron-down",size:11,transform:"translate(0px,-1px)",color:"#A9B1B8"})))})),content:b.default.createElement(H,S({customStyles:r,type:"accordionContent",ref:h},g,{style:x?{height:"auto"}:{height:"0px",border:"none"},id:p,content:c}))}))};Y.propTypes={customStylesAccordionContainer:m.default.object,customStylesAccordionTogggle:m.default.object,customStylesAccordionIcon:m.default.object,customStylesAccordionContent:m.default.object,toggleIconAnimation:m.default.bool,icon:m.default.any,content:m.default.any,contentToggle:m.default.any,toggleState:m.default.func,id:m.default.string,customWrapperStyles:m.default.object,showIconInfo:m.default.bool},Y.defaultProps={contentToggle:"Toggle",content:"Content",toggleIconAnimation:!0,showIconInfo:!0,toggleState:()=>{},id:"",customStylesAccordionContainer:{"margin-bottom":"10px",padding:"0","box-shadow":"none"},customStylesAccordionTogggle:{background:"#F0F3F8",cursor:"pointer",border:"0.5px solid #E2E6F5",color:`${M.variant["primary-2"]}`,"line-height":"17px","font-size":"14px",padding:"10px 17px",display:"flex","align-items":"center","justify-content":"space-between","box-shadow":"none",width:"auto"},customStylesAccordionContent:{"border-radius":"0 0 5px 5px",border:"0.5px solid #E2E6F5","border-top":"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:"0",width:"auto"}};const Q=({customStylesAccordionContainer:e,customStylesAccordionTogggle:a,customStylesAccordionIcon:o,customStylesAccordionContent:r,toggleIconAnimation:i,icon:n,content:c,contentToggle:s,isSelected:d,index:u,handleClick:p,isAccordionOpen:f,id:m,customSelectCardColor:g,...h})=>{const[y,x]=t.useState(!1),v=t.useRef(null),[A,C]=t.useState({}),[w,E]=t.useState({}),k=l.useTheme()||M;return t.useEffect((()=>{d?(C((e=>({...e,backgroundColor:g||k.variant["primary-1"]}))),E((e=>({...e,backgroundColor:g||k.variant["primary-1"],paddingTop:"14px",paddingBottom:"14px",paddingLeft:"6px"})))):(C({}),E({}))}),[d]),t.useEffect((()=>{x(!!f)}),[f]),b.default.createElement(L,S({customStyles:{...e,...A},type:"accordionContainer"},h,{header:b.default.createElement(L,S({customStyles:{...a,...w},type:"accordionToggle"},h,{onClick:()=>{y||p(u),x(!y)},header:s,content:b.default.createElement("div",{style:i&&y?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},n)})),content:b.default.createElement(H,S({customStyles:r,type:"accordionContent",ref:v},h,{style:y?{height:v.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:m,content:c}))}))};Q.propTypes={customStylesAccordionContainer:m.default.object,customStylesAccordionTogggle:m.default.object,customStylesAccordionIcon:m.default.object,customStylesAccordionContent:m.default.object,toggleIconAnimation:m.default.bool,icon:m.default.any,content:m.default.any,contentToggle:m.default.any,id:m.default.string},Q.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const N=({customStylesAccordionContainer:e,customStylesAccordionTogggle:l,customStylesAccordionIcon:a,customStylesAccordionContent:o,toggleIconAnimation:r,icon:i,content:n,contentToggle:c,isSelected:s,index:d,handleClick:u,isAccordionOpen:p,disable:f,id:m,...g})=>{const[h,y]=t.useState(!1),x=t.useRef(null),[v,A]=t.useState({}),[C,w]=t.useState({});return t.useEffect((()=>{s?(A((e=>({...e,backgroundColor:"#2444d8"}))),w((e=>({...e,backgroundColor:"#2444d8",paddingTop:"14px",paddingBottom:"14px",paddingLeft:"6px"})))):(A({}),w({}))}),[s]),t.useEffect((()=>{y(!!p)}),[p]),b.default.createElement(L,S({customStyles:{...e,...v},type:"accordionContainer"},g,{header:b.default.createElement(L,S({customStyles:{...l,...C},type:"accordionToggle"},g,{onClick:()=>{f||(h||u(d),y(!h))},header:c,content:b.default.createElement("div",{style:r&&h?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},i)})),content:b.default.createElement(H,S({customStyles:o,type:"accordionContent",ref:x},g,{style:h?{height:x.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:m,content:n}))}))};N.propTypes={customStylesAccordionContainer:m.default.object,customStylesAccordionTogggle:m.default.object,customStylesAccordionIcon:m.default.object,customStylesAccordionContent:m.default.object,toggleIconAnimation:m.default.bool,icon:m.default.any,content:m.default.any,contentToggle:m.default.any,id:m.default.string},N.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const K=g.default.div`
144
144
  color: ${({theme:e,variant:t})=>t?e.variant[t]:"white"};
145
145
  ${({scroll:e})=>e?l.css`
146
146
  display: flex;
@@ -258,8 +258,8 @@ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(co
258
258
  color: ${({theme:e})=>e.bgColor};
259
259
  ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{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];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
260
260
  ${({isSelected:e,selectedStyle:t,notSelectedStyle:a})=>e?l.css`
261
- min-width: 42px;
262
- min-height: 42px;
261
+ min-width: 36px;
262
+ min-height: 36px;
263
263
  ${t}
264
264
  `:l.css`
265
265
  ${a}
@@ -282,7 +282,7 @@ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(co
282
282
  font-Size: 6px;
283
283
  position: absolute;
284
284
  top: 2px;
285
- left: 30px;
285
+ left: 24px;
286
286
  display: flex;
287
287
  justify-content: center;
288
288
  align-items: center;
@@ -531,13 +531,28 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
531
531
  }
532
532
  }
533
533
  `}
534
- `,Ce=({size:e,thickness:t,propellerHeight:l,customStyles:a})=>b.default.createElement(Ae,{inBuiltCss:I,size:e,thickness:t,propellerHeight:l,customStyles:a,type:"spinner"},b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null));Ce.propTypes={size:m.default.number,thickness:m.default.number,propellerHeight:m.default.number,customStyles:m.default.object},Ce.defaultProps={size:20,thickness:2,propellerHeight:25,customStyles:null};const we={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Se=g.default.button`
534
+ `,Ce=({size:e,thickness:t,propellerHeight:l,customStyles:a})=>b.default.createElement(Ae,{inBuiltCss:I,size:e,thickness:t,propellerHeight:l,customStyles:a,type:"spinner"},b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null),b.default.createElement("div",null));Ce.propTypes={size:m.default.number,thickness:m.default.number,propellerHeight:m.default.number,customStyles:m.default.object},Ce.defaultProps={size:20,thickness:2,propellerHeight:25,customStyles:null};const we=l.keyframes`
535
+ 0% { transform: rotate(0deg); }
536
+ 100% { transform: rotate(360deg); }
537
+ `,Se=({size:e,thickness:t,customStyles:a})=>{const o=g.default.div`
538
+ border: ${t}px solid
539
+ ${({theme:e})=>R(e.variant["primary-1"],.5)};
540
+
541
+ border-top: ${t}px solid
542
+ ${({theme:e})=>e.variant["primary-1"]};
543
+ border-radius: 50%;
544
+ height: ${e}px;
545
+ width: ${e}px;
546
+ animation: ${we} 1s linear infinite;
547
+
548
+ ${({customStyles:e})=>e}
549
+ `,r=l.useTheme()||M;return b.default.createElement(o,{theme:r,size:e,thickness:t,customStyles:a})};Se.propTypes={size:m.default.number,thickness:m.default.number,customStyles:m.default.object},Se.defaultProps={size:20,thickness:3,customStyles:null};const Ee={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},ke=g.default.button`
535
550
  background: transparent;
536
551
  color: ${({theme:e})=>e.variant["primary-1"]};
537
- padding: ${({size:e})=>we[e].padding};
552
+ padding: ${({size:e})=>Ee[e].padding};
538
553
  border: none;
539
554
  border-radius: 5px;
540
- font-size: ${({size:e})=>we[e].fontSize};
555
+ font-size: ${({size:e})=>Ee[e].fontSize};
541
556
  display: flex;
542
557
  align-items: center;
543
558
  width: ${({block:e})=>e?"100%":"auto"};
@@ -553,13 +568,13 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
553
568
 
554
569
  // custom styles
555
570
  ${({btnStyle:e})=>e}
556
- `,Ee=({btnStyle:e,block:t,size:a,style:o,variant:r,disabled:i,isLoading:n,type:c,id:s,...d})=>{const u=l.useTheme()||M;return b.default.createElement(Se,S({id:s,block:t,variant:r,defaultStyle:"button",type:c,style:o,size:a,theme:u,disabled:i,btnStyle:e},d),n&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{customStyles:{"background-color":u.bgColor},size:16})),d.children)};Ee.propTypes={variant:m.default.string,disabled:m.default.bool,size:m.default.oneOf(["sm","md","lg"]),block:m.default.bool,isLoading:m.default.bool,onClick:m.default.func,type:m.default.string,btnStyle:m.default.object,id:m.default.string},Ee.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const ke={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},ze=({theme:e,variant:t})=>R(e.variant[t],.6),Ve=g.default.button`
571
+ `,ze=({btnStyle:e,block:t,size:a,style:o,variant:r,disabled:i,isLoading:n,type:c,id:s,...d})=>{const u=l.useTheme()||M;return b.default.createElement(ke,S({id:s,block:t,variant:r,defaultStyle:"button",type:c,style:o,size:a,theme:u,disabled:i,btnStyle:e},d),n&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{customStyles:{"background-color":u.bgColor},size:16})),d.children)};ze.propTypes={variant:m.default.string,disabled:m.default.bool,size:m.default.oneOf(["sm","md","lg"]),block:m.default.bool,isLoading:m.default.bool,onClick:m.default.func,type:m.default.string,btnStyle:m.default.object,id:m.default.string},ze.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ve={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Be=({theme:e,variant:t})=>R(e.variant[t],.6),Me=g.default.button`
557
572
  background: ${({theme:e,variant:t})=>e.variant[t]};
558
573
  color: ${({theme:e})=>e.bgColor};
559
- padding: ${({size:e})=>ke[e].padding};
574
+ padding: ${({size:e})=>Ve[e].padding};
560
575
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
561
576
  border-radius: 5px;
562
- font-size: ${({size:e})=>ke[e].fontSize};
577
+ font-size: ${({size:e})=>Ve[e].fontSize};
563
578
  display: flex;
564
579
  align-items: center;
565
580
  width: ${({block:e})=>e?"100%":"auto"};
@@ -568,8 +583,8 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
568
583
  outline: none;
569
584
  &:disabled {
570
585
  color: ${({theme:e})=>e.bgColor};
571
- background: ${ze};
572
- border: 1px solid ${ze};
586
+ background: ${Be};
587
+ border: 1px solid ${Be};
573
588
  cursor: not-allowed;
574
589
  }
575
590
 
@@ -578,12 +593,12 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
578
593
 
579
594
  // custom styles
580
595
  ${({btnStyle:e})=>e}
581
- `,Be=({btnStyle:e,block:t,size:a,style:o,variant:r,disabled:i,isLoading:n,type:c,id:s,...d})=>{const u=l.useTheme()||M;return b.default.createElement(Ve,S({id:s,block:t,variant:r,defaultStyle:"button",type:c,style:o,size:a,theme:u,disabled:i,btnStyle:e},d),n&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{customStyles:{"background-color":u.bgColor},size:16})),d.children)};Be.propTypes={variant:m.default.string,disabled:m.default.bool,size:m.default.oneOf(["sm","md","lg"]),block:m.default.bool,isLoading:m.default.bool,onClick:m.default.func,type:m.default.string,btnStyle:m.default.object,id:m.default.string},Be.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Me={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},Ie=g.default.button`
596
+ `,Ie=({btnStyle:e,block:t,size:a,style:o,variant:r,disabled:i,isLoading:n,type:c,id:s,...d})=>{const u=l.useTheme()||M;return b.default.createElement(Me,S({id:s,block:t,variant:r,defaultStyle:"button",type:c,style:o,size:a,theme:u,disabled:i,btnStyle:e},d),n&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{customStyles:{"background-color":u.bgColor},size:16})),d.children)};Ie.propTypes={variant:m.default.string,disabled:m.default.bool,size:m.default.oneOf(["sm","md","lg"]),block:m.default.bool,isLoading:m.default.bool,onClick:m.default.func,type:m.default.string,btnStyle:m.default.object,id:m.default.string},Ie.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const We={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},Re=g.default.button`
582
597
  color: ${({theme:e,variant:t})=>e.variant[t]};
583
598
  background: ${({theme:e})=>e.bgColor};
584
- padding: ${({size:e})=>Me[e].padding};
599
+ padding: ${({size:e})=>We[e].padding};
585
600
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
586
- font-size: ${({size:e})=>Me[e].fontSize};
601
+ font-size: ${({size:e})=>We[e].fontSize};
587
602
  border-radius: 5px;
588
603
  display: flex;
589
604
  align-items: center;
@@ -601,7 +616,7 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
601
616
  ${({theme:e,defaultStyle:t})=>W(e,t)}
602
617
  // custom styles
603
618
  ${({btnStyle:e})=>e}
604
- `,We=({btnStyle:e,isLoading:t,block:a,size:o,style:r,variant:i,disabled:n,type:c,theme:s,id:d,...u})=>{const p=l.useTheme()||M;return b.default.createElement(Ie,S({id:d,block:a,variant:i,defaultStyle:"button",style:r,size:o,disabled:n,type:c,btnStyle:e,isLoading:t,theme:s},u),t&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{theme:s,customStyles:{"background-color":p.variant[i]},size:16})," "),u.children," ")};We.propTypes={variant:m.default.string,disabled:m.default.bool,size:m.default.oneOf(["sm","md","lg"]),block:m.default.bool,onClick:m.default.func,theme:m.default.object,type:m.default.string,btnStyle:m.default.object,id:m.default.string},Ie.defaultProps={theme:M},We.defaultProps={theme:M,variant:"primary-1",block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Re=g.default.button`
619
+ `,Te=({btnStyle:e,isLoading:t,block:a,size:o,style:r,variant:i,disabled:n,type:c,theme:s,id:d,...u})=>{const p=l.useTheme()||M;return b.default.createElement(Re,S({id:d,block:a,variant:i,defaultStyle:"button",style:r,size:o,disabled:n,type:c,btnStyle:e,isLoading:t,theme:s},u),t&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{theme:s,customStyles:{"background-color":p.variant[i]},size:16})," "),u.children," ")};Te.propTypes={variant:m.default.string,disabled:m.default.bool,size:m.default.oneOf(["sm","md","lg"]),block:m.default.bool,onClick:m.default.func,theme:m.default.object,type:m.default.string,btnStyle:m.default.object,id:m.default.string},Re.defaultProps={theme:M},Te.defaultProps={theme:M,variant:"primary-1",block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Le=g.default.button`
605
620
  background: ${({disabled:e,theme:t,variant:l})=>e?"#BBC4CF":t.variant[l]};
606
621
  color: ${({theme:e})=>e.bgColor};
607
622
  padding: 3px 14px;
@@ -624,7 +639,7 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
624
639
 
625
640
  //Set the styles from the default styles object
626
641
  ${({theme:e,defaultStyle:t})=>W(e,t)}
627
- `,Te=({block:e,style:t,variant:a,disabled:o,type:r,id:i,...n})=>(l.useTheme(),b.default.createElement(Re,S({id:i,block:e,variant:a,defaultStyle:"button",type:r,style:t,disabled:o},n),n.children));Te.propTypes={variant:m.default.string,disabled:m.default.bool,block:m.default.bool,onClick:m.default.func,theme:m.default.object,type:m.default.string,id:m.default.string},Re.defaultProps={theme:M},Te.defaultProps={theme:M,variant:"primary-1",block:!1,disabled:!1,onClick:void 0,id:""};const Le=g.default.div`
642
+ `,Pe=({block:e,style:t,variant:a,disabled:o,type:r,id:i,...n})=>(l.useTheme(),b.default.createElement(Le,S({id:i,block:e,variant:a,defaultStyle:"button",type:r,style:t,disabled:o},n),n.children));Pe.propTypes={variant:m.default.string,disabled:m.default.bool,block:m.default.bool,onClick:m.default.func,theme:m.default.object,type:m.default.string,id:m.default.string},Le.defaultProps={theme:M},Pe.defaultProps={theme:M,variant:"primary-1",block:!1,disabled:!1,onClick:void 0,id:""};const He=g.default.div`
628
643
  background-color: ${({theme:e})=>e.bgColor};
629
644
  border: 1px solid ${({theme:e})=>e.bgColor};
630
645
  color: ${({theme:e})=>e.black},
@@ -668,7 +683,7 @@ ${({inBuiltCss:e,type:t,customStylesTPContainer:l})=>{if(e){let t={};if(e["toolt
668
683
  &[data-popper-placement*='left'] .tooltip-arrow::after {
669
684
  ${({inBuiltCss:e,type:t,customStylesTPAleftAfter:l,theme:a})=>{if(e){let t={};if(e["tp-cont-left-arrow-before"]){for(const l in e.common)t[l]=e.common[l];for(const l in e["tp-cont-left-arrow-after"])t[l]=e["tp-cont-left-arrow-after"][l],delete e.common[l]}let o=l||{borderColor:`transparent transparent transparent ${a.primary["primary-1"]} `};return{...t,...o}}}}
670
685
  }
671
- `,Pe=g.default.div`
686
+ `,je=g.default.div`
672
687
 
673
688
  ${({inBuiltCss:e,type:t,customStylesTPArrow:l})=>{if(e){let t={};if(e["tooltip-arrow"]){for(const l in e.common)t[l]=e.common[l];for(const l in e["tooltip-arrow"])t[l]=e["tooltip-arrow"][l],delete e.common[l]}return{...t,...l}}}}
674
689
 
@@ -680,26 +695,26 @@ ${({inBuiltCss:e,type:t,customStylesTPArrow:l})=>{if(e){let t={};if(e["tooltip-a
680
695
  &::after{
681
696
  ${({inBuiltCss:e,type:t,customStylesTPAafter:l})=>{if(e){let t={};if(e["tooltip-arrow-after"]){for(const l in e.common)t[l]=e.common[l];for(const l in e["tooltip-arrow-after"])t[l]=e["tooltip-arrow-after"][l],delete e.common[l]}return{...t,...l}}}}
682
697
  }
683
- `,He=g.default.div`
698
+ `,qe=g.default.div`
684
699
 
685
700
  background-color: ${({theme:e})=>e.primary["primary-1"]};
686
701
  ${({inBuiltCss:e,defaultTooltipContentStyle:t})=>W(e,t)}
687
702
  // custom styles
688
703
  ${({customContentStyle:e})=>e}
689
- `,je=g.default.div`
704
+ `,Fe=g.default.div`
690
705
  ${({inBuiltCss:e,defaultTooltipHeaderStyle:t})=>W(e,t)}
691
706
  // custom styles
692
707
  ${({customHeaderStyle:e})=>e}
693
- `,qe=g.default.div`
708
+ `,Oe=g.default.div`
694
709
  ${({inBuiltCss:e,defaultTooltipBodyStyle:t})=>W(e,t)}
695
710
  // custom styles
696
711
  ${({customBodyStyle:e})=>e}
697
- `,Fe=g.default.div`
698
- `,Oe=g.default.div`
712
+ `,Ze=g.default.div`
713
+ `,Ge=g.default.div`
699
714
  ${({inBuiltCss:e,defaultTooltipTriggerStyle:t})=>W(e,t)}
700
715
  // custom styles
701
716
  ${({customTriggerStyle:e})=>e}
702
- `,Ze=({inBuiltCss:e,contentTrigger:t,contentTooltip:a,popperOptionsP:r,settings:i,customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:s,customStylesTPAbottomAfter:d,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:g,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w,customTooltipContentStyle:E,customContentStyle:k,customHeaderStyle:z,customBodyStyle:V,customTriggerStyle:B,headerTooltip:W,footerTooltip:R,...T})=>{const L=l.useTheme()||M,P={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:H,getTooltipProps:j,setTooltipRef:q,setTriggerRef:F,visible:O}=o.usePopperTooltip({interactive:!0,...i},P);return b.default.createElement(b.default.Fragment,null,b.default.createElement(Oe,{ref:F,inBuiltCss:I,customTriggerStyle:B,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},t),O&&b.default.createElement(Le,S({inBuiltCss:I,theme:L,ref:q},j({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:s,customStylesTPAbottomAfter:d,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:g,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),b.default.createElement(Pe,S({inBuiltCss:I},H({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w})),b.default.createElement(He,S({defaultTooltipContentStyle:"popOver-Content",theme:L,inBuiltCss:I},T,{customContentStyle:k}),b.default.createElement(je,S({defaultTooltipHeaderStyle:"popOver-header",theme:L,inBuiltCss:I},T,{customHeaderStyle:z}),W),b.default.createElement(qe,S({defaultTooltipBodyStyle:"popOver-body",theme:L,inBuiltCss:I},T,{customBodyStyle:V}),a),b.default.createElement(Fe,null,R))))};Ze.propTypes={contentTrigger:m.default.any,headerTooltip:m.default.any,contentTooltip:m.default.any,footerTooltip:m.default.any,popperOptionsP:m.default.object,settings:m.default.object,customContentStyle:m.default.object,customHeaderStyle:m.default.object,customBodyStyle:m.default.object,customStylesTPContainer:m.default.object,customStylesTPAbottom:m.default.object,customStylesTPAbottomBefore:m.default.object,customStylesTPAbottomAfter:m.default.object,customStylesTPAtop:m.default.object,customStylesTPAtopBefore:m.default.object,customStylesTPAtopAfter:m.default.object,customStylesTPAright:m.default.object,customStylesTPArightBefore:m.default.object,customStylesTPArightAfter:m.default.object,customStylesTPAleft:m.default.object,customStylesTPAleftBefore:m.default.object,customStylesTPAleftAfter:m.default.object,customStylesTPArrow:m.default.object,customStylesTPAbefore:m.default.object,customStylesTPAafter:m.default.object,customTriggerStyle:m.default.object},Ze.defaultProps={contentTrigger:b.default.createElement("div",null,"Trigger"),headerTooltip:"Lovely tooltip title",contentTooltip:"There are a lot of things you can do in space, and space essentially is unlimited resources.",footerTooltip:b.default.createElement(We,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ge=g.default.div`
717
+ `,Xe=({inBuiltCss:e,contentTrigger:t,contentTooltip:a,popperOptionsP:r,settings:i,customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:s,customStylesTPAbottomAfter:d,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:g,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w,customTooltipContentStyle:E,customContentStyle:k,customHeaderStyle:z,customBodyStyle:V,customTriggerStyle:B,headerTooltip:W,footerTooltip:R,...T})=>{const L=l.useTheme()||M,P={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:H,getTooltipProps:j,setTooltipRef:q,setTriggerRef:F,visible:O}=o.usePopperTooltip({interactive:!0,...i},P);return b.default.createElement(b.default.Fragment,null,b.default.createElement(Ge,{ref:F,inBuiltCss:I,customTriggerStyle:B,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},t),O&&b.default.createElement(He,S({inBuiltCss:I,theme:L,ref:q},j({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:s,customStylesTPAbottomAfter:d,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:g,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),b.default.createElement(je,S({inBuiltCss:I},H({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w})),b.default.createElement(qe,S({defaultTooltipContentStyle:"popOver-Content",theme:L,inBuiltCss:I},T,{customContentStyle:k}),b.default.createElement(Fe,S({defaultTooltipHeaderStyle:"popOver-header",theme:L,inBuiltCss:I},T,{customHeaderStyle:z}),W),b.default.createElement(Oe,S({defaultTooltipBodyStyle:"popOver-body",theme:L,inBuiltCss:I},T,{customBodyStyle:V}),a),b.default.createElement(Ze,null,R))))};Xe.propTypes={contentTrigger:m.default.any,headerTooltip:m.default.any,contentTooltip:m.default.any,footerTooltip:m.default.any,popperOptionsP:m.default.object,settings:m.default.object,customContentStyle:m.default.object,customHeaderStyle:m.default.object,customBodyStyle:m.default.object,customStylesTPContainer:m.default.object,customStylesTPAbottom:m.default.object,customStylesTPAbottomBefore:m.default.object,customStylesTPAbottomAfter:m.default.object,customStylesTPAtop:m.default.object,customStylesTPAtopBefore:m.default.object,customStylesTPAtopAfter:m.default.object,customStylesTPAright:m.default.object,customStylesTPArightBefore:m.default.object,customStylesTPArightAfter:m.default.object,customStylesTPAleft:m.default.object,customStylesTPAleftBefore:m.default.object,customStylesTPAleftAfter:m.default.object,customStylesTPArrow:m.default.object,customStylesTPAbefore:m.default.object,customStylesTPAafter:m.default.object,customTriggerStyle:m.default.object},Xe.defaultProps={contentTrigger:b.default.createElement("div",null,"Trigger"),headerTooltip:"Lovely tooltip title",contentTooltip:"There are a lot of things you can do in space, and space essentially is unlimited resources.",footerTooltip:b.default.createElement(Te,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const De=g.default.div`
703
718
  background: transparent;
704
719
  color: ${({theme:e,variant:t})=>e.variant[t]};
705
720
  font-size: ${({isPrimary:e})=>e?"16px":"14px"};
@@ -733,12 +748,12 @@ ${({customTriggerStyle:e})=>e}
733
748
  }
734
749
 
735
750
  .breadcrumb-icon-separator {
736
- margin: 0 ${({isPrimary:e})=>e?"12px":"7px"};
751
+ margin: ${({isPrimary:e,iconMargin:t})=>t||(e?"0 12px":"0 7px")};
737
752
  }
738
- `,Xe=g.default.div`
753
+ `,Je=g.default.div`
739
754
  display: flex;
740
755
  flex-wrap: nowrap;
741
- `,De=g.default.div`
756
+ `,Ue=g.default.div`
742
757
  cursor: ${({href:e})=>e?"pointer":"default"};
743
758
  list-style: none;
744
759
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -747,7 +762,7 @@ ${({customTriggerStyle:e})=>e}
747
762
  white-space: nowrap;
748
763
  overflow: hidden;
749
764
  text-overflow: ellipsis;
750
-
765
+ // margin-right: ${({len:e})=>e>15?"-8px":null};
751
766
  &:hover {
752
767
  text-decoration: ${({href:e})=>e?"underline":"none"};
753
768
  }
@@ -769,17 +784,17 @@ ${({customTriggerStyle:e})=>e}
769
784
  z-index: 1;
770
785
  overflow: hidden;
771
786
  }
772
- `,Je=g.default.div`
787
+ `,Ye=g.default.div`
773
788
  display: flex;
774
789
  margin-bottom: 15px;
775
790
  position: relative;
776
- `,Ue=({wrap:e,block:a,style:o,variant:r,variantSeparator:i,appLogo:n,separator:c,items:s,onClick:d,isPrimary:u,collapse:p,folderIcon:f,...m})=>{const g=l.useTheme()||M,h=t.useRef(null),[y,x]=t.useState(void 0),v=()=>{x(h?.current?.scrollWidth<h?.current?.offsetWidth)};t.useEffect((()=>{v()}),[s]),t.useEffect((()=>{if(!e)return window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)}),[]),s.length;const A=s.map(((e,t)=>b.default.createElement(Xe,{key:t},0!==t||n?b.default.createElement("div",{className:"breadcrumb-icon-separator"},c):null,b.default.createElement(De,{id:e.id,theme:g,onClick:()=>{e.href&&d(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),C=s.slice(1,s.length-3).map(((e,t)=>b.default.createElement(Je,{key:t},f?b.default.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},b.default.createElement(J,{icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"})):null,b.default.createElement(De,{id:e.id,theme:g,onClick:()=>{e.href&&d(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),w=s?1==p?s.length<=4?A:b.default.createElement(b.default.Fragment,null,b.default.createElement(Xe,{key:0},b.default.createElement("div",{className:"breadcrumb-icon-separator"},c),b.default.createElement(De,{id:s[0].id,theme:g,onClick:()=>{s[0].href&&d(s[0].href)},variant:r,href:s[0].href,"data-title":s[0].label},s[0].label)),b.default.createElement(Xe,null,b.default.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},c),b.default.createElement(Ze,{contentTrigger:b.default.createElement(J,{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:b.default.createElement(b.default.Fragment,null,C),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"}})),b.default.createElement(Xe,{key:s.length-3},b.default.createElement("div",{className:"breadcrumb-icon-separator"},c),b.default.createElement(De,{id:s[s.length-3].id,theme:g,onClick:()=>{s[s.length-3].href&&d(s[s.length-3].href)},variant:r,href:s[s.length-3].href,"data-title":s[s.length-3].label},s[s.length-3].label)),b.default.createElement(Xe,{key:s.length-2},b.default.createElement("div",{className:"breadcrumb-icon-separator"},c),b.default.createElement(De,{id:s[s.length-2].id,theme:g,onClick:()=>{s[s.length-2].href&&d(s[s.length-2].href)},variant:r,href:s[s.length-2].href,"data-title":s[s.length-2].label},s[s.length-2].label)),b.default.createElement(Xe,{key:s.length-1},b.default.createElement("div",{className:"breadcrumb-icon-separator"},c),b.default.createElement(De,{id:s[s.length-1].id,theme:g,onClick:()=>{s[s.length-1].href&&d(s[s.length-1].href)},variant:r,href:s[s.length-1].href,"data-title":s[s.length-1].label},s[s.length-1].label))):A:null;return b.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"start"}},b.default.createElement("div",{style:{display:"flex",position:"absolute"}},b.default.createElement(Ge,S({theme:g,isWrap:e,ref:e?null:h,isBreadcrumbVisible:y,block:a,variant:r,variantSeparator:i,style:o,isPrimary:u},m),n&&b.default.createElement("div",{className:"breadcrumb-icon"},n),w)))};Ue.propTypes={variant:m.default.string,variantSeparator:m.default.string,onClick:m.default.func,appLogo:m.default.any,separator:m.default.any,items:m.default.array,block:m.default.bool,wrap:m.default.bool,isPrimary:m.default.bool,collapse:m.default.bool,folderIcon:m.default.bool},Ue.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const Ye=g.default.label`
791
+ `,Qe=({wrap:e,block:a,style:o,variant:r,variantSeparator:i,appLogo:n,separator:c,items:s,onClick:d,isPrimary:u,collapse:p,folderIcon:f,iconMargin:m,...g})=>{const h=l.useTheme()||M,y=t.useRef(null),[x,v]=t.useState(void 0),A=()=>{v(y?.current?.scrollWidth<y?.current?.offsetWidth)};t.useEffect((()=>{A()}),[s]),t.useEffect((()=>{if(!e)return window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[]);const C=s.map(((e,t)=>b.default.createElement(Je,{key:t},0!==t||n?b.default.createElement("div",{className:"breadcrumb-icon-separator"},c):null,b.default.createElement(Ue,{id:e.id,theme:h,onClick:()=>{e.href&&d(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),w=s.slice(1,s.length-3).map(((e,t)=>b.default.createElement(Ye,{key:t},f?b.default.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},b.default.createElement(J,{icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"})):null,b.default.createElement(Ue,{id:e.id,theme:h,onClick:()=>{e.href&&d(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),E=s?1==p?s.length<=4?C:b.default.createElement(b.default.Fragment,null,b.default.createElement(Je,{key:0},b.default.createElement("div",{className:"breadcrumb-icon-separator"},c),b.default.createElement(Ue,{id:s[0].id,theme:h,onClick:()=>{s[0].href&&d(s[0].href)},variant:r,href:s[0].href,"data-title":s[0].label},s[0].label)),b.default.createElement(Je,null,b.default.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},c),b.default.createElement(Xe,{contentTrigger:b.default.createElement(J,{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:b.default.createElement(b.default.Fragment,null,w),footerTooltip:"",popperOptionsP:{placement:"bottom"},customContentStyle:{width:"182px",backgroundColor:"white",color:"#6B747F",boxShadow:"0px 6px 40px rgba(56, 66, 100, 0.482627)",display:"flex",flexDirection:"column",alignItems:"flex-start",padding:"16px",gap:"8px",position:"absolute",borderRadius:"3.6px",paddingBottom:"0px",marginTop:"-8.8px",marginLeft:"-6px"},customBodyStyle:{marginBottom:"0px"},customStylesTPArrow:{display:"none"},settings:{closeOnOutsideClick:!0,trigger:"click"}})),b.default.createElement(Je,{key:s.length-3},b.default.createElement("div",{className:"breadcrumb-icon-separator"},c),b.default.createElement(Ue,{id:s[s.length-3].id,theme:h,onClick:()=>{s[s.length-3].href&&d(s[s.length-3].href)},variant:r,href:s[s.length-3].href,"data-title":s[s.length-3].label},s[s.length-3].label)),b.default.createElement(Je,{key:s.length-2},b.default.createElement("div",{className:"breadcrumb-icon-separator"},c),b.default.createElement(Ue,{id:s[s.length-2].id,theme:h,onClick:()=>{s[s.length-2].href&&d(s[s.length-2].href)},variant:r,href:s[s.length-2].href,"data-title":s[s.length-2].label},s[s.length-2].label)),b.default.createElement(Je,{key:s.length-1},b.default.createElement("div",{className:"breadcrumb-icon-separator"},c),b.default.createElement(Ue,{id:s[s.length-1].id,theme:h,onClick:()=>{s[s.length-1].href&&d(s[s.length-1].href)},variant:r,href:s[s.length-1].href,"data-title":s[s.length-1].label},s[s.length-1].label))):C:null;return b.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"start"}},b.default.createElement("div",{style:{display:"flex",position:"absolute"}},b.default.createElement(De,S({theme:h,isWrap:e,ref:e?null:y,isBreadcrumbVisible:x,block:a,variant:r,variantSeparator:i,style:o,isPrimary:u,iconMargin:m},g),n&&b.default.createElement("div",{className:"breadcrumb-icon"},n),E)))};Qe.propTypes={variant:m.default.string,variantSeparator:m.default.string,onClick:m.default.func,appLogo:m.default.any,separator:m.default.any,items:m.default.array,block:m.default.bool,wrap:m.default.bool,isPrimary:m.default.bool,collapse:m.default.bool,folderIcon:m.default.bool,iconMargin:m.default.string},Qe.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const Ne=g.default.label`
777
792
  //Set the styles from the default styles object
778
793
  ${({theme:e,type:t})=>W(e,t)}
779
794
 
780
795
  // custom styles
781
796
  ${({customStyles:e})=>e}
782
- `,Ne=({customStyles:e,text:t,className:l,required:a,...o})=>{const r=I;return b.default.createElement(Ye,S({required:a,theme:r,customStyles:e,type:"label"},o),t,a&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${M.variant.error}`}},"*"))};Ne.propTypes={customStyles:m.default.object,text:m.default.string},Ne.defaultProps={text:""};const Qe=g.default.div`
797
+ `,Ke=({customStyles:e,text:t,className:l,required:a,...o})=>{const r=I;return b.default.createElement(Ne,S({required:a,theme:r,customStyles:e,type:"label"},o),t,a&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${M.variant.error}`}},"*"))};Ke.propTypes={customStyles:m.default.object,text:m.default.string},Ke.defaultProps={text:""};const $e=g.default.div`
783
798
  box-sizing: initial;
784
799
 
785
800
  //Set the styles from the default styles object
@@ -790,7 +805,7 @@ ${({customTriggerStyle:e})=>e}
790
805
 
791
806
  // custom styles
792
807
  ${({checkBoxOuterStyle:e})=>e}
793
- `;Qe.defaultProps={theme:M};const Ke=g.default.div`
808
+ `;$e.defaultProps={theme:M};const _e=g.default.div`
794
809
  box-sizing: initial;
795
810
 
796
811
  //Set the styles from the default styles object
@@ -805,7 +820,7 @@ ${({customTriggerStyle:e})=>e}
805
820
  align-items: center;
806
821
  // custom styles
807
822
  ${({checkBoxInnerStyle:e})=>e}
808
- `;Ke.defaultProps={theme:M};const $e=g.default.span`
823
+ `;_e.defaultProps={theme:M};const et=g.default.span`
809
824
  word-break: break-all;
810
825
 
811
826
  //Set the styles from the default styles object
@@ -817,7 +832,7 @@ ${({customTriggerStyle:e})=>e}
817
832
 
818
833
  // custom styles
819
834
  ${({optionTextStyle:e})=>e}
820
- `;$e.defaultProps={theme:M};const _e=g.default.label`
835
+ `;et.defaultProps={theme:M};const tt=g.default.label`
821
836
  width: fit-content;
822
837
  margin-bottom: ${({inline:e})=>e?"":"18px !important"};
823
838
  cursor: pointer;
@@ -827,10 +842,10 @@ ${({customTriggerStyle:e})=>e}
827
842
 
828
843
  // custom styles
829
844
  ${({wrapperStyles:e})=>e}
830
- `,et=g.default.div`
845
+ `,lt=g.default.div`
831
846
  flex-direction: ${({inline:e})=>e?"row":"column"};
832
847
  width: ${({inline:e})=>e?"initial":"auto"};
833
- `,tt=({getCheckedArr:e,checkBoxOuterStyle:a,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:i,defaultTextColor:n,checkedTextColor:c,checkedCheckBoxColor:s,labelStyle:d,label:u,options:p,setOptions:f,wrapperStyles:m,inline:g,wrapperStyle:h,isRequired:y,...x})=>{const v=l.useTheme()||M;t.useEffect((()=>{A(p)}),[]);const A=t=>{let l=t.filter((e=>!1!==e.checked));e(l)},C=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return b.default.createElement("div",S({style:C},x),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ne,S({customStyles:d,type:"check-label",text:u},x)),y&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),b.default.createElement(et,S({style:{display:"flex",flexWrap:"wrap"},inline:g},x),p?.map(((e,t)=>b.default.createElement(_e,S({inline:g,id:e.id,key:`${e.name}-${t}`,onClick:()=>{((e,t)=>{let l=[...p];l[t].checked=!e.checked,f(l),A(l)})(e,t)},wrapperStyles:m},x),e.checked?b.default.createElement(Ke,S({theme:v,inBuiltCss:I,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:i,checkedCheckBoxColor:s,checked:!e?.disabled&&e.checked},x),b.default.createElement(J,{icon:"check-icon",size:18,color:"white"})):b.default.createElement(Qe,S({inBuiltCss:I,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...a,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:i,theme:v},x)),b.default.createElement($e,{theme:v,inline:g,optionTextStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:n,checkedTextColor:c},e.label))))))};tt.propTypes={wrapperStyle:m.default.object,label:m.default.string,labelStyle:m.default.object,checkBoxOuterStyle:m.default.object,checkBoxInnerStyle:m.default.object,optionTextStyle:m.default.object,defaultTextColor:m.default.string,checkedTextColor:m.default.string,defaultBorderColor:m.default.string,checkedCheckBoxColor:m.default.string,inline:m.default.bool,options:m.default.array,setOptions:m.default.func,getCheckedArr:m.default.func,isRequired:m.default.bool,wrapperStyles:m.default.object},tt.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const lt=g.default.div`
848
+ `,at=({getCheckedArr:e,checkBoxOuterStyle:a,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:i,defaultTextColor:n,checkedTextColor:c,checkedCheckBoxColor:s,labelStyle:d,label:u,options:p,setOptions:f,wrapperStyles:m,inline:g,wrapperStyle:h,isRequired:y,...x})=>{const v=l.useTheme()||M;t.useEffect((()=>{A(p)}),[]);const A=t=>{let l=t.filter((e=>!1!==e.checked));e(l)},C=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return b.default.createElement("div",S({style:C},x),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ke,S({customStyles:d,type:"check-label",text:u},x)),y&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),b.default.createElement(lt,S({style:{display:"flex",flexWrap:"wrap"},inline:g},x),p?.map(((e,t)=>b.default.createElement(tt,S({inline:g,id:e.id,key:`${e.name}-${t}`,onClick:()=>{((e,t)=>{let l=[...p];l[t].checked=!e.checked,f(l),A(l)})(e,t)},wrapperStyles:m},x),e.checked?b.default.createElement(_e,S({theme:v,inBuiltCss:I,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:i,checkedCheckBoxColor:s,checked:!e?.disabled&&e.checked},x),b.default.createElement(J,{icon:"check-icon",size:18,color:"white"})):b.default.createElement($e,S({inBuiltCss:I,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...a,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:i,theme:v},x)),b.default.createElement(et,{theme:v,inline:g,optionTextStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:n,checkedTextColor:c},e.label))))))};at.propTypes={wrapperStyle:m.default.object,label:m.default.string,labelStyle:m.default.object,checkBoxOuterStyle:m.default.object,checkBoxInnerStyle:m.default.object,optionTextStyle:m.default.object,defaultTextColor:m.default.string,checkedTextColor:m.default.string,defaultBorderColor:m.default.string,checkedCheckBoxColor:m.default.string,inline:m.default.bool,options:m.default.array,setOptions:m.default.func,getCheckedArr:m.default.func,isRequired:m.default.bool,wrapperStyles:m.default.object},at.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const ot=g.default.div`
834
849
  border: 1px solid ${({theme:e})=>e.variant["neutral-4"]};
835
850
  background-color: ${({theme:e})=>e.bgColor};
836
851
 
@@ -842,7 +857,7 @@ ${({inBuiltCss:e,defaultColorWrapperStyle:t})=>W(e,t)}
842
857
  // custom styles
843
858
  ${({customColorWrapperStyle:e})=>e}
844
859
 
845
- `,at=g.default.input`
860
+ `,rt=g.default.input`
846
861
 
847
862
  border: 0.5px solid ${({theme:e})=>e.variant["neutral-4"]};
848
863
  box-shadow: 0px 5px 37px rgba(56, 66, 100, 0.0880136);
@@ -863,7 +878,7 @@ padding: 0;
863
878
  ${({inBuiltCss:e,defaultInputColorStyle:t})=>W(e,t)}
864
879
  // custom styles
865
880
  ${({customInputColorStyle:e})=>e}
866
- `,ot=({label:e,labelStyle:t,value:a,setValue:o,customInputColorStyle:r,customColorWrapperStyle:i,id:n,...c})=>{const s=l.useTheme()||M;return b.default.createElement(lt,S({customColorWrapperStyle:i,defaultColorWrapperStyle:"ColorWrapper",theme:s,inBuiltCss:I},c),b.default.createElement(at,S({id:n,customInputColorStyle:r,defaultInputColorStyle:"input-color",inBuiltCss:I,theme:s},c,{type:"color",value:a,onChange:e=>{o(e.target.value)}})),b.default.createElement(Ne,S({themeColor:M,customStyles:t,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};ot.propTypes={label:m.default.string,labelStyle:m.default.object,value:m.default.string,setValue:m.default.func,customInputColorStyle:m.default.object,customColorWrapperStyle:m.default.object,id:m.default.string},ot.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const rt=g.default.div`
881
+ `,it=({label:e,labelStyle:t,value:a,setValue:o,customInputColorStyle:r,customColorWrapperStyle:i,id:n,...c})=>{const s=l.useTheme()||M;return b.default.createElement(ot,S({customColorWrapperStyle:i,defaultColorWrapperStyle:"ColorWrapper",theme:s,inBuiltCss:I},c),b.default.createElement(rt,S({id:n,customInputColorStyle:r,defaultInputColorStyle:"input-color",inBuiltCss:I,theme:s},c,{type:"color",value:a,onChange:e=>{o(e.target.value)}})),b.default.createElement(Ke,S({themeColor:M,customStyles:t,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};it.propTypes={label:m.default.string,labelStyle:m.default.object,value:m.default.string,setValue:m.default.func,customInputColorStyle:m.default.object,customColorWrapperStyle:m.default.object,id:m.default.string},it.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const nt=g.default.div`
867
882
  display: flex;
868
883
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
869
884
 
@@ -1002,24 +1017,24 @@ ${({customInputColorStyle:e})=>e}
1002
1017
  .react-datepicker::after {
1003
1018
  box-sizing: initial !important;
1004
1019
  }
1005
- `;rt.defaultProps={theme:M};const it=g.default.div`
1020
+ `;nt.defaultProps={theme:M};const ct=g.default.div`
1006
1021
  display: flex;
1007
1022
  align-items: flex-start;
1008
1023
  justify-content: center;
1009
1024
  font-size: 16px;
1010
1025
  padding-top: 12px;
1011
1026
  padding-bottom: 15px;
1012
- `,nt=g.default.div`
1027
+ `,st=g.default.div`
1013
1028
  display: flex;
1014
1029
  justify-content: center;
1015
1030
  margin-left: 6px;
1016
- `,ct=g.default("div")`
1031
+ `,dt=g.default("div")`
1017
1032
  width: inherit;
1018
- `,st=g.default("div")`
1033
+ `,ut=g.default("div")`
1019
1034
  display: flex;
1020
1035
  flex-direction: row;
1021
1036
  cursor: pointer;
1022
- `,dt=g.default("div")`
1037
+ `,pt=g.default("div")`
1023
1038
  margin-top: 8px;
1024
1039
  position: absolute;
1025
1040
  z-index: 100;
@@ -1030,7 +1045,7 @@ ${({customInputColorStyle:e})=>e}
1030
1045
  background: white;
1031
1046
  box-shadow: 0px 6px 20px rgb(56 66 100 / 15%);
1032
1047
  border-radius: 4px;
1033
- `,ut=g.default("ul")`
1048
+ `,ft=g.default("ul")`
1034
1049
  list-style: none;
1035
1050
  padding: 0;
1036
1051
  margin: 12px;
@@ -1057,7 +1072,7 @@ ${({customInputColorStyle:e})=>e}
1057
1072
  background-color: ${({theme:e})=>e.neutral["neutral-4"]};
1058
1073
  border-radius: 10px;
1059
1074
  }
1060
- `;ut.defaultProps={theme:M};const pt=g.default("li")`
1075
+ `;ft.defaultProps={theme:M};const mt=g.default("li")`
1061
1076
  text-align: left;
1062
1077
  font-style: normal;
1063
1078
  font-weight: normal;
@@ -1066,7 +1081,7 @@ ${({customInputColorStyle:e})=>e}
1066
1081
  padding-left: 12px;
1067
1082
  padding-bottom: 12px;
1068
1083
  cursor: pointer;
1069
- `,ft=({startDate:e,setStartDate:a,disabled:o,theme:r,startYear:i,endYearRange:n,format:c,placeholderText:s,...d})=>{const u=l.useTheme()||M,p=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var f=[],m=n||10,g=i||(new Date).getFullYear();g<=(new Date).getFullYear()+m;g++)f.push(g);const y=t.useRef(null),x=t.useRef(null),[v,A]=t.useState(!1),[C,w]=t.useState(!1),[E,k]=t.useState(!1),[z,V]=t.useState(!1),[B,I]=t.useState(e.getFullYear()),[W,R]=t.useState(p[e.getMonth()]);t.useEffect((()=>{R(p[e.getMonth()]),I(e.getFullYear())}),[e]),t.useEffect((()=>(document.addEventListener("click",T,!0),()=>{document.removeEventListener("click",T,!0)})),[]);const T=e=>{y.current&&!y.current.contains(e.target)&&A(!1)},L=e=>{x.current&&!x.current.contains(e.target)&&w(!1)};return t.useEffect((()=>(document.addEventListener("click",L,!0),()=>{document.removeEventListener("click",L,!0)})),[]),b.default.createElement(rt,S({disabled:o,theme:r},d),b.default.createElement(h.default,{selected:e,dateFormat:c||"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>a(e),placeholderText:s,adjustDateOnChange:!0,disabled:o,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:t,changeMonth:l})=>b.default.createElement(it,null,b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(ct,{ref:y},b.default.createElement(st,{onClick:()=>{A(!v),w(!1)}},b.default.createElement("span",{onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),style:{color:`${E?u.variant["primary-1"]:u.textColor}`}},p[e.getMonth()]),b.default.createElement(nt,null,b.default.createElement(J,{icon:"triangle-down",color:E?u.variant["primary-1"]:u.textColor,size:7}))),v&&b.default.createElement(dt,null,b.default.createElement(ut,{theme:r,onMouseEnter:()=>k(!0)},p.map(((e,t)=>b.default.createElement(pt,{selectedMonth:W,onClick:()=>{k(!1),l(t),A(!1),R(p[t])},key:Math.random()},b.default.createElement("span",{style:{color:`${W===e?u.variant["primary-1"]:u.textColor}`}},e))))))),b.default.createElement(ct,{ref:x},b.default.createElement(st,{style:{marginLeft:"28px"},onClick:()=>{w(!C),A(!1)}},b.default.createElement("span",{onMouseEnter:()=>V(!0),onMouseLeave:()=>V(!1),style:{color:`${z?u.variant["primary-1"]:u.textColor}`}},e.getFullYear()),b.default.createElement(nt,null,b.default.createElement(J,{icon:"triangle-down",color:z?u.variant["primary-1"]:u.textColor,size:7}))),C&&b.default.createElement(dt,null,b.default.createElement(ut,{onMouseEnter:()=>V(!0)},f.map(((e,l)=>b.default.createElement(pt,{onClick:()=>{V(!1),t(e),I(e),w(!1)},key:Math.random()},b.default.createElement("span",{style:{color:`${B===e?u.variant["primary-1"]:u.textColor}`}},e)))))))))}))};ft.propTypes={startDate:m.default.any,setStartDate:m.default.func,disabled:m.default.bool,theme:m.default.object,startYear:m.default.number,endYearRange:m.default.number,format:m.default.string,placeholderText:m.default.string},ft.defaultProps={theme:M,startDate:"",setStartDate:()=>{},disabled:!1};const mt=g.default.div`
1084
+ `,bt=({startDate:e,setStartDate:a,disabled:o,theme:r,startYear:i,endYearRange:n,format:c,placeholderText:s,...d})=>{const u=l.useTheme()||M,p=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var f=[],m=n||10,g=i||(new Date).getFullYear();g<=(new Date).getFullYear()+m;g++)f.push(g);const y=t.useRef(null),x=t.useRef(null),[v,A]=t.useState(!1),[C,w]=t.useState(!1),[E,k]=t.useState(!1),[z,V]=t.useState(!1),[B,I]=t.useState(e.getFullYear()),[W,R]=t.useState(p[e.getMonth()]);t.useEffect((()=>{R(p[e.getMonth()]),I(e.getFullYear())}),[e]),t.useEffect((()=>(document.addEventListener("click",T,!0),()=>{document.removeEventListener("click",T,!0)})),[]);const T=e=>{y.current&&!y.current.contains(e.target)&&A(!1)},L=e=>{x.current&&!x.current.contains(e.target)&&w(!1)};return t.useEffect((()=>(document.addEventListener("click",L,!0),()=>{document.removeEventListener("click",L,!0)})),[]),b.default.createElement(nt,S({disabled:o,theme:r},d),b.default.createElement(h.default,{selected:e,dateFormat:c||"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>a(e),placeholderText:s,adjustDateOnChange:!0,disabled:o,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:t,changeMonth:l})=>b.default.createElement(ct,null,b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(dt,{ref:y},b.default.createElement(ut,{onClick:()=>{A(!v),w(!1)}},b.default.createElement("span",{onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),style:{color:`${E?u.variant["primary-1"]:u.textColor}`}},p[e.getMonth()]),b.default.createElement(st,null,b.default.createElement(J,{icon:"triangle-down",color:E?u.variant["primary-1"]:u.textColor,size:7}))),v&&b.default.createElement(pt,null,b.default.createElement(ft,{theme:r,onMouseEnter:()=>k(!0)},p.map(((e,t)=>b.default.createElement(mt,{selectedMonth:W,onClick:()=>{k(!1),l(t),A(!1),R(p[t])},key:Math.random()},b.default.createElement("span",{style:{color:`${W===e?u.variant["primary-1"]:u.textColor}`}},e))))))),b.default.createElement(dt,{ref:x},b.default.createElement(ut,{style:{marginLeft:"28px"},onClick:()=>{w(!C),A(!1)}},b.default.createElement("span",{onMouseEnter:()=>V(!0),onMouseLeave:()=>V(!1),style:{color:`${z?u.variant["primary-1"]:u.textColor}`}},e.getFullYear()),b.default.createElement(st,null,b.default.createElement(J,{icon:"triangle-down",color:z?u.variant["primary-1"]:u.textColor,size:7}))),C&&b.default.createElement(pt,null,b.default.createElement(ft,{onMouseEnter:()=>V(!0)},f.map(((e,l)=>b.default.createElement(mt,{onClick:()=>{V(!1),t(e),I(e),w(!1)},key:Math.random()},b.default.createElement("span",{style:{color:`${B===e?u.variant["primary-1"]:u.textColor}`}},e)))))))))}))};bt.propTypes={startDate:m.default.any,setStartDate:m.default.func,disabled:m.default.bool,theme:m.default.object,startYear:m.default.number,endYearRange:m.default.number,format:m.default.string,placeholderText:m.default.string},bt.defaultProps={theme:M,startDate:"",setStartDate:()=>{},disabled:!1};const gt=g.default.div`
1070
1085
  .react-datepicker-wrapper {
1071
1086
  display: flex;
1072
1087
  }
@@ -1082,9 +1097,9 @@ ${({customInputColorStyle:e})=>e}
1082
1097
  // custom styles
1083
1098
  ${({wrapperStyle:e})=>e};
1084
1099
 
1085
- `,bt=g.default.div`
1100
+ `,ht=g.default.div`
1086
1101
 
1087
- `,gt=g.default.button`
1102
+ `,yt=g.default.button`
1088
1103
  background-color: ${({theme:e})=>e.bgColor};
1089
1104
  border: 1px solid ${({theme:e})=>e.border};
1090
1105
  padding: 5.5px 12px;
@@ -1093,7 +1108,7 @@ border-radius: 4px;
1093
1108
 
1094
1109
  // custom styles
1095
1110
  ${({timeBtnStyle:e})=>e};
1096
- `,ht=g.default.div`
1111
+ `,xt=g.default.div`
1097
1112
  display: flex;
1098
1113
  align-items: center;
1099
1114
  justify-content: ${({inputType:e})=>"year"!==e?"space-between":"center"};
@@ -1101,7 +1116,7 @@ padding: 8px;
1101
1116
 
1102
1117
  // custom styles
1103
1118
  ${({customHeaderStyle:e})=>e};
1104
- `,yt=({defaultValue:e,onChange:a,inputType:o,onClick:r,placeHolder:i,value:n,disabled:c,startYear:s,endYearRange:d,icon:u,iconColor:p,iconSize:f,customHeaderStyle:m,timeBtnStyle:g,wrapperStyle:x,...v})=>{const[A,C]=t.useState(e);let w=A?new Date(A):null;for(var E=[],k=d||10,z=s||(new Date).getFullYear();z<=(new Date).getFullYear()+k;z++)E.push(z);let V={};switch(o){case"date":default:V.dateFormat="dd MMM, yyyy";break;case"month":V.dateFormat="MMMM yyyy",V.showMonthYearPicker=!0;break;case"year":V.dateFormat="yyyy",V.showYearPicker=!0;break;case"datetime-local":V.dateFormat="dd MMM yyyy, hh:mm a",V.showTimeSelect=!0,V.timeFormat="hh:mm a",V.timeIntervals=15,V.timeCaption="Time";break;case"time":V.showTimeSelect=!0,V.showTimeSelectOnly=!0,V.dateFormat="hh:mm a"}const B=l.useTheme()||M;return b.default.createElement(mt,S({theme:B},v,{wrapperStyle:x}),b.default.createElement(h.default,S({selected:w,disabled:c,customInput:b.default.createElement(bt,{value:n,onClick:r,placeholder:i,theme:B},b.default.createElement(gt,S({theme:B,style:{width:"100%",color:"#9c9c9c",display:"flex",justifyContent:"space-between"},onClick:r,timeBtnStyle:g},v),n||(i||"-- : -- --"),b.default.createElement("span",{style:{marginTop:"-1px",marginLeft:"7px",float:"right"}},u?b.default.createElement(J,{icon:u,color:p,size:f}):null))),onChange:e=>{console.log(e),C(e);var t=null;t="datetime-local"==o?y.default(e).format("DD MMM YYYY, hh:mm A"):"date"==o?y.default(e).format("DD MMM, YYYY"):"year"==o?y.default(e).format("YYYY"):"month"==o?y.default(e).format("MMMM YYYY"):"time"==o?y.default(e).format("hh:mm A"):y.default(e).format("DD MMM, YYYY"),a(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:i},V,{renderCustomHeader:({date:e,changeYear:t,decreaseMonth:l,increaseMonth:a})=>{let r=y.default(e).format("MMMM");return b.default.createElement(ht,S({theme:B},v,{inputType:o,customHeaderStyle:m}),"year"!==o?b.default.createElement("span",{style:{paddingLeft:"10px"},onClick:l},b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"17",viewBox:"0 0 11 17"},b.default.createElement("path",{fill:"#9C9C9C",d:"M497.062 631.646L498.476 633.06 490.4 641.136 482.324 633.06 483.738 631.646 490.4 638.307z",transform:"rotate(90 561.9 79.891)"}))):null,b.default.createElement("b",null,"year"!==o?b.default.createElement("span",{style:{paddingRight:"5px"}},r):null," ",b.default.createElement("span",{className:"calender-year"},b.default.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>t(e)},E.map((e=>b.default.createElement("option",{key:e,value:e},e)))))),"year"!==o?b.default.createElement("span",{style:{paddingRight:"10px"},onClick:a},b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"17",viewBox:"0 0 11 17"},b.default.createElement("path",{fill:"#9C9C9C",d:"M773.062 631.646L774.476 633.06 766.4 641.136 758.324 633.06 759.738 631.646 766.4 638.307z",transform:"matrix(0 1 1 0 -630.991 -758.009)"}))):null)}})))};yt.propTypes={defaultValue:m.default.string,onChange:m.default.func,inputType:m.default.string,onClick:m.default.func,placeHolder:m.default.string,value:m.default.string,disabled:m.default.bool,startYear:m.default.number,endYearRange:m.default.number,icon:m.default.string,iconColor:m.default.string,iconSize:m.default.number,customHeaderStyle:m.default.object,timeBtnStyle:m.default.object,wrapperStyle:m.default.object},yt.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,iconColor:"black",iconSize:16,value:"",defaultValue:"",onChange:()=>{}};const xt=g.default.div`
1119
+ `,vt=({defaultValue:e,onChange:a,inputType:o,onClick:r,placeHolder:i,value:n,disabled:c,startYear:s,endYearRange:d,icon:u,iconColor:p,iconSize:f,customHeaderStyle:m,timeBtnStyle:g,wrapperStyle:x,...v})=>{const[A,C]=t.useState(e);let w=A?new Date(A):null;for(var E=[],k=d||10,z=s||(new Date).getFullYear();z<=(new Date).getFullYear()+k;z++)E.push(z);let V={};switch(o){case"date":default:V.dateFormat="dd MMM, yyyy";break;case"month":V.dateFormat="MMMM yyyy",V.showMonthYearPicker=!0;break;case"year":V.dateFormat="yyyy",V.showYearPicker=!0;break;case"datetime-local":V.dateFormat="dd MMM yyyy, hh:mm a",V.showTimeSelect=!0,V.timeFormat="hh:mm a",V.timeIntervals=15,V.timeCaption="Time";break;case"time":V.showTimeSelect=!0,V.showTimeSelectOnly=!0,V.dateFormat="hh:mm a"}const B=l.useTheme()||M;return b.default.createElement(gt,S({theme:B},v,{wrapperStyle:x}),b.default.createElement(h.default,S({selected:w,disabled:c,customInput:b.default.createElement(ht,{value:n,onClick:r,placeholder:i,theme:B},b.default.createElement(yt,S({theme:B,style:{width:"100%",color:"#9c9c9c",display:"flex",justifyContent:"space-between"},onClick:r,timeBtnStyle:g},v),n||(i||"-- : -- --"),b.default.createElement("span",{style:{marginTop:"-1px",marginLeft:"7px",float:"right"}},u?b.default.createElement(J,{icon:u,color:p,size:f}):null))),onChange:e=>{console.log(e),C(e);var t=null;t="datetime-local"==o?y.default(e).format("DD MMM YYYY, hh:mm A"):"date"==o?y.default(e).format("DD MMM, YYYY"):"year"==o?y.default(e).format("YYYY"):"month"==o?y.default(e).format("MMMM YYYY"):"time"==o?y.default(e).format("hh:mm A"):y.default(e).format("DD MMM, YYYY"),a(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:i},V,{renderCustomHeader:({date:e,changeYear:t,decreaseMonth:l,increaseMonth:a})=>{let r=y.default(e).format("MMMM");return b.default.createElement(xt,S({theme:B},v,{inputType:o,customHeaderStyle:m}),"year"!==o?b.default.createElement("span",{style:{paddingLeft:"10px"},onClick:l},b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"17",viewBox:"0 0 11 17"},b.default.createElement("path",{fill:"#9C9C9C",d:"M497.062 631.646L498.476 633.06 490.4 641.136 482.324 633.06 483.738 631.646 490.4 638.307z",transform:"rotate(90 561.9 79.891)"}))):null,b.default.createElement("b",null,"year"!==o?b.default.createElement("span",{style:{paddingRight:"5px"}},r):null," ",b.default.createElement("span",{className:"calender-year"},b.default.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>t(e)},E.map((e=>b.default.createElement("option",{key:e,value:e},e)))))),"year"!==o?b.default.createElement("span",{style:{paddingRight:"10px"},onClick:a},b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"17",viewBox:"0 0 11 17"},b.default.createElement("path",{fill:"#9C9C9C",d:"M773.062 631.646L774.476 633.06 766.4 641.136 758.324 633.06 759.738 631.646 766.4 638.307z",transform:"matrix(0 1 1 0 -630.991 -758.009)"}))):null)}})))};vt.propTypes={defaultValue:m.default.string,onChange:m.default.func,inputType:m.default.string,onClick:m.default.func,placeHolder:m.default.string,value:m.default.string,disabled:m.default.bool,startYear:m.default.number,endYearRange:m.default.number,icon:m.default.string,iconColor:m.default.string,iconSize:m.default.number,customHeaderStyle:m.default.object,timeBtnStyle:m.default.object,wrapperStyle:m.default.object},vt.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,iconColor:"black",iconSize:16,value:"",defaultValue:"",onChange:()=>{}};const At=g.default.div`
1105
1120
  .master-dropdown,
1106
1121
  .new-select {
1107
1122
  .master-dropdown__menu,
@@ -1189,10 +1204,10 @@ padding: 8px;
1189
1204
  padding: 0 8px 4px 8px;
1190
1205
  }
1191
1206
 
1192
- .default-select__indicator {
1193
- padding: 0 8px 0 8px;
1194
- padding-top: 0px;
1195
- }
1207
+ // .default-select__indicator {
1208
+ // padding: 0 8px 0 8px;
1209
+ // padding-top: 0px;
1210
+ // }
1196
1211
 
1197
1212
  .default-select__control--is-focused {
1198
1213
  outline: none;
@@ -1244,11 +1259,7 @@ padding: 8px;
1244
1259
  border: ${({theme:e,backgroundColor:t})=>t?"1px solid "+t:"1px solid "+e.primary["primary-1"]};
1245
1260
  }
1246
1261
 
1247
- // .css-ry76bm-singleValue {
1248
- // margin-right: 5px;
1249
- // max-width: 80%;
1250
- // }
1251
- `;xt.defaultProps={theme:M};const vt=g.default.div`
1262
+ `;At.defaultProps={theme:M};const Ct=g.default.div`
1252
1263
  // Default style
1253
1264
  display: flex;
1254
1265
 
@@ -1256,11 +1267,11 @@ padding: 8px;
1256
1267
  ${({inBuiltCss:e,labelWrapperStyle:t})=>W(e,t)}
1257
1268
  // custom styles
1258
1269
  ${({customLabelStyles:e})=>e}
1259
- `,At=g.default.div`
1270
+ `,wt=g.default.div`
1260
1271
  margin-left: 6px;
1261
- margin-top: -14px;
1272
+ margin-top: -15.5px;
1262
1273
  cursor: pointer;
1263
- `,Ct=({getValue:e,children:t,...l})=>{const a=e().length;return b.default.createElement(n.components.ValueContainer,l,t,a>1&&b.default.createElement("span",{className:"text-more-alt"},"& ",a-1," more"))},wt=({label:e,labelStyle:t,optionArr:a,selectedValue:o,setSelectedValue:r,placeHolder:i,isClearable:c,isValid:s,height:d,fontSize:u,loadOptions:p,onInputChange:f,clearSelected:m,customWrapperStyles:g,customLabelStyles:h,isRequired:y,dropdownType:x,isDisabled:v,isLoading:A,id:C,iconName:w,iconColor:E,iconSize:k,showIndicator:z,leftIcon:V,leftIconColor:B,leftIconSize:W,backgroundColor:R,placeHolderColor:T,inputColor:L,...P})=>{const H=l.useTheme()||M,j=e=>{const t={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},l=b.default.createElement("div",{style:{...t,backgroundColor:e?.data?.color??H.primary["primary-1"]}},b.default.createElement(J,{icon:"check-icon",color:"white"})),a=b.default.createElement("div",{style:{...t,backgroundColor:"#e0e7ff"}});return b.default.createElement(n.components.Option,e,b.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",width:"100%"}},e.isSelected?l:a,b.default.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},q=({index:e,...t})=>{const l=t?.data?.label||"Select";return!e&&b.default.createElement("span",{className:"text-main-alt-value"},l)},F={control:(e,t)=>({...e,border:s?R&&s?"1px solid "+R:"1px solid "+H.border:"1px solid "+H.ui.error,minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px",height:`${d}px`,minHeight:`${d}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:R||H.bgColor}),placeholder:e=>({...e,fontSize:u+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:T||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${d}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),clearIndicator:e=>({...e,height:`${d}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,display:"flex",justifyContent:"space-between",fontSize:u+"px"}),indicatorsContainer:e=>({...e,padding:0,height:`${d}px`}),menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:u+"px",width:"100%",minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px"}),singleValue:e=>({...e,fontSize:u+"px",marginLeft:"0px",width:"auto",maxWidth:"89%",marginRight:0}),multiValue:e=>({...e,marginLeft:"0px",width:"auto"}),input:e=>({...e,fontSize:u+"px",color:L||"hsl(0, 0%, 20%)"}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?H.neutral["neutral-5"]:H.bgColor,padding:"10px",cursor:"pointer",color:"#081348",width:"inherit"}),...P.styles},O={DropdownIndicator:e=>{const t=b.default.createElement(n.components.DropdownIndicator,e,b.default.createElement(At,null,b.default.createElement(J,{icon:w,color:E,size:k})));return!0===z?t:null},ValueContainer:Ct,IndicatorSeparator:()=>null,ClearIndicator:e=>b.default.createElement(n.components.ClearIndicator,e,c?b.default.createElement(At,{onClick:()=>{m(),e.clearValue()}},b.default.createElement(J,{icon:"cross-icon",color:"black",size:8})):null)};let Z=null;switch(x){case"multiSelect":Z=b.default.createElement(St,S({type:"multiSelect",MultiValue:q,Option:j,value:o,CommonRenderedComponent:O,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:F,setSelectedValue:r,isLoading:A,id:C,isClearable:c},P));break;case"asyncSingleSelect":Z=b.default.createElement(Et,S({CommonRenderedComponent:O,loadOptions:p,onInputChange:f,styles:F,placeholder:i,onChange:r,isLoading:A,isDisabled:v,id:C,value:o,isClearable:c},P));break;case"asyncMultiSelect":Z=b.default.createElement(Et,S({type:"asyncMultiSelect",CommonRenderedComponent:O,MultiValue:q,Option:j,onChange:r,placeholder:i,styles:F,isDisabled:v,isLoading:A,loadOptions:p,onInputChange:f,id:C,isClearable:c},P));break;default:Z=b.default.createElement(St,S({type:"singleSelect",value:{value:o?o.value:"",label:o?o.label:""},CommonRenderedComponent:O,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:F,setSelectedValue:r,isLoading:A,id:C,isClearable:c},P))}return b.default.createElement(xt,{style:g,backgroundColor:R,isValid:s,fontSize:u,theme:H},e&&b.default.createElement(vt,{inBuiltCss:I,labelWrapperStyle:"selectComp-label-wrapper",style:h},b.default.createElement(Ne,{customStyles:t,type:"label-text",text:e,style:{marginBottom:"7px",paddingBottom:"0px"}}),y&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${H.ui.error}`}},"*")),Z)},St=({type:e,Option:t,value:l,CommonRenderedComponent:a,MultiValue:o,optionArr:r,placeHolder:i,isDisabled:n,stylesComp:c,setSelectedValue:s,isLoading:d,id:u,isClearable:p,...f})=>{let m={...a};return"multiSelect"===e&&(m.MultiValue=o,m.Option=t),b.default.createElement(x.default,S({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:m,options:r,placeholder:i,isDisabled:n,value:l,styles:c,onChange:s,isLoading:d,id:u,isClearable:p,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},f))},Et=({CommonRenderedComponent:e,MultiValue:t,Option:l,type:a,id:o,styles:r,...i})=>{let n={...e};return"asyncMultiSelect"===a&&(n.MultiValue=t,n.Option=l),b.default.createElement(v.default,S({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:n,isMulti:"asyncMultiSelect"===a,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==a,isSearchable:!0,styles:r,menuShouldScrollIntoView:!1},i))};wt.propTypes={label:m.default.string,labelStyle:m.default.object,optionArr:m.default.array,selectedValue:m.default.object,setSelectedValue:m.default.func,placeHolder:m.default.string,fontSize:m.default.number,clearSelected:m.default.func,loadOptions:m.default.func,onInputChange:m.default.func,customWrapperStyles:m.default.object,customLabelStyles:m.default.object,isRequired:m.default.bool,dropdownType:m.default.string,isDisabled:m.default.bool,isLoading:m.default.bool,isValid:m.default.bool,height:m.default.number,isClearable:m.default.bool,id:m.default.string,iconName:m.default.string,iconColor:m.default.string,iconSize:m.default.number,leftIcon:m.default.string,leftIconColor:m.default.string,leftIconSize:m.default.number,showIndicator:m.default.bool,backgroundColor:m.default.string,placeHolderColor:m.default.string,inputColor:m.default.string},wt.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0};const kt=g.default.div`
1274
+ `,St=({getValue:e,children:t,...l})=>{const a=e().length;return b.default.createElement(n.components.ValueContainer,l,t,a>1&&b.default.createElement("span",{className:"text-more-alt"},"& ",a-1," more"))},Et=({label:e,labelStyle:t,optionArr:a,selectedValue:o,setSelectedValue:r,placeHolder:i,isClearable:c,isValid:s,height:d,fontSize:u,loadOptions:p,onInputChange:f,clearSelected:m,customWrapperStyles:g,customLabelStyles:h,isRequired:y,dropdownType:x,isDisabled:v,isLoading:A,id:C,iconName:w,iconStyles:E,iconColor:k,iconSize:z,showIndicator:V,leftIcon:B,leftIconColor:W,leftIconSize:R,backgroundColor:T,placeHolderColor:L,indicatorBackgroundColor:P,inputColor:H,...j})=>{const q=l.useTheme()||M,F=e=>{const t={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},l=b.default.createElement("div",{style:{...t,backgroundColor:e?.data?.color??q.primary["primary-1"]}},b.default.createElement(J,{icon:"check-icon",color:"white"})),a=b.default.createElement("div",{style:{...t,backgroundColor:"#e0e7ff"}});return b.default.createElement(n.components.Option,e,b.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",width:"100%"}},e.isSelected?l:a,b.default.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},O=({index:e,...t})=>{const l=t?.data?.label||"Select";return!e&&b.default.createElement("span",{className:"text-main-alt-value"},l)},Z={control:(e,t)=>({...e,border:s?T&&s?"1px solid "+T:"1px solid "+q.border:"1px solid "+q.ui.error,minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px",height:`${d}px`,minHeight:`${d}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:T||q.bgColor}),placeholder:e=>({...e,fontSize:u+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:L||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${d}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:P||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${d}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,display:"flex",justifyContent:"space-between",fontSize:u+"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:u+"px",width:"100%",minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px"}),singleValue:e=>({...e,fontSize:u+"px",marginLeft:"0px",width:"auto",maxWidth:"89%",marginRight:0}),multiValue:e=>({...e,marginLeft:"0px",width:"auto"}),input:e=>({...e,fontSize:u+"px",color:H||"hsl(0, 0%, 20%)"}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?q.neutral["neutral-5"]:q.bgColor,padding:"10px",cursor:"pointer",color:"#081348",width:"inherit"}),...j.styles},G={DropdownIndicator:e=>{const t=b.default.createElement(n.components.DropdownIndicator,e,b.default.createElement(wt,null,b.default.createElement(J,{icon:w,color:k,size:z,customstyles:E})));return!0===V?t:null},ValueContainer:St,IndicatorSeparator:()=>null,ClearIndicator:e=>b.default.createElement(n.components.ClearIndicator,e,c?b.default.createElement(wt,{onClick:()=>{m(),e.clearValue()}},b.default.createElement(J,{icon:"cross-icon",color:"black",size:8})):null)};let X=null;switch(x){case"multiSelect":X=b.default.createElement(kt,S({type:"multiSelect",MultiValue:O,Option:F,value:o,CommonRenderedComponent:G,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:Z,setSelectedValue:r,isLoading:A,id:C,isClearable:c},j));break;case"asyncSingleSelect":X=b.default.createElement(zt,S({CommonRenderedComponent:G,loadOptions:p,onInputChange:f,styles:Z,placeholder:i,onChange:r,isLoading:A,isDisabled:v,id:C,value:o,isClearable:c},j));break;case"asyncMultiSelect":X=b.default.createElement(zt,S({type:"asyncMultiSelect",CommonRenderedComponent:G,MultiValue:O,Option:F,onChange:r,placeholder:i,styles:Z,isDisabled:v,isLoading:A,loadOptions:p,onInputChange:f,id:C,isClearable:c},j));break;default:X=b.default.createElement(kt,S({type:"singleSelect",value:{value:o?o.value:"",label:o?o.label:""},CommonRenderedComponent:G,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:Z,setSelectedValue:r,isLoading:A,id:C,isClearable:c},j))}return b.default.createElement(At,{style:g,backgroundColor:T,isValid:s,fontSize:u,theme:q},e&&b.default.createElement(Ct,{inBuiltCss:I,labelWrapperStyle:"selectComp-label-wrapper",style:h},b.default.createElement(Ke,{customStyles:t,type:"label-text",text:e,style:{marginBottom:"7px",paddingBottom:"0px"}}),y&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${q.ui.error}`}},"*")),X)},kt=({type:e,Option:t,value:l,CommonRenderedComponent:a,MultiValue:o,optionArr:r,placeHolder:i,isDisabled:n,stylesComp:c,setSelectedValue:s,isLoading:d,id:u,isClearable:p,...f})=>{let m={...a};return"multiSelect"===e&&(m.MultiValue=o,m.Option=t),b.default.createElement(x.default,S({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:m,options:r,placeholder:i,isDisabled:n,value:l,styles:c,onChange:s,isLoading:d,id:u,isClearable:p,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},f))},zt=({CommonRenderedComponent:e,MultiValue:t,Option:l,type:a,id:o,styles:r,...i})=>{let n={...e};return"asyncMultiSelect"===a&&(n.MultiValue=t,n.Option=l),b.default.createElement(v.default,S({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:n,isMulti:"asyncMultiSelect"===a,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==a,isSearchable:!0,styles:r,menuShouldScrollIntoView:!1},i))};Et.propTypes={label:m.default.string,labelStyle:m.default.object,optionArr:m.default.array,selectedValue:m.default.object,setSelectedValue:m.default.func,placeHolder:m.default.string,fontSize:m.default.number,clearSelected:m.default.func,loadOptions:m.default.func,onInputChange:m.default.func,customWrapperStyles:m.default.object,customLabelStyles:m.default.object,isRequired:m.default.bool,dropdownType:m.default.string,isDisabled:m.default.bool,isLoading:m.default.bool,isValid:m.default.bool,height:m.default.number,isClearable:m.default.bool,id:m.default.string,iconName:m.default.string,iconColor:m.default.string,iconSize:m.default.number,leftIcon:m.default.string,leftIconColor:m.default.string,leftIconSize:m.default.number,showIndicator:m.default.bool,backgroundColor:m.default.string,placeHolderColor:m.default.string,inputColor:m.default.string},Et.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0};const Vt=g.default.div`
1264
1275
  //Set the styles from the default styles object
1265
1276
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1266
1277
 
@@ -1277,15 +1288,15 @@ padding: 8px;
1277
1288
 
1278
1289
  // custom styles
1279
1290
  ${({customDropzoneStyles:e})=>e}
1280
- `,zt=g.default.div`
1291
+ `,Bt=g.default.div`
1281
1292
  //Set the styles from the default styles object
1282
1293
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1283
1294
 
1284
1295
  // custom styles
1285
1296
  ${({customFileStyles:e})=>e}
1286
- `,Vt=g.default.input`
1297
+ `,Mt=g.default.input`
1287
1298
  display: none;
1288
- `,Bt=g.default.div`
1299
+ `,It=g.default.div`
1289
1300
  //Set the styles from the default styles object
1290
1301
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1291
1302
 
@@ -1297,19 +1308,19 @@ padding: 8px;
1297
1308
 
1298
1309
  // custom styles
1299
1310
  ${({customFileNameStyles:e})=>e}
1300
- `;const Mt=g.default.div`
1311
+ `;const Wt=g.default.div`
1301
1312
  cursor: pointer;
1302
1313
  padding-left: 1px;
1303
1314
  margin-left: auto;
1304
1315
  margin-right: 10px;
1305
1316
  display: flex;
1306
1317
  justify-content: center;
1307
- `,It=g.default.div`
1318
+ `,Rt=g.default.div`
1308
1319
  margin-left: 11px;
1309
1320
  padding-left: 2px;
1310
1321
  display: flex;
1311
1322
  justify-content: center;
1312
- `,Wt=g.default.div`
1323
+ `,Tt=g.default.div`
1313
1324
  color: #494949;
1314
1325
  margin-left: 11px;
1315
1326
  padding-left: 2px;
@@ -1320,18 +1331,18 @@ padding: 8px;
1320
1331
  align-items: center;
1321
1332
  margin: 20px 0px;
1322
1333
  font-size: 14px;
1323
- `;const Rt=({label:e,labelStyle:a,labelInline:o,required:r,message:i,fileArr:n,setFileArr:c,deleteFile:s,customDropzoneStyles:d,customFileStyles:u,customTextStyles:p,customFileNameStyles:f,backgroundColor:m,singleFile:g,messageSize:h,showSupportedFormats:y,file_extensions:x,maxFilesAmount:v,minFilesAmount:A,fileSizeLimit:C,fileSizeNamingConvention:w,errorMessages:E,suggesionMessage:k,MessagelabelStyle:z,dropValid:V,setDropValid:B,dropzoneContent:W,dropIcon:R,iconColor:T,id:L,customTooltipContentStyle:P,customStylesTPArightBefore:H,customStylesTPArightAfter:j,...q})=>{const F=l.useTheme()||M,[O,Z]=t.useState(!1),G=t.createRef(),[X,D]=t.useState(V),[U,Y]=t.useState("");let N;var Q=x,K=!1,$=y?"That file type is not supported.":"",_=(k=y?"The Supported format's are: ":"","");1==g&&(A=1,v=1);var ee="Please upload (min."+A+" to max."+v+")files",te=e=>{_="";let t=[];var l=0,a=n.length;if(a+1<A||a+1>v){var o="The file size is not uploaded";_=U?.amount,_=void 0!==_?_:o}for(const e of n)l+=e.size;if(""==_)for(const[a,n]of Object.entries(e)){K=!0,n.name,l+=n.size;var r=n.name.split(".");r=r[r.length-1],K=Q.includes(r.toLowerCase());var i=1024;("MB"==w||"GB"==w||"TB"==w)&&(i*=1024);var c=Math.round(l/i);if(0==K&&(_=E?.format,_=_?_+$:$),c>C&&K){K=!1;o="The file must be under "+C+" "+w;_=E?.size,_=null!=_?_:o}!0===K&&(N&&URL.revokeObjectURL(N),N=URL.createObjectURL(n),n.path=N,t.push(n))}return _.length>0?(B(!1),D(V),Y(_)):(B(!0),D(V),Y("")),t};function le(e){e.preventDefault(),e.stopPropagation()}function ae(e,t){let l=[...n,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),c(l),Z(!1),l}function oe(e,t){if(e instanceof File){const t=n.filter((t=>t.name!==e.name));c(t)}else!function(e,t){const l=n.filter((t=>t.name!==e.name));c(l),s(e)}(e)}return b.default.createElement("div",null,b.default.createElement("div",{style:{display:"flex",width:"inherit"}},b.default.createElement(Ne,S({customStyles:a,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:""+(o?"":"7px"),paddingBottom:"0px"}},q)),r&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${F.variant.error}`}},"*")),b.default.createElement(kt,{theme:F,inBuiltCss:I,defaultStyles:"dropzone-parent",backgroundColor:m,customDropzoneStyles:d,onDragLeave:function(e){le(e),Z(!1)},onDragOver:function(e){le(e),Z(!0)},onDrop:function(e){le(e);const{files:t}=e.dataTransfer;var l=te(t);Z(!0),q.onFilesAdded(ae(l,g))},onClick:function(){G.current.click()},hover:O,dropValid:V,fileArr:n},b.default.createElement(Vt,S({ref:G,valid:X,dropValid:V,type:"file",id:L,multiple:1!=g,onChange:function(e){e.target,Z(!1);var t=te(e.target.files);t&&q.onFilesAdded(ae(t,g))},onClick:e=>e.target.value=null},q)),V?b.default.createElement(b.default.Fragment,null,R?b.default.createElement(J,{icon:R,color:O?F.bgColor:T,size:24}):b.default.createElement(J,{icon:"file-upload",color:O?F.bgColor:F.primary["primary-1"],size:24})):null,b.default.createElement(Bt,{dropValid:V,valid:X,hover:O,backgroundColor:m,customTextStyles:p,inBuiltCss:I,defaultStyles:"dropzone-text-div"},V?b.default.createElement(b.default.Fragment,null,W?b.default.createElement("div",{style:{color:O?F.bgColor:null}},W):b.default.createElement("div",null,b.default.createElement("span",{style:{color:O?F.bgColor:F.primary["primary-1"]}},"Choose a file"," "),b.default.createElement("span",{style:{color:O?F.bgColor:F.neutral["neutral-2"]}},"or"," "),b.default.createElement("span",{style:{color:O?F.bgColor:F.textColor}},"drag ",g?"it":"them"," here"))):b.default.createElement("div",null,b.default.createElement("span",{style:{color:F.variant.error}},"Try again!!"," "),b.default.createElement("span",{style:{color:F.textColor}},U||i)))),U===$?b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ne,S({themeColor:M,customStyles:z,type:"label-text",labelInline:o,text:k,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(o?"":"16.64px")}},q)),b.default.createElement(Ze,{contentTrigger:b.default.createElement("span",null,"read more"),headerTooltip:"",contentTooltip:JSON.stringify(Q),footerTooltip:"",popperOptionsP:{placement:"right"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:F.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:P,customStylesTPArightBefore:H,customStylesTPArightAfter:j})):"The file size is not uploaded"===U?b.default.createElement(Ne,S({themeColor:M,customStyles:z,type:"label-text",labelInline:o,text:ee,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(o?"":"16.64px")}},q)):"",n?.map(((e,t)=>b.default.createElement(zt,{inBuiltCss:I,defaultStyles:"dropzone-file-div",key:`${e}-${t}`,customFileStyles:u},b.default.createElement(It,null,b.default.createElement(J,{icon:"file-icon",color:F.primary["primary-1"]})),(File,b.default.createElement("a",{style:{color:F.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),b.default.createElement(Wt,null,e?.otherInfo),b.default.createElement(Mt,{key:101*Math.random()|0,onClick:()=>oe(e)},b.default.createElement("div",{style:{marginRight:"7px"}},b.default.createElement(J,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:F.primary["primary-1"]})),b.default.createElement(J,{icon:"cross-icon",color:F.neutral["neutral-2"],size:13}))))))};Rt.propTypes={onFilesAdded:m.default.func,dropValid:m.default.bool,setDropValid:m.default.func,message:m.default.string,fileArr:m.default.array,setFileArr:m.default.func,customDropzoneStyles:m.default.object,customFileStyles:m.default.object,customTextStyles:m.default.object,customFileNameStyles:m.default.object,backgroundColor:m.default.string,messageSize:m.default.number,maxFilesAmount:m.default.number,minFilesAmount:m.default.number,fileSizeLimit:m.default.number,fileSizeNamingConvention:m.default.string,showSupportedFormats:m.default.bool,file_extensions:m.default.array,errorMessages:m.default.object,suggesionMessage:m.default.any,MessagelabelStyle:m.default.object,id:m.default.string,dropzoneContent:m.default.any,dropIcon:m.default.string,iconColor:m.default.string,singleFile:m.default.bool,customTooltipContentStyle:m.default.object,customStylesTPArightBefore:m.default.object,customStylesTPArightAfter:m.default.object},Rt.defaultProps={onFilesAdded:()=>null,dropValid:!0,message:"",fileArr:[],setFileArr:()=>{},customDropzoneStyles:{},customFileStyles:{},customTextStyles:{},customFileNameStyles:{},messageSize:100,additionalText:"",maxFilesAmount:5,minFilesAmount:1,fileSizeLimit:10,fileSizeNamingConvention:"MB",showSupportedFormats:!0,file_extensions:["doc","docx","jpg","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const Tt=g.default.div`
1334
+ `;const Lt=({label:e,labelStyle:a,labelInline:o,required:r,message:i,fileArr:n,setFileArr:c,deleteFile:s,customDropzoneStyles:d,customFileStyles:u,customTextStyles:p,customFileNameStyles:f,backgroundColor:m,singleFile:g,messageSize:h,showSupportedFormats:y,file_extensions:x,maxFilesAmount:v,minFilesAmount:A,fileSizeLimit:C,fileSizeNamingConvention:w,errorMessages:E,suggesionMessage:k,MessagelabelStyle:z,dropValid:V,setDropValid:B,dropzoneContent:W,dropIcon:R,iconColor:T,id:L,customTooltipContentStyle:P,customStylesTPArightBefore:H,customStylesTPArightAfter:j,...q})=>{const F=l.useTheme()||M,[O,Z]=t.useState(!1),G=t.createRef(),[X,D]=t.useState(V),[U,Y]=t.useState("");let Q;var N=x,K=!1,$=y?"That file type is not supported.":"",_=(k=y?"The Supported format's are: ":"","");1==g&&(A=1,v=1);var ee="Please upload (min."+A+" to max."+v+")files",te=e=>{_="";let t=[];var l=0,a=n.length;if(a+1<A||a+1>v){var o="The file size is not uploaded";_=U?.amount,_=void 0!==_?_:o}for(const e of n)l+=e.size;if(""==_)for(const[a,n]of Object.entries(e)){K=!0,n.name,l+=n.size;var r=n.name.split(".");r=r[r.length-1],K=N.includes(r.toLowerCase());var i=1024;("MB"==w||"GB"==w||"TB"==w)&&(i*=1024);var c=Math.round(l/i);if(0==K&&(_=E?.format,_=_?_+$:$),c>C&&K){K=!1;o="The file must be under "+C+" "+w;_=E?.size,_=null!=_?_:o}!0===K&&(Q&&URL.revokeObjectURL(Q),Q=URL.createObjectURL(n),n.path=Q,t.push(n))}return _.length>0?(B(!1),D(V),Y(_)):(B(!0),D(V),Y("")),t};function le(e){e.preventDefault(),e.stopPropagation()}function ae(e,t){let l=[...n,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),c(l),Z(!1),l}function oe(e,t){if(e instanceof File){const t=n.filter((t=>t.name!==e.name));c(t)}else!function(e,t){const l=n.filter((t=>t.name!==e.name));c(l),s(e)}(e)}return b.default.createElement("div",null,b.default.createElement("div",{style:{display:"flex",width:"inherit"}},b.default.createElement(Ke,S({customStyles:a,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:""+(o?"":"7px"),paddingBottom:"0px"}},q)),r&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${F.variant.error}`}},"*")),b.default.createElement(Vt,{theme:F,inBuiltCss:I,defaultStyles:"dropzone-parent",backgroundColor:m,customDropzoneStyles:V?d:{},onDragLeave:function(e){le(e),Z(!1)},onDragOver:function(e){le(e),Z(!0)},onDrop:function(e){le(e);const{files:t}=e.dataTransfer;var l=te(t);Z(!0),q.onFilesAdded(ae(l,g))},onClick:function(){G.current.click()},hover:O,dropValid:V,fileArr:n},b.default.createElement(Mt,S({ref:G,valid:X,dropValid:V,type:"file",id:L,multiple:1!=g,onChange:function(e){e.target,Z(!1);var t=te(e.target.files);t&&q.onFilesAdded(ae(t,g))},onClick:e=>e.target.value=null},q)),V?b.default.createElement(b.default.Fragment,null,R?b.default.createElement(J,{icon:R,color:O?F.bgColor:T,size:24}):b.default.createElement(J,{icon:"file-upload",color:O?F.bgColor:F.primary["primary-1"],size:24})):null,b.default.createElement(It,{dropValid:V,valid:X,hover:O,backgroundColor:m,customTextStyles:p,inBuiltCss:I,defaultStyles:"dropzone-text-div"},V?b.default.createElement(b.default.Fragment,null,W?b.default.createElement("div",{style:{color:O?F.bgColor:null}},W):b.default.createElement("div",null,b.default.createElement("span",{style:{color:O?F.bgColor:F.primary["primary-1"]}},"Choose a file"," "),b.default.createElement("span",{style:{color:O?F.bgColor:F.neutral["neutral-2"]}},"or"," "),b.default.createElement("span",{style:{color:O?F.bgColor:F.textColor}},"drag ",g?"it":"them"," here"))):b.default.createElement("div",null,b.default.createElement("span",{style:{color:F.variant.error}},"Try again!!"," "),b.default.createElement("span",{style:{color:F.textColor}},U||i)))),U===$?b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ke,S({themeColor:M,customStyles:z,type:"label-text",labelInline:o,text:k,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(o?"":"16.64px")}},q)),b.default.createElement(Xe,{contentTrigger:b.default.createElement("span",null,"read more"),headerTooltip:"",contentTooltip:JSON.stringify(N),footerTooltip:"",popperOptionsP:{placement:"right"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:F.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:P,customStylesTPArightBefore:H,customStylesTPArightAfter:j})):"The file size is not uploaded"===U?b.default.createElement(Ke,S({themeColor:M,customStyles:z,type:"label-text",labelInline:o,text:ee,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(o?"":"16.64px")}},q)):"",n?.map(((e,t)=>b.default.createElement(Bt,{inBuiltCss:I,defaultStyles:"dropzone-file-div",key:`${e}-${t}`,customFileStyles:u},b.default.createElement(Rt,null,b.default.createElement(J,{icon:"file-icon",color:F.primary["primary-1"]})),(File,b.default.createElement("a",{style:{color:F.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),b.default.createElement(Tt,null,e?.otherInfo),b.default.createElement(Wt,{key:101*Math.random()|0,onClick:()=>oe(e)},b.default.createElement("div",{style:{marginRight:"7px"}},b.default.createElement(J,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:F.primary["primary-1"]})),b.default.createElement(J,{icon:"cross-icon",color:F.neutral["neutral-2"],size:13}))))))};Lt.propTypes={onFilesAdded:m.default.func,dropValid:m.default.bool,setDropValid:m.default.func,message:m.default.string,fileArr:m.default.array,setFileArr:m.default.func,customDropzoneStyles:m.default.object,customFileStyles:m.default.object,customTextStyles:m.default.object,customFileNameStyles:m.default.object,backgroundColor:m.default.string,messageSize:m.default.number,maxFilesAmount:m.default.number,minFilesAmount:m.default.number,fileSizeLimit:m.default.number,fileSizeNamingConvention:m.default.string,showSupportedFormats:m.default.bool,file_extensions:m.default.array,errorMessages:m.default.object,suggesionMessage:m.default.any,MessagelabelStyle:m.default.object,id:m.default.string,dropzoneContent:m.default.any,dropIcon:m.default.string,iconColor:m.default.string,singleFile:m.default.bool,customTooltipContentStyle:m.default.object,customStylesTPArightBefore:m.default.object,customStylesTPArightAfter:m.default.object},Lt.defaultProps={onFilesAdded:()=>null,dropValid:!0,message:"",fileArr:[],setFileArr:()=>{},customDropzoneStyles:{},customFileStyles:{},customTextStyles:{},customFileNameStyles:{},messageSize:100,additionalText:"",maxFilesAmount:5,minFilesAmount:1,fileSizeLimit:10,fileSizeNamingConvention:"MB",showSupportedFormats:!0,file_extensions:["doc","docx","jpg","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const Pt=g.default.div`
1324
1335
  display: contents;
1325
1336
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1326
1337
 
1327
1338
  ${({WrapperDivStyle:e})=>e}
1328
- `,Lt=g.default.input`
1339
+ `,Ht=g.default.input`
1329
1340
  display: none;
1330
1341
  min-height: 100vh;
1331
1342
  padding: 0 0.5rem;
1332
1343
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1333
1344
 
1334
- `,Pt=g.default.div`
1345
+ `,jt=g.default.div`
1335
1346
  height: 49px;
1336
1347
  width: 49px;
1337
1348
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor};
@@ -1343,7 +1354,7 @@ padding: 8px;
1343
1354
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1344
1355
 
1345
1356
  ${({IconWrapperStyle:e})=>e}
1346
- `,Ht=g.default.div`
1357
+ `,qt=g.default.div`
1347
1358
  // background-color: ${({theme:e})=>e.bgColor};
1348
1359
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor};
1349
1360
  width: 134px;
@@ -1385,7 +1396,7 @@ padding: 8px;
1385
1396
  }
1386
1397
  }
1387
1398
  ${({MainDivStyle:e})=>e};
1388
- `,jt=({image:e,setImage:a,WrapperDivStyle:o,MainDivStyle:r,IconWrapperStyle:i,iconSize:n,iconColor:c,isDisabled:s,id:d})=>{const[u,p]=t.useState(),f=t.useRef(),m=l.useTheme()||M,[g,h]=t.useState(),[y,x]=t.useState(!1);function v(e){e.preventDefault(),e.stopPropagation()}t.useEffect((()=>{if(e&&y){const t=new FileReader;t.onloadend=()=>{p(t.result)},t.readAsDataURL(e)}else p(e)}),[e]);const A=e=>{e&&"image"===e.type.substr(0,5)?(x(!0),a(e)):x(!1)};return b.default.createElement(Tt,{onDragLeave:function(e){v(e),h(!1)},onDragOver:function(e){v(e),h(!0)},onDrop:function(e){v(e);const{files:t}=e.dataTransfer;A(t[0])},WrapperDivStyle:o,isDisabled:s},b.default.createElement(Ht,{isDisabled:s,theme:m,MainDivStyle:r,style:{backgroundImage:`url(${u})`},onClick:e=>{e.preventDefault(),f.current.click()}},!u&&b.default.createElement("div",{className:"icon-on-not-preview"},b.default.createElement(Pt,{IconWrapperStyle:i,theme:m,isDisabled:s},b.default.createElement("img",{src:G,alt:"",height:"40px",width:"48px"}))),b.default.createElement("div",{className:"icon-on-preview"},b.default.createElement(Pt,{IconWrapperStyle:i,isDisabled:s,theme:m},b.default.createElement(J,{icon:"camera-icon",size:n,color:c||m.variant["primary-1"]})))),b.default.createElement(Lt,{id:d,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{x(!0),a(e.target.files[0])},disabled:s,isDisabled:s}))};jt.propTypes={image:m.default.any,setImage:m.default.func,WrapperDivStyle:m.default.object,MainDivStyle:m.default.object,IconWrapperStyle:m.default.object,iconSize:m.default.number},jt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const qt=g.default.div`
1399
+ `,Ft=({image:e,setImage:a,WrapperDivStyle:o,MainDivStyle:r,IconWrapperStyle:i,iconSize:n,iconColor:c,isDisabled:s,id:d})=>{const[u,p]=t.useState(),f=t.useRef(),m=l.useTheme()||M,[g,h]=t.useState(),[y,x]=t.useState(!1);function v(e){e.preventDefault(),e.stopPropagation()}t.useEffect((()=>{if(e&&y){const t=new FileReader;t.onloadend=()=>{p(t.result)},t.readAsDataURL(e)}else p(e)}),[e]);const A=e=>{e&&"image"===e.type.substr(0,5)?(x(!0),a(e)):x(!1)};return b.default.createElement(Pt,{onDragLeave:function(e){v(e),h(!1)},onDragOver:function(e){v(e),h(!0)},onDrop:function(e){v(e);const{files:t}=e.dataTransfer;A(t[0])},WrapperDivStyle:o,isDisabled:s},b.default.createElement(qt,{isDisabled:s,theme:m,MainDivStyle:r,style:{backgroundImage:`url(${u})`},onClick:e=>{e.preventDefault(),f.current.click()}},!u&&b.default.createElement("div",{className:"icon-on-not-preview"},b.default.createElement(jt,{IconWrapperStyle:i,theme:m,isDisabled:s},b.default.createElement("img",{src:G,alt:"",height:"40px",width:"48px"}))),b.default.createElement("div",{className:"icon-on-preview"},b.default.createElement(jt,{IconWrapperStyle:i,isDisabled:s,theme:m},b.default.createElement(J,{icon:"camera-icon",size:n,color:c||m.variant["primary-1"]})))),b.default.createElement(Ht,{id:d,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{x(!0),a(e.target.files[0])},disabled:s,isDisabled:s}))};Ft.propTypes={image:m.default.any,setImage:m.default.func,WrapperDivStyle:m.default.object,MainDivStyle:m.default.object,IconWrapperStyle:m.default.object,iconSize:m.default.number},Ft.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Ot=g.default.div`
1389
1400
  border: 1px solid
1390
1401
  ${({theme:e})=>e.border};
1391
1402
  border-radius: 4px;
@@ -1405,7 +1416,7 @@ padding: 8px;
1405
1416
  fill: ${({theme:e})=>e.variant["primary-1"]};
1406
1417
  }
1407
1418
  }
1408
- `;qt.defaultProps={theme:M};const Ft=g.default.input`
1419
+ `;Ot.defaultProps={theme:M};const Zt=g.default.input`
1409
1420
  width: 85%;
1410
1421
  border: 0;
1411
1422
  outline: 0;
@@ -1418,12 +1429,12 @@ padding: 8px;
1418
1429
 
1419
1430
  // custom styles
1420
1431
  ${({inputStyle:e})=>e}
1421
- `;Ft.defaultProps={theme:M},l.css`
1432
+ `;Zt.defaultProps={theme:M},l.css`
1422
1433
  &:after {
1423
1434
  content: ' *';
1424
1435
  color: ${({theme:e})=>e.variant.error};
1425
1436
  }
1426
- `;const Ot=g.default.label`
1437
+ `;const Gt=g.default.label`
1427
1438
  display: flex;
1428
1439
  margin-right: 10px;
1429
1440
  align-content: center;
@@ -1436,16 +1447,16 @@ padding: 8px;
1436
1447
  color: ${({theme:e})=>e.variant["neutral-2"]};
1437
1448
 
1438
1449
  ${({labelStyle:e})=>e}
1439
- `;Ot.defaultProps={theme:M};const Zt=l.css`
1450
+ `;Gt.defaultProps={theme:M};const Xt=l.css`
1440
1451
  display: flex;
1441
1452
  align-items: center;
1442
- `,Gt=g.default.div`
1443
- ${({labelInline:e})=>e?Zt:null}
1453
+ `,Dt=g.default.div`
1454
+ ${({labelInline:e})=>e?Xt:null}
1444
1455
 
1445
1456
  > div {
1446
1457
  flex: 1 0 auto;
1447
1458
  }
1448
- `;Gt.defaultProps={theme:M};const Xt=({label:e,inputValue:t,inputStyle:l,iconBefore:a,iconAfter:o,onChange:r,theme:i,id:n,labelStyle:c,...s})=>b.default.createElement(Gt,s,e.length>0&&b.default.createElement(Ot,{labelStyle:c},e),b.default.createElement("div",null,b.default.createElement(qt,s,b.default.createElement("div",{className:"input-icon"},a),b.default.createElement(Ft,S({},s,{inputStyle:l,value:t,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&r(t)},type:"number",id:n})),b.default.createElement("div",{className:"input-icon",style:{position:"absolute",right:"7px"}},o))));Xt.propTypes={theme:m.default.object,label:m.default.string,labelInline:m.default.bool,inputValue:m.default.any,inputStyle:m.default.object,id:m.default.string,labelStyle:m.default.object},Xt.defaultProps={theme:M,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const Dt=g.default.div`
1459
+ `;Dt.defaultProps={theme:M};const Jt=({label:e,inputValue:t,inputStyle:l,iconBefore:a,iconAfter:o,onChange:r,theme:i,id:n,labelStyle:c,...s})=>b.default.createElement(Dt,s,e.length>0&&b.default.createElement(Gt,{labelStyle:c},e),b.default.createElement("div",null,b.default.createElement(Ot,s,b.default.createElement("div",{className:"input-icon"},a),b.default.createElement(Zt,S({},s,{inputStyle:l,value:t,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&r(t)},type:"number",id:n})),b.default.createElement("div",{className:"input-icon",style:{position:"absolute",right:"7px"}},o))));Jt.propTypes={theme:m.default.object,label:m.default.string,labelInline:m.default.bool,inputValue:m.default.any,inputStyle:m.default.object,id:m.default.string,labelStyle:m.default.object},Jt.defaultProps={theme:M,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const Ut=g.default.div`
1449
1460
  background-color: ${({theme:e})=>e.bgColor};
1450
1461
 
1451
1462
  //Set the styles from the default styles object
@@ -1471,7 +1482,7 @@ padding: 8px;
1471
1482
 
1472
1483
  // custom styles
1473
1484
  ${({textBoxStyle:e})=>e}
1474
- `;Dt.defaultProps={theme:M};const Jt=g.default.input`
1485
+ `;Ut.defaultProps={theme:M};const Yt=g.default.input`
1475
1486
  width: 85%;
1476
1487
 
1477
1488
 
@@ -1484,18 +1495,18 @@ padding: 8px;
1484
1495
  .sc-furwcr bxRAoq {
1485
1496
  color: ${({theme:e})=>e.variant["neutral-3"]};
1486
1497
  }
1487
- `;Jt.defaultProps={theme:M};const Ut=l.css`
1498
+ `;Yt.defaultProps={theme:M};const Qt=l.css`
1488
1499
  display: flex;
1489
1500
  gap: 7px;
1490
1501
  align-items: start;
1491
- `,Yt=g.default.div`
1492
- ${({labelInline:e})=>e?Ut:null}
1502
+ `,Nt=g.default.div`
1503
+ ${({labelInline:e})=>e?Qt:null}
1493
1504
  .err-text {
1494
1505
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1495
1506
  margin-top: 5px;
1496
1507
  font-size: 10px;
1497
1508
  }
1498
- `;Yt.defaultProps={theme:M};const Nt=({passwordRules:e,textBoxStyle:a,labelStyle:o,inputStyle:r,errMsg:i,required:n,label:c,labelInline:s,isValid:d,rulesStyle:u,id:p,showHideIcon:f,errMsgColor:m,...g})=>{t.useState(!1);const[h,y]=t.useState("password"),x=l.useTheme()||M;return b.default.createElement(Yt,S({labelInline:s,inBuiltCss:I,errMsgColor:m,theme:x},g),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ne,S({customStyles:o,type:"label-text",text:c,errMsg:i,style:{display:"flex",marginBottom:""+(s?"0px":"7px"),paddingBottom:"0px"}},g)),n&&b.default.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),b.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"}},b.default.createElement("div",{style:{width:"100%"}},b.default.createElement(Dt,S({required:n,theme:x,textBoxStyle:a,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:I},g),b.default.createElement(Jt,S({inputStyle:r,type:h,autocomplete:"off",id:p,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:I},g)),!0===f?b.default.createElement("div",{className:"input-icon",onClick:()=>{"password"===h?y("text"):"text"===h&&y("password")},style:{position:"absolute",right:"7px"}},"text"===h?b.default.createElement(J,{icon:"eye-show"}):b.default.createElement(J,{icon:"eye-hide"})):""),i.length>0&&b.default.createElement("div",{className:"err-text"},i)),e?b.default.createElement("div",{style:{...u,marginLeft:"5px"}},e):""))};Nt.propTypes={inBuiltCss:m.default.object,theme:m.default.object,label:m.default.string,required:m.default.bool,labelInline:m.default.bool,errMsg:m.default.string,textBoxStyle:m.default.object,labelStyle:m.default.object,inputStyle:m.default.object,rulesStyle:m.default.object,id:m.default.string,showHideIcon:m.default.bool},Nt.defaultProps={inBuiltCss:I,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const Qt=g.default.div`
1509
+ `;Nt.defaultProps={theme:M};const Kt=({passwordRules:e,textBoxStyle:a,labelStyle:o,inputStyle:r,errMsg:i,required:n,label:c,labelInline:s,isValid:d,rulesStyle:u,id:p,showHideIcon:f,errMsgColor:m,...g})=>{t.useState(!1);const[h,y]=t.useState("password"),x=l.useTheme()||M;return b.default.createElement(Nt,S({labelInline:s,inBuiltCss:I,errMsgColor:m,theme:x},g),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ke,S({customStyles:o,type:"label-text",text:c,errMsg:i,style:{display:"flex",marginBottom:""+(s?"0px":"7px"),paddingBottom:"0px"}},g)),n&&b.default.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),b.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"}},b.default.createElement("div",{style:{width:"100%"}},b.default.createElement(Ut,S({required:n,theme:x,textBoxStyle:a,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:I},g),b.default.createElement(Yt,S({inputStyle:r,type:h,autocomplete:"off",id:p,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:I},g)),!0===f?b.default.createElement("div",{className:"input-icon",onClick:()=>{"password"===h?y("text"):"text"===h&&y("password")},style:{position:"absolute",right:"7px"}},"text"===h?b.default.createElement(J,{icon:"eye-show"}):b.default.createElement(J,{icon:"eye-hide"})):""),i.length>0&&b.default.createElement("div",{className:"err-text"},i)),e?b.default.createElement("div",{style:{...u,marginLeft:"5px"}},e):""))};Kt.propTypes={inBuiltCss:m.default.object,theme:m.default.object,label:m.default.string,required:m.default.bool,labelInline:m.default.bool,errMsg:m.default.string,textBoxStyle:m.default.object,labelStyle:m.default.object,inputStyle:m.default.object,rulesStyle:m.default.object,id:m.default.string,showHideIcon:m.default.bool},Kt.defaultProps={inBuiltCss:I,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const $t=g.default.div`
1499
1510
  box-sizing: initial;
1500
1511
 
1501
1512
  //Set the styles from the default styles object
@@ -1505,7 +1516,7 @@ padding: 8px;
1505
1516
 
1506
1517
  // custom styles
1507
1518
  ${({radioOuterCircleStyle:e})=>e}
1508
- `;Qt.defaultProps={theme:M};const Kt=g.default.div`
1519
+ `;$t.defaultProps={theme:M};const _t=g.default.div`
1509
1520
  box-sizing: initial;
1510
1521
 
1511
1522
  //Set the styles from the default styles object
@@ -1517,7 +1528,7 @@ padding: 8px;
1517
1528
 
1518
1529
  // custom styles
1519
1530
  ${({radioInnerCircleStyle:e})=>e}
1520
- `;Kt.defaultProps={theme:M};const $t=g.default.div`
1531
+ `;_t.defaultProps={theme:M};const el=g.default.div`
1521
1532
  //Set the styles from the default styles object
1522
1533
  ${({inBuiltCss:e,defaultOptionStyle:t})=>W(e,t)}
1523
1534
  margin-right: ${({inline:e})=>e?"":"30px"};
@@ -1525,7 +1536,7 @@ padding: 8px;
1525
1536
 
1526
1537
  // custom styles
1527
1538
  ${({optionStyle:e})=>e}
1528
- `;$t.defaultProps={theme:M};const _t=g.default.div`
1539
+ `;el.defaultProps={theme:M};const tl=g.default.div`
1529
1540
  margin-bottom: ${({inline:e})=>e?"":"14px"};
1530
1541
  cursor: pointer;
1531
1542
  align-items: center;
@@ -1534,11 +1545,11 @@ padding: 8px;
1534
1545
 
1535
1546
  // custom styles
1536
1547
  ${({WrapperDivStyle:e})=>e}
1537
- `,el=g.default.div`
1548
+ `,ll=g.default.div`
1538
1549
  display: ${({inline:e})=>e?"flex":"inline-block"};
1539
1550
  width: max-content;
1540
1551
  margin: 0;
1541
- `,tl=({radioOuterCircleStyle:e,radioInnerCircleStyle:t,labelStyle:a,label:o,optionStyle:r,options:i,selectedCircleColor:n,selectedOptionTextColor:c,onChange:s,selected:d,width:u,height:p,inline:f,defaultBorderColor:m,defaultOptionColor:g,WrapperDivStyle:h,...y})=>{const x=l.useTheme()||M;return b.default.createElement("div",null,b.default.createElement(Ne,{customStyles:a,type:"radio-label",text:o}),b.default.createElement(el,{inline:f},i.map(((l,a)=>b.default.createElement(_t,{WrapperDivStyle:h,key:a+101*Math.random(),id:l.id,inline:f,onClick:()=>{!l?.disabled&&s(l.value)}},b.default.createElement(Qt,{theme:x,inBuiltCss:I,defaultBorderColor:m,selectedCircleColor:n,radioOuterCircleStyle:{...e,cursor:l?.disabled?"not-allowed ":" pointer",borderColor:l?.disabled&&l?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:l.value,selected:!l?.disabled&&d},b.default.createElement(Kt,{inBuiltCss:I,theme:x,width:u,height:p,selectedCircleColor:n,radioInnerCircleStyle:{...t,cursor:l?.disabled?"not-allowed ":" pointer",backgroundColor:l?.disabled?"transparent":l?.value===d?t?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:l.value,selected:d})),b.default.createElement($t,{defaultOptionColor:g,optionStyle:{...r,cursor:l?.disabled?"not-allowed ":" pointer",color:l?.disabled&&l?.disabledColor},inBuiltCss:I,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!l?.disabled&&l.value===d},l.label))))))};tl.propTypes={label:m.default.string,labelStyle:m.default.object,inline:m.default.bool,options:m.default.array,optionStyle:m.default.object,WrapperDivStyle:m.default.object,selected:m.default.string,onChange:m.default.func,defaultOptionColor:m.default.string,defaultBorderColor:m.default.string,radioOuterCircleStyle:m.default.object,radioInnerCircleStyle:m.default.object,width:m.default.string,height:m.default.string,selectedCircleColor:m.default.string,selectedOptionTextColor:m.default.string},tl.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const ll=g.default.div`
1552
+ `,al=({radioOuterCircleStyle:e,radioInnerCircleStyle:t,labelStyle:a,label:o,optionStyle:r,options:i,selectedCircleColor:n,selectedOptionTextColor:c,onChange:s,selected:d,width:u,height:p,inline:f,defaultBorderColor:m,defaultOptionColor:g,WrapperDivStyle:h,...y})=>{const x=l.useTheme()||M;return b.default.createElement("div",null,b.default.createElement(Ke,{customStyles:a,type:"radio-label",text:o}),b.default.createElement(ll,{inline:f},i.map(((l,a)=>b.default.createElement(tl,{WrapperDivStyle:h,key:a+101*Math.random(),id:l.id,inline:f,onClick:()=>{!l?.disabled&&s(l.value)}},b.default.createElement($t,{theme:x,inBuiltCss:I,defaultBorderColor:m,selectedCircleColor:n,radioOuterCircleStyle:{...e,cursor:l?.disabled?"not-allowed ":" pointer",borderColor:l?.disabled&&l?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:l.value,selected:!l?.disabled&&d},b.default.createElement(_t,{inBuiltCss:I,theme:x,width:u,height:p,selectedCircleColor:n,radioInnerCircleStyle:{...t,cursor:l?.disabled?"not-allowed ":" pointer",backgroundColor:l?.disabled?"transparent":l?.value===d?t?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:l.value,selected:d})),b.default.createElement(el,{defaultOptionColor:g,optionStyle:{...r,cursor:l?.disabled?"not-allowed ":" pointer",color:l?.disabled&&l?.disabledColor},inBuiltCss:I,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!l?.disabled&&l.value===d},l.label))))))};al.propTypes={label:m.default.string,labelStyle:m.default.object,inline:m.default.bool,options:m.default.array,optionStyle:m.default.object,WrapperDivStyle:m.default.object,selected:m.default.string,onChange:m.default.func,defaultOptionColor:m.default.string,defaultBorderColor:m.default.string,radioOuterCircleStyle:m.default.object,radioInnerCircleStyle:m.default.object,width:m.default.string,height:m.default.string,selectedCircleColor:m.default.string,selectedOptionTextColor:m.default.string},al.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const ol=g.default.div`
1542
1553
  background-color: ${({theme:e})=>e.bgColor};
1543
1554
 
1544
1555
  //Set the styles from the default styles object
@@ -1559,7 +1570,7 @@ padding: 8px;
1559
1570
  ${({textBoxStyle:e})=>e}
1560
1571
 
1561
1572
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}
1562
- `,al=g.default.input`
1573
+ `,rl=g.default.input`
1563
1574
  color: ${({theme:e})=>e.black};
1564
1575
  width: 85%;
1565
1576
  white-space: nowrap;
@@ -1575,18 +1586,18 @@ padding: 8px;
1575
1586
  color: ${M.variant["neutral-3"]};
1576
1587
  }
1577
1588
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}};
1578
- `,ol=l.css`
1589
+ `,il=l.css`
1579
1590
  display: flex;
1580
1591
  gap: 7px;
1581
1592
  align-items: center;
1582
- `,rl=g.default.div`
1583
- ${({labelInline:e})=>e?ol:null}
1593
+ `,nl=g.default.div`
1594
+ ${({labelInline:e})=>e?il:null}
1584
1595
  .err-text {
1585
1596
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1586
1597
  margin-top: 5px;
1587
1598
  font-size: 10px;
1588
1599
  }
1589
- `,il=({textBoxStyle:e,labelStyle:t,inputStyle:a,errMsg:o,required:r,label:i,labelInline:n,iconBefore:c,iconAfter:s,isValid:d,type:u,isDisabled:p,id:f,errMsgColor:m,iconAfterStyle:g,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...A})=>{const C=l.useTheme()||M;return b.default.createElement(rl,S({labelInline:n,theme:C,errMsgColor:m},A),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ne,S({customStyles:t,type:"label-text",labelInline:n,text:i,errMsg:o,style:{display:"flex",marginBottom:""+(n?"":"7px"),paddingBottom:"0px"}},A)),r&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${C.variant.error}`}},"*")),b.default.createElement("div",null,b.default.createElement(ll,S({required:r,isDisabled:p,theme:C,textBoxStyle:e,isValid:d,inBuiltCss:I,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),b.default.createElement("div",{className:"input-icon",style:{...h}},c),b.default.createElement(al,S({inputStyle:a,type:u,theme:C,id:f,defaultInputStyle:"input-wrapper",isDisabled:p,disabled:p,ref:y,pattern:x},A)),b.default.createElement("div",{className:"input-icon",style:{...g}},s))),o.length>0&&b.default.createElement("div",{className:"err-text"},o))};il.propTypes={inBuiltCss:m.default.object,label:m.default.string,required:m.default.bool,labelInline:m.default.bool,errMsg:m.default.string,iconBefore:m.default.any,iconAfter:m.default.any,textBoxStyle:m.default.object,labelStyle:m.default.object,inputStyle:m.default.object,type:m.default.string,isDisabled:m.default.bool,id:m.default.string,errMsgColor:m.default.string,iconAfterStyle:m.default.object,iconBeforeStyle:m.default.object,iconColorOnFocus:m.default.string},il.defaultProps={inBuiltCss:I,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const nl=({label:e,placeholder:t,handleSearch:l,searchInput:a,customStylesForm:o,customStyleObject:r,textBoxStyle:i,id:n,...c})=>b.default.createElement(il,S({iconAfter:b.default.createElement(J,{icon:"magnifier-icon"}),label:e,textBoxStyle:i,placeholder:t,ref:a,onChange:l,id:n},c)),cl=g.default.div`
1600
+ `,cl=({textBoxStyle:e,labelStyle:t,inputStyle:a,errMsg:o,required:r,label:i,labelInline:n,iconBefore:c,iconAfter:s,isValid:d,type:u,isDisabled:p,id:f,errMsgColor:m,iconAfterStyle:g,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...A})=>{const C=l.useTheme()||M;return b.default.createElement(nl,S({labelInline:n,theme:C,errMsgColor:m},A),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ke,S({customStyles:t,type:"label-text",labelInline:n,text:i,errMsg:o,style:{display:"flex",marginBottom:""+(n?"":"7px"),paddingBottom:"0px"}},A)),r&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${C.variant.error}`}},"*")),b.default.createElement("div",null,b.default.createElement(ol,S({required:r,isDisabled:p,theme:C,textBoxStyle:e,isValid:d,inBuiltCss:I,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),b.default.createElement("div",{className:"input-icon",style:{...h}},c),b.default.createElement(rl,S({inputStyle:a,type:u,theme:C,id:f,defaultInputStyle:"input-wrapper",isDisabled:p,disabled:p,ref:y,pattern:x},A)),b.default.createElement("div",{className:"input-icon",style:{...g}},s))),o.length>0&&b.default.createElement("div",{className:"err-text"},o))};cl.propTypes={inBuiltCss:m.default.object,label:m.default.string,required:m.default.bool,labelInline:m.default.bool,errMsg:m.default.string,iconBefore:m.default.any,iconAfter:m.default.any,textBoxStyle:m.default.object,labelStyle:m.default.object,inputStyle:m.default.object,type:m.default.string,isDisabled:m.default.bool,id:m.default.string,errMsgColor:m.default.string,iconAfterStyle:m.default.object,iconBeforeStyle:m.default.object,iconColorOnFocus:m.default.string},cl.defaultProps={inBuiltCss:I,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const sl=({label:e,placeholder:t,handleSearch:l,searchInput:a,customStylesForm:o,customStyleObject:r,textBoxStyle:i,id:n,...c})=>b.default.createElement(cl,S({iconAfter:b.default.createElement(J,{icon:"magnifier-icon"}),label:e,textBoxStyle:i,placeholder:t,ref:a,onChange:l,id:n},c)),dl=g.default.div`
1590
1601
  //Set the styles from the default styles object
1591
1602
  ${({inBuiltCss:e,defaultParentDivStyle:t})=>W(e,t)}
1592
1603
 
@@ -1595,7 +1606,7 @@ padding: 8px;
1595
1606
  &:focus-within {
1596
1607
  border-color: ${({activeColor:e,theme:t})=>e||t.primary["primary-1"]};
1597
1608
  }
1598
- `,sl=g.default.div`
1609
+ `,ul=g.default.div`
1599
1610
  //Set the styles from the default styles object
1600
1611
  ${({inBuiltCss:e,defaultWrapperDivStyle:t})=>W(e,t)}
1601
1612
 
@@ -1607,7 +1618,7 @@ padding: 8px;
1607
1618
  border-left: ${({signIcon:e})=>e?"":"none"};
1608
1619
  margin-left: ${({signIcon:e})=>e?"":"42px"};
1609
1620
  position: ${({signIcon:e})=>e?"absolute":""};
1610
- `,dl=g.default.div`
1621
+ `,pl=g.default.div`
1611
1622
  width: 39px;
1612
1623
  height: 44px;
1613
1624
  display: flex;
@@ -1617,7 +1628,7 @@ padding: 8px;
1617
1628
  border-bottom: ${({penIcon:e,isMyInputFocused:t,activeColor:l,defaultColor:a,theme:o})=>e?t?`1px solid ${l||o.primary["primary-1"]}`:`1px solid ${a||o.neutral["neutral-3"]}`:""};
1618
1629
  background-color: rgba(255, 255, 255, 0.05);
1619
1630
  cursor: pointer;
1620
- `,ul=g.default.input`
1631
+ `,fl=g.default.input`
1621
1632
  ${({inBuiltCss:e,defaultInputStyle:t})=>W(e,t)}
1622
1633
 
1623
1634
  border-bottom: ${({value:e,defaultColor:t,theme:l})=>e.length>0?"none":t};
@@ -1642,17 +1653,17 @@ padding: 8px;
1642
1653
 
1643
1654
  // custom styles
1644
1655
  ${({customInputStyle:e})=>e}
1645
- `,pl=g.default.div`
1656
+ `,ml=g.default.div`
1646
1657
  position: relative;
1647
1658
  width: inherit;
1648
1659
  display: flex;
1649
1660
  margin: 4px;
1650
- `,fl=g.default.div`
1661
+ `,bl=g.default.div`
1651
1662
  padding-left: 2px;
1652
1663
  display: flex;
1653
1664
  justify-content: center;
1654
1665
  cursor: pointer;
1655
- `,ml=({onChange:e,activeColor:a,defaultColor:o,placeholderColor:r,placeholderText:i,customInputStyle:n,pointsArray:c,setPointsArray:s,value:d,setValue:u,valueForSignatureDrawing:p,setValueForSignatureDrawing:f,imageURL:m,setImageURL:g,id:h,...y})=>{const x=l.useTheme()||M,[v,C]=t.useState("default"),[w,S]=t.useState(!1),[E,k]=t.useState(!1),z=t.useRef(null);t.useEffect((()=>{E&&(B(),f(z.current))}),[!0===E]);const V=()=>{u(""),f(z.current),z.current&&z.current.clear(),S(!1),k(!1)},B=()=>(s(z.current.toData()),g(z.current.toDataURL("image/png")),[m,c]);return b.default.createElement(cl,{inBuiltCss:I,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:w,selected:v,activeColor:a,defaultColor:o,theme:x},b.default.createElement(sl,{inBuiltCss:I,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,selected:v,isMyInputFocused:w,signIcon:!0,theme:x},b.default.createElement(dl,{activeColor:a,defaultColor:o,isMyInputFocused:w,theme:x,penIcon:!0,onClick:()=>{C("default"),V()}},b.default.createElement(J,{icon:"pen-icon",color:"default"===v?a||x.primary["primary-1"]:x.black})),b.default.createElement(dl,{activeColor:a,defaultColor:o,theme:x,isMyInputFocused:w,penIcon:!1,onClick:()=>{C("sign"),V()}},b.default.createElement(J,{icon:"sign-icon",color:"default"!==v?a||x.primary["primary-1"]:x.black}))),b.default.createElement(sl,{inBuiltCss:I,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,theme:x,selected:v,isMyInputFocused:w,signIcon:!1,onTouchStart:()=>{}},"default"===v?b.default.createElement(ul,{inBuiltCss:I,defaultInputStyle:"signature-input-text",placeholder:i,placeholderColor:r,customInputStyle:n,onBlur:()=>S(!1),onFocus:()=>S(!0),id:h,value:d,defaultColor:o,theme:x,onChange:e=>u(e.target.value)}):b.default.createElement(pl,{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),onClick:()=>{k(!0),B()}},b.default.createElement(A.default,{ref:z,id:h,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(d||E)&&b.default.createElement(fl,{selected:v,onClick:()=>V()},b.default.createElement(J,{icon:"cross-icon",color:o||x.neutral["neutral-3"]}))))};ml.propTypes={activeColor:m.default.string,defaultColor:m.default.string,placeholderColor:m.default.string,placeholderText:m.default.string,customInputStyle:m.default.object,pointsArray:m.default.any,setPointsArray:m.default.func,value:m.default.string,setValue:m.default.func,imageURL:m.default.string,setImageURL:m.default.func,id:m.default.string},ml.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const bl=g.default.div`
1666
+ `,gl=({onChange:e,activeColor:a,defaultColor:o,placeholderColor:r,placeholderText:i,customInputStyle:n,pointsArray:c,setPointsArray:s,value:d,setValue:u,valueForSignatureDrawing:p,setValueForSignatureDrawing:f,imageURL:m,setImageURL:g,id:h,...y})=>{const x=l.useTheme()||M,[v,C]=t.useState("default"),[w,S]=t.useState(!1),[E,k]=t.useState(!1),z=t.useRef(null);t.useEffect((()=>{E&&(B(),f(z.current))}),[!0===E]);const V=()=>{u(""),f(z.current),z.current&&z.current.clear(),S(!1),k(!1)},B=()=>(s(z.current.toData()),g(z.current.toDataURL("image/png")),[m,c]);return b.default.createElement(dl,{inBuiltCss:I,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:w,selected:v,activeColor:a,defaultColor:o,theme:x},b.default.createElement(ul,{inBuiltCss:I,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,selected:v,isMyInputFocused:w,signIcon:!0,theme:x},b.default.createElement(pl,{activeColor:a,defaultColor:o,isMyInputFocused:w,theme:x,penIcon:!0,onClick:()=>{C("default"),V()}},b.default.createElement(J,{icon:"pen-icon",color:"default"===v?a||x.primary["primary-1"]:x.black})),b.default.createElement(pl,{activeColor:a,defaultColor:o,theme:x,isMyInputFocused:w,penIcon:!1,onClick:()=>{C("sign"),V()}},b.default.createElement(J,{icon:"sign-icon",color:"default"!==v?a||x.primary["primary-1"]:x.black}))),b.default.createElement(ul,{inBuiltCss:I,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,theme:x,selected:v,isMyInputFocused:w,signIcon:!1,onTouchStart:()=>{}},"default"===v?b.default.createElement(fl,{inBuiltCss:I,defaultInputStyle:"signature-input-text",placeholder:i,placeholderColor:r,customInputStyle:n,onBlur:()=>S(!1),onFocus:()=>S(!0),id:h,value:d,defaultColor:o,theme:x,onChange:e=>u(e.target.value)}):b.default.createElement(ml,{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),onClick:()=>{k(!0),B()}},b.default.createElement(A.default,{ref:z,id:h,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(d||E)&&b.default.createElement(bl,{selected:v,onClick:()=>V()},b.default.createElement(J,{icon:"cross-icon",color:o||x.neutral["neutral-3"]}))))};gl.propTypes={activeColor:m.default.string,defaultColor:m.default.string,placeholderColor:m.default.string,placeholderText:m.default.string,customInputStyle:m.default.object,pointsArray:m.default.any,setPointsArray:m.default.func,value:m.default.string,setValue:m.default.func,imageURL:m.default.string,setImageURL:m.default.func,id:m.default.string},gl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const hl=g.default.div`
1656
1667
  background-color: ${({theme:e})=>e.bgColor};
1657
1668
  //Set the styles from the default styles object
1658
1669
  ${({inBuiltCss:e,defaultWrapperStyle:t})=>W(e,t)}
@@ -1674,19 +1685,19 @@ padding: 8px;
1674
1685
 
1675
1686
  // custom styles
1676
1687
  ${({textAreaStyle:e})=>e}
1677
- `,gl=g.default.textarea`
1688
+ `,yl=g.default.textarea`
1678
1689
  //Set the styles from the default styles object
1679
1690
  ${({inBuiltCss:e,defaultInputStyle:t})=>W(e,t)}
1680
1691
  margin: 0;
1681
1692
  overflow: auto;
1682
1693
  resize: vertical // custom styles
1683
1694
  ${({inputStyle:e})=>e};
1684
- `,hl=l.css`
1695
+ `,xl=l.css`
1685
1696
  display: flex;
1686
1697
  gap: 7px;
1687
1698
  align-items: center;
1688
- `,yl=g.default.div`
1689
- ${({labelInline:e})=>e?hl:null}
1699
+ `,vl=g.default.div`
1700
+ ${({labelInline:e})=>e?xl:null}
1690
1701
  ${({customStylesForm:e})=>{if(e)return{...e}}}
1691
1702
  position: relative;
1692
1703
  .err-text {
@@ -1694,7 +1705,7 @@ padding: 8px;
1694
1705
  margin-top: 5px;
1695
1706
  font-size: 10px;
1696
1707
  }
1697
- `,xl=b.default.forwardRef((({customStylesForm:e,textAreaStyle:t,labelStyle:a,inputStyle:o,errMsg:r,required:i,label:n,labelInline:c,iconBefore:s,iconAfter:d,isValid:u,rows:p,cols:f,id:m,...g},h)=>{const y=l.useTheme()||M;return b.default.createElement(yl,S({labelInline:c,customStylesForm:e,theme:y},g),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ne,S({customStyles:a,type:"label-text",labelInline:c,text:n,errMsg:r,style:{display:"flex",marginBottom:""+(c?"":"7px"),paddingBottom:"0px"}},g)),i&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),b.default.createElement(bl,S({theme:y,required:i,textAreaStyle:t,isValid:u,inBuiltCss:I,defaultWrapperStyle:"textbox-wrapper"},g),b.default.createElement("div",{className:"input-icon"},s),b.default.createElement(gl,S({ref:h,inputStyle:o,defaultInputStyle:"textarea-wrapper",cols:f,rows:p,inBuiltCss:I,id:m},g,{size:"1"})),b.default.createElement("div",{className:"input-icon"},d)),b.default.createElement("div",{className:"err-text"},r))}));xl.propTypes={rows:m.default.number,label:m.default.string,required:m.default.bool,labelInline:m.default.bool,errMsg:m.default.string,iconBefore:m.default.any,iconAfter:m.default.any,textAreaStyle:m.default.object,labelStyle:m.default.object,inputStyle:m.default.object,id:m.default.string},xl.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const vl=g.default.div`
1708
+ `,Al=b.default.forwardRef((({customStylesForm:e,textAreaStyle:t,labelStyle:a,inputStyle:o,errMsg:r,required:i,label:n,labelInline:c,iconBefore:s,iconAfter:d,isValid:u,rows:p,cols:f,id:m,...g},h)=>{const y=l.useTheme()||M;return b.default.createElement(vl,S({labelInline:c,customStylesForm:e,theme:y},g),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ke,S({customStyles:a,type:"label-text",labelInline:c,text:n,errMsg:r,style:{display:"flex",marginBottom:""+(c?"":"7px"),paddingBottom:"0px"}},g)),i&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),b.default.createElement(hl,S({theme:y,required:i,textAreaStyle:t,isValid:u,inBuiltCss:I,defaultWrapperStyle:"textbox-wrapper"},g),b.default.createElement("div",{className:"input-icon"},s),b.default.createElement(yl,S({ref:h,inputStyle:o,defaultInputStyle:"textarea-wrapper",cols:f,rows:p,inBuiltCss:I,id:m},g,{size:"1"})),b.default.createElement("div",{className:"input-icon"},d)),b.default.createElement("div",{className:"err-text"},r))}));Al.propTypes={rows:m.default.number,label:m.default.string,required:m.default.bool,labelInline:m.default.bool,errMsg:m.default.string,iconBefore:m.default.any,iconAfter:m.default.any,textAreaStyle:m.default.object,labelStyle:m.default.object,inputStyle:m.default.object,id:m.default.string},Al.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const Cl=g.default.div`
1698
1709
  color: #a9b1b8;
1699
1710
  font-size: 21px;
1700
1711
  border: 1px solid
@@ -1708,7 +1719,7 @@ padding: 8px;
1708
1719
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
1709
1720
  outline: none;
1710
1721
  }
1711
- `,Al=g.default.input`
1722
+ `,wl=g.default.input`
1712
1723
  border: 0;
1713
1724
  outline: 0;
1714
1725
  color: ${({theme:e})=>e.variant["primary-2"]};
@@ -1718,23 +1729,23 @@ padding: 8px;
1718
1729
  width: 24px;
1719
1730
  text-align:center;
1720
1731
  background-color: ${({theme:e})=>e.bgColor};
1721
- `,Cl=l.css`
1732
+ `,Sl=l.css`
1722
1733
  &:after {
1723
1734
  content: ' *';
1724
1735
  color: ${({theme:e})=>e.variant.error};
1725
1736
  }
1726
- `,wl=g.default.label`
1737
+ `,El=g.default.label`
1727
1738
  display: block;
1728
1739
  margin-bottom: ${({labelInline:e,errMsg:t})=>e&&t?"18px":"7px"};
1729
1740
  margin-right: ${({labelInline:e})=>e?"7px":""};
1730
1741
  color: ${({theme:e})=>e.variant["neutral-2"]};
1731
- ${({required:e})=>e?Cl:null}
1742
+ ${({required:e})=>e?Sl:null}
1732
1743
  padding-bottom: 0px;
1733
- `,Sl=l.css`
1744
+ `,kl=l.css`
1734
1745
  display: flex;
1735
1746
  align-items: center;
1736
- `,El=g.default.div`
1737
- ${({labelInline:e})=>e?Sl:null}
1747
+ `,zl=g.default.div`
1748
+ ${({labelInline:e})=>e?kl:null}
1738
1749
  .err-text {
1739
1750
  color: ${({theme:e})=>e.variant.error};
1740
1751
  margin-top: 5px;
@@ -1744,7 +1755,7 @@ padding: 8px;
1744
1755
  > div {
1745
1756
  flex: 1 0 auto;
1746
1757
  }
1747
- `,kl=g.default.button`
1758
+ `,Vl=g.default.button`
1748
1759
  border: none;
1749
1760
  outline: none;
1750
1761
  border-radius: 4px;
@@ -1753,9 +1764,9 @@ padding: 8px;
1753
1764
  padding: 5px 6px;
1754
1765
  font-size: 18px;
1755
1766
  cursor: pointer;
1756
- `,zl=({label:e,errMsg:t,hour:a,minute:o,period:r,onChange:i,id:n,...c})=>{const s=l.useTheme()||M;return b.default.createElement(El,S({theme:s},c),b.default.createElement(wl,S({theme:s},c,{errMsg:t}),e),b.default.createElement("div",null,b.default.createElement(vl,S({theme:s,id:n},c),b.default.createElement(Al,{theme:s,value:a,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;i({hour:t,minute:o,period:r})}}),":",b.default.createElement(Al,{theme:s,value:o,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;i({hour:a,minute:t,period:r})}}),b.default.createElement(kl,{theme:s,onClick:function(e){i({hour:a,minute:o,period:"AM"===r?"PM":"AM"})}},r)),b.default.createElement("div",{className:"err-text"},t)))};zl.propTypes={label:m.default.string,hour:m.default.number.isRequired,minute:m.default.number.isRequired,period:m.default.string.isRequired,required:m.default.bool,labelInline:m.default.bool,isValid:m.default.bool,errMsg:m.default.string,id:m.default.string},zl.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Vl=g.default.div`
1767
+ `,Bl=({label:e,errMsg:t,hour:a,minute:o,period:r,onChange:i,id:n,...c})=>{const s=l.useTheme()||M;return b.default.createElement(zl,S({theme:s},c),b.default.createElement(El,S({theme:s},c,{errMsg:t}),e),b.default.createElement("div",null,b.default.createElement(Cl,S({theme:s,id:n},c),b.default.createElement(wl,{theme:s,value:a,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;i({hour:t,minute:o,period:r})}}),":",b.default.createElement(wl,{theme:s,value:o,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;i({hour:a,minute:t,period:r})}}),b.default.createElement(Vl,{theme:s,onClick:function(e){i({hour:a,minute:o,period:"AM"===r?"PM":"AM"})}},r)),b.default.createElement("div",{className:"err-text"},t)))};Bl.propTypes={label:m.default.string,hour:m.default.number.isRequired,minute:m.default.number.isRequired,period:m.default.string.isRequired,required:m.default.bool,labelInline:m.default.bool,isValid:m.default.bool,errMsg:m.default.string,id:m.default.string},Bl.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Ml=g.default.div`
1757
1768
  ${({inBuiltCss:e,defaultCheckBoxWrapperStyle:t})=>W(e,t)}
1758
- `,Bl=g.default.label`
1769
+ `,Il=g.default.label`
1759
1770
 
1760
1771
  left: ${({labelPosition:e})=>"right"===e?"initial":"50px"};
1761
1772
  margin-right: ${({labelPosition:e})=>"left"===e?"30px":"0px"};
@@ -1781,7 +1792,7 @@ padding: 8px;
1781
1792
  // custom styles
1782
1793
  ${({customSwitchStyle:e})=>e}
1783
1794
  }
1784
- `,Ml=g.default.input.attrs({type:"checkbox"})`
1795
+ `,Wl=g.default.input.attrs({type:"checkbox"})`
1785
1796
  opacity: 0;
1786
1797
  z-index: 1;
1787
1798
  border-radius: 31px;
@@ -1792,7 +1803,7 @@ padding: 8px;
1792
1803
  left: ${({labelPosition:e})=>"right"===e?"initial":"50px"};
1793
1804
 
1794
1805
 
1795
- `,Il=g.default.span`
1806
+ `,Rl=g.default.span`
1796
1807
 
1797
1808
  margin-right: ${({labelPosition:e})=>"30px"};
1798
1809
 
@@ -1801,34 +1812,34 @@ padding: 8px;
1801
1812
 
1802
1813
  // custom styles
1803
1814
  ${({optionStyle:e})=>e}
1804
- `,Wl=({checked:e,customSwitchStyle:t,customToggleBoxStyle:a,backgroundColor:o,disabledColor:r,switchColor:i,onClick:n,trueLabel:c,falseLabel:s,optionStyle:d,labelPosition:u,id:p,isDisabled:f,...m})=>{const g=l.useTheme()||M;return b.default.createElement(Vl,S({inBuiltCss:I,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},m),"left"===u&&b.default.createElement(Il,S({optionStyle:d,inBuiltCss:I,labelPosition:u,defaultOptionTextStyle:"toggle-switch-option-text"},m),e?c:s),b.default.createElement(Ml,S({},m,{labelPosition:u,id:p,inBuiltCss:I,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{n(!e)},isChecked:e,disabled:f,isDisabled:f})),b.default.createElement(Bl,S({},m,{labelPosition:u,htmlFor:p,customToggleBoxStyle:a,customSwitchStyle:t,disabledColor:r,backgroundColor:o,switchColor:i,inBuiltCss:I,defaultCheckBoxLabelStyle:"toggle-switch-checkbox-label",checked:e,theme:g,isDisabled:f})),"right"===u&&b.default.createElement(Il,S({optionStyle:d,inBuiltCss:I,labelPosition:u,defaultOptionTextStyle:"toggle-switch-option-text"},m),e?c:s))};Wl.propTypes={customToggleBoxStyle:m.default.object,customSwitchStyle:m.default.object,backgroundColor:m.default.string,checked:m.default.bool,trueLabel:m.default.string,falseLabel:m.default.string,id:m.default.string,labelPosition:m.default.string,isDisabled:m.default.bool},Wl.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Rl=g.default.div`
1815
+ `,Tl=({checked:e,customSwitchStyle:t,customToggleBoxStyle:a,backgroundColor:o,disabledColor:r,switchColor:i,onClick:n,trueLabel:c,falseLabel:s,optionStyle:d,labelPosition:u,id:p,isDisabled:f,...m})=>{const g=l.useTheme()||M;return b.default.createElement(Ml,S({inBuiltCss:I,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},m),"left"===u&&b.default.createElement(Rl,S({optionStyle:d,inBuiltCss:I,labelPosition:u,defaultOptionTextStyle:"toggle-switch-option-text"},m),e?c:s),b.default.createElement(Wl,S({},m,{labelPosition:u,id:p,inBuiltCss:I,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{n(!e)},isChecked:e,disabled:f,isDisabled:f})),b.default.createElement(Il,S({},m,{labelPosition:u,htmlFor:p,customToggleBoxStyle:a,customSwitchStyle:t,disabledColor:r,backgroundColor:o,switchColor:i,inBuiltCss:I,defaultCheckBoxLabelStyle:"toggle-switch-checkbox-label",checked:e,theme:g,isDisabled:f})),"right"===u&&b.default.createElement(Rl,S({optionStyle:d,inBuiltCss:I,labelPosition:u,defaultOptionTextStyle:"toggle-switch-option-text"},m),e?c:s))};Tl.propTypes={customToggleBoxStyle:m.default.object,customSwitchStyle:m.default.object,backgroundColor:m.default.string,checked:m.default.bool,trueLabel:m.default.string,falseLabel:m.default.string,id:m.default.string,labelPosition:m.default.string,isDisabled:m.default.bool},Tl.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Ll=g.default.div`
1805
1816
  background-color: ${({theme:e})=>e.bgColor};
1806
1817
  padding: 24px 8px;
1807
1818
  ${({commentBodyStyle:e})=>e};
1808
- `,Tl=g.default.div`
1819
+ `,Pl=g.default.div`
1809
1820
  display: flex;
1810
1821
  flex-direction: column;
1811
1822
  margin-bottom: 24px;
1812
1823
  ${({commentWrapperStyle:e})=>e};
1813
- `,Ll=g.default.div`
1824
+ `,Hl=g.default.div`
1814
1825
  display: flex;
1815
1826
  flex-direction: row;
1816
1827
  width: 100%;
1817
1828
  justify-content: flex-start;
1818
1829
  align-items: center;
1819
1830
  ${({commentHeadStyle:e})=>e};
1820
- `,Pl=g.default.span`
1831
+ `,jl=g.default.span`
1821
1832
  margin-left: 24px;
1822
1833
  font-size: 14px;
1823
1834
  color: ${({theme:e})=>e.variant["neutral-2"]};
1824
1835
  font-weight: 400;
1825
1836
  ${({dateTimeStyle:e})=>e};
1826
- `,Hl=g.default.span`
1837
+ `,ql=g.default.span`
1827
1838
  margin: 0.75rem 0 0 3rem;
1828
1839
  font-size: 16px;
1829
1840
  color: ${M.variant["graph-6"]};
1830
1841
  ${({commentDivStyle:e})=>e};
1831
- `,jl=g.default.div`
1842
+ `,Fl=g.default.div`
1832
1843
  display: flex;
1833
1844
  justify-content: flex-start;
1834
1845
  align-items: start;
@@ -1837,13 +1848,13 @@ padding: 8px;
1837
1848
  padding: 16px 24px;
1838
1849
  border-radius: 0px 0px 4px 4px;
1839
1850
  ${({inputWrapperStyle:e})=>e};
1840
- `,ql=g.default.div`
1851
+ `,Ol=g.default.div`
1841
1852
  display: inline-flex;
1842
1853
  margin-top: 16px;
1843
- `,Fl=g.default.div`
1854
+ `,Zl=g.default.div`
1844
1855
  width: 100%;
1845
1856
  margin-left: 16px;
1846
- `,Ol=({inputValue:e,setInputValue:a,commentArray:o,commentBodyStyle:r,commentWrapperStyle:i,commentHeadStyle:n,dateTimeStyle:c,commentDivStyle:s,inputWrapperStyle:d,onSave:u,myInfo:p,placeholder:f,...m})=>{const g=l.useTheme()||M,[h,y]=t.useState(!1);return b.default.createElement(Rl,{commentBodyStyle:r,theme:g},o.map(((e,t)=>{const{name:l,date:a,comment:o,image:r}=e;return b.default.createElement(Tl,{key:t,commentWrapperStyle:i},b.default.createElement(Ll,{commentHeadStyle:n},b.default.createElement(ie,S({user:{fullName:l,userName:l,url:r},toggleName:!0,size:"LG"},m)),b.default.createElement(Pl,{dateTimeStyle:c,theme:g},a)),b.default.createElement(Hl,{commentDivStyle:s},o))})),b.default.createElement(jl,{theme:g,inputWrapperStyle:d},b.default.createElement(ie,{user:{fullName:p?.fullName,userName:p?.userName,url:p?.url},toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}}),b.default.createElement(Fl,null,b.default.createElement(il,{value:e,onChange:e=>a(e.target.value),placeholder:f,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>y(!0)}),h&&b.default.createElement(ql,null,b.default.createElement(Be,S({size:"sm",onClick:u},m),"Save"),b.default.createElement(Ee,{size:"sm",btnStyle:{color:g.variant["neutral-1"]},onClick:e=>y(!1)},"Cancel")))))};Ol.propTypes={commentBodyStyle:m.default.object,commentWrapperStyle:m.default.object,commentHeadStyle:m.default.object,dateTimeStyle:m.default.object,commentDivStyle:m.default.object,inputWrapperStyle:m.default.object,onSave:m.default.func,commentArray:m.default.array,inputValue:m.default.string,setInputValue:m.default.func,myInfo:m.default.object,placeholder:m.default.string},Ol.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:""};const Zl=g.default.div`
1857
+ `,Gl=({inputValue:e,setInputValue:a,commentArray:o,commentBodyStyle:r,commentWrapperStyle:i,commentHeadStyle:n,dateTimeStyle:c,commentDivStyle:s,inputWrapperStyle:d,onSave:u,myInfo:p,placeholder:f,...m})=>{const g=l.useTheme()||M,[h,y]=t.useState(!1);return b.default.createElement(Ll,{commentBodyStyle:r,theme:g},o.map(((e,t)=>{const{name:l,date:a,comment:o,image:r}=e;return b.default.createElement(Pl,{key:t,commentWrapperStyle:i},b.default.createElement(Hl,{commentHeadStyle:n},b.default.createElement(ie,S({user:{fullName:l,userName:l,url:r},toggleName:!0,size:"LG"},m)),b.default.createElement(jl,{dateTimeStyle:c,theme:g},a)),b.default.createElement(ql,{commentDivStyle:s},o))})),b.default.createElement(Fl,{theme:g,inputWrapperStyle:d},b.default.createElement(ie,{user:{fullName:p?.fullName,userName:p?.userName,url:p?.url},toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}}),b.default.createElement(Zl,null,b.default.createElement(cl,{value:e,onChange:e=>a(e.target.value),placeholder:f,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>y(!0)}),h&&b.default.createElement(Ol,null,b.default.createElement(Ie,S({size:"sm",onClick:u},m),"Save"),b.default.createElement(ze,{size:"sm",btnStyle:{color:g.variant["neutral-1"]},onClick:e=>y(!1)},"Cancel")))))};Gl.propTypes={commentBodyStyle:m.default.object,commentWrapperStyle:m.default.object,commentHeadStyle:m.default.object,dateTimeStyle:m.default.object,commentDivStyle:m.default.object,inputWrapperStyle:m.default.object,onSave:m.default.func,commentArray:m.default.array,inputValue:m.default.string,setInputValue:m.default.func,myInfo:m.default.object,placeholder:m.default.string},Gl.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:""};const Xl=g.default.div`
1847
1858
  //Set the styles from the default styles object
1848
1859
  ${({theme:e,type:t})=>W(e,t)}
1849
1860
  @media (max-width: 980px) {
@@ -1851,7 +1862,7 @@ padding: 8px;
1851
1862
  }
1852
1863
  // custom styles
1853
1864
  ${({customStyles:e})=>e}
1854
- `,Gl=({theme:e,type:t,customStyles:l,...a})=>b.default.createElement(Zl,S({theme:e,customStyles:l,type:t},a),a.children);Gl.propTypes={theme:m.default.object,customStyles:m.default.object,type:m.default.string},Gl.defaultProps={theme:I,customStyles:null,type:"content"};const Xl=g.default.div`
1865
+ `,Dl=({theme:e,type:t,customStyles:l,...a})=>b.default.createElement(Xl,S({theme:e,customStyles:l,type:t},a),a.children);Dl.propTypes={theme:m.default.object,customStyles:m.default.object,type:m.default.string},Dl.defaultProps={theme:I,customStyles:null,type:"content"};const Jl=g.default.div`
1855
1866
  width: 100%;
1856
1867
  display: flex;
1857
1868
  flex-direction: column;
@@ -1863,7 +1874,7 @@ padding: 8px;
1863
1874
  button:focus {
1864
1875
  outline: none;
1865
1876
  }
1866
- `,Dl=g.default.div`
1877
+ `,Ul=g.default.div`
1867
1878
  position: relative;
1868
1879
  display: flex;
1869
1880
  width: 100%;
@@ -1947,7 +1958,7 @@ padding: 8px;
1947
1958
  margin-top: 0;
1948
1959
  }
1949
1960
  }
1950
- `,Jl=g.default.span`
1961
+ `,Yl=g.default.span`
1951
1962
  color: #2e56f4;
1952
1963
  font-style: normal;
1953
1964
  font-weight: normal;
@@ -1957,14 +1968,14 @@ padding: 8px;
1957
1968
  margin-top: 37px;
1958
1969
  margin-right: 65px;
1959
1970
  white-space: nowrap;
1960
- `,Ul=g.default.div`
1971
+ `,Ql=g.default.div`
1961
1972
  display: flex;
1962
1973
  flex-direction: column;
1963
1974
  ${""}
1964
1975
  max-width: 1340px;
1965
1976
  width: 100%;
1966
1977
  align-items: center;
1967
- `,Yl=g.default.div`
1978
+ `,Nl=g.default.div`
1968
1979
  position: absolute;
1969
1980
  font-size: 12px;
1970
1981
  border-radius: 50%;
@@ -1981,23 +1992,23 @@ padding: 8px;
1981
1992
  transform: translate(30%, -30%);
1982
1993
  color: white;
1983
1994
  font-weight: 600;
1984
- `,Nl=g.default.div`
1995
+ `,Kl=g.default.div`
1985
1996
  width: 90%;
1986
- `,Ql=g.default.div`
1997
+ `,$l=g.default.div`
1987
1998
  background: linear-gradient(
1988
1999
  0deg,
1989
2000
  hsla(0, 0%, 100%, 1) 20%,
1990
2001
  hsla(0, 0%, 100%, 0.5) 100%
1991
2002
  );
1992
2003
  width: 90%;
1993
- `,Kl=g.default.div`
2004
+ `,_l=g.default.div`
1994
2005
  width: 90%;
1995
- `,$l=g.default.div`
2006
+ `,ea=g.default.div`
1996
2007
  display: flex;
1997
2008
  margin-left: auto !important;
1998
2009
  margin-right: auto !important;
1999
2010
  cursor: pointer;
2000
- `,_l=g.default.div`
2011
+ `,ta=g.default.div`
2001
2012
  display: flex;
2002
2013
  flex-direction: column;
2003
2014
  width: 180px;
@@ -2006,10 +2017,10 @@ padding: 8px;
2006
2017
  border-radius: 6px;
2007
2018
  margin-right: 0.5rem;
2008
2019
  z-index: 999;
2009
- `,ea=g.default.div`
2020
+ `,la=g.default.div`
2010
2021
  margin: 10.5px 13px;
2011
2022
  padding: 0;
2012
- `,ta=g.default.div`
2023
+ `,aa=g.default.div`
2013
2024
  color: #081348;
2014
2025
  padding: 7.7px 6.5px 7.7px 24px;
2015
2026
  margin: 2.5px 13px;
@@ -2027,7 +2038,7 @@ padding: 8px;
2027
2038
  background: #eaeefe;
2028
2039
  border-radius: 5px;
2029
2040
  }
2030
- `,la=g.default.div`
2041
+ `,oa=g.default.div`
2031
2042
  position: relative;
2032
2043
  display: flex;
2033
2044
  width: 100%;
@@ -2111,41 +2122,41 @@ padding: 8px;
2111
2122
  margin-top: 0;
2112
2123
  }
2113
2124
  }
2114
- `,aa=g.default.div`
2125
+ `,ra=g.default.div`
2115
2126
  display: flex;
2116
2127
  justify-content: end;
2117
- `,oa=g.default.div`
2128
+ `,ia=g.default.div`
2118
2129
  display: flex;
2119
2130
  justify-content: center;
2120
2131
  flex-direction: row;
2121
2132
  align-items: flex-start;
2122
2133
  gap: 20px;
2123
- `,ra=g.default.div`
2134
+ `,na=g.default.div`
2124
2135
  width: 48;
2125
2136
  max-width: 48%;
2126
2137
  min-width: 48%;
2127
2138
 
2128
- `,ia=g.default.form`
2139
+ `,ca=g.default.form`
2129
2140
  width: 40vw;
2130
2141
  display: flex;
2131
2142
  justify-content: center;
2132
2143
  flex-direction: column;
2133
2144
  gap: 20px;
2134
2145
  ${({customStyles:e})=>e}
2135
- `,na=({customStyles:e,children:t})=>b.default.createElement(ia,{customStyles:e},t),ca=g.default.div`
2146
+ `,sa=({customStyles:e,children:t})=>b.default.createElement(ca,{customStyles:e},t),da=g.default.div`
2136
2147
  display: ${({vertical:e})=>e?"inline-block":"block"};
2137
2148
  background: ${({theme:e,borderColor:t})=>t||e.neutral["neutral-5"]};
2138
2149
  content: '';
2139
2150
  height: ${({vertical:e,thickness:t,height:l})=>e?l:t};
2140
2151
  width: ${({vertical:e,thickness:t})=>e?t:null};
2141
- `,sa=({vertical:e,borderColor:t,thickness:a,height:o,...r})=>{const i=l.useTheme()||M;return b.default.createElement(ca,S({theme:i,borderColor:t,thickness:a,vertical:e,height:o},r))};sa.propTypes={thickness:m.default.string,borderColor:m.default.string,vertical:m.default.bool,height:m.default.string},sa.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const da=g.default.div`
2152
+ `,ua=({vertical:e,borderColor:t,thickness:a,height:o,...r})=>{const i=l.useTheme()||M;return b.default.createElement(da,S({theme:i,borderColor:t,thickness:a,vertical:e,height:o},r))};ua.propTypes={thickness:m.default.string,borderColor:m.default.string,vertical:m.default.bool,height:m.default.string},ua.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const pa=g.default.div`
2142
2153
  //Set the styles from the default styles object
2143
2154
  ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])delete e.common[l],o[l]=e[t][l];o=l?{...o,...e["drawer-open"]}:{...o,...e["drawer-close"]}}return{...o,...a}}}}
2144
- `,ua=({customStyles:e,drawerOpen:l,setDrawerOpen:a,children:o,...r})=>{const i=t.useRef(null);var n;return n=i,t.useEffect((()=>{function e(e){n.current&&!n.current.contains(e.target)&&a(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[n]),b.default.createElement("div",{ref:i},b.default.createElement(da,S({inBuiltCss:I,customStyles:e,type:"drawer",drawerOpen:l},r),o))};ua.propTypes={customStyles:m.default.object,drawerOpen:m.default.bool,setDrawerOpen:m.default.func},ua.defaultProps={setDrawerOpen:()=>null};class pa extends t.Component{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;var l=b.default.createElement(t.Fragment,null,b.default.createElement("h3",null,b.default.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"},b.default.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."),b.default.createElement(Be,{onClick:()=>this.refreshPage()},"Click to refresh"));return e?l:this.props.children}}pa.propTypes={children:m.default.any};const fa=l.css`
2155
+ `,fa=({customStyles:e,drawerOpen:l,setDrawerOpen:a,children:o,...r})=>{const i=t.useRef(null);var n;return n=i,t.useEffect((()=>{function e(e){n.current&&!n.current.contains(e.target)&&a(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[n]),b.default.createElement("div",{ref:i},b.default.createElement(pa,S({inBuiltCss:I,customStyles:e,type:"drawer",drawerOpen:l},r),o))};fa.propTypes={customStyles:m.default.object,drawerOpen:m.default.bool,setDrawerOpen:m.default.func},fa.defaultProps={setDrawerOpen:()=>null};class ma extends t.Component{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;var l=b.default.createElement(t.Fragment,null,b.default.createElement("h3",null,b.default.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"},b.default.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."),b.default.createElement(Ie,{onClick:()=>this.refreshPage()},"Click to refresh"));return e?l:this.props.children}}ma.propTypes={children:m.default.any};const ba=l.css`
2145
2156
  color: ${({theme:e})=>e.variant["primary-1"]};
2146
2157
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
2147
2158
  background: ${({theme:e})=>R(e.primary["primary-1"],.04)};
2148
- `,ma=g.default.button`
2159
+ `,ga=g.default.button`
2149
2160
  font-size: 14px;
2150
2161
  color: ${({theme:e})=>e.variant["primary-2"]};
2151
2162
  background: ${({theme:e})=>R(e.variant["neutral-5"],.7)};
@@ -2155,19 +2166,19 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:a})=>{if(e){let o={};if(e[t]){
2155
2166
  outline: none;
2156
2167
  cursor: ${({disabled:e})=>e?"default":"pointer"};
2157
2168
 
2158
- ${({selected:e})=>e?fa:null}
2169
+ ${({selected:e})=>e?ba:null}
2159
2170
  ${({customStyles:e})=>e}
2160
2171
 
2161
2172
 
2162
2173
  &:not(:first-child) {
2163
2174
  margin-left: 8px;
2164
2175
  }
2165
- `,ba=({options:e,selected:t,onClick:a,customStyles:o,disabled:r,...i})=>{const n=l.useTheme()||M,c=e.map(((e,l)=>b.default.createElement(ma,{theme:n,key:`${e.label}_${l}_${e.value}`,selected:t===e.value,onClick:()=>{a(e.value)},customStyles:o,disabled:r},e.label)));return b.default.createElement(b.default.Fragment,null,c)};ba.propTypes={options:m.default.array,selected:m.default.string,onClick:m.default.func,customStyles:m.default.object,disabled:m.default.bool},ba.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const ga=g.default.footer`
2176
+ `,ha=({options:e,selected:t,onClick:a,customStyles:o,disabled:r,...i})=>{const n=l.useTheme()||M,c=e.map(((e,l)=>b.default.createElement(ga,{theme:n,key:`${e.label}_${l}_${e.value}`,selected:t===e.value,onClick:()=>{a(e.value)},customStyles:o,disabled:r},e.label)));return b.default.createElement(b.default.Fragment,null,c)};ha.propTypes={options:m.default.array,selected:m.default.string,onClick:m.default.func,customStyles:m.default.object,disabled:m.default.bool},ha.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const ya=g.default.footer`
2166
2177
  //Set the styles from the default styles object
2167
2178
  ${({theme:e,type:t})=>W(e,t)}
2168
2179
  // custom styles
2169
2180
  ${({customStyles:e})=>e}
2170
- `,ha=t.forwardRef((({theme:e,customStyles:t,...l},a)=>b.default.createElement(ga,S({ref:a,theme:e,type:"footer",customStyles:t},l),l.children)));ha.propTypes={theme:m.default.object,customStyles:m.default.object,type:m.default.string},ga.defaultProps={theme:m.default.object},ha.defaultProps={theme:I,customStyles:null};const ya=g.default.div`
2181
+ `,xa=t.forwardRef((({theme:e,customStyles:t,...l},a)=>b.default.createElement(ya,S({ref:a,theme:e,type:"footer",customStyles:t},l),l.children)));xa.propTypes={theme:m.default.object,customStyles:m.default.object,type:m.default.string},ya.defaultProps={theme:m.default.object},xa.defaultProps={theme:I,customStyles:null};const va=g.default.div`
2171
2182
  font-size: 14px;
2172
2183
  background-color: transparent;
2173
2184
  display: flex;
@@ -2180,10 +2191,16 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:a})=>{if(e){let o={};if(e[t]){
2180
2191
  font-family: 'Averta', sans-serif;
2181
2192
  cursor: default;
2182
2193
  width: inherit;
2194
+ @media (max-width: 576px) {
2195
+ justify-content: center;
2196
+ align-items: center;
2197
+ flex-wrap: wrap;
2198
+ }
2199
+
2183
2200
  ${({footerWidth:e})=>{if(e<650)return l.css`
2184
2201
  flex-direction: column;
2185
2202
  `}}
2186
- `,xa=g.default.div`
2203
+ `,Aa=g.default.div`
2187
2204
  display: flex;
2188
2205
  ${({footerWidth:e})=>{if(e<650)return l.css`
2189
2206
  margin-bottom: 5px;
@@ -2193,18 +2210,18 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:a})=>{if(e){let o={};if(e[t]){
2193
2210
  align-items: center;
2194
2211
  margin-bottom: 0;
2195
2212
  `}}
2196
- `,va=g.default.div`
2213
+ `,Ca=g.default.div`
2197
2214
  margin-top: inherit;
2198
2215
  margin-bottom: inherit;
2199
2216
  ${({footerWidth:e})=>{if(e<350)return l.css`
2200
2217
  margin-bottom: 5px;
2201
2218
  `}}
2202
- `,Aa=g.default.div`
2219
+ `,wa=g.default.div`
2203
2220
  margin: 0 10px;
2204
2221
  ${({footerWidth:e})=>{if(e<350)return l.css`
2205
2222
  display: none;
2206
2223
  `}}
2207
- `,Ca=g.default.header`
2224
+ `,Sa=g.default.header`
2208
2225
 
2209
2226
  background-color: ${({theme:e})=>e.bgColor};
2210
2227
  border-bottom: 0.5px solid ${({theme:e})=>e.variant["neutral-3"]};
@@ -2212,7 +2229,7 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:a})=>{if(e){let o={};if(e[t]){
2212
2229
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2213
2230
  // custom styles
2214
2231
  ${({customStyles:e})=>e}
2215
- `,wa=({type:e,customStyles:t,...a})=>{const o=l.useTheme()||M;return b.default.createElement(Ca,S({theme:o,type:"header",customStyles:t,inBuiltCss:I},a),a.children)};wa.propTypes={customStyles:m.default.object,type:m.default.string},wa.defaultProps={type:"header",customStyles:null};const Sa=g.default.div`
2232
+ `,Ea=({type:e,customStyles:t,...a})=>{const o=l.useTheme()||M;return b.default.createElement(Sa,S({theme:o,type:"header",customStyles:t,inBuiltCss:I},a),a.children)};Ea.propTypes={customStyles:m.default.object,type:m.default.string},Ea.defaultProps={type:"header",customStyles:null};const ka=g.default.div`
2216
2233
  box-sizing: border-box;
2217
2234
  display: flex;
2218
2235
  justify-content: center;
@@ -2220,8 +2237,8 @@ ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:a})=>{if(e){let o={};if(e[t]){
2220
2237
  width: auto;
2221
2238
 
2222
2239
  ${({size:e})=>l.css`height: ${e}px;`}
2223
- `,Ea=g.default.div`
2224
- `,ka=g.default.div`
2240
+ `,za=g.default.div`
2241
+ `,Va=g.default.div`
2225
2242
  box-sizing: border-box;
2226
2243
  display: flex;
2227
2244
  justify-content: center;
@@ -2250,11 +2267,11 @@ svg {
2250
2267
  `}
2251
2268
  }
2252
2269
  }
2253
- `,za=({theme:e,toggleSet:t,slide:l,color:a,size:o,transform:r,ratingValue:i,starVal:n,hover:c,...s})=>b.default.createElement(ka,S({theme:e,ratingValue:i,starVal:n,hover:c,toggleSet:t,color:a,size:o,transform:r},s),b.default.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"},b.default.createElement("defs",null,b.default.createElement("clipPath",{id:"starFilled"},b.default.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"}))),b.default.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),b.default.createElement("rect",{x:l,y:"0",fill:a,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function Va(e,t){let l=5*e/t;const a=[],o=l;for(let e=0;e<5;e++){if(l-1>=0)a.push("0");else if(l-1<0&&l-1>-1){const e=(24*l-24).toString();a.push(e)}else a.push("-24");l-=1}return{array:a,value:o}}function Ba(e,t){return 100*e/t}const Ma=({type:e,customStylesContainer:a,customStylesStar:o,customStylesPercentage:r,color:i,size:n,handleClick:c,transform:s,maxRange:d,value:u,toggleStar:p,toggleSet:f,identifier:m,...g})=>{l.useTheme();const[h,y]=t.useState(void 0),[x,v]=t.useState(void 0),[A,C]=t.useState(void 0),[w,E]=t.useState(void 0);t.useEffect((()=>{y(Va(u,d).array),v(Va(u,d).value),C(Ba(u,d))}),[u,d]),t.useEffect((()=>{w?y(Va(w,d).array):(y(Va(u,d).array),v(Va(u,d).value),C(Ba(u,d)))}),[w]);const k=b.default.createElement(b.default.Fragment,null,h?.map(((e,t)=>{const l=20*(t+1);return b.default.createElement(za,{ratingValue:l,starVal:x,hover:w,toggleSet:f,onClick:f?()=>c(l):null,onMouseEnter:f?()=>{E(l)}:null,onMouseLeave:f?()=>{E(null)}:null,slide:e,color:i,className:"star",size:n,transform:s,key:m?.concat(t),customStyles:o})})));return b.default.createElement(Sa,S({customStyles:a,type:e,size:n},g,{className:"container"}),p?k:b.default.createElement(Ea,{type:e,customStyles:r},A,"%"))};Ma.propTypes={customStylesContainer:m.default.object,customStylesStar:m.default.object,customStylesPercentage:m.default.object,type:m.default.string,color:m.default.string,size:m.default.number,transform:m.default.object,handleClick:m.default.func,maxRange:m.default.number,value:m.default.number,toggleStar:m.default.bool,toggleSet:m.default.bool,identifier:m.default.string},Ma.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Ia=g.default.div`
2270
+ `,Ba=({theme:e,toggleSet:t,slide:l,color:a,size:o,transform:r,ratingValue:i,starVal:n,hover:c,...s})=>b.default.createElement(Va,S({theme:e,ratingValue:i,starVal:n,hover:c,toggleSet:t,color:a,size:o,transform:r},s),b.default.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"},b.default.createElement("defs",null,b.default.createElement("clipPath",{id:"starFilled"},b.default.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"}))),b.default.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),b.default.createElement("rect",{x:l,y:"0",fill:a,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function Ma(e,t){let l=5*e/t;const a=[],o=l;for(let e=0;e<5;e++){if(l-1>=0)a.push("0");else if(l-1<0&&l-1>-1){const e=(24*l-24).toString();a.push(e)}else a.push("-24");l-=1}return{array:a,value:o}}function Ia(e,t){return 100*e/t}const Wa=({type:e,customStylesContainer:a,customStylesStar:o,customStylesPercentage:r,color:i,size:n,handleClick:c,transform:s,maxRange:d,value:u,toggleStar:p,toggleSet:f,identifier:m,...g})=>{l.useTheme();const[h,y]=t.useState(void 0),[x,v]=t.useState(void 0),[A,C]=t.useState(void 0),[w,E]=t.useState(void 0);t.useEffect((()=>{y(Ma(u,d).array),v(Ma(u,d).value),C(Ia(u,d))}),[u,d]),t.useEffect((()=>{w?y(Ma(w,d).array):(y(Ma(u,d).array),v(Ma(u,d).value),C(Ia(u,d)))}),[w]);const k=b.default.createElement(b.default.Fragment,null,h?.map(((e,t)=>{const l=20*(t+1);return b.default.createElement(Ba,{ratingValue:l,starVal:x,hover:w,toggleSet:f,onClick:f?()=>c(l):null,onMouseEnter:f?()=>{E(l)}:null,onMouseLeave:f?()=>{E(null)}:null,slide:e,color:i,className:"star",size:n,transform:s,key:m?.concat(t),customStyles:o})})));return b.default.createElement(ka,S({customStyles:a,type:e,size:n},g,{className:"container"}),p?k:b.default.createElement(za,{type:e,customStyles:r},A,"%"))};Wa.propTypes={customStylesContainer:m.default.object,customStylesStar:m.default.object,customStylesPercentage:m.default.object,type:m.default.string,color:m.default.string,size:m.default.number,transform:m.default.object,handleClick:m.default.func,maxRange:m.default.number,value:m.default.number,toggleStar:m.default.bool,toggleSet:m.default.bool,identifier:m.default.string},Wa.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Ra=g.default.div`
2254
2271
  .form-check-input {
2255
2272
  accent-color: ${({theme:e})=>e.primary["primary-1"]};
2256
2273
  }
2257
- `,Wa=({customStyles:e,inBuiltCss:t,type:a="table",sortIcon:o,data:r,tableColumns:i,progressPending:n,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:u,responsive:p,conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:g,checkboxColor:h,...y})=>{let x={};if(t&&t[a]&&(x=t[a]),e)for(const t in e)x[t]=e[t];const v=l.useTheme()||M,A=b.default.forwardRef((({onClick:e,...t},l)=>b.default.createElement(Ia,{theme:v},b.default.createElement("input",S({type:"checkbox",className:"form-check-input",ref:l,onClick:e},t)))));return b.default.createElement(C.default,S({responsive:p,data:r,columns:i,noHeader:!0,highlightOnHover:!0,sortIcon:o,progressPending:n,customStyles:x,defaultSortFieldId:c,progressComponent:u||void 0,sortServer:d,onSort:(e,t,l)=>{s(e,t,l)},conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:g,selectableRowsComponent:A},y))};Wa.propTypes={inBuiltCss:m.default.object,sortIcon:m.default.any,data:m.default.array,tableColumns:m.default.array,progressPending:m.default.bool,progressComponent:m.default.any,defaultSortFieldId:m.default.number,sortServer:m.default.bool,handleOnSort:m.default.any,responsive:m.default.bool,conditionalRowStyles:m.default.array,fixedHeader:m.default.bool,fixedHeaderScrollHeight:m.default.string,customStyle:m.default.object},Wa.defaultProps={inBuiltCss:I,sortIcon:b.default.createElement(J,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100vh"};const Ra=({title:e,subtitle:t,wrapperStyle:a,imgLink:o,imgStyle:r,iconSize:i})=>{const n=l.useTheme()||M,c={fontSize:"26px",fontWeight:"bold",color:`${n.textColor}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},s={fontSize:"13px",color:`${n.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return b.default.createElement("div",{style:a},b.default.createElement("div",{style:c},o?b.default.createElement("img",{src:o,alt:"userIcon",srcset:"",style:r}):b.default.createElement(J,{icon:"user-icon",size:i,color:n.primary["primary-1"]})," ",b.default.createElement("h4",null,e)),b.default.createElement("div",{style:s},b.default.createElement("p",null,t)))};Ra.propTypes={size:m.default.number},Ra.defaultProps={iconSize:23};const Ta=l.createGlobalStyle`
2274
+ `,Ta=({customStyles:e,inBuiltCss:t,type:a="table",sortIcon:o,data:r,tableColumns:i,progressPending:n,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:u,responsive:p,conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:g,checkboxColor:h,...y})=>{let x={};if(t&&t[a]&&(x=t[a]),e)for(const t in e)x[t]=e[t];const v=l.useTheme()||M,A=b.default.forwardRef((({onClick:e,...t},l)=>b.default.createElement(Ra,{theme:v},b.default.createElement("input",S({type:"checkbox",className:"form-check-input",ref:l,onClick:e},t)))));return b.default.createElement(C.default,S({responsive:p,data:r,columns:i,noHeader:!0,highlightOnHover:!0,sortIcon:o,progressPending:n,customStyles:x,defaultSortFieldId:c,progressComponent:u||void 0,sortServer:d,onSort:(e,t,l)=>{s(e,t,l)},conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:g,selectableRowsComponent:A},y))};Ta.propTypes={inBuiltCss:m.default.object,sortIcon:m.default.any,data:m.default.array,tableColumns:m.default.array,progressPending:m.default.bool,progressComponent:m.default.any,defaultSortFieldId:m.default.number,sortServer:m.default.bool,handleOnSort:m.default.any,responsive:m.default.bool,conditionalRowStyles:m.default.array,fixedHeader:m.default.bool,fixedHeaderScrollHeight:m.default.string,customStyle:m.default.object},Ta.defaultProps={inBuiltCss:I,sortIcon:b.default.createElement(J,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100vh"};const La=({title:e,subtitle:t,wrapperStyle:a,imgLink:o,imgStyle:r,iconSize:i})=>{const n=l.useTheme()||M,c={fontSize:"26px",fontWeight:"bold",color:`${n.textColor}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},s={fontSize:"13px",color:`${n.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return b.default.createElement("div",{style:a},b.default.createElement("div",{style:c},o?b.default.createElement("img",{src:o,alt:"userIcon",srcset:"",style:r}):b.default.createElement(J,{icon:"user-icon",size:i,color:n.primary["primary-1"]})," ",b.default.createElement("h4",null,e)),b.default.createElement("div",{style:s},b.default.createElement("p",null,t)))};La.propTypes={size:m.default.number},La.defaultProps={iconSize:23};const Pa=l.createGlobalStyle`
2258
2275
  @font-face {
2259
2276
  font-family: "Averta";
2260
2277
  font-weight: 100;
@@ -2362,7 +2379,7 @@ svg {
2362
2379
  * {
2363
2380
  font-family: "Averta";
2364
2381
  }
2365
- `,La=g.default.span`
2382
+ `,Ha=g.default.span`
2366
2383
  background: transparent;
2367
2384
  position: relative;
2368
2385
  display: flex;
@@ -2371,12 +2388,12 @@ svg {
2371
2388
  &>span:not(:first-of-type){
2372
2389
  margin-left: -13px;
2373
2390
  }
2374
- `,Pa=g.default.p`
2391
+ `,ja=g.default.p`
2375
2392
  color: ${({theme:e,variantQty:t})=>e.variant[t]};
2376
2393
  margin: 0;
2377
2394
  margin-left: 7px;
2378
2395
  font-size: 16px;
2379
- `,Ha=({items:e,block:t,size:a,variantCircle:o,variantName:r,variantQty:i,flagName:n,user:c,colorCircle:s,colorBorderCircle:d,...u})=>{const p=l.useTheme()||M;return b.default.createElement(La,S({block:t},u),e?.map(((t,l)=>{let i={},n={};return i.backgroundColor=s?`${p.variant[s]}`:`${p.variant[o]}`,0!==l&&(i.border=d?`2px solid ${d}`:`2px solid ${p.variant[o]}`,n.border=d?`2px solid ${d}`:`2px solid ${p.variant[o]}`),1===e.length?b.default.createElement(ie,{key:t.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${p.variant[{variantName:r}]}`},size:a,toggleName:!0,user:t,customStylesCircle:i,customStylesImage:n}):l<=3?b.default.createElement(ie,{key:t.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${p.variant[{variantName:r}]}`},size:a,toggleName:!1,user:t,customStylesCircle:i,customStylesImage:n}):null})),e.length-4>0?b.default.createElement(Pa,{theme:p,variantQty:i},"+",e.length-4):null)};Ha.propTypes={variantCircle:m.default.string,variantName:m.default.string,size:m.default.oneOf(["SM","MD","LG"]),user:m.default.object,theme:m.default.object,colorCircle:m.default.string,colorBorderCircle:m.default.string,variantQty:m.default.string},Ha.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const ja=g.default.div`
2396
+ `,qa=({items:e,block:t,size:a,variantCircle:o,variantName:r,variantQty:i,flagName:n,user:c,colorCircle:s,colorBorderCircle:d,...u})=>{const p=l.useTheme()||M;return b.default.createElement(Ha,S({block:t},u),e?.map(((t,l)=>{let i={},n={};return i.backgroundColor=s?`${p.variant[s]}`:`${p.variant[o]}`,0!==l&&(i.border=d?`2px solid ${d}`:`2px solid ${p.variant[o]}`,n.border=d?`2px solid ${d}`:`2px solid ${p.variant[o]}`),1===e.length?b.default.createElement(ie,{key:t.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${p.variant[{variantName:r}]}`},size:a,toggleName:!0,user:t,customStylesCircle:i,customStylesImage:n}):l<=3?b.default.createElement(ie,{key:t.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${p.variant[{variantName:r}]}`},size:a,toggleName:!1,user:t,customStylesCircle:i,customStylesImage:n}):null})),e.length-4>0?b.default.createElement(ja,{theme:p,variantQty:i},"+",e.length-4):null)};qa.propTypes={variantCircle:m.default.string,variantName:m.default.string,size:m.default.oneOf(["SM","MD","LG"]),user:m.default.object,theme:m.default.object,colorCircle:m.default.string,colorBorderCircle:m.default.string,variantQty:m.default.string},qa.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Fa=g.default.div`
2380
2397
  max-width: inherit;
2381
2398
  width: inherit;
2382
2399
  font-size: 14px;
@@ -2402,7 +2419,7 @@ svg {
2402
2419
  &[data-popper-placement*='top'] .tooltip-arrow::after {
2403
2420
  border-color: ${({theme:e,variantTPbg:t})=>t?e.variant[t]:"#6b747f"} transparent transparent transparent;
2404
2421
  }
2405
- `,qa=g.default.div`
2422
+ `,Oa=g.default.div`
2406
2423
  display: flex;
2407
2424
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2408
2425
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2417,24 +2434,24 @@ svg {
2417
2434
  svg path {
2418
2435
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2419
2436
  }
2420
- `,Fa=g.default.div`
2437
+ `,Za=g.default.div`
2421
2438
  display: flex;
2422
2439
  justify-content: space-evenly;
2423
2440
  flex-grow: 1;
2424
2441
  align-items: stretch;
2425
- `,Oa=({label:e,index:t,style:a,items:r,variant:i,borderVariant:n,bgVariant:c,variantDisable:s,variantBgDisable:d,disabled:u,divider:p,indexPrefix:f,onClick:m,icon:g,variantTPtext:h,variantTPbg:y,...x})=>{l.useTheme();const{getArrowProps:v,getTooltipProps:A,setTooltipRef:C,setTriggerRef:w,visible:E}=o.usePopperTooltip();return b.default.createElement(b.default.Fragment,null,b.default.createElement(Fa,{ref:w},b.default.createElement(qa,{variant:i,borderVariant:n,bgVariant:c,variantDisable:s,variantBgDisable:d,disabled:u,onClick:u?null:()=>{m(m)}},g),p),E&&b.default.createElement(ja,S({variantTPtext:h,variantTPbg:y,ref:C},A({className:"tooltip-container"})),e,b.default.createElement("div",v({className:"tooltip-arrow"}))))};Oa.propTypes={variant:m.default.string,borderVariant:m.default.string,bgVariant:m.default.string,variantDisable:m.default.string,variantBgDisable:m.default.string,indexPrefix:m.default.string,theme:m.default.object,items:m.default.array,allDisabled:m.default.bool,divider:m.default.any,onClick:m.default.func,variantTPtext:m.default.string,variantTPbg:m.default.string},Fa.defaultProps={theme:M},qa.defaultProps={theme:M},ja.defaultProps={theme:M},Oa.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Za=g.default.div`
2442
+ `,Ga=({label:e,index:t,style:a,items:r,variant:i,borderVariant:n,bgVariant:c,variantDisable:s,variantBgDisable:d,disabled:u,divider:p,indexPrefix:f,onClick:m,icon:g,variantTPtext:h,variantTPbg:y,...x})=>{l.useTheme();const{getArrowProps:v,getTooltipProps:A,setTooltipRef:C,setTriggerRef:w,visible:E}=o.usePopperTooltip();return b.default.createElement(b.default.Fragment,null,b.default.createElement(Za,{ref:w},b.default.createElement(Oa,{variant:i,borderVariant:n,bgVariant:c,variantDisable:s,variantBgDisable:d,disabled:u,onClick:u?null:()=>{m(m)}},g),p),E&&b.default.createElement(Fa,S({variantTPtext:h,variantTPbg:y,ref:C},A({className:"tooltip-container"})),e,b.default.createElement("div",v({className:"tooltip-arrow"}))))};Ga.propTypes={variant:m.default.string,borderVariant:m.default.string,bgVariant:m.default.string,variantDisable:m.default.string,variantBgDisable:m.default.string,indexPrefix:m.default.string,theme:m.default.object,items:m.default.array,allDisabled:m.default.bool,divider:m.default.any,onClick:m.default.func,variantTPtext:m.default.string,variantTPbg:m.default.string},Za.defaultProps={theme:M},Oa.defaultProps={theme:M},Fa.defaultProps={theme:M},Ga.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Xa=g.default.div`
2426
2443
  display: flex;
2427
2444
  justify-content: space-evenly;
2428
2445
  align-items: stretch;
2429
2446
  height: 42px;
2430
2447
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2431
2448
  border-radius: 3px;
2432
- `,Ga=g.default.div`
2449
+ `,Da=g.default.div`
2433
2450
  display: flex;
2434
2451
  justify-content: space-evenly;
2435
2452
  flex-grow: 1;
2436
2453
  align-items: stretch;
2437
- `,Xa=g.default.div`
2454
+ `,Ja=g.default.div`
2438
2455
  display: flex;
2439
2456
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2440
2457
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2449,19 +2466,19 @@ svg {
2449
2466
  svg path {
2450
2467
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2451
2468
  }
2452
- `,Da=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:s,indexPrefix:d,onClick:u,...p})=>(l.useTheme(),b.default.createElement(Za,S({variant:a,borderVariant:o},p),t?.map(((e,l)=>b.default.createElement(Ga,{key:d.concat(l)},b.default.createElement(Xa,{variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>u(e.label)},e.icon),t?.length-1!==l&&s)))));Da.propTypes={variant:m.default.string,borderVariant:m.default.string,bgVariant:m.default.string,variantDisable:m.default.string,variantBgDisable:m.default.string,indexPrefix:m.default.string,theme:m.default.object,items:m.default.array,allDisabled:m.default.bool,divider:m.default.any,onClick:m.default.func},Za.defaultProps={theme:M},Ga.defaultProps={theme:M},Xa.defaultProps={theme:M},Da.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const Ja=g.default.div`
2469
+ `,Ua=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:s,indexPrefix:d,onClick:u,...p})=>(l.useTheme(),b.default.createElement(Xa,S({variant:a,borderVariant:o},p),t?.map(((e,l)=>b.default.createElement(Da,{key:d.concat(l)},b.default.createElement(Ja,{variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>u(e.label)},e.icon),t?.length-1!==l&&s)))));Ua.propTypes={variant:m.default.string,borderVariant:m.default.string,bgVariant:m.default.string,variantDisable:m.default.string,variantBgDisable:m.default.string,indexPrefix:m.default.string,theme:m.default.object,items:m.default.array,allDisabled:m.default.bool,divider:m.default.any,onClick:m.default.func},Xa.defaultProps={theme:M},Da.defaultProps={theme:M},Ja.defaultProps={theme:M},Ua.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const Ya=g.default.div`
2453
2470
  display: flex;
2454
2471
  justify-content: space-evenly;
2455
2472
  align-items: stretch;
2456
2473
  height: 42px;
2457
2474
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2458
2475
  border-radius: 3px;
2459
- `,Ua=g.default.div`
2476
+ `,Qa=g.default.div`
2460
2477
  display: flex;
2461
2478
  justify-content: space-evenly;
2462
2479
  flex-grow: 1;
2463
2480
  align-items: stretch;
2464
- `,Ya=g.default.div`
2481
+ `,Na=g.default.div`
2465
2482
  display: flex;
2466
2483
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2467
2484
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2476,28 +2493,28 @@ svg {
2476
2493
  svg path {
2477
2494
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2478
2495
  }
2479
- `,Na=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:s,indexPrefix:d,onClick:u,variantTPtext:p,variantTPbg:f,...m})=>(l.useTheme(),b.default.createElement(Ja,S({variant:a,borderVariant:o},m),t?.map(((e,l)=>b.default.createElement(Oa,{key:d.concat(l),variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{u(e.label)},divider:t?.length-1!==l&&s,icon:e.icon,index:l,label:e.label,variantTPtext:p,variantTPbg:f})))));Na.propTypes={variant:m.default.string,borderVariant:m.default.string,bgVariant:m.default.string,variantDisable:m.default.string,variantBgDisable:m.default.string,indexPrefix:m.default.string,theme:m.default.object,items:m.default.array,allDisabled:m.default.bool,divider:m.default.any,onClick:m.default.func,variantTPtext:m.default.string,variantTPbg:m.default.string},Ja.defaultProps={theme:M},Ua.defaultProps={theme:M},Ya.defaultProps={theme:M},Na.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Qa=g.default.div`
2496
+ `,Ka=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:s,indexPrefix:d,onClick:u,variantTPtext:p,variantTPbg:f,...m})=>(l.useTheme(),b.default.createElement(Ya,S({variant:a,borderVariant:o},m),t?.map(((e,l)=>b.default.createElement(Ga,{key:d.concat(l),variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{u(e.label)},divider:t?.length-1!==l&&s,icon:e.icon,index:l,label:e.label,variantTPtext:p,variantTPbg:f})))));Ka.propTypes={variant:m.default.string,borderVariant:m.default.string,bgVariant:m.default.string,variantDisable:m.default.string,variantBgDisable:m.default.string,indexPrefix:m.default.string,theme:m.default.object,items:m.default.array,allDisabled:m.default.bool,divider:m.default.any,onClick:m.default.func,variantTPtext:m.default.string,variantTPbg:m.default.string},Ya.defaultProps={theme:M},Qa.defaultProps={theme:M},Na.defaultProps={theme:M},Ka.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const $a=g.default.div`
2480
2497
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2481
2498
  border: 1.3px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
2482
2499
  border-radius: 50%;
2483
2500
  width: ${({size:e})=>e}px;
2484
2501
  height: ${({size:e})=>e}px;
2485
2502
  box-sizing: border-box;
2486
- `,Ka=({variant:e,bgColor:t,borderColor:a,...o})=>(l.useTheme(),b.default.createElement(Qa,S({variant:e,borderColor:a,bgColor:t},o)));Ka.propTypes={variant:m.default.string,size:m.default.number,theme:m.default.object,borderColor:m.default.string,bgColor:m.default.string},Qa.defaultProps={theme:M},Ka.defaultProps={theme:M,variant:"primary-1",size:11};const $a=g.default.div`
2503
+ `,_a=({variant:e,bgColor:t,borderColor:a,...o})=>(l.useTheme(),b.default.createElement($a,S({variant:e,borderColor:a,bgColor:t},o)));_a.propTypes={variant:m.default.string,size:m.default.number,theme:m.default.object,borderColor:m.default.string,bgColor:m.default.string},$a.defaultProps={theme:M},_a.defaultProps={theme:M,variant:"primary-1",size:11};const eo=g.default.div`
2487
2504
  display: inline-flex;
2488
2505
  align-items: center;
2489
2506
  background-color: transparent;
2490
2507
  min-height: 24px;
2491
- `,_a=g.default.div`
2508
+ `,to=g.default.div`
2492
2509
  display: flex;
2493
2510
  justify-content: space-evenly;
2494
2511
  width: 69px;
2495
- `,eo=g.default.p`
2512
+ `,lo=g.default.p`
2496
2513
  display: flex;
2497
2514
  color: ${({theme:e,variantText:t,colorText:l})=>l||e.variant[t]};
2498
2515
  font-size: 16px;
2499
2516
  margin: 0 5px;
2500
- `,to=({style:e,variantCircle:t,variantText:a,level:o,textArray:r,colorArray:i,indexPrefix:n,colorText:c,...s})=>(l.useTheme(),b.default.createElement($a,s,b.default.createElement(_a,null,[1,2,3,4].map(((e,l)=>{let a="#D4D7E3",r=null,c=null;return o<=0&&(o=0),o>=4&&(o=4),i?o>=e?(r=i[o],a=i[o]):r=i[0]:o>=e?(c=t,a=t):c="#FFFFFF",b.default.createElement(Ka,{key:n.concat(l),variant:c,borderColor:a,bgColor:r,size:11})}))),r&&b.default.createElement(eo,{variantText:a,colorText:c},r[o])));to.propTypes={variantCircle:m.default.string,variantText:m.default.string,level:m.default.number,indexPrefix:m.default.string,theme:m.default.object,block:m.default.bool,textArray:m.default.array,colorArray:m.default.array,colorText:m.default.string},eo.defaultProps={theme:M},to.defaultProps={theme:M,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const lo={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},ao=g.default.button`
2517
+ `,ao=({style:e,variantCircle:t,variantText:a,level:o,textArray:r,colorArray:i,indexPrefix:n,colorText:c,...s})=>(l.useTheme(),b.default.createElement(eo,s,b.default.createElement(to,null,[1,2,3,4].map(((e,l)=>{let a="#D4D7E3",r=null,c=null;return o<=0&&(o=0),o>=4&&(o=4),i?o>=e?(r=i[o],a=i[o]):r=i[0]:o>=e?(c=t,a=t):c="#FFFFFF",b.default.createElement(_a,{key:n.concat(l),variant:c,borderColor:a,bgColor:r,size:11})}))),r&&b.default.createElement(lo,{variantText:a,colorText:c},r[o])));ao.propTypes={variantCircle:m.default.string,variantText:m.default.string,level:m.default.number,indexPrefix:m.default.string,theme:m.default.object,block:m.default.bool,textArray:m.default.array,colorArray:m.default.array,colorText:m.default.string},lo.defaultProps={theme:M},ao.defaultProps={theme:M,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const oo={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},ro=g.default.button`
2501
2518
  ${({underlined:e})=>e?null:l.css`&:hover {text-decoration: underline}`};
2502
2519
  background: transparent;
2503
2520
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -2508,7 +2525,7 @@ svg {
2508
2525
  justify-content: start;
2509
2526
  border: none;
2510
2527
  cursor: pointer;
2511
- font-size: ${({size:e})=>lo[e].fontSize};
2528
+ font-size: ${({size:e})=>oo[e].fontSize};
2512
2529
 
2513
2530
  &:disabled {
2514
2531
  color: ${({theme:e})=>e.variant["neutral-3"]};
@@ -2518,7 +2535,7 @@ svg {
2518
2535
  * {
2519
2536
  outline: none;
2520
2537
  }
2521
- `,oo=({block:e,size:t,style:a,variant:o,disabled:r,underlined:i,...n})=>(l.useTheme(),b.default.createElement(ao,S({block:e,variant:o,type:"button",style:a,size:t,disabled:r,underlined:i},n),n.children));oo.propTypes={variant:m.default.string,disabled:m.default.bool,size:m.default.oneOf(["xsm","sm","md","lg"]),block:m.default.bool,onClick:m.default.func,theme:m.default.object,underlined:m.default.bool},ao.defaultProps={theme:M},oo.defaultProps={theme:M,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const ro=g.default.div`
2538
+ `,io=({block:e,size:t,style:a,variant:o,disabled:r,underlined:i,...n})=>(l.useTheme(),b.default.createElement(ro,S({block:e,variant:o,type:"button",style:a,size:t,disabled:r,underlined:i},n),n.children));io.propTypes={variant:m.default.string,disabled:m.default.bool,size:m.default.oneOf(["xsm","sm","md","lg"]),block:m.default.bool,onClick:m.default.func,theme:m.default.object,underlined:m.default.bool},ro.defaultProps={theme:M},io.defaultProps={theme:M,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const no=g.default.div`
2522
2539
  display: flex;
2523
2540
  justify-content: space-between;
2524
2541
  align-items: start;
@@ -2529,33 +2546,33 @@ svg {
2529
2546
  z-index: 100;
2530
2547
  // custom styles
2531
2548
  ${({customModalHeaderStyle:e})=>e}
2532
- `,io=g.default.div`
2549
+ `,co=g.default.div`
2533
2550
  //Set the styles from the default styles object
2534
2551
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2535
2552
  // custom styles
2536
2553
  ${({customModalBodyStyle:e})=>e}
2537
- `,no=g.default.div`
2554
+ `,so=g.default.div`
2538
2555
  max-height: 60vh;
2539
2556
  padding: 0 24px 24px 24px;
2540
2557
  overflow-y: auto;
2541
2558
  ${({contentWrapperStyle:e})=>e}
2542
- `,co=g.default.div`
2559
+ `,uo=g.default.div`
2543
2560
  padding-top: 16px;
2544
2561
 
2545
2562
  //Set the styles from the default styles object
2546
2563
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2547
2564
  // custom styles
2548
2565
  ${({customModalFooterStyle:e})=>e}
2549
- `,so=g.default.div`
2566
+ `,po=g.default.div`
2550
2567
  cursor: pointer;
2551
- `;try{w.default.setAppElement("#root")}catch(e){w.default.setAppElement("#__next")}const uo=({modalIsOpen:e,toggleModal:t,closeOnOutsideClick:l,headerContent:a,bodyContent:o,footerContent:r,customModalHeaderStyle:i,customModalBodyStyle:n,customModalFooterStyle:c,customWidth:s,customMinWidth:d,customMaxWidth:u,contentStyle:p,contentWrapperStyle:f,...m})=>{const g={overlay:{zIndex:"999999",backgroundColor:"rgb(51 51 51 / 30%)"},content:{borderColor:M.border,top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:d,maxHeight:"85vh",overflow:"hidden",border:"1px solid #EEF1F4",boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:s&&s,maxWidth:u&&u,...p}};return b.default.createElement(w.default,S({isOpen:e,onRequestClose:l?t:void 0,style:g,contentLabel:"Modal"},m),b.default.createElement(ro,{style:i},a,b.default.createElement(so,{onClick:t},b.default.createElement(J,{icon:"close-icon",size:18}))),b.default.createElement(no,{contentWrapperStyle:f},b.default.createElement(io,{inBuiltCss:I,style:n},o),b.default.createElement(co,{inBuiltCss:I,style:c},r)))};uo.propTypes={modalIsOpen:m.default.bool,toggleModal:m.default.func,closeOnOutsideClick:m.default.bool,headerContent:m.default.any,bodyContent:m.default.any,footerContent:m.default.any,customModalHeaderStyle:m.default.object,customModalBodyStyle:m.default.object,customModalFooterStyle:m.default.object,customMinWidth:m.default.string,contentStyle:m.default.object,contentWrapperStyle:m.default.object},uo.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{}};const po=g.default.div`
2568
+ `;try{w.default.setAppElement("#root")}catch(e){w.default.setAppElement("#__next")}const fo=({modalIsOpen:e,toggleModal:t,closeOnOutsideClick:l,headerContent:a,bodyContent:o,footerContent:r,customModalHeaderStyle:i,customModalBodyStyle:n,customModalFooterStyle:c,customWidth:s,customMinWidth:d,customMaxWidth:u,contentStyle:p,contentWrapperStyle:f,...m})=>{const g={overlay:{zIndex:"999999",backgroundColor:"rgb(51 51 51 / 30%)"},content:{borderColor:M.border,top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:d,maxHeight:"85vh",overflow:"hidden",border:"1px solid #EEF1F4",boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:s&&s,maxWidth:u&&u,...p}};return b.default.createElement(w.default,S({isOpen:e,onRequestClose:l?t:void 0,style:g,contentLabel:"Modal"},m),b.default.createElement(no,{style:i},a,b.default.createElement(po,{onClick:t},b.default.createElement(J,{icon:"close-icon",size:18}))),b.default.createElement(so,{contentWrapperStyle:f},b.default.createElement(co,{inBuiltCss:I,style:n},o),b.default.createElement(uo,{inBuiltCss:I,style:c},r)))};fo.propTypes={modalIsOpen:m.default.bool,toggleModal:m.default.func,closeOnOutsideClick:m.default.bool,headerContent:m.default.any,bodyContent:m.default.any,footerContent:m.default.any,customModalHeaderStyle:m.default.object,customModalBodyStyle:m.default.object,customModalFooterStyle:m.default.object,customMinWidth:m.default.string,contentStyle:m.default.object,contentWrapperStyle:m.default.object},fo.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{}};const mo=g.default.div`
2552
2569
  ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.common)a[t]=e.common[t];for(const l in e[t])a[l]=e[t][l],delete e.common[l]}return{...a,...l}}}}
2553
2570
  }
2554
- `,fo=({theme:e,toggleSimple:t,contentTrigger:l,contentOverlay:a,popperOptionsP:r,settingsP:i,customStyles:n,...c})=>{let s={},d={};t?(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,...r},d={...d,...i};const{getArrowProps:u,getTooltipProps:p,setTooltipRef:f,setTriggerRef:m,visible:g}=o.usePopperTooltip({...d},s);return b.default.createElement(b.default.Fragment,null,b.default.createElement("div",{ref:m,style:{width:"fit-content",height:"fit-content"}},l),g&&b.default.createElement(po,S({type:t?"simple-overlay":"overlay",theme:e,ref:f},p({className:"tooltip-container"}),{customStyles:n}),a))};fo.propTypes={theme:m.default.object,contentTrigger:m.default.any,contentOverlay:m.default.any,popperOptionsP:m.default.object,settingsP:m.default.object,customStyles:m.default.object,toggleSimple:m.default.bool},fo.defaultProps={theme:I,contentTrigger:b.default.createElement("div",null,"Trigger"),contentOverlay:b.default.createElement("div",null,"I am the Overlay")};const mo=g.default.div`
2571
+ `,bo=({theme:e,toggleSimple:t,contentTrigger:l,contentOverlay:a,popperOptionsP:r,settingsP:i,customStyles:n,...c})=>{let s={},d={};t?(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,...r},d={...d,...i};const{getArrowProps:u,getTooltipProps:p,setTooltipRef:f,setTriggerRef:m,visible:g}=o.usePopperTooltip({...d},s);return b.default.createElement(b.default.Fragment,null,b.default.createElement("div",{ref:m,style:{width:"fit-content",height:"fit-content"}},l),g&&b.default.createElement(mo,S({type:t?"simple-overlay":"overlay",theme:e,ref:f},p({className:"tooltip-container"}),{customStyles:n}),a))};bo.propTypes={theme:m.default.object,contentTrigger:m.default.any,contentOverlay:m.default.any,popperOptionsP:m.default.object,settingsP:m.default.object,customStyles:m.default.object,toggleSimple:m.default.bool},bo.defaultProps={theme:I,contentTrigger:b.default.createElement("div",null,"Trigger"),contentOverlay:b.default.createElement("div",null,"I am the Overlay")};const go=g.default.div`
2555
2572
  display: flex;
2556
2573
  justify-content: center;
2557
2574
  ${({customParentStyles:e})=>e}
2558
- `,bo=g.default.span`
2575
+ `,ho=g.default.span`
2559
2576
  background-color: ${({selected:e,theme:t})=>e?t.variant["neutral-5"]:"transparent"};
2560
2577
  color: ${({selected:e,theme:t})=>e?t.variant["primary-2"]:t.variant["neutral-3"]};
2561
2578
  padding: 8px 14px;
@@ -2567,7 +2584,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2567
2584
  font-size: 14px;
2568
2585
 
2569
2586
  ${({customItemStyles:e})=>e}
2570
- `,go=g.default.div`
2587
+ `,yo=g.default.div`
2571
2588
  display: flex;
2572
2589
  justify-content: center;
2573
2590
  align-items: center;
@@ -2584,16 +2601,16 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2584
2601
  }
2585
2602
 
2586
2603
  ${({customIconWrapperStyles:e})=>e}
2587
- `,ho=g.default.div`
2604
+ `,xo=g.default.div`
2588
2605
  padding: 0 15px;
2589
- `,yo=g.default.div`
2606
+ `,vo=g.default.div`
2590
2607
  display: flex;
2591
2608
  align-items: center;
2592
2609
  justify-content: center;
2593
2610
  color: ${({theme:e})=>e.variant["neutral-2"]};
2594
2611
 
2595
2612
  ${({customLeftWrapperStyles:e})=>e}
2596
- `,xo=g.default.div`
2613
+ `,Ao=g.default.div`
2597
2614
  display: flex;
2598
2615
  margin: 0;
2599
2616
  align-items: center;
@@ -2606,11 +2623,11 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2606
2623
  margin: 0 10px;
2607
2624
  color: ${({theme:e})=>e.variant["neutral-2"]};
2608
2625
  }
2609
- `,vo=({selectedPage:e,setSelectedPage:a,totalPage:o,customItemStyles:r,customLeftWrapperStyles:i,customIconWrapperStyles:n,previousText:c,nextText:s,pageToShow:d,totalResults:u,showResultPerPage:p,customParentStyles:f,customRightWrapperStyles:m,...g})=>{const h=l.useTheme()||M,[y,x]=t.useState([]);let v=d>o?o:d;t.useEffect((()=>{x(Array.from({length:v},((e,t)=>t+1)))}),[o,d,v]);const A=t=>{let l=[];"increase"===t&&y[v-1]<=o&&e!==y[v-1]?a(e+1):"increase"===t&&y[v-1]<o?(l=Array.from({length:v},((e,t)=>t+y[0]+1)),a(e+1),x(l)):"decrease"===t&&y[0]<=e-1?a(e-1):"decrease"===t&&e>1&&(a(e-1),x(Array.from({length:v},((e,t)=>t+y[0]-1))))};return b.default.createElement(mo,{customParentStyles:f}," ",b.default.createElement(yo,S({theme:h,customLeftWrapperStyles:i},g),b.default.createElement(go,S({onClick:()=>A("decrease"),disabled:1===e,theme:h,customIconWrapperStyles:n},g),b.default.createElement(J,{icon:"triangle-down",transform:"rotate(90deg)",color:h.variant["neutral-3"]}),b.default.createElement("span",{className:"prev-text"}," ",c)),b.default.createElement(ho,g,y.map(((t,l)=>b.default.createElement(bo,{key:l,theme:h,selected:e===t,onClick:()=>a(t),customItemStyles:r},t)))),b.default.createElement(go,{onClick:()=>A("increase"),disabled:e===o,theme:h,customIconWrapperStyles:n},b.default.createElement("span",{className:"next-text"}," ",s),b.default.createElement(J,{icon:"triangle-down",transform:"rotate(-90deg)",color:h.variant["neutral-3"]}))),p&&b.default.createElement(xo,{theme:h,customRightWrapperStyles:m},b.default.createElement(wt,{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:h.variant["neutral-3"]}),b.default.createElement("p",{style:{marginBottom:0}},b.default.createElement("span",null,"OF")," ",u," ",b.default.createElement("span",null,"RESULTS"))))};vo.propTypes={customItemStyles:m.default.object,selectedPage:m.default.number,customLeftWrapperStyles:m.default.object,customIconWrapperStyles:m.default.object,previousText:m.default.string,nextText:m.default.string,pageToShow:m.default.number,totalResults:m.default.number,showResultPerPage:m.default.bool,customParentStyles:m.default.object,customRightWrapperStyles:m.default.object},vo.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const Ao=g.default.div`
2626
+ `,Co=({selectedPage:e,setSelectedPage:a,totalPage:o,customItemStyles:r,customLeftWrapperStyles:i,customIconWrapperStyles:n,previousText:c,nextText:s,pageToShow:d,totalResults:u,showResultPerPage:p,customParentStyles:f,customRightWrapperStyles:m,...g})=>{const h=l.useTheme()||M,[y,x]=t.useState([]);let v=d>o?o:d;t.useEffect((()=>{x(Array.from({length:v},((e,t)=>t+1)))}),[o,d,v]);const A=t=>{let l=[];"increase"===t&&y[v-1]<=o&&e!==y[v-1]?a(e+1):"increase"===t&&y[v-1]<o?(l=Array.from({length:v},((e,t)=>t+y[0]+1)),a(e+1),x(l)):"decrease"===t&&y[0]<=e-1?a(e-1):"decrease"===t&&e>1&&(a(e-1),x(Array.from({length:v},((e,t)=>t+y[0]-1))))};return b.default.createElement(go,{customParentStyles:f}," ",b.default.createElement(vo,S({theme:h,customLeftWrapperStyles:i},g),b.default.createElement(yo,S({onClick:()=>A("decrease"),disabled:1===e,theme:h,customIconWrapperStyles:n},g),b.default.createElement(J,{icon:"triangle-down",transform:"rotate(90deg)",color:h.variant["neutral-3"]}),b.default.createElement("span",{className:"prev-text"}," ",c)),b.default.createElement(xo,g,y.map(((t,l)=>b.default.createElement(ho,{key:l,theme:h,selected:e===t,onClick:()=>a(t),customItemStyles:r},t)))),b.default.createElement(yo,{onClick:()=>A("increase"),disabled:e===o,theme:h,customIconWrapperStyles:n},b.default.createElement("span",{className:"next-text"}," ",s),b.default.createElement(J,{icon:"triangle-down",transform:"rotate(-90deg)",color:h.variant["neutral-3"]}))),p&&b.default.createElement(Ao,{theme:h,customRightWrapperStyles:m},b.default.createElement(Et,{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:h.variant["neutral-3"]}),b.default.createElement("p",{style:{marginBottom:0}},b.default.createElement("span",null,"OF")," ",u," ",b.default.createElement("span",null,"RESULTS"))))};Co.propTypes={customItemStyles:m.default.object,selectedPage:m.default.number,customLeftWrapperStyles:m.default.object,customIconWrapperStyles:m.default.object,previousText:m.default.string,nextText:m.default.string,pageToShow:m.default.number,totalResults:m.default.number,showResultPerPage:m.default.bool,customParentStyles:m.default.object,customRightWrapperStyles:m.default.object},Co.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const wo=g.default.div`
2610
2627
  display: flex;
2611
2628
  align-items: center;
2612
2629
  color: ${({theme:e})=>e.variant["neutral-2"]};
2613
- `,Co=({...e})=>{const t=l.useTheme()||M;return b.default.createElement(Ao,{theme:t},e.children)},wo=g.default.div`
2630
+ `,So=({...e})=>{const t=l.useTheme()||M;return b.default.createElement(wo,{theme:t},e.children)},Eo=g.default.div`
2614
2631
  font-size: 14px;
2615
2632
  color: ${({selected:e,theme:t})=>e?t.variant["primary-1"]:null};
2616
2633
 
@@ -2626,7 +2643,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2626
2643
  &:not(:first-child):not(:last-child) {
2627
2644
  margin: 0 22px;
2628
2645
  }
2629
- `;(Co.PageItem=function({selected:e,...t}){const a=l.useTheme()||M;return b.default.createElement(wo,S({selected:e,theme:a},t),t.children)}).propTypes={selected:m.default.bool},Co.PageItem.defaultProps={selected:!1};const So=g.default.div`
2646
+ `;(So.PageItem=function({selected:e,...t}){const a=l.useTheme()||M;return b.default.createElement(Eo,S({selected:e,theme:a},t),t.children)}).propTypes={selected:m.default.bool},So.PageItem.defaultProps={selected:!1};const ko=g.default.div`
2630
2647
  position: relative;
2631
2648
  height: 10px;
2632
2649
  border-radius: 10px;
@@ -2639,7 +2656,7 @@ position: relative;
2639
2656
 
2640
2657
  // custom styles
2641
2658
  ${({progressWrapStyle:e})=>e}
2642
- `,Eo=g.default.div`
2659
+ `,zo=g.default.div`
2643
2660
  height: inherit;
2644
2661
  width: inherit;
2645
2662
  transition: width 1s ease-in-out;
@@ -2651,12 +2668,12 @@ position: relative;
2651
2668
  ${({progressBarStyle:e})=>e}
2652
2669
  width: ${({now:e})=>e+"%"};
2653
2670
  background-color: ${({color:e,theme:t})=>e||t.primary["primary-1"]};
2654
- `,ko=({labelStyle:e,progressBarStyle:t,progressWrapStyle:a,label:o,now:r,color:i,innerContent:n,...c})=>{const s=l.useTheme()||M;return b.default.createElement("div",null,b.default.createElement(Ne,S({inBuiltCss:I,customStyles:e,type:"progressbarLabel",text:o},c)),b.default.createElement(So,S({progressBarStyle:t,theme:s,progressWrapStyle:a,color:i},c),b.default.createElement(Eo,S({progressBarStyle:t,now:r,theme:s,color:i},c)),b.default.createElement("div",{style:{position:"absolute",zIndex:"3",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},n)))};ko.propTypes={labelStyle:m.default.object,progressBarStyle:m.default.object,progressWrapStyle:m.default.object,color:m.default.string,label:m.default.string,now:m.default.number,innerContent:m.default.any},ko.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const zo=g.default.div`
2671
+ `,Vo=({labelStyle:e,progressBarStyle:t,progressWrapStyle:a,label:o,now:r,color:i,innerContent:n,...c})=>{const s=l.useTheme()||M;return b.default.createElement("div",null,b.default.createElement(Ke,S({inBuiltCss:I,customStyles:e,type:"progressbarLabel",text:o},c)),b.default.createElement(ko,S({progressBarStyle:t,theme:s,progressWrapStyle:a,color:i},c),b.default.createElement(zo,S({progressBarStyle:t,now:r,theme:s,color:i},c)),b.default.createElement("div",{style:{position:"absolute",zIndex:"3",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},n)))};Vo.propTypes={labelStyle:m.default.object,progressBarStyle:m.default.object,progressWrapStyle:m.default.object,color:m.default.string,label:m.default.string,now:m.default.number,innerContent:m.default.any},Vo.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const Bo=g.default.div`
2655
2672
  background: transparent;
2656
2673
  display: flex;
2657
2674
  align-items: center;
2658
2675
  width: ${({block:e})=>e?"100%":"fit-content"};
2659
- `,Vo=g.default.div`
2676
+ `,Mo=g.default.div`
2660
2677
  margin: 0;
2661
2678
  color: ${({theme:e,variantOff:t})=>e.variant[t]};
2662
2679
  white-space: nowrap;
@@ -2674,16 +2691,16 @@ position: relative;
2674
2691
  &>div:first-of-type{
2675
2692
  color: ${({theme:e,variantOn:t})=>e.variant[t]};
2676
2693
  }
2677
- `,Bo=g.default.div`
2694
+ `,Io=g.default.div`
2678
2695
  display: flex;
2679
2696
  margin-left: 20px;
2680
- `,Mo=g.default.div`
2697
+ `,Wo=g.default.div`
2681
2698
  height: 6px;
2682
2699
  width: ${({widthStep:e})=>e}px;
2683
2700
  margin: 0 3px;
2684
2701
  background-color: ${({theme:e,isActive:t,variantOn:l,variantOff:a})=>t?e.variant[l]:e.variant[a]};
2685
2702
  border-radius: 19px;
2686
- `,Io=({block:e,variantOn:t,variantOff:a,currentStep:o,totalSteps:r,widthStep:i,style:n,progressText:c,...s})=>(l.useTheme(),b.default.createElement(zo,S({block:e},s,{style:n}),b.default.createElement(Vo,S({},s,{variantOn:t,variantOff:a}),c||"Page"," ",b.default.createElement("div",null,o)," of ",b.default.createElement("div",null,r)),b.default.createElement(Bo,s,Array.from(Array(r).keys()).map((e=>b.default.createElement(Mo,{key:"formSteps".concat(e),isActive:o===e+1,variantOn:t,variantOff:a,widthStep:i}))))));Io.propTypes={variantOn:m.default.string,variantOff:m.default.string,block:m.default.bool,theme:m.default.object,currentStep:m.default.number,totalSteps:m.default.number,widthStep:m.default.number,progressText:m.default.string},zo.defaultProps={theme:M},Vo.defaultProps={theme:M},Bo.defaultProps={theme:M},Mo.defaultProps={theme:M},Io.defaultProps={theme:M,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Wo=g.default.button`
2703
+ `,Ro=({block:e,variantOn:t,variantOff:a,currentStep:o,totalSteps:r,widthStep:i,style:n,progressText:c,...s})=>(l.useTheme(),b.default.createElement(Bo,S({block:e},s,{style:n}),b.default.createElement(Mo,S({},s,{variantOn:t,variantOff:a}),c||"Page"," ",b.default.createElement("div",null,o)," of ",b.default.createElement("div",null,r)),b.default.createElement(Io,s,Array.from(Array(r).keys()).map((e=>b.default.createElement(Wo,{key:"formSteps".concat(e),isActive:o===e+1,variantOn:t,variantOff:a,widthStep:i}))))));Ro.propTypes={variantOn:m.default.string,variantOff:m.default.string,block:m.default.bool,theme:m.default.object,currentStep:m.default.number,totalSteps:m.default.number,widthStep:m.default.number,progressText:m.default.string},Bo.defaultProps={theme:M},Mo.defaultProps={theme:M},Io.defaultProps={theme:M},Wo.defaultProps={theme:M},Ro.defaultProps={theme:M,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const To=g.default.button`
2687
2704
  background: ${({disabled:e,theme:t,bgVariant:l})=>e?"#BBC4CF":t.variant[l]};
2688
2705
  color: ${({theme:e,variant:t})=>e.variant[t]};
2689
2706
  padding: 6px 17px;
@@ -2710,7 +2727,7 @@ position: relative;
2710
2727
  * {
2711
2728
  outline: none;
2712
2729
  }
2713
- `,Ro=({block:e,style:t,variant:a,bgVariant:o,disabled:r,...i})=>(l.useTheme(),b.default.createElement(Wo,S({block:e,variant:a,bgVariant:o,type:"button",style:t,disabled:r},i),i.children));Ro.propTypes={variant:m.default.string,bgVariant:m.default.string,disabled:m.default.bool,block:m.default.bool,onClick:m.default.func,theme:m.default.object},Wo.defaultProps={theme:M},Ro.defaultProps={theme:M,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const To=g.default.button`
2730
+ `,Lo=({block:e,style:t,variant:a,bgVariant:o,disabled:r,...i})=>(l.useTheme(),b.default.createElement(To,S({block:e,variant:a,bgVariant:o,type:"button",style:t,disabled:r},i),i.children));Lo.propTypes={variant:m.default.string,bgVariant:m.default.string,disabled:m.default.bool,block:m.default.bool,onClick:m.default.func,theme:m.default.object},To.defaultProps={theme:M},Lo.defaultProps={theme:M,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const Po=g.default.button`
2714
2731
  background: ${({disabled:e,theme:t})=>e?"#BBC4CF":t.bgColor};
2715
2732
  color: ${({theme:e,variant:t})=>e.variant[t]};
2716
2733
  padding: 6px 17px;
@@ -2733,20 +2750,21 @@ position: relative;
2733
2750
  fill: #929EAC;
2734
2751
  }
2735
2752
  }
2736
- `,Lo=({block:e,style:t,variant:a,borderVariant:o,disabled:r,...i})=>(l.useTheme(),b.default.createElement(To,S({block:e,variant:a,borderVariant:o,type:"button",style:t,disabled:r},i),i.children));Lo.propTypes={variant:m.default.string,borderVariant:m.default.string,disabled:m.default.bool,block:m.default.bool,onClick:m.default.func,theme:m.default.object},To.defaultProps={theme:M},Lo.defaultProps={theme:M,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Po=g.default.div`
2753
+ `,Ho=({block:e,style:t,variant:a,borderVariant:o,disabled:r,...i})=>(l.useTheme(),b.default.createElement(Po,S({block:e,variant:a,borderVariant:o,type:"button",style:t,disabled:r},i),i.children));Ho.propTypes={variant:m.default.string,borderVariant:m.default.string,disabled:m.default.bool,block:m.default.bool,onClick:m.default.func,theme:m.default.object},Po.defaultProps={theme:M},Ho.defaultProps={theme:M,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const jo=g.default.div`
2737
2754
  display: flex;
2738
2755
  flex-direction: column;
2739
2756
  height: ${({toggleSideBarOpen:e})=>"100vh"};
2740
2757
 
2741
2758
  @media (max-width: 428px) {
2742
- height: ${({toggleSideBarOpen:e})=>e?"100vh":"51px"};
2759
+ height: ${({toggleSideBarOpen:e})=>e?"100vh":"56px"};
2743
2760
  }
2744
- `,Ho=g.default.div`
2745
- min-height: 51px;
2761
+ `,qo=g.default.div`
2762
+ min-height: 56px;
2746
2763
  display: flex;
2747
2764
  background-color: ${({theme:e})=>e.primary["primary-1"]};
2748
2765
  align-items: center;
2749
- padding-left: 24.5px;
2766
+ padding-left: 16px;
2767
+ z-index: 10;
2750
2768
 
2751
2769
  &::hover {
2752
2770
  & > .chevron-navbar {
@@ -2757,7 +2775,7 @@ position: relative;
2757
2775
  }
2758
2776
 
2759
2777
  ${({headerStyles:e})=>e}
2760
- `,jo=g.default.div`
2778
+ `,Fo=g.default.div`
2761
2779
  display: flex;
2762
2780
  background-color: transparent;
2763
2781
  flex-direction: column;
@@ -2767,67 +2785,34 @@ position: relative;
2767
2785
  // @media (max-width: 428px) {
2768
2786
  // display: ${({toggleSideBarOpen:e})=>e?"block":"none"} ;
2769
2787
  // }
2770
- `,qo=g.default.div`
2788
+ `,Oo=g.default.div`
2771
2789
  display: flex;
2790
+ justify-content: flex-start;
2772
2791
  align-items: center;
2773
2792
  cursor: pointer;
2774
- padding: 8.25px 0 8.25px 32px;
2775
- overflow: hidden;
2776
- width: 240px;
2793
+ padding: 8px 8px 8px 20px;
2794
+ width: 212px;
2777
2795
 
2778
- &:hover {
2779
- p {
2780
- ${({listElementStyle:e})=>e}
2781
- }
2782
- }
2783
-
2784
- span {
2785
- width: 7px;
2786
- height: 7px;
2787
- border-radius: 50%;
2788
- background-color: ${({theme:e})=>e.bgColor};
2789
- margin-right: 31px;
2790
- }
2791
-
2792
- p {
2793
- margin: 0px;
2796
+ .link {
2797
+ width: 182px;
2798
+ word-break: break-word;
2794
2799
  }
2795
- `,Fo=g.default.div`
2796
- display: flex;
2797
- background-color: transparent;
2798
- flex-direction: column;
2799
- align-items: center;
2800
- width: 100%;
2801
- margin-top: auto;
2802
- margin-bottom: 16px;
2803
2800
 
2804
- // @media (max-width: 428px) {
2805
- // display: ${({toggleSideBarOpen:e})=>e?"block":"none"} ;
2806
-
2807
- // }
2808
- `,Oo=g.default.div`
2809
- display: flex;
2810
- align-items: center;
2811
- cursor: pointer;
2812
- padding: 8.25px 0 8.25px 32px;
2813
- overflow: hidden;
2814
- width: 240px;
2815
2801
  &:hover {
2816
- p {
2802
+ .link {
2817
2803
  ${({listElementStyle:e})=>e}
2818
2804
  }
2819
2805
  }
2820
2806
 
2821
- span {
2807
+ .selected-disk {
2822
2808
  width: 7px;
2823
2809
  height: 7px;
2824
2810
  border-radius: 50%;
2825
2811
  background-color: ${({theme:e})=>e.bgColor};
2826
- margin-right: 31px;
2812
+ margin-right: 32px;
2827
2813
  }
2828
-
2829
2814
  p {
2830
- margin: 0 31px;
2815
+ margin: 0;
2831
2816
  }
2832
2817
  `,Zo=g.default.div`
2833
2818
  background-color: ${({theme:e})=>e.variant["primary-1"]} !important;
@@ -2835,7 +2820,7 @@ position: relative;
2835
2820
  overflow-y: auto;
2836
2821
  overflow-x: hidden;
2837
2822
  @media (max-width: 428px) {
2838
- height: ${({isOpen:e})=>e?"100%":"51px"};
2823
+ height: ${({isOpen:e})=>e?"100%":"56px"};
2839
2824
  overflow-y: ${({isOpen:e})=>e?"auto":"hidden"};
2840
2825
  }
2841
2826
 
@@ -2869,7 +2854,7 @@ ${({forceOpen:e,inBuiltCss:t,type:l,customStylesPusherOpen:a,customStylesPusherC
2869
2854
  width: ${({block:e})=>e?"auto":"fit-content"};
2870
2855
  box-sizing: border-box;
2871
2856
 
2872
- `,Uo=({block:e,style:t,variant:a,...o})=>(l.useTheme(),b.default.createElement(Jo,S({block:e,variant:a,style:t},o),o.children));Uo.propTypes={variant:m.default.string,block:m.default.bool,theme:m.default.object},Jo.defaultProps={theme:M},Uo.defaultProps={theme:M,variant:"primary-1",block:!1};const Yo={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},No=g.default.div`
2857
+ `,Uo=({block:e,style:t,variant:a,...o})=>(l.useTheme(),b.default.createElement(Jo,S({block:e,variant:a,style:t},o),o.children));Uo.propTypes={variant:m.default.string,block:m.default.bool,theme:m.default.object},Jo.defaultProps={theme:M},Uo.defaultProps={theme:M,variant:"primary-1",block:!1};const Yo={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Qo=g.default.div`
2873
2858
  color: ${({theme:e,variant:t})=>e.variant[t]};
2874
2859
  background: ${({theme:e})=>e.bgColor};
2875
2860
  padding: ${({size:e})=>Yo[e].padding};
@@ -2882,7 +2867,7 @@ ${({forceOpen:e,inBuiltCss:t,type:l,customStylesPusherOpen:a,customStylesPusherC
2882
2867
  width: ${({block:e})=>e?"auto":"fit-content"};
2883
2868
  box-sizing: border-box;
2884
2869
 
2885
- `,Qo=({block:e,style:t,variant:a,...o})=>(l.useTheme(),b.default.createElement(No,S({block:e,variant:a,style:t},o),o.children));Qo.propTypes={variant:m.default.string,block:m.default.bool,theme:m.default.object},No.defaultProps={theme:M},Qo.defaultProps={theme:M,variant:"primary-1",block:!1};const Ko={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},$o=g.default.div`
2870
+ `,No=({block:e,style:t,variant:a,...o})=>(l.useTheme(),b.default.createElement(Qo,S({block:e,variant:a,style:t},o),o.children));No.propTypes={variant:m.default.string,block:m.default.bool,theme:m.default.object},Qo.defaultProps={theme:M},No.defaultProps={theme:M,variant:"primary-1",block:!1};const Ko={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},$o=g.default.div`
2886
2871
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2887
2872
  color: ${({theme:e,textColor:t})=>t||e.bgColor};
2888
2873
  border-radius: 13.5px;
@@ -2926,7 +2911,7 @@ overflow: hidden;
2926
2911
  ${({headerStyle:e})=>e}
2927
2912
  `,nr=g.default.div`
2928
2913
  ${({tabContentStyle:e})=>e}
2929
- `,cr=({children:e,tabWrapperStyle:a,headerStyle:o,tabContentStyle:r,headerWrapperStyle:i,dividerStyle:n,...c})=>{const[s,d]=t.useState([]),[u,p]=t.useState({}),[f,m]=t.useState("");t.useEffect((()=>{const t=[],l={};b.default.Children.forEach(e,(e=>{if(!b.default.isValidElement(e))return;const{name:a}=e.props;t.push(a),l[a]=e.props.children})),d(t),m(t[0]),p({...l})}),[e]);const g=l.useTheme()||M;return b.default.createElement(or,{tabWrapperStyle:a},b.default.createElement(rr,{theme:g,headerWrapperStyle:i},s.map(((e,t)=>b.default.createElement(ir,{onClick:()=>{m(e)},key:t,theme:g,isActive:e===f,headerStyle:o},e)))),b.default.createElement(sa,{theme:g,height:"8px",dividerStyle:n}),b.default.createElement(nr,{tabContentStyle:r},Object.keys(u).map((e=>e===f?b.default.createElement("div",null,u[e]):null))))};cr.propTypes={children:function(e,t,l){const a=e[t];let o=null;return b.default.Children.forEach(a,(function(e){e.type!==ar&&(o=new Error("`"+l+"` children should be of type `TabPanel`."))})),o}},cr.propTypes={tabWrapperStyle:m.default.object,headerWrapperStyle:m.default.object,headerStyle:m.default.object,dividerStyle:m.default.object,tabContentStyle:m.default.object},cr.defaultProps={tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const sr=g.default.div`
2914
+ `,cr=({children:e,tabWrapperStyle:a,headerStyle:o,tabContentStyle:r,headerWrapperStyle:i,dividerStyle:n,...c})=>{const[s,d]=t.useState([]),[u,p]=t.useState({}),[f,m]=t.useState("");t.useEffect((()=>{const t=[],l={};b.default.Children.forEach(e,(e=>{if(!b.default.isValidElement(e))return;const{name:a}=e.props;t.push(a),l[a]=e.props.children})),d(t),m(t[0]),p({...l})}),[e]);const g=l.useTheme()||M;return b.default.createElement(or,{tabWrapperStyle:a},b.default.createElement(rr,{theme:g,headerWrapperStyle:i},s.map(((e,t)=>b.default.createElement(ir,{onClick:()=>{m(e)},key:t,theme:g,isActive:e===f,headerStyle:o},e)))),b.default.createElement(ua,{theme:g,height:"8px",dividerStyle:n}),b.default.createElement(nr,{tabContentStyle:r},Object.keys(u).map((e=>e===f?b.default.createElement("div",null,u[e]):null))))};cr.propTypes={children:function(e,t,l){const a=e[t];let o=null;return b.default.Children.forEach(a,(function(e){e.type!==ar&&(o=new Error("`"+l+"` children should be of type `TabPanel`."))})),o}},cr.propTypes={tabWrapperStyle:m.default.object,headerWrapperStyle:m.default.object,headerStyle:m.default.object,dividerStyle:m.default.object,tabContentStyle:m.default.object},cr.defaultProps={tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const sr=g.default.div`
2930
2915
  .notification {
2931
2916
  background: ${({theme:e})=>e.bgColor};
2932
2917
  transition: 0.3s ease;
@@ -2936,7 +2921,7 @@ overflow: hidden;
2936
2921
  background-position: 15px;
2937
2922
  background-repeat: no-repeat;
2938
2923
  margin-bottom: 8px;
2939
- width: 100%;
2924
+ // width: 100%;
2940
2925
  box-shadow: 0px 0px 9px 1px rgb(26 36 107 / 13%);
2941
2926
  border-radius: 6px 6px 3px 3px;
2942
2927
  border-bottom: 2px solid
@@ -2949,7 +2934,6 @@ overflow: hidden;
2949
2934
  align-items: center;
2950
2935
  }
2951
2936
 
2952
-
2953
2937
  .notification-message {
2954
2938
  margin: 0;
2955
2939
  overflow: hidden;
@@ -2960,6 +2944,11 @@ overflow: hidden;
2960
2944
  border-left: 1px solid #e5e7f0;
2961
2945
  padding: 2px;
2962
2946
  padding-left: 16px;
2947
+ padding-right: 16px;
2948
+ @media (max-width: 512px) {
2949
+ // width:58.25vw;
2950
+ width: 68.2%;
2951
+ }
2963
2952
  }
2964
2953
 
2965
2954
  .notification-icon {
@@ -2971,13 +2960,22 @@ overflow: hidden;
2971
2960
  display: flex;
2972
2961
  justify-content: center;
2973
2962
  align-items: center;
2963
+ flex-shrink: 0;
2974
2964
  }
2975
2965
 
2976
2966
  .toast {
2977
2967
  height: 100%;
2978
2968
  min-height: 72px;
2979
- width: 412px;
2969
+ // width: 412px;
2970
+ width: 88vw;
2980
2971
  color: black;
2972
+
2973
+ @media (min-width: 356px) {
2974
+ width: 80vw;
2975
+ }
2976
+ @media (min-width: 512px) {
2977
+ width: 412px;
2978
+ }
2981
2979
  }
2982
2980
 
2983
2981
  .leftSide {
@@ -2986,10 +2984,9 @@ overflow: hidden;
2986
2984
  align-items: center;
2987
2985
  }
2988
2986
  .close-icon {
2989
-
2990
2987
  cursor: pointer;
2991
2988
  }
2992
- `,dr=({close:e,children:a,type:o,position:r,timeout:i})=>{((e,l)=>{const a=t.useRef(e);t.useEffect((()=>{a.current=e}),[e]),t.useEffect((()=>{if(null===l)return;const e=setTimeout((()=>a.current()),l);return()=>clearTimeout(e)}),[l])})(e,i||5e3);const n=l.useTheme()||M;let c=null;switch(o){case"success":c=b.default.createElement(J,{icon:"check-icon",color:"white",size:13,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":c=b.default.createElement(J,{icon:"info-icon",color:"white",size:11,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":c=b.default.createElement(J,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})}return b.default.createElement(sr,{theme:n,type:o},b.default.createElement("div",{className:`notification toast ${r}`},b.default.createElement("div",{className:"leftSide"},b.default.createElement("div",{className:"notification-icon"},c),b.default.createElement("div",null,b.default.createElement("p",{className:"notification-message"},a))),b.default.createElement("div",{className:"close-icon",onClick:e},b.default.createElement(J,{icon:"close-icon",color:n.variant["neutral-2"]}))))},ur=t.createContext(),pr=g.default.div`
2989
+ `,dr=({close:e,children:a,type:o,position:r,timeout:i})=>{((e,l)=>{const a=t.useRef(e);t.useEffect((()=>{a.current=e}),[e]),t.useEffect((()=>{if(null===l)return;const e=setTimeout((()=>a.current()),l);return()=>clearTimeout(e)}),[l])})(e,i||5e4);const n=l.useTheme()||M;let c=null;switch(o){case"success":c=b.default.createElement(J,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":c=b.default.createElement(J,{icon:"info-icon",color:"white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":c=b.default.createElement(J,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})}return b.default.createElement(sr,{theme:n,type:o},b.default.createElement("div",{className:`notification toast ${r}`},b.default.createElement("div",{className:"leftSide"},b.default.createElement("div",{className:"notification-icon"},c),b.default.createElement("div",null,b.default.createElement("p",{className:"notification-message"},a))),b.default.createElement("div",{className:"close-icon",onClick:e},b.default.createElement(J,{icon:"close-icon",color:n.variant["neutral-2"]}))))},ur=t.createContext(),pr=g.default.div`
2993
2990
  .notification-container {
2994
2991
  font-size: 14px;
2995
2992
  box-sizing: border-box;
@@ -2999,7 +2996,7 @@ overflow: hidden;
2999
2996
 
3000
2997
  .top-right {
3001
2998
  top: 12px;
3002
- right: 12px;
2999
+ right: 1%;
3003
3000
  transition: transform 0.6s ease-in-out;
3004
3001
  animation: toast-in-right 0.3s;
3005
3002
  }
@@ -3047,4 +3044,4 @@ overflow: hidden;
3047
3044
  // background: ${({theme:e,bg:t})=>t?e.variant[t]:e.bgColor};
3048
3045
  font-size: ${({size:e})=>mr[e].fontSize};
3049
3046
  line-height: ${({size:e})=>mr[e].lineHeight};
3050
- `,gr=({size:e,children:t,bg:a,text:o,...r})=>{const i=l.useTheme()||M;return b.default.createElement(br,S({theme:i,bg:a,text:o,size:e},r),b.default.createElement(Ta,{theme:i}),t)};gr.propTypes={size:m.default.oneOf(["xs","sm","md","lg"]),text:m.default.string,bg:m.default.string,children:m.default.any,theme:m.default.object},gr.defaultProps={size:"md"},exports.Accordion=Y,exports.AccordionSB=N,exports.AccordionSBfooter=Q,exports.ActionContainer=$l,exports.ActionItem=ta,exports.ArrowBar=ee,exports.Avatar=ie,exports.AvatarSB=ue,exports.AvatarSBfooter=be,exports.Banner=ye,exports.Breadcrumb=Ue,exports.ButtonPopup=Oa,exports.Card=L,exports.CardRef=H,exports.CheckBoxInput=tt,exports.ColorInput=ot,exports.Comment=Ol,exports.Content=Gl,exports.DarkSecondaryLink=Ro,exports.DateSelect=ft,exports.DateTime=yt,exports.Divider=sa,exports.DocumentCard=Z,exports.DotPulseLoader=()=>{const e=l.useTheme()||M;return b.default.createElement(xe,{activeTheme:e},b.default.createElement("div",{className:"dot-pulse"}))},exports.Drawer=ua,exports.DropdownSelect=wt,exports.DropzoneInput=Rt,exports.ErrorBoundary=pa,exports.FilterChip=ba,exports.Footer=ha,exports.FooterContent=({variant:e,textColor:t,size:l,width:a,footerWidth:o,...r})=>{const i=(new Date).getFullYear();return b.default.createElement(ya,S({variant:e,textColor:t,footerWidth:o},r),b.default.createElement(xa,{footerWidth:o},b.default.createElement(va,{footerWidth:o},"Premise HQ"),b.default.createElement(Aa,{footerWidth:o},"|"),b.default.createElement(va,{footerWidth:o},"All Rights Restricted ",i," ©")),b.default.createElement(xa,{footerWidth:o},b.default.createElement(va,{footerWidth:o},"Terms of use"),b.default.createElement(Aa,{footerWidth:o},"|"),b.default.createElement(va,{footerWidth:o},"Privacy Policy")))},exports.FormComponent=({formData:e,customStyles:l,...a})=>{const o=e=>{switch(e.type){case"header":return(e=>b.default.createElement(t.Fragment,null,b.default.createElement(wa,S({},e,a),e.children),e))(e);case"label":return(e=>b.default.createElement(Ne,S({style:{marginBottom:"7px",paddingBottom:"0"}},e,a)))(e);case"text":return(e=>b.default.createElement(il,S({},e,a)))(e);case"textArea":return(e=>b.default.createElement(xl,S({},e,a)))(e);case"number":return(e=>b.default.createElement(Xt,S({},e,a)))(e);case"radio":return(e=>b.default.createElement(tl,S({key:101*Math.random()|0},e,a)))(e);case"checkBox":return(e=>b.default.createElement(tt,S({},e,a)))(e);case"singleSelect":return(e=>b.default.createElement(wt,S({dropdownType:"singleSelect"},e,a)))(e);case"multiSelect":return(e=>b.default.createElement(wt,S({dropdownType:"multiSelect"},e,a)))(e);case"asyncSingleSelect":return(e=>b.default.createElement(wt,S({dropdownType:"asyncSingleSelect"},e,a)))(e);case"asyncMultiSelect":return(e=>b.default.createElement(wt,S({dropdownType:"asyncMultiSelect"},e,a)))(e);case"signature":return(e=>b.default.createElement(ml,S({},e,a)))(e);case"fileUpload":return(e=>b.default.createElement(Rt,S({},e,a)))(e);case"date":return(e=>b.default.createElement(ft,S({},e,a)))(e);case"toggle":return(e=>b.default.createElement(Wl,S({},e,a)))(e);case"rating":return(e=>b.default.createElement(Ma,S({},e,a)))(e);case"buttonPrimary":return(e=>b.default.createElement(Be,S({},e,a)))(e);case"buttonSecondary":return(e=>b.default.createElement(We,S({},e,a)))(e);case"buttonTiny":return(e=>b.default.createElement(Te,S({},e,a)))(e);case"search":return(e=>b.default.createElement(nl,S({},e,a)))(e);case"table":return(e=>b.default.createElement(Wa,S({},e,a)))(e);case"passwordInput":return(e=>b.default.createElement(Nt,S({},e,a)))(e);case"headerComponent":return(e=>b.default.createElement(Ra,S({},e,a)))(e)}};return b.default.createElement(t.Fragment,null,b.default.createElement(la,{defaultThemeColor:M},b.default.createElement(na,{onSubmit:()=>{},customStyles:l},e.map(((e,t)=>e.length>1?b.default.createElement(oa,null,e.map(((t,l)=>b.default.createElement(ra,{cols:e.length},o(t))))):o(e[0]))))))},exports.FormContainer=la,exports.FormWrapper=na,exports.GroupAvatars=Ha,exports.GroupButtons=Da,exports.GroupButtonsPopup=Na,exports.GroupStatusCircle=to,exports.Header=wa,exports.HeaderComponent=Ra,exports.HyperLink=oo,exports.Icon=J,exports.Image=le,exports.ImageUploader=jt,exports.Label=Ne,exports.LightSecondaryLink=Lo,exports.LinkButton=Ee,exports.Loader=Ce,exports.ModalComp=uo,exports.MultiColumnDiv=ra,exports.MultiColumnWrapper=oa,exports.Navbar=({headerContent:e,bodyContent:a,footerContent:o,toggleSideBarOpen:r,headerStyles:i,selectedStyle:n,notSelectedStyle:c,customStylesNameHover:s,listElementStyle:d,customSelectCardColor:u,user:p,firstBottomContent:f,secondBottomContent:m,bottomContent:g,selectedAppPath:h,setSelectedAppPath:y,selectedAppPageId:x,setSelectedAppPageId:v,setParentId:A,setRouterObject:C,...w})=>{const S=l.useTheme()||M,[E,k]=t.useState(null),[z,V]=t.useState(null),[B,I]=t.useState(!1),[W,R]=t.useState([]);return t.useEffect((()=>{R(h.split("/"));let e=h.split("/"),t=a.find((t=>e[1]===t.path.split("/")[1])),l=t.routes.find((e=>e.path===h));v(l.pageId),C(l),A(t.pageId)}),[h]),b.default.createElement(Po,{onMouseEnter:()=>I(!0),onMouseLeave:()=>{k(null),V(null),I(!1)},toggleSideBarOpen:r},b.default.createElement(Ho,{theme:S,headerStyles:i},e),b.default.createElement(jo,{toggleSideBarOpen:r},a.filter((e=>!0===e.visibleAsMenu))?.map(((e,t)=>b.default.createElement(N,{key:e.pageId,index:t,handleClick:e=>{!function(e){V(null),k(e)}(e)},isAccordionOpen:t===E||B&&e?.value?.toLowerCase()===W[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===W[1]?.toLowerCase(),customSelectCardColor:u,customStylesAccordionContainer:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"16px","padding-top":"7.5px","padding-bottom":"7.5px",cursor:"pointer"},customStylesAccordionContent:{transition:"height ease 0.2s",overflow:"hidden",padding:"0","background-color":"transparent",color:"white",position:"relative","box-shadow":"none"},contentToggle:b.default.createElement(ue,{selectedStyle:n,notSelectedStyle:c,toggleName:r,customStylesName:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":"600"},customStylesNameHover:s,size:"LG",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e?.value?.toLowerCase()===W[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:b.default.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((t,l)=>b.default.createElement(qo,{listElementStyle:d,key:e.pageId+l,onClick:()=>{y(t.path)}},b.default.createElement("span",{style:{visibility:W[2]?.toLowerCase()===t?.path.split("/")[2]?.toLowerCase()?"visible":"hidden"}}),b.default.createElement("p",{style:{marginTop:0===l&&"0px",display:"inline-block"}},t?.link)))))})))),b.default.createElement(Fo,{toggleSideBarOpen:r,onMouseEnter:()=>I(!1)},b.default.createElement(Q,{index:0,handleClick:e=>{!function(e){k(null),V(e)}(e)},isAccordionOpen:0===z,customStylesAccordionContainer:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"16px","padding-top":"7.5px","padding-bottom":"7.5px",cursor:"pointer"},customStylesAccordionContent:{transition:"height ease 0.2s",overflow:"hidden",padding:"0","background-color":"transparent",color:"white",position:"relative","box-shadow":"none"},contentToggle:b.default.createElement(ue,{selectedStyle:n,notSelectedStyle:c,toggleName:r,customStylesName:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":"400"},customStylesNameHover:s,size:"LG",user:{fullName:p.fullName||"My Account",userName:p.userName||"My Account",url:p.imgUrl}}),content:b.default.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},g?.map(((e,t)=>b.default.createElement(Oo,{listElementStyle:d,key:t},e?.value))))})))},exports.NumericInput=Xt,exports.Overlay=fo,exports.OverlayOptionContainer=_l,exports.OverlayOptionItemLabel=ea,exports.PageContent=Xl,exports.Pagination=vo,exports.PaginationDefault=Co,exports.PasswordInput=Nt,exports.PrimaryButton=Be,exports.PrimaryStatusChip=Uo,exports.ProgressBar=ko,exports.ProgressSteps=Io,exports.RadioInput=tl,exports.Rating=Ma,exports.SearchInput=nl,exports.SecondaryButton=We,exports.SecondaryStatusChip=Qo,exports.Sidebar=Xo,exports.SignatureInput=ml,exports.SlimPrimaryStatusChip=_o,exports.SlimSecondaryStatusChip=lr,exports.StatusCircle=Ka,exports.StyledCentralBar=Ul,exports.StyledClearSearch=Jl,exports.StyledCreateRow=Nl,exports.StyledRow=Ql,exports.StyledRowSearch=Dl,exports.StyledSearchRow=Kl,exports.StyledWarning=Yl,exports.SubmitButtonContainer=aa,exports.SubmitComponent=({formData:e,onSubmit:l,onReset:a,style:o,...r})=>{const i=e=>{switch(e.type){case"submit":return(e=>b.default.createElement(Be,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>b.default.createElement(We,{block:e.block,disabled:r.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return b.default.createElement(t.Fragment,null,b.default.createElement(aa,{style:o},e&&e.map(((e,t)=>e.map(((e,t)=>i(e)))))))},exports.TabPanel=ar,exports.Table=Wa,exports.Tabs=cr,exports.TextArea=xl,exports.TextInput=il,exports.TimeInput=zl,exports.TinyButton=Te,exports.ToastProvider=e=>{const[l,a]=t.useState([]),o=(e,t)=>{a((l=>[...l,{id:fr(),content:t,type:e}]))},r=t.useMemo((()=>({open:o})),[]),[i,n]=t.useState(!1);return t.useEffect((()=>(n(!0),()=>n(!1))),[]),b.default.createElement(ur.Provider,{value:r},e.children,i?p.createPortal(b.default.createElement(pr,null,b.default.createElement("div",{className:`notification-container ${e.position}`},l.map((t=>b.default.createElement(dr,{key:t.id,type:t.type,position:e.position,timeout:e.timeout,close:()=>{return e=t.id,a((t=>t.filter((t=>t.id!==e))));var e}},t.content))))),document.body):null)},exports.ToggleSwitch=Wl,exports.Tooltip=Ze,exports.Typography=gr,exports.defaultStyles=I,exports.defaultThemeColor=M,exports.getDefaultStyles=W,exports.graphColor=B,exports.hexToRGB=R,exports.neutralColor=z,exports.primaryColor=E,exports.shadeColor=V,exports.uiColor=k,exports.useToast=()=>t.useContext(ur);
3047
+ `,gr=({size:e,children:t,bg:a,text:o,...r})=>{const i=l.useTheme()||M;return b.default.createElement(br,S({theme:i,bg:a,text:o,size:e},r),b.default.createElement(Pa,{theme:i}),t)};gr.propTypes={size:m.default.oneOf(["xs","sm","md","lg"]),text:m.default.string,bg:m.default.string,children:m.default.any,theme:m.default.object},gr.defaultProps={size:"md"},exports.Accordion=Y,exports.AccordionSB=Q,exports.AccordionSBfooter=N,exports.ActionContainer=ea,exports.ActionItem=aa,exports.ArrowBar=ee,exports.Avatar=ie,exports.AvatarSB=ue,exports.AvatarSBfooter=be,exports.Banner=ye,exports.Breadcrumb=Qe,exports.ButtonPopup=Ga,exports.Card=L,exports.CardRef=H,exports.CheckBoxInput=at,exports.ColorInput=it,exports.Comment=Gl,exports.Content=Dl,exports.DarkSecondaryLink=Lo,exports.DateSelect=bt,exports.DateTime=vt,exports.Divider=ua,exports.DocumentCard=Z,exports.DotPulseLoader=()=>{const e=l.useTheme()||M;return b.default.createElement(xe,{activeTheme:e},b.default.createElement("div",{className:"dot-pulse"}))},exports.Drawer=fa,exports.DropdownSelect=Et,exports.DropzoneInput=Lt,exports.ErrorBoundary=ma,exports.FilterChip=ha,exports.Footer=xa,exports.FooterContent=({variant:e,textColor:t,size:l,width:a,footerWidth:o,...r})=>{const i=(new Date).getFullYear();return b.default.createElement(va,S({variant:e,textColor:t,footerWidth:o},r),b.default.createElement(Aa,{footerWidth:o},b.default.createElement(Ca,{footerWidth:o},"Premise HQ"),b.default.createElement(wa,{footerWidth:o},"|"),b.default.createElement(Ca,{footerWidth:o},"All Rights Restricted ",i," ©")),b.default.createElement(Aa,{footerWidth:o},b.default.createElement(Ca,{footerWidth:o},"Terms of use"),b.default.createElement(wa,{footerWidth:o},"|"),b.default.createElement(Ca,{footerWidth:o},"Privacy Policy")))},exports.FormComponent=({formData:e,customStyles:l,...a})=>{const o=e=>{switch(e.type){case"header":return(e=>b.default.createElement(t.Fragment,null,b.default.createElement(Ea,S({},e,a),e.children),e))(e);case"label":return(e=>b.default.createElement(Ke,S({style:{marginBottom:"7px",paddingBottom:"0"}},e,a)))(e);case"text":return(e=>b.default.createElement(cl,S({},e,a)))(e);case"textArea":return(e=>b.default.createElement(Al,S({},e,a)))(e);case"number":return(e=>b.default.createElement(Jt,S({},e,a)))(e);case"radio":return(e=>b.default.createElement(al,S({key:101*Math.random()|0},e,a)))(e);case"checkBox":return(e=>b.default.createElement(at,S({},e,a)))(e);case"singleSelect":return(e=>b.default.createElement(Et,S({dropdownType:"singleSelect"},e,a)))(e);case"multiSelect":return(e=>b.default.createElement(Et,S({dropdownType:"multiSelect"},e,a)))(e);case"asyncSingleSelect":return(e=>b.default.createElement(Et,S({dropdownType:"asyncSingleSelect"},e,a)))(e);case"asyncMultiSelect":return(e=>b.default.createElement(Et,S({dropdownType:"asyncMultiSelect"},e,a)))(e);case"signature":return(e=>b.default.createElement(gl,S({},e,a)))(e);case"fileUpload":return(e=>b.default.createElement(Lt,S({},e,a)))(e);case"date":return(e=>b.default.createElement(bt,S({},e,a)))(e);case"toggle":return(e=>b.default.createElement(Tl,S({},e,a)))(e);case"rating":return(e=>b.default.createElement(Wa,S({},e,a)))(e);case"buttonPrimary":return(e=>b.default.createElement(Ie,S({},e,a)))(e);case"buttonSecondary":return(e=>b.default.createElement(Te,S({},e,a)))(e);case"buttonTiny":return(e=>b.default.createElement(Pe,S({},e,a)))(e);case"search":return(e=>b.default.createElement(sl,S({},e,a)))(e);case"table":return(e=>b.default.createElement(Ta,S({},e,a)))(e);case"passwordInput":return(e=>b.default.createElement(Kt,S({},e,a)))(e);case"headerComponent":return(e=>b.default.createElement(La,S({},e,a)))(e)}};return b.default.createElement(t.Fragment,null,b.default.createElement(oa,{defaultThemeColor:M},b.default.createElement(sa,{onSubmit:()=>{},customStyles:l},e.map(((e,t)=>e.length>1?b.default.createElement(ia,null,e.map(((t,l)=>b.default.createElement(na,{cols:e.length},o(t))))):o(e[0]))))))},exports.FormContainer=oa,exports.FormWrapper=sa,exports.GroupAvatars=qa,exports.GroupButtons=Ua,exports.GroupButtonsPopup=Ka,exports.GroupStatusCircle=ao,exports.Header=Ea,exports.HeaderComponent=La,exports.HyperLink=io,exports.Icon=J,exports.Image=le,exports.ImageUploader=Ft,exports.Label=Ke,exports.LightSecondaryLink=Ho,exports.LinkButton=ze,exports.Loader=Ce,exports.ModalComp=fo,exports.MultiColumnDiv=na,exports.MultiColumnWrapper=ia,exports.Navbar=({headerContent:e,bodyContent:a,footerContent:o,toggleSideBarOpen:r,headerStyles:i,selectedStyle:n,notSelectedStyle:c,customStylesNameHover:s,listElementStyle:d,customSelectCardColor:u,user:p,firstBottomContent:f,secondBottomContent:m,selectedAppPath:g,setSelectedAppPath:h,selectedAppPageId:y,setSelectedAppPageId:x,setParentId:v,setRouterObject:A,...C})=>{const w=l.useTheme()||M,[S,E]=t.useState(null),[k,z]=t.useState(!1),[V,B]=t.useState([]);return t.useEffect((()=>{B(g.split("/"));let e=g.split("/"),t=a&&a.find((t=>e[1]===t.path.split("/")[1])),l=t?.routes&&t?.routes.find((e=>e?.path===g));x(l?.pageId||null),A(l||null),v(t?.pageId||null)}),[g]),b.default.createElement(jo,{onMouseEnter:()=>z(!0),onMouseLeave:()=>{E(null),z(!1)},toggleSideBarOpen:r},b.default.createElement(qo,{theme:w,headerStyles:i},e),b.default.createElement(Fo,{toggleSideBarOpen:r},a&&a.filter((e=>!0===e.visibleAsMenu))?.map(((e,t,l)=>{let a=l.length;return b.default.createElement(Q,{key:e.pageId,index:t,handleClick:e=>{!function(e){E(e)}(e)},isAccordionOpen:t===S||k&&e?.value?.toLowerCase()===V[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===V[1]?.toLowerCase(),customSelectCardColor:u,customStylesAccordionContainer:{"box-shadow":"none","border-radius":"0px","background-color":"transparent",position:a-1===t?"absolute":"initial",bottom:a-1===t&&"0px",padding:a-1===t?"2px 0px 10px 0px":"0px 0px 0px 0px"},customStylesAccordionTogggle:{padding:"0","box-shadow":"none","border-radius":"0px","background-color":"transparent","padding-left":"8px","padding-top":"16px","padding-bottom":"16px",cursor:"pointer"},customStylesAccordionContent:{transition:"height ease 0.2s",overflow:"hidden",padding:"0","background-color":"transparent",color:"white",position:"relative","box-shadow":"none"},contentToggle:b.default.createElement(ue,{selectedStyle:n,notSelectedStyle:c,toggleName:r,customStylesName:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white","font-weight":"600"},customStylesNameHover:s,size:"MD",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e?.value?.toLowerCase()===V[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:b.default.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((t,l)=>b.default.createElement(Oo,{listElementStyle:d,key:e.pageId+l,onClick:()=>{h(t.path)}},b.default.createElement("span",{className:"selected-disk",style:{visibility:V[2]?.toLowerCase()===t?.path.split("/")[2]?.toLowerCase()?"visible":"hidden"}}),b.default.createElement("span",{className:"link"}," ",t?.link)))))})}))))},exports.NumericInput=Jt,exports.Overlay=bo,exports.OverlayOptionContainer=ta,exports.OverlayOptionItemLabel=la,exports.PageContent=Jl,exports.Pagination=Co,exports.PaginationDefault=So,exports.PasswordInput=Kt,exports.PrimaryButton=Ie,exports.PrimaryStatusChip=Uo,exports.ProgressBar=Vo,exports.ProgressSteps=Ro,exports.RadioInput=al,exports.Rating=Wa,exports.RoundedLoader=Se,exports.SearchInput=sl,exports.SecondaryButton=Te,exports.SecondaryStatusChip=No,exports.Sidebar=Xo,exports.SignatureInput=gl,exports.SlimPrimaryStatusChip=_o,exports.SlimSecondaryStatusChip=lr,exports.StatusCircle=_a,exports.StyledCentralBar=Ql,exports.StyledClearSearch=Yl,exports.StyledCreateRow=Kl,exports.StyledRow=$l,exports.StyledRowSearch=Ul,exports.StyledSearchRow=_l,exports.StyledWarning=Nl,exports.SubmitButtonContainer=ra,exports.SubmitComponent=({formData:e,onSubmit:l,onReset:a,style:o,...r})=>{const i=e=>{switch(e.type){case"submit":return(e=>b.default.createElement(Ie,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>b.default.createElement(Te,{block:e.block,disabled:r.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return b.default.createElement(t.Fragment,null,b.default.createElement(ra,{style:o},e&&e.map(((e,t)=>e.map(((e,t)=>i(e)))))))},exports.TabPanel=ar,exports.Table=Ta,exports.Tabs=cr,exports.TextArea=Al,exports.TextInput=cl,exports.TimeInput=Bl,exports.TinyButton=Pe,exports.ToastProvider=e=>{const[l,a]=t.useState([]),o=(e,t)=>{a((l=>[...l,{id:fr(),content:t,type:e}]))},r=t.useMemo((()=>({open:o})),[]),[i,n]=t.useState(!1);return t.useEffect((()=>(n(!0),()=>n(!1))),[]),b.default.createElement(ur.Provider,{value:r},e.children,i?p.createPortal(b.default.createElement(pr,null,b.default.createElement("div",{className:`notification-container ${e.position}`},l.map((t=>b.default.createElement(dr,{key:t.id,type:t.type,position:e.position,timeout:e.timeout,close:()=>{return e=t.id,a((t=>t.filter((t=>t.id!==e))));var e}},t.content))))),document.body):null)},exports.ToggleSwitch=Tl,exports.Tooltip=Xe,exports.Typography=gr,exports.defaultStyles=I,exports.defaultThemeColor=M,exports.getDefaultStyles=W,exports.graphColor=B,exports.hexToRGB=R,exports.neutralColor=z,exports.primaryColor=E,exports.shadeColor=V,exports.uiColor=k,exports.useToast=()=>t.useContext(ur);