groundfloor-react-ui 1.2.46 → 1.2.48

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 +232 -231
  2. package/dist/index.js +228 -227
  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 c=require("react-select"),n=require("react-select/async"),d=require("react-signature-pad-wrapper"),s=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(c),v=f(n),A=f(d),C=f(s),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"},"progressBar-label":{display:"block","margin-left":"13px","margin-bottom":"8px","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":"8px","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":"8px","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":"flex-end","justify-content":"center","flex-direction":"column",background:"white",width:"fit-content",height:"fit-content",top:"50%",left:"50%",transform:"translate(-50%, -50%)","border-radius":"5px"},"modal-close-button":{cursor:"pointer",width:"fit-content",height:"fit-content",padding:"0","padding-right":"5px","padding-top":"5px",color:`${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 100ms",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 L=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 c=require("react-select"),n=require("react-select/async"),d=require("react-signature-pad-wrapper"),s=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(c),v=f(n),A=f(d),C=f(s),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 k={"primary-1":"#2E56F4","primary-2":"#081348"},E={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:{...k},ui:{...E},neutral:{...z},shade:{...V},graph:{...B},variant:{...k,...E,...z,...V,...B},textColor:k["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"},"progressBar-label":{display:"block","margin-left":"13px","margin-bottom":"8px","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":"8px","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":"8px","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":"flex-end","justify-content":"center","flex-direction":"column",background:"white",width:"fit-content",height:"fit-content",top:"50%",left:"50%",transform:"translate(-50%, -50%)","border-radius":"5px"},"modal-close-button":{cursor:"pointer",width:"fit-content",height:"fit-content",padding:"0","padding-right":"5px","padding-top":"5px",color:`${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 100ms",display:"flex","flex-direction":"column","z-index":"99999999"},"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 L=g.default.div`
2
2
  color: ${({activeTheme:e})=>e.textColor};
3
3
  padding-top: 25px;
4
4
  padding-bottom: 25px;
@@ -138,7 +138,7 @@
138
138
 
139
139
  // custom styles
140
140
  ${({customWrapperStyles:e})=>e}
141
- `,Y=({customStylesAccordionContainer:e,customStylesAccordionTogggle:a,customStylesAccordionIcon:o,customStylesAccordionContent:r,toggleIconAnimation:i,icon:c,content:n,contentToggle:d,toggleState:s,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(T,S({customStyles:e,type:"accordionContainer"},g,{header:b.default.createElement(T,S({customStyles:{borderRadius:x?"5px 5px 0 0":"5px",...a},type:"accordionToggle"},g,{onClick:()=>{v(!x)},header:d,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"}},c||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:n}))}))};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:c,content:n,contentToggle:d,isSelected:s,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((()=>{s?(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({}))}),[s]),t.useEffect((()=>{x(!!f)}),[f]),b.default.createElement(T,S({customStyles:{...e,...A},type:"accordionContainer"},h,{header:b.default.createElement(T,S({customStyles:{...a,...w},type:"accordionToggle"},h,{onClick:()=>{y||p(u),x(!y)},header:d,content:b.default.createElement("div",{style:i&&y?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},c)})),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: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 N=({customStylesAccordionContainer:e,customStylesAccordionTogggle:l,customStylesAccordionIcon:a,customStylesAccordionContent:o,toggleIconAnimation:r,icon:i,content:c,contentToggle:n,isSelected:d,index:s,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((()=>{d?(A((e=>({...e,backgroundColor:"#2444d8"}))),w((e=>({...e,backgroundColor:"#2444d8",paddingTop:"14px",paddingBottom:"14px",paddingLeft:"6px"})))):(A({}),w({}))}),[d]),t.useEffect((()=>{y(!!p)}),[p]),b.default.createElement(T,S({customStyles:{...e,...v},type:"accordionContainer"},g,{header:b.default.createElement(T,S({customStyles:{...l,...C},type:"accordionToggle"},g,{onClick:()=>{f||(h||u(s),y(!h))},header:n,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: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 K=g.default.div`
141
+ `,Y=({customStylesAccordionContainer:e,customStylesAccordionTogggle:a,customStylesAccordionIcon:o,customStylesAccordionContent:r,toggleIconAnimation:i,icon:c,content:n,contentToggle:d,toggleState:s,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(T,S({customStyles:e,type:"accordionContainer"},g,{header:b.default.createElement(T,S({customStyles:{borderRadius:x?"5px 5px 0 0":"5px",...a},type:"accordionToggle"},g,{onClick:()=>{v(!x)},header:d,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"}},c||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:n}))}))};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:c,content:n,contentToggle:d,isSelected:s,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,k]=t.useState({}),E=l.useTheme()||M;return t.useEffect((()=>{s?(C((e=>({...e,backgroundColor:g||E.variant["primary-1"]}))),k((e=>({...e,backgroundColor:g||E.variant["primary-1"],paddingTop:"14px",paddingBottom:"14px",paddingLeft:"6px"})))):(C({}),k({}))}),[s]),t.useEffect((()=>{x(!!f)}),[f]),b.default.createElement(T,S({customStyles:{...e,...A},type:"accordionContainer"},h,{header:b.default.createElement(T,S({customStyles:{...a,...w},type:"accordionToggle"},h,{onClick:()=>{y||p(u),x(!y)},header:d,content:b.default.createElement("div",{style:i&&y?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},c)})),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: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 N=({customStylesAccordionContainer:e,customStylesAccordionTogggle:l,customStylesAccordionIcon:a,customStylesAccordionContent:o,toggleIconAnimation:r,icon:i,content:c,contentToggle:n,isSelected:d,index:s,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((()=>{d?(A((e=>({...e,backgroundColor:"#2444d8"}))),w((e=>({...e,backgroundColor:"#2444d8",paddingTop:"14px",paddingBottom:"14px",paddingLeft:"6px"})))):(A({}),w({}))}),[d]),t.useEffect((()=>{y(!!p)}),[p]),b.default.createElement(T,S({customStyles:{...e,...v},type:"accordionContainer"},g,{header:b.default.createElement(T,S({customStyles:{...l,...C},type:"accordionToggle"},g,{onClick:()=>{f||(h||u(s),y(!h))},header:n,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: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 K=g.default.div`
142
142
  color: ${({theme:e,variant:t})=>t?e.variant[t]:"white"};
143
143
  ${({scroll:e})=>e?l.css`
144
144
  display: flex;
@@ -532,20 +532,20 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
532
532
  `,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`
533
533
  0% { transform: rotate(0deg); }
534
534
  100% { transform: rotate(360deg); }
535
- `,Se=({size:e,thickness:t,customStyles:a})=>{const o=g.default.div`
536
- display: inline-block;
537
- border: ${t}px solid
538
- ${({theme:e})=>R(e.variant["primary-1"],.5)};
539
-
540
- border-top: ${t}px solid
541
- ${({theme:e})=>e.variant["primary-1"]};
542
- border-radius: 50%;
543
- height: ${e}px;
544
- width: ${e}px;
545
- animation: ${we} 1s linear infinite;
546
-
547
- ${({customStyles:e})=>e}
548
- `,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
+ `,Se=g.default.div`
536
+ display: inline-block;
537
+ border:
538
+ ${({theme:e,thickness:t})=>t+"px solid "+R(e.variant["primary-1"],.5)};
539
+
540
+ border-top:
541
+ ${({theme:e,thickness:t})=>t+"px solid "+e.variant["primary-1"]};
542
+ border-radius: 50%;
543
+ height: ${({size:e})=>e+"px"};
544
+ width: ${({size:e})=>e+"px"};
545
+ animation: ${we} 1s linear infinite;
546
+
547
+ ${({customStyles:e})=>e}
548
+ `,ke=({size:e,thickness:t,customStyles:a})=>{const o=l.useTheme()||M;return b.default.createElement(Se,{theme:o,size:e,thickness:t,customStyles:a})};ke.propTypes={size:m.default.number,thickness:m.default.number,customStyles:m.default.object},ke.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"}},ze=g.default.button`
549
549
  background: transparent;
550
550
  color: ${({theme:e})=>e.variant["primary-1"]};
551
551
  padding: ${({size:e})=>Ee[e].padding};
@@ -567,13 +567,13 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
567
567
 
568
568
  // custom styles
569
569
  ${({btnStyle:e})=>e}
570
- `,ze=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:c,id:n,...d})=>{const s=l.useTheme()||M;return b.default.createElement(ke,S({id:n,block:t,defaultStyle:"button",type:c,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{customStyles:{"background-color":s.bgColor},size:16})),d.children)};ze.propTypes={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={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=g.default.button`
570
+ `,Ve=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:c,id:n,...d})=>{const s=l.useTheme()||M;return b.default.createElement(ze,S({id:n,block:t,defaultStyle:"button",type:c,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{customStyles:{"background-color":s.bgColor},size:16})),d.children)};Ve.propTypes={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},Ve.defaultProps={block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Be={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Me=g.default.button`
571
571
  background-color: ${({theme:e})=>e.primary["primary-1"]};
572
572
  color: ${({theme:e})=>e.bgColor};
573
- padding: ${({size:e})=>Ve[e].padding};
573
+ padding: ${({size:e})=>Be[e].padding};
574
574
  border: 1px solid ${({theme:e})=>e.primary["primary-1"]};
575
575
  border-radius: 5px;
576
- font-size: ${({size:e})=>Ve[e].fontSize};
576
+ font-size: ${({size:e})=>Be[e].fontSize};
577
577
  display: flex;
578
578
  align-items: center;
579
579
  width: ${({block:e})=>e?"100%":"auto"};
@@ -590,12 +590,12 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
590
590
 
591
591
  // custom styles
592
592
  ${({btnStyle:e})=>e}
593
- `,Me=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:c,id:n,...d})=>{const s=l.useTheme()||M;return b.default.createElement(Be,S({id:n,block:t,type:c,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{customStyles:{"background-color":s.bgColor},size:16})),d.children)};Me.propTypes={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},Me.defaultProps={block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ie={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},We=g.default.button`
593
+ `,Ie=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:c,id:n,...d})=>{const s=l.useTheme()||M;return b.default.createElement(Me,S({id:n,block:t,type:c,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{customStyles:{"background-color":s.bgColor},size:16})),d.children)};Ie.propTypes={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={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`
594
594
  color: ${({theme:e})=>e.variant["primary-1"]};
595
595
  background: ${({theme:e})=>e.bgColor};
596
- padding: ${({size:e})=>Ie[e].padding};
596
+ padding: ${({size:e})=>We[e].padding};
597
597
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
598
- font-size: ${({size:e})=>Ie[e].fontSize};
598
+ font-size: ${({size:e})=>We[e].fontSize};
599
599
  border-radius: 5px;
600
600
  display: flex;
601
601
  align-items: center;
@@ -613,7 +613,7 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
613
613
  ${({theme:e,defaultStyle:t})=>W(e,t)}
614
614
  // custom styles
615
615
  ${({btnStyle:e})=>e}
616
- `,Re=({btnStyle:e,isLoading:t,block:a,size:o,style:r,disabled:i,type:c,theme:n,id:d,...s})=>{const u=l.useTheme()||M;return b.default.createElement(We,S({id:d,block:a,defaultStyle:"button",style:r,size:o,disabled:i,type:c,btnStyle:e,isLoading:t,theme:n},s),t&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{theme:n,customStyles:{"background-color":u.variant["primary-1"]},size:16})," "),s.children," ")};Re.propTypes={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},We.defaultProps={theme:M},Re.defaultProps={theme:M,block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Le=g.default.button`
616
+ `,Le=({btnStyle:e,isLoading:t,block:a,size:o,style:r,disabled:i,type:c,theme:n,id:d,...s})=>{const u=l.useTheme()||M;return b.default.createElement(Re,S({id:d,block:a,defaultStyle:"button",style:r,size:o,disabled:i,type:c,btnStyle:e,isLoading:t,theme:n},s),t&&b.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},b.default.createElement(Ce,{theme:n,customStyles:{"background-color":u.variant["primary-1"]},size:16})," "),s.children," ")};Le.propTypes={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},Le.defaultProps={theme:M,block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Te=g.default.button`
617
617
  background-color: ${({theme:e})=>e.primary["primary-1"]};
618
618
  color: ${({theme:e})=>e.bgColor};
619
619
  padding: 3px 14px;
@@ -639,7 +639,7 @@ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t i
639
639
 
640
640
  // custom styles
641
641
  ${({btnStyle:e})=>e}
642
- `,Te=({block:e,style:t,disabled:a,type:o,btnStyle:r,id:i,...c})=>(l.useTheme(),b.default.createElement(Le,S({id:i,block:e,defaultStyle:"button",type:o,style:t,disabled:a,btnStyle:r},c),c.children));Te.propTypes={disabled:m.default.bool,block:m.default.bool,onClick:m.default.func,theme:m.default.object,type:m.default.string,btnStyle:m.default.object,id:m.default.string},Le.defaultProps={theme:M},Te.defaultProps={theme:M,block:!1,disabled:!1,onClick:void 0,btnStyle:{},id:""};const Pe=g.default.div`
642
+ `,Pe=({block:e,style:t,disabled:a,type:o,btnStyle:r,id:i,...c})=>(l.useTheme(),b.default.createElement(Te,S({id:i,block:e,defaultStyle:"button",type:o,style:t,disabled:a,btnStyle:r},c),c.children));Pe.propTypes={disabled:m.default.bool,block:m.default.bool,onClick:m.default.func,theme:m.default.object,type:m.default.string,btnStyle:m.default.object,id:m.default.string},Te.defaultProps={theme:M},Pe.defaultProps={theme:M,block:!1,disabled:!1,onClick:void 0,btnStyle:{},id:""};const He=g.default.div`
643
643
  background-color: ${({theme:e})=>e.bgColor};
644
644
  border: 1px solid ${({theme:e})=>e.bgColor};
645
645
  color: ${({theme:e})=>e.black},
@@ -683,7 +683,7 @@ ${({inBuiltCss:e,type:t,customStylesTPContainer:l})=>{if(e){let t={};if(e["toolt
683
683
  &[data-popper-placement*='left'] .tooltip-arrow::after {
684
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}}}}
685
685
  }
686
- `,He=g.default.div`
686
+ `,je=g.default.div`
687
687
 
688
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}}}}
689
689
 
@@ -695,26 +695,26 @@ ${({inBuiltCss:e,type:t,customStylesTPArrow:l})=>{if(e){let t={};if(e["tooltip-a
695
695
  &::after{
696
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}}}}
697
697
  }
698
- `,je=g.default.div`
698
+ `,qe=g.default.div`
699
699
 
700
700
  background-color: ${({theme:e})=>e.primary["primary-1"]};
701
701
  ${({inBuiltCss:e,defaultTooltipContentStyle:t})=>W(e,t)}
702
702
  // custom styles
703
703
  ${({customContentStyle:e})=>e}
704
- `,qe=g.default.div`
704
+ `,Fe=g.default.div`
705
705
  ${({inBuiltCss:e,defaultTooltipHeaderStyle:t})=>W(e,t)}
706
706
  // custom styles
707
707
  ${({customHeaderStyle:e})=>e}
708
- `,Fe=g.default.div`
708
+ `,Oe=g.default.div`
709
709
  ${({inBuiltCss:e,defaultTooltipBodyStyle:t})=>W(e,t)}
710
710
  // custom styles
711
711
  ${({customBodyStyle:e})=>e}
712
- `,Oe=g.default.div`
713
712
  `,Ze=g.default.div`
713
+ `,De=g.default.div`
714
714
  ${({inBuiltCss:e,defaultTooltipTriggerStyle:t})=>W(e,t)}
715
715
  // custom styles
716
716
  ${({customTriggerStyle:e})=>e}
717
- `,De=({inBuiltCss:e,contentTrigger:t,contentTooltip:a,popperOptionsP:r,settings:i,customStylesTPContainer:c,customStylesTPAbottom:n,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,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,...L})=>{const T=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(Ze,{ref:F,inBuiltCss:I,customTriggerStyle:B,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},t),O&&b.default.createElement(Pe,S({inBuiltCss:I,theme:T,ref:q},j({className:"tooltip-container"}),{customStylesTPContainer:c,customStylesTPAbottom:n,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:g,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),b.default.createElement(He,S({inBuiltCss:I},H({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w})),b.default.createElement(je,S({defaultTooltipContentStyle:"popOver-Content",theme:T,inBuiltCss:I},L,{customContentStyle:k}),b.default.createElement(qe,S({defaultTooltipHeaderStyle:"popOver-header",theme:T,inBuiltCss:I},L,{customHeaderStyle:z}),W),b.default.createElement(Fe,S({defaultTooltipBodyStyle:"popOver-body",theme:T,inBuiltCss:I},L,{customBodyStyle:V}),a),b.default.createElement(Oe,null,R))))};De.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},De.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(Re,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ge=g.default.div`
717
+ `,Ge=({inBuiltCss:e,contentTrigger:t,contentTooltip:a,popperOptionsP:r,settings:i,customStylesTPContainer:c,customStylesTPAbottom:n,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,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:k,customContentStyle:E,customHeaderStyle:z,customBodyStyle:V,customTriggerStyle:B,headerTooltip:W,footerTooltip:R,...L})=>{const T=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(De,{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:T,ref:q},j({className:"tooltip-container"}),{customStylesTPContainer:c,customStylesTPAbottom:n,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,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:T,inBuiltCss:I},L,{customContentStyle:E}),b.default.createElement(Fe,S({defaultTooltipHeaderStyle:"popOver-header",theme:T,inBuiltCss:I},L,{customHeaderStyle:z}),W),b.default.createElement(Oe,S({defaultTooltipBodyStyle:"popOver-body",theme:T,inBuiltCss:I},L,{customBodyStyle:V}),a),b.default.createElement(Ze,null,R))))};Ge.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},Ge.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(Le,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Xe=g.default.div`
718
718
  background: transparent;
719
719
  color: ${({theme:e,variant:t})=>e.variant[t]};
720
720
  font-size: ${({isPrimary:e})=>e?"16px":"14px"};
@@ -750,10 +750,10 @@ ${({customTriggerStyle:e})=>e}
750
750
  .breadcrumb-icon-separator {
751
751
  margin: ${({isPrimary:e,iconMargin:t})=>t||(e?"0 12px":"0 7px")};
752
752
  }
753
- `,Xe=g.default.div`
753
+ `,Je=g.default.div`
754
754
  display: flex;
755
755
  flex-wrap: nowrap;
756
- `,Je=g.default.div`
756
+ `,Ue=g.default.div`
757
757
  cursor: ${({href:e})=>e?"pointer":"default"};
758
758
  list-style: none;
759
759
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -784,17 +784,17 @@ ${({customTriggerStyle:e})=>e}
784
784
  z-index: 1;
785
785
  overflow: hidden;
786
786
  }
787
- `,Ue=g.default.div`
787
+ `,Ye=g.default.div`
788
788
  display: flex;
789
789
  margin-bottom: 15px;
790
790
  position: relative;
791
- `,Ye=({wrap:e,block:a,style:o,variant:r,variantSeparator:i,appLogo:c,separator:n,items:d,onClick:s,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()}),[d]),t.useEffect((()=>{if(!e)return window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[]);const C=d.map(((e,t)=>b.default.createElement(Xe,{key:t},0!==t||c?b.default.createElement("div",{className:"breadcrumb-icon-separator"},n):null,b.default.createElement(Je,{id:e.id,theme:h,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),w=d.slice(1,d.length-3).map(((e,t)=>b.default.createElement(Ue,{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(Je,{id:e.id,theme:h,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),E=d?1==p?d.length<=4?C:b.default.createElement(b.default.Fragment,null,b.default.createElement(Xe,{key:0},b.default.createElement("div",{className:"breadcrumb-icon-separator"},n),b.default.createElement(Je,{id:d[0].id,theme:h,onClick:()=>{d[0].href&&s(d[0].href)},variant:r,href:d[0].href,"data-title":d[0].label},d[0].label)),b.default.createElement(Xe,null,b.default.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},n),b.default.createElement(De,{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(Xe,{key:d.length-3},b.default.createElement("div",{className:"breadcrumb-icon-separator"},n),b.default.createElement(Je,{id:d[d.length-3].id,theme:h,onClick:()=>{d[d.length-3].href&&s(d[d.length-3].href)},variant:r,href:d[d.length-3].href,"data-title":d[d.length-3].label},d[d.length-3].label)),b.default.createElement(Xe,{key:d.length-2},b.default.createElement("div",{className:"breadcrumb-icon-separator"},n),b.default.createElement(Je,{id:d[d.length-2].id,theme:h,onClick:()=>{d[d.length-2].href&&s(d[d.length-2].href)},variant:r,href:d[d.length-2].href,"data-title":d[d.length-2].label},d[d.length-2].label)),b.default.createElement(Xe,{key:d.length-1},b.default.createElement("div",{className:"breadcrumb-icon-separator"},n),b.default.createElement(Je,{id:d[d.length-1].id,theme:h,onClick:()=>{d[d.length-1].href&&s(d[d.length-1].href)},variant:r,href:d[d.length-1].href,"data-title":d[d.length-1].label},d[d.length-1].label))):C:null;return b.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},b.default.createElement("div",{style:{display:"flex",position:"absolute"}},b.default.createElement(Ge,S({theme:h,isWrap:e,ref:e?null:y,isBreadcrumbVisible:x,block:a,variant:r,variantSeparator:i,style:o,isPrimary:u,iconMargin:m},g),c&&b.default.createElement("div",{className:"breadcrumb-icon"},c),E)))};Ye.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},Ye.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const Qe=g.default.label`
791
+ `,Qe=({wrap:e,block:a,style:o,variant:r,variantSeparator:i,appLogo:c,separator:n,items:d,onClick:s,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()}),[d]),t.useEffect((()=>{if(!e)return window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[]);const C=d.map(((e,t)=>b.default.createElement(Je,{key:t},0!==t||c?b.default.createElement("div",{className:"breadcrumb-icon-separator"},n):null,b.default.createElement(Ue,{id:e.id,theme:h,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),w=d.slice(1,d.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&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),k=d?1==p?d.length<=4?C:b.default.createElement(b.default.Fragment,null,b.default.createElement(Je,{key:0},b.default.createElement("div",{className:"breadcrumb-icon-separator"},n),b.default.createElement(Ue,{id:d[0].id,theme:h,onClick:()=>{d[0].href&&s(d[0].href)},variant:r,href:d[0].href,"data-title":d[0].label},d[0].label)),b.default.createElement(Je,null,b.default.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},n),b.default.createElement(Ge,{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:d.length-3},b.default.createElement("div",{className:"breadcrumb-icon-separator"},n),b.default.createElement(Ue,{id:d[d.length-3].id,theme:h,onClick:()=>{d[d.length-3].href&&s(d[d.length-3].href)},variant:r,href:d[d.length-3].href,"data-title":d[d.length-3].label},d[d.length-3].label)),b.default.createElement(Je,{key:d.length-2},b.default.createElement("div",{className:"breadcrumb-icon-separator"},n),b.default.createElement(Ue,{id:d[d.length-2].id,theme:h,onClick:()=>{d[d.length-2].href&&s(d[d.length-2].href)},variant:r,href:d[d.length-2].href,"data-title":d[d.length-2].label},d[d.length-2].label)),b.default.createElement(Je,{key:d.length-1},b.default.createElement("div",{className:"breadcrumb-icon-separator"},n),b.default.createElement(Ue,{id:d[d.length-1].id,theme:h,onClick:()=>{d[d.length-1].href&&s(d[d.length-1].href)},variant:r,href:d[d.length-1].href,"data-title":d[d.length-1].label},d[d.length-1].label))):C:null;return b.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},b.default.createElement("div",{style:{display:"flex",position:"absolute"}},b.default.createElement(Xe,S({theme:h,isWrap:e,ref:e?null:y,isBreadcrumbVisible:x,block:a,variant:r,variantSeparator:i,style:o,isPrimary:u,iconMargin:m},g),c&&b.default.createElement("div",{className:"breadcrumb-icon"},c),k)))};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`
792
792
  //Set the styles from the default styles object
793
793
  ${({theme:e,type:t})=>W(e,t)}
794
794
 
795
795
  // custom styles
796
796
  ${({customStyles:e})=>e}
797
- `,Ne=({customStyles:e,text:t,className:l,required:a,...o})=>{const r=I;return b.default.createElement(Qe,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 Ke=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`
798
798
  box-sizing: initial;
799
799
 
800
800
  //Set the styles from the default styles object
@@ -805,7 +805,7 @@ ${({customTriggerStyle:e})=>e}
805
805
 
806
806
  // custom styles
807
807
  ${({checkBoxOuterStyle:e})=>e}
808
- `;Ke.defaultProps={theme:M};const $e=g.default.div`
808
+ `;$e.defaultProps={theme:M};const _e=g.default.div`
809
809
  box-sizing: initial;
810
810
 
811
811
  //Set the styles from the default styles object
@@ -820,7 +820,7 @@ ${({customTriggerStyle:e})=>e}
820
820
  align-items: center;
821
821
  // custom styles
822
822
  ${({checkBoxInnerStyle:e})=>e}
823
- `;$e.defaultProps={theme:M};const _e=g.default.span`
823
+ `;_e.defaultProps={theme:M};const et=g.default.span`
824
824
  word-break: break-all;
825
825
 
826
826
  //Set the styles from the default styles object
@@ -832,7 +832,7 @@ ${({customTriggerStyle:e})=>e}
832
832
 
833
833
  // custom styles
834
834
  ${({optionTextStyle:e})=>e}
835
- `;_e.defaultProps={theme:M};const et=g.default.label`
835
+ `;et.defaultProps={theme:M};const tt=g.default.label`
836
836
  width: fit-content;
837
837
  margin-bottom: ${({inline:e})=>e?"":"18px !important"};
838
838
  cursor: pointer;
@@ -842,10 +842,10 @@ ${({customTriggerStyle:e})=>e}
842
842
 
843
843
  // custom styles
844
844
  ${({wrapperStyles:e})=>e}
845
- `,tt=g.default.div`
845
+ `,lt=g.default.div`
846
846
  flex-direction: ${({inline:e})=>e?"row":"column"};
847
847
  width: ${({inline:e})=>e?"initial":"auto"};
848
- `,lt=({getCheckedArr:e,checkBoxOuterStyle:a,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:i,defaultTextColor:c,checkedTextColor:n,checkedCheckBoxColor:d,labelStyle:s,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:s,type:"check-label",text:u},x)),y&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),b.default.createElement(tt,S({style:{display:"flex",flexWrap:"wrap"},inline:g},x),p?.map(((e,t)=>b.default.createElement(et,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:d,checked:!e?.disabled&&e.checked},x),b.default.createElement(J,{icon:"check-icon",size:18,color:"white"})):b.default.createElement(Ke,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:c,checkedTextColor:n},e.label))))))};lt.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},lt.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const at=g.default.div`
848
+ `,at=({getCheckedArr:e,checkBoxOuterStyle:a,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:i,defaultTextColor:c,checkedTextColor:n,checkedCheckBoxColor:d,labelStyle:s,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:s,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.disabled&&((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:d,checked: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:c,checkedTextColor:n},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`
849
849
  border: 1px solid ${({theme:e})=>e.variant["neutral-4"]};
850
850
  background-color: ${({theme:e})=>e.bgColor};
851
851
 
@@ -857,7 +857,7 @@ ${({inBuiltCss:e,defaultColorWrapperStyle:t})=>W(e,t)}
857
857
  // custom styles
858
858
  ${({customColorWrapperStyle:e})=>e}
859
859
 
860
- `,ot=g.default.input`
860
+ `,rt=g.default.input`
861
861
 
862
862
  border: 0.5px solid ${({theme:e})=>e.variant["neutral-4"]};
863
863
  box-shadow: 0px 5px 37px rgba(56, 66, 100, 0.0880136);
@@ -878,7 +878,7 @@ padding: 0;
878
878
  ${({inBuiltCss:e,defaultInputColorStyle:t})=>W(e,t)}
879
879
  // custom styles
880
880
  ${({customInputColorStyle:e})=>e}
881
- `,rt=({label:e,labelStyle:t,value:a,setValue:o,customInputColorStyle:r,customColorWrapperStyle:i,id:c,...n})=>{const d=l.useTheme()||M;return b.default.createElement(at,S({customColorWrapperStyle:i,defaultColorWrapperStyle:"ColorWrapper",theme:d,inBuiltCss:I},n),b.default.createElement(ot,S({id:c,customInputColorStyle:r,defaultInputColorStyle:"input-color",inBuiltCss:I,theme:d},n,{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"}},n)))};rt.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},rt.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const it=g.default.div`
881
+ `,it=({label:e,labelStyle:t,value:a,setValue:o,customInputColorStyle:r,customColorWrapperStyle:i,id:c,...n})=>{const d=l.useTheme()||M;return b.default.createElement(ot,S({customColorWrapperStyle:i,defaultColorWrapperStyle:"ColorWrapper",theme:d,inBuiltCss:I},n),b.default.createElement(rt,S({id:c,customInputColorStyle:r,defaultInputColorStyle:"input-color",inBuiltCss:I,theme:d},n,{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"}},n)))};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 ct=g.default.div`
882
882
  display: flex;
883
883
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
884
884
 
@@ -1017,24 +1017,24 @@ ${({customInputColorStyle:e})=>e}
1017
1017
  .react-datepicker::after {
1018
1018
  box-sizing: initial !important;
1019
1019
  }
1020
- `;it.defaultProps={theme:M};const ct=g.default.div`
1020
+ `;ct.defaultProps={theme:M};const nt=g.default.div`
1021
1021
  display: flex;
1022
1022
  align-items: flex-start;
1023
1023
  justify-content: center;
1024
1024
  font-size: 16px;
1025
1025
  padding-top: 12px;
1026
1026
  padding-bottom: 15px;
1027
- `,nt=g.default.div`
1027
+ `,dt=g.default.div`
1028
1028
  display: flex;
1029
1029
  justify-content: center;
1030
1030
  margin-left: 6px;
1031
- `,dt=g.default("div")`
1032
- width: inherit;
1033
1031
  `,st=g.default("div")`
1032
+ width: inherit;
1033
+ `,ut=g.default("div")`
1034
1034
  display: flex;
1035
1035
  flex-direction: row;
1036
1036
  cursor: pointer;
1037
- `,ut=g.default("div")`
1037
+ `,pt=g.default("div")`
1038
1038
  margin-top: 8px;
1039
1039
  position: absolute;
1040
1040
  z-index: 100;
@@ -1045,7 +1045,7 @@ ${({customInputColorStyle:e})=>e}
1045
1045
  background: white;
1046
1046
  box-shadow: 0px 6px 20px rgb(56 66 100 / 15%);
1047
1047
  border-radius: 4px;
1048
- `,pt=g.default("ul")`
1048
+ `,ft=g.default("ul")`
1049
1049
  list-style: none;
1050
1050
  padding: 0;
1051
1051
  margin: 12px;
@@ -1072,7 +1072,7 @@ ${({customInputColorStyle:e})=>e}
1072
1072
  background-color: ${({theme:e})=>e.neutral["neutral-4"]};
1073
1073
  border-radius: 10px;
1074
1074
  }
