groundfloor-react-ui 1.2.79 → 1.2.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.es.js +260 -211
  2. package/dist/index.js +261 -212
  3. package/package.json +1 -1
package/dist/index.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-phone-input-2"),i=require("dayjs");require("dayjs/locale/es");var n=require("react-datepicker"),c=require("react-select"),d=require("react-select/async"),s=require("react-signature-pad-wrapper"),u=require("react-data-table-component"),p=require("react-modal"),f=require("react-dom");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var b=m(e),g=m(t),h=m(l),y=m(r),x=m(i),v=m(n),C=m(c),A=m(d),w=m(s),S=m(u),E=m(p);function k(){return k=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},k.apply(this,arguments)}const V={"primary-1":"#2A50FD","primary-2":"#081348"},z={error:"#DD0000",success:"#00B904 "},M={"neutral-1":"#39424D","neutral-2":"#6B747F","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},B={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},I={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},L={white:"#FFFFFF",black:"#000000","text-color":V["primary-2"],border:M["neutral-3"]},R={primary:{...V},ui:{...z},neutral:{...M},shade:{...B},graph:{...I},additional:{...L},variant:{...V,...z,...M,...B,...I,...L}},W={common:{color:"blue","background-color":`${R.additional.white}`},label:{"padding-left":"6px","font-style":"normal","font-weight":"normal","font-size":"14px",display:"flex",width:"inherit","align-items":"flex-start",color:`${R.variant["neutral-2"]}`,"margin-bottom":"0","padding-bottom":"0"},"progressBar-label":{display:"block","margin-bottom":"8px","padding-bottom":"0","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${R.neutral["neutral-2"]}`},spinner:{"background-color":`${R.variant["neutral-1"]}`},avatarContainer:{background:"transparent",display:"flex","align-items":"center",width:"auto",position:"relative"},avatarCircle:{"border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","box-sizing":"border-box"},avatarCircleSM:{"font-weight":"600","font-size":"12px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"16px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"18px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"16px","font-size":"16px"},avatarNameLG:{"margin-left":"16px","font-size":"16px"},"textbox-wrapper":{"border-radius":"4px",padding:"5.5px 7px",display:"flex","align-items":"center","line-height":".5rem",position:"relative"},"input-wrapper":{border:"0",outline:"0",margin:"0 5px",padding:"0px","font-size":"14px","flex-grow":"1","flex-shrink":"0","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},"textarea-wrapper":{border:"0",outline:"0",color:`${R.variant["primary-2"]}`,margin:"0 5px",padding:"5px","font-size":"14px","flex-grow":"1","flex-shrink":"0","line-height":"12px"},"label-text":{"font-style":"normal","font-weight":"normal","font-size":"14px",color:`${R.variant["neutral-2"]}`,display:"flex","align-items":"center","justify-content":"center",width:"max-content","background-color":"transparent","margin-bottom":"0px","padding-bottom":"0px"},image:{"border-radius":"0%",width:"100%",height:"100%"},imageAvatar:{"border-radius":"50%","box-sizing":"border-box",position:"absolute"},imageAvatarSM:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"30px",height:"30px"},imageAvatarMD:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"32px",height:"32px"},imageAvatarLG:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"38px",height:"38px"},table:{table:{style:{borderRadius:"4px",paddingRight:"0px",backgroundColor:"transparent"}},checkbox:{style:{maxHeight:"28px",maxWidth:"28px"}},headRow:{style:{background:`${R.variant["neutral-5"]}`,borderLeft:`1px solid ${R.variant["neutral-5"]}`,borderRight:`1px headRowsolid ${R.variant["neutral-5"]}`,borderTop:`1px solid ${R.variant["neutral-5"]}`,borderTopLeftRadius:"4px",borderTopRightRadius:"4px",paddingLeft:"56px",borderBottom:"none",minHeight:"44px",maxHeight:"44px"}},headCells:{style:{fontSize:"14px",fontWeight:"600","&:first-of-type":{paddingLeft:"0px !important"}}},rows:{style:{background:`${R.variant.white}`,"&:not(:last-of-type)":{borderBottomColor:"none"},"&:last-of-type":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},borderLeft:`1px solid ${R.variant["neutral-5"]}`,borderRight:`1px solid ${R.variant["neutral-5"]}`,borderBottom:`1px solid ${R.variant["neutral-5"]}`},highlightOnHoverStyle:{backgroundColor:`${R.variant["neutral-5"]}`}}},header:{display:"flex","justify-content":"space-between","align-items":"center",position:"fixed","z-index":"1000",top:"0",right:"0",left:"0","min-height":"56px","margin-left":"48px","font-size":"16px","background-color":`${R.additional.white}`,"border-bottom":`0.5px solid ${R.variant["neutral-3"]}`},content:{"background-color":"#eef1f7",width:"100%","min-height":"100%","padding-top":"53px","box-sizing":"border-box",display:"flex","flex-direction":"column","margin-left":"70px"},"radio-outer-circle":{width:"20px",height:"20px","min-width":"20px","min-height":"20px","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"},"radio-inner-circle":{display:"flex","align-self":"center",margin:"0","border-radius":"50%"},"radio-label":{display:"block","margin-bottom":"8px","padding-bottom":0,color:`${R.variant["neutral-2"]}`},"option-text":{color:"#A9B1B8","font-size":"16px"},sidebarContainer:{"min-height":"100%",overflow:"hidden","background-color":"#2e56f4",position:"fixed",color:"white",width:"48px",transition:"width ease 400ms"},"checkBox-outer":{border:`2px solid ${R.additional.border}`,minWidth:"20px",width:"20px",height:"20px","border-radius":"3px",cursor:"pointer","background-color":`${R.additional.white}`},"checkBox-inner":{"background-repeat":"no-repeat","background-position":"center",minWidth:"20px",width:"20px",height:"20px",color:`${R.additional.white}`,cursor:"pointer","text-align":"center","border-radius":"3px"},"check-label":{display:"block","margin-bottom":"8px","padding-bottom":"0px",color:`${R.variant["neutral-2"]}`},"toggle-switch-wrapper":{display:"inline-flex","align-items":"center",width:"fit-content"},"dropzone-parent":{height:"86px","padding-left":"8px","padding-right":"8px",display:"flex","justify-content":"center","align-items":"center","font-size":"16px","border-radius":"5.5px",color:` ${R.textColor}`},"dropzone-file-div":{width:"inherit",height:"38px",display:"flex","justify-content":"center","align-items":"center","font-size":"14px",color:`${R.textColor}`,"background-color":`${R.additional.white}`,"box-shadow":"0px 5px 15px rgba(33, 55, 71, 0.096946)","border-radius":"5.5px","margin-top":"5px"},"dropzone-text-div":{display:"flex","justify-content":"center","margin-left":"14px",color:`${R.textColor}`,"background-color":"transparent"},"dropzone-file-name":{"margin-left":"5px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap",padding:"2px","font-size":"14px",color:"#494949"},"signature-parent-div":{"border-radius":"5.5px","align-content":"flex-start","justify-content":"center",width:"inherit","max-width":"532px",height:"86px",display:"block","flex-flow":"column wrap","font-size":"17px",color:`${R.textColor}`,"background-color":`${R.additional.white}`},"signature-wrapper-div":{display:"flex",flex:"auto","justify-content":"center","align-items":"center","font-size":"17px",height:"inherit",color:`${R.textColor}`,"background-color":"transparent"},"signature-input-text":{border:"0","text-align":"center",display:"block",height:"48px",width:"calc(100% - 54px)!important","background-color":`${R.additional.white}`,"font-family":"Beauty","background-clip":"padding-box",color:"#444444","font-style":"normal","font-weight":"normal","font-size":"47px","padding-left":"10px"},"modal-background":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.6)","z-index":"2000"},"modal-wrapper":{position:"fixed",display:"flex","align-items":"flex-end","justify-content":"center","flex-direction":"column",background:"white",width:"fit-content",height:"fit-content",top:"50%",left:"50%",transform:"translate(-50%, -50%)","border-radius":"5px"},"modal-close-button":{cursor:"pointer",width:"fit-content",height:"fit-content",padding:"0","padding-right":"5px","padding-top":"5px",color:`${R.textColor}`},footer:{display:"flex","margin-top":"auto",width:"100%"},drawer:{"min-height":"100%",overflow:"hidden",position:"fixed",width:"360px",transition:"transform ease 400ms",display:"flex","flex-direction":"column","background-color":"white","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"56px",right:"0px","z-index":"1001"},"drawer-close":{transform:"translateX(360px)"},"drawer-open":{transform:"translateX(0px)"},"tooltip-container":{"background-color":`${R.additional.white}`,"border-radius":"3.6px",border:`1px solid ${R.additional.white}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"tooltip-arrow":{height:"19px",position:"absolute",width:"29px","pointer-events":"none"},"tooltip-arrow-before":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",width:"0"},"tooltip-arrow-after":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",position:"absolute",width:"0"},"tp-cont-bottom-arrow-before":{"border-color":`transparent transparent ${R.additional.white} transparent`,"border-width":"0 15px 19px 15px",position:"absolute",top:"-1px"},"tp-cont-bottom-arrow-after":{"border-color":`transparent transparent ${R.additional.white} transparent`,"border-width":"0 15px 19px 15px"},"tp-cont-top-arrow-before":{"border-color":`${R.additional.white} transparent transparent transparent`,"border-width":"19px 15px 0 15px",position:"absolute",top:"1px"},"tp-cont-top-arrow-after":{"border-color":`${R.additional.white} transparent transparent transparent`,"border-width":"19px 15px 0 15px"},"tp-cont-right-arrow-before":{"border-color":`transparent ${R.additional.white} transparent transparent`,"border-width":"15px 19px 15px 0"},"tp-cont-right-arrow-after":{"border-color":`transparent ${R.additional.white} transparent transparent`,"border-width":"15px 19px 15px 0",left:"6px",top:"0"},"tp-cont-left-arrow-before":{"border-color":`transparent transparent transparent ${R.additional.white} `,"border-width":"15px 0 15px 19px"},"tp-cont-left-arrow-after":{"border-color":`transparent transparent transparent ${R.additional.white} `,"border-width":"15px 0 15px 19px",left:"3px",top:"0"},"tp-cont-bottom-arrow":{left:"0","margin-top":"-19px",top:"0"},"tp-cont-top-arrow":{bottom:"0",left:"0","margin-bottom":"-19px"},"tp-cont-right-arrow":{left:"0","margin-left":"-24px"},"tp-cont-left-arrow":{"margin-right":"-24px",right:"0"},overlay:{"background-color":`${R.additional.white} `,"border-radius":"3.6px",border:`1px solid ${R.additional.white} `,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"simple-overlay":{"background-color":`${R.variant["neutral-1"]} `,"border-radius":"6px",border:`1px solid ${R.variant["neutral-1"]} `,color:`${R.additional.white} `,display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"sidebar-container":{"background-color":"#2e56f4",position:"fixed",color:"white",display:"flex","flex-direction":"column","z-index":"999999"},"sidebar-container-open":{width:"256px"},"sidebar-container-close":{width:"48px"},"sidebar-container-mobile-open":{width:"256px","z-index":"9999999"},"sidebar-container-mobile-close":{width:"0px","z-index":"1001"},"sidebar-pusher":{"min-height":"100%",overflow:"hidden","background-color":"transparent",position:"fixed",transition:"width ease 400ms"},"sidebar-pusher-open":{width:"240px"},"sidebar-pusher-close":{width:"70px"},"sidebar-pusher-mobile":{width:"0px"},"modalComp-custom-style":{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",zIndex:"999"}},"modalComp-modal-close":{position:"absolute",top:"15px",right:"10px",outline:"none",border:"none",background:"transparent",cursor:"pointer"},"modalComp-modal-body":{"margin-top":"20px","margin-bottom":"15px"},"modalComp-modal-footer":{"margin-top":"30px","margin-bottom":"15px",padding:"1rem 3rem 0rem 3rem","&:before":{content:"",position:"fixed",display:"inline-block",left:0,right:0,"margin-top":"-0.9rem","z-index":-1},"selectComp-label-wrapper":{paddingBottom:"10px",display:"flex",width:"25vw"}},"popOver-Content":{padding:"16px",color:"white",width:"226px",borderRadius:"3.6px"},"popOver-header":{marginBottom:"8px",fontWeight:"600"},"popOver-body":{marginBottom:"11.5px"},ColorWrapper:{borderRadius:"4.87px",padding:"8px 21px",display:"flex"},"input-color":{borderRadius:"4px !important",width:"24px !important",height:"24px !important"},toastWrapper:{backgroundColor:"#ffffff",maxWidth:"416px",borderRadius:"6px 6px 0px 0px",paddingTop:"16px",zIndex:"2000"},messageWrapper:{paddingLeft:"16px",borderLeft:"1px solid #E5E7F0",marginLeft:"16px",marginRight:"16px",fontStyle:"normal",fontWeight:"400",fontSize:"14px",lineHeight:"20px"}},P=(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 T(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+")"}T("#FF0000",.5);const H=h.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-phone-input-2"),i=require("dayjs");require("dayjs/locale/es");var n=require("react-datepicker"),c=require("react-select"),d=require("react-select/async"),s=require("react-signature-pad-wrapper"),u=require("react-data-table-component"),p=require("react-modal"),f=require("react-dom");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var b=m(e),g=m(t),h=m(l),y=m(r),x=m(i),v=m(n),C=m(c),A=m(d),w=m(s),S=m(u),E=m(p);function k(){return k=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},k.apply(this,arguments)}const V={"primary-1":"#2A50FD","primary-2":"#081348"},M={error:"#DD0000",success:"#00B904 "},z={"neutral-1":"#39424D","neutral-2":"#6B747F","neutral-3":"#BBC4CF","neutral-4":"#E2E6F5","neutral-5":"#F0F3F8"},B={"insight-purple":"#F8F2FF","insight-yellow":"#FFFAF2","error-bg":"#FCF2F2","selection-bg":"#F2F4FE"},I={"graph-1":"#2E56F4","graph-2":"#00D7F7","graph-3":"#8B2DFF","graph-4":"#FB9A00","graph-5":"#00B904"},L={white:"#FFFFFF",black:"#000000","text-color":V["primary-2"],border:z["neutral-3"]},R={primary:{...V},ui:{...M},neutral:{...z},shade:{...B},graph:{...I},additional:{...L},variant:{...V,...M,...z,...B,...I,...L}},W={common:{color:"blue","background-color":`${R.additional.white}`},label:{"padding-left":"6px","font-style":"normal","font-weight":"normal","font-size":"14px",display:"flex",width:"inherit","align-items":"flex-start",color:`${R.variant["neutral-2"]}`,"margin-bottom":"0","padding-bottom":"0"},"progressBar-label":{display:"block","margin-bottom":"8px","padding-bottom":"0","font-style":"normal","font-weight":"normal","font-size":"14px",color:`${R.neutral["neutral-2"]}`},spinner:{"background-color":`${R.variant["neutral-1"]}`},avatarContainer:{background:"transparent",display:"flex","align-items":"center",width:"auto",position:"relative"},avatarCircle:{"border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","box-sizing":"border-box"},avatarCircleSM:{"font-weight":"600","font-size":"12px","min-width":"30px","min-height":"30px"},avatarCircleMD:{"font-weight":"400","font-size":"16px","min-width":"32px","min-height":"32px"},avatarCircleLG:{"font-weight":"400","font-size":"18px","min-width":"38px","min-height":"38px"},avatarName:{},avatarNameSM:{"margin-left":"8px","font-size":"14px"},avatarNameMD:{"margin-left":"16px","font-size":"16px"},avatarNameLG:{"margin-left":"16px","font-size":"16px"},"textbox-wrapper":{"border-radius":"4px",padding:"5.5px 7px",display:"flex","align-items":"center","line-height":".5rem",position:"relative"},"input-wrapper":{border:"0",outline:"0",margin:"0 5px",padding:"0px","font-size":"14px","flex-grow":"1","flex-shrink":"0","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},"textarea-wrapper":{border:"0",outline:"0",color:`${R.variant["primary-2"]}`,margin:"0 5px",padding:"5px","font-size":"14px","flex-grow":"1","flex-shrink":"0","line-height":"12px"},"label-text":{"font-style":"normal","font-weight":"normal","font-size":"14px",color:`${R.variant["neutral-2"]}`,display:"flex","align-items":"center","justify-content":"center",width:"max-content","background-color":"transparent","margin-bottom":"0px","padding-bottom":"0px"},image:{"border-radius":"0%",width:"100%",height:"100%"},imageAvatar:{"border-radius":"50%","box-sizing":"border-box",position:"absolute"},imageAvatarSM:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"30px",height:"30px"},imageAvatarMD:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"32px",height:"32px"},imageAvatarLG:{"border-radius":"50%","box-sizing":"border-box",position:"absolute",width:"38px",height:"38px"},table:{table:{style:{borderRadius:"4px",paddingRight:"0px",backgroundColor:"transparent"}},checkbox:{style:{maxHeight:"28px",maxWidth:"28px"}},headRow:{style:{background:`${R.variant["neutral-5"]}`,borderLeft:`1px solid ${R.variant["neutral-5"]}`,borderRight:`1px headRowsolid ${R.variant["neutral-5"]}`,borderTop:`1px solid ${R.variant["neutral-5"]}`,borderTopLeftRadius:"4px",borderTopRightRadius:"4px",paddingLeft:"56px",borderBottom:"none",minHeight:"44px",maxHeight:"44px"}},headCells:{style:{fontSize:"14px",fontWeight:"600","&:first-of-type":{paddingLeft:"0px !important"}}},rows:{style:{background:`${R.variant.white}`,"&:not(:last-of-type)":{borderBottomColor:"none"},"&:last-of-type":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},borderLeft:`1px solid ${R.variant["neutral-5"]}`,borderRight:`1px solid ${R.variant["neutral-5"]}`,borderBottom:`1px solid ${R.variant["neutral-5"]}`},highlightOnHoverStyle:{backgroundColor:`${R.variant["neutral-5"]}`}}},header:{display:"flex","justify-content":"space-between","align-items":"center",position:"fixed","z-index":"1000",top:"0",right:"0",left:"0","min-height":"56px","margin-left":"48px","font-size":"16px","background-color":`${R.additional.white}`,"border-bottom":`0.5px solid ${R.variant["neutral-3"]}`},content:{"background-color":"#eef1f7",width:"100%","min-height":"100%","padding-top":"53px","box-sizing":"border-box",display:"flex","flex-direction":"column","margin-left":"70px"},"radio-outer-circle":{width:"20px",height:"20px","min-width":"20px","min-height":"20px","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"},"radio-inner-circle":{display:"flex","align-self":"center",margin:"0","border-radius":"50%"},"radio-label":{display:"block","margin-bottom":"8px","padding-bottom":0,color:`${R.variant["neutral-2"]}`},"option-text":{color:"#A9B1B8","font-size":"16px"},sidebarContainer:{"min-height":"100%",overflow:"hidden","background-color":"#2e56f4",position:"fixed",color:"white",width:"48px",transition:"width ease 400ms"},"checkBox-outer":{border:`2px solid ${R.additional.border}`,minWidth:"20px",width:"20px",height:"20px","border-radius":"3px",cursor:"pointer","background-color":`${R.additional.white}`},"checkBox-inner":{"background-repeat":"no-repeat","background-position":"center",minWidth:"20px",width:"20px",height:"20px",color:`${R.additional.white}`,cursor:"pointer","text-align":"center","border-radius":"3px"},"check-label":{display:"block","margin-bottom":"8px","padding-bottom":"0px",color:`${R.variant["neutral-2"]}`},"toggle-switch-wrapper":{display:"inline-flex","align-items":"center",width:"fit-content"},"dropzone-parent":{height:"86px","padding-left":"8px","padding-right":"8px",display:"flex","justify-content":"center","align-items":"center","font-size":"16px","border-radius":"5.5px",color:` ${R.textColor}`},"dropzone-file-div":{width:"inherit",height:"38px",display:"flex","justify-content":"center","align-items":"center","font-size":"14px",color:`${R.textColor}`,"background-color":`${R.additional.white}`,"box-shadow":"0px 5px 15px rgba(33, 55, 71, 0.096946)","border-radius":"5.5px","margin-top":"5px"},"dropzone-text-div":{display:"flex","justify-content":"center","margin-left":"14px",color:`${R.textColor}`,"background-color":"transparent"},"dropzone-file-name":{"margin-left":"5px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap",padding:"2px","font-size":"14px",color:"#494949"},"signature-parent-div":{"border-radius":"5.5px","align-content":"flex-start","justify-content":"center",width:"inherit","max-width":"532px",height:"86px",display:"block","flex-flow":"column wrap","font-size":"17px",color:`${R.textColor}`,"background-color":`${R.additional.white}`},"signature-wrapper-div":{display:"flex",flex:"auto","justify-content":"center","align-items":"center","font-size":"17px",height:"inherit",color:`${R.textColor}`,"background-color":"transparent"},"signature-input-text":{border:"0","text-align":"center",display:"block",height:"48px",width:"calc(100% - 54px)!important","background-color":`${R.additional.white}`,"font-family":"Beauty","background-clip":"padding-box",color:"#444444","font-style":"normal","font-weight":"normal","font-size":"47px","padding-left":"10px"},"modal-background":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.6)","z-index":"2000"},"modal-wrapper":{position:"fixed",display:"flex","align-items":"flex-end","justify-content":"center","flex-direction":"column",background:"white",width:"fit-content",height:"fit-content",top:"50%",left:"50%",transform:"translate(-50%, -50%)","border-radius":"5px"},"modal-close-button":{cursor:"pointer",width:"fit-content",height:"fit-content",padding:"0","padding-right":"5px","padding-top":"5px",color:`${R.textColor}`},footer:{display:"flex","margin-top":"auto",width:"100%"},drawer:{"min-height":"100%",overflow:"hidden",position:"fixed",width:"360px",transition:"transform ease 400ms",display:"flex","flex-direction":"column","background-color":"white","box-sizing":"border-box","box-shadow":"-20px 5px 37px rgba(56, 66, 100, 0.0880136)",top:"56px",right:"0px","z-index":"1001"},"drawer-close":{transform:"translateX(360px)"},"drawer-open":{transform:"translateX(0px)"},"tooltip-container":{"background-color":`${R.additional.white}`,"border-radius":"3.6px",border:`1px solid ${R.additional.white}`,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"tooltip-arrow":{height:"19px",position:"absolute",width:"29px","pointer-events":"none"},"tooltip-arrow-before":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",width:"0"},"tooltip-arrow-after":{"border-style":"solid",content:"",display:"block",height:"0",margin:"auto",position:"absolute",width:"0"},"tp-cont-bottom-arrow-before":{"border-color":`transparent transparent ${R.additional.white} transparent`,"border-width":"0 15px 19px 15px",position:"absolute",top:"-1px"},"tp-cont-bottom-arrow-after":{"border-color":`transparent transparent ${R.additional.white} transparent`,"border-width":"0 15px 19px 15px"},"tp-cont-top-arrow-before":{"border-color":`${R.additional.white} transparent transparent transparent`,"border-width":"19px 15px 0 15px",position:"absolute",top:"1px"},"tp-cont-top-arrow-after":{"border-color":`${R.additional.white} transparent transparent transparent`,"border-width":"19px 15px 0 15px"},"tp-cont-right-arrow-before":{"border-color":`transparent ${R.additional.white} transparent transparent`,"border-width":"15px 19px 15px 0"},"tp-cont-right-arrow-after":{"border-color":`transparent ${R.additional.white} transparent transparent`,"border-width":"15px 19px 15px 0",left:"6px",top:"0"},"tp-cont-left-arrow-before":{"border-color":`transparent transparent transparent ${R.additional.white} `,"border-width":"15px 0 15px 19px"},"tp-cont-left-arrow-after":{"border-color":`transparent transparent transparent ${R.additional.white} `,"border-width":"15px 0 15px 19px",left:"3px",top:"0"},"tp-cont-bottom-arrow":{left:"0","margin-top":"-19px",top:"0"},"tp-cont-top-arrow":{bottom:"0",left:"0","margin-bottom":"-19px"},"tp-cont-right-arrow":{left:"0","margin-left":"-24px"},"tp-cont-left-arrow":{"margin-right":"-24px",right:"0"},overlay:{"background-color":`${R.additional.white} `,"border-radius":"3.6px",border:`1px solid ${R.additional.white} `,"box-shadow":"0px 5px 33px rgba(56, 66, 100, 0.482627)",color:"#000",display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"simple-overlay":{"background-color":`${R.variant["neutral-1"]} `,"border-radius":"6px",border:`1px solid ${R.variant["neutral-1"]} `,color:`${R.additional.white} `,display:"flex","flex-direction":"column",padding:"0",transition:"opacity 0.3s","z-index":"9999"},"sidebar-container":{"background-color":"#2e56f4",position:"fixed",color:"white",display:"flex","flex-direction":"column","z-index":"999999"},"sidebar-container-open":{width:"256px"},"sidebar-container-close":{width:"48px"},"sidebar-container-mobile-open":{width:"256px","z-index":"9999999"},"sidebar-container-mobile-close":{width:"0px","z-index":"1001"},"sidebar-pusher":{"min-height":"100%",overflow:"hidden","background-color":"transparent",position:"fixed",transition:"width ease 400ms"},"sidebar-pusher-open":{width:"240px"},"sidebar-pusher-close":{width:"70px"},"sidebar-pusher-mobile":{width:"0px"},"modalComp-custom-style":{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",zIndex:"999"}},"modalComp-modal-close":{position:"absolute",top:"15px",right:"10px",outline:"none",border:"none",background:"transparent",cursor:"pointer"},"modalComp-modal-body":{"margin-top":"20px","margin-bottom":"15px"},"modalComp-modal-footer":{"margin-top":"30px","margin-bottom":"15px",padding:"1rem 3rem 0rem 3rem","&:before":{content:"",position:"fixed",display:"inline-block",left:0,right:0,"margin-top":"-0.9rem","z-index":-1},"selectComp-label-wrapper":{paddingBottom:"10px",display:"flex",width:"25vw"}},"popOver-Content":{padding:"16px",color:"white",width:"226px",borderRadius:"3.6px"},"popOver-header":{marginBottom:"8px",fontWeight:"600"},"popOver-body":{marginBottom:"11.5px"},ColorWrapper:{borderRadius:"4.87px",padding:"8px 21px",display:"flex"},"input-color":{borderRadius:"4px !important",width:"24px !important",height:"24px !important"},toastWrapper:{backgroundColor:"#ffffff",maxWidth:"416px",borderRadius:"6px 6px 0px 0px",paddingTop:"16px",zIndex:"2000"},messageWrapper:{paddingLeft:"16px",borderLeft:"1px solid #E5E7F0",marginLeft:"16px",marginRight:"16px",fontStyle:"normal",fontWeight:"400",fontSize:"14px",lineHeight:"20px"}},P=(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 T(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+")"}T("#FF0000",.5);const H=h.default.div`
2
2
  color: ${({activeTheme:e})=>e.additional["text-color"]};
3
3
  padding-top: 25px;
4
4
  padding-bottom: 25px;
@@ -527,13 +527,13 @@ width: ${({size:e})=>e+"px"};
527
527
  animation: ${Ee} 1s linear infinite;
528
528
 
529
529
  ${({customStyles:e})=>e}
530
- `,Ve=({size:e,thickness:t,customStyles:a})=>{const o=l.useTheme()||R;return g.default.createElement(ke,{theme:o,size:e,thickness:t,customStyles:a})};Ve.propTypes={size:b.default.number,thickness:b.default.number,customStyles:b.default.object},Ve.defaultProps={size:20,thickness:3,customStyles:null};const ze={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Me=h.default.button`
530
+ `,Ve=({size:e,thickness:t,customStyles:a})=>{const o=l.useTheme()||R;return g.default.createElement(ke,{theme:o,size:e,thickness:t,customStyles:a})};Ve.propTypes={size:b.default.number,thickness:b.default.number,customStyles:b.default.object},Ve.defaultProps={size:20,thickness:3,customStyles:null};const Me={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},ze=h.default.button`
531
531
  background: transparent;
532
532
  color: ${({theme:e})=>e.variant["primary-1"]};
533
- padding: ${({size:e})=>ze[e].padding};
533
+ padding: ${({size:e})=>Me[e].padding};
534
534
  border: none;
535
535
  border-radius: 5px;
536
- font-size: ${({size:e})=>ze[e].fontSize};
536
+ font-size: ${({size:e})=>Me[e].fontSize};
537
537
  display: flex;
538
538
  align-items: center;
539
539
  width: ${({block:e})=>e?"100%":"auto"};
@@ -553,7 +553,7 @@ ${({customStyles:e})=>e}
553
553
 
554
554
  // custom styles
555
555
  ${({btnStyle:e})=>e}
556
- `,Be=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:n,id:c,...d})=>{const s=l.useTheme()||R;return g.default.createElement(Me,k({id:c,block:t,defaultStyle:"button",type:n,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&g.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},g.default.createElement(Se,{customStyles:{"background-color":s.additional.white},size:16})),d.children)};Be.propTypes={disabled:b.default.bool,size:b.default.oneOf(["sm","md","lg"]),block:b.default.bool,isLoading:b.default.bool,onClick:b.default.func,type:b.default.string,btnStyle:b.default.object,id:b.default.string},Be.defaultProps={block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ie={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Le=h.default.button`
556
+ `,Be=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:n,id:c,...d})=>{const s=l.useTheme()||R;return g.default.createElement(ze,k({id:c,block:t,defaultStyle:"button",type:n,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&g.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},g.default.createElement(Se,{customStyles:{"background-color":s.additional.white},size:16})),d.children)};Be.propTypes={disabled:b.default.bool,size:b.default.oneOf(["sm","md","lg"]),block:b.default.bool,isLoading:b.default.bool,onClick:b.default.func,type:b.default.string,btnStyle:b.default.object,id:b.default.string},Be.defaultProps={block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ie={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Le=h.default.button`
557
557
  background-color: ${({theme:e})=>e.primary["primary-1"]};
558
558
  color: ${({theme:e})=>e.additional.white};
559
559
  padding: ${({size:e})=>Ie[e].padding};
@@ -700,7 +700,7 @@ ${({inBuiltCss:e,defaultTooltipBodyStyle:t})=>P(e,t)}
700
700
  ${({inBuiltCss:e,defaultTooltipTriggerStyle:t})=>P(e,t)}
701
701
  // custom styles
702
702
  ${({customTriggerStyle:e})=>e}
703
- `,Je=({inBuiltCss:e,contentTrigger:t,contentTooltip:a,popperOptionsP:r,settings:i,customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:b,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:C,customStylesTPAbefore:A,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:E,customHeaderStyle:V,customBodyStyle:z,customTriggerStyle:M,headerTooltip:B,footerTooltip:I,...L})=>{const P=l.useTheme()||R,T={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:H,getTooltipProps:j,setTooltipRef:F,setTriggerRef:q,visible:Z}=o.usePopperTooltip({interactive:!0,...i},T);return g.default.createElement(g.default.Fragment,null,g.default.createElement(Xe,{ref:q,inBuiltCss:W,customTriggerStyle:M,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},t),Z&&g.default.createElement(Fe,k({inBuiltCss:W,theme:P,ref:F},j({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:b,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),g.default.createElement(qe,k({inBuiltCss:W},H({className:"tooltip-arrow"}),{customStylesTPArrow:C,customStylesTPAbefore:A,customStylesTPAafter:w})),g.default.createElement(Ze,k({defaultTooltipContentStyle:"popOver-Content",theme:P,inBuiltCss:W},L,{customContentStyle:E}),g.default.createElement(Oe,k({defaultTooltipHeaderStyle:"popOver-header",theme:P,inBuiltCss:W},L,{customHeaderStyle:V}),B),g.default.createElement(De,k({defaultTooltipBodyStyle:"popOver-body",theme:P,inBuiltCss:W},L,{customBodyStyle:z}),a),g.default.createElement(Ge,null,I))))};Je.propTypes={contentTrigger:b.default.any,headerTooltip:b.default.any,contentTooltip:b.default.any,footerTooltip:b.default.any,popperOptionsP:b.default.object,settings:b.default.object,customContentStyle:b.default.object,customHeaderStyle:b.default.object,customBodyStyle:b.default.object,customStylesTPContainer:b.default.object,customStylesTPAbottom:b.default.object,customStylesTPAbottomBefore:b.default.object,customStylesTPAbottomAfter:b.default.object,customStylesTPAtop:b.default.object,customStylesTPAtopBefore:b.default.object,customStylesTPAtopAfter:b.default.object,customStylesTPAright:b.default.object,customStylesTPArightBefore:b.default.object,customStylesTPArightAfter:b.default.object,customStylesTPAleft:b.default.object,customStylesTPAleftBefore:b.default.object,customStylesTPAleftAfter:b.default.object,customStylesTPArrow:b.default.object,customStylesTPAbefore:b.default.object,customStylesTPAafter:b.default.object,customTriggerStyle:b.default.object},Je.defaultProps={contentTrigger:g.default.createElement("div",null,"Trigger"),headerTooltip:"",contentTooltip:"",footerTooltip:g.default.createElement(Te,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ue=h.default.div`
703
+ `,Je=({inBuiltCss:e,contentTrigger:t,contentTooltip:a,popperOptionsP:r,settings:i,customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:b,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:C,customStylesTPAbefore:A,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:E,customHeaderStyle:V,customBodyStyle:M,customTriggerStyle:z,headerTooltip:B,footerTooltip:I,...L})=>{const P=l.useTheme()||R,T={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:H,getTooltipProps:j,setTooltipRef:F,setTriggerRef:q,visible:Z}=o.usePopperTooltip({interactive:!0,...i},T);return g.default.createElement(g.default.Fragment,null,g.default.createElement(Xe,{ref:q,inBuiltCss:W,customTriggerStyle:z,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},t),Z&&g.default.createElement(Fe,k({inBuiltCss:W,theme:P,ref:F},j({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:b,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),g.default.createElement(qe,k({inBuiltCss:W},H({className:"tooltip-arrow"}),{customStylesTPArrow:C,customStylesTPAbefore:A,customStylesTPAafter:w})),g.default.createElement(Ze,k({defaultTooltipContentStyle:"popOver-Content",theme:P,inBuiltCss:W},L,{customContentStyle:E}),g.default.createElement(Oe,k({defaultTooltipHeaderStyle:"popOver-header",theme:P,inBuiltCss:W},L,{customHeaderStyle:V}),B),g.default.createElement(De,k({defaultTooltipBodyStyle:"popOver-body",theme:P,inBuiltCss:W},L,{customBodyStyle:M}),a),g.default.createElement(Ge,null,I))))};Je.propTypes={contentTrigger:b.default.any,headerTooltip:b.default.any,contentTooltip:b.default.any,footerTooltip:b.default.any,popperOptionsP:b.default.object,settings:b.default.object,customContentStyle:b.default.object,customHeaderStyle:b.default.object,customBodyStyle:b.default.object,customStylesTPContainer:b.default.object,customStylesTPAbottom:b.default.object,customStylesTPAbottomBefore:b.default.object,customStylesTPAbottomAfter:b.default.object,customStylesTPAtop:b.default.object,customStylesTPAtopBefore:b.default.object,customStylesTPAtopAfter:b.default.object,customStylesTPAright:b.default.object,customStylesTPArightBefore:b.default.object,customStylesTPArightAfter:b.default.object,customStylesTPAleft:b.default.object,customStylesTPAleftBefore:b.default.object,customStylesTPAleftAfter:b.default.object,customStylesTPArrow:b.default.object,customStylesTPAbefore:b.default.object,customStylesTPAafter:b.default.object,customTriggerStyle:b.default.object},Je.defaultProps={contentTrigger:g.default.createElement("div",null,"Trigger"),headerTooltip:"",contentTooltip:"",footerTooltip:g.default.createElement(Te,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ue=h.default.div`
704
704
  background: transparent;
705
705
  color: ${({theme:e,variant:t})=>e.variant[t]};
706
706
  font-size: ${({isPrimary:e})=>e?"16px":"14px"};
@@ -774,13 +774,62 @@ ${({customTriggerStyle:e})=>e}
774
774
  display: flex;
775
775
  margin-bottom: 15px;
776
776
  position: relative;
