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.es.js CHANGED
@@ -13,7 +13,7 @@ import e from"prop-types";import t,{forwardRef as o,useRef as r,useState as l,us
13
13
 
14
14
  // custom styles
15
15
  ${({customStyles:e})=>e}
16
- `,q=({type:e,header:o,content:r,...l})=>{const i=u()||R;return t.createElement(T,z({activeTheme:i},l),o,r)};q.propTypes={header:e.any,content:e.any};const j=m.div`
16
+ `,j=({type:e,header:o,content:r,...l})=>{const i=u()||R;return t.createElement(T,z({activeTheme:i},l),o,r)};j.propTypes={header:e.any,content:e.any};const q=m.div`
17
17
 
18
18
  color: ${({activeTheme:e})=>e.textColor};
19
19
  padding-top: 25px;
@@ -32,7 +32,7 @@ import e from"prop-types";import t,{forwardRef as o,useRef as r,useState as l,us
32
32
 
33
33
  // custom styles
34
34
  ${({customStyles:e})=>e}
35
- `,F=o((({type:e,header:o,content:r,...l},i)=>{const n=u()||R;return t.createElement(j,z({inBuiltCss:L,activeTheme:n},l,{ref:i}),o,r)}));F.propTypes={type:e.string,header:e.any,content:e.any};const O={sm:{cardWidth:"178px",cardMinHeight:"88px",borderRadius:"4px",border:"0.7px",bodyHeight:"55px",footerFontSize:"10px",footerMinHeight:"31px",footerPadding:"10.5px 16px",footerLineHeight:"16px",lineHeight:"12px"},md:{cardWidth:"215px",cardMinHeight:"123px",borderRadius:"6px",border:"1px",bodyHeight:"67px",footerFontSize:"14px",footerMinHeight:"54px",footerPadding:"18px 19px",footerLineHeight:"12px",lineHeight:"16px"}},Z=m.div`
35
+ `,F=o((({type:e,header:o,content:r,...l},i)=>{const n=u()||R;return t.createElement(q,z({inBuiltCss:L,activeTheme:n},l,{ref:i}),o,r)}));F.propTypes={type:e.string,header:e.any,content:e.any};const O={sm:{cardWidth:"178px",cardMinHeight:"88px",borderRadius:"4px",border:"0.7px",bodyHeight:"55px",footerFontSize:"10px",footerMinHeight:"31px",footerPadding:"10.5px 16px",footerLineHeight:"16px",lineHeight:"12px"},md:{cardWidth:"215px",cardMinHeight:"123px",borderRadius:"6px",border:"1px",bodyHeight:"67px",footerFontSize:"14px",footerMinHeight:"54px",footerPadding:"18px 19px",footerLineHeight:"12px",lineHeight:"16px"}},Z=m.div`
36
36
  ${({trimFileName:e})=>e?g`
37
37
  height: ${({size:e})=>O[e].cardMinHeight};
38
38
  `:g`
@@ -140,7 +140,7 @@ import e from"prop-types";import t,{forwardRef as o,useRef as r,useState as l,us
140
140
 
141
141
  // custom styles
142
142
  ${({customWrapperStyles:e})=>e}
143
- `,Y=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,toggleState:m,contentIsOpen:g,id:b,customWrapperStyles:f,showIconInfo:h,...y})=>{const x=r(null),v=u()||R,[A,C]=l(!1);return i((()=>{C(g)}),[g]),t.createElement(q,z({customStyles:e,type:"accordionContainer"},y,{header:t.createElement(q,z({customStyles:o,type:"accordionToggle"},y,{onClick:()=>{C(!A)},header:p,content:t.createElement(K,{theme:v,customWrapperStyles:f},h&&t.createElement("span",null,A?"Click to hide":"Click to open"),t.createElement("div",{style:c&&A?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",transition:"transform ease 95ms",background:"transparent"}},s||t.createElement(N,{icon:"chevron-down",size:11,transform:"translate(0px,-1px)",color:"#A9B1B8"})))})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:x},y,{style:A?{height:"auto"}:{height:"0px",border:"none"},id:b,content:d}))}))};Y.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,toggleState:e.func,id:e.string,customWrapperStyles:e.object,showIconInfo:e.bool},Y.defaultProps={contentToggle:"Toggle",content:"Content",toggleIconAnimation:!0,showIconInfo:!0,toggleState:()=>{},id:"",customStylesAccordionContainer:{"margin-bottom":"10px",padding:"0","box-shadow":"none"},customStylesAccordionTogggle:{background:"#F0F3F8",cursor:"pointer","border-radius":"4px 4px 0 0",border:"0.5px solid #E2E6F5",color:`${R.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 $=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,isSelected:m,index:g,handleClick:b,isAccordionOpen:f,id:h,customSelectCardColor:y,...x})=>{const[v,A]=l(!1),C=r(null),[w,S]=l({}),[E,k]=l({}),V=u()||R;return i((()=>{m?(S((e=>({...e,backgroundColor:y||V.variant["primary-1"],marginBottom:"15.5px",marginTop:0!==g?"15.5px":"0px"}))),k((e=>({...e,backgroundColor:y||V.variant["primary-1"],paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(S({}),k({}))}),[m]),i((()=>{A(!!f)}),[f]),t.createElement(q,z({customStyles:{...e,...w},type:"accordionContainer"},x,{header:t.createElement(q,z({customStyles:{...o,...E},type:"accordionToggle"},x,{onClick:()=>{v||b(g),A(!v)},header:p,content:t.createElement("div",{style:c&&v?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},s)})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:C},x,{style:v?{height:C.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:h,content:d}))}))};$.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,id:e.string},$.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const _=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,isSelected:m,index:u,handleClick:g,isAccordionOpen:b,disable:f,id:h,...y})=>{const[x,v]=l(!1),A=r(null),[C,w]=l({}),[S,E]=l({});return i((()=>{m?(w((e=>({...e,backgroundColor:"#2444d8",marginBottom:"15.5px",marginTop:0!==u?"15.5px":"0px"}))),E((e=>({...e,backgroundColor:"#2444d8",paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(w({}),E({}))}),[m]),i((()=>{v(!!b)}),[b]),t.createElement(q,z({customStyles:{...e,...C},type:"accordionContainer"},y,{header:t.createElement(q,z({customStyles:{...o,...S},type:"accordionToggle"},y,{onClick:()=>{f||(x||g(u),v(!x))},header:p,content:t.createElement("div",{style:c&&x?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},s)})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:A},y,{style:x?{height:A.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:h,content:d}))}))};_.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,id:e.string},_.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const ee=m.div`
143
+ `,Y=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,toggleState:m,contentIsOpen:g,id:b,customWrapperStyles:f,showIconInfo:h,...y})=>{const x=r(null),v=u()||R,[A,C]=l(!1);return i((()=>{C(g)}),[g]),t.createElement(j,z({customStyles:e,type:"accordionContainer"},y,{header:t.createElement(j,z({customStyles:o,type:"accordionToggle"},y,{onClick:()=>{C(!A)},header:p,content:t.createElement(K,{theme:v,customWrapperStyles:f},h&&t.createElement("span",null,A?"Click to hide":"Click to open"),t.createElement("div",{style:c&&A?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",transition:"transform ease 95ms",background:"transparent"}},s||t.createElement(N,{icon:"chevron-down",size:11,transform:"translate(0px,-1px)",color:"#A9B1B8"})))})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:x},y,{style:A?{height:"auto"}:{height:"0px",border:"none"},id:b,content:d}))}))};Y.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,toggleState:e.func,id:e.string,customWrapperStyles:e.object,showIconInfo:e.bool},Y.defaultProps={contentToggle:"Toggle",content:"Content",toggleIconAnimation:!0,showIconInfo:!0,toggleState:()=>{},id:"",customStylesAccordionContainer:{"margin-bottom":"10px",padding:"0","box-shadow":"none"},customStylesAccordionTogggle:{background:"#F0F3F8",cursor:"pointer","border-radius":"4px 4px 0 0",border:"0.5px solid #E2E6F5",color:`${R.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 $=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,isSelected:m,index:g,handleClick:b,isAccordionOpen:f,id:h,customSelectCardColor:y,...x})=>{const[v,A]=l(!1),C=r(null),[w,S]=l({}),[E,k]=l({}),V=u()||R;return i((()=>{m?(S((e=>({...e,backgroundColor:y||V.variant["primary-1"],marginBottom:"15.5px",marginTop:0!==g?"15.5px":"0px"}))),k((e=>({...e,backgroundColor:y||V.variant["primary-1"],paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(S({}),k({}))}),[m]),i((()=>{A(!!f)}),[f]),t.createElement(j,z({customStyles:{...e,...w},type:"accordionContainer"},x,{header:t.createElement(j,z({customStyles:{...o,...E},type:"accordionToggle"},x,{onClick:()=>{v||b(g),A(!v)},header:p,content:t.createElement("div",{style:c&&v?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},s)})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:C},x,{style:v?{height:C.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:h,content:d}))}))};$.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,id:e.string},$.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const _=({customStylesAccordionContainer:e,customStylesAccordionTogggle:o,customStylesAccordionIcon:n,customStylesAccordionContent:a,toggleIconAnimation:c,icon:s,content:d,contentToggle:p,isSelected:m,index:u,handleClick:g,isAccordionOpen:b,disable:f,id:h,...y})=>{const[x,v]=l(!1),A=r(null),[C,w]=l({}),[S,E]=l({});return i((()=>{m?(w((e=>({...e,backgroundColor:"#2444d8",marginBottom:"15.5px",marginTop:0!==u?"15.5px":"0px"}))),E((e=>({...e,backgroundColor:"#2444d8",paddingTop:"14px",paddingBottom:"14px",paddingLeft:"14px"})))):(w({}),E({}))}),[m]),i((()=>{v(!!b)}),[b]),t.createElement(j,z({customStyles:{...e,...C},type:"accordionContainer"},y,{header:t.createElement(j,z({customStyles:{...o,...S},type:"accordionToggle"},y,{onClick:()=>{f||(x||g(u),v(!x))},header:p,content:t.createElement("div",{style:c&&x?{transform:"rotate(180deg)",transition:"transform ease 95ms",background:"transparent"}:{transform:"rotate(0deg)",background:"transparent"}},s)})),content:t.createElement(F,z({customStyles:a,type:"accordionContent",ref:A},y,{style:x?{height:A.current.scrollHeight+"px"}:{height:"0px",borderBottom:"none"},id:h,content:d}))}))};_.propTypes={customStylesAccordionContainer:e.object,customStylesAccordionTogggle:e.object,customStylesAccordionIcon:e.object,customStylesAccordionContent:e.object,toggleIconAnimation:e.bool,icon:e.any,content:e.any,contentToggle:e.any,id:e.string},_.defaultProps={contentToggle:"Toggle",content:"Content",id:""};const ee=m.div`
144
144
  color: ${({theme:e,variant:t})=>t?e.variant[t]:"white"};
145
145
  ${({scroll:e})=>e?g`
146
146
  display: flex;
@@ -273,11 +273,27 @@ ${({inBuiltCss:e,type:t,size:o,customStyles:r})=>{if(e){let l={};if(e[t]){for(co
273
273
  &:hover {
274
274
  ${({inBuiltCss:e,type:t,size:o,customStylesHover:r})=>{if(e){return{...{},...r}}}}
275
275
  }
276
- `,ue=({customStylesContainer:e,customStylesImage:o,customStylesCircle:r,customStylesName:i,customStylesNameHover:n,size:a,toggleName:c,user:s,border:d,isSelected:p,selectedStyle:m,notSelectedStyle:g,...b})=>{const f=u()||R,[h,y]=l("loading");return t.createElement(de,z({border:d,inBuiltCss:L,customStyles:e,type:"avatarContainer"},b),s?.url&&t.createElement(ie,z({},b,{inBuiltCss:L,customStyles:o,type:"imageAvatar",size:a,alt:"user-picture",src:s.url,handleImageStatus:e=>{y(e)},style:{visibility:"loaded"!==h?"hidden":"visible"}})),t.createElement(pe,z({},b,{theme:f,selectedStyle:m,notSelectedStyle:g,inBuiltCss:L,type:"avatarCircle",customStyles:r,size:a,style:{visibility:"loaded"!==h?"visible":"hidden"},isSelected:p}),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&&t.createElement(me,z({theme:f},b,{inBuiltCss:L,type:"avatarName",customStyles:i,customStylesHover:n,size:a}),s.userName," "))};ue.propTypes={customStylesCircle:e.object,customStylesName:e.object,customStylesContainer:e.object,customStylesImage:e.object,toggleName:e.bool,size:e.oneOf(["SM","MD","LG"]),user:e.object,customStylesNameHover:e.object},ue.defaultProps={block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null};const ge=m.span`
276
+ `,ue=m.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
+ `,ge=({customStylesContainer:e,customStylesImage:o,customStylesCircle:r,customStylesName:i,customStylesNameHover:n,size:a,toggleName:c,user:s,border:d,isSelected:p,selectedStyle:m,notSelectedStyle:g,notificationCount:b,notificationCircleStyles:f,...h})=>{const y=u()||R,[x,v]=l("loading");return t.createElement(de,z({border:d,inBuiltCss:L,customStyles:e,type:"avatarContainer"},h),s?.url&&t.createElement(ie,z({},h,{inBuiltCss:L,customStyles:o,type:"imageAvatar",size:a,alt:"user-picture",src:s.url,handleImageStatus:e=>{v(e)},style:{visibility:"loaded"!==x?"hidden":"visible"}})),t.createElement(pe,z({},h,{theme:y,selectedStyle:m,notSelectedStyle:g,inBuiltCss:L,type:"avatarCircle",customStyles:r,size:a,style:{visibility:"loaded"!==x?"visible":"hidden"},isSelected:p}),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()),b>0&&t.createElement(ue,{notificationCircleStyles:f},"10")," ",c&&t.createElement(me,z({theme:y},h,{inBuiltCss:L,type:"avatarName",customStyles:i,customStylesHover:n,size:a}),s.userName," "))};ge.propTypes={customStylesCircle:e.object,customStylesName:e.object,customStylesContainer:e.object,customStylesImage:e.object,toggleName:e.bool,size:e.oneOf(["SM","MD","LG"]),user:e.object,customStylesNameHover:e.object,notificationCircleStyles:e.object,notificationCount:0},ge.defaultProps={block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null,notificationCircleStyles:{},notificationCount:0};const be=m.span`
277
293
 
278
294
  ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.common)r[t]=e.common[t];for(const o in e[t])r[o]=e[t][o],delete e.common[o]}return{...r,...o}}}}
279
295
  width: auto;
280
- `,be=m.div`
296
+ `,fe=m.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:o})=>{if(e){let r={};if(e[t]){for(const t i
292
308
  ${o}
293
309
  `}
294
310
  font-weight: 600;
295
- `,fe=m.span`
311
+ `,he=m.span`
296
312
 
297
313
  color: ${({theme:e})=>e.textColor};
298
314
 
@@ -302,7 +318,7 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
302
318
  &:hover {
303
319
  ${({inBuiltCss:e,type:t,size:o,customStylesHover:r})=>{if(e){return{...{},...r}}}}
304
320
  }
305
- `,he=({inBuiltCss:e,customStylesContainer:o,customStylesImage:r,customStylesCircle:i,customStylesName:n,customStylesNameHover:a,size:c,toggleName:s,user:d,border:p,selectedStyle:m,notSelectedStyle:g,isSelected:b,value:f,...h})=>{const y=u()||R,[x,v]=l("loading");return t.createElement(ge,z({border:p,theme:y,inBuiltCss:L,customStyles:o,type:"avatarContainer"},h),d?.url&&t.createElement(ie,z({},h,{inBuiltCss:L,customStyles:r,type:"imageAvatar",size:c,alt:"user-picture",src:d.url,handleImageStatus:e=>{v(e)},style:{visibility:"loaded"!==x?"hidden":"visible"}})),t.createElement(be,z({},h,{theme:y,inBuiltCss:L,type:"avatarCircle",customStyles:i,size:c,style:{visibility:"loaded"!==x?"visible":"hidden"},isSelected:b,selectedStyle:m,notSelectedStyle:g}),f),s&&t.createElement(fe,z({theme:y},h,{inBuiltCss:L,type:"avatarName",customStyles:n,customStylesHover:a,size:c}),d.userName," "))};he.propTypes={customStylesCircle:e.object,customStylesName:e.object,customStylesContainer:e.object,customStylesImage:e.object,toggleName:e.bool,size:e.oneOf(["SM","MD","LG"]),user:e.object},he.defaultProps={inBuiltCss:e.object},he.defaultProps={inBuiltCss:L,block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null};const ye=m.div`
321
+ `,ye=({inBuiltCss:e,customStylesContainer:o,customStylesImage:r,customStylesCircle:i,customStylesName:n,customStylesNameHover:a,size:c,toggleName:s,user:d,border:p,selectedStyle:m,notSelectedStyle:g,isSelected:b,value:f,...h})=>{const y=u()||R,[x,v]=l("loading");return t.createElement(be,z({border:p,theme:y,inBuiltCss:L,customStyles:o,type:"avatarContainer"},h),d?.url&&t.createElement(ie,z({},h,{inBuiltCss:L,customStyles:r,type:"imageAvatar",size:c,alt:"user-picture",src:d.url,handleImageStatus:e=>{v(e)},style:{visibility:"loaded"!==x?"hidden":"visible"}})),t.createElement(fe,z({},h,{theme:y,inBuiltCss:L,type:"avatarCircle",customStyles:i,size:c,style:{visibility:"loaded"!==x?"visible":"hidden"},isSelected:b,selectedStyle:m,notSelectedStyle:g}),f),s&&t.createElement(he,z({theme:y},h,{inBuiltCss:L,type:"avatarName",customStyles:n,customStylesHover:a,size:c}),d.userName," "))};ye.propTypes={customStylesCircle:e.object,customStylesName:e.object,customStylesContainer:e.object,customStylesImage:e.object,toggleName:e.bool,size:e.oneOf(["SM","MD","LG"]),user:e.object},ye.defaultProps={inBuiltCss:e.object},ye.defaultProps={inBuiltCss:L,block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null};const xe=m.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:o})=>{if(e){let r={};if(e[t]){for(const t i
312
328
  padding-top: 22px;
313
329
  padding-bottom: 22px;
314
330
  width: inherit;
315
- `,xe=m.div`
331
+ `,ve=m.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
- `,ve=({backgroundColor:e,borderColor:o,variant:r,children:l,...i})=>{const n=u()||R;return t.createElement(t.Fragment,null,t.createElement(ye,z({theme:n,backgroundColor:e,borderColor:o},i),t.createElement(xe,z({theme:n},i),l)))};ve.propTypes={backgroundColor:e.string,borderColor:e.string,children:e.any},ve.defaultProps={children:""};const Ae=b`
337
+ `,Ae=({backgroundColor:e,borderColor:o,variant:r,children:l,...i})=>{const n=u()||R;return t.createElement(t.Fragment,null,t.createElement(xe,z({theme:n,backgroundColor:e,borderColor:o},i),t.createElement(ve,z({theme:n},i),l)))};Ae.propTypes={backgroundColor:e.string,borderColor:e.string,children:e.any},Ae.defaultProps={children:""};const Ce=b`
322
338
  0% {
323
339
  opacity: 1;
324
340
  }
325
341
  100% {
326
342
  opacity: 0;
327
343
  }
328
- `,Ce=m.div`
344
+ `,we=m.div`
329
345
  ${({size:e,thickness:t,propellerHeight:o})=>g`
330
346
  display: inline-block;
331
347
  position: relative;
@@ -334,7 +350,7 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
334
350
 
335
351
  div{
336
352
  transform-origin: 0px ${e/2}px;
337
- animation: ${Ae} 1s linear infinite;
353
+ animation: ${Ce} 1s linear infinite;
338
354
  width: fit-content;
339
355
 
340
356
  ::after {
@@ -421,13 +437,13 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
421
437
  }
422
438
  }
423
439
  `}
424
- `,we=({size:e,thickness:o,propellerHeight:r,customStyles:l})=>{const i=L;return t.createElement(Ce,{theme:i,size:e,thickness:o,propellerHeight:r,customStyles:l,type:"spinner"},t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null))};Ce.defaultProps={theme:L},we.propTypes={size:e.number,thickness:e.number,propellerHeight:e.number,customStyles:e.object},we.defaultProps={size:20,thickness:2,propellerHeight:25,customStyles:null};const Se={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Ee=m.button`
440
+ `,Se=({size:e,thickness:o,propellerHeight:r,customStyles:l})=>{const i=L;return t.createElement(we,{theme:i,size:e,thickness:o,propellerHeight:r,customStyles:l,type:"spinner"},t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null),t.createElement("div",null))};we.defaultProps={theme:L},Se.propTypes={size:e.number,thickness:e.number,propellerHeight:e.number,customStyles:e.object},Se.defaultProps={size:20,thickness:2,propellerHeight:25,customStyles:null};const Ee={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},ke=m.button`
425
441
  background: transparent;
426
442
  color: ${({theme:e})=>e.variant["primary-1"]};
427
- padding: ${({size:e})=>Se[e].padding};
443
+ padding: ${({size:e})=>Ee[e].padding};
428
444
  border: none;
429
445
  border-radius: 5px;
430
- font-size: ${({size:e})=>Se[e].fontSize};
446
+ font-size: ${({size:e})=>Ee[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:o})=>{if(e){let r={};if(e[t]){for(const t i
443
459
 
444
460
  // custom styles
445
461
  ${({btnStyle:e})=>e}
446
- `,ke=({btnStyle:e,block:o,size:r,style:l,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=u()||R;return t.createElement(Ee,z({id:s,block:o,variant:i,defaultStyle:"button",type:c,style:l,size:r,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};ke.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,isLoading:e.bool,onClick:e.func,type:e.string,btnStyle:e.object,id:e.string},ke.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const ze={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Ve=({theme:e,variant:t})=>H(e.variant[t],.6),Me=m.button`
462
+ `,ze=({btnStyle:e,block:o,size:r,style:l,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=u()||R;return t.createElement(ke,z({id:s,block:o,variant:i,defaultStyle:"button",type:c,style:l,size:r,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(Se,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};ze.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,isLoading:e.bool,onClick:e.func,type:e.string,btnStyle:e.object,id:e.string},ze.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ve={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Me=({theme:e,variant:t})=>H(e.variant[t],.6),Be=m.button`
447
463
  background: ${({theme:e,variant:t})=>e.variant[t]};
448
464
  color: ${({theme:e})=>e.bgColor};
449
- padding: ${({size:e})=>ze[e].padding};
465
+ padding: ${({size:e})=>Ve[e].padding};
450
466
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
451
467
  border-radius: 5px;
452
- font-size: ${({size:e})=>ze[e].fontSize};
468
+ font-size: ${({size:e})=>Ve[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:o})=>{if(e){let r={};if(e[t]){for(const t i
458
474
  outline: none;
459
475
  &:disabled {
460
476
  color: ${({theme:e})=>e.bgColor};
461
- background: ${Ve};
462
- border: 1px solid ${Ve};
477
+ background: ${Me};
478
+ border: 1px solid ${Me};
463
479
  cursor: not-allowed;
464
480
  }
465
481
 
@@ -468,12 +484,12 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t i
468
484
 
469
485
  // custom styles
470
486
  ${({btnStyle:e})=>e}
471
- `,Be=({btnStyle:e,block:o,size:r,style:l,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=u()||R;return t.createElement(Me,z({id:s,block:o,variant:i,defaultStyle:"button",type:c,style:l,size:r,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};Be.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,isLoading:e.bool,onClick:e.func,type:e.string,btnStyle:e.object,id:e.string},Be.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const We={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},Ie=m.button`
487
+ `,We=({btnStyle:e,block:o,size:r,style:l,variant:i,disabled:n,isLoading:a,type:c,id:s,...d})=>{const p=u()||R;return t.createElement(Be,z({id:s,block:o,variant:i,defaultStyle:"button",type:c,style:l,size:r,theme:p,disabled:n,btnStyle:e},d),a&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(Se,{customStyles:{"background-color":p.bgColor},size:16})),d.children)};We.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,isLoading:e.bool,onClick:e.func,type:e.string,btnStyle:e.object,id:e.string},We.defaultProps={variant:"primary-1",block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ie={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},Re=m.button`
472
488
  color: ${({theme:e,variant:t})=>e.variant[t]};
473
489
  background: ${({theme:e})=>e.bgColor};
474
- padding: ${({size:e})=>We[e].padding};
490
+ padding: ${({size:e})=>Ie[e].padding};
475
491
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
476
- font-size: ${({size:e})=>We[e].fontSize};
492
+ font-size: ${({size:e})=>Ie[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:o})=>{if(e){let r={};if(e[t]){for(const t i
491
507
  ${({theme:e,defaultStyle:t})=>P(e,t)}
492
508
  // custom styles
493
509
  ${({btnStyle:e})=>e}
494
- `,Re=({btnStyle:e,isLoading:o,block:r,size:l,style:i,variant:n,disabled:a,type:c,theme:s,id:d,...p})=>{const m=u()||R;return t.createElement(Ie,z({id:d,block:r,variant:n,defaultStyle:"button",style:i,size:l,disabled:a,type:c,btnStyle:e,isLoading:o,theme:s},p),o&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(we,{theme:s,customStyles:{"background-color":m.variant[n]},size:16})," "),p.children," ")};Re.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,onClick:e.func,theme:e.object,type:e.string,btnStyle:e.object,id:e.string},Ie.defaultProps={theme:R},Re.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Le=m.button`
510
+ `,Le=({btnStyle:e,isLoading:o,block:r,size:l,style:i,variant:n,disabled:a,type:c,theme:s,id:d,...p})=>{const m=u()||R;return t.createElement(Re,z({id:d,block:r,variant:n,defaultStyle:"button",style:i,size:l,disabled:a,type:c,btnStyle:e,isLoading:o,theme:s},p),o&&t.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},t.createElement(Se,{theme:s,customStyles:{"background-color":m.variant[n]},size:16})," "),p.children," ")};Le.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["sm","md","lg"]),block:e.bool,onClick:e.func,theme:e.object,type:e.string,btnStyle:e.object,id:e.string},Re.defaultProps={theme:R},Le.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Pe=m.button`
495
511
  background: ${({disabled:e,theme:t,variant:o})=>e?"#BBC4CF":t.variant[o]};
496
512
  color: ${({theme:e})=>e.bgColor};
497
513
  padding: 3px 14px;
@@ -514,7 +530,7 @@ ${({inBuiltCss:e,type:t,customStyles:o})=>{if(e){let r={};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})=>P(e,t)}
517
- `,Pe=({block:e,style:o,variant:r,disabled:l,type:i,id:n,...a})=>(u(),t.createElement(Le,z({id:n,block:e,variant:r,defaultStyle:"button",type:i,style:o,disabled:l},a),a.children));Pe.propTypes={variant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object,type:e.string,id:e.string},Le.defaultProps={theme:R},Pe.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,onClick:void 0,id:""};const He=m.div`
533
+ `,He=({block:e,style:o,variant:r,disabled:l,type:i,id:n,...a})=>(u(),t.createElement(Pe,z({id:n,block:e,variant:r,defaultStyle:"button",type:i,style:o,disabled:l},a),a.children));He.propTypes={variant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object,type:e.string,id:e.string},Pe.defaultProps={theme:R},He.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,onClick:void 0,id:""};const Te=m.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:o})=>{if(e){let t={};if(e["toolt
558
574
  &[data-popper-placement*='left'] .tooltip-arrow::after {
559
575
  ${({inBuiltCss:e,type:t,customStylesTPAleftAfter:o,theme:r})=>{if(e){let t={};if(e["tp-cont-left-arrow-before"]){for(const o in e.common)t[o]=e.common[o];for(const o in e["tp-cont-left-arrow-after"])t[o]=e["tp-cont-left-arrow-after"][o],delete e.common[o]}let l=o||{borderColor:`transparent transparent transparent ${r.primary["primary-1"]} `};return{...t,...l}}}}
560
576
  }
561
- `,Te=m.div`
577
+ `,je=m.div`
562
578
 
563
579
  ${({inBuiltCss:e,type:t,customStylesTPArrow:o})=>{if(e){let t={};if(e["tooltip-arrow"]){for(const o in e.common)t[o]=e.common[o];for(const o in e["tooltip-arrow"])t[o]=e["tooltip-arrow"][o],delete e.common[o]}return{...t,...o}}}}
564
580
 
@@ -576,20 +592,20 @@ background-color: ${({theme:e})=>e.primary["primary-1"]};
576
592
  ${({inBuiltCss:e,defaultTooltipContentStyle:t})=>P(e,t)}
577
593
  // custom styles
578
594
  ${({customContentStyle:e})=>e}
579
- `,je=m.div`
595
+ `,Fe=m.div`
580
596
  ${({inBuiltCss:e,defaultTooltipHeaderStyle:t})=>P(e,t)}
581
597
  // custom styles
582
598
  ${({customHeaderStyle:e})=>e}
583
- `,Fe=m.div`
599
+ `,Oe=m.div`
584
600
  ${({inBuiltCss:e,defaultTooltipBodyStyle:t})=>P(e,t)}
585
601
  // custom styles
586
602
  ${({customBodyStyle:e})=>e}
587
- `,Oe=m.div`
588
603
  `,Ze=m.div`
604
+ `,Xe=m.div`
589
605
  ${({inBuiltCss:e,defaultTooltipTriggerStyle:t})=>P(e,t)}
590
606
  // custom styles
591
607
  ${({customTriggerStyle:e})=>e}
592
- `,Xe=({inBuiltCss:e,contentTrigger:o,contentTooltip:r,popperOptionsP:l,settings:i,customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:g,customStylesTPArightBefore:b,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:E,customHeaderStyle:k,customBodyStyle:V,customTriggerStyle:M,headerTooltip:B,footerTooltip:W,...I})=>{const P=u()||R,H={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...l},{getArrowProps:T,getTooltipProps:q,setTooltipRef:j,setTriggerRef:F,visible:O}=y({interactive:!0,...i},H);return t.createElement(t.Fragment,null,t.createElement(Ze,{ref:F,inBuiltCss:L,customTriggerStyle:M,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},o),O&&t.createElement(He,z({inBuiltCss:L,theme:P,ref:j},q({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:g,customStylesTPArightBefore:b,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),t.createElement(Te,z({inBuiltCss:L},T({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w})),t.createElement(qe,z({defaultTooltipContentStyle:"popOver-Content",theme:P,inBuiltCss:L},I,{customContentStyle:E}),t.createElement(je,z({defaultTooltipHeaderStyle:"popOver-header",theme:P,inBuiltCss:L},I,{customHeaderStyle:k}),B),t.createElement(Fe,z({defaultTooltipBodyStyle:"popOver-body",theme:P,inBuiltCss:L},I,{customBodyStyle:V}),r),t.createElement(Oe,null,W))))};Xe.propTypes={contentTrigger:e.any,headerTooltip:e.any,contentTooltip:e.any,footerTooltip:e.any,popperOptionsP:e.object,settings:e.object,customContentStyle:e.object,customHeaderStyle:e.object,customBodyStyle:e.object,customStylesTPContainer:e.object,customStylesTPAbottom:e.object,customStylesTPAbottomBefore:e.object,customStylesTPAbottomAfter:e.object,customStylesTPAtop:e.object,customStylesTPAtopBefore:e.object,customStylesTPAtopAfter:e.object,customStylesTPAright:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object,customStylesTPAleft:e.object,customStylesTPAleftBefore:e.object,customStylesTPAleftAfter:e.object,customStylesTPArrow:e.object,customStylesTPAbefore:e.object,customStylesTPAafter:e.object,customTriggerStyle:e.object},Xe.defaultProps={contentTrigger:t.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:t.createElement(Re,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ge=m.div`
608
+ `,Ge=({inBuiltCss:e,contentTrigger:o,contentTooltip:r,popperOptionsP:l,settings:i,customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:g,customStylesTPArightBefore:b,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v,customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:E,customHeaderStyle:k,customBodyStyle:V,customTriggerStyle:M,headerTooltip:B,footerTooltip:W,...I})=>{const P=u()||R,H={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...l},{getArrowProps:T,getTooltipProps:j,setTooltipRef:q,setTriggerRef:F,visible:O}=y({interactive:!0,...i},H);return t.createElement(t.Fragment,null,t.createElement(Xe,{ref:F,inBuiltCss:L,customTriggerStyle:M,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},o),O&&t.createElement(Te,z({inBuiltCss:L,theme:P,ref:q},j({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:a,customStylesTPAbottomBefore:c,customStylesTPAbottomAfter:s,customStylesTPAtop:d,customStylesTPAtopBefore:p,customStylesTPAtopAfter:m,customStylesTPAright:g,customStylesTPArightBefore:b,customStylesTPArightAfter:f,customStylesTPAleft:h,customStylesTPAleftBefore:x,customStylesTPAleftAfter:v}),t.createElement(je,z({inBuiltCss:L},T({className:"tooltip-arrow"}),{customStylesTPArrow:A,customStylesTPAbefore:C,customStylesTPAafter:w})),t.createElement(qe,z({defaultTooltipContentStyle:"popOver-Content",theme:P,inBuiltCss:L},I,{customContentStyle:E}),t.createElement(Fe,z({defaultTooltipHeaderStyle:"popOver-header",theme:P,inBuiltCss:L},I,{customHeaderStyle:k}),B),t.createElement(Oe,z({defaultTooltipBodyStyle:"popOver-body",theme:P,inBuiltCss:L},I,{customBodyStyle:V}),r),t.createElement(Ze,null,W))))};Ge.propTypes={contentTrigger:e.any,headerTooltip:e.any,contentTooltip:e.any,footerTooltip:e.any,popperOptionsP:e.object,settings:e.object,customContentStyle:e.object,customHeaderStyle:e.object,customBodyStyle:e.object,customStylesTPContainer:e.object,customStylesTPAbottom:e.object,customStylesTPAbottomBefore:e.object,customStylesTPAbottomAfter:e.object,customStylesTPAtop:e.object,customStylesTPAtopBefore:e.object,customStylesTPAtopAfter:e.object,customStylesTPAright:e.object,customStylesTPArightBefore:e.object,customStylesTPArightAfter:e.object,customStylesTPAleft:e.object,customStylesTPAleftBefore:e.object,customStylesTPAleftAfter:e.object,customStylesTPArrow:e.object,customStylesTPAbefore:e.object,customStylesTPAafter:e.object,customTriggerStyle:e.object},Ge.defaultProps={contentTrigger:t.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:t.createElement(Le,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Je=m.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
- `,Je=m.div`
644
+ `,Ue=m.div`
629
645
  display: flex;
630
646
  flex-wrap: nowrap;
631
- `,Ue=m.div`
647
+ `,De=m.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
- `,De=m.div`
678
+ `,Qe=m.div`
663
679
  display: flex;
664
680
  margin-bottom: 15px;
665
681
  position: relative;
666
- `,Qe=({wrap:e,block:o,style:n,variant:a,variantSeparator:c,appLogo:s,separator:d,items:p,onClick:m,isPrimary:g,collapse:b,folderIcon:f,...h})=>{const y=u()||R,x=r(null),[v,A]=l(void 0),C=()=>{A(x?.current?.scrollWidth<x?.current?.offsetWidth)};i((()=>{C(),console.log(p)}),[p]),i((()=>{if(!e)return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)}),[]),p.length;const w=p.map(((e,o)=>t.createElement(Je,{key:o},0!==o||s?t.createElement("div",{className:"breadcrumb-icon-separator"},d):null,t.createElement(Ue,{id:e.id,theme:y,onClick:()=>{e.href&&m(e.href)},variant:a,href:e.href,"data-title":e.label},e.label)))),S=p.slice(1,p.length-3).map(((e,o)=>t.createElement(De,{key:o},f?t.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},t.createElement(N,{icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"})):null,t.createElement(Ue,{id:e.id,theme:y,onClick:()=>{console.log("clicked"),e.href&&m(e.href)},variant:a,href:e.href,"data-title":e.label},e.label)))),E=p?1==b?p.length<=4?w:t.createElement(t.Fragment,null,t.createElement(Je,{key:0},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(Ue,{id:p[0].id,theme:y,onClick:()=>{p[0].href&&m(p[0].href)},variant:a,href:p[0].href,"data-title":p[0].label},p[0].label)),t.createElement(Je,null,t.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},d),t.createElement(Xe,{contentTrigger:t.createElement(N,{icon:"ellipses-horizontal",size:12,color:"#6B747F",style:{padding:"0 4px",paddingBottom:"6px",marginTop:"-5.5px"}}),customTriggerStyle:{cursor:"pointer",background:"#E2E6F5",borderRadius:"3px"},headerTooltip:"",customHeaderStyle:{marginBottom:"0px"},contentTooltip:t.createElement(t.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"}})),t.createElement(Je,{key:p.length-3},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(Ue,{id:p[p.length-3].id,theme:y,onClick:()=>{p[p.length-3].href&&m(p[p.length-3].href)},variant:a,href:p[p.length-3].href,"data-title":p[p.length-3].label},p[p.length-3].label)),t.createElement(Je,{key:p.length-2},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(Ue,{id:p[p.length-2].id,theme:y,onClick:()=>{p[p.length-2].href&&m(p[p.length-2].href)},variant:a,href:p[p.length-2].href,"data-title":p[p.length-2].label},p[p.length-2].label)),t.createElement(Je,{key:p.length-1},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(Ue,{id:p[p.length-1].id,theme:y,onClick:()=>{p[p.length-1].href&&m(p[p.length-1].href)},variant:a,href:p[p.length-1].href,"data-title":p[p.length-1].label},p[p.length-1].label))):w:null;return t.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"start"}},t.createElement("div",{style:{display:"flex",position:"absolute"}},t.createElement(Ge,z({theme:y,isWrap:e,ref:e?null:x,isBreadcrumbVisible:v,block:o,variant:a,variantSeparator:c,style:n,isPrimary:g},h),s&&t.createElement("div",{className:"breadcrumb-icon"},s),E)))};Qe.propTypes={variant:e.string,variantSeparator:e.string,onClick:e.func,appLogo:e.any,separator:e.any,items:e.array,block:e.bool,wrap:e.bool,isPrimary:e.bool,collapse:e.bool,folderIcon:e.bool},Qe.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const Ne=m.label`
682
+ `,Ne=({wrap:e,block:o,style:n,variant:a,variantSeparator:c,appLogo:s,separator:d,items:p,onClick:m,isPrimary:g,collapse:b,folderIcon:f,...h})=>{const y=u()||R,x=r(null),[v,A]=l(void 0),C=()=>{A(x?.current?.scrollWidth<x?.current?.offsetWidth)};i((()=>{C(),console.log(p)}),[p]),i((()=>{if(!e)return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)}),[]),p.length;const w=p.map(((e,o)=>t.createElement(Ue,{key:o},0!==o||s?t.createElement("div",{className:"breadcrumb-icon-separator"},d):null,t.createElement(De,{id:e.id,theme:y,onClick:()=>{e.href&&m(e.href)},variant:a,href:e.href,"data-title":e.label},e.label)))),S=p.slice(1,p.length-3).map(((e,o)=>t.createElement(Qe,{key:o},f?t.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},t.createElement(N,{icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"})):null,t.createElement(De,{id:e.id,theme:y,onClick:()=>{console.log("clicked"),e.href&&m(e.href)},variant:a,href:e.href,"data-title":e.label},e.label)))),E=p?1==b?p.length<=4?w:t.createElement(t.Fragment,null,t.createElement(Ue,{key:0},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(De,{id:p[0].id,theme:y,onClick:()=>{p[0].href&&m(p[0].href)},variant:a,href:p[0].href,"data-title":p[0].label},p[0].label)),t.createElement(Ue,null,t.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},d),t.createElement(Ge,{contentTrigger:t.createElement(N,{icon:"ellipses-horizontal",size:12,color:"#6B747F",style:{padding:"0 4px",paddingBottom:"6px",marginTop:"-5.5px"}}),customTriggerStyle:{cursor:"pointer",background:"#E2E6F5",borderRadius:"3px"},headerTooltip:"",customHeaderStyle:{marginBottom:"0px"},contentTooltip:t.createElement(t.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"}})),t.createElement(Ue,{key:p.length-3},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(De,{id:p[p.length-3].id,theme:y,onClick:()=>{p[p.length-3].href&&m(p[p.length-3].href)},variant:a,href:p[p.length-3].href,"data-title":p[p.length-3].label},p[p.length-3].label)),t.createElement(Ue,{key:p.length-2},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(De,{id:p[p.length-2].id,theme:y,onClick:()=>{p[p.length-2].href&&m(p[p.length-2].href)},variant:a,href:p[p.length-2].href,"data-title":p[p.length-2].label},p[p.length-2].label)),t.createElement(Ue,{key:p.length-1},t.createElement("div",{className:"breadcrumb-icon-separator"},d),t.createElement(De,{id:p[p.length-1].id,theme:y,onClick:()=>{p[p.length-1].href&&m(p[p.length-1].href)},variant:a,href:p[p.length-1].href,"data-title":p[p.length-1].label},p[p.length-1].label))):w:null;return t.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"start"}},t.createElement("div",{style:{display:"flex",position:"absolute"}},t.createElement(Je,z({theme:y,isWrap:e,ref:e?null:x,isBreadcrumbVisible:v,block:o,variant:a,variantSeparator:c,style:n,isPrimary:g},h),s&&t.createElement("div",{className:"breadcrumb-icon"},s),E)))};Ne.propTypes={variant:e.string,variantSeparator:e.string,onClick:e.func,appLogo:e.any,separator:e.any,items:e.array,block:e.bool,wrap:e.bool,isPrimary:e.bool,collapse:e.bool,folderIcon:e.bool},Ne.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const Ke=m.label`
667
683
  //Set the styles from the default styles object
668
684
  ${({theme:e,type:t})=>P(e,t)}
669
685
 
670
686
  // custom styles
671
687
  ${({customStyles:e})=>e}
672
- `,Ke=({customStyles:e,text:o,className:r,required:l,...i})=>{const n=L;return t.createElement(Ne,z({required:l,theme:n,customStyles:e,type:"label"},i),o,l&&t.createElement("div",{style:{marginLeft:"4px",color:`${R.variant.error}`}},"*"))};Ke.propTypes={customStyles:e.object,text:e.string},Ke.defaultProps={text:""};const Ye=m.div`
688
+ `,Ye=({customStyles:e,text:o,className:r,required:l,...i})=>{const n=L;return t.createElement(Ke,z({required:l,theme:n,customStyles:e,type:"label"},i),o,l&&t.createElement("div",{style:{marginLeft:"4px",color:`${R.variant.error}`}},"*"))};Ye.propTypes={customStyles:e.object,text:e.string},Ye.defaultProps={text:""};const $e=m.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
- `;Ye.defaultProps={theme:R};const $e=m.div`
699
+ `;$e.defaultProps={theme:R};const _e=m.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
- `;$e.defaultProps={theme:R};const _e=m.span`
714
+ `;_e.defaultProps={theme:R};const et=m.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
- `;_e.defaultProps={theme:R};const et=m.label`
726
+ `;et.defaultProps={theme:R};const tt=m.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
- `,tt=m.div`
736
+ `,ot=m.div`
721
737
  flex-direction: ${({inline:e})=>e?"row":"column"};
722
738
  width: ${({inline:e})=>e?"initial":"auto"};
723
- `,ot=({getCheckedArr:e,checkBoxOuterStyle:o,checkBoxInnerStyle:r,optionTextStyle:l,defaultBorderColor:n,defaultTextColor:a,checkedTextColor:c,checkedCheckBoxColor:s,labelStyle:d,label:p,options:m,setOptions:g,wrapperStyles:b,inline:f,wrapperStyle:h,isRequired:y,...x})=>{const v=u()||R;i((()=>{A(m)}),[]);const A=t=>{let o=t.filter((e=>!1!==e.checked));e(o)},C=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return t.createElement("div",z({style:C},x),t.createElement("div",{style:{display:"flex"}},t.createElement(Ke,z({customStyles:d,type:"check-label",text:p},x)),y&&t.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),t.createElement(tt,z({style:{display:"flex",flexWrap:"wrap"},inline:f},x),m?.map(((e,i)=>t.createElement(et,z({inline:f,id:e.id,key:`${e.name}-${i}`,onClick:()=>{((e,t)=>{let o=[...m];o[t].checked=!e.checked,g(o),A(o)})(e,i)},wrapperStyles:b},x),e.checked?t.createElement($e,z({theme:v,inBuiltCss:L,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:n,checkedCheckBoxColor:s,checked:!e?.disabled&&e.checked},x),t.createElement(N,{icon:"check-icon",size:18,color:"white"})):t.createElement(Ye,z({inBuiltCss:L,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:n,theme:v},x)),t.createElement(_e,{theme:v,inline:f,optionTextStyle:{...l,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:a,checkedTextColor:c},e.label))))))};ot.propTypes={wrapperStyle:e.object,label:e.string,labelStyle:e.object,checkBoxOuterStyle:e.object,checkBoxInnerStyle:e.object,optionTextStyle:e.object,defaultTextColor:e.string,checkedTextColor:e.string,defaultBorderColor:e.string,checkedCheckBoxColor:e.string,inline:e.bool,options:e.array,setOptions:e.func,getCheckedArr:e.func,isRequired:e.bool,wrapperStyles:e.object},ot.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const rt=m.div`
739
+ `,rt=({getCheckedArr:e,checkBoxOuterStyle:o,checkBoxInnerStyle:r,optionTextStyle:l,defaultBorderColor:n,defaultTextColor:a,checkedTextColor:c,checkedCheckBoxColor:s,labelStyle:d,label:p,options:m,setOptions:g,wrapperStyles:b,inline:f,wrapperStyle:h,isRequired:y,...x})=>{const v=u()||R;i((()=>{A(m)}),[]);const A=t=>{let o=t.filter((e=>!1!==e.checked));e(o)},C=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return t.createElement("div",z({style:C},x),t.createElement("div",{style:{display:"flex"}},t.createElement(Ye,z({customStyles:d,type:"check-label",text:p},x)),y&&t.createElement("div",{style:{marginLeft:"4px",color:`${v.variant.error}`}},"*")),t.createElement(ot,z({style:{display:"flex",flexWrap:"wrap"},inline:f},x),m?.map(((e,i)=>t.createElement(tt,z({inline:f,id:e.id,key:`${e.name}-${i}`,onClick:()=>{((e,t)=>{let o=[...m];o[t].checked=!e.checked,g(o),A(o)})(e,i)},wrapperStyles:b},x),e.checked?t.createElement(_e,z({theme:v,inBuiltCss:L,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:n,checkedCheckBoxColor:s,checked:!e?.disabled&&e.checked},x),t.createElement(N,{icon:"check-icon",size:18,color:"white"})):t.createElement($e,z({inBuiltCss:L,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:n,theme:v},x)),t.createElement(et,{theme:v,inline:f,optionTextStyle:{...l,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:a,checkedTextColor:c},e.label))))))};rt.propTypes={wrapperStyle:e.object,label:e.string,labelStyle:e.object,checkBoxOuterStyle:e.object,checkBoxInnerStyle:e.object,optionTextStyle:e.object,defaultTextColor:e.string,checkedTextColor:e.string,defaultBorderColor:e.string,checkedCheckBoxColor:e.string,inline:e.bool,options:e.array,setOptions:e.func,getCheckedArr:e.func,isRequired:e.bool,wrapperStyles:e.object},rt.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{}};const lt=m.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})=>P(e,t)}
732
748
  // custom styles
733
749
  ${({customColorWrapperStyle:e})=>e}
734
750
 
735
- `,lt=m.input`
751
+ `,it=m.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})=>P(e,t)}
754
770
  // custom styles
755
771
  ${({customInputColorStyle:e})=>e}
756
- `,it=({label:e,labelStyle:o,value:r,setValue:l,customInputColorStyle:i,customColorWrapperStyle:n,id:a,...c})=>{const s=u()||R;return t.createElement(rt,z({customColorWrapperStyle:n,defaultColorWrapperStyle:"ColorWrapper",theme:s,inBuiltCss:L},c),t.createElement(lt,z({id:a,customInputColorStyle:i,defaultInputColorStyle:"input-color",inBuiltCss:L,theme:s},c,{type:"color",value:r,onChange:e=>{l(e.target.value)}})),t.createElement(Ke,z({themeColor:R,customStyles:o,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};it.propTypes={label:e.string,labelStyle:e.object,value:e.string,setValue:e.func,customInputColorStyle:e.object,customColorWrapperStyle:e.object,id:e.string},it.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const nt=m.div`
772
+ `,nt=({label:e,labelStyle:o,value:r,setValue:l,customInputColorStyle:i,customColorWrapperStyle:n,id:a,...c})=>{const s=u()||R;return t.createElement(lt,z({customColorWrapperStyle:n,defaultColorWrapperStyle:"ColorWrapper",theme:s,inBuiltCss:L},c),t.createElement(it,z({id:a,customInputColorStyle:i,defaultInputColorStyle:"input-color",inBuiltCss:L,theme:s},c,{type:"color",value:r,onChange:e=>{l(e.target.value)}})),t.createElement(Ye,z({themeColor:R,customStyles:o,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px"}},c)))};nt.propTypes={label:e.string,labelStyle:e.object,value:e.string,setValue:e.func,customInputColorStyle:e.object,customColorWrapperStyle:e.object,id:e.string},nt.defaultProps={label:"",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:""};const at=m.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
- `;nt.defaultProps={theme:R};const at=m.div`
911
+ `;at.defaultProps={theme:R};const ct=m.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
- `,ct=m.div`
918
+ `,st=m.div`
903
919
  display: flex;
904
920
  justify-content: center;
905
921
  margin-left: 6px;
906
- `,st=m("div")`
907
- width: inherit;
908
922
  `,dt=m("div")`
923
+ width: inherit;
924
+ `,pt=m("div")`
909
925
  display: flex;
910
926
  flex-direction: row;
911
927
  cursor: pointer;
912
- `,pt=m("div")`
928
+ `,mt=m("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
- `,mt=m("ul")`
939
+ `,ut=m("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
- `;mt.defaultProps={theme:R};const ut=m("li")`
966
+ `;ut.defaultProps={theme:R};const gt=m("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
- `,gt=({startDate:e,setStartDate:o,disabled:n,theme:a,...c})=>{const s=u()||R,d=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var p=[],m=2010;m<=(new Date).getFullYear()+10;m++)p.push(m);const g=r(null),b=r(null),[f,h]=l(!1),[y,v]=l(!1),[A,C]=l(!1),[w,S]=l(!1),[E,k]=l(e.getFullYear()),[V,M]=l(d[e.getMonth()]);i((()=>{M(d[e.getMonth()]),k(e.getFullYear())}),[e]),i((()=>(document.addEventListener("click",B,!0),()=>{document.removeEventListener("click",B,!0)})),[]);const B=e=>{g.current&&!g.current.contains(e.target)&&h(!1)},W=e=>{b.current&&!b.current.contains(e.target)&&v(!1)};return i((()=>(document.addEventListener("click",W,!0),()=>{document.removeEventListener("click",W,!0)})),[]),t.createElement(nt,z({disabled:n,theme:a},c),t.createElement(x,{selected:e,dateFormat:"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>o(e),placeholderText:"select date",adjustDateOnChange:!0,disabled:n,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:o,changeMonth:r})=>t.createElement(at,null,t.createElement("div",{style:{display:"flex"}},t.createElement(st,{ref:g},t.createElement(dt,{onClick:()=>{h(!f),v(!1)}},t.createElement("span",{onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),style:{color:`${A?s.variant["primary-1"]:s.textColor}`}},d[e.getMonth()]),t.createElement(ct,null,t.createElement(N,{icon:"triangle-down",color:A?s.variant["primary-1"]:s.textColor,size:7}))),f&&t.createElement(pt,null,t.createElement(mt,{theme:a,onMouseEnter:()=>C(!0)},d.map(((e,o)=>t.createElement(ut,{selectedMonth:V,onClick:()=>{C(!1),r(o),h(!1),M(d[o])},key:Math.random()},t.createElement("span",{style:{color:`${V===e?s.variant["primary-1"]:s.textColor}`}},e))))))),t.createElement(st,{ref:b},t.createElement(dt,{style:{marginLeft:"28px"},onClick:()=>{v(!y),h(!1)}},t.createElement("span",{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),style:{color:`${w?s.variant["primary-1"]:s.textColor}`}},e.getFullYear()),t.createElement(ct,null,t.createElement(N,{icon:"triangle-down",color:w?s.variant["primary-1"]:s.textColor,size:7}))),y&&t.createElement(pt,null,t.createElement(mt,{onMouseEnter:()=>S(!0)},p.map(((e,r)=>t.createElement(ut,{onClick:()=>{S(!1),o(e),k(e),v(!1)},key:Math.random()},t.createElement("span",{style:{color:`${E===e?s.variant["primary-1"]:s.textColor}`}},e)))))))))}))};gt.propTypes={startDate:e.any,setStartDate:e.func,disabled:e.bool,theme:e.object},gt.defaultProps={theme:R,startDate:"",setStartDate:()=>{},disabled:!1};const bt=m.div`
975
+ `,bt=({startDate:e,setStartDate:o,disabled:n,theme:a,...c})=>{const s=u()||R,d=["January","February","March","April","May","June","July","August","September","October","November","December"];for(var p=[],m=2010;m<=(new Date).getFullYear()+10;m++)p.push(m);const g=r(null),b=r(null),[f,h]=l(!1),[y,v]=l(!1),[A,C]=l(!1),[w,S]=l(!1),[E,k]=l(e.getFullYear()),[V,M]=l(d[e.getMonth()]);i((()=>{M(d[e.getMonth()]),k(e.getFullYear())}),[e]),i((()=>(document.addEventListener("click",B,!0),()=>{document.removeEventListener("click",B,!0)})),[]);const B=e=>{g.current&&!g.current.contains(e.target)&&h(!1)},W=e=>{b.current&&!b.current.contains(e.target)&&v(!1)};return i((()=>(document.addEventListener("click",W,!0),()=>{document.removeEventListener("click",W,!0)})),[]),t.createElement(at,z({disabled:n,theme:a},c),t.createElement(x,{selected:e,dateFormat:"dd/MM/yyyy",useWeekdaysShort:!0,onChange:e=>o(e),placeholderText:"select date",adjustDateOnChange:!0,disabled:n,dropdownMode:"select",renderCustomHeader:({date:e,changeYear:o,changeMonth:r})=>t.createElement(ct,null,t.createElement("div",{style:{display:"flex"}},t.createElement(dt,{ref:g},t.createElement(pt,{onClick:()=>{h(!f),v(!1)}},t.createElement("span",{onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),style:{color:`${A?s.variant["primary-1"]:s.textColor}`}},d[e.getMonth()]),t.createElement(st,null,t.createElement(N,{icon:"triangle-down",color:A?s.variant["primary-1"]:s.textColor,size:7}))),f&&t.createElement(mt,null,t.createElement(ut,{theme:a,onMouseEnter:()=>C(!0)},d.map(((e,o)=>t.createElement(gt,{selectedMonth:V,onClick:()=>{C(!1),r(o),h(!1),M(d[o])},key:Math.random()},t.createElement("span",{style:{color:`${V===e?s.variant["primary-1"]:s.textColor}`}},e))))))),t.createElement(dt,{ref:b},t.createElement(pt,{style:{marginLeft:"28px"},onClick:()=>{v(!y),h(!1)}},t.createElement("span",{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),style:{color:`${w?s.variant["primary-1"]:s.textColor}`}},e.getFullYear()),t.createElement(st,null,t.createElement(N,{icon:"triangle-down",color:w?s.variant["primary-1"]:s.textColor,size:7}))),y&&t.createElement(mt,null,t.createElement(ut,{onMouseEnter:()=>S(!0)},p.map(((e,r)=>t.createElement(gt,{onClick:()=>{S(!1),o(e),k(e),v(!1)},key:Math.random()},t.createElement("span",{style:{color:`${E===e?s.variant["primary-1"]:s.textColor}`}},e)))))))))}))};bt.propTypes={startDate:e.any,setStartDate:e.func,disabled:e.bool,theme:e.object},bt.defaultProps={theme:R,startDate:"",setStartDate:()=>{},disabled:!1};const ft=m.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
- `;bt.defaultProps={theme:R};const ft=m.div`
1121
+ `;ft.defaultProps={theme:R};const ht=m.div`
1106
1122
  // Default style
1107
1123
  display: flex;
1108
1124
 
@@ -1110,11 +1126,11 @@ ${({customInputColorStyle:e})=>e}
1110
1126
  ${({inBuiltCss:e,labelWrapperStyle:t})=>P(e,t)}
1111
1127
  // custom styles
1112
1128
  ${({customLabelStyles:e})=>e}
1113
- `,ht=m.div`
1129
+ `,yt=m.div`
1114
1130
  margin-left: 6px;
1115
1131
  margin-top: -14px;
1116
1132
  cursor: pointer;
1117
- `,yt=({getValue:e,children:o,...r})=>{const l=e().length;return t.createElement(A.ValueContainer,r,o,l>1&&t.createElement("span",{className:"text-more-alt"},"& ",l-1," more"))},xt=({label:e,labelStyle:o,optionArr:r,selectedValue:l,setSelectedValue:i,placeHolder:n,isClearable:a,isValid:c,height:s,fontSize:d,loadOptions:p,onInputChange:m,clearSelected:g,customWrapperStyles:b,customLabelStyles:f,isRequired:h,dropdownType:y,isDisabled:x,isLoading:v,id:C,iconName:w,iconColor:S,iconSize:E,showIndicator:k,leftIcon:V,leftIconColor:M,leftIconSize:B,backgroundColor:W,placeHolderColor:I,inputColor:P,...H})=>{const T=u()||R,q=e=>{const o={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},r=t.createElement("div",{style:{...o,backgroundColor:e?.data?.color??T.primary["primary-1"]}},t.createElement(N,{icon:"check-icon",color:"white"})),l=t.createElement("div",{style:{...o,backgroundColor:"#e0e7ff"}});return t.createElement(A.Option,e,t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",width:"100%"}},e.isSelected?r:l,t.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},j=({index:e,...o})=>{const r=o?.data?.label||"Select";return!e&&t.createElement("span",{className:"text-main-alt-value"},r)},F={control:(e,t)=>({...e,border:c?"1px solid "+T.border:"1px solid "+T.ui.error,minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:W||T.bgColor}),placeholder:e=>({...e,fontSize:d+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:I||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,display:"flex",justifyContent:"space-between",fontSize:d+"px"}),indicatorsContainer:e=>({...e,padding:0,height:`${s}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:d+"px",width:"100%",minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px"}),singleValue:e=>({...e,fontSize:d+"px",marginLeft:"0px",width:"auto",maxWidth:"89%",marginRight:0}),multiValue:e=>({...e,marginLeft:"0px",width:"auto"}),input:e=>({...e,fontSize:d+"px",color:P||"hsl(0, 0%, 20%)"}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?T.neutral["neutral-5"]:T.bgColor,padding:"10px",cursor:"pointer",color:"#081348",width:"inherit"}),...H.styles},O={DropdownIndicator:e=>{const o=t.createElement(A.DropdownIndicator,e,t.createElement(ht,null,t.createElement(N,{icon:w,color:S,size:E})));return!0===k?o:null},ValueContainer:yt,IndicatorSeparator:()=>null,ClearIndicator:e=>t.createElement(A.ClearIndicator,e,a?t.createElement(ht,{onClick:()=>{g(),e.clearValue()}},t.createElement(N,{icon:"cross-icon",color:"black",size:8})):null)};let Z=null;switch(y){case"multiSelect":Z=t.createElement(vt,z({type:"multiSelect",MultiValue:j,Option:q,value:l,CommonRenderedComponent:O,optionArr:r,placeHolder:n,isDisabled:x,stylesComp:F,setSelectedValue:i,isLoading:v,id:C,isClearable:a},H));break;case"asyncSingleSelect":Z=t.createElement(At,z({CommonRenderedComponent:O,loadOptions:p,onInputChange:m,styles:F,placeholder:n,onChange:i,isLoading:v,isDisabled:x,id:C,value:l,isClearable:a},H));break;case"asyncMultiSelect":Z=t.createElement(At,z({type:"asyncMultiSelect",CommonRenderedComponent:O,MultiValue:j,Option:q,onChange:i,placeholder:n,styles:F,isDisabled:x,isLoading:v,loadOptions:p,onInputChange:m,id:C,isClearable:a},H));break;default:Z=t.createElement(vt,z({type:"singleSelect",value:{value:l?l.value:"",label:l?l.label:""},CommonRenderedComponent:O,optionArr:r,placeHolder:n,isDisabled:x,stylesComp:F,setSelectedValue:i,isLoading:v,id:C,isClearable:a},H))}return t.createElement(bt,{style:b,isValid:c,fontSize:d,theme:T},e&&t.createElement(ft,{inBuiltCss:L,labelWrapperStyle:"selectComp-label-wrapper",style:f},t.createElement(Ke,{customStyles:o,type:"label-text",text:e,style:{marginBottom:"7px",paddingBottom:"0px"}}),h&&t.createElement("div",{style:{marginLeft:"4px",color:`${T.ui.error}`}},"*")),Z)},vt=({type:e,Option:o,value:r,CommonRenderedComponent:l,MultiValue:i,optionArr:n,placeHolder:a,isDisabled:c,stylesComp:s,setSelectedValue:d,isLoading:p,id:m,isClearable:u,...g})=>{let b={...l};return"multiSelect"===e&&(b.MultiValue=i,b.Option=o),t.createElement(v,z({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:b,options:n,placeholder:a,isDisabled:c,value:r,styles:s,onChange:d,isLoading:p,id:m,isClearable:u,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},g))},At=({CommonRenderedComponent:e,MultiValue:o,Option:r,type:l,id:i,styles:n,...a})=>{let c={...e};return"asyncMultiSelect"===l&&(c.MultiValue=o,c.Option=r),t.createElement(C,z({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===l,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==l,isSearchable:!0,styles:n,menuShouldScrollIntoView:!1},a))};xt.propTypes={label:e.string,labelStyle:e.object,optionArr:e.array,selectedValue:e.object,setSelectedValue:e.func,placeHolder:e.string,fontSize:e.number,clearSelected:e.func,loadOptions:e.func,onInputChange:e.func,customWrapperStyles:e.object,customLabelStyles:e.object,isRequired:e.bool,dropdownType:e.string,isDisabled:e.bool,isLoading:e.bool,isValid:e.bool,height:e.number,isClearable:e.bool,id:e.string,iconName:e.string,iconColor:e.string,iconSize:e.number,leftIcon:e.string,leftIconColor:e.string,leftIconSize:e.number,showIndicator:e.bool,backgroundColor:e.string,placeHolderColor:e.string,inputColor:e.string},xt.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 Ct=m.div`
1133
+ `,xt=({getValue:e,children:o,...r})=>{const l=e().length;return t.createElement(A.ValueContainer,r,o,l>1&&t.createElement("span",{className:"text-more-alt"},"& ",l-1," more"))},vt=({label:e,labelStyle:o,optionArr:r,selectedValue:l,setSelectedValue:i,placeHolder:n,isClearable:a,isValid:c,height:s,fontSize:d,loadOptions:p,onInputChange:m,clearSelected:g,customWrapperStyles:b,customLabelStyles:f,isRequired:h,dropdownType:y,isDisabled:x,isLoading:v,id:C,iconName:w,iconColor:S,iconSize:E,showIndicator:k,leftIcon:V,leftIconColor:M,leftIconSize:B,backgroundColor:W,placeHolderColor:I,inputColor:P,...H})=>{const T=u()||R,j=e=>{const o={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px"},r=t.createElement("div",{style:{...o,backgroundColor:e?.data?.color??T.primary["primary-1"]}},t.createElement(N,{icon:"check-icon",color:"white"})),l=t.createElement("div",{style:{...o,backgroundColor:"#e0e7ff"}});return t.createElement(A.Option,e,t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",width:"100%"}},e.isSelected?r:l,t.createElement("div",{className:"text-main-alt",style:{marginLeft:"10px"}},e.label)))},q=({index:e,...o})=>{const r=o?.data?.label||"Select";return!e&&t.createElement("span",{className:"text-main-alt-value"},r)},F={control:(e,t)=>({...e,border:c?"1px solid "+T.border:"1px solid "+T.ui.error,minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:W||T.bgColor}),placeholder:e=>({...e,fontSize:d+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:I||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,display:"flex",justifyContent:"space-between",fontSize:d+"px"}),indicatorsContainer:e=>({...e,padding:0,height:`${s}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:d+"px",width:"100%",minWidth:"singleSelect"===y||"asyncSingleSelect"===y?"120px":"185px"}),singleValue:e=>({...e,fontSize:d+"px",marginLeft:"0px",width:"auto",maxWidth:"89%",marginRight:0}),multiValue:e=>({...e,marginLeft:"0px",width:"auto"}),input:e=>({...e,fontSize:d+"px",color:P||"hsl(0, 0%, 20%)"}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?T.neutral["neutral-5"]:T.bgColor,padding:"10px",cursor:"pointer",color:"#081348",width:"inherit"}),...H.styles},O={DropdownIndicator:e=>{const o=t.createElement(A.DropdownIndicator,e,t.createElement(yt,null,t.createElement(N,{icon:w,color:S,size:E})));return!0===k?o:null},ValueContainer:xt,IndicatorSeparator:()=>null,ClearIndicator:e=>t.createElement(A.ClearIndicator,e,a?t.createElement(yt,{onClick:()=>{g(),e.clearValue()}},t.createElement(N,{icon:"cross-icon",color:"black",size:8})):null)};let Z=null;switch(y){case"multiSelect":Z=t.createElement(At,z({type:"multiSelect",MultiValue:q,Option:j,value:l,CommonRenderedComponent:O,optionArr:r,placeHolder:n,isDisabled:x,stylesComp:F,setSelectedValue:i,isLoading:v,id:C,isClearable:a},H));break;case"asyncSingleSelect":Z=t.createElement(Ct,z({CommonRenderedComponent:O,loadOptions:p,onInputChange:m,styles:F,placeholder:n,onChange:i,isLoading:v,isDisabled:x,id:C,value:l,isClearable:a},H));break;case"asyncMultiSelect":Z=t.createElement(Ct,z({type:"asyncMultiSelect",CommonRenderedComponent:O,MultiValue:q,Option:j,onChange:i,placeholder:n,styles:F,isDisabled:x,isLoading:v,loadOptions:p,onInputChange:m,id:C,isClearable:a},H));break;default:Z=t.createElement(At,z({type:"singleSelect",value:{value:l?l.value:"",label:l?l.label:""},CommonRenderedComponent:O,optionArr:r,placeHolder:n,isDisabled:x,stylesComp:F,setSelectedValue:i,isLoading:v,id:C,isClearable:a},H))}return t.createElement(ft,{style:b,isValid:c,fontSize:d,theme:T},e&&t.createElement(ht,{inBuiltCss:L,labelWrapperStyle:"selectComp-label-wrapper",style:f},t.createElement(Ye,{customStyles:o,type:"label-text",text:e,style:{marginBottom:"7px",paddingBottom:"0px"}}),h&&t.createElement("div",{style:{marginLeft:"4px",color:`${T.ui.error}`}},"*")),Z)},At=({type:e,Option:o,value:r,CommonRenderedComponent:l,MultiValue:i,optionArr:n,placeHolder:a,isDisabled:c,stylesComp:s,setSelectedValue:d,isLoading:p,id:m,isClearable:u,...g})=>{let b={...l};return"multiSelect"===e&&(b.MultiValue=i,b.Option=o),t.createElement(v,z({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:b,options:n,placeholder:a,isDisabled:c,value:r,styles:s,onChange:d,isLoading:p,id:m,isClearable:u,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1},g))},Ct=({CommonRenderedComponent:e,MultiValue:o,Option:r,type:l,id:i,styles:n,...a})=>{let c={...e};return"asyncMultiSelect"===l&&(c.MultiValue=o,c.Option=r),t.createElement(C,z({className:"select-manage-page",classNamePrefix:"new-select",name:"select-dropdown",components:c,isMulti:"asyncMultiSelect"===l,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==l,isSearchable:!0,styles:n,menuShouldScrollIntoView:!1},a))};vt.propTypes={label:e.string,labelStyle:e.object,optionArr:e.array,selectedValue:e.object,setSelectedValue:e.func,placeHolder:e.string,fontSize:e.number,clearSelected:e.func,loadOptions:e.func,onInputChange:e.func,customWrapperStyles:e.object,customLabelStyles:e.object,isRequired:e.bool,dropdownType:e.string,isDisabled:e.bool,isLoading:e.bool,isValid:e.bool,height:e.number,isClearable:e.bool,id:e.string,iconName:e.string,iconColor:e.string,iconSize:e.number,leftIcon:e.string,leftIconColor:e.string,leftIconSize:e.number,showIndicator:e.bool,backgroundColor:e.string,placeHolderColor:e.string,inputColor:e.string},vt.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0};const wt=m.div`
1118
1134
  //Set the styles from the default styles object
1119
1135
  ${({inBuiltCss:e,defaultStyles:t})=>P(e,t)}
1120
1136
 
@@ -1131,15 +1147,15 @@ ${({customInputColorStyle:e})=>e}
1131
1147
 
1132
1148
  // custom styles
1133
1149
  ${({customDropzoneStyles:e})=>e}
1134
- `,wt=m.div`
1150
+ `,St=m.div`
1135
1151
  //Set the styles from the default styles object
1136
1152
  ${({inBuiltCss:e,defaultStyles:t})=>P(e,t)}
1137
1153
 
1138
1154
  // custom styles
1139
1155
  ${({customFileStyles:e})=>e}
1140
- `,St=m.input`
1156
+ `,Et=m.input`
1141
1157
  display: none;
1142
- `,Et=m.div`
1158
+ `,kt=m.div`
1143
1159
  //Set the styles from the default styles object
1144
1160
  ${({inBuiltCss:e,defaultStyles:t})=>P(e,t)}
1145
1161
 
@@ -1151,19 +1167,19 @@ ${({customInputColorStyle:e})=>e}
1151
1167
 
1152
1168
  // custom styles
1153
1169
  ${({customFileNameStyles:e})=>e}
1154
- `;const kt=m.div`
1170
+ `;const zt=m.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
- `,zt=m.div`
1177
+ `,Vt=m.div`
1162
1178
  margin-left: 11px;
1163
1179
  padding-left: 2px;
1164
1180
  display: flex;
1165
1181
  justify-content: center;
1166
- `,Vt=m.div`
1182
+ `,Mt=m.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 Mt=({label:e,labelStyle:o,labelInline:r,required:i,message:a,fileArr:c,setFileArr:s,deleteFile:d,customDropzoneStyles:p,customFileStyles:m,customTextStyles:g,customFileNameStyles:b,backgroundColor:f,singleFile:h,messageSize:y,showSupportedFormats:x,file_extensions:v,maxFilesAmount:A,minFilesAmount:C,fileSizeLimit:w,fileSizeNamingConvention:S,errorMessages:E,suggesionMessage:k,MessagelabelStyle:V,dropValid:M,setDropValid:B,id:W,...I})=>{const P=u()||R,[H,T]=l(!1),q=n(),[j,F]=l(M),[O,Z]=l("");let X;var G=v,J=!1,U=x?"That file type is not supported.":"",D=(k=x?"Only Supported: "+JSON.stringify(G):"","");1==h&&(C=1,A=1);var Q="Please upload (min."+C+" to max."+A+")files",K=e=>{D="";var t=0,o=c.length;if(o+1<C||o+1>A){var r="The file size is not uploaded";D=O?.amount,D=void 0!==D?D:r}for(const e of c)t+=e.size;if(""==D)for(const[o,a]of Object.entries(e)){a.name,t+=a.size;var l=a.name.split(".");l=l[l.length-1],J=G.includes(l.toLowerCase());var i=1024;("MB"==S||"GB"==S||"TB"==S)&&(i*=1024);var n=Math.round(t/i);if(0==J){D=E?.format,D=D?D+U:U;break}if(n>w&&J){J=!1;r="The file must be under "+w+" "+S;D=E?.size,D=null!=D?D:r;break}}return 0==J?(B(!1),F(M),Z(D),console.log(M)):(B(!0),F(M),Z("")),J};function Y(e){e.preventDefault(),e.stopPropagation()}function $(e,t){let o=1==t?[]:[...c];for(let t=0;t<e.length;t++)o.push(e.item(t));t||(o=o.filter(((e,t,o)=>t===o.findIndex((t=>t.place===e.place&&t.name===e.name)))));var r=K(o);return s(r?o:[]),T(!1),o}function _(e,t){if(e instanceof File){const t=c.filter((t=>t.name!==e.name));s(t)}else!function(e,t){const o=c.filter((t=>t.name!==e.name));s(o),d(e)}(e)}return t.createElement("div",null,t.createElement("div",{style:{display:"flex",width:"inherit"}},t.createElement(Ke,z({customStyles:o,type:"label-text",labelInline:r,text:e,style:{display:"flex",marginBottom:""+(r?"":"7px"),paddingBottom:"0px"}},I)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${P.variant.error}`}},"*")),t.createElement(Ct,{theme:P,inBuiltCss:L,defaultStyles:"dropzone-parent",backgroundColor:f,customDropzoneStyles:p,onDragLeave:function(e){Y(e),T(!1)},onDragOver:function(e){Y(e),T(!0)},onDrop:function(e){Y(e);const{files:t}=e.dataTransfer;T(!0),I.onFilesAdded($(t,h))},onClick:function(){q.current.click()},hover:H,dropValid:M,fileArr:c},t.createElement(St,z({ref:q,type:"file",id:W,multiple:1!=h,onChange:function(e){const{files:t}=e.target;T(!1),K(e.target.files)&&(X&&URL.revokeObjectURL(X),X=URL.createObjectURL(t[0]),t[0].path=X,console.log(t),I.onFilesAdded($(t,h)))},onClick:e=>e.target.value=null},I)),M&&j?t.createElement(N,{icon:"file-upload",color:H?P.bgColor:P.primary["primary-1"],size:24}):null,t.createElement(Et,{dropValid:M,valid:j,hover:H,customTextStyles:g,inBuiltCss:L,defaultStyles:"dropzone-text-div"},M?t.createElement("div",null,t.createElement("span",{style:{color:H?P.bgColor:P.primary["primary-1"]}},"Choose a file"," "),t.createElement("span",{style:{color:H?P.bgColor:P.neutral["neutral-2"]}},"or"," "),t.createElement("span",{style:{color:H?P.bgColor:P.textColor}},"drag ",h?"it":"them"," here")):t.createElement("div",null,t.createElement("span",{style:{color:P.variant.error}},"Try again!!"," "),t.createElement("span",{style:{color:P.textColor}},O||a)))),O===U?t.createElement(Ke,z({themeColor:R,customStyles:V,type:"label-text",labelInline:r,text:k,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(r?"":"16.64px")}},I)):"The file size is not uploaded"===O?t.createElement(Ke,z({themeColor:R,customStyles:V,type:"label-text",labelInline:r,text:Q,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(r?"":"16.64px")}},I)):"",c?.map(((e,o)=>t.createElement(wt,{inBuiltCss:L,defaultStyles:"dropzone-file-div",key:`${e}-${o}`,customFileStyles:m},t.createElement(zt,null,t.createElement(N,{icon:"file-icon",color:P.primary["primary-1"]})),(File,t.createElement("a",{style:{color:P.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),t.createElement(Vt,null,e?.otherInfo),t.createElement(kt,{key:101*Math.random()|0,onClick:()=>_(e)},t.createElement("div",{style:{marginRight:"7px"}},t.createElement(N,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:P.primary["primary-1"]})),t.createElement(N,{icon:"cross-icon",color:P.neutral["neutral-2"],size:13}))))))};Mt.propTypes={onFilesAdded:e.func,dropValid:e.bool,setDropValid:e.func,message:e.string,fileArr:e.array,setFileArr:e.func,customDropzoneStyles:e.object,customFileStyles:e.object,customTextStyles:e.object,customFileNameStyles:e.object,backgroundColor:e.string,messageSize:e.number,maxFilesAmount:e.number,minFilesAmount:e.number,fileSizeLimit:e.number,fileSizeNamingConvention:e.string,showSupportedFormats:e.bool,file_extensions:e.array,errorMessages:e.object,suggesionMessage:e.any,MessagelabelStyle:e.object,id:e.string},Mt.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 Bt=m.div`
1193
+ `;const Bt=({label:e,labelStyle:o,labelInline:r,required:i,message:a,fileArr:c,setFileArr:s,deleteFile:d,customDropzoneStyles:p,customFileStyles:m,customTextStyles:g,customFileNameStyles:b,backgroundColor:f,singleFile:h,messageSize:y,showSupportedFormats:x,file_extensions:v,maxFilesAmount:A,minFilesAmount:C,fileSizeLimit:w,fileSizeNamingConvention:S,errorMessages:E,suggesionMessage:k,MessagelabelStyle:V,dropValid:M,setDropValid:B,id:W,...I})=>{const P=u()||R,[H,T]=l(!1),j=n(),[q,F]=l(M),[O,Z]=l("");let X;var G=v,J=!1,U=x?"That file type is not supported.":"",D=(k=x?"Only Supported: "+JSON.stringify(G):"","");1==h&&(C=1,A=1);var Q="Please upload (min."+C+" to max."+A+")files",K=e=>{D="";var t=0,o=c.length;if(o+1<C||o+1>A){var r="The file size is not uploaded";D=O?.amount,D=void 0!==D?D:r}for(const e of c)t+=e.size;if(""==D)for(const[o,a]of Object.entries(e)){a.name,t+=a.size;var l=a.name.split(".");l=l[l.length-1],J=G.includes(l.toLowerCase());var i=1024;("MB"==S||"GB"==S||"TB"==S)&&(i*=1024);var n=Math.round(t/i);if(0==J){D=E?.format,D=D?D+U:U;break}if(n>w&&J){J=!1;r="The file must be under "+w+" "+S;D=E?.size,D=null!=D?D:r;break}}return 0==J?(B(!1),F(M),Z(D),console.log(M)):(B(!0),F(M),Z("")),J};function Y(e){e.preventDefault(),e.stopPropagation()}function $(e,t){let o=1==t?[]:[...c];for(let t=0;t<e.length;t++)o.push(e.item(t));t||(o=o.filter(((e,t,o)=>t===o.findIndex((t=>t.place===e.place&&t.name===e.name)))));var r=K(o);return s(r?o:[]),T(!1),o}function _(e,t){if(e instanceof File){const t=c.filter((t=>t.name!==e.name));s(t)}else!function(e,t){const o=c.filter((t=>t.name!==e.name));s(o),d(e)}(e)}return t.createElement("div",null,t.createElement("div",{style:{display:"flex",width:"inherit"}},t.createElement(Ye,z({customStyles:o,type:"label-text",labelInline:r,text:e,style:{display:"flex",marginBottom:""+(r?"":"7px"),paddingBottom:"0px"}},I)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${P.variant.error}`}},"*")),t.createElement(wt,{theme:P,inBuiltCss:L,defaultStyles:"dropzone-parent",backgroundColor:f,customDropzoneStyles:p,onDragLeave:function(e){Y(e),T(!1)},onDragOver:function(e){Y(e),T(!0)},onDrop:function(e){Y(e);const{files:t}=e.dataTransfer;T(!0),I.onFilesAdded($(t,h))},onClick:function(){j.current.click()},hover:H,dropValid:M,fileArr:c},t.createElement(Et,z({ref:j,type:"file",id:W,multiple:1!=h,onChange:function(e){const{files:t}=e.target;T(!1),K(e.target.files)&&(X&&URL.revokeObjectURL(X),X=URL.createObjectURL(t[0]),t[0].path=X,console.log(t),I.onFilesAdded($(t,h)))},onClick:e=>e.target.value=null},I)),M&&q?t.createElement(N,{icon:"file-upload",color:H?P.bgColor:P.primary["primary-1"],size:24}):null,t.createElement(kt,{dropValid:M,valid:q,hover:H,customTextStyles:g,inBuiltCss:L,defaultStyles:"dropzone-text-div"},M?t.createElement("div",null,t.createElement("span",{style:{color:H?P.bgColor:P.primary["primary-1"]}},"Choose a file"," "),t.createElement("span",{style:{color:H?P.bgColor:P.neutral["neutral-2"]}},"or"," "),t.createElement("span",{style:{color:H?P.bgColor:P.textColor}},"drag ",h?"it":"them"," here")):t.createElement("div",null,t.createElement("span",{style:{color:P.variant.error}},"Try again!!"," "),t.createElement("span",{style:{color:P.textColor}},O||a)))),O===U?t.createElement(Ye,z({themeColor:R,customStyles:V,type:"label-text",labelInline:r,text:k,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(r?"":"16.64px")}},I)):"The file size is not uploaded"===O?t.createElement(Ye,z({themeColor:R,customStyles:V,type:"label-text",labelInline:r,text:Q,style:{display:"flex",paddingTop:"10px",paddingBottom:""+(r?"":"16.64px")}},I)):"",c?.map(((e,o)=>t.createElement(St,{inBuiltCss:L,defaultStyles:"dropzone-file-div",key:`${e}-${o}`,customFileStyles:m},t.createElement(Vt,null,t.createElement(N,{icon:"file-icon",color:P.primary["primary-1"]})),(File,t.createElement("a",{style:{color:P.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),t.createElement(Mt,null,e?.otherInfo),t.createElement(zt,{key:101*Math.random()|0,onClick:()=>_(e)},t.createElement("div",{style:{marginRight:"7px"}},t.createElement(N,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:P.primary["primary-1"]})),t.createElement(N,{icon:"cross-icon",color:P.neutral["neutral-2"],size:13}))))))};Bt.propTypes={onFilesAdded:e.func,dropValid:e.bool,setDropValid:e.func,message:e.string,fileArr:e.array,setFileArr:e.func,customDropzoneStyles:e.object,customFileStyles:e.object,customTextStyles:e.object,customFileNameStyles:e.object,backgroundColor:e.string,messageSize:e.number,maxFilesAmount:e.number,minFilesAmount:e.number,fileSizeLimit:e.number,fileSizeNamingConvention:e.string,showSupportedFormats:e.bool,file_extensions:e.array,errorMessages:e.object,suggesionMessage:e.any,MessagelabelStyle:e.object,id:e.string},Bt.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 Wt=m.div`
1178
1194
  display: contents;
1179
1195
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1180
1196
 
1181
1197
  ${({WrapperDivStyle:e})=>e}
1182
- `,Wt=m.input`
1198
+ `,It=m.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
- `,It=m.div`
1204
+ `,Rt=m.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
- `,Rt=m.div`
1216
+ `,Lt=m.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
- `,Lt=({image:e,setImage:o,WrapperDivStyle:n,MainDivStyle:a,IconWrapperStyle:c,iconSize:s,iconColor:d,isDisabled:p,id:m})=>{const[g,b]=l(),f=r(),h=u()||R,[y,x]=l(),[v,A]=l(!1);function C(e){e.preventDefault(),e.stopPropagation()}i((()=>{if(e&&v){const t=new FileReader;t.onloadend=()=>{b(t.result)},t.readAsDataURL(e)}else b(e)}),[e]);const w=e=>{e&&"image"===e.type.substr(0,5)?(A(!0),o(e)):A(!1)};return t.createElement(Bt,{onDragLeave:function(e){C(e),x(!1)},onDragOver:function(e){C(e),x(!0)},onDrop:function(e){C(e);const{files:t}=e.dataTransfer;w(t[0])},WrapperDivStyle:n,isDisabled:p},t.createElement(Rt,{isDisabled:p,theme:h,MainDivStyle:a,style:{backgroundImage:`url(${g})`},onClick:e=>{e.preventDefault(),f.current.click()}},!g&&t.createElement("div",{className:"icon-on-not-preview"},t.createElement(It,{IconWrapperStyle:c,theme:h,isDisabled:p},t.createElement("img",{src:U,alt:"",height:"40px",width:"48px"}))),t.createElement("div",{className:"icon-on-preview"},t.createElement(It,{IconWrapperStyle:c,isDisabled:p,theme:h},t.createElement(N,{icon:"camera-icon",size:s,color:d||h.variant["primary-1"]})))),t.createElement(Wt,{id:m,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{A(!0),o(e.target.files[0])},disabled:p,isDisabled:p}))};Lt.propTypes={image:e.any,setImage:e.func,WrapperDivStyle:e.object,MainDivStyle:e.object,IconWrapperStyle:e.object,iconSize:e.number},Lt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Pt=m.div`
1258
+ `,Pt=({image:e,setImage:o,WrapperDivStyle:n,MainDivStyle:a,IconWrapperStyle:c,iconSize:s,iconColor:d,isDisabled:p,id:m})=>{const[g,b]=l(),f=r(),h=u()||R,[y,x]=l(),[v,A]=l(!1);function C(e){e.preventDefault(),e.stopPropagation()}i((()=>{if(e&&v){const t=new FileReader;t.onloadend=()=>{b(t.result)},t.readAsDataURL(e)}else b(e)}),[e]);const w=e=>{e&&"image"===e.type.substr(0,5)?(A(!0),o(e)):A(!1)};return t.createElement(Wt,{onDragLeave:function(e){C(e),x(!1)},onDragOver:function(e){C(e),x(!0)},onDrop:function(e){C(e);const{files:t}=e.dataTransfer;w(t[0])},WrapperDivStyle:n,isDisabled:p},t.createElement(Lt,{isDisabled:p,theme:h,MainDivStyle:a,style:{backgroundImage:`url(${g})`},onClick:e=>{e.preventDefault(),f.current.click()}},!g&&t.createElement("div",{className:"icon-on-not-preview"},t.createElement(Rt,{IconWrapperStyle:c,theme:h,isDisabled:p},t.createElement("img",{src:U,alt:"",height:"40px",width:"48px"}))),t.createElement("div",{className:"icon-on-preview"},t.createElement(Rt,{IconWrapperStyle:c,isDisabled:p,theme:h},t.createElement(N,{icon:"camera-icon",size:s,color:d||h.variant["primary-1"]})))),t.createElement(It,{id:m,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png",onChange:e=>{A(!0),o(e.target.files[0])},disabled:p,isDisabled:p}))};Pt.propTypes={image:e.any,setImage:e.func,WrapperDivStyle:e.object,MainDivStyle:e.object,IconWrapperStyle:e.object,iconSize:e.number},Pt.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const Ht=m.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
- `;Pt.defaultProps={theme:R};const Ht=m.input`
1278
+ `;Ht.defaultProps={theme:R};const Tt=m.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
- `;Ht.defaultProps={theme:R},g`
1291
+ `;Tt.defaultProps={theme:R},g`
1276
1292
  &:after {
1277
1293
  content: ' *';
1278
1294
  color: ${({theme:e})=>e.variant.error};
1279
1295
  }
1280
- `;const Tt=m.label`
1296
+ `;const jt=m.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
- `;Tt.defaultProps={theme:R};const qt=g`
1309
+ `;jt.defaultProps={theme:R};const qt=g`
1294
1310
  display: flex;
1295
1311
  align-items: center;
1296
- `,jt=m.div`
1312
+ `,Ft=m.div`
1297
1313
  ${({labelInline:e})=>e?qt:null}
1298
1314
 
1299
1315
  > div {
1300
1316
  flex: 1 0 auto;
1301
1317
  }
1302
- `;jt.defaultProps={theme:R};const Ft=({label:e,inputValue:o,inputStyle:r,iconBefore:l,iconAfter:i,onChange:n,theme:a,id:c,labelStyle:s,...d})=>t.createElement(jt,d,e.length>0&&t.createElement(Tt,{labelStyle:s},e),t.createElement("div",null,t.createElement(Pt,d,t.createElement("div",{className:"input-icon"},l),t.createElement(Ht,z({},d,{inputStyle:r,value:o,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&n(t)},type:"number",id:c})),t.createElement("div",{className:"input-icon",style:{position:"absolute",right:"7px"}},i))));Ft.propTypes={theme:e.object,label:e.string,labelInline:e.bool,inputValue:e.any,inputStyle:e.object,id:e.string,labelStyle:e.object},Ft.defaultProps={theme:R,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const Ot=m.div`
1318
+ `;Ft.defaultProps={theme:R};const Ot=({label:e,inputValue:o,inputStyle:r,iconBefore:l,iconAfter:i,onChange:n,theme:a,id:c,labelStyle:s,...d})=>t.createElement(Ft,d,e.length>0&&t.createElement(jt,{labelStyle:s},e),t.createElement("div",null,t.createElement(Ht,d,t.createElement("div",{className:"input-icon"},l),t.createElement(Tt,z({},d,{inputStyle:r,value:o,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&n(t)},type:"number",id:c})),t.createElement("div",{className:"input-icon",style:{position:"absolute",right:"7px"}},i))));Ot.propTypes={theme:e.object,label:e.string,labelInline:e.bool,inputValue:e.any,inputStyle:e.object,id:e.string,labelStyle:e.object},Ot.defaultProps={theme:R,label:"",labelInline:!1,inputStyle:{},inputValue:null,id:"",labelStyle:{}};const Zt=m.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
- `;Ot.defaultProps={theme:R};const Zt=m.input`
1344
+ `;Zt.defaultProps={theme:R};const Xt=m.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
- `;Zt.defaultProps={theme:R};const Xt=g`
1357
+ `;Xt.defaultProps={theme:R};const Gt=g`
1342
1358
  display: flex;
1343
1359
  gap: 7px;
1344
1360
  align-items: start;
1345
- `,Gt=m.div`
1346
- ${({labelInline:e})=>e?Xt:null}
1361
+ `,Jt=m.div`
1362
+ ${({labelInline:e})=>e?Gt: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
- `;Gt.defaultProps={theme:R};const Jt=({passwordRules:e,textBoxStyle:o,labelStyle:r,inputStyle:i,errMsg:n,required:a,label:c,labelInline:s,isValid:d,rulesStyle:p,id:m,showHideIcon:g,errMsgColor:b,...f})=>{const[h,y]=l(!1),x=u()||R;return t.createElement(Gt,z({onPaste:e=>(e.preventDefault(),!1),onCopy:e=>(e.preventDefault(),!1),labelInline:s,inBuiltCss:L,errMsgColor:b,theme:x},f),t.createElement("div",{style:{display:"flex"}},t.createElement(Ke,z({customStyles:r,type:"label-text",text:c,errMsg:n,style:{display:"flex",marginBottom:""+(s?"0px":"7px"),paddingBottom:"0px"}},f)),a&&t.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"}},t.createElement("div",{style:{width:"100%"}},t.createElement(Ot,z({required:a,theme:x,textBoxStyle:o,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:L},f),t.createElement(Zt,z({inputStyle:i,type:"text",id:m,showEye:h,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:L},f)),!0===g?t.createElement("div",{className:"input-icon",onClick:()=>y(!h),style:{position:"absolute",right:"7px"}},h?t.createElement(N,{icon:"eye-show"}):t.createElement(N,{icon:"eye-hide"})):""),n.length>0&&t.createElement("div",{className:"err-text"},n)),e?t.createElement("div",{style:{...p,marginLeft:"5px"}},e):""))};Jt.propTypes={inBuiltCss:e.object,theme:e.object,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,textBoxStyle:e.object,labelStyle:e.object,inputStyle:e.object,rulesStyle:e.object,id:e.string,showHideIcon:e.bool},Jt.defaultProps={inBuiltCss:L,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const Ut=m.div`
1368
+ `;Jt.defaultProps={theme:R};const Ut=({passwordRules:e,textBoxStyle:o,labelStyle:r,inputStyle:i,errMsg:n,required:a,label:c,labelInline:s,isValid:d,rulesStyle:p,id:m,showHideIcon:g,errMsgColor:b,...f})=>{const[h,y]=l(!1),x=u()||R;return t.createElement(Jt,z({onPaste:e=>(e.preventDefault(),!1),onCopy:e=>(e.preventDefault(),!1),labelInline:s,inBuiltCss:L,errMsgColor:b,theme:x},f),t.createElement("div",{style:{display:"flex"}},t.createElement(Ye,z({customStyles:r,type:"label-text",text:c,errMsg:n,style:{display:"flex",marginBottom:""+(s?"0px":"7px"),paddingBottom:"0px"}},f)),a&&t.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),t.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"}},t.createElement("div",{style:{width:"100%"}},t.createElement(Zt,z({required:a,theme:x,textBoxStyle:o,isValid:d,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:L},f),t.createElement(Xt,z({inputStyle:i,type:"text",id:m,showEye:h,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:L},f)),!0===g?t.createElement("div",{className:"input-icon",onClick:()=>y(!h),style:{position:"absolute",right:"7px"}},h?t.createElement(N,{icon:"eye-show"}):t.createElement(N,{icon:"eye-hide"})):""),n.length>0&&t.createElement("div",{className:"err-text"},n)),e?t.createElement("div",{style:{...p,marginLeft:"5px"}},e):""))};Ut.propTypes={inBuiltCss:e.object,theme:e.object,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,textBoxStyle:e.object,labelStyle:e.object,inputStyle:e.object,rulesStyle:e.object,id:e.string,showHideIcon:e.bool},Ut.defaultProps={inBuiltCss:L,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const Dt=m.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
- `;Ut.defaultProps={theme:R};const Dt=m.div`
1378
+ `;Dt.defaultProps={theme:R};const Qt=m.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
- `;Dt.defaultProps={theme:R};const Qt=m.div`
1390
+ `;Qt.defaultProps={theme:R};const Nt=m.div`
1375
1391
  //Set the styles from the default styles object
1376
1392
  ${({inBuiltCss:e,defaultOptionStyle:t})=>P(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
- `;Qt.defaultProps={theme:R};const Nt=m.div`
1398
+ `;Nt.defaultProps={theme:R};const Kt=m.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
- `,Kt=m.div`
1407
+ `,Yt=m.div`
1392
1408
  display: ${({inline:e})=>e?"flex":"inline-block"};
1393
1409
  width: max-content;
1394
1410
  margin: 0;
1395
- `,Yt=({radioOuterCircleStyle:e,radioInnerCircleStyle:o,labelStyle:r,label:l,optionStyle:i,options:n,selectedCircleColor:a,selectedOptionTextColor:c,onChange:s,selected:d,width:p,height:m,inline:g,defaultBorderColor:b,defaultOptionColor:f,WrapperDivStyle:h,...y})=>{const x=u()||R;return t.createElement("div",null,t.createElement(Ke,{customStyles:r,type:"radio-label",text:l}),t.createElement(Kt,{inline:g},n.map(((r,l)=>t.createElement(Nt,{WrapperDivStyle:h,key:l+101*Math.random(),id:r.id,inline:g,onClick:()=>{!r?.disabled&&s(r.value)}},t.createElement(Ut,{theme:x,inBuiltCss:L,defaultBorderColor:b,selectedCircleColor:a,radioOuterCircleStyle:{...e,cursor:r?.disabled?"not-allowed ":" pointer",borderColor:r?.disabled&&r?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:r.value,selected:!r?.disabled&&d},t.createElement(Dt,{inBuiltCss:L,theme:x,width:p,height:m,selectedCircleColor:a,radioInnerCircleStyle:{...o,cursor:r?.disabled?"not-allowed ":" pointer",backgroundColor:r?.disabled?"transparent":r?.value===d?o?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:r.value,selected:d})),t.createElement(Qt,{defaultOptionColor:f,optionStyle:{...i,cursor:r?.disabled?"not-allowed ":" pointer",color:r?.disabled&&r?.disabledColor},inBuiltCss:L,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!r?.disabled&&r.value===d},r.label))))))};Yt.propTypes={label:e.string,labelStyle:e.object,inline:e.bool,options:e.array,optionStyle:e.object,WrapperDivStyle:e.object,selected:e.string,onChange:e.func,defaultOptionColor:e.string,defaultBorderColor:e.string,radioOuterCircleStyle:e.object,radioInnerCircleStyle:e.object,width:e.string,height:e.string,selectedCircleColor:e.string,selectedOptionTextColor:e.string},Yt.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const $t=m.div`
1411
+ `,$t=({radioOuterCircleStyle:e,radioInnerCircleStyle:o,labelStyle:r,label:l,optionStyle:i,options:n,selectedCircleColor:a,selectedOptionTextColor:c,onChange:s,selected:d,width:p,height:m,inline:g,defaultBorderColor:b,defaultOptionColor:f,WrapperDivStyle:h,...y})=>{const x=u()||R;return t.createElement("div",null,t.createElement(Ye,{customStyles:r,type:"radio-label",text:l}),t.createElement(Yt,{inline:g},n.map(((r,l)=>t.createElement(Kt,{WrapperDivStyle:h,key:l+101*Math.random(),id:r.id,inline:g,onClick:()=>{!r?.disabled&&s(r.value)}},t.createElement(Dt,{theme:x,inBuiltCss:L,defaultBorderColor:b,selectedCircleColor:a,radioOuterCircleStyle:{...e,cursor:r?.disabled?"not-allowed ":" pointer",borderColor:r?.disabled&&r?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:r.value,selected:!r?.disabled&&d},t.createElement(Qt,{inBuiltCss:L,theme:x,width:p,height:m,selectedCircleColor:a,radioInnerCircleStyle:{...o,cursor:r?.disabled?"not-allowed ":" pointer",backgroundColor:r?.disabled?"transparent":r?.value===d?o?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:r.value,selected:d})),t.createElement(Nt,{defaultOptionColor:f,optionStyle:{...i,cursor:r?.disabled?"not-allowed ":" pointer",color:r?.disabled&&r?.disabledColor},inBuiltCss:L,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:x,selected:!r?.disabled&&r.value===d},r.label))))))};$t.propTypes={label:e.string,labelStyle:e.object,inline:e.bool,options:e.array,optionStyle:e.object,WrapperDivStyle:e.object,selected:e.string,onChange:e.func,defaultOptionColor:e.string,defaultBorderColor:e.string,radioOuterCircleStyle:e.object,radioInnerCircleStyle:e.object,width:e.string,height:e.string,selectedCircleColor:e.string,selectedOptionTextColor:e.string},$t.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const _t=m.div`
1396
1412
  background-color: ${({theme:e})=>e.bgColor};
1397
1413
 
1398
1414
  //Set the styles from the default styles object
@@ -1413,7 +1429,7 @@ ${({customInputColorStyle:e})=>e}
1413
1429
  ${({textBoxStyle:e})=>e}
1414
1430
 
1415
1431
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}
1416
- `,_t=m.input`
1432
+ `,eo=m.input`
1417
1433
  color: ${({theme:e})=>e.black};
1418
1434
  width: 85%;
1419
1435
  white-space: nowrap;
@@ -1429,18 +1445,18 @@ ${({customInputColorStyle:e})=>e}
1429
1445
  color: ${R.variant["neutral-3"]};
1430
1446
  }
1431
1447
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.bgColor}};
1432
- `,eo=g`
1448
+ `,to=g`
1433
1449
  display: flex;
1434
1450
  gap: 7px;
1435
1451
  align-items: center;
1436
- `,to=m.div`
1437
- ${({labelInline:e})=>e?eo:null}
1452
+ `,oo=m.div`
1453
+ ${({labelInline:e})=>e?to: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
- `,oo=({textBoxStyle:e,labelStyle:o,inputStyle:r,errMsg:l,required:i,label:n,labelInline:a,iconBefore:c,iconAfter:s,isValid:d,type:p,isDisabled:m,id:g,errMsgColor:b,iconAfterStyle:f,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...A})=>{const C=u()||R;return t.createElement(to,z({labelInline:a,theme:C,errMsgColor:b},A),t.createElement("div",{style:{display:"flex"}},t.createElement(Ke,z({customStyles:o,type:"label-text",labelInline:a,text:n,errMsg:l,style:{display:"flex",marginBottom:""+(a?"":"7px"),paddingBottom:"0px"}},A)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${C.variant.error}`}},"*")),t.createElement("div",null,t.createElement($t,z({required:i,isDisabled:m,theme:C,textBoxStyle:e,isValid:d,inBuiltCss:L,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),t.createElement("div",{className:"input-icon",style:{...h}},c),t.createElement(_t,z({inputStyle:r,type:p,theme:C,id:g,defaultInputStyle:"input-wrapper",isDisabled:m,disabled:m,ref:y,pattern:x},A)),t.createElement("div",{className:"input-icon",style:{...f}},s))),l.length>0&&t.createElement("div",{className:"err-text"},l))};oo.propTypes={inBuiltCss:e.object,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,iconBefore:e.any,iconAfter:e.any,textBoxStyle:e.object,labelStyle:e.object,inputStyle:e.object,type:e.string,isDisabled:e.bool,id:e.string,errMsgColor:e.string,iconAfterStyle:e.object,iconBeforeStyle:e.object,iconColorOnFocus:e.string},oo.defaultProps={inBuiltCss:L,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const ro=({label:e,placeholder:o,handleSearch:r,searchInput:l,customStylesForm:i,customStyleObject:n,textBoxStyle:a,id:c,...s})=>t.createElement(oo,z({iconAfter:t.createElement(N,{icon:"magnifier-icon"}),label:e,textBoxStyle:a,placeholder:o,ref:l,onChange:r,id:c},s)),lo=m.div`
1459
+ `,ro=({textBoxStyle:e,labelStyle:o,inputStyle:r,errMsg:l,required:i,label:n,labelInline:a,iconBefore:c,iconAfter:s,isValid:d,type:p,isDisabled:m,id:g,errMsgColor:b,iconAfterStyle:f,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:v,...A})=>{const C=u()||R;return t.createElement(oo,z({labelInline:a,theme:C,errMsgColor:b},A),t.createElement("div",{style:{display:"flex"}},t.createElement(Ye,z({customStyles:o,type:"label-text",labelInline:a,text:n,errMsg:l,style:{display:"flex",marginBottom:""+(a?"":"7px"),paddingBottom:"0px"}},A)),i&&t.createElement("div",{style:{marginLeft:"4px",color:`${C.variant.error}`}},"*")),t.createElement("div",null,t.createElement(_t,z({required:i,isDisabled:m,theme:C,textBoxStyle:e,isValid:d,inBuiltCss:L,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:v},A),t.createElement("div",{className:"input-icon",style:{...h}},c),t.createElement(eo,z({inputStyle:r,type:p,theme:C,id:g,defaultInputStyle:"input-wrapper",isDisabled:m,disabled:m,ref:y,pattern:x},A)),t.createElement("div",{className:"input-icon",style:{...f}},s))),l.length>0&&t.createElement("div",{className:"err-text"},l))};ro.propTypes={inBuiltCss:e.object,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,iconBefore:e.any,iconAfter:e.any,textBoxStyle:e.object,labelStyle:e.object,inputStyle:e.object,type:e.string,isDisabled:e.bool,id:e.string,errMsgColor:e.string,iconAfterStyle:e.object,iconBeforeStyle:e.object,iconColorOnFocus:e.string},ro.defaultProps={inBuiltCss:L,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const lo=({label:e,placeholder:o,handleSearch:r,searchInput:l,customStylesForm:i,customStyleObject:n,textBoxStyle:a,id:c,...s})=>t.createElement(ro,z({iconAfter:t.createElement(N,{icon:"magnifier-icon"}),label:e,textBoxStyle:a,placeholder:o,ref:l,onChange:r,id:c},s)),io=m.div`
1444
1460
  //Set the styles from the default styles object
1445
1461
  ${({inBuiltCss:e,defaultParentDivStyle:t})=>P(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
- `,io=m.div`
1468
+ `,no=m.div`
1453
1469
  //Set the styles from the default styles object
1454
1470
  ${({inBuiltCss:e,defaultWrapperDivStyle:t})=>P(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
- `,no=m.div`
1480
+ `,ao=m.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:o,defaultColor:r,theme:l})=>e?t?`1px solid ${o||l.primary["primary-1"]}`:`1px solid ${r||l.neutral["neutral-3"]}`:""};
1472
1488
  background-color: rgba(255, 255, 255, 0.05);
1473
1489
  cursor: pointer;
1474
- `,ao=m.input`
1490
+ `,co=m.input`
1475
1491
  ${({inBuiltCss:e,defaultInputStyle:t})=>P(e,t)}
1476
1492
 
1477
1493
  border-bottom: ${({value:e,defaultColor:t,theme:o})=>e.length>0?"none":t};
@@ -1496,17 +1512,17 @@ ${({customInputColorStyle:e})=>e}
1496
1512
 
1497
1513
  // custom styles
1498
1514
  ${({customInputStyle:e})=>e}
1499
- `,co=m.div`
1515
+ `,so=m.div`
1500
1516
  position: relative;
1501
1517
  width: inherit;
1502
1518
  display: flex;
1503
1519
  margin: 4px;
1504
- `,so=m.div`
1520
+ `,po=m.div`
1505
1521
  padding-left: 2px;
1506
1522
  display: flex;
1507
1523
  justify-content: center;
1508
1524
  cursor: pointer;
1509
- `,po=({onChange:e,activeColor:o,defaultColor:n,placeholderColor:a,placeholderText:c,customInputStyle:s,pointsArray:d,setPointsArray:p,value:m,setValue:g,valueForSignatureDrawing:b,setValueForSignatureDrawing:f,imageURL:h,setImageURL:y,id:x,...v})=>{const A=u()||R,[C,S]=l("default"),[E,k]=l(!1),[z,V]=l(!1),M=r(null);i((()=>{z&&(W(),f(M.current))}),[!0===z]);const B=()=>{g(""),f(M.current),M.current&&M.current.clear(),k(!1),V(!1)},W=()=>(p(M.current.toData()),y(M.current.toDataURL("image/png")),[h,d]);return t.createElement(lo,{inBuiltCss:L,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:E,selected:C,activeColor:o,defaultColor:n,theme:A},t.createElement(io,{inBuiltCss:L,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:o,defaultColor:n,selected:C,isMyInputFocused:E,signIcon:!0,theme:A},t.createElement(no,{activeColor:o,defaultColor:n,isMyInputFocused:E,theme:A,penIcon:!0,onClick:()=>{S("default"),B()}},t.createElement(N,{icon:"pen-icon",color:"default"===C?o||A.primary["primary-1"]:A.black})),t.createElement(no,{activeColor:o,defaultColor:n,theme:A,isMyInputFocused:E,penIcon:!1,onClick:()=>{S("sign"),B()}},t.createElement(N,{icon:"sign-icon",color:"default"!==C?o||A.primary["primary-1"]:A.black}))),t.createElement(io,{inBuiltCss:L,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:o,defaultColor:n,theme:A,selected:C,isMyInputFocused:E,signIcon:!1,onTouchStart:()=>{}},"default"===C?t.createElement(ao,{inBuiltCss:L,defaultInputStyle:"signature-input-text",placeholder:c,placeholderColor:a,customInputStyle:s,onBlur:()=>k(!1),onFocus:()=>k(!0),id:x,value:m,defaultColor:n,theme:A,onChange:e=>g(e.target.value)}):t.createElement(co,{onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onClick:()=>{V(!0),W()}},t.createElement(w,{ref:M,id:x,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(m||z)&&t.createElement(so,{selected:C,onClick:()=>B()},t.createElement(N,{icon:"cross-icon",color:n||A.neutral["neutral-3"]}))))};po.propTypes={activeColor:e.string,defaultColor:e.string,placeholderColor:e.string,placeholderText:e.string,customInputStyle:e.object,pointsArray:e.any,setPointsArray:e.func,value:e.string,setValue:e.func,imageURL:e.string,setImageURL:e.func,id:e.string},po.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const mo=m.div`
1525
+ `,mo=({onChange:e,activeColor:o,defaultColor:n,placeholderColor:a,placeholderText:c,customInputStyle:s,pointsArray:d,setPointsArray:p,value:m,setValue:g,valueForSignatureDrawing:b,setValueForSignatureDrawing:f,imageURL:h,setImageURL:y,id:x,...v})=>{const A=u()||R,[C,S]=l("default"),[E,k]=l(!1),[z,V]=l(!1),M=r(null);i((()=>{z&&(W(),f(M.current))}),[!0===z]);const B=()=>{g(""),f(M.current),M.current&&M.current.clear(),k(!1),V(!1)},W=()=>(p(M.current.toData()),y(M.current.toDataURL("image/png")),[h,d]);return t.createElement(io,{inBuiltCss:L,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:E,selected:C,activeColor:o,defaultColor:n,theme:A},t.createElement(no,{inBuiltCss:L,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:o,defaultColor:n,selected:C,isMyInputFocused:E,signIcon:!0,theme:A},t.createElement(ao,{activeColor:o,defaultColor:n,isMyInputFocused:E,theme:A,penIcon:!0,onClick:()=>{S("default"),B()}},t.createElement(N,{icon:"pen-icon",color:"default"===C?o||A.primary["primary-1"]:A.black})),t.createElement(ao,{activeColor:o,defaultColor:n,theme:A,isMyInputFocused:E,penIcon:!1,onClick:()=>{S("sign"),B()}},t.createElement(N,{icon:"sign-icon",color:"default"!==C?o||A.primary["primary-1"]:A.black}))),t.createElement(no,{inBuiltCss:L,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:o,defaultColor:n,theme:A,selected:C,isMyInputFocused:E,signIcon:!1,onTouchStart:()=>{}},"default"===C?t.createElement(co,{inBuiltCss:L,defaultInputStyle:"signature-input-text",placeholder:c,placeholderColor:a,customInputStyle:s,onBlur:()=>k(!1),onFocus:()=>k(!0),id:x,value:m,defaultColor:n,theme:A,onChange:e=>g(e.target.value)}):t.createElement(so,{onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onClick:()=>{V(!0),W()}},t.createElement(w,{ref:M,id:x,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(m||z)&&t.createElement(po,{selected:C,onClick:()=>B()},t.createElement(N,{icon:"cross-icon",color:n||A.neutral["neutral-3"]}))))};mo.propTypes={activeColor:e.string,defaultColor:e.string,placeholderColor:e.string,placeholderText:e.string,customInputStyle:e.object,pointsArray:e.any,setPointsArray:e.func,value:e.string,setValue:e.func,imageURL:e.string,setImageURL:e.func,id:e.string},mo.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const uo=m.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})=>P(e,t)}
@@ -1528,19 +1544,19 @@ ${({customInputColorStyle:e})=>e}
1528
1544
 
1529
1545
  // custom styles
1530
1546
  ${({textAreaStyle:e})=>e}
1531
- `,uo=m.textarea`
1547
+ `,go=m.textarea`
1532
1548
  //Set the styles from the default styles object
1533
1549
  ${({inBuiltCss:e,defaultInputStyle:t})=>P(e,t)}
1534
1550
  margin: 0;
1535
1551
  overflow: auto;
1536
1552
  resize: vertical // custom styles
1537
1553
  ${({inputStyle:e})=>e};
1538
- `,go=g`
1554
+ `,bo=g`
1539
1555
  display: flex;
1540
1556
  gap: 7px;
1541
1557
  align-items: center;
1542
- `,bo=m.div`
1543
- ${({labelInline:e})=>e?go:null}
1558
+ `,fo=m.div`
1559
+ ${({labelInline:e})=>e?bo: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
- `,fo=t.forwardRef((({customStylesForm:e,textAreaStyle:o,labelStyle:r,inputStyle:l,errMsg:i,required:n,label:a,labelInline:c,iconBefore:s,iconAfter:d,isValid:p,rows:m,cols:g,id:b,...f},h)=>{const y=u()||R;return t.createElement(bo,z({labelInline:c,customStylesForm:e,theme:y},f),t.createElement("div",{style:{display:"flex"}},t.createElement(Ke,z({customStyles:r,type:"label-text",labelInline:c,text:a,errMsg:i,style:{display:"flex",marginBottom:""+(c?"":"7px"),paddingBottom:"0px"}},f)),n&&t.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),t.createElement(mo,z({theme:y,required:n,textAreaStyle:o,isValid:p,inBuiltCss:L,defaultWrapperStyle:"textbox-wrapper"},f),t.createElement("div",{className:"input-icon"},s),t.createElement(uo,z({ref:h,inputStyle:l,defaultInputStyle:"textarea-wrapper",cols:g,rows:m,inBuiltCss:L,id:b},f,{size:"1"})),t.createElement("div",{className:"input-icon"},d)),t.createElement("div",{className:"err-text"},i))}));fo.propTypes={rows:e.number,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,iconBefore:e.any,iconAfter:e.any,textAreaStyle:e.object,labelStyle:e.object,inputStyle:e.object,id:e.string},fo.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const ho=m.div`
1567
+ `,ho=t.forwardRef((({customStylesForm:e,textAreaStyle:o,labelStyle:r,inputStyle:l,errMsg:i,required:n,label:a,labelInline:c,iconBefore:s,iconAfter:d,isValid:p,rows:m,cols:g,id:b,...f},h)=>{const y=u()||R;return t.createElement(fo,z({labelInline:c,customStylesForm:e,theme:y},f),t.createElement("div",{style:{display:"flex"}},t.createElement(Ye,z({customStyles:r,type:"label-text",labelInline:c,text:a,errMsg:i,style:{display:"flex",marginBottom:""+(c?"":"7px"),paddingBottom:"0px"}},f)),n&&t.createElement("div",{style:{marginLeft:"4px",color:`${y.variant.error}`}},"*")),t.createElement(uo,z({theme:y,required:n,textAreaStyle:o,isValid:p,inBuiltCss:L,defaultWrapperStyle:"textbox-wrapper"},f),t.createElement("div",{className:"input-icon"},s),t.createElement(go,z({ref:h,inputStyle:l,defaultInputStyle:"textarea-wrapper",cols:g,rows:m,inBuiltCss:L,id:b},f,{size:"1"})),t.createElement("div",{className:"input-icon"},d)),t.createElement("div",{className:"err-text"},i))}));ho.propTypes={rows:e.number,label:e.string,required:e.bool,labelInline:e.bool,errMsg:e.string,iconBefore:e.any,iconAfter:e.any,textAreaStyle:e.object,labelStyle:e.object,inputStyle:e.object,id:e.string},ho.defaultProps={label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},labelStyle:{},inputStyle:{},rows:3,id:""};const yo=m.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
- `,yo=m.input`
1581
+ `,xo=m.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
- `,xo=g`
1591
+ `,vo=g`
1576
1592
  &:after {
1577
1593
  content: ' *';
1578
1594
  color: ${({theme:e})=>e.variant.error};
1579
1595
  }
1580
- `,vo=m.label`
1596
+ `,Ao=m.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?xo:null}
1601
+ ${({required:e})=>e?vo:null}
1586
1602
  padding-bottom: 0px;
1587
- `,Ao=g`
1603
+ `,Co=g`
1588
1604
  display: flex;
1589
1605
  align-items: center;
1590
- `,Co=m.div`
1591
- ${({labelInline:e})=>e?Ao:null}
1606
+ `,wo=m.div`
1607
+ ${({labelInline:e})=>e?Co: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
- `,wo=m.button`
1617
+ `,So=m.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
- `,So=({label:e,errMsg:o,hour:r,minute:l,period:i,onChange:n,id:a,...c})=>{const s=u()||R;return t.createElement(Co,z({theme:s},c),t.createElement(vo,z({theme:s},c,{errMsg:o}),e),t.createElement("div",null,t.createElement(ho,z({theme:s,id:a},c),t.createElement(yo,{theme:s,value:r,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;n({hour:t,minute:l,period:i})}}),":",t.createElement(yo,{theme:s,value:l,onChange:function(e){console.log("minute change",e.currentTarget.value);const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;n({hour:r,minute:t,period:i})}}),t.createElement(wo,{theme:s,onClick:function(e){n({hour:r,minute:l,period:"AM"===i?"PM":"AM"})}},i)),t.createElement("div",{className:"err-text"},o)))};So.propTypes={label:e.string,hour:e.number.isRequired,minute:e.number.isRequired,period:e.string.isRequired,required:e.bool,labelInline:e.bool,isValid:e.bool,errMsg:e.string,id:e.string},So.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const Eo=m.div`
1626
+ `,Eo=({label:e,errMsg:o,hour:r,minute:l,period:i,onChange:n,id:a,...c})=>{const s=u()||R;return t.createElement(wo,z({theme:s},c),t.createElement(Ao,z({theme:s},c,{errMsg:o}),e),t.createElement("div",null,t.createElement(yo,z({theme:s,id:a},c),t.createElement(xo,{theme:s,value:r,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;n({hour:t,minute:l,period:i})}}),":",t.createElement(xo,{theme:s,value:l,onChange:function(e){console.log("minute change",e.currentTarget.value);const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;n({hour:r,minute:t,period:i})}}),t.createElement(So,{theme:s,onClick:function(e){n({hour:r,minute:l,period:"AM"===i?"PM":"AM"})}},i)),t.createElement("div",{className:"err-text"},o)))};Eo.propTypes={label:e.string,hour:e.number.isRequired,minute:e.number.isRequired,period:e.string.isRequired,required:e.bool,labelInline:e.bool,isValid:e.bool,errMsg:e.string,id:e.string},Eo.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const ko=m.div`
1611
1627
  ${({inBuiltCss:e,defaultCheckBoxWrapperStyle:t})=>P(e,t)}
1612
- `,ko=m.label`
1628
+ `,zo=m.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
- `,zo=m.input.attrs({type:"checkbox"})`
1654
+ `,Vo=m.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
- `,Vo=m.span`
1665
+ `,Mo=m.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
- `,Mo=({checked:e,customSwitchStyle:o,customToggleBoxStyle:r,backgroundColor:l,disabledColor:i,switchColor:n,onClick:a,trueLabel:c,falseLabel:s,optionStyle:d,labelPosition:p,id:m,isDisabled:g,...b})=>{const f=u()||R;return t.createElement(Eo,z({inBuiltCss:L,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},b),"left"===p&&t.createElement(Vo,z({optionStyle:d,inBuiltCss:L,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},b),e?c:s),t.createElement(zo,z({},b,{labelPosition:p,id:m,inBuiltCss:L,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{a(!e)},isChecked:e,disabled:g,isDisabled:g})),t.createElement(ko,z({},b,{labelPosition:p,htmlFor:m,customToggleBoxStyle:r,customSwitchStyle:o,disabledColor:i,backgroundColor:l,switchColor:n,inBuiltCss:L,defaultCheckBoxLabelStyle:"toggle-switch-checkbox-label",checked:e,theme:f,isDisabled:g})),"right"===p&&t.createElement(Vo,z({optionStyle:d,inBuiltCss:L,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},b),e?c:s))};Mo.propTypes={customToggleBoxStyle:e.object,customSwitchStyle:e.object,backgroundColor:e.string,checked:e.bool,trueLabel:e.string,falseLabel:e.string,id:e.string,labelPosition:e.string,isDisabled:e.bool},Mo.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Bo=m.div`
1674
+ `,Bo=({checked:e,customSwitchStyle:o,customToggleBoxStyle:r,backgroundColor:l,disabledColor:i,switchColor:n,onClick:a,trueLabel:c,falseLabel:s,optionStyle:d,labelPosition:p,id:m,isDisabled:g,...b})=>{const f=u()||R;return t.createElement(ko,z({inBuiltCss:L,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},b),"left"===p&&t.createElement(Mo,z({optionStyle:d,inBuiltCss:L,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},b),e?c:s),t.createElement(Vo,z({},b,{labelPosition:p,id:m,inBuiltCss:L,defaultCheckBoxStyle:"toggle-switch-checkbox",onClick:()=>{a(!e)},isChecked:e,disabled:g,isDisabled:g})),t.createElement(zo,z({},b,{labelPosition:p,htmlFor:m,customToggleBoxStyle:r,customSwitchStyle:o,disabledColor:i,backgroundColor:l,switchColor:n,inBuiltCss:L,defaultCheckBoxLabelStyle:"toggle-switch-checkbox-label",checked:e,theme:f,isDisabled:g})),"right"===p&&t.createElement(Mo,z({optionStyle:d,inBuiltCss:L,labelPosition:p,defaultOptionTextStyle:"toggle-switch-option-text"},b),e?c:s))};Bo.propTypes={customToggleBoxStyle:e.object,customSwitchStyle:e.object,backgroundColor:e.string,checked:e.bool,trueLabel:e.string,falseLabel:e.string,id:e.string,labelPosition:e.string,isDisabled:e.bool},Bo.defaultProps={checked:!1,trueLabel:"Yes",falseLabel:"No",customSwitchStyle:{},customToggleBoxStyle:{},id:"",labelPosition:"right",isDisabled:!1};const Wo=m.div`
1659
1675
  background-color: ${({theme:e})=>e.bgColor};
1660
1676
  padding: 24px 8px;
1661
1677
  ${({commentBodyStyle:e})=>e};
1662
- `,Wo=m.div`
1678
+ `,Io=m.div`
1663
1679
  display: flex;
1664
1680
  flex-direction: column;
1665
1681
  margin-bottom: 24px;
1666
1682
  ${({commentWrapperStyle:e})=>e};
1667
- `,Io=m.div`
1683
+ `,Ro=m.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
- `,Ro=m.span`
1690
+ `,Lo=m.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
- `,Lo=m.span`
1696
+ `,Po=m.span`
1681
1697
  margin: 0.75rem 0 0 3rem;
1682
1698
  font-size: 16px;
1683
1699
  color: ${R.variant["graph-6"]};
1684
1700
  ${({commentDivStyle:e})=>e};
1685
- `,Po=m.div`
1701
+ `,Ho=m.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
- `,Ho=m.div`
1710
+ `,To=m.div`
1695
1711
  display: inline-flex;
1696
1712
  margin-top: 16px;
1697
- `,To=m.div`
1713
+ `,jo=m.div`
1698
1714
  width: 100%;
1699
1715
  margin-left: 16px;
1700
- `,qo=({inputValue:e,setInputValue:o,commentArray:r,commentBodyStyle:i,commentWrapperStyle:n,commentHeadStyle:a,dateTimeStyle:c,commentDivStyle:s,inputWrapperStyle:d,onSave:p,myInfo:m,placeholder:g,...b})=>{const f=u()||R,[h,y]=l(!1);return t.createElement(Bo,{commentBodyStyle:i,theme:f},r.map(((e,o)=>{const{name:r,date:l,comment:i,image:d}=e;return t.createElement(Wo,{key:o,commentWrapperStyle:n},t.createElement(Io,{commentHeadStyle:a},t.createElement(se,z({user:{fullName:r,userName:r,url:d},toggleName:!0,size:"LG"},b)),t.createElement(Ro,{dateTimeStyle:c,theme:f},l)),t.createElement(Lo,{commentDivStyle:s},i))})),t.createElement(Po,{theme:f,inputWrapperStyle:d},t.createElement(se,{user:{fullName:m?.fullName,userName:m?.userName,url:m?.url},toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}}),t.createElement(To,null,t.createElement(oo,{value:e,onChange:e=>o(e.target.value),placeholder:g,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>y(!0)}),h&&t.createElement(Ho,null,t.createElement(Be,z({size:"sm",onClick:p},b),"Save"),t.createElement(ke,{size:"sm",btnStyle:{color:f.variant["neutral-1"]},onClick:e=>y(!1)},"Cancel")))))};qo.propTypes={commentBodyStyle:e.object,commentWrapperStyle:e.object,commentHeadStyle:e.object,dateTimeStyle:e.object,commentDivStyle:e.object,inputWrapperStyle:e.object,onSave:e.func,commentArray:e.array,inputValue:e.string,setInputValue:e.func,myInfo:e.object,placeholder:e.string},qo.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:""};const jo=m.div`
1716
+ `,qo=({inputValue:e,setInputValue:o,commentArray:r,commentBodyStyle:i,commentWrapperStyle:n,commentHeadStyle:a,dateTimeStyle:c,commentDivStyle:s,inputWrapperStyle:d,onSave:p,myInfo:m,placeholder:g,...b})=>{const f=u()||R,[h,y]=l(!1);return t.createElement(Wo,{commentBodyStyle:i,theme:f},r.map(((e,o)=>{const{name:r,date:l,comment:i,image:d}=e;return t.createElement(Io,{key:o,commentWrapperStyle:n},t.createElement(Ro,{commentHeadStyle:a},t.createElement(se,z({user:{fullName:r,userName:r,url:d},toggleName:!0,size:"LG"},b)),t.createElement(Lo,{dateTimeStyle:c,theme:f},l)),t.createElement(Po,{commentDivStyle:s},i))})),t.createElement(Ho,{theme:f,inputWrapperStyle:d},t.createElement(se,{user:{fullName:m?.fullName,userName:m?.userName,url:m?.url},toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}}),t.createElement(jo,null,t.createElement(ro,{value:e,onChange:e=>o(e.target.value),placeholder:g,isValid:!0,inputStyle:{height:"23px"},onFocus:e=>y(!0)}),h&&t.createElement(To,null,t.createElement(We,z({size:"sm",onClick:p},b),"Save"),t.createElement(ze,{size:"sm",btnStyle:{color:f.variant["neutral-1"]},onClick:e=>y(!1)},"Cancel")))))};qo.propTypes={commentBodyStyle:e.object,commentWrapperStyle:e.object,commentHeadStyle:e.object,dateTimeStyle:e.object,commentDivStyle:e.object,inputWrapperStyle:e.object,onSave:e.func,commentArray:e.array,inputValue:e.string,setInputValue:e.func,myInfo:e.object,placeholder:e.string},qo.defaultProps={commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{},onSave:()=>{},commentArray:[],inputValue:"",setInputValue:()=>{},myInfo:{},placeholder:""};const Fo=m.div`
1701
1717
  //Set the styles from the default styles object
1702
1718
  ${({theme:e,type:t})=>P(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
- `,Fo=({theme:e,type:o,customStyles:r,...l})=>t.createElement(jo,z({theme:e,customStyles:r,type:o},l),l.children);Fo.propTypes={theme:e.object,customStyles:e.object,type:e.string},Fo.defaultProps={theme:L,customStyles:null,type:"content"};const Oo=m.div`
1724
+ `,Oo=({theme:e,type:o,customStyles:r,...l})=>t.createElement(Fo,z({theme:e,customStyles:r,type:o},l),l.children);Oo.propTypes={theme:e.object,customStyles:e.object,type:e.string},Oo.defaultProps={theme:L,customStyles:null,type:"content"};const Zo=m.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
- `,Zo=m.div`
1736
+ `,Xo=m.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
- `,Xo=m.span`
1820
+ `,Go=m.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
- `,Go=m.div`
1830
+ `,Jo=m.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
- `,Jo=m.div`
1837
+ `,Uo=m.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
- `,Uo=m.div`
1839
- width: 90%;
1840
1854
  `,Do=m.div`
1855
+ width: 90%;
1856
+ `,Qo=m.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
- `,Qo=m.div`
1848
- width: 90%;
1849
1863
  `,No=m.div`
1864
+ width: 90%;
1865
+ `,Ko=m.div`
1850
1866
  display: flex;
1851
1867
  margin-left: auto !important;
1852
1868
  margin-right: auto !important;
1853
1869
  cursor: pointer;
1854
- `,Ko=m.div`
1870
+ `,Yo=m.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
- `,Yo=m.div`
1879
+ `,$o=m.div`
1864
1880
  margin: 10.5px 13px;
1865
1881
  padding: 0;
1866
- `,$o=m.div`
1882
+ `,_o=m.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
- `,_o=m.div`
1900
+ `,er=m.div`
1885
1901
  position: relative;
1886
1902
  display: flex;
1887
1903
  width: 100%;
@@ -1965,41 +1981,41 @@ ${({customInputColorStyle:e})=>e}
1965
1981
  margin-top: 0;
1966
1982
  }
1967
1983
  }
1968
- `,er=m.div`
1984
+ `,tr=m.div`
1969
1985
  display: flex;
1970
1986
  justify-content: end;
1971
- `,tr=m.div`
1987
+ `,or=m.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
- `,or=m.div`
1993
+ `,rr=m.div`
1978
1994
  width: 48;
1979
1995
  max-width: 48%;
1980
1996
  min-width: 48%;
1981
1997
 
1982
- `,rr=m.form`
1998
+ `,lr=m.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
- `,lr=({customStyles:e,children:o})=>t.createElement(rr,{customStyles:e},o),ir=m.div`
2005
+ `,ir=({customStyles:e,children:o})=>t.createElement(lr,{customStyles:e},o),nr=m.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:o})=>e?o:t};
1994
2010
  width: ${({vertical:e,thickness:t})=>e?t:null};
1995
- `,nr=({vertical:e,borderColor:o,thickness:r,height:l,...i})=>{const n=u()||R;return t.createElement(ir,z({theme:n,borderColor:o,thickness:r,vertical:e,height:l},i))};nr.propTypes={thickness:e.string,borderColor:e.string,vertical:e.bool,height:e.string},nr.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const ar=m.div`
2011
+ `,ar=({vertical:e,borderColor:o,thickness:r,height:l,...i})=>{const n=u()||R;return t.createElement(nr,z({theme:n,borderColor:o,thickness:r,vertical:e,height:l},i))};ar.propTypes={thickness:e.string,borderColor:e.string,vertical:e.bool,height:e.string},ar.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const cr=m.div`
1996
2012
  //Set the styles from the default styles object
1997
2013
  ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){for(const t in e.common)l[t]=e.common[t];for(const o in e[t])delete e.common[o],l[o]=e[t][o];l=o?{...l,...e["drawer-open"]}:{...l,...e["drawer-close"]}}return{...l,...r}}}}
1998
- `,cr=({customStyles:e,drawerOpen:o,children:r,...l})=>t.createElement(ar,z({inBuiltCss:L,customStyles:e,type:"drawer",drawerOpen:o},l),r);cr.propTypes={customStyles:e.object,drawerOpen:e.bool};class sr extends a{constructor(e){super(e),this.state={hasError:!1},this.refreshPage=this.refreshPage.bind(this)}componentDidCatch(e,t){this.setState({hasError:!0})}refreshPage(){window.location.reload()}render(){const{hasError:e}=this.state;return e?t.createElement(c,null,t.createElement("h3",null,t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.12em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1856 1664"},t.createElement("path",{d:"M1056 1375v-190q0-14-9.5-23.5t-22.5-9.5H832q-13 0-22.5 9.5T800 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19q-13-11-24-11H818q-11 0-24 11q-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126q-17 29-46.5 46t-63.5 17H160q-34 0-63.5-17T50 1601q-37-63-2-126L816 67q17-31 47-49t65-18t65 18t47 49z",fill:"currentColor"})),"We have experienced an issue. We generated a support ticket on our end to investigate this issue We are sorry about the inconvenience."),t.createElement(Be,{onClick:()=>this.refreshPage()},"Click to refresh")):this.props.children}}sr.propTypes={children:e.any};const dr=g`
2014
+ `,sr=({customStyles:e,drawerOpen:o,children:r,...l})=>t.createElement(cr,z({inBuiltCss:L,customStyles:e,type:"drawer",drawerOpen:o},l),r);sr.propTypes={customStyles:e.object,drawerOpen:e.bool};class dr extends a{constructor(e){super(e),this.state={hasError:!1},this.refreshPage=this.refreshPage.bind(this)}componentDidCatch(e,t){this.setState({hasError:!0})}refreshPage(){window.location.reload()}render(){const{hasError:e}=this.state;return e?t.createElement(c,null,t.createElement("h3",null,t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.12em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1856 1664"},t.createElement("path",{d:"M1056 1375v-190q0-14-9.5-23.5t-22.5-9.5H832q-13 0-22.5 9.5T800 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19q-13-11-24-11H818q-11 0-24 11q-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126q-17 29-46.5 46t-63.5 17H160q-34 0-63.5-17T50 1601q-37-63-2-126L816 67q17-31 47-49t65-18t65 18t47 49z",fill:"currentColor"})),"We have experienced an issue. We generated a support ticket on our end to investigate this issue We are sorry about the inconvenience."),t.createElement(We,{onClick:()=>this.refreshPage()},"Click to refresh")):this.props.children}}dr.propTypes={children:e.any};const pr=g`
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})=>H(e.primary["primary-1"],.04)};
2002
- `,pr=m.button`
2018
+ `,mr=m.button`
2003
2019
  font-size: 14px;
2004
2020
  color: ${({theme:e})=>e.variant["primary-2"]};
2005
2021
  background: ${({theme:e})=>H(e.variant["neutral-5"],.7)};
@@ -2009,19 +2025,19 @@ ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2009
2025
  outline: none;
2010
2026
  cursor: ${({disabled:e})=>e?"default":"pointer"};
2011
2027
 
2012
- ${({selected:e})=>e?dr:null}
2028
+ ${({selected:e})=>e?pr:null}
2013
2029
  ${({customStyles:e})=>e}
2014
2030
 
2015
2031
 
2016
2032
  &:not(:first-child) {
2017
2033
  margin-left: 8px;
2018
2034
  }
2019
- `,mr=({options:e,selected:o,onClick:r,customStyles:l,disabled:i,...n})=>{const a=u()||R,c=e.map(((e,n)=>t.createElement(pr,{theme:a,key:`${e.label}_${n}_${e.value}`,selected:o===e.value,onClick:()=>{r(e.value)},customStyles:l,disabled:i},e.label)));return t.createElement(t.Fragment,null,c)};mr.propTypes={options:e.array,selected:e.string,onClick:e.func,customStyles:e.object,disabled:e.bool},mr.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const ur=m.footer`
2035
+ `,ur=({options:e,selected:o,onClick:r,customStyles:l,disabled:i,...n})=>{const a=u()||R,c=e.map(((e,n)=>t.createElement(mr,{theme:a,key:`${e.label}_${n}_${e.value}`,selected:o===e.value,onClick:()=>{r(e.value)},customStyles:l,disabled:i},e.label)));return t.createElement(t.Fragment,null,c)};ur.propTypes={options:e.array,selected:e.string,onClick:e.func,customStyles:e.object,disabled:e.bool},ur.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const gr=m.footer`
2020
2036
  //Set the styles from the default styles object
2021
2037
  ${({theme:e,type:t})=>P(e,t)}
2022
2038
  // custom styles
2023
2039
  ${({customStyles:e})=>e}
2024
- `,gr=o((({theme:e,customStyles:o,...r},l)=>t.createElement(ur,z({ref:l,theme:e,type:"footer",customStyles:o},r),r.children)));gr.propTypes={theme:e.object,customStyles:e.object,type:e.string},ur.defaultProps={theme:e.object},gr.defaultProps={theme:L,customStyles:null};const br=m.div`
2040
+ `,br=o((({theme:e,customStyles:o,...r},l)=>t.createElement(gr,z({ref:l,theme:e,type:"footer",customStyles:o},r),r.children)));br.propTypes={theme:e.object,customStyles:e.object,type:e.string},gr.defaultProps={theme:e.object},br.defaultProps={theme:L,customStyles:null};const fr=m.div`
2025
2041
  font-size: 14px;
2026
2042
  background-color: transparent;
2027
2043
  display: flex;
@@ -2037,7 +2053,7 @@ ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2037
2053
  ${({footerWidth:e})=>{if(e<650)return g`
2038
2054
  flex-direction: column;
2039
2055
  `}}
2040
- `,fr=m.div`
2056
+ `,hr=m.div`
2041
2057
  display: flex;
2042
2058
  ${({footerWidth:e})=>{if(e<650)return g`
2043
2059
  margin-bottom: 5px;
@@ -2047,18 +2063,18 @@ ${({inBuiltCss:e,type:t,drawerOpen:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2047
2063
  align-items: center;
2048
2064
  margin-bottom: 0;
2049
2065
  `}}
2050
- `,hr=m.div`
2066
+ `,yr=m.div`
2051
2067
  margin-top: inherit;
2052
2068
  margin-bottom: inherit;
2053
2069
  ${({footerWidth:e})=>{if(e<350)return g`
2054
2070
  margin-bottom: 5px;
2055
2071
  `}}
2056
- `,yr=m.div`
2072
+ `,xr=m.div`
2057
2073
  margin: 0 10px;
2058
2074
  ${({footerWidth:e})=>{if(e<350)return g`
2059
2075
  display: none;
2060
2076
  `}}
2061
- `,xr=({variant:e,textColor:o,size:r,width:l,footerWidth:i,...n})=>{const a=(new Date).getFullYear();return t.createElement(br,z({variant:e,textColor:o,footerWidth:i},n),t.createElement(fr,{footerWidth:i},t.createElement(hr,{footerWidth:i},"Premise HQ"),t.createElement(yr,{footerWidth:i},"|"),t.createElement(hr,{footerWidth:i},"All Rights Restricted ",a," ©")),t.createElement(fr,{footerWidth:i},t.createElement(hr,{footerWidth:i},"Terms of use"),t.createElement(yr,{footerWidth:i},"|"),t.createElement(hr,{footerWidth:i},"Privacy Policy")))},vr=m.header`
2077
+ `,vr=({variant:e,textColor:o,size:r,width:l,footerWidth:i,...n})=>{const a=(new Date).getFullYear();return t.createElement(fr,z({variant:e,textColor:o,footerWidth:i},n),t.createElement(hr,{footerWidth:i},t.createElement(yr,{footerWidth:i},"Premise HQ"),t.createElement(xr,{footerWidth:i},"|"),t.createElement(yr,{footerWidth:i},"All Rights Restricted ",a," ©")),t.createElement(hr,{footerWidth:i},t.createElement(yr,{footerWidth:i},"Terms of use"),t.createElement(xr,{footerWidth:i},"|"),t.createElement(yr,{footerWidth:i},"Privacy Policy")))},Ar=m.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:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2066
2082
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2067
2083
  // custom styles
2068
2084
  ${({customStyles:e})=>e}
2069
- `,Ar=({type:e,customStyles:o,...r})=>{const l=u()||R;return t.createElement(vr,z({theme:l,type:"header",customStyles:o,inBuiltCss:L},r),r.children)};Ar.propTypes={customStyles:e.object,type:e.string},Ar.defaultProps={type:"header",customStyles:null};const Cr=m.div`
2085
+ `,Cr=({type:e,customStyles:o,...r})=>{const l=u()||R;return t.createElement(Ar,z({theme:l,type:"header",customStyles:o,inBuiltCss:L},r),r.children)};Cr.propTypes={customStyles:e.object,type:e.string},Cr.defaultProps={type:"header",customStyles:null};const wr=m.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:o,customStyles:r})=>{if(e){let l={};if(e[t]){
2074
2090
  width: auto;
2075
2091
 
2076
2092
  ${({size:e})=>g`height: ${e}px;`}
2077
- `,wr=m.div`
2078
2093
  `,Sr=m.div`
2094
+ `,Er=m.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
- `,Er=({theme:e,toggleSet:o,slide:r,color:l,size:i,transform:n,ratingValue:a,starVal:c,hover:s,...d})=>t.createElement(Sr,z({theme:e,ratingValue:a,starVal:c,hover:s,toggleSet:o,color:l,size:i,transform:n},d),t.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",id:"star_filled","data-name":"star filled",xmlns:"http://www.w3.org/2000/svg"},t.createElement("defs",null,t.createElement("clipPath",{id:"starFilled"},t.createElement("path",{id:"Star",d:"M10,15,4.122,18.09l1.123-6.545L.489,6.91l6.572-.955L10,0l2.939,5.955,6.572.955-4.755,4.635,1.123,6.545Z",transform:"translate(2 3)",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"1.5"}))),t.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),t.createElement("rect",{x:r,y:"0",fill:l,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function kr(e,t){let o=5*e/t;const r=[],l=o;for(let e=0;e<5;e++){if(o-1>=0)r.push("0");else if(o-1<0&&o-1>-1){const e=(24*o-24).toString();r.push(e)}else r.push("-24");o-=1}return{array:r,value:l}}function zr(e,t){return 100*e/t}const Vr=({type:e,customStylesContainer:o,customStylesStar:r,customStylesPercentage:n,color:a,size:c,handleClick:s,transform:d,maxRange:p,value:m,toggleStar:g,toggleSet:b,identifier:f,...h})=>{u();const[y,x]=l(void 0),[v,A]=l(void 0),[C,w]=l(void 0),[S,E]=l(void 0);i((()=>{x(kr(m,p).array),A(kr(m,p).value),w(zr(m,p))}),[m,p]),i((()=>{S?x(kr(S,p).array):(x(kr(m,p).array),A(kr(m,p).value),w(zr(m,p)))}),[S]);const k=t.createElement(t.Fragment,null,y?.map(((e,o)=>{const l=20*(o+1);return t.createElement(Er,{ratingValue:l,starVal:v,hover:S,toggleSet:b,onClick:b?()=>s(l):null,onMouseEnter:b?()=>{E(l)}:null,onMouseLeave:b?()=>{E(null)}:null,slide:e,color:a,className:"star",size:c,transform:d,key:f?.concat(o),customStyles:r})})));return t.createElement(Cr,z({customStyles:o,type:e,size:c},h,{className:"container"}),g?k:t.createElement(wr,{type:e,customStyles:n},C,"%"))};Vr.propTypes={customStylesContainer:e.object,customStylesStar:e.object,customStylesPercentage:e.object,type:e.string,color:e.string,size:e.number,transform:e.object,handleClick:e.func,maxRange:e.number,value:e.number,toggleStar:e.bool,toggleSet:e.bool,identifier:e.string},Vr.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Mr=m.div`
2123
+ `,kr=({theme:e,toggleSet:o,slide:r,color:l,size:i,transform:n,ratingValue:a,starVal:c,hover:s,...d})=>t.createElement(Er,z({theme:e,ratingValue:a,starVal:c,hover:s,toggleSet:o,color:l,size:i,transform:n},d),t.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",id:"star_filled","data-name":"star filled",xmlns:"http://www.w3.org/2000/svg"},t.createElement("defs",null,t.createElement("clipPath",{id:"starFilled"},t.createElement("path",{id:"Star",d:"M10,15,4.122,18.09l1.123-6.545L.489,6.91l6.572-.955L10,0l2.939,5.955,6.572.955-4.755,4.635,1.123,6.545Z",transform:"translate(2 3)",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"1.5"}))),t.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),t.createElement("rect",{x:r,y:"0",fill:l,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function zr(e,t){let o=5*e/t;const r=[],l=o;for(let e=0;e<5;e++){if(o-1>=0)r.push("0");else if(o-1<0&&o-1>-1){const e=(24*o-24).toString();r.push(e)}else r.push("-24");o-=1}return{array:r,value:l}}function Vr(e,t){return 100*e/t}const Mr=({type:e,customStylesContainer:o,customStylesStar:r,customStylesPercentage:n,color:a,size:c,handleClick:s,transform:d,maxRange:p,value:m,toggleStar:g,toggleSet:b,identifier:f,...h})=>{u();const[y,x]=l(void 0),[v,A]=l(void 0),[C,w]=l(void 0),[S,E]=l(void 0);i((()=>{x(zr(m,p).array),A(zr(m,p).value),w(Vr(m,p))}),[m,p]),i((()=>{S?x(zr(S,p).array):(x(zr(m,p).array),A(zr(m,p).value),w(Vr(m,p)))}),[S]);const k=t.createElement(t.Fragment,null,y?.map(((e,o)=>{const l=20*(o+1);return t.createElement(kr,{ratingValue:l,starVal:v,hover:S,toggleSet:b,onClick:b?()=>s(l):null,onMouseEnter:b?()=>{E(l)}:null,onMouseLeave:b?()=>{E(null)}:null,slide:e,color:a,className:"star",size:c,transform:d,key:f?.concat(o),customStyles:r})})));return t.createElement(wr,z({customStyles:o,type:e,size:c},h,{className:"container"}),g?k:t.createElement(Sr,{type:e,customStyles:n},C,"%"))};Mr.propTypes={customStylesContainer:e.object,customStylesStar:e.object,customStylesPercentage:e.object,type:e.string,color:e.string,size:e.number,transform:e.object,handleClick:e.func,maxRange:e.number,value:e.number,toggleStar:e.bool,toggleSet:e.bool,identifier:e.string},Mr.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const Br=m.div`
2108
2124
  .form-check-input {
2109
2125
  accent-color: ${({theme:e})=>e.primary["primary-1"]};
2110
2126
  }
2111
- `,Br=({customStyles:e,inBuiltCss:o,type:r="table",sortIcon:l,data:i,tableColumns:n,progressPending:a,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:p,responsive:m,conditionalRowStyles:g,fixedHeader:b,fixedHeaderScrollHeight:f,checkboxColor:h,...y})=>{let x={};if(o&&o[r]&&(x=o[r]),e)for(const t in e)x[t]=e[t];const v=u()||R,A=t.forwardRef((({onClick:e,...o},r)=>t.createElement(Mr,{theme:v},t.createElement("input",z({type:"checkbox",className:"form-check-input",ref:r,onClick:e},o)))));return t.createElement(S,z({responsive:m,data:i,columns:n,noHeader:!0,highlightOnHover:!0,sortIcon:l,progressPending:a,customStyles:x,defaultSortFieldId:c,progressComponent:p||void 0,sortServer:d,onSort:(e,t,o)=>{s(e,t,o)},conditionalRowStyles:g,fixedHeader:b,fixedHeaderScrollHeight:f,selectableRowsComponent:A},y))};Br.propTypes={inBuiltCss:e.object,sortIcon:e.any,data:e.array,tableColumns:e.array,progressPending:e.bool,progressComponent:e.any,defaultSortFieldId:e.number,sortServer:e.bool,handleOnSort:e.any,responsive:e.bool,conditionalRowStyles:e.array,fixedHeader:e.bool,fixedHeaderScrollHeight:e.string,customStyle:e.object},Br.defaultProps={inBuiltCss:L,sortIcon:t.createElement(N,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,o)=>{console.log(e,t,o)},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100vh"};const Wr=({title:e,subtitle:o,wrapperStyle:r,imgLink:l,imgStyle:i,iconSize:n})=>{const a=u()||R,c={fontSize:"26px",fontWeight:"bold",color:`${a.textColor}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},s={fontSize:"13px",color:`${a.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return t.createElement("div",{style:r},t.createElement("div",{style:c},l?t.createElement("img",{src:l,alt:"userIcon",srcset:"",style:i}):t.createElement(N,{icon:"user-icon",size:n,color:a.primary["primary-1"]})," ",t.createElement("h4",null,e)),t.createElement("div",{style:s},t.createElement("p",null,o)))};Wr.propTypes={size:e.number},Wr.defaultProps={iconSize:23};const Ir=({formData:e,customStyles:o,...r})=>{const l=e=>{switch(e.type){case"header":return(e=>t.createElement(c,null,t.createElement(Ar,z({},e,r),e.children),e))(e);case"label":return(e=>t.createElement(Ke,z({style:{marginBottom:"7px",paddingBottom:"0"}},e,r)))(e);case"text":return(e=>t.createElement(oo,z({},e,r)))(e);case"textArea":return(e=>t.createElement(fo,z({},e,r)))(e);case"number":return(e=>t.createElement(Ft,z({},e,r)))(e);case"radio":return(e=>t.createElement(Yt,z({key:101*Math.random()|0},e,r)))(e);case"checkBox":return(e=>t.createElement(ot,z({},e,r)))(e);case"singleSelect":return(e=>t.createElement(xt,z({dropdownType:"singleSelect"},e,r)))(e);case"multiSelect":return(e=>t.createElement(xt,z({dropdownType:"multiSelect"},e,r)))(e);case"asyncSingleSelect":return(e=>t.createElement(xt,z({dropdownType:"asyncSingleSelect"},e,r)))(e);case"asyncMultiSelect":return(e=>t.createElement(xt,z({dropdownType:"asyncMultiSelect"},e,r)))(e);case"signature":return(e=>t.createElement(po,z({},e,r)))(e);case"fileUpload":return(e=>t.createElement(Mt,z({},e,r)))(e);case"date":return(e=>t.createElement(gt,z({},e,r)))(e);case"toggle":return(e=>t.createElement(Mo,z({},e,r)))(e);case"rating":return(e=>t.createElement(Vr,z({},e,r)))(e);case"buttonPrimary":return(e=>t.createElement(Be,z({},e,r)))(e);case"buttonSecondary":return(e=>t.createElement(Re,z({},e,r)))(e);case"buttonTiny":return(e=>t.createElement(Pe,z({},e,r)))(e);case"search":return(e=>t.createElement(ro,z({},e,r)))(e);case"table":return(e=>t.createElement(Br,z({},e,r)))(e);case"passwordInput":return(e=>t.createElement(Jt,z({},e,r)))(e);case"headerComponent":return(e=>t.createElement(Wr,z({},e,r)))(e)}};return t.createElement(c,null,t.createElement(_o,{defaultThemeColor:R},t.createElement(lr,{onSubmit:()=>{console.log("form submit")},customStyles:o},e.map(((e,o)=>e.length>1?t.createElement(tr,null,e.map(((o,r)=>t.createElement(or,{cols:e.length},l(o))))):l(e[0]))))))},Rr=({formData:e,onSubmit:o,onReset:r,style:l,...i})=>{const n=e=>{switch(e.type){case"submit":return(e=>t.createElement(Be,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>t.createElement(Re,{block:e.block,disabled:i.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return t.createElement(c,null,t.createElement(er,{style:l},e&&e.map(((e,t)=>e.map(((e,t)=>n(e)))))))};const Lr=f`
2127
+ `,Wr=({customStyles:e,inBuiltCss:o,type:r="table",sortIcon:l,data:i,tableColumns:n,progressPending:a,defaultSortFieldId:c,handleOnSort:s,sortServer:d,progressComponent:p,responsive:m,conditionalRowStyles:g,fixedHeader:b,fixedHeaderScrollHeight:f,checkboxColor:h,...y})=>{let x={};if(o&&o[r]&&(x=o[r]),e)for(const t in e)x[t]=e[t];const v=u()||R,A=t.forwardRef((({onClick:e,...o},r)=>t.createElement(Br,{theme:v},t.createElement("input",z({type:"checkbox",className:"form-check-input",ref:r,onClick:e},o)))));return t.createElement(S,z({responsive:m,data:i,columns:n,noHeader:!0,highlightOnHover:!0,sortIcon:l,progressPending:a,customStyles:x,defaultSortFieldId:c,progressComponent:p||void 0,sortServer:d,onSort:(e,t,o)=>{s(e,t,o)},conditionalRowStyles:g,fixedHeader:b,fixedHeaderScrollHeight:f,selectableRowsComponent:A},y))};Wr.propTypes={inBuiltCss:e.object,sortIcon:e.any,data:e.array,tableColumns:e.array,progressPending:e.bool,progressComponent:e.any,defaultSortFieldId:e.number,sortServer:e.bool,handleOnSort:e.any,responsive:e.bool,conditionalRowStyles:e.array,fixedHeader:e.bool,fixedHeaderScrollHeight:e.string,customStyle:e.object},Wr.defaultProps={inBuiltCss:L,sortIcon:t.createElement(N,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,o)=>{console.log(e,t,o)},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100vh"};const Ir=({title:e,subtitle:o,wrapperStyle:r,imgLink:l,imgStyle:i,iconSize:n})=>{const a=u()||R,c={fontSize:"26px",fontWeight:"bold",color:`${a.textColor}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},s={fontSize:"13px",color:`${a.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return t.createElement("div",{style:r},t.createElement("div",{style:c},l?t.createElement("img",{src:l,alt:"userIcon",srcset:"",style:i}):t.createElement(N,{icon:"user-icon",size:n,color:a.primary["primary-1"]})," ",t.createElement("h4",null,e)),t.createElement("div",{style:s},t.createElement("p",null,o)))};Ir.propTypes={size:e.number},Ir.defaultProps={iconSize:23};const Rr=({formData:e,customStyles:o,...r})=>{const l=e=>{switch(e.type){case"header":return(e=>t.createElement(c,null,t.createElement(Cr,z({},e,r),e.children),e))(e);case"label":return(e=>t.createElement(Ye,z({style:{marginBottom:"7px",paddingBottom:"0"}},e,r)))(e);case"text":return(e=>t.createElement(ro,z({},e,r)))(e);case"textArea":return(e=>t.createElement(ho,z({},e,r)))(e);case"number":return(e=>t.createElement(Ot,z({},e,r)))(e);case"radio":return(e=>t.createElement($t,z({key:101*Math.random()|0},e,r)))(e);case"checkBox":return(e=>t.createElement(rt,z({},e,r)))(e);case"singleSelect":return(e=>t.createElement(vt,z({dropdownType:"singleSelect"},e,r)))(e);case"multiSelect":return(e=>t.createElement(vt,z({dropdownType:"multiSelect"},e,r)))(e);case"asyncSingleSelect":return(e=>t.createElement(vt,z({dropdownType:"asyncSingleSelect"},e,r)))(e);case"asyncMultiSelect":return(e=>t.createElement(vt,z({dropdownType:"asyncMultiSelect"},e,r)))(e);case"signature":return(e=>t.createElement(mo,z({},e,r)))(e);case"fileUpload":return(e=>t.createElement(Bt,z({},e,r)))(e);case"date":return(e=>t.createElement(bt,z({},e,r)))(e);case"toggle":return(e=>t.createElement(Bo,z({},e,r)))(e);case"rating":return(e=>t.createElement(Mr,z({},e,r)))(e);case"buttonPrimary":return(e=>t.createElement(We,z({},e,r)))(e);case"buttonSecondary":return(e=>t.createElement(Le,z({},e,r)))(e);case"buttonTiny":return(e=>t.createElement(He,z({},e,r)))(e);case"search":return(e=>t.createElement(lo,z({},e,r)))(e);case"table":return(e=>t.createElement(Wr,z({},e,r)))(e);case"passwordInput":return(e=>t.createElement(Ut,z({},e,r)))(e);case"headerComponent":return(e=>t.createElement(Ir,z({},e,r)))(e)}};return t.createElement(c,null,t.createElement(er,{defaultThemeColor:R},t.createElement(ir,{onSubmit:()=>{console.log("form submit")},customStyles:o},e.map(((e,o)=>e.length>1?t.createElement(or,null,e.map(((o,r)=>t.createElement(rr,{cols:e.length},l(o))))):l(e[0]))))))},Lr=({formData:e,onSubmit:o,onReset:r,style:l,...i})=>{const n=e=>{switch(e.type){case"submit":return(e=>t.createElement(We,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>t.createElement(Le,{block:e.block,disabled:i.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return t.createElement(c,null,t.createElement(tr,{style:l},e&&e.map(((e,t)=>e.map(((e,t)=>n(e)))))))};const Pr=f`
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
- `,Pr=m.span`
2235
+ `,Hr=m.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
- `,Hr=m.p`
2244
+ `,Tr=m.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
- `,Tr=({items:e,block:o,size:r,variantCircle:l,variantName:i,variantQty:n,flagName:a,user:c,colorCircle:s,colorBorderCircle:d,...p})=>{const m=u()||R;return t.createElement(Pr,z({block:o},p),e?.map(((o,n)=>{let a={},c={};return a.backgroundColor=s?`${m.variant[s]}`:`${m.variant[l]}`,0!==n&&(a.border=d?`2px solid ${d}`:`2px solid ${m.variant[l]}`,c.border=d?`2px solid ${d}`:`2px solid ${m.variant[l]}`),1===e.length?t.createElement(se,{key:o.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:r,toggleName:!0,user:o,customStylesCircle:a,customStylesImage:c}):n<=3?t.createElement(se,{key:o.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:r,toggleName:!1,user:o,customStylesCircle:a,customStylesImage:c}):null})),e.length-4>0?t.createElement(Hr,{theme:m,variantQty:n},"+",e.length-4):null)};Tr.propTypes={variantCircle:e.string,variantName:e.string,size:e.oneOf(["SM","MD","LG"]),user:e.object,theme:e.object,colorCircle:e.string,colorBorderCircle:e.string,variantQty:e.string},Tr.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const qr=m.div`
2249
+ `,jr=({items:e,block:o,size:r,variantCircle:l,variantName:i,variantQty:n,flagName:a,user:c,colorCircle:s,colorBorderCircle:d,...p})=>{const m=u()||R;return t.createElement(Hr,z({block:o},p),e?.map(((o,n)=>{let a={},c={};return a.backgroundColor=s?`${m.variant[s]}`:`${m.variant[l]}`,0!==n&&(a.border=d?`2px solid ${d}`:`2px solid ${m.variant[l]}`,c.border=d?`2px solid ${d}`:`2px solid ${m.variant[l]}`),1===e.length?t.createElement(se,{key:o.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:r,toggleName:!0,user:o,customStylesCircle:a,customStylesImage:c}):n<=3?t.createElement(se,{key:o.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${m.variant[{variantName:i}]}`},size:r,toggleName:!1,user:o,customStylesCircle:a,customStylesImage:c}):null})),e.length-4>0?t.createElement(Tr,{theme:m,variantQty:n},"+",e.length-4):null)};jr.propTypes={variantCircle:e.string,variantName:e.string,size:e.oneOf(["SM","MD","LG"]),user:e.object,theme:e.object,colorCircle:e.string,colorBorderCircle:e.string,variantQty:e.string},jr.defaultProps={variantCircle:"primary-1",variantName:"primary-2",block:!1,size:"MD",flagName:!1,user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const qr=m.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
- `,jr=m.div`
2275
+ `,Fr=m.div`
2260
2276
  display: flex;
2261
2277
  color: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2262
2278
  background: ${({theme:e,disabled:t,bgVariant:o,variantBgDisable:r})=>t?e.variant[r]:e.variant[o]};
@@ -2271,24 +2287,24 @@ svg {
2271
2287
  svg path {
2272
2288
  fill: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2273
2289
  }
2274
- `,Fr=m.div`
2290
+ `,Or=m.div`
2275
2291
  display: flex;
2276
2292
  justify-content: space-evenly;
2277
2293
  flex-grow: 1;
2278
2294
  align-items: stretch;
2279
- `,Or=({label:e,index:o,style:r,items:l,variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,divider:p,indexPrefix:m,onClick:g,icon:b,variantTPtext:f,variantTPbg:h,...x})=>{u();const{getArrowProps:v,getTooltipProps:A,setTooltipRef:C,setTriggerRef:w,visible:S}=y();return t.createElement(t.Fragment,null,t.createElement(Fr,{ref:w},t.createElement(jr,{variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,onClick:d?null:()=>{g(g)}},b),p),S&&t.createElement(qr,z({variantTPtext:f,variantTPbg:h,ref:C},A({className:"tooltip-container"})),e,t.createElement("div",v({className:"tooltip-arrow"}))))};Or.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func,variantTPtext:e.string,variantTPbg:e.string},Fr.defaultProps={theme:R},jr.defaultProps={theme:R},qr.defaultProps={theme:R},Or.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Zr=m.div`
2295
+ `,Zr=({label:e,index:o,style:r,items:l,variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,divider:p,indexPrefix:m,onClick:g,icon:b,variantTPtext:f,variantTPbg:h,...x})=>{u();const{getArrowProps:v,getTooltipProps:A,setTooltipRef:C,setTriggerRef:w,visible:S}=y();return t.createElement(t.Fragment,null,t.createElement(Or,{ref:w},t.createElement(Fr,{variant:i,borderVariant:n,bgVariant:a,variantDisable:c,variantBgDisable:s,disabled:d,onClick:d?null:()=>{g(g)}},b),p),S&&t.createElement(qr,z({variantTPtext:f,variantTPbg:h,ref:C},A({className:"tooltip-container"})),e,t.createElement("div",v({className:"tooltip-arrow"}))))};Zr.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func,variantTPtext:e.string,variantTPbg:e.string},Or.defaultProps={theme:R},Fr.defaultProps={theme:R},qr.defaultProps={theme:R},Zr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Xr=m.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
- `,Xr=m.div`
2302
+ `,Gr=m.div`
2287
2303
  display: flex;
2288
2304
  justify-content: space-evenly;
2289
2305
  flex-grow: 1;
2290
2306
  align-items: stretch;
2291
- `,Gr=m.div`
2307
+ `,Jr=m.div`
2292
2308
  display: flex;
2293
2309
  color: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2294
2310
  background: ${({theme:e,disabled:t,bgVariant:o,variantBgDisable:r})=>t?e.variant[r]:e.variant[o]};
@@ -2303,19 +2319,19 @@ svg {
2303
2319
  svg path {
2304
2320
  fill: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2305
2321
  }
2306
- `,Jr=({style:e,items:o,variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,...m})=>(u(),t.createElement(Zr,z({variant:r,borderVariant:l},m),o?.map(((e,m)=>t.createElement(Xr,{key:d.concat(m)},t.createElement(Gr,{variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>p(e.label)},e.icon),o?.length-1!==m&&s)))));Jr.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func},Zr.defaultProps={theme:R},Xr.defaultProps={theme:R},Gr.defaultProps={theme:R},Jr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const Ur=m.div`
2322
+ `,Ur=({style:e,items:o,variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,...m})=>(u(),t.createElement(Xr,z({variant:r,borderVariant:l},m),o?.map(((e,m)=>t.createElement(Gr,{key:d.concat(m)},t.createElement(Jr,{variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>p(e.label)},e.icon),o?.length-1!==m&&s)))));Ur.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func},Xr.defaultProps={theme:R},Gr.defaultProps={theme:R},Jr.defaultProps={theme:R},Ur.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor"};const Dr=m.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
- `,Dr=m.div`
2329
+ `,Qr=m.div`
2314
2330
  display: flex;
2315
2331
  justify-content: space-evenly;
2316
2332
  flex-grow: 1;
2317
2333
  align-items: stretch;
2318
- `,Qr=m.div`
2334
+ `,Nr=m.div`
2319
2335
  display: flex;
2320
2336
  color: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2321
2337
  background: ${({theme:e,disabled:t,bgVariant:o,variantBgDisable:r})=>t?e.variant[r]:e.variant[o]};
@@ -2330,28 +2346,28 @@ svg {
2330
2346
  svg path {
2331
2347
  fill: ${({theme:e,disabled:t,variant:o,variantDisable:r})=>t?e.variant[r]:e.variant[o]};
2332
2348
  }
2333
- `,Nr=({style:e,items:o,variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,variantTPtext:m,variantTPbg:g,...b})=>(u(),t.createElement(Ur,z({variant:r,borderVariant:l},b),o?.map(((e,u)=>t.createElement(Or,{key:d.concat(u),variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{p(e.label)},divider:o?.length-1!==u&&s,icon:e.icon,index:u,label:e.label,variantTPtext:m,variantTPbg:g})))));Nr.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func,variantTPtext:e.string,variantTPbg:e.string},Ur.defaultProps={theme:R},Dr.defaultProps={theme:R},Qr.defaultProps={theme:R},Nr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Kr=m.div`
2349
+ `,Kr=({style:e,items:o,variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,allDisabled:c,divider:s,indexPrefix:d,onClick:p,variantTPtext:m,variantTPbg:g,...b})=>(u(),t.createElement(Dr,z({variant:r,borderVariant:l},b),o?.map(((e,u)=>t.createElement(Zr,{key:d.concat(u),variant:r,borderVariant:l,bgVariant:i,variantDisable:n,variantBgDisable:a,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{p(e.label)},divider:o?.length-1!==u&&s,icon:e.icon,index:u,label:e.label,variantTPtext:m,variantTPbg:g})))));Kr.propTypes={variant:e.string,borderVariant:e.string,bgVariant:e.string,variantDisable:e.string,variantBgDisable:e.string,indexPrefix:e.string,theme:e.object,items:e.array,allDisabled:e.bool,divider:e.any,onClick:e.func,variantTPtext:e.string,variantTPbg:e.string},Dr.defaultProps={theme:R},Qr.defaultProps={theme:R},Nr.defaultProps={theme:R},Kr.defaultProps={theme:R,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"bgColor",variantDisable:"neutral-2",variantBgDisable:"bgColor",variantTPtext:null,variantTPbg:null};const Yr=m.div`
2334
2350
  background: ${({theme:e,variant:t,bgColor:o})=>o||e.variant[t]};
2335
2351
  border: 1.3px solid ${({theme:e,variant:t,borderColor:o})=>o||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
- `,Yr=({variant:e,bgColor:o,borderColor:r,...l})=>(u(),t.createElement(Kr,z({variant:e,borderColor:r,bgColor:o},l)));Yr.propTypes={variant:e.string,size:e.number,theme:e.object,borderColor:e.string,bgColor:e.string},Kr.defaultProps={theme:R},Yr.defaultProps={theme:R,variant:"primary-1",size:11};const $r=m.div`
2356
+ `,$r=({variant:e,bgColor:o,borderColor:r,...l})=>(u(),t.createElement(Yr,z({variant:e,borderColor:r,bgColor:o},l)));$r.propTypes={variant:e.string,size:e.number,theme:e.object,borderColor:e.string,bgColor:e.string},Yr.defaultProps={theme:R},$r.defaultProps={theme:R,variant:"primary-1",size:11};const _r=m.div`
2341
2357
  display: inline-flex;
2342
2358
  align-items: center;
2343
2359
  background-color: transparent;
2344
2360
  min-height: 24px;
2345
- `,_r=m.div`
2361
+ `,el=m.div`
2346
2362
  display: flex;
2347
2363
  justify-content: space-evenly;
2348
2364
  width: 69px;
2349
- `,el=m.p`
2365
+ `,tl=m.p`
2350
2366
  display: flex;
2351
2367
  color: ${({theme:e,variantText:t,colorText:o})=>o||e.variant[t]};
2352
2368
  font-size: 16px;
2353
2369
  margin: 0 5px;
2354
- `,tl=({style:e,variantCircle:o,variantText:r,level:l,textArray:i,colorArray:n,indexPrefix:a,colorText:c,...s})=>(u(),t.createElement($r,s,t.createElement(_r,null,[1,2,3,4].map(((e,r)=>{let i="#D4D7E3",c=null,s=null;return l<=0&&(l=0),l>=4&&(l=4),n?l>=e?(c=n[l],i=n[l]):c=n[0]:l>=e?(s=o,i=o):s="#FFFFFF",t.createElement(Yr,{key:a.concat(r),variant:s,borderColor:i,bgColor:c,size:11})}))),i&&t.createElement(el,{variantText:r,colorText:c},i[l])));tl.propTypes={variantCircle:e.string,variantText:e.string,level:e.number,indexPrefix:e.string,theme:e.object,block:e.bool,textArray:e.array,colorArray:e.array,colorText:e.string},el.defaultProps={theme:R},tl.defaultProps={theme:R,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const ol={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},rl=m.button`
2370
+ `,ol=({style:e,variantCircle:o,variantText:r,level:l,textArray:i,colorArray:n,indexPrefix:a,colorText:c,...s})=>(u(),t.createElement(_r,s,t.createElement(el,null,[1,2,3,4].map(((e,r)=>{let i="#D4D7E3",c=null,s=null;return l<=0&&(l=0),l>=4&&(l=4),n?l>=e?(c=n[l],i=n[l]):c=n[0]:l>=e?(s=o,i=o):s="#FFFFFF",t.createElement($r,{key:a.concat(r),variant:s,borderColor:i,bgColor:c,size:11})}))),i&&t.createElement(tl,{variantText:r,colorText:c},i[l])));ol.propTypes={variantCircle:e.string,variantText:e.string,level:e.number,indexPrefix:e.string,theme:e.object,block:e.bool,textArray:e.array,colorArray:e.array,colorText:e.string},tl.defaultProps={theme:R},ol.defaultProps={theme:R,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const rl={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},ll=m.button`
2355
2371
  ${({underlined:e})=>e?null:g`&:hover {text-decoration: underline}`};
2356
2372
  background: transparent;
2357
2373
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -2362,7 +2378,7 @@ svg {
2362
2378
  justify-content: start;
2363
2379
  border: none;
2364
2380
  cursor: pointer;
2365
- font-size: ${({size:e})=>ol[e].fontSize};
2381
+ font-size: ${({size:e})=>rl[e].fontSize};
2366
2382
 
2367
2383
  &:disabled {
2368
2384
  color: ${({theme:e})=>e.variant["neutral-3"]};
@@ -2372,7 +2388,7 @@ svg {
2372
2388
  * {
2373
2389
  outline: none;
2374
2390
  }
2375
- `,ll=({block:e,size:o,style:r,variant:l,disabled:i,underlined:n,...a})=>(u(),t.createElement(rl,z({block:e,variant:l,type:"button",style:r,size:o,disabled:i,underlined:n},a),a.children));ll.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,onClick:e.func,theme:e.object,underlined:e.bool},rl.defaultProps={theme:R},ll.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const il=m.div`
2391
+ `,il=({block:e,size:o,style:r,variant:l,disabled:i,underlined:n,...a})=>(u(),t.createElement(ll,z({block:e,variant:l,type:"button",style:r,size:o,disabled:i,underlined:n},a),a.children));il.propTypes={variant:e.string,disabled:e.bool,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,onClick:e.func,theme:e.object,underlined:e.bool},ll.defaultProps={theme:R},il.defaultProps={theme:R,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const nl=m.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
- `,nl=m.div`
2402
+ `,al=m.div`
2387
2403
  //Set the styles from the default styles object
2388
2404
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2389
2405
  // custom styles
2390
2406
  ${({customModalBodyStyle:e})=>e}
2391
- `,al=m.div`
2407
+ `,cl=m.div`
2392
2408
  max-height: 60vh;
2393
2409
  padding: 0 24px 24px 24px;
2394
2410
  overflow-y: auto;
2395
2411
  ${({contentWrapperStyle:e})=>e}
2396
- `,cl=m.div`
2412
+ `,sl=m.div`
2397
2413
  padding-top: 16px;
2398
2414
 
2399
2415
  //Set the styles from the default styles object
2400
2416
  ${({inBuiltCss:e,type:t})=>P(e,t)}
2401
2417
  // custom styles
2402
2418
  ${({customModalFooterStyle:e})=>e}
2403
- `,sl=m.div`
2419
+ `,dl=m.div`
2404
2420
  cursor: pointer;
2405
- `;try{E.setAppElement("#root")}catch(e){E.setAppElement("#__next")}const dl=({modalIsOpen:e,toggleModal:o,closeOnOutsideClick:r,headerContent:l,bodyContent:i,footerContent:n,customModalHeaderStyle:a,customModalBodyStyle:c,customModalFooterStyle:s,customWidth:d,customMinWidth:p,customMaxWidth:m,contentStyle:u,contentWrapperStyle:g,...b})=>{const f={overlay:{zIndex:"999999",backgroundColor:"rgb(51 51 51 / 30%)"},content:{borderColor:R.border,top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:p,maxHeight:"85vh",overflow:"hidden",border:"1px solid #EEF1F4",boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:d&&d,maxWidth:m&&m,...u}};return t.createElement(E,z({isOpen:e,onRequestClose:r?o:void 0,style:f,contentLabel:"Modal"},b),t.createElement(il,{style:a},l,t.createElement(sl,{onClick:o},t.createElement(N,{icon:"close-icon",size:18}))),t.createElement(al,{contentWrapperStyle:g},t.createElement(nl,{inBuiltCss:L,style:c},i),t.createElement(cl,{inBuiltCss:L,style:s},n)))};dl.propTypes={modalIsOpen:e.bool,toggleModal:e.func,closeOnOutsideClick:e.bool,headerContent:e.any,bodyContent:e.any,footerContent:e.any,customModalHeaderStyle:e.object,customModalBodyStyle:e.object,customModalFooterStyle:e.object,customMinWidth:e.string,contentStyle:e.object,contentWrapperStyle:e.object},dl.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{}};const pl=m.div`
2421
+ `;try{E.setAppElement("#root")}catch(e){E.setAppElement("#__next")}const pl=({modalIsOpen:e,toggleModal:o,closeOnOutsideClick:r,headerContent:l,bodyContent:i,footerContent:n,customModalHeaderStyle:a,customModalBodyStyle:c,customModalFooterStyle:s,customWidth:d,customMinWidth:p,customMaxWidth:m,contentStyle:u,contentWrapperStyle:g,...b})=>{const f={overlay:{zIndex:"999999",backgroundColor:"rgb(51 51 51 / 30%)"},content:{borderColor:R.border,top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",transform:"translate(-50%, -50%)",minWidth:p,maxHeight:"85vh",overflow:"hidden",border:"1px solid #EEF1F4",boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:d&&d,maxWidth:m&&m,...u}};return t.createElement(E,z({isOpen:e,onRequestClose:r?o:void 0,style:f,contentLabel:"Modal"},b),t.createElement(nl,{style:a},l,t.createElement(dl,{onClick:o},t.createElement(N,{icon:"close-icon",size:18}))),t.createElement(cl,{contentWrapperStyle:g},t.createElement(al,{inBuiltCss:L,style:c},i),t.createElement(sl,{inBuiltCss:L,style:s},n)))};pl.propTypes={modalIsOpen:e.bool,toggleModal:e.func,closeOnOutsideClick:e.bool,headerContent:e.any,bodyContent:e.any,footerContent:e.any,customModalHeaderStyle:e.object,customModalBodyStyle:e.object,customModalFooterStyle:e.object,customMinWidth:e.string,contentStyle:e.object,contentWrapperStyle:e.object},pl.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{}};const ml=m.div`
2406
2422
  ${({theme:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.common)r[t]=e.common[t];for(const o in e[t])r[o]=e[t][o],delete e.common[o]}return{...r,...o}}}}
2407
2423
  }
2408
- `,ml=({theme:e,toggleSimple:o,contentTrigger:r,contentOverlay:l,popperOptionsP:i,settingsP:n,customStyles:a,...c})=>{let s={},d={};o?(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d}):(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),s={...s,...i},d={...d,...n};const{getArrowProps:p,getTooltipProps:m,setTooltipRef:u,setTriggerRef:g,visible:b}=y({...d},s);return t.createElement(t.Fragment,null,t.createElement("div",{ref:g,style:{width:"fit-content",height:"fit-content"}},r),b&&t.createElement(pl,z({type:o?"simple-overlay":"overlay",theme:e,ref:u},m({className:"tooltip-container"}),{customStyles:a}),l))};ml.propTypes={theme:e.object,contentTrigger:e.any,contentOverlay:e.any,popperOptionsP:e.object,settingsP:e.object,customStyles:e.object,toggleSimple:e.bool},ml.defaultProps={theme:L,contentTrigger:t.createElement("div",null,"Trigger"),contentOverlay:t.createElement("div",null,"I am the Overlay")};const ul=m.div`
2424
+ `,ul=({theme:e,toggleSimple:o,contentTrigger:r,contentOverlay:l,popperOptionsP:i,settingsP:n,customStyles:a,...c})=>{let s={},d={};o?(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d}):(s={...s,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},d={...d,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),s={...s,...i},d={...d,...n};const{getArrowProps:p,getTooltipProps:m,setTooltipRef:u,setTriggerRef:g,visible:b}=y({...d},s);return t.createElement(t.Fragment,null,t.createElement("div",{ref:g,style:{width:"fit-content",height:"fit-content"}},r),b&&t.createElement(ml,z({type:o?"simple-overlay":"overlay",theme:e,ref:u},m({className:"tooltip-container"}),{customStyles:a}),l))};ul.propTypes={theme:e.object,contentTrigger:e.any,contentOverlay:e.any,popperOptionsP:e.object,settingsP:e.object,customStyles:e.object,toggleSimple:e.bool},ul.defaultProps={theme:L,contentTrigger:t.createElement("div",null,"Trigger"),contentOverlay:t.createElement("div",null,"I am the Overlay")};const gl=m.div`
2409
2425
  display: flex;
2410
2426
  justify-content: center;
2411
2427
  ${({customParentStyles:e})=>e}
2412
- `,gl=m.span`
2428
+ `,bl=m.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:o})=>{if(e){let r={};if(e[t]){for(const t in e.c
2421
2437
  font-size: 14px;
2422
2438
 
2423
2439
  ${({customItemStyles:e})=>e}
2424
- `,bl=m.div`
2440
+ `,fl=m.div`
2425
2441
  display: flex;
2426
2442
  justify-content: center;
2427
2443
  align-items: center;
@@ -2438,16 +2454,16 @@ ${({theme:e,type:t,customStyles:o})=>{if(e){let r={};if(e[t]){for(const t in e.c
2438
2454
  }
2439
2455
 
2440
2456
  ${({customIconWrapperStyles:e})=>e}
2441
- `,fl=m.div`
2442
- padding: 0 15px;
2443
2457
  `,hl=m.div`
2458
+ padding: 0 15px;
2459
+ `,yl=m.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
- `,yl=m.div`
2466
+ `,xl=m.div`
2451
2467
  display: flex;
2452
2468
  margin: 0;
2453
2469
  align-items: center;
@@ -2460,11 +2476,11 @@ ${({theme:e,type:t,customStyles:o})=>{if(e){let r={};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
- `,xl=({selectedPage:e,setSelectedPage:o,totalPage:r,customItemStyles:n,customLeftWrapperStyles:a,customIconWrapperStyles:c,previousText:s,nextText:d,pageToShow:p,totalResults:m,showResultPerPage:g,customParentStyles:b,customRightWrapperStyles:f,...h})=>{const y=u()||R,[x,v]=l([]);let A=p>r?r:p;i((()=>{v(Array.from({length:A},((e,t)=>t+1)))}),[r,p,A]);const C=t=>{let l=[];"increase"===t&&x[A-1]<=r&&e!==x[A-1]?o(e+1):"increase"===t&&x[A-1]<r?(l=Array.from({length:A},((e,t)=>t+x[0]+1)),o(e+1),v(l)):"decrease"===t&&x[0]<=e-1?o(e-1):"decrease"===t&&e>1&&(o(e-1),v(Array.from({length:A},((e,t)=>t+x[0]-1))))};return t.createElement(ul,{customParentStyles:b}," ",t.createElement(hl,z({theme:y,customLeftWrapperStyles:a},h),t.createElement(bl,z({onClick:()=>C("decrease"),disabled:1===e,theme:y,customIconWrapperStyles:c},h),t.createElement(N,{icon:"triangle-down",transform:"rotate(90deg)",color:y.variant["neutral-3"]}),t.createElement("span",{className:"prev-text"}," ",s)),t.createElement(fl,h,x.map(((r,l)=>t.createElement(gl,{key:l,theme:y,selected:e===r,onClick:()=>o(r),customItemStyles:n},r)))),t.createElement(bl,{onClick:()=>C("increase"),disabled:e===r,theme:y,customIconWrapperStyles:c},t.createElement("span",{className:"next-text"}," ",d),t.createElement(N,{icon:"triangle-down",transform:"rotate(-90deg)",color:y.variant["neutral-3"]}))),g&&t.createElement(yl,{theme:y,customRightWrapperStyles:f},t.createElement(xt,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:y.variant["neutral-3"]}),t.createElement("p",null,t.createElement("span",null,"OF")," ",m," ",t.createElement("span",null,"RESULTS"))))};xl.propTypes={customItemStyles:e.object,selectedPage:e.number,customLeftWrapperStyles:e.object,customIconWrapperStyles:e.object,previousText:e.string,nextText:e.string,pageToShow:e.number,totalResults:e.number,showResultPerPage:e.bool,customParentStyles:e.object,customRightWrapperStyles:e.object},xl.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const vl=m.div`
2479
+ `,vl=({selectedPage:e,setSelectedPage:o,totalPage:r,customItemStyles:n,customLeftWrapperStyles:a,customIconWrapperStyles:c,previousText:s,nextText:d,pageToShow:p,totalResults:m,showResultPerPage:g,customParentStyles:b,customRightWrapperStyles:f,...h})=>{const y=u()||R,[x,v]=l([]);let A=p>r?r:p;i((()=>{v(Array.from({length:A},((e,t)=>t+1)))}),[r,p,A]);const C=t=>{let l=[];"increase"===t&&x[A-1]<=r&&e!==x[A-1]?o(e+1):"increase"===t&&x[A-1]<r?(l=Array.from({length:A},((e,t)=>t+x[0]+1)),o(e+1),v(l)):"decrease"===t&&x[0]<=e-1?o(e-1):"decrease"===t&&e>1&&(o(e-1),v(Array.from({length:A},((e,t)=>t+x[0]-1))))};return t.createElement(gl,{customParentStyles:b}," ",t.createElement(yl,z({theme:y,customLeftWrapperStyles:a},h),t.createElement(fl,z({onClick:()=>C("decrease"),disabled:1===e,theme:y,customIconWrapperStyles:c},h),t.createElement(N,{icon:"triangle-down",transform:"rotate(90deg)",color:y.variant["neutral-3"]}),t.createElement("span",{className:"prev-text"}," ",s)),t.createElement(hl,h,x.map(((r,l)=>t.createElement(bl,{key:l,theme:y,selected:e===r,onClick:()=>o(r),customItemStyles:n},r)))),t.createElement(fl,{onClick:()=>C("increase"),disabled:e===r,theme:y,customIconWrapperStyles:c},t.createElement("span",{className:"next-text"}," ",d),t.createElement(N,{icon:"triangle-down",transform:"rotate(-90deg)",color:y.variant["neutral-3"]}))),g&&t.createElement(xl,{theme:y,customRightWrapperStyles:f},t.createElement(vt,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:y.variant["neutral-3"]}),t.createElement("p",null,t.createElement("span",null,"OF")," ",m," ",t.createElement("span",null,"RESULTS"))))};vl.propTypes={customItemStyles:e.object,selectedPage:e.number,customLeftWrapperStyles:e.object,customIconWrapperStyles:e.object,previousText:e.string,nextText:e.string,pageToShow:e.number,totalResults:e.number,showResultPerPage:e.bool,customParentStyles:e.object,customRightWrapperStyles:e.object},vl.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const Al=m.div`
2464
2480
  display: flex;
2465
2481
  align-items: center;
2466
2482
  color: ${({theme:e})=>e.variant["neutral-2"]};
2467
- `,Al=({...e})=>{const o=u()||R;return t.createElement(vl,{theme:o},e.children)},Cl=m.div`
2483
+ `,Cl=({...e})=>{const o=u()||R;return t.createElement(Al,{theme:o},e.children)},wl=m.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:o})=>{if(e){let r={};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
- `;(Al.PageItem=function({selected:e,...o}){const r=u()||R;return t.createElement(Cl,z({selected:e,theme:r},o),o.children)}).propTypes={selected:e.bool},Al.PageItem.defaultProps={selected:!1};const wl=m.div`
2499
+ `;(Cl.PageItem=function({selected:e,...o}){const r=u()||R;return t.createElement(wl,z({selected:e,theme:r},o),o.children)}).propTypes={selected:e.bool},Cl.PageItem.defaultProps={selected:!1};const Sl=m.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
- `,Sl=m.div`
2512
+ `,El=m.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
- `,El=({labelStyle:e,progressBarStyle:o,progressWrapStyle:r,label:l,now:i,color:n,innerContent:a,...c})=>{const s=u()||R;return t.createElement("div",null,t.createElement(Ke,z({inBuiltCss:L,customStyles:e,type:"progressbarLabel",text:l},c)),t.createElement(wl,z({progressBarStyle:o,theme:s,progressWrapStyle:r,color:n},c),t.createElement(Sl,z({progressBarStyle:o,now:i,theme:s,color:n},c)),t.createElement("div",{style:{position:"absolute",zIndex:"3",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},a)))};El.propTypes={labelStyle:e.object,progressBarStyle:e.object,progressWrapStyle:e.object,color:e.string,label:e.string,now:e.number,innerContent:e.any},El.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const kl=m.div`
2524
+ `,kl=({labelStyle:e,progressBarStyle:o,progressWrapStyle:r,label:l,now:i,color:n,innerContent:a,...c})=>{const s=u()||R;return t.createElement("div",null,t.createElement(Ye,z({inBuiltCss:L,customStyles:e,type:"progressbarLabel",text:l},c)),t.createElement(Sl,z({progressBarStyle:o,theme:s,progressWrapStyle:r,color:n},c),t.createElement(El,z({progressBarStyle:o,now:i,theme:s,color:n},c)),t.createElement("div",{style:{position:"absolute",zIndex:"3",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},a)))};kl.propTypes={labelStyle:e.object,progressBarStyle:e.object,progressWrapStyle:e.object,color:e.string,label:e.string,now:e.number,innerContent:e.any},kl.defaultProps={labelStyle:{},progressBarStyle:{},innerContent:"",label:"",now:0};const zl=m.div`
2509
2525
  background: transparent;
2510
2526
  display: flex;
2511
2527
  align-items: center;
2512
2528
  width: ${({block:e})=>e?"100%":"fit-content"};
2513
- `,zl=m.div`
2529
+ `,Vl=m.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
- `,Vl=m.div`
2547
+ `,Ml=m.div`
2532
2548
  display: flex;
2533
2549
  margin-left: 20px;
2534
- `,Ml=m.div`
2550
+ `,Bl=m.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:o,variantOff:r})=>t?e.variant[o]:e.variant[r]};
2539
2555
  border-radius: 19px;
2540
- `,Bl=({block:e,variantOn:o,variantOff:r,currentStep:l,totalSteps:i,widthStep:n,style:a,...c})=>(u(),t.createElement(kl,z({block:e},c,{style:a}),t.createElement(zl,z({},c,{variantOn:o,variantOff:r}),"Page ",t.createElement("div",null,l)," of ",t.createElement("div",null,i)),t.createElement(Vl,c,Array.from(Array(i).keys()).map((e=>t.createElement(Ml,{key:"formSteps".concat(e),isActive:l===e+1,variantOn:o,variantOff:r,widthStep:n}))))));Bl.propTypes={variantOn:e.string,variantOff:e.string,block:e.bool,theme:e.object,currentStep:e.number,totalSteps:e.number,widthStep:e.number},kl.defaultProps={theme:R},zl.defaultProps={theme:R},Vl.defaultProps={theme:R},Ml.defaultProps={theme:R},Bl.defaultProps={theme:R,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Wl=m.button`
2556
+ `,Wl=({block:e,variantOn:o,variantOff:r,currentStep:l,totalSteps:i,widthStep:n,style:a,...c})=>(u(),t.createElement(zl,z({block:e},c,{style:a}),t.createElement(Vl,z({},c,{variantOn:o,variantOff:r}),"Page ",t.createElement("div",null,l)," of ",t.createElement("div",null,i)),t.createElement(Ml,c,Array.from(Array(i).keys()).map((e=>t.createElement(Bl,{key:"formSteps".concat(e),isActive:l===e+1,variantOn:o,variantOff:r,widthStep:n}))))));Wl.propTypes={variantOn:e.string,variantOff:e.string,block:e.bool,theme:e.object,currentStep:e.number,totalSteps:e.number,widthStep:e.number},zl.defaultProps={theme:R},Vl.defaultProps={theme:R},Ml.defaultProps={theme:R},Bl.defaultProps={theme:R},Wl.defaultProps={theme:R,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const Il=m.button`
2541
2557
  background: ${({disabled:e,theme:t,bgVariant:o})=>e?"#BBC4CF":t.variant[o]};
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
- `,Il=({block:e,style:o,variant:r,bgVariant:l,disabled:i,...n})=>(u(),t.createElement(Wl,z({block:e,variant:r,bgVariant:l,type:"button",style:o,disabled:i},n),n.children));Il.propTypes={variant:e.string,bgVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Wl.defaultProps={theme:R},Il.defaultProps={theme:R,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const Rl=m.button`
2583
+ `,Rl=({block:e,style:o,variant:r,bgVariant:l,disabled:i,...n})=>(u(),t.createElement(Il,z({block:e,variant:r,bgVariant:l,type:"button",style:o,disabled:i},n),n.children));Rl.propTypes={variant:e.string,bgVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Il.defaultProps={theme:R},Rl.defaultProps={theme:R,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const Ll=m.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
- `,Ll=({block:e,style:o,variant:r,borderVariant:l,disabled:i,...n})=>(u(),t.createElement(Rl,z({block:e,variant:r,borderVariant:l,type:"button",style:o,disabled:i},n),n.children));Ll.propTypes={variant:e.string,borderVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Rl.defaultProps={theme:R},Ll.defaultProps={theme:R,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Pl=m.div`
2606
+ `,Pl=({block:e,style:o,variant:r,borderVariant:l,disabled:i,...n})=>(u(),t.createElement(Ll,z({block:e,variant:r,borderVariant:l,type:"button",style:o,disabled:i},n),n.children));Pl.propTypes={variant:e.string,borderVariant:e.string,disabled:e.bool,block:e.bool,onClick:e.func,theme:e.object},Ll.defaultProps={theme:R},Pl.defaultProps={theme:R,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const Hl=m.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
- `,Hl=m.div`
2616
+ `,Tl=m.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
- `,Tl=m.div`
2632
+ `,jl=m.div`
2617
2633
  display: flex;
2618
2634
  background-color: transparent;
2619
2635
  flex-direction: column;
@@ -2649,7 +2665,7 @@ position: relative;
2649
2665
  p {
2650
2666
  margin: 0px;
2651
2667
  }
2652
- `,jl=m.div`
2668
+ `,Fl=m.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
- `,Fl=m.div`
2681
+ `,Ol=m.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
- `,Ol=({headerContent:e,bodyContent:o,footerContent:r,selectedApp:i,setApp:n,toggleSideBarOpen:a,headerStyles:c,selectedStyle:s,notSelectedStyle:d,customStylesNameHover:p,listElementStyle:m,customSelectCardColor:g,user:b,firstBottomContent:f,secondBottomContent:h,bottomContent:y,...x})=>{const v=u()||R,[A,C]=l(null),[w,S]=l(null),[E,k]=l(!1);return t.createElement(Pl,{onMouseEnter:()=>k(!0),onMouseLeave:()=>{C(null),S(null),k(!1)},toggleSideBarOpen:a},t.createElement(Hl,{theme:v,headerStyles:c},e),t.createElement(Tl,{toggleSideBarOpen:a},o?.map(((e,o)=>t.createElement($,{key:e.pageId,index:o,handleClick:e=>{!function(e){S(null),C(e)}(e)},isAccordionOpen:o===A||E&&e.value.toLowerCase()===i.lev1.toLowerCase(),isSelected:e.value.toLowerCase()===i.lev1.toLowerCase(),customSelectCardColor:g,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:t.createElement(ue,{selectedStyle:s,notSelectedStyle:d,toggleName:a,customStylesName:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":e.userName===i.lev1?"600":"400"},customStylesNameHover:p,size:"LG",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e.value===i.lev1}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},e.routes.filter((e=>!0===e.visibleAsMenu)).map(((o,r)=>t.createElement(ql,{listElementStyle:m,key:e.pageId+o.title,onClick:()=>{n({lev1:`${e.value}`,lev2:`${o.title}`})}},t.createElement("span",{style:{visibility:i.lev2.toLowerCase()===o.title.toLowerCase()?"visible":"hidden"}}),t.createElement("p",{style:{marginTop:0===r&&"0px"}},o.title)))))})))),t.createElement(jl,{toggleSideBarOpen:a,onMouseEnter:()=>k(!1)},t.createElement(_,{index:0,handleClick:e=>{!function(e){C(null),S(e)}(e)},isAccordionOpen:0===w,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:t.createElement(ue,{selectedStyle:s,notSelectedStyle:d,toggleName:a,customStylesName:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":"400"},customStylesNameHover:p,size:"LG",user:{fullName:b.fullName||"My Account",userName:b.userName||"My Account",url:b.imgUrl}}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},y?.map(((e,o)=>t.createElement(Fl,{listElementStyle:m,key:o},e?.value))))})))},Zl=m.div`
2705
+ `,Zl=({headerContent:e,bodyContent:o,footerContent:r,selectedApp:i,setApp:n,toggleSideBarOpen:a,headerStyles:c,selectedStyle:s,notSelectedStyle:d,customStylesNameHover:p,listElementStyle:m,customSelectCardColor:g,user:b,firstBottomContent:f,secondBottomContent:h,bottomContent:y,...x})=>{const v=u()||R,[A,C]=l(null),[w,S]=l(null),[E,k]=l(!1);return t.createElement(Hl,{onMouseEnter:()=>k(!0),onMouseLeave:()=>{C(null),S(null),k(!1)},toggleSideBarOpen:a},t.createElement(Tl,{theme:v,headerStyles:c},e),t.createElement(jl,{toggleSideBarOpen:a},o?.map(((e,o)=>(console.log(e),console.log(i),t.createElement($,{key:e.pageId,index:o,handleClick:e=>{!function(e){S(null),C(e)}(e)},isAccordionOpen:o===A||E&&e.value.toLowerCase()===i.value.toLowerCase(),isSelected:e.value.toLowerCase()===i.value.toLowerCase(),customSelectCardColor:g,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:t.createElement(ge,{selectedStyle:s,notSelectedStyle:d,toggleName:a,customStylesName:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":"600"},customStylesNameHover:p,size:"LG",user:{userName:e.label,url:e.logo,fullName:e.label},isSelected:e.value===i.value,notificationCount:e?.notificationCount}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},e.routes.filter((e=>!0===e.visibleAsMenu)).map(((o,r)=>t.createElement(ql,{listElementStyle:m,key:e.pageId+o.title,onClick:()=>{n({...e,routes:[o]})}},t.createElement("span",{style:{visibility:i.routes[0].pageId===o.pageId?"visible":"hidden"}}),t.createElement("p",{style:{marginTop:0===r&&"0px"}},o.link)))))}))))),t.createElement(Fl,{toggleSideBarOpen:a,onMouseEnter:()=>k(!1)},t.createElement(_,{index:0,handleClick:e=>{!function(e){C(null),S(e)}(e)},isAccordionOpen:0===w,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:t.createElement(ge,{selectedStyle:s,notSelectedStyle:d,toggleName:a,customStylesName:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",color:"white","font-weight":"400"},customStylesNameHover:p,size:"LG",user:{fullName:b.fullName||"My Account",userName:b.userName||"My Account",url:b.imgUrl}}),content:t.createElement("div",{style:{margin:"0",padding:"0",marginBottom:"18.25px"}},y?.map(((e,o)=>t.createElement(Ol,{listElementStyle:m,key:o},e?.value))))})))},Xl=m.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:o,type:r,customStylesContainerOpen:l,customS
2704
2720
  @media (max-width: 980px) {
2705
2721
  ${({isOpen:e,inBuiltCss:t,type:o,customStylesContainerMobileOpen:r,customStylesContainerMobileClose:l})=>{}}
2706
2722
  }
2707
- `,Xl=m.div`
2723
+ `,Gl=m.div`
2708
2724
  ${({inBuiltCss:e,type:t})=>P(e,"sidebar-pusher")}
2709
2725
  ${({customStylesPusher:e})=>e}
2710
2726
 
@@ -2713,33 +2729,33 @@ ${({forceOpen:e,inBuiltCss:t,type:o,customStylesPusherOpen:r,customStylesPusherC
2713
2729
  @media (max-width: 980px) {
2714
2730
  ${({inBuiltCss:e,type:t,customStylesPusherMobile:o})=>({...P(e,"sidebar-pusher-mobile"),...o})}
2715
2731
  }
2716
- `,Gl=({customStylesContainer:e,customStylesContainerOpen:o,customStylesContainerClose:r,customStylesContainerMobileOpen:l,customStylesContainerMobileClose:i,customStylesPusher:n,customStylesPusherOpen:a,customStylesPusherClose:c,customStylesPusherMobile:s,forceOpen:d,forceClose:p,handleSidebar:m,toggleSideBarOpen:g,pinner:b,...f})=>{function h(e){m(e),console.log(e)}const y=u()||R;return t.createElement(Zl,z({theme:y,inBuiltCss:L,customStyles:e,type:"sidebarContainer",onMouseEnter:()=>{d||h(!0)},onMouseLeave:()=>{h(!1),p()},forceOpen:d,isOpen:g},f),t.createElement(Xl,null),f.children,b)};Gl.propTypes={customStylesContainer:e.object,customStylesContainerOpen:e.object,customStylesContainerClose:e.object,customStylesContainerMobileOpen:e.object,customStylesContainerMobileClose:e.object,customStylesPusher:e.object,customStylesPusherOpen:e.object,customStylesPusherClose:e.object,customStylesPusherMobile:e.object,forceOpen:e.bool,forceClose:e.func,handleSidebar:e.func,toggleSideBarOpen:e.bool,pinner:e.any},Gl.defaultProps={forceClose:()=>{},forceOpen:!1};const Jl={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Ul=m.div`
2732
+ `,Jl=({customStylesContainer:e,customStylesContainerOpen:o,customStylesContainerClose:r,customStylesContainerMobileOpen:l,customStylesContainerMobileClose:i,customStylesPusher:n,customStylesPusherOpen:a,customStylesPusherClose:c,customStylesPusherMobile:s,forceOpen:d,forceClose:p,handleSidebar:m,toggleSideBarOpen:g,pinner:b,...f})=>{function h(e){m(e),console.log(e)}const y=u()||R;return t.createElement(Xl,z({theme:y,inBuiltCss:L,customStyles:e,type:"sidebarContainer",onMouseEnter:()=>{d||h(!0)},onMouseLeave:()=>{h(!1),p()},forceOpen:d,isOpen:g},f),t.createElement(Gl,null),f.children,b)};Jl.propTypes={customStylesContainer:e.object,customStylesContainerOpen:e.object,customStylesContainerClose:e.object,customStylesContainerMobileOpen:e.object,customStylesContainerMobileClose:e.object,customStylesPusher:e.object,customStylesPusherOpen:e.object,customStylesPusherClose:e.object,customStylesPusherMobile:e.object,forceOpen:e.bool,forceClose:e.func,handleSidebar:e.func,toggleSideBarOpen:e.bool,pinner:e.any},Jl.defaultProps={forceClose:()=>{},forceOpen:!1};const Ul={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Dl=m.div`
2717
2733
  background: ${({theme:e,variant:t})=>e.variant[t]};
2718
2734
  color: ${({theme:e})=>e.bgColor};
2719
- padding: ${({size:e})=>Jl[e].padding};
2735
+ padding: ${({size:e})=>Ul[e].padding};
2720
2736
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
2721
2737
  border-radius: 42px;
2722
- font-size: ${({size:e})=>Jl[e].fontSize};
2738
+ font-size: ${({size:e})=>Ul[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
- `,Dl=({block:e,style:o,variant:r,...l})=>(u(),t.createElement(Ul,z({block:e,variant:r,style:o},l),l.children));Dl.propTypes={variant:e.string,block:e.bool,theme:e.object},Ul.defaultProps={theme:R},Dl.defaultProps={theme:R,variant:"primary-1",block:!1};const Ql={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Nl=m.div`
2745
+ `,Ql=({block:e,style:o,variant:r,...l})=>(u(),t.createElement(Dl,z({block:e,variant:r,style:o},l),l.children));Ql.propTypes={variant:e.string,block:e.bool,theme:e.object},Dl.defaultProps={theme:R},Ql.defaultProps={theme:R,variant:"primary-1",block:!1};const Nl={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Kl=m.div`
2730
2746
  color: ${({theme:e,variant:t})=>e.variant[t]};
2731
2747
  background: ${({theme:e})=>e.bgColor};
2732
- padding: ${({size:e})=>Ql[e].padding};
2748
+ padding: ${({size:e})=>Nl[e].padding};
2733
2749
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
2734
2750
  border-radius: 42px;
2735
- font-size: ${({size:e})=>Ql[e].fontSize};
2751
+ font-size: ${({size:e})=>Nl[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
- `,Kl=({block:e,style:o,variant:r,...l})=>(u(),t.createElement(Nl,z({block:e,variant:r,style:o},l),l.children));Kl.propTypes={variant:e.string,block:e.bool,theme:e.object},Nl.defaultProps={theme:R},Kl.defaultProps={theme:R,variant:"primary-1",block:!1};const Yl={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},$l=m.div`
2758
+ `,Yl=({block:e,style:o,variant:r,...l})=>(u(),t.createElement(Kl,z({block:e,variant:r,style:o},l),l.children));Yl.propTypes={variant:e.string,block:e.bool,theme:e.object},Kl.defaultProps={theme:R},Yl.defaultProps={theme:R,variant:"primary-1",block:!1};const $l={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},_l=m.div`
2743
2759
  background: ${({theme:e,variant:t,bgColor:o})=>o||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":Yl[t].width};
2766
+ width: ${({block:e,size:t})=>e?"auto":$l[t].width};
2751
2767
  height: 28px;
2752
2768
  box-sizing: border-box;
2753
2769
  overflow: hidden;
2754
- `,_l=({block:e,style:o,variant:r,textColor:l,bgColor:i,...n})=>(u(),t.createElement($l,z({block:e,variant:r,textColor:l,bgColor:i,style:o},n),n.children));_l.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,bgColor:e.string},$l.defaultProps={theme:R},_l.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const ei={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},ti=m.div`
2770
+ `,ei=({block:e,style:o,variant:r,textColor:l,bgColor:i,...n})=>(u(),t.createElement(_l,z({block:e,variant:r,textColor:l,bgColor:i,style:o},n),n.children));ei.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,bgColor:e.string},_l.defaultProps={theme:R},ei.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const ti={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},oi=m.div`
2755
2771
  background: ${({theme:e})=>e.bgColor};
2756
2772
  color: ${({theme:e,variant:t,textColor:o})=>o||e.variant[t]};
2757
2773
  border: 1px solid ${({theme:e,variant:t,borderColor:o})=>o||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":ei[t].width};
2779
+ width: ${({block:e,size:t})=>e?"auto":ti[t].width};
2764
2780
  height: 27px;
2765
2781
  box-sizing: border-box;
2766
2782
  overflow: hidden;
2767
- `,oi=({block:e,style:o,variant:r,textColor:l,borderColor:i,...n})=>(u(),t.createElement(ti,z({block:e,variant:r,textColor:l,borderColor:i,style:o},n),n.children));oi.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,borderColor:e.string},ti.defaultProps={theme:R},oi.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const ri=m.div`
2783
+ `,ri=({block:e,style:o,variant:r,textColor:l,borderColor:i,...n})=>(u(),t.createElement(oi,z({block:e,variant:r,textColor:l,borderColor:i,style:o},n),n.children));ri.propTypes={variant:e.string,size:e.oneOf(["xsm","sm","md","lg"]),block:e.bool,theme:e.object,textColor:e.string,borderColor:e.string},oi.defaultProps={theme:R},ri.defaultProps={theme:R,variant:"primary-1",block:!1,size:"sm"};const li=m.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
- `,li=({close:e,children:o,type:l,position:n,timeout:a})=>{((e,t)=>{const o=r(e);i((()=>{o.current=e}),[e]),i((()=>{if(null===t)return;const e=setTimeout((()=>o.current()),t);return()=>clearTimeout(e)}),[t])})(e,a||5e3);const c=u()||R;let s=null;switch(l){case"success":s=t.createElement(N,{icon:"check-icon",color:"white",size:13,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":s=t.createElement(N,{icon:"info-icon",color:"white",size:11,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":s=t.createElement(N,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})}return t.createElement(ri,{theme:c,type:l},t.createElement("div",{className:`notification toast ${n}`},t.createElement("div",{className:"leftSide"},t.createElement("div",{className:"notification-icon"},s),t.createElement("div",null,t.createElement("p",{className:"notification-message"},o))),t.createElement("div",{className:"close-icon",onClick:e},t.createElement(N,{icon:"close-icon",color:c.variant["neutral-2"]}))))},ii=s(),ni=m.div`
2846
+ `,ii=({close:e,children:o,type:l,position:n,timeout:a})=>{((e,t)=>{const o=r(e);i((()=>{o.current=e}),[e]),i((()=>{if(null===t)return;const e=setTimeout((()=>o.current()),t);return()=>clearTimeout(e)}),[t])})(e,a||5e3);const c=u()||R;let s=null;switch(l){case"success":s=t.createElement(N,{icon:"check-icon",color:"white",size:13,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":s=t.createElement(N,{icon:"info-icon",color:"white",size:11,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":s=t.createElement(N,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})}return t.createElement(li,{theme:c,type:l},t.createElement("div",{className:`notification toast ${n}`},t.createElement("div",{className:"leftSide"},t.createElement("div",{className:"notification-icon"},s),t.createElement("div",null,t.createElement("p",{className:"notification-message"},o))),t.createElement("div",{className:"close-icon",onClick:e},t.createElement(N,{icon:"close-icon",color:c.variant["neutral-2"]}))))},ni=s(),ai=m.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 ai(){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 ci=e=>{const[o,r]=l([]),n=(e,t)=>{r((o=>[...o,{id:ai(),content:t,type:e}]))},a=d((()=>({open:n})),[]),[c,s]=l(!1);return i((()=>(s(!0),()=>s(!1))),[]),t.createElement(ii.Provider,{value:a},e.children,c?k(t.createElement(ni,null,t.createElement("div",{className:`notification-container ${e.position}`},o.map((o=>t.createElement(li,{key:o.id,type:o.type,position:e.position,timeout:e.timeout,close:()=>{return e=o.id,r((t=>t.filter((t=>t.id!==e))));var e}},o.content))))),document.body):null)},si=()=>p(ii),di={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},pi=m.div`
2899
+ `;function ci(){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 si=e=>{const[o,r]=l([]),n=(e,t)=>{r((o=>[...o,{id:ci(),content:t,type:e}]))},a=d((()=>({open:n})),[]),[c,s]=l(!1);return i((()=>(s(!0),()=>s(!1))),[]),t.createElement(ni.Provider,{value:a},e.children,c?k(t.createElement(ai,null,t.createElement("div",{className:`notification-container ${e.position}`},o.map((o=>t.createElement(ii,{key:o.id,type:o.type,position:e.position,timeout:e.timeout,close:()=>{return e=o.id,r((t=>t.filter((t=>t.id!==e))));var e}},o.content))))),document.body):null)},di=()=>p(ni),pi={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},mi=m.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})=>di[e].fontSize};
2887
- line-height: ${({size:e})=>di[e].lineHeight};
2888
- `,mi=({size:e,children:o,bg:r,text:l,...i})=>{const n=u()||R;return t.createElement(pi,z({theme:n,bg:r,text:l,size:e},i),t.createElement(Lr,{theme:n}),o)};mi.propTypes={size:e.oneOf(["xs","sm","md","lg"]),text:e.string,bg:e.string,children:e.any,theme:e.object},mi.defaultProps={size:"md"};export{Y as Accordion,$ as AccordionSB,_ as AccordionSBfooter,No as ActionContainer,$o as ActionItem,re as ArrowBar,se as Avatar,ue as AvatarSB,he as AvatarSBfooter,ve as Banner,Qe as Breadcrumb,Or as ButtonPopup,q as Card,F as CardRef,ot as CheckBoxInput,it as ColorInput,qo as Comment,Fo as Content,Il as DarkSecondaryLink,gt as DateSelect,nr as Divider,J as DocumentCard,cr as Drawer,xt as DropdownSelect,Mt as DropzoneInput,sr as ErrorBoundary,mr as FilterChip,gr as Footer,xr as FooterContent,Ir as FormComponent,_o as FormContainer,lr as FormWrapper,Tr as GroupAvatars,Jr as GroupButtons,Nr as GroupButtonsPopup,tl as GroupStatusCircle,Ar as Header,Wr as HeaderComponent,ll as HyperLink,N as Icon,ie as Image,Lt as ImageUploader,Ke as Label,Ll as LightSecondaryLink,ke as LinkButton,we as Loader,dl as ModalComp,or as MultiColumnDiv,tr as MultiColumnWrapper,Ol as Navbar,Ft as NumericInput,ml as Overlay,Ko as OverlayOptionContainer,Yo as OverlayOptionItemLabel,Oo as PageContent,xl as Pagination,Al as PaginationDefault,Jt as PasswordInput,Be as PrimaryButton,Dl as PrimaryStatusChip,El as ProgressBar,Bl as ProgressSteps,Yt as RadioInput,Vr as Rating,ro as SearchInput,Re as SecondaryButton,Kl as SecondaryStatusChip,Gl as Sidebar,po as SignatureInput,_l as SlimPrimaryStatusChip,oi as SlimSecondaryStatusChip,Yr as StatusCircle,Go as StyledCentralBar,Xo as StyledClearSearch,Uo as StyledCreateRow,Do as StyledRow,Zo as StyledRowSearch,Qo as StyledSearchRow,Jo as StyledWarning,er as SubmitButtonContainer,Rr as SubmitComponent,Br as Table,fo as TextArea,oo as TextInput,So as TimeInput,Pe as TinyButton,ci as ToastProvider,Mo as ToggleSwitch,Xe as Tooltip,mi as Typography,L as defaultStyles,R as defaultThemeColor,P as getDefaultStyles,I as graphColor,H as hexToRGB,B as neutralColor,V as primaryColor,W as shadeColor,M as uiColor,si as useToast};
2902
+ font-size: ${({size:e})=>pi[e].fontSize};
2903
+ line-height: ${({size:e})=>pi[e].lineHeight};
2904
+ `,ui=({size:e,children:o,bg:r,text:l,...i})=>{const n=u()||R;return t.createElement(mi,z({theme:n,bg:r,text:l,size:e},i),t.createElement(Pr,{theme:n}),o)};ui.propTypes={size:e.oneOf(["xs","sm","md","lg"]),text:e.string,bg:e.string,children:e.any,theme:e.object},ui.defaultProps={size:"md"};export{Y as Accordion,$ as AccordionSB,_ as AccordionSBfooter,Ko as ActionContainer,_o as ActionItem,re as ArrowBar,se as Avatar,ge as AvatarSB,ye as AvatarSBfooter,Ae as Banner,Ne as Breadcrumb,Zr as ButtonPopup,j as Card,F as CardRef,rt as CheckBoxInput,nt as ColorInput,qo as Comment,Oo as Content,Rl as DarkSecondaryLink,bt as DateSelect,ar as Divider,J as DocumentCard,sr as Drawer,vt as DropdownSelect,Bt as DropzoneInput,dr as ErrorBoundary,ur as FilterChip,br as Footer,vr as FooterContent,Rr as FormComponent,er as FormContainer,ir as FormWrapper,jr as GroupAvatars,Ur as GroupButtons,Kr as GroupButtonsPopup,ol as GroupStatusCircle,Cr as Header,Ir as HeaderComponent,il as HyperLink,N as Icon,ie as Image,Pt as ImageUploader,Ye as Label,Pl as LightSecondaryLink,ze as LinkButton,Se as Loader,pl as ModalComp,rr as MultiColumnDiv,or as MultiColumnWrapper,Zl as Navbar,Ot as NumericInput,ul as Overlay,Yo as OverlayOptionContainer,$o as OverlayOptionItemLabel,Zo as PageContent,vl as Pagination,Cl as PaginationDefault,Ut as PasswordInput,We as PrimaryButton,Ql as PrimaryStatusChip,kl as ProgressBar,Wl as ProgressSteps,$t as RadioInput,Mr as Rating,lo as SearchInput,Le as SecondaryButton,Yl as SecondaryStatusChip,Jl as Sidebar,mo as SignatureInput,ei as SlimPrimaryStatusChip,ri as SlimSecondaryStatusChip,$r as StatusCircle,Jo as StyledCentralBar,Go as StyledClearSearch,Do as StyledCreateRow,Qo as StyledRow,Xo as StyledRowSearch,No as StyledSearchRow,Uo as StyledWarning,tr as SubmitButtonContainer,Lr as SubmitComponent,Wr as Table,ho as TextArea,ro as TextInput,Eo as TimeInput,He as TinyButton,si as ToastProvider,Bo as ToggleSwitch,Ge as Tooltip,ui as Typography,L as defaultStyles,R as defaultThemeColor,P as getDefaultStyles,I as graphColor,H as hexToRGB,B as neutralColor,V as primaryColor,W as shadeColor,M as uiColor,di as useToast};