1075
- `;pt.defaultProps={theme:M};const ft=g.default("li")`
1075
+ `;ft.defaultProps={theme:M};const mt=g.default("li")`
1076
1076
  text-align: left;
1077
1077
  font-style: normal;
1078
1078
  font-weight: normal;
@@ -1081,7 +1081,7 @@ ${({customInputColorStyle:e})=>e}
1081
1081
  padding-left: 12px;
1082
1082
  padding-bottom: 12px;
1083
1083
  cursor: pointer;
1084
- `,mt=({startDate:e,setStartDate:a,disabled:o,theme:r,startYear:i,endYearRange:c,format:n,placeholderText:d,...s})=>{const u=l.useTheme()||M,p=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var f=[],m=c||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",L,!0),()=>{document.removeEventListener("click",L,!0)})),[]);const L=e=>{y.current&&!y.current.contains(e.target)&&A(!1)},T=e=>{x.current&&!x.current.contains(e.target)&&w(!1)};return t.useEffect((()=>(document.addEventListener("click",T,!0),()=>{document.removeEventListener("click",T,!0)})),[]),b.default.createElement(it,S({disabled:o,theme:r},s),b.default.createElement(h.default,{selected:e,dateFormat:n||"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>a(e),placeholderText:d,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(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(ut,null,b.default.createElement(pt,{theme:r,onMouseEnter:()=>k(!0)},p.map(((e,t)=>b.default.createElement(ft,{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(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(ut,null,b.default.createElement(pt,{onMouseEnter:()=>V(!0)},f.map(((e,l)=>b.default.createElement(ft,{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)))))))))}))};mt.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},mt.defaultProps={theme:M,startDate:"",setStartDate:()=>{},disabled:!1};const bt=g.default.div`
1084
+ `,bt=({startDate:e,setStartDate:a,disabled:o,theme:r,startYear:i,endYearRange:c,format:n,placeholderText:d,...s})=>{const u=l.useTheme()||M,p=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var f=[],m=c||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),[k,E]=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",L,!0),()=>{document.removeEventListener("click",L,!0)})),[]);const L=e=>{y.current&&!y.current.contains(e.target)&&A(!1)},T=e=>{x.current&&!x.current.contains(e.target)&&w(!1)};return t.useEffect((()=>(document.addEventListener("click",T,!0),()=>{document.removeEventListener("click",T,!0)})),[]),b.default.createElement(ct,S({disabled:o,theme:r},s),b.default.createElement(h.default,{selected:e,dateFormat:n||"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>a(e),placeholderText:d,adjustDateOnChange:!0,disabled:o,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:t,changeMonth:l})=>b.default.createElement(nt,null,b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(st,{ref:y},b.default.createElement(ut,{onClick:()=>{A(!v),w(!1)}},b.default.createElement("span",{onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),style:{color:`${k?u.variant["primary-1"]:u.textColor}`}},p[e.getMonth()]),b.default.createElement(dt,null,b.default.createElement(J,{icon:"triangle-down",color:k?u.variant["primary-1"]:u.textColor,size:7}))),v&&b.default.createElement(pt,null,b.default.createElement(ft,{theme:r,onMouseEnter:()=>E(!0)},p.map(((e,t)=>b.default.createElement(mt,{selectedMonth:W,onClick:()=>{E(!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(st,{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(dt,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`
1085
1085
  .react-datepicker-wrapper {
1086
1086
  display: flex;
1087
1087
  }
@@ -1139,25 +1139,26 @@ ${({customInputColorStyle:e})=>e}
1139
1139
  // custom styles
1140
1140
  ${({wrapperStyle:e})=>e};
1141
1141
 
1142
- `,gt=g.default.div`
1142
+ `,ht=g.default.div`
1143
1143
 
1144
- `,ht=g.default.button`
1144
+ `,yt=g.default.button`
1145
1145
  background-color: ${({theme:e})=>e.bgColor};
1146
1146
  padding: 5.5px 12px;
1147
1147
  padding-right: 7px;
1148
1148
  border: none;
1149
1149
  border-radius: 4px;
1150
- width: "100%";
1151
- color: "#9c9c9c";
1152
- display:'flex';
1153
- justify-content:'space-between';
1154
- alignItems: 'center'
1150
+ width: 100%;
1151
+ color: ${({theme:e,value:t})=>""==t?(console.log(t),"#9c9c9c"):(console.log(t),e.black)};
1152
+ display:flex;
1153
+ justify-content:space-between;
1154
+ alignItems: center;
1155
+
1155
1156
 
1156
1157
 
1157
1158
 
1158
1159
  // custom styles
1159
1160
  ${({timeBtnStyle:e})=>e};
1160
- `,yt=g.default.div`
1161
+ `,xt=g.default.div`
1161
1162
  display: flex;
1162
1163
  align-items: center;
1163
1164
  justify-content: ${({inputType:e})=>"year"!==e?"space-between":"center"};
@@ -1165,26 +1166,26 @@ padding: 8px;
1165
1166
  color: ${({theme:e})=>e.bgColor};
1166
1167
  // custom styles
1167
1168
  ${({customHeaderStyle:e})=>e};
1168
- `,xt=g.default.span`
1169
+ `,vt=g.default.span`
1169
1170
  margin-top:-1px;
1170
1171
  margin-left: 7px;
1171
1172
  float: right;
1172
1173
 
1173
1174
  // custom styles
1174
1175
  ${({customIconContainerStyle:e})=>e};
1175
- `,vt=l.css`
1176
+ `,At=l.css`
1176
1177
  display: flex;
1177
1178
  gap: 7px;
1178
1179
  align-items: center;
1179
- `,At=g.default.div`
1180
- ${({labelInline:e})=>e?vt:null}
1181
- ${({labelInline:e})=>e?vt:null}
1180
+ `,Ct=g.default.div`
1181
+ ${({labelInline:e})=>e?At:null}
1182
+ ${({labelInline:e})=>e?At:null}
1182
1183
  .err-text {
1183
1184
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1184
1185
  margin-top: 5px;
1185
1186
  font-size: 10px;
1186
1187
  }