777
- `,Ke=({wrap:e,block:a,style:o,variant:r,variantSeparator:i,appLogo:n,separator:c,items:d,onClick:s,isPrimary:u,collapse:p,folderIcon:f,folderIconProps:m,iconMargin:b,...h})=>{const y=l.useTheme()||R,x=t.useRef(null),[v,C]=t.useState(void 0),A=()=>{C(x?.current?.scrollWidth<x?.current?.offsetWidth)};t.useEffect((()=>{A()}),[d]),t.useEffect((()=>{if(!e)return window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[]);const w=d.map(((e,t)=>g.default.createElement(Ye,{key:t},0!==t||n?g.default.createElement("div",{className:"breadcrumb-icon-separator"},c):null,g.default.createElement(Ne,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label))));let S,E;ve().width<500?(S=2,E=d.slice(-1)):(S=4,E=d.slice(-3));const V=E.map(((e,t)=>g.default.createElement(Ye,{key:d.length-3},g.default.createElement("div",{className:"breadcrumb-icon-separator"},c),g.default.createElement(Ne,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),z=d.slice(1,d.length-(S-1)).map(((e,t)=>g.default.createElement(Qe,{key:t},f?g.default.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},g.default.createElement(N,k({icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"},m))):null,g.default.createElement(Ne,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),M=d?1==p?d.length<=S?w:g.default.createElement(g.default.Fragment,null,g.default.createElement(Ye,{key:0},g.default.createElement("div",{className:"breadcrumb-icon-separator"},c),g.default.createElement(Ne,{id:d[0].id,theme:y,onClick:()=>{d[0].href&&s(d[0].href)},variant:r,href:d[0].href,"data-title":d[0].label},d[0].label)),g.default.createElement(Ye,null,g.default.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},c),g.default.createElement(Je,{contentTrigger:g.default.createElement(N,{icon:"ellipses-horizontal",size:12,color:"#6B747F",style:{padding:"0 4px",paddingBottom:"6px",marginTop:"-5.5px"}}),customTriggerStyle:{cursor:"pointer",background:"#E2E6F5",borderRadius:"3px"},headerTooltip:"",customHeaderStyle:{marginBottom:"0px"},contentTooltip:g.default.createElement(g.default.Fragment,null,z),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"}})),V):w:null;return g.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},g.default.createElement("div",{style:{display:"flex",position:"absolute"}},g.default.createElement(Ue,k({theme:y,isWrap:e,ref:e?null:x,isBreadcrumbVisible:v,block:a,variant:r,variantSeparator:i,style:o,isPrimary:u,iconMargin:b},h),n&&g.default.createElement("div",{className:"breadcrumb-icon"},n),M)))};Ke.propTypes={variant:b.default.string,variantSeparator:b.default.string,onClick:b.default.func,appLogo:b.default.any,separator:b.default.any,items:b.default.array,block:b.default.bool,wrap:b.default.bool,isPrimary:b.default.bool,collapse:b.default.bool,folderIcon:b.default.bool,iconMargin:b.default.string},Ke.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const $e=h.default.label`
777
+ `,Ke=({wrap:e,block:a,style:o,variant:r,variantSeparator:i,appLogo:n,separator:c,items:d,onClick:s,isPrimary:u,collapse:p,folderIcon:f,folderIconProps:m,iconMargin:b,...h})=>{const y=l.useTheme()||R,x=t.useRef(null),[v,C]=t.useState(void 0),A=()=>{C(x?.current?.scrollWidth<x?.current?.offsetWidth)};t.useEffect((()=>{A()}),[d]),t.useEffect((()=>{if(!e)return window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[]);const w=d.map(((e,t)=>g.default.createElement(Ye,{key:t},0!==t||n?g.default.createElement("div",{className:"breadcrumb-icon-separator"},c):null,g.default.createElement(Ne,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label))));let S,E;ve().width<500?(S=2,E=d.slice(-1)):(S=4,E=d.slice(-3));const V=E.map(((e,t)=>g.default.createElement(Ye,{key:d.length-3},g.default.createElement("div",{className:"breadcrumb-icon-separator"},c),g.default.createElement(Ne,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),M=d.slice(1,d.length-(S-1)).map(((e,t)=>g.default.createElement(Qe,{key:t},f?g.default.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},g.default.createElement(N,k({icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"},m))):null,g.default.createElement(Ne,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),z=d?1==p?d.length<=S?w:g.default.createElement(g.default.Fragment,null,g.default.createElement(Ye,{key:0},g.default.createElement("div",{className:"breadcrumb-icon-separator"},c),g.default.createElement(Ne,{id:d[0].id,theme:y,onClick:()=>{d[0].href&&s(d[0].href)},variant:r,href:d[0].href,"data-title":d[0].label},d[0].label)),g.default.createElement(Ye,null,g.default.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},c),g.default.createElement(Je,{contentTrigger:g.default.createElement(N,{icon:"ellipses-horizontal",size:12,color:"#6B747F",style:{padding:"0 4px",paddingBottom:"6px",marginTop:"-5.5px"}}),customTriggerStyle:{cursor:"pointer",background:"#E2E6F5",borderRadius:"3px"},headerTooltip:"",customHeaderStyle:{marginBottom:"0px"},contentTooltip:g.default.createElement(g.default.Fragment,null,M),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"}})),V):w:null;return g.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},g.default.createElement("div",{style:{display:"flex",position:"absolute"}},g.default.createElement(Ue,k({theme:y,isWrap:e,ref:e?null:x,isBreadcrumbVisible:v,block:a,variant:r,variantSeparator:i,style:o,isPrimary:u,iconMargin:b},h),n&&g.default.createElement("div",{className:"breadcrumb-icon"},n),z)))};Ke.propTypes={variant:b.default.string,variantSeparator:b.default.string,onClick:b.default.func,appLogo:b.default.any,separator:b.default.any,items:b.default.array,block:b.default.bool,wrap:b.default.bool,isPrimary:b.default.bool,collapse:b.default.bool,folderIcon:b.default.bool,iconMargin:b.default.string},Ke.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const $e=h.default.label`
778
778
  //Set the styles from the default styles object
779
779
  ${({theme:e,type:t})=>P(e,t)}
780
780
 
781
781
  // custom styles
782
782
  ${({customStyles:e})=>e}
