groundfloor-react-ui 1.2.30 → 1.2.31

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