1187
- `,Ct=({defaultValue:e,onChange:a,inputType:o,onClick:r,placeHolder:i,value:c,disabled:n,startYear:d,endYearRange:s,icon:u,iconColor:p,iconSize:f,customHeaderStyle:m,timeBtnStyle:g,wrapperStyle:x,customIconContainerStyle:v,label:A,labelInline:C,labelStyle:w,required:E,errMsg:k,errMsgColor:z,isValid:V,...B})=>{console.log(V);const[I,W]=t.useState(e);let R=I?new Date(I):null;for(var L=[],T=s||10,P=d||(new Date).getFullYear();P<=(new Date).getFullYear()+T;P++)L.push(P);let H={};switch(o){case"date":default:H.dateFormat="dd MMM, yyyy";break;case"month":H.dateFormat="MMMM yyyy",H.showMonthYearPicker=!0;break;case"year":H.dateFormat="yyyy",H.showYearPicker=!0;break;case"datetime-local":H.dateFormat="dd MMM yyyy, hh:mm a",H.showTimeSelect=!0,H.timeFormat="hh:mm a",H.timeIntervals=15,H.timeCaption="Time";break;case"time":H.showTimeSelect=!0,H.showTimeSelectOnly=!0,H.dateFormat="hh:mm a"}const j=l.useTheme()||M;return b.default.createElement(At,S({labelInline:C,errMsgColor:z,theme:j},B),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ne,S({customStyles:w,type:"label-text",labelInline:C,errMsg:k,text:A,style:{display:"flex",marginBottom:""+(C?"":"7px"),paddingBottom:"0px"}},B)),E&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${j.variant.error}`}},"*")),b.default.createElement(bt,S({theme:j},B,{wrapperStyle:x,isValid:V}),b.default.createElement(h.default,S({selected:R,disabled:n,customInput:b.default.createElement(gt,{value:c,onClick:r,placeholder:i,theme:j},b.default.createElement(ht,S({theme:j,style:{width:"100%",color:"#9c9c9c",display:"flex",justifyContent:"space-between",alignItems:"center"},onClick:r,timeBtnStyle:g},B),c||(i||"-- : -- --"),b.default.createElement(xt,S({theme:j},B,{customIconContainerStyle:v}),u?b.default.createElement(J,{icon:u,color:p,size:f}):null))),onChange:e=>{console.log(e),W(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},H,{renderCustomHeader:({date:e,changeYear:t,decreaseMonth:l,increaseMonth:a})=>{let r=y.default(e).format("MMMM");return b.default.createElement(yt,S({theme:j},B,{inputType:o,customHeaderStyle:m}),"year"!==o?b.default.createElement("span",{style:{paddingLeft:"10px"},onClick:l},b.default.createElement(J,{icon:"chevron-left",color:"white",size:16})):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)},L.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(J,{icon:"chevron-right",color:"white",size:16})):null)}}))),k.length>0&&b.default.createElement("div",{className:"err-text"},k))};Ct.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,customIconContainerStyle:m.default.object,label:m.default.string,labelStyle:m.default.object,labelInline:m.default.bool,errMsg:m.default.string,errMsgColor:m.default.string,isValid:m.default.bool},Ct.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,iconColor:"black",iconSize:16,value:"",defaultValue:"",onChange:()=>{},label:"",required:!1,labelInline:!1,errMsg:"",isValid:!1};const wt=g.default.div`
1188
+ `,wt=({defaultValue:e,onChange:a,inputType:o,onClick:r,placeHolder:i,value:c,disabled:n,startYear:d,endYearRange:s,icon:u,iconColor:p,iconSize:f,customHeaderStyle:m,timeBtnStyle:g,wrapperStyle:x,customIconContainerStyle:v,label:A,labelInline:C,labelStyle:w,required:k,errMsg:E,errMsgColor:z,isValid:V,...B})=>{console.log(V);const[I,W]=t.useState(e);let R=I?new Date(I):null;for(var L=[],T=s||10,P=d||(new Date).getFullYear();P<=(new Date).getFullYear()+T;P++)L.push(P);let H={};switch(o){case"date":default:H.dateFormat="dd MMM, yyyy";break;case"month":H.dateFormat="MMMM yyyy",H.showMonthYearPicker=!0;break;case"year":H.dateFormat="yyyy",H.showYearPicker=!0;break;case"datetime-local":H.dateFormat="dd MMM yyyy, hh:mm a",H.showTimeSelect=!0,H.timeFormat="hh:mm a",H.timeIntervals=15,H.timeCaption="Time";break;case"time":H.showTimeSelect=!0,H.showTimeSelectOnly=!0,H.dateFormat="hh:mm a"}const j=l.useTheme()||M;return b.default.createElement(Ct,S({labelInline:C,errMsgColor:z,theme:j},B),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ke,S({customStyles:w,type:"label-text",labelInline:C,errMsg:E,text:A,style:{display:"flex",marginBottom:""+(C?"":"7px"),paddingBottom:"0px"}},B)),k&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${j.variant.error}`}},"*")),b.default.createElement(gt,S({theme:j},B,{wrapperStyle:x,isValid:V}),b.default.createElement(h.default,S({selected:R,disabled:n,customInput:b.default.createElement(ht,{value:c,onClick:r,placeholder:i,theme:j},b.default.createElement(yt,S({theme:j,value:c,onClick:r,timeBtnStyle:g},B),c||(i||"-- : -- --"),b.default.createElement(vt,S({theme:j},B,{customIconContainerStyle:v}),u?b.default.createElement(J,{icon:u,color:p,size:f}):null))),onChange:e=>{console.log(e),W(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},H,{renderCustomHeader:({date:e,changeYear:t,decreaseMonth:l,increaseMonth:a})=>{let r=y.default(e).format("MMMM");return b.default.createElement(xt,S({theme:j},B,{inputType:o,customHeaderStyle:m}),"year"!==o?b.default.createElement("span",{style:{paddingLeft:"10px"},onClick:l},b.default.createElement(J,{icon:"chevron-left",color:"white",size:16})):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)},L.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(J,{icon:"chevron-right",color:"white",size:16})):null)}}))),E.length>0&&b.default.createElement("div",{className:"err-text"},E))};wt.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,customIconContainerStyle:m.default.object,label:m.default.string,labelStyle:m.default.object,labelInline:m.default.bool,errMsg:m.default.string,errMsgColor:m.default.string,isValid:m.default.bool},wt.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,iconColor:"black",iconSize:16,value:"",defaultValue:"",onChange:()=>{},label:"",required:!1,labelInline:!1,errMsg:"",isValid:!0};const St=g.default.div`
1188
1189
  .master-dropdown,
1189
1190
  .new-select {
1190
1191
  .master-dropdown__menu,
@@ -1327,7 +1328,7 @@ float: right;
1327
1328
  border: ${({theme:e,backgroundColor:t})=>t?"1px solid "+t:"1px solid "+e.primary["primary-1"]};
1328
1329
  }
1329
1330
 
1330
- `;wt.defaultProps={theme:M};const St=g.default.div`
1331
+ `;St.defaultProps={theme:M};const kt=g.default.div`
1331
1332
  // Default style
1332
1333
  display: flex;
1333
1334
 
@@ -1339,7 +1340,7 @@ float: right;
1339
1340
  margin-left: 6px;
1340
1341
  margin-top: -15.5px;
1341
1342
  cursor: pointer;
1342
- `,kt=({getValue:e,children:t,...l})=>{const a=e().length;return b.default.createElement(c.components.ValueContainer,l,t,a>1&&b.default.createElement("span",{className:"text-more-alt"},"& ",a-1," more"))},zt=({label:e,labelStyle:t,optionArr:a,selectedValue:o,setSelectedValue:r,placeHolder:i,isClearable:n,isValid:d,height:s,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:L,placeHolderColor:T,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(c.components.Option,e,b.default.createElement("div",{style:{display:"flex",justifyContent:"flex-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:d?L&&d?"1px solid "+L:"1px solid "+q.border:"1px solid "+q.ui.error,minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:L||q.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:`${s}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:`${s}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"}),menuPortal:e=>({...e,zIndex:9999999})},D={DropdownIndicator:e=>{const t=b.default.createElement(c.components.DropdownIndicator,e,b.default.createElement(Et,null,b.default.createElement(J,{icon:w,color:k,size:z,customstyles:E})));return!0===V?t:null},ValueContainer:kt,IndicatorSeparator:()=>null,ClearIndicator:e=>b.default.createElement(c.components.ClearIndicator,e,n?b.default.createElement(Et,{onClick:()=>{m(),e.clearValue()}},b.default.createElement(J,{icon:"cross-icon",color:"black",size:8})):null)};let G=null;switch(x){case"multiSelect":G=b.default.createElement(Vt,S({type:"multiSelect",MultiValue:O,Option:F,value:o,CommonRenderedComponent:D,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:Z,setSelectedValue:r,isLoading:A,id:C,isClearable:n},j));break;case"asyncSingleSelect":G=b.default.createElement(Bt,S({CommonRenderedComponent:D,loadOptions:p,onInputChange:f,styles:Z,placeholder:i,onChange:r,isLoading:A,isDisabled:v,id:C,value:o,isClearable:n},j));break;case"asyncMultiSelect":G=b.default.createElement(Bt,S({type:"asyncMultiSelect",CommonRenderedComponent:D,MultiValue:O,Option:F,onChange:r,placeholder:i,styles:Z,isDisabled:v,isLoading:A,loadOptions:p,onInputChange:f,id:C,isClearable:n},j));break;default:G=b.default.createElement(Vt,S({type:"singleSelect",value:{value:o?o.value:"",label:o?o.label:""},CommonRenderedComponent:D,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:Z,setSelectedValue:r,isLoading:A,id:C,isClearable:n},j))}return b.default.createElement(wt,{style:g,backgroundColor:L,isValid:d,fontSize:u,theme:q},e&&b.default.createElement(St,{inBuiltCss:I,labelWrapperStyle:"selectComp-label-wrapper",style:h},b.default.createElement(Ne,{customStyles:t,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),y&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${q.ui.error}`}},"*")),G)},Vt=({type:e,Option:t,value:l,CommonRenderedComponent:a,MultiValue:o,optionArr:r,placeHolder:i,isDisabled:c,stylesComp:n,setSelectedValue:d,isLoading:s,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:c,value:l,styles:n,onChange:d,isLoading:s,id:u,isClearable:p,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},f))},Bt=({CommonRenderedComponent:e,MultiValue:t,Option:l,type:a,id:o,styles:r,...i})=>{let c={...e};return"asyncMultiSelect"===a&&(c.MultiValue=t,c.Option=l),b.default.createElement(v.default,S({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===a,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==a,isSearchable:!0,styles:r,menuShouldScrollIntoView:!1},i))};zt.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},zt.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0};const Mt=g.default.div`
1343
+ `,zt=({getValue:e,children:t,...l})=>{const a=e().length;return b.default.createElement(c.components.ValueContainer,l,t,a>1&&b.default.createElement("span",{className:"text-more-alt"},"& ",a-1," more"))},Vt=({label:e,labelStyle:t,optionArr:a,selectedValue:o,setSelectedValue:r,placeHolder:i,isClearable:n,isValid:d,height:s,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:k,iconColor:E,iconSize:z,showIndicator:V,leftIcon:B,leftIconColor:W,leftIconSize:R,backgroundColor:L,placeHolderColor:T,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(c.components.Option,e,b.default.createElement("div",{style:{display:"flex",justifyContent:"flex-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:d?L&&d?"1px solid "+L:"1px solid "+q.border:"1px solid "+q.ui.error,minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:L||q.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:`${s}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:`${s}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"}),menuPortal:e=>({...e,zIndex:9999999})},D={DropdownIndicator:e=>{const t=b.default.createElement(c.components.DropdownIndicator,e,b.default.createElement(Et,null,b.default.createElement(J,{icon:w,color:E,size:z,customstyles:k})));return!0===V?t:null},ValueContainer:zt,IndicatorSeparator:()=>null,ClearIndicator:e=>b.default.createElement(c.components.ClearIndicator,e,n?b.default.createElement(Et,{onClick:()=>{m(),e.clearValue()}},b.default.createElement(J,{icon:"cross-icon",color:"black",size:8})):null)};let G=null;switch(x){case"multiSelect":G=b.default.createElement(Bt,S({type:"multiSelect",MultiValue:O,Option:F,value:o,CommonRenderedComponent:D,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:Z,setSelectedValue:r,isLoading:A,id:C,isClearable:n},j));break;case"asyncSingleSelect":G=b.default.createElement(Mt,S({CommonRenderedComponent:D,loadOptions:p,onInputChange:f,styles:Z,placeholder:i,onChange:r,isLoading:A,isDisabled:v,id:C,value:o,isClearable:n},j));break;case"asyncMultiSelect":G=b.default.createElement(Mt,S({type:"asyncMultiSelect",CommonRenderedComponent:D,MultiValue:O,Option:F,onChange:r,placeholder:i,styles:Z,isDisabled:v,isLoading:A,loadOptions:p,onInputChange:f,id:C,isClearable:n},j));break;default:G=b.default.createElement(Bt,S({type:"singleSelect",value:{value:o?o.value:"",label:o?o.label:""},CommonRenderedComponent:D,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:Z,setSelectedValue:r,isLoading:A,id:C,isClearable:n},j))}return b.default.createElement(St,{style:g,backgroundColor:L,isValid:d,fontSize:u,theme:q},e&&b.default.createElement(kt,{inBuiltCss:I,labelWrapperStyle:"selectComp-label-wrapper",style:h},b.default.createElement(Ke,{customStyles:t,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),y&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${q.ui.error}`}},"*")),G)},Bt=({type:e,Option:t,value:l,CommonRenderedComponent:a,MultiValue:o,optionArr:r,placeHolder:i,isDisabled:c,stylesComp:n,setSelectedValue:d,isLoading:s,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:c,value:l,styles:n,onChange:d,isLoading:s,id:u,isClearable:p,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},f))},Mt=({CommonRenderedComponent:e,MultiValue:t,Option:l,type:a,id:o,styles:r,...i})=>{let c={...e};return"asyncMultiSelect"===a&&(c.MultiValue=t,c.Option=l),b.default.createElement(v.default,S({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===a,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==a,isSearchable:!0,styles:r,menuShouldScrollIntoView:!1},i))};Vt.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},Vt.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0};const It=g.default.div`
1343
1344
  //Set the styles from the default styles object
1344
1345
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1345
1346
 
@@ -1356,15 +1357,15 @@ float: right;
1356
1357
 
1357
1358
  // custom styles
1358
1359
  ${({customDropzoneStyles:e})=>e}
1359
- `,It=g.default.div`
1360
+ `,Wt=g.default.div`
1360
1361
  //Set the styles from the default styles object
1361
1362
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1362
1363
 
1363
1364
  // custom styles
1364
1365
  ${({customFileStyles:e})=>e}
1365
- `,Wt=g.default.input`
1366
+ `,Rt=g.default.input`
1366
1367
  display: none;
1367
- `,Rt=g.default.div`
1368
+ `,Lt=g.default.div`
1368
1369
  //Set the styles from the default styles object
1369
1370
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1370
1371
 
@@ -1376,19 +1377,19 @@ float: right;
1376
1377
 
1377
1378
  // custom styles
1378
1379
  ${({customFileNameStyles:e})=>e}
1379
- `;const Lt=g.default.div`
1380
+ `;const Tt=g.default.div`
1380
1381
  cursor: pointer;
1381
1382
  padding-left: 1px;
1382
1383
  margin-left: auto;
1383
1384
  margin-right: 10px;
1384
1385
  display: flex;
1385
1386
  justify-content: center;
1386
- `,Tt=g.default.div`
1387
+ `,Pt=g.default.div`
1387
1388
  margin-left: 11px;
1388
1389
  padding-left: 2px;
1389
1390
  display: flex;
1390
1391
  justify-content: center;
1391
- `,Pt=g.default.div`
1392
+ `,Ht=g.default.div`
1392
1393
  color: #494949;
1393
1394
  margin-left: 11px;
1394
1395
  padding-left: 2px;
@@ -1399,18 +1400,18 @@ float: right;
1399
1400
  align-items: center;
1400
1401
  margin: 20px 0px;
1401
1402
  font-size: 14px;
1402
- `;const Ht=({label:e,labelStyle:a,labelInline:o,required:r,message:i,fileArr:c,setFileArr:n,deleteFile:d,customDropzoneStyles:s,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:L,id:T,customTooltipContentStyle:P,customStylesTPArightBefore:H,customStylesTPArightAfter:j,...q})=>{const F=l.useTheme()||M,[O,Z]=t.useState(!1),D=t.createRef(),[G,X]=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=c.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 c)l+=e.size;if(""==_)for(const[a,c]of Object.entries(e)){K=!0,c.name,l+=c.size;var r=c.name.split(".");r=r[r.length-1],K=N.includes(r.toLowerCase());var i=1024;("MB"==w||"GB"==w||"TB"==w)&&(i*=1024);var n=Math.round(l/i);if(0==K&&(_=E?.format,_=_?_+$:$),n>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(c),c.path=Q,t.push(c))}return _.length>0?(B(!1),X(V),Y(_)):(B(!0),X(V),Y("")),t};function le(e){e.preventDefault(),e.stopPropagation()}function ae(e,t){let l=[...c,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),n(l),Z(!1),l}function oe(e,t){if(e instanceof File){const t=c.filter((t=>t.name!==e.name));n(t)}else!function(e,t){const l=c.filter((t=>t.name!==e.name));n(l),d(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?0:"8px"}`,paddingBottom:"0px"}},q)),r&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${F.variant.error}`}},"*")),b.default.createElement(Mt,{theme:F,inBuiltCss:I,defaultStyles:"dropzone-parent",backgroundColor:m,customDropzoneStyles:V?s:{},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(){D.current.click()},hover:O,dropValid:V,fileArr:c},b.default.createElement(Wt,S({ref:D,valid:G,dropValid:V,type:"file",id:T,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:L,size:24}):b.default.createElement(J,{icon:"file-upload",color:O?F.bgColor:F.primary["primary-1"],size:24})):null,b.default.createElement(Rt,{dropValid:V,valid:G,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?0:"16.64px"}`}},q)),b.default.createElement(De,{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(Ne,S({themeColor:M,customStyles:z,type:"label-text",labelInline:o,text:ee,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},q)):"",c?.map(((e,t)=>b.default.createElement(It,{inBuiltCss:I,defaultStyles:"dropzone-file-div",key:`${e}-${t}`,customFileStyles:u},b.default.createElement(Tt,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(Pt,null,e?.otherInfo),b.default.createElement(Lt,{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}))))))};Ht.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},Ht.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 jt=g.default.div`
1403
+ `;const jt=({label:e,labelStyle:a,labelInline:o,required:r,message:i,fileArr:c,setFileArr:n,deleteFile:d,customDropzoneStyles:s,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:k,suggesionMessage:E,MessagelabelStyle:z,dropValid:V,setDropValid:B,dropzoneContent:W,dropIcon:R,iconColor:L,id:T,customTooltipContentStyle:P,customStylesTPArightBefore:H,customStylesTPArightAfter:j,...q})=>{const F=l.useTheme()||M,[O,Z]=t.useState(!1),D=t.createRef(),[G,X]=t.useState(V),[U,Y]=t.useState("");let Q;var N=x,K=!1,$=y?"That file type is not supported.":"",_=(E=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=c.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 c)l+=e.size;if(""==_)for(const[a,c]of Object.entries(e)){K=!0,c.name,l+=c.size;var r=c.name.split(".");r=r[r.length-1],K=N.includes(r.toLowerCase());var i=1024;("MB"==w||"GB"==w||"TB"==w)&&(i*=1024);var n=Math.round(l/i);if(0==K&&(_=k?.format,_=_?_+$:$),n>C&&K){K=!1;o="The file must be under "+C+" "+w;_=k?.size,_=null!=_?_:o}!0===K&&(Q&&URL.revokeObjectURL(Q),Q=URL.createObjectURL(c),c.path=Q,t.push(c))}return _.length>0?(B(!1),X(V),Y(_)):(B(!0),X(V),Y("")),t};function le(e){e.preventDefault(),e.stopPropagation()}function ae(e,t){let l=[...c,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),n(l),Z(!1),l}function oe(e,t){if(e instanceof File){const t=c.filter((t=>t.name!==e.name));n(t)}else!function(e,t){const l=c.filter((t=>t.name!==e.name));n(l),d(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?0:"8px"}`,paddingBottom:"0px"}},q)),r&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${F.variant.error}`}},"*")),b.default.createElement(It,{theme:F,inBuiltCss:I,defaultStyles:"dropzone-parent",backgroundColor:m,customDropzoneStyles:V?s:{},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(){D.current.click()},hover:O,dropValid:V,fileArr:c},b.default.createElement(Rt,S({ref:D,valid:G,dropValid:V,type:"file",id:T,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:L,size:24}):b.default.createElement(J,{icon:"file-upload",color:O?F.bgColor:F.primary["primary-1"],size:24})):null,b.default.createElement(Lt,{dropValid:V,valid:G,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:E,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},q)),b.default.createElement(Ge,{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?0:"16.64px"}`}},q)):"",c?.map(((e,t)=>b.default.createElement(Wt,{inBuiltCss:I,defaultStyles:"dropzone-file-div",key:`${e}-${t}`,customFileStyles:u},b.default.createElement(Pt,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(Ht,null,e?.otherInfo),b.default.createElement(Tt,{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}))))))};jt.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},jt.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 qt=g.default.div`
1403
1404
  display: contents;
1404
1405
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1405
1406
 
1406
1407
  ${({WrapperDivStyle:e})=>e}
1407
- `,qt=g.default.input`
1408
+ `,Ft=g.default.input`
1408
1409
  display: none;
1409
1410
  min-height: 100vh;
1410
1411
  padding: 0 0.5rem;
1411
1412
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1412
1413
 
1413
- `,Ft=g.default.div`
1414
+ `,Ot=g.default.div`
1414
1415
  height: 49px;
1415
1416
  width: 49px;
1416
1417
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor};
@@ -1422,7 +1423,7 @@ float: right;
1422
1423
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1423
1424
 
1424
1425
  ${({IconWrapperStyle:e})=>e}
1425
- `,Ot=g.default.div`
1426
+ `,Zt=g.default.div`
1426
1427
  // background-color: ${({theme:e})=>e.bgColor};
1427
1428
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor};
1428
1429
  width: 134px;
@@ -1464,7 +1465,7 @@ float: right;
1464
1465
  }
1465
1466
  }
1466
1467
  ${({MainDivStyle:e})=>e};
1467
- `,Zt=({image:e,setImage:a,WrapperDivStyle:o,MainDivStyle:r,IconWrapperStyle:i,iconSize:c,iconColor:n,isDisabled:d,id:s})=>{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(jt,{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:d},b.default.createElement(Ot,{isDisabled:d,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(Ft,{IconWrapperStyle:i,theme:m,isDisabled:d},b.default.createElement("img",{src:D,alt:"",height:"40px",width:"48px"}))),b.default.createElement("div",{className:"icon-on-preview"},b.default.createElement(Ft,{IconWrapperStyle:i,isDisabled:d,theme:m},b.default.createElement(J,{icon:"camera-icon",size:c,color:n||m.variant["primary-1"]})))),b.default.createElement(qt,{id:s,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{x(!0),a(e.target.files[0])},disabled:d,isDisabled:d}))};Zt.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},Zt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Dt=g.default.div`
1468
+ `,Dt=({image:e,setImage:a,WrapperDivStyle:o,MainDivStyle:r,IconWrapperStyle:i,iconSize:c,iconColor:n,isDisabled:d,id:s})=>{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(qt,{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:d},b.default.createElement(Zt,{isDisabled:d,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(Ot,{IconWrapperStyle:i,theme:m,isDisabled:d},b.default.createElement("img",{src:D,alt:"",height:"40px",width:"48px"}))),b.default.createElement("div",{className:"icon-on-preview"},b.default.createElement(Ot,{IconWrapperStyle:i,isDisabled:d,theme:m},b.default.createElement(J,{icon:"camera-icon",size:c,color:n||m.variant["primary-1"]})))),b.default.createElement(Ft,{id:s,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{x(!0),a(e.target.files[0])},disabled:d,isDisabled:d}))};Dt.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},Dt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Gt=g.default.div`
1468
1469
  border: 1px solid
1469
1470
  ${({theme:e})=>e.border};
1470
1471
  border-radius: 4px;
@@ -1484,7 +1485,7 @@ float: right;
1484
1485
  fill: ${({theme:e})=>e.variant["primary-1"]};
1485
1486
  }
1486
1487
  }
1487
- `;Dt.defaultProps={theme:M};const Gt=g.default.input`
1488
+ `;Gt.defaultProps={theme:M};const Xt=g.default.input`
1488
1489
  width: 85%;
1489
1490
  border: 0;
1490
1491
  outline: 0;
@@ -1497,12 +1498,12 @@ float: right;
1497
1498
 
1498
1499
  // custom styles
1499
1500
  ${({inputStyle:e})=>e}
1500
- `;Gt.defaultProps={theme:M},l.css`
1501
+ `;Xt.defaultProps={theme:M},l.css`
1501
1502
  &:after {
1502
1503
  content: ' *';
1503
1504
  color: ${({theme:e})=>e.variant.error};
1504
1505
  }
1505
- `;const Xt=g.default.label`
1506
+ `;const Jt=g.default.label`
1506
1507
  display: flex;
1507
1508
  margin-right: 10px;
1508
1509
  align-content: center;
@@ -1515,16 +1516,16 @@ float: right;
1515
1516
  color: ${({theme:e})=>e.variant["neutral-2"]};
1516
1517
 
1517
1518
  ${({labelStyle:e})=>e}
1518
- `;Xt.defaultProps={theme:M};const Jt=l.css`
1519
+ `;Jt.defaultProps={theme:M};const Ut=l.css`
1519
1520
  display: flex;
1520
1521
  align-items: center;
1521
- `,Ut=g.default.div`
1522
- ${({labelInline:e})=>e?Jt:null}
1522
+ `,Yt=g.default.div`
1523
+ ${({labelInline:e})=>e?Ut:null}
1523
1524
 
1524
1525
  > div {
1525
1526
  flex: 1 0 auto;
1526
1527
  }
1527
- `;Ut.defaultProps={theme:M};const Yt=({label:e,inputValue:t,inputStyle:l,iconBefore:a,iconAfter:o,onChange:r,theme:i,id:c,labelStyle:n,...d})=>b.default.createElement(Ut,d,e.length>0&&b.default.createElement(Xt,{labelStyle:n},e),b.default.createElement("div",null,b.default.createElement(Dt,d,b.default.createElement("div",{className:"input-icon"},a),b.default.createElement(Gt,S({},d,{inputStyle:l,value:t,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&r(t)},type:"number",id:c})),b.default.createElement("div",{className:"input-icon",style:{position:"absolute",right:"7px"}},o))));Yt.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},Yt.defaultProps={theme:M,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const Qt=g.default.div`
1528
+ `;Yt.defaultProps={theme:M};const Qt=({label:e,inputValue:t,inputStyle:l,iconBefore:a,iconAfter:o,onChange:r,theme:i,id:c,labelStyle:n,...d})=>b.default.createElement(Yt,d,e.length>0&&b.default.createElement(Jt,{labelStyle:n},e),b.default.createElement("div",null,b.default.createElement(Gt,d,b.default.createElement("div",{className:"input-icon"},a),b.default.createElement(Xt,S({},d,{inputStyle:l,value:t,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&r(t)},type:"number",id:c})),b.default.createElement("div",{className:"input-icon",style:{position:"absolute",right:"7px"}},o))));Qt.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},Qt.defaultProps={theme:M,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const Nt=g.default.div`
1528
1529
  background-color: ${({theme:e})=>e.bgColor};
1529
1530
 
1530
1531
  //Set the styles from the default styles object
@@ -1550,7 +1551,7 @@ float: right;
1550
1551
 
1551
1552
  // custom styles
1552
1553
  ${({textBoxStyle:e})=>e}
1553
- `;Qt.defaultProps={theme:M};const Nt=g.default.input`
1554
+ `;Nt.defaultProps={theme:M};const Kt=g.default.input`
1554
1555
  width: 85%;
1555
1556
 
1556
1557
 
@@ -1563,18 +1564,18 @@ float: right;
1563
1564
  .sc-furwcr bxRAoq {
1564
1565
  color: ${({theme:e})=>e.variant["neutral-3"]};
1565
1566
  }
1566
- `;Nt.defaultProps={theme:M};const Kt=l.css`
1567
+ `;Kt.defaultProps={theme:M};const $t=l.css`
1567
1568
  display: flex;
1568
1569
  gap: 7px;
1569
1570
  align-items: flex-start;
1570
- `,$t=g.default.div`
1571
- ${({labelInline:e})=>e?Kt:null}
1571
+ `,_t=g.default.div`
1572
+ ${({labelInline:e})=>e?$t:null}
1572
1573
  .err-text {
1573
1574
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1574
1575
  margin-top: 5px;
1575
1576
  font-size: 10px;
1576
1577
  }
1577
- `;$t.defaultProps={theme:M};const _t=({passwordRules:e,textBoxStyle:a,labelStyle:o,inputStyle:r,errMsg:i,required:c,label:n,labelInline:d,isValid:s,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($t,S({labelInline:d,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:n,errMsg:i,style:{display:"flex",marginBottom:`${d?0:"8px"}`,paddingBottom:"0px"}},g)),c&&b.default.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),b.default.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start"}},b.default.createElement("div",{style:{width:"100%"}},b.default.createElement(Qt,S({required:c,theme:x,textBoxStyle:a,isValid:s,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:I},g),b.default.createElement(Nt,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):""))};_t.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},_t.defaultProps={inBuiltCss:I,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const el=g.default.div`
1578
+ `;_t.defaultProps={theme:M};const el=({passwordRules:e,textBoxStyle:a,labelStyle:o,inputStyle:r,errMsg:i,required:c,label:n,labelInline:d,isValid:s,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(_t,S({labelInline:d,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:n,errMsg:i,style:{display:"flex",marginBottom:`${d?0:"8px"}`,paddingBottom:"0px"}},g)),c&&b.default.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),b.default.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start"}},b.default.createElement("div",{style:{width:"100%"}},b.default.createElement(Nt,S({required:c,theme:x,textBoxStyle:a,isValid:s,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:I},g),b.default.createElement(Kt,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):""))};el.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},el.defaultProps={inBuiltCss:I,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const tl=g.default.div`
1578
1579
  box-sizing: initial;
1579
1580
 
1580
1581
  //Set the styles from the default styles object
@@ -1584,7 +1585,7 @@ float: right;
1584
1585
 
1585
1586
  // custom styles
1586
1587
  ${({radioOuterCircleStyle:e})=>e}
1587
- `;el.defaultProps={theme:M};const tl=g.default.div`
1588
+ `;tl.defaultProps={theme:M};const ll=g.default.div`
1588
1589
  box-sizing: initial;
1589
1590
 
1590
1591
  //Set the styles from the default styles object
@@ -1596,7 +1597,7 @@ float: right;
1596
1597
 
1597
1598
  // custom styles
1598
1599
  ${({radioInnerCircleStyle:e})=>e}
1599
- `;tl.defaultProps={theme:M};const ll=g.default.div`
1600
+ `;ll.defaultProps={theme:M};const al=g.default.div`
1600
1601
  //Set the styles from the default styles object
1601
1602
  ${({inBuiltCss:e,defaultOptionStyle:t})=>W(e,t)}
1602
1603
  margin-right: ${({inline:e})=>e?"":"30px"};
@@ -1604,7 +1605,7 @@ float: right;
1604
1605
 
1605
1606
  // custom styles
1606
1607
  ${({optionStyle:e})=>e}
1607
- `;ll.defaultProps={theme:M};const al=g.default.div`
1608
+ `;al.defaultProps={theme:M};const ol=g.default.div`
1608
1609
  margin-bottom: ${({inline:e})=>e?"":"14px"};
1609
1610
  cursor: pointer;
1610
1611
  align-items: center;
@@ -1613,11 +1614,11 @@ float: right;
1613
1614
 
1614
1615
  // custom styles
1615
1616
  ${({WrapperDivStyle:e})=>e}
1616
- `,ol=g.default.div`
1617
+ `,rl=g.default.div`
1617
1618
  display: ${({inline:e})=>e?"flex":"inline-block"};
1618
1619
  width: max-content;
1619
1620
  margin: 0;
1620
- `,rl=({radioOuterCircleStyle:e,radioInnerCircleStyle:t,labelStyle:a,label:o,optionStyle:r,options:i,selectedCircleColor:c,selectedOptionTextColor:n,onChange:d,selected:s,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(ol,{inline:f},i.map(((l,a)=>b.default.createElement(al,{WrapperDivStyle:h,key:a+101*Math.random(),id:l.id,inline:f,onClick:()=>{!l?.disabled&&d(l.value)}},b.default.createElement(el,{theme:x,inBuiltCss:I,defaultBorderColor:m,selectedCircleColor:c,radioOuterCircleStyle:{...e,cursor:l?.disabled?"not-allowed ":" pointer",borderColor:l?.disabled&&l?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:l.value,selected:!l?.disabled&&s},b.default.createElement(tl,{inBuiltCss:I,theme:x,width:u,height:p,selectedCircleColor:c,radioInnerCircleStyle:{...t,cursor:l?.disabled?"not-allowed ":" pointer",backgroundColor:l?.disabled?"transparent":l?.value===s?t?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:l.value,selected:s})),b.default.createElement(ll,{defaultOptionColor:g,optionStyle:{...r,cursor:l?.disabled?"not-allowed ":" pointer",color:l?.disabled&&l?.disabledColor},inBuiltCss:I,defaultOptionStyle:"option-text",selectedOptionTextColor:n,theme:x,selected:!l?.disabled&&l.value===s},l.label))))))};rl.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},rl.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const il=g.default.div`
1621
+ `,il=({radioOuterCircleStyle:e,radioInnerCircleStyle:t,labelStyle:a,label:o,optionStyle:r,options:i,selectedCircleColor:c,selectedOptionTextColor:n,onChange:d,selected:s,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(rl,{inline:f},i.map(((l,a)=>b.default.createElement(ol,{WrapperDivStyle:h,key:a+101*Math.random(),id:l.id,inline:f,onClick:()=>{!l?.disabled&&d(l.value)}},b.default.createElement(tl,{theme:x,inBuiltCss:I,defaultBorderColor:m,selectedCircleColor:c,radioOuterCircleStyle:{...e,cursor:l?.disabled?"not-allowed ":" pointer",borderColor:l?.disabled&&l?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:l.value,selected:s},b.default.createElement(ll,{inBuiltCss:I,theme:x,width:u,height:p,selectedCircleColor:c,radioInnerCircleStyle:{...t,cursor:l?.disabled?"not-allowed ":" pointer",backgroundColor:l?.disabled&&l?.disabledColor?l?.disabledColor:l?.value===s?t?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:l.value,selected:s})),b.default.createElement(al,{defaultOptionColor:g,optionStyle:{...r,cursor:l?.disabled?"not-allowed ":" pointer",color:l?.disabled&&l?.disabledColor},inBuiltCss:I,defaultOptionStyle:"option-text",selectedOptionTextColor:n,theme:x,selected:!l?.disabled&&l.value===s},l.label))))))};il.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},il.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const cl=g.default.div`
1621
1622
  background-color: ${({theme:e})=>e.bgColor};
1622
1623
 
1623
1624
  //Set the styles from the default styles object
@@ -1638,7 +1639,7 @@ float: right;
1638
1639
  ${({textBoxStyle:e})=>e}
1639
1640
 
1640
1641
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}
1641
- `,cl=g.default.input`
1642
+ `,nl=g.default.input`
1642
1643
  color: ${({theme:e})=>e.black};
1643
1644
  width: 85%;
1644
1645
  white-space: nowrap;
@@ -1654,18 +1655,18 @@ float: right;
1654
1655
  color: ${M.variant["neutral-3"]};
1655
1656
  }
1656
1657
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}};
1657
- `,nl=l.css`
1658
+ `,dl=l.css`
1658
1659
  display: flex;
1659
1660
  gap: 7px;
1660
1661
  align-items: center;
1661
- `,dl=g.default.div`
1662
- ${({labelInline:e})=>e?nl:null}
1662
+ `,sl=g.default.div`
1663
+ ${({labelInline:e})=>e?dl:null}
1663
1664
  .err-text {
1664
1665
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1665
1666
  margin-top: 5px;
1666
1667
  font-size: 10px;
1667
1668
  }
1668
- `,sl=({textBoxStyle:e,labelStyle:t,inputStyle:a,errMsg:o,required:r,label:i,labelInline:c,iconBefore:n,iconAfter:d,isValid:s,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(dl,S({labelInline:c,theme:C,errMsgColor:m},A),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ne,S({customStyles:t,type:"label-text",labelInline:c,text:i,errMsg:o,style:{display:"flex",marginBottom:`${c?0:"8px"}`,paddingBottom:"0px"}},A)),r&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${C.variant.error}`}},"*")),b.default.createElement("div",null,b.default.createElement(il,S({required:r,isDisabled:p,theme:C,textBoxStyle:e,isValid:s,inBuiltCss:I,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),b.default.createElement("div",{className:"input-icon",style:{...h}},n),b.default.createElement(cl,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}},d))),o.length>0&&b.default.createElement("div",{className:"err-text"},o))};sl.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},sl.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 ul=({label:e,placeholder:t,handleSearch:l,searchInput:a,customStylesForm:o,customStyleObject:r,textBoxStyle:i,id:c,...n})=>b.default.createElement(sl,S({iconAfter:b.default.createElement(J,{icon:"magnifier-icon"}),label:e,textBoxStyle:i,placeholder:t,ref:a,onChange:l,id:c},n)),pl=g.default.div`
1669
+ `,ul=({textBoxStyle:e,labelStyle:t,inputStyle:a,errMsg:o,required:r,label:i,labelInline:c,iconBefore:n,iconAfter:d,isValid:s,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(sl,S({labelInline:c,theme:C,errMsgColor:m},A),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ke,S({customStyles:t,type:"label-text",labelInline:c,text:i,errMsg:o,style:{display:"flex",marginBottom:`${c?0:"8px"}`,paddingBottom:"0px"}},A)),r&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${C.variant.error}`}},"*")),b.default.createElement("div",null,b.default.createElement(cl,S({required:r,isDisabled:p,theme:C,textBoxStyle:e,isValid:s,inBuiltCss:I,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),b.default.createElement("div",{className:"input-icon",style:{...h}},n),b.default.createElement(nl,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}},d))),o.length>0&&b.default.createElement("div",{className:"err-text"},o))};ul.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},ul.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 pl=({label:e,placeholder:t,handleSearch:l,searchInput:a,customStylesForm:o,customStyleObject:r,textBoxStyle:i,id:c,...n})=>b.default.createElement(ul,S({iconAfter:b.default.createElement(J,{icon:"magnifier-icon"}),label:e,textBoxStyle:i,placeholder:t,ref:a,onChange:l,id:c},n)),fl=g.default.div`
1669
1670
  //Set the styles from the default styles object
1670
1671
  ${({inBuiltCss:e,defaultParentDivStyle:t})=>W(e,t)}
1671
1672
 
@@ -1674,7 +1675,7 @@ float: right;
1674
1675
  &:focus-within {
1675
1676
  border-color: ${({activeColor:e,theme:t})=>e||t.primary["primary-1"]};
1676
1677
  }
1677
- `,fl=g.default.div`
1678
+ `,ml=g.default.div`
1678
1679
  //Set the styles from the default styles object
1679
1680
  ${({inBuiltCss:e,defaultWrapperDivStyle:t})=>W(e,t)}
1680
1681
 
@@ -1686,7 +1687,7 @@ float: right;
1686
1687
  border-left: ${({signIcon:e})=>e?"":"none"};
1687
1688
  margin-left: ${({signIcon:e})=>e?"":"42px"};
1688
1689
  position: ${({signIcon:e})=>e?"absolute":""};
1689
- `,ml=g.default.div`
1690
+ `,bl=g.default.div`
1690
1691
  width: 39px;
1691
1692
  height: 44px;
1692
1693
  display: flex;
@@ -1696,7 +1697,7 @@ float: right;
1696
1697
  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"]}`:""};
1697
1698
  background-color: rgba(255, 255, 255, 0.05);
1698
1699
  cursor: pointer;
1699
- `,bl=g.default.input`
1700
+ `,gl=g.default.input`
1700
1701
  ${({inBuiltCss:e,defaultInputStyle:t})=>W(e,t)}
1701
1702
 
1702
1703
  border-bottom: ${({value:e,defaultColor:t,theme:l})=>e.length>0?"none":t};
@@ -1721,17 +1722,17 @@ float: right;
1721
1722
 
1722
1723
  // custom styles
1723
1724
  ${({customInputStyle:e})=>e}
1724
- `,gl=g.default.div`
1725
+ `,hl=g.default.div`
1725
1726
  position: relative;
1726
1727
  width: inherit;
1727
1728
  display: flex;
1728
1729
  margin: 4px;
1729
- `,hl=g.default.div`
1730
+ `,yl=g.default.div`
1730
1731
  padding-left: 2px;
1731
1732
  display: flex;
1732
1733
  justify-content: center;
1733
1734
  cursor: pointer;
1734
- `,yl=({onChange:e,activeColor:a,defaultColor:o,placeholderColor:r,placeholderText:i,customInputStyle:c,pointsArray:n,setPointsArray:d,value:s,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=()=>(d(z.current.toData()),g(z.current.toDataURL("image/png")),[m,n]);return b.default.createElement(pl,{inBuiltCss:I,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:w,selected:v,activeColor:a,defaultColor:o,theme:x},b.default.createElement(fl,{inBuiltCss:I,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,selected:v,isMyInputFocused:w,signIcon:!0,theme:x},b.default.createElement(ml,{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(ml,{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(fl,{inBuiltCss:I,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,theme:x,selected:v,isMyInputFocused:w,signIcon:!1,onTouchStart:()=>{}},"default"===v?b.default.createElement(bl,{inBuiltCss:I,defaultInputStyle:"signature-input-text",placeholder:i,placeholderColor:r,customInputStyle:c,onBlur:()=>S(!1),onFocus:()=>S(!0),id:h,value:s,defaultColor:o,theme:x,onChange:e=>u(e.target.value)}):b.default.createElement(gl,{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"}})),(s||E)&&b.default.createElement(hl,{selected:v,onClick:()=>V()},b.default.createElement(J,{icon:"cross-icon",color:o||x.neutral["neutral-3"]}))))};yl.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},yl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const xl=g.default.div`
1735
+ `,xl=({onChange:e,activeColor:a,defaultColor:o,placeholderColor:r,placeholderText:i,customInputStyle:c,pointsArray:n,setPointsArray:d,value:s,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),[k,E]=t.useState(!1),z=t.useRef(null);t.useEffect((()=>{k&&(B(),f(z.current))}),[!0===k]);const V=()=>{u(""),f(z.current),z.current&&z.current.clear(),S(!1),E(!1)},B=()=>(d(z.current.toData()),g(z.current.toDataURL("image/png")),[m,n]);return b.default.createElement(fl,{inBuiltCss:I,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:w,selected:v,activeColor:a,defaultColor:o,theme:x},b.default.createElement(ml,{inBuiltCss:I,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,selected:v,isMyInputFocused:w,signIcon:!0,theme:x},b.default.createElement(bl,{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(bl,{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(ml,{inBuiltCss:I,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,theme:x,selected:v,isMyInputFocused:w,signIcon:!1,onTouchStart:()=>{}},"default"===v?b.default.createElement(gl,{inBuiltCss:I,defaultInputStyle:"signature-input-text",placeholder:i,placeholderColor:r,customInputStyle:c,onBlur:()=>S(!1),onFocus:()=>S(!0),id:h,value:s,defaultColor:o,theme:x,onChange:e=>u(e.target.value)}):b.default.createElement(hl,{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),onClick:()=>{E(!0),B()}},b.default.createElement(A.default,{ref:z,id:h,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(s||k)&&b.default.createElement(yl,{selected:v,onClick:()=>V()},b.default.createElement(J,{icon:"cross-icon",color:o||x.neutral["neutral-3"]}))))};xl.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},xl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const vl=g.default.div`
1735
1736
  background-color: ${({theme:e})=>e.bgColor};
1736
1737
  //Set the styles from the default styles object
1737
1738
  ${({inBuiltCss:e,defaultWrapperStyle:t})=>W(e,t)}
@@ -1753,19 +1754,19 @@ float: right;
1753
1754
 
1754
1755
  // custom styles
1755
1756
  ${({textAreaStyle:e})=>e}
1756
- `,vl=g.default.textarea`
1757
+ `,Al=g.default.textarea`
1757
1758
  //Set the styles from the default styles object
1758
1759
  ${({inBuiltCss:e,defaultInputStyle:t})=>W(e,t)}
1759
1760
  margin: 0;
1760
1761
  overflow: auto;
1761
1762
  resize: vertical // custom styles
1762
1763
  ${({inputStyle:e})=>e};
1763
- `,Al=l.css`
1764
+ `,Cl=l.css`
1764
1765
  display: flex;
1765
1766
  gap: 7px;
1766
1767
  align-items: center;
1767
- `,Cl=g.default.div`
1768
- ${({labelInline:e})=>e?Al:null}
1768
+ `,wl=g.default.div`
1769
+ ${({labelInline:e})=>e?Cl:null}
1769
1770
  ${({customStylesForm:e})=>{if(e)return{...e}}}
1770
1771
  position: relative;
1771
1772
  .err-text {
@@ -1773,7 +1774,7 @@ float: right;
1773
1774
  margin-top: 5px;
1774
1775
  font-size: 10px;
1775
1776
  }
1776
- `,wl=b.default.forwardRef((({customStylesForm:e,textAreaStyle:t,labelStyle:a,inputStyle:o,errMsg:r,required:i,label:c,labelInline:n,iconBefore:d,iconAfter:s,isValid:u,rows:p,cols:f,id:m,...g},h)=>{const y=l.useTheme()||M;return b.default.createElement(Cl,S({labelInline:n,customStylesForm:e,theme:y},g),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ne,S({customStyles:a,type:"label-text",labelInline:n,text:c,errMsg:r,style:{display:"flex",marginBottom:`${n?0:"8px"}`,paddingBottom:"0px"}},g)),i&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),b.default.createElement(xl,S({theme:y,required:i,textAreaStyle:t,isValid:u,inBuiltCss:I,defaultWrapperStyle:"textbox-wrapper"},g),b.default.createElement("div",{className:"input-icon"},d),b.default.createElement(vl,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"},s)),b.default.createElement("div",{className:"err-text"},r))}));wl.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},wl.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const Sl=g.default.div`
1777
+ `,Sl=b.default.forwardRef((({customStylesForm:e,textAreaStyle:t,labelStyle:a,inputStyle:o,errMsg:r,required:i,label:c,labelInline:n,iconBefore:d,iconAfter:s,isValid:u,rows:p,cols:f,id:m,...g},h)=>{const y=l.useTheme()||M;return b.default.createElement(wl,S({labelInline:n,customStylesForm:e,theme:y},g),b.default.createElement("div",{style:{display:"flex"}},b.default.createElement(Ke,S({customStyles:a,type:"label-text",labelInline:n,text:c,errMsg:r,style:{display:"flex",marginBottom:`${n?0:"8px"}`,paddingBottom:"0px"}},g)),i&&b.default.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),b.default.createElement(vl,S({theme:y,required:i,textAreaStyle:t,isValid:u,inBuiltCss:I,defaultWrapperStyle:"textbox-wrapper"},g),b.default.createElement("div",{className:"input-icon"},d),b.default.createElement(Al,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"},s)),b.default.createElement("div",{className:"err-text"},r))}));Sl.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},Sl.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const kl=g.default.div`
1777
1778
  color: #a9b1b8;
1778
1779
  font-size: 21px;
1779
1780
  border: 1px solid
@@ -1797,23 +1798,23 @@ float: right;
1797
1798
  width: 24px;
1798
1799
  text-align:center;
1799
1800
  background-color: ${({theme:e})=>e.bgColor};
1800
- `,kl=l.css`
1801
+ `,zl=l.css`
1801
1802
  &:after {
1802
1803
  content: ' *';
1803
1804
  color: ${({theme:e})=>e.variant.error};
1804
1805
  }
1805
- `,zl=g.default.label`
1806
+ `,Vl=g.default.label`
1806
1807
  display: block;
1807
1808
  margin-bottom: ${({labelInline:e,errMsg:t})=>e&&t?"18px":"8px"};
1808
1809
  margin-right: ${({labelInline:e})=>e?"8px":""};
1809
1810
  color: ${({theme:e})=>e.variant["neutral-2"]};
1810
- ${({required:e})=>e?kl:null}
1811
+ ${({required:e})=>e?zl:null}
1811
1812
  padding-bottom: 0px;
1812
- `,Vl=l.css`
1813
+ `,Bl=l.css`
1813
1814
  display: flex;
1814
1815
  align-items: center;
1815
- `,Bl=g.default.div`
1816
- ${({labelInline:e})=>e?Vl:null}
1816
+ `,Ml=g.default.div`
1817
+ ${({labelInline:e})=>e?Bl:null}
1817
1818
  .err-text {
1818
1819
  color: ${({theme:e})=>e.variant.error};
1819
1820
  margin-top: 5px;
@@ -1823,7 +1824,7 @@ float: right;
1823
1824
  > div {
1824
1825
  flex: 1 0 auto;
1825
1826
  }
1826
- `,Ml=g.default.button`
1827
+ `,Il=g.default.button`
1827
1828
  border: none;
1828
1829
  outline: none;
1829
1830
  border-radius: 4px;
@@ -1832,9 +1833,9 @@ float: right;
1832
1833
  padding: 5px 6px;
1833
1834
  font-size: 18px;
1834
1835
  cursor: pointer;
1835
- `,Il=({label:e,errMsg:t,hour:a,minute:o,period:r,onChange:i,id:c,...n})=>{const d=l.useTheme()||M;return b.default.createElement(Bl,S({theme:d},n),b.default.createElement(zl,S({theme:d},n,{errMsg:t}),e),b.default.createElement("div",null,b.default.createElement(Sl,S({theme:d,id:c},n),b.default.createElement(El,{theme:d,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(El,{theme:d,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(Ml,{theme:d,onClick:function(e){i({hour:a,minute:o,period:"AM"===r?"PM":"AM"})}},r)),b.default.createElement("div",{className:"err-text"},t)))};Il.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},Il.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Wl=g.default.div`
1836
+ `,Wl=({label:e,errMsg:t,hour:a,minute:o,period:r,onChange:i,id:c,...n})=>{const d=l.useTheme()||M;return b.default.createElement(Ml,S({theme:d},n),b.default.createElement(Vl,S({theme:d},n,{errMsg:t}),e),b.default.createElement("div",null,b.default.createElement(kl,S({theme:d,id:c},n),b.default.createElement(El,{theme:d,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(El,{theme:d,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(Il,{theme:d,onClick:function(e){i({hour:a,minute:o,period:"AM"===r?"PM":"AM"})}},r)),b.default.createElement("div",{className:"err-text"},t)))};Wl.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},Wl.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Rl=g.default.div`
1836
1837
  ${({inBuiltCss:e,defaultCheckBoxWrapperStyle:t})=>W(e,t)}
1837
- `,Rl=g.default.label`
1838
+ `,Ll=g.default.label`
1838
1839
 
1839
1840
  left: ${({labelPosition:e})=>"right"===e?"initial":"50px"};
1840
1841
  margin-right: ${({labelPosition:e})=>"left"===e?"30px":"0px"};
@@ -1860,7 +1861,7 @@ float: right;
1860
1861
  // custom styles
1861
1862
  ${({customSwitchStyle:e})=>e}
1862
1863
  }
1863
- `,Ll=g.default.input.attrs({type:"checkbox"})`
1864
+ `,Tl=g.default.input.attrs({type:"checkbox"})`
1864
1865
  opacity: 0;
1865
1866
  z-index: 1;
1866
1867
  border-radius: 31px;
@@ -1871,7 +1872,7 @@ float: right;
1871
1872
  left: ${({labelPosition:e})=>"right"===e?"initial":"50px"};
1872
1873
 
1873
1874
 
1874
- `,Tl=g.default.span`
1875
+ `,Pl=g.default.span`
1875
1876
 
1876
1877
  margin-right: ${({labelPosition:e})=>"30px"};
1877
1878
 
@@ -1880,33 +1881,33 @@ float: right;
1880
1881
 
1881
1882
  // custom styles
1882
1883
  ${({optionStyle:e})=>e}
1883
- `,Pl=({checked:e,customSwitchStyle:t,customToggleBoxStyle:a,backgroundColor:o,disabledColor:r,switchColor:i,onClick:c,trueLabel:n,falseLabel:d,optionStyle:s,labelPosition:u,id:p,isDisabled:f,...m})=>{const g=l.useTheme()||M;return b.default.createElement(Wl,S({inBuiltCss:I,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},m),"left"===u&&b.default.createElement(Tl,S({optionStyle:s,inBuiltCss:I,labelPosition:u,defaultOptionTextStyle:"toggle-switch-option-text"},m),e?n:d),b.default.createElement(Ll,S({},m,{labelPosition:u,id:p,inBuiltCss:I,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{c(!e)},isChecked:e,disabled:f,isDisabled:f})),b.default.createElement(Rl,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(Tl,S({optionStyle:s,inBuiltCss:I,labelPosition:u,defaultOptionTextStyle:"toggle-switch-option-text"},m),e?n:d))};Pl.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},Pl.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Hl=g.default.div`
1884
+ `,Hl=({checked:e,customSwitchStyle:t,customToggleBoxStyle:a,backgroundColor:o,disabledColor:r,switchColor:i,onClick:c,trueLabel:n,falseLabel:d,optionStyle:s,labelPosition:u,id:p,isDisabled:f,...m})=>{const g=l.useTheme()||M;return b.default.createElement(Rl,S({inBuiltCss:I,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},m),"left"===u&&b.default.createElement(Pl,S({optionStyle:s,inBuiltCss:I,labelPosition:u,defaultOptionTextStyle:"toggle-switch-option-text"},m),e?n:d),b.default.createElement(Tl,S({},m,{labelPosition:u,id:p,inBuiltCss:I,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{c(!e)},isChecked:e,disabled:f,isDisabled:f})),b.default.createElement(Ll,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(Pl,S({optionStyle:s,inBuiltCss:I,labelPosition:u,defaultOptionTextStyle:"toggle-switch-option-text"},m),e?n:d))};Hl.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},Hl.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const jl=g.default.div`
1884
1885
  background-color: ${({theme:e})=>e.bgColor};
1885
1886
  padding: 24px 8px;
1886
1887
  ${({commentBodyStyle:e})=>e};
1887
- `,jl=g.default.div`
1888
+ `,ql=g.default.div`
1888
1889
  margin-bottom: 24px;
1889
1890
 
1890
1891
  ${({commentWrapperStyle:e})=>e};
1891
- `,ql=g.default.div`
1892
+ `,Fl=g.default.div`
1892
1893
  display: flex;
1893
1894
  flex-direction: row;
1894
1895
  width: 100%;
1895
1896
  justify-content: flex-start;
1896
1897
  align-items: center;
1897
1898
  ${({commentHeadStyle:e})=>e};
1898
- `,Fl=g.default.span`
1899
+ `,Ol=g.default.span`
1899
1900
  margin-left: 24px;
1900
1901
  font-size: 14px;
1901
1902
  color: ${({theme:e})=>e.variant["neutral-2"]};
1902
1903
  font-weight: 400;
1903
1904
  ${({dateTimeStyle:e})=>e};
1904
- `,Ol=g.default.div`
1905
+ `,Zl=g.default.div`
1905
1906
  margin: 0.75rem 0 0 3.5rem;
1906
1907
  font-size: 16px;
1907
1908
  color: ${M.variant["graph-6"]};
1908
1909
  ${({commentDivStyle:e})=>e};
1909
- `,Zl=g.default.div`
1910
+ `,Dl=g.default.div`
1910
1911
  display: flex;
1911
1912
  justify-content: flex-start;
1912
1913
  align-items: flex-start;
@@ -1915,13 +1916,13 @@ float: right;
1915
1916
  padding: 16px 24px;
1916
1917
  border-radius: 0px 0px 4px 4px;
1917
1918
  ${({inputWrapperStyle:e})=>e};
1918
- `,Dl=g.default.div`
1919
+ `,Gl=g.default.div`
1919
1920
  display: inline-flex;
1920
1921
  margin-top: 16px;
1921
- `,Gl=g.default.div`
1922
+ `,Xl=g.default.div`
1922
1923
  width: 100%;
1923
1924
  margin-left: 16px;
1924
- `,Xl=({inputValue:e,setInputValue:a,commentArray:o,commentBodyStyle:r,commentWrapperStyle:i,commentHeadStyle:c,dateTimeStyle:n,commentDivStyle:d,inputWrapperStyle:s,onSave:u,myInfo:p,placeholder:f,loading:m,btnText:g,...h})=>{const y=l.useTheme()||M,[x,v]=t.useState(!1);return b.default.createElement(Hl,{commentWrapperStyle:i,theme:y},m?b.default.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"24px"}},b.default.createElement(Se,{size:16})):o.map(((e,t)=>{const{name:l,date:a,comment:o,image:i}=e;return b.default.createElement(jl,{key:t,commentBodyStyle:r,theme:y},b.default.createElement(ql,{commentHeadStyle:c},b.default.createElement(ie,S({user:{fullName:l,userName:l,url:i},toggleName:!0,size:"LG"},h)),b.default.createElement(Fl,{dateTimeStyle:n,theme:y},a)),b.default.createElement(Ol,{commentDivStyle:d},o))})),b.default.createElement(Zl,{theme:y,inputWrapperStyle:s},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(Gl,null,b.default.createElement(sl,{value:e,onChange:e=>a(e.target.value),placeholder:f,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>v(!0)}),x&&b.default.createElement(Dl,null,b.default.createElement(Me,S({size:"sm",onClick:u},h),g.save),b.default.createElement(ze,{size:"sm",btnStyle:{color:y.variant["neutral-1"]},onClick:e=>v(!1)},g.cancel)))))};Xl.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,loading:m.default.bool,btnText:m.default.object},Xl.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:"",loading:!1,btnText:{save:"Save",cancel:"Cancel"}};const Jl=g.default.div`
1925
+ `,Jl=({inputValue:e,setInputValue:a,commentArray:o,commentBodyStyle:r,commentWrapperStyle:i,commentHeadStyle:c,dateTimeStyle:n,commentDivStyle:d,inputWrapperStyle:s,onSave:u,myInfo:p,placeholder:f,loading:m,btnText:g,...h})=>{const y=l.useTheme()||M,[x,v]=t.useState(!1);return b.default.createElement(jl,{commentWrapperStyle:i,theme:y},m?b.default.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"24px"}},b.default.createElement(ke,{size:26})):o.map(((e,t)=>{const{name:l,date:a,comment:o,image:i}=e;return b.default.createElement(ql,{key:t,commentBodyStyle:r,theme:y},b.default.createElement(Fl,{commentHeadStyle:c},b.default.createElement(ie,S({user:{fullName:l,userName:l,url:i},toggleName:!0,size:"LG"},h)),b.default.createElement(Ol,{dateTimeStyle:n,theme:y},a)),b.default.createElement(Zl,{commentDivStyle:d},o))})),b.default.createElement(Dl,{theme:y,inputWrapperStyle:s},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(Xl,null,b.default.createElement(ul,{value:e,onChange:e=>a(e.target.value),placeholder:f,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>v(!0)}),x&&b.default.createElement(Gl,null,b.default.createElement(Ie,S({size:"sm",onClick:u},h),g.save),b.default.createElement(Ve,{size:"sm",btnStyle:{color:y.variant["neutral-1"]},onClick:e=>v(!1)},g.cancel)))))};Jl.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,loading:m.default.bool,btnText:m.default.object},Jl.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:"",loading:!1,btnText:{save:"Save",cancel:"Cancel"}};const Ul=g.default.div`
1925
1926
  //Set the styles from the default styles object
1926
1927
  ${({theme:e,type:t})=>W(e,t)}
1927
1928
  @media (max-width: 980px) {
@@ -1929,7 +1930,7 @@ float: right;
1929
1930
  }
1930
1931
  // custom styles
1931
1932
  ${({customStyles:e})=>e}
1932
- `,Ul=({theme:e,type:t,customStyles:l,...a})=>b.default.createElement(Jl,S({theme:e,customStyles:l,type:t},a),a.children);Ul.propTypes={theme:m.default.object,customStyles:m.default.object,type:m.default.string},Ul.defaultProps={theme:I,customStyles:null,type:"content"};const Yl=g.default.div`
1933
+ `,Yl=({theme:e,type:t,customStyles:l,...a})=>b.default.createElement(Ul,S({theme:e,customStyles:l,type:t},a),a.children);Yl.propTypes={theme:m.default.object,customStyles:m.default.object,type:m.default.string},Yl.defaultProps={theme:I,customStyles:null,type:"content"};const Ql=g.default.div`
1933
1934
  width: 100%;
1934
1935
  display: flex;
1935
1936
  flex-direction: column;
@@ -1941,7 +1942,7 @@ float: right;
1941
1942
  button:focus {
1942
1943
  outline: none;
1943
1944
  }
1944
- `,Ql=g.default.div`
1945
+ `,Nl=g.default.div`
1945
1946
  position: relative;
1946
1947
  display: flex;
1947
1948
  width: 100%;
@@ -2025,7 +2026,7 @@ float: right;
2025
2026
  margin-top: 0;
2026
2027
  }
2027
2028
  }
2028
- `,Nl=g.default.span`
2029
+ `,Kl=g.default.span`
2029
2030
  color: #2e56f4;
2030
2031
  font-style: normal;
2031
2032
  font-weight: normal;
@@ -2035,14 +2036,14 @@ float: right;
2035
2036
  margin-top: 37px;
2036
2037
  margin-right: 65px;
2037
2038
  white-space: nowrap;
2038
- `,Kl=g.default.div`
2039
+ `,$l=g.default.div`
2039
2040
  display: flex;
2040
2041
  flex-direction: column;
2041
2042
  ${""}
2042
2043
  max-width: 1340px;
2043
2044
  width: 100%;
2044
2045
  align-items: center;
2045
- `,$l=g.default.div`
2046
+ `,_l=g.default.div`
2046
2047
  position: absolute;
2047
2048
  font-size: 12px;
2048
2049
  border-radius: 50%;
@@ -2059,23 +2060,23 @@ float: right;
2059
2060
  transform: translate(30%, -30%);
2060
2061
  color: white;
2061
2062
  font-weight: 600;
2062
- `,_l=g.default.div`
2063
- width: 90%;
2064
2063
  `,ea=g.default.div`
2064
+ width: 90%;
2065
+ `,ta=g.default.div`
2065
2066
  background: linear-gradient(
2066
2067
  0deg,
2067
2068
  hsla(0, 0%, 100%, 1) 20%,
2068
2069
  hsla(0, 0%, 100%, 0.5) 100%
2069
2070
  );
2070
2071
  width: 90%;
2071
- `,ta=g.default.div`
2072
- width: 90%;
2073
2072
  `,la=g.default.div`
2073
+ width: 90%;
2074
+ `,aa=g.default.div`
2074
2075
  display: flex;
2075
2076
  margin-left: auto !important;
2076
2077
  margin-right: auto !important;
2077
2078
  cursor: pointer;
2078
- `,aa=g.default.div`
2079
+ `,oa=g.default.div`
2079
2080
  display: flex;
2080
2081
  flex-direction: column;
2081
2082
  width: 180px;
@@ -2084,10 +2085,10 @@ float: right;
2084
2085
  border-radius: 6px;
2085
2086
  margin-right: 0.5rem;
2086
2087
  z-index: 999;
2087
- `,oa=g.default.div`
2088
+ `,ra=g.default.div`
2088
2089
  margin: 10.5px 13px;
2089
2090
  padding: 0;
2090
- `,ra=g.default.div`
2091
+ `,ia=g.default.div`
2091
2092
  color: #081348;
2092
2093
  padding: 7.7px 6.5px 7.7px 24px;
2093
2094
  margin: 2.5px 13px;
@@ -2105,7 +2106,7 @@ float: right;
2105
2106
  background: #eaeefe;
2106
2107
  border-radius: 5px;
2107
2108
  }
2108
- `,ia=g.default.div`
2109
+ `,ca=g.default.div`
2109
2110
  position: relative;
2110
2111
  display: flex;
2111
2112
  width: 100%;
@@ -2189,41 +2190,41 @@ float: right;
2189
2190
  margin-top: 0;
2190
2191
  }
2191
2192
  }
2192
- `,ca=g.default.div`
2193
+ `,na=g.default.div`
2193
2194
  display: flex;
2194
2195
  justify-content: flex-end;
2195
- `,na=g.default.div`
2196
+ `,da=g.default.div`
2196
2197
  display: flex;
2197
2198
  justify-content: center;
2198
2199
  flex-direction: row;
2199
2200
  align-items: flex-start;
2200
2201
  gap: 20px;
2201
- `,da=g.default.div`
2202
+ `,sa=g.default.div`
2202
2203
  width: 48;
2203
2204
  max-width: 48%;
2204
2205
  min-width: 48%;
2205
2206
 
2206
- `,sa=g.default.form`
2207
+ `,ua=g.default.form`
2207
2208
  width: 40vw;
2208
2209
  display: flex;
2209
2210
  justify-content: center;
2210
2211
  flex-direction: column;
2211
2212
  gap: 20px;
2212
2213
  ${({customStyles:e})=>e}
2213
- `,ua=({customStyles:e,children:t})=>b.default.createElement(sa,{customStyles:e},t),pa=g.default.div`
2214
+ `,pa=({customStyles:e,children:t})=>b.default.createElement(ua,{customStyles:e},t),fa=g.default.div`
2214
2215
  display: ${({vertical:e})=>e?"inline-block":"block"};
2215
2216
  background: ${({theme:e,borderColor:t})=>t||e.neutral["neutral-5"]};
2216
2217
  content: '';
2217
2218
  height: ${({vertical:e,thickness:t,height:l})=>e?l:t};
2218
2219
  width: ${({vertical:e,thickness:t})=>e?t:null};
2219
- `,fa=({vertical:e,borderColor:t,thickness:a,height:o,...r})=>{const i=l.useTheme()||M;return b.default.createElement(pa,S({theme:i,borderColor:t,thickness:a,vertical:e,height:o},r))};fa.propTypes={thickness:m.default.string,borderColor:m.default.string,vertical:m.default.bool,height:m.default.string},fa.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const ma=g.default.div`
2220
+ `,ma=({vertical:e,borderColor:t,thickness:a,height:o,...r})=>{const i=l.useTheme()||M;return b.default.createElement(fa,S({theme:i,borderColor:t,thickness:a,vertical:e,height:o},r))};ma.propTypes={thickness:m.default.string,borderColor:m.default.string,vertical:m.default.bool,height:m.default.string},ma.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const ba=g.default.div`
2220
2221
  //Set the styles from the default styles object
2221
2222
  ${({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}}}}
2222
- `,ba=({customStyles:e,drawerOpen:t,setDrawerOpen:l,children:a,...o})=>b.default.createElement(ma,S({inBuiltCss:I,customStyles:e,type:"drawer",drawerOpen:t},o),a);ba.propTypes={customStyles:m.default.object,drawerOpen:m.default.bool,setDrawerOpen:m.default.func},ba.defaultProps={setDrawerOpen:()=>null};class ga 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(Me,{onClick:()=>this.refreshPage()},"Click to refresh"));return e?l:this.props.children}}ga.propTypes={children:m.default.any};const ha=l.css`
2223
+ `,ga=({customStyles:e,drawerOpen:t,setDrawerOpen:l,children:a,...o})=>b.default.createElement(ba,S({inBuiltCss:I,customStyles:e,type:"drawer",drawerOpen:t},o),a);ga.propTypes={customStyles:m.default.object,drawerOpen:m.default.bool,setDrawerOpen:m.default.func},ga.defaultProps={setDrawerOpen:()=>null};class ha 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}}ha.propTypes={children:m.default.any};const ya=l.css`
2223
2224
  color: ${({theme:e})=>e.variant["primary-1"]};
2224
2225
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
2225
2226
  background: ${({theme:e})=>R(e.primary["primary-1"],.04)};
2226
- `,ya=g.default.button`
2227
+ `,xa=g.default.button`
2227
2228
  font-size: 14px;
2228
2229
  color: ${({theme:e})=>e.variant["primary-2"]};
2229
2230
  background: ${({theme:e})=>R(e.variant["neutral-5"],.7)};
@@ -2233,19 +2234,19 @@ float: right;
2233
2234
  outline: none;
2234
2235
  cursor: ${({disabled:e})=>e?"default":"pointer"};
2235
2236
 
2236
- ${({selected:e})=>e?ha:null}
2237
+ ${({selected:e})=>e?ya:null}
2237
2238
  ${({customStyles:e})=>e}
2238
2239
 
2239
2240
 
2240
2241
  &:not(:first-child) {
2241
2242
  margin-left: 8px;
2242
2243
  }
2243
- `,xa=({options:e,selected:t,onClick:a,customStyles:o,disabled:r,...i})=>{const c=l.useTheme()||M,n=e.map(((e,l)=>b.default.createElement(ya,{theme:c,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,n)};xa.propTypes={options:m.default.array,selected:m.default.string,onClick:m.default.func,customStyles:m.default.object,disabled:m.default.bool},xa.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const va=g.default.footer`
2244
+ `,va=({options:e,selected:t,onClick:a,customStyles:o,disabled:r,...i})=>{const c=l.useTheme()||M,n=e.map(((e,l)=>b.default.createElement(xa,{theme:c,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,n)};va.propTypes={options:m.default.array,selected:m.default.string,onClick:m.default.func,customStyles:m.default.object,disabled:m.default.bool},va.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const Aa=g.default.footer`
2244
2245
  //Set the styles from the default styles object
2245
2246
  ${({theme:e,type:t})=>W(e,t)}
2246
2247
  // custom styles
2247
2248
  ${({customStyles:e})=>e}
2248
- `,Aa=t.forwardRef((({theme:e,customStyles:t,...l},a)=>b.default.createElement(va,S({ref:a,theme:e,type:"footer",customStyles:t},l),l.children)));Aa.propTypes={theme:m.default.object,customStyles:m.default.object,type:m.default.string},va.defaultProps={theme:m.default.object},Aa.defaultProps={theme:I,customStyles:null};const Ca=g.default.div`
2249
+ `,Ca=t.forwardRef((({theme:e,customStyles:t,...l},a)=>b.default.createElement(Aa,S({ref:a,theme:e,type:"footer",customStyles:t},l),l.children)));Ca.propTypes={theme:m.default.object,customStyles:m.default.object,type:m.default.string},Aa.defaultProps={theme:m.default.object},Ca.defaultProps={theme:I,customStyles:null};const wa=g.default.div`
2249
2250
  font-size: 14px;
2250
2251
  background-color: transparent;
2251
2252
  display: flex;
@@ -2263,7 +2264,7 @@ float: right;
2263
2264
  ${({footerWidth:e})=>{if(e<650)return l.css`
2264
2265
  flex-direction: column;
2265
2266
  `}}
2266
- `,wa=g.default.div`
2267
+ `,Sa=g.default.div`
2267
2268
  display: flex;
2268
2269
  ${({footerWidth:e})=>{if(e<650)return l.css`
2269
2270
  margin-bottom: 5px;
@@ -2273,7 +2274,7 @@ float: right;
2273
2274
  align-items: center;
2274
2275
  margin-bottom: 0;
2275
2276
  `}}
2276
- `,Sa=g.default.div`
2277
+ `,ka=g.default.div`
2277
2278
  margin-top: inherit;
2278
2279
  margin-bottom: inherit;
2279
2280
  ${({footerWidth:e})=>{if(e<350)return l.css`
@@ -2284,7 +2285,7 @@ float: right;
2284
2285
  ${({footerWidth:e})=>{if(e<350)return l.css`
2285
2286
  display: none;
2286
2287
  `}}
2287
- `,ka=g.default.header`
2288
+ `,za=g.default.header`
2288
2289
 
2289
2290
  background-color: ${({theme:e})=>e.bgColor};
2290
2291
  border-bottom: 0.5px solid ${({theme:e})=>e.variant["neutral-3"]};
@@ -2292,7 +2293,7 @@ float: right;
2292
2293
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2293
2294
  // custom styles
2294
2295
  ${({customStyles:e})=>e}
2295
- `,za=({type:e,customStyles:t,...a})=>{const o=l.useTheme()||M;return b.default.createElement(ka,S({theme:o,type:"header",customStyles:t,inBuiltCss:I},a),a.children)};za.propTypes={customStyles:m.default.object,type:m.default.string},za.defaultProps={type:"header",customStyles:null};const Va=g.default.div`
2296
+ `,Va=({type:e,customStyles:t,...a})=>{const o=l.useTheme()||M;return b.default.createElement(za,S({theme:o,type:"header",customStyles:t,inBuiltCss:I},a),a.children)};Va.propTypes={customStyles:m.default.object,type:m.default.string},Va.defaultProps={type:"header",customStyles:null};const Ba=g.default.div`
2296
2297
  box-sizing: border-box;
2297
2298
  display: flex;
2298
2299
  justify-content: center;
@@ -2300,8 +2301,8 @@ float: right;
2300
2301
  width: auto;
2301
2302
 
2302
2303
  ${({size:e})=>l.css`height: ${e}px;`}
2303
- `,Ba=g.default.div`
2304
2304
  `,Ma=g.default.div`
2305
+ `,Ia=g.default.div`
2305
2306
  box-sizing: border-box;
2306
2307
  display: flex;
2307
2308
  justify-content: center;
@@ -2330,11 +2331,11 @@ svg {
2330
2331
  `}
2331
2332
  }
2332
2333
  }
2333
- `,Ia=({theme:e,toggleSet:t,slide:l,color:a,size:o,transform:r,ratingValue:i,starVal:c,hover:n,...d})=>b.default.createElement(Ma,S({theme:e,ratingValue:i,starVal:c,hover:n,toggleSet:t,color:a,size:o,transform:r},d),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 Wa(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 Ra(e,t){return 100*e/t}const La=({type:e,customStylesContainer:a,customStylesStar:o,customStylesPercentage:r,color:i,size:c,handleClick:n,transform:d,maxRange:s,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(Wa(u,s).array),v(Wa(u,s).value),C(Ra(u,s))}),[u,s]),t.useEffect((()=>{w?y(Wa(w,s).array):(y(Wa(u,s).array),v(Wa(u,s).value),C(Ra(u,s)))}),[w]);const k=b.default.createElement(b.default.Fragment,null,h?.map(((e,t)=>{const l=20*(t+1);return b.default.createElement(Ia,{ratingValue:l,starVal:x,hover:w,toggleSet:f,onClick:f?()=>n(l):null,onMouseEnter:f?()=>{E(l)}:null,onMouseLeave:f?()=>{E(null)}:null,slide:e,color:i,className:"star",size:c,transform:d,key:m?.concat(t),customStyles:o})})));return b.default.createElement(Va,S({customStyles:a,type:e,size:c},g,{className:"container"}),p?k:b.default.createElement(Ba,{type:e,customStyles:r},A,"%"))};La.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},La.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Ta=g.default.div`
2334
+ `,Wa=({theme:e,toggleSet:t,slide:l,color:a,size:o,transform:r,ratingValue:i,starVal:c,hover:n,...d})=>b.default.createElement(Ia,S({theme:e,ratingValue:i,starVal:c,hover:n,toggleSet:t,color:a,size:o,transform:r},d),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 Ra(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 La(e,t){return 100*e/t}const Ta=({type:e,customStylesContainer:a,customStylesStar:o,customStylesPercentage:r,color:i,size:c,handleClick:n,transform:d,maxRange:s,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,k]=t.useState(void 0);t.useEffect((()=>{y(Ra(u,s).array),v(Ra(u,s).value),C(La(u,s))}),[u,s]),t.useEffect((()=>{w?y(Ra(w,s).array):(y(Ra(u,s).array),v(Ra(u,s).value),C(La(u,s)))}),[w]);const E=b.default.createElement(b.default.Fragment,null,h?.map(((e,t)=>{const l=20*(t+1);return b.default.createElement(Wa,{ratingValue:l,starVal:x,hover:w,toggleSet:f,onClick:f?()=>n(l):null,onMouseEnter:f?()=>{k(l)}:null,onMouseLeave:f?()=>{k(null)}:null,slide:e,color:i,className:"star",size:c,transform:d,key:m?.concat(t),customStyles:o})})));return b.default.createElement(Ba,S({customStyles:a,type:e,size:c},g,{className:"container"}),p?E:b.default.createElement(Ma,{type:e,customStyles:r},A,"%"))};Ta.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},Ta.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Pa=g.default.div`
2334
2335
  .form-check-input {
2335
2336
  accent-color: ${({theme:e})=>e.primary["primary-1"]};
2336
2337
  }