783
783
  `,_e=({customStyles:e,text:t,className:l,required:a,...o})=>{const r=W;return g.default.createElement($e,k({required:a,theme:r,customStyles:e,type:"label"},o),t,a&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${R.variant.error}`}},"*"))};_e.propTypes={customStyles:b.default.object,text:b.default.string},_e.defaultProps={text:""};const et=h.default.div`
784
+ display: flex;
785
+ flex-direction: column;
786
+ ${({containerStyle:e})=>e};
787
+ `,tt=h.default.div`
788
+ display: flex;
789
+ flex-wrap: wrap;
790
+ align-items: baseline;
791
+ border-radius: 4px;
792
+ padding: 8px;
793
+ border: none;
794
+ outline: none;
795
+ ${({inputContainerStyle:e})=>e};
796
+ `,lt=h.default.div`
797
+ background-color: ${({theme:e})=>e.variant["selection-bg"]};
798
+ color: ${({theme:e})=>e.variant["neutral-1"]} ;
799
+ border-radius: 4px;
800
+ padding: 4px 8px;
801
+ margin-right: 8px;
802
+ margin-bottom: 8px;
803
+ display: flex;
804
+ align-items: center;
805
+
806
+ &:hover {
807
+ cursor: pointer;
808
+ }
809
+ `,at=h.default.span`
810
+ margin-right: 8px;
811
+ word-break: break-all;
812
+ `,ot=h.default.input`
813
+ flex-grow: 1;
814
+ padding: 0;
815
+ border: none;
816
+ outline: none;
817
+ margin-right: 8px;
818
+ font-size: inherit;
819
+ color: ${({theme:e})=>e.variant["neutral-1"]};
820
+ background-color: transparent;
821
+
822
+ &:focus {
823
+ outline: none;
824
+ }
825
+
826
+ &::placeholder {
827
+ color: ${({theme:e})=>e.variant["neutral-3"]};
828
+ }
829
+ `,rt=h.default.span`
830
+ color: ${({theme:e})=>e.variant.error};
831
+ ${({errorTextStyle:e})=>e};
832
+ `,it=({listChips:e,setListChips:a,currentChip:o,setCurrentChip:r,chipListString:i,placeholder:n,validationCheck:c,errorMsg:d,handleBlurProps:s,label:u,labelCusTomStyles:p,containerStyle:f,inputContainerStyle:m,errorTextStyle:b,...h})=>{let y=i?i.split(","):e||[];const[x,v]=t.useState(y),[C,A]=t.useState(o),[w,S]=t.useState(""),E=l.useTheme()||R;t.useEffect((()=>{v(y)}),[]);return g.default.createElement(et,{theme:E,containerStyle:f},g.default.createElement(tt,{inputContainerStyle:m},g.default.createElement(_e,{text:u,customStyles:p}),x.map(((e,t)=>g.default.createElement(lt,{theme:E,key:e+`${t}`,onClick:()=>(e=>{const t=[...x];t.splice(e,1),v(t),S("")})(t)},g.default.createElement(at,null,e)))),g.default.createElement(ot,{type:"text",placeholder:n,value:C,onKeyDown:e=>{let t=c(C,x);"Enter"===e.key||","===e.key?(e.preventDefault(),t?C.trim()&&(v([...x,C.trim()]),A(""),S("")):S(d)):"Backspace"!==e.key||C||v(x.slice(0,-1))},onChange:e=>{A(e.target.value),S("")},theme:E,onBlur:()=>{const e=c(C,x);if(e&&C.trim()){const e=[...x,C.trim()];s(e.join(",")),v(e),A("")}else e||S(d)}})),w&&g.default.createElement(rt,{errorTextStyle:b,theme:E},w))};it.propTypes={listChips:b.default.arrayOf(b.default.string),setListChips:b.default.func,chipListString:b.default.string,currentChip:b.default.string,setCurrentChip:b.default.func,placeholder:b.default.string,validationCheck:b.default.func.isRequired,errorMsg:b.default.string,label:b.default.string,labelCusTomStyles:b.default.object,containerStyle:b.default.object,inputContainerStyle:b.default.object,errorTextStyle:b.default.object},it.defaultProps={listChips:[],setListChips:()=>{},currentChip:"",setCurrentChip:()=>{},placeholder:"",errorMsg:"Please enter a valid email address",label:"From:",labelCusTomStyles:{},containerStyle:{},inputContainerStyle:{},errorTextStyle:{}};const nt=h.default.div`
784
833
  box-sizing: initial;
785
834
 
786
835
  //Set the styles from the default styles object
@@ -791,7 +840,7 @@ ${({customTriggerStyle:e})=>e}
791
840
 
792
841
  // custom styles
793
842
  ${({checkBoxOuterStyle:e})=>e}
794
- `;et.defaultProps={theme:R};const tt=h.default.div`
843
+ `;nt.defaultProps={theme:R};const ct=h.default.div`
795
844
  box-sizing: initial;
796
845
 
797
846
  //Set the styles from the default styles object
@@ -806,7 +855,7 @@ ${({customTriggerStyle:e})=>e}
806
855
  align-items: center;
807
856
  // custom styles
808
857
  ${({checkBoxInnerStyle:e})=>e}
809
- `;tt.defaultProps={theme:R};const lt=h.default.span`
858
+ `;ct.defaultProps={theme:R};const dt=h.default.span`
810
859
  word-break: break-word;
811
860
 
812
861
  //Set the styles from the default styles object
@@ -818,7 +867,7 @@ ${({customTriggerStyle:e})=>e}
818
867
 
819
868
  // custom styles
820
869
  ${({optionTextStyle:e})=>e}
821
- `;lt.defaultProps={theme:R};const at=h.default.label`
870
+ `;dt.defaultProps={theme:R};const st=h.default.label`
822
871
  width: fit-content;
823
872
  margin-bottom: ${({inline:e})=>e?"":"18px !important"};
824
873
  cursor: pointer;
@@ -828,10 +877,10 @@ ${({customTriggerStyle:e})=>e}
828
877
 
829
878
  // custom styles
830
879
  ${({wrapperStyles:e})=>e}
831
- `,ot=h.default.div`
880
+ `,ut=h.default.div`
832
881
  flex-direction: ${({inline:e})=>e?"row":"column"};
833
882
  width: ${({inline:e})=>e?"initial":"auto"};
834
- `,rt=({getCheckedArr:e,checkBoxOuterStyle:a,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:i,defaultTextColor:n,checkedTextColor:c,checkedCheckBoxColor:d,labelStyle:s,label:u,options:p,setOptions:f,wrapperStyles:m,inline:b,wrapperStyle:h,isRequired:y,...x})=>{const v=l.useTheme()||R;t.useEffect((()=>{C(p)}),[]);const C=t=>{let l=t.filter((e=>!1!==e.checked));e(l)},A=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return g.default.createElement("div",k({style:A},x),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({customStyles:s,type:"check-label",text:u},x)),y&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),g.default.createElement(ot,k({style:{display:"flex",flexWrap:"wrap"},inline:b},x),p?.map(((e,t)=>g.default.createElement(at,k({inline:b,id:e.id,key:`${e.name}-${t}`,onClick:()=>{!e.disabled&&((e,t)=>{let l=[...p];l[t].checked=!e.checked,f(l),C(l)})(e,t)},wrapperStyles:m},x),e.checked?g.default.createElement(tt,k({theme:v,inBuiltCss:W,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:i,checkedCheckBoxColor:d,checked:e.checked},x),g.default.createElement(N,{icon:"check-icon",size:18,color:"white"})):g.default.createElement(et,k({inBuiltCss:W,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...a,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:i,theme:v},x)),g.default.createElement(lt,{theme:v,inline:b,optionTextStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:n,checkedTextColor:c},e.label))))))};rt.propTypes={wrapperStyle:b.default.object,label:b.default.string,labelStyle:b.default.object,checkBoxOuterStyle:b.default.object,checkBoxInnerStyle:b.default.object,optionTextStyle:b.default.object,defaultTextColor:b.default.string,checkedTextColor:b.default.string,defaultBorderColor:b.default.string,checkedCheckBoxColor:b.default.string,inline:b.default.bool,options:b.default.array,setOptions:b.default.func,getCheckedArr:b.default.func,isRequired:b.default.bool,wrapperStyles:b.default.object},rt.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const it=h.default.div`
883
+ `,pt=({getCheckedArr:e,checkBoxOuterStyle:a,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:i,defaultTextColor:n,checkedTextColor:c,checkedCheckBoxColor:d,labelStyle:s,label:u,options:p,setOptions:f,wrapperStyles:m,inline:b,wrapperStyle:h,isRequired:y,...x})=>{const v=l.useTheme()||R;t.useEffect((()=>{C(p)}),[]);const C=t=>{let l=t.filter((e=>!1!==e.checked));e(l)},A=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return g.default.createElement("div",k({style:A},x),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({customStyles:s,type:"check-label",text:u},x)),y&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),g.default.createElement(ut,k({style:{display:"flex",flexWrap:"wrap"},inline:b},x),p?.map(((e,t)=>g.default.createElement(st,k({inline:b,id:e.id,key:`${e.name}-${t}`,onClick:()=>{!e.disabled&&((e,t)=>{let l=[...p];l[t].checked=!e.checked,f(l),C(l)})(e,t)},wrapperStyles:m},x),e.checked?g.default.createElement(ct,k({theme:v,inBuiltCss:W,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:i,checkedCheckBoxColor:d,checked:e.checked},x),g.default.createElement(N,{icon:"check-icon",size:18,color:"white"})):g.default.createElement(nt,k({inBuiltCss:W,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...a,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:i,theme:v},x)),g.default.createElement(dt,{theme:v,inline:b,optionTextStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:n,checkedTextColor:c},e.label))))))};pt.propTypes={wrapperStyle:b.default.object,label:b.default.string,labelStyle:b.default.object,checkBoxOuterStyle:b.default.object,checkBoxInnerStyle:b.default.object,optionTextStyle:b.default.object,defaultTextColor:b.default.string,checkedTextColor:b.default.string,defaultBorderColor:b.default.string,checkedCheckBoxColor:b.default.string,inline:b.default.bool,options:b.default.array,setOptions:b.default.func,getCheckedArr:b.default.func,isRequired:b.default.bool,wrapperStyles:b.default.object},pt.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const ft=h.default.div`
835
884
  border: 1px solid ${({theme:e})=>e.variant["neutral-4"]};
836
885
  background-color: ${({theme:e})=>e.additional.white};
837
886
 
@@ -843,7 +892,7 @@ ${({inBuiltCss:e,defaultColorWrapperStyle:t})=>P(e,t)}
843
892
  // custom styles
844
893
  ${({customColorWrapperStyle:e})=>e}
845
894
 
846
- `,nt=h.default.input`
895
+ `,mt=h.default.input`
847
896
 
848
897
  border: 0.5px solid ${({theme:e})=>e.variant["neutral-4"]} !important;
849
898
  box-shadow: 0px 5px 37px rgba(56, 66, 100, 0.0880136);
@@ -864,11 +913,11 @@ background-color: ${({value:e})=>e};
864
913
  ${({inBuiltCss:e,defaultInputColorStyle:t})=>P(e,t)}
865
914
  // custom styles
866
915
  ${({customInputColorStyle:e})=>e}
867
- `,ct=({label:e,labelStyle:t,value:a,setValue:o,customInputColorStyle:r,customColorWrapperStyle:i,id:n,...c})=>{const d=l.useTheme()||R;return g.default.createElement(it,k({customColorWrapperStyle:i,defaultColorWrapperStyle:"ColorWrapper",theme:d,inBuiltCss:W},c),g.default.createElement(nt,k({id:n,customInputColorStyle:r,defaultInputColorStyle:"input-color",inBuiltCss:W,theme:d},c,{type:"color",value:a,onChange:e=>{o(e.target.value)}})),g.default.createElement(_e,k({themeColor:R,customStyles:t,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};ct.propTypes={label:b.default.string,labelStyle:b.default.object,value:b.default.string,setValue:b.default.func,customInputColorStyle:b.default.object,customColorWrapperStyle:b.default.object,id:b.default.string},ct.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const dt=l.css`
916
+ `,bt=({label:e,labelStyle:t,value:a,setValue:o,customInputColorStyle:r,customColorWrapperStyle:i,id:n,...c})=>{const d=l.useTheme()||R;return g.default.createElement(ft,k({customColorWrapperStyle:i,defaultColorWrapperStyle:"ColorWrapper",theme:d,inBuiltCss:W},c),g.default.createElement(mt,k({id:n,customInputColorStyle:r,defaultInputColorStyle:"input-color",inBuiltCss:W,theme:d},c,{type:"color",value:a,onChange:e=>{o(e.target.value)}})),g.default.createElement(_e,k({themeColor:R,customStyles:t,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};bt.propTypes={label:b.default.string,labelStyle:b.default.object,value:b.default.string,setValue:b.default.func,customInputColorStyle:b.default.object,customColorWrapperStyle:b.default.object,id:b.default.string},bt.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const gt=l.css`
868
917
  display: flex;
869
918
  gap: 7px;
870
919
  align-items: center;
871
- `,st=h.default.div`
920
+ `,ht=h.default.div`
872
921
  .react-tel-input {
873
922
  border: 1px solid ${({theme:e})=>e.additional.border};
874
923
  cursor: default;
@@ -914,11 +963,11 @@ ${({customInputColorStyle:e})=>e}
914
963
  input:placeholder-shown {
915
964
  text-overflow: ellipsis;
916
965
  }
917
- ${({labelInline:e})=>e?dt:null}
966
+ ${({labelInline:e})=>e?gt:null}
918
967
 
919
968
  // custom styles
920
969
  ${({wrapperStyle:e})=>e}
921
- `,ut=({labelProps:e,formProps:a,country:o,regions:r,countryCodeEditable:i,isDisabled:n})=>{const c=t.useRef(null),d=l.useTheme()||R,[s,u]=t.useState(""),[p,f]=t.useState(""),m={label:"",required:!1,labelStyle:{},...e};return g.default.createElement(st,k({theme:d},a),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({style:{display:"flex",marginBottom:`${a?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"}},m))),g.default.createElement(y.default,{required:m.required,theme:d,disabled:n,disableCountryGuess:!0,ref:c,country:o||null,countryCodeEditable:i,regions:r,value:s,alwaysDefaultMask:!1,placeholder:p,onChange:(e,t,l,a)=>{let o="";if(0!==Object.keys(t).length){let e,l;t.format.split(" ").map(((a,r)=>{0===r?(e=`+${t.dialCode}`,o=e):(l=a.replace(/\./g,"X"),o=`${o} ${l}`)}))}u(e),f(o)}}))};ut.propTypes={regions:b.default.array,labelProps:b.default.object,formProps:b.default.object,countryCodeEditable:b.default.bool,country:b.default.string,isDisabled:b.default.bool},ut.defaultProps={labelProps:{},country:"ca",regions:["america"],countryCodeEditable:!1,isDisabled:!1};const pt=h.default.div`
970
+ `,yt=({labelProps:e,formProps:a,country:o,regions:r,countryCodeEditable:i,isDisabled:n})=>{const c=t.useRef(null),d=l.useTheme()||R,[s,u]=t.useState(""),[p,f]=t.useState(""),m={label:"",required:!1,labelStyle:{},...e};return g.default.createElement(ht,k({theme:d},a),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({style:{display:"flex",marginBottom:`${a?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"}},m))),g.default.createElement(y.default,{required:m.required,theme:d,disabled:n,disableCountryGuess:!0,ref:c,country:o||null,countryCodeEditable:i,regions:r,value:s,alwaysDefaultMask:!1,placeholder:p,onChange:(e,t,l,a)=>{let o="";if(0!==Object.keys(t).length){let e,l;t.format.split(" ").map(((a,r)=>{0===r?(e=`+${t.dialCode}`,o=e):(l=a.replace(/\./g,"X"),o=`${o} ${l}`)}))}u(e),f(o)}}))};yt.propTypes={regions:b.default.array,labelProps:b.default.object,formProps:b.default.object,countryCodeEditable:b.default.bool,country:b.default.string,isDisabled:b.default.bool},yt.defaultProps={labelProps:{},country:"ca",regions:["america"],countryCodeEditable:!1,isDisabled:!1};const xt=h.default.div`
922
971
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
923
972
  .react-datepicker__tab-loop {
924
973
  position: absolute;
@@ -1074,24 +1123,24 @@ ${({customInputColorStyle:e})=>e}
1074
1123
 
1075
1124
  // custom styles
1076
1125
  ${({wrapperStyle:e})=>e};
1077
- `,ft=h.default.div`
1126
+ `,vt=h.default.div`
1078
1127
  display: flex;
1079
1128
  align-items: flex-start;
1080
1129
  justify-content: center;
1081
1130
  font-size: 16px;
1082
1131
  padding-top: 12px;
1083
1132
  padding-bottom: 15px;
1084
- `,mt=h.default.div`
1133
+ `,Ct=h.default.div`
1085
1134
  display: flex;
1086
1135
  justify-content: center;
1087
1136
  margin-left: 6px;
1088
- `,bt=h.default("div")`
1137
+ `,At=h.default("div")`
1089
1138
  width: inherit;
1090
- `,gt=h.default("div")`
1139
+ `,wt=h.default("div")`
1091
1140
  display: flex;
1092
1141
  flex-direction: row;
1093
1142
  cursor: pointer;
1094
- `,ht=h.default("div")`
1143
+ `,St=h.default("div")`
1095
1144
  margin-top: 8px;
1096
1145
  position: absolute;
1097
1146
  z-index: 100;
@@ -1102,7 +1151,7 @@ ${({customInputColorStyle:e})=>e}
1102
1151
  background: white;
1103
1152
  box-shadow: 0px 6px 20px rgb(56 66 100 / 15%);
1104
1153
  border-radius: 4px;
1105
- `,yt=h.default("ul")`
1154
+ `,Et=h.default("ul")`
1106
1155
  list-style: none;
1107
1156
  padding: 0;
1108
1157
  margin: 12px;
@@ -1128,7 +1177,7 @@ ${({customInputColorStyle:e})=>e}
1128
1177
  background-color: ${({theme:e})=>e.variant["neutral-4"]};
1129
1178
  border-radius: 10px;
1130
1179
  }
1131
- `,xt=h.default("li")`
1180
+ `,kt=h.default("li")`
1132
1181
  text-align: left;
1133
1182
  font-style: normal;
1134
1183
  font-weight: normal;
@@ -1137,9 +1186,9 @@ ${({customInputColorStyle:e})=>e}
1137
1186
  padding-left: 12px;
1138
1187
  padding-bottom: 12px;
1139
1188
  cursor: pointer;
1140
- `,vt=h.default.div`
1189
+ `,Vt=h.default.div`
1141
1190
  width: 100%;
1142
- `,Ct=h.default.button`
1191
+ `,Mt=h.default.button`
1143
1192
  background-color: ${({theme:e,disabled:t})=>t?e.variant["secondary-5"]:e.additional.white};
1144
1193
  padding: 5.5px 12px;
1145
1194
  padding-right: 7px;
@@ -1159,14 +1208,14 @@ ${({customInputColorStyle:e})=>e}
1159
1208
 
1160
1209
  // custom styles
1161
1210
  ${({timeBtnStyle:e})=>e};
1162
- `,At=h.default.span`
1211
+ `,zt=h.default.span`
1163
1212
  margin-top: -1px;
1164
1213
  margin-left: 7px;
1165
1214
  float: right;
1166
1215
 
1167
1216
  // custom styles
1168
1217
  ${({customIconContainerStyle:e})=>e};
1169
- `,wt=["January","February","March","April","May","June","July","August","September","October","November","December"],St=({selectedDate:e,setSelectedDate:a,disabled:o,startYear:r,endYearRange:i,format:n,customIconContainerStyle:c,placeHolder:d,value:s,timeBtnStyle:u,onClick:p,onChange:f,wrapperStyle:m,iconProps:b,labelProps:h,...y})=>{const C=l.useTheme()||R;let A=[],w=i||10;for(let e=r||(new Date).getFullYear();e<=(new Date).getFullYear()+w;e++)A.push(e);const S=t.useRef(null),E=t.useRef(null),[V,z]=t.useState(!1),[M,B]=t.useState(!1),[I,L]=t.useState(!1),[W,P]=t.useState(!1),[T,H]=t.useState(e.getFullYear()),[j,F]=t.useState(wt[e.getMonth()]);t.useEffect((()=>{F(wt[e.getMonth()]),H(e.getFullYear())}),[e]),t.useEffect((()=>(q(document,"click","add",Z(S,(()=>z(!1)))),q(document,"click","add",Z(E,(()=>B(!1)))),()=>{q(document,"click","remove",Z(S,(()=>z(!1)))),q(document,"click","remove",Z(E,(()=>B(!1))))})),[]);const q=(e,t,l,a,o)=>{"add"===l?e.addEventListener(t,a,o||!1):e.removeEventListener(t,a,o||!1)},Z=(e,t)=>l=>{e.current&&!e.current.contains(l.target)&&t()},O={icon:"calender",color:"black",size:"16",...b};return g.default.createElement(pt,k({disabled:o,theme:C},y,{wrapperStyle:m}),g.default.createElement(_e,k({customStyles:{marginBottom:"7px",padding:0}},h)),g.default.createElement(v.default,k({selected:s===e?e:s,useWeekdaysShort:!0,onChange:e=>{a(e),f(e)},adjustDateOnChange:!0,disabled:o,dropdownMode:"select",customInput:g.default.createElement(vt,{value:s,onClick:p,placeholder:d,theme:C},g.default.createElement(Ct,k({theme:C,value:s,onClick:p,timeBtnStyle:u},y),g.default.createElement("div",null,s?x.default(s).format(n||"DD/MM/YYYY"):d||"select a date"),g.default.createElement(At,k({theme:C},y,{customIconContainerStyle:c,className:"input-icon"}),O.icon?g.default.createElement(N,O):null))),renderCustomHeader:({date:e,changeYear:t,changeMonth:l})=>g.default.createElement(ft,null,g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(bt,{ref:S},g.default.createElement(gt,{onClick:()=>{z(!V),B(!1)}},g.default.createElement("span",{onMouseEnter:()=>L(!0),onMouseLeave:()=>L(!1),style:{color:`${I?C.variant["primary-1"]:C.additional["text-color"]}`}},wt[e.getMonth()]),g.default.createElement(mt,null,g.default.createElement(N,{icon:"triangle-down",color:I?C.variant["primary-1"]:C.additional["text-color"],size:7}))),V&&g.default.createElement(ht,null,g.default.createElement(yt,{theme:C,onMouseEnter:()=>L(!0)},wt.map(((e,t)=>g.default.createElement(xt,{selectedMonth:j,onClick:()=>{L(!1),l(t),z(!1),F(wt[t])},key:Math.random()},g.default.createElement("span",{style:{color:`${j===e?C.variant["primary-1"]:C.additional["text-color"]}`}},e))))))),g.default.createElement(bt,{ref:E},g.default.createElement(gt,{style:{marginLeft:"28px"},onClick:()=>{B(!M),z(!1)}},g.default.createElement("span",{onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),style:{color:`${W?C.variant["primary-1"]:C.additional["text-color"]}`}},e.getFullYear()),g.default.createElement(mt,null,g.default.createElement(N,{icon:"triangle-down",color:W?C.variant["primary-1"]:C.additional["text-color"],size:7}))),M&&g.default.createElement(ht,null,g.default.createElement(yt,{onMouseEnter:()=>P(!0),theme:C},A.map(((e,l)=>g.default.createElement(xt,{onClick:()=>{P(!1),t(e),H(e),B(!1)},key:Math.random()+l},g.default.createElement("span",{style:{color:`${T===e?C.variant["primary-1"]:C.additional["text-color"]}`}},e)))))))))},y)))};St.propTypes={selectedDate:b.default.any,setSelectedDate:b.default.func,disabled:b.default.bool,startYear:b.default.number,endYearRange:b.default.number,format:b.default.string,placeHolder:b.default.string,onChange:b.default.func,timeBtnStyle:b.default.object,wrapperStyle:b.default.object,customIconContainerStyle:b.default.object,iconProps:b.default.object,value:b.default.any,onClick:b.default.func,labelProps:b.default.object},St.defaultProps={selectedDate:new Date,setSelectedDate:()=>{},disabled:!1,onChange:()=>{},value:"",onClick:()=>{}};const Et=h.default.div`
1218
+ `,Bt=["January","February","March","April","May","June","July","August","September","October","November","December"],It=({selectedDate:e,setSelectedDate:a,disabled:o,startYear:r,endYearRange:i,format:n,customIconContainerStyle:c,placeHolder:d,value:s,timeBtnStyle:u,onClick:p,onChange:f,wrapperStyle:m,iconProps:b,labelProps:h,...y})=>{const C=l.useTheme()||R;let A=[],w=i||10;for(let e=r||(new Date).getFullYear();e<=(new Date).getFullYear()+w;e++)A.push(e);const S=t.useRef(null),E=t.useRef(null),[V,M]=t.useState(!1),[z,B]=t.useState(!1),[I,L]=t.useState(!1),[W,P]=t.useState(!1),[T,H]=t.useState(e.getFullYear()),[j,F]=t.useState(Bt[e.getMonth()]);t.useEffect((()=>{F(Bt[e.getMonth()]),H(e.getFullYear())}),[e]),t.useEffect((()=>(q(document,"click","add",Z(S,(()=>M(!1)))),q(document,"click","add",Z(E,(()=>B(!1)))),()=>{q(document,"click","remove",Z(S,(()=>M(!1)))),q(document,"click","remove",Z(E,(()=>B(!1))))})),[]);const q=(e,t,l,a,o)=>{"add"===l?e.addEventListener(t,a,o||!1):e.removeEventListener(t,a,o||!1)},Z=(e,t)=>l=>{e.current&&!e.current.contains(l.target)&&t()},O={icon:"calender",color:"black",size:"16",...b};return g.default.createElement(xt,k({disabled:o,theme:C},y,{wrapperStyle:m}),g.default.createElement(_e,k({customStyles:{marginBottom:"7px",padding:0}},h)),g.default.createElement(v.default,k({selected:s===e?e:s,useWeekdaysShort:!0,onChange:e=>{a(e),f(e)},adjustDateOnChange:!0,disabled:o,dropdownMode:"select",customInput:g.default.createElement(Vt,{value:s,onClick:p,placeholder:d,theme:C},g.default.createElement(Mt,k({theme:C,value:s,onClick:p,timeBtnStyle:u},y),g.default.createElement("div",null,s?x.default(s).format(n||"DD/MM/YYYY"):d||"select a date"),g.default.createElement(zt,k({theme:C},y,{customIconContainerStyle:c,className:"input-icon"}),O.icon?g.default.createElement(N,O):null))),renderCustomHeader:({date:e,changeYear:t,changeMonth:l})=>g.default.createElement(vt,null,g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(At,{ref:S},g.default.createElement(wt,{onClick:()=>{M(!V),B(!1)}},g.default.createElement("span",{onMouseEnter:()=>L(!0),onMouseLeave:()=>L(!1),style:{color:`${I?C.variant["primary-1"]:C.additional["text-color"]}`}},Bt[e.getMonth()]),g.default.createElement(Ct,null,g.default.createElement(N,{icon:"triangle-down",color:I?C.variant["primary-1"]:C.additional["text-color"],size:7}))),V&&g.default.createElement(St,null,g.default.createElement(Et,{theme:C,onMouseEnter:()=>L(!0)},Bt.map(((e,t)=>g.default.createElement(kt,{selectedMonth:j,onClick:()=>{L(!1),l(t),M(!1),F(Bt[t])},key:Math.random()},g.default.createElement("span",{style:{color:`${j===e?C.variant["primary-1"]:C.additional["text-color"]}`}},e))))))),g.default.createElement(At,{ref:E},g.default.createElement(wt,{style:{marginLeft:"28px"},onClick:()=>{B(!z),M(!1)}},g.default.createElement("span",{onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),style:{color:`${W?C.variant["primary-1"]:C.additional["text-color"]}`}},e.getFullYear()),g.default.createElement(Ct,null,g.default.createElement(N,{icon:"triangle-down",color:W?C.variant["primary-1"]:C.additional["text-color"],size:7}))),z&&g.default.createElement(St,null,g.default.createElement(Et,{onMouseEnter:()=>P(!0),theme:C},A.map(((e,l)=>g.default.createElement(kt,{onClick:()=>{P(!1),t(e),H(e),B(!1)},key:Math.random()+l},g.default.createElement("span",{style:{color:`${T===e?C.variant["primary-1"]:C.additional["text-color"]}`}},e)))))))))},y)))};It.propTypes={selectedDate:b.default.any,setSelectedDate:b.default.func,disabled:b.default.bool,startYear:b.default.number,endYearRange:b.default.number,format:b.default.string,placeHolder:b.default.string,onChange:b.default.func,timeBtnStyle:b.default.object,wrapperStyle:b.default.object,customIconContainerStyle:b.default.object,iconProps:b.default.object,value:b.default.any,onClick:b.default.func,labelProps:b.default.object},It.defaultProps={selectedDate:new Date,setSelectedDate:()=>{},disabled:!1,onChange:()=>{},value:"",onClick:()=>{}};const Lt=h.default.div`
1170
1219
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1171
1220
  .react-datepicker__tab-loop{
1172
1221
  position: absolute;
@@ -1241,7 +1290,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1241
1290
 
1242
1291
  // custom styles
1243
1292
  ${({wrapperStyle:e})=>e};
1244
- `,kt=h.default.div``,Vt=h.default.button`
1293
+ `,Rt=h.default.div``,Wt=h.default.button`
1245
1294
  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1246
1295
  background-color: ${({theme:e,disabled:t})=>t?e.variant["neutral-5"]:e.additional.white};
1247
1296
  padding: 5.5px 12px;
@@ -1261,7 +1310,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1261
1310
 
1262
1311
  // custom styles
1263
1312
  ${({timeBtnStyle:e})=>e};
1264
- `,zt=h.default.div`
1313
+ `,Pt=h.default.div`
1265
1314
  display: flex;
1266
1315
  align-items: center;
1267
1316
  justify-content: ${({inputType:e})=>"year"!==e?"space-between":"center"};
@@ -1269,7 +1318,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1269
1318
  color: ${({theme:e})=>e.additional.white};
1270
1319
  // custom styles
1271
1320
  ${({customHeaderStyle:e})=>e};
1272
- `,Mt=h.default.span`
1321
+ `,Tt=h.default.span`
1273
1322
  margin-top: -1px;
1274
1323
  margin-left: 7px;
1275
1324
  float: right;
@@ -1277,19 +1326,19 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1277
1326
  // custom styles
1278
1327
  ${({customIconContainerStyle:e})=>e};
1279
1328
 
1280
- `,Bt=l.css`
1329
+ `,Ht=l.css`
1281
1330
  display: flex;
1282
1331
  gap: 7px;
1283
1332
  align-items: center;
1284
- `,It=h.default.div`
1285
- ${({labelInline:e})=>e?Bt:null}
1286
- ${({labelInline:e})=>e?Bt:null}
1333
+ `,jt=h.default.div`
1334
+ ${({labelInline:e})=>e?Ht:null}
1335
+ ${({labelInline:e})=>e?Ht:null}
1287
1336
  .err-text {
1288
1337
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1289
1338
  margin-top: 5px;
1290
1339
  font-size: 10px;
1291
1340
  }
1292
- `,Lt=({defaultValue:e,onChange:a,inputType:o,onClick:r,placeHolder:i,value:n,disabled:c,startYear:d,endYearRange:s,iconProps:u,customHeaderStyle:p,timeBtnStyle:f,wrapperStyle:m,customIconContainerStyle:b,label:h,labelInline:y,labelStyle:C,required:A,errMsg:w,errMsgColor:S,isValid:E,...V})=>{const[z,M]=t.useState(e);let B=z?new Date(z):null;for(var I=[],L=s||10,W=d||(new Date).getFullYear();W<=(new Date).getFullYear()+L;W++)I.push(W);let P={};switch(o){case"date":default:P.dateFormat="dd MMM, yyyy";break;case"month":P.dateFormat="MMMM yyyy",P.showMonthYearPicker=!0;break;case"year":P.dateFormat="yyyy",P.showYearPicker=!0;break;case"datetime-local":P.dateFormat="dd MMM yyyy, hh:mm a",P.showTimeSelect=!0,P.timeFormat="hh:mm a",P.timeIntervals=15,P.timeCaption="Time";break;case"time":P.showTimeSelect=!0,P.showTimeSelectOnly=!0,P.dateFormat="hh:mm a"}const T=l.useTheme()||R,H={icon:"calender",color:T.variant["primary-1"],size:"16",...u};return g.default.createElement(It,k({labelInline:y,errMsgColor:S,theme:T},V),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({customStyles:C,type:"label-text",labelInline:y,errMsg:w,text:h,style:{display:"flex",marginBottom:""+(y?"":"7px"),paddingBottom:"0px"}},V)),A&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${T.variant.error}`}},"*")),g.default.createElement(Et,k({theme:T},V,{wrapperStyle:m,isValid:E,disabled:c}),g.default.createElement(v.default,k({selected:B,disabled:c,customInput:g.default.createElement(kt,{value:n,onClick:r,placeholder:i,theme:T},g.default.createElement(Vt,k({theme:T,value:n,onClick:r,timeBtnStyle:f,disabled:c},V),g.default.createElement("div",null,n||(i||"-- : -- --")),g.default.createElement(Mt,k({theme:T},V,{customIconContainerStyle:b,className:"input-icon"}),H.icon?g.default.createElement(N,H):null))),onChange:e=>{M(e);var t=null;t="datetime-local"==o?x.default(e).format("DD MMM YYYY, hh:mm A"):"date"==o?x.default(e).format("DD MMM, YYYY"):"year"==o?x.default(e).format("YYYY"):"month"==o?x.default(e).format("MMMM YYYY"):"time"==o?x.default(e).format("hh:mm A"):x.default(e).format("DD MMM, YYYY"),a(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:i},P,{renderCustomHeader:({date:e,changeYear:t,decreaseMonth:l,increaseMonth:a})=>{let r=x.default(e).format("MMMM");return g.default.createElement(zt,k({theme:T},V,{inputType:o,customHeaderStyle:p}),"year"!==o?g.default.createElement("span",{style:{paddingLeft:"10px"},onClick:l},g.default.createElement(N,{icon:"chevron-left",color:"white",size:16})):null,g.default.createElement("b",null,"year"!==o?g.default.createElement("span",{style:{paddingRight:"5px"}},r):null," ",g.default.createElement("span",{className:"calender-year"},g.default.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>t(e)},I.map((e=>g.default.createElement("option",{key:e,value:e},e)))))),"year"!==o?g.default.createElement("span",{style:{paddingRight:"10px"},onClick:a},g.default.createElement(N,{icon:"chevron-right",color:"white",size:16})):null)}}))),w.length>0&&g.default.createElement("div",{className:"err-text"},w))};Lt.propTypes={defaultValue:b.default.string,onChange:b.default.func,inputType:b.default.string,onClick:b.default.func,placeHolder:b.default.string,value:b.default.string,disabled:b.default.bool,startYear:b.default.number,endYearRange:b.default.number,iconProps:b.default.object,customHeaderStyle:b.default.object,timeBtnStyle:b.default.object,wrapperStyle:b.default.object,customIconContainerStyle:b.default.object,label:b.default.string,labelStyle:b.default.object,labelInline:b.default.bool,errMsg:b.default.string,errMsgColor:b.default.string,isValid:b.default.bool},Lt.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,value:"",defaultValue:"",onChange:()=>{},label:"",required:!1,labelInline:!1,errMsg:"",isValid:!0};const Rt=h.default.div`
1341
+ `,Ft=({defaultValue:e,onChange:a,inputType:o,onClick:r,placeHolder:i,value:n,disabled:c,startYear:d,endYearRange:s,iconProps:u,customHeaderStyle:p,timeBtnStyle:f,wrapperStyle:m,customIconContainerStyle:b,label:h,labelInline:y,labelStyle:C,required:A,errMsg:w,errMsgColor:S,isValid:E,...V})=>{const[M,z]=t.useState(e);let B=M?new Date(M):null;for(var I=[],L=s||10,W=d||(new Date).getFullYear();W<=(new Date).getFullYear()+L;W++)I.push(W);let P={};switch(o){case"date":default:P.dateFormat="dd MMM, yyyy";break;case"month":P.dateFormat="MMMM yyyy",P.showMonthYearPicker=!0;break;case"year":P.dateFormat="yyyy",P.showYearPicker=!0;break;case"datetime-local":P.dateFormat="dd MMM yyyy, hh:mm a",P.showTimeSelect=!0,P.timeFormat="hh:mm a",P.timeIntervals=15,P.timeCaption="Time";break;case"time":P.showTimeSelect=!0,P.showTimeSelectOnly=!0,P.dateFormat="hh:mm a"}const T=l.useTheme()||R,H={icon:"calender",color:T.variant["primary-1"],size:"16",...u};return g.default.createElement(jt,k({labelInline:y,errMsgColor:S,theme:T},V),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({customStyles:C,type:"label-text",labelInline:y,errMsg:w,text:h,style:{display:"flex",marginBottom:""+(y?"":"7px"),paddingBottom:"0px"}},V)),A&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${T.variant.error}`}},"*")),g.default.createElement(Lt,k({theme:T},V,{wrapperStyle:m,isValid:E,disabled:c}),g.default.createElement(v.default,k({selected:B,disabled:c,customInput:g.default.createElement(Rt,{value:n,onClick:r,placeholder:i,theme:T},g.default.createElement(Wt,k({theme:T,value:n,onClick:r,timeBtnStyle:f,disabled:c},V),g.default.createElement("div",null,n||(i||"-- : -- --")),g.default.createElement(Tt,k({theme:T},V,{customIconContainerStyle:b,className:"input-icon"}),H.icon?g.default.createElement(N,H):null))),onChange:e=>{z(e);var t=null;t="datetime-local"==o?x.default(e).format("DD MMM YYYY, hh:mm A"):"date"==o?x.default(e).format("DD MMM, YYYY"):"year"==o?x.default(e).format("YYYY"):"month"==o?x.default(e).format("MMMM YYYY"):"time"==o?x.default(e).format("hh:mm A"):x.default(e).format("DD MMM, YYYY"),a(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:i},P,{renderCustomHeader:({date:e,changeYear:t,decreaseMonth:l,increaseMonth:a})=>{let r=x.default(e).format("MMMM");return g.default.createElement(Pt,k({theme:T},V,{inputType:o,customHeaderStyle:p}),"year"!==o?g.default.createElement("span",{style:{paddingLeft:"10px"},onClick:l},g.default.createElement(N,{icon:"chevron-left",color:"white",size:16})):null,g.default.createElement("b",null,"year"!==o?g.default.createElement("span",{style:{paddingRight:"5px"}},r):null," ",g.default.createElement("span",{className:"calender-year"},g.default.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>t(e)},I.map((e=>g.default.createElement("option",{key:e,value:e},e)))))),"year"!==o?g.default.createElement("span",{style:{paddingRight:"10px"},onClick:a},g.default.createElement(N,{icon:"chevron-right",color:"white",size:16})):null)}}))),w.length>0&&g.default.createElement("div",{className:"err-text"},w))};Ft.propTypes={defaultValue:b.default.string,onChange:b.default.func,inputType:b.default.string,onClick:b.default.func,placeHolder:b.default.string,value:b.default.string,disabled:b.default.bool,startYear:b.default.number,endYearRange:b.default.number,iconProps:b.default.object,customHeaderStyle:b.default.object,timeBtnStyle:b.default.object,wrapperStyle:b.default.object,customIconContainerStyle:b.default.object,label:b.default.string,labelStyle:b.default.object,labelInline:b.default.bool,errMsg:b.default.string,errMsgColor:b.default.string,isValid:b.default.bool},Ft.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,value:"",defaultValue:"",onChange:()=>{},label:"",required:!1,labelInline:!1,errMsg:"",isValid:!0};const qt=h.default.div`
1293
1342
  cursor: ${({isDisabled:e})=>e?"not-allowed":"initial"} !important;
1294
1343
 
1295
1344
  .text-main-alt {
@@ -1316,7 +1365,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1316
1365
  .text-main-alt-value {
1317
1366
  display: none !important;
1318
1367
  }
1319
- `,Wt=h.default.div`
1368
+ `,Zt=h.default.div`
1320
1369
  // Default style
1321
1370
  display: flex;
1322
1371
 
@@ -1324,11 +1373,11 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1324
1373
  ${({inBuiltCss:e,labelWrapperStyle:t})=>P(e,t)}
1325
1374
  // custom styles
1326
1375
  ${({customLabelStyles:e})=>e}
1327
- `,Pt=h.default.div`
1376
+ `,Ot=h.default.div`
1328
1377
  margin-left: 6px;
1329
1378
  margin-top: -15.5px;
1330
1379
  cursor: pointer;
1331
- `,Tt=({getValue:e,children:t,...l})=>{const a=e().length;return g.default.createElement(c.components.ValueContainer,l,t,a>1&&g.default.createElement("span",{className:"text-more-alt"},"& ",a-1," more"))},Ht=({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:b,customLabelStyles:h,isRequired:y,dropdownType:x,isDisabled:v,isLoading:C,id:A,iconName:w,iconStyles:S,iconColor:E,iconSize:V,showIndicator:z,leftIcon:M,leftIconColor:B,leftIconSize:I,backgroundColor:L,placeHolderColor:P,indicatorBackgroundColor:T,inputColor:H,menuListFooter:j,customSelectStyles:F,errorMessage:q,...Z})=>{const O=l.useTheme()||R,D=e=>{const t={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},l=g.default.createElement("div",{style:{...t,backgroundColor:e?.data?.color??O.primary["primary-1"]}},g.default.createElement(N,{icon:"check-icon",color:"white"})),a=g.default.createElement("div",{style:{...t,backgroundColor:"#e0e7ff"}});return g.default.createElement(c.components.Option,e,g.default.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%"}},e.isSelected?l:a,g.default.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},G=({index:e,...t})=>{const l=t?.data?.label||"Select";return!e&&g.default.createElement("span",{className:"text-main-alt-value"},l)},X={control:(e,t)=>({...e,border:d?L&&d?"1px solid "+L:"1px solid "+O.border:"1px solid "+O.ui.error,minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:t.isDisabled?O.variant["neutral-5"]:L||O.additional.white}),placeholder:e=>({...e,fontSize:u+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:P||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:T||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,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",marginRight:0,display:"grid"}),multiValue:e=>({...e,marginLeft:"0px",width:"auto",display:"grid"}),input:e=>({...e,fontSize:u+"px",color:H||"hsl(0, 0%, 20%)",padding:0,margin:0}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?O.neutral["neutral-5"]:O.additional.white,padding:"10px",cursor:t.isDisabled?"not-allowed":"pointer",color:"#081348",opacity:t.isDisabled?.6:1,width:"inherit",boxSizing:"initial"}),menuPortal:e=>({...e,zIndex:99999999}),...F},J={DropdownIndicator:e=>{const t=g.default.createElement(c.components.DropdownIndicator,e,g.default.createElement(Pt,null,g.default.createElement(N,{icon:w,color:E,size:V,customstyles:S})));return!0===z?t:null},ValueContainer:Tt,IndicatorSeparator:()=>null,ClearIndicator:e=>g.default.createElement(c.components.ClearIndicator,e,n?g.default.createElement(Pt,{onClick:()=>{m(),e.clearValue()}},g.default.createElement(N,{icon:"cross-icon",color:"black",size:8})):null),MenuList:e=>{const{MenuListHeader:t=null,MenuListFooter:l=null}=e.selectProps.components;return g.default.createElement(c.components.MenuList,e,e.children.length&&t,e.children,e.children.length&&l)},MenuListFooter:j};let U=null;switch(x){case"multiSelect":U=g.default.createElement(jt,k({type:"multiSelect",MultiValue:G,Option:D,value:o,CommonRenderedComponent:J,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:X,setSelectedValue:r,isLoading:C,id:A,isClearable:n},Z));break;case"asyncSingleSelect":U=g.default.createElement(Ft,k({CommonRenderedComponent:J,loadOptions:p,onInputChange:f,styles:X,placeholder:i,onChange:r,isLoading:C,isDisabled:v,id:A,value:o,isClearable:n},Z));break;case"asyncMultiSelect":U=g.default.createElement(Ft,k({type:"asyncMultiSelect",CommonRenderedComponent:J,MultiValue:G,Option:D,onChange:r,placeholder:i,styles:X,isDisabled:v,isLoading:C,loadOptions:p,onInputChange:f,id:A,isClearable:n},Z));break;default:U=g.default.createElement(jt,k({type:"singleSelect",value:{value:o?o.value:"",label:o?o.label:""},CommonRenderedComponent:J,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:X,setSelectedValue:r,isLoading:C,id:A,isClearable:n},Z))}return g.default.createElement(Rt,{style:b,backgroundColor:L,isValid:d,fontSize:u,theme:O,isDisabled:v},e&&g.default.createElement(Wt,{inBuiltCss:W,labelWrapperStyle:"selectComp-label-wrapper",style:h},g.default.createElement(_e,{customStyles:t,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),y&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${O.ui.error}`}},"*")),U,!d&&q)},jt=({type:e,Option:t,value:l,CommonRenderedComponent:a,MultiValue:o,optionArr:r,placeHolder:i,isDisabled:n,stylesComp:c,setSelectedValue:d,isLoading:s,id:u,isClearable:p,...f})=>{let m={...a};return"multiSelect"===e&&(m.MultiValue=o,m.Option=t),g.default.createElement(C.default,k({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:m,options:r,placeholder:i,isDisabled:n,value:l,styles:c,onChange:d,isLoading:s,id:u,isClearable:p,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},f))},Ft=({CommonRenderedComponent:e,MultiValue:t,Option:l,type:a,id:o,styles:r,...i})=>{let n={...e};return"asyncMultiSelect"===a&&(n.MultiValue=t,n.Option=l),g.default.createElement(A.default,k({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:n,isMulti:"asyncMultiSelect"===a,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==a,isSearchable:!0,styles:r,menuShouldScrollIntoView:!1},i))};Ht.propTypes={label:b.default.string,labelStyle:b.default.object,optionArr:b.default.array,selectedValue:b.default.object,setSelectedValue:b.default.func,placeHolder:b.default.string,fontSize:b.default.number,clearSelected:b.default.func,loadOptions:b.default.func,onInputChange:b.default.func,customWrapperStyles:b.default.object,customLabelStyles:b.default.object,isRequired:b.default.bool,dropdownType:b.default.string,isDisabled:b.default.bool,isLoading:b.default.bool,isValid:b.default.bool,height:b.default.number,isClearable:b.default.bool,id:b.default.string,iconName:b.default.string,iconColor:b.default.string,iconSize:b.default.number,leftIcon:b.default.string,leftIconColor:b.default.string,leftIconSize:b.default.number,showIndicator:b.default.bool,backgroundColor:b.default.string,placeHolderColor:b.default.string,inputColor:b.default.string,menuListFooter:b.default.any,customSelectStyles:b.default.object},Ht.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0,customSelectStyles:{}};const qt=h.default.div`
1380
+ `,Dt=({getValue:e,children:t,...l})=>{const a=e().length;return g.default.createElement(c.components.ValueContainer,l,t,a>1&&g.default.createElement("span",{className:"text-more-alt"},"& ",a-1," more"))},Gt=({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:b,customLabelStyles:h,isRequired:y,dropdownType:x,isDisabled:v,isLoading:C,id:A,iconName:w,iconStyles:S,iconColor:E,iconSize:V,showIndicator:M,leftIcon:z,leftIconColor:B,leftIconSize:I,backgroundColor:L,placeHolderColor:P,indicatorBackgroundColor:T,inputColor:H,menuListFooter:j,customSelectStyles:F,errorMessage:q,...Z})=>{const O=l.useTheme()||R,D=e=>{const t={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},l=g.default.createElement("div",{style:{...t,backgroundColor:e?.data?.color??O.primary["primary-1"]}},g.default.createElement(N,{icon:"check-icon",color:"white"})),a=g.default.createElement("div",{style:{...t,backgroundColor:"#e0e7ff"}});return g.default.createElement(c.components.Option,e,g.default.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%"}},e.isSelected?l:a,g.default.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},G=({index:e,...t})=>{const l=t?.data?.label||"Select";return!e&&g.default.createElement("span",{className:"text-main-alt-value"},l)},X={control:(e,t)=>({...e,border:d?L&&d?"1px solid "+L:"1px solid "+O.border:"1px solid "+O.ui.error,minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:t.isDisabled?O.variant["neutral-5"]:L||O.additional.white}),placeholder:e=>({...e,fontSize:u+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:P||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:T||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,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",marginRight:0,display:"grid"}),multiValue:e=>({...e,marginLeft:"0px",width:"auto",display:"grid"}),input:e=>({...e,fontSize:u+"px",color:H||"hsl(0, 0%, 20%)",padding:0,margin:0}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?O.neutral["neutral-5"]:O.additional.white,padding:"10px",cursor:t.isDisabled?"not-allowed":"pointer",color:"#081348",opacity:t.isDisabled?.6:1,width:"inherit",boxSizing:"initial"}),menuPortal:e=>({...e,zIndex:99999999}),...F},J={DropdownIndicator:e=>{const t=g.default.createElement(c.components.DropdownIndicator,e,g.default.createElement(Ot,null,g.default.createElement(N,{icon:w,color:E,size:V,customstyles:S})));return!0===M?t:null},ValueContainer:Dt,IndicatorSeparator:()=>null,ClearIndicator:e=>g.default.createElement(c.components.ClearIndicator,e,n?g.default.createElement(Ot,{onClick:()=>{m(),e.clearValue()}},g.default.createElement(N,{icon:"cross-icon",color:"black",size:8})):null),MenuList:e=>{const{MenuListHeader:t=null,MenuListFooter:l=null}=e.selectProps.components;return g.default.createElement(c.components.MenuList,e,e.children.length&&t,e.children,e.children.length&&l)},MenuListFooter:j};let U=null;switch(x){case"multiSelect":U=g.default.createElement(Xt,k({type:"multiSelect",MultiValue:G,Option:D,value:o,CommonRenderedComponent:J,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:X,setSelectedValue:r,isLoading:C,id:A,isClearable:n},Z));break;case"asyncSingleSelect":U=g.default.createElement(Jt,k({CommonRenderedComponent:J,loadOptions:p,onInputChange:f,styles:X,placeholder:i,onChange:r,isLoading:C,isDisabled:v,id:A,value:o,isClearable:n},Z));break;case"asyncMultiSelect":U=g.default.createElement(Jt,k({type:"asyncMultiSelect",CommonRenderedComponent:J,MultiValue:G,Option:D,onChange:r,placeholder:i,styles:X,isDisabled:v,isLoading:C,loadOptions:p,onInputChange:f,id:A,isClearable:n},Z));break;default:U=g.default.createElement(Xt,k({type:"singleSelect",value:{value:o?o.value:"",label:o?o.label:""},CommonRenderedComponent:J,optionArr:a,placeHolder:i,isDisabled:v,stylesComp:X,setSelectedValue:r,isLoading:C,id:A,isClearable:n},Z))}return g.default.createElement(qt,{style:b,backgroundColor:L,isValid:d,fontSize:u,theme:O,isDisabled:v},e&&g.default.createElement(Zt,{inBuiltCss:W,labelWrapperStyle:"selectComp-label-wrapper",style:h},g.default.createElement(_e,{customStyles:t,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),y&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${O.ui.error}`}},"*")),U,!d&&q)},Xt=({type:e,Option:t,value:l,CommonRenderedComponent:a,MultiValue:o,optionArr:r,placeHolder:i,isDisabled:n,stylesComp:c,setSelectedValue:d,isLoading:s,id:u,isClearable:p,...f})=>{let m={...a};return"multiSelect"===e&&(m.MultiValue=o,m.Option=t),g.default.createElement(C.default,k({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:m,options:r,placeholder:i,isDisabled:n,value:l,styles:c,onChange:d,isLoading:s,id:u,isClearable:p,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},f))},Jt=({CommonRenderedComponent:e,MultiValue:t,Option:l,type:a,id:o,styles:r,...i})=>{let n={...e};return"asyncMultiSelect"===a&&(n.MultiValue=t,n.Option=l),g.default.createElement(A.default,k({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:n,isMulti:"asyncMultiSelect"===a,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==a,isSearchable:!0,styles:r,menuShouldScrollIntoView:!1},i))};Gt.propTypes={label:b.default.string,labelStyle:b.default.object,optionArr:b.default.array,selectedValue:b.default.object,setSelectedValue:b.default.func,placeHolder:b.default.string,fontSize:b.default.number,clearSelected:b.default.func,loadOptions:b.default.func,onInputChange:b.default.func,customWrapperStyles:b.default.object,customLabelStyles:b.default.object,isRequired:b.default.bool,dropdownType:b.default.string,isDisabled:b.default.bool,isLoading:b.default.bool,isValid:b.default.bool,height:b.default.number,isClearable:b.default.bool,id:b.default.string,iconName:b.default.string,iconColor:b.default.string,iconSize:b.default.number,leftIcon:b.default.string,leftIconColor:b.default.string,leftIconSize:b.default.number,showIndicator:b.default.bool,backgroundColor:b.default.string,placeHolderColor:b.default.string,inputColor:b.default.string,menuListFooter:b.default.any,customSelectStyles:b.default.object},Gt.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0,customSelectStyles:{}};const Ut=h.default.div`
1332
1381
  //Set the styles from the default styles object
1333
1382
  ${({inBuiltCss:e,defaultStyles:t})=>P(e,t)}
1334
1383
 
@@ -1345,15 +1394,15 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1345
1394
 
1346
1395
  // custom styles
1347
1396
  ${({customDropzoneStyles:e})=>e}
1348
- `,Zt=h.default.div`
1397
+ `,Yt=h.default.div`
1349
1398
  //Set the styles from the default styles object
1350
1399
  ${({inBuiltCss:e,defaultStyles:t})=>P(e,t)}
1351
1400
 
1352
1401
  // custom styles
1353
1402
  ${({customFileStyles:e})=>e}
1354
- `,Ot=h.default.input`
1403
+ `,Nt=h.default.input`
1355
1404
  display: none;
1356
- `,Dt=h.default.div`
1405
+ `,Qt=h.default.div`
1357
1406
  //Set the styles from the default styles object
1358
1407
  ${({inBuiltCss:e,defaultStyles:t})=>P(e,t)}
1359
1408
 
@@ -1365,18 +1414,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1365
1414
 
1366
1415
  // custom styles
1367
1416
  ${({customFileNameStyles:e})=>e}
1368
- `;const Gt=h.default.div`
1417
+ `;const Kt=h.default.div`
1369
1418
  padding-left: 1px;
1370
1419
  margin-left: auto;
1371
1420
  margin-right: 10px;
1372
1421
  display: flex;
1373
1422
  justify-content: center;
1374
- `,Xt=h.default.div`
1423
+ `,$t=h.default.div`
1375
1424
  margin-left: 11px;
1376
1425
  padding-left: 2px;
1377
1426
  display: flex;
1378
1427
  justify-content: center;
1379
- `,Jt=h.default.div`
1428
+ `,_t=h.default.div`
1380
1429
  color: #494949;
1381
1430
  margin-left: 11px;
1382
1431
  padding-left: 2px;
@@ -1387,9 +1436,9 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1387
1436
  align-items: center;
1388
1437
  margin: 20px 0px;
1389
1438
  font-size: 14px;
1390
- `;const Ut=({label:e,labelStyle:a,labelInline:o,required:r,message:i,fileArr:n,setFileArr:c,deleteFile:d,customDropzoneStyles:s,customFileStyles:u,customTextStyles:p,customFileNameStyles:f,backgroundColor:m,singleFile:b,messageSize:h,showSupportedFormats:y,file_extensions:x,maxFilesAmount:v,minFilesAmount:C,fileSizeLimit:A,fileSizeNamingConvention:w,errorMessages:S,suggesionMessage:E,MessagelabelStyle:V,dropValid:z,setDropValid:M,dropzoneContent:B,dropIcon:I,iconColor:L,id:P,customTooltipContentStyle:T,customStylesTPArightBefore:H,customStylesTPArightAfter:j,...F})=>{const q=l.useTheme()||R,[Z,O]=t.useState(!1),D=t.createRef(),[G,X]=t.useState(z),[J,U]=t.useState("");let Y;var Q=x;let K=new Map(Q.map((e=>[e.toLowerCase(),e])));K=Array.from(K.values()).join(", ");var $=!1,_=y?"All file formats cannot be used with the files you provided.":"",ee="";1==b&&(C=1,v=1);var te="Please upload (min."+C+" to max."+v+")files",le=e=>{ee="";let t=[];var l=0,a=n.length;if(a+e.length<C||a+e.length>v){var o=`Please upload (minimum ${C} to maximum ${v} files)`;ee=S?.amount,ee=void 0!==ee?ee:o}for(const e of n)e.size&&(l+=e.size);if(""==ee)for(const[a,n]of Object.entries(e)){$=!0,n.name,l+=n.size;var r=n.name.split(".");r=r[r.length-1],$=Q.includes(r.toLowerCase());var i=1024;("MB"===w||"GB"===w||"TB"===w)&&(i*=1024);var c=l/i;if(!1===$&&(ee=S?.format,ee=ee||_),c>A&&$){$=!1;o="The file(s) must be under "+A+" "+w;ee=S?.size,ee=void 0!==ee?ee:o}$&&(Y=URL.createObjectURL(n),n.path=Y,t.push(n))}return ee.length>0?(M(!1),X(z),U(ee)):(M(!0),X(z),U("")),t};function ae(e){e.preventDefault(),e.stopPropagation()}function oe(e,t){let l=[...n,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),c(l),O(!1),l}function re(e,t){if(e instanceof File){const t=n.findIndex((t=>t.name===e.name));let l=n[t].path;URL.revokeObjectURL(l);const a=n.filter((t=>t.name!==e.name));c(a)}else!function(e,t){const l=n.filter((t=>t.name!==e.name));c(l),d(e)}(e)}const ie=g.default.createElement("div",null,K);return g.default.createElement("div",null,g.default.createElement("div",{style:{display:"flex",width:"inherit"}},g.default.createElement(_e,k({customStyles:a,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:`${o?0:"8px"}`,paddingBottom:"0px"}},F)),r&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${q.variant.error}`}},"*")),g.default.createElement(qt,{theme:q,inBuiltCss:W,defaultStyles:"dropzone-parent",backgroundColor:m,customDropzoneStyles:z?s:{},onDragLeave:function(e){ae(e),O(!1)},onDragOver:function(e){ae(e),O(!0)},onDrop:function(e){ae(e);const{files:t}=e.dataTransfer;var l=le(t);O(!0),F.onFilesAdded(oe(l,b))},onClick:function(){D.current.click()},hover:Z,dropValid:z,fileArr:n},g.default.createElement(Ot,k({ref:D,valid:G,dropValid:z,type:"file",id:P,multiple:!b,onChange:function(e){let{files:t}=e.target;O(!1);var l=le(t);l&&F.onFilesAdded(oe(l,b))},onClick:e=>e.target.value=null},F)),z?g.default.createElement(g.default.Fragment,null,I?g.default.createElement(N,{icon:I,color:Z?q.additional.white:L,size:24}):g.default.createElement(N,{icon:"file-upload",color:Z?q.additional.white:q.primary["primary-1"],size:24})):null,g.default.createElement(Dt,{dropValid:z,valid:G,hover:Z,backgroundColor:m,customTextStyles:p,inBuiltCss:W,defaultStyles:"dropzone-text-div"},z?g.default.createElement(g.default.Fragment,null,B?g.default.createElement("div",{style:{color:Z?q.additional.white:null}},B):g.default.createElement("div",null,g.default.createElement("span",{style:{color:Z?q.additional.white:q.primary["primary-1"]}},"Choose a file"," "),g.default.createElement("span",{style:{color:Z?q.additional.white:q.neutral["neutral-2"]}},"or"," "),g.default.createElement("span",{style:{color:Z?q.additional.white:q.additional["text-color"]}},"drag ",b?"it":"them"," here"))):g.default.createElement("div",null,g.default.createElement("span",{style:{color:q.variant.error}},"Try again!!"," "),g.default.createElement("span",{style:{color:q.additional["text-color"]}},J||i)))),J===_||S.format?g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({themeColor:R,customStyles:V,type:"label-text",labelInline:o,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},F)),g.default.createElement(Je,{contentTrigger:g.default.createElement("span",{style:{cursor:"pointer"}},"Click here to view the supported file types"),headerTooltip:"",contentTooltip:ie,footerTooltip:"",popperOptionsP:{placement:"bottom"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:q.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:T,customStylesTPArightBefore:H,customStylesTPArightAfter:j})):"The file size is not uploaded"===J?g.default.createElement(_e,k({themeColor:R,customStyles:V,type:"label-text",labelInline:o,text:te,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},F)):"",n?.map(((e,t)=>g.default.createElement(Zt,{inBuiltCss:W,defaultStyles:"dropzone-file-div",key:`${e}-${t}`,customFileStyles:u},g.default.createElement(Xt,null,g.default.createElement(N,{icon:"file-icon",color:q.primary["primary-1"]})),(File,g.default.createElement("a",{style:{color:q.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),g.default.createElement(Jt,null,e?.otherInfo),g.default.createElement(Gt,{key:101*Math.random()|0},g.default.createElement("div",{style:{marginRight:"7px"}},g.default.createElement(N,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:q.primary["primary-1"]})),g.default.createElement(N,{icon:"cross-icon",color:q.neutral["neutral-2"],size:13,onClick:()=>re(e),customstyles:{cursor:"pointer"}}))))))};Ut.propTypes={onFilesAdded:b.default.func,dropValid:b.default.bool,setDropValid:b.default.func,message:b.default.string,fileArr:b.default.array,setFileArr:b.default.func,customDropzoneStyles:b.default.object,customFileStyles:b.default.object,customTextStyles:b.default.object,customFileNameStyles:b.default.object,backgroundColor:b.default.string,messageSize:b.default.number,maxFilesAmount:b.default.number,minFilesAmount:b.default.number,fileSizeLimit:b.default.number,fileSizeNamingConvention:b.default.string,showSupportedFormats:b.default.bool,file_extensions:b.default.array,errorMessages:b.default.object,suggesionMessage:b.default.any,MessagelabelStyle:b.default.object,id:b.default.string,dropzoneContent:b.default.any,dropIcon:b.default.string,iconColor:b.default.string,singleFile:b.default.bool,customTooltipContentStyle:b.default.object,customStylesTPArightBefore:b.default.object,customStylesTPArightAfter:b.default.object},Ut.defaultProps={onFilesAdded:()=>null,dropValid:!0,message:"",fileArr:[],setFileArr:()=>{},customDropzoneStyles:{},customFileStyles:{},customTextStyles:{},customFileNameStyles:{},messageSize:100,additionalText:"",maxFilesAmount:5,minFilesAmount:1,fileSizeLimit:10,fileSizeNamingConvention:"MB",showSupportedFormats:!0,file_extensions:["doc","docx","jpg","JPG","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const Yt=l.css`
1439
+ `;const el=({label:e,labelStyle:a,labelInline:o,required:r,message:i,fileArr:n,setFileArr:c,deleteFile:d,customDropzoneStyles:s,customFileStyles:u,customTextStyles:p,customFileNameStyles:f,backgroundColor:m,singleFile:b,messageSize:h,showSupportedFormats:y,file_extensions:x,maxFilesAmount:v,minFilesAmount:C,fileSizeLimit:A,fileSizeNamingConvention:w,errorMessages:S,suggesionMessage:E,MessagelabelStyle:V,dropValid:M,setDropValid:z,dropzoneContent:B,dropIcon:I,iconColor:L,id:P,customTooltipContentStyle:T,customStylesTPArightBefore:H,customStylesTPArightAfter:j,...F})=>{const q=l.useTheme()||R,[Z,O]=t.useState(!1),D=t.createRef(),[G,X]=t.useState(M),[J,U]=t.useState("");let Y;var Q=x;let K=new Map(Q.map((e=>[e.toLowerCase(),e])));K=Array.from(K.values()).join(", ");var $=!1,_=y?"All file formats cannot be used with the files you provided.":"",ee="";1==b&&(C=1,v=1);var te="Please upload (min."+C+" to max."+v+")files",le=e=>{ee="";let t=[];var l=n.length;if(l+e.length<C||l+e.length>v){var a=`Please upload (minimum ${C} to maximum ${v} files)`;ee=S?.amount,ee=void 0!==ee?ee:a}if(""==ee)for(const[l,i]of Object.entries(e)){$=!0,i.name;let e=i.size,l=i.name.split(".");l=l[l.length-1],$=Q.includes(l.toLowerCase());var o=1024;("MB"===w||"GB"===w||"TB"===w)&&(o*=1024);var r=e/o;if(!1===$&&(ee=S?.format,ee=ee||_),r>A&&$){$=!1;a="Each file must be under "+A+" "+w;ee=S?.size,ee=void 0!==ee?ee:a}$&&(Y=URL.createObjectURL(i),i.path=Y,t.push(i))}return ee.length>0?(z(!1),X(M),U(ee)):(z(!0),X(M),U("")),t};function ae(e){e.preventDefault(),e.stopPropagation()}function oe(e,t){let l=[...n,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),c(l),O(!1),l}function re(e,t){if(e instanceof File){const t=n.findIndex((t=>t.name===e.name));let l=n[t].path;URL.revokeObjectURL(l);const a=n.filter((t=>t.name!==e.name));c(a)}else!function(e,t){const l=n.filter((t=>t.name!==e.name));c(l),d(e)}(e)}const ie=g.default.createElement("div",null,K);return g.default.createElement("div",null,g.default.createElement("div",{style:{display:"flex",width:"inherit"}},g.default.createElement(_e,k({customStyles:a,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:`${o?0:"8px"}`,paddingBottom:"0px"}},F)),r&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${q.variant.error}`}},"*")),g.default.createElement(Ut,{theme:q,inBuiltCss:W,defaultStyles:"dropzone-parent",backgroundColor:m,customDropzoneStyles:M?s:{},onDragLeave:function(e){ae(e),O(!1)},onDragOver:function(e){ae(e),O(!0)},onDrop:function(e){ae(e);const{files:t}=e.dataTransfer;var l=le(t);O(!0),F.onFilesAdded(oe(l,b))},onClick:function(){D.current.click()},hover:Z,dropValid:M,fileArr:n},g.default.createElement(Nt,k({ref:D,valid:G,dropValid:M,type:"file",id:P,multiple:!b,onChange:function(e){let{files:t}=e.target;O(!1);var l=le(t);l&&F.onFilesAdded(oe(l,b))},onClick:e=>e.target.value=null},F)),M?g.default.createElement(g.default.Fragment,null,I?g.default.createElement(N,{icon:I,color:Z?q.additional.white:L,size:24}):g.default.createElement(N,{icon:"file-upload",color:Z?q.additional.white:q.primary["primary-1"],size:24})):null,g.default.createElement(Qt,{dropValid:M,valid:G,hover:Z,backgroundColor:m,customTextStyles:p,inBuiltCss:W,defaultStyles:"dropzone-text-div"},M?g.default.createElement(g.default.Fragment,null,B?g.default.createElement("div",{style:{color:Z?q.additional.white:null}},B):g.default.createElement("div",null,g.default.createElement("span",{style:{color:Z?q.additional.white:q.primary["primary-1"]}},"Choose a file"," "),g.default.createElement("span",{style:{color:Z?q.additional.white:q.neutral["neutral-2"]}},"or"," "),g.default.createElement("span",{style:{color:Z?q.additional.white:q.additional["text-color"]}},"drag ",b?"it":"them"," here"))):g.default.createElement("div",null,g.default.createElement("span",{style:{color:q.variant.error}},"Try again!!"," "),g.default.createElement("span",{style:{color:q.additional["text-color"]}},J||i)))),J===_||S.format?g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({themeColor:R,customStyles:V,type:"label-text",labelInline:o,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},F)),g.default.createElement(Je,{contentTrigger:g.default.createElement("span",{style:{cursor:"pointer"}},"Click here to view the supported file types"),headerTooltip:"",contentTooltip:ie,footerTooltip:"",popperOptionsP:{placement:"bottom"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:q.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:T,customStylesTPArightBefore:H,customStylesTPArightAfter:j})):"The file size is not uploaded"===J?g.default.createElement(_e,k({themeColor:R,customStyles:V,type:"label-text",labelInline:o,text:te,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},F)):"",n?.map(((e,t)=>g.default.createElement(Yt,{inBuiltCss:W,defaultStyles:"dropzone-file-div",key:`${e}-${t}`,customFileStyles:u},g.default.createElement($t,null,g.default.createElement(N,{icon:"file-icon",color:q.primary["primary-1"]})),(File,g.default.createElement("a",{style:{color:q.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),g.default.createElement(_t,null,e?.otherInfo),g.default.createElement(Kt,{key:101*Math.random()|0},g.default.createElement("div",{style:{marginRight:"7px"}},g.default.createElement(N,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:q.primary["primary-1"]})),g.default.createElement(N,{icon:"cross-icon",color:q.neutral["neutral-2"],size:13,onClick:()=>re(e),customstyles:{cursor:"pointer"}}))))))};el.propTypes={onFilesAdded:b.default.func,dropValid:b.default.bool,setDropValid:b.default.func,message:b.default.string,fileArr:b.default.array,setFileArr:b.default.func,customDropzoneStyles:b.default.object,customFileStyles:b.default.object,customTextStyles:b.default.object,customFileNameStyles:b.default.object,backgroundColor:b.default.string,messageSize:b.default.number,maxFilesAmount:b.default.number,minFilesAmount:b.default.number,fileSizeLimit:b.default.number,fileSizeNamingConvention:b.default.string,showSupportedFormats:b.default.bool,file_extensions:b.default.array,errorMessages:b.default.object,suggesionMessage:b.default.any,MessagelabelStyle:b.default.object,id:b.default.string,dropzoneContent:b.default.any,dropIcon:b.default.string,iconColor:b.default.string,singleFile:b.default.bool,customTooltipContentStyle:b.default.object,customStylesTPArightBefore:b.default.object,customStylesTPArightAfter:b.default.object},el.defaultProps={onFilesAdded:()=>null,dropValid:!0,message:"",fileArr:[],setFileArr:()=>{},customDropzoneStyles:{},customFileStyles:{},customTextStyles:{},customFileNameStyles:{},messageSize:100,additionalText:"",maxFilesAmount:5,minFilesAmount:1,fileSizeLimit:10,fileSizeNamingConvention:"MB",showSupportedFormats:!0,file_extensions:["doc","docx","jpg","JPG","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const tl=l.css`
1391
1440
  pointer-events: none;
1392
- `,Nt=h.default.input`
1441
+ `,ll=h.default.input`
1393
1442
  background-color: transparent;
1394
1443
  width: 100%;
1395
1444
  white-space: nowrap;
@@ -1397,7 +1446,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1397
1446
  text-overflow: ellipsis;
1398
1447
  border-color: transparent;
1399
1448
  cursor: ${({isDisabled:e})=>e?"not-allowed":"default"};
1400
- ${({readOnly:e})=>e?Yt:null}
1449
+ ${({readOnly:e})=>e?tl:null}
1401
1450
 
1402
1451
  &:focus-visible {
1403
1452
  outline: none;
@@ -1405,30 +1454,30 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1405
1454
 
1406
1455
  // custom styles
1407
1456
  ${({inputStyle:e})=>e}
1408
- `,Qt=h.default.div`
1457
+ `,al=h.default.div`
1409
1458
  display: flex;
1410
1459
  width: 100%;
1411
1460
 
1412
1461
  // custom styles
1413
1462
  ${({inputContainerStyle:e})=>e}
1414
- `,Kt=l.css`
1463
+ `,ol=l.css`
1415
1464
  display: flex;
1416
1465
  align-items: end;
1417
- `,$t=h.default.div`
1466
+ `,rl=h.default.div`
1418
1467
  width: 100%;
1419
- ${({labelInline:e})=>e?Kt:null}
1420
- `,_t=({labelProps:e,formProps:a,value:o,setValue:r,inputStyle:i,inputContainerStyle:n,isDisabled:c,required:d,...s})=>{const u=l.useTheme()||R,[p,f]=g.default.useState(!0),m=t.useRef(),b={label:"",labelStyle:{},...e},h={labelInline:!0,...a};return g.default.createElement($t,k({theme:u},h),g.default.createElement("div",{style:{display:"flex",marginRight:"16px"}},g.default.createElement(_e,k({style:{display:"flex",marginBottom:`${h?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"}},b))),g.default.createElement(Qt,k({theme:u,style:{borderBottom:""+(p?"none":"1px solid #BBC4CF")},inputContainerStyle:n,isDisabled:c},s),g.default.createElement(Nt,k({type:"text",value:o,readOnly:p,onChange:e=>{r(e.target.value)},ref:m,onBlur:()=>{f(!0)},theme:u},s,{inputStyle:i,isDisabled:c,disabled:c,onClick:e=>{}})),g.default.createElement(N,{icon:"edit-box",color:p||c?u.variant["neutral-2"]:u.variant["primary-1"],size:16,style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:c?"not-allowed":"pointer"},onClick:()=>{c||(f(!1),m.current.focus())}})))};_t.propTypes={value:b.default.any,setValue:b.default.func,isDisabled:b.default.bool,formProps:b.default.object,labelProps:b.default.object},_t.defaultProps={value:"",isDisabled:!1,setValue:()=>{}};const el=h.default.div`
1468
+ ${({labelInline:e})=>e?ol:null}
1469
+ `,il=({labelProps:e,formProps:a,value:o,setValue:r,inputStyle:i,inputContainerStyle:n,isDisabled:c,required:d,...s})=>{const u=l.useTheme()||R,[p,f]=g.default.useState(!0),m=t.useRef(),b={label:"",labelStyle:{},...e},h={labelInline:!0,...a};return g.default.createElement(rl,k({theme:u},h),g.default.createElement("div",{style:{display:"flex",marginRight:"16px"}},g.default.createElement(_e,k({style:{display:"flex",marginBottom:`${h?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"}},b))),g.default.createElement(al,k({theme:u,style:{borderBottom:""+(p?"none":"1px solid #BBC4CF")},inputContainerStyle:n,isDisabled:c},s),g.default.createElement(ll,k({type:"text",value:o,readOnly:p,onChange:e=>{r(e.target.value)},ref:m,onBlur:()=>{f(!0)},theme:u},s,{inputStyle:i,isDisabled:c,disabled:c,onClick:e=>{}})),g.default.createElement(N,{icon:"edit-box",color:p||c?u.variant["neutral-2"]:u.variant["primary-1"],size:16,style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:c?"not-allowed":"pointer"},onClick:()=>{c||(f(!1),m.current.focus())}})))};il.propTypes={value:b.default.any,setValue:b.default.func,isDisabled:b.default.bool,formProps:b.default.object,labelProps:b.default.object},il.defaultProps={value:"",isDisabled:!1,setValue:()=>{}};const nl=h.default.div`
1421
1470
  display: contents;
1422
1471
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1423
1472
 
1424
1473
  ${({WrapperDivStyle:e})=>e}
1425
- `,tl=h.default.input`
1474
+ `,cl=h.default.input`
1426
1475
  display: none;
1427
1476
  min-height: 100vh;
1428
1477
  padding: 0 0.5rem;
1429
1478
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1430
1479
 
1431
- `,ll=h.default.div`
1480
+ `,dl=h.default.div`
1432
1481
  height: 49px;
1433
1482
  width: 49px;
1434
1483
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white};
@@ -1440,7 +1489,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1440
1489
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1441
1490
 
1442
1491
  ${({IconWrapperStyle:e})=>e}
1443
- `,al=h.default.div`
1492
+ `,sl=h.default.div`
1444
1493
  // background-color: ${({theme:e})=>e.additional.white};
1445
1494
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white};
1446
1495
  width: 134px;
@@ -1482,7 +1531,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1482
1531
  }
1483
1532
  }
1484
1533
  ${({MainDivStyle:e})=>e};
1485
- `,ol=({image:e,setImage:a,WrapperDivStyle:o,MainDivStyle:r,IconWrapperStyle:i,iconSize:n,iconColor:c,isDisabled:d,id:s})=>{const[u,p]=t.useState(),f=t.useRef(),m=l.useTheme()||R,[b,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 C=e=>{e&&"image"===e.type.substr(0,5)?(x(!0),a(e)):x(!1)};return g.default.createElement(el,{onDragLeave:function(e){v(e),h(!1)},onDragOver:function(e){v(e),h(!0)},onDrop:function(e){v(e);const{files:t}=e.dataTransfer;C(t[0])},WrapperDivStyle:o,isDisabled:d},g.default.createElement(al,{isDisabled:d,theme:m,MainDivStyle:r,style:{backgroundImage:`url(${u})`},onClick:e=>{e.preventDefault(),f.current.click()}},!u&&g.default.createElement("div",{className:"icon-on-not-preview"},g.default.createElement(ll,{IconWrapperStyle:i,theme:m,isDisabled:d},g.default.createElement("img",{src:J,alt:"",height:"40px",width:"48px"}))),g.default.createElement("div",{className:"icon-on-preview"},g.default.createElement(ll,{IconWrapperStyle:i,isDisabled:d,theme:m},g.default.createElement(N,{icon:"camera-icon",size:n,color:c||m.variant["primary-1"]})))),g.default.createElement(tl,{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}))};ol.propTypes={image:b.default.any,setImage:b.default.func,WrapperDivStyle:b.default.object,MainDivStyle:b.default.object,IconWrapperStyle:b.default.object,iconSize:b.default.number},ol.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const rl=h.default.div`
1534
+ `,ul=({image:e,setImage:a,WrapperDivStyle:o,MainDivStyle:r,IconWrapperStyle:i,iconSize:n,iconColor:c,isDisabled:d,id:s})=>{const[u,p]=t.useState(),f=t.useRef(),m=l.useTheme()||R,[b,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 C=e=>{e&&"image"===e.type.substr(0,5)?(x(!0),a(e)):x(!1)};return g.default.createElement(nl,{onDragLeave:function(e){v(e),h(!1)},onDragOver:function(e){v(e),h(!0)},onDrop:function(e){v(e);const{files:t}=e.dataTransfer;C(t[0])},WrapperDivStyle:o,isDisabled:d},g.default.createElement(sl,{isDisabled:d,theme:m,MainDivStyle:r,style:{backgroundImage:`url(${u})`},onClick:e=>{e.preventDefault(),f.current.click()}},!u&&g.default.createElement("div",{className:"icon-on-not-preview"},g.default.createElement(dl,{IconWrapperStyle:i,theme:m,isDisabled:d},g.default.createElement("img",{src:J,alt:"",height:"40px",width:"48px"}))),g.default.createElement("div",{className:"icon-on-preview"},g.default.createElement(dl,{IconWrapperStyle:i,isDisabled:d,theme:m},g.default.createElement(N,{icon:"camera-icon",size:n,color:c||m.variant["primary-1"]})))),g.default.createElement(cl,{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}))};ul.propTypes={image:b.default.any,setImage:b.default.func,WrapperDivStyle:b.default.object,MainDivStyle:b.default.object,IconWrapperStyle:b.default.object,iconSize:b.default.number},ul.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const pl=h.default.div`
1486
1535
  border: 1px solid ${({theme:e})=>e.additional.border};
1487
1536
  border-radius: 4px;
1488
1537
  padding: 5.5px 12px;
@@ -1522,7 +1571,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1522
1571
  input[type='number'] {
1523
1572
  -moz-appearance: textfield;
1524
1573
  }
1525
- `,il=h.default.input`
1574
+ `,fl=h.default.input`
1526
1575
  width: 85%;
1527
1576
  border: 0;
1528
1577
  outline: 0;
@@ -1535,16 +1584,16 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1535
1584
 
1536
1585
  // custom styles
1537
1586
  ${({inputStyle:e})=>e}
1538
- `,nl=l.css`
1587
+ `,ml=l.css`
1539
1588
  display: flex;
1540
1589
  align-items: center;
1541
- `,cl=h.default.div`
1542
- ${({labelInline:e})=>e?nl:null}
1590
+ `,bl=h.default.div`
1591
+ ${({labelInline:e})=>e?ml:null}
1543
1592
 
1544
1593
  > div {
1545
1594
  flex: 1 0 auto;
1546
1595
  }
1547
- `,dl=({inputValue:e,inputStyle:t,onChange:a,id:o,labelProps:r})=>{const i=l.useTheme()||R;return g.default.createElement(cl,{labelInline:r?.labelInline},g.default.createElement(_e,k({style:{display:"flex",marginBottom:`${r?.labelInline?0:"8px"}`,marginRight:`${r?.labelInline?"8px":0}`,paddingBottom:"0px"}},r)),g.default.createElement("div",null,g.default.createElement(rl,{theme:i},g.default.createElement(il,{theme:i,inputStyle:t,value:e,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&a(t)},type:"number",id:o}))))};dl.propTypes={inputValue:b.default.any,inputStyle:b.default.object,id:b.default.string,labelProps:b.default.object,onChange:b.default.func},dl.defaultProps={inputStyle:{},inputValue:"",id:"",onChange:()=>{}};const sl=h.default.div`
1596
+ `,gl=({inputValue:e,inputStyle:t,onChange:a,id:o,labelProps:r})=>{const i=l.useTheme()||R;return g.default.createElement(bl,{labelInline:r?.labelInline},g.default.createElement(_e,k({style:{display:"flex",marginBottom:`${r?.labelInline?0:"8px"}`,marginRight:`${r?.labelInline?"8px":0}`,paddingBottom:"0px"}},r)),g.default.createElement("div",null,g.default.createElement(pl,{theme:i},g.default.createElement(fl,{theme:i,inputStyle:t,value:e,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&a(t)},type:"number",id:o}))))};gl.propTypes={inputValue:b.default.any,inputStyle:b.default.object,id:b.default.string,labelProps:b.default.object,onChange:b.default.func},gl.defaultProps={inputStyle:{},inputValue:"",id:"",onChange:()=>{}};const hl=h.default.div`
1548
1597
  background-color: ${({theme:e})=>e.additional.white};
1549
1598
 
1550
1599
  //Set the styles from the default styles object
@@ -1570,7 +1619,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1570
1619
 
1571
1620
  // custom styles
1572
1621
  ${({textBoxStyle:e})=>e}
1573
- `;sl.defaultProps={theme:R};const ul=h.default.input`
1622
+ `;hl.defaultProps={theme:R};const yl=h.default.input`
1574
1623
  width: 85%;
1575
1624
 
1576
1625
  //Set the styles from the default styles object
@@ -1582,18 +1631,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1582
1631
  .sc-furwcr bxRAoq {
1583
1632
  color: ${({theme:e})=>e.variant["neutral-3"]};
1584
1633
  }
1585
- `,pl=l.css`
1634
+ `,xl=l.css`
1586
1635
  display: flex;
1587
1636
  gap: 7px;
1588
1637
  align-items: flex-start;
1589
- `,fl=h.default.div`
1590
- ${({labelInline:e})=>e?pl:null}
1638
+ `,vl=h.default.div`
1639
+ ${({labelInline:e})=>e?xl:null}
1591
1640
  .err-text {
1592
1641
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1593
1642
  margin-top: 5px;
1594
1643
  font-size: 10px;
1595
1644
  }
1596
- `,ml=({passwordRules:e,textBoxStyle:a,labelStyle:o,inputStyle:r,errMsg:i,required:n,label:c,labelInline:d,isValid:s,rulesStyle:u,id:p,showHideIcon:f,errMsgColor:m,...b})=>{const[h,y]=t.useState("password"),x=l.useTheme()||R;return g.default.createElement(fl,k({labelInline:d,inBuiltCss:W,errMsgColor:m,theme:x},b),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({customStyles:o,type:"label-text",text:c,errMsg:i,style:{display:"flex",marginBottom:`${d?0:"8px"}`,paddingBottom:"0px"}},b)),n&&g.default.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),g.default.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start"}},g.default.createElement("div",{style:{width:"100%"}},g.default.createElement(sl,k({required:n,theme:x,textBoxStyle:a,isValid:s,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:W},b),g.default.createElement(ul,k({},b,{inputStyle:r,type:h,id:p,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:W})),!0===f?g.default.createElement("div",{className:"input-icon",onClick:()=>y("password"===h?"text":"password"),style:{position:"absolute",right:"7px"}},g.default.createElement(N,{icon:"text"===h?"eye-show":"eye-hide"})):""),i.length>0&&g.default.createElement("div",{className:"err-text"},i)),e?g.default.createElement("div",{style:{...u,marginLeft:"5px"}},e):""))};ml.propTypes={inBuiltCss:b.default.object,theme:b.default.object,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,textBoxStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,rulesStyle:b.default.object,id:b.default.string,showHideIcon:b.default.bool},ml.defaultProps={inBuiltCss:W,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const bl=h.default.div`
1645
+ `,Cl=({passwordRules:e,textBoxStyle:a,labelStyle:o,inputStyle:r,errMsg:i,required:n,label:c,labelInline:d,isValid:s,rulesStyle:u,id:p,showHideIcon:f,errMsgColor:m,...b})=>{const[h,y]=t.useState("password"),x=l.useTheme()||R;return g.default.createElement(vl,k({labelInline:d,inBuiltCss:W,errMsgColor:m,theme:x},b),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({customStyles:o,type:"label-text",text:c,errMsg:i,style:{display:"flex",marginBottom:`${d?0:"8px"}`,paddingBottom:"0px"}},b)),n&&g.default.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),g.default.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start"}},g.default.createElement("div",{style:{width:"100%"}},g.default.createElement(hl,k({required:n,theme:x,textBoxStyle:a,isValid:s,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:W},b),g.default.createElement(yl,k({},b,{inputStyle:r,type:h,id:p,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:W})),!0===f?g.default.createElement("div",{className:"input-icon",onClick:()=>y("password"===h?"text":"password"),style:{position:"absolute",right:"7px"}},g.default.createElement(N,{icon:"text"===h?"eye-show":"eye-hide"})):""),i.length>0&&g.default.createElement("div",{className:"err-text"},i)),e?g.default.createElement("div",{style:{...u,marginLeft:"5px"}},e):""))};Cl.propTypes={inBuiltCss:b.default.object,theme:b.default.object,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,textBoxStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,rulesStyle:b.default.object,id:b.default.string,showHideIcon:b.default.bool},Cl.defaultProps={inBuiltCss:W,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const Al=h.default.div`
1597
1646
  box-sizing: initial;
1598
1647
 
1599
1648
  //Set the styles from the default styles object
@@ -1603,7 +1652,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1603
1652
 
1604
1653
  // custom styles
1605
1654
  ${({radioOuterCircleStyle:e})=>e}
1606
- `;bl.defaultProps={theme:R};const gl=h.default.div`
1655
+ `;Al.defaultProps={theme:R};const wl=h.default.div`
1607
1656
  box-sizing: initial;
1608
1657
 
1609
1658
  //Set the styles from the default styles object
@@ -1615,7 +1664,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1615
1664
 
1616
1665
  // custom styles
1617
1666
  ${({radioInnerCircleStyle:e})=>e}
1618
- `;gl.defaultProps={theme:R};const hl=h.default.div`
1667
+ `;wl.defaultProps={theme:R};const Sl=h.default.div`
1619
1668
  //Set the styles from the default styles object
1620
1669
  ${({inBuiltCss:e,defaultOptionStyle:t})=>P(e,t)}
1621
1670
  margin-right: ${({inline:e})=>e?"":"30px"};
@@ -1623,7 +1672,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1623
1672
 
1624
1673
  // custom styles
1625
1674
  ${({optionStyle:e})=>e}
1626
- `;hl.defaultProps={theme:R};const yl=h.default.div`
1675
+ `;Sl.defaultProps={theme:R};const El=h.default.div`
1627
1676
  margin-bottom: ${({inline:e})=>e?"":"14px"};
1628
1677
  cursor: pointer;
1629
1678
  align-items: center;
@@ -1632,11 +1681,11 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1632
1681
 
1633
1682
  // custom styles
1634
1683
  ${({WrapperDivStyle:e})=>e}
1635
- `,xl=h.default.div`
1684
+ `,kl=h.default.div`
1636
1685
  display: ${({inline:e})=>e?"flex":"inline-block"};
1637
1686
  width: max-content;
1638
1687
  margin: 0;
1639
- `,vl=({radioOuterCircleStyle:e,radioInnerCircleStyle:t,labelStyle:a,label:o,optionStyle:r,options:i,selectedCircleColor:n,selectedOptionTextColor:c,onChange:d,selected:s,width:u,height:p,inline:f,defaultBorderColor:m,defaultOptionColor:b,WrapperDivStyle:h,...y})=>{const x=l.useTheme()||R;return g.default.createElement("div",null,g.default.createElement(_e,{customStyles:a,type:"radio-label",text:o}),g.default.createElement(xl,{inline:f},i.map(((l,a)=>g.default.createElement(yl,{WrapperDivStyle:h,key:a+101*Math.random(),id:l.id,inline:f,onClick:()=>{!l?.disabled&&d(l.value)}},g.default.createElement(bl,{theme:x,inBuiltCss:W,defaultBorderColor:m,selectedCircleColor:n,radioOuterCircleStyle:{...e,cursor:l?.disabled?"not-allowed ":" pointer",borderColor:l?.disabled&&l?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:l.value,selected:s},g.default.createElement(gl,{inBuiltCss:W,theme:x,width:u,height:p,selectedCircleColor:n,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})),g.default.createElement(hl,{defaultOptionColor:b,optionStyle:{...r,cursor:l?.disabled?"not-allowed ":" pointer",color:l?.disabled&&l?.disabledColor},inBuiltCss:W,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!l?.disabled&&l.value===s},l.label))))))};vl.propTypes={label:b.default.string,labelStyle:b.default.object,inline:b.default.bool,options:b.default.array,optionStyle:b.default.object,WrapperDivStyle:b.default.object,selected:b.default.string,onChange:b.default.func,defaultOptionColor:b.default.string,defaultBorderColor:b.default.string,radioOuterCircleStyle:b.default.object,radioInnerCircleStyle:b.default.object,width:b.default.string,height:b.default.string,selectedCircleColor:b.default.string,selectedOptionTextColor:b.default.string},vl.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const Cl=h.default.div`
1688
+ `,Vl=({radioOuterCircleStyle:e,radioInnerCircleStyle:t,labelStyle:a,label:o,optionStyle:r,options:i,selectedCircleColor:n,selectedOptionTextColor:c,onChange:d,selected:s,width:u,height:p,inline:f,defaultBorderColor:m,defaultOptionColor:b,WrapperDivStyle:h,...y})=>{const x=l.useTheme()||R;return g.default.createElement("div",null,g.default.createElement(_e,{customStyles:a,type:"radio-label",text:o}),g.default.createElement(kl,{inline:f},i.map(((l,a)=>g.default.createElement(El,{WrapperDivStyle:h,key:a+101*Math.random(),id:l.id,inline:f,onClick:()=>{!l?.disabled&&d(l.value)}},g.default.createElement(Al,{theme:x,inBuiltCss:W,defaultBorderColor:m,selectedCircleColor:n,radioOuterCircleStyle:{...e,cursor:l?.disabled?"not-allowed ":" pointer",borderColor:l?.disabled&&l?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:l.value,selected:s},g.default.createElement(wl,{inBuiltCss:W,theme:x,width:u,height:p,selectedCircleColor:n,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})),g.default.createElement(Sl,{defaultOptionColor:b,optionStyle:{...r,cursor:l?.disabled?"not-allowed ":" pointer",color:l?.disabled&&l?.disabledColor},inBuiltCss:W,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!l?.disabled&&l.value===s},l.label))))))};Vl.propTypes={label:b.default.string,labelStyle:b.default.object,inline:b.default.bool,options:b.default.array,optionStyle:b.default.object,WrapperDivStyle:b.default.object,selected:b.default.string,onChange:b.default.func,defaultOptionColor:b.default.string,defaultBorderColor:b.default.string,radioOuterCircleStyle:b.default.object,radioInnerCircleStyle:b.default.object,width:b.default.string,height:b.default.string,selectedCircleColor:b.default.string,selectedOptionTextColor:b.default.string},Vl.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const Ml=h.default.div`
1640
1689
  background-color: ${({theme:e})=>e.additional.white};
1641
1690
 
1642
1691
  //Set the styles from the default styles object
@@ -1657,7 +1706,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1657
1706
  ${({textBoxStyle:e})=>e}
1658
1707
 
1659
1708
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white}
1660
- `,Al=h.default.input`
1709
+ `,zl=h.default.input`
1661
1710
  color: ${({theme:e})=>e.additional.black};
1662
1711
  width: 85%;
1663
1712
  white-space: nowrap;
@@ -1675,18 +1724,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1675
1724
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white}};
1676
1725
  cursor: ${({isDisabled:e})=>e?"not-allowed":"text"};
1677
1726
 
1678
- `,wl=l.css`
1727
+ `,Bl=l.css`
1679
1728
  display: flex;
1680
1729
  gap: 7px;
1681
1730
  align-items: center;
1682
- `,Sl=h.default.div`
1683
- ${({labelInline:e})=>e?wl:null}
1731
+ `,Il=h.default.div`
1732
+ ${({labelInline:e})=>e?Bl:null}
1684
1733
  .err-text {
1685
1734
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1686
1735
  margin-top: 5px;
1687
1736
  font-size: 10px;
1688
1737
  }
1689
- `,El=({textBoxStyle:e,labelStyle:t,inputStyle:a,errMsg:o,required:r,label:i,labelInline:n,iconBefore:c,iconAfter:d,isValid:s,type:u,isDisabled:p,id:f,errMsgColor:m,iconAfterStyle:b,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...C})=>{const A=l.useTheme()||R;return g.default.createElement(Sl,k({labelInline:n,theme:A,errMsgColor:m},C),g.default.createElement(_e,k({customStyles:t,type:"label-text",labelInline:n,text:i,errMsg:o,style:{display:"flex",marginBottom:`${n?0:"8px"}`,paddingBottom:"0px"},required:r},C)),g.default.createElement(Cl,k({required:r,isDisabled:p,theme:A,textBoxStyle:e,isValid:s,inBuiltCss:W,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},C),g.default.createElement("div",{className:"input-icon",style:{...h}},c),g.default.createElement(Al,k({inputStyle:a,type:u,theme:A,id:f,defaultInputStyle:"input-wrapper",isDisabled:p,disabled:p,ref:y,pattern:x},C)),g.default.createElement("div",{className:"input-icon",style:{...b}},d)),o.length>0&&g.default.createElement("div",{className:"err-text"},o))};El.propTypes={inBuiltCss:b.default.object,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,iconBefore:b.default.any,iconAfter:b.default.any,textBoxStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,type:b.default.string,isDisabled:b.default.bool,id:b.default.string,errMsgColor:b.default.string,iconAfterStyle:b.default.object,iconBeforeStyle:b.default.object,iconColorOnFocus:b.default.string},El.defaultProps={inBuiltCss:W,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const kl=({label:e,placeholder:t,handleSearch:l,searchInput:a,customStylesForm:o,customStyleObject:r,textBoxStyle:i,id:n,...c})=>g.default.createElement(El,k({iconAfter:g.default.createElement(N,{icon:"magnifier-icon"}),label:e,textBoxStyle:i,placeholder:t,ref:a,onChange:l,id:n},c)),Vl=h.default.div`
1738
+ `,Ll=({textBoxStyle:e,labelStyle:t,inputStyle:a,errMsg:o,required:r,label:i,labelInline:n,iconBefore:c,iconAfter:d,isValid:s,type:u,isDisabled:p,id:f,errMsgColor:m,iconAfterStyle:b,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...C})=>{const A=l.useTheme()||R;return g.default.createElement(Il,k({labelInline:n,theme:A,errMsgColor:m},C),g.default.createElement(_e,k({customStyles:t,type:"label-text",labelInline:n,text:i,errMsg:o,style:{display:"flex",marginBottom:`${n?0:"8px"}`,paddingBottom:"0px"},required:r},C)),g.default.createElement(Ml,k({required:r,isDisabled:p,theme:A,textBoxStyle:e,isValid:s,inBuiltCss:W,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},C),g.default.createElement("div",{className:"input-icon",style:{...h}},c),g.default.createElement(zl,k({inputStyle:a,type:u,theme:A,id:f,defaultInputStyle:"input-wrapper",isDisabled:p,disabled:p,ref:y,pattern:x},C)),g.default.createElement("div",{className:"input-icon",style:{...b}},d)),o.length>0&&g.default.createElement("div",{className:"err-text"},o))};Ll.propTypes={inBuiltCss:b.default.object,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,iconBefore:b.default.any,iconAfter:b.default.any,textBoxStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,type:b.default.string,isDisabled:b.default.bool,id:b.default.string,errMsgColor:b.default.string,iconAfterStyle:b.default.object,iconBeforeStyle:b.default.object,iconColorOnFocus:b.default.string},Ll.defaultProps={inBuiltCss:W,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const Rl=({label:e,placeholder:t,handleSearch:l,searchInput:a,customStylesForm:o,customStyleObject:r,textBoxStyle:i,id:n,...c})=>g.default.createElement(Ll,k({iconAfter:g.default.createElement(N,{icon:"magnifier-icon"}),label:e,textBoxStyle:i,placeholder:t,ref:a,onChange:l,id:n},c)),Wl=h.default.div`
1690
1739
  //Set the styles from the default styles object
1691
1740
  ${({inBuiltCss:e,defaultParentDivStyle:t})=>P(e,t)}
1692
1741
 
@@ -1695,7 +1744,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1695
1744
  &:focus-within {
1696
1745
  border-color: ${({activeColor:e,theme:t})=>e||t.primary["primary-1"]};
1697
1746
  }
1698
- `,zl=h.default.div`
1747
+ `,Pl=h.default.div`
1699
1748
  //Set the styles from the default styles object
1700
1749
  ${({inBuiltCss:e,defaultWrapperDivStyle:t})=>P(e,t)}
1701
1750
 
@@ -1707,7 +1756,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1707
1756
  border-left: ${({signIcon:e})=>e?"":"none"};
1708
1757
  margin-left: ${({signIcon:e})=>e?"":"42px"};
1709
1758
  position: ${({signIcon:e})=>e?"absolute":""};
1710
- `,Ml=h.default.div`
1759
+ `,Tl=h.default.div`
1711
1760
  width: 39px;
1712
1761
  height: 44px;
1713
1762
  display: flex;
@@ -1717,7 +1766,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1717
1766
  border-bottom: ${({penIcon:e,isMyInputFocused:t,activeColor:l,defaultColor:a,theme:o})=>e?t?`1px solid ${l||o.primary["primary-1"]}`:`1px solid ${a||o.neutral["neutral-3"]}`:""};
1718
1767
  background-color: rgba(255, 255, 255, 0.05);
1719
1768
  cursor: pointer;
1720
- `,Bl=h.default.input`
1769
+ `,Hl=h.default.input`
1721
1770
  ${({inBuiltCss:e,defaultInputStyle:t})=>P(e,t)}
1722
1771
 
1723
1772
  border-bottom: ${({value:e,defaultColor:t,theme:l})=>e.length>0?"none":t};
@@ -1741,17 +1790,17 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1741
1790
 
1742
1791
  // custom styles
1743
1792
  ${({customInputStyle:e})=>e}
1744
- `,Il=h.default.div`
1793
+ `,jl=h.default.div`
1745
1794
  position: relative;
1746
1795
  width: inherit;
1747
1796
  display: flex;
1748
1797
  margin: 4px;
1749
- `,Ll=h.default.div`
1798
+ `,Fl=h.default.div`
1750
1799
  padding-left: 2px;
1751
1800
  display: flex;
1752
1801
  justify-content: center;
1753
1802
  cursor: pointer;
1754
- `,Rl=({onChange:e,activeColor:a,defaultColor:o,placeholderColor:r,placeholderText:i,customInputStyle:n,pointsArray:c,setPointsArray:d,value:s,setValue:u,valueForSignatureDrawing:p,setValueForSignatureDrawing:f,imageURL:m,setImageURL:b,id:h,...y})=>{const x=l.useTheme()||R,[v,C]=t.useState("default"),[A,S]=t.useState(!1),[E,k]=t.useState(!1),V=t.useRef(null);t.useEffect((()=>{E&&(M(),f(V.current))}),[!0===E]);const z=()=>{u(""),f(V.current),V.current&&V.current.clear(),S(!1),k(!1)},M=()=>(d(V.current.toData()),b(V.current.toDataURL("image/png")),[m,c]);return g.default.createElement(Vl,{inBuiltCss:W,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:A,selected:v,activeColor:a,defaultColor:o,theme:x},g.default.createElement(zl,{inBuiltCss:W,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,selected:v,isMyInputFocused:A,signIcon:!0,theme:x},g.default.createElement(Ml,{activeColor:a,defaultColor:o,isMyInputFocused:A,theme:x,penIcon:!0,onClick:()=>{C("default"),z()}},g.default.createElement(N,{icon:"pen-icon",color:"default"===v?a||x.primary["primary-1"]:x.additional.black})),g.default.createElement(Ml,{activeColor:a,defaultColor:o,theme:x,isMyInputFocused:A,penIcon:!1,onClick:()=>{C("sign"),z()}},g.default.createElement(N,{icon:"sign-icon",color:"default"!==v?a||x.primary["primary-1"]:x.additional.black}))),g.default.createElement(zl,{inBuiltCss:W,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,theme:x,selected:v,isMyInputFocused:A,signIcon:!1,onTouchStart:()=>{}},"default"===v?g.default.createElement(Bl,{inBuiltCss:W,defaultInputStyle:"signature-input-text",placeholder:i,placeholderColor:r,customInputStyle:n,onBlur:()=>S(!1),onFocus:()=>S(!0),id:h,value:s,defaultColor:o,theme:x,onChange:e=>u(e.target.value)}):g.default.createElement(Il,{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),onClick:()=>{k(!0),M()}},g.default.createElement(w.default,{ref:V,id:h,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(s||E)&&g.default.createElement(Ll,{selected:v,onClick:()=>z()},g.default.createElement(N,{icon:"cross-icon",color:o||x.neutral["neutral-3"]}))))};Rl.propTypes={activeColor:b.default.string,defaultColor:b.default.string,placeholderColor:b.default.string,placeholderText:b.default.string,customInputStyle:b.default.object,pointsArray:b.default.any,setPointsArray:b.default.func,value:b.default.string,setValue:b.default.func,imageURL:b.default.string,setImageURL:b.default.func,id:b.default.string},Rl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const Wl=h.default.div`
1803
+ `,ql=({onChange:e,activeColor:a,defaultColor:o,placeholderColor:r,placeholderText:i,customInputStyle:n,pointsArray:c,setPointsArray:d,value:s,setValue:u,valueForSignatureDrawing:p,setValueForSignatureDrawing:f,imageURL:m,setImageURL:b,id:h,...y})=>{const x=l.useTheme()||R,[v,C]=t.useState("default"),[A,S]=t.useState(!1),[E,k]=t.useState(!1),V=t.useRef(null);t.useEffect((()=>{E&&(z(),f(V.current))}),[!0===E]);const M=()=>{u(""),f(V.current),V.current&&V.current.clear(),S(!1),k(!1)},z=()=>(d(V.current.toData()),b(V.current.toDataURL("image/png")),[m,c]);return g.default.createElement(Wl,{inBuiltCss:W,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:A,selected:v,activeColor:a,defaultColor:o,theme:x},g.default.createElement(Pl,{inBuiltCss:W,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,selected:v,isMyInputFocused:A,signIcon:!0,theme:x},g.default.createElement(Tl,{activeColor:a,defaultColor:o,isMyInputFocused:A,theme:x,penIcon:!0,onClick:()=>{C("default"),M()}},g.default.createElement(N,{icon:"pen-icon",color:"default"===v?a||x.primary["primary-1"]:x.additional.black})),g.default.createElement(Tl,{activeColor:a,defaultColor:o,theme:x,isMyInputFocused:A,penIcon:!1,onClick:()=>{C("sign"),M()}},g.default.createElement(N,{icon:"sign-icon",color:"default"!==v?a||x.primary["primary-1"]:x.additional.black}))),g.default.createElement(Pl,{inBuiltCss:W,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,theme:x,selected:v,isMyInputFocused:A,signIcon:!1,onTouchStart:()=>{}},"default"===v?g.default.createElement(Hl,{inBuiltCss:W,defaultInputStyle:"signature-input-text",placeholder:i,placeholderColor:r,customInputStyle:n,onBlur:()=>S(!1),onFocus:()=>S(!0),id:h,value:s,defaultColor:o,theme:x,onChange:e=>u(e.target.value)}):g.default.createElement(jl,{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),onClick:()=>{k(!0),z()}},g.default.createElement(w.default,{ref:V,id:h,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(s||E)&&g.default.createElement(Fl,{selected:v,onClick:()=>M()},g.default.createElement(N,{icon:"cross-icon",color:o||x.neutral["neutral-3"]}))))};ql.propTypes={activeColor:b.default.string,defaultColor:b.default.string,placeholderColor:b.default.string,placeholderText:b.default.string,customInputStyle:b.default.object,pointsArray:b.default.any,setPointsArray:b.default.func,value:b.default.string,setValue:b.default.func,imageURL:b.default.string,setImageURL:b.default.func,id:b.default.string},ql.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const Zl=h.default.div`
1755
1804
  background-color: ${({theme:e})=>e.additional.white};
1756
1805
  //Set the styles from the default styles object
1757
1806
  ${({inBuiltCss:e,defaultWrapperStyle:t})=>P(e,t)}
@@ -1773,19 +1822,19 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1773
1822
 
1774
1823
  // custom styles
1775
1824
  ${({textAreaStyle:e})=>e}
1776
- `,Pl=h.default.textarea`
1825
+ `,Ol=h.default.textarea`
1777
1826
  //Set the styles from the default styles object
1778
1827
  ${({inBuiltCss:e,defaultInputStyle:t})=>P(e,t)}
1779
1828
  margin: 0;
1780
1829
  overflow: auto;
1781
1830
  resize: vertical // custom styles
1782
1831
  ${({inputStyle:e})=>e};
1783
- `,Tl=l.css`
1832
+ `,Dl=l.css`
1784
1833
  display: flex;
1785
1834
  gap: 7px;
1786
1835
  align-items: center;
1787
- `,Hl=h.default.div`
1788
- ${({labelInline:e})=>e?Tl:null}
1836
+ `,Gl=h.default.div`
1837
+ ${({labelInline:e})=>e?Dl:null}
1789
1838
  ${({customStylesForm:e})=>{if(e)return{...e}}}
1790
1839
  position: relative;
1791
1840
  .err-text {
@@ -1793,7 +1842,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1793
1842
  margin-top: 5px;
1794
1843
  font-size: 10px;
1795
1844
  }
1796
- `,jl=g.default.forwardRef((({customStylesForm:e,textAreaStyle:t,labelStyle:a,inputStyle:o,errMsg:r,required:i,label:n,labelInline:c,iconBefore:d,iconAfter:s,isValid:u,rows:p,cols:f,id:m,...b},h)=>{const y=l.useTheme()||R;return g.default.createElement(Hl,k({labelInline:c,customStylesForm:e,theme:y},b),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({customStyles:a,type:"label-text",labelInline:c,text:n,errMsg:r,style:{display:"flex",marginBottom:`${c?0:"8px"}`,paddingBottom:"0px"}},b)),i&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),g.default.createElement(Wl,k({theme:y,required:i,textAreaStyle:t,isValid:u,inBuiltCss:W,defaultWrapperStyle:"textbox-wrapper"},b),g.default.createElement("div",{className:"input-icon"},d),g.default.createElement(Pl,k({ref:h,inputStyle:o,defaultInputStyle:"textarea-wrapper",cols:f,rows:p,inBuiltCss:W,id:m},b,{size:"1"})),g.default.createElement("div",{className:"input-icon"},s)),g.default.createElement("div",{className:"err-text"},r))}));jl.propTypes={rows:b.default.number,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,iconBefore:b.default.any,iconAfter:b.default.any,textAreaStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,id:b.default.string},jl.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const Fl=h.default.div`
1845
+ `,Xl=g.default.forwardRef((({customStylesForm:e,textAreaStyle:t,labelStyle:a,inputStyle:o,errMsg:r,required:i,label:n,labelInline:c,iconBefore:d,iconAfter:s,isValid:u,rows:p,cols:f,id:m,...b},h)=>{const y=l.useTheme()||R;return g.default.createElement(Gl,k({labelInline:c,customStylesForm:e,theme:y},b),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(_e,k({customStyles:a,type:"label-text",labelInline:c,text:n,errMsg:r,style:{display:"flex",marginBottom:`${c?0:"8px"}`,paddingBottom:"0px"}},b)),i&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),g.default.createElement(Zl,k({theme:y,required:i,textAreaStyle:t,isValid:u,inBuiltCss:W,defaultWrapperStyle:"textbox-wrapper"},b),g.default.createElement("div",{className:"input-icon"},d),g.default.createElement(Ol,k({ref:h,inputStyle:o,defaultInputStyle:"textarea-wrapper",cols:f,rows:p,inBuiltCss:W,id:m},b,{size:"1"})),g.default.createElement("div",{className:"input-icon"},s)),g.default.createElement("div",{className:"err-text"},r))}));Xl.propTypes={rows:b.default.number,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,iconBefore:b.default.any,iconAfter:b.default.any,textAreaStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,id:b.default.string},Xl.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const Jl=h.default.div`
1797
1846
  color: #a9b1b8;
1798
1847
  font-size: 21px;
1799
1848
  border: 1px solid
@@ -1807,7 +1856,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1807
1856
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
1808
1857
  outline: none;
1809
1858
  }
1810
- `,ql=h.default.input`
1859
+ `,Ul=h.default.input`
1811
1860
  border: 0;
1812
1861
  outline: 0;
1813
1862
  color: ${({theme:e})=>e.variant["primary-2"]};
@@ -1817,23 +1866,23 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1817
1866
  width: 24px;
1818
1867
  text-align:center;
1819
1868
  background-color: ${({theme:e})=>e.additional.white};
1820
- `,Zl=l.css`
1869
+ `,Yl=l.css`
1821
1870
  &:after {
1822
1871
  content: ' *';
1823
1872
  color: ${({theme:e})=>e.variant.error};
1824
1873
  }
1825
- `,Ol=h.default.label`
1874
+ `,Nl=h.default.label`
1826
1875
  display: block;
1827
1876
  margin-bottom: ${({labelInline:e,errMsg:t})=>e&&t?"18px":"8px"};
1828
1877
  margin-right: ${({labelInline:e})=>e?"8px":""};
1829
1878
  color: ${({theme:e})=>e.variant["neutral-2"]};
1830
- ${({required:e})=>e?Zl:null}
1879
+ ${({required:e})=>e?Yl:null}
1831
1880
  padding-bottom: 0px;
1832
- `,Dl=l.css`
1881
+ `,Ql=l.css`
1833
1882
  display: flex;
1834
1883
  align-items: center;
1835
- `,Gl=h.default.div`
1836
- ${({labelInline:e})=>e?Dl:null}
1884
+ `,Kl=h.default.div`
1885
+ ${({labelInline:e})=>e?Ql:null}
1837
1886
  .err-text {
1838
1887
  color: ${({theme:e})=>e.variant.error};
1839
1888
  margin-top: 5px;
@@ -1843,7 +1892,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1843
1892
  > div {
1844
1893
  flex: 1 0 auto;
1845
1894
  }
1846
- `,Xl=h.default.button`
1895
+ `,$l=h.default.button`
1847
1896
  border: none;
1848
1897
  outline: none;
1849
1898
  border-radius: 4px;
@@ -1852,9 +1901,9 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1852
1901
  padding: 5px 6px;
1853
1902
  font-size: 18px;
1854
1903
  cursor: pointer;
1855
- `,Jl=({label:e,errMsg:t,hour:a,minute:o,period:r,onChange:i,id:n,...c})=>{const d=l.useTheme()||R;return g.default.createElement(Gl,k({theme:d},c),g.default.createElement(Ol,k({theme:d},c,{errMsg:t}),e),g.default.createElement("div",null,g.default.createElement(Fl,k({theme:d,id:n},c),g.default.createElement(ql,{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})}}),":",g.default.createElement(ql,{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})}}),g.default.createElement(Xl,{theme:d,onClick:function(e){i({hour:a,minute:o,period:"AM"===r?"PM":"AM"})}},r)),g.default.createElement("div",{className:"err-text"},t)))};Jl.propTypes={label:b.default.string,hour:b.default.number.isRequired,minute:b.default.number.isRequired,period:b.default.string.isRequired,required:b.default.bool,labelInline:b.default.bool,isValid:b.default.bool,errMsg:b.default.string,id:b.default.string},Jl.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Ul=h.default.div`
1904
+ `,_l=({label:e,errMsg:t,hour:a,minute:o,period:r,onChange:i,id:n,...c})=>{const d=l.useTheme()||R;return g.default.createElement(Kl,k({theme:d},c),g.default.createElement(Nl,k({theme:d},c,{errMsg:t}),e),g.default.createElement("div",null,g.default.createElement(Jl,k({theme:d,id:n},c),g.default.createElement(Ul,{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})}}),":",g.default.createElement(Ul,{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})}}),g.default.createElement($l,{theme:d,onClick:function(e){i({hour:a,minute:o,period:"AM"===r?"PM":"AM"})}},r)),g.default.createElement("div",{className:"err-text"},t)))};_l.propTypes={label:b.default.string,hour:b.default.number.isRequired,minute:b.default.number.isRequired,period:b.default.string.isRequired,required:b.default.bool,labelInline:b.default.bool,isValid:b.default.bool,errMsg:b.default.string,id:b.default.string},_l.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const ea=h.default.div`
1856
1905
  ${({inBuiltCss:e,defaultCheckBoxWrapperStyle:t})=>P(e,t)}
1857
- `,Yl=h.default.label`
1906
+ `,ta=h.default.label`
1858
1907
  position: absolute;
1859
1908
  width: ${({labelPosition:e})=>"inside"===e?"51.52px":"45px"};
1860
1909
  height: ${({labelPosition:e})=>"inside"===e?"20.11px":"22px"};
@@ -1880,7 +1929,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1880
1929
  // custom styles
1881
1930
  ${({customSwitchStyle:e})=>e}
1882
1931
  }
1883
- `,Nl=h.default.input.attrs({type:"checkbox"})`
1932
+ `,la=h.default.input.attrs({type:"checkbox"})`
1884
1933
  opacity: 0;
1885
1934
  z-index: 1;
1886
1935
  border-radius: 11.04px;
@@ -1892,7 +1941,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1892
1941
  // custom styles
1893
1942
 
1894
1943
 
1895
- `,Ql=h.default.span`
1944
+ `,aa=h.default.span`
1896
1945
  color: ${({theme:e,labelPosition:t})=>"inside"===t?e.neutral["neutral-5"]:e.additional["text-color"]};
1897
1946
  font-size: ${({labelPosition:e})=>"inside"===e?"10px":"16px"};
1898
1947
  position: ${({labelPosition:e})=>"inside"===e?"absolute":"initial"};
@@ -1900,7 +1949,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1900
1949
  margin-right:${({labelPosition:e})=>"inside"===e?0:"8px"};
1901
1950
  // custom styles
1902
1951
  ${({optionStyle:e})=>e};
1903
- `,Kl=({checked:e,customSwitchStyle:t,customToggleBoxStyle:a,onClick:o,optionStyle:r,id:i,isDisabled:n,trueLabel:c,falseLabel:d,labelPosition:s,...u})=>{const p=l.useTheme()||R;return g.default.createElement(Ul,k({inBuiltCss:W,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},u),"left"===s&&g.default.createElement(Ql,{optionStyle:r,inBuiltCss:W,theme:p,checked:e,labelPosition:s},e?c:d),g.default.createElement(Nl,k({},u,{id:i,inBuiltCss:W,onClick:()=>{o(!e)},isChecked:e,disabled:n,isDisabled:n,customToggleBoxStyle:a,labelPosition:s})),g.default.createElement(Yl,k({},u,{htmlFor:i,customToggleBoxStyle:a,customSwitchStyle:t,inBuiltCss:W,checked:e,theme:p,isDisabled:n,labelPosition:s})),("right"===s||"inside"===s)&&g.default.createElement(Ql,{optionStyle:r,inBuiltCss:W,theme:p,checked:e,labelPosition:s},e?c:d))};Kl.propTypes={customToggleBoxStyle:b.default.object,customSwitchStyle:b.default.object,checked:b.default.bool,id:b.default.string,isDisabled:b.default.bool,trueLabel:b.default.string,falseLabel:b.default.string,labelPosition:b.default.oneOf(["left","right","inside"])},Kl.defaultProps={checked:!1,customSwitchStyle:{},customToggleBoxStyle:{},id:"",isDisabled:!1,trueLabel:"Yes",falseLabel:"NO",labelPosition:"right"};const $l=h.default.div`
1952
+ `,oa=({checked:e,customSwitchStyle:t,customToggleBoxStyle:a,onClick:o,optionStyle:r,id:i,isDisabled:n,trueLabel:c,falseLabel:d,labelPosition:s,...u})=>{const p=l.useTheme()||R;return g.default.createElement(ea,k({inBuiltCss:W,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},u),"left"===s&&g.default.createElement(aa,{optionStyle:r,inBuiltCss:W,theme:p,checked:e,labelPosition:s},e?c:d),g.default.createElement(la,k({},u,{id:i,inBuiltCss:W,onClick:()=>{o(!e)},isChecked:e,disabled:n,isDisabled:n,customToggleBoxStyle:a,labelPosition:s})),g.default.createElement(ta,k({},u,{htmlFor:i,customToggleBoxStyle:a,customSwitchStyle:t,inBuiltCss:W,checked:e,theme:p,isDisabled:n,labelPosition:s})),("right"===s||"inside"===s)&&g.default.createElement(aa,{optionStyle:r,inBuiltCss:W,theme:p,checked:e,labelPosition:s},e?c:d))};oa.propTypes={customToggleBoxStyle:b.default.object,customSwitchStyle:b.default.object,checked:b.default.bool,id:b.default.string,isDisabled:b.default.bool,trueLabel:b.default.string,falseLabel:b.default.string,labelPosition:b.default.oneOf(["left","right","inside"])},oa.defaultProps={checked:!1,customSwitchStyle:{},customToggleBoxStyle:{},id:"",isDisabled:!1,trueLabel:"Yes",falseLabel:"NO",labelPosition:"right"};const ra=h.default.div`
1904
1953
  background-color: ${({theme:e})=>e.additional.white};
1905
1954
  padding: 24px 8px;
1906
1955
  ${({commentWrapperStyle:e})=>e};
@@ -1916,10 +1965,10 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1916
1965
  }
1917
1966
  }
1918
1967
  }
1919
- `,_l=h.default.div`
1968
+ `,ia=h.default.div`
1920
1969
  margin-bottom: 24px;
1921
1970
  ${({commentBodyStyle:e})=>e};
1922
- `,ea=h.default.div`
1971
+ `,na=h.default.div`
1923
1972
  display: flex;
1924
1973
  flex-direction: row;
1925
1974
  width: 100%;
@@ -1930,7 +1979,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1930
1979
  flex-direction: column;
1931
1980
  align-items: flex-start;
1932
1981
  }
1933
- `,ta=h.default.span`
1982
+ `,ca=h.default.span`
1934
1983
  margin-left: 24px;
1935
1984
  font-size: 14px;
1936
1985
  color: ${({theme:e})=>e.variant["neutral-2"]};
@@ -1939,13 +1988,13 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1939
1988
  @media (max-width: 576px) {
1940
1989
  margin-left: 56px;
1941
1990
  }
1942
- `,la=h.default.div`
1991
+ `,da=h.default.div`
1943
1992
  margin: 0.75rem 0 0 3.5rem;
1944
1993
  font-size: 16px;
1945
1994
  word-break: break-word;
1946
1995
  color: ${R.variant["graph-6"]};
1947
1996
  ${({commentDivStyle:e})=>e};
1948
- `,aa=h.default.div`
1997
+ `,sa=h.default.div`
1949
1998
  display: flex;
1950
1999
  justify-content: flex-start;
1951
2000
  align-items: flex-start;
@@ -1954,13 +2003,13 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1954
2003
  padding: 16px 24px;
1955
2004
  border-radius: 0px 0px 4px 4px;
1956
2005
  ${({inputWrapperStyle:e})=>e};
1957
- `,oa=h.default.div`
2006
+ `,ua=h.default.div`
1958
2007
  display: inline-flex;
1959
2008
  margin-top: 16px;
1960
- `,ra=h.default.div`
2009
+ `,pa=h.default.div`
1961
2010
  width: 100%;
1962
2011
  margin-left: 16px;
1963
- `,ia=({commentsArray:e,customStyles:a,myInfoAvatarProps:o,loading:r,viewOnly:i,textInputProps:n,saveBtnProps:c,cancelBtnProps:d,loadMore:s,avatarProps:u,message:p})=>{const f=l.useTheme()||R,[m,b]=t.useState(!1),[h,y]=t.useState(e||[]);return g.default.createElement($l,{commentWrapperStyle:a?.commentWrapperStyle,theme:f},h.map(((e,t)=>{const{name:l,date:o,comment:r,image:i}=e;return g.default.createElement(_l,{key:t,commentBodyStyle:a?.commentBodyStyle,theme:f},g.default.createElement(ea,{commentHeadStyle:a?.commentHeadStyle},g.default.createElement(ue,k({user:{fullName:l,userName:l,url:i},toggleName:!0,size:"LG",customStylesName:{color:f.additional["text-color"]}},u)),g.default.createElement(ta,{dateTimeStyle:a?.dateTimeStyle,theme:f},o)),g.default.createElement(la,{commentDivStyle:a?.commentDivStyle},r))})),!r&&0===h.length&&p,r&&g.default.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"24px"}},g.default.createElement(Ve,{size:25})),!r&&s.showLoadMore&&g.default.createElement("div",{className:"load-more"},g.default.createElement(Be,{onClick:()=>(async()=>{let e=await s.callback();y((t=>[...t,...e]))})()},"Load more")),!i&&g.default.createElement(aa,{theme:f,inputWrapperStyle:a?.inputWrapperStyle},g.default.createElement(ue,k({toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}},o)),g.default.createElement(ra,null,g.default.createElement(El,k({inputStyle:{height:"23px"},isValid:!0,onFocus:e=>b(!0)},n)),m&&g.default.createElement(oa,null,g.default.createElement(Re,c,c.text),g.default.createElement(Be,k({disabled:!(!d?.isLoading&&!c?.isLoading),onClick:e=>b(!1),btnStyle:{color:f.variant["neutral-1"]}},d),d.text)))))};ia.propTypes={commentsArray:b.default.array,customStyles:b.default.object,myInfoAvatarProps:b.default.bool,viewOnly:b.default.bool,textInputProps:b.default.object,saveBtnProps:b.default.object,cancelBtnProps:b.default.object,loadMore:b.default.object,avatarProps:b.default.object,message:b.default.element},ia.defaultProps={commentsArray:[],customStyles:{commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{}},myInfoAvatarProps:{},loading:!1,viewOnly:!1,textInputProps:{},saveBtnProps:{size:"sm",text:"Save"},cancelBtnProps:{size:"sm",text:"Cancel"},loadMore:{showLoadMore:!1,callback:()=>{}},avatarProps:{},message:g.default.createElement("span",{style:{textAlign:"center",display:"block",marginBottom:"16px"}},"No comments yet")};const na=h.default.div`
2012
+ `,fa=({commentsArray:e,customStyles:a,myInfoAvatarProps:o,loading:r,viewOnly:i,textInputProps:n,saveBtnProps:c,cancelBtnProps:d,loadMore:s,avatarProps:u,message:p})=>{const f=l.useTheme()||R,[m,b]=t.useState(!1),[h,y]=t.useState(e||[]);return g.default.createElement(ra,{commentWrapperStyle:a?.commentWrapperStyle,theme:f},h.map(((e,t)=>{const{name:l,date:o,comment:r,image:i}=e;return g.default.createElement(ia,{key:t,commentBodyStyle:a?.commentBodyStyle,theme:f},g.default.createElement(na,{commentHeadStyle:a?.commentHeadStyle},g.default.createElement(ue,k({user:{fullName:l,userName:l,url:i},toggleName:!0,size:"LG",customStylesName:{color:f.additional["text-color"]}},u)),g.default.createElement(ca,{dateTimeStyle:a?.dateTimeStyle,theme:f},o)),g.default.createElement(da,{commentDivStyle:a?.commentDivStyle},r))})),!r&&0===h.length&&p,r&&g.default.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"24px"}},g.default.createElement(Ve,{size:25})),!r&&s.showLoadMore&&g.default.createElement("div",{className:"load-more"},g.default.createElement(Be,{onClick:()=>(async()=>{let e=await s.callback();y((t=>[...t,...e]))})()},"Load more")),!i&&g.default.createElement(sa,{theme:f,inputWrapperStyle:a?.inputWrapperStyle},g.default.createElement(ue,k({toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}},o)),g.default.createElement(pa,null,g.default.createElement(Ll,k({inputStyle:{height:"23px"},isValid:!0,onFocus:e=>b(!0)},n)),m&&g.default.createElement(ua,null,g.default.createElement(Re,c,c.text),g.default.createElement(Be,k({disabled:!(!d?.isLoading&&!c?.isLoading),onClick:e=>b(!1),btnStyle:{color:f.variant["neutral-1"]}},d),d.text)))))};fa.propTypes={commentsArray:b.default.array,customStyles:b.default.object,myInfoAvatarProps:b.default.bool,viewOnly:b.default.bool,textInputProps:b.default.object,saveBtnProps:b.default.object,cancelBtnProps:b.default.object,loadMore:b.default.object,avatarProps:b.default.object,message:b.default.element},fa.defaultProps={commentsArray:[],customStyles:{commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{}},myInfoAvatarProps:{},loading:!1,viewOnly:!1,textInputProps:{},saveBtnProps:{size:"sm",text:"Save"},cancelBtnProps:{size:"sm",text:"Cancel"},loadMore:{showLoadMore:!1,callback:()=>{}},avatarProps:{},message:g.default.createElement("span",{style:{textAlign:"center",display:"block",marginBottom:"16px"}},"No comments yet")};const ma=h.default.div`
1964
2013
  //Set the styles from the default styles object
1965
2014
  ${({theme:e,type:t})=>P(e,t)}
1966
2015
  @media (max-width: 980px) {
@@ -1968,7 +2017,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1968
2017
  }
1969
2018
  // custom styles
1970
2019
  ${({customStyles:e})=>e}
1971
- `,ca=({theme:e,type:t,customStyles:l,...a})=>g.default.createElement(na,k({theme:e,customStyles:l,type:t},a),a.children);ca.propTypes={theme:b.default.object,customStyles:b.default.object,type:b.default.string},ca.defaultProps={theme:W,customStyles:null,type:"content"};const da=h.default.div`
2020
+ `,ba=({theme:e,type:t,customStyles:l,...a})=>g.default.createElement(ma,k({theme:e,customStyles:l,type:t},a),a.children);ba.propTypes={theme:b.default.object,customStyles:b.default.object,type:b.default.string},ba.defaultProps={theme:W,customStyles:null,type:"content"};const ga=h.default.div`
1972
2021
  width: 100%;
1973
2022
  display: flex;
1974
2023
  flex-direction: column;
@@ -1980,7 +2029,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1980
2029
  button:focus {
1981
2030
  outline: none;
1982
2031
  }
1983
- `,sa=h.default.div`
2032
+ `,ha=h.default.div`
1984
2033
  position: relative;
1985
2034
  display: flex;
1986
2035
  width: 100%;
@@ -2064,7 +2113,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2064
2113
  margin-top: 0;
2065
2114
  }
2066
2115
  }
2067
- `,ua=h.default.span`
2116
+ `,ya=h.default.span`
2068
2117
  color: #2e56f4;
2069
2118
  font-style: normal;
2070
2119
  font-weight: normal;
@@ -2074,14 +2123,14 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2074
2123
  margin-top: 37px;
2075
2124
  margin-right: 65px;
2076
2125
  white-space: nowrap;
2077
- `,pa=h.default.div`
2126
+ `,xa=h.default.div`
2078
2127
  display: flex;
2079
2128
  flex-direction: column;
2080
2129
  ${""}
2081
2130
  max-width: 1340px;
2082
2131
  width: 100%;
2083
2132
  align-items: center;
2084
- `,fa=h.default.div`
2133
+ `,va=h.default.div`
2085
2134
  position: absolute;
2086
2135
  font-size: 12px;
2087
2136
  border-radius: 50%;
@@ -2098,23 +2147,23 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2098
2147
  transform: translate(30%, -30%);
2099
2148
  color: white;
2100
2149
  font-weight: 600;
2101
- `,ma=h.default.div`
2150
+ `,Ca=h.default.div`
2102
2151
  width: 90%;
2103
- `,ba=h.default.div`
2152
+ `,Aa=h.default.div`
2104
2153
  background: linear-gradient(
2105
2154
  0deg,
2106
2155
  hsla(0, 0%, 100%, 1) 20%,
2107
2156
  hsla(0, 0%, 100%, 0.5) 100%
2108
2157
  );
2109
2158
  width: 90%;
2110
- `,ga=h.default.div`
2159
+ `,wa=h.default.div`
2111
2160
  width: 90%;
2112
- `,ha=h.default.div`
2161
+ `,Sa=h.default.div`
2113
2162
  display: flex;
2114
2163
  margin-left: auto !important;
2115
2164
  margin-right: auto !important;
2116
2165
  cursor: pointer;
2117
- `,ya=h.default.div`
2166
+ `,Ea=h.default.div`
2118
2167
  display: flex;
2119
2168
  flex-direction: column;
2120
2169
  width: 180px;
@@ -2123,10 +2172,10 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2123
2172
  border-radius: 6px;
2124
2173
  margin-right: 0.5rem;
2125
2174
  z-index: 999;
2126
- `,xa=h.default.div`
2175
+ `,ka=h.default.div`
2127
2176
  margin: 10.5px 13px;
2128
2177
  padding: 0;
2129
- `,va=h.default.div`
2178
+ `,Va=h.default.div`
2130
2179
  color: #081348;
2131
2180
  padding: 7.7px 6.5px 7.7px 24px;
2132
2181
  margin: 2.5px 13px;
@@ -2144,7 +2193,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2144
2193
  background: #eaeefe;
2145
2194
  border-radius: 5px;
2146
2195
  }
2147
- `,Ca=h.default.div`
2196
+ `,Ma=h.default.div`
2148
2197
  position: relative;
2149
2198
  display: flex;
2150
2199
  width: 100%;
@@ -2228,41 +2277,41 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2228
2277
  margin-top: 0;
2229
2278
  }
2230
2279
  }
2231
- `,Aa=h.default.div`
2280
+ `,za=h.default.div`
2232
2281
  display: flex;
2233
2282
  justify-content: flex-end;
2234
- `,wa=h.default.div`
2283
+ `,Ba=h.default.div`
2235
2284
  display: flex;
2236
2285
  justify-content: center;
2237
2286
  flex-direction: row;
2238
2287
  align-items: flex-start;
2239
2288
  gap: 20px;
2240
- `,Sa=h.default.div`
2289
+ `,Ia=h.default.div`
2241
2290
  width: 48;
2242
2291
  max-width: 48%;
2243
2292
  min-width: 48%;
2244
2293
 
2245
- `,Ea=h.default.form`
2294
+ `,La=h.default.form`
2246
2295
  width: 40vw;
2247
2296
  display: flex;
2248
2297
  justify-content: center;
2249
2298
  flex-direction: column;
2250
2299
  gap: 20px;
2251
2300
  ${({customStyles:e})=>e}
2252
- `,ka=({customStyles:e,children:t})=>g.default.createElement(Ea,{customStyles:e},t),Va=h.default.div`
2301
+ `,Ra=({customStyles:e,children:t})=>g.default.createElement(La,{customStyles:e},t),Wa=h.default.div`
2253
2302
  display: ${({vertical:e})=>e?"inline-block":"block"};
2254
2303
  background: ${({theme:e,borderColor:t})=>t||e.neutral["neutral-5"]};
2255
2304
  content: '';
2256
2305
  height: ${({vertical:e,thickness:t,height:l})=>e?l:t};
2257
2306
  width: ${({vertical:e,thickness:t})=>e?t:null};
2258
- `,za=({vertical:e,borderColor:t,thickness:a,height:o,...r})=>{const i=l.useTheme()||R;return g.default.createElement(Va,k({theme:i,borderColor:t,thickness:a,vertical:e,height:o},r))};za.propTypes={thickness:b.default.string,borderColor:b.default.string,vertical:b.default.bool,height:b.default.string},za.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const Ma=h.default.div`
2307
+ `,Pa=({vertical:e,borderColor:t,thickness:a,height:o,...r})=>{const i=l.useTheme()||R;return g.default.createElement(Wa,k({theme:i,borderColor:t,thickness:a,vertical:e,height:o},r))};Pa.propTypes={thickness:b.default.string,borderColor:b.default.string,vertical:b.default.bool,height:b.default.string},Pa.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const Ta=h.default.div`
2259
2308
  //Set the styles from the default styles object
2260
2309
  ${({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}}}}
2261
- `,Ba=({customStyles:e,drawerOpen:t,setDrawerOpen:l,children:a,...o})=>g.default.createElement(Ma,k({inBuiltCss:W,customStyles:e,type:"drawer",drawerOpen:t},o),a);Ba.propTypes={customStyles:b.default.object,drawerOpen:b.default.bool,setDrawerOpen:b.default.func},Ba.defaultProps={setDrawerOpen:()=>null};class Ia 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=g.default.createElement(t.Fragment,null,g.default.createElement("h3",null,g.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"},g.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."),g.default.createElement(Re,{onClick:()=>this.refreshPage()},"Click to refresh"));return e?l:this.props.children}}Ia.propTypes={children:b.default.any};const La=l.css`
2310
+ `,Ha=({customStyles:e,drawerOpen:t,setDrawerOpen:l,children:a,...o})=>g.default.createElement(Ta,k({inBuiltCss:W,customStyles:e,type:"drawer",drawerOpen:t},o),a);Ha.propTypes={customStyles:b.default.object,drawerOpen:b.default.bool,setDrawerOpen:b.default.func},Ha.defaultProps={setDrawerOpen:()=>null};class ja 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=g.default.createElement(t.Fragment,null,g.default.createElement("h3",null,g.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"},g.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."),g.default.createElement(Re,{onClick:()=>this.refreshPage()},"Click to refresh"));return e?l:this.props.children}}ja.propTypes={children:b.default.any};const Fa=l.css`
2262
2311
  color: ${({theme:e})=>e.variant["primary-1"]};
2263
2312
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
2264
2313
  background: ${({theme:e})=>T(e.primary["primary-1"],.04)};
2265
- `,Ra=h.default.button`
2314
+ `,qa=h.default.button`
2266
2315
  font-size: 14px;
2267
2316
  color: ${({theme:e})=>e.variant["primary-2"]};
2268
2317
  background: ${({theme:e})=>T(e.variant["neutral-5"],.7)};
@@ -2272,19 +2321,19 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2272
2321
  outline: none;
2273
2322
  cursor: ${({disabled:e})=>e?"default":"pointer"};
2274
2323
 
2275
- ${({selected:e})=>e?La:null}
2324
+ ${({selected:e})=>e?Fa:null}
2276
2325
  ${({customStyles:e})=>e}
2277
2326
 
2278
2327
 
2279
2328
  &:not(:first-child) {
2280
2329
  margin-left: 8px;
2281
2330
  }
2282
- `,Wa=({options:e,selected:t,onClick:a,customStyles:o,disabled:r,...i})=>{const n=l.useTheme()||R,c=e.map(((e,l)=>g.default.createElement(Ra,{theme:n,key:`${e.label}_${l}_${e.value}`,selected:t===e.value,onClick:()=>{a(e.value)},customStyles:o,disabled:r},e.label)));return g.default.createElement(g.default.Fragment,null,c)};Wa.propTypes={options:b.default.array,selected:b.default.string,onClick:b.default.func,customStyles:b.default.object,disabled:b.default.bool},Wa.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const Pa=h.default.footer`
2331
+ `,Za=({options:e,selected:t,onClick:a,customStyles:o,disabled:r,...i})=>{const n=l.useTheme()||R,c=e.map(((e,l)=>g.default.createElement(qa,{theme:n,key:`${e.label}_${l}_${e.value}`,selected:t===e.value,onClick:()=>{a(e.value)},customStyles:o,disabled:r},e.label)));return g.default.createElement(g.default.Fragment,null,c)};Za.propTypes={options:b.default.array,selected:b.default.string,onClick:b.default.func,customStyles:b.default.object,disabled:b.default.bool},Za.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const Oa=h.default.footer`
2283
2332
  //Set the styles from the default styles object
2284
2333
  ${({theme:e,type:t})=>P(e,t)}
2285
2334
  // custom styles
2286
2335
  ${({customStyles:e})=>e}
2287
- `,Ta=t.forwardRef((({theme:e,customStyles:t,...l},a)=>g.default.createElement(Pa,k({ref:a,theme:e,type:"footer",customStyles:t},l),l.children)));Ta.propTypes={theme:b.default.object,customStyles:b.default.object,type:b.default.string},Pa.defaultProps={theme:b.default.object},Ta.defaultProps={theme:W,customStyles:null};const Ha=h.default.div`
2336
+ `,Da=t.forwardRef((({theme:e,customStyles:t,...l},a)=>g.default.createElement(Oa,k({ref:a,theme:e,type:"footer",customStyles:t},l),l.children)));Da.propTypes={theme:b.default.object,customStyles:b.default.object,type:b.default.string},Oa.defaultProps={theme:b.default.object},Da.defaultProps={theme:W,customStyles:null};const Ga=h.default.div`
2288
2337
  font-size: 14px;
2289
2338
  background-color: transparent;
2290
2339
  display: flex;
@@ -2301,7 +2350,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2301
2350
  ${({footerWidth:e})=>{if(e<650)return l.css`
2302
2351
  flex-direction: column;
2303
2352
  `}}
2304
- `,ja=h.default.div`
2353
+ `,Xa=h.default.div`
2305
2354
  display: flex;
2306
2355
  ${({footerWidth:e})=>{if(e<650)return l.css`
2307
2356
  margin-bottom: 5px;
@@ -2311,18 +2360,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2311
2360
  align-items: center;
2312
2361
  margin-bottom: 0;
2313
2362
  `}}
2314
- `,Fa=h.default.div`
2363
+ `,Ja=h.default.div`
2315
2364
  margin-top: inherit;
2316
2365
  margin-bottom: inherit;
2317
2366
  ${({footerWidth:e})=>{if(e<350)return l.css`
2318
2367
  margin-bottom: 5px;
2319
2368
  `}}
2320
- `,qa=h.default.div`
2369
+ `,Ua=h.default.div`
2321
2370
  margin: 0 10px;
2322
2371
  ${({footerWidth:e})=>{if(e<350)return l.css`
2323
2372
  display: none;
2324
2373
  `}}
2325
- `,Za=h.default.header`
2374
+ `,Ya=h.default.header`
2326
2375
 
2327
2376
  background-color: ${({theme:e})=>e.additional.white};
2328
2377
  border-bottom: 0.5px solid ${({theme:e})=>e.variant["neutral-3"]};
@@ -2330,7 +2379,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2330
2379
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2331
2380
  // custom styles
2332
2381
  ${({customStyles:e})=>e}
2333
- `,Oa=({type:e,customStyles:t,...a})=>{const o=l.useTheme()||R;return g.default.createElement(Za,k({theme:o,type:"header",customStyles:t,inBuiltCss:W},a),a.children)};Oa.propTypes={customStyles:b.default.object,type:b.default.string},Oa.defaultProps={type:"header",customStyles:null};const Da=h.default.div`
2382
+ `,Na=({type:e,customStyles:t,...a})=>{const o=l.useTheme()||R;return g.default.createElement(Ya,k({theme:o,type:"header",customStyles:t,inBuiltCss:W},a),a.children)};Na.propTypes={customStyles:b.default.object,type:b.default.string},Na.defaultProps={type:"header",customStyles:null};const Qa=h.default.div`
2334
2383
  display: flex;
2335
2384
  justify-content: ${({showRowsPerPage:e})=>e?"space-between":"center"};
2336
2385
  align-items: center;
@@ -2339,7 +2388,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2339
2388
  @media (max-width: 992px) {
2340
2389
  justify-content: center;
2341
2390
  }
2342
- `,Ga=h.default.div`
2391
+ `,Ka=h.default.div`
2343
2392
  display: flex;
2344
2393
  justify-content: center;
2345
2394
  align-items: center;
@@ -2365,7 +2414,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2365
2414
  }
2366
2415
 
2367
2416
  ${({customIconWrapperStyles:e})=>e}
2368
- `,Xa=h.default.ul`
2417
+ `,$a=h.default.ul`
2369
2418
 
2370
2419
  display: flex;
2371
2420
  justify-content: space-between;
@@ -2422,15 +2471,15 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2422
2471
  }
2423
2472
  .icon {
2424
2473
  display: none;
2425
- }`,Ja=h.default.div`
2474
+ }`,_a=h.default.div`
2426
2475
  display: flex;
2427
2476
  justify-content: center;
2428
2477
  align-items: center;
2429
- `,Ua=(e,t,l=1)=>{let a=e;const o=[];for(;a<=t;)o.push(a),a+=l;return o},Ya=({totalRecords:e,pageNeighbours:a,onPageChanged:o,currentPageNumber:r,propsDropdownSelect:i,showRowsPerPage:n})=>{let c=i?.selectedValue?.value||10;0==c?c=1:c>e&&(c=e);const[d,s]=t.useState(r),[u,p]=t.useState(Math.ceil(e/c)),[f,m]=t.useState({from:1+(d-1)*c,to:d*c>e?e:d*c}),b=l.useTheme()||R,{width:h}=ve();a=h<512?0:h<768?1:a,t.useEffect((()=>{p(Math.ceil(e/c)),y(1)}),[c]),t.useEffect((()=>{m({from:1+(d-1)*c,to:d*c>e?e:d*c})}),[d]);const y=t=>{const l=Math.max(0,Math.min(t,u));s(l);o({currentPage:l,totalPages:u,totalRecords:e})},x=e=>t=>{t.preventDefault(),y(e)},v=e=>{e.preventDefault(),y(d-2*(a||1)-1)},C=e=>{e.preventDefault(),y(d+2*(a||1)+1)};if(!e||1===u||0===c)return null;const A=(()=>{const e=2*a+3;if(u>e+3){const t=Math.max(2,d-a),l=Math.min(u-1,d+a);let o=Ua(t,l);const r=t>2,i=u-l>1,n=e-(o.length+1);switch(!0){case r&&!i:o=["LEFT",...Ua(t-n,t-1),...o];break;case!r&&i:{const e=Ua(l+1,l+n);o=[...o,...e,"RIGHT"];break}default:o=["LEFT",...o,"RIGHT"]}return[1,...o,u]}return Ua(1,u)})();return g.default.createElement(Da,{theme:b,showRowsPerPage:n},g.default.createElement(Xa,{theme:b},g.default.createElement(Ga,{onClick:1!==d?x(d-1):null,disabled:1===d,theme:b},g.default.createElement(N,{icon:"triangle-down",transform:"rotate(90deg)",color:"#BBC4CF"}),g.default.createElement("span",{className:"prev-text"}," PREVIOUS")),A.map(((e,t)=>"LEFT"===e?g.default.createElement("li",{key:t,className:"page-item"},g.default.createElement("div",{className:"page-link",onClick:v},g.default.createElement("span",{className:"text"},g.default.createElement(N,{icon:"load-more",color:"#081348",transform:"rotate(90deg)"})),g.default.createElement("span",{className:"icon"},g.default.createElement(N,{icon:"ellipses-horizontal",color:"#081348"}))," ")):"RIGHT"===e?g.default.createElement("li",{key:t,className:"page-item"},g.default.createElement("div",{className:"page-link",onClick:C},g.default.createElement("span",{className:"text"},g.default.createElement(N,{icon:"load-more",color:b.primary["primary-2"],transform:"rotate(-90deg)"})),g.default.createElement("span",{className:"icon"},g.default.createElement(N,{icon:"ellipses-horizontal",color:b.primary["primary-2"]})))):g.default.createElement("li",{key:t,className:"page-item"+(d===e?" active":"")},g.default.createElement("div",{className:"page-link",onClick:x(e)},e)))),g.default.createElement(Ga,{onClick:d!==u?x(d+1):null,disabled:d===u,theme:b},g.default.createElement("span",{className:"next-text"}," NEXT"),g.default.createElement(N,{icon:"triangle-down",transform:"rotate(-90deg)",color:"#BBC4CF"}))),n&&g.default.createElement(Ja,null,g.default.createElement("span",{style:{margin:"0 16px",color:b.variant["neutral-3"],fontSize:"12px"}},"Rows Per Page"),g.default.createElement(Ht,k({customSelectStyles:{menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:"14px",width:"100%",maxWidth:"100px"}),control:(e,t)=>({...e,border:"1px solid transparent",borderRadius:"6.25391px",height:"31px",minHeight:"31px",boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:"#F2F4FE",maxWidth:"100px",minWidth:"50px"}),singleValue:e=>({...e,fontSize:"12px",marginLeft:"0px",width:"100",marginRight:0})},customWrapperStyles:{marginRight:"16px"},isSearchable:!1,optionArr:[{value:10,label:10},{value:20,label:20},{value:30,label:30}]},i)),g.default.createElement("span",{style:{color:b.variant["neutral-3"],fontSize:"12px"}},f?.from,"-",f?.to," of"," ",g.default.createElement("span",{style:{color:b.variant["neutral-1"]}},e)," ","Results")))};Ya.propTypes={totalRecords:b.default.number.isRequired,pageNeighbours:b.default.number,onPageChanged:b.default.func,showRowsPerPage:b.default.bool,currentPageNumber:b.default.number},Ya.defaultProps={totalRecords:0,pageNeighbours:1,onPageChanged:()=>null,showRowsPerPage:!1,currentPageNumber:1};const Na=h.default.div`
2478
+ `,eo=(e,t,l=1)=>{let a=e;const o=[];for(;a<=t;)o.push(a),a+=l;return o},to=({totalRecords:e,pageNeighbours:a,onPageChanged:o,currentPageNumber:r,propsDropdownSelect:i,showRowsPerPage:n})=>{let c=i?.selectedValue?.value||10;0==c?c=1:c>e&&(c=e);const[d,s]=t.useState(r),[u,p]=t.useState(Math.ceil(e/c)),[f,m]=t.useState({from:1+(d-1)*c,to:d*c>e?e:d*c}),b=l.useTheme()||R,{width:h}=ve();a=h<512?0:h<768?1:a,t.useEffect((()=>{p(Math.ceil(e/c)),y(1)}),[c]),t.useEffect((()=>{m({from:1+(d-1)*c,to:d*c>e?e:d*c})}),[d]);const y=t=>{const l=Math.max(0,Math.min(t,u));s(l);o({currentPage:l,totalPages:u,totalRecords:e})},x=e=>t=>{t.preventDefault(),y(e)},v=e=>{e.preventDefault(),y(d-2*(a||1)-1)},C=e=>{e.preventDefault(),y(d+2*(a||1)+1)};if(!e||1===u||0===c)return null;const A=(()=>{const e=2*a+3;if(u>e+3){const t=Math.max(2,d-a),l=Math.min(u-1,d+a);let o=eo(t,l);const r=t>2,i=u-l>1,n=e-(o.length+1);switch(!0){case r&&!i:o=["LEFT",...eo(t-n,t-1),...o];break;case!r&&i:{const e=eo(l+1,l+n);o=[...o,...e,"RIGHT"];break}default:o=["LEFT",...o,"RIGHT"]}return[1,...o,u]}return eo(1,u)})();return g.default.createElement(Qa,{theme:b,showRowsPerPage:n},g.default.createElement($a,{theme:b},g.default.createElement(Ka,{onClick:1!==d?x(d-1):null,disabled:1===d,theme:b},g.default.createElement(N,{icon:"triangle-down",transform:"rotate(90deg)",color:"#BBC4CF"}),g.default.createElement("span",{className:"prev-text"}," PREVIOUS")),A.map(((e,t)=>"LEFT"===e?g.default.createElement("li",{key:t,className:"page-item"},g.default.createElement("div",{className:"page-link",onClick:v},g.default.createElement("span",{className:"text"},g.default.createElement(N,{icon:"load-more",color:"#081348",transform:"rotate(90deg)"})),g.default.createElement("span",{className:"icon"},g.default.createElement(N,{icon:"ellipses-horizontal",color:"#081348"}))," ")):"RIGHT"===e?g.default.createElement("li",{key:t,className:"page-item"},g.default.createElement("div",{className:"page-link",onClick:C},g.default.createElement("span",{className:"text"},g.default.createElement(N,{icon:"load-more",color:b.primary["primary-2"],transform:"rotate(-90deg)"})),g.default.createElement("span",{className:"icon"},g.default.createElement(N,{icon:"ellipses-horizontal",color:b.primary["primary-2"]})))):g.default.createElement("li",{key:t,className:"page-item"+(d===e?" active":"")},g.default.createElement("div",{className:"page-link",onClick:x(e)},e)))),g.default.createElement(Ka,{onClick:d!==u?x(d+1):null,disabled:d===u,theme:b},g.default.createElement("span",{className:"next-text"}," NEXT"),g.default.createElement(N,{icon:"triangle-down",transform:"rotate(-90deg)",color:"#BBC4CF"}))),n&&g.default.createElement(_a,null,g.default.createElement("span",{style:{margin:"0 16px",color:b.variant["neutral-3"],fontSize:"12px"}},"Rows Per Page"),g.default.createElement(Gt,k({customSelectStyles:{menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:"14px",width:"100%",maxWidth:"100px"}),control:(e,t)=>({...e,border:"1px solid transparent",borderRadius:"6.25391px",height:"31px",minHeight:"31px",boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:"#F2F4FE",maxWidth:"100px",minWidth:"50px"}),singleValue:e=>({...e,fontSize:"12px",marginLeft:"0px",width:"100",marginRight:0})},customWrapperStyles:{marginRight:"16px"},isSearchable:!1,optionArr:[{value:10,label:10},{value:20,label:20},{value:30,label:30}]},i)),g.default.createElement("span",{style:{color:b.variant["neutral-3"],fontSize:"12px"}},f?.from,"-",f?.to," of"," ",g.default.createElement("span",{style:{color:b.variant["neutral-1"]}},e)," ","Results")))};to.propTypes={totalRecords:b.default.number.isRequired,pageNeighbours:b.default.number,onPageChanged:b.default.func,showRowsPerPage:b.default.bool,currentPageNumber:b.default.number},to.defaultProps={totalRecords:0,pageNeighbours:1,onPageChanged:()=>null,showRowsPerPage:!1,currentPageNumber:1};const lo=h.default.div`
2430
2479
  display: flex;
2431
2480
  align-items: center;
2432
2481
  color: ${({theme:e})=>e.variant["neutral-2"]};
2433
- `,Qa=({...e})=>{const t=l.useTheme()||R;return g.default.createElement(Na,{theme:t},e.children)},Ka=h.default.div`
2482
+ `,ao=({...e})=>{const t=l.useTheme()||R;return g.default.createElement(lo,{theme:t},e.children)},oo=h.default.div`
2434
2483
  font-size: 14px;
2435
2484
  color: ${({selected:e,theme:t})=>e?t.variant["primary-1"]:null};
2436
2485
 
@@ -2446,12 +2495,12 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2446
2495
  &:not(:first-child):not(:last-child) {
2447
2496
  margin: 0 22px;
2448
2497
  }
2449
- `;(Qa.PageItem=function({selected:e,...t}){const a=l.useTheme()||R;return g.default.createElement(Ka,k({selected:e,theme:a},t),t.children)}).propTypes={selected:b.default.bool},Qa.PageItem.defaultProps={selected:!1};const $a=h.default.div`
2498
+ `;(ao.PageItem=function({selected:e,...t}){const a=l.useTheme()||R;return g.default.createElement(oo,k({selected:e,theme:a},t),t.children)}).propTypes={selected:b.default.bool},ao.PageItem.defaultProps={selected:!1};const ro=h.default.div`
2450
2499
  display: flex;
2451
2500
  justify-content: center;
2452
2501
  align-items: center;
2453
2502
  ${({customParentStyles:e})=>e}
2454
- `,_a=h.default.span`
2503
+ `,io=h.default.span`
2455
2504
  background-color: ${({selected:e,theme:t})=>e?t.variant["neutral-5"]:"transparent"};
2456
2505
  color: ${({selected:e,theme:t})=>e?t.variant["primary-2"]:t.variant["neutral-3"]};
2457
2506
  padding: 8px 14px;
@@ -2463,7 +2512,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2463
2512
  font-size: 14px;
2464
2513
 
2465
2514
  ${({customItemStyles:e})=>e}
2466
- `,eo=h.default.div`
2515
+ `,no=h.default.div`
2467
2516
  display: flex;
2468
2517
  justify-content: center;
2469
2518
  align-items: center;
@@ -2486,16 +2535,16 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2486
2535
  }
2487
2536
 
2488
2537
  ${({customIconWrapperStyles:e})=>e}
2489
- `,to=h.default.div`
2538
+ `,co=h.default.div`
2490
2539
  padding: 0 15px;
2491
- `,lo=h.default.div`
2540
+ `,so=h.default.div`
2492
2541
  display: flex;
2493
2542
  align-items: center;
2494
2543
  justify-content: center;
2495
2544
  color: ${({theme:e})=>e.variant["neutral-2"]};
2496
2545
 
2497
2546
  ${({customLeftWrapperStyles:e})=>e}
2498
- `,ao=h.default.div`
2547
+ `,uo=h.default.div`
2499
2548
  display: flex;
2500
2549
  margin: 0;
2501
2550
  align-items: center;
@@ -2508,7 +2557,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2508
2557
  margin: 0 10px;
2509
2558
  color: ${({theme:e})=>e.variant["neutral-2"]};
2510
2559
  }
2511
- `,oo=({selectedPage:e,setSelectedPage:a,totalPage:o,customItemStyles:r,customLeftWrapperStyles:i,customIconWrapperStyles:n,previousText:c,nextText:d,pageToShow:s,totalResults:u,showResultPerPage:p,customParentStyles:f,customRightWrapperStyles:m,...b})=>{const h=l.useTheme()||R,[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 C=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 g.default.createElement($a,{customParentStyles:f}," ",g.default.createElement(lo,k({theme:h,customLeftWrapperStyles:i},b),g.default.createElement(eo,k({onClick:()=>C("decrease"),disabled:1===e,theme:h,customIconWrapperStyles:n},b),g.default.createElement(N,{icon:"triangle-down",transform:"rotate(90deg)",color:h.variant["neutral-3"]}),g.default.createElement("span",{className:"prev-text"}," ",c)),g.default.createElement(to,b,y.map(((t,l)=>g.default.createElement(_a,{key:l,theme:h,selected:e===t,onClick:()=>a(t),customItemStyles:r},t)))),g.default.createElement(eo,{onClick:()=>C("increase"),disabled:e===o,theme:h,customIconWrapperStyles:n},g.default.createElement("span",{className:"next-text"}," ",d),g.default.createElement(N,{icon:"triangle-down",transform:"rotate(-90deg)",color:h.variant["neutral-3"]}))),p&&g.default.createElement(ao,{theme:h,customRightWrapperStyles:m},g.default.createElement(Ht,{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"]}),g.default.createElement("p",{style:{marginBottom:0}},g.default.createElement("span",null,"OF")," ",u," ",g.default.createElement("span",null,"RESULTS"))))};oo.propTypes={customItemStyles:b.default.object,selectedPage:b.default.number,customLeftWrapperStyles:b.default.object,customIconWrapperStyles:b.default.object,previousText:b.default.string,nextText:b.default.string,pageToShow:b.default.number,totalResults:b.default.number,showResultPerPage:b.default.bool,customParentStyles:b.default.object,customRightWrapperStyles:b.default.object},oo.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const ro=h.default.div`
2560
+ `,po=({selectedPage:e,setSelectedPage:a,totalPage:o,customItemStyles:r,customLeftWrapperStyles:i,customIconWrapperStyles:n,previousText:c,nextText:d,pageToShow:s,totalResults:u,showResultPerPage:p,customParentStyles:f,customRightWrapperStyles:m,...b})=>{const h=l.useTheme()||R,[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 C=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 g.default.createElement(ro,{customParentStyles:f}," ",g.default.createElement(so,k({theme:h,customLeftWrapperStyles:i},b),g.default.createElement(no,k({onClick:()=>C("decrease"),disabled:1===e,theme:h,customIconWrapperStyles:n},b),g.default.createElement(N,{icon:"triangle-down",transform:"rotate(90deg)",color:h.variant["neutral-3"]}),g.default.createElement("span",{className:"prev-text"}," ",c)),g.default.createElement(co,b,y.map(((t,l)=>g.default.createElement(io,{key:l,theme:h,selected:e===t,onClick:()=>a(t),customItemStyles:r},t)))),g.default.createElement(no,{onClick:()=>C("increase"),disabled:e===o,theme:h,customIconWrapperStyles:n},g.default.createElement("span",{className:"next-text"}," ",d),g.default.createElement(N,{icon:"triangle-down",transform:"rotate(-90deg)",color:h.variant["neutral-3"]}))),p&&g.default.createElement(uo,{theme:h,customRightWrapperStyles:m},g.default.createElement(Gt,{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"]}),g.default.createElement("p",{style:{marginBottom:0}},g.default.createElement("span",null,"OF")," ",u," ",g.default.createElement("span",null,"RESULTS"))))};po.propTypes={customItemStyles:b.default.object,selectedPage:b.default.number,customLeftWrapperStyles:b.default.object,customIconWrapperStyles:b.default.object,previousText:b.default.string,nextText:b.default.string,pageToShow:b.default.number,totalResults:b.default.number,showResultPerPage:b.default.bool,customParentStyles:b.default.object,customRightWrapperStyles:b.default.object},po.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const fo=h.default.div`
2512
2561
  box-sizing: border-box;
2513
2562
  display: flex;
2514
2563
  justify-content: center;
@@ -2516,8 +2565,8 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2516
2565
  width: auto;
2517
2566
 
2518
2567
  ${({size:e})=>l.css`height: ${e}px;`}
2519
- `,io=h.default.div`
2520
- `,no=h.default.div`
2568
+ `,mo=h.default.div`
2569
+ `,bo=h.default.div`
2521
2570
  box-sizing: border-box;
2522
2571
  display: flex;
2523
2572
  justify-content: center;
@@ -2546,11 +2595,11 @@ svg {
2546
2595
  `}
2547
2596
  }
2548
2597
  }
2549
- `,co=({theme:e,toggleSet:t,slide:l,color:a,size:o,transform:r,ratingValue:i,starVal:n,hover:c,...d})=>g.default.createElement(no,k({theme:e,ratingValue:i,starVal:n,hover:c,toggleSet:t,color:a,size:o,transform:r},d),g.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"},g.default.createElement("defs",null,g.default.createElement("clipPath",{id:"starFilled"},g.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"}))),g.default.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),g.default.createElement("rect",{x:l,y:"0",fill:a,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function so(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 uo(e,t){return 100*e/t}const po=({type:e,customStylesContainer:a,customStylesStar:o,customStylesPercentage:r,color:i,size:n,handleClick:c,transform:d,maxRange:s,value:u,toggleStar:p,toggleSet:f,identifier:m,...b})=>{l.useTheme();const[h,y]=t.useState(void 0),[x,v]=t.useState(void 0),[C,A]=t.useState(void 0),[w,S]=t.useState(void 0);t.useEffect((()=>{y(so(u,s).array),v(so(u,s).value),A(uo(u,s))}),[u,s]),t.useEffect((()=>{w?y(so(w,s).array):(y(so(u,s).array),v(so(u,s).value),A(uo(u,s)))}),[w]);const E=g.default.createElement(g.default.Fragment,null,h?.map(((e,t)=>{const l=20*(t+1);return g.default.createElement(co,{ratingValue:l,starVal:x,hover:w,toggleSet:f,onClick:f?()=>c(l):null,onMouseEnter:f?()=>{S(l)}:null,onMouseLeave:f?()=>{S(null)}:null,slide:e,color:i,className:"star",size:n,transform:d,key:m?.concat(t),customStyles:o})})));return g.default.createElement(ro,k({customStyles:a,type:e,size:n},b,{className:"container"}),p?E:g.default.createElement(io,{type:e,customStyles:r},C,"%"))};po.propTypes={customStylesContainer:b.default.object,customStylesStar:b.default.object,customStylesPercentage:b.default.object,type:b.default.string,color:b.default.string,size:b.default.number,transform:b.default.object,handleClick:b.default.func,maxRange:b.default.number,value:b.default.number,toggleStar:b.default.bool,toggleSet:b.default.bool,identifier:b.default.string},po.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const fo=h.default.div`
2598
+ `,go=({theme:e,toggleSet:t,slide:l,color:a,size:o,transform:r,ratingValue:i,starVal:n,hover:c,...d})=>g.default.createElement(bo,k({theme:e,ratingValue:i,starVal:n,hover:c,toggleSet:t,color:a,size:o,transform:r},d),g.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"},g.default.createElement("defs",null,g.default.createElement("clipPath",{id:"starFilled"},g.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"}))),g.default.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),g.default.createElement("rect",{x:l,y:"0",fill:a,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function ho(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 yo(e,t){return 100*e/t}const xo=({type:e,customStylesContainer:a,customStylesStar:o,customStylesPercentage:r,color:i,size:n,handleClick:c,transform:d,maxRange:s,value:u,toggleStar:p,toggleSet:f,identifier:m,...b})=>{l.useTheme();const[h,y]=t.useState(void 0),[x,v]=t.useState(void 0),[C,A]=t.useState(void 0),[w,S]=t.useState(void 0);t.useEffect((()=>{y(ho(u,s).array),v(ho(u,s).value),A(yo(u,s))}),[u,s]),t.useEffect((()=>{w?y(ho(w,s).array):(y(ho(u,s).array),v(ho(u,s).value),A(yo(u,s)))}),[w]);const E=g.default.createElement(g.default.Fragment,null,h?.map(((e,t)=>{const l=20*(t+1);return g.default.createElement(go,{ratingValue:l,starVal:x,hover:w,toggleSet:f,onClick:f?()=>c(l):null,onMouseEnter:f?()=>{S(l)}:null,onMouseLeave:f?()=>{S(null)}:null,slide:e,color:i,className:"star",size:n,transform:d,key:m?.concat(t),customStyles:o})})));return g.default.createElement(fo,k({customStyles:a,type:e,size:n},b,{className:"container"}),p?E:g.default.createElement(mo,{type:e,customStyles:r},C,"%"))};xo.propTypes={customStylesContainer:b.default.object,customStylesStar:b.default.object,customStylesPercentage:b.default.object,type:b.default.string,color:b.default.string,size:b.default.number,transform:b.default.object,handleClick:b.default.func,maxRange:b.default.number,value:b.default.number,toggleStar:b.default.bool,toggleSet:b.default.bool,identifier:b.default.string},xo.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const vo=h.default.div`
2550
2599
  .form-check-input {
2551
2600
  accent-color: ${({theme:e})=>e.primary["primary-1"]};
2552
2601
  }
2553
- `,mo=({customStyles:e,inBuiltCss:t,type:a="table",sortIcon:o,data:r,tableColumns:i,progressPending:n,defaultSortFieldId:c,handleOnSort:d,sortServer:s,progressComponent:u,responsive:p,conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:b,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()||R,C=g.default.forwardRef((({onClick:e,...t},l)=>g.default.createElement(fo,{theme:v},g.default.createElement("input",k({type:"checkbox",className:"form-check-input",ref:l,onClick:e},t)))));return g.default.createElement(S.default,k({responsive:p,data:r,columns:i,noHeader:!0,highlightOnHover:!0,sortIcon:o,progressPending:n,customStyles:x,defaultSortFieldId:c,progressComponent:u||void 0,sortServer:s,onSort:(e,t,l)=>{d(e,t,l)},conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:b,selectableRowsComponent:C},y))};mo.propTypes={inBuiltCss:b.default.object,sortIcon:b.default.any,data:b.default.array,tableColumns:b.default.array,progressPending:b.default.bool,progressComponent:b.default.any,defaultSortFieldId:b.default.number,sortServer:b.default.bool,handleOnSort:b.default.any,responsive:b.default.bool,conditionalRowStyles:b.default.array,fixedHeader:b.default.bool,fixedHeaderScrollHeight:b.default.string,customStyle:b.default.object},mo.defaultProps={inBuiltCss:W,sortIcon:g.default.createElement(N,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100%"};const bo=({title:e,subtitle:t,wrapperStyle:a,imgLink:o,imgStyle:r,iconSize:i})=>{const n=l.useTheme()||R,c={fontSize:"26px",fontWeight:"bold",color:`${n.additional["text-color"]}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},d={fontSize:"13px",color:`${n.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return g.default.createElement("div",{style:a},g.default.createElement("div",{style:c},o?g.default.createElement("img",{src:o,alt:"userIcon",style:r}):g.default.createElement(N,{icon:"user-icon",size:i,color:n.primary["primary-1"]})," ",g.default.createElement("h4",null,e)),g.default.createElement("div",{style:d},g.default.createElement("p",null,t)))};bo.propTypes={size:b.default.number},bo.defaultProps={iconSize:23};const go=l.createGlobalStyle`
2602
+ `,Co=({customStyles:e,inBuiltCss:t,type:a="table",sortIcon:o,data:r,tableColumns:i,progressPending:n,defaultSortFieldId:c,handleOnSort:d,sortServer:s,progressComponent:u,responsive:p,conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:b,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()||R,C=g.default.forwardRef((({onClick:e,...t},l)=>g.default.createElement(vo,{theme:v},g.default.createElement("input",k({type:"checkbox",className:"form-check-input",ref:l,onClick:e},t)))));return g.default.createElement(S.default,k({responsive:p,data:r,columns:i,noHeader:!0,highlightOnHover:!0,sortIcon:o,progressPending:n,customStyles:x,defaultSortFieldId:c,progressComponent:u||void 0,sortServer:s,onSort:(e,t,l)=>{d(e,t,l)},conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:b,selectableRowsComponent:C},y))};Co.propTypes={inBuiltCss:b.default.object,sortIcon:b.default.any,data:b.default.array,tableColumns:b.default.array,progressPending:b.default.bool,progressComponent:b.default.any,defaultSortFieldId:b.default.number,sortServer:b.default.bool,handleOnSort:b.default.any,responsive:b.default.bool,conditionalRowStyles:b.default.array,fixedHeader:b.default.bool,fixedHeaderScrollHeight:b.default.string,customStyle:b.default.object},Co.defaultProps={inBuiltCss:W,sortIcon:g.default.createElement(N,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100%"};const Ao=({title:e,subtitle:t,wrapperStyle:a,imgLink:o,imgStyle:r,iconSize:i})=>{const n=l.useTheme()||R,c={fontSize:"26px",fontWeight:"bold",color:`${n.additional["text-color"]}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},d={fontSize:"13px",color:`${n.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return g.default.createElement("div",{style:a},g.default.createElement("div",{style:c},o?g.default.createElement("img",{src:o,alt:"userIcon",style:r}):g.default.createElement(N,{icon:"user-icon",size:i,color:n.primary["primary-1"]})," ",g.default.createElement("h4",null,e)),g.default.createElement("div",{style:d},g.default.createElement("p",null,t)))};Ao.propTypes={size:b.default.number},Ao.defaultProps={iconSize:23};const wo=l.createGlobalStyle`
2554
2603
  @font-face {
2555
2604
  font-family: "Averta";
2556
2605
  font-weight: 100;
@@ -2658,7 +2707,7 @@ svg {
2658
2707
  * {
2659
2708
  font-family: "Averta";
2660
2709
  }
2661
- `,ho=h.default.span`
2710
+ `,So=h.default.span`
2662
2711
  background: transparent;
2663
2712
  position: relative;
2664
2713
  display: flex;
@@ -2667,12 +2716,12 @@ svg {
2667
2716
  &>span:not(:first-of-type){
2668
2717
  margin-left: -13px;
2669
2718
  }
2670
- `,yo=h.default.p`
2719
+ `,Eo=h.default.p`
2671
2720
  color: ${({theme:e,variantQty:t})=>e.variant[t]};
2672
2721
  margin: 0;
2673
2722
  margin-left: 7px;
2674
2723
  font-size: 16px;
2675
- `,xo=({items:e,size:t,variantCircle:a,variantName:o,variantQty:r,user:i,colorCircle:n,colorBorderCircle:c,...d})=>{const s=l.useTheme()||R;return g.default.createElement(ho,d,e?.map(((l,r)=>{let i={},d={};return i.backgroundColor=n?`${s.variant[n]}`:`${s.variant[a]}`,0!==r&&(i.border=c?`2px solid ${c}`:`2px solid ${s.variant[a]}`,d.border=c?`2px solid ${c}`:`2px solid ${s.variant[a]}`),1===e.length?g.default.createElement(ue,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${s.variant[{variantName:o}]}`},size:t,toggleName:!0,user:l,customStylesCircle:i,customStylesImage:d}):r<=3?g.default.createElement(ue,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${s.variant[{variantName:o}]}`},size:t,toggleName:!1,user:l,customStylesCircle:i,customStylesImage:d}):null})),e.length-4>0?g.default.createElement(yo,{theme:s,variantQty:r},"+",e.length-4):null)};xo.propTypes={variantCircle:b.default.string,variantName:b.default.string,size:b.default.oneOf(["SM","MD","LG"]),user:b.default.object,theme:b.default.object,colorCircle:b.default.string,colorBorderCircle:b.default.string,variantQty:b.default.string},xo.defaultProps={variantCircle:"primary-1",variantName:"primary-2",size:"MD",user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const vo=h.default.div`
2724
+ `,ko=({items:e,size:t,variantCircle:a,variantName:o,variantQty:r,user:i,colorCircle:n,colorBorderCircle:c,...d})=>{const s=l.useTheme()||R;return g.default.createElement(So,d,e?.map(((l,r)=>{let i={},d={};return i.backgroundColor=n?`${s.variant[n]}`:`${s.variant[a]}`,0!==r&&(i.border=c?`2px solid ${c}`:`2px solid ${s.variant[a]}`,d.border=c?`2px solid ${c}`:`2px solid ${s.variant[a]}`),1===e.length?g.default.createElement(ue,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${s.variant[{variantName:o}]}`},size:t,toggleName:!0,user:l,customStylesCircle:i,customStylesImage:d}):r<=3?g.default.createElement(ue,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${s.variant[{variantName:o}]}`},size:t,toggleName:!1,user:l,customStylesCircle:i,customStylesImage:d}):null})),e.length-4>0?g.default.createElement(Eo,{theme:s,variantQty:r},"+",e.length-4):null)};ko.propTypes={variantCircle:b.default.string,variantName:b.default.string,size:b.default.oneOf(["SM","MD","LG"]),user:b.default.object,theme:b.default.object,colorCircle:b.default.string,colorBorderCircle:b.default.string,variantQty:b.default.string},ko.defaultProps={variantCircle:"primary-1",variantName:"primary-2",size:"MD",user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Vo=h.default.div`
2676
2725
  max-width: inherit;
2677
2726
  width: inherit;
2678
2727
  font-size: 14px;
@@ -2698,7 +2747,7 @@ svg {
2698
2747
  &[data-popper-placement*='top'] .tooltip-arrow::after {
2699
2748
  border-color: ${({theme:e,variantTPbg:t})=>t?e.variant[t]:"#6b747f"} transparent transparent transparent;
2700
2749
  }
2701
- `,Co=h.default.div`
2750
+ `,Mo=h.default.div`
2702
2751
  display: flex;
2703
2752
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2704
2753
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2713,24 +2762,24 @@ svg {
2713
2762
  svg path {
2714
2763
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2715
2764
  }
2716
- `,Ao=h.default.div`
2765
+ `,zo=h.default.div`
2717
2766
  display: flex;
2718
2767
  justify-content: space-evenly;
2719
2768
  flex-grow: 1;
2720
2769
  align-items: stretch;
2721
- `,wo=({label:e,index:t,style:a,items:r,variant:i,borderVariant:n,bgVariant:c,variantDisable:d,variantBgDisable:s,disabled:u,divider:p,indexPrefix:f,onClick:m,icon:b,variantTPtext:h,variantTPbg:y,...x})=>{l.useTheme();const{getArrowProps:v,getTooltipProps:C,setTooltipRef:A,setTriggerRef:w,visible:S}=o.usePopperTooltip();return g.default.createElement(g.default.Fragment,null,g.default.createElement(Ao,{ref:w},g.default.createElement(Co,{variant:i,borderVariant:n,bgVariant:c,variantDisable:d,variantBgDisable:s,disabled:u,onClick:u?null:()=>{m(m)}},b),p),S&&g.default.createElement(vo,k({variantTPtext:h,variantTPbg:y,ref:A},C({className:"tooltip-container"})),e,g.default.createElement("div",v({className:"tooltip-arrow"}))))};wo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func,variantTPtext:b.default.string,variantTPbg:b.default.string},Ao.defaultProps={theme:R},Co.defaultProps={theme:R},vo.defaultProps={theme:R},wo.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const So=h.default.div`
2770
+ `,Bo=({label:e,index:t,style:a,items:r,variant:i,borderVariant:n,bgVariant:c,variantDisable:d,variantBgDisable:s,disabled:u,divider:p,indexPrefix:f,onClick:m,icon:b,variantTPtext:h,variantTPbg:y,...x})=>{l.useTheme();const{getArrowProps:v,getTooltipProps:C,setTooltipRef:A,setTriggerRef:w,visible:S}=o.usePopperTooltip();return g.default.createElement(g.default.Fragment,null,g.default.createElement(zo,{ref:w},g.default.createElement(Mo,{variant:i,borderVariant:n,bgVariant:c,variantDisable:d,variantBgDisable:s,disabled:u,onClick:u?null:()=>{m(m)}},b),p),S&&g.default.createElement(Vo,k({variantTPtext:h,variantTPbg:y,ref:A},C({className:"tooltip-container"})),e,g.default.createElement("div",v({className:"tooltip-arrow"}))))};Bo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func,variantTPtext:b.default.string,variantTPbg:b.default.string},zo.defaultProps={theme:R},Mo.defaultProps={theme:R},Vo.defaultProps={theme:R},Bo.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Io=h.default.div`
2722
2771
  display: flex;
2723
2772
  justify-content: space-evenly;
2724
2773
  align-items: stretch;
2725
2774
  height: 42px;
2726
2775
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2727
2776
  border-radius: 3px;
2728
- `,Eo=h.default.div`
2777
+ `,Lo=h.default.div`
2729
2778
  display: flex;
2730
2779
  justify-content: space-evenly;
2731
2780
  flex-grow: 1;
2732
2781
  align-items: stretch;
2733
- `,ko=h.default.div`
2782
+ `,Ro=h.default.div`
2734
2783
  display: flex;
2735
2784
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2736
2785
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2745,19 +2794,19 @@ svg {
2745
2794
  svg path {
2746
2795
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2747
2796
  }
2748
- `,Vo=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:d,indexPrefix:s,onClick:u,...p})=>(l.useTheme(),g.default.createElement(So,k({variant:a,borderVariant:o},p),t?.map(((e,l)=>g.default.createElement(Eo,{key:s.concat(l)},g.default.createElement(ko,{variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>u(e.label)},e.icon),t?.length-1!==l&&d)))));Vo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func},So.defaultProps={theme:R},Eo.defaultProps={theme:R},ko.defaultProps={theme:R},Vo.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white"};const zo=h.default.div`
2797
+ `,Wo=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:d,indexPrefix:s,onClick:u,...p})=>(l.useTheme(),g.default.createElement(Io,k({variant:a,borderVariant:o},p),t?.map(((e,l)=>g.default.createElement(Lo,{key:s.concat(l)},g.default.createElement(Ro,{variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>u(e.label)},e.icon),t?.length-1!==l&&d)))));Wo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func},Io.defaultProps={theme:R},Lo.defaultProps={theme:R},Ro.defaultProps={theme:R},Wo.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white"};const Po=h.default.div`
2749
2798
  display: flex;
2750
2799
  justify-content: space-evenly;
2751
2800
  align-items: stretch;
2752
2801
  height: 42px;
2753
2802
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2754
2803
  border-radius: 3px;
2755
- `,Mo=h.default.div`
2804
+ `,To=h.default.div`
2756
2805
  display: flex;
2757
2806
  justify-content: space-evenly;
2758
2807
  flex-grow: 1;
2759
2808
  align-items: stretch;
2760
- `,Bo=h.default.div`
2809
+ `,Ho=h.default.div`
2761
2810
  display: flex;
2762
2811
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2763
2812
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2772,28 +2821,28 @@ svg {
2772
2821
  svg path {
2773
2822
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2774
2823
  }
2775
- `,Io=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:d,indexPrefix:s,onClick:u,variantTPtext:p,variantTPbg:f,...m})=>(l.useTheme(),g.default.createElement(zo,k({variant:a,borderVariant:o},m),t?.map(((e,l)=>g.default.createElement(wo,{key:s.concat(l),variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{u(e.label)},divider:t?.length-1!==l&&d,icon:e.icon,index:l,label:e.label,variantTPtext:p,variantTPbg:f})))));Io.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func,variantTPtext:b.default.string,variantTPbg:b.default.string},zo.defaultProps={theme:R},Mo.defaultProps={theme:R},Bo.defaultProps={theme:R},Io.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Lo=h.default.div`
2824
+ `,jo=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:d,indexPrefix:s,onClick:u,variantTPtext:p,variantTPbg:f,...m})=>(l.useTheme(),g.default.createElement(Po,k({variant:a,borderVariant:o},m),t?.map(((e,l)=>g.default.createElement(Bo,{key:s.concat(l),variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{u(e.label)},divider:t?.length-1!==l&&d,icon:e.icon,index:l,label:e.label,variantTPtext:p,variantTPbg:f})))));jo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func,variantTPtext:b.default.string,variantTPbg:b.default.string},Po.defaultProps={theme:R},To.defaultProps={theme:R},Ho.defaultProps={theme:R},jo.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Fo=h.default.div`
2776
2825
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2777
2826
  border: 1.3px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
2778
2827
  border-radius: 50%;
2779
2828
  width: ${({size:e})=>e}px;
2780
2829
  height: ${({size:e})=>e}px;
2781
2830
  box-sizing: border-box;
2782
- `,Ro=({variant:e,bgColor:t,borderColor:a,...o})=>(l.useTheme(),g.default.createElement(Lo,k({variant:e,borderColor:a,bgColor:t},o)));Ro.propTypes={variant:b.default.string,size:b.default.number,theme:b.default.object,borderColor:b.default.string,bgColor:b.default.string},Lo.defaultProps={theme:R},Ro.defaultProps={theme:R,variant:"primary-1",size:11};const Wo=h.default.div`
2831
+ `,qo=({variant:e,bgColor:t,borderColor:a,...o})=>(l.useTheme(),g.default.createElement(Fo,k({variant:e,borderColor:a,bgColor:t},o)));qo.propTypes={variant:b.default.string,size:b.default.number,theme:b.default.object,borderColor:b.default.string,bgColor:b.default.string},Fo.defaultProps={theme:R},qo.defaultProps={theme:R,variant:"primary-1",size:11};const Zo=h.default.div`
2783
2832
  display: inline-flex;
2784
2833
  align-items: center;
2785
2834
  background-color: transparent;
2786
2835
  min-height: 24px;
2787
- `,Po=h.default.div`
2836
+ `,Oo=h.default.div`
2788
2837
  display: flex;
2789
2838
  justify-content: space-evenly;
2790
2839
  width: 69px;
2791
- `,To=h.default.p`
2840
+ `,Do=h.default.p`
2792
2841
  display: flex;
2793
2842
  color: ${({theme:e,variantText:t,colorText:l})=>l||e.variant[t]};
2794
2843
  font-size: 16px;
2795
2844
  margin: 0 5px;
2796
- `,Ho=({style:e,variantCircle:t,variantText:a,level:o,textArray:r,colorArray:i,indexPrefix:n,colorText:c,...d})=>(l.useTheme(),g.default.createElement(Wo,d,g.default.createElement(Po,null,[1,2,3,4].map(((e,l)=>{let a="#D4D7E3",r=null,c=null;return o<=0&&(o=0),o>=4&&(o=4),i?o>=e?(r=i[o],a=i[o]):r=i[0]:o>=e?(c=t,a=t):c="#FFFFFF",g.default.createElement(Ro,{key:n.concat(l),variant:c,borderColor:a,bgColor:r,size:11})}))),r&&g.default.createElement(To,{variantText:a,colorText:c},r[o])));Ho.propTypes={variantCircle:b.default.string,variantText:b.default.string,level:b.default.number,indexPrefix:b.default.string,theme:b.default.object,block:b.default.bool,textArray:b.default.array,colorArray:b.default.array,colorText:b.default.string},To.defaultProps={theme:R},Ho.defaultProps={theme:R,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const jo={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},Fo=h.default.button`
2845
+ `,Go=({style:e,variantCircle:t,variantText:a,level:o,textArray:r,colorArray:i,indexPrefix:n,colorText:c,...d})=>(l.useTheme(),g.default.createElement(Zo,d,g.default.createElement(Oo,null,[1,2,3,4].map(((e,l)=>{let a="#D4D7E3",r=null,c=null;return o<=0&&(o=0),o>=4&&(o=4),i?o>=e?(r=i[o],a=i[o]):r=i[0]:o>=e?(c=t,a=t):c="#FFFFFF",g.default.createElement(qo,{key:n.concat(l),variant:c,borderColor:a,bgColor:r,size:11})}))),r&&g.default.createElement(Do,{variantText:a,colorText:c},r[o])));Go.propTypes={variantCircle:b.default.string,variantText:b.default.string,level:b.default.number,indexPrefix:b.default.string,theme:b.default.object,block:b.default.bool,textArray:b.default.array,colorArray:b.default.array,colorText:b.default.string},Do.defaultProps={theme:R},Go.defaultProps={theme:R,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const Xo={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},Jo=h.default.button`
2797
2846
  ${({underlined:e})=>e?null:l.css`&:hover {text-decoration: underline}`};
2798
2847
  background: transparent;
2799
2848
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -2804,7 +2853,7 @@ svg {
2804
2853
  justify-content: flex-start;
2805
2854
  border: none;
2806
2855
  cursor: pointer;
2807
- font-size: ${({size:e})=>jo[e].fontSize};
2856
+ font-size: ${({size:e})=>Xo[e].fontSize};
2808
2857
 
2809
2858
  &:disabled {
2810
2859
  color: ${({theme:e})=>e.variant["neutral-3"]};
@@ -2814,7 +2863,7 @@ svg {
2814
2863
  * {
2815
2864
  outline: none;
2816
2865
  }
2817
- `,qo=({block:e,size:t,style:a,variant:o,disabled:r,underlined:i,...n})=>(l.useTheme(),g.default.createElement(Fo,k({block:e,variant:o,type:"button",style:a,size:t,disabled:r,underlined:i},n),n.children));qo.propTypes={variant:b.default.string,disabled:b.default.bool,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,onClick:b.default.func,theme:b.default.object,underlined:b.default.bool},Fo.defaultProps={theme:R},qo.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const Zo=l.createGlobalStyle`
2866
+ `,Uo=({block:e,size:t,style:a,variant:o,disabled:r,underlined:i,...n})=>(l.useTheme(),g.default.createElement(Jo,k({block:e,variant:o,type:"button",style:a,size:t,disabled:r,underlined:i},n),n.children));Uo.propTypes={variant:b.default.string,disabled:b.default.bool,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,onClick:b.default.func,theme:b.default.object,underlined:b.default.bool},Jo.defaultProps={theme:R},Uo.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const Yo=l.createGlobalStyle`
2818
2867
  @keyframes blowUpModal {
2819
2868
  0% {
2820
2869
  transform: translate(-50%,-50%) scale(0) ;
@@ -2843,7 +2892,7 @@ svg {
2843
2892
  animation: blowUpModalTwo 0.3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
2844
2893
  }
2845
2894
 
2846
- `,Oo=h.default.div`
2895
+ `,No=h.default.div`
2847
2896
  display: flex;
2848
2897
  justify-content: space-between;
2849
2898
  align-items: flex-start;
@@ -2854,29 +2903,29 @@ svg {
2854
2903
  z-index: 100;
2855
2904
  // custom styles
2856
2905
  ${({customModalHeaderStyle:e})=>e}
2857
- `,Do=h.default.div`
2906
+ `,Qo=h.default.div`
2858
2907
  //Set the styles from the default styles object
2859
2908
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2860
2909
  // custom styles
2861
2910
  ${({customModalBodyStyle:e})=>e}
2862
- `,Go=h.default.div`
2911
+ `,Ko=h.default.div`
2863
2912
  max-height: 60vh;
2864
2913
  padding: 0 24px 24px 24px;
2865
2914
  overflow-y: auto;
2866
2915
  ${({contentWrapperStyle:e})=>e}
2867
- `,Xo=h.default.div`
2916
+ `,$o=h.default.div`
2868
2917
  padding-top: 16px;
2869
2918
 
2870
2919
  //Set the styles from the default styles object
2871
2920
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2872
2921
  // custom styles
2873
2922
  ${({customModalFooterStyle:e})=>e}
2874
- `,Jo=h.default.div`
2923
+ `,_o=h.default.div`
2875
2924
  cursor: pointer;
2876
- `;try{E.default.setAppElement("#root")}catch(e){E.default.setAppElement("#__next")}const Uo=({modalIsOpen:e,toggleModal:t,closeOnOutsideClick:a,headerContent:o,bodyContent:r,footerContent:i,customModalHeaderStyle:n,customModalBodyStyle:c,customModalFooterStyle:d,customWidth:s,customMinWidth:u,customMaxWidth:p,contentStyle:f,contentWrapperStyle:m,customZIndex:b,hideIcon:h,...y})=>{const x={overlay:{zIndex:b,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",minWidth:u,overflow:"hidden",border:`1px solid ${(l.useTheme()||R).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:s&&s,maxWidth:p&&p,...f}};return g.default.createElement("div",null,g.default.createElement(E.default,k({closeTimeoutMS:500,isOpen:e,onRequestClose:a?t:void 0,style:x,contentLabel:"Modal"},y),o&&g.default.createElement(Oo,{style:n},g.default.createElement("div",null,o),!h&&g.default.createElement(Jo,{onClick:t},g.default.createElement(N,{icon:"close-icon",size:18}))),!o&&!h&&g.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginRight:"24px",paddingTop:"24px"}},g.default.createElement("div",null),g.default.createElement(Jo,{onClick:t},g.default.createElement(N,{icon:"close-icon",size:18}))),g.default.createElement(Go,{contentWrapperStyle:m},g.default.createElement(Do,{inBuiltCss:W,style:c},r),i&&g.default.createElement(Xo,{inBuiltCss:W,style:d},i))),g.default.createElement(Zo,null))};Uo.propTypes={modalIsOpen:b.default.bool,toggleModal:b.default.func,closeOnOutsideClick:b.default.bool,headerContent:b.default.any,hideIcon:b.default.bool,bodyContent:b.default.any,footerContent:b.default.any,customModalHeaderStyle:b.default.object,customModalBodyStyle:b.default.object,customModalFooterStyle:b.default.object,customMinWidth:b.default.string,contentStyle:b.default.object,contentWrapperStyle:b.default.object,customZIndex:b.default.number},Uo.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:9999999,hideIcon:!1};const Yo=h.default.div`
2925
+ `;try{E.default.setAppElement("#root")}catch(e){E.default.setAppElement("#__next")}const er=({modalIsOpen:e,toggleModal:t,closeOnOutsideClick:a,headerContent:o,bodyContent:r,footerContent:i,customModalHeaderStyle:n,customModalBodyStyle:c,customModalFooterStyle:d,customWidth:s,customMinWidth:u,customMaxWidth:p,contentStyle:f,contentWrapperStyle:m,customZIndex:b,hideIcon:h,...y})=>{const x={overlay:{zIndex:b,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",minWidth:u,overflow:"hidden",border:`1px solid ${(l.useTheme()||R).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:s&&s,maxWidth:p&&p,...f}};return g.default.createElement("div",null,g.default.createElement(E.default,k({closeTimeoutMS:500,isOpen:e,onRequestClose:a?t:void 0,style:x,contentLabel:"Modal"},y),o&&g.default.createElement(No,{style:n},g.default.createElement("div",null,o),!h&&g.default.createElement(_o,{onClick:t},g.default.createElement(N,{icon:"close-icon",size:18}))),!o&&!h&&g.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginRight:"24px",paddingTop:"24px"}},g.default.createElement("div",null),g.default.createElement(_o,{onClick:t},g.default.createElement(N,{icon:"close-icon",size:18}))),g.default.createElement(Ko,{contentWrapperStyle:m},g.default.createElement(Qo,{inBuiltCss:W,style:c},r),i&&g.default.createElement($o,{inBuiltCss:W,style:d},i))),g.default.createElement(Yo,null))};er.propTypes={modalIsOpen:b.default.bool,toggleModal:b.default.func,closeOnOutsideClick:b.default.bool,headerContent:b.default.any,hideIcon:b.default.bool,bodyContent:b.default.any,footerContent:b.default.any,customModalHeaderStyle:b.default.object,customModalBodyStyle:b.default.object,customModalFooterStyle:b.default.object,customMinWidth:b.default.string,contentStyle:b.default.object,contentWrapperStyle:b.default.object,customZIndex:b.default.number},er.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:9999999,hideIcon:!1};const tr=h.default.div`
2877
2926
  ${({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}}}}
2878
2927
  }
2879
- `,No=({theme:e,toggleSimple:t,contentTrigger:l,contentOverlay:a,popperOptionsP:r,settingsP:i,customStyles:n,...c})=>{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:b}=o.usePopperTooltip({...s},d);return g.default.createElement(g.default.Fragment,null,g.default.createElement("div",{ref:m,style:{width:"fit-content",height:"fit-content"}},l),b&&g.default.createElement(Yo,k({type:t?"simple-overlay":"overlay",theme:e,ref:f},p({className:"tooltip-container"}),{customStyles:n}),a))};No.propTypes={theme:b.default.object,contentTrigger:b.default.any,contentOverlay:b.default.any,popperOptionsP:b.default.object,settingsP:b.default.object,customStyles:b.default.object,toggleSimple:b.default.bool},No.defaultProps={theme:W,contentTrigger:g.default.createElement("div",null,"Trigger"),contentOverlay:g.default.createElement("div",null,"I am the Overlay")};const Qo=h.default.div`
2928
+ `,lr=({theme:e,toggleSimple:t,contentTrigger:l,contentOverlay:a,popperOptionsP:r,settingsP:i,customStyles:n,...c})=>{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:b}=o.usePopperTooltip({...s},d);return g.default.createElement(g.default.Fragment,null,g.default.createElement("div",{ref:m,style:{width:"fit-content",height:"fit-content"}},l),b&&g.default.createElement(tr,k({type:t?"simple-overlay":"overlay",theme:e,ref:f},p({className:"tooltip-container"}),{customStyles:n}),a))};lr.propTypes={theme:b.default.object,contentTrigger:b.default.any,contentOverlay:b.default.any,popperOptionsP:b.default.object,settingsP:b.default.object,customStyles:b.default.object,toggleSimple:b.default.bool},lr.defaultProps={theme:W,contentTrigger:g.default.createElement("div",null,"Trigger"),contentOverlay:g.default.createElement("div",null,"I am the Overlay")};const ar=h.default.div`
2880
2929
  position: relative;
2881
2930
  height: 10px;
2882
2931
  border-radius: 10px;
@@ -2887,7 +2936,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2887
2936
 
2888
2937
  // custom styles
2889
2938
  ${({progressWrapStyle:e})=>e}
2890
- `,Ko=h.default.div`
2939
+ `,or=h.default.div`
2891
2940
  height: inherit;
2892
2941
  /* border-radius: inherit; */
2893
2942
  text-align: right;
@@ -2898,12 +2947,12 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2898
2947
  // custom styles
2899
2948
  ${({progressBarStyle:e})=>e}
2900
2949
 
2901
- `,$o=({labelStyle:e,progressBarStyle:a,progressWrapStyle:o,label:r,total:i,sections:n,innerContent:c,baseColor:d,baseTitle:s,labelProps:u,props:p})=>{const f=l.useTheme()||R,[m,b]=t.useState([[]]),[h,y]=t.useState(null);t.useEffect((()=>{n&&n.length>0&&b(n)}),[n]);const x=m?.length>0?m?.reduce(((e,t)=>e+t.count),0):0;x>i&&(i=x);const v=m?.length>0?m?.map((e=>e.count/i*100)):[],C=null!==h?m[h].label:s;return g.default.createElement("div",null,g.default.createElement(_e,k({inBuiltCss:W,customStyles:e,type:"progressBar-label",text:r},u)),g.default.createElement(Qo,k({theme:f,progressWrapStyle:o,color:d,title:C},p),m?.map(((e,t)=>g.default.createElement(Ko,k({key:t,onMouseEnter:()=>y(t),onMouseLeave:()=>y(null),progressBarStyle:a,theme:f,color:e.color,style:{width:v[t]+"%",left:0===t?0:v.slice(0,t).reduce(((e,t)=>e+t),0)+"%"}},p)))),g.default.createElement("div",{style:{position:"absolute",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)",cursor:"default"},onMouseEnter:e=>((e,t)=>{e.stopPropagation(),y(t)})(e,h),onMouseLeave:e=>{e.stopPropagation(),y(null)}},c)))};$o.propTypes={labelStyle:b.default.object,progressBarStyle:b.default.object,progressWrapStyle:b.default.object,sections:b.default.arrayOf(b.default.shape({color:b.default.string.isRequired,percentage:b.default.number,count:b.default.number.isRequired})).isRequired},$o.defaultProps={labelStyle:{},progressBarStyle:{},progressWrapStyle:{},label:"",total:100,innerContent:"",baseColor:"",baseTitle:"Total Task",labelProps:{},props:{}};const _o=h.default.div`
2950
+ `,rr=({labelStyle:e,progressBarStyle:a,progressWrapStyle:o,label:r,total:i,sections:n,innerContent:c,baseColor:d,baseTitle:s,labelProps:u,props:p})=>{const f=l.useTheme()||R,[m,b]=t.useState([[]]),[h,y]=t.useState(null);t.useEffect((()=>{n&&n.length>0&&b(n)}),[n]);const x=m?.length>0?m?.reduce(((e,t)=>e+t.count),0):0;x>i&&(i=x);const v=m?.length>0?m?.map((e=>e.count/i*100)):[],C=null!==h?m[h].label:s;return g.default.createElement("div",null,g.default.createElement(_e,k({inBuiltCss:W,customStyles:e,type:"progressBar-label",text:r},u)),g.default.createElement(ar,k({theme:f,progressWrapStyle:o,color:d,title:C},p),m?.map(((e,t)=>g.default.createElement(or,k({key:t,onMouseEnter:()=>y(t),onMouseLeave:()=>y(null),progressBarStyle:a,theme:f,color:e.color,style:{width:v[t]+"%",left:0===t?0:v.slice(0,t).reduce(((e,t)=>e+t),0)+"%"}},p)))),g.default.createElement("div",{style:{position:"absolute",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)",cursor:"default"},onMouseEnter:e=>((e,t)=>{e.stopPropagation(),y(t)})(e,h),onMouseLeave:e=>{e.stopPropagation(),y(null)}},c)))};rr.propTypes={labelStyle:b.default.object,progressBarStyle:b.default.object,progressWrapStyle:b.default.object,sections:b.default.arrayOf(b.default.shape({color:b.default.string.isRequired,percentage:b.default.number,count:b.default.number.isRequired})).isRequired},rr.defaultProps={labelStyle:{},progressBarStyle:{},progressWrapStyle:{},label:"",total:100,innerContent:"",baseColor:"",baseTitle:"Total Task",labelProps:{},props:{}};const ir=h.default.div`
2902
2951
  background: transparent;
2903
2952
  display: flex;
2904
2953
  align-items: center;
2905
2954
  width: ${({block:e})=>e?"100%":"fit-content"};
2906
- `,er=h.default.div`
2955
+ `,nr=h.default.div`
2907
2956
  margin: 0;
2908
2957
  color: ${({theme:e,variantOff:t})=>e.variant[t]};
2909
2958
  white-space: nowrap;
@@ -2921,18 +2970,18 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2921
2970
  &>div:first-of-type{
2922
2971
  color: ${({theme:e,variantOn:t})=>e.variant[t]};
2923
2972
  }
2924
- `,tr=h.default.div`
2973
+ `,cr=h.default.div`
2925
2974
  display: flex;
2926
2975
  margin-left: 20px;
2927
2976
  ${({stepsStyle:e})=>e}
2928
2977
 
2929
- `,lr=h.default.div`
2978
+ `,dr=h.default.div`
2930
2979
  height: 6px;
2931
2980
  width: ${({widthStep:e})=>e}px;
2932
2981
  margin: 0 3px;
2933
2982
  background-color: ${({theme:e,isActive:t,variantOn:l,variantOff:a})=>t?e.variant[l]:e.variant[a]};
2934
2983
  border-radius: 19px;
2935
- `,ar=({block:e,variantOn:t,variantOff:a,currentStep:o,totalSteps:r,widthStep:i,style:n,progressText:c,stepsStyle:d,...s})=>(l.useTheme(),g.default.createElement(_o,k({block:e},s,{style:n}),g.default.createElement(er,k({},s,{variantOn:t,variantOff:a}),c||"Page"," ",g.default.createElement("div",null,o)," of ",g.default.createElement("div",null,r)),g.default.createElement(tr,k({stepsStyle:d},s),Array.from(Array(r).keys()).map((e=>g.default.createElement(lr,{key:"formSteps".concat(e),isActive:o===e+1,variantOn:t,variantOff:a,widthStep:i}))))));ar.propTypes={variantOn:b.default.string,variantOff:b.default.string,block:b.default.bool,theme:b.default.object,currentStep:b.default.number,totalSteps:b.default.number,widthStep:b.default.number,progressText:b.default.string},_o.defaultProps={theme:R},er.defaultProps={theme:R},tr.defaultProps={theme:R},lr.defaultProps={theme:R},ar.defaultProps={theme:R,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const or=h.default.button`
2984
+ `,sr=({block:e,variantOn:t,variantOff:a,currentStep:o,totalSteps:r,widthStep:i,style:n,progressText:c,stepsStyle:d,...s})=>(l.useTheme(),g.default.createElement(ir,k({block:e},s,{style:n}),g.default.createElement(nr,k({},s,{variantOn:t,variantOff:a}),c||"Page"," ",g.default.createElement("div",null,o)," of ",g.default.createElement("div",null,r)),g.default.createElement(cr,k({stepsStyle:d},s),Array.from(Array(r).keys()).map((e=>g.default.createElement(dr,{key:"formSteps".concat(e),isActive:o===e+1,variantOn:t,variantOff:a,widthStep:i}))))));sr.propTypes={variantOn:b.default.string,variantOff:b.default.string,block:b.default.bool,theme:b.default.object,currentStep:b.default.number,totalSteps:b.default.number,widthStep:b.default.number,progressText:b.default.string},ir.defaultProps={theme:R},nr.defaultProps={theme:R},cr.defaultProps={theme:R},dr.defaultProps={theme:R},sr.defaultProps={theme:R,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const ur=h.default.button`
2936
2985
  background: ${({disabled:e,theme:t,bgVariant:l})=>e?"#BBC4CF":t.variant[l]};
2937
2986
  color: ${({theme:e,variant:t})=>e.variant[t]};
2938
2987
  padding: 6px 17px;
@@ -2959,7 +3008,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2959
3008
  * {
2960
3009
  outline: none;
2961
3010
  }
2962
- `,rr=({block:e,style:t,variant:a,bgVariant:o,disabled:r,...i})=>(l.useTheme(),g.default.createElement(or,k({block:e,variant:a,bgVariant:o,type:"button",style:t,disabled:r},i),i.children));rr.propTypes={variant:b.default.string,bgVariant:b.default.string,disabled:b.default.bool,block:b.default.bool,onClick:b.default.func,theme:b.default.object},or.defaultProps={theme:R},rr.defaultProps={theme:R,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const ir=h.default.button`
3011
+ `,pr=({block:e,style:t,variant:a,bgVariant:o,disabled:r,...i})=>(l.useTheme(),g.default.createElement(ur,k({block:e,variant:a,bgVariant:o,type:"button",style:t,disabled:r},i),i.children));pr.propTypes={variant:b.default.string,bgVariant:b.default.string,disabled:b.default.bool,block:b.default.bool,onClick:b.default.func,theme:b.default.object},ur.defaultProps={theme:R},pr.defaultProps={theme:R,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const fr=h.default.button`
2963
3012
  background: ${({disabled:e,theme:t})=>e?"#BBC4CF":t.additional.white};
2964
3013
  color: ${({theme:e,variant:t})=>e.variant[t]};
2965
3014
  padding: 6px 17px;
@@ -2982,7 +3031,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2982
3031
  fill: #929EAC;
2983
3032
  }
2984
3033
  }
2985
- `,nr=({block:e,style:t,variant:a,borderVariant:o,disabled:r,...i})=>(l.useTheme(),g.default.createElement(ir,k({block:e,variant:a,borderVariant:o,type:"button",style:t,disabled:r},i),i.children));nr.propTypes={variant:b.default.string,borderVariant:b.default.string,disabled:b.default.bool,block:b.default.bool,onClick:b.default.func,theme:b.default.object},ir.defaultProps={theme:R},nr.defaultProps={theme:R,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const cr={width:"auto",padding:0,boxShadow:"none",background:"transparent"},dr={background:"transparent",cursor:"pointer",border:"none",color:"white",fontSize:"16px",boxShadow:"none",borderRadius:0,padding:"8px 0 8px"},sr={borderTop:"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:0,background:"transparent",borderRadius:0,boxShadow:"none"},ur={float:"right",marginRight:"8px",marginTop:"3px"},pr={boxShadow:"none",borderRadius:0,backgroundColor:"transparent"},fr={padding:0,boxShadow:"none",borderRadius:0,backgroundColor:"transparent",cursor:"pointer"},mr={transition:"height ease 0.2s",overflow:"hidden",padding:"0",backgroundColor:"transparent",color:"white",position:"relative",boxShadow:"none"},br={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white",fontWeight:"600"},gr={padding:"0px 16px 0 0",marginLeft:"30px",height:"auto"},hr=h.default.div`
3034
+ `,mr=({block:e,style:t,variant:a,borderVariant:o,disabled:r,...i})=>(l.useTheme(),g.default.createElement(fr,k({block:e,variant:a,borderVariant:o,type:"button",style:t,disabled:r},i),i.children));mr.propTypes={variant:b.default.string,borderVariant:b.default.string,disabled:b.default.bool,block:b.default.bool,onClick:b.default.func,theme:b.default.object},fr.defaultProps={theme:R},mr.defaultProps={theme:R,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const br={width:"auto",padding:0,boxShadow:"none",background:"transparent"},gr={background:"transparent",cursor:"pointer",border:"none",color:"white",fontSize:"16px",boxShadow:"none",borderRadius:0,padding:"8px 0 8px"},hr={borderTop:"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:0,background:"transparent",borderRadius:0,boxShadow:"none"},yr={float:"right",marginRight:"8px",marginTop:"3px"},xr={boxShadow:"none",borderRadius:0,backgroundColor:"transparent"},vr={padding:0,boxShadow:"none",borderRadius:0,backgroundColor:"transparent",cursor:"pointer"},Cr={transition:"height ease 0.2s",overflow:"hidden",padding:"0",backgroundColor:"transparent",color:"white",position:"relative",boxShadow:"none"},Ar={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",color:"white",fontWeight:"600"},wr={padding:"0px 16px 0 0",marginLeft:"30px",height:"auto"},Sr=h.default.div`
2986
3035
  display: flex;
2987
3036
  flex-direction: column;
2988
3037
  height: ${({toggleSideBarOpen:e})=>"100vh"};
@@ -2990,7 +3039,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2990
3039
  @media (max-width: 428px) {
2991
3040
  height: ${({toggleSideBarOpen:e})=>e?"100vh":"56px"};
2992
3041
  }
2993
- `,yr=h.default.div`
3042
+ `,Er=h.default.div`
2994
3043
  min-height: 56px;
2995
3044
  display: flex;
2996
3045
  align-items: center;
@@ -3013,7 +3062,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3013
3062
  }
3014
3063
 
3015
3064
  ${({headerStyles:e})=>e}
3016
- `,xr=h.default.div`
3065
+ `,kr=h.default.div`
3017
3066
  display: flex;
3018
3067
  flex-direction: column;
3019
3068
  background-color: transparent;
@@ -3041,7 +3090,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3041
3090
  @media (max-width: 428px) {
3042
3091
  margin-top: 56px;
3043
3092
  }
3044
- `,vr=h.default.div`
3093
+ `,Vr=h.default.div`
3045
3094
  display: flex;
3046
3095
  justify-content: flex-start;
3047
3096
  align-items: center;
@@ -3070,7 +3119,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3070
3119
  p {
3071
3120
  margin: 0;
3072
3121
  }
3073
- `,Cr=h.default.div`
3122
+ `,Mr=h.default.div`
3074
3123
  background-color: ${({theme:e})=>e.variant["primary-1"]} !important;
3075
3124
  color: ${({theme:e})=>e.additional.white};
3076
3125
  overflow-y: hidden;
@@ -3089,7 +3138,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3089
3138
  ${({customStylesContainer:e})=>e}
3090
3139
 
3091
3140
  ${({isOpen:e,forceOpen:t,inBuiltCss:l,customStylesContainerOpen:a,customStylesContainerClose:o})=>e||t?{...P(l,"sidebar-container-open"),...a}:{...P(l,"sidebar-container-close"),...o}}
3092
- `,Ar=h.default.div`
3141
+ `,zr=h.default.div`
3093
3142
  ${({inBuiltCss:e})=>P(e,"sidebar-pusher")}
3094
3143
  ${({customStylesPusher:e})=>e}
3095
3144
 
@@ -3098,33 +3147,33 @@ ${({forceOpen:e,inBuiltCss:t,customStylesPusherOpen:l,customStylesPusherClose:a}
3098
3147
  @media (max-width: 980px) {
3099
3148
  ${({inBuiltCss:e,type:t,customStylesPusherMobile:l})=>({...P(e,"sidebar-pusher-mobile"),...l})}
3100
3149
  }
3101
- `,wr=({customStylesContainer:e,customStylesContainerOpen:t,customStylesContainerClose:a,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r,customStylesPusher:i,customStylesPusherOpen:n,customStylesPusherClose:c,customStylesPusherMobile:d,forceOpen:s,forceClose:u,handleSidebar:p,toggleSideBarOpen:f,pinner:m,...b})=>{function h(e){p(e)}const y=l.useTheme()||R;return g.default.createElement(Cr,k({theme:y,inBuiltCss:W,customStyles:e,onMouseEnter:()=>{s||h(!0)},onClick:()=>!f&&h(!0),onMouseLeave:()=>{h(!1),u()},forceOpen:s,isOpen:f},b),g.default.createElement(Ar,null),b.children,m)};wr.propTypes={customStylesContainer:b.default.object,customStylesContainerOpen:b.default.object,customStylesContainerClose:b.default.object,customStylesContainerMobileOpen:b.default.object,customStylesContainerMobileClose:b.default.object,customStylesPusher:b.default.object,customStylesPusherOpen:b.default.object,customStylesPusherClose:b.default.object,customStylesPusherMobile:b.default.object,forceOpen:b.default.bool,forceClose:b.default.func,handleSidebar:b.default.func,toggleSideBarOpen:b.default.bool,pinner:b.default.any},wr.defaultProps={forceClose:()=>{},forceOpen:!1};const Sr={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Er=h.default.div`
3150
+ `,Br=({customStylesContainer:e,customStylesContainerOpen:t,customStylesContainerClose:a,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r,customStylesPusher:i,customStylesPusherOpen:n,customStylesPusherClose:c,customStylesPusherMobile:d,forceOpen:s,forceClose:u,handleSidebar:p,toggleSideBarOpen:f,pinner:m,...b})=>{function h(e){p(e)}const y=l.useTheme()||R;return g.default.createElement(Mr,k({theme:y,inBuiltCss:W,customStyles:e,onMouseEnter:()=>{s||h(!0)},onClick:()=>!f&&h(!0),onMouseLeave:()=>{h(!1),u()},forceOpen:s,isOpen:f},b),g.default.createElement(zr,null),b.children,m)};Br.propTypes={customStylesContainer:b.default.object,customStylesContainerOpen:b.default.object,customStylesContainerClose:b.default.object,customStylesContainerMobileOpen:b.default.object,customStylesContainerMobileClose:b.default.object,customStylesPusher:b.default.object,customStylesPusherOpen:b.default.object,customStylesPusherClose:b.default.object,customStylesPusherMobile:b.default.object,forceOpen:b.default.bool,forceClose:b.default.func,handleSidebar:b.default.func,toggleSideBarOpen:b.default.bool,pinner:b.default.any},Br.defaultProps={forceClose:()=>{},forceOpen:!1};const Ir={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Lr=h.default.div`
3102
3151
  background: ${({theme:e,variant:t})=>e.variant[t]};
3103
3152
  color: ${({theme:e})=>e.additional.white};
3104
- padding: ${({size:e})=>Sr[e].padding};
3153
+ padding: ${({size:e})=>Ir[e].padding};
3105
3154
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
3106
3155
  border-radius: 42px;
3107
- font-size: ${({size:e})=>Sr[e].fontSize};
3156
+ font-size: ${({size:e})=>Ir[e].fontSize};
3108
3157
  font-weight: 600;
3109
3158
  display: flex;
3110
3159
  align-items: center;
3111
3160
  width: ${({block:e})=>e?"auto":"fit-content"};
3112
3161
  box-sizing: border-box;
3113
3162
 
3114
- `,kr=({block:e,style:t,variant:a,...o})=>(l.useTheme(),g.default.createElement(Er,k({block:e,variant:a,style:t},o),o.children));kr.propTypes={size:b.default.oneOf(["sm","md","lg"]),variant:b.default.string,block:b.default.bool,theme:b.default.object},Er.defaultProps={theme:R},kr.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const Vr={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},zr=h.default.div`
3163
+ `,Rr=({block:e,style:t,variant:a,...o})=>(l.useTheme(),g.default.createElement(Lr,k({block:e,variant:a,style:t},o),o.children));Rr.propTypes={size:b.default.oneOf(["sm","md","lg"]),variant:b.default.string,block:b.default.bool,theme:b.default.object},Lr.defaultProps={theme:R},Rr.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const Wr={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Pr=h.default.div`
3115
3164
  color: ${({theme:e,variant:t})=>e.variant[t]};
3116
3165
  background: ${({theme:e})=>e.additional.white};
3117
- padding: ${({size:e})=>Vr[e].padding};
3166
+ padding: ${({size:e})=>Wr[e].padding};
3118
3167
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
3119
3168
  border-radius: 42px;
3120
- font-size: ${({size:e})=>Vr[e].fontSize};
3169
+ font-size: ${({size:e})=>Wr[e].fontSize};
3121
3170
  font-weight: 600;
3122
3171
  display: flex;
3123
3172
  align-items: center;
3124
3173
  width: ${({block:e})=>e?"auto":"fit-content"};
3125
3174
  box-sizing: border-box;
3126
3175
 
3127
- `,Mr=({block:e,style:t,variant:a,...o})=>(l.useTheme(),g.default.createElement(zr,k({block:e,variant:a,style:t},o),o.children));Mr.propTypes={size:b.default.oneOf(["sm","md","lg"]),variant:b.default.string,block:b.default.bool,theme:b.default.object},zr.defaultProps={theme:R},Mr.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const Br={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Ir=h.default.div`
3176
+ `,Tr=({block:e,style:t,variant:a,...o})=>(l.useTheme(),g.default.createElement(Pr,k({block:e,variant:a,style:t},o),o.children));Tr.propTypes={size:b.default.oneOf(["sm","md","lg"]),variant:b.default.string,block:b.default.bool,theme:b.default.object},Pr.defaultProps={theme:R},Tr.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const Hr={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},jr=h.default.div`
3128
3177
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
3129
3178
  color: ${({theme:e,textColor:t})=>t||e.bgColor};
3130
3179
  border-radius: 13.5px;
@@ -3132,11 +3181,11 @@ font-size: 14px;
3132
3181
  display: inline-flex;
3133
3182
  align-items: center;
3134
3183
  justify-content: center;
3135
- min-width: ${({block:e,size:t})=>e?"auto":Br[t].width};
3184
+ min-width: ${({block:e,size:t})=>e?"auto":Hr[t].width};
3136
3185
  height: 28px;
3137
3186
  box-sizing: border-box;
3138
3187
  overflow: hidden;
3139
- `,Lr=({block:e,style:t,variant:a,textColor:o,bgColor:r,...i})=>(l.useTheme(),g.default.createElement(Ir,k({block:e,variant:a,textColor:o,bgColor:r,style:t},i),i.children));Lr.propTypes={variant:b.default.string,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,theme:b.default.object,textColor:b.default.string,bgColor:b.default.string},Ir.defaultProps={theme:R},Lr.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const Rr={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Wr=h.default.div`
3188
+ `,Fr=({block:e,style:t,variant:a,textColor:o,bgColor:r,...i})=>(l.useTheme(),g.default.createElement(jr,k({block:e,variant:a,textColor:o,bgColor:r,style:t},i),i.children));Fr.propTypes={variant:b.default.string,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,theme:b.default.object,textColor:b.default.string,bgColor:b.default.string},jr.defaultProps={theme:R},Fr.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const qr={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Zr=h.default.div`
3140
3189
  background: ${({theme:e})=>e.additional.white};
3141
3190
  color: ${({theme:e,variant:t,textColor:l})=>l||e.variant[t]};
3142
3191
  border: 1px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
@@ -3145,14 +3194,14 @@ font-size: 14px;
3145
3194
  display: inline-flex;
3146
3195
  align-items: center;
3147
3196
  justify-content: center;
3148
- min-width: ${({block:e,size:t})=>e?"auto":Rr[t].width};
3197
+ min-width: ${({block:e,size:t})=>e?"auto":qr[t].width};
3149
3198
  height: 28px;
3150
3199
  box-sizing: border-box;
3151
3200
  overflow: hidden;
3152
- `,Pr=({block:e,style:t,variant:a,textColor:o,borderColor:r,...i})=>(l.useTheme(),g.default.createElement(Wr,k({block:e,variant:a,textColor:o,borderColor:r,style:t},i),i.children));Pr.propTypes={variant:b.default.string,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,theme:b.default.object,textColor:b.default.string,borderColor:b.default.string},Wr.defaultProps={theme:R},Pr.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const Tr=h.default.div`
3201
+ `,Or=({block:e,style:t,variant:a,textColor:o,borderColor:r,...i})=>(l.useTheme(),g.default.createElement(Zr,k({block:e,variant:a,textColor:o,borderColor:r,style:t},i),i.children));Or.propTypes={variant:b.default.string,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,theme:b.default.object,textColor:b.default.string,borderColor:b.default.string},Zr.defaultProps={theme:R},Or.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const Dr=h.default.div`
3153
3202
  padding: 24px;
3154
3203
  ${({tabWrapperStyle:e})=>e}
3155
- `,Hr=h.default.div`
3204
+ `,Gr=h.default.div`
3156
3205
  color: ${({theme:e})=>e.variant["graph-5"]};
3157
3206
  display: flex;
3158
3207
  align-items: flex-start;
@@ -3160,16 +3209,16 @@ overflow: hidden;
3160
3209
  gap: 12px;
3161
3210
  padding-bottom: 24px;
3162
3211
  ${({headerWrapperStyle:e})=>e}
3163
- `,jr=h.default.div`
3212
+ `,Xr=h.default.div`
3164
3213
  font-size: 16px;
3165
3214
  padding: 7px 20px;
3166
3215
  background-color: ${({theme:e,isActive:t})=>t?T(e.variant["primary-1"],.2):"transparent"};
3167
3216
  cursor: pointer;
3168
3217
  border-radius: 5px;
3169
3218
  ${({headerStyle:e})=>e}
3170
- `,Fr=h.default.div`
3219
+ `,Jr=h.default.div`
3171
3220
  ${({tabContentStyle:e})=>e}
3172
- `,qr=({tabs:e,activeTab:t,setActiveTab:a,tabWrapperStyle:o,headerWrapperStyle:r,headerStyle:i,dividerStyle:n,tabContentStyle:c,extraContent:d})=>{const s=l.useTheme()||R;return g.default.createElement(Tr,{tabWrapperStyle:o},g.default.createElement(Hr,{theme:s,headerWrapperStyle:r},e.map(((e,l)=>g.default.createElement(jr,{theme:s,onClick:()=>a(l),active:l===t,key:e?.title+l,isActive:l===t,headerStyle:i},e.title))),d&&{extraContent:d}),g.default.createElement(za,{theme:s,height:"8px",dividerStyle:n}),e.map(((e,l)=>l===t&&g.default.createElement(Fr,{tabContentStyle:c,key:l},e.content))))};qr.propTypes={tabs:b.default.array,tabWrapperStyle:b.default.object,headerWrapperStyle:b.default.object,headerStyle:b.default.object,dividerStyle:b.default.object,tabContentStyle:b.default.object,activeTab:b.default.number,setActiveTab:b.default.func},qr.defaultProps={tabs:[],activeTab:0,tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const Zr=h.default.div`
3221
+ `,Ur=({tabs:e,activeTab:t,setActiveTab:a,tabWrapperStyle:o,headerWrapperStyle:r,headerStyle:i,dividerStyle:n,tabContentStyle:c,extraContent:d})=>{const s=l.useTheme()||R;return g.default.createElement(Dr,{tabWrapperStyle:o},g.default.createElement(Gr,{theme:s,headerWrapperStyle:r},e.map(((e,l)=>g.default.createElement(Xr,{theme:s,onClick:()=>a(l),active:l===t,key:e?.title+l,isActive:l===t,headerStyle:i},e.title))),d&&{extraContent:d}),g.default.createElement(Pa,{theme:s,height:"8px",dividerStyle:n}),e.map(((e,l)=>l===t&&g.default.createElement(Jr,{tabContentStyle:c,key:l},e.content))))};Ur.propTypes={tabs:b.default.array,tabWrapperStyle:b.default.object,headerWrapperStyle:b.default.object,headerStyle:b.default.object,dividerStyle:b.default.object,tabContentStyle:b.default.object,activeTab:b.default.number,setActiveTab:b.default.func},Ur.defaultProps={tabs:[],activeTab:0,tabWrapperStyle:{},headerStyle:{},tabContentStyle:{},headerWrapperStyle:{},dividerStyle:{}};const Yr=h.default.div`
3173
3222
  .notification {
3174
3223
  background: ${({theme:e})=>e.additional.white};
3175
3224
  transition: 0.3s ease;
@@ -3264,7 +3313,7 @@ overflow: hidden;
3264
3313
  .close-icon {
3265
3314
  cursor: pointer;
3266
3315
  }
3267
- `,Or=({close:e,children:a,type:o,position:r,timeout:i,localTimeout:n})=>{((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,n||i||5e3);const c=l.useTheme()||R;let d=null;switch(o){case"success":d=g.default.createElement(N,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":d=g.default.createElement(N,{icon:"warning",color:"white",size:20,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":d=g.default.createElement(N,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"info":d=g.default.createElement(N,{icon:"info-icon",size:10,color:"white",customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"pending":d=g.default.createElement(Ve,{size:14})}return g.default.createElement(Zr,{theme:c,type:o,timeout:n||i||5e3},g.default.createElement("div",{className:`notification toast ${r}`},g.default.createElement("div",{className:"leftSide"},g.default.createElement("div",{className:"notification-icon"},d),g.default.createElement("div",{className:"notification-message"},a)),g.default.createElement("div",{className:"close-icon",onClick:e},g.default.createElement(N,{icon:"close-icon",color:c.variant["neutral-2"]}))),g.default.createElement("div",{className:`notification-progress ${r}-border`}))},Dr=t.createContext(),Gr=h.default.div`
3316
+ `,Nr=({close:e,children:a,type:o,position:r,timeout:i,localTimeout:n})=>{((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,n||i||5e3);const c=l.useTheme()||R;let d=null;switch(o){case"success":d=g.default.createElement(N,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":d=g.default.createElement(N,{icon:"warning",color:"white",size:20,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":d=g.default.createElement(N,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"info":d=g.default.createElement(N,{icon:"info-icon",size:10,color:"white",customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"pending":d=g.default.createElement(Ve,{size:14})}return g.default.createElement(Yr,{theme:c,type:o,timeout:n||i||5e3},g.default.createElement("div",{className:`notification toast ${r}`},g.default.createElement("div",{className:"leftSide"},g.default.createElement("div",{className:"notification-icon"},d),g.default.createElement("div",{className:"notification-message"},a)),g.default.createElement("div",{className:"close-icon",onClick:e},g.default.createElement(N,{icon:"close-icon",color:c.variant["neutral-2"]}))),g.default.createElement("div",{className:`notification-progress ${r}-border`}))},Qr=t.createContext(),Kr=h.default.div`
3268
3317
  .notification-container {
3269
3318
  font-size: 14px;
3270
3319
  box-sizing: border-box;
@@ -3318,9 +3367,9 @@ overflow: hidden;
3318
3367
  transform: translateX(0);
3319
3368
  }
3320
3369
  }
3321
- `;function Xr(){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 Jr={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},Ur=h.default.div`
3370
+ `;function $r(){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 _r={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},ei=h.default.div`
3322
3371
  color: ${({theme:e,text:t})=>t?e.variant[t]:e.additional["text-color"]};
3323
3372
  background: ${({theme:e,bg:t})=>t?e.variant[t]:e.additional.white};
3324
- font-size: ${({size:e})=>Jr[e].fontSize};
3325
- line-height: ${({size:e})=>Jr[e].lineHeight};
3326
- `,Yr=({size:e,children:t,bg:a,text:o,...r})=>{const i=l.useTheme()||R;return g.default.createElement(Ur,k({theme:i,bg:a,text:o,size:e},r),g.default.createElement(go,{theme:i}),t)};Yr.propTypes={size:b.default.oneOf(["xs","sm","md","lg"]),text:b.default.string,bg:b.default.string,children:b.default.any,theme:b.default.object},Yr.defaultProps={size:"md"},exports.Accordion=K,exports.AccordionSB=$,exports.ActionContainer=ha,exports.ActionItem=va,exports.Alert=te,exports.ArrowBar=re,exports.Avatar=ue,exports.AvatarSB=ge,exports.Banner=xe,exports.Breadcrumb=Ke,exports.ButtonPopup=wo,exports.Card=j,exports.CardRef=q,exports.CheckBoxInput=rt,exports.ColorInput=ct,exports.Comment=ia,exports.Content=ca,exports.CountryCodedPhoneInput=ut,exports.DarkSecondaryLink=rr,exports.DateSelect=St,exports.DateTime=Lt,exports.Divider=za,exports.DocumentCard=X,exports.DotPulseLoader=()=>{const e=l.useTheme()||R;return g.default.createElement(Ce,{activeTheme:e},g.default.createElement("div",{className:"dot-pulse"}))},exports.Drawer=Ba,exports.DropdownSelect=Ht,exports.DropzoneInput=Ut,exports.EditableInput=_t,exports.ErrorBoundary=Ia,exports.FilterChip=Wa,exports.Footer=Ta,exports.FooterContent=({variant:e,textColor:t,size:l,width:a,footerWidth:o,customStyles:r,...i})=>{const n=(new Date).getFullYear();return g.default.createElement(Ha,k({variant:e,textColor:t,footerWidth:o,customStyles:r},i),g.default.createElement(ja,{footerWidth:o},g.default.createElement(Fa,{footerWidth:o},"Premise HQ"),g.default.createElement(qa,{footerWidth:o},"|"),g.default.createElement(Fa,{footerWidth:o},"All Rights Restricted ",n," ©")),g.default.createElement(ja,{footerWidth:o},g.default.createElement(Fa,{footerWidth:o},"Terms of use"),g.default.createElement(qa,{footerWidth:o},"|"),g.default.createElement(Fa,{footerWidth:o},"Privacy Policy")))},exports.FormComponent=({formData:e,customStyles:l,...a})=>{const o=e=>{switch(e.type){case"header":return(e=>g.default.createElement(t.Fragment,null,g.default.createElement(Oa,k({},e,a),e.children),e))(e);case"label":return(e=>g.default.createElement(_e,k({style:{marginBottom:"8px",paddingBottom:"0"}},e,a)))(e);case"text":return(e=>g.default.createElement(El,k({},e,a)))(e);case"textArea":return(e=>g.default.createElement(jl,k({},e,a)))(e);case"number":return(e=>g.default.createElement(dl,k({},e,a)))(e);case"radio":return(e=>g.default.createElement(vl,k({key:101*Math.random()|0},e,a)))(e);case"checkBox":return(e=>g.default.createElement(rt,k({},e,a)))(e);case"singleSelect":return(e=>g.default.createElement(Ht,k({dropdownType:"singleSelect"},e,a)))(e);case"multiSelect":return(e=>g.default.createElement(Ht,k({dropdownType:"multiSelect"},e,a)))(e);case"asyncSingleSelect":return(e=>g.default.createElement(Ht,k({dropdownType:"asyncSingleSelect"},e,a)))(e);case"asyncMultiSelect":return(e=>g.default.createElement(Ht,k({dropdownType:"asyncMultiSelect"},e,a)))(e);case"signature":return(e=>g.default.createElement(Rl,k({},e,a)))(e);case"fileUpload":return(e=>g.default.createElement(Ut,k({},e,a)))(e);case"date":return(e=>g.default.createElement(St,k({},e,a)))(e);case"paginationTypeTwo":return(e=>g.default.createElement(oo,k({},e,a)))(e);case"toggle":return(e=>g.default.createElement(Kl,k({},e,a)))(e);case"icon":return(e=>g.default.createElement(N,k({},e,a)))(e);case"roundedLoader":return(e=>g.default.createElement(Ve,k({},e,a)))(e);case"alert":return(e=>g.default.createElement(te,k({},e,a)))(e);case"banner":return(e=>g.default.createElement(xe,k({},e,a)))(e);case"divider":return(e=>g.default.createElement(za,k({},e,a)))(e);case"headerComponent":case"headerComponent":return(e=>g.default.createElement(bo,k({},e,a)))(e);case"documentCard":return(e=>g.default.createElement(X,k({},e,a)))(e);case"imageUploader":return(e=>g.default.createElement(ol,k({},e,a)))(e);case"accordion":return(e=>g.default.createElement(K,k({},e,a)))(e);case"content":return(e=>g.default.createElement(ca,k({},e,a)))(e);case"rating":return(e=>g.default.createElement(po,k({},e,a)))(e);case"buttonPrimary":return(e=>g.default.createElement(Re,k({},e,a)))(e);case"buttonSecondary":return(e=>g.default.createElement(Te,k({},e,a)))(e);case"buttonTiny":return(e=>g.default.createElement(je,k({},e,a)))(e);case"buttonLink":return(e=>g.default.createElement(Be,k({},e,a)))(e);case"search":return(e=>g.default.createElement(kl,k({},e,a)))(e);case"table":return(e=>g.default.createElement(mo,k({},e,a)))(e);case"passwordInput":return(e=>g.default.createElement(ml,k({},e,a)))(e)}};return g.default.createElement(t.Fragment,null,g.default.createElement(Ca,{defaultThemeColor:R},g.default.createElement(ka,{onSubmit:()=>{},customStyles:l},e.map(((e,t)=>e.length>1?g.default.createElement(wa,null,e.map(((t,l)=>g.default.createElement(Sa,{cols:e.length},o(t))))):o(e[0]))))))},exports.FormContainer=Ca,exports.FormWrapper=ka,exports.GroupAvatars=xo,exports.GroupButtons=Vo,exports.GroupButtonsPopup=Io,exports.GroupStatusCircle=Ho,exports.Header=Oa,exports.HeaderComponent=bo,exports.HyperLink=qo,exports.Icon=N,exports.Image=ne,exports.ImageUploader=ol,exports.Label=_e,exports.LightSecondaryLink=nr,exports.LinkButton=Be,exports.Loader=Se,exports.ModalComp=Uo,exports.MultiColumnDiv=Sa,exports.MultiColumnWrapper=wa,exports.Navbar=({headerContent:e,bodyContent:a,toggleSideBarOpen:o,headerStyles:r,selectedStyle:i,notSelectedStyle:n,customStylesNameHover:c,listElementStyle:d,customSelectCardColor:s,selectedAppPath:u,setSelectedAppPath:p,setSelectedAppPageId:f,setParentId:m,setRouterObject:b,notificationCircleStyles:h})=>{const y=l.useTheme()||R,[x,v]=t.useState(null),[C,A]=t.useState(!1),[w,S]=t.useState([]);t.useEffect((()=>{S(u.split("/"));let e=u.split("/"),t=a&&a.find((t=>e[1]===t.path.split("/")[1]));E(t),m(t?.id||null)}),[u]),t.useEffect((()=>{!o&&A(!1),!o&&v(null)}),[o]);const E=e=>{if(e?.routes&&e?.routes.length>0)e.routes.forEach((e=>E(e)));else if(e?.path===u)return f(e?.id||null),b(e||null),null},k=(e,t,l)=>{let a=e?.path.split("/"),o=a.length;return e.routes&&e.routes.length>0?g.default.createElement($,{key:e?.id+t,contentToggle:g.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",marginLeft:`${l}px`}},g.default.createElement("span",{style:{visibility:3===o&&w[2]===a[2]?"visible":"hidden",marginRight:"16px",width:"7px",height:"7px",borderRadius:"50%",backgroundColor:y.additional.white,flexShrink:0}}),g.default.createElement("span",{style:{fontWeight:3===o&&w[2]===a[2]?"bold":"normal"}}," ",e?.link)),isAccordionOpen:u.includes(e.path),showIcon:!0,setContentIsOpen:()=>{},toggleIconAnimation:!0,content:g.default.createElement("div",null,e.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>k(e,t,l+8)))),customStylesAccordionContainer:cr,customStylesAccordionToggle:dr,customStylesAccordionContent:sr,showIconInfo:!1,customWrapperStyles:ur}):g.default.createElement(vr,{listElementStyle:d,key:e?.id+t,onClick:()=>{p(e.path)},theme:y},g.default.createElement("span",{className:"selected-disk",style:{visibility:o<=3&&w[w.length-1]?.toLowerCase()===a[o-1]?.toLowerCase()?"visible":"hidden",marginRight:"16px"}}),g.default.createElement("span",{className:"link",style:{marginLeft:l-8+"px",padding:"4px 8px",borderRadius:"4px",backgroundColor:o>3&&u===e?.path?d?.selectedChildBG||y.additional.white:"transparent",fontWeight:o<=3&&w[w.length-1]?.toLowerCase()===a[o-1]?.toLowerCase()?"bold":"normal",color:y.variant.white}}," ",e?.link))};return g.default.createElement(hr,{onClick:()=>A(!0),onMouseEnter:()=>A(!0),onMouseLeave:()=>{v(null),A(!1)},toggleSideBarOpen:o},g.default.createElement(yr,{theme:y,headerStyles:r,toggleSideBarOpen:o},e),g.default.createElement(xr,{toggleSideBarOpen:o},a&&a?.filter((e=>!0===e.visibleAsMenu))?.map(((e,t,l)=>(l.length,g.default.createElement("div",{className:"service-layer",key:e?.value+t,onClick:()=>{v(t)},style:{backgroundColor:e?.value?.toLowerCase()===w[1]?.toLowerCase()?s:"transparent"}},g.default.createElement($,{index:t,isAccordionOpen:t===x||C&&e?.value?.toLowerCase()===w[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),customSelectCardColor:s,customStylesAccordionContainer:{...pr,padding:"0px 0px 0px 0px"},customStylesAccordionToggle:fr,customStylesAccordionContent:mr,contentToggle:g.default.createElement(ge,{selectedStyle:{minWidth:"36px",minHeight:"36px",...i},notSelectedStyle:{minWidth:"36px",minHeight:"36px",...n},toggleName:o,customStylesName:br,customStylesNameHover:c,size:"MD",user:{userName:e?.label,url:e?.logo,fullName:e?.label},notificationCircleStyles:h,icon:e?.icon?e?.icon:e?.maintenance?g.default.createElement(N,{icon:"maintenance",size:22,color:"white"}):null,isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:g.default.createElement("div",{style:gr},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>k(e,t,0))))})))))))},exports.NumericInput=dl,exports.Overlay=No,exports.OverlayOptionContainer=ya,exports.OverlayOptionItemLabel=xa,exports.PageContent=da,exports.Pagination=Ya,exports.PaginationDefault=Qa,exports.PaginationTypeTwo=oo,exports.PasswordInput=ml,exports.PrimaryButton=Re,exports.PrimaryStatusChip=kr,exports.ProgressBar=$o,exports.ProgressSteps=ar,exports.RadioInput=vl,exports.Rating=po,exports.RoundedLoader=Ve,exports.SearchInput=kl,exports.SecondaryButton=Te,exports.SecondaryStatusChip=Mr,exports.Sidebar=wr,exports.SignatureInput=Rl,exports.SlimPrimaryStatusChip=Lr,exports.SlimSecondaryStatusChip=Pr,exports.StatusCircle=Ro,exports.StyledCentralBar=pa,exports.StyledClearSearch=ua,exports.StyledCreateRow=ma,exports.StyledRow=ba,exports.StyledRowSearch=sa,exports.StyledSearchRow=ga,exports.StyledWarning=fa,exports.SubmitButtonContainer=Aa,exports.SubmitComponent=({formData:e,onSubmit:l,onReset:a,style:o,...r})=>{const i=e=>{switch(e.type){case"submit":return(e=>g.default.createElement(Re,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>g.default.createElement(Te,{block:e.block,disabled:r.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return g.default.createElement(t.Fragment,null,g.default.createElement(Aa,{style:o},e&&e.map(((e,t)=>e.map(((e,t)=>i(e)))))))},exports.Table=mo,exports.Tabs=qr,exports.TextArea=jl,exports.TextInput=El,exports.TimeInput=Jl,exports.TinyButton=je,exports.ToastProvider=e=>{const[l,a]=t.useState([]),o=(e,t,l,o)=>{a((a=>[...a,{id:o||Xr(),content:t,type:e,localTimeout:l}]))},r=e=>a((t=>t.filter((t=>t.id!==e)))),i=t.useMemo((()=>({open:o,close:r})),[]),[n,c]=t.useState(!1);return t.useEffect((()=>(c(!0),()=>c(!1))),[]),g.default.createElement(Dr.Provider,{value:i},e.children,n?f.createPortal(g.default.createElement(Gr,null,g.default.createElement("div",{className:`notification-container ${e.position}`},l.map((t=>g.default.createElement(Or,{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=Kl,exports.Tooltip=Je,exports.Typography=Yr,exports.additionalColors=L,exports.defaultStyles=W,exports.defaultThemeColor=R,exports.getDefaultStyles=P,exports.graphColor=I,exports.hexToRGB=T,exports.neutralColor=M,exports.primaryColor=V,exports.shadeColor=B,exports.uiColor=z,exports.useToast=()=>t.useContext(Dr);
3373
+ font-size: ${({size:e})=>_r[e].fontSize};
3374
+ line-height: ${({size:e})=>_r[e].lineHeight};
3375
+ `,ti=({size:e,children:t,bg:a,text:o,...r})=>{const i=l.useTheme()||R;return g.default.createElement(ei,k({theme:i,bg:a,text:o,size:e},r),g.default.createElement(wo,{theme:i}),t)};ti.propTypes={size:b.default.oneOf(["xs","sm","md","lg"]),text:b.default.string,bg:b.default.string,children:b.default.any,theme:b.default.object},ti.defaultProps={size:"md"},exports.Accordion=K,exports.AccordionSB=$,exports.ActionContainer=Sa,exports.ActionItem=Va,exports.Alert=te,exports.ArrowBar=re,exports.Avatar=ue,exports.AvatarSB=ge,exports.Banner=xe,exports.Breadcrumb=Ke,exports.ButtonPopup=Bo,exports.Card=j,exports.CardRef=q,exports.CheckBoxInput=pt,exports.ChipsInput=it,exports.ColorInput=bt,exports.Comment=fa,exports.Content=ba,exports.CountryCodedPhoneInput=yt,exports.DarkSecondaryLink=pr,exports.DateSelect=It,exports.DateTime=Ft,exports.Divider=Pa,exports.DocumentCard=X,exports.DotPulseLoader=()=>{const e=l.useTheme()||R;return g.default.createElement(Ce,{activeTheme:e},g.default.createElement("div",{className:"dot-pulse"}))},exports.Drawer=Ha,exports.DropdownSelect=Gt,exports.DropzoneInput=el,exports.EditableInput=il,exports.ErrorBoundary=ja,exports.FilterChip=Za,exports.Footer=Da,exports.FooterContent=({variant:e,textColor:t,size:l,width:a,footerWidth:o,customStyles:r,...i})=>{const n=(new Date).getFullYear();return g.default.createElement(Ga,k({variant:e,textColor:t,footerWidth:o,customStyles:r},i),g.default.createElement(Xa,{footerWidth:o},g.default.createElement(Ja,{footerWidth:o},"Premise HQ"),g.default.createElement(Ua,{footerWidth:o},"|"),g.default.createElement(Ja,{footerWidth:o},"All Rights Restricted ",n," ©")),g.default.createElement(Xa,{footerWidth:o},g.default.createElement(Ja,{footerWidth:o},"Terms of use"),g.default.createElement(Ua,{footerWidth:o},"|"),g.default.createElement(Ja,{footerWidth:o},"Privacy Policy")))},exports.FormComponent=({formData:e,customStyles:l,...a})=>{const o=e=>{switch(e.type){case"header":return(e=>g.default.createElement(t.Fragment,null,g.default.createElement(Na,k({},e,a),e.children),e))(e);case"label":return(e=>g.default.createElement(_e,k({style:{marginBottom:"8px",paddingBottom:"0"}},e,a)))(e);case"text":return(e=>g.default.createElement(Ll,k({},e,a)))(e);case"textArea":return(e=>g.default.createElement(Xl,k({},e,a)))(e);case"number":return(e=>g.default.createElement(gl,k({},e,a)))(e);case"radio":return(e=>g.default.createElement(Vl,k({key:101*Math.random()|0},e,a)))(e);case"checkBox":return(e=>g.default.createElement(pt,k({},e,a)))(e);case"singleSelect":return(e=>g.default.createElement(Gt,k({dropdownType:"singleSelect"},e,a)))(e);case"multiSelect":return(e=>g.default.createElement(Gt,k({dropdownType:"multiSelect"},e,a)))(e);case"asyncSingleSelect":return(e=>g.default.createElement(Gt,k({dropdownType:"asyncSingleSelect"},e,a)))(e);case"asyncMultiSelect":return(e=>g.default.createElement(Gt,k({dropdownType:"asyncMultiSelect"},e,a)))(e);case"signature":return(e=>g.default.createElement(ql,k({},e,a)))(e);case"fileUpload":return(e=>g.default.createElement(el,k({},e,a)))(e);case"date":return(e=>g.default.createElement(It,k({},e,a)))(e);case"paginationTypeTwo":return(e=>g.default.createElement(po,k({},e,a)))(e);case"toggle":return(e=>g.default.createElement(oa,k({},e,a)))(e);case"icon":return(e=>g.default.createElement(N,k({},e,a)))(e);case"roundedLoader":return(e=>g.default.createElement(Ve,k({},e,a)))(e);case"alert":return(e=>g.default.createElement(te,k({},e,a)))(e);case"banner":return(e=>g.default.createElement(xe,k({},e,a)))(e);case"divider":return(e=>g.default.createElement(Pa,k({},e,a)))(e);case"headerComponent":case"headerComponent":return(e=>g.default.createElement(Ao,k({},e,a)))(e);case"documentCard":return(e=>g.default.createElement(X,k({},e,a)))(e);case"imageUploader":return(e=>g.default.createElement(ul,k({},e,a)))(e);case"accordion":return(e=>g.default.createElement(K,k({},e,a)))(e);case"content":return(e=>g.default.createElement(ba,k({},e,a)))(e);case"rating":return(e=>g.default.createElement(xo,k({},e,a)))(e);case"buttonPrimary":return(e=>g.default.createElement(Re,k({},e,a)))(e);case"buttonSecondary":return(e=>g.default.createElement(Te,k({},e,a)))(e);case"buttonTiny":return(e=>g.default.createElement(je,k({},e,a)))(e);case"buttonLink":return(e=>g.default.createElement(Be,k({},e,a)))(e);case"search":return(e=>g.default.createElement(Rl,k({},e,a)))(e);case"table":return(e=>g.default.createElement(Co,k({},e,a)))(e);case"passwordInput":return(e=>g.default.createElement(Cl,k({},e,a)))(e)}};return g.default.createElement(t.Fragment,null,g.default.createElement(Ma,{defaultThemeColor:R},g.default.createElement(Ra,{onSubmit:()=>{},customStyles:l},e.map(((e,t)=>e.length>1?g.default.createElement(Ba,null,e.map(((t,l)=>g.default.createElement(Ia,{cols:e.length},o(t))))):o(e[0]))))))},exports.FormContainer=Ma,exports.FormWrapper=Ra,exports.GroupAvatars=ko,exports.GroupButtons=Wo,exports.GroupButtonsPopup=jo,exports.GroupStatusCircle=Go,exports.Header=Na,exports.HeaderComponent=Ao,exports.HyperLink=Uo,exports.Icon=N,exports.Image=ne,exports.ImageUploader=ul,exports.Label=_e,exports.LightSecondaryLink=mr,exports.LinkButton=Be,exports.Loader=Se,exports.ModalComp=er,exports.MultiColumnDiv=Ia,exports.MultiColumnWrapper=Ba,exports.Navbar=({headerContent:e,bodyContent:a,toggleSideBarOpen:o,headerStyles:r,selectedStyle:i,notSelectedStyle:n,customStylesNameHover:c,listElementStyle:d,customSelectCardColor:s,selectedAppPath:u,setSelectedAppPath:p,setSelectedAppPageId:f,setParentId:m,setRouterObject:b,notificationCircleStyles:h})=>{const y=l.useTheme()||R,[x,v]=t.useState(null),[C,A]=t.useState(!1),[w,S]=t.useState([]);t.useEffect((()=>{S(u.split("/"));let e=u.split("/"),t=a&&a.find((t=>e[1]===t.path.split("/")[1]));E(t),m(t?.id||null)}),[u]),t.useEffect((()=>{!o&&A(!1),!o&&v(null)}),[o]);const E=e=>{if(e?.routes&&e?.routes.length>0)e.routes.forEach((e=>E(e)));else if(e?.path===u)return f(e?.id||null),b(e||null),null},k=(e,t,l)=>{let a=e?.path.split("/"),o=a.length;return e.routes&&e.routes.length>0?g.default.createElement($,{key:e?.id+t,contentToggle:g.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",marginLeft:`${l}px`}},g.default.createElement("span",{style:{visibility:3===o&&w[2]===a[2]?"visible":"hidden",marginRight:"16px",width:"7px",height:"7px",borderRadius:"50%",backgroundColor:y.additional.white,flexShrink:0}}),g.default.createElement("span",{style:{fontWeight:3===o&&w[2]===a[2]?"bold":"normal"}}," ",e?.link)),isAccordionOpen:u.includes(e.path),showIcon:!0,setContentIsOpen:()=>{},toggleIconAnimation:!0,content:g.default.createElement("div",null,e.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>k(e,t,l+8)))),customStylesAccordionContainer:br,customStylesAccordionToggle:gr,customStylesAccordionContent:hr,showIconInfo:!1,customWrapperStyles:yr}):g.default.createElement(Vr,{listElementStyle:d,key:e?.id+t,onClick:()=>{p(e.path)},theme:y},g.default.createElement("span",{className:"selected-disk",style:{visibility:o<=3&&w[w.length-1]?.toLowerCase()===a[o-1]?.toLowerCase()?"visible":"hidden",marginRight:"16px"}}),g.default.createElement("span",{className:"link",style:{marginLeft:l-8+"px",padding:"4px 8px",borderRadius:"4px",backgroundColor:o>3&&u===e?.path?d?.selectedChildBG||y.additional.white:"transparent",fontWeight:o<=3&&w[w.length-1]?.toLowerCase()===a[o-1]?.toLowerCase()?"bold":"normal",color:y.variant.white}}," ",e?.link))};return g.default.createElement(Sr,{onClick:()=>A(!0),onMouseEnter:()=>A(!0),onMouseLeave:()=>{v(null),A(!1)},toggleSideBarOpen:o},g.default.createElement(Er,{theme:y,headerStyles:r,toggleSideBarOpen:o},e),g.default.createElement(kr,{toggleSideBarOpen:o},a&&a?.filter((e=>!0===e.visibleAsMenu))?.map(((e,t,l)=>(l.length,g.default.createElement("div",{className:"service-layer",key:e?.value+t,onClick:()=>{v(t)},style:{backgroundColor:e?.value?.toLowerCase()===w[1]?.toLowerCase()?s:"transparent"}},g.default.createElement($,{index:t,isAccordionOpen:t===x||C&&e?.value?.toLowerCase()===w[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),customSelectCardColor:s,customStylesAccordionContainer:{...xr,padding:"0px 0px 0px 0px"},customStylesAccordionToggle:vr,customStylesAccordionContent:Cr,contentToggle:g.default.createElement(ge,{selectedStyle:{minWidth:"36px",minHeight:"36px",...i},notSelectedStyle:{minWidth:"36px",minHeight:"36px",...n},toggleName:o,customStylesName:Ar,customStylesNameHover:c,size:"MD",user:{userName:e?.label,url:e?.logo,fullName:e?.label},notificationCircleStyles:h,icon:e?.icon?e?.icon:e?.maintenance?g.default.createElement(N,{icon:"maintenance",size:22,color:"white"}):null,isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),notificationCount:e?.notificationCount}),content:g.default.createElement("div",{style:wr},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>k(e,t,0))))})))))))},exports.NumericInput=gl,exports.Overlay=lr,exports.OverlayOptionContainer=Ea,exports.OverlayOptionItemLabel=ka,exports.PageContent=ga,exports.Pagination=to,exports.PaginationDefault=ao,exports.PaginationTypeTwo=po,exports.PasswordInput=Cl,exports.PrimaryButton=Re,exports.PrimaryStatusChip=Rr,exports.ProgressBar=rr,exports.ProgressSteps=sr,exports.RadioInput=Vl,exports.Rating=xo,exports.RoundedLoader=Ve,exports.SearchInput=Rl,exports.SecondaryButton=Te,exports.SecondaryStatusChip=Tr,exports.Sidebar=Br,exports.SignatureInput=ql,exports.SlimPrimaryStatusChip=Fr,exports.SlimSecondaryStatusChip=Or,exports.StatusCircle=qo,exports.StyledCentralBar=xa,exports.StyledClearSearch=ya,exports.StyledCreateRow=Ca,exports.StyledRow=Aa,exports.StyledRowSearch=ha,exports.StyledSearchRow=wa,exports.StyledWarning=va,exports.SubmitButtonContainer=za,exports.SubmitComponent=({formData:e,onSubmit:l,onReset:a,style:o,...r})=>{const i=e=>{switch(e.type){case"submit":return(e=>g.default.createElement(Re,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>g.default.createElement(Te,{block:e.block,disabled:r.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return g.default.createElement(t.Fragment,null,g.default.createElement(za,{style:o},e&&e.map(((e,t)=>e.map(((e,t)=>i(e)))))))},exports.Table=Co,exports.Tabs=Ur,exports.TextArea=Xl,exports.TextInput=Ll,exports.TimeInput=_l,exports.TinyButton=je,exports.ToastProvider=e=>{const[l,a]=t.useState([]),o=(e,t,l,o)=>{a((a=>[...a,{id:o||$r(),content:t,type:e,localTimeout:l}]))},r=e=>a((t=>t.filter((t=>t.id!==e)))),i=t.useMemo((()=>({open:o,close:r})),[]),[n,c]=t.useState(!1);return t.useEffect((()=>(c(!0),()=>c(!1))),[]),g.default.createElement(Qr.Provider,{value:i},e.children,n?f.createPortal(g.default.createElement(Kr,null,g.default.createElement("div",{className:`notification-container ${e.position}`},l.map((t=>g.default.createElement(Nr,{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=oa,exports.Tooltip=Je,exports.Typography=ti,exports.additionalColors=L,exports.defaultStyles=W,exports.defaultThemeColor=R,exports.getDefaultStyles=P,exports.graphColor=I,exports.hexToRGB=T,exports.neutralColor=z,exports.primaryColor=V,exports.shadeColor=B,exports.uiColor=M,exports.useToast=()=>t.useContext(Qr);