2337
- `,Pa=({customStyles:e,inBuiltCss:t,type:a="table",sortIcon:o,data:r,tableColumns:i,progressPending:c,defaultSortFieldId:n,handleOnSort:d,sortServer:s,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(Ta,{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:c,customStyles:x,defaultSortFieldId:n,progressComponent:u||void 0,sortServer:s,onSort:(e,t,l)=>{d(e,t,l)},conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:g,selectableRowsComponent:A},y))};Pa.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},Pa.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:"100%"};const Ha=({title:e,subtitle:t,wrapperStyle:a,imgLink:o,imgStyle:r,iconSize:i})=>{const c=l.useTheme()||M,n={fontSize:"26px",fontWeight:"bold",color:`${c.textColor}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},d={fontSize:"13px",color:`${c.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return b.default.createElement("div",{style:a},b.default.createElement("div",{style:n},o?b.default.createElement("img",{src:o,alt:"userIcon",srcset:"",style:r}):b.default.createElement(J,{icon:"user-icon",size:i,color:c.primary["primary-1"]})," ",b.default.createElement("h4",null,e)),b.default.createElement("div",{style:d},b.default.createElement("p",null,t)))};Ha.propTypes={size:m.default.number},Ha.defaultProps={iconSize:23};const ja=l.createGlobalStyle`
2338
+ `,Ha=({customStyles:e,inBuiltCss:t,type:a="table",sortIcon:o,data:r,tableColumns:i,progressPending:c,defaultSortFieldId:n,handleOnSort:d,sortServer:s,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(Pa,{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:c,customStyles:x,defaultSortFieldId:n,progressComponent:u||void 0,sortServer:s,onSort:(e,t,l)=>{d(e,t,l)},conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:g,selectableRowsComponent:A},y))};Ha.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},Ha.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:"100%"};const ja=({title:e,subtitle:t,wrapperStyle:a,imgLink:o,imgStyle:r,iconSize:i})=>{const c=l.useTheme()||M,n={fontSize:"26px",fontWeight:"bold",color:`${c.textColor}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},d={fontSize:"13px",color:`${c.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return b.default.createElement("div",{style:a},b.default.createElement("div",{style:n},o?b.default.createElement("img",{src:o,alt:"userIcon",srcset:"",style:r}):b.default.createElement(J,{icon:"user-icon",size:i,color:c.primary["primary-1"]})," ",b.default.createElement("h4",null,e)),b.default.createElement("div",{style:d},b.default.createElement("p",null,t)))};ja.propTypes={size:m.default.number},ja.defaultProps={iconSize:23};const qa=l.createGlobalStyle`
2338
2339
  @font-face {
2339
2340
  font-family: "Averta";
2340
2341
  font-weight: 100;
@@ -2442,7 +2443,7 @@ svg {
2442
2443
  * {
2443
2444
  font-family: "Averta";
2444
2445
  }
2445
- `,qa=g.default.span`
2446
+ `,Fa=g.default.span`
2446
2447
  background: transparent;
2447
2448
  position: relative;
2448
2449
  display: flex;
@@ -2451,12 +2452,12 @@ svg {
2451
2452
  &>span:not(:first-of-type){
2452
2453
  margin-left: -13px;
2453
2454
  }
2454
- `,Fa=g.default.p`
2455
+ `,Oa=g.default.p`
2455
2456
  color: ${({theme:e,variantQty:t})=>e.variant[t]};
2456
2457
  margin: 0;
2457
2458
  margin-left: 7px;
2458
2459
  font-size: 16px;
2459
- `,Oa=({items:e,block:t,size:a,variantCircle:o,variantName:r,variantQty:i,flagName:c,user:n,colorCircle:d,colorBorderCircle:s,...u})=>{const p=l.useTheme()||M;return b.default.createElement(qa,S({block:t},u),e?.map(((t,l)=>{let i={},c={};return i.backgroundColor=d?`${p.variant[d]}`:`${p.variant[o]}`,0!==l&&(i.border=s?`2px solid ${s}`:`2px solid ${p.variant[o]}`,c.border=s?`2px solid ${s}`:`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:c}):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:c}):null})),e.length-4>0?b.default.createElement(Fa,{theme:p,variantQty:i},"+",e.length-4):null)};Oa.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},Oa.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Za=g.default.div`
2460
+ `,Za=({items:e,block:t,size:a,variantCircle:o,variantName:r,variantQty:i,flagName:c,user:n,colorCircle:d,colorBorderCircle:s,...u})=>{const p=l.useTheme()||M;return b.default.createElement(Fa,S({block:t},u),e?.map(((t,l)=>{let i={},c={};return i.backgroundColor=d?`${p.variant[d]}`:`${p.variant[o]}`,0!==l&&(i.border=s?`2px solid ${s}`:`2px solid ${p.variant[o]}`,c.border=s?`2px solid ${s}`:`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:c}):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:c}):null})),e.length-4>0?b.default.createElement(Oa,{theme:p,variantQty:i},"+",e.length-4):null)};Za.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},Za.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Da=g.default.div`
2460
2461
  max-width: inherit;
2461
2462
  width: inherit;
2462
2463
  font-size: 14px;
@@ -2482,7 +2483,7 @@ svg {
2482
2483
  &[data-popper-placement*='top'] .tooltip-arrow::after {
2483
2484
  border-color: ${({theme:e,variantTPbg:t})=>t?e.variant[t]:"#6b747f"} transparent transparent transparent;
2484
2485
  }
2485
- `,Da=g.default.div`
2486
+ `,Ga=g.default.div`
2486
2487
  display: flex;
2487
2488
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2488
2489
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2497,24 +2498,24 @@ svg {
2497
2498
  svg path {
2498
2499
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2499
2500
  }
2500
- `,Ga=g.default.div`
2501
+ `,Xa=g.default.div`
2501
2502
  display: flex;
2502
2503
  justify-content: space-evenly;
2503
2504
  flex-grow: 1;
2504
2505
  align-items: stretch;
2505
- `,Xa=({label:e,index:t,style:a,items:r,variant:i,borderVariant:c,bgVariant:n,variantDisable:d,variantBgDisable:s,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(Ga,{ref:w},b.default.createElement(Da,{variant:i,borderVariant:c,bgVariant:n,variantDisable:d,variantBgDisable:s,disabled:u,onClick:u?null:()=>{m(m)}},g),p),E&&b.default.createElement(Za,S({variantTPtext:h,variantTPbg:y,ref:C},A({className:"tooltip-container"})),e,b.default.createElement("div",v({className:"tooltip-arrow"}))))};Xa.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},Ga.defaultProps={theme:M},Da.defaultProps={theme:M},Za.defaultProps={theme:M},Xa.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Ja=g.default.div`
2506
+ `,Ja=({label:e,index:t,style:a,items:r,variant:i,borderVariant:c,bgVariant:n,variantDisable:d,variantBgDisable:s,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:k}=o.usePopperTooltip();return b.default.createElement(b.default.Fragment,null,b.default.createElement(Xa,{ref:w},b.default.createElement(Ga,{variant:i,borderVariant:c,bgVariant:n,variantDisable:d,variantBgDisable:s,disabled:u,onClick:u?null:()=>{m(m)}},g),p),k&&b.default.createElement(Da,S({variantTPtext:h,variantTPbg:y,ref:C},A({className:"tooltip-container"})),e,b.default.createElement("div",v({className:"tooltip-arrow"}))))};Ja.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},Xa.defaultProps={theme:M},Ga.defaultProps={theme:M},Da.defaultProps={theme:M},Ja.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Ua=g.default.div`
2506
2507
  display: flex;
2507
2508
  justify-content: space-evenly;
2508
2509
  align-items: stretch;
2509
2510
  height: 42px;
2510
2511
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2511
2512
  border-radius: 3px;
2512
- `,Ua=g.default.div`
2513
+ `,Ya=g.default.div`
2513
2514
  display: flex;
2514
2515
  justify-content: space-evenly;
2515
2516
  flex-grow: 1;
2516
2517
  align-items: stretch;
2517
- `,Ya=g.default.div`
2518
+ `,Qa=g.default.div`
2518
2519
  display: flex;
2519
2520
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2520
2521
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2529,19 +2530,19 @@ svg {
2529
2530
  svg path {
2530
2531
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2531
2532
  }
2532
- `,Qa=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:c,allDisabled:n,divider:d,indexPrefix:s,onClick:u,...p})=>(l.useTheme(),b.default.createElement(Ja,S({variant:a,borderVariant:o},p),t?.map(((e,l)=>b.default.createElement(Ua,{key:s.concat(l)},b.default.createElement(Ya,{variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:c,title:e.label,disabled:n||e.disabled,onClick:n||e.disabled?null:()=>u(e.label)},e.icon),t?.length-1!==l&&d)))));Qa.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},Ja.defaultProps={theme:M},Ua.defaultProps={theme:M},Ya.defaultProps={theme:M},Qa.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const Na=g.default.div`
2533
+ `,Na=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:c,allDisabled:n,divider:d,indexPrefix:s,onClick:u,...p})=>(l.useTheme(),b.default.createElement(Ua,S({variant:a,borderVariant:o},p),t?.map(((e,l)=>b.default.createElement(Ya,{key:s.concat(l)},b.default.createElement(Qa,{variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:c,title:e.label,disabled:n||e.disabled,onClick:n||e.disabled?null:()=>u(e.label)},e.icon),t?.length-1!==l&&d)))));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},Ua.defaultProps={theme:M},Ya.defaultProps={theme:M},Qa.defaultProps={theme:M},Na.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const Ka=g.default.div`
2533
2534
  display: flex;
2534
2535
  justify-content: space-evenly;
2535
2536
  align-items: stretch;
2536
2537
  height: 42px;
2537
2538
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2538
2539
  border-radius: 3px;
2539
- `,Ka=g.default.div`
2540
+ `,$a=g.default.div`
2540
2541
  display: flex;
2541
2542
  justify-content: space-evenly;
2542
2543
  flex-grow: 1;
2543
2544
  align-items: stretch;
2544
- `,$a=g.default.div`
2545
+ `,_a=g.default.div`
2545
2546
  display: flex;
2546
2547
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2547
2548
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2556,28 +2557,28 @@ svg {
2556
2557
  svg path {
2557
2558
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2558
2559
  }
2559
- `,_a=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:c,allDisabled:n,divider:d,indexPrefix:s,onClick:u,variantTPtext:p,variantTPbg:f,...m})=>(l.useTheme(),b.default.createElement(Na,S({variant:a,borderVariant:o},m),t?.map(((e,l)=>b.default.createElement(Xa,{key:s.concat(l),variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:c,disabled:n||e.disabled,onClick:n||e.disabled?null:()=>{u(e.label)},divider:t?.length-1!==l&&d,icon:e.icon,index:l,label:e.label,variantTPtext:p,variantTPbg:f})))));_a.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},Na.defaultProps={theme:M},Ka.defaultProps={theme:M},$a.defaultProps={theme:M},_a.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const eo=g.default.div`
2560
+ `,eo=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:c,allDisabled:n,divider:d,indexPrefix:s,onClick:u,variantTPtext:p,variantTPbg:f,...m})=>(l.useTheme(),b.default.createElement(Ka,S({variant:a,borderVariant:o},m),t?.map(((e,l)=>b.default.createElement(Ja,{key:s.concat(l),variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:c,disabled:n||e.disabled,onClick:n||e.disabled?null:()=>{u(e.label)},divider:t?.length-1!==l&&d,icon:e.icon,index:l,label:e.label,variantTPtext:p,variantTPbg:f})))));eo.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},Ka.defaultProps={theme:M},$a.defaultProps={theme:M},_a.defaultProps={theme:M},eo.defaultProps={theme:M,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const to=g.default.div`
2560
2561
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2561
2562
  border: 1.3px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
2562
2563
  border-radius: 50%;
2563
2564
  width: ${({size:e})=>e}px;
2564
2565
  height: ${({size:e})=>e}px;
2565
2566
  box-sizing: border-box;
2566
- `,to=({variant:e,bgColor:t,borderColor:a,...o})=>(l.useTheme(),b.default.createElement(eo,S({variant:e,borderColor:a,bgColor:t},o)));to.propTypes={variant:m.default.string,size:m.default.number,theme:m.default.object,borderColor:m.default.string,bgColor:m.default.string},eo.defaultProps={theme:M},to.defaultProps={theme:M,variant:"primary-1",size:11};const lo=g.default.div`
2567
+ `,lo=({variant:e,bgColor:t,borderColor:a,...o})=>(l.useTheme(),b.default.createElement(to,S({variant:e,borderColor:a,bgColor:t},o)));lo.propTypes={variant:m.default.string,size:m.default.number,theme:m.default.object,borderColor:m.default.string,bgColor:m.default.string},to.defaultProps={theme:M},lo.defaultProps={theme:M,variant:"primary-1",size:11};const ao=g.default.div`
2567
2568
  display: inline-flex;
2568
2569
  align-items: center;
2569
2570
  background-color: transparent;
2570
2571
  min-height: 24px;
2571
- `,ao=g.default.div`
2572
+ `,oo=g.default.div`
2572
2573
  display: flex;
2573
2574
  justify-content: space-evenly;
2574
2575
  width: 69px;
2575
- `,oo=g.default.p`
2576
+ `,ro=g.default.p`
2576
2577
  display: flex;
2577
2578
  color: ${({theme:e,variantText:t,colorText:l})=>l||e.variant[t]};
2578
2579
  font-size: 16px;
2579
2580
  margin: 0 5px;
2580
- `,ro=({style:e,variantCircle:t,variantText:a,level:o,textArray:r,colorArray:i,indexPrefix:c,colorText:n,...d})=>(l.useTheme(),b.default.createElement(lo,d,b.default.createElement(ao,null,[1,2,3,4].map(((e,l)=>{let a="#D4D7E3",r=null,n=null;return o<=0&&(o=0),o>=4&&(o=4),i?o>=e?(r=i[o],a=i[o]):r=i[0]:o>=e?(n=t,a=t):n="#FFFFFF",b.default.createElement(to,{key:c.concat(l),variant:n,borderColor:a,bgColor:r,size:11})}))),r&&b.default.createElement(oo,{variantText:a,colorText:n},r[o])));ro.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},oo.defaultProps={theme:M},ro.defaultProps={theme:M,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const io={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},co=g.default.button`
2581
+ `,io=({style:e,variantCircle:t,variantText:a,level:o,textArray:r,colorArray:i,indexPrefix:c,colorText:n,...d})=>(l.useTheme(),b.default.createElement(ao,d,b.default.createElement(oo,null,[1,2,3,4].map(((e,l)=>{let a="#D4D7E3",r=null,n=null;return o<=0&&(o=0),o>=4&&(o=4),i?o>=e?(r=i[o],a=i[o]):r=i[0]:o>=e?(n=t,a=t):n="#FFFFFF",b.default.createElement(lo,{key:c.concat(l),variant:n,borderColor:a,bgColor:r,size:11})}))),r&&b.default.createElement(ro,{variantText:a,colorText:n},r[o])));io.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},ro.defaultProps={theme:M},io.defaultProps={theme:M,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const co={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},no=g.default.button`
2581
2582
  ${({underlined:e})=>e?null:l.css`&:hover {text-decoration: underline}`};
2582
2583
  background: transparent;
2583
2584
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -2588,7 +2589,7 @@ svg {
2588
2589
  justify-content: flex-start;
2589
2590
  border: none;
2590
2591
  cursor: pointer;
2591
- font-size: ${({size:e})=>io[e].fontSize};
2592
+ font-size: ${({size:e})=>co[e].fontSize};
2592
2593
 
2593
2594
  &:disabled {
2594
2595
  color: ${({theme:e})=>e.variant["neutral-3"]};
@@ -2598,7 +2599,7 @@ svg {
2598
2599
  * {
2599
2600
  outline: none;
2600
2601
  }
2601
- `,no=({block:e,size:t,style:a,variant:o,disabled:r,underlined:i,...c})=>(l.useTheme(),b.default.createElement(co,S({block:e,variant:o,type:"button",style:a,size:t,disabled:r,underlined:i},c),c.children));no.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},co.defaultProps={theme:M},no.defaultProps={theme:M,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const so=g.default.div`
2602
+ `,so=({block:e,size:t,style:a,variant:o,disabled:r,underlined:i,...c})=>(l.useTheme(),b.default.createElement(no,S({block:e,variant:o,type:"button",style:a,size:t,disabled:r,underlined:i},c),c.children));so.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},no.defaultProps={theme:M},so.defaultProps={theme:M,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const uo=g.default.div`
2602
2603
  display: flex;
2603
2604
  justify-content: space-between;
2604
2605
  align-items: flex-start;
@@ -2609,34 +2610,34 @@ svg {
2609
2610
  z-index: 100;
2610
2611
  // custom styles
2611
2612
  ${({customModalHeaderStyle:e})=>e}
2612
- `,uo=g.default.div`
2613
+ `,po=g.default.div`
2613
2614
  //Set the styles from the default styles object
2614
2615
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2615
2616
  // custom styles
2616
2617
  ${({customModalBodyStyle:e})=>e}
2617
- `,po=g.default.div`
2618
+ `,fo=g.default.div`
2618
2619
  max-height: 60vh;
2619
2620
  padding: 0 24px 24px 24px;
2620
2621
  overflow-y: auto;
2621
2622
  ${({contentWrapperStyle:e})=>e}
2622
- `,fo=g.default.div`
2623
+ `,mo=g.default.div`
2623
2624
  padding-top: 16px;
2624
2625
 
2625
2626
  //Set the styles from the default styles object
2626
2627
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2627
2628
  // custom styles
2628
2629
  ${({customModalFooterStyle:e})=>e}
2629
- `,mo=g.default.div`
2630
+ `,bo=g.default.div`
2630
2631
  cursor: pointer;
2631
- `;try{w.default.setAppElement("#root")}catch(e){w.default.setAppElement("#__next")}const bo=({modalIsOpen:e,toggleModal:t,closeOnOutsideClick:a,headerContent:o,bodyContent:r,footerContent:i,customModalHeaderStyle:c,customModalBodyStyle:n,customModalFooterStyle:d,customWidth:s,customMinWidth:u,customMaxWidth:p,contentStyle:f,contentWrapperStyle:m,customZIndex:g,...h})=>{const y={overlay:{zIndex:g,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:u,overflow:"hidden",border:`1px solid ${(l.useTheme()||M).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:s&&s,maxWidth:p&&p,...f}};return b.default.createElement(w.default,S({isOpen:e,onRequestClose:a?t:void 0,style:y,contentLabel:"Modal"},h),b.default.createElement(so,{style:c},o,b.default.createElement(mo,{onClick:t},b.default.createElement(J,{icon:"close-icon",size:18}))),b.default.createElement(po,{contentWrapperStyle:m},b.default.createElement(uo,{inBuiltCss:I,style:n},r),b.default.createElement(fo,{inBuiltCss:I,style:d},i)))};bo.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,customZIndex:m.default.number},bo.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:999999};const go=g.default.div`
2632
+ `;try{w.default.setAppElement("#root")}catch(e){w.default.setAppElement("#__next")}const go=({modalIsOpen:e,toggleModal:t,closeOnOutsideClick:a,headerContent:o,bodyContent:r,footerContent:i,customModalHeaderStyle:c,customModalBodyStyle:n,customModalFooterStyle:d,customWidth:s,customMinWidth:u,customMaxWidth:p,contentStyle:f,contentWrapperStyle:m,customZIndex:g,...h})=>{const y={overlay:{zIndex:g,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:u,overflow:"hidden",border:`1px solid ${(l.useTheme()||M).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:s&&s,maxWidth:p&&p,...f}};return b.default.createElement(w.default,S({isOpen:e,onRequestClose:a?t:void 0,style:y,contentLabel:"Modal"},h),b.default.createElement(uo,{style:c},o,b.default.createElement(bo,{onClick:t},b.default.createElement(J,{icon:"close-icon",size:18}))),b.default.createElement(fo,{contentWrapperStyle:m},b.default.createElement(po,{inBuiltCss:I,style:n},r),b.default.createElement(mo,{inBuiltCss:I,style:d},i)))};go.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,customZIndex:m.default.number},go.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:999999999};const ho=g.default.div`
2632
2633
  ${({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}}}}
2633
2634
  }
2634
- `,ho=({theme:e,toggleSimple:t,contentTrigger:l,contentOverlay:a,popperOptionsP:r,settingsP:i,customStyles:c,...n})=>{let d={},s={};t?(d={...d,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},s={...s}):(d={...d,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},s={...s,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),d={...d,...r},s={...s,...i};const{getArrowProps:u,getTooltipProps:p,setTooltipRef:f,setTriggerRef:m,visible:g}=o.usePopperTooltip({...s},d);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(go,S({type:t?"simple-overlay":"overlay",theme:e,ref:f},p({className:"tooltip-container"}),{customStyles:c}),a))};ho.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},ho.defaultProps={theme:I,contentTrigger:b.default.createElement("div",null,"Trigger"),contentOverlay:b.default.createElement("div",null,"I am the Overlay")};const yo=g.default.div`
2635
+ `,yo=({theme:e,toggleSimple:t,contentTrigger:l,contentOverlay:a,popperOptionsP:r,settingsP:i,customStyles:c,...n})=>{let d={},s={};t?(d={...d,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},s={...s}):(d={...d,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},s={...s,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),d={...d,...r},s={...s,...i};const{getArrowProps:u,getTooltipProps:p,setTooltipRef:f,setTriggerRef:m,visible:g}=o.usePopperTooltip({...s},d);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(ho,S({type:t?"simple-overlay":"overlay",theme:e,ref:f},p({className:"tooltip-container"}),{customStyles:c}),a))};yo.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},yo.defaultProps={theme:I,contentTrigger:b.default.createElement("div",null,"Trigger"),contentOverlay:b.default.createElement("div",null,"I am the Overlay")};const xo=g.default.div`
2635
2636
  display: flex;
2636
2637
  justify-content: center;
2637
2638
  align-items: center;
2638
2639
  ${({customParentStyles:e})=>e}
2639
- `,xo=g.default.span`
2640
+ `,vo=g.default.span`
2640
2641
  background-color: ${({selected:e,theme:t})=>e?t.variant["neutral-5"]:"transparent"};
2641
2642
  color: ${({selected:e,theme:t})=>e?t.variant["primary-2"]:t.variant["neutral-3"]};
2642
2643
  padding: 8px 14px;
@@ -2648,7 +2649,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2648
2649
  font-size: 14px;
2649
2650
 
2650
2651
  ${({customItemStyles:e})=>e}
2651
- `,vo=g.default.div`
2652
+ `,Ao=g.default.div`
2652
2653
  display: flex;
2653
2654
  justify-content: center;
2654
2655
  align-items: center;
@@ -2671,16 +2672,16 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2671
2672
  }
2672
2673
 
2673
2674
  ${({customIconWrapperStyles:e})=>e}
2674
- `,Ao=g.default.div`
2675
- padding: 0 15px;
2676
2675
  `,Co=g.default.div`
2676
+ padding: 0 15px;
2677
+ `,wo=g.default.div`
2677
2678
  display: flex;
2678
2679
  align-items: center;
2679
2680
  justify-content: center;
2680
2681
  color: ${({theme:e})=>e.variant["neutral-2"]};
2681
2682
 
2682
2683
  ${({customLeftWrapperStyles:e})=>e}
2683
- `,wo=g.default.div`
2684
+ `,So=g.default.div`
2684
2685
  display: flex;
2685
2686
  margin: 0;
2686
2687
  align-items: center;
@@ -2693,11 +2694,11 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2693
2694
  margin: 0 10px;
2694
2695
  color: ${({theme:e})=>e.variant["neutral-2"]};
2695
2696
  }
2696
- `,So=({selectedPage:e,setSelectedPage:a,totalPage:o,customItemStyles:r,customLeftWrapperStyles:i,customIconWrapperStyles:c,previousText:n,nextText:d,pageToShow:s,totalResults:u,showResultPerPage:p,customParentStyles:f,customRightWrapperStyles:m,...g})=>{const h=l.useTheme()||M,[y,x]=t.useState([]);let v=s>o?o:s;t.useEffect((()=>{x(Array.from({length:v},((e,t)=>t+1)))}),[o,s,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(yo,{customParentStyles:f}," ",b.default.createElement(Co,S({theme:h,customLeftWrapperStyles:i},g),b.default.createElement(vo,S({onClick:()=>A("decrease"),disabled:1===e,theme:h,customIconWrapperStyles:c},g),b.default.createElement(J,{icon:"triangle-down",transform:"rotate(90deg)",color:h.variant["neutral-3"]}),b.default.createElement("span",{className:"prev-text"}," ",n)),b.default.createElement(Ao,g,y.map(((t,l)=>b.default.createElement(xo,{key:l,theme:h,selected:e===t,onClick:()=>a(t),customItemStyles:r},t)))),b.default.createElement(vo,{onClick:()=>A("increase"),disabled:e===o,theme:h,customIconWrapperStyles:c},b.default.createElement("span",{className:"next-text"}," ",d),b.default.createElement(J,{icon:"triangle-down",transform:"rotate(-90deg)",color:h.variant["neutral-3"]}))),p&&b.default.createElement(wo,{theme:h,customRightWrapperStyles:m},b.default.createElement(zt,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:h.variant["neutral-3"]}),b.default.createElement("p",{style:{marginBottom:0}},b.default.createElement("span",null,"OF")," ",u," ",b.default.createElement("span",null,"RESULTS"))))};So.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},So.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const Eo=g.default.div`
2697
+ `,ko=({selectedPage:e,setSelectedPage:a,totalPage:o,customItemStyles:r,customLeftWrapperStyles:i,customIconWrapperStyles:c,previousText:n,nextText:d,pageToShow:s,totalResults:u,showResultPerPage:p,customParentStyles:f,customRightWrapperStyles:m,...g})=>{const h=l.useTheme()||M,[y,x]=t.useState([]);let v=s>o?o:s;t.useEffect((()=>{x(Array.from({length:v},((e,t)=>t+1)))}),[o,s,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)),x(l),a(e+1)):"decrease"===t&&y[0]<=e-1?a(e-1):"decrease"===t&&e>1&&(x(Array.from({length:v},((e,t)=>t+y[0]-1))),a(e-1))};return b.default.createElement(xo,{customParentStyles:f}," ",b.default.createElement(wo,S({theme:h,customLeftWrapperStyles:i},g),b.default.createElement(Ao,S({onClick:()=>A("decrease"),disabled:1===e,theme:h,customIconWrapperStyles:c},g),b.default.createElement(J,{icon:"triangle-down",transform:"rotate(90deg)",color:h.variant["neutral-3"]}),b.default.createElement("span",{className:"prev-text"}," ",n)),b.default.createElement(Co,g,y.map(((t,l)=>b.default.createElement(vo,{key:l,theme:h,selected:e===t,onClick:()=>a(t),customItemStyles:r},t)))),b.default.createElement(Ao,{onClick:()=>A("increase"),disabled:e===o,theme:h,customIconWrapperStyles:c},b.default.createElement("span",{className:"next-text"}," ",d),b.default.createElement(J,{icon:"triangle-down",transform:"rotate(-90deg)",color:h.variant["neutral-3"]}))),p&&b.default.createElement(So,{theme:h,customRightWrapperStyles:m},b.default.createElement(Vt,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:h.variant["neutral-3"]}),b.default.createElement("p",{style:{marginBottom:0}},b.default.createElement("span",null,"OF")," ",u," ",b.default.createElement("span",null,"RESULTS"))))};ko.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},ko.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const Eo=g.default.div`
2697
2698
  display: flex;
2698
2699
  align-items: center;
2699
2700
  color: ${({theme:e})=>e.variant["neutral-2"]};
2700
- `,ko=({...e})=>{const t=l.useTheme()||M;return b.default.createElement(Eo,{theme:t},e.children)},zo=g.default.div`
2701
+ `,zo=({...e})=>{const t=l.useTheme()||M;return b.default.createElement(Eo,{theme:t},e.children)},Vo=g.default.div`
2701
2702
  font-size: 14px;
2702
2703
  color: ${({selected:e,theme:t})=>e?t.variant["primary-1"]:null};
2703
2704
 
@@ -2713,7 +2714,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2713
2714
  &:not(:first-child):not(:last-child) {
2714
2715
  margin: 0 22px;
2715
2716
  }
2716
- `;(ko.PageItem=function({selected:e,...t}){const a=l.useTheme()||M;return b.default.createElement(zo,S({selected:e,theme:a},t),t.children)}).propTypes={selected:m.default.bool},ko.PageItem.defaultProps={selected:!1};const Vo=g.default.div`
2717
+ `;(zo.PageItem=function({selected:e,...t}){const a=l.useTheme()||M;return b.default.createElement(Vo,S({selected:e,theme:a},t),t.children)}).propTypes={selected:m.default.bool},zo.PageItem.defaultProps={selected:!1};const Bo=g.default.div`
2717
2718
  position: relative;
2718
2719
  height: 10px;
2719
2720
  border-radius: 10px;
@@ -2726,7 +2727,7 @@ position: relative;
2726
2727
 
2727
2728
  // custom styles
2728
2729
  ${({progressWrapStyle:e})=>e}
2729
- `,Bo=g.default.div`
2730
+ `,Mo=g.default.div`
2730
2731
  height: inherit;
2731
2732
  width: inherit;
2732
2733
  transition: width 1s ease-in-out;
@@ -2738,12 +2739,12 @@ position: relative;
2738
2739
  ${({progressBarStyle:e})=>e}
2739
2740
  width: ${({now:e})=>e+"%"};
2740
2741
  background-color: ${({color:e,theme:t})=>e||t.primary["primary-1"]};
2741
- `,Mo=({labelStyle:e,progressBarStyle:t,progressWrapStyle:a,label:o,now:r,color:i,innerContent:c,...n})=>{const d=l.useTheme()||M;return b.default.createElement("div",null,b.default.createElement(Ne,S({inBuiltCss:I,customStyles:e,type:"progressBar-label",text:o},n)),b.default.createElement(Vo,S({progressBarStyle:t,theme:d,progressWrapStyle:a,color:i},n),b.default.createElement(Bo,S({progressBarStyle:t,now:r,theme:d,color:i},n)),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%)"}},c)))};Mo.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},Mo.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const Io=g.default.div`
2742
+ `,Io=({labelStyle:e,progressBarStyle:t,progressWrapStyle:a,label:o,now:r,color:i,innerContent:c,...n})=>{const d=l.useTheme()||M;return b.default.createElement("div",null,b.default.createElement(Ke,S({inBuiltCss:I,customStyles:e,type:"progressBar-label",text:o},n)),b.default.createElement(Bo,S({progressBarStyle:t,theme:d,progressWrapStyle:a,color:i},n),b.default.createElement(Mo,S({progressBarStyle:t,now:r,theme:d,color:i},n)),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%)"}},c)))};Io.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},Io.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const Wo=g.default.div`
2742
2743
  background: transparent;
2743
2744
  display: flex;
2744
2745
  align-items: center;
2745
2746
  width: ${({block:e})=>e?"100%":"fit-content"};
2746
- `,Wo=g.default.div`
2747
+ `,Ro=g.default.div`
2747
2748
  margin: 0;
2748
2749
  color: ${({theme:e,variantOff:t})=>e.variant[t]};
2749
2750
  white-space: nowrap;
@@ -2761,16 +2762,16 @@ position: relative;
2761
2762
  &>div:first-of-type{
2762
2763
  color: ${({theme:e,variantOn:t})=>e.variant[t]};
2763
2764
  }
2764
- `,Ro=g.default.div`
2765
+ `,Lo=g.default.div`
2765
2766
  display: flex;
2766
2767
  margin-left: 20px;
2767
- `,Lo=g.default.div`
2768
+ `,To=g.default.div`
2768
2769
  height: 6px;
2769
2770
  width: ${({widthStep:e})=>e}px;
2770
2771
  margin: 0 3px;
2771
2772
  background-color: ${({theme:e,isActive:t,variantOn:l,variantOff:a})=>t?e.variant[l]:e.variant[a]};
2772
2773
  border-radius: 19px;
2773
- `,To=({block:e,variantOn:t,variantOff:a,currentStep:o,totalSteps:r,widthStep:i,style:c,progressText:n,...d})=>(l.useTheme(),b.default.createElement(Io,S({block:e},d,{style:c}),b.default.createElement(Wo,S({},d,{variantOn:t,variantOff:a}),n||"Page"," ",b.default.createElement("div",null,o)," of ",b.default.createElement("div",null,r)),b.default.createElement(Ro,d,Array.from(Array(r).keys()).map((e=>b.default.createElement(Lo,{key:"formSteps".concat(e),isActive:o===e+1,variantOn:t,variantOff:a,widthStep:i}))))));To.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},Io.defaultProps={theme:M},Wo.defaultProps={theme:M},Ro.defaultProps={theme:M},Lo.defaultProps={theme:M},To.defaultProps={theme:M,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Po=g.default.button`
2774
+ `,Po=({block:e,variantOn:t,variantOff:a,currentStep:o,totalSteps:r,widthStep:i,style:c,progressText:n,...d})=>(l.useTheme(),b.default.createElement(Wo,S({block:e},d,{style:c}),b.default.createElement(Ro,S({},d,{variantOn:t,variantOff:a}),n||"Page"," ",b.default.createElement("div",null,o)," of ",b.default.createElement("div",null,r)),b.default.createElement(Lo,d,Array.from(Array(r).keys()).map((e=>b.default.createElement(To,{key:"formSteps".concat(e),isActive:o===e+1,variantOn:t,variantOff:a,widthStep:i}))))));Po.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},Wo.defaultProps={theme:M},Ro.defaultProps={theme:M},Lo.defaultProps={theme:M},To.defaultProps={theme:M},Po.defaultProps={theme:M,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Ho=g.default.button`
2774
2775
  background: ${({disabled:e,theme:t,bgVariant:l})=>e?"#BBC4CF":t.variant[l]};
2775
2776
  color: ${({theme:e,variant:t})=>e.variant[t]};
2776
2777
  padding: 6px 17px;
@@ -2797,7 +2798,7 @@ position: relative;
2797
2798
  * {
2798
2799
  outline: none;
2799
2800
  }
2800
- `,Ho=({block:e,style:t,variant:a,bgVariant:o,disabled:r,...i})=>(l.useTheme(),b.default.createElement(Po,S({block:e,variant:a,bgVariant:o,type:"button",style:t,disabled:r},i),i.children));Ho.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},Po.defaultProps={theme:M},Ho.defaultProps={theme:M,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const jo=g.default.button`
2801
+ `,jo=({block:e,style:t,variant:a,bgVariant:o,disabled:r,...i})=>(l.useTheme(),b.default.createElement(Ho,S({block:e,variant:a,bgVariant:o,type:"button",style:t,disabled:r},i),i.children));jo.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},Ho.defaultProps={theme:M},jo.defaultProps={theme:M,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const qo=g.default.button`
2801
2802
  background: ${({disabled:e,theme:t})=>e?"#BBC4CF":t.bgColor};
2802
2803
  color: ${({theme:e,variant:t})=>e.variant[t]};
2803
2804
  padding: 6px 17px;
@@ -2820,7 +2821,7 @@ position: relative;
2820
2821
  fill: #929EAC;
2821
2822
  }
2822
2823
  }
2823
- `,qo=({block:e,style:t,variant:a,borderVariant:o,disabled:r,...i})=>(l.useTheme(),b.default.createElement(jo,S({block:e,variant:a,borderVariant:o,type:"button",style:t,disabled:r},i),i.children));qo.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},jo.defaultProps={theme:M},qo.defaultProps={theme:M,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Fo=g.default.div`
2824
+ `,Fo=({block:e,style:t,variant:a,borderVariant:o,disabled:r,...i})=>(l.useTheme(),b.default.createElement(qo,S({block:e,variant:a,borderVariant:o,type:"button",style:t,disabled:r},i),i.children));Fo.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},qo.defaultProps={theme:M},Fo.defaultProps={theme:M,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Oo=g.default.div`
2824
2825
  display: flex;
2825
2826
  flex-direction: column;
2826
2827
  height: ${({toggleSideBarOpen:e})=>"100vh"};
@@ -2828,7 +2829,7 @@ position: relative;
2828
2829
  @media (max-width: 428px) {
2829
2830
  height: ${({toggleSideBarOpen:e})=>e?"100vh":"56px"};
2830
2831
  }
2831
- `,Oo=g.default.div`
2832
+ `,Zo=g.default.div`
2832
2833
  min-height: 56px;
2833
2834
  display: flex;
2834
2835
  // background-color: ${({theme:e})=>e.primary["primary-1"]};
@@ -2852,7 +2853,7 @@ position: relative;
2852
2853
  }
2853
2854
 
2854
2855
  ${({headerStyles:e})=>e}
2855
- `,Zo=g.default.div`
2856
+ `,Do=g.default.div`
2856
2857
  display: flex;
2857
2858
  flex-direction: column;
2858
2859
  background-color: transparent;
@@ -2867,7 +2868,7 @@ position: relative;
2867
2868
  margin-top: 56px;
2868
2869
  }
2869
2870
 
2870
- `,Do=g.default.div`
2871
+ `,Go=g.default.div`
2871
2872
  display: flex;
2872
2873
  justify-content: flex-start;
2873
2874
  align-items: center;
@@ -2897,7 +2898,7 @@ margin-top: 56px;
2897
2898
  p {
2898
2899
  margin: 0;
2899
2900
  }
2900
- `,Go=g.default.div`
2901
+ `,Xo=g.default.div`
2901
2902
  background-color: ${({theme:e})=>e.variant["primary-1"]} !important;
2902
2903
  color: ${({theme:e})=>e.bgColor};
2903
2904
  overflow-y: hidden;
@@ -2918,7 +2919,7 @@ ${({isOpen:e,forceOpen:t,inBuiltCss:l,type:a,customStylesContainerOpen:o,customS
2918
2919
  @media (max-width: 980px) {
2919
2920
  ${({isOpen:e,inBuiltCss:t,type:l,customStylesContainerMobileOpen:a,customStylesContainerMobileClose:o})=>{}}
2920
2921
  }
2921
- `,Xo=g.default.div`
2922
+ `,Jo=g.default.div`
2922
2923
  ${({inBuiltCss:e,type:t})=>W(e,"sidebar-pusher")}
2923
2924
  ${({customStylesPusher:e})=>e}
2924
2925
 
@@ -2927,33 +2928,33 @@ ${({forceOpen:e,inBuiltCss:t,type:l,customStylesPusherOpen:a,customStylesPusherC
2927
2928
  @media (max-width: 980px) {
2928
2929
  ${({inBuiltCss:e,type:t,customStylesPusherMobile:l})=>({...W(e,"sidebar-pusher-mobile"),...l})}
2929
2930
  }
2930
- `,Jo=({customStylesContainer:e,customStylesContainerOpen:t,customStylesContainerClose:a,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r,customStylesPusher:i,customStylesPusherOpen:c,customStylesPusherClose:n,customStylesPusherMobile:d,forceOpen:s,forceClose:u,handleSidebar:p,toggleSideBarOpen:f,pinner:m,...g})=>{function h(e){p(e)}const y=l.useTheme()||M;return b.default.createElement(Go,S({theme:y,inBuiltCss:I,customStyles:e,type:"sidebarContainer",onMouseEnter:()=>{s||h(!0)},onMouseLeave:()=>{h(!1),u()},forceOpen:s,isOpen:f},g),b.default.createElement(Xo,null),g.children,m)};Jo.propTypes={customStylesContainer:m.default.object,customStylesContainerOpen:m.default.object,customStylesContainerClose:m.default.object,customStylesContainerMobileOpen:m.default.object,customStylesContainerMobileClose:m.default.object,customStylesPusher:m.default.object,customStylesPusherOpen:m.default.object,customStylesPusherClose:m.default.object,customStylesPusherMobile:m.default.object,forceOpen:m.default.bool,forceClose:m.default.func,handleSidebar:m.default.func,toggleSideBarOpen:m.default.bool,pinner:m.default.any},Jo.defaultProps={forceClose:()=>{},forceOpen:!1};const Uo={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Yo=g.default.div`
2931
+ `,Uo=({customStylesContainer:e,customStylesContainerOpen:t,customStylesContainerClose:a,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r,customStylesPusher:i,customStylesPusherOpen:c,customStylesPusherClose:n,customStylesPusherMobile:d,forceOpen:s,forceClose:u,handleSidebar:p,toggleSideBarOpen:f,pinner:m,...g})=>{function h(e){p(e)}const y=l.useTheme()||M;return b.default.createElement(Xo,S({theme:y,inBuiltCss:I,customStyles:e,type:"sidebarContainer",onMouseEnter:()=>{s||h(!0)},onMouseLeave:()=>{h(!1),u()},forceOpen:s,isOpen:f},g),b.default.createElement(Jo,null),g.children,m)};Uo.propTypes={customStylesContainer:m.default.object,customStylesContainerOpen:m.default.object,customStylesContainerClose:m.default.object,customStylesContainerMobileOpen:m.default.object,customStylesContainerMobileClose:m.default.object,customStylesPusher:m.default.object,customStylesPusherOpen:m.default.object,customStylesPusherClose:m.default.object,customStylesPusherMobile:m.default.object,forceOpen:m.default.bool,forceClose:m.default.func,handleSidebar:m.default.func,toggleSideBarOpen:m.default.bool,pinner:m.default.any},Uo.defaultProps={forceClose:()=>{},forceOpen:!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`
2931
2932
  background: ${({theme:e,variant:t})=>e.variant[t]};
2932
2933
  color: ${({theme:e})=>e.bgColor};
2933
- padding: ${({size:e})=>Uo[e].padding};
2934
+ padding: ${({size:e})=>Yo[e].padding};
2934
2935
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
2935
2936
  border-radius: 42px;
2936
- font-size: ${({size:e})=>Uo[e].fontSize};
2937
+ font-size: ${({size:e})=>Yo[e].fontSize};
2937
2938
  font-weight: 600;
2938
2939
  display: flex;
2939
2940
  align-items: center;
2940
2941
  width: ${({block:e})=>e?"auto":"fit-content"};
2941
2942
  box-sizing: border-box;
2942
2943
 
2943
- `,Qo=({block:e,style:t,variant:a,...o})=>(l.useTheme(),b.default.createElement(Yo,S({block:e,variant:a,style:t},o),o.children));Qo.propTypes={variant:m.default.string,block:m.default.bool,theme:m.default.object},Yo.defaultProps={theme:M},Qo.defaultProps={theme:M,variant:"primary-1",block:!1};const No={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Ko=g.default.div`
2944
+ `,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={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},$o=g.default.div`
2944
2945
  color: ${({theme:e,variant:t})=>e.variant[t]};
2945
2946
  background: ${({theme:e})=>e.bgColor};
2946
- padding: ${({size:e})=>No[e].padding};
2947
+ padding: ${({size:e})=>Ko[e].padding};
2947
2948
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
2948
2949
  border-radius: 42px;
2949
- font-size: ${({size:e})=>No[e].fontSize};
2950
+ font-size: ${({size:e})=>Ko[e].fontSize};
2950
2951
  font-weight: 600;
2951
2952
  display: flex;
2952
2953
  align-items: center;
2953
2954
  width: ${({block:e})=>e?"auto":"fit-content"};
2954
2955
  box-sizing: border-box;
2955
2956
 
2956
- `,$o=({block:e,style:t,variant:a,...o})=>(l.useTheme(),b.default.createElement(Ko,S({block:e,variant:a,style:t},o),o.children));$o.propTypes={variant:m.default.string,block:m.default.bool,theme:m.default.object},Ko.defaultProps={theme:M},$o.defaultProps={theme:M,variant:"primary-1",block:!1};const _o={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},er=g.default.div`
2957
+ `,_o=({block:e,style:t,variant:a,...o})=>(l.useTheme(),b.default.createElement($o,S({block:e,variant:a,style:t},o),o.children));_o.propTypes={variant:m.default.string,block:m.default.bool,theme:m.default.object},$o.defaultProps={theme:M},_o.defaultProps={theme:M,variant:"primary-1",block:!1};const er={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},tr=g.default.div`
2957
2958
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2958
2959
  color: ${({theme:e,textColor:t})=>t||e.bgColor};
2959
2960
  border-radius: 13.5px;
@@ -2961,11 +2962,11 @@ font-size: 14px;
2961
2962
  display: inline-flex;
2962
2963
  align-items: center;
2963
2964
  justify-content: center;
2964
- min-width: ${({block:e,size:t})=>e?"auto":_o[t].width};
2965
+ min-width: ${({block:e,size:t})=>e?"auto":er[t].width};
2965
2966
  height: 28px;
2966
2967
  box-sizing: border-box;
2967
2968
  overflow: hidden;
2968
- `,tr=({block:e,style:t,variant:a,textColor:o,bgColor:r,...i})=>(l.useTheme(),b.default.createElement(er,S({block:e,variant:a,textColor:o,bgColor:r,style:t},i),i.children));tr.propTypes={variant:m.default.string,size:m.default.oneOf(["xsm","sm","md","lg"]),block:m.default.bool,theme:m.default.object,textColor:m.default.string,bgColor:m.default.string},er.defaultProps={theme:M},tr.defaultProps={theme:M,variant:"primary-1",block:!1,size:"sm"};const lr={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},ar=g.default.div`
2969
+ `,lr=({block:e,style:t,variant:a,textColor:o,bgColor:r,...i})=>(l.useTheme(),b.default.createElement(tr,S({block:e,variant:a,textColor:o,bgColor:r,style:t},i),i.children));lr.propTypes={variant:m.default.string,size:m.default.oneOf(["xsm","sm","md","lg"]),block:m.default.bool,theme:m.default.object,textColor:m.default.string,bgColor:m.default.string},tr.defaultProps={theme:M},lr.defaultProps={theme:M,variant:"primary-1",block:!1,size:"sm"};const ar={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},or=g.default.div`
2969
2970
  background: ${({theme:e})=>e.bgColor};
2970
2971
  color: ${({theme:e,variant:t,textColor:l})=>l||e.variant[t]};
2971
2972
  border: 1px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
@@ -2974,30 +2975,30 @@ font-size: 14px;
2974
2975
  display: flex;
2975
2976
  align-items: center;
2976
2977
  justify-content: center;
2977
- width: ${({block:e,size:t})=>e?"auto":lr[t].width};
2978
+ width: ${({block:e,size:t})=>e?"auto":ar[t].width};
2978
2979
  height: 27px;
2979
2980
  box-sizing: border-box;
2980
2981
  overflow: hidden;
2981
- `,or=({block:e,style:t,variant:a,textColor:o,borderColor:r,...i})=>(l.useTheme(),b.default.createElement(ar,S({block:e,variant:a,textColor:o,borderColor:r,style:t},i),i.children));or.propTypes={variant:m.default.string,size:m.default.oneOf(["xsm","sm","md","lg"]),block:m.default.bool,theme:m.default.object,textColor:m.default.string,borderColor:m.default.string},ar.defaultProps={theme:M},or.defaultProps={theme:M,variant:"primary-1",block:!1,size:"sm"};const rr=e=>b.default.createElement("div",null,e.childern);rr.propTypes={name:m.default.string};const ir=g.default.div`
2982
+ `,rr=({block:e,style:t,variant:a,textColor:o,borderColor:r,...i})=>(l.useTheme(),b.default.createElement(or,S({block:e,variant:a,textColor:o,borderColor:r,style:t},i),i.children));rr.propTypes={variant:m.default.string,size:m.default.oneOf(["xsm","sm","md","lg"]),block:m.default.bool,theme:m.default.object,textColor:m.default.string,borderColor:m.default.string},or.defaultProps={theme:M},rr.defaultProps={theme:M,variant:"primary-1",block:!1,size:"sm"};const ir=e=>b.default.createElement("div",null,e.childern);ir.propTypes={name:m.default.string};const cr=g.default.div`
2982
2983
  padding: 24px;
2983
2984
  ${({tabWrapperStyle:e})=>e}
2984
- `,cr=g.default.div`
2985
+ `,nr=g.default.div`
2985
2986
  color: ${({theme:e})=>e.variant["graph-5"]};
2986
2987
  display: flex;
2987
2988
  align-items: flex-start;
2988
2989
  column-gap: 12px;
2989
2990
  padding-bottom: 24px;
2990
2991
  ${({headerWrapperStyle:e})=>e}
2991
- `,nr=g.default.span`
2992
+ `,dr=g.default.span`
2992
2993
  font-size: 16px;
2993
2994
  padding: 7px 20px;
2994
2995
  background-color: ${({theme:e,isActive:t})=>t?R(e.variant["primary-1"],.2):"transparent"};
2995
2996
  cursor: pointer;
2996
2997
  border-radius: 5px;
2997
2998
  ${({headerStyle:e})=>e}
2998
- `,dr=g.default.div`
2999
+ `,sr=g.default.div`
2999
3000
  ${({tabContentStyle:e})=>e}
3000
- `,sr=({children:e,tabWrapperStyle:a,headerStyle:o,tabContentStyle:r,headerWrapperStyle:i,dividerStyle:c,activeIndex:n,...d})=>{const[s,u]=t.useState([]),[p,f]=t.useState({}),[m,g]=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})),u(t),g(t[n]),f({...l})}),[e]);const h=l.useTheme()||M;return b.default.createElement(ir,{tabWrapperStyle:a},b.default.createElement(cr,{theme:h,headerWrapperStyle:i},s.map(((e,t)=>b.default.createElement(nr,{onClick:()=>{g(e)},key:t,theme:h,isActive:e===m,headerStyle:o},e)))),b.default.createElement(fa,{theme:h,height:"8px",dividerStyle:c}),b.default.createElement(dr,{tabContentStyle:r},Object.keys(p).map((e=>e===m?b.default.createElement("div",null,p[e]):null))))};sr.propTypes={children:function(e,t,l){const a=e[t];let o=null;return b.default.Children.forEach(a,(function(e){e.type!==rr&&(o=new Error("`"+l+"` children should be of type `TabPanel`."))})),o}},sr.propTypes={tabWrapperStyle:m.default.object,headerWrapperStyle:m.default.object,headerStyle:m.default.object,dividerStyle:m.default.object,tabContentStyle:m.default.object,activeIndex:m.default.number},sr.defaultProps={tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{},activeIndex:0};const ur=g.default.div`
3001
+ `,ur=({children:e,tabWrapperStyle:a,headerStyle:o,tabContentStyle:r,headerWrapperStyle:i,dividerStyle:c,activeIndex:n,...d})=>{const[s,u]=t.useState([]),[p,f]=t.useState({}),[m,g]=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})),u(t),g(t[n]),f({...l})}),[e]);const h=l.useTheme()||M;return b.default.createElement(cr,{tabWrapperStyle:a},b.default.createElement(nr,{theme:h,headerWrapperStyle:i},s.map(((e,t)=>b.default.createElement(dr,{onClick:()=>{g(e)},key:t,theme:h,isActive:e===m,headerStyle:o},e)))),b.default.createElement(ma,{theme:h,height:"8px",dividerStyle:c}),b.default.createElement(sr,{tabContentStyle:r},Object.keys(p).map((e=>e===m?b.default.createElement("div",{key:e},p[e]):null))))};ur.propTypes={children:function(e,t,l){const a=e[t];let o=null;return b.default.Children.forEach(a,(function(e){e.type!==ir&&(o=new Error("`"+l+"` children should be of type `TabPanel`."))})),o}},ur.propTypes={tabWrapperStyle:m.default.object,headerWrapperStyle:m.default.object,headerStyle:m.default.object,dividerStyle:m.default.object,tabContentStyle:m.default.object,activeIndex:m.default.number},ur.defaultProps={tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{},activeIndex:0};const pr=g.default.div`
3001
3002
  .notification {
3002
3003
  background: ${({theme:e})=>e.bgColor};
3003
3004
  transition: 0.3s ease;
@@ -3071,12 +3072,12 @@ overflow: hidden;
3071
3072
  .close-icon {
3072
3073
  cursor: pointer;
3073
3074
  }
3074
- `,pr=({close:e,children:a,type:o,position:r,timeout:i,localTimeout:c})=>{((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,c||i||5e3);const n=l.useTheme()||M;let d=null;switch(o){case"success":d=b.default.createElement(J,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":d=b.default.createElement(J,{icon:"warning",color:"white",size:20,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":d=b.default.createElement(J,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"info":d=b.default.createElement(J,{icon:"info-icon",size:10,color:"white",customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"pending":d=b.default.createElement(Se,{size:14})}return b.default.createElement(ur,{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"},d),b.default.createElement("div",{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"]}))))},fr=t.createContext(),mr=g.default.div`
3075
+ `,fr=({close:e,children:a,type:o,position:r,timeout:i,localTimeout:c})=>{((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,c||i||5e3);const n=l.useTheme()||M;let d=null;switch(o){case"success":d=b.default.createElement(J,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":d=b.default.createElement(J,{icon:"warning",color:"white",size:20,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":d=b.default.createElement(J,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"info":d=b.default.createElement(J,{icon:"info-icon",size:10,color:"white",customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"pending":d=b.default.createElement(ke,{size:14})}return b.default.createElement(pr,{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"},d),b.default.createElement("div",{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"]}))))},mr=t.createContext(),br=g.default.div`
3075
3076
  .notification-container {
3076
3077
  font-size: 14px;
3077
3078
  box-sizing: border-box;
3078
3079
  position: fixed;
3079
- z-index: 9999999;
3080
+ z-index: 9999999999;
3080
3081
  }
3081
3082
 
3082
3083
  .top-right {
@@ -3124,9 +3125,9 @@ overflow: hidden;
3124
3125
  transform: translateX(0);
3125
3126
  }
3126
3127
  }
3127
- `;function br(){let e=46656*Math.random()|0,t=46656*Math.random()|0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}const gr={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},hr=g.default.div`
3128
+ `;function gr(){let e=46656*Math.random()|0,t=46656*Math.random()|0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}const hr={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},yr=g.default.div`
3128
3129
  color: ${({theme:e,text:t})=>t?e.variant[t]:e.textColor};
3129
3130
  // background: ${({theme:e,bg:t})=>t?e.variant[t]:e.bgColor};
3130
- font-size: ${({size:e})=>gr[e].fontSize};
3131
- line-height: ${({size:e})=>gr[e].lineHeight};
3132
- `,yr=({size:e,children:t,bg:a,text:o,...r})=>{const i=l.useTheme()||M;return b.default.createElement(hr,S({theme:i,bg:a,text:o,size:e},r),b.default.createElement(ja,{theme:i}),t)};yr.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},yr.defaultProps={size:"md"},exports.Accordion=Y,exports.AccordionSB=Q,exports.AccordionSBfooter=N,exports.ActionContainer=la,exports.ActionItem=ra,exports.ArrowBar=ee,exports.Avatar=ie,exports.AvatarSB=ue,exports.AvatarSBfooter=be,exports.Banner=ye,exports.Breadcrumb=Ye,exports.ButtonPopup=Xa,exports.Card=T,exports.CardRef=H,exports.CheckBoxInput=lt,exports.ColorInput=rt,exports.Comment=Xl,exports.Content=Ul,exports.DarkSecondaryLink=Ho,exports.DateSelect=mt,exports.DateTime=Ct,exports.Divider=fa,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=ba,exports.DropdownSelect=zt,exports.DropzoneInput=Ht,exports.ErrorBoundary=ga,exports.FilterChip=xa,exports.Footer=Aa,exports.FooterContent=({variant:e,textColor:t,size:l,width:a,footerWidth:o,customStyles:r,...i})=>{const c=(new Date).getFullYear();return b.default.createElement(Ca,S({variant:e,textColor:t,footerWidth:o,customStyles:r},i),b.default.createElement(wa,{footerWidth:o},b.default.createElement(Sa,{footerWidth:o},"Premise HQ"),b.default.createElement(Ea,{footerWidth:o},"|"),b.default.createElement(Sa,{footerWidth:o},"All Rights Restricted ",c," ©")),b.default.createElement(wa,{footerWidth:o},b.default.createElement(Sa,{footerWidth:o},"Terms of use"),b.default.createElement(Ea,{footerWidth:o},"|"),b.default.createElement(Sa,{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(za,S({},e,a),e.children),e))(e);case"label":return(e=>b.default.createElement(Ne,S({style:{marginBottom:"8px",paddingBottom:"0"}},e,a)))(e);case"text":return(e=>b.default.createElement(sl,S({},e,a)))(e);case"textArea":return(e=>b.default.createElement(wl,S({},e,a)))(e);case"number":return(e=>b.default.createElement(Yt,S({},e,a)))(e);case"radio":return(e=>b.default.createElement(rl,S({key:101*Math.random()|0},e,a)))(e);case"checkBox":return(e=>b.default.createElement(lt,S({},e,a)))(e);case"singleSelect":return(e=>b.default.createElement(zt,S({dropdownType:"singleSelect"},e,a)))(e);case"multiSelect":return(e=>b.default.createElement(zt,S({dropdownType:"multiSelect"},e,a)))(e);case"asyncSingleSelect":return(e=>b.default.createElement(zt,S({dropdownType:"asyncSingleSelect"},e,a)))(e);case"asyncMultiSelect":return(e=>b.default.createElement(zt,S({dropdownType:"asyncMultiSelect"},e,a)))(e);case"signature":return(e=>b.default.createElement(yl,S({},e,a)))(e);case"fileUpload":return(e=>b.default.createElement(Ht,S({},e,a)))(e);case"date":return(e=>b.default.createElement(mt,S({},e,a)))(e);case"toggle":return(e=>b.default.createElement(Pl,S({},e,a)))(e);case"rating":return(e=>b.default.createElement(La,S({},e,a)))(e);case"buttonPrimary":return(e=>b.default.createElement(Me,S({},e,a)))(e);case"buttonSecondary":return(e=>b.default.createElement(Re,S({},e,a)))(e);case"buttonTiny":return(e=>b.default.createElement(Te,S({},e,a)))(e);case"search":return(e=>b.default.createElement(ul,S({},e,a)))(e);case"table":return(e=>b.default.createElement(Pa,S({},e,a)))(e);case"passwordInput":return(e=>b.default.createElement(_t,S({},e,a)))(e);case"headerComponent":return(e=>b.default.createElement(Ha,S({},e,a)))(e)}};return b.default.createElement(t.Fragment,null,b.default.createElement(ia,{defaultThemeColor:M},b.default.createElement(ua,{onSubmit:()=>{},customStyles:l},e.map(((e,t)=>e.length>1?b.default.createElement(na,null,e.map(((t,l)=>b.default.createElement(da,{cols:e.length},o(t))))):o(e[0]))))))},exports.FormContainer=ia,exports.FormWrapper=ua,exports.GroupAvatars=Oa,exports.GroupButtons=Qa,exports.GroupButtonsPopup=_a,exports.GroupStatusCircle=ro,exports.Header=za,exports.HeaderComponent=Ha,exports.HyperLink=no,exports.Icon=J,exports.Image=le,exports.ImageUploader=Zt,exports.Label=Ne,exports.LightSecondaryLink=qo,exports.LinkButton=ze,exports.Loader=Ce,exports.ModalComp=bo,exports.MultiColumnDiv=da,exports.MultiColumnWrapper=na,exports.Navbar=({headerContent:e,bodyContent:a,footerContent:o,toggleSideBarOpen:r,headerStyles:i,selectedStyle:c,notSelectedStyle:n,customStylesNameHover:d,listElementStyle:s,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(Fo,{onMouseEnter:()=>z(!0),onMouseLeave:()=>{E(null),z(!1)},toggleSideBarOpen:r},b.default.createElement(Oo,{theme:w,headerStyles:i,toggleSideBarOpen:r},e),b.default.createElement(Zo,null,a&&a?.filter((e=>!0===e.visibleAsMenu))?.map(((e,t,l)=>{let a=l.length;return b.default.createElement("div",{className:"service-layer"},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",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:c,notSelectedStyle:n,toggleName:r,customStylesName:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white","font-weight":"600"},customStylesNameHover:d,size:"MD",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e?.value?.toLowerCase()===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(Do,{listElementStyle:s,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=Yt,exports.Overlay=ho,exports.OverlayOptionContainer=aa,exports.OverlayOptionItemLabel=oa,exports.PageContent=Yl,exports.Pagination=So,exports.PaginationDefault=ko,exports.PasswordInput=_t,exports.PrimaryButton=Me,exports.PrimaryStatusChip=Qo,exports.ProgressBar=Mo,exports.ProgressSteps=To,exports.RadioInput=rl,exports.Rating=La,exports.RoundedLoader=Se,exports.SearchInput=ul,exports.SecondaryButton=Re,exports.SecondaryStatusChip=$o,exports.Sidebar=Jo,exports.SignatureInput=yl,exports.SlimPrimaryStatusChip=tr,exports.SlimSecondaryStatusChip=or,exports.StatusCircle=to,exports.StyledCentralBar=Kl,exports.StyledClearSearch=Nl,exports.StyledCreateRow=_l,exports.StyledRow=ea,exports.StyledRowSearch=Ql,exports.StyledSearchRow=ta,exports.StyledWarning=$l,exports.SubmitButtonContainer=ca,exports.SubmitComponent=({formData:e,onSubmit:l,onReset:a,style:o,...r})=>{const i=e=>{switch(e.type){case"submit":return(e=>b.default.createElement(Me,{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(Re,{block:e.block,disabled:r.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return b.default.createElement(t.Fragment,null,b.default.createElement(ca,{style:o},e&&e.map(((e,t)=>e.map(((e,t)=>i(e)))))))},exports.TabPanel=rr,exports.Table=Pa,exports.Tabs=sr,exports.TextArea=wl,exports.TextInput=sl,exports.TimeInput=Il,exports.TinyButton=Te,exports.ToastProvider=e=>{const[l,a]=t.useState([]),o=(e,t,l,o)=>{a((a=>[...a,{id:o||br(),content:t,type:e,localTimeout:l}]))},r=e=>a((t=>t.filter((t=>t.id!==e)))),i=t.useMemo((()=>({open:o,close:r})),[]),[c,n]=t.useState(!1);return t.useEffect((()=>(n(!0),()=>n(!1))),[]),b.default.createElement(fr.Provider,{value:i},e.children,c?p.createPortal(b.default.createElement(mr,null,b.default.createElement("div",{className:`notification-container ${e.position}`},l.map((t=>b.default.createElement(pr,{key:t.id,type:t.type,position:e.position,timeout:e.timeout,localTimeout:t.localTimeout,close:()=>r(t.id)},t.content))))),document.body):null)},exports.ToggleSwitch=Pl,exports.Tooltip=De,exports.Typography=yr,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(fr);
3131
+ font-size: ${({size:e})=>hr[e].fontSize};
3132
+ line-height: ${({size:e})=>hr[e].lineHeight};
3133
+ `,xr=({size:e,children:t,bg:a,text:o,...r})=>{const i=l.useTheme()||M;return b.default.createElement(yr,S({theme:i,bg:a,text:o,size:e},r),b.default.createElement(qa,{theme:i}),t)};xr.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},xr.defaultProps={size:"md"},exports.Accordion=Y,exports.AccordionSB=Q,exports.AccordionSBfooter=N,exports.ActionContainer=aa,exports.ActionItem=ia,exports.ArrowBar=ee,exports.Avatar=ie,exports.AvatarSB=ue,exports.AvatarSBfooter=be,exports.Banner=ye,exports.Breadcrumb=Qe,exports.ButtonPopup=Ja,exports.Card=T,exports.CardRef=H,exports.CheckBoxInput=at,exports.ColorInput=it,exports.Comment=Jl,exports.Content=Yl,exports.DarkSecondaryLink=jo,exports.DateSelect=bt,exports.DateTime=wt,exports.Divider=ma,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=ga,exports.DropdownSelect=Vt,exports.DropzoneInput=jt,exports.ErrorBoundary=ha,exports.FilterChip=va,exports.Footer=Ca,exports.FooterContent=({variant:e,textColor:t,size:l,width:a,footerWidth:o,customStyles:r,...i})=>{const c=(new Date).getFullYear();return b.default.createElement(wa,S({variant:e,textColor:t,footerWidth:o,customStyles:r},i),b.default.createElement(Sa,{footerWidth:o},b.default.createElement(ka,{footerWidth:o},"Premise HQ"),b.default.createElement(Ea,{footerWidth:o},"|"),b.default.createElement(ka,{footerWidth:o},"All Rights Restricted ",c," ©")),b.default.createElement(Sa,{footerWidth:o},b.default.createElement(ka,{footerWidth:o},"Terms of use"),b.default.createElement(Ea,{footerWidth:o},"|"),b.default.createElement(ka,{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(Va,S({},e,a),e.children),e))(e);case"label":return(e=>b.default.createElement(Ke,S({style:{marginBottom:"8px",paddingBottom:"0"}},e,a)))(e);case"text":return(e=>b.default.createElement(ul,S({},e,a)))(e);case"textArea":return(e=>b.default.createElement(Sl,S({},e,a)))(e);case"number":return(e=>b.default.createElement(Qt,S({},e,a)))(e);case"radio":return(e=>b.default.createElement(il,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(Vt,S({dropdownType:"singleSelect"},e,a)))(e);case"multiSelect":return(e=>b.default.createElement(Vt,S({dropdownType:"multiSelect"},e,a)))(e);case"asyncSingleSelect":return(e=>b.default.createElement(Vt,S({dropdownType:"asyncSingleSelect"},e,a)))(e);case"asyncMultiSelect":return(e=>b.default.createElement(Vt,S({dropdownType:"asyncMultiSelect"},e,a)))(e);case"signature":return(e=>b.default.createElement(xl,S({},e,a)))(e);case"fileUpload":return(e=>b.default.createElement(jt,S({},e,a)))(e);case"date":return(e=>b.default.createElement(bt,S({},e,a)))(e);case"toggle":return(e=>b.default.createElement(Hl,S({},e,a)))(e);case"rating":return(e=>b.default.createElement(Ta,S({},e,a)))(e);case"buttonPrimary":return(e=>b.default.createElement(Ie,S({},e,a)))(e);case"buttonSecondary":return(e=>b.default.createElement(Le,S({},e,a)))(e);case"buttonTiny":return(e=>b.default.createElement(Pe,S({},e,a)))(e);case"search":return(e=>b.default.createElement(pl,S({},e,a)))(e);case"table":return(e=>b.default.createElement(Ha,S({},e,a)))(e);case"passwordInput":return(e=>b.default.createElement(el,S({},e,a)))(e);case"headerComponent":return(e=>b.default.createElement(ja,S({},e,a)))(e)}};return b.default.createElement(t.Fragment,null,b.default.createElement(ca,{defaultThemeColor:M},b.default.createElement(pa,{onSubmit:()=>{},customStyles:l},e.map(((e,t)=>e.length>1?b.default.createElement(da,null,e.map(((t,l)=>b.default.createElement(sa,{cols:e.length},o(t))))):o(e[0]))))))},exports.FormContainer=ca,exports.FormWrapper=pa,exports.GroupAvatars=Za,exports.GroupButtons=Na,exports.GroupButtonsPopup=eo,exports.GroupStatusCircle=io,exports.Header=Va,exports.HeaderComponent=ja,exports.HyperLink=so,exports.Icon=J,exports.Image=le,exports.ImageUploader=Dt,exports.Label=Ke,exports.LightSecondaryLink=Fo,exports.LinkButton=Ve,exports.Loader=Ce,exports.ModalComp=go,exports.MultiColumnDiv=sa,exports.MultiColumnWrapper=da,exports.Navbar=({headerContent:e,bodyContent:a,footerContent:o,toggleSideBarOpen:r,headerStyles:i,selectedStyle:c,notSelectedStyle:n,customStylesNameHover:d,listElementStyle:s,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,k]=t.useState(null),[E,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(Oo,{onMouseEnter:()=>z(!0),onMouseLeave:()=>{k(null),z(!1)},toggleSideBarOpen:r},b.default.createElement(Zo,{theme:w,headerStyles:i,toggleSideBarOpen:r},e),b.default.createElement(Do,null,a&&a?.filter((e=>!0===e.visibleAsMenu))?.map(((e,t,l)=>{let a=l.length;return b.default.createElement("div",{className:"service-layer"},b.default.createElement(Q,{key:t,index:t,handleClick:e=>{!function(e){k(e)}(e)},isAccordionOpen:t===S||E&&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",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:c,notSelectedStyle:n,toggleName:r,customStylesName:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white","font-weight":"600"},customStylesNameHover:d,size:"MD",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e?.value?.toLowerCase()===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(Go,{listElementStyle:s,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=Qt,exports.Overlay=yo,exports.OverlayOptionContainer=oa,exports.OverlayOptionItemLabel=ra,exports.PageContent=Ql,exports.Pagination=ko,exports.PaginationDefault=zo,exports.PasswordInput=el,exports.PrimaryButton=Ie,exports.PrimaryStatusChip=No,exports.ProgressBar=Io,exports.ProgressSteps=Po,exports.RadioInput=il,exports.Rating=Ta,exports.RoundedLoader=ke,exports.SearchInput=pl,exports.SecondaryButton=Le,exports.SecondaryStatusChip=_o,exports.Sidebar=Uo,exports.SignatureInput=xl,exports.SlimPrimaryStatusChip=lr,exports.SlimSecondaryStatusChip=rr,exports.StatusCircle=lo,exports.StyledCentralBar=$l,exports.StyledClearSearch=Kl,exports.StyledCreateRow=ea,exports.StyledRow=ta,exports.StyledRowSearch=Nl,exports.StyledSearchRow=la,exports.StyledWarning=_l,exports.SubmitButtonContainer=na,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(Le,{block:e.block,disabled:r.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return b.default.createElement(t.Fragment,null,b.default.createElement(na,{style:o},e&&e.map(((e,t)=>e.map(((e,t)=>i(e)))))))},exports.TabPanel=ir,exports.Table=Ha,exports.Tabs=ur,exports.TextArea=Sl,exports.TextInput=ul,exports.TimeInput=Wl,exports.TinyButton=Pe,exports.ToastProvider=e=>{const[l,a]=t.useState([]),o=(e,t,l,o)=>{a((a=>[...a,{id:o||gr(),content:t,type:e,localTimeout:l}]))},r=e=>a((t=>t.filter((t=>t.id!==e)))),i=t.useMemo((()=>({open:o,close:r})),[]),[c,n]=t.useState(!1);return t.useEffect((()=>(n(!0),()=>n(!1))),[]),b.default.createElement(mr.Provider,{value:i},e.children,c?p.createPortal(b.default.createElement(br,null,b.default.createElement("div",{className:`notification-container ${e.position}`},l.map((t=>b.default.createElement(fr,{key:t.id,type:t.type,position:e.position,timeout:e.timeout,localTimeout:t.localTimeout,close:()=>r(t.id)},t.content))))),document.body):null)},exports.ToggleSwitch=Hl,exports.Tooltip=Ge,exports.Typography=xr,exports.defaultStyles=I,exports.defaultThemeColor=M,exports.getDefaultStyles=W,exports.graphColor=B,exports.hexToRGB=R,exports.neutralColor=z,exports.primaryColor=k,exports.shadeColor=V,exports.uiColor=E,exports.useToast=()=>t.useContext(